0 | 0 |
#! /bin/sh
|
1 | 1 |
# Guess values for system-dependent variables and create Makefiles.
|
2 | |
# Generated by GNU Autoconf 2.59.
|
|
2 |
# Generated by GNU Autoconf 2.64.
|
3 | 3 |
#
|
4 | |
# Copyright (C) 2003 Free Software Foundation, Inc.
|
|
4 |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
|
|
5 |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
|
|
6 |
# Foundation, Inc.
|
|
7 |
#
|
5 | 8 |
# This configure script is free software; the Free Software Foundation
|
6 | 9 |
# gives unlimited permission to copy, distribute and modify it.
|
7 | |
## --------------------- ##
|
8 | |
## M4sh Initialization. ##
|
9 | |
## --------------------- ##
|
10 | |
|
11 | |
# Be Bourne compatible
|
12 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
10 |
## -------------------- ##
|
|
11 |
## M4sh Initialization. ##
|
|
12 |
## -------------------- ##
|
|
13 |
|
|
14 |
# Be more Bourne compatible
|
|
15 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
16 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
13 | 17 |
emulate sh
|
14 | 18 |
NULLCMD=:
|
15 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
19 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
16 | 20 |
# is contrary to our usage. Disable this feature.
|
17 | 21 |
alias -g '${1+"$@"}'='"$@"'
|
18 | |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
19 | |
set -o posix
|
20 | |
fi
|
21 | |
DUALCASE=1; export DUALCASE # for MKS sh
|
22 | |
|
23 | |
# Support unset when possible.
|
24 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
25 | |
as_unset=unset
|
26 | |
else
|
27 | |
as_unset=false
|
28 | |
fi
|
29 | |
|
30 | |
|
31 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
32 | |
$as_unset ENV MAIL MAILPATH
|
|
22 |
setopt NO_GLOB_SUBST
|
|
23 |
else
|
|
24 |
case `(set -o) 2>/dev/null` in #(
|
|
25 |
*posix*) :
|
|
26 |
set -o posix ;; #(
|
|
27 |
*) :
|
|
28 |
;;
|
|
29 |
esac
|
|
30 |
fi
|
|
31 |
|
|
32 |
|
|
33 |
as_nl='
|
|
34 |
'
|
|
35 |
export as_nl
|
|
36 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
37 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
38 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
39 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
40 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
41 |
# but without wasting forks for bash or zsh.
|
|
42 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
43 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
44 |
as_echo='print -r --'
|
|
45 |
as_echo_n='print -rn --'
|
|
46 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
47 |
as_echo='printf %s\n'
|
|
48 |
as_echo_n='printf %s'
|
|
49 |
else
|
|
50 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
51 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
52 |
as_echo_n='/usr/ucb/echo -n'
|
|
53 |
else
|
|
54 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
55 |
as_echo_n_body='eval
|
|
56 |
arg=$1;
|
|
57 |
case $arg in #(
|
|
58 |
*"$as_nl"*)
|
|
59 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
60 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
61 |
esac;
|
|
62 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
63 |
'
|
|
64 |
export as_echo_n_body
|
|
65 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
66 |
fi
|
|
67 |
export as_echo_body
|
|
68 |
as_echo='sh -c $as_echo_body as_echo'
|
|
69 |
fi
|
|
70 |
|
|
71 |
# The user is always right.
|
|
72 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
73 |
PATH_SEPARATOR=:
|
|
74 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
75 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
76 |
PATH_SEPARATOR=';'
|
|
77 |
}
|
|
78 |
fi
|
|
79 |
|
|
80 |
|
|
81 |
# IFS
|
|
82 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
83 |
# there to prevent editors from complaining about space-tab.
|
|
84 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
85 |
# splitting by setting IFS to empty value.)
|
|
86 |
IFS=" "" $as_nl"
|
|
87 |
|
|
88 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
89 |
case $0 in #((
|
|
90 |
*[\\/]* ) as_myself=$0 ;;
|
|
91 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
92 |
for as_dir in $PATH
|
|
93 |
do
|
|
94 |
IFS=$as_save_IFS
|
|
95 |
test -z "$as_dir" && as_dir=.
|
|
96 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
97 |
done
|
|
98 |
IFS=$as_save_IFS
|
|
99 |
|
|
100 |
;;
|
|
101 |
esac
|
|
102 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
103 |
# in which case we are not to be found in the path.
|
|
104 |
if test "x$as_myself" = x; then
|
|
105 |
as_myself=$0
|
|
106 |
fi
|
|
107 |
if test ! -f "$as_myself"; then
|
|
108 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
109 |
exit 1
|
|
110 |
fi
|
|
111 |
|
|
112 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
113 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
114 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
115 |
# trigger a bug in pdksh 5.2.14.
|
|
116 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
117 |
do eval test x\${$as_var+set} = xset \
|
|
118 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
119 |
done
|
33 | 120 |
PS1='$ '
|
34 | 121 |
PS2='> '
|
35 | 122 |
PS4='+ '
|
36 | 123 |
|
37 | 124 |
# NLS nuisances.
|
38 | |
for as_var in \
|
39 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
40 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
41 | |
LC_TELEPHONE LC_TIME
|
|
125 |
LC_ALL=C
|
|
126 |
export LC_ALL
|
|
127 |
LANGUAGE=C
|
|
128 |
export LANGUAGE
|
|
129 |
|
|
130 |
# CDPATH.
|
|
131 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
132 |
|
|
133 |
if test "x$CONFIG_SHELL" = x; then
|
|
134 |
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
|
|
135 |
emulate sh
|
|
136 |
NULLCMD=:
|
|
137 |
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
|
|
138 |
# is contrary to our usage. Disable this feature.
|
|
139 |
alias -g '\${1+\"\$@\"}'='\"\$@\"'
|
|
140 |
setopt NO_GLOB_SUBST
|
|
141 |
else
|
|
142 |
case \`(set -o) 2>/dev/null\` in #(
|
|
143 |
*posix*) :
|
|
144 |
set -o posix ;; #(
|
|
145 |
*) :
|
|
146 |
;;
|
|
147 |
esac
|
|
148 |
fi
|
|
149 |
"
|
|
150 |
as_required="as_fn_return () { (exit \$1); }
|
|
151 |
as_fn_success () { as_fn_return 0; }
|
|
152 |
as_fn_failure () { as_fn_return 1; }
|
|
153 |
as_fn_ret_success () { return 0; }
|
|
154 |
as_fn_ret_failure () { return 1; }
|
|
155 |
|
|
156 |
exitcode=0
|
|
157 |
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
|
|
158 |
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
|
|
159 |
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
|
|
160 |
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
|
|
161 |
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
|
|
162 |
|
|
163 |
else
|
|
164 |
exitcode=1; echo positional parameters were not saved.
|
|
165 |
fi
|
|
166 |
test x\$exitcode = x0 || exit 1"
|
|
167 |
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
|
|
168 |
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
|
|
169 |
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
|
|
170 |
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
|
|
171 |
if (eval "$as_required") 2>/dev/null; then :
|
|
172 |
as_have_required=yes
|
|
173 |
else
|
|
174 |
as_have_required=no
|
|
175 |
fi
|
|
176 |
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
|
|
177 |
|
|
178 |
else
|
|
179 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
180 |
as_found=false
|
|
181 |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
42 | 182 |
do
|
43 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
44 | |
eval $as_var=C; export $as_var
|
|
183 |
IFS=$as_save_IFS
|
|
184 |
test -z "$as_dir" && as_dir=.
|
|
185 |
as_found=:
|
|
186 |
case $as_dir in #(
|
|
187 |
/*)
|
|
188 |
for as_base in sh bash ksh sh5; do
|
|
189 |
# Try only shells that exist, to save several forks.
|
|
190 |
as_shell=$as_dir/$as_base
|
|
191 |
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
|
|
192 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
193 |
CONFIG_SHELL=$as_shell as_have_required=yes
|
|
194 |
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
|
|
195 |
break 2
|
|
196 |
fi
|
|
197 |
fi
|
|
198 |
done;;
|
|
199 |
esac
|
|
200 |
as_found=false
|
|
201 |
done
|
|
202 |
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
|
|
203 |
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
|
|
204 |
CONFIG_SHELL=$SHELL as_have_required=yes
|
|
205 |
fi; }
|
|
206 |
IFS=$as_save_IFS
|
|
207 |
|
|
208 |
|
|
209 |
if test "x$CONFIG_SHELL" != x; then :
|
|
210 |
# We cannot yet assume a decent shell, so we have to provide a
|
|
211 |
# neutralization value for shells without unset; and this also
|
|
212 |
# works around shells that cannot unset nonexistent variables.
|
|
213 |
BASH_ENV=/dev/null
|
|
214 |
ENV=/dev/null
|
|
215 |
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
|
|
216 |
export CONFIG_SHELL
|
|
217 |
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
|
|
218 |
fi
|
|
219 |
|
|
220 |
if test x$as_have_required = xno; then :
|
|
221 |
$as_echo "$0: This script requires a shell more modern than all"
|
|
222 |
$as_echo "$0: the shells that I found on your system."
|
|
223 |
if test x${ZSH_VERSION+set} = xset ; then
|
|
224 |
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
|
|
225 |
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
|
45 | 226 |
else
|
46 | |
$as_unset $as_var
|
|
227 |
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
|
|
228 |
$0: including any error possibly output before this
|
|
229 |
$0: message. Then install a modern shell, or manually run
|
|
230 |
$0: the script under such a shell if you do have one."
|
47 | 231 |
fi
|
48 | |
done
|
49 | |
|
50 | |
# Required to use basename.
|
51 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
232 |
exit 1
|
|
233 |
fi
|
|
234 |
fi
|
|
235 |
fi
|
|
236 |
SHELL=${CONFIG_SHELL-/bin/sh}
|
|
237 |
export SHELL
|
|
238 |
# Unset more variables known to interfere with behavior of common tools.
|
|
239 |
CLICOLOR_FORCE= GREP_OPTIONS=
|
|
240 |
unset CLICOLOR_FORCE GREP_OPTIONS
|
|
241 |
|
|
242 |
## --------------------- ##
|
|
243 |
## M4sh Shell Functions. ##
|
|
244 |
## --------------------- ##
|
|
245 |
# as_fn_unset VAR
|
|
246 |
# ---------------
|
|
247 |
# Portably unset VAR.
|
|
248 |
as_fn_unset ()
|
|
249 |
{
|
|
250 |
{ eval $1=; unset $1;}
|
|
251 |
}
|
|
252 |
as_unset=as_fn_unset
|
|
253 |
|
|
254 |
# as_fn_set_status STATUS
|
|
255 |
# -----------------------
|
|
256 |
# Set $? to STATUS, without forking.
|
|
257 |
as_fn_set_status ()
|
|
258 |
{
|
|
259 |
return $1
|
|
260 |
} # as_fn_set_status
|
|
261 |
|
|
262 |
# as_fn_exit STATUS
|
|
263 |
# -----------------
|
|
264 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
265 |
as_fn_exit ()
|
|
266 |
{
|
|
267 |
set +e
|
|
268 |
as_fn_set_status $1
|
|
269 |
exit $1
|
|
270 |
} # as_fn_exit
|
|
271 |
|
|
272 |
# as_fn_mkdir_p
|
|
273 |
# -------------
|
|
274 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
275 |
as_fn_mkdir_p ()
|
|
276 |
{
|
|
277 |
|
|
278 |
case $as_dir in #(
|
|
279 |
-*) as_dir=./$as_dir;;
|
|
280 |
esac
|
|
281 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
282 |
as_dirs=
|
|
283 |
while :; do
|
|
284 |
case $as_dir in #(
|
|
285 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
286 |
*) as_qdir=$as_dir;;
|
|
287 |
esac
|
|
288 |
as_dirs="'$as_qdir' $as_dirs"
|
|
289 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
290 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
291 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
292 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
293 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
294 |
$as_echo X"$as_dir" |
|
|
295 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
296 |
s//\1/
|
|
297 |
q
|
|
298 |
}
|
|
299 |
/^X\(\/\/\)[^/].*/{
|
|
300 |
s//\1/
|
|
301 |
q
|
|
302 |
}
|
|
303 |
/^X\(\/\/\)$/{
|
|
304 |
s//\1/
|
|
305 |
q
|
|
306 |
}
|
|
307 |
/^X\(\/\).*/{
|
|
308 |
s//\1/
|
|
309 |
q
|
|
310 |
}
|
|
311 |
s/.*/./; q'`
|
|
312 |
test -d "$as_dir" && break
|
|
313 |
done
|
|
314 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
315 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
316 |
|
|
317 |
|
|
318 |
} # as_fn_mkdir_p
|
|
319 |
# as_fn_append VAR VALUE
|
|
320 |
# ----------------------
|
|
321 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
322 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
323 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
324 |
# implementations.
|
|
325 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
326 |
eval 'as_fn_append ()
|
|
327 |
{
|
|
328 |
eval $1+=\$2
|
|
329 |
}'
|
|
330 |
else
|
|
331 |
as_fn_append ()
|
|
332 |
{
|
|
333 |
eval $1=\$$1\$2
|
|
334 |
}
|
|
335 |
fi # as_fn_append
|
|
336 |
|
|
337 |
# as_fn_arith ARG...
|
|
338 |
# ------------------
|
|
339 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
340 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
341 |
# must be portable across $(()) and expr.
|
|
342 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
343 |
eval 'as_fn_arith ()
|
|
344 |
{
|
|
345 |
as_val=$(( $* ))
|
|
346 |
}'
|
|
347 |
else
|
|
348 |
as_fn_arith ()
|
|
349 |
{
|
|
350 |
as_val=`expr "$@" || test $? -eq 1`
|
|
351 |
}
|
|
352 |
fi # as_fn_arith
|
|
353 |
|
|
354 |
|
|
355 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
356 |
# ---------------------------------
|
|
357 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
358 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
359 |
# script with status $?, using 1 if that was 0.
|
|
360 |
as_fn_error ()
|
|
361 |
{
|
|
362 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
363 |
if test "$3"; then
|
|
364 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
365 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
|
366 |
fi
|
|
367 |
$as_echo "$as_me: error: $1" >&2
|
|
368 |
as_fn_exit $as_status
|
|
369 |
} # as_fn_error
|
|
370 |
|
|
371 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
372 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
52 | 373 |
as_expr=expr
|
53 | 374 |
else
|
54 | 375 |
as_expr=false
|
55 | 376 |
fi
|
56 | 377 |
|
57 | |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
|
378 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
58 | 379 |
as_basename=basename
|
59 | 380 |
else
|
60 | 381 |
as_basename=false
|
61 | 382 |
fi
|
62 | 383 |
|
63 | |
|
64 | |
# Name of the executable.
|
65 | |
as_me=`$as_basename "$0" ||
|
|
384 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
385 |
as_dirname=dirname
|
|
386 |
else
|
|
387 |
as_dirname=false
|
|
388 |
fi
|
|
389 |
|
|
390 |
as_me=`$as_basename -- "$0" ||
|
66 | 391 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
67 | 392 |
X"$0" : 'X\(//\)$' \| \
|
68 | |
X"$0" : 'X\(/\)$' \| \
|
69 | |
. : '\(.\)' 2>/dev/null ||
|
70 | |
echo X/"$0" |
|
71 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
72 | |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
73 | |
/^X\/\(\/\).*/{ s//\1/; q; }
|
74 | |
s/.*/./; q'`
|
75 | |
|
76 | |
|
77 | |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
393 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
394 |
$as_echo X/"$0" |
|
|
395 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
396 |
s//\1/
|
|
397 |
q
|
|
398 |
}
|
|
399 |
/^X\/\(\/\/\)$/{
|
|
400 |
s//\1/
|
|
401 |
q
|
|
402 |
}
|
|
403 |
/^X\/\(\/\).*/{
|
|
404 |
s//\1/
|
|
405 |
q
|
|
406 |
}
|
|
407 |
s/.*/./; q'`
|
|
408 |
|
78 | 409 |
# Avoid depending upon Character Ranges.
|
79 | 410 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
80 | 411 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
82 | 413 |
as_cr_digits='0123456789'
|
83 | 414 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
84 | 415 |
|
85 | |
# The user is always right.
|
86 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
87 | |
echo "#! /bin/sh" >conf$$.sh
|
88 | |
echo "exit 0" >>conf$$.sh
|
89 | |
chmod +x conf$$.sh
|
90 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
91 | |
PATH_SEPARATOR=';'
|
92 | |
else
|
93 | |
PATH_SEPARATOR=:
|
94 | |
fi
|
95 | |
rm -f conf$$.sh
|
96 | |
fi
|
97 | |
|
98 | |
|
99 | |
as_lineno_1=$LINENO
|
100 | |
as_lineno_2=$LINENO
|
101 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
102 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
103 | |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
104 | |
# Find who we are. Look in the path if we contain no path at all
|
105 | |
# relative or not.
|
106 | |
case $0 in
|
107 | |
*[\\/]* ) as_myself=$0 ;;
|
108 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
109 | |
for as_dir in $PATH
|
110 | |
do
|
111 | |
IFS=$as_save_IFS
|
112 | |
test -z "$as_dir" && as_dir=.
|
113 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
114 | |
done
|
115 | |
|
116 | |
;;
|
117 | |
esac
|
118 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
119 | |
# in which case we are not to be found in the path.
|
120 | |
if test "x$as_myself" = x; then
|
121 | |
as_myself=$0
|
122 | |
fi
|
123 | |
if test ! -f "$as_myself"; then
|
124 | |
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
|
125 | |
{ (exit 1); exit 1; }; }
|
126 | |
fi
|
127 | |
case $CONFIG_SHELL in
|
128 | |
'')
|
129 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
130 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
131 | |
do
|
132 | |
IFS=$as_save_IFS
|
133 | |
test -z "$as_dir" && as_dir=.
|
134 | |
for as_base in sh bash ksh sh5; do
|
135 | |
case $as_dir in
|
136 | |
/*)
|
137 | |
if ("$as_dir/$as_base" -c '
|
138 | |
as_lineno_1=$LINENO
|
139 | |
as_lineno_2=$LINENO
|
140 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
141 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
142 | |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
143 | |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
144 | |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
145 | |
CONFIG_SHELL=$as_dir/$as_base
|
146 | |
export CONFIG_SHELL
|
147 | |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
148 | |
fi;;
|
149 | |
esac
|
150 | |
done
|
151 | |
done
|
152 | |
;;
|
153 | |
esac
|
154 | |
|
155 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
156 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
157 | |
# line-number line before each line; the second 'sed' does the real
|
158 | |
# work. The second script uses 'N' to pair each line-number line
|
159 | |
# with the numbered line, and appends trailing '-' during
|
160 | |
# substitution so that $LINENO is not a special case at line end.
|
161 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
162 | |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
163 | |
sed '=' <$as_myself |
|
|
416 |
|
|
417 |
as_lineno_1=$LINENO as_lineno_1a=$LINENO
|
|
418 |
as_lineno_2=$LINENO as_lineno_2a=$LINENO
|
|
419 |
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
|
|
420 |
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
|
|
421 |
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
|
|
422 |
sed -n '
|
|
423 |
p
|
|
424 |
/[$]LINENO/=
|
|
425 |
' <$as_myself |
|
164 | 426 |
sed '
|
|
427 |
s/[$]LINENO.*/&-/
|
|
428 |
t lineno
|
|
429 |
b
|
|
430 |
:lineno
|
165 | 431 |
N
|
166 | |
s,$,-,
|
167 | |
: loop
|
168 | |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
|
432 |
:loop
|
|
433 |
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
|
169 | 434 |
t loop
|
170 | |
s,-$,,
|
171 | |
s,^['$as_cr_digits']*\n,,
|
|
435 |
s/-\n.*//
|
172 | 436 |
' >$as_me.lineno &&
|
173 | |
chmod +x $as_me.lineno ||
|
174 | |
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
|
175 | |
{ (exit 1); exit 1; }; }
|
|
437 |
chmod +x "$as_me.lineno" ||
|
|
438 |
{ $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
|
176 | 439 |
|
177 | 440 |
# Don't try to exec as it changes $[0], causing all sort of problems
|
178 | 441 |
# (the dirname of $[0] is not the place where we might find the
|
179 | |
# original and so on. Autoconf is especially sensible to this).
|
180 | |
. ./$as_me.lineno
|
|
442 |
# original and so on. Autoconf is especially sensitive to this).
|
|
443 |
. "./$as_me.lineno"
|
181 | 444 |
# Exit status is that of the last command.
|
182 | 445 |
exit
|
183 | 446 |
}
|
184 | 447 |
|
185 | |
|
186 | |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
187 | |
*c*,-n*) ECHO_N= ECHO_C='
|
188 | |
' ECHO_T=' ' ;;
|
189 | |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
190 | |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
|
448 |
ECHO_C= ECHO_N= ECHO_T=
|
|
449 |
case `echo -n x` in #(((((
|
|
450 |
-n*)
|
|
451 |
case `echo 'xy\c'` in
|
|
452 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
453 |
xy) ECHO_C='\c';;
|
|
454 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
455 |
ECHO_T=' ';;
|
|
456 |
esac;;
|
|
457 |
*)
|
|
458 |
ECHO_N='-n';;
|
191 | 459 |
esac
|
192 | 460 |
|
193 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
194 | |
as_expr=expr
|
195 | |
else
|
196 | |
as_expr=false
|
197 | |
fi
|
198 | |
|
199 | 461 |
rm -f conf$$ conf$$.exe conf$$.file
|
200 | |
echo >conf$$.file
|
201 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
202 | |
# We could just check for DJGPP; but this test a) works b) is more generic
|
203 | |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
204 | |
if test -f conf$$.exe; then
|
205 | |
# Don't use ln at all; we don't have any links
|
|
462 |
if test -d conf$$.dir; then
|
|
463 |
rm -f conf$$.dir/conf$$.file
|
|
464 |
else
|
|
465 |
rm -f conf$$.dir
|
|
466 |
mkdir conf$$.dir 2>/dev/null
|
|
467 |
fi
|
|
468 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
469 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
470 |
as_ln_s='ln -s'
|
|
471 |
# ... but there are two gotchas:
|
|
472 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
473 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
474 |
# In both cases, we have to default to `cp -p'.
|
|
475 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
476 |
as_ln_s='cp -p'
|
|
477 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
478 |
as_ln_s=ln
|
|
479 |
else
|
206 | 480 |
as_ln_s='cp -p'
|
207 | |
else
|
208 | |
as_ln_s='ln -s'
|
209 | 481 |
fi
|
210 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
211 | |
as_ln_s=ln
|
212 | 482 |
else
|
213 | 483 |
as_ln_s='cp -p'
|
214 | 484 |
fi
|
215 | |
rm -f conf$$ conf$$.exe conf$$.file
|
|
485 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
486 |
rmdir conf$$.dir 2>/dev/null
|
216 | 487 |
|
217 | 488 |
if mkdir -p . 2>/dev/null; then
|
218 | |
as_mkdir_p=:
|
|
489 |
as_mkdir_p='mkdir -p "$as_dir"'
|
219 | 490 |
else
|
220 | 491 |
test -d ./-p && rmdir ./-p
|
221 | 492 |
as_mkdir_p=false
|
222 | 493 |
fi
|
223 | 494 |
|
224 | |
as_executable_p="test -f"
|
|
495 |
if test -x / >/dev/null 2>&1; then
|
|
496 |
as_test_x='test -x'
|
|
497 |
else
|
|
498 |
if ls -dL / >/dev/null 2>&1; then
|
|
499 |
as_ls_L_option=L
|
|
500 |
else
|
|
501 |
as_ls_L_option=
|
|
502 |
fi
|
|
503 |
as_test_x='
|
|
504 |
eval sh -c '\''
|
|
505 |
if test -d "$1"; then
|
|
506 |
test -d "$1/.";
|
|
507 |
else
|
|
508 |
case $1 in #(
|
|
509 |
-*)set "./$1";;
|
|
510 |
esac;
|
|
511 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|
512 |
???[sx]*):;;*)false;;esac;fi
|
|
513 |
'\'' sh
|
|
514 |
'
|
|
515 |
fi
|
|
516 |
as_executable_p=$as_test_x
|
225 | 517 |
|
226 | 518 |
# Sed expression to map a string onto a valid CPP name.
|
227 | 519 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
230 | 522 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
231 | 523 |
|
232 | 524 |
|
233 | |
# IFS
|
234 | |
# We need space, tab and new line, in precisely that order.
|
235 | |
as_nl='
|
236 | |
'
|
237 | |
IFS=" $as_nl"
|
238 | |
|
239 | |
# CDPATH.
|
240 | |
$as_unset CDPATH
|
241 | |
|
|
525 |
exec 7<&0 </dev/null 6>&1
|
242 | 526 |
|
243 | 527 |
# Name of the host.
|
244 | 528 |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
|
245 | 529 |
# so uname gets run too.
|
246 | 530 |
ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
|
247 | 531 |
|
248 | |
exec 6>&1
|
249 | |
|
250 | 532 |
#
|
251 | 533 |
# Initializations.
|
252 | 534 |
#
|
253 | 535 |
ac_default_prefix=/usr/local
|
|
536 |
ac_clean_files=
|
254 | 537 |
ac_config_libobj_dir=.
|
|
538 |
LIBOBJS=
|
255 | 539 |
cross_compiling=no
|
256 | 540 |
subdirs=
|
257 | 541 |
MFLAGS=
|
258 | 542 |
MAKEFLAGS=
|
259 | |
SHELL=${CONFIG_SHELL-/bin/sh}
|
260 | |
|
261 | |
# Maximum number of lines to put in a shell here document.
|
262 | |
# This variable seems obsolete. It should probably be removed, and
|
263 | |
# only ac_max_sed_lines should be used.
|
264 | |
: ${ac_max_here_lines=38}
|
265 | 543 |
|
266 | 544 |
# Identity of this package.
|
267 | 545 |
PACKAGE_NAME=
|
|
269 | 547 |
PACKAGE_VERSION=
|
270 | 548 |
PACKAGE_STRING=
|
271 | 549 |
PACKAGE_BUGREPORT=
|
|
550 |
PACKAGE_URL=
|
272 | 551 |
|
273 | 552 |
ac_unique_file="esniper.c"
|
274 | |
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CURL_CONFIG CURLCFLAGS CURLLDFLAGS LIBOBJS LTLIBOBJS'
|
|
553 |
ac_subst_vars='am__EXEEXT_FALSE
|
|
554 |
am__EXEEXT_TRUE
|
|
555 |
LTLIBOBJS
|
|
556 |
LIBOBJS
|
|
557 |
CURLLDFLAGS
|
|
558 |
CURLCFLAGS
|
|
559 |
CURL_CONFIG
|
|
560 |
am__fastdepCC_FALSE
|
|
561 |
am__fastdepCC_TRUE
|
|
562 |
CCDEPMODE
|
|
563 |
AMDEPBACKSLASH
|
|
564 |
AMDEP_FALSE
|
|
565 |
AMDEP_TRUE
|
|
566 |
am__quote
|
|
567 |
am__include
|
|
568 |
DEPDIR
|
|
569 |
OBJEXT
|
|
570 |
EXEEXT
|
|
571 |
ac_ct_CC
|
|
572 |
CPPFLAGS
|
|
573 |
LDFLAGS
|
|
574 |
CFLAGS
|
|
575 |
CC
|
|
576 |
am__untar
|
|
577 |
am__tar
|
|
578 |
AMTAR
|
|
579 |
am__leading_dot
|
|
580 |
SET_MAKE
|
|
581 |
AWK
|
|
582 |
mkdir_p
|
|
583 |
MKDIR_P
|
|
584 |
INSTALL_STRIP_PROGRAM
|
|
585 |
STRIP
|
|
586 |
install_sh
|
|
587 |
MAKEINFO
|
|
588 |
AUTOHEADER
|
|
589 |
AUTOMAKE
|
|
590 |
AUTOCONF
|
|
591 |
ACLOCAL
|
|
592 |
VERSION
|
|
593 |
PACKAGE
|
|
594 |
CYGPATH_W
|
|
595 |
am__isrc
|
|
596 |
INSTALL_DATA
|
|
597 |
INSTALL_SCRIPT
|
|
598 |
INSTALL_PROGRAM
|
|
599 |
target_alias
|
|
600 |
host_alias
|
|
601 |
build_alias
|
|
602 |
LIBS
|
|
603 |
ECHO_T
|
|
604 |
ECHO_N
|
|
605 |
ECHO_C
|
|
606 |
DEFS
|
|
607 |
mandir
|
|
608 |
localedir
|
|
609 |
libdir
|
|
610 |
psdir
|
|
611 |
pdfdir
|
|
612 |
dvidir
|
|
613 |
htmldir
|
|
614 |
infodir
|
|
615 |
docdir
|
|
616 |
oldincludedir
|
|
617 |
includedir
|
|
618 |
localstatedir
|
|
619 |
sharedstatedir
|
|
620 |
sysconfdir
|
|
621 |
datadir
|
|
622 |
datarootdir
|
|
623 |
libexecdir
|
|
624 |
sbindir
|
|
625 |
bindir
|
|
626 |
program_transform_name
|
|
627 |
prefix
|
|
628 |
exec_prefix
|
|
629 |
PACKAGE_URL
|
|
630 |
PACKAGE_BUGREPORT
|
|
631 |
PACKAGE_STRING
|
|
632 |
PACKAGE_VERSION
|
|
633 |
PACKAGE_TARNAME
|
|
634 |
PACKAGE_NAME
|
|
635 |
PATH_SEPARATOR
|
|
636 |
SHELL'
|
275 | 637 |
ac_subst_files=''
|
|
638 |
ac_user_opts='
|
|
639 |
enable_option_checking
|
|
640 |
enable_dependency_tracking
|
|
641 |
with_curl_config
|
|
642 |
'
|
|
643 |
ac_precious_vars='build_alias
|
|
644 |
host_alias
|
|
645 |
target_alias
|
|
646 |
CC
|
|
647 |
CFLAGS
|
|
648 |
LDFLAGS
|
|
649 |
LIBS
|
|
650 |
CPPFLAGS'
|
|
651 |
|
276 | 652 |
|
277 | 653 |
# Initialize some variables set by options.
|
278 | 654 |
ac_init_help=
|
279 | 655 |
ac_init_version=false
|
|
656 |
ac_unrecognized_opts=
|
|
657 |
ac_unrecognized_sep=
|
280 | 658 |
# The variables have the same names as the options, with
|
281 | 659 |
# dashes changed to underlines.
|
282 | 660 |
cache_file=/dev/null
|
|
299 | 677 |
# and all the variables that are supposed to be based on exec_prefix
|
300 | 678 |
# by default will actually change.
|
301 | 679 |
# Use braces instead of parens because sh, perl, etc. also accept them.
|
|
680 |
# (The list follows the same order as the GNU Coding Standards.)
|
302 | 681 |
bindir='${exec_prefix}/bin'
|
303 | 682 |
sbindir='${exec_prefix}/sbin'
|
304 | 683 |
libexecdir='${exec_prefix}/libexec'
|
305 | |
datadir='${prefix}/share'
|
|
684 |
datarootdir='${prefix}/share'
|
|
685 |
datadir='${datarootdir}'
|
306 | 686 |
sysconfdir='${prefix}/etc'
|
307 | 687 |
sharedstatedir='${prefix}/com'
|
308 | 688 |
localstatedir='${prefix}/var'
|
309 | |
libdir='${exec_prefix}/lib'
|
310 | 689 |
includedir='${prefix}/include'
|
311 | 690 |
oldincludedir='/usr/include'
|
312 | |
infodir='${prefix}/info'
|
313 | |
mandir='${prefix}/man'
|
|
691 |
docdir='${datarootdir}/doc/${PACKAGE}'
|
|
692 |
infodir='${datarootdir}/info'
|
|
693 |
htmldir='${docdir}'
|
|
694 |
dvidir='${docdir}'
|
|
695 |
pdfdir='${docdir}'
|
|
696 |
psdir='${docdir}'
|
|
697 |
libdir='${exec_prefix}/lib'
|
|
698 |
localedir='${datarootdir}/locale'
|
|
699 |
mandir='${datarootdir}/man'
|
314 | 700 |
|
315 | 701 |
ac_prev=
|
|
702 |
ac_dashdash=
|
316 | 703 |
for ac_option
|
317 | 704 |
do
|
318 | 705 |
# If the previous option needs an argument, assign it.
|
319 | 706 |
if test -n "$ac_prev"; then
|
320 | |
eval "$ac_prev=\$ac_option"
|
|
707 |
eval $ac_prev=\$ac_option
|
321 | 708 |
ac_prev=
|
322 | 709 |
continue
|
323 | 710 |
fi
|
324 | 711 |
|
325 | |
ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
|
|
712 |
case $ac_option in
|
|
713 |
*=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
|
|
714 |
*) ac_optarg=yes ;;
|
|
715 |
esac
|
326 | 716 |
|
327 | 717 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
328 | 718 |
|
329 | |
case $ac_option in
|
|
719 |
case $ac_dashdash$ac_option in
|
|
720 |
--)
|
|
721 |
ac_dashdash=yes ;;
|
330 | 722 |
|
331 | 723 |
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
332 | 724 |
ac_prev=bindir ;;
|
|
348 | 740 |
--config-cache | -C)
|
349 | 741 |
cache_file=config.cache ;;
|
350 | 742 |
|
351 | |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|
743 |
-datadir | --datadir | --datadi | --datad)
|
352 | 744 |
ac_prev=datadir ;;
|
353 | |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
354 | |
| --da=*)
|
|
745 |
-datadir=* | --datadir=* | --datadi=* | --datad=*)
|
355 | 746 |
datadir=$ac_optarg ;;
|
356 | 747 |
|
|
748 |
-datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
|
|
749 |
| --dataroo | --dataro | --datar)
|
|
750 |
ac_prev=datarootdir ;;
|
|
751 |
-datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
|
|
752 |
| --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
|
|
753 |
datarootdir=$ac_optarg ;;
|
|
754 |
|
357 | 755 |
-disable-* | --disable-*)
|
358 | |
ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
|
756 |
ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
|
359 | 757 |
# Reject names that are not valid shell variable names.
|
360 | |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
361 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
362 | |
{ (exit 1); exit 1; }; }
|
363 | |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
364 | |
eval "enable_$ac_feature=no" ;;
|
|
758 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
759 |
as_fn_error "invalid feature name: $ac_useropt"
|
|
760 |
ac_useropt_orig=$ac_useropt
|
|
761 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
762 |
case $ac_user_opts in
|
|
763 |
*"
|
|
764 |
"enable_$ac_useropt"
|
|
765 |
"*) ;;
|
|
766 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
|
|
767 |
ac_unrecognized_sep=', ';;
|
|
768 |
esac
|
|
769 |
eval enable_$ac_useropt=no ;;
|
|
770 |
|
|
771 |
-docdir | --docdir | --docdi | --doc | --do)
|
|
772 |
ac_prev=docdir ;;
|
|
773 |
-docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
|
|
774 |
docdir=$ac_optarg ;;
|
|
775 |
|
|
776 |
-dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
|
|
777 |
ac_prev=dvidir ;;
|
|
778 |
-dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
|
|
779 |
dvidir=$ac_optarg ;;
|
365 | 780 |
|
366 | 781 |
-enable-* | --enable-*)
|
367 | |
ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
|
782 |
ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
|
368 | 783 |
# Reject names that are not valid shell variable names.
|
369 | |
expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
370 | |
{ echo "$as_me: error: invalid feature name: $ac_feature" >&2
|
371 | |
{ (exit 1); exit 1; }; }
|
372 | |
ac_feature=`echo $ac_feature | sed 's/-/_/g'`
|
373 | |
case $ac_option in
|
374 | |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
375 | |
*) ac_optarg=yes ;;
|
|
784 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
785 |
as_fn_error "invalid feature name: $ac_useropt"
|
|
786 |
ac_useropt_orig=$ac_useropt
|
|
787 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
788 |
case $ac_user_opts in
|
|
789 |
*"
|
|
790 |
"enable_$ac_useropt"
|
|
791 |
"*) ;;
|
|
792 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
|
|
793 |
ac_unrecognized_sep=', ';;
|
376 | 794 |
esac
|
377 | |
eval "enable_$ac_feature='$ac_optarg'" ;;
|
|
795 |
eval enable_$ac_useropt=\$ac_optarg ;;
|
378 | 796 |
|
379 | 797 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
380 | 798 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
401 | 819 |
-host=* | --host=* | --hos=* | --ho=*)
|
402 | 820 |
host_alias=$ac_optarg ;;
|
403 | 821 |
|
|
822 |
-htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
|
|
823 |
ac_prev=htmldir ;;
|
|
824 |
-htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
|
|
825 |
| --ht=*)
|
|
826 |
htmldir=$ac_optarg ;;
|
|
827 |
|
404 | 828 |
-includedir | --includedir | --includedi | --included | --include \
|
405 | 829 |
| --includ | --inclu | --incl | --inc)
|
406 | 830 |
ac_prev=includedir ;;
|
|
425 | 849 |
| --libexe=* | --libex=* | --libe=*)
|
426 | 850 |
libexecdir=$ac_optarg ;;
|
427 | 851 |
|
|
852 |
-localedir | --localedir | --localedi | --localed | --locale)
|
|
853 |
ac_prev=localedir ;;
|
|
854 |
-localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
|
|
855 |
localedir=$ac_optarg ;;
|
|
856 |
|
428 | 857 |
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
429 | |
| --localstate | --localstat | --localsta | --localst \
|
430 | |
| --locals | --local | --loca | --loc | --lo)
|
|
858 |
| --localstate | --localstat | --localsta | --localst | --locals)
|
431 | 859 |
ac_prev=localstatedir ;;
|
432 | 860 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
433 | |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
434 | |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|
861 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
|
435 | 862 |
localstatedir=$ac_optarg ;;
|
436 | 863 |
|
437 | 864 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|
496 | 923 |
| --progr-tra=* | --program-tr=* | --program-t=*)
|
497 | 924 |
program_transform_name=$ac_optarg ;;
|
498 | 925 |
|
|
926 |
-pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
|
|
927 |
ac_prev=pdfdir ;;
|
|
928 |
-pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
|
|
929 |
pdfdir=$ac_optarg ;;
|
|
930 |
|
|
931 |
-psdir | --psdir | --psdi | --psd | --ps)
|
|
932 |
ac_prev=psdir ;;
|
|
933 |
-psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
|
|
934 |
psdir=$ac_optarg ;;
|
|
935 |
|
499 | 936 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
500 | 937 |
| -silent | --silent | --silen | --sile | --sil)
|
501 | 938 |
silent=yes ;;
|
|
546 | 983 |
ac_init_version=: ;;
|
547 | 984 |
|
548 | 985 |
-with-* | --with-*)
|
549 | |
ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
|
986 |
ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
|
550 | 987 |
# Reject names that are not valid shell variable names.
|
551 | |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
552 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
553 | |
{ (exit 1); exit 1; }; }
|
554 | |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
555 | |
case $ac_option in
|
556 | |
*=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
|
557 | |
*) ac_optarg=yes ;;
|
|
988 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
989 |
as_fn_error "invalid package name: $ac_useropt"
|
|
990 |
ac_useropt_orig=$ac_useropt
|
|
991 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
992 |
case $ac_user_opts in
|
|
993 |
*"
|
|
994 |
"with_$ac_useropt"
|
|
995 |
"*) ;;
|
|
996 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
|
|
997 |
ac_unrecognized_sep=', ';;
|
558 | 998 |
esac
|
559 | |
eval "with_$ac_package='$ac_optarg'" ;;
|
|
999 |
eval with_$ac_useropt=\$ac_optarg ;;
|
560 | 1000 |
|
561 | 1001 |
-without-* | --without-*)
|
562 | |
ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
|
1002 |
ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
|
563 | 1003 |
# Reject names that are not valid shell variable names.
|
564 | |
expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
|
565 | |
{ echo "$as_me: error: invalid package name: $ac_package" >&2
|
566 | |
{ (exit 1); exit 1; }; }
|
567 | |
ac_package=`echo $ac_package | sed 's/-/_/g'`
|
568 | |
eval "with_$ac_package=no" ;;
|
|
1004 |
expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
|
|
1005 |
as_fn_error "invalid package name: $ac_useropt"
|
|
1006 |
ac_useropt_orig=$ac_useropt
|
|
1007 |
ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
|
|
1008 |
case $ac_user_opts in
|
|
1009 |
*"
|
|
1010 |
"with_$ac_useropt"
|
|
1011 |
"*) ;;
|
|
1012 |
*) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
|
|
1013 |
ac_unrecognized_sep=', ';;
|
|
1014 |
esac
|
|
1015 |
eval with_$ac_useropt=no ;;
|
569 | 1016 |
|
570 | 1017 |
--x)
|
571 | 1018 |
# Obsolete; use --with-x.
|
|
585 | 1032 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
586 | 1033 |
x_libraries=$ac_optarg ;;
|
587 | 1034 |
|
588 | |
-*) { echo "$as_me: error: unrecognized option: $ac_option
|
589 | |
Try \`$0 --help' for more information." >&2
|
590 | |
{ (exit 1); exit 1; }; }
|
|
1035 |
-*) as_fn_error "unrecognized option: \`$ac_option'
|
|
1036 |
Try \`$0 --help' for more information."
|
591 | 1037 |
;;
|
592 | 1038 |
|
593 | 1039 |
*=*)
|
594 | 1040 |
ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
|
595 | 1041 |
# Reject names that are not valid shell variable names.
|
596 | |
expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
|
597 | |
{ echo "$as_me: error: invalid variable name: $ac_envvar" >&2
|
598 | |
{ (exit 1); exit 1; }; }
|
599 | |
ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
|
600 | |
eval "$ac_envvar='$ac_optarg'"
|
|
1042 |
case $ac_envvar in #(
|
|
1043 |
'' | [0-9]* | *[!_$as_cr_alnum]* )
|
|
1044 |
as_fn_error "invalid variable name: \`$ac_envvar'" ;;
|
|
1045 |
esac
|
|
1046 |
eval $ac_envvar=\$ac_optarg
|
601 | 1047 |
export $ac_envvar ;;
|
602 | 1048 |
|
603 | 1049 |
*)
|
604 | 1050 |
# FIXME: should be removed in autoconf 3.0.
|
605 | |
echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
|
1051 |
$as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
|
606 | 1052 |
expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
|
607 | |
echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
|
1053 |
$as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
|
608 | 1054 |
: ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
|
609 | 1055 |
;;
|
610 | 1056 |
|
|
613 | 1059 |
|
614 | 1060 |
if test -n "$ac_prev"; then
|
615 | 1061 |
ac_option=--`echo $ac_prev | sed 's/_/-/g'`
|
616 | |
{ echo "$as_me: error: missing argument to $ac_option" >&2
|
617 | |
{ (exit 1); exit 1; }; }
|
618 | |
fi
|
619 | |
|
620 | |
# Be sure to have absolute paths.
|
621 | |
for ac_var in exec_prefix prefix
|
|
1062 |
as_fn_error "missing argument to $ac_option"
|
|
1063 |
fi
|
|
1064 |
|
|
1065 |
if test -n "$ac_unrecognized_opts"; then
|
|
1066 |
case $enable_option_checking in
|
|
1067 |
no) ;;
|
|
1068 |
fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
|
|
1069 |
*) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
|
|
1070 |
esac
|
|
1071 |
fi
|
|
1072 |
|
|
1073 |
# Check all directory arguments for consistency.
|
|
1074 |
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
|
|
1075 |
datadir sysconfdir sharedstatedir localstatedir includedir \
|
|
1076 |
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
|
|
1077 |
libdir localedir mandir
|
622 | 1078 |
do
|
623 | |
eval ac_val=$`echo $ac_var`
|
|
1079 |
eval ac_val=\$$ac_var
|
|
1080 |
# Remove trailing slashes.
|
624 | 1081 |
case $ac_val in
|
625 | |
[\\/$]* | ?:[\\/]* | NONE | '' ) ;;
|
626 | |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
627 | |
{ (exit 1); exit 1; }; };;
|
|
1082 |
*/ )
|
|
1083 |
ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
|
|
1084 |
eval $ac_var=\$ac_val;;
|
628 | 1085 |
esac
|
629 | |
done
|
630 | |
|
631 | |
# Be sure to have absolute paths.
|
632 | |
for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
|
633 | |
localstatedir libdir includedir oldincludedir infodir mandir
|
634 | |
do
|
635 | |
eval ac_val=$`echo $ac_var`
|
|
1086 |
# Be sure to have absolute directory names.
|
636 | 1087 |
case $ac_val in
|
637 | |
[\\/$]* | ?:[\\/]* ) ;;
|
638 | |
*) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
|
639 | |
{ (exit 1); exit 1; }; };;
|
|
1088 |
[\\/$]* | ?:[\\/]* ) continue;;
|
|
1089 |
NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
|
640 | 1090 |
esac
|
|
1091 |
as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
|
641 | 1092 |
done
|
642 | 1093 |
|
643 | 1094 |
# There might be people who depend on the old broken behavior: `$host'
|
|
651 | 1102 |
if test "x$host_alias" != x; then
|
652 | 1103 |
if test "x$build_alias" = x; then
|
653 | 1104 |
cross_compiling=maybe
|
654 | |
echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
|
1105 |
$as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
|
655 | 1106 |
If a cross compiler is detected then cross compile mode will be used." >&2
|
656 | 1107 |
elif test "x$build_alias" != "x$host_alias"; then
|
657 | 1108 |
cross_compiling=yes
|
|
664 | 1115 |
test "$silent" = yes && exec 6>/dev/null
|
665 | 1116 |
|
666 | 1117 |
|
|
1118 |
ac_pwd=`pwd` && test -n "$ac_pwd" &&
|
|
1119 |
ac_ls_di=`ls -di .` &&
|
|
1120 |
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
|
|
1121 |
as_fn_error "working directory cannot be determined"
|
|
1122 |
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
|
|
1123 |
as_fn_error "pwd does not report name of working directory"
|
|
1124 |
|
|
1125 |
|
667 | 1126 |
# Find the source files, if location was not specified.
|
668 | 1127 |
if test -z "$srcdir"; then
|
669 | 1128 |
ac_srcdir_defaulted=yes
|
670 | |
# Try the directory containing this script, then its parent.
|
671 | |
ac_confdir=`(dirname "$0") 2>/dev/null ||
|
672 | |
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
673 | |
X"$0" : 'X\(//\)[^/]' \| \
|
674 | |
X"$0" : 'X\(//\)$' \| \
|
675 | |
X"$0" : 'X\(/\)' \| \
|
676 | |
. : '\(.\)' 2>/dev/null ||
|
677 | |
echo X"$0" |
|
678 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
679 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
680 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
681 | |
/^X\(\/\).*/{ s//\1/; q; }
|
682 | |
s/.*/./; q'`
|
|
1129 |
# Try the directory containing this script, then the parent directory.
|
|
1130 |
ac_confdir=`$as_dirname -- "$as_myself" ||
|
|
1131 |
$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
1132 |
X"$as_myself" : 'X\(//\)[^/]' \| \
|
|
1133 |
X"$as_myself" : 'X\(//\)$' \| \
|
|
1134 |
X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
|
|
1135 |
$as_echo X"$as_myself" |
|
|
1136 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
1137 |
s//\1/
|
|
1138 |
q
|
|
1139 |
}
|
|
1140 |
/^X\(\/\/\)[^/].*/{
|
|
1141 |
s//\1/
|
|
1142 |
q
|
|
1143 |
}
|
|
1144 |
/^X\(\/\/\)$/{
|
|
1145 |
s//\1/
|
|
1146 |
q
|
|
1147 |
}
|
|
1148 |
/^X\(\/\).*/{
|
|
1149 |
s//\1/
|
|
1150 |
q
|
|
1151 |
}
|
|
1152 |
s/.*/./; q'`
|
683 | 1153 |
srcdir=$ac_confdir
|
684 | |
if test ! -r $srcdir/$ac_unique_file; then
|
|
1154 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
685 | 1155 |
srcdir=..
|
686 | 1156 |
fi
|
687 | 1157 |
else
|
688 | 1158 |
ac_srcdir_defaulted=no
|
689 | 1159 |
fi
|
690 | |
if test ! -r $srcdir/$ac_unique_file; then
|
691 | |
if test "$ac_srcdir_defaulted" = yes; then
|
692 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
|
693 | |
{ (exit 1); exit 1; }; }
|
694 | |
else
|
695 | |
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
|
696 | |
{ (exit 1); exit 1; }; }
|
697 | |
fi
|
698 | |
fi
|
699 | |
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
|
700 | |
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
|
701 | |
{ (exit 1); exit 1; }; }
|
702 | |
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
|
703 | |
ac_env_build_alias_set=${build_alias+set}
|
704 | |
ac_env_build_alias_value=$build_alias
|
705 | |
ac_cv_env_build_alias_set=${build_alias+set}
|
706 | |
ac_cv_env_build_alias_value=$build_alias
|
707 | |
ac_env_host_alias_set=${host_alias+set}
|
708 | |
ac_env_host_alias_value=$host_alias
|
709 | |
ac_cv_env_host_alias_set=${host_alias+set}
|
710 | |
ac_cv_env_host_alias_value=$host_alias
|
711 | |
ac_env_target_alias_set=${target_alias+set}
|
712 | |
ac_env_target_alias_value=$target_alias
|
713 | |
ac_cv_env_target_alias_set=${target_alias+set}
|
714 | |
ac_cv_env_target_alias_value=$target_alias
|
715 | |
ac_env_CC_set=${CC+set}
|
716 | |
ac_env_CC_value=$CC
|
717 | |
ac_cv_env_CC_set=${CC+set}
|
718 | |
ac_cv_env_CC_value=$CC
|
719 | |
ac_env_CFLAGS_set=${CFLAGS+set}
|
720 | |
ac_env_CFLAGS_value=$CFLAGS
|
721 | |
ac_cv_env_CFLAGS_set=${CFLAGS+set}
|
722 | |
ac_cv_env_CFLAGS_value=$CFLAGS
|
723 | |
ac_env_LDFLAGS_set=${LDFLAGS+set}
|
724 | |
ac_env_LDFLAGS_value=$LDFLAGS
|
725 | |
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
|
726 | |
ac_cv_env_LDFLAGS_value=$LDFLAGS
|
727 | |
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
|
728 | |
ac_env_CPPFLAGS_value=$CPPFLAGS
|
729 | |
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
|
730 | |
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
|
|
1160 |
if test ! -r "$srcdir/$ac_unique_file"; then
|
|
1161 |
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
|
|
1162 |
as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
|
|
1163 |
fi
|
|
1164 |
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
|
|
1165 |
ac_abs_confdir=`(
|
|
1166 |
cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
|
|
1167 |
pwd)`
|
|
1168 |
# When building in place, set srcdir=.
|
|
1169 |
if test "$ac_abs_confdir" = "$ac_pwd"; then
|
|
1170 |
srcdir=.
|
|
1171 |
fi
|
|
1172 |
# Remove unnecessary trailing slashes from srcdir.
|
|
1173 |
# Double slashes in file names in object file debugging info
|
|
1174 |
# mess up M-x gdb in Emacs.
|
|
1175 |
case $srcdir in
|
|
1176 |
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
|
|
1177 |
esac
|
|
1178 |
for ac_var in $ac_precious_vars; do
|
|
1179 |
eval ac_env_${ac_var}_set=\${${ac_var}+set}
|
|
1180 |
eval ac_env_${ac_var}_value=\$${ac_var}
|
|
1181 |
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
|
|
1182 |
eval ac_cv_env_${ac_var}_value=\$${ac_var}
|
|
1183 |
done
|
731 | 1184 |
|
732 | 1185 |
#
|
733 | 1186 |
# Report the --help message.
|
|
756 | 1209 |
-n, --no-create do not create output files
|
757 | 1210 |
--srcdir=DIR find the sources in DIR [configure dir or \`..']
|
758 | 1211 |
|
759 | |
_ACEOF
|
760 | |
|
761 | |
cat <<_ACEOF
|
762 | 1212 |
Installation directories:
|
763 | 1213 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
764 | |
[$ac_default_prefix]
|
|
1214 |
[$ac_default_prefix]
|
765 | 1215 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
766 | |
[PREFIX]
|
|
1216 |
[PREFIX]
|
767 | 1217 |
|
768 | 1218 |
By default, \`make install' will install all the files in
|
769 | 1219 |
\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
|
|
773 | 1223 |
For better control, use the options below.
|
774 | 1224 |
|
775 | 1225 |
Fine tuning of the installation directories:
|
776 | |
--bindir=DIR user executables [EPREFIX/bin]
|
777 | |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
778 | |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
779 | |
--datadir=DIR read-only architecture-independent data [PREFIX/share]
|
780 | |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
781 | |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
782 | |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
783 | |
--libdir=DIR object code libraries [EPREFIX/lib]
|
784 | |
--includedir=DIR C header files [PREFIX/include]
|
785 | |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
786 | |
--infodir=DIR info documentation [PREFIX/info]
|
787 | |
--mandir=DIR man documentation [PREFIX/man]
|
|
1226 |
--bindir=DIR user executables [EPREFIX/bin]
|
|
1227 |
--sbindir=DIR system admin executables [EPREFIX/sbin]
|
|
1228 |
--libexecdir=DIR program executables [EPREFIX/libexec]
|
|
1229 |
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
|
|
1230 |
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
|
|
1231 |
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
|
|
1232 |
--libdir=DIR object code libraries [EPREFIX/lib]
|
|
1233 |
--includedir=DIR C header files [PREFIX/include]
|
|
1234 |
--oldincludedir=DIR C header files for non-gcc [/usr/include]
|
|
1235 |
--datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
|
|
1236 |
--datadir=DIR read-only architecture-independent data [DATAROOTDIR]
|
|
1237 |
--infodir=DIR info documentation [DATAROOTDIR/info]
|
|
1238 |
--localedir=DIR locale-dependent data [DATAROOTDIR/locale]
|
|
1239 |
--mandir=DIR man documentation [DATAROOTDIR/man]
|
|
1240 |
--docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
|
|
1241 |
--htmldir=DIR html documentation [DOCDIR]
|
|
1242 |
--dvidir=DIR dvi documentation [DOCDIR]
|
|
1243 |
--pdfdir=DIR pdf documentation [DOCDIR]
|
|
1244 |
--psdir=DIR ps documentation [DOCDIR]
|
788 | 1245 |
_ACEOF
|
789 | 1246 |
|
790 | 1247 |
cat <<\_ACEOF
|
|
801 | 1258 |
cat <<\_ACEOF
|
802 | 1259 |
|
803 | 1260 |
Optional Features:
|
|
1261 |
--disable-option-checking ignore unrecognized --enable/--with options
|
804 | 1262 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
805 | 1263 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
806 | 1264 |
--disable-dependency-tracking speeds up one-time build
|
|
816 | 1274 |
CFLAGS C compiler flags
|
817 | 1275 |
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
|
818 | 1276 |
nonstandard directory <lib dir>
|
819 | |
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
|
820 | |
headers in a nonstandard directory <include dir>
|
|
1277 |
LIBS libraries to pass to the linker, e.g. -l<library>
|
|
1278 |
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
|
|
1279 |
you have headers in a nonstandard directory <include dir>
|
821 | 1280 |
|
822 | 1281 |
Use these variables to override the choices made by `configure' or to help
|
823 | 1282 |
it to find libraries and programs with nonstandard names/locations.
|
824 | 1283 |
|
|
1284 |
Report bugs to the package provider.
|
825 | 1285 |
_ACEOF
|
|
1286 |
ac_status=$?
|
826 | 1287 |
fi
|
827 | 1288 |
|
828 | 1289 |
if test "$ac_init_help" = "recursive"; then
|
829 | 1290 |
# If there are subdirs, report their specific --help.
|
830 | |
ac_popdir=`pwd`
|
831 | 1291 |
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
|
832 | |
test -d $ac_dir || continue
|
|
1292 |
test -d "$ac_dir" ||
|
|
1293 |
{ cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
|
|
1294 |
continue
|
833 | 1295 |
ac_builddir=.
|
834 | 1296 |
|
835 | |
if test "$ac_dir" != .; then
|
836 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
837 | |
# A "../" for each directory in $ac_dir_suffix.
|
838 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
839 | |
else
|
840 | |
ac_dir_suffix= ac_top_builddir=
|
841 | |
fi
|
|
1297 |
case "$ac_dir" in
|
|
1298 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1299 |
*)
|
|
1300 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
1301 |
# A ".." for each directory in $ac_dir_suffix.
|
|
1302 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
1303 |
case $ac_top_builddir_sub in
|
|
1304 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
1305 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
1306 |
esac ;;
|
|
1307 |
esac
|
|
1308 |
ac_abs_top_builddir=$ac_pwd
|
|
1309 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
1310 |
# for backward compatibility:
|
|
1311 |
ac_top_builddir=$ac_top_build_prefix
|
842 | 1312 |
|
843 | 1313 |
case $srcdir in
|
844 | |
.) # No --srcdir option. We are building in place.
|
|
1314 |
.) # We are building in place.
|
845 | 1315 |
ac_srcdir=.
|
846 | |
if test -z "$ac_top_builddir"; then
|
847 | |
ac_top_srcdir=.
|
|
1316 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
1317 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
1318 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
|
1319 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
|
1320 |
ac_top_srcdir=$srcdir
|
|
1321 |
ac_abs_top_srcdir=$srcdir ;;
|
|
1322 |
*) # Relative name.
|
|
1323 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
1324 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
1325 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
|
1326 |
esac
|
|
1327 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
1328 |
|
|
1329 |
cd "$ac_dir" || { ac_status=$?; continue; }
|
|
1330 |
# Check for guested configure.
|
|
1331 |
if test -f "$ac_srcdir/configure.gnu"; then
|
|
1332 |
echo &&
|
|
1333 |
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
|
|
1334 |
elif test -f "$ac_srcdir/configure"; then
|
|
1335 |
echo &&
|
|
1336 |
$SHELL "$ac_srcdir/configure" --help=recursive
|
848 | 1337 |
else
|
849 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
850 | |
fi ;;
|
851 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
852 | |
ac_srcdir=$srcdir$ac_dir_suffix;
|
853 | |
ac_top_srcdir=$srcdir ;;
|
854 | |
*) # Relative path.
|
855 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
856 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
857 | |
esac
|
858 | |
|
859 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
860 | |
# the directories may not exist.
|
861 | |
case `pwd` in
|
862 | |
.) ac_abs_builddir="$ac_dir";;
|
863 | |
*)
|
864 | |
case "$ac_dir" in
|
865 | |
.) ac_abs_builddir=`pwd`;;
|
866 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
867 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
868 | |
esac;;
|
869 | |
esac
|
870 | |
case $ac_abs_builddir in
|
871 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
872 | |
*)
|
873 | |
case ${ac_top_builddir}. in
|
874 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
875 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
876 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
877 | |
esac;;
|
878 | |
esac
|
879 | |
case $ac_abs_builddir in
|
880 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
881 | |
*)
|
882 | |
case $ac_srcdir in
|
883 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
884 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
885 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
886 | |
esac;;
|
887 | |
esac
|
888 | |
case $ac_abs_builddir in
|
889 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
890 | |
*)
|
891 | |
case $ac_top_srcdir in
|
892 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
893 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
894 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
895 | |
esac;;
|
896 | |
esac
|
897 | |
|
898 | |
cd $ac_dir
|
899 | |
# Check for guested configure; otherwise get Cygnus style configure.
|
900 | |
if test -f $ac_srcdir/configure.gnu; then
|
901 | |
echo
|
902 | |
$SHELL $ac_srcdir/configure.gnu --help=recursive
|
903 | |
elif test -f $ac_srcdir/configure; then
|
904 | |
echo
|
905 | |
$SHELL $ac_srcdir/configure --help=recursive
|
906 | |
elif test -f $ac_srcdir/configure.ac ||
|
907 | |
test -f $ac_srcdir/configure.in; then
|
908 | |
echo
|
909 | |
$ac_configure --help
|
910 | |
else
|
911 | |
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
912 | |
fi
|
913 | |
cd $ac_popdir
|
|
1338 |
$as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
|
|
1339 |
fi || ac_status=$?
|
|
1340 |
cd "$ac_pwd" || { ac_status=$?; break; }
|
914 | 1341 |
done
|
915 | 1342 |
fi
|
916 | 1343 |
|
917 | |
test -n "$ac_init_help" && exit 0
|
|
1344 |
test -n "$ac_init_help" && exit $ac_status
|
918 | 1345 |
if $ac_init_version; then
|
919 | 1346 |
cat <<\_ACEOF
|
920 | |
|
921 | |
Copyright (C) 2003 Free Software Foundation, Inc.
|
|
1347 |
configure
|
|
1348 |
generated by GNU Autoconf 2.64
|
|
1349 |
|
|
1350 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
922 | 1351 |
This configure script is free software; the Free Software Foundation
|
923 | 1352 |
gives unlimited permission to copy, distribute and modify it.
|
924 | 1353 |
_ACEOF
|
925 | |
exit 0
|
926 | |
fi
|
927 | |
exec 5>config.log
|
928 | |
cat >&5 <<_ACEOF
|
|
1354 |
exit
|
|
1355 |
fi
|
|
1356 |
|
|
1357 |
## ------------------------ ##
|
|
1358 |
## Autoconf initialization. ##
|
|
1359 |
## ------------------------ ##
|
|
1360 |
|
|
1361 |
# ac_fn_c_try_compile LINENO
|
|
1362 |
# --------------------------
|
|
1363 |
# Try to compile conftest.$ac_ext, and return whether this succeeded.
|
|
1364 |
ac_fn_c_try_compile ()
|
|
1365 |
{
|
|
1366 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1367 |
rm -f conftest.$ac_objext
|
|
1368 |
if { { ac_try="$ac_compile"
|
|
1369 |
case "(($ac_try" in
|
|
1370 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1371 |
*) ac_try_echo=$ac_try;;
|
|
1372 |
esac
|
|
1373 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1374 |
$as_echo "$ac_try_echo"; } >&5
|
|
1375 |
(eval "$ac_compile") 2>conftest.err
|
|
1376 |
ac_status=$?
|
|
1377 |
if test -s conftest.err; then
|
|
1378 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1379 |
cat conftest.er1 >&5
|
|
1380 |
mv -f conftest.er1 conftest.err
|
|
1381 |
fi
|
|
1382 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1383 |
test $ac_status = 0; } && {
|
|
1384 |
test -z "$ac_c_werror_flag" ||
|
|
1385 |
test ! -s conftest.err
|
|
1386 |
} && test -s conftest.$ac_objext; then :
|
|
1387 |
ac_retval=0
|
|
1388 |
else
|
|
1389 |
$as_echo "$as_me: failed program was:" >&5
|
|
1390 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1391 |
|
|
1392 |
ac_retval=1
|
|
1393 |
fi
|
|
1394 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1395 |
return $ac_retval
|
|
1396 |
|
|
1397 |
} # ac_fn_c_try_compile
|
|
1398 |
|
|
1399 |
# ac_fn_c_try_link LINENO
|
|
1400 |
# -----------------------
|
|
1401 |
# Try to link conftest.$ac_ext, and return whether this succeeded.
|
|
1402 |
ac_fn_c_try_link ()
|
|
1403 |
{
|
|
1404 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1405 |
rm -f conftest.$ac_objext conftest$ac_exeext
|
|
1406 |
if { { ac_try="$ac_link"
|
|
1407 |
case "(($ac_try" in
|
|
1408 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
1409 |
*) ac_try_echo=$ac_try;;
|
|
1410 |
esac
|
|
1411 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
1412 |
$as_echo "$ac_try_echo"; } >&5
|
|
1413 |
(eval "$ac_link") 2>conftest.err
|
|
1414 |
ac_status=$?
|
|
1415 |
if test -s conftest.err; then
|
|
1416 |
grep -v '^ *+' conftest.err >conftest.er1
|
|
1417 |
cat conftest.er1 >&5
|
|
1418 |
mv -f conftest.er1 conftest.err
|
|
1419 |
fi
|
|
1420 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
1421 |
test $ac_status = 0; } && {
|
|
1422 |
test -z "$ac_c_werror_flag" ||
|
|
1423 |
test ! -s conftest.err
|
|
1424 |
} && test -s conftest$ac_exeext && {
|
|
1425 |
test "$cross_compiling" = yes ||
|
|
1426 |
$as_test_x conftest$ac_exeext
|
|
1427 |
}; then :
|
|
1428 |
ac_retval=0
|
|
1429 |
else
|
|
1430 |
$as_echo "$as_me: failed program was:" >&5
|
|
1431 |
sed 's/^/| /' conftest.$ac_ext >&5
|
|
1432 |
|
|
1433 |
ac_retval=1
|
|
1434 |
fi
|
|
1435 |
# Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
|
|
1436 |
# created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
|
|
1437 |
# interfere with the next link command; also delete a directory that is
|
|
1438 |
# left behind by Apple's compiler. We do this before executing the actions.
|
|
1439 |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
|
|
1440 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1441 |
return $ac_retval
|
|
1442 |
|
|
1443 |
} # ac_fn_c_try_link
|
|
1444 |
|
|
1445 |
# ac_fn_c_check_func LINENO FUNC VAR
|
|
1446 |
# ----------------------------------
|
|
1447 |
# Tests whether FUNC exists, setting the cache variable VAR accordingly
|
|
1448 |
ac_fn_c_check_func ()
|
|
1449 |
{
|
|
1450 |
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
1451 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
|
|
1452 |
$as_echo_n "checking for $2... " >&6; }
|
|
1453 |
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
1454 |
$as_echo_n "(cached) " >&6
|
|
1455 |
else
|
|
1456 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
1457 |
/* end confdefs.h. */
|
|
1458 |
/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
|
|
1459 |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
1460 |
#define $2 innocuous_$2
|
|
1461 |
|
|
1462 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
1463 |
which can conflict with char $2 (); below.
|
|
1464 |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
1465 |
<limits.h> exists even on freestanding compilers. */
|
|
1466 |
|
|
1467 |
#ifdef __STDC__
|
|
1468 |
# include <limits.h>
|
|
1469 |
#else
|
|
1470 |
# include <assert.h>
|
|
1471 |
#endif
|
|
1472 |
|
|
1473 |
#undef $2
|
|
1474 |
|
|
1475 |
/* Override any GCC internal prototype to avoid an error.
|
|
1476 |
Use char because int might match the return type of a GCC
|
|
1477 |
builtin and then its argument prototype would still apply. */
|
|
1478 |
#ifdef __cplusplus
|
|
1479 |
extern "C"
|
|
1480 |
#endif
|
|
1481 |
char $2 ();
|
|
1482 |
/* The GNU C library defines this for functions which it implements
|
|
1483 |
to always fail with ENOSYS. Some functions are actually named
|
|
1484 |
something starting with __ and the normal name is an alias. */
|
|
1485 |
#if defined __stub_$2 || defined __stub___$2
|
|
1486 |
choke me
|
|
1487 |
#endif
|
|
1488 |
|
|
1489 |
int
|
|
1490 |
main ()
|
|
1491 |
{
|
|
1492 |
return $2 ();
|
|
1493 |
;
|
|
1494 |
return 0;
|
|
1495 |
}
|
|
1496 |
_ACEOF
|
|
1497 |
if ac_fn_c_try_link "$LINENO"; then :
|
|
1498 |
eval "$3=yes"
|
|
1499 |
else
|
|
1500 |
eval "$3=no"
|
|
1501 |
fi
|
|
1502 |
rm -f core conftest.err conftest.$ac_objext \
|
|
1503 |
conftest$ac_exeext conftest.$ac_ext
|
|
1504 |
fi
|
|
1505 |
eval ac_res=\$$3
|
|
1506 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
|
|
1507 |
$as_echo "$ac_res" >&6; }
|
|
1508 |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
|
|
1509 |
|
|
1510 |
} # ac_fn_c_check_func
|
|
1511 |
cat >config.log <<_ACEOF
|
929 | 1512 |
This file contains any messages produced by compilers while
|
930 | 1513 |
running configure, to aid debugging if configure makes a mistake.
|
931 | 1514 |
|
932 | 1515 |
It was created by $as_me, which was
|
933 | |
generated by GNU Autoconf 2.59. Invocation command line was
|
|
1516 |
generated by GNU Autoconf 2.64. Invocation command line was
|
934 | 1517 |
|
935 | 1518 |
$ $0 $@
|
936 | 1519 |
|
937 | 1520 |
_ACEOF
|
|
1521 |
exec 5>>config.log
|
938 | 1522 |
{
|
939 | 1523 |
cat <<_ASUNAME
|
940 | 1524 |
## --------- ##
|
|
953 | 1537 |
/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
|
954 | 1538 |
/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
|
955 | 1539 |
/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
|
956 | |
hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
|
|
1540 |
/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
|
957 | 1541 |
/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
|
958 | 1542 |
/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
|
959 | 1543 |
/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
|
|
965 | 1549 |
do
|
966 | 1550 |
IFS=$as_save_IFS
|
967 | 1551 |
test -z "$as_dir" && as_dir=.
|
968 | |
echo "PATH: $as_dir"
|
969 | |
done
|
|
1552 |
$as_echo "PATH: $as_dir"
|
|
1553 |
done
|
|
1554 |
IFS=$as_save_IFS
|
970 | 1555 |
|
971 | 1556 |
} >&5
|
972 | 1557 |
|
|
988 | 1573 |
ac_configure_args=
|
989 | 1574 |
ac_configure_args0=
|
990 | 1575 |
ac_configure_args1=
|
991 | |
ac_sep=
|
992 | 1576 |
ac_must_keep_next=false
|
993 | 1577 |
for ac_pass in 1 2
|
994 | 1578 |
do
|
|
999 | 1583 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
1000 | 1584 |
| -silent | --silent | --silen | --sile | --sil)
|
1001 | 1585 |
continue ;;
|
1002 | |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1003 | |
ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1586 |
*\'*)
|
|
1587 |
ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1004 | 1588 |
esac
|
1005 | 1589 |
case $ac_pass in
|
1006 | |
1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
|
|
1590 |
1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
|
1007 | 1591 |
2)
|
1008 | |
ac_configure_args1="$ac_configure_args1 '$ac_arg'"
|
|
1592 |
as_fn_append ac_configure_args1 " '$ac_arg'"
|
1009 | 1593 |
if test $ac_must_keep_next = true; then
|
1010 | 1594 |
ac_must_keep_next=false # Got value, back to normal.
|
1011 | 1595 |
else
|
|
1021 | 1605 |
-* ) ac_must_keep_next=true ;;
|
1022 | 1606 |
esac
|
1023 | 1607 |
fi
|
1024 | |
ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
|
1025 | |
# Get rid of the leading space.
|
1026 | |
ac_sep=" "
|
|
1608 |
as_fn_append ac_configure_args " '$ac_arg'"
|
1027 | 1609 |
;;
|
1028 | 1610 |
esac
|
1029 | 1611 |
done
|
1030 | 1612 |
done
|
1031 | |
$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
|
1032 | |
$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
|
|
1613 |
{ ac_configure_args0=; unset ac_configure_args0;}
|
|
1614 |
{ ac_configure_args1=; unset ac_configure_args1;}
|
1033 | 1615 |
|
1034 | 1616 |
# When interrupted or exit'd, cleanup temporary files, and complete
|
1035 | 1617 |
# config.log. We remove comments because anyway the quotes in there
|
1036 | 1618 |
# would cause problems or look ugly.
|
1037 | |
# WARNING: Be sure not to use single quotes in there, as some shells,
|
1038 | |
# such as our DU 5.0 friend, will then `close' the trap.
|
|
1619 |
# WARNING: Use '\'' to represent an apostrophe within the trap.
|
|
1620 |
# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
|
1039 | 1621 |
trap 'exit_status=$?
|
1040 | 1622 |
# Save into config.log some information that might help in debugging.
|
1041 | 1623 |
{
|
|
1048 | 1630 |
_ASBOX
|
1049 | 1631 |
echo
|
1050 | 1632 |
# The following way of writing the cache mishandles newlines in values,
|
1051 | |
{
|
|
1633 |
(
|
|
1634 |
for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
|
|
1635 |
eval ac_val=\$$ac_var
|
|
1636 |
case $ac_val in #(
|
|
1637 |
*${as_nl}*)
|
|
1638 |
case $ac_var in #(
|
|
1639 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
1640 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
1641 |
esac
|
|
1642 |
case $ac_var in #(
|
|
1643 |
_ | IFS | as_nl) ;; #(
|
|
1644 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
1645 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
|
1646 |
esac ;;
|
|
1647 |
esac
|
|
1648 |
done
|
1052 | 1649 |
(set) 2>&1 |
|
1053 | |
case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
|
1054 | |
*ac_space=\ *)
|
|
1650 |
case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
|
|
1651 |
*${as_nl}ac_space=\ *)
|
1055 | 1652 |
sed -n \
|
1056 | |
"s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
|
1057 | |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
|
|
1653 |
"s/'\''/'\''\\\\'\'''\''/g;
|
|
1654 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
|
|
1655 |
;; #(
|
|
1656 |
*)
|
|
1657 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
1058 | 1658 |
;;
|
1059 | |
*)
|
1060 | |
sed -n \
|
1061 | |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
1062 | |
;;
|
1063 | |
esac;
|
1064 | |
}
|
|
1659 |
esac |
|
|
1660 |
sort
|
|
1661 |
)
|
1065 | 1662 |
echo
|
1066 | 1663 |
|
1067 | 1664 |
cat <<\_ASBOX
|
|
1072 | 1669 |
echo
|
1073 | 1670 |
for ac_var in $ac_subst_vars
|
1074 | 1671 |
do
|
1075 | |
eval ac_val=$`echo $ac_var`
|
1076 | |
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
1672 |
eval ac_val=\$$ac_var
|
|
1673 |
case $ac_val in
|
|
1674 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1675 |
esac
|
|
1676 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1077 | 1677 |
done | sort
|
1078 | 1678 |
echo
|
1079 | 1679 |
|
1080 | 1680 |
if test -n "$ac_subst_files"; then
|
1081 | 1681 |
cat <<\_ASBOX
|
1082 | |
## ------------- ##
|
1083 | |
## Output files. ##
|
1084 | |
## ------------- ##
|
|
1682 |
## ------------------- ##
|
|
1683 |
## File substitutions. ##
|
|
1684 |
## ------------------- ##
|
1085 | 1685 |
_ASBOX
|
1086 | 1686 |
echo
|
1087 | 1687 |
for ac_var in $ac_subst_files
|
1088 | 1688 |
do
|
1089 | |
eval ac_val=$`echo $ac_var`
|
1090 | |
echo "$ac_var='"'"'$ac_val'"'"'"
|
|
1689 |
eval ac_val=\$$ac_var
|
|
1690 |
case $ac_val in
|
|
1691 |
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
|
|
1692 |
esac
|
|
1693 |
$as_echo "$ac_var='\''$ac_val'\''"
|
1091 | 1694 |
done | sort
|
1092 | 1695 |
echo
|
1093 | 1696 |
fi
|
|
1099 | 1702 |
## ----------- ##
|
1100 | 1703 |
_ASBOX
|
1101 | 1704 |
echo
|
1102 | |
sed "/^$/d" confdefs.h | sort
|
|
1705 |
cat confdefs.h
|
1103 | 1706 |
echo
|
1104 | 1707 |
fi
|
1105 | 1708 |
test "$ac_signal" != 0 &&
|
1106 | |
echo "$as_me: caught signal $ac_signal"
|
1107 | |
echo "$as_me: exit $exit_status"
|
|
1709 |
$as_echo "$as_me: caught signal $ac_signal"
|
|
1710 |
$as_echo "$as_me: exit $exit_status"
|
1108 | 1711 |
} >&5
|
1109 | |
rm -f core *.core &&
|
1110 | |
rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
|
|
1712 |
rm -f core *.core core.conftest.* &&
|
|
1713 |
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
|
1111 | 1714 |
exit $exit_status
|
1112 | |
' 0
|
|
1715 |
' 0
|
1113 | 1716 |
for ac_signal in 1 2 13 15; do
|
1114 | |
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
|
|
1717 |
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
|
1115 | 1718 |
done
|
1116 | 1719 |
ac_signal=0
|
1117 | 1720 |
|
1118 | 1721 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
1119 | |
rm -rf conftest* confdefs.h
|
1120 | |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
1121 | |
echo >confdefs.h
|
|
1722 |
rm -f -r conftest* confdefs.h
|
|
1723 |
|
|
1724 |
$as_echo "/* confdefs.h */" > confdefs.h
|
1122 | 1725 |
|
1123 | 1726 |
# Predefined preprocessor variables.
|
1124 | 1727 |
|
|
1126 | 1729 |
#define PACKAGE_NAME "$PACKAGE_NAME"
|
1127 | 1730 |
_ACEOF
|
1128 | 1731 |
|
1129 | |
|
1130 | 1732 |
cat >>confdefs.h <<_ACEOF
|
1131 | 1733 |
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
|
1132 | 1734 |
_ACEOF
|
1133 | 1735 |
|
1134 | |
|
1135 | 1736 |
cat >>confdefs.h <<_ACEOF
|
1136 | 1737 |
#define PACKAGE_VERSION "$PACKAGE_VERSION"
|
1137 | 1738 |
_ACEOF
|
1138 | 1739 |
|
1139 | |
|
1140 | 1740 |
cat >>confdefs.h <<_ACEOF
|
1141 | 1741 |
#define PACKAGE_STRING "$PACKAGE_STRING"
|
1142 | 1742 |
_ACEOF
|
1143 | 1743 |
|
1144 | |
|
1145 | 1744 |
cat >>confdefs.h <<_ACEOF
|
1146 | 1745 |
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
|
1147 | 1746 |
_ACEOF
|
1148 | 1747 |
|
|
1748 |
cat >>confdefs.h <<_ACEOF
|
|
1749 |
#define PACKAGE_URL "$PACKAGE_URL"
|
|
1750 |
_ACEOF
|
|
1751 |
|
1149 | 1752 |
|
1150 | 1753 |
# Let the site file select an alternate cache file if it wants to.
|
1151 | |
# Prefer explicitly selected file to automatically selected ones.
|
1152 | |
if test -z "$CONFIG_SITE"; then
|
1153 | |
if test "x$prefix" != xNONE; then
|
1154 | |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
1155 | |
else
|
1156 | |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
1157 | |
fi
|
1158 | |
fi
|
1159 | |
for ac_site_file in $CONFIG_SITE; do
|
|
1754 |
# Prefer an explicitly selected file to automatically selected ones.
|
|
1755 |
ac_site_file1=NONE
|
|
1756 |
ac_site_file2=NONE
|
|
1757 |
if test -n "$CONFIG_SITE"; then
|
|
1758 |
ac_site_file1=$CONFIG_SITE
|
|
1759 |
elif test "x$prefix" != xNONE; then
|
|
1760 |
ac_site_file1=$prefix/share/config.site
|
|
1761 |
ac_site_file2=$prefix/etc/config.site
|
|
1762 |
else
|
|
1763 |
ac_site_file1=$ac_default_prefix/share/config.site
|
|
1764 |
ac_site_file2=$ac_default_prefix/etc/config.site
|
|
1765 |
fi
|
|
1766 |
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
|
|
1767 |
do
|
|
1768 |
test "x$ac_site_file" = xNONE && continue
|
1160 | 1769 |
if test -r "$ac_site_file"; then
|
1161 | |
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
|
1162 | |
echo "$as_me: loading site script $ac_site_file" >&6;}
|
|
1770 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
|
|
1771 |
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
|
1163 | 1772 |
sed 's/^/| /' "$ac_site_file" >&5
|
1164 | 1773 |
. "$ac_site_file"
|
1165 | 1774 |
fi
|
|
1169 | 1778 |
# Some versions of bash will fail to source /dev/null (special
|
1170 | 1779 |
# files actually), so we avoid doing that.
|
1171 | 1780 |
if test -f "$cache_file"; then
|
1172 | |
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
|
1173 | |
echo "$as_me: loading cache $cache_file" >&6;}
|
|
1781 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
|
|
1782 |
$as_echo "$as_me: loading cache $cache_file" >&6;}
|
1174 | 1783 |
case $cache_file in
|
1175 | |
[\\/]* | ?:[\\/]* ) . $cache_file;;
|
1176 | |
*) . ./$cache_file;;
|
|
1784 |
[\\/]* | ?:[\\/]* ) . "$cache_file";;
|
|
1785 |
*) . "./$cache_file";;
|
1177 | 1786 |
esac
|
1178 | 1787 |
fi
|
1179 | 1788 |
else
|
1180 | |
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
|
1181 | |
echo "$as_me: creating cache $cache_file" >&6;}
|
|
1789 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
|
|
1790 |
$as_echo "$as_me: creating cache $cache_file" >&6;}
|
1182 | 1791 |
>$cache_file
|
1183 | 1792 |
fi
|
1184 | 1793 |
|
1185 | 1794 |
# Check that the precious variables saved in the cache have kept the same
|
1186 | 1795 |
# value.
|
1187 | 1796 |
ac_cache_corrupted=false
|
1188 | |
for ac_var in `(set) 2>&1 |
|
1189 | |
sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
|
|
1797 |
for ac_var in $ac_precious_vars; do
|
1190 | 1798 |
eval ac_old_set=\$ac_cv_env_${ac_var}_set
|
1191 | 1799 |
eval ac_new_set=\$ac_env_${ac_var}_set
|
1192 | |
eval ac_old_val="\$ac_cv_env_${ac_var}_value"
|
1193 | |
eval ac_new_val="\$ac_env_${ac_var}_value"
|
|
1800 |
eval ac_old_val=\$ac_cv_env_${ac_var}_value
|
|
1801 |
eval ac_new_val=\$ac_env_${ac_var}_value
|
1194 | 1802 |
case $ac_old_set,$ac_new_set in
|
1195 | 1803 |
set,)
|
1196 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
1197 | |
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
|
1804 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
|
|
1805 |
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
|
1198 | 1806 |
ac_cache_corrupted=: ;;
|
1199 | 1807 |
,set)
|
1200 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
|
1201 | |
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
|
1808 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
|
|
1809 |
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
|
1202 | 1810 |
ac_cache_corrupted=: ;;
|
1203 | 1811 |
,);;
|
1204 | 1812 |
*)
|
1205 | 1813 |
if test "x$ac_old_val" != "x$ac_new_val"; then
|
1206 | |
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
|
1207 | |
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
1208 | |
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
|
1209 | |
echo "$as_me: former value: $ac_old_val" >&2;}
|
1210 | |
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
|
1211 | |
echo "$as_me: current value: $ac_new_val" >&2;}
|
1212 | |
ac_cache_corrupted=:
|
|
1814 |
# differences in whitespace do not lead to failure.
|
|
1815 |
ac_old_val_w=`echo x $ac_old_val`
|
|
1816 |
ac_new_val_w=`echo x $ac_new_val`
|
|
1817 |
if test "$ac_old_val_w" != "$ac_new_val_w"; then
|
|
1818 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
|
|
1819 |
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
|
|
1820 |
ac_cache_corrupted=:
|
|
1821 |
else
|
|
1822 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
|
|
1823 |
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
|
|
1824 |
eval $ac_var=\$ac_old_val
|
|
1825 |
fi
|
|
1826 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
|
|
1827 |
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
|
|
1828 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
|
|
1829 |
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
|
1213 | 1830 |
fi;;
|
1214 | 1831 |
esac
|
1215 | 1832 |
# Pass precious variables to config.status.
|
1216 | 1833 |
if test "$ac_new_set" = set; then
|
1217 | 1834 |
case $ac_new_val in
|
1218 | |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
|
1219 | |
ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
1835 |
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
|
1220 | 1836 |
*) ac_arg=$ac_var=$ac_new_val ;;
|
1221 | 1837 |
esac
|
1222 | 1838 |
case " $ac_configure_args " in
|
1223 | 1839 |
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
|
1224 | |
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
1840 |
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
|
1225 | 1841 |
esac
|
1226 | 1842 |
fi
|
1227 | 1843 |
done
|
1228 | 1844 |
if $ac_cache_corrupted; then
|
1229 | |
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
|
1230 | |
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
1231 | |
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
|
1232 | |
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
|
1233 | |
{ (exit 1); exit 1; }; }
|
1234 | |
fi
|
|
1845 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
1846 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
1847 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
|
|
1848 |
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
|
|
1849 |
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
|
|
1850 |
fi
|
|
1851 |
## -------------------- ##
|
|
1852 |
## Main body of script. ##
|
|
1853 |
## -------------------- ##
|
1235 | 1854 |
|
1236 | 1855 |
ac_ext=c
|
1237 | 1856 |
ac_cpp='$CPP $CPPFLAGS'
|
|
1240 | 1859 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
1241 | 1860 |
|
1242 | 1861 |
|
1243 | |
|
1244 | |
|
1245 | |
|
1246 | |
|
1247 | |
|
1248 | |
|
1249 | |
|
1250 | |
|
1251 | |
|
1252 | |
|
1253 | |
|
1254 | |
|
1255 | |
|
1256 | |
|
1257 | |
|
1258 | |
|
1259 | |
|
1260 | |
am__api_version="1.9"
|
|
1862 |
am__api_version='1.11'
|
|
1863 |
|
1261 | 1864 |
ac_aux_dir=
|
1262 | |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
1263 | |
if test -f $ac_dir/install-sh; then
|
1264 | |
ac_aux_dir=$ac_dir
|
1265 | |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
1266 | |
break
|
1267 | |
elif test -f $ac_dir/install.sh; then
|
1268 | |
ac_aux_dir=$ac_dir
|
1269 | |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
1270 | |
break
|
1271 | |
elif test -f $ac_dir/shtool; then
|
1272 | |
ac_aux_dir=$ac_dir
|
1273 | |
ac_install_sh="$ac_aux_dir/shtool install -c"
|
1274 | |
break
|
1275 | |
fi
|
|
1865 |
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
|
|
1866 |
for ac_t in install-sh install.sh shtool; do
|
|
1867 |
if test -f "$ac_dir/$ac_t"; then
|
|
1868 |
ac_aux_dir=$ac_dir
|
|
1869 |
ac_install_sh="$ac_aux_dir/$ac_t -c"
|
|
1870 |
break 2
|
|
1871 |
fi
|
|
1872 |
done
|
1276 | 1873 |
done
|
1277 | 1874 |
if test -z "$ac_aux_dir"; then
|
1278 | |
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
|
1279 | |
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
|
1280 | |
{ (exit 1); exit 1; }; }
|
1281 | |
fi
|
1282 | |
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
|
1283 | |
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
|
1284 | |
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
|
|
1875 |
as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
|
|
1876 |
fi
|
|
1877 |
|
|
1878 |
# These three variables are undocumented and unsupported,
|
|
1879 |
# and are intended to be withdrawn in a future Autoconf release.
|
|
1880 |
# They can cause serious problems if a builder's source tree is in a directory
|
|
1881 |
# whose full name contains unusual characters.
|
|
1882 |
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
|
|
1883 |
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
|
|
1884 |
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
|
|
1885 |
|
1285 | 1886 |
|
1286 | 1887 |
# Find a good install program. We prefer a C program (faster),
|
1287 | 1888 |
# so one script is as good as another. But avoid the broken or
|
|
1296 | 1897 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
1297 | 1898 |
# OS/2's system install, which has a completely different semantic
|
1298 | 1899 |
# ./install, which can be erroneously created by make from ./install.sh.
|
1299 | |
echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
|
1300 | |
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
|
|
1900 |
# Reject install programs that cannot install multiple files.
|
|
1901 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
|
|
1902 |
$as_echo_n "checking for a BSD-compatible install... " >&6; }
|
1301 | 1903 |
if test -z "$INSTALL"; then
|
1302 | |
if test "${ac_cv_path_install+set}" = set; then
|
1303 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
1904 |
if test "${ac_cv_path_install+set}" = set; then :
|
|
1905 |
$as_echo_n "(cached) " >&6
|
1304 | 1906 |
else
|
1305 | 1907 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1306 | 1908 |
for as_dir in $PATH
|
1307 | 1909 |
do
|
1308 | 1910 |
IFS=$as_save_IFS
|
1309 | 1911 |
test -z "$as_dir" && as_dir=.
|
1310 | |
# Account for people who put trailing slashes in PATH elements.
|
1311 | |
case $as_dir/ in
|
1312 | |
./ | .// | /cC/* | \
|
|
1912 |
# Account for people who put trailing slashes in PATH elements.
|
|
1913 |
case $as_dir/ in #((
|
|
1914 |
./ | .// | /[cC]/* | \
|
1313 | 1915 |
/etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
|
1314 | |
?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
|
|
1916 |
?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
|
1315 | 1917 |
/usr/ucb/* ) ;;
|
1316 | 1918 |
*)
|
1317 | 1919 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
1319 | 1921 |
# by default.
|
1320 | 1922 |
for ac_prog in ginstall scoinst install; do
|
1321 | 1923 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1322 | |
if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
|
|
1924 |
if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
|
1323 | 1925 |
if test $ac_prog = install &&
|
1324 | 1926 |
grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
|
1325 | 1927 |
# AIX install. It has an incompatible calling convention.
|
|
1329 | 1931 |
# program-specific install script used by HP pwplus--don't use.
|
1330 | 1932 |
:
|
1331 | 1933 |
else
|
1332 | |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
1333 | |
break 3
|
|
1934 |
rm -rf conftest.one conftest.two conftest.dir
|
|
1935 |
echo one > conftest.one
|
|
1936 |
echo two > conftest.two
|
|
1937 |
mkdir conftest.dir
|
|
1938 |
if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
|
|
1939 |
test -s conftest.one && test -s conftest.two &&
|
|
1940 |
test -s conftest.dir/conftest.one &&
|
|
1941 |
test -s conftest.dir/conftest.two
|
|
1942 |
then
|
|
1943 |
ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
|
|
1944 |
break 3
|
|
1945 |
fi
|
1334 | 1946 |
fi
|
1335 | 1947 |
fi
|
1336 | 1948 |
done
|
1337 | 1949 |
done
|
1338 | 1950 |
;;
|
1339 | 1951 |
esac
|
1340 | |
done
|
1341 | |
|
|
1952 |
|
|
1953 |
done
|
|
1954 |
IFS=$as_save_IFS
|
|
1955 |
|
|
1956 |
rm -rf conftest.one conftest.two conftest.dir
|
1342 | 1957 |
|
1343 | 1958 |
fi
|
1344 | 1959 |
if test "${ac_cv_path_install+set}" = set; then
|
1345 | 1960 |
INSTALL=$ac_cv_path_install
|
1346 | 1961 |
else
|
1347 | |
# As a last resort, use the slow shell script. We don't cache a
|
1348 | |
# path for INSTALL within a source directory, because that will
|
|
1962 |
# As a last resort, use the slow shell script. Don't cache a
|
|
1963 |
# value for INSTALL within a source directory, because that will
|
1349 | 1964 |
# break other packages using the cache if that directory is
|
1350 | |
# removed, or if the path is relative.
|
|
1965 |
# removed, or if the value is a relative name.
|
1351 | 1966 |
INSTALL=$ac_install_sh
|
1352 | 1967 |
fi
|
1353 | 1968 |
fi
|
1354 | |
echo "$as_me:$LINENO: result: $INSTALL" >&5
|
1355 | |
echo "${ECHO_T}$INSTALL" >&6
|
|
1969 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
|
|
1970 |
$as_echo "$INSTALL" >&6; }
|
1356 | 1971 |
|
1357 | 1972 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
1358 | 1973 |
# It thinks the first close brace ends the variable substitution.
|
|
1362 | 1977 |
|
1363 | 1978 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
1364 | 1979 |
|
1365 | |
echo "$as_me:$LINENO: checking whether build environment is sane" >&5
|
1366 | |
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
|
|
1980 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
|
|
1981 |
$as_echo_n "checking whether build environment is sane... " >&6; }
|
1367 | 1982 |
# Just in case
|
1368 | 1983 |
sleep 1
|
1369 | 1984 |
echo timestamp > conftest.file
|
|
1985 |
# Reject unsafe characters in $srcdir or the absolute working directory
|
|
1986 |
# name. Accept space and tab only in the latter.
|
|
1987 |
am_lf='
|
|
1988 |
'
|
|
1989 |
case `pwd` in
|
|
1990 |
*[\\\"\#\$\&\'\`$am_lf]*)
|
|
1991 |
as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
|
|
1992 |
esac
|
|
1993 |
case $srcdir in
|
|
1994 |
*[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
1995 |
as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
|
|
1996 |
esac
|
|
1997 |
|
1370 | 1998 |
# Do `set' in a subshell so we don't clobber the current shell's
|
1371 | 1999 |
# arguments. Must try -L first in case configure is actually a
|
1372 | 2000 |
# symlink; some systems play weird games with the mod time of symlinks
|
1373 | 2001 |
# (eg FreeBSD returns the mod time of the symlink's containing
|
1374 | 2002 |
# directory).
|
1375 | 2003 |
if (
|
1376 | |
set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
|
|
2004 |
set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
|
1377 | 2005 |
if test "$*" = "X"; then
|
1378 | 2006 |
# -L didn't work.
|
1379 | |
set X `ls -t $srcdir/configure conftest.file`
|
|
2007 |
set X `ls -t "$srcdir/configure" conftest.file`
|
1380 | 2008 |
fi
|
1381 | 2009 |
rm -f conftest.file
|
1382 | 2010 |
if test "$*" != "X $srcdir/configure conftest.file" \
|
|
1386 | 2014 |
# if, for instance, CONFIG_SHELL is bash and it inherits a
|
1387 | 2015 |
# broken ls alias from the environment. This has actually
|
1388 | 2016 |
# happened. Such a system could not be considered "sane".
|
1389 | |
{ { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
|
1390 | |
alias in your environment" >&5
|
1391 | |
echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
|
1392 | |
alias in your environment" >&2;}
|
1393 | |
{ (exit 1); exit 1; }; }
|
|
2017 |
as_fn_error "ls -t appears to fail. Make sure there is not a broken
|
|
2018 |
alias in your environment" "$LINENO" 5
|
1394 | 2019 |
fi
|
1395 | 2020 |
|
1396 | 2021 |
test "$2" = conftest.file
|
|
1399 | 2024 |
# Ok.
|
1400 | 2025 |
:
|
1401 | 2026 |
else
|
1402 | |
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
|
1403 | |
Check your system clock" >&5
|
1404 | |
echo "$as_me: error: newly created file is older than distributed files!
|
1405 | |
Check your system clock" >&2;}
|
1406 | |
{ (exit 1); exit 1; }; }
|
1407 | |
fi
|
1408 | |
echo "$as_me:$LINENO: result: yes" >&5
|
1409 | |
echo "${ECHO_T}yes" >&6
|
|
2027 |
as_fn_error "newly created file is older than distributed files!
|
|
2028 |
Check your system clock" "$LINENO" 5
|
|
2029 |
fi
|
|
2030 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2031 |
$as_echo "yes" >&6; }
|
1410 | 2032 |
test "$program_prefix" != NONE &&
|
1411 | |
program_transform_name="s,^,$program_prefix,;$program_transform_name"
|
|
2033 |
program_transform_name="s&^&$program_prefix&;$program_transform_name"
|
1412 | 2034 |
# Use a double $ so make ignores it.
|
1413 | 2035 |
test "$program_suffix" != NONE &&
|
1414 | |
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
|
1415 | |
# Double any \ or $. echo might interpret backslashes.
|
|
2036 |
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
|
|
2037 |
# Double any \ or $.
|
1416 | 2038 |
# By default was `s,x,x', remove it if useless.
|
1417 | |
cat <<\_ACEOF >conftest.sed
|
1418 | |
s/[\\$]/&&/g;s/;s,x,x,$//
|
1419 | |
_ACEOF
|
1420 | |
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
|
1421 | |
rm conftest.sed
|
|
2039 |
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
|
|
2040 |
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
|
1422 | 2041 |
|
1423 | 2042 |
# expand $ac_aux_dir to an absolute path
|
1424 | 2043 |
am_aux_dir=`cd $ac_aux_dir && pwd`
|
1425 | 2044 |
|
1426 | |
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
|
|
2045 |
if test x"${MISSING+set}" != xset; then
|
|
2046 |
case $am_aux_dir in
|
|
2047 |
*\ * | *\ *)
|
|
2048 |
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
|
|
2049 |
*)
|
|
2050 |
MISSING="\${SHELL} $am_aux_dir/missing" ;;
|
|
2051 |
esac
|
|
2052 |
fi
|
1427 | 2053 |
# Use eval to expand $SHELL
|
1428 | 2054 |
if eval "$MISSING --run true"; then
|
1429 | 2055 |
am_missing_run="$MISSING --run "
|
1430 | 2056 |
else
|
1431 | 2057 |
am_missing_run=
|
1432 | |
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
|
1433 | |
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
1434 | |
fi
|
1435 | |
|
1436 | |
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
|
1437 | |
# We used to keeping the `.' as first argument, in order to
|
1438 | |
# allow $(mkdir_p) to be used without argument. As in
|
1439 | |
# $(mkdir_p) $(somedir)
|
1440 | |
# where $(somedir) is conditionally defined. However this is wrong
|
1441 | |
# for two reasons:
|
1442 | |
# 1. if the package is installed by a user who cannot write `.'
|
1443 | |
# make install will fail,
|
1444 | |
# 2. the above comment should most certainly read
|
1445 | |
# $(mkdir_p) $(DESTDIR)$(somedir)
|
1446 | |
# so it does not work when $(somedir) is undefined and
|
1447 | |
# $(DESTDIR) is not.
|
1448 | |
# To support the latter case, we have to write
|
1449 | |
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
|
1450 | |
# so the `.' trick is pointless.
|
1451 | |
mkdir_p='mkdir -p --'
|
1452 | |
else
|
1453 | |
# On NextStep and OpenStep, the `mkdir' command does not
|
1454 | |
# recognize any option. It will interpret all options as
|
1455 | |
# directories to create, and then abort because `.' already
|
1456 | |
# exists.
|
1457 | |
for d in ./-p ./--version;
|
1458 | |
do
|
1459 | |
test -d $d && rmdir $d
|
1460 | |
done
|
1461 | |
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
|
1462 | |
if test -f "$ac_aux_dir/mkinstalldirs"; then
|
1463 | |
mkdir_p='$(mkinstalldirs)'
|
1464 | |
else
|
1465 | |
mkdir_p='$(install_sh) -d'
|
1466 | |
fi
|
1467 | |
fi
|
1468 | |
|
1469 | |
for ac_prog in gawk mawk nawk awk
|
1470 | |
do
|
1471 | |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1472 | |
set dummy $ac_prog; ac_word=$2
|
1473 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1474 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1475 | |
if test "${ac_cv_prog_AWK+set}" = set; then
|
1476 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1477 | |
else
|
1478 | |
if test -n "$AWK"; then
|
1479 | |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
1480 | |
else
|
1481 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1482 | |
for as_dir in $PATH
|
1483 | |
do
|
1484 | |
IFS=$as_save_IFS
|
1485 | |
test -z "$as_dir" && as_dir=.
|
1486 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1487 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1488 | |
ac_cv_prog_AWK="$ac_prog"
|
1489 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1490 | |
break 2
|
1491 | |
fi
|
1492 | |
done
|
1493 | |
done
|
1494 | |
|
1495 | |
fi
|
1496 | |
fi
|
1497 | |
AWK=$ac_cv_prog_AWK
|
1498 | |
if test -n "$AWK"; then
|
1499 | |
echo "$as_me:$LINENO: result: $AWK" >&5
|
1500 | |
echo "${ECHO_T}$AWK" >&6
|
1501 | |
else
|
1502 | |
echo "$as_me:$LINENO: result: no" >&5
|
1503 | |
echo "${ECHO_T}no" >&6
|
1504 | |
fi
|
1505 | |
|
1506 | |
test -n "$AWK" && break
|
1507 | |
done
|
1508 | |
|
1509 | |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
1510 | |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
1511 | |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
1512 | |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
1513 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1514 | |
else
|
1515 | |
cat >conftest.make <<\_ACEOF
|
1516 | |
all:
|
1517 | |
@echo 'ac_maketemp="$(MAKE)"'
|
1518 | |
_ACEOF
|
1519 | |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
1520 | |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
1521 | |
if test -n "$ac_maketemp"; then
|
1522 | |
eval ac_cv_prog_make_${ac_make}_set=yes
|
1523 | |
else
|
1524 | |
eval ac_cv_prog_make_${ac_make}_set=no
|
1525 | |
fi
|
1526 | |
rm -f conftest.make
|
1527 | |
fi
|
1528 | |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
1529 | |
echo "$as_me:$LINENO: result: yes" >&5
|
1530 | |
echo "${ECHO_T}yes" >&6
|
1531 | |
SET_MAKE=
|
1532 | |
else
|
1533 | |
echo "$as_me:$LINENO: result: no" >&5
|
1534 | |
echo "${ECHO_T}no" >&6
|
1535 | |
SET_MAKE="MAKE=${MAKE-make}"
|
1536 | |
fi
|
1537 | |
|
1538 | |
rm -rf .tst 2>/dev/null
|
1539 | |
mkdir .tst 2>/dev/null
|
1540 | |
if test -d .tst; then
|
1541 | |
am__leading_dot=.
|
1542 | |
else
|
1543 | |
am__leading_dot=_
|
1544 | |
fi
|
1545 | |
rmdir .tst 2>/dev/null
|
1546 | |
|
1547 | |
# test to see if srcdir already configured
|
1548 | |
if test "`cd $srcdir && pwd`" != "`pwd`" &&
|
1549 | |
test -f $srcdir/config.status; then
|
1550 | |
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
|
1551 | |
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
|
1552 | |
{ (exit 1); exit 1; }; }
|
1553 | |
fi
|
1554 | |
|
1555 | |
# test whether we have cygpath
|
1556 | |
if test -z "$CYGPATH_W"; then
|
1557 | |
if (cygpath --version) >/dev/null 2>/dev/null; then
|
1558 | |
CYGPATH_W='cygpath -w'
|
1559 | |
else
|
1560 | |
CYGPATH_W=echo
|
1561 | |
fi
|
1562 | |
fi
|
1563 | |
|
1564 | |
|
1565 | |
# Define the identity of the package.
|
1566 | |
PACKAGE=esniper
|
1567 | |
VERSION=2.19.0
|
1568 | |
|
1569 | |
|
1570 | |
cat >>confdefs.h <<_ACEOF
|
1571 | |
#define PACKAGE "$PACKAGE"
|
1572 | |
_ACEOF
|
1573 | |
|
1574 | |
|
1575 | |
cat >>confdefs.h <<_ACEOF
|
1576 | |
#define VERSION "$VERSION"
|
1577 | |
_ACEOF
|
1578 | |
|
1579 | |
# Some tools Automake needs.
|
1580 | |
|
1581 | |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
1582 | |
|
1583 | |
|
1584 | |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
1585 | |
|
1586 | |
|
1587 | |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
1588 | |
|
1589 | |
|
1590 | |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
1591 | |
|
1592 | |
|
1593 | |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
1594 | |
|
1595 | |
install_sh=${install_sh-"$am_aux_dir/install-sh"}
|
|
2058 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
|
|
2059 |
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
|
|
2060 |
fi
|
|
2061 |
|
|
2062 |
if test x"${install_sh}" != xset; then
|
|
2063 |
case $am_aux_dir in
|
|
2064 |
*\ * | *\ *)
|
|
2065 |
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
|
|
2066 |
*)
|
|
2067 |
install_sh="\${SHELL} $am_aux_dir/install-sh"
|
|
2068 |
esac
|
|
2069 |
fi
|
1596 | 2070 |
|
1597 | 2071 |
# Installed binaries are usually stripped using `strip' when the user
|
1598 | 2072 |
# run `make install-strip'. However `strip' might not be the right
|
|
1602 | 2076 |
if test -n "$ac_tool_prefix"; then
|
1603 | 2077 |
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
|
1604 | 2078 |
set dummy ${ac_tool_prefix}strip; ac_word=$2
|
1605 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1606 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1607 | |
if test "${ac_cv_prog_STRIP+set}" = set; then
|
1608 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2079 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2080 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2081 |
if test "${ac_cv_prog_STRIP+set}" = set; then :
|
|
2082 |
$as_echo_n "(cached) " >&6
|
1609 | 2083 |
else
|
1610 | 2084 |
if test -n "$STRIP"; then
|
1611 | 2085 |
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
|
|
1615 | 2089 |
do
|
1616 | 2090 |
IFS=$as_save_IFS
|
1617 | 2091 |
test -z "$as_dir" && as_dir=.
|
1618 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1619 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
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
|
1620 | 2094 |
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
|
1621 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2095 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1622 | 2096 |
break 2
|
1623 | 2097 |
fi
|
1624 | 2098 |
done
|
1625 | |
done
|
|
2099 |
done
|
|
2100 |
IFS=$as_save_IFS
|
1626 | 2101 |
|
1627 | 2102 |
fi
|
1628 | 2103 |
fi
|
1629 | 2104 |
STRIP=$ac_cv_prog_STRIP
|
1630 | 2105 |
if test -n "$STRIP"; then
|
1631 | |
echo "$as_me:$LINENO: result: $STRIP" >&5
|
1632 | |
echo "${ECHO_T}$STRIP" >&6
|
1633 | |
else
|
1634 | |
echo "$as_me:$LINENO: result: no" >&5
|
1635 | |
echo "${ECHO_T}no" >&6
|
1636 | |
fi
|
|
2106 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
|
|
2107 |
$as_echo "$STRIP" >&6; }
|
|
2108 |
else
|
|
2109 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2110 |
$as_echo "no" >&6; }
|
|
2111 |
fi
|
|
2112 |
|
1637 | 2113 |
|
1638 | 2114 |
fi
|
1639 | 2115 |
if test -z "$ac_cv_prog_STRIP"; then
|
1640 | 2116 |
ac_ct_STRIP=$STRIP
|
1641 | 2117 |
# Extract the first word of "strip", so it can be a program name with args.
|
1642 | 2118 |
set dummy strip; ac_word=$2
|
1643 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1644 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1645 | |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
|
1646 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2119 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2120 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2121 |
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
|
|
2122 |
$as_echo_n "(cached) " >&6
|
1647 | 2123 |
else
|
1648 | 2124 |
if test -n "$ac_ct_STRIP"; then
|
1649 | 2125 |
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
|
|
1653 | 2129 |
do
|
1654 | 2130 |
IFS=$as_save_IFS
|
1655 | 2131 |
test -z "$as_dir" && as_dir=.
|
1656 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1657 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
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
|
1658 | 2134 |
ac_cv_prog_ac_ct_STRIP="strip"
|
1659 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2135 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1660 | 2136 |
break 2
|
1661 | 2137 |
fi
|
1662 | 2138 |
done
|
1663 | |
done
|
1664 | |
|
1665 | |
test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
|
|
2139 |
done
|
|
2140 |
IFS=$as_save_IFS
|
|
2141 |
|
1666 | 2142 |
fi
|
1667 | 2143 |
fi
|
1668 | 2144 |
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
|
1669 | 2145 |
if test -n "$ac_ct_STRIP"; then
|
1670 | |
echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
|
1671 | |
echo "${ECHO_T}$ac_ct_STRIP" >&6
|
1672 | |
else
|
1673 | |
echo "$as_me:$LINENO: result: no" >&5
|
1674 | |
echo "${ECHO_T}no" >&6
|
1675 | |
fi
|
1676 | |
|
1677 | |
STRIP=$ac_ct_STRIP
|
|
2146 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
|
|
2147 |
$as_echo "$ac_ct_STRIP" >&6; }
|
|
2148 |
else
|
|
2149 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2150 |
$as_echo "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 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2159 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2160 |
ac_tool_warned=yes ;;
|
|
2161 |
esac
|
|
2162 |
STRIP=$ac_ct_STRIP
|
|
2163 |
fi
|
1678 | 2164 |
else
|
1679 | 2165 |
STRIP="$ac_cv_prog_STRIP"
|
1680 | 2166 |
fi
|
1681 | 2167 |
|
1682 | 2168 |
fi
|
1683 | |
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
|
|
2169 |
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
|
|
2170 |
|
|
2171 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
|
|
2172 |
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
|
|
2173 |
if test -z "$MKDIR_P"; then
|
|
2174 |
if test "${ac_cv_path_mkdir+set}" = set; then :
|
|
2175 |
$as_echo_n "(cached) " >&6
|
|
2176 |
else
|
|
2177 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2178 |
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
|
|
2179 |
do
|
|
2180 |
IFS=$as_save_IFS
|
|
2181 |
test -z "$as_dir" && as_dir=.
|
|
2182 |
for ac_prog in mkdir gmkdir; do
|
|
2183 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2184 |
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
|
|
2185 |
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
|
|
2186 |
'mkdir (GNU coreutils) '* | \
|
|
2187 |
'mkdir (coreutils) '* | \
|
|
2188 |
'mkdir (fileutils) '4.1*)
|
|
2189 |
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
|
|
2190 |
break 3;;
|
|
2191 |
esac
|
|
2192 |
done
|
|
2193 |
done
|
|
2194 |
done
|
|
2195 |
IFS=$as_save_IFS
|
|
2196 |
|
|
2197 |
fi
|
|
2198 |
|
|
2199 |
if test "${ac_cv_path_mkdir+set}" = set; then
|
|
2200 |
MKDIR_P="$ac_cv_path_mkdir -p"
|
|
2201 |
else
|
|
2202 |
# As a last resort, use the slow shell script. Don't cache a
|
|
2203 |
# value for MKDIR_P within a source directory, because that will
|
|
2204 |
# break other packages using the cache if that directory is
|
|
2205 |
# removed, or if the value is a relative name.
|
|
2206 |
test -d ./--version && rmdir ./--version
|
|
2207 |
MKDIR_P="$ac_install_sh -d"
|
|
2208 |
fi
|
|
2209 |
fi
|
|
2210 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
|
|
2211 |
$as_echo "$MKDIR_P" >&6; }
|
|
2212 |
|
|
2213 |
mkdir_p="$MKDIR_P"
|
|
2214 |
case $mkdir_p in
|
|
2215 |
[\\/$]* | ?:[\\/]*) ;;
|
|
2216 |
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
|
|
2217 |
esac
|
|
2218 |
|
|
2219 |
for ac_prog in gawk mawk nawk awk
|
|
2220 |
do
|
|
2221 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
|
2222 |
set dummy $ac_prog; ac_word=$2
|
|
2223 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2224 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2225 |
if test "${ac_cv_prog_AWK+set}" = set; then :
|
|
2226 |
$as_echo_n "(cached) " >&6
|
|
2227 |
else
|
|
2228 |
if test -n "$AWK"; then
|
|
2229 |
ac_cv_prog_AWK="$AWK" # Let the user override the test.
|
|
2230 |
else
|
|
2231 |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
2232 |
for as_dir in $PATH
|
|
2233 |
do
|
|
2234 |
IFS=$as_save_IFS
|
|
2235 |
test -z "$as_dir" && as_dir=.
|
|
2236 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2237 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
|
2238 |
ac_cv_prog_AWK="$ac_prog"
|
|
2239 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2240 |
break 2
|
|
2241 |
fi
|
|
2242 |
done
|
|
2243 |
done
|
|
2244 |
IFS=$as_save_IFS
|
|
2245 |
|
|
2246 |
fi
|
|
2247 |
fi
|
|
2248 |
AWK=$ac_cv_prog_AWK
|
|
2249 |
if test -n "$AWK"; then
|
|
2250 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
|
|
2251 |
$as_echo "$AWK" >&6; }
|
|
2252 |
else
|
|
2253 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2254 |
$as_echo "no" >&6; }
|
|
2255 |
fi
|
|
2256 |
|
|
2257 |
|
|
2258 |
test -n "$AWK" && break
|
|
2259 |
done
|
|
2260 |
|
|
2261 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
2262 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
2263 |
set x ${MAKE-make}
|
|
2264 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
2265 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
2266 |
$as_echo_n "(cached) " >&6
|
|
2267 |
else
|
|
2268 |
cat >conftest.make <<\_ACEOF
|
|
2269 |
SHELL = /bin/sh
|
|
2270 |
all:
|
|
2271 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
|
2272 |
_ACEOF
|
|
2273 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
2274 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
|
2275 |
*@@@%%%=?*=@@@%%%*)
|
|
2276 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
2277 |
*)
|
|
2278 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
|
2279 |
esac
|
|
2280 |
rm -f conftest.make
|
|
2281 |
fi
|
|
2282 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
|
2283 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2284 |
$as_echo "yes" >&6; }
|
|
2285 |
SET_MAKE=
|
|
2286 |
else
|
|
2287 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2288 |
$as_echo "no" >&6; }
|
|
2289 |
SET_MAKE="MAKE=${MAKE-make}"
|
|
2290 |
fi
|
|
2291 |
|
|
2292 |
rm -rf .tst 2>/dev/null
|
|
2293 |
mkdir .tst 2>/dev/null
|
|
2294 |
if test -d .tst; then
|
|
2295 |
am__leading_dot=.
|
|
2296 |
else
|
|
2297 |
am__leading_dot=_
|
|
2298 |
fi
|
|
2299 |
rmdir .tst 2>/dev/null
|
|
2300 |
|
|
2301 |
if test "`cd $srcdir && pwd`" != "`pwd`"; then
|
|
2302 |
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
|
|
2303 |
# is not polluted with repeated "-I."
|
|
2304 |
am__isrc=' -I$(srcdir)'
|
|
2305 |
# test to see if srcdir already configured
|
|
2306 |
if test -f $srcdir/config.status; then
|
|
2307 |
as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
|
|
2308 |
fi
|
|
2309 |
fi
|
|
2310 |
|
|
2311 |
# test whether we have cygpath
|
|
2312 |
if test -z "$CYGPATH_W"; then
|
|
2313 |
if (cygpath --version) >/dev/null 2>/dev/null; then
|
|
2314 |
CYGPATH_W='cygpath -w'
|
|
2315 |
else
|
|
2316 |
CYGPATH_W=echo
|
|
2317 |
fi
|
|
2318 |
fi
|
|
2319 |
|
|
2320 |
|
|
2321 |
# Define the identity of the package.
|
|
2322 |
PACKAGE=esniper
|
|
2323 |
VERSION=2.20.0
|
|
2324 |
|
|
2325 |
|
|
2326 |
cat >>confdefs.h <<_ACEOF
|
|
2327 |
#define PACKAGE "$PACKAGE"
|
|
2328 |
_ACEOF
|
|
2329 |
|
|
2330 |
|
|
2331 |
cat >>confdefs.h <<_ACEOF
|
|
2332 |
#define VERSION "$VERSION"
|
|
2333 |
_ACEOF
|
|
2334 |
|
|
2335 |
# Some tools Automake needs.
|
|
2336 |
|
|
2337 |
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
|
|
2338 |
|
|
2339 |
|
|
2340 |
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
|
|
2341 |
|
|
2342 |
|
|
2343 |
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
|
|
2344 |
|
|
2345 |
|
|
2346 |
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
|
|
2347 |
|
|
2348 |
|
|
2349 |
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
|
1684 | 2350 |
|
1685 | 2351 |
# We need awk for the "check" target. The system "awk" is bad on
|
1686 | 2352 |
# some platforms.
|
|
1702 | 2368 |
if test -n "$ac_tool_prefix"; then
|
1703 | 2369 |
# Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
|
1704 | 2370 |
set dummy ${ac_tool_prefix}gcc; ac_word=$2
|
1705 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1706 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1707 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
1708 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2371 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2372 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2373 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2374 |
$as_echo_n "(cached) " >&6
|
1709 | 2375 |
else
|
1710 | 2376 |
if test -n "$CC"; then
|
1711 | 2377 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1715 | 2381 |
do
|
1716 | 2382 |
IFS=$as_save_IFS
|
1717 | 2383 |
test -z "$as_dir" && as_dir=.
|
1718 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1719 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2384 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2385 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1720 | 2386 |
ac_cv_prog_CC="${ac_tool_prefix}gcc"
|
1721 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2387 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1722 | 2388 |
break 2
|
1723 | 2389 |
fi
|
1724 | 2390 |
done
|
1725 | |
done
|
|
2391 |
done
|
|
2392 |
IFS=$as_save_IFS
|
1726 | 2393 |
|
1727 | 2394 |
fi
|
1728 | 2395 |
fi
|
1729 | 2396 |
CC=$ac_cv_prog_CC
|
1730 | 2397 |
if test -n "$CC"; then
|
1731 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1732 | |
echo "${ECHO_T}$CC" >&6
|
1733 | |
else
|
1734 | |
echo "$as_me:$LINENO: result: no" >&5
|
1735 | |
echo "${ECHO_T}no" >&6
|
1736 | |
fi
|
|
2398 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2399 |
$as_echo "$CC" >&6; }
|
|
2400 |
else
|
|
2401 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2402 |
$as_echo "no" >&6; }
|
|
2403 |
fi
|
|
2404 |
|
1737 | 2405 |
|
1738 | 2406 |
fi
|
1739 | 2407 |
if test -z "$ac_cv_prog_CC"; then
|
1740 | 2408 |
ac_ct_CC=$CC
|
1741 | 2409 |
# Extract the first word of "gcc", so it can be a program name with args.
|
1742 | 2410 |
set dummy gcc; ac_word=$2
|
1743 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1744 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1745 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1746 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2411 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2412 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2413 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
2414 |
$as_echo_n "(cached) " >&6
|
1747 | 2415 |
else
|
1748 | 2416 |
if test -n "$ac_ct_CC"; then
|
1749 | 2417 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
1753 | 2421 |
do
|
1754 | 2422 |
IFS=$as_save_IFS
|
1755 | 2423 |
test -z "$as_dir" && as_dir=.
|
1756 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1757 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2424 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2425 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1758 | 2426 |
ac_cv_prog_ac_ct_CC="gcc"
|
1759 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2427 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1760 | 2428 |
break 2
|
1761 | 2429 |
fi
|
1762 | 2430 |
done
|
1763 | |
done
|
|
2431 |
done
|
|
2432 |
IFS=$as_save_IFS
|
1764 | 2433 |
|
1765 | 2434 |
fi
|
1766 | 2435 |
fi
|
1767 | 2436 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1768 | 2437 |
if test -n "$ac_ct_CC"; then
|
1769 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1770 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
1771 | |
else
|
1772 | |
echo "$as_me:$LINENO: result: no" >&5
|
1773 | |
echo "${ECHO_T}no" >&6
|
1774 | |
fi
|
1775 | |
|
1776 | |
CC=$ac_ct_CC
|
|
2438 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
2439 |
$as_echo "$ac_ct_CC" >&6; }
|
|
2440 |
else
|
|
2441 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2442 |
$as_echo "no" >&6; }
|
|
2443 |
fi
|
|
2444 |
|
|
2445 |
if test "x$ac_ct_CC" = x; then
|
|
2446 |
CC=""
|
|
2447 |
else
|
|
2448 |
case $cross_compiling:$ac_tool_warned in
|
|
2449 |
yes:)
|
|
2450 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2451 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2452 |
ac_tool_warned=yes ;;
|
|
2453 |
esac
|
|
2454 |
CC=$ac_ct_CC
|
|
2455 |
fi
|
1777 | 2456 |
else
|
1778 | 2457 |
CC="$ac_cv_prog_CC"
|
1779 | 2458 |
fi
|
1780 | 2459 |
|
1781 | 2460 |
if test -z "$CC"; then
|
1782 | |
if test -n "$ac_tool_prefix"; then
|
1783 | |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
|
2461 |
if test -n "$ac_tool_prefix"; then
|
|
2462 |
# Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
|
1784 | 2463 |
set dummy ${ac_tool_prefix}cc; ac_word=$2
|
1785 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1786 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1787 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
1788 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2464 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2465 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2466 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2467 |
$as_echo_n "(cached) " >&6
|
1789 | 2468 |
else
|
1790 | 2469 |
if test -n "$CC"; then
|
1791 | 2470 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1795 | 2474 |
do
|
1796 | 2475 |
IFS=$as_save_IFS
|
1797 | 2476 |
test -z "$as_dir" && as_dir=.
|
1798 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1799 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2477 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2478 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1800 | 2479 |
ac_cv_prog_CC="${ac_tool_prefix}cc"
|
1801 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2480 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1802 | 2481 |
break 2
|
1803 | 2482 |
fi
|
1804 | 2483 |
done
|
1805 | |
done
|
|
2484 |
done
|
|
2485 |
IFS=$as_save_IFS
|
1806 | 2486 |
|
1807 | 2487 |
fi
|
1808 | 2488 |
fi
|
1809 | 2489 |
CC=$ac_cv_prog_CC
|
1810 | 2490 |
if test -n "$CC"; then
|
1811 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1812 | |
echo "${ECHO_T}$CC" >&6
|
1813 | |
else
|
1814 | |
echo "$as_me:$LINENO: result: no" >&5
|
1815 | |
echo "${ECHO_T}no" >&6
|
1816 | |
fi
|
1817 | |
|
1818 | |
fi
|
1819 | |
if test -z "$ac_cv_prog_CC"; then
|
1820 | |
ac_ct_CC=$CC
|
1821 | |
# Extract the first word of "cc", so it can be a program name with args.
|
1822 | |
set dummy cc; ac_word=$2
|
1823 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1824 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1825 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1826 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
1827 | |
else
|
1828 | |
if test -n "$ac_ct_CC"; then
|
1829 | |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
1830 | |
else
|
1831 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
1832 | |
for as_dir in $PATH
|
1833 | |
do
|
1834 | |
IFS=$as_save_IFS
|
1835 | |
test -z "$as_dir" && as_dir=.
|
1836 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1837 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
1838 | |
ac_cv_prog_ac_ct_CC="cc"
|
1839 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1840 | |
break 2
|
|
2491 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2492 |
$as_echo "$CC" >&6; }
|
|
2493 |
else
|
|
2494 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2495 |
$as_echo "no" >&6; }
|
|
2496 |
fi
|
|
2497 |
|
|
2498 |
|
1841 | 2499 |
fi
|
1842 | |
done
|
1843 | |
done
|
1844 | |
|
1845 | |
fi
|
1846 | |
fi
|
1847 | |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1848 | |
if test -n "$ac_ct_CC"; then
|
1849 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1850 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
1851 | |
else
|
1852 | |
echo "$as_me:$LINENO: result: no" >&5
|
1853 | |
echo "${ECHO_T}no" >&6
|
1854 | |
fi
|
1855 | |
|
1856 | |
CC=$ac_ct_CC
|
1857 | |
else
|
1858 | |
CC="$ac_cv_prog_CC"
|
1859 | |
fi
|
1860 | |
|
1861 | 2500 |
fi
|
1862 | 2501 |
if test -z "$CC"; then
|
1863 | 2502 |
# Extract the first word of "cc", so it can be a program name with args.
|
1864 | 2503 |
set dummy cc; ac_word=$2
|
1865 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1866 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1867 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
1868 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2504 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2505 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2506 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2507 |
$as_echo_n "(cached) " >&6
|
1869 | 2508 |
else
|
1870 | 2509 |
if test -n "$CC"; then
|
1871 | 2510 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1876 | 2515 |
do
|
1877 | 2516 |
IFS=$as_save_IFS
|
1878 | 2517 |
test -z "$as_dir" && as_dir=.
|
1879 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1880 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2518 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2519 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1881 | 2520 |
if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
|
1882 | 2521 |
ac_prog_rejected=yes
|
1883 | 2522 |
continue
|
1884 | 2523 |
fi
|
1885 | 2524 |
ac_cv_prog_CC="cc"
|
1886 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2525 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1887 | 2526 |
break 2
|
1888 | 2527 |
fi
|
1889 | 2528 |
done
|
1890 | |
done
|
|
2529 |
done
|
|
2530 |
IFS=$as_save_IFS
|
1891 | 2531 |
|
1892 | 2532 |
if test $ac_prog_rejected = yes; then
|
1893 | 2533 |
# We found a bogon in the path, so make sure we never use it.
|
|
1905 | 2545 |
fi
|
1906 | 2546 |
CC=$ac_cv_prog_CC
|
1907 | 2547 |
if test -n "$CC"; then
|
1908 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1909 | |
echo "${ECHO_T}$CC" >&6
|
1910 | |
else
|
1911 | |
echo "$as_me:$LINENO: result: no" >&5
|
1912 | |
echo "${ECHO_T}no" >&6
|
1913 | |
fi
|
|
2548 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2549 |
$as_echo "$CC" >&6; }
|
|
2550 |
else
|
|
2551 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2552 |
$as_echo "no" >&6; }
|
|
2553 |
fi
|
|
2554 |
|
1914 | 2555 |
|
1915 | 2556 |
fi
|
1916 | 2557 |
if test -z "$CC"; then
|
1917 | 2558 |
if test -n "$ac_tool_prefix"; then
|
1918 | |
for ac_prog in cl
|
|
2559 |
for ac_prog in cl.exe
|
1919 | 2560 |
do
|
1920 | 2561 |
# Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
|
1921 | 2562 |
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
|
1922 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1923 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1924 | |
if test "${ac_cv_prog_CC+set}" = set; then
|
1925 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2563 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2564 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2565 |
if test "${ac_cv_prog_CC+set}" = set; then :
|
|
2566 |
$as_echo_n "(cached) " >&6
|
1926 | 2567 |
else
|
1927 | 2568 |
if test -n "$CC"; then
|
1928 | 2569 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
1932 | 2573 |
do
|
1933 | 2574 |
IFS=$as_save_IFS
|
1934 | 2575 |
test -z "$as_dir" && as_dir=.
|
1935 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1936 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2576 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2577 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1937 | 2578 |
ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
|
1938 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2579 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1939 | 2580 |
break 2
|
1940 | 2581 |
fi
|
1941 | 2582 |
done
|
1942 | |
done
|
|
2583 |
done
|
|
2584 |
IFS=$as_save_IFS
|
1943 | 2585 |
|
1944 | 2586 |
fi
|
1945 | 2587 |
fi
|
1946 | 2588 |
CC=$ac_cv_prog_CC
|
1947 | 2589 |
if test -n "$CC"; then
|
1948 | |
echo "$as_me:$LINENO: result: $CC" >&5
|
1949 | |
echo "${ECHO_T}$CC" >&6
|
1950 | |
else
|
1951 | |
echo "$as_me:$LINENO: result: no" >&5
|
1952 | |
echo "${ECHO_T}no" >&6
|
1953 | |
fi
|
|
2590 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
|
|
2591 |
$as_echo "$CC" >&6; }
|
|
2592 |
else
|
|
2593 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2594 |
$as_echo "no" >&6; }
|
|
2595 |
fi
|
|
2596 |
|
1954 | 2597 |
|
1955 | 2598 |
test -n "$CC" && break
|
1956 | 2599 |
done
|
1957 | 2600 |
fi
|
1958 | 2601 |
if test -z "$CC"; then
|
1959 | 2602 |
ac_ct_CC=$CC
|
1960 | |
for ac_prog in cl
|
|
2603 |
for ac_prog in cl.exe
|
1961 | 2604 |
do
|
1962 | 2605 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
1963 | 2606 |
set dummy $ac_prog; ac_word=$2
|
1964 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
1965 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
1966 | |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
|
1967 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
2607 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
2608 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
2609 |
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
|
|
2610 |
$as_echo_n "(cached) " >&6
|
1968 | 2611 |
else
|
1969 | 2612 |
if test -n "$ac_ct_CC"; then
|
1970 | 2613 |
ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
|
|
1974 | 2617 |
do
|
1975 | 2618 |
IFS=$as_save_IFS
|
1976 | 2619 |
test -z "$as_dir" && as_dir=.
|
1977 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
1978 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
2620 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
2621 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
1979 | 2622 |
ac_cv_prog_ac_ct_CC="$ac_prog"
|
1980 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
2623 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
1981 | 2624 |
break 2
|
1982 | 2625 |
fi
|
1983 | 2626 |
done
|
1984 | |
done
|
|
2627 |
done
|
|
2628 |
IFS=$as_save_IFS
|
1985 | 2629 |
|
1986 | 2630 |
fi
|
1987 | 2631 |
fi
|
1988 | 2632 |
ac_ct_CC=$ac_cv_prog_ac_ct_CC
|
1989 | 2633 |
if test -n "$ac_ct_CC"; then
|
1990 | |
echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
|
1991 | |
echo "${ECHO_T}$ac_ct_CC" >&6
|
1992 | |
else
|
1993 | |
echo "$as_me:$LINENO: result: no" >&5
|
1994 | |
echo "${ECHO_T}no" >&6
|
1995 | |
fi
|
|
2634 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
|
|
2635 |
$as_echo "$ac_ct_CC" >&6; }
|
|
2636 |
else
|
|
2637 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
2638 |
$as_echo "no" >&6; }
|
|
2639 |
fi
|
|
2640 |
|
1996 | 2641 |
|
1997 | 2642 |
test -n "$ac_ct_CC" && break
|
1998 | 2643 |
done
|
1999 | 2644 |
|
2000 | |
CC=$ac_ct_CC
|
2001 | |
fi
|
2002 | |
|
2003 | |
fi
|
2004 | |
|
2005 | |
|
2006 | |
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
|
2007 | |
See \`config.log' for more details." >&5
|
2008 | |
echo "$as_me: error: no acceptable C compiler found in \$PATH
|
2009 | |
See \`config.log' for more details." >&2;}
|
2010 | |
{ (exit 1); exit 1; }; }
|
|
2645 |
if test "x$ac_ct_CC" = x; then
|
|
2646 |
CC=""
|
|
2647 |
else
|
|
2648 |
case $cross_compiling:$ac_tool_warned in
|
|
2649 |
yes:)
|
|
2650 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
|
|
2651 |
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
|
|
2652 |
ac_tool_warned=yes ;;
|
|
2653 |
esac
|
|
2654 |
CC=$ac_ct_CC
|
|
2655 |
fi
|
|
2656 |
fi
|
|
2657 |
|
|
2658 |
fi
|
|
2659 |
|
|
2660 |
|
|
2661 |
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2662 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2663 |
as_fn_error "no acceptable C compiler found in \$PATH
|
|
2664 |
See \`config.log' for more details." "$LINENO" 5; }
|
2011 | 2665 |
|
2012 | 2666 |
# Provide some information about the compiler.
|
2013 | |
echo "$as_me:$LINENO:" \
|
2014 | |
"checking for C compiler version" >&5
|
2015 | |
ac_compiler=`set X $ac_compile; echo $2`
|
2016 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
|
2017 | |
(eval $ac_compiler --version </dev/null >&5) 2>&5
|
|
2667 |
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
|
|
2668 |
set X $ac_compile
|
|
2669 |
ac_compiler=$2
|
|
2670 |
for ac_option in --version -v -V -qversion; do
|
|
2671 |
{ { ac_try="$ac_compiler $ac_option >&5"
|
|
2672 |
case "(($ac_try" in
|
|
2673 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2674 |
*) ac_try_echo=$ac_try;;
|
|
2675 |
esac
|
|
2676 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2677 |
$as_echo "$ac_try_echo"; } >&5
|
|
2678 |
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
|
2018 | 2679 |
ac_status=$?
|
2019 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2020 | |
(exit $ac_status); }
|
2021 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
|
2022 | |
(eval $ac_compiler -v </dev/null >&5) 2>&5
|
2023 | |
ac_status=$?
|
2024 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2025 | |
(exit $ac_status); }
|
2026 | |
{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
|
2027 | |
(eval $ac_compiler -V </dev/null >&5) 2>&5
|
2028 | |
ac_status=$?
|
2029 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2030 | |
(exit $ac_status); }
|
2031 | |
|
2032 | |
cat >conftest.$ac_ext <<_ACEOF
|
2033 | |
/* confdefs.h. */
|
2034 | |
_ACEOF
|
2035 | |
cat confdefs.h >>conftest.$ac_ext
|
2036 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2680 |
if test -s conftest.err; then
|
|
2681 |
sed '10a\
|
|
2682 |
... rest of stderr output deleted ...
|
|
2683 |
10q' conftest.err >conftest.er1
|
|
2684 |
cat conftest.er1 >&5
|
|
2685 |
rm -f conftest.er1 conftest.err
|
|
2686 |
fi
|
|
2687 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2688 |
test $ac_status = 0; }
|
|
2689 |
done
|
|
2690 |
|
|
2691 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2037 | 2692 |
/* end confdefs.h. */
|
2038 | |
|
|
2693 |
#include <stdio.h>
|
2039 | 2694 |
int
|
2040 | 2695 |
main ()
|
2041 | 2696 |
{
|
|
2697 |
FILE *f = fopen ("conftest.out", "w");
|
|
2698 |
return ferror (f) || fclose (f) != 0;
|
2042 | 2699 |
|
2043 | 2700 |
;
|
2044 | 2701 |
return 0;
|
2045 | 2702 |
}
|
2046 | 2703 |
_ACEOF
|
2047 | 2704 |
ac_clean_files_save=$ac_clean_files
|
2048 | |
ac_clean_files="$ac_clean_files a.out a.exe b.out"
|
|
2705 |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
|
2049 | 2706 |
# Try to create an executable without -o first, disregard a.out.
|
2050 | 2707 |
# It will help us diagnose broken compilers, and finding out an intuition
|
2051 | 2708 |
# of exeext.
|
2052 | |
echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
|
2053 | |
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
|
2054 | |
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
2055 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
|
2056 | |
(eval $ac_link_default) 2>&5
|
|
2709 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
|
|
2710 |
$as_echo_n "checking for C compiler default output file name... " >&6; }
|
|
2711 |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
|
|
2712 |
|
|
2713 |
# The possible output files:
|
|
2714 |
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
|
|
2715 |
|
|
2716 |
ac_rmfiles=
|
|
2717 |
for ac_file in $ac_files
|
|
2718 |
do
|
|
2719 |
case $ac_file in
|
|
2720 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
|
2721 |
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
|
|
2722 |
esac
|
|
2723 |
done
|
|
2724 |
rm -f $ac_rmfiles
|
|
2725 |
|
|
2726 |
if { { ac_try="$ac_link_default"
|
|
2727 |
case "(($ac_try" in
|
|
2728 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2729 |
*) ac_try_echo=$ac_try;;
|
|
2730 |
esac
|
|
2731 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2732 |
$as_echo "$ac_try_echo"; } >&5
|
|
2733 |
(eval "$ac_link_default") 2>&5
|
2057 | 2734 |
ac_status=$?
|
2058 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2059 | |
(exit $ac_status); }; then
|
2060 | |
# Find the output, starting from the most likely. This scheme is
|
2061 | |
# not robust to junk in `.', hence go to wildcards (a.*) only as a last
|
2062 | |
# resort.
|
2063 | |
|
2064 | |
# Be careful to initialize this variable, since it used to be cached.
|
2065 | |
# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
|
2066 | |
ac_cv_exeext=
|
2067 | |
# b.out is created by i960 compilers.
|
2068 | |
for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
|
|
2735 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2736 |
test $ac_status = 0; }; then :
|
|
2737 |
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
|
|
2738 |
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
|
|
2739 |
# in a Makefile. We should not override ac_cv_exeext if it was cached,
|
|
2740 |
# so that the user can short-circuit this test for compilers unknown to
|
|
2741 |
# Autoconf.
|
|
2742 |
for ac_file in $ac_files ''
|
2069 | 2743 |
do
|
2070 | 2744 |
test -f "$ac_file" || continue
|
2071 | 2745 |
case $ac_file in
|
2072 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
|
2073 | |
;;
|
2074 | |
conftest.$ac_ext )
|
2075 | |
# This is the source file.
|
|
2746 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
|
2076 | 2747 |
;;
|
2077 | 2748 |
[ab].out )
|
2078 | 2749 |
# We found the default executable, but exeext='' is most
|
2079 | 2750 |
# certainly right.
|
2080 | 2751 |
break;;
|
2081 | 2752 |
*.* )
|
2082 | |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2083 | |
# FIXME: I believe we export ac_cv_exeext for Libtool,
|
2084 | |
# but it would be cool to find out if it's true. Does anybody
|
2085 | |
# maintain Libtool? --akim.
|
2086 | |
export ac_cv_exeext
|
|
2753 |
if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
|
|
2754 |
then :; else
|
|
2755 |
ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
|
2756 |
fi
|
|
2757 |
# We set ac_cv_exeext here because the later test for it is not
|
|
2758 |
# safe: cross compilers may not add the suffix if given an `-o'
|
|
2759 |
# argument, so we may need to know it at that point already.
|
|
2760 |
# Even if this section looks crufty: it has the advantage of
|
|
2761 |
# actually working.
|
2087 | 2762 |
break;;
|
2088 | 2763 |
* )
|
2089 | 2764 |
break;;
|
2090 | 2765 |
esac
|
2091 | 2766 |
done
|
2092 | |
else
|
2093 | |
echo "$as_me: failed program was:" >&5
|
|
2767 |
test "$ac_cv_exeext" = no && ac_cv_exeext=
|
|
2768 |
|
|
2769 |
else
|
|
2770 |
ac_file=''
|
|
2771 |
fi
|
|
2772 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
|
|
2773 |
$as_echo "$ac_file" >&6; }
|
|
2774 |
if test -z "$ac_file"; then :
|
|
2775 |
$as_echo "$as_me: failed program was:" >&5
|
2094 | 2776 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2095 | 2777 |
|
2096 | |
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
|
2097 | |
See \`config.log' for more details." >&5
|
2098 | |
echo "$as_me: error: C compiler cannot create executables
|
2099 | |
See \`config.log' for more details." >&2;}
|
2100 | |
{ (exit 77); exit 77; }; }
|
2101 | |
fi
|
2102 | |
|
|
2778 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2779 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2780 |
{ as_fn_set_status 77
|
|
2781 |
as_fn_error "C compiler cannot create executables
|
|
2782 |
See \`config.log' for more details." "$LINENO" 5; }; }
|
|
2783 |
fi
|
2103 | 2784 |
ac_exeext=$ac_cv_exeext
|
2104 | |
echo "$as_me:$LINENO: result: $ac_file" >&5
|
2105 | |
echo "${ECHO_T}$ac_file" >&6
|
2106 | |
|
2107 | |
# Check the compiler produces executables we can run. If not, either
|
|
2785 |
|
|
2786 |
# Check that the compiler produces executables we can run. If not, either
|
2108 | 2787 |
# the compiler is broken, or we cross compile.
|
2109 | |
echo "$as_me:$LINENO: checking whether the C compiler works" >&5
|
2110 | |
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
|
2111 | |
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
|
|
2788 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
|
|
2789 |
$as_echo_n "checking whether the C compiler works... " >&6; }
|
2112 | 2790 |
# If not cross compiling, check that we can run a simple program.
|
2113 | 2791 |
if test "$cross_compiling" != yes; then
|
2114 | 2792 |
if { ac_try='./$ac_file'
|
2115 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2116 | |
(eval $ac_try) 2>&5
|
|
2793 |
{ { case "(($ac_try" in
|
|
2794 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2795 |
*) ac_try_echo=$ac_try;;
|
|
2796 |
esac
|
|
2797 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2798 |
$as_echo "$ac_try_echo"; } >&5
|
|
2799 |
(eval "$ac_try") 2>&5
|
2117 | 2800 |
ac_status=$?
|
2118 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2119 | |
(exit $ac_status); }; }; then
|
|
2801 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2802 |
test $ac_status = 0; }; }; then
|
2120 | 2803 |
cross_compiling=no
|
2121 | 2804 |
else
|
2122 | 2805 |
if test "$cross_compiling" = maybe; then
|
2123 | 2806 |
cross_compiling=yes
|
2124 | 2807 |
else
|
2125 | |
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
|
|
2808 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2809 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2810 |
as_fn_error "cannot run C compiled programs.
|
2126 | 2811 |
If you meant to cross compile, use \`--host'.
|
2127 | |
See \`config.log' for more details." >&5
|
2128 | |
echo "$as_me: error: cannot run C compiled programs.
|
2129 | |
If you meant to cross compile, use \`--host'.
|
2130 | |
See \`config.log' for more details." >&2;}
|
2131 | |
{ (exit 1); exit 1; }; }
|
|
2812 |
See \`config.log' for more details." "$LINENO" 5; }
|
2132 | 2813 |
fi
|
2133 | 2814 |
fi
|
2134 | 2815 |
fi
|
2135 | |
echo "$as_me:$LINENO: result: yes" >&5
|
2136 | |
echo "${ECHO_T}yes" >&6
|
2137 | |
|
2138 | |
rm -f a.out a.exe conftest$ac_cv_exeext b.out
|
|
2816 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
2817 |
$as_echo "yes" >&6; }
|
|
2818 |
|
|
2819 |
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
|
2139 | 2820 |
ac_clean_files=$ac_clean_files_save
|
2140 | |
# Check the compiler produces executables we can run. If not, either
|
|
2821 |
# Check that the compiler produces executables we can run. If not, either
|
2141 | 2822 |
# the compiler is broken, or we cross compile.
|
2142 | |
echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
|
2143 | |
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
|
2144 | |
echo "$as_me:$LINENO: result: $cross_compiling" >&5
|
2145 | |
echo "${ECHO_T}$cross_compiling" >&6
|
2146 | |
|
2147 | |
echo "$as_me:$LINENO: checking for suffix of executables" >&5
|
2148 | |
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
|
2149 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2150 | |
(eval $ac_link) 2>&5
|
|
2823 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
|
|
2824 |
$as_echo_n "checking whether we are cross compiling... " >&6; }
|
|
2825 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
|
|
2826 |
$as_echo "$cross_compiling" >&6; }
|
|
2827 |
|
|
2828 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
|
|
2829 |
$as_echo_n "checking for suffix of executables... " >&6; }
|
|
2830 |
if { { ac_try="$ac_link"
|
|
2831 |
case "(($ac_try" in
|
|
2832 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2833 |
*) ac_try_echo=$ac_try;;
|
|
2834 |
esac
|
|
2835 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2836 |
$as_echo "$ac_try_echo"; } >&5
|
|
2837 |
(eval "$ac_link") 2>&5
|
2151 | 2838 |
ac_status=$?
|
2152 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2153 | |
(exit $ac_status); }; then
|
|
2839 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2840 |
test $ac_status = 0; }; then :
|
2154 | 2841 |
# If both `conftest.exe' and `conftest' are `present' (well, observable)
|
2155 | 2842 |
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
|
2156 | 2843 |
# work properly (i.e., refer to `conftest.exe'), while it won't with
|
|
2158 | 2845 |
for ac_file in conftest.exe conftest conftest.*; do
|
2159 | 2846 |
test -f "$ac_file" || continue
|
2160 | 2847 |
case $ac_file in
|
2161 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
|
|
2848 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
|
2162 | 2849 |
*.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
|
2163 | |
export ac_cv_exeext
|
2164 | 2850 |
break;;
|
2165 | 2851 |
* ) break;;
|
2166 | 2852 |
esac
|
2167 | 2853 |
done
|
2168 | 2854 |
else
|
2169 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
|
2170 | |
See \`config.log' for more details." >&5
|
2171 | |
echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
|
2172 | |
See \`config.log' for more details." >&2;}
|
2173 | |
{ (exit 1); exit 1; }; }
|
2174 | |
fi
|
2175 | |
|
|
2855 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2856 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2857 |
as_fn_error "cannot compute suffix of executables: cannot compile and link
|
|
2858 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
2859 |
fi
|
2176 | 2860 |
rm -f conftest$ac_cv_exeext
|
2177 | |
echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
|
2178 | |
echo "${ECHO_T}$ac_cv_exeext" >&6
|
|
2861 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
|
|
2862 |
$as_echo "$ac_cv_exeext" >&6; }
|
2179 | 2863 |
|
2180 | 2864 |
rm -f conftest.$ac_ext
|
2181 | 2865 |
EXEEXT=$ac_cv_exeext
|
2182 | 2866 |
ac_exeext=$EXEEXT
|
2183 | |
echo "$as_me:$LINENO: checking for suffix of object files" >&5
|
2184 | |
echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
|
2185 | |
if test "${ac_cv_objext+set}" = set; then
|
2186 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2187 | |
else
|
2188 | |
cat >conftest.$ac_ext <<_ACEOF
|
2189 | |
/* confdefs.h. */
|
2190 | |
_ACEOF
|
2191 | |
cat confdefs.h >>conftest.$ac_ext
|
2192 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2867 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
|
|
2868 |
$as_echo_n "checking for suffix of object files... " >&6; }
|
|
2869 |
if test "${ac_cv_objext+set}" = set; then :
|
|
2870 |
$as_echo_n "(cached) " >&6
|
|
2871 |
else
|
|
2872 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2193 | 2873 |
/* end confdefs.h. */
|
2194 | 2874 |
|
2195 | 2875 |
int
|
|
2201 | 2881 |
}
|
2202 | 2882 |
_ACEOF
|
2203 | 2883 |
rm -f conftest.o conftest.obj
|
2204 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2205 | |
(eval $ac_compile) 2>&5
|
|
2884 |
if { { ac_try="$ac_compile"
|
|
2885 |
case "(($ac_try" in
|
|
2886 |
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
|
|
2887 |
*) ac_try_echo=$ac_try;;
|
|
2888 |
esac
|
|
2889 |
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
|
|
2890 |
$as_echo "$ac_try_echo"; } >&5
|
|
2891 |
(eval "$ac_compile") 2>&5
|
2206 | 2892 |
ac_status=$?
|
2207 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2208 | |
(exit $ac_status); }; then
|
2209 | |
for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
|
|
2893 |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
|
|
2894 |
test $ac_status = 0; }; then :
|
|
2895 |
for ac_file in conftest.o conftest.obj conftest.*; do
|
|
2896 |
test -f "$ac_file" || continue;
|
2210 | 2897 |
case $ac_file in
|
2211 | |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
|
|
2898 |
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
|
2212 | 2899 |
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
|
2213 | 2900 |
break;;
|
2214 | 2901 |
esac
|
2215 | 2902 |
done
|
2216 | 2903 |
else
|
2217 | |
echo "$as_me: failed program was:" >&5
|
|
2904 |
$as_echo "$as_me: failed program was:" >&5
|
2218 | 2905 |
sed 's/^/| /' conftest.$ac_ext >&5
|
2219 | 2906 |
|
2220 | |
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
|
2221 | |
See \`config.log' for more details." >&5
|
2222 | |
echo "$as_me: error: cannot compute suffix of object files: cannot compile
|
2223 | |
See \`config.log' for more details." >&2;}
|
2224 | |
{ (exit 1); exit 1; }; }
|
2225 | |
fi
|
2226 | |
|
|
2907 |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
|
|
2908 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
|
|
2909 |
as_fn_error "cannot compute suffix of object files: cannot compile
|
|
2910 |
See \`config.log' for more details." "$LINENO" 5; }
|
|
2911 |
fi
|
2227 | 2912 |
rm -f conftest.$ac_cv_objext conftest.$ac_ext
|
2228 | 2913 |
fi
|
2229 | |
echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
|
2230 | |
echo "${ECHO_T}$ac_cv_objext" >&6
|
|
2914 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
|
|
2915 |
$as_echo "$ac_cv_objext" >&6; }
|
2231 | 2916 |
OBJEXT=$ac_cv_objext
|
2232 | 2917 |
ac_objext=$OBJEXT
|
2233 | |
echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
|
2234 | |
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
|
2235 | |
if test "${ac_cv_c_compiler_gnu+set}" = set; then
|
2236 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2237 | |
else
|
2238 | |
cat >conftest.$ac_ext <<_ACEOF
|
2239 | |
/* confdefs.h. */
|
2240 | |
_ACEOF
|
2241 | |
cat confdefs.h >>conftest.$ac_ext
|
2242 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2918 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
|
|
2919 |
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
|
|
2920 |
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
|
|
2921 |
$as_echo_n "(cached) " >&6
|
|
2922 |
else
|
|
2923 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2243 | 2924 |
/* end confdefs.h. */
|
2244 | 2925 |
|
2245 | 2926 |
int
|
|
2253 | 2934 |
return 0;
|
2254 | 2935 |
}
|
2255 | 2936 |
_ACEOF
|
2256 | |
rm -f conftest.$ac_objext
|
2257 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2258 | |
(eval $ac_compile) 2>conftest.er1
|
2259 | |
ac_status=$?
|
2260 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2261 | |
rm -f conftest.er1
|
2262 | |
cat conftest.err >&5
|
2263 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2264 | |
(exit $ac_status); } &&
|
2265 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2266 | |
|| test ! -s conftest.err'
|
2267 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2268 | |
(eval $ac_try) 2>&5
|
2269 | |
ac_status=$?
|
2270 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2271 | |
(exit $ac_status); }; } &&
|
2272 | |
{ ac_try='test -s conftest.$ac_objext'
|
2273 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2274 | |
(eval $ac_try) 2>&5
|
2275 | |
ac_status=$?
|
2276 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2277 | |
(exit $ac_status); }; }; then
|
|
2937 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2278 | 2938 |
ac_compiler_gnu=yes
|
2279 | 2939 |
else
|
2280 | |
echo "$as_me: failed program was:" >&5
|
2281 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2282 | |
|
2283 | |
ac_compiler_gnu=no
|
2284 | |
fi
|
2285 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
2940 |
ac_compiler_gnu=no
|
|
2941 |
fi
|
|
2942 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
2286 | 2943 |
ac_cv_c_compiler_gnu=$ac_compiler_gnu
|
2287 | 2944 |
|
2288 | 2945 |
fi
|
2289 | |
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
|
2290 | |
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
|
2291 | |
GCC=`test $ac_compiler_gnu = yes && echo yes`
|
|
2946 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
|
|
2947 |
$as_echo "$ac_cv_c_compiler_gnu" >&6; }
|
|
2948 |
if test $ac_compiler_gnu = yes; then
|
|
2949 |
GCC=yes
|
|
2950 |
else
|
|
2951 |
GCC=
|
|
2952 |
fi
|
2292 | 2953 |
ac_test_CFLAGS=${CFLAGS+set}
|
2293 | 2954 |
ac_save_CFLAGS=$CFLAGS
|
2294 | |
CFLAGS="-g"
|
2295 | |
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
|
2296 | |
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
|
2297 | |
if test "${ac_cv_prog_cc_g+set}" = set; then
|
2298 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2299 | |
else
|
2300 | |
cat >conftest.$ac_ext <<_ACEOF
|
2301 | |
/* confdefs.h. */
|
2302 | |
_ACEOF
|
2303 | |
cat confdefs.h >>conftest.$ac_ext
|
2304 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
2955 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
|
|
2956 |
$as_echo_n "checking whether $CC accepts -g... " >&6; }
|
|
2957 |
if test "${ac_cv_prog_cc_g+set}" = set; then :
|
|
2958 |
$as_echo_n "(cached) " >&6
|
|
2959 |
else
|
|
2960 |
ac_save_c_werror_flag=$ac_c_werror_flag
|
|
2961 |
ac_c_werror_flag=yes
|
|
2962 |
ac_cv_prog_cc_g=no
|
|
2963 |
CFLAGS="-g"
|
|
2964 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2305 | 2965 |
/* end confdefs.h. */
|
2306 | 2966 |
|
2307 | 2967 |
int
|
|
2312 | 2972 |
return 0;
|
2313 | 2973 |
}
|
2314 | 2974 |
_ACEOF
|
2315 | |
rm -f conftest.$ac_objext
|
2316 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2317 | |
(eval $ac_compile) 2>conftest.er1
|
2318 | |
ac_status=$?
|
2319 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2320 | |
rm -f conftest.er1
|
2321 | |
cat conftest.err >&5
|
2322 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2323 | |
(exit $ac_status); } &&
|
2324 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2325 | |
|| test ! -s conftest.err'
|
2326 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2327 | |
(eval $ac_try) 2>&5
|
2328 | |
ac_status=$?
|
2329 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2330 | |
(exit $ac_status); }; } &&
|
2331 | |
{ ac_try='test -s conftest.$ac_objext'
|
2332 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2333 | |
(eval $ac_try) 2>&5
|
2334 | |
ac_status=$?
|
2335 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2336 | |
(exit $ac_status); }; }; then
|
|
2975 |
if ac_fn_c_try_compile "$LINENO"; then :
|
2337 | 2976 |
ac_cv_prog_cc_g=yes
|
2338 | 2977 |
else
|
2339 | |
echo "$as_me: failed program was:" >&5
|
2340 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2341 | |
|
2342 | |
ac_cv_prog_cc_g=no
|
2343 | |
fi
|
2344 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2345 | |
fi
|
2346 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
|
2347 | |
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
|
|
2978 |
CFLAGS=""
|
|
2979 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2980 |
/* end confdefs.h. */
|
|
2981 |
|
|
2982 |
int
|
|
2983 |
main ()
|
|
2984 |
{
|
|
2985 |
|
|
2986 |
;
|
|
2987 |
return 0;
|
|
2988 |
}
|
|
2989 |
_ACEOF
|
|
2990 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
2991 |
|
|
2992 |
else
|
|
2993 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
2994 |
CFLAGS="-g"
|
|
2995 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
2996 |
/* end confdefs.h. */
|
|
2997 |
|
|
2998 |
int
|
|
2999 |
main ()
|
|
3000 |
{
|
|
3001 |
|
|
3002 |
;
|
|
3003 |
return 0;
|
|
3004 |
}
|
|
3005 |
_ACEOF
|
|
3006 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3007 |
ac_cv_prog_cc_g=yes
|
|
3008 |
fi
|
|
3009 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3010 |
fi
|
|
3011 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3012 |
fi
|
|
3013 |
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3014 |
ac_c_werror_flag=$ac_save_c_werror_flag
|
|
3015 |
fi
|
|
3016 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
|
|
3017 |
$as_echo "$ac_cv_prog_cc_g" >&6; }
|
2348 | 3018 |
if test "$ac_test_CFLAGS" = set; then
|
2349 | 3019 |
CFLAGS=$ac_save_CFLAGS
|
2350 | 3020 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
2360 | 3030 |
CFLAGS=
|
2361 | 3031 |
fi
|
2362 | 3032 |
fi
|
2363 | |
echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
|
2364 | |
echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
|
2365 | |
if test "${ac_cv_prog_cc_stdc+set}" = set; then
|
2366 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2367 | |
else
|
2368 | |
ac_cv_prog_cc_stdc=no
|
|
3033 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
|
|
3034 |
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
|
|
3035 |
if test "${ac_cv_prog_cc_c89+set}" = set; then :
|
|
3036 |
$as_echo_n "(cached) " >&6
|
|
3037 |
else
|
|
3038 |
ac_cv_prog_cc_c89=no
|
2369 | 3039 |
ac_save_CC=$CC
|
2370 | |
cat >conftest.$ac_ext <<_ACEOF
|
2371 | |
/* confdefs.h. */
|
2372 | |
_ACEOF
|
2373 | |
cat confdefs.h >>conftest.$ac_ext
|
2374 | |
cat >>conftest.$ac_ext <<_ACEOF
|
|
3040 |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
2375 | 3041 |
/* end confdefs.h. */
|
2376 | 3042 |
#include <stdarg.h>
|
2377 | 3043 |
#include <stdio.h>
|
|
2399 | 3065 |
/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
|
2400 | 3066 |
function prototypes and stuff, but not '\xHH' hex character constants.
|
2401 | 3067 |
These don't provoke an error unfortunately, instead are silently treated
|
2402 | |
as 'x'. The following induces an error, until -std1 is added to get
|
|
3068 |
as 'x'. The following induces an error, until -std is added to get
|
2403 | 3069 |
proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
|
2404 | 3070 |
array size at least. It's necessary to write '\x00'==0 to get something
|
2405 | |
that's true only with -std1. */
|
|
3071 |
that's true only with -std. */
|
2406 | 3072 |
int osf4_cc_array ['\x00' == 0 ? 1 : -1];
|
|
3073 |
|
|
3074 |
/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
|
|
3075 |
inside strings and character constants. */
|
|
3076 |
#define FOO(x) 'x'
|
|
3077 |
int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
|
2407 | 3078 |
|
2408 | 3079 |
int test (int i, double x);
|
2409 | 3080 |
struct s1 {int (*f) (int a);};
|
|
2419 | 3090 |
return 0;
|
2420 | 3091 |
}
|
2421 | 3092 |
_ACEOF
|
2422 | |
# Don't try gcc -ansi; that turns off useful extensions and
|
2423 | |
# breaks some systems' header files.
|
2424 | |
# AIX -qlanglvl=ansi
|
2425 | |
# Ultrix and OSF/1 -std1
|
2426 | |
# HP-UX 10.20 and later -Ae
|
2427 | |
# HP-UX older versions -Aa -D_HPUX_SOURCE
|
2428 | |
# SVR4 -Xc -D__EXTENSIONS__
|
2429 | |
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
|
3093 |
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
|
|
3094 |
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
|
2430 | 3095 |
do
|
2431 | 3096 |
CC="$ac_save_CC $ac_arg"
|
2432 | |
rm -f conftest.$ac_objext
|
2433 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2434 | |
(eval $ac_compile) 2>conftest.er1
|
2435 | |
ac_status=$?
|
2436 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2437 | |
rm -f conftest.er1
|
2438 | |
cat conftest.err >&5
|
2439 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2440 | |
(exit $ac_status); } &&
|
2441 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2442 | |
|| test ! -s conftest.err'
|
2443 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2444 | |
(eval $ac_try) 2>&5
|
2445 | |
ac_status=$?
|
2446 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2447 | |
(exit $ac_status); }; } &&
|
2448 | |
{ ac_try='test -s conftest.$ac_objext'
|
2449 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2450 | |
(eval $ac_try) 2>&5
|
2451 | |
ac_status=$?
|
2452 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2453 | |
(exit $ac_status); }; }; then
|
2454 | |
ac_cv_prog_cc_stdc=$ac_arg
|
2455 | |
break
|
2456 | |
else
|
2457 | |
echo "$as_me: failed program was:" >&5
|
2458 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2459 | |
|
2460 | |
fi
|
2461 | |
rm -f conftest.err conftest.$ac_objext
|
|
3097 |
if ac_fn_c_try_compile "$LINENO"; then :
|
|
3098 |
ac_cv_prog_cc_c89=$ac_arg
|
|
3099 |
fi
|
|
3100 |
rm -f core conftest.err conftest.$ac_objext
|
|
3101 |
test "x$ac_cv_prog_cc_c89" != "xno" && break
|
2462 | 3102 |
done
|
2463 | |
rm -f conftest.$ac_ext conftest.$ac_objext
|
|
3103 |
rm -f conftest.$ac_ext
|
2464 | 3104 |
CC=$ac_save_CC
|
2465 | 3105 |
|
2466 | 3106 |
fi
|
2467 | |
|
2468 | |
case "x$ac_cv_prog_cc_stdc" in
|
2469 | |
x|xno)
|
2470 | |
echo "$as_me:$LINENO: result: none needed" >&5
|
2471 | |
echo "${ECHO_T}none needed" >&6 ;;
|
|
3107 |
# AC_CACHE_VAL
|
|
3108 |
case "x$ac_cv_prog_cc_c89" in
|
|
3109 |
x)
|
|
3110 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
|
|
3111 |
$as_echo "none needed" >&6; } ;;
|
|
3112 |
xno)
|
|
3113 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
|
|
3114 |
$as_echo "unsupported" >&6; } ;;
|
2472 | 3115 |
*)
|
2473 | |
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
|
2474 | |
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
|
2475 | |
CC="$CC $ac_cv_prog_cc_stdc" ;;
|
|
3116 |
CC="$CC $ac_cv_prog_cc_c89"
|
|
3117 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
|
|
3118 |
$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
|
2476 | 3119 |
esac
|
2477 | |
|
2478 | |
# Some people use a C++ compiler to compile C. Since we use `exit',
|
2479 | |
# in C++ we need to declare it. In case someone uses the same compiler
|
2480 | |
# for both compiling C and C++ we need to have the C++ compiler decide
|
2481 | |
# the declaration of exit, since it's the most demanding environment.
|
2482 | |
cat >conftest.$ac_ext <<_ACEOF
|
2483 | |
#ifndef __cplusplus
|
2484 | |
choke me
|
2485 | |
#endif
|
2486 | |
_ACEOF
|
2487 | |
rm -f conftest.$ac_objext
|
2488 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2489 | |
(eval $ac_compile) 2>conftest.er1
|
2490 | |
ac_status=$?
|
2491 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2492 | |
rm -f conftest.er1
|
2493 | |
cat conftest.err >&5
|
2494 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2495 | |
(exit $ac_status); } &&
|
2496 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2497 | |
|| test ! -s conftest.err'
|
2498 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2499 | |
(eval $ac_try) 2>&5
|
2500 | |
ac_status=$?
|
2501 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2502 | |
(exit $ac_status); }; } &&
|
2503 | |
{ ac_try='test -s conftest.$ac_objext'
|
2504 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2505 | |
(eval $ac_try) 2>&5
|
2506 | |
ac_status=$?
|
2507 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2508 | |
(exit $ac_status); }; }; then
|
2509 | |
for ac_declaration in \
|
2510 | |
'' \
|
2511 | |
'extern "C" void std::exit (int) throw (); using std::exit;' \
|
2512 | |
'extern "C" void std::exit (int); using std::exit;' \
|
2513 | |
'extern "C" void exit (int) throw ();' \
|
2514 | |
'extern "C" void exit (int);' \
|
2515 | |
'void exit (int);'
|
2516 | |
do
|
2517 | |
cat >conftest.$ac_ext <<_ACEOF
|
2518 | |
/* confdefs.h. */
|
2519 | |
_ACEOF
|
2520 | |
cat confdefs.h >>conftest.$ac_ext
|
2521 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2522 | |
/* end confdefs.h. */
|
2523 | |
$ac_declaration
|
2524 | |
#include <stdlib.h>
|
2525 | |
int
|
2526 | |
main ()
|
2527 | |
{
|
2528 | |
exit (42);
|
2529 | |
;
|
2530 | |
return 0;
|
2531 | |
}
|
2532 | |
_ACEOF
|
2533 | |
rm -f conftest.$ac_objext
|
2534 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2535 | |
(eval $ac_compile) 2>conftest.er1
|
2536 | |
ac_status=$?
|
2537 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2538 | |
rm -f conftest.er1
|
2539 | |
cat conftest.err >&5
|
2540 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2541 | |
(exit $ac_status); } &&
|
2542 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2543 | |
|| test ! -s conftest.err'
|
2544 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2545 | |
(eval $ac_try) 2>&5
|
2546 | |
ac_status=$?
|
2547 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2548 | |
(exit $ac_status); }; } &&
|
2549 | |
{ ac_try='test -s conftest.$ac_objext'
|
2550 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2551 | |
(eval $ac_try) 2>&5
|
2552 | |
ac_status=$?
|
2553 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2554 | |
(exit $ac_status); }; }; then
|
2555 | |
:
|
2556 | |
else
|
2557 | |
echo "$as_me: failed program was:" >&5
|
2558 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2559 | |
|
2560 | |
continue
|
2561 | |
fi
|
2562 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2563 | |
cat >conftest.$ac_ext <<_ACEOF
|
2564 | |
/* confdefs.h. */
|
2565 | |
_ACEOF
|
2566 | |
cat confdefs.h >>conftest.$ac_ext
|
2567 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2568 | |
/* end confdefs.h. */
|
2569 | |
$ac_declaration
|
2570 | |
int
|
2571 | |
main ()
|
2572 | |
{
|
2573 | |
exit (42);
|
2574 | |
;
|
2575 | |
return 0;
|
2576 | |
}
|
2577 | |
_ACEOF
|
2578 | |
rm -f conftest.$ac_objext
|
2579 | |
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
|
2580 | |
(eval $ac_compile) 2>conftest.er1
|
2581 | |
ac_status=$?
|
2582 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2583 | |
rm -f conftest.er1
|
2584 | |
cat conftest.err >&5
|
2585 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2586 | |
(exit $ac_status); } &&
|
2587 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2588 | |
|| test ! -s conftest.err'
|
2589 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2590 | |
(eval $ac_try) 2>&5
|
2591 | |
ac_status=$?
|
2592 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2593 | |
(exit $ac_status); }; } &&
|
2594 | |
{ ac_try='test -s conftest.$ac_objext'
|
2595 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2596 | |
(eval $ac_try) 2>&5
|
2597 | |
ac_status=$?
|
2598 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2599 | |
(exit $ac_status); }; }; then
|
2600 | |
break
|
2601 | |
else
|
2602 | |
echo "$as_me: failed program was:" >&5
|
2603 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2604 | |
|
2605 | |
fi
|
2606 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
2607 | |
done
|
2608 | |
rm -f conftest*
|
2609 | |
if test -n "$ac_declaration"; then
|
2610 | |
echo '#ifdef __cplusplus' >>confdefs.h
|
2611 | |
echo $ac_declaration >>confdefs.h
|
2612 | |
echo '#endif' >>confdefs.h
|
2613 | |
fi
|
2614 | |
|
2615 | |
else
|
2616 | |
echo "$as_me: failed program was:" >&5
|
2617 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2618 | |
|
2619 | |
fi
|
2620 | |
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
3120 |
if test "x$ac_cv_prog_cc_c89" != xno; then :
|
|
3121 |
|
|
3122 |
fi
|
|
3123 |
|
2621 | 3124 |
ac_ext=c
|
2622 | 3125 |
ac_cpp='$CPP $CPPFLAGS'
|
2623 | 3126 |
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
2625 | 3128 |
ac_compiler_gnu=$ac_cv_c_compiler_gnu
|
2626 | 3129 |
DEPDIR="${am__leading_dot}deps"
|
2627 | 3130 |
|
2628 | |
ac_config_commands="$ac_config_commands depfiles"
|
|
3131 |
ac_config_commands="$ac_config_commands depfiles"
|
2629 | 3132 |
|
2630 | 3133 |
|
2631 | 3134 |
am_make=${MAKE-make}
|
2632 | 3135 |
cat > confinc << 'END'
|
2633 | 3136 |
am__doit:
|
2634 | |
@echo done
|
|
3137 |
@echo this is the am__doit target
|
2635 | 3138 |
.PHONY: am__doit
|
2636 | 3139 |
END
|
2637 | 3140 |
# If we don't find an include directive, just comment out the code.
|
2638 | |
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
|
2639 | |
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
|
|
3141 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
|
|
3142 |
$as_echo_n "checking for style of include used by $am_make... " >&6; }
|
2640 | 3143 |
am__include="#"
|
2641 | 3144 |
am__quote=
|
2642 | 3145 |
_am_result=none
|
2643 | 3146 |
# First try GNU make style include.
|
2644 | 3147 |
echo "include confinc" > confmf
|
2645 | |
# We grep out `Entering directory' and `Leaving directory'
|
2646 | |
# messages which can occur if `w' ends up in MAKEFLAGS.
|
2647 | |
# In particular we don't look at `^make:' because GNU make might
|
2648 | |
# be invoked under some other name (usually "gmake"), in which
|
2649 | |
# case it prints its new name instead of `make'.
|
2650 | |
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
|
2651 | |
am__include=include
|
2652 | |
am__quote=
|
2653 | |
_am_result=GNU
|
2654 | |
fi
|
|
3148 |
# Ignore all kinds of additional output from `make'.
|
|
3149 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3150 |
*the\ am__doit\ target*)
|
|
3151 |
am__include=include
|
|
3152 |
am__quote=
|
|
3153 |
_am_result=GNU
|
|
3154 |
;;
|
|
3155 |
esac
|
2655 | 3156 |
# Now try BSD make style include.
|
2656 | 3157 |
if test "$am__include" = "#"; then
|
2657 | 3158 |
echo '.include "confinc"' > confmf
|
2658 | |
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
|
2659 | |
am__include=.include
|
2660 | |
am__quote="\""
|
2661 | |
_am_result=BSD
|
2662 | |
fi
|
2663 | |
fi
|
2664 | |
|
2665 | |
|
2666 | |
echo "$as_me:$LINENO: result: $_am_result" >&5
|
2667 | |
echo "${ECHO_T}$_am_result" >&6
|
|
3159 |
case `$am_make -s -f confmf 2> /dev/null` in #(
|
|
3160 |
*the\ am__doit\ target*)
|
|
3161 |
am__include=.include
|
|
3162 |
am__quote="\""
|
|
3163 |
_am_result=BSD
|
|
3164 |
;;
|
|
3165 |
esac
|
|
3166 |
fi
|
|
3167 |
|
|
3168 |
|
|
3169 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
|
|
3170 |
$as_echo "$_am_result" >&6; }
|
2668 | 3171 |
rm -f confinc confmf
|
2669 | 3172 |
|
2670 | |
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
|
2671 | |
if test "${enable_dependency_tracking+set}" = set; then
|
2672 | |
enableval="$enable_dependency_tracking"
|
2673 | |
|
2674 | |
fi;
|
|
3173 |
# Check whether --enable-dependency-tracking was given.
|
|
3174 |
if test "${enable_dependency_tracking+set}" = set; then :
|
|
3175 |
enableval=$enable_dependency_tracking;
|
|
3176 |
fi
|
|
3177 |
|
2675 | 3178 |
if test "x$enable_dependency_tracking" != xno; then
|
2676 | 3179 |
am_depcomp="$ac_aux_dir/depcomp"
|
2677 | 3180 |
AMDEPBACKSLASH='\'
|
2678 | 3181 |
fi
|
2679 | |
|
2680 | |
|
2681 | |
if test "x$enable_dependency_tracking" != xno; then
|
|
3182 |
if test "x$enable_dependency_tracking" != xno; then
|
2682 | 3183 |
AMDEP_TRUE=
|
2683 | 3184 |
AMDEP_FALSE='#'
|
2684 | 3185 |
else
|
|
2688 | 3189 |
|
2689 | 3190 |
|
2690 | 3191 |
|
2691 | |
|
2692 | 3192 |
depcc="$CC" am_compiler_list=
|
2693 | 3193 |
|
2694 | |
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
|
2695 | |
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
|
2696 | |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
|
2697 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3194 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
|
|
3195 |
$as_echo_n "checking dependency style of $depcc... " >&6; }
|
|
3196 |
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
|
|
3197 |
$as_echo_n "(cached) " >&6
|
2698 | 3198 |
else
|
2699 | 3199 |
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
|
2700 | 3200 |
# We make a subdir and do the tests there. Otherwise we can end up
|
|
2719 | 3219 |
if test "$am_compiler_list" = ""; then
|
2720 | 3220 |
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
|
2721 | 3221 |
fi
|
|
3222 |
am__universal=false
|
|
3223 |
case " $depcc " in #(
|
|
3224 |
*\ -arch\ *\ -arch\ *) am__universal=true ;;
|
|
3225 |
esac
|
|
3226 |
|
2722 | 3227 |
for depmode in $am_compiler_list; do
|
2723 | 3228 |
# Setup a source with many dependencies, because some compilers
|
2724 | 3229 |
# like to wrap large dependency lists on column 80 (with \), and
|
|
2736 | 3241 |
done
|
2737 | 3242 |
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
|
2738 | 3243 |
|
|
3244 |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
|
3245 |
# mode. It turns out that the SunPro C++ compiler does not properly
|
|
3246 |
# handle `-M -o', and we need to detect this. Also, some Intel
|
|
3247 |
# versions had trouble with output in subdirs
|
|
3248 |
am__obj=sub/conftest.${OBJEXT-o}
|
|
3249 |
am__minus_obj="-o $am__obj"
|
2739 | 3250 |
case $depmode in
|
|
3251 |
gcc)
|
|
3252 |
# This depmode causes a compiler race in universal mode.
|
|
3253 |
test "$am__universal" = false || continue
|
|
3254 |
;;
|
2740 | 3255 |
nosideeffect)
|
2741 | 3256 |
# after this tag, mechanisms are not by side-effect, so they'll
|
2742 | 3257 |
# only be used when explicitly requested
|
|
2746 | 3261 |
break
|
2747 | 3262 |
fi
|
2748 | 3263 |
;;
|
|
3264 |
msvisualcpp | msvcmsys)
|
|
3265 |
# This compiler won't grok `-c -o', but also, the minuso test has
|
|
3266 |
# not run yet. These depmodes are late enough in the game, and
|
|
3267 |
# so weak that their functioning should not be impacted.
|
|
3268 |
am__obj=conftest.${OBJEXT-o}
|
|
3269 |
am__minus_obj=
|
|
3270 |
;;
|
2749 | 3271 |
none) break ;;
|
2750 | 3272 |
esac
|
2751 | |
# We check with `-c' and `-o' for the sake of the "dashmstdout"
|
2752 | |
# mode. It turns out that the SunPro C++ compiler does not properly
|
2753 | |
# handle `-M -o', and we need to detect this.
|
2754 | 3273 |
if depmode=$depmode \
|
2755 | |
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
|
|
3274 |
source=sub/conftest.c object=$am__obj \
|
2756 | 3275 |
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
|
2757 | |
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
|
|
3276 |
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
|
2758 | 3277 |
>/dev/null 2>conftest.err &&
|
|
3278 |
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
|
2759 | 3279 |
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
|
2760 | |
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
|
|
3280 |
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
|
2761 | 3281 |
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
|
2762 | 3282 |
# icc doesn't choke on unknown options, it will just issue warnings
|
2763 | 3283 |
# or remarks (even with -Werror). So we grep stderr for any message
|
|
2781 | 3301 |
fi
|
2782 | 3302 |
|
2783 | 3303 |
fi
|
2784 | |
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
|
2785 | |
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
|
|
3304 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
|
|
3305 |
$as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
|
2786 | 3306 |
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
|
2787 | 3307 |
|
2788 | |
|
2789 | |
|
2790 | |
if
|
|
3308 |
if
|
2791 | 3309 |
test "x$enable_dependency_tracking" != xno \
|
2792 | 3310 |
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
|
2793 | 3311 |
am__fastdepCC_TRUE=
|
|
2798 | 3316 |
fi
|
2799 | 3317 |
|
2800 | 3318 |
|
2801 | |
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
2802 | |
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
|
2803 | |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
|
2804 | |
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
|
2805 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3319 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
|
|
3320 |
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
|
|
3321 |
set x ${MAKE-make}
|
|
3322 |
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
|
|
3323 |
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
|
|
3324 |
$as_echo_n "(cached) " >&6
|
2806 | 3325 |
else
|
2807 | 3326 |
cat >conftest.make <<\_ACEOF
|
|
3327 |
SHELL = /bin/sh
|
2808 | 3328 |
all:
|
2809 | |
@echo 'ac_maketemp="$(MAKE)"'
|
|
3329 |
@echo '@@@%%%=$(MAKE)=@@@%%%'
|
2810 | 3330 |
_ACEOF
|
2811 | 3331 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
2812 | |
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
|
2813 | |
if test -n "$ac_maketemp"; then
|
2814 | |
eval ac_cv_prog_make_${ac_make}_set=yes
|
2815 | |
else
|
2816 | |
eval ac_cv_prog_make_${ac_make}_set=no
|
2817 | |
fi
|
|
3332 |
case `${MAKE-make} -f conftest.make 2>/dev/null` in
|
|
3333 |
*@@@%%%=?*=@@@%%%*)
|
|
3334 |
eval ac_cv_prog_make_${ac_make}_set=yes;;
|
|
3335 |
*)
|
|
3336 |
eval ac_cv_prog_make_${ac_make}_set=no;;
|
|
3337 |
esac
|
2818 | 3338 |
rm -f conftest.make
|
2819 | 3339 |
fi
|
2820 | |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
2821 | |
echo "$as_me:$LINENO: result: yes" >&5
|
2822 | |
echo "${ECHO_T}yes" >&6
|
|
3340 |
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
|
|
3341 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3342 |
$as_echo "yes" >&6; }
|
2823 | 3343 |
SET_MAKE=
|
2824 | 3344 |
else
|
2825 | |
echo "$as_me:$LINENO: result: no" >&5
|
2826 | |
echo "${ECHO_T}no" >&6
|
|
3345 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3346 |
$as_echo "no" >&6; }
|
2827 | 3347 |
SET_MAKE="MAKE=${MAKE-make}"
|
2828 | 3348 |
fi
|
2829 | 3349 |
|
2830 | 3350 |
|
2831 | 3351 |
|
2832 | |
# Check whether --with-curl-config or --without-curl-config was given.
|
2833 | |
if test "${with_curl_config+set}" = set; then
|
2834 | |
withval="$with_curl_config"
|
2835 | |
curl_config="$withval"
|
|
3352 |
# Check whether --with-curl-config was given.
|
|
3353 |
if test "${with_curl_config+set}" = set; then :
|
|
3354 |
withval=$with_curl_config; curl_config="$withval"
|
2836 | 3355 |
else
|
2837 | 3356 |
curl_config="curl-config"
|
2838 | |
fi;
|
|
3357 |
fi
|
|
3358 |
|
2839 | 3359 |
|
2840 | 3360 |
if test -f $curl_config ; then
|
2841 | 3361 |
CURL_CONFIG=$curl_config
|
2842 | |
echo "$as_me:$LINENO: result: yes" >&5
|
2843 | |
echo "${ECHO_T}yes" >&6
|
|
3362 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3363 |
$as_echo "yes" >&6; }
|
2844 | 3364 |
else for ac_prog in curl-config
|
2845 | 3365 |
do
|
2846 | 3366 |
# Extract the first word of "$ac_prog", so it can be a program name with args.
|
2847 | 3367 |
set dummy $ac_prog; ac_word=$2
|
2848 | |
echo "$as_me:$LINENO: checking for $ac_word" >&5
|
2849 | |
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
|
2850 | |
if test "${ac_cv_prog_CURL_CONFIG+set}" = set; then
|
2851 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
3368 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
|
|
3369 |
$as_echo_n "checking for $ac_word... " >&6; }
|
|
3370 |
if test "${ac_cv_prog_CURL_CONFIG+set}" = set; then :
|
|
3371 |
$as_echo_n "(cached) " >&6
|
2852 | 3372 |
else
|
2853 | 3373 |
if test -n "$CURL_CONFIG"; then
|
2854 | 3374 |
ac_cv_prog_CURL_CONFIG="$CURL_CONFIG" # Let the user override the test.
|
|
2858 | 3378 |
do
|
2859 | 3379 |
IFS=$as_save_IFS
|
2860 | 3380 |
test -z "$as_dir" && as_dir=.
|
2861 | |
for ac_exec_ext in '' $ac_executable_extensions; do
|
2862 | |
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
|
|
3381 |
for ac_exec_ext in '' $ac_executable_extensions; do
|
|
3382 |
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
|
2863 | 3383 |
ac_cv_prog_CURL_CONFIG="$ac_prog"
|
2864 | |
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
|
|
3384 |
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
|
2865 | 3385 |
break 2
|
2866 | 3386 |
fi
|
2867 | 3387 |
done
|
2868 | |
done
|
|
3388 |
done
|
|
3389 |
IFS=$as_save_IFS
|
2869 | 3390 |
|
2870 | 3391 |
fi
|
2871 | 3392 |
fi
|
2872 | 3393 |
CURL_CONFIG=$ac_cv_prog_CURL_CONFIG
|
2873 | 3394 |
if test -n "$CURL_CONFIG"; then
|
2874 | |
echo "$as_me:$LINENO: result: $CURL_CONFIG" >&5
|
2875 | |
echo "${ECHO_T}$CURL_CONFIG" >&6
|
2876 | |
else
|
2877 | |
echo "$as_me:$LINENO: result: no" >&5
|
2878 | |
echo "${ECHO_T}no" >&6
|
2879 | |
fi
|
|
3395 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CURL_CONFIG" >&5
|
|
3396 |
$as_echo "$CURL_CONFIG" >&6; }
|
|
3397 |
else
|
|
3398 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
3399 |
$as_echo "no" >&6; }
|
|
3400 |
fi
|
|
3401 |
|
2880 | 3402 |
|
2881 | 3403 |
test -n "$CURL_CONFIG" && break
|
2882 | 3404 |
done
|
|
2884 | 3406 |
fi
|
2885 | 3407 |
|
2886 | 3408 |
if test "X$CURL_CONFIG" = "X"; then
|
2887 | |
{ { echo "$as_me:$LINENO: error: $curl_config not found.
|
2888 | |
cURL is available from http://curl.haxx.se/" >&5
|
2889 | |
echo "$as_me: error: $curl_config not found.
|
2890 | |
cURL is available from http://curl.haxx.se/" >&2;}
|
2891 | |
{ (exit 1); exit 1; }; }
|
|
3409 |
as_fn_error "$curl_config not found.
|
|
3410 |
cURL is available from http://curl.haxx.se/" "$LINENO" 5
|
2892 | 3411 |
fi
|
2893 | 3412 |
|
2894 | 3413 |
CURLCFLAGS="`$CURL_CONFIG --cflags`"
|
|
2901 | 3420 |
check_min=7.1.1
|
2902 | 3421 |
|
2903 | 3422 |
|
2904 | |
echo "$as_me:$LINENO: checking for curl_easy_setopt" >&5
|
2905 | |
echo $ECHO_N "checking for curl_easy_setopt... $ECHO_C" >&6
|
2906 | |
if test "${ac_cv_func_curl_easy_setopt+set}" = set; then
|
2907 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
2908 | |
else
|
2909 | |
cat >conftest.$ac_ext <<_ACEOF
|
2910 | |
/* confdefs.h. */
|
2911 | |
_ACEOF
|
2912 | |
cat confdefs.h >>conftest.$ac_ext
|
2913 | |
cat >>conftest.$ac_ext <<_ACEOF
|
2914 | |
/* end confdefs.h. */
|
2915 | |
/* Define curl_easy_setopt to an innocuous variant, in case <limits.h> declares curl_easy_setopt.
|
2916 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
2917 | |
#define curl_easy_setopt innocuous_curl_easy_setopt
|
2918 | |
|
2919 | |
/* System header to define __stub macros and hopefully few prototypes,
|
2920 | |
which can conflict with char curl_easy_setopt (); below.
|
2921 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
2922 | |
<limits.h> exists even on freestanding compilers. */
|
2923 | |
|
2924 | |
#ifdef __STDC__
|
2925 | |
# include <limits.h>
|
2926 | |
#else
|
2927 | |
# include <assert.h>
|
2928 | |
#endif
|
2929 | |
|
2930 | |
#undef curl_easy_setopt
|
2931 | |
|
2932 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
2933 | |
#ifdef __cplusplus
|
2934 | |
extern "C"
|
2935 | |
{
|
2936 | |
#endif
|
2937 | |
/* We use char because int might match the return type of a gcc2
|
2938 | |
builtin and then its argument prototype would still apply. */
|
2939 | |
char curl_easy_setopt ();
|
2940 | |
/* The GNU C library defines this for functions which it implements
|
2941 | |
to always fail with ENOSYS. Some functions are actually named
|
2942 | |
something starting with __ and the normal name is an alias. */
|
2943 | |
#if defined (__stub_curl_easy_setopt) || defined (__stub___curl_easy_setopt)
|
2944 | |
choke me
|
2945 | |
#else
|
2946 | |
char (*f) () = curl_easy_setopt;
|
2947 | |
#endif
|
2948 | |
#ifdef __cplusplus
|
2949 | |
}
|
2950 | |
#endif
|
2951 | |
|
2952 | |
int
|
2953 | |
main ()
|
2954 | |
{
|
2955 | |
return f != curl_easy_setopt;
|
2956 | |
;
|
2957 | |
return 0;
|
2958 | |
}
|
2959 | |
_ACEOF
|
2960 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
2961 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
2962 | |
(eval $ac_link) 2>conftest.er1
|
2963 | |
ac_status=$?
|
2964 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
2965 | |
rm -f conftest.er1
|
2966 | |
cat conftest.err >&5
|
2967 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2968 | |
(exit $ac_status); } &&
|
2969 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
2970 | |
|| test ! -s conftest.err'
|
2971 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2972 | |
(eval $ac_try) 2>&5
|
2973 | |
ac_status=$?
|
2974 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2975 | |
(exit $ac_status); }; } &&
|
2976 | |
{ ac_try='test -s conftest$ac_exeext'
|
2977 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
2978 | |
(eval $ac_try) 2>&5
|
2979 | |
ac_status=$?
|
2980 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
2981 | |
(exit $ac_status); }; }; then
|
2982 | |
ac_cv_func_curl_easy_setopt=yes
|
2983 | |
else
|
2984 | |
echo "$as_me: failed program was:" >&5
|
2985 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
2986 | |
|
2987 | |
ac_cv_func_curl_easy_setopt=no
|
2988 | |
fi
|
2989 | |
rm -f conftest.err conftest.$ac_objext \
|
2990 | |
conftest$ac_exeext conftest.$ac_ext
|
2991 | |
fi
|
2992 | |
echo "$as_me:$LINENO: result: $ac_cv_func_curl_easy_setopt" >&5
|
2993 | |
echo "${ECHO_T}$ac_cv_func_curl_easy_setopt" >&6
|
2994 | |
if test $ac_cv_func_curl_easy_setopt = yes; then
|
2995 | |
:
|
2996 | |
else
|
2997 | |
{ { echo "$as_me:$LINENO: error: cURL $check_min or newer required \
|
2998 | |
(cURL is available from http://curl.haxx.se/)" >&5
|
2999 | |
echo "$as_me: error: cURL $check_min or newer required \
|
3000 | |
(cURL is available from http://curl.haxx.se/)" >&2;}
|
3001 | |
{ (exit 1); exit 1; }; }
|
3002 | |
fi
|
3003 | |
|
3004 | |
|
3005 | |
echo "$as_me:$LINENO: checking for curl_easy_strerror" >&5
|
3006 | |
echo $ECHO_N "checking for curl_easy_strerror... $ECHO_C" >&6
|
3007 | |
if test "${ac_cv_func_curl_easy_strerror+set}" = set; then
|
3008 | |
echo $ECHO_N "(cached) $ECHO_C" >&6
|
3009 | |
else
|
3010 | |
cat >conftest.$ac_ext <<_ACEOF
|
3011 | |
/* confdefs.h. */
|
3012 | |
_ACEOF
|
3013 | |
cat confdefs.h >>conftest.$ac_ext
|
3014 | |
cat >>conftest.$ac_ext <<_ACEOF
|
3015 | |
/* end confdefs.h. */
|
3016 | |
/* Define curl_easy_strerror to an innocuous variant, in case <limits.h> declares curl_easy_strerror.
|
3017 | |
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
3018 | |
#define curl_easy_strerror innocuous_curl_easy_strerror
|
3019 | |
|
3020 | |
/* System header to define __stub macros and hopefully few prototypes,
|
3021 | |
which can conflict with char curl_easy_strerror (); below.
|
3022 | |
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
3023 | |
<limits.h> exists even on freestanding compilers. */
|
3024 | |
|
3025 | |
#ifdef __STDC__
|
3026 | |
# include <limits.h>
|
3027 | |
#else
|
3028 | |
# include <assert.h>
|
3029 | |
#endif
|
3030 | |
|
3031 | |
#undef curl_easy_strerror
|
3032 | |
|
3033 | |
/* Override any gcc2 internal prototype to avoid an error. */
|
3034 | |
#ifdef __cplusplus
|
3035 | |
extern "C"
|
3036 | |
{
|
3037 | |
#endif
|
3038 | |
/* We use char because int might match the return type of a gcc2
|
3039 | |
builtin and then its argument prototype would still apply. */
|
3040 | |
char curl_easy_strerror ();
|
3041 | |
/* The GNU C library defines this for functions which it implements
|
3042 | |
to always fail with ENOSYS. Some functions are actually named
|
3043 | |
something starting with __ and the normal name is an alias. */
|
3044 | |
#if defined (__stub_curl_easy_strerror) || defined (__stub___curl_easy_strerror)
|
3045 | |
choke me
|
3046 | |
#else
|
3047 | |
char (*f) () = curl_easy_strerror;
|
3048 | |
#endif
|
3049 | |
#ifdef __cplusplus
|
3050 | |
}
|
3051 | |
#endif
|
3052 | |
|
3053 | |
int
|
3054 | |
main ()
|
3055 | |
{
|
3056 | |
return f != curl_easy_strerror;
|
3057 | |
;
|
3058 | |
return 0;
|
3059 | |
}
|
3060 | |
_ACEOF
|
3061 | |
rm -f conftest.$ac_objext conftest$ac_exeext
|
3062 | |
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
|
3063 | |
(eval $ac_link) 2>conftest.er1
|
3064 | |
ac_status=$?
|
3065 | |
grep -v '^ *+' conftest.er1 >conftest.err
|
3066 | |
rm -f conftest.er1
|
3067 | |
cat conftest.err >&5
|
3068 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3069 | |
(exit $ac_status); } &&
|
3070 | |
{ ac_try='test -z "$ac_c_werror_flag"
|
3071 | |
|| test ! -s conftest.err'
|
3072 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3073 | |
(eval $ac_try) 2>&5
|
3074 | |
ac_status=$?
|
3075 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3076 | |
(exit $ac_status); }; } &&
|
3077 | |
{ ac_try='test -s conftest$ac_exeext'
|
3078 | |
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
3079 | |
(eval $ac_try) 2>&5
|
3080 | |
ac_status=$?
|
3081 | |
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
3082 | |
(exit $ac_status); }; }; then
|
3083 | |
ac_cv_func_curl_easy_strerror=yes
|
3084 | |
else
|
3085 | |
echo "$as_me: failed program was:" >&5
|
3086 | |
sed 's/^/| /' conftest.$ac_ext >&5
|
3087 | |
|
3088 | |
ac_cv_func_curl_easy_strerror=no
|
3089 | |
fi
|
3090 | |
rm -f conftest.err conftest.$ac_objext \
|
3091 | |
conftest$ac_exeext conftest.$ac_ext
|
3092 | |
fi
|
3093 | |
echo "$as_me:$LINENO: result: $ac_cv_func_curl_easy_strerror" >&5
|
3094 | |
echo "${ECHO_T}$ac_cv_func_curl_easy_strerror" >&6
|
3095 | |
if test $ac_cv_func_curl_easy_strerror = yes; then
|
3096 | |
:
|
|
3423 |
ac_fn_c_check_func "$LINENO" "curl_easy_setopt" "ac_cv_func_curl_easy_setopt"
|
|
3424 |
if test "x$ac_cv_func_curl_easy_setopt" = x""yes; then :
|
|
3425 |
|
|
3426 |
else
|
|
3427 |
as_fn_error "cURL $check_min or newer required \
|
|
3428 |
(cURL is available from http://curl.haxx.se/)" "$LINENO" 5
|
|
3429 |
fi
|
|
3430 |
|
|
3431 |
|
|
3432 |
ac_fn_c_check_func "$LINENO" "curl_easy_strerror" "ac_cv_func_curl_easy_strerror"
|
|
3433 |
if test "x$ac_cv_func_curl_easy_strerror" = x""yes; then :
|
|
3434 |
|
3097 | 3435 |
else
|
3098 | 3436 |
CURLCFLAGS="$CURLCFLAGS -D NEED_CURL_EASY_STRERROR"
|
3099 | 3437 |
fi
|
3100 | 3438 |
|
3101 | 3439 |
|
3102 | |
echo "$as_me:$LINENO: checking for cURL SSL support" >&5
|
3103 | |
echo $ECHO_N "checking for cURL SSL support... $ECHO_C" >&6
|
|
3440 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cURL SSL support" >&5
|
|
3441 |
$as_echo_n "checking for cURL SSL support... " >&6; }
|
3104 | 3442 |
if test XSSL != X`$CURL_CONFIG --feature|grep SSL`; then
|
3105 | |
{ { echo "$as_me:$LINENO: error: no SSL
|
3106 | |
cURL is available from http://curl.haxx.se/" >&5
|
3107 | |
echo "$as_me: error: no SSL
|
3108 | |
cURL is available from http://curl.haxx.se/" >&2;}
|
3109 | |
{ (exit 1); exit 1; }; }
|
3110 | |
else
|
3111 | |
echo "$as_me:$LINENO: result: yes" >&5
|
3112 | |
echo "${ECHO_T}yes" >&6
|
3113 | |
fi
|
3114 | |
|
3115 | |
ac_config_files="$ac_config_files Makefile"
|
|
3443 |
as_fn_error "no SSL
|
|
3444 |
cURL is available from http://curl.haxx.se/" "$LINENO" 5
|
|
3445 |
else
|
|
3446 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
3447 |
$as_echo "yes" >&6; }
|
|
3448 |
fi
|
|
3449 |
|
|
3450 |
ac_config_files="$ac_config_files Makefile"
|
|
3451 |
|
3116 | 3452 |
cat >confcache <<\_ACEOF
|
3117 | 3453 |
# This file is a shell script that caches the results of configure
|
3118 | 3454 |
# tests run on this system so they can be shared between configure
|
|
3131 | 3467 |
|
3132 | 3468 |
# The following way of writing the cache mishandles newlines in values,
|
3133 | 3469 |
# but we know of no workaround that is simple, portable, and efficient.
|
3134 | |
# So, don't put newlines in cache variables' values.
|
|
3470 |
# So, we kill variables containing newlines.
|
3135 | 3471 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
3136 | 3472 |
# and sets the high bit in the cache file unless we assign to the vars.
|
3137 | |
{
|
|
3473 |
(
|
|
3474 |
for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
|
|
3475 |
eval ac_val=\$$ac_var
|
|
3476 |
case $ac_val in #(
|
|
3477 |
*${as_nl}*)
|
|
3478 |
case $ac_var in #(
|
|
3479 |
*_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
|
|
3480 |
$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
|
|
3481 |
esac
|
|
3482 |
case $ac_var in #(
|
|
3483 |
_ | IFS | as_nl) ;; #(
|
|
3484 |
BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
|
|
3485 |
*) { eval $ac_var=; unset $ac_var;} ;;
|
|
3486 |
esac ;;
|
|
3487 |
esac
|
|
3488 |
done
|
|
3489 |
|
3138 | 3490 |
(set) 2>&1 |
|
3139 | |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
3140 | |
*ac_space=\ *)
|
3141 | |
# `set' does not quote correctly, so add quotes (double-quote
|
3142 | |
# substitution turns \\\\ into \\, and sed turns \\ into \).
|
|
3491 |
case $as_nl`(ac_space=' '; set) 2>&1` in #(
|
|
3492 |
*${as_nl}ac_space=\ *)
|
|
3493 |
# `set' does not quote correctly, so add quotes: double-quote
|
|
3494 |
# substitution turns \\\\ into \\, and sed turns \\ into \.
|
3143 | 3495 |
sed -n \
|
3144 | 3496 |
"s/'/'\\\\''/g;
|
3145 | 3497 |
s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
|
3146 | |
;;
|
|
3498 |
;; #(
|
3147 | 3499 |
*)
|
3148 | 3500 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
3149 | |
sed -n \
|
3150 | |
"s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
|
|
3501 |
sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
|
3151 | 3502 |
;;
|
3152 | |
esac;
|
3153 | |
} |
|
|
3503 |
esac |
|
|
3504 |
sort
|
|
3505 |
) |
|
3154 | 3506 |
sed '
|
|
3507 |
/^ac_cv_env_/b end
|
3155 | 3508 |
t clear
|
3156 | |
: clear
|
|
3509 |
:clear
|
3157 | 3510 |
s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
|
3158 | 3511 |
t end
|
3159 | |
/^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
3160 | |
: end' >>confcache
|
3161 | |
if diff $cache_file confcache >/dev/null 2>&1; then :; else
|
3162 | |
if test -w $cache_file; then
|
3163 | |
test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
|
|
3512 |
s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
|
|
3513 |
:end' >>confcache
|
|
3514 |
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
|
|
3515 |
if test -w "$cache_file"; then
|
|
3516 |
test "x$cache_file" != "x/dev/null" &&
|
|
3517 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
|
|
3518 |
$as_echo "$as_me: updating cache $cache_file" >&6;}
|
3164 | 3519 |
cat confcache >$cache_file
|
3165 | 3520 |
else
|
3166 | |
echo "not updating unwritable cache $cache_file"
|
|
3521 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
|
|
3522 |
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
|
3167 | 3523 |
fi
|
3168 | 3524 |
fi
|
3169 | 3525 |
rm -f confcache
|
|
3171 | 3527 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
3172 | 3528 |
# Let make expand exec_prefix.
|
3173 | 3529 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
3174 | |
|
3175 | |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
3176 | |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
3177 | |
# trailing colons and then remove the whole line if VPATH becomes empty
|
3178 | |
# (actually we leave an empty line to preserve line numbers).
|
3179 | |
if test "x$srcdir" = x.; then
|
3180 | |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
3181 | |
s/:*\$(srcdir):*/:/;
|
3182 | |
s/:*\${srcdir}:*/:/;
|
3183 | |
s/:*@srcdir@:*/:/;
|
3184 | |
s/^\([^=]*=[ ]*\):*/\1/;
|
3185 | |
s/:*$//;
|
3186 | |
s/^[^=]*=[ ]*$//;
|
3187 | |
}'
|
3188 | |
fi
|
3189 | 3530 |
|
3190 | 3531 |
# Transform confdefs.h into DEFS.
|
3191 | 3532 |
# Protect against shell expansion while executing Makefile rules.
|
3192 | 3533 |
# Protect against Makefile macro expansion.
|
3193 | 3534 |
#
|
3194 | 3535 |
# If the first sed substitution is executed (which looks for macros that
|
3195 | |
# take arguments), then we branch to the quote section. Otherwise,
|
|
3536 |
# take arguments), then branch to the quote section. Otherwise,
|
3196 | 3537 |
# look for a macro that doesn't take arguments.
|
3197 | |
cat >confdef2opt.sed <<\_ACEOF
|
|
3538 |
ac_script='
|
|
3539 |
:mline
|
|
3540 |
/\\$/{
|
|
3541 |
N
|
|
3542 |
s,\\\n,,
|
|
3543 |
b mline
|
|
3544 |
}
|
3198 | 3545 |
t clear
|
3199 | |
: clear
|
3200 | |
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
|
|
3546 |
:clear
|
|
3547 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
|
3201 | 3548 |
t quote
|
3202 | |
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
|
|
3549 |
s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
|
3203 | 3550 |
t quote
|
3204 | |
d
|
3205 | |
: quote
|
3206 | |
s,[ `~#$^&*(){}\\|;'"<>?],\\&,g
|
3207 | |
s,\[,\\&,g
|
3208 | |
s,\],\\&,g
|
3209 | |
s,\$,$$,g
|
3210 | |
p
|
3211 | |
_ACEOF
|
3212 | |
# We use echo to avoid assuming a particular line-breaking character.
|
3213 | |
# The extra dot is to prevent the shell from consuming trailing
|
3214 | |
# line-breaks from the sub-command output. A line-break within
|
3215 | |
# single-quotes doesn't work because, if this script is created in a
|
3216 | |
# platform that uses two characters for line-breaks (e.g., DOS), tr
|
3217 | |
# would break.
|
3218 | |
ac_LF_and_DOT=`echo; echo .`
|
3219 | |
DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'`
|
3220 | |
rm -f confdef2opt.sed
|
|
3551 |
b any
|
|
3552 |
:quote
|
|
3553 |
s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
|
|
3554 |
s/\[/\\&/g
|
|
3555 |
s/\]/\\&/g
|
|
3556 |
s/\$/$$/g
|
|
3557 |
H
|
|
3558 |
:any
|
|
3559 |
${
|
|
3560 |
g
|
|
3561 |
s/^\n//
|
|
3562 |
s/\n/ /g
|
|
3563 |
p
|
|
3564 |
}
|
|
3565 |
'
|
|
3566 |
DEFS=`sed -n "$ac_script" confdefs.h`
|
3221 | 3567 |
|
3222 | 3568 |
|
3223 | 3569 |
ac_libobjs=
|
3224 | 3570 |
ac_ltlibobjs=
|
3225 | 3571 |
for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
|
3226 | 3572 |
# 1. Remove the extension, and $U if already installed.
|
3227 | |
ac_i=`echo "$ac_i" |
|
3228 | |
sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
|
3229 | |
# 2. Add them.
|
3230 | |
ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
|
3231 | |
ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
|
|
3573 |
ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
|
|
3574 |
ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
|
|
3575 |
# 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
|
|
3576 |
# will be set to the directory where LIBOBJS objects are built.
|
|
3577 |
as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
|
|
3578 |
as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
|
3232 | 3579 |
done
|
3233 | 3580 |
LIBOBJS=$ac_libobjs
|
3234 | 3581 |
|
3235 | 3582 |
LTLIBOBJS=$ac_ltlibobjs
|
3236 | 3583 |
|
3237 | 3584 |
|
|
3585 |
if test -n "$EXEEXT"; then
|
|
3586 |
am__EXEEXT_TRUE=
|
|
3587 |
am__EXEEXT_FALSE='#'
|
|
3588 |
else
|
|
3589 |
am__EXEEXT_TRUE='#'
|
|
3590 |
am__EXEEXT_FALSE=
|
|
3591 |
fi
|
|
3592 |
|
3238 | 3593 |
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
|
3239 | |
{ { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
|
3240 | |
Usually this means the macro was only invoked conditionally." >&5
|
3241 | |
echo "$as_me: error: conditional \"AMDEP\" was never defined.
|
3242 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
3243 | |
{ (exit 1); exit 1; }; }
|
|
3594 |
as_fn_error "conditional \"AMDEP\" was never defined.
|
|
3595 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
3244 | 3596 |
fi
|
3245 | 3597 |
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
|
3246 | |
{ { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
|
3247 | |
Usually this means the macro was only invoked conditionally." >&5
|
3248 | |
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
|
3249 | |
Usually this means the macro was only invoked conditionally." >&2;}
|
3250 | |
{ (exit 1); exit 1; }; }
|
|
3598 |
as_fn_error "conditional \"am__fastdepCC\" was never defined.
|
|
3599 |
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
3251 | 3600 |
fi
|
3252 | 3601 |
|
3253 | 3602 |
: ${CONFIG_STATUS=./config.status}
|
|
3603 |
ac_write_fail=0
|
3254 | 3604 |
ac_clean_files_save=$ac_clean_files
|
3255 | 3605 |
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
|
3256 | |
{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
|
3257 | |
echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
3258 | |
cat >$CONFIG_STATUS <<_ACEOF
|
|
3606 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
|
|
3607 |
$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
|
|
3608 |
as_write_fail=0
|
|
3609 |
cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
|
3259 | 3610 |
#! $SHELL
|
3260 | 3611 |
# Generated by $as_me.
|
3261 | 3612 |
# Run this file to recreate the current configuration.
|
|
3265 | 3616 |
debug=false
|
3266 | 3617 |
ac_cs_recheck=false
|
3267 | 3618 |
ac_cs_silent=false
|
|
3619 |
|
3268 | 3620 |
SHELL=\${CONFIG_SHELL-$SHELL}
|
3269 | |
_ACEOF
|
3270 | |
|
3271 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
3272 | |
## --------------------- ##
|
3273 | |
## M4sh Initialization. ##
|
3274 | |
## --------------------- ##
|
3275 | |
|
3276 | |
# Be Bourne compatible
|
3277 | |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
|
|
3621 |
export SHELL
|
|
3622 |
_ASEOF
|
|
3623 |
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
|
|
3624 |
## -------------------- ##
|
|
3625 |
## M4sh Initialization. ##
|
|
3626 |
## -------------------- ##
|
|
3627 |
|
|
3628 |
# Be more Bourne compatible
|
|
3629 |
DUALCASE=1; export DUALCASE # for MKS sh
|
|
3630 |
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
|
3278 | 3631 |
emulate sh
|
3279 | 3632 |
NULLCMD=:
|
3280 | |
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
|
|
3633 |
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
|
3281 | 3634 |
# is contrary to our usage. Disable this feature.
|
3282 | 3635 |
alias -g '${1+"$@"}'='"$@"'
|
3283 | |
elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
|
3284 | |
set -o posix
|
3285 | |
fi
|
3286 | |
DUALCASE=1; export DUALCASE # for MKS sh
|
3287 | |
|
3288 | |
# Support unset when possible.
|
3289 | |
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
|
3290 | |
as_unset=unset
|
3291 | |
else
|
3292 | |
as_unset=false
|
3293 | |
fi
|
3294 | |
|
3295 | |
|
3296 | |
# Work around bugs in pre-3.0 UWIN ksh.
|
3297 | |
$as_unset ENV MAIL MAILPATH
|
|
3636 |
setopt NO_GLOB_SUBST
|
|
3637 |
else
|
|
3638 |
case `(set -o) 2>/dev/null` in #(
|
|
3639 |
*posix*) :
|
|
3640 |
set -o posix ;; #(
|
|
3641 |
*) :
|
|
3642 |
;;
|
|
3643 |
esac
|
|
3644 |
fi
|
|
3645 |
|
|
3646 |
|
|
3647 |
as_nl='
|
|
3648 |
'
|
|
3649 |
export as_nl
|
|
3650 |
# Printing a long string crashes Solaris 7 /usr/bin/printf.
|
|
3651 |
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
|
|
3652 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
3653 |
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
|
|
3654 |
# Prefer a ksh shell builtin over an external printf program on Solaris,
|
|
3655 |
# but without wasting forks for bash or zsh.
|
|
3656 |
if test -z "$BASH_VERSION$ZSH_VERSION" \
|
|
3657 |
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
3658 |
as_echo='print -r --'
|
|
3659 |
as_echo_n='print -rn --'
|
|
3660 |
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
|
|
3661 |
as_echo='printf %s\n'
|
|
3662 |
as_echo_n='printf %s'
|
|
3663 |
else
|
|
3664 |
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
|
|
3665 |
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
|
|
3666 |
as_echo_n='/usr/ucb/echo -n'
|
|
3667 |
else
|
|
3668 |
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
|
|
3669 |
as_echo_n_body='eval
|
|
3670 |
arg=$1;
|
|
3671 |
case $arg in #(
|
|
3672 |
*"$as_nl"*)
|
|
3673 |
expr "X$arg" : "X\\(.*\\)$as_nl";
|
|
3674 |
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
|
|
3675 |
esac;
|
|
3676 |
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
|
|
3677 |
'
|
|
3678 |
export as_echo_n_body
|
|
3679 |
as_echo_n='sh -c $as_echo_n_body as_echo'
|
|
3680 |
fi
|
|
3681 |
export as_echo_body
|
|
3682 |
as_echo='sh -c $as_echo_body as_echo'
|
|
3683 |
fi
|
|
3684 |
|
|
3685 |
# The user is always right.
|
|
3686 |
if test "${PATH_SEPARATOR+set}" != set; then
|
|
3687 |
PATH_SEPARATOR=:
|
|
3688 |
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
|
|
3689 |
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
|
|
3690 |
PATH_SEPARATOR=';'
|
|
3691 |
}
|
|
3692 |
fi
|
|
3693 |
|
|
3694 |
|
|
3695 |
# IFS
|
|
3696 |
# We need space, tab and new line, in precisely that order. Quoting is
|
|
3697 |
# there to prevent editors from complaining about space-tab.
|
|
3698 |
# (If _AS_PATH_WALK were called with IFS unset, it would disable word
|
|
3699 |
# splitting by setting IFS to empty value.)
|
|
3700 |
IFS=" "" $as_nl"
|
|
3701 |
|
|
3702 |
# Find who we are. Look in the path if we contain no directory separator.
|
|
3703 |
case $0 in #((
|
|
3704 |
*[\\/]* ) as_myself=$0 ;;
|
|
3705 |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
|
3706 |
for as_dir in $PATH
|
|
3707 |
do
|
|
3708 |
IFS=$as_save_IFS
|
|
3709 |
test -z "$as_dir" && as_dir=.
|
|
3710 |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
|
3711 |
done
|
|
3712 |
IFS=$as_save_IFS
|
|
3713 |
|
|
3714 |
;;
|
|
3715 |
esac
|
|
3716 |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
|
3717 |
# in which case we are not to be found in the path.
|
|
3718 |
if test "x$as_myself" = x; then
|
|
3719 |
as_myself=$0
|
|
3720 |
fi
|
|
3721 |
if test ! -f "$as_myself"; then
|
|
3722 |
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
|
|
3723 |
exit 1
|
|
3724 |
fi
|
|
3725 |
|
|
3726 |
# Unset variables that we do not need and which cause bugs (e.g. in
|
|
3727 |
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
|
|
3728 |
# suppresses any "Segmentation fault" message there. '((' could
|
|
3729 |
# trigger a bug in pdksh 5.2.14.
|
|
3730 |
for as_var in BASH_ENV ENV MAIL MAILPATH
|
|
3731 |
do eval test x\${$as_var+set} = xset \
|
|
3732 |
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
|
|
3733 |
done
|
3298 | 3734 |
PS1='$ '
|
3299 | 3735 |
PS2='> '
|
3300 | 3736 |
PS4='+ '
|
3301 | 3737 |
|
3302 | 3738 |
# NLS nuisances.
|
3303 | |
for as_var in \
|
3304 | |
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
|
3305 | |
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
|
3306 | |
LC_TELEPHONE LC_TIME
|
3307 | |
do
|
3308 | |
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
|
3309 | |
eval $as_var=C; export $as_var
|
3310 | |
else
|
3311 | |
$as_unset $as_var
|
|
3739 |
LC_ALL=C
|
|
3740 |
export LC_ALL
|
|
3741 |
LANGUAGE=C
|
|
3742 |
export LANGUAGE
|
|
3743 |
|
|
3744 |
# CDPATH.
|
|
3745 |
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
|
|
3746 |
|
|
3747 |
|
|
3748 |
# as_fn_error ERROR [LINENO LOG_FD]
|
|
3749 |
# ---------------------------------
|
|
3750 |
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
|
|
3751 |
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
|
|
3752 |
# script with status $?, using 1 if that was 0.
|
|
3753 |
as_fn_error ()
|
|
3754 |
{
|
|
3755 |
as_status=$?; test $as_status -eq 0 && as_status=1
|
|
3756 |
if test "$3"; then
|
|
3757 |
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
|
|
3758 |
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
|
3312 | 3759 |
fi
|
3313 | |
done
|
3314 | |
|
3315 | |
# Required to use basename.
|
3316 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
|
3760 |
$as_echo "$as_me: error: $1" >&2
|
|
3761 |
as_fn_exit $as_status
|
|
3762 |
} # as_fn_error
|
|
3763 |
|
|
3764 |
|
|
3765 |
# as_fn_set_status STATUS
|
|
3766 |
# -----------------------
|
|
3767 |
# Set $? to STATUS, without forking.
|
|
3768 |
as_fn_set_status ()
|
|
3769 |
{
|
|
3770 |
return $1
|
|
3771 |
} # as_fn_set_status
|
|
3772 |
|
|
3773 |
# as_fn_exit STATUS
|
|
3774 |
# -----------------
|
|
3775 |
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
|
|
3776 |
as_fn_exit ()
|
|
3777 |
{
|
|
3778 |
set +e
|
|
3779 |
as_fn_set_status $1
|
|
3780 |
exit $1
|
|
3781 |
} # as_fn_exit
|
|
3782 |
|
|
3783 |
# as_fn_unset VAR
|
|
3784 |
# ---------------
|
|
3785 |
# Portably unset VAR.
|
|
3786 |
as_fn_unset ()
|
|
3787 |
{
|
|
3788 |
{ eval $1=; unset $1;}
|
|
3789 |
}
|
|
3790 |
as_unset=as_fn_unset
|
|
3791 |
# as_fn_append VAR VALUE
|
|
3792 |
# ----------------------
|
|
3793 |
# Append the text in VALUE to the end of the definition contained in VAR. Take
|
|
3794 |
# advantage of any shell optimizations that allow amortized linear growth over
|
|
3795 |
# repeated appends, instead of the typical quadratic growth present in naive
|
|
3796 |
# implementations.
|
|
3797 |
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
|
|
3798 |
eval 'as_fn_append ()
|
|
3799 |
{
|
|
3800 |
eval $1+=\$2
|
|
3801 |
}'
|
|
3802 |
else
|
|
3803 |
as_fn_append ()
|
|
3804 |
{
|
|
3805 |
eval $1=\$$1\$2
|
|
3806 |
}
|
|
3807 |
fi # as_fn_append
|
|
3808 |
|
|
3809 |
# as_fn_arith ARG...
|
|
3810 |
# ------------------
|
|
3811 |
# Perform arithmetic evaluation on the ARGs, and store the result in the
|
|
3812 |
# global $as_val. Take advantage of shells that can avoid forks. The arguments
|
|
3813 |
# must be portable across $(()) and expr.
|
|
3814 |
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
|
|
3815 |
eval 'as_fn_arith ()
|
|
3816 |
{
|
|
3817 |
as_val=$(( $* ))
|
|
3818 |
}'
|
|
3819 |
else
|
|
3820 |
as_fn_arith ()
|
|
3821 |
{
|
|
3822 |
as_val=`expr "$@" || test $? -eq 1`
|
|
3823 |
}
|
|
3824 |
fi # as_fn_arith
|
|
3825 |
|
|
3826 |
|
|
3827 |
if expr a : '\(a\)' >/dev/null 2>&1 &&
|
|
3828 |
test "X`expr 00001 : '.*\(...\)'`" = X001; then
|
3317 | 3829 |
as_expr=expr
|
3318 | 3830 |
else
|
3319 | 3831 |
as_expr=false
|
3320 | 3832 |
fi
|
3321 | 3833 |
|
3322 | |
if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
|
|
3834 |
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
|
3323 | 3835 |
as_basename=basename
|
3324 | 3836 |
else
|
3325 | 3837 |
as_basename=false
|
3326 | 3838 |
fi
|
3327 | 3839 |
|
3328 | |
|
3329 | |
# Name of the executable.
|
3330 | |
as_me=`$as_basename "$0" ||
|
|
3840 |
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
|
|
3841 |
as_dirname=dirname
|
|
3842 |
else
|
|
3843 |
as_dirname=false
|
|
3844 |
fi
|
|
3845 |
|
|
3846 |
as_me=`$as_basename -- "$0" ||
|
3331 | 3847 |
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
|
3332 | 3848 |
X"$0" : 'X\(//\)$' \| \
|
3333 | |
X"$0" : 'X\(/\)$' \| \
|
3334 | |
. : '\(.\)' 2>/dev/null ||
|
3335 | |
echo X/"$0" |
|
3336 | |
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
|
3337 | |
/^X\/\(\/\/\)$/{ s//\1/; q; }
|
3338 | |
/^X\/\(\/\).*/{ s//\1/; q; }
|
3339 | |
s/.*/./; q'`
|
3340 | |
|
3341 | |
|
3342 | |
# PATH needs CR, and LINENO needs CR and PATH.
|
|
3849 |
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
|
|
3850 |
$as_echo X/"$0" |
|
|
3851 |
sed '/^.*\/\([^/][^/]*\)\/*$/{
|
|
3852 |
s//\1/
|
|
3853 |
q
|
|
3854 |
}
|
|
3855 |
/^X\/\(\/\/\)$/{
|
|
3856 |
s//\1/
|
|
3857 |
q
|
|
3858 |
}
|
|
3859 |
/^X\/\(\/\).*/{
|
|
3860 |
s//\1/
|
|
3861 |
q
|
|
3862 |
}
|
|
3863 |
s/.*/./; q'`
|
|
3864 |
|
3343 | 3865 |
# Avoid depending upon Character Ranges.
|
3344 | 3866 |
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
|
3345 | 3867 |
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
|
|
3347 | 3869 |
as_cr_digits='0123456789'
|
3348 | 3870 |
as_cr_alnum=$as_cr_Letters$as_cr_digits
|
3349 | 3871 |
|
3350 | |
# The user is always right.
|
3351 | |
if test "${PATH_SEPARATOR+set}" != set; then
|
3352 | |
echo "#! /bin/sh" >conf$$.sh
|
3353 | |
echo "exit 0" >>conf$$.sh
|
3354 | |
chmod +x conf$$.sh
|
3355 | |
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
|
3356 | |
PATH_SEPARATOR=';'
|
|
3872 |
ECHO_C= ECHO_N= ECHO_T=
|
|
3873 |
case `echo -n x` in #(((((
|
|
3874 |
-n*)
|
|
3875 |
case `echo 'xy\c'` in
|
|
3876 |
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
|
|
3877 |
xy) ECHO_C='\c';;
|
|
3878 |
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
|
|
3879 |
ECHO_T=' ';;
|
|
3880 |
esac;;
|
|
3881 |
*)
|
|
3882 |
ECHO_N='-n';;
|
|
3883 |
esac
|
|
3884 |
|
|
3885 |
rm -f conf$$ conf$$.exe conf$$.file
|
|
3886 |
if test -d conf$$.dir; then
|
|
3887 |
rm -f conf$$.dir/conf$$.file
|
|
3888 |
else
|
|
3889 |
rm -f conf$$.dir
|
|
3890 |
mkdir conf$$.dir 2>/dev/null
|
|
3891 |
fi
|
|
3892 |
if (echo >conf$$.file) 2>/dev/null; then
|
|
3893 |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
|
3894 |
as_ln_s='ln -s'
|
|
3895 |
# ... but there are two gotchas:
|
|
3896 |
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
|
|
3897 |
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
|
|
3898 |
# In both cases, we have to default to `cp -p'.
|
|
3899 |
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
|
|
3900 |
as_ln_s='cp -p'
|
|
3901 |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
|
3902 |
as_ln_s=ln
|
3357 | 3903 |
else
|
3358 | |
PATH_SEPARATOR=:
|
|
3904 |
as_ln_s='cp -p'
|
3359 | 3905 |
fi
|
3360 | |
rm -f conf$$.sh
|
3361 | |
fi
|
3362 | |
|
3363 | |
|
3364 | |
as_lineno_1=$LINENO
|
3365 | |
as_lineno_2=$LINENO
|
3366 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
3367 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
3368 | |
test "x$as_lineno_3" = "x$as_lineno_2" || {
|
3369 | |
# Find who we are. Look in the path if we contain no path at all
|
3370 | |
# relative or not.
|
3371 | |
case $0 in
|
3372 | |
*[\\/]* ) as_myself=$0 ;;
|
3373 | |
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3374 | |
for as_dir in $PATH
|
3375 | |
do
|
3376 | |
IFS=$as_save_IFS
|
3377 | |
test -z "$as_dir" && as_dir=.
|
3378 | |
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
|
3379 | |
done
|
3380 | |
|
3381 | |
;;
|
|
3906 |
else
|
|
3907 |
as_ln_s='cp -p'
|
|
3908 |
fi
|
|
3909 |
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
|
|
3910 |
rmdir conf$$.dir 2>/dev/null
|
|
3911 |
|
|
3912 |
|
|
3913 |
# as_fn_mkdir_p
|
|
3914 |
# -------------
|
|
3915 |
# Create "$as_dir" as a directory, including parents if necessary.
|
|
3916 |
as_fn_mkdir_p ()
|
|
3917 |
{
|
|
3918 |
|
|
3919 |
case $as_dir in #(
|
|
3920 |
-*) as_dir=./$as_dir;;
|
3382 | 3921 |
esac
|
3383 | |
# We did not find ourselves, most probably we were run as `sh COMMAND'
|
3384 | |
# in which case we are not to be found in the path.
|
3385 | |
if test "x$as_myself" = x; then
|
3386 | |
as_myself=$0
|
3387 | |
fi
|
3388 | |
if test ! -f "$as_myself"; then
|
3389 | |
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
|
3390 | |
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
|
3391 | |
{ (exit 1); exit 1; }; }
|
3392 | |
fi
|
3393 | |
case $CONFIG_SHELL in
|
3394 | |
'')
|
3395 | |
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
|
3396 | |
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
|
3397 | |
do
|
3398 | |
IFS=$as_save_IFS
|
3399 | |
test -z "$as_dir" && as_dir=.
|
3400 | |
for as_base in sh bash ksh sh5; do
|
3401 | |
case $as_dir in
|
3402 | |
/*)
|
3403 | |
if ("$as_dir/$as_base" -c '
|
3404 | |
as_lineno_1=$LINENO
|
3405 | |
as_lineno_2=$LINENO
|
3406 | |
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
|
3407 | |
test "x$as_lineno_1" != "x$as_lineno_2" &&
|
3408 | |
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
|
3409 | |
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
|
3410 | |
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
|
3411 | |
CONFIG_SHELL=$as_dir/$as_base
|
3412 | |
export CONFIG_SHELL
|
3413 | |
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
|
3414 | |
fi;;
|
3415 | |
esac
|
3416 | |
done
|
3417 | |
done
|
3418 | |
;;
|
3419 | |
esac
|
3420 | |
|
3421 | |
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
|
3422 | |
# uniformly replaced by the line number. The first 'sed' inserts a
|
3423 | |
# line-number line before each line; the second 'sed' does the real
|
3424 | |
# work. The second script uses 'N' to pair each line-number line
|
3425 | |
# with the numbered line, and appends trailing '-' during
|
3426 | |
# substitution so that $LINENO is not a special case at line end.
|
3427 | |
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
|
3428 | |
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
|
3429 | |
sed '=' <$as_myself |
|
3430 | |
sed '
|
3431 | |
N
|
3432 | |
s,$,-,
|
3433 | |
: loop
|
3434 | |
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
|
3435 | |
t loop
|
3436 | |
s,-$,,
|
3437 | |
s,^['$as_cr_digits']*\n,,
|
3438 | |
' >$as_me.lineno &&
|
3439 | |
chmod +x $as_me.lineno ||
|
3440 | |
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
|
3441 | |
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
|
3442 | |
{ (exit 1); exit 1; }; }
|
3443 | |
|
3444 | |
# Don't try to exec as it changes $[0], causing all sort of problems
|
3445 | |
# (the dirname of $[0] is not the place where we might find the
|
3446 | |
# original and so on. Autoconf is especially sensible to this).
|
3447 | |
. ./$as_me.lineno
|
3448 | |
# Exit status is that of the last command.
|
3449 | |
exit
|
3450 | |
}
|
3451 | |
|
3452 | |
|
3453 | |
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
|
3454 | |
*c*,-n*) ECHO_N= ECHO_C='
|
3455 | |
' ECHO_T=' ' ;;
|
3456 | |
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
|
3457 | |
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
|
3458 | |
esac
|
3459 | |
|
3460 | |
if expr a : '\(a\)' >/dev/null 2>&1; then
|
3461 | |
as_expr=expr
|
3462 | |
else
|
3463 | |
as_expr=false
|
3464 | |
fi
|
3465 | |
|
3466 | |
rm -f conf$$ conf$$.exe conf$$.file
|
3467 | |
echo >conf$$.file
|
3468 | |
if ln -s conf$$.file conf$$ 2>/dev/null; then
|
3469 | |
# We could just check for DJGPP; but this test a) works b) is more generic
|
3470 | |
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
|
3471 | |
if test -f conf$$.exe; then
|
3472 | |
# Don't use ln at all; we don't have any links
|
3473 | |
as_ln_s='cp -p'
|
3474 | |
else
|
3475 | |
as_ln_s='ln -s'
|
3476 | |
fi
|
3477 | |
elif ln conf$$.file conf$$ 2>/dev/null; then
|
3478 | |
as_ln_s=ln
|
3479 | |
else
|
3480 | |
as_ln_s='cp -p'
|
3481 | |
fi
|
3482 | |
rm -f conf$$ conf$$.exe conf$$.file
|
3483 | |
|
|
3922 |
test -d "$as_dir" || eval $as_mkdir_p || {
|
|
3923 |
as_dirs=
|
|
3924 |
while :; do
|
|
3925 |
case $as_dir in #(
|
|
3926 |
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
|
|
3927 |
*) as_qdir=$as_dir;;
|
|
3928 |
esac
|
|
3929 |
as_dirs="'$as_qdir' $as_dirs"
|
|
3930 |
as_dir=`$as_dirname -- "$as_dir" ||
|
|
3931 |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
|
3932 |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
|
3933 |
X"$as_dir" : 'X\(//\)$' \| \
|
|
3934 |
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
|
|
3935 |
$as_echo X"$as_dir" |
|
|
3936 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
3937 |
s//\1/
|
|
3938 |
q
|
|
3939 |
}
|
|
3940 |
/^X\(\/\/\)[^/].*/{
|
|
3941 |
s//\1/
|
|
3942 |
q
|
|
3943 |
}
|
|
3944 |
/^X\(\/\/\)$/{
|
|
3945 |
s//\1/
|
|
3946 |
q
|
|
3947 |
}
|
|
3948 |
/^X\(\/\).*/{
|
|
3949 |
s//\1/
|
|
3950 |
q
|
|
3951 |
}
|
|
3952 |
s/.*/./; q'`
|
|
3953 |
test -d "$as_dir" && break
|
|
3954 |
done
|
|
3955 |
test -z "$as_dirs" || eval "mkdir $as_dirs"
|
|
3956 |
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
|
|
3957 |
|
|
3958 |
|
|
3959 |
} # as_fn_mkdir_p
|
3484 | 3960 |
if mkdir -p . 2>/dev/null; then
|
3485 | |
as_mkdir_p=:
|
|
3961 |
as_mkdir_p='mkdir -p "$as_dir"'
|
3486 | 3962 |
else
|
3487 | 3963 |
test -d ./-p && rmdir ./-p
|
3488 | 3964 |
as_mkdir_p=false
|
3489 | 3965 |
fi
|
3490 | 3966 |
|
3491 | |
as_executable_p="test -f"
|
|
3967 |
if test -x / >/dev/null 2>&1; then
|
|
3968 |
as_test_x='test -x'
|
|
3969 |
else
|
|
3970 |
if ls -dL / >/dev/null 2>&1; then
|
|
3971 |
as_ls_L_option=L
|
|
3972 |
else
|
|
3973 |
as_ls_L_option=
|
|
3974 |
fi
|
|
3975 |
as_test_x='
|
|
3976 |
eval sh -c '\''
|
|
3977 |
if test -d "$1"; then
|
|
3978 |
test -d "$1/.";
|
|
3979 |
else
|
|
3980 |
case $1 in #(
|
|
3981 |
-*)set "./$1";;
|
|
3982 |
esac;
|
|
3983 |
case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
|
|
3984 |
???[sx]*):;;*)false;;esac;fi
|
|
3985 |
'\'' sh
|
|
3986 |
'
|
|
3987 |
fi
|
|
3988 |
as_executable_p=$as_test_x
|
3492 | 3989 |
|
3493 | 3990 |
# Sed expression to map a string onto a valid CPP name.
|
3494 | 3991 |
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
|
|
3497 | 3994 |
as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
|
3498 | 3995 |
|
3499 | 3996 |
|
3500 | |
# IFS
|
3501 | |
# We need space, tab and new line, in precisely that order.
|
3502 | |
as_nl='
|
3503 | |
'
|
3504 | |
IFS=" $as_nl"
|
3505 | |
|
3506 | |
# CDPATH.
|
3507 | |
$as_unset CDPATH
|
3508 | |
|
3509 | 3997 |
exec 6>&1
|
3510 | |
|
3511 | |
# Open the log real soon, to keep \$[0] and so on meaningful, and to
|
|
3998 |
## ----------------------------------- ##
|
|
3999 |
## Main body of $CONFIG_STATUS script. ##
|
|
4000 |
## ----------------------------------- ##
|
|
4001 |
_ASEOF
|
|
4002 |
test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
|
|
4003 |
|
|
4004 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4005 |
# Save the log message, to keep $0 and so on meaningful, and to
|
3512 | 4006 |
# report actual input values of CONFIG_FILES etc. instead of their
|
3513 | |
# values after options handling. Logging --version etc. is OK.
|
|
4007 |
# values after options handling.
|
|
4008 |
ac_log="
|
|
4009 |
This file was extended by $as_me, which was
|
|
4010 |
generated by GNU Autoconf 2.64. Invocation command line was
|
|
4011 |
|
|
4012 |
CONFIG_FILES = $CONFIG_FILES
|
|
4013 |
CONFIG_HEADERS = $CONFIG_HEADERS
|
|
4014 |
CONFIG_LINKS = $CONFIG_LINKS
|
|
4015 |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
|
4016 |
$ $0 $@
|
|
4017 |
|
|
4018 |
on `(hostname || uname -n) 2>/dev/null | sed 1q`
|
|
4019 |
"
|
|
4020 |
|
|
4021 |
_ACEOF
|
|
4022 |
|
|
4023 |
case $ac_config_files in *"
|
|
4024 |
"*) set x $ac_config_files; shift; ac_config_files=$*;;
|
|
4025 |
esac
|
|
4026 |
|
|
4027 |
|
|
4028 |
|
|
4029 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4030 |
# Files that config.status was made for.
|
|
4031 |
config_files="$ac_config_files"
|
|
4032 |
config_commands="$ac_config_commands"
|
|
4033 |
|
|
4034 |
_ACEOF
|
|
4035 |
|
|
4036 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4037 |
ac_cs_usage="\
|
|
4038 |
\`$as_me' instantiates files and other configuration actions
|
|
4039 |
from templates according to the current configuration. Unless the files
|
|
4040 |
and actions are specified as TAGs, all are instantiated by default.
|
|
4041 |
|
|
4042 |
Usage: $0 [OPTION]... [TAG]...
|
|
4043 |
|
|
4044 |
-h, --help print this help, then exit
|
|
4045 |
-V, --version print version number and configuration settings, then exit
|
|
4046 |
-q, --quiet, --silent
|
|
4047 |
do not print progress messages
|
|
4048 |
-d, --debug don't remove temporary files
|
|
4049 |
--recheck update $as_me by reconfiguring in the same conditions
|
|
4050 |
--file=FILE[:TEMPLATE]
|
|
4051 |
instantiate the configuration file FILE
|
|
4052 |
|
|
4053 |
Configuration files:
|
|
4054 |
$config_files
|
|
4055 |
|
|
4056 |
Configuration commands:
|
|
4057 |
$config_commands
|
|
4058 |
|
|
4059 |
Report bugs to the package provider."
|
|
4060 |
|
|
4061 |
_ACEOF
|
|
4062 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4063 |
ac_cs_version="\\
|
|
4064 |
config.status
|
|
4065 |
configured by $0, generated by GNU Autoconf 2.64,
|
|
4066 |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
|
|
4067 |
|
|
4068 |
Copyright (C) 2009 Free Software Foundation, Inc.
|
|
4069 |
This config.status script is free software; the Free Software Foundation
|
|
4070 |
gives unlimited permission to copy, distribute and modify it."
|
|
4071 |
|
|
4072 |
ac_pwd='$ac_pwd'
|
|
4073 |
srcdir='$srcdir'
|
|
4074 |
INSTALL='$INSTALL'
|
|
4075 |
MKDIR_P='$MKDIR_P'
|
|
4076 |
AWK='$AWK'
|
|
4077 |
test -n "\$AWK" || AWK=awk
|
|
4078 |
_ACEOF
|
|
4079 |
|
|
4080 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4081 |
# The default lists apply if the user does not specify any file.
|
|
4082 |
ac_need_defaults=:
|
|
4083 |
while test $# != 0
|
|
4084 |
do
|
|
4085 |
case $1 in
|
|
4086 |
--*=*)
|
|
4087 |
ac_option=`expr "X$1" : 'X\([^=]*\)='`
|
|
4088 |
ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
|
|
4089 |
ac_shift=:
|
|
4090 |
;;
|
|
4091 |
*)
|
|
4092 |
ac_option=$1
|
|
4093 |
ac_optarg=$2
|
|
4094 |
ac_shift=shift
|
|
4095 |
;;
|
|
4096 |
esac
|
|
4097 |
|
|
4098 |
case $ac_option in
|
|
4099 |
# Handling of the options.
|
|
4100 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
4101 |
ac_cs_recheck=: ;;
|
|
4102 |
--version | --versio | --versi | --vers | --ver | --ve | --v | -V )
|
|
4103 |
$as_echo "$ac_cs_version"; exit ;;
|
|
4104 |
--debug | --debu | --deb | --de | --d | -d )
|
|
4105 |
debug=: ;;
|
|
4106 |
--file | --fil | --fi | --f )
|
|
4107 |
$ac_shift
|
|
4108 |
case $ac_optarg in
|
|
4109 |
*\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
|
|
4110 |
esac
|
|
4111 |
as_fn_append CONFIG_FILES " '$ac_optarg'"
|
|
4112 |
ac_need_defaults=false;;
|
|
4113 |
--he | --h | --help | --hel | -h )
|
|
4114 |
$as_echo "$ac_cs_usage"; exit ;;
|
|
4115 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
4116 |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
|
4117 |
ac_cs_silent=: ;;
|
|
4118 |
|
|
4119 |
# This is an error.
|
|
4120 |
-*) as_fn_error "unrecognized option: \`$1'
|
|
4121 |
Try \`$0 --help' for more information." ;;
|
|
4122 |
|
|
4123 |
*) as_fn_append ac_config_targets " $1"
|
|
4124 |
ac_need_defaults=false ;;
|
|
4125 |
|
|
4126 |
esac
|
|
4127 |
shift
|
|
4128 |
done
|
|
4129 |
|
|
4130 |
ac_configure_extra_args=
|
|
4131 |
|
|
4132 |
if $ac_cs_silent; then
|
|
4133 |
exec 6>/dev/null
|
|
4134 |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
|
4135 |
fi
|
|
4136 |
|
|
4137 |
_ACEOF
|
|
4138 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4139 |
if \$ac_cs_recheck; then
|
|
4140 |
set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
|
4141 |
shift
|
|
4142 |
\$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
|
|
4143 |
CONFIG_SHELL='$SHELL'
|
|
4144 |
export CONFIG_SHELL
|
|
4145 |
exec "\$@"
|
|
4146 |
fi
|
|
4147 |
|
|
4148 |
_ACEOF
|
|
4149 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
3514 | 4150 |
exec 5>>config.log
|
3515 | 4151 |
{
|
3516 | 4152 |
echo
|
3517 | 4153 |
sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
|
3518 | 4154 |
## Running $as_me. ##
|
3519 | 4155 |
_ASBOX
|
|
4156 |
$as_echo "$ac_log"
|
3520 | 4157 |
} >&5
|
3521 | |
cat >&5 <<_CSEOF
|
3522 | |
|
3523 | |
This file was extended by $as_me, which was
|
3524 | |
generated by GNU Autoconf 2.59. Invocation command line was
|
3525 | |
|
3526 | |
CONFIG_FILES = $CONFIG_FILES
|
3527 | |
CONFIG_HEADERS = $CONFIG_HEADERS
|
3528 | |
CONFIG_LINKS = $CONFIG_LINKS
|
3529 | |
CONFIG_COMMANDS = $CONFIG_COMMANDS
|
3530 | |
$ $0 $@
|
3531 | |
|
3532 | |
_CSEOF
|
3533 | |
echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
|
3534 | |
echo >&5
|
|
4158 |
|
3535 | 4159 |
_ACEOF
|
3536 | |
|
3537 | |
# Files that config.status was made for.
|
3538 | |
if test -n "$ac_config_files"; then
|
3539 | |
echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
|
3540 | |
fi
|
3541 | |
|
3542 | |
if test -n "$ac_config_headers"; then
|
3543 | |
echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
|
3544 | |
fi
|
3545 | |
|
3546 | |
if test -n "$ac_config_links"; then
|
3547 | |
echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
|
3548 | |
fi
|
3549 | |
|
3550 | |
if test -n "$ac_config_commands"; then
|
3551 | |
echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
|
3552 | |
fi
|
3553 | |
|
3554 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
3555 | |
|
3556 | |
ac_cs_usage="\
|
3557 | |
\`$as_me' instantiates files from templates according to the
|
3558 | |
current configuration.
|
3559 | |
|
3560 | |
Usage: $0 [OPTIONS] [FILE]...
|
3561 | |
|
3562 | |
-h, --help print this help, then exit
|
3563 | |
-V, --version print version number, then exit
|
3564 | |
-q, --quiet do not print progress messages
|
3565 | |
-d, --debug don't remove temporary files
|
3566 | |
--recheck update $as_me by reconfiguring in the same conditions
|
3567 | |
--file=FILE[:TEMPLATE]
|
3568 | |
instantiate the configuration file FILE
|
3569 | |
|
3570 | |
Configuration files:
|
3571 | |
$config_files
|
3572 | |
|
3573 | |
Configuration commands:
|
3574 | |
$config_commands
|
3575 | |
|
3576 | |
Report bugs to <bug-autoconf@gnu.org>."
|
|
4160 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4161 |
#
|
|
4162 |
# INIT-COMMANDS
|
|
4163 |
#
|
|
4164 |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
|
4165 |
|
3577 | 4166 |
_ACEOF
|
3578 | 4167 |
|
3579 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
3580 | |
ac_cs_version="\\
|
3581 | |
config.status
|
3582 | |
configured by $0, generated by GNU Autoconf 2.59,
|
3583 | |
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
|
3584 | |
|
3585 | |
Copyright (C) 2003 Free Software Foundation, Inc.
|
3586 | |
This config.status script is free software; the Free Software Foundation
|
3587 | |
gives unlimited permission to copy, distribute and modify it."
|
3588 | |
srcdir=$srcdir
|
3589 | |
INSTALL="$INSTALL"
|
3590 | |
_ACEOF
|
3591 | |
|
3592 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
3593 | |
# If no file are specified by the user, then we need to provide default
|
3594 | |
# value. By we need to know if files were specified by the user.
|
3595 | |
ac_need_defaults=:
|
3596 | |
while test $# != 0
|
3597 | |
do
|
3598 | |
case $1 in
|
3599 | |
--*=*)
|
3600 | |
ac_option=`expr "x$1" : 'x\([^=]*\)='`
|
3601 | |
ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
|
3602 | |
ac_shift=:
|
3603 | |
;;
|
3604 | |
-*)
|
3605 | |
ac_option=$1
|
3606 | |
ac_optarg=$2
|
3607 | |
ac_shift=shift
|
3608 | |
;;
|
3609 | |
*) # This is not an option, so the user has probably given explicit
|
3610 | |
# arguments.
|
3611 | |
ac_option=$1
|
3612 | |
ac_need_defaults=false;;
|
3613 | |
esac
|
3614 | |
|
3615 | |
case $ac_option in
|
3616 | |
# Handling of the options.
|
3617 | |
_ACEOF
|
3618 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
3619 | |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
3620 | |
ac_cs_recheck=: ;;
|
3621 | |
--version | --vers* | -V )
|
3622 | |
echo "$ac_cs_version"; exit 0 ;;
|
3623 | |
--he | --h)
|
3624 | |
# Conflict between --help and --header
|
3625 | |
{ { echo "$as_me:$LINENO: error: ambiguous option: $1
|
3626 | |
Try \`$0 --help' for more information." >&5
|
3627 | |
echo "$as_me: error: ambiguous option: $1
|
3628 | |
Try \`$0 --help' for more information." >&2;}
|
3629 | |
{ (exit 1); exit 1; }; };;
|
3630 | |
--help | --hel | -h )
|
3631 | |
echo "$ac_cs_usage"; exit 0 ;;
|
3632 | |
--debug | --d* | -d )
|
3633 | |
debug=: ;;
|
3634 | |
--file | --fil | --fi | --f )
|
3635 | |
$ac_shift
|
3636 | |
CONFIG_FILES="$CONFIG_FILES $ac_optarg"
|
3637 | |
ac_need_defaults=false;;
|
3638 | |
--header | --heade | --head | --hea )
|
3639 | |
$ac_shift
|
3640 | |
CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
|
3641 | |
ac_need_defaults=false;;
|
3642 | |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
3643 | |
| -silent | --silent | --silen | --sile | --sil | --si | --s)
|
3644 | |
ac_cs_silent=: ;;
|
3645 | |
|
3646 | |
# This is an error.
|
3647 | |
-*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
|
3648 | |
Try \`$0 --help' for more information." >&5
|
3649 | |
echo "$as_me: error: unrecognized option: $1
|
3650 | |
Try \`$0 --help' for more information." >&2;}
|
3651 | |
{ (exit 1); exit 1; }; } ;;
|
3652 | |
|
3653 | |
*) ac_config_targets="$ac_config_targets $1" ;;
|
3654 | |
|
3655 | |
esac
|
3656 | |
shift
|
3657 | |
done
|
3658 | |
|
3659 | |
ac_configure_extra_args=
|
3660 | |
|
3661 | |
if $ac_cs_silent; then
|
3662 | |
exec 6>/dev/null
|
3663 | |
ac_configure_extra_args="$ac_configure_extra_args --silent"
|
3664 | |
fi
|
3665 | |
|
3666 | |
_ACEOF
|
3667 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
3668 | |
if \$ac_cs_recheck; then
|
3669 | |
echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
|
3670 | |
exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
|
3671 | |
fi
|
3672 | |
|
3673 | |
_ACEOF
|
3674 | |
|
3675 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
3676 | |
#
|
3677 | |
# INIT-COMMANDS section.
|
3678 | |
#
|
3679 | |
|
3680 | |
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
|
3681 | |
|
3682 | |
_ACEOF
|
3683 | |
|
3684 | |
|
3685 | |
|
3686 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
4168 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4169 |
|
|
4170 |
# Handling of arguments.
|
3687 | 4171 |
for ac_config_target in $ac_config_targets
|
3688 | 4172 |
do
|
3689 | |
case "$ac_config_target" in
|
3690 | |
# Handling of arguments.
|
3691 | |
"Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
3692 | |
"depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
3693 | |
*) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
|
3694 | |
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
|
3695 | |
{ (exit 1); exit 1; }; };;
|
|
4173 |
case $ac_config_target in
|
|
4174 |
"depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
|
|
4175 |
"Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
|
|
4176 |
|
|
4177 |
*) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
|
3696 | 4178 |
esac
|
3697 | 4179 |
done
|
|
4180 |
|
3698 | 4181 |
|
3699 | 4182 |
# If the user did not use the arguments to specify the items to instantiate,
|
3700 | 4183 |
# then the envvar interface is used. Set only those that are not.
|
|
3706 | 4189 |
fi
|
3707 | 4190 |
|
3708 | 4191 |
# Have a temporary directory for convenience. Make it in the build tree
|
3709 | |
# simply because there is no reason to put it here, and in addition,
|
|
4192 |
# simply because there is no reason against having it here, and in addition,
|
3710 | 4193 |
# creating and moving files from /tmp can sometimes cause problems.
|
3711 | |
# Create a temporary directory, and hook for its removal unless debugging.
|
|
4194 |
# Hook for its removal unless debugging.
|
|
4195 |
# Note that there is a small window in which the directory will not be cleaned:
|
|
4196 |
# after its creation but before its name has been assigned to `$tmp'.
|
3712 | 4197 |
$debug ||
|
3713 | 4198 |
{
|
3714 | |
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
|
3715 | |
trap '{ (exit 1); exit 1; }' 1 2 13 15
|
|
4199 |
tmp=
|
|
4200 |
trap 'exit_status=$?
|
|
4201 |
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
|
|
4202 |
' 0
|
|
4203 |
trap 'as_fn_exit 1' 1 2 13 15
|
3716 | 4204 |
}
|
3717 | |
|
3718 | 4205 |
# Create a (secure) tmp directory for tmp files.
|
3719 | 4206 |
|
3720 | 4207 |
{
|
3721 | |
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
|
|
4208 |
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
|
3722 | 4209 |
test -n "$tmp" && test -d "$tmp"
|
3723 | 4210 |
} ||
|
3724 | 4211 |
{
|
3725 | |
tmp=./confstat$$-$RANDOM
|
3726 | |
(umask 077 && mkdir $tmp)
|
3727 | |
} ||
|
|
4212 |
tmp=./conf$$-$RANDOM
|
|
4213 |
(umask 077 && mkdir "$tmp")
|
|
4214 |
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
|
|
4215 |
|
|
4216 |
# Set up the scripts for CONFIG_FILES section.
|
|
4217 |
# No need to generate them if there are no CONFIG_FILES.
|
|
4218 |
# This happens for instance with `./config.status config.h'.
|
|
4219 |
if test -n "$CONFIG_FILES"; then
|
|
4220 |
|
|
4221 |
|
|
4222 |
ac_cr=`echo X | tr X '\015'`
|
|
4223 |
# On cygwin, bash can eat \r inside `` if the user requested igncr.
|
|
4224 |
# But we know of no other shell where ac_cr would be empty at this
|
|
4225 |
# point, so we can use a bashism as a fallback.
|
|
4226 |
if test "x$ac_cr" = x; then
|
|
4227 |
eval ac_cr=\$\'\\r\'
|
|
4228 |
fi
|
|
4229 |
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
|
|
4230 |
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
|
|
4231 |
ac_cs_awk_cr='\r'
|
|
4232 |
else
|
|
4233 |
ac_cs_awk_cr=$ac_cr
|
|
4234 |
fi
|
|
4235 |
|
|
4236 |
echo 'BEGIN {' >"$tmp/subs1.awk" &&
|
|
4237 |
_ACEOF
|
|
4238 |
|
|
4239 |
|
3728 | 4240 |
{
|
3729 | |
echo "$me: cannot create a temporary directory in ." >&2
|
3730 | |
{ (exit 1); exit 1; }
|
|
4241 |
echo "cat >conf$$subs.awk <<_ACEOF" &&
|
|
4242 |
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
|
|
4243 |
echo "_ACEOF"
|
|
4244 |
} >conf$$subs.sh ||
|
|
4245 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
4246 |
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
|
|
4247 |
ac_delim='%!_!# '
|
|
4248 |
for ac_last_try in false false false false false :; do
|
|
4249 |
. ./conf$$subs.sh ||
|
|
4250 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
4251 |
|
|
4252 |
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
|
|
4253 |
if test $ac_delim_n = $ac_delim_num; then
|
|
4254 |
break
|
|
4255 |
elif $ac_last_try; then
|
|
4256 |
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
|
|
4257 |
else
|
|
4258 |
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
|
|
4259 |
fi
|
|
4260 |
done
|
|
4261 |
rm -f conf$$subs.sh
|
|
4262 |
|
|
4263 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4264 |
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
|
|
4265 |
_ACEOF
|
|
4266 |
sed -n '
|
|
4267 |
h
|
|
4268 |
s/^/S["/; s/!.*/"]=/
|
|
4269 |
p
|
|
4270 |
g
|
|
4271 |
s/^[^!]*!//
|
|
4272 |
:repl
|
|
4273 |
t repl
|
|
4274 |
s/'"$ac_delim"'$//
|
|
4275 |
t delim
|
|
4276 |
:nl
|
|
4277 |
h
|
|
4278 |
s/\(.\{148\}\).*/\1/
|
|
4279 |
t more1
|
|
4280 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
|
|
4281 |
p
|
|
4282 |
n
|
|
4283 |
b repl
|
|
4284 |
:more1
|
|
4285 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
4286 |
p
|
|
4287 |
g
|
|
4288 |
s/.\{148\}//
|
|
4289 |
t nl
|
|
4290 |
:delim
|
|
4291 |
h
|
|
4292 |
s/\(.\{148\}\).*/\1/
|
|
4293 |
t more2
|
|
4294 |
s/["\\]/\\&/g; s/^/"/; s/$/"/
|
|
4295 |
p
|
|
4296 |
b
|
|
4297 |
:more2
|
|
4298 |
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
|
|
4299 |
p
|
|
4300 |
g
|
|
4301 |
s/.\{148\}//
|
|
4302 |
t delim
|
|
4303 |
' <conf$$subs.awk | sed '
|
|
4304 |
/^[^""]/{
|
|
4305 |
N
|
|
4306 |
s/\n//
|
3731 | 4307 |
}
|
3732 | |
|
|
4308 |
' >>$CONFIG_STATUS || ac_write_fail=1
|
|
4309 |
rm -f conf$$subs.awk
|
|
4310 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4311 |
_ACAWK
|
|
4312 |
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
|
|
4313 |
for (key in S) S_is_set[key] = 1
|
|
4314 |
FS = ""
|
|
4315 |
|
|
4316 |
}
|
|
4317 |
{
|
|
4318 |
line = $ 0
|
|
4319 |
nfields = split(line, field, "@")
|
|
4320 |
substed = 0
|
|
4321 |
len = length(field[1])
|
|
4322 |
for (i = 2; i < nfields; i++) {
|
|
4323 |
key = field[i]
|
|
4324 |
keylen = length(key)
|
|
4325 |
if (S_is_set[key]) {
|
|
4326 |
value = S[key]
|
|
4327 |
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
|
|
4328 |
len += length(value) + length(field[++i])
|
|
4329 |
substed = 1
|
|
4330 |
} else
|
|
4331 |
len += 1 + keylen
|
|
4332 |
}
|
|
4333 |
|
|
4334 |
print line
|
|
4335 |
}
|
|
4336 |
|
|
4337 |
_ACAWK
|
3733 | 4338 |
_ACEOF
|
3734 | |
|
3735 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
3736 | |
|
3737 | |
#
|
3738 | |
# CONFIG_FILES section.
|
3739 | |
#
|
3740 | |
|
3741 | |
# No need to generate the scripts if there are no CONFIG_FILES.
|
3742 | |
# This happens for instance when ./config.status config.h
|
3743 | |
if test -n "\$CONFIG_FILES"; then
|
3744 | |
# Protect against being on the right side of a sed subst in config.status.
|
3745 | |
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
|
3746 | |
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
|
3747 | |
s,@SHELL@,$SHELL,;t t
|
3748 | |
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
|
3749 | |
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
|
3750 | |
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
|
3751 | |
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
|
3752 | |
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
|
3753 | |
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
|
3754 | |
s,@exec_prefix@,$exec_prefix,;t t
|
3755 | |
s,@prefix@,$prefix,;t t
|
3756 | |
s,@program_transform_name@,$program_transform_name,;t t
|
3757 | |
s,@bindir@,$bindir,;t t
|
3758 | |
s,@sbindir@,$sbindir,;t t
|
3759 | |
s,@libexecdir@,$libexecdir,;t t
|
3760 | |
s,@datadir@,$datadir,;t t
|
3761 | |
s,@sysconfdir@,$sysconfdir,;t t
|
3762 | |
s,@sharedstatedir@,$sharedstatedir,;t t
|
3763 | |
s,@localstatedir@,$localstatedir,;t t
|
3764 | |
s,@libdir@,$libdir,;t t
|
3765 | |
s,@includedir@,$includedir,;t t
|
3766 | |
s,@oldincludedir@,$oldincludedir,;t t
|
3767 | |
s,@infodir@,$infodir,;t t
|
3768 | |
s,@mandir@,$mandir,;t t
|
3769 | |
s,@build_alias@,$build_alias,;t t
|
3770 | |
s,@host_alias@,$host_alias,;t t
|
3771 | |
s,@target_alias@,$target_alias,;t t
|
3772 | |
s,@DEFS@,$DEFS,;t t
|
3773 | |
s,@ECHO_C@,$ECHO_C,;t t
|
3774 | |
s,@ECHO_N@,$ECHO_N,;t t
|
3775 | |
s,@ECHO_T@,$ECHO_T,;t t
|
3776 | |
s,@LIBS@,$LIBS,;t t
|
3777 | |
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
|
3778 | |
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
|
3779 | |
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
|
3780 | |
s,@CYGPATH_W@,$CYGPATH_W,;t t
|
3781 | |
s,@PACKAGE@,$PACKAGE,;t t
|
3782 | |
s,@VERSION@,$VERSION,;t t
|
3783 | |
s,@ACLOCAL@,$ACLOCAL,;t t
|
3784 | |
s,@AUTOCONF@,$AUTOCONF,;t t
|
3785 | |
s,@AUTOMAKE@,$AUTOMAKE,;t t
|
3786 | |
s,@AUTOHEADER@,$AUTOHEADER,;t t
|
3787 | |
s,@MAKEINFO@,$MAKEINFO,;t t
|
3788 | |
s,@install_sh@,$install_sh,;t t
|
3789 | |
s,@STRIP@,$STRIP,;t t
|
3790 | |
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
|
3791 | |
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
|
3792 | |
s,@mkdir_p@,$mkdir_p,;t t
|
3793 | |
s,@AWK@,$AWK,;t t
|
3794 | |
s,@SET_MAKE@,$SET_MAKE,;t t
|
3795 | |
s,@am__leading_dot@,$am__leading_dot,;t t
|
3796 | |
s,@AMTAR@,$AMTAR,;t t
|
3797 | |
s,@am__tar@,$am__tar,;t t
|
3798 | |
s,@am__untar@,$am__untar,;t t
|
3799 | |
s,@CC@,$CC,;t t
|
3800 | |
s,@CFLAGS@,$CFLAGS,;t t
|
3801 | |
s,@LDFLAGS@,$LDFLAGS,;t t
|
3802 | |
s,@CPPFLAGS@,$CPPFLAGS,;t t
|
3803 | |
s,@ac_ct_CC@,$ac_ct_CC,;t t
|
3804 | |
s,@EXEEXT@,$EXEEXT,;t t
|
3805 | |
s,@OBJEXT@,$OBJEXT,;t t
|
3806 | |
s,@DEPDIR@,$DEPDIR,;t t
|
3807 | |
s,@am__include@,$am__include,;t t
|
3808 | |
s,@am__quote@,$am__quote,;t t
|
3809 | |
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
|
3810 | |
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
|
3811 | |
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
|
3812 | |
s,@CCDEPMODE@,$CCDEPMODE,;t t
|
3813 | |
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
|
3814 | |
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
|
3815 | |
s,@CURL_CONFIG@,$CURL_CONFIG,;t t
|
3816 | |
s,@CURLCFLAGS@,$CURLCFLAGS,;t t
|
3817 | |
s,@CURLLDFLAGS@,$CURLLDFLAGS,;t t
|
3818 | |
s,@LIBOBJS@,$LIBOBJS,;t t
|
3819 | |
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
|
3820 | |
CEOF
|
3821 | |
|
|
4339 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4340 |
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
|
|
4341 |
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
|
|
4342 |
else
|
|
4343 |
cat
|
|
4344 |
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
|
|
4345 |
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
|
3822 | 4346 |
_ACEOF
|
3823 | 4347 |
|
3824 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
3825 | |
# Split the substitutions into bite-sized pieces for seds with
|
3826 | |
# small command number limits, like on Digital OSF/1 and HP-UX.
|
3827 | |
ac_max_sed_lines=48
|
3828 | |
ac_sed_frag=1 # Number of current file.
|
3829 | |
ac_beg=1 # First line for current file.
|
3830 | |
ac_end=$ac_max_sed_lines # Line after last line for current file.
|
3831 | |
ac_more_lines=:
|
3832 | |
ac_sed_cmds=
|
3833 | |
while $ac_more_lines; do
|
3834 | |
if test $ac_beg -gt 1; then
|
3835 | |
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
3836 | |
else
|
3837 | |
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
|
|
4348 |
# VPATH may cause trouble with some makes, so we remove $(srcdir),
|
|
4349 |
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
|
|
4350 |
# trailing colons and then remove the whole line if VPATH becomes empty
|
|
4351 |
# (actually we leave an empty line to preserve line numbers).
|
|
4352 |
if test "x$srcdir" = x.; then
|
|
4353 |
ac_vpsub='/^[ ]*VPATH[ ]*=/{
|
|
4354 |
s/:*\$(srcdir):*/:/
|
|
4355 |
s/:*\${srcdir}:*/:/
|
|
4356 |
s/:*@srcdir@:*/:/
|
|
4357 |
s/^\([^=]*=[ ]*\):*/\1/
|
|
4358 |
s/:*$//
|
|
4359 |
s/^[^=]*=[ ]*$//
|
|
4360 |
}'
|
|
4361 |
fi
|
|
4362 |
|
|
4363 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4364 |
fi # test -n "$CONFIG_FILES"
|
|
4365 |
|
|
4366 |
|
|
4367 |
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
|
|
4368 |
shift
|
|
4369 |
for ac_tag
|
|
4370 |
do
|
|
4371 |
case $ac_tag in
|
|
4372 |
:[FHLC]) ac_mode=$ac_tag; continue;;
|
|
4373 |
esac
|
|
4374 |
case $ac_mode$ac_tag in
|
|
4375 |
:[FHL]*:*);;
|
|
4376 |
:L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
|
|
4377 |
:[FH]-) ac_tag=-:-;;
|
|
4378 |
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
|
|
4379 |
esac
|
|
4380 |
ac_save_IFS=$IFS
|
|
4381 |
IFS=:
|
|
4382 |
set x $ac_tag
|
|
4383 |
IFS=$ac_save_IFS
|
|
4384 |
shift
|
|
4385 |
ac_file=$1
|
|
4386 |
shift
|
|
4387 |
|
|
4388 |
case $ac_mode in
|
|
4389 |
:L) ac_source=$1;;
|
|
4390 |
:[FH])
|
|
4391 |
ac_file_inputs=
|
|
4392 |
for ac_f
|
|
4393 |
do
|
|
4394 |
case $ac_f in
|
|
4395 |
-) ac_f="$tmp/stdin";;
|
|
4396 |
*) # Look for the file first in the build tree, then in the source tree
|
|
4397 |
# (if the path is not absolute). The absolute path cannot be DOS-style,
|
|
4398 |
# because $ac_f cannot contain `:'.
|
|
4399 |
test -f "$ac_f" ||
|
|
4400 |
case $ac_f in
|
|
4401 |
[\\/$]*) false;;
|
|
4402 |
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
|
|
4403 |
esac ||
|
|
4404 |
as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
|
|
4405 |
esac
|
|
4406 |
case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
|
|
4407 |
as_fn_append ac_file_inputs " '$ac_f'"
|
|
4408 |
done
|
|
4409 |
|
|
4410 |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
|
4411 |
# use $as_me), people would be surprised to read:
|
|
4412 |
# /* config.h. Generated by config.status. */
|
|
4413 |
configure_input='Generated from '`
|
|
4414 |
$as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
|
|
4415 |
`' by configure.'
|
|
4416 |
if test x"$ac_file" != x-; then
|
|
4417 |
configure_input="$ac_file. $configure_input"
|
|
4418 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
|
|
4419 |
$as_echo "$as_me: creating $ac_file" >&6;}
|
3838 | 4420 |
fi
|
3839 | |
if test ! -s $tmp/subs.frag; then
|
3840 | |
ac_more_lines=false
|
3841 | |
else
|
3842 | |
# The purpose of the label and of the branching condition is to
|
3843 | |
# speed up the sed processing (if there are no `@' at all, there
|
3844 | |
# is no need to browse any of the substitutions).
|
3845 | |
# These are the two extra sed commands mentioned above.
|
3846 | |
(echo ':t
|
3847 | |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
|
3848 | |
if test -z "$ac_sed_cmds"; then
|
3849 | |
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
|
3850 | |
else
|
3851 | |
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
|
3852 | |
fi
|
3853 | |
ac_sed_frag=`expr $ac_sed_frag + 1`
|
3854 | |
ac_beg=$ac_end
|
3855 | |
ac_end=`expr $ac_end + $ac_max_sed_lines`
|
3856 | |
fi
|
3857 | |
done
|
3858 | |
if test -z "$ac_sed_cmds"; then
|
3859 | |
ac_sed_cmds=cat
|
3860 | |
fi
|
3861 | |
fi # test -n "$CONFIG_FILES"
|
3862 | |
|
3863 | |
_ACEOF
|
3864 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
3865 | |
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
|
3866 | |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
3867 | |
case $ac_file in
|
3868 | |
- | *:- | *:-:* ) # input from stdin
|
3869 | |
cat >$tmp/stdin
|
3870 | |
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
3871 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
3872 | |
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
3873 | |
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
|
3874 | |
* ) ac_file_in=$ac_file.in ;;
|
|
4421 |
# Neutralize special characters interpreted by sed in replacement strings.
|
|
4422 |
case $configure_input in #(
|
|
4423 |
*\&* | *\|* | *\\* )
|
|
4424 |
ac_sed_conf_input=`$as_echo "$configure_input" |
|
|
4425 |
sed 's/[\\\\&|]/\\\\&/g'`;; #(
|
|
4426 |
*) ac_sed_conf_input=$configure_input;;
|
|
4427 |
esac
|
|
4428 |
|
|
4429 |
case $ac_tag in
|
|
4430 |
*:-:* | *:-) cat >"$tmp/stdin" \
|
|
4431 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
|
|
4432 |
esac
|
|
4433 |
;;
|
3875 | 4434 |
esac
|
3876 | 4435 |
|
3877 | |
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
|
3878 | |
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
|
|
4436 |
ac_dir=`$as_dirname -- "$ac_file" ||
|
3879 | 4437 |
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3880 | 4438 |
X"$ac_file" : 'X\(//\)[^/]' \| \
|
3881 | 4439 |
X"$ac_file" : 'X\(//\)$' \| \
|
3882 | |
X"$ac_file" : 'X\(/\)' \| \
|
3883 | |
. : '\(.\)' 2>/dev/null ||
|
3884 | |
echo X"$ac_file" |
|
3885 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3886 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3887 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
3888 | |
/^X\(\/\).*/{ s//\1/; q; }
|
3889 | |
s/.*/./; q'`
|
3890 | |
{ if $as_mkdir_p; then
|
3891 | |
mkdir -p "$ac_dir"
|
3892 | |
else
|
3893 | |
as_dir="$ac_dir"
|
3894 | |
as_dirs=
|
3895 | |
while test ! -d "$as_dir"; do
|
3896 | |
as_dirs="$as_dir $as_dirs"
|
3897 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
3898 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
3899 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
3900 | |
X"$as_dir" : 'X\(//\)$' \| \
|
3901 | |
X"$as_dir" : 'X\(/\)' \| \
|
3902 | |
. : '\(.\)' 2>/dev/null ||
|
3903 | |
echo X"$as_dir" |
|
3904 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
3905 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
3906 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
3907 | |
/^X\(\/\).*/{ s//\1/; q; }
|
3908 | |
s/.*/./; q'`
|
3909 | |
done
|
3910 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
3911 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
3912 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
3913 | |
{ (exit 1); exit 1; }; }; }
|
3914 | |
|
|
4440 |
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
4441 |
$as_echo X"$ac_file" |
|
|
4442 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
4443 |
s//\1/
|
|
4444 |
q
|
|
4445 |
}
|
|
4446 |
/^X\(\/\/\)[^/].*/{
|
|
4447 |
s//\1/
|
|
4448 |
q
|
|
4449 |
}
|
|
4450 |
/^X\(\/\/\)$/{
|
|
4451 |
s//\1/
|
|
4452 |
q
|
|
4453 |
}
|
|
4454 |
/^X\(\/\).*/{
|
|
4455 |
s//\1/
|
|
4456 |
q
|
|
4457 |
}
|
|
4458 |
s/.*/./; q'`
|
|
4459 |
as_dir="$ac_dir"; as_fn_mkdir_p
|
3915 | 4460 |
ac_builddir=.
|
3916 | 4461 |
|
3917 | |
if test "$ac_dir" != .; then
|
3918 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
3919 | |
# A "../" for each directory in $ac_dir_suffix.
|
3920 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
3921 | |
else
|
3922 | |
ac_dir_suffix= ac_top_builddir=
|
3923 | |
fi
|
|
4462 |
case "$ac_dir" in
|
|
4463 |
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
4464 |
*)
|
|
4465 |
ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
|
|
4466 |
# A ".." for each directory in $ac_dir_suffix.
|
|
4467 |
ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
|
|
4468 |
case $ac_top_builddir_sub in
|
|
4469 |
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
|
|
4470 |
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
|
|
4471 |
esac ;;
|
|
4472 |
esac
|
|
4473 |
ac_abs_top_builddir=$ac_pwd
|
|
4474 |
ac_abs_builddir=$ac_pwd$ac_dir_suffix
|
|
4475 |
# for backward compatibility:
|
|
4476 |
ac_top_builddir=$ac_top_build_prefix
|
3924 | 4477 |
|
3925 | 4478 |
case $srcdir in
|
3926 | |
.) # No --srcdir option. We are building in place.
|
|
4479 |
.) # We are building in place.
|
3927 | 4480 |
ac_srcdir=.
|
3928 | |
if test -z "$ac_top_builddir"; then
|
3929 | |
ac_top_srcdir=.
|
3930 | |
else
|
3931 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
3932 | |
fi ;;
|
3933 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
|
4481 |
ac_top_srcdir=$ac_top_builddir_sub
|
|
4482 |
ac_abs_top_srcdir=$ac_pwd ;;
|
|
4483 |
[\\/]* | ?:[\\/]* ) # Absolute name.
|
3934 | 4484 |
ac_srcdir=$srcdir$ac_dir_suffix;
|
3935 | |
ac_top_srcdir=$srcdir ;;
|
3936 | |
*) # Relative path.
|
3937 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
3938 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
|
4485 |
ac_top_srcdir=$srcdir
|
|
4486 |
ac_abs_top_srcdir=$srcdir ;;
|
|
4487 |
*) # Relative name.
|
|
4488 |
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
|
|
4489 |
ac_top_srcdir=$ac_top_build_prefix$srcdir
|
|
4490 |
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
|
3939 | 4491 |
esac
|
3940 | |
|
3941 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
3942 | |
# the directories may not exist.
|
3943 | |
case `pwd` in
|
3944 | |
.) ac_abs_builddir="$ac_dir";;
|
3945 | |
*)
|
3946 | |
case "$ac_dir" in
|
3947 | |
.) ac_abs_builddir=`pwd`;;
|
3948 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
3949 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
3950 | |
esac;;
|
3951 | |
esac
|
3952 | |
case $ac_abs_builddir in
|
3953 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
3954 | |
*)
|
3955 | |
case ${ac_top_builddir}. in
|
3956 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
3957 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
3958 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
3959 | |
esac;;
|
3960 | |
esac
|
3961 | |
case $ac_abs_builddir in
|
3962 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
3963 | |
*)
|
3964 | |
case $ac_srcdir in
|
3965 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
3966 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
3967 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
3968 | |
esac;;
|
3969 | |
esac
|
3970 | |
case $ac_abs_builddir in
|
3971 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
3972 | |
*)
|
3973 | |
case $ac_top_srcdir in
|
3974 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
3975 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
3976 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
3977 | |
esac;;
|
3978 | |
esac
|
3979 | |
|
|
4492 |
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
|
|
4493 |
|
|
4494 |
|
|
4495 |
case $ac_mode in
|
|
4496 |
:F)
|
|
4497 |
#
|
|
4498 |
# CONFIG_FILE
|
|
4499 |
#
|
3980 | 4500 |
|
3981 | 4501 |
case $INSTALL in
|
3982 | 4502 |
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
|
3983 | |
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
|
|
4503 |
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
|
3984 | 4504 |
esac
|
3985 | |
|
3986 | |
if test x"$ac_file" != x-; then
|
3987 | |
{ echo "$as_me:$LINENO: creating $ac_file" >&5
|
3988 | |
echo "$as_me: creating $ac_file" >&6;}
|
3989 | |
rm -f "$ac_file"
|
3990 | |
fi
|
3991 | |
# Let's still pretend it is `configure' which instantiates (i.e., don't
|
3992 | |
# use $as_me), people would be surprised to read:
|
3993 | |
# /* config.h. Generated by config.status. */
|
3994 | |
if test x"$ac_file" = x-; then
|
3995 | |
configure_input=
|
3996 | |
else
|
3997 | |
configure_input="$ac_file. "
|
3998 | |
fi
|
3999 | |
configure_input=$configure_input"Generated from `echo $ac_file_in |
|
4000 | |
sed 's,.*/,,'` by configure."
|
4001 | |
|
4002 | |
# First look for the input files in the build tree, otherwise in the
|
4003 | |
# src tree.
|
4004 | |
ac_file_inputs=`IFS=:
|
4005 | |
for f in $ac_file_in; do
|
4006 | |
case $f in
|
4007 | |
-) echo $tmp/stdin ;;
|
4008 | |
[\\/$]*)
|
4009 | |
# Absolute (can't be DOS-style, as IFS=:)
|
4010 | |
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
4011 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
4012 | |
{ (exit 1); exit 1; }; }
|
4013 | |
echo "$f";;
|
4014 | |
*) # Relative
|
4015 | |
if test -f "$f"; then
|
4016 | |
# Build tree
|
4017 | |
echo "$f"
|
4018 | |
elif test -f "$srcdir/$f"; then
|
4019 | |
# Source tree
|
4020 | |
echo "$srcdir/$f"
|
4021 | |
else
|
4022 | |
# /dev/null tree
|
4023 | |
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
|
4024 | |
echo "$as_me: error: cannot find input file: $f" >&2;}
|
4025 | |
{ (exit 1); exit 1; }; }
|
4026 | |
fi;;
|
4027 | |
esac
|
4028 | |
done` || { (exit 1); exit 1; }
|
|
4505 |
ac_MKDIR_P=$MKDIR_P
|
|
4506 |
case $MKDIR_P in
|
|
4507 |
[\\/$]* | ?:[\\/]* ) ;;
|
|
4508 |
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
|
|
4509 |
esac
|
4029 | 4510 |
_ACEOF
|
4030 | |
cat >>$CONFIG_STATUS <<_ACEOF
|
4031 | |
sed "$ac_vpsub
|
|
4511 |
|
|
4512 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
|
4513 |
# If the template does not know about datarootdir, expand it.
|
|
4514 |
# FIXME: This hack should be removed a few years after 2.60.
|
|
4515 |
ac_datarootdir_hack=; ac_datarootdir_seen=
|
|
4516 |
ac_sed_dataroot='
|
|
4517 |
/datarootdir/ {
|
|
4518 |
p
|
|
4519 |
q
|
|
4520 |
}
|
|
4521 |
/@datadir@/p
|
|
4522 |
/@docdir@/p
|
|
4523 |
/@infodir@/p
|
|
4524 |
/@localedir@/p
|
|
4525 |
/@mandir@/p'
|
|
4526 |
case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
|
|
4527 |
*datarootdir*) ac_datarootdir_seen=yes;;
|
|
4528 |
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
|
|
4529 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
|
|
4530 |
$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
|
|
4531 |
_ACEOF
|
|
4532 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4533 |
ac_datarootdir_hack='
|
|
4534 |
s&@datadir@&$datadir&g
|
|
4535 |
s&@docdir@&$docdir&g
|
|
4536 |
s&@infodir@&$infodir&g
|
|
4537 |
s&@localedir@&$localedir&g
|
|
4538 |
s&@mandir@&$mandir&g
|
|
4539 |
s&\\\${datarootdir}&$datarootdir&g' ;;
|
|
4540 |
esac
|
|
4541 |
_ACEOF
|
|
4542 |
|
|
4543 |
# Neutralize VPATH when `$srcdir' = `.'.
|
|
4544 |
# Shell code in configure.ac might set extrasub.
|
|
4545 |
# FIXME: do we really want to maintain this feature?
|
|
4546 |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
|
|
4547 |
ac_sed_extra="$ac_vpsub
|
4032 | 4548 |
$extrasub
|
4033 | 4549 |
_ACEOF
|
4034 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
|
4550 |
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
|
4035 | 4551 |
:t
|
4036 | 4552 |
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
|
4037 | |
s,@configure_input@,$configure_input,;t t
|
4038 | |
s,@srcdir@,$ac_srcdir,;t t
|
4039 | |
s,@abs_srcdir@,$ac_abs_srcdir,;t t
|
4040 | |
s,@top_srcdir@,$ac_top_srcdir,;t t
|
4041 | |
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
|
4042 | |
s,@builddir@,$ac_builddir,;t t
|
4043 | |
s,@abs_builddir@,$ac_abs_builddir,;t t
|
4044 | |
s,@top_builddir@,$ac_top_builddir,;t t
|
4045 | |
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
|
4046 | |
s,@INSTALL@,$ac_INSTALL,;t t
|
4047 | |
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
|
4048 | |
rm -f $tmp/stdin
|
4049 | |
if test x"$ac_file" != x-; then
|
4050 | |
mv $tmp/out $ac_file
|
4051 | |
else
|
4052 | |
cat $tmp/out
|
4053 | |
rm -f $tmp/out
|
4054 | |
fi
|
4055 | |
|
4056 | |
done
|
4057 | |
_ACEOF
|
4058 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
4059 | |
|
4060 | |
#
|
4061 | |
# CONFIG_COMMANDS section.
|
4062 | |
#
|
4063 | |
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
|
4064 | |
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
|
4065 | |
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
|
4066 | |
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
|
4067 | |
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4068 | |
X"$ac_dest" : 'X\(//\)[^/]' \| \
|
4069 | |
X"$ac_dest" : 'X\(//\)$' \| \
|
4070 | |
X"$ac_dest" : 'X\(/\)' \| \
|
4071 | |
. : '\(.\)' 2>/dev/null ||
|
4072 | |
echo X"$ac_dest" |
|
4073 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4074 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4075 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
4076 | |
/^X\(\/\).*/{ s//\1/; q; }
|
4077 | |
s/.*/./; q'`
|
4078 | |
{ if $as_mkdir_p; then
|
4079 | |
mkdir -p "$ac_dir"
|
4080 | |
else
|
4081 | |
as_dir="$ac_dir"
|
4082 | |
as_dirs=
|
4083 | |
while test ! -d "$as_dir"; do
|
4084 | |
as_dirs="$as_dir $as_dirs"
|
4085 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
4086 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4087 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
4088 | |
X"$as_dir" : 'X\(//\)$' \| \
|
4089 | |
X"$as_dir" : 'X\(/\)' \| \
|
4090 | |
. : '\(.\)' 2>/dev/null ||
|
4091 | |
echo X"$as_dir" |
|
4092 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4093 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4094 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
4095 | |
/^X\(\/\).*/{ s//\1/; q; }
|
4096 | |
s/.*/./; q'`
|
4097 | |
done
|
4098 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
4099 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
|
4100 | |
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
|
4101 | |
{ (exit 1); exit 1; }; }; }
|
4102 | |
|
4103 | |
ac_builddir=.
|
4104 | |
|
4105 | |
if test "$ac_dir" != .; then
|
4106 | |
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
|
4107 | |
# A "../" for each directory in $ac_dir_suffix.
|
4108 | |
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
|
4109 | |
else
|
4110 | |
ac_dir_suffix= ac_top_builddir=
|
4111 | |
fi
|
4112 | |
|
4113 | |
case $srcdir in
|
4114 | |
.) # No --srcdir option. We are building in place.
|
4115 | |
ac_srcdir=.
|
4116 | |
if test -z "$ac_top_builddir"; then
|
4117 | |
ac_top_srcdir=.
|
4118 | |
else
|
4119 | |
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
|
4120 | |
fi ;;
|
4121 | |
[\\/]* | ?:[\\/]* ) # Absolute path.
|
4122 | |
ac_srcdir=$srcdir$ac_dir_suffix;
|
4123 | |
ac_top_srcdir=$srcdir ;;
|
4124 | |
*) # Relative path.
|
4125 | |
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
|
4126 | |
ac_top_srcdir=$ac_top_builddir$srcdir ;;
|
4127 | |
esac
|
4128 | |
|
4129 | |
# Do not use `cd foo && pwd` to compute absolute paths, because
|
4130 | |
# the directories may not exist.
|
4131 | |
case `pwd` in
|
4132 | |
.) ac_abs_builddir="$ac_dir";;
|
4133 | |
*)
|
4134 | |
case "$ac_dir" in
|
4135 | |
.) ac_abs_builddir=`pwd`;;
|
4136 | |
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
|
4137 | |
*) ac_abs_builddir=`pwd`/"$ac_dir";;
|
4138 | |
esac;;
|
4139 | |
esac
|
4140 | |
case $ac_abs_builddir in
|
4141 | |
.) ac_abs_top_builddir=${ac_top_builddir}.;;
|
4142 | |
*)
|
4143 | |
case ${ac_top_builddir}. in
|
4144 | |
.) ac_abs_top_builddir=$ac_abs_builddir;;
|
4145 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
|
4146 | |
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
|
4147 | |
esac;;
|
4148 | |
esac
|
4149 | |
case $ac_abs_builddir in
|
4150 | |
.) ac_abs_srcdir=$ac_srcdir;;
|
4151 | |
*)
|
4152 | |
case $ac_srcdir in
|
4153 | |
.) ac_abs_srcdir=$ac_abs_builddir;;
|
4154 | |
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
|
4155 | |
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
|
4156 | |
esac;;
|
4157 | |
esac
|
4158 | |
case $ac_abs_builddir in
|
4159 | |
.) ac_abs_top_srcdir=$ac_top_srcdir;;
|
4160 | |
*)
|
4161 | |
case $ac_top_srcdir in
|
4162 | |
.) ac_abs_top_srcdir=$ac_abs_builddir;;
|
4163 | |
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
|
4164 | |
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
|
4165 | |
esac;;
|
4166 | |
esac
|
4167 | |
|
4168 | |
|
4169 | |
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
|
4170 | |
echo "$as_me: executing $ac_dest commands" >&6;}
|
4171 | |
case $ac_dest in
|
4172 | |
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
|
4173 | |
# Strip MF so we end up with the name of the file.
|
4174 | |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
4175 | |
# Check whether this is an Automake generated Makefile or not.
|
4176 | |
# We used to match only the files named `Makefile.in', but
|
4177 | |
# some people rename them; so instead we look at the file content.
|
4178 | |
# Grep'ing the first line is not enough: some people post-process
|
4179 | |
# each Makefile.in and add a new line on top of each file to say so.
|
4180 | |
# So let's grep whole file.
|
4181 | |
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
|
4182 | |
dirpart=`(dirname "$mf") 2>/dev/null ||
|
|
4553 |
s|@configure_input@|$ac_sed_conf_input|;t t
|
|
4554 |
s&@top_builddir@&$ac_top_builddir_sub&;t t
|
|
4555 |
s&@top_build_prefix@&$ac_top_build_prefix&;t t
|
|
4556 |
s&@srcdir@&$ac_srcdir&;t t
|
|
4557 |
s&@abs_srcdir@&$ac_abs_srcdir&;t t
|
|
4558 |
s&@top_srcdir@&$ac_top_srcdir&;t t
|
|
4559 |
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
|
|
4560 |
s&@builddir@&$ac_builddir&;t t
|
|
4561 |
s&@abs_builddir@&$ac_abs_builddir&;t t
|
|
4562 |
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
|
|
4563 |
s&@INSTALL@&$ac_INSTALL&;t t
|
|
4564 |
s&@MKDIR_P@&$ac_MKDIR_P&;t t
|
|
4565 |
$ac_datarootdir_hack
|
|
4566 |
"
|
|
4567 |
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
|
|
4568 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
4569 |
|
|
4570 |
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
|
|
4571 |
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
|
|
4572 |
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
|
|
4573 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
4574 |
which seems to be undefined. Please make sure it is defined." >&5
|
|
4575 |
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
|
|
4576 |
which seems to be undefined. Please make sure it is defined." >&2;}
|
|
4577 |
|
|
4578 |
rm -f "$tmp/stdin"
|
|
4579 |
case $ac_file in
|
|
4580 |
-) cat "$tmp/out" && rm -f "$tmp/out";;
|
|
4581 |
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
|
|
4582 |
esac \
|
|
4583 |
|| as_fn_error "could not create $ac_file" "$LINENO" 5
|
|
4584 |
;;
|
|
4585 |
|
|
4586 |
|
|
4587 |
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
|
|
4588 |
$as_echo "$as_me: executing $ac_file commands" >&6;}
|
|
4589 |
;;
|
|
4590 |
esac
|
|
4591 |
|
|
4592 |
|
|
4593 |
case $ac_file$ac_mode in
|
|
4594 |
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
|
|
4595 |
# Autoconf 2.62 quotes --file arguments for eval, but not when files
|
|
4596 |
# are listed without --file. Let's play safe and only enable the eval
|
|
4597 |
# if we detect the quoting.
|
|
4598 |
case $CONFIG_FILES in
|
|
4599 |
*\'*) eval set x "$CONFIG_FILES" ;;
|
|
4600 |
*) set x $CONFIG_FILES ;;
|
|
4601 |
esac
|
|
4602 |
shift
|
|
4603 |
for mf
|
|
4604 |
do
|
|
4605 |
# Strip MF so we end up with the name of the file.
|
|
4606 |
mf=`echo "$mf" | sed -e 's/:.*$//'`
|
|
4607 |
# Check whether this is an Automake generated Makefile or not.
|
|
4608 |
# We used to match only the files named `Makefile.in', but
|
|
4609 |
# some people rename them; so instead we look at the file content.
|
|
4610 |
# Grep'ing the first line is not enough: some people post-process
|
|
4611 |
# each Makefile.in and add a new line on top of each file to say so.
|
|
4612 |
# Grep'ing the whole file is not good either: AIX grep has a line
|
|
4613 |
# limit of 2048, but all sed's we know have understand at least 4000.
|
|
4614 |
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
|
|
4615 |
dirpart=`$as_dirname -- "$mf" ||
|
4183 | 4616 |
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4184 | 4617 |
X"$mf" : 'X\(//\)[^/]' \| \
|
4185 | 4618 |
X"$mf" : 'X\(//\)$' \| \
|
4186 | |
X"$mf" : 'X\(/\)' \| \
|
4187 | |
. : '\(.\)' 2>/dev/null ||
|
4188 | |
echo X"$mf" |
|
4189 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4190 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4191 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
4192 | |
/^X\(\/\).*/{ s//\1/; q; }
|
4193 | |
s/.*/./; q'`
|
4194 | |
else
|
4195 | |
continue
|
4196 | |
fi
|
4197 | |
# Extract the definition of DEPDIR, am__include, and am__quote
|
4198 | |
# from the Makefile without running `make'.
|
4199 | |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
4200 | |
test -z "$DEPDIR" && continue
|
4201 | |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
4202 | |
test -z "am__include" && continue
|
4203 | |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
4204 | |
# When using ansi2knr, U may be empty or an underscore; expand it
|
4205 | |
U=`sed -n 's/^U = //p' < "$mf"`
|
4206 | |
# Find all dependency output files, they are included files with
|
4207 | |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
4208 | |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
4209 | |
# expansion.
|
4210 | |
for file in `sed -n "
|
4211 | |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
4212 | |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
4213 | |
# Make sure the directory exists.
|
4214 | |
test -f "$dirpart/$file" && continue
|
4215 | |
fdir=`(dirname "$file") 2>/dev/null ||
|
|
4619 |
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
|
|
4620 |
$as_echo X"$mf" |
|
|
4621 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
4622 |
s//\1/
|
|
4623 |
q
|
|
4624 |
}
|
|
4625 |
/^X\(\/\/\)[^/].*/{
|
|
4626 |
s//\1/
|
|
4627 |
q
|
|
4628 |
}
|
|
4629 |
/^X\(\/\/\)$/{
|
|
4630 |
s//\1/
|
|
4631 |
q
|
|
4632 |
}
|
|
4633 |
/^X\(\/\).*/{
|
|
4634 |
s//\1/
|
|
4635 |
q
|
|
4636 |
}
|
|
4637 |
s/.*/./; q'`
|
|
4638 |
else
|
|
4639 |
continue
|
|
4640 |
fi
|
|
4641 |
# Extract the definition of DEPDIR, am__include, and am__quote
|
|
4642 |
# from the Makefile without running `make'.
|
|
4643 |
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
|
|
4644 |
test -z "$DEPDIR" && continue
|
|
4645 |
am__include=`sed -n 's/^am__include = //p' < "$mf"`
|
|
4646 |
test -z "am__include" && continue
|
|
4647 |
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
|
|
4648 |
# When using ansi2knr, U may be empty or an underscore; expand it
|
|
4649 |
U=`sed -n 's/^U = //p' < "$mf"`
|
|
4650 |
# Find all dependency output files, they are included files with
|
|
4651 |
# $(DEPDIR) in their names. We invoke sed twice because it is the
|
|
4652 |
# simplest approach to changing $(DEPDIR) to its actual value in the
|
|
4653 |
# expansion.
|
|
4654 |
for file in `sed -n "
|
|
4655 |
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
|
|
4656 |
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
|
|
4657 |
# Make sure the directory exists.
|
|
4658 |
test -f "$dirpart/$file" && continue
|
|
4659 |
fdir=`$as_dirname -- "$file" ||
|
4216 | 4660 |
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4217 | 4661 |
X"$file" : 'X\(//\)[^/]' \| \
|
4218 | 4662 |
X"$file" : 'X\(//\)$' \| \
|
4219 | |
X"$file" : 'X\(/\)' \| \
|
4220 | |
. : '\(.\)' 2>/dev/null ||
|
4221 | |
echo X"$file" |
|
4222 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4223 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4224 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
4225 | |
/^X\(\/\).*/{ s//\1/; q; }
|
4226 | |
s/.*/./; q'`
|
4227 | |
{ if $as_mkdir_p; then
|
4228 | |
mkdir -p $dirpart/$fdir
|
4229 | |
else
|
4230 | |
as_dir=$dirpart/$fdir
|
4231 | |
as_dirs=
|
4232 | |
while test ! -d "$as_dir"; do
|
4233 | |
as_dirs="$as_dir $as_dirs"
|
4234 | |
as_dir=`(dirname "$as_dir") 2>/dev/null ||
|
4235 | |
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
|
4236 | |
X"$as_dir" : 'X\(//\)[^/]' \| \
|
4237 | |
X"$as_dir" : 'X\(//\)$' \| \
|
4238 | |
X"$as_dir" : 'X\(/\)' \| \
|
4239 | |
. : '\(.\)' 2>/dev/null ||
|
4240 | |
echo X"$as_dir" |
|
4241 | |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
|
4242 | |
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
|
4243 | |
/^X\(\/\/\)$/{ s//\1/; q; }
|
4244 | |
/^X\(\/\).*/{ s//\1/; q; }
|
4245 | |
s/.*/./; q'`
|
|
4663 |
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
|
|
4664 |
$as_echo X"$file" |
|
|
4665 |
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
|
|
4666 |
s//\1/
|
|
4667 |
q
|
|
4668 |
}
|
|
4669 |
/^X\(\/\/\)[^/].*/{
|
|
4670 |
s//\1/
|
|
4671 |
q
|
|
4672 |
}
|
|
4673 |
/^X\(\/\/\)$/{
|
|
4674 |
s//\1/
|
|
4675 |
q
|
|
4676 |
}
|
|
4677 |
/^X\(\/\).*/{
|
|
4678 |
s//\1/
|
|
4679 |
q
|
|
4680 |
}
|
|
4681 |
s/.*/./; q'`
|
|
4682 |
as_dir=$dirpart/$fdir; as_fn_mkdir_p
|
|
4683 |
# echo "creating $dirpart/$file"
|
|
4684 |
echo '# dummy' > "$dirpart/$file"
|
4246 | 4685 |
done
|
4247 | |
test ! -n "$as_dirs" || mkdir $as_dirs
|
4248 | |
fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
|
4249 | |
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
|
4250 | |
{ (exit 1); exit 1; }; }; }
|
4251 | |
|
4252 | |
# echo "creating $dirpart/$file"
|
4253 | |
echo '# dummy' > "$dirpart/$file"
|
4254 | 4686 |
done
|
4255 | |
done
|
|
4687 |
}
|
4256 | 4688 |
;;
|
|
4689 |
|
4257 | 4690 |
esac
|
4258 | |
done
|
|
4691 |
done # for ac_tag
|
|
4692 |
|
|
4693 |
|
|
4694 |
as_fn_exit 0
|
4259 | 4695 |
_ACEOF
|
4260 | |
|
4261 | |
cat >>$CONFIG_STATUS <<\_ACEOF
|
4262 | |
|
4263 | |
{ (exit 0); exit 0; }
|
4264 | |
_ACEOF
|
4265 | |
chmod +x $CONFIG_STATUS
|
4266 | 4696 |
ac_clean_files=$ac_clean_files_save
|
|
4697 |
|
|
4698 |
test $ac_write_fail = 0 ||
|
|
4699 |
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
|
4267 | 4700 |
|
4268 | 4701 |
|
4269 | 4702 |
# configure is writing to config.log, and then calls config.status.
|
|
4284 | 4717 |
exec 5>>config.log
|
4285 | 4718 |
# Use ||, not &&, to avoid exiting from the if with $? = 1, which
|
4286 | 4719 |
# would make configure fail if this is the last instruction.
|
4287 | |
$ac_cs_success || { (exit 1); exit 1; }
|
4288 | |
fi
|
4289 | |
|
|
4720 |
$ac_cs_success || as_fn_exit $?
|
|
4721 |
fi
|
|
4722 |
if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
|
|
4723 |
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
|
|
4724 |
$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
|
|
4725 |
fi
|
|
4726 |
|