2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for debianutils 2.30.
3
# Generated by GNU Autoconf 2.64 for debianutils 3.2.2.
5
5
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
6
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7
9
# This configure script is free software; the Free Software Foundation
8
10
# gives unlimited permission to copy, distribute and modify it.
9
## --------------------- ##
10
## M4sh Initialization. ##
11
## --------------------- ##
11
## -------------------- ##
12
## M4sh Initialization. ##
13
## -------------------- ##
13
15
# Be more Bourne compatible
14
16
DUALCASE=1; export DUALCASE # for MKS sh
15
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19
21
# is contrary to our usage. Disable this feature.
20
22
alias -g '${1+"$@"}'='"$@"'
21
23
setopt NO_GLOB_SUBST
23
case `(set -o) 2>/dev/null` in
24
*posix*) set -o posix ;;
25
case `(set -o) 2>/dev/null` in #(
33
# Avoid depending upon Character Ranges.
34
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
35
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
37
as_cr_digits='0123456789'
38
as_cr_alnum=$as_cr_Letters$as_cr_digits
37
# Printing a long string crashes Solaris 7 /usr/bin/printf.
38
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41
# Prefer a ksh shell builtin over an external printf program on Solaris,
42
# but without wasting forks for bash or zsh.
43
if test -z "$BASH_VERSION$ZSH_VERSION" \
44
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46
as_echo_n='print -rn --'
47
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53
as_echo_n='/usr/ucb/echo -n'
55
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60
expr "X$arg" : "X\\(.*\\)$as_nl";
61
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66
as_echo_n='sh -c $as_echo_n_body as_echo'
69
as_echo='sh -c $as_echo_body as_echo'
40
72
# The user is always right.
41
73
if test "${PATH_SEPARATOR+set}" != set; then
42
echo "#! /bin/sh" >conf$$.sh
43
echo "exit 0" >>conf$$.sh
45
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
53
# Support unset when possible.
54
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
75
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
89
108
if test ! -f "$as_myself"; then
90
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
109
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
94
# Work around bugs in pre-3.0 UWIN ksh.
95
for as_var in ENV MAIL MAILPATH
96
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113
# Unset variables that we do not need and which cause bugs (e.g. in
114
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115
# suppresses any "Segmentation fault" message there. '((' could
116
# trigger a bug in pdksh 5.2.14.
117
for as_var in BASH_ENV ENV MAIL MAILPATH
118
do eval test x\${$as_var+set} = xset \
119
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
104
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
105
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
108
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
109
eval $as_var=C; export $as_var
111
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
115
# Required to use basename.
116
if expr a : '\(a\)' >/dev/null 2>&1 &&
117
test "X`expr 00001 : '.*\(...\)'`" = X001; then
123
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
130
# Name of the executable.
131
as_me=`$as_basename -- "$0" ||
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133
X"$0" : 'X\(//\)$' \| \
134
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
132
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
154
134
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
135
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139
# is contrary to our usage. Disable this feature.
140
alias -g '\${1+\"\$@\"}'='\"\$@\"'
143
case \`(set -o) 2>/dev/null\` in #(
151
as_required="as_fn_return () { (exit \$1); }
152
as_fn_success () { as_fn_return 0; }
153
as_fn_failure () { as_fn_return 1; }
154
as_fn_ret_success () { return 0; }
155
as_fn_ret_failure () { return 1; }
158
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165
exitcode=1; echo positional parameters were not saved.
167
test x\$exitcode = x0 || exit 1"
168
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172
test \$(( 1 + 1 )) = 2 || exit 1"
173
if (eval "$as_required") 2>/dev/null; then :
156
174
as_have_required=yes
158
176
as_have_required=no
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
178
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
183
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
225
186
test -z "$as_dir" && as_dir=.
228
190
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
191
# Try only shells that exist, to save several forks.
192
as_shell=$as_dir/$as_base
193
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195
CONFIG_SHELL=$as_shell as_have_required=yes
196
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206
CONFIG_SHELL=$SHELL as_have_required=yes
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
429
# uniformly replaced by the line number. The first 'sed' inserts a
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
435
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
211
if test "x$CONFIG_SHELL" != x; then :
212
# We cannot yet assume a decent shell, so we have to provide a
213
# neutralization value for shells without unset; and this also
214
# works around shells that cannot unset nonexistent variables.
217
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222
if test x$as_have_required = xno; then :
223
$as_echo "$0: This script requires a shell more modern than all"
224
$as_echo "$0: the shells that I found on your system."
225
if test x${ZSH_VERSION+set} = xset ; then
226
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
229
$as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230
$0: including any error possibly output before this
231
$0: message. Then install a modern shell, or manually run
232
$0: the script under such a shell if you do have one."
238
SHELL=${CONFIG_SHELL-/bin/sh}
240
# Unset more variables known to interfere with behavior of common tools.
241
CLICOLOR_FORCE= GREP_OPTIONS=
242
unset CLICOLOR_FORCE GREP_OPTIONS
244
## --------------------- ##
245
## M4sh Shell Functions. ##
246
## --------------------- ##
249
# Portably unset VAR.
252
{ eval $1=; unset $1;}
256
# as_fn_set_status STATUS
257
# -----------------------
258
# Set $? to STATUS, without forking.
266
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276
# Create "$as_dir" as a directory, including parents if necessary.
281
-*) as_dir=./$as_dir;;
283
test -d "$as_dir" || eval $as_mkdir_p || {
287
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290
as_dirs="'$as_qdir' $as_dirs"
291
as_dir=`$as_dirname -- "$as_dir" ||
292
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293
X"$as_dir" : 'X\(//\)[^/]' \| \
294
X"$as_dir" : 'X\(//\)$' \| \
295
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296
$as_echo X"$as_dir" |
297
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314
test -d "$as_dir" && break
316
test -z "$as_dirs" || eval "mkdir $as_dirs"
317
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321
# as_fn_append VAR VALUE
322
# ----------------------
323
# Append the text in VALUE to the end of the definition contained in VAR. Take
324
# advantage of any shell optimizations that allow amortized linear growth over
325
# repeated appends, instead of the typical quadratic growth present in naive
327
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328
eval 'as_fn_append ()
341
# Perform arithmetic evaluation on the ARGs, and store the result in the
342
# global $as_val. Take advantage of shells that can avoid forks. The arguments
343
# must be portable across $(()) and expr.
344
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352
as_val=`expr "$@" || test $? -eq 1`
357
# as_fn_error ERROR [LINENO LOG_FD]
358
# ---------------------------------
359
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361
# script with status $?, using 1 if that was 0.
364
as_status=$?; test $as_status -eq 0 && as_status=1
366
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369
$as_echo "$as_me: error: $1" >&2
370
as_fn_exit $as_status
373
if expr a : '\(a\)' >/dev/null 2>&1 &&
374
test "X`expr 00001 : '.*\(...\)'`" = X001; then
380
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392
as_me=`$as_basename -- "$0" ||
393
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394
X"$0" : 'X\(//\)$' \| \
395
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397
sed '/^.*\/\([^/][^/]*\)\/*$/{
411
# Avoid depending upon Character Ranges.
412
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415
as_cr_digits='0123456789'
416
as_cr_alnum=$as_cr_Letters$as_cr_digits
419
as_lineno_1=$LINENO as_lineno_1a=$LINENO
420
as_lineno_2=$LINENO as_lineno_2a=$LINENO
421
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1353
1379
test -n "$ac_init_help" && exit $ac_status
1354
1380
if $ac_init_version; then
1356
debianutils configure 2.30
1357
generated by GNU Autoconf 2.61
1382
debianutils configure 3.2.2
1383
generated by GNU Autoconf 2.64
1359
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1360
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1385
Copyright (C) 2009 Free Software Foundation, Inc.
1361
1386
This configure script is free software; the Free Software Foundation
1362
1387
gives unlimited permission to copy, distribute and modify it.
1392
## ------------------------ ##
1393
## Autoconf initialization. ##
1394
## ------------------------ ##
1396
# ac_fn_c_try_compile LINENO
1397
# --------------------------
1398
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1399
ac_fn_c_try_compile ()
1401
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402
rm -f conftest.$ac_objext
1403
if { { ac_try="$ac_compile"
1405
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1406
*) ac_try_echo=$ac_try;;
1408
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1409
$as_echo "$ac_try_echo"; } >&5
1410
(eval "$ac_compile") 2>conftest.err
1412
if test -s conftest.err; then
1413
grep -v '^ *+' conftest.err >conftest.er1
1414
cat conftest.er1 >&5
1415
mv -f conftest.er1 conftest.err
1417
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1418
test $ac_status = 0; } && {
1419
test -z "$ac_c_werror_flag" ||
1420
test ! -s conftest.err
1421
} && test -s conftest.$ac_objext; then :
1424
$as_echo "$as_me: failed program was:" >&5
1425
sed 's/^/| /' conftest.$ac_ext >&5
1429
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1432
} # ac_fn_c_try_compile
1434
# ac_fn_c_try_cpp LINENO
1435
# ----------------------
1436
# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1439
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1440
if { { ac_try="$ac_cpp conftest.$ac_ext"
1442
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1443
*) ac_try_echo=$ac_try;;
1445
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1446
$as_echo "$ac_try_echo"; } >&5
1447
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1449
if test -s conftest.err; then
1450
grep -v '^ *+' conftest.err >conftest.er1
1451
cat conftest.er1 >&5
1452
mv -f conftest.er1 conftest.err
1454
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455
test $ac_status = 0; } >/dev/null && {
1456
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1457
test ! -s conftest.err
1461
$as_echo "$as_me: failed program was:" >&5
1462
sed 's/^/| /' conftest.$ac_ext >&5
1466
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1471
# ac_fn_c_try_run LINENO
1472
# ----------------------
1473
# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1474
# that executables *can* be run.
1477
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1478
if { { ac_try="$ac_link"
1480
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1481
*) ac_try_echo=$ac_try;;
1483
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1484
$as_echo "$ac_try_echo"; } >&5
1485
(eval "$ac_link") 2>&5
1487
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1488
test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1489
{ { case "(($ac_try" in
1490
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491
*) ac_try_echo=$ac_try;;
1493
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494
$as_echo "$ac_try_echo"; } >&5
1495
(eval "$ac_try") 2>&5
1497
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1498
test $ac_status = 0; }; }; then :
1501
$as_echo "$as_me: program exited with status $ac_status" >&5
1502
$as_echo "$as_me: failed program was:" >&5
1503
sed 's/^/| /' conftest.$ac_ext >&5
1505
ac_retval=$ac_status
1507
rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1508
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1513
# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1514
# -------------------------------------------------------
1515
# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1516
# the include files in INCLUDES and setting the cache variable VAR
1518
ac_fn_c_check_header_mongrel ()
1520
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1521
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1523
$as_echo_n "checking for $2... " >&6; }
1524
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1525
$as_echo_n "(cached) " >&6
1528
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1529
$as_echo "$ac_res" >&6; }
1531
# Is the header compilable?
1532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1533
$as_echo_n "checking $2 usability... " >&6; }
1534
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1535
/* end confdefs.h. */
1539
if ac_fn_c_try_compile "$LINENO"; then :
1540
ac_header_compiler=yes
1542
ac_header_compiler=no
1544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1545
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1546
$as_echo "$ac_header_compiler" >&6; }
1548
# Is the header present?
1549
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1550
$as_echo_n "checking $2 presence... " >&6; }
1551
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1552
/* end confdefs.h. */
1555
if ac_fn_c_try_cpp "$LINENO"; then :
1556
ac_header_preproc=yes
1558
ac_header_preproc=no
1560
rm -f conftest.err conftest.$ac_ext
1561
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1562
$as_echo "$ac_header_preproc" >&6; }
1564
# So? What about this header?
1565
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1567
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1568
$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1569
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1570
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1573
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1574
$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1575
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1576
$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1577
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1578
$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1579
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1580
$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1581
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1582
$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1585
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1586
$as_echo_n "checking for $2... " >&6; }
1587
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1588
$as_echo_n "(cached) " >&6
1590
eval "$3=\$ac_header_compiler"
1593
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1594
$as_echo "$ac_res" >&6; }
1596
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1598
} # ac_fn_c_check_header_mongrel
1600
# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1601
# -------------------------------------------------------
1602
# Tests whether HEADER exists and can be compiled using the include files in
1603
# INCLUDES, setting the cache variable VAR accordingly.
1604
ac_fn_c_check_header_compile ()
1606
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1608
$as_echo_n "checking for $2... " >&6; }
1609
if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1610
$as_echo_n "(cached) " >&6
1612
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1613
/* end confdefs.h. */
1617
if ac_fn_c_try_compile "$LINENO"; then :
1622
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1625
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1626
$as_echo "$ac_res" >&6; }
1627
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1629
} # ac_fn_c_check_header_compile
1366
1630
cat >config.log <<_ACEOF
1367
1631
This file contains any messages produced by compilers while
1368
1632
running configure, to aid debugging if configure makes a mistake.
1370
It was created by debianutils $as_me 2.30, which was
1371
generated by GNU Autoconf 2.61. Invocation command line was
1634
It was created by debianutils $as_me 3.2.2, which was
1635
generated by GNU Autoconf 2.64. Invocation command line was
1562
1827
test "$ac_signal" != 0 &&
1563
echo "$as_me: caught signal $ac_signal"
1564
echo "$as_me: exit $exit_status"
1828
$as_echo "$as_me: caught signal $ac_signal"
1829
$as_echo "$as_me: exit $exit_status"
1566
1831
rm -f core *.core core.conftest.* &&
1567
1832
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1568
1833
exit $exit_status
1570
1835
for ac_signal in 1 2 13 15; do
1571
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1836
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1575
1840
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1576
1841
rm -f -r conftest* confdefs.h
1843
$as_echo "/* confdefs.h */" > confdefs.h
1578
1845
# Predefined preprocessor variables.
1580
1847
cat >>confdefs.h <<_ACEOF
1581
1848
#define PACKAGE_NAME "$PACKAGE_NAME"
1585
1851
cat >>confdefs.h <<_ACEOF
1586
1852
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1590
1855
cat >>confdefs.h <<_ACEOF
1591
1856
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1595
1859
cat >>confdefs.h <<_ACEOF
1596
1860
#define PACKAGE_STRING "$PACKAGE_STRING"
1600
1863
cat >>confdefs.h <<_ACEOF
1601
1864
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1867
cat >>confdefs.h <<_ACEOF
1868
#define PACKAGE_URL "$PACKAGE_URL"
1605
1872
# Let the site file select an alternate cache file if it wants to.
1606
# Prefer explicitly selected file to automatically selected ones.
1873
# Prefer an explicitly selected file to automatically selected ones.
1607
1876
if test -n "$CONFIG_SITE"; then
1608
set x "$CONFIG_SITE"
1877
ac_site_file1=$CONFIG_SITE
1609
1878
elif test "x$prefix" != xNONE; then
1610
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1879
ac_site_file1=$prefix/share/config.site
1880
ac_site_file2=$prefix/etc/config.site
1612
set x "$ac_default_prefix/share/config.site" \
1613
"$ac_default_prefix/etc/config.site"
1882
ac_site_file1=$ac_default_prefix/share/config.site
1883
ac_site_file2=$ac_default_prefix/etc/config.site
1885
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1887
test "x$ac_site_file" = xNONE && continue
1618
1888
if test -r "$ac_site_file"; then
1619
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1620
echo "$as_me: loading site script $ac_site_file" >&6;}
1889
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1890
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1621
1891
sed 's/^/| /' "$ac_site_file" >&5
1622
1892
. "$ac_site_file"
1650
1920
eval ac_new_val=\$ac_env_${ac_var}_value
1651
1921
case $ac_old_set,$ac_new_set in
1653
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1654
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1923
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1924
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1655
1925
ac_cache_corrupted=: ;;
1657
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1658
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1927
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1928
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1659
1929
ac_cache_corrupted=: ;;
1662
1932
if test "x$ac_old_val" != "x$ac_new_val"; then
1663
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1664
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1665
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1666
echo "$as_me: former value: $ac_old_val" >&2;}
1667
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1668
echo "$as_me: current value: $ac_new_val" >&2;}
1669
ac_cache_corrupted=:
1933
# differences in whitespace do not lead to failure.
1934
ac_old_val_w=`echo x $ac_old_val`
1935
ac_new_val_w=`echo x $ac_new_val`
1936
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1937
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1938
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1939
ac_cache_corrupted=:
1941
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1942
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1943
eval $ac_var=\$ac_old_val
1945
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1946
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1947
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1948
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1672
1951
# Pass precious variables to config.status.
1673
1952
if test "$ac_new_set" = set; then
1674
1953
case $ac_new_val in
1675
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1954
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1676
1955
*) ac_arg=$ac_var=$ac_new_val ;;
1678
1957
case " $ac_configure_args " in
1679
1958
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1680
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1959
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
1684
1963
if $ac_cache_corrupted; then
1685
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1686
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1687
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1688
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1689
{ (exit 1); exit 1; }; }
1964
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1965
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1966
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1967
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1968
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1970
## -------------------- ##
1971
## Main body of script. ##
1972
## -------------------- ##
1717
1975
ac_cpp='$CPP $CPPFLAGS'
1873
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1874
Check your system clock" >&5
1875
echo "$as_me: error: newly created file is older than distributed files!
1876
Check your system clock" >&2;}
1877
{ (exit 1); exit 1; }; }
2146
as_fn_error "newly created file is older than distributed files!
2147
Check your system clock" "$LINENO" 5
1879
{ echo "$as_me:$LINENO: result: yes" >&5
1880
echo "${ECHO_T}yes" >&6; }
2149
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2150
$as_echo "yes" >&6; }
1881
2151
test "$program_prefix" != NONE &&
1882
2152
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1883
2153
# Use a double $ so make ignores it.
1884
2154
test "$program_suffix" != NONE &&
1885
2155
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1886
# Double any \ or $. echo might interpret backslashes.
2156
# Double any \ or $.
1887
2157
# By default was `s,x,x', remove it if useless.
1888
cat <<\_ACEOF >conftest.sed
1889
s/[\\$]/&&/g;s/;s,x,x,$//
1891
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2158
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2159
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1894
2161
# expand $ac_aux_dir to an absolute path
1895
2162
am_aux_dir=`cd $ac_aux_dir && pwd`
1897
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2164
if test x"${MISSING+set}" != xset; then
2167
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2169
MISSING="\${SHELL} $am_aux_dir/missing" ;;
1898
2172
# Use eval to expand $SHELL
1899
2173
if eval "$MISSING --run true"; then
1900
2174
am_missing_run="$MISSING --run "
1902
2176
am_missing_run=
1903
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1904
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1907
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1908
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2177
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
2178
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2181
if test x"${install_sh}" != xset; then
2184
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2186
install_sh="\${SHELL} $am_aux_dir/install-sh"
2190
# Installed binaries are usually stripped using `strip' when the user
2191
# run `make install-strip'. However `strip' might not be the right
2192
# tool to use in cross-compilation environments, therefore Automake
2193
# will honor the `STRIP' environment variable to overrule this program.
2194
if test "$cross_compiling" != no; then
2195
if test -n "$ac_tool_prefix"; then
2196
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2197
set dummy ${ac_tool_prefix}strip; ac_word=$2
2198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2199
$as_echo_n "checking for $ac_word... " >&6; }
2200
if test "${ac_cv_prog_STRIP+set}" = set; then :
2201
$as_echo_n "(cached) " >&6
2203
if test -n "$STRIP"; then
2204
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2206
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210
test -z "$as_dir" && as_dir=.
2211
for ac_exec_ext in '' $ac_executable_extensions; do
2212
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2213
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2214
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2223
STRIP=$ac_cv_prog_STRIP
2224
if test -n "$STRIP"; then
2225
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2226
$as_echo "$STRIP" >&6; }
2228
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2229
$as_echo "no" >&6; }
2234
if test -z "$ac_cv_prog_STRIP"; then
2236
# Extract the first word of "strip", so it can be a program name with args.
2237
set dummy strip; ac_word=$2
2238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2239
$as_echo_n "checking for $ac_word... " >&6; }
2240
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2241
$as_echo_n "(cached) " >&6
2243
if test -n "$ac_ct_STRIP"; then
2244
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2246
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250
test -z "$as_dir" && as_dir=.
2251
for ac_exec_ext in '' $ac_executable_extensions; do
2252
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2253
ac_cv_prog_ac_ct_STRIP="strip"
2254
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2263
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2264
if test -n "$ac_ct_STRIP"; then
2265
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2266
$as_echo "$ac_ct_STRIP" >&6; }
2268
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2269
$as_echo "no" >&6; }
2272
if test "x$ac_ct_STRIP" = x; then
2275
case $cross_compiling:$ac_tool_warned in
2277
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2278
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2279
ac_tool_warned=yes ;;
2284
STRIP="$ac_cv_prog_STRIP"
2288
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2291
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1909
2292
if test -z "$MKDIR_P"; then
1910
if test "${ac_cv_path_mkdir+set}" = set; then
1911
echo $ECHO_N "(cached) $ECHO_C" >&6
2293
if test "${ac_cv_path_mkdir+set}" = set; then :
2294
$as_echo_n "(cached) " >&6
1913
2296
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914
2297
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1916
2299
IFS=$as_save_IFS
1917
2300
test -z "$as_dir" && as_dir=.
1918
for ac_prog in mkdir gmkdir; do
2301
for ac_prog in mkdir gmkdir; do
1919
2302
for ac_exec_ext in '' $ac_executable_extensions; do
1920
2303
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1921
2304
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2086
2468
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2088
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2090
# Installed binaries are usually stripped using `strip' when the user
2091
# run `make install-strip'. However `strip' might not be the right
2092
# tool to use in cross-compilation environments, therefore Automake
2093
# will honor the `STRIP' environment variable to overrule this program.
2094
if test "$cross_compiling" != no; then
2095
if test -n "$ac_tool_prefix"; then
2096
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2097
set dummy ${ac_tool_prefix}strip; ac_word=$2
2098
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2099
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2100
if test "${ac_cv_prog_STRIP+set}" = set; then
2101
echo $ECHO_N "(cached) $ECHO_C" >&6
2103
if test -n "$STRIP"; then
2104
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2110
test -z "$as_dir" && as_dir=.
2111
for ac_exec_ext in '' $ac_executable_extensions; do
2112
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2113
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2114
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2123
STRIP=$ac_cv_prog_STRIP
2124
if test -n "$STRIP"; then
2125
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2126
echo "${ECHO_T}$STRIP" >&6; }
2128
{ echo "$as_me:$LINENO: result: no" >&5
2129
echo "${ECHO_T}no" >&6; }
2134
if test -z "$ac_cv_prog_STRIP"; then
2136
# Extract the first word of "strip", so it can be a program name with args.
2137
set dummy strip; ac_word=$2
2138
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2139
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2140
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2141
echo $ECHO_N "(cached) $ECHO_C" >&6
2143
if test -n "$ac_ct_STRIP"; then
2144
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2146
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2150
test -z "$as_dir" && as_dir=.
2151
for ac_exec_ext in '' $ac_executable_extensions; do
2152
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2153
ac_cv_prog_ac_ct_STRIP="strip"
2154
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2163
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2164
if test -n "$ac_ct_STRIP"; then
2165
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2166
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2168
{ echo "$as_me:$LINENO: result: no" >&5
2169
echo "${ECHO_T}no" >&6; }
2172
if test "x$ac_ct_STRIP" = x; then
2175
case $cross_compiling:$ac_tool_warned in
2177
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2178
whose name does not start with the host triplet. If you think this
2179
configuration is useful to you, please write to autoconf@gnu.org." >&5
2180
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2181
whose name does not start with the host triplet. If you think this
2182
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2183
ac_tool_warned=yes ;;
2188
STRIP="$ac_cv_prog_STRIP"
2192
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2194
2470
# We need awk for the "check" target. The system "awk" is bad on
2195
2471
# some platforms.
2196
2472
# Always define AMTAR for backward compatibility.
2513
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2514
See \`config.log' for more details." >&5
2515
echo "$as_me: error: no acceptable C compiler found in \$PATH
2516
See \`config.log' for more details." >&2;}
2517
{ (exit 1); exit 1; }; }
2781
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2782
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2783
as_fn_error "no acceptable C compiler found in \$PATH
2784
See \`config.log' for more details." "$LINENO" 5; }
2519
2786
# Provide some information about the compiler.
2520
echo "$as_me:$LINENO: checking for C compiler version" >&5
2521
ac_compiler=`set X $ac_compile; echo $2`
2522
{ (ac_try="$ac_compiler --version >&5"
2524
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2525
*) ac_try_echo=$ac_try;;
2527
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2528
(eval "$ac_compiler --version >&5") 2>&5
2530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531
(exit $ac_status); }
2532
{ (ac_try="$ac_compiler -v >&5"
2534
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2535
*) ac_try_echo=$ac_try;;
2537
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2538
(eval "$ac_compiler -v >&5") 2>&5
2540
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2541
(exit $ac_status); }
2542
{ (ac_try="$ac_compiler -V >&5"
2544
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2545
*) ac_try_echo=$ac_try;;
2547
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2548
(eval "$ac_compiler -V >&5") 2>&5
2550
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2551
(exit $ac_status); }
2787
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2790
for ac_option in --version -v -V -qversion; do
2791
{ { ac_try="$ac_compiler $ac_option >&5"
2793
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794
*) ac_try_echo=$ac_try;;
2796
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797
$as_echo "$ac_try_echo"; } >&5
2798
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2800
if test -s conftest.err; then
2802
... rest of stderr output deleted ...
2803
10q' conftest.err >conftest.er1
2804
cat conftest.er1 >&5
2805
rm -f conftest.er1 conftest.err
2807
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2808
test $ac_status = 0; }
2553
cat >conftest.$ac_ext <<_ACEOF
2556
cat confdefs.h >>conftest.$ac_ext
2557
cat >>conftest.$ac_ext <<_ACEOF
2811
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2558
2812
/* end confdefs.h. */
2817
FILE *f = fopen ("conftest.out", "w");
2818
return ferror (f) || fclose (f) != 0;
2568
2824
ac_clean_files_save=$ac_clean_files
2569
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2825
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2570
2826
# Try to create an executable without -o first, disregard a.out.
2571
2827
# It will help us diagnose broken compilers, and finding out an intuition
2573
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2574
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2575
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2577
# List of possible output files, starting from the most likely.
2578
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2579
# only as a last resort. b.out is created by i960 compilers.
2580
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2582
# The IRIX 6 linker writes into existing files which may not be
2583
# executable, retaining their permissions. Remove them first so a
2584
# subsequent execution test works.
2829
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2830
$as_echo_n "checking for C compiler default output file name... " >&6; }
2831
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2833
# The possible output files:
2834
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2586
2837
for ac_file in $ac_files
2588
2839
case $ac_file in
2589
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2840
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2590
2841
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2593
2844
rm -f $ac_rmfiles
2595
if { (ac_try="$ac_link_default"
2846
if { { ac_try="$ac_link_default"
2596
2847
case "(($ac_try" in
2597
2848
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2598
2849
*) ac_try_echo=$ac_try;;
2600
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2851
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2852
$as_echo "$ac_try_echo"; } >&5
2601
2853
(eval "$ac_link_default") 2>&5
2603
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604
(exit $ac_status); }; then
2855
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856
test $ac_status = 0; }; then :
2605
2857
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2606
2858
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2607
2859
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2641
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2642
echo "${ECHO_T}$ac_file" >&6; }
2643
if test -z "$ac_file"; then
2644
echo "$as_me: failed program was:" >&5
2892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2893
$as_echo "$ac_file" >&6; }
2894
if test -z "$ac_file"; then :
2895
$as_echo "$as_me: failed program was:" >&5
2645
2896
sed 's/^/| /' conftest.$ac_ext >&5
2647
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2648
See \`config.log' for more details." >&5
2649
echo "$as_me: error: C compiler cannot create executables
2650
See \`config.log' for more details." >&2;}
2651
{ (exit 77); exit 77; }; }
2898
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2899
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900
{ as_fn_set_status 77
2901
as_fn_error "C compiler cannot create executables
2902
See \`config.log' for more details." "$LINENO" 5; }; }
2654
2904
ac_exeext=$ac_cv_exeext
2656
2906
# Check that the compiler produces executables we can run. If not, either
2657
2907
# the compiler is broken, or we cross compile.
2658
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2659
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2660
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2908
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2909
$as_echo_n "checking whether the C compiler works... " >&6; }
2661
2910
# If not cross compiling, check that we can run a simple program.
2662
2911
if test "$cross_compiling" != yes; then
2663
2912
if { ac_try='./$ac_file'
2664
{ (case "(($ac_try" in
2913
{ { case "(($ac_try" in
2665
2914
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2666
2915
*) ac_try_echo=$ac_try;;
2668
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2917
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918
$as_echo "$ac_try_echo"; } >&5
2669
2919
(eval "$ac_try") 2>&5
2671
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2672
(exit $ac_status); }; }; then
2921
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2922
test $ac_status = 0; }; }; then
2673
2923
cross_compiling=no
2675
2925
if test "$cross_compiling" = maybe; then
2676
2926
cross_compiling=yes
2678
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2679
If you meant to cross compile, use \`--host'.
2680
See \`config.log' for more details." >&5
2681
echo "$as_me: error: cannot run C compiled programs.
2682
If you meant to cross compile, use \`--host'.
2683
See \`config.log' for more details." >&2;}
2684
{ (exit 1); exit 1; }; }
2928
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2929
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2930
as_fn_error "cannot run C compiled programs.
2931
If you meant to cross compile, use \`--host'.
2932
See \`config.log' for more details." "$LINENO" 5; }
2688
{ echo "$as_me:$LINENO: result: yes" >&5
2689
echo "${ECHO_T}yes" >&6; }
2936
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2937
$as_echo "yes" >&6; }
2691
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2939
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2692
2940
ac_clean_files=$ac_clean_files_save
2693
2941
# Check that the compiler produces executables we can run. If not, either
2694
2942
# the compiler is broken, or we cross compile.
2695
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2696
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2697
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2698
echo "${ECHO_T}$cross_compiling" >&6; }
2943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2944
$as_echo_n "checking whether we are cross compiling... " >&6; }
2945
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2946
$as_echo "$cross_compiling" >&6; }
2700
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2701
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2702
if { (ac_try="$ac_link"
2948
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2949
$as_echo_n "checking for suffix of executables... " >&6; }
2950
if { { ac_try="$ac_link"
2703
2951
case "(($ac_try" in
2704
2952
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2705
2953
*) ac_try_echo=$ac_try;;
2707
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2955
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2956
$as_echo "$ac_try_echo"; } >&5
2708
2957
(eval "$ac_link") 2>&5
2710
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2711
(exit $ac_status); }; then
2959
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2960
test $ac_status = 0; }; then :
2712
2961
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2713
2962
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2714
2963
# work properly (i.e., refer to `conftest.exe'), while it won't with
2760
3003
rm -f conftest.o conftest.obj
2761
if { (ac_try="$ac_compile"
3004
if { { ac_try="$ac_compile"
2762
3005
case "(($ac_try" in
2763
3006
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764
3007
*) ac_try_echo=$ac_try;;
2766
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3009
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3010
$as_echo "$ac_try_echo"; } >&5
2767
3011
(eval "$ac_compile") 2>&5
2769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2770
(exit $ac_status); }; then
3013
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3014
test $ac_status = 0; }; then :
2771
3015
for ac_file in conftest.o conftest.obj conftest.*; do
2772
3016
test -f "$ac_file" || continue;
2773
3017
case $ac_file in
2774
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
3018
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2775
3019
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2780
echo "$as_me: failed program was:" >&5
3024
$as_echo "$as_me: failed program was:" >&5
2781
3025
sed 's/^/| /' conftest.$ac_ext >&5
2783
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2784
See \`config.log' for more details." >&5
2785
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2786
See \`config.log' for more details." >&2;}
2787
{ (exit 1); exit 1; }; }
3027
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3028
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029
as_fn_error "cannot compute suffix of object files: cannot compile
3030
See \`config.log' for more details." "$LINENO" 5; }
2790
3032
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2792
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2793
echo "${ECHO_T}$ac_cv_objext" >&6; }
3034
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3035
$as_echo "$ac_cv_objext" >&6; }
2794
3036
OBJEXT=$ac_cv_objext
2795
3037
ac_objext=$OBJEXT
2796
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2797
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2798
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2799
echo $ECHO_N "(cached) $ECHO_C" >&6
3038
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3039
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3040
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3041
$as_echo_n "(cached) " >&6
2801
cat >conftest.$ac_ext <<_ACEOF
2804
cat confdefs.h >>conftest.$ac_ext
2805
cat >>conftest.$ac_ext <<_ACEOF
3043
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2806
3044
/* end confdefs.h. */
3443
if { (ac_try="$ac_cpp conftest.$ac_ext"
3445
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3446
*) ac_try_echo=$ac_try;;
3448
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3449
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3451
grep -v '^ *+' conftest.er1 >conftest.err
3453
cat conftest.err >&5
3454
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455
(exit $ac_status); } >/dev/null && {
3456
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3457
test ! -s conftest.err
3536
if ac_fn_c_try_cpp "$LINENO"; then :
3461
echo "$as_me: failed program was:" >&5
3462
sed 's/^/| /' conftest.$ac_ext >&5
3464
3539
# Broken: fails on valid input.
3468
3542
rm -f conftest.err conftest.$ac_ext
3470
3544
# OK, works on sane cases. Now check whether nonexistent headers
3471
3545
# can be detected and how.
3472
cat >conftest.$ac_ext <<_ACEOF
3475
cat confdefs.h >>conftest.$ac_ext
3476
cat >>conftest.$ac_ext <<_ACEOF
3546
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3477
3547
/* end confdefs.h. */
3478
3548
#include <ac_nonexistent.h>
3480
if { (ac_try="$ac_cpp conftest.$ac_ext"
3482
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3483
*) ac_try_echo=$ac_try;;
3485
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3486
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3488
grep -v '^ *+' conftest.er1 >conftest.err
3490
cat conftest.err >&5
3491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492
(exit $ac_status); } >/dev/null && {
3493
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3494
test ! -s conftest.err
3550
if ac_fn_c_try_cpp "$LINENO"; then :
3496
3551
# Broken: success on invalid input.
3499
echo "$as_me: failed program was:" >&5
3500
sed 's/^/| /' conftest.$ac_ext >&5
3502
3554
# Passes both tests.
3503
3555
ac_preproc_ok=:
3507
3558
rm -f conftest.err conftest.$ac_ext
3510
3561
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3511
3562
rm -f conftest.err conftest.$ac_ext
3512
if $ac_preproc_ok; then
3563
if $ac_preproc_ok; then :
3515
{ { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3516
See \`config.log' for more details." >&5
3517
echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3518
See \`config.log' for more details." >&2;}
3519
{ (exit 1); exit 1; }; }
3566
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3567
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3568
as_fn_error "C preprocessor \"$CPP\" fails sanity check
3569
See \`config.log' for more details." "$LINENO" 5; }
3526
3576
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3529
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3530
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3531
if test "${ac_cv_path_GREP+set}" = set; then
3532
echo $ECHO_N "(cached) $ECHO_C" >&6
3534
# Extract the first word of "grep ggrep" to use in msg output
3535
if test -z "$GREP"; then
3536
set dummy grep ggrep; ac_prog_name=$2
3537
if test "${ac_cv_path_GREP+set}" = set; then
3538
echo $ECHO_N "(cached) $ECHO_C" >&6
3579
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3580
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3581
if test "${ac_cv_path_GREP+set}" = set; then :
3582
$as_echo_n "(cached) " >&6
3584
if test -z "$GREP"; then
3540
3585
ac_path_GREP_found=false
3541
# Loop through the user's path and test for each of PROGNAME-LIST
3542
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586
# Loop through the user's path and test for each of PROGNAME-LIST
3587
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3543
3588
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3545
3590
IFS=$as_save_IFS
3546
3591
test -z "$as_dir" && as_dir=.
3547
for ac_prog in grep ggrep; do
3548
for ac_exec_ext in '' $ac_executable_extensions; do
3549
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3550
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3551
# Check for GNU ac_path_GREP and select it if it is found.
3592
for ac_prog in grep ggrep; do
3593
for ac_exec_ext in '' $ac_executable_extensions; do
3594
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3595
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3596
# Check for GNU ac_path_GREP and select it if it is found.
3552
3597
# Check for GNU $ac_path_GREP
3553
3598
case `"$ac_path_GREP" --version 2>&1` in
3555
3600
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3558
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3603
$as_echo_n 0123456789 >"conftest.in"
3561
3606
cat "conftest.in" "conftest.in" >"conftest.tmp"
3562
3607
mv "conftest.tmp" "conftest.in"
3563
3608
cp "conftest.in" "conftest.nl"
3564
echo 'GREP' >> "conftest.nl"
3609
$as_echo 'GREP' >> "conftest.nl"
3565
3610
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3566
3611
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3567
ac_count=`expr $ac_count + 1`
3612
as_fn_arith $ac_count + 1 && ac_count=$as_val
3568
3613
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3569
3614
# Best one so far, save it but keep looking for a better one
3570
3615
ac_cv_path_GREP="$ac_path_GREP"
3576
3621
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3580
$ac_path_GREP_found && break 3
3624
$ac_path_GREP_found && break 3
3585
3628
IFS=$as_save_IFS
3590
GREP="$ac_cv_path_GREP"
3591
if test -z "$GREP"; then
3592
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3593
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3594
{ (exit 1); exit 1; }; }
3629
if test -z "$ac_cv_path_GREP"; then
3630
as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3598
3633
ac_cv_path_GREP=$GREP
3603
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3604
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3637
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3638
$as_echo "$ac_cv_path_GREP" >&6; }
3605
3639
GREP="$ac_cv_path_GREP"
3608
{ echo "$as_me:$LINENO: checking for egrep" >&5
3609
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3610
if test "${ac_cv_path_EGREP+set}" = set; then
3611
echo $ECHO_N "(cached) $ECHO_C" >&6
3642
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3643
$as_echo_n "checking for egrep... " >&6; }
3644
if test "${ac_cv_path_EGREP+set}" = set; then :
3645
$as_echo_n "(cached) " >&6
3613
3647
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3614
3648
then ac_cv_path_EGREP="$GREP -E"
3616
# Extract the first word of "egrep" to use in msg output
3617
if test -z "$EGREP"; then
3618
set dummy egrep; ac_prog_name=$2
3619
if test "${ac_cv_path_EGREP+set}" = set; then
3620
echo $ECHO_N "(cached) $ECHO_C" >&6
3650
if test -z "$EGREP"; then
3622
3651
ac_path_EGREP_found=false
3623
# Loop through the user's path and test for each of PROGNAME-LIST
3624
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3652
# Loop through the user's path and test for each of PROGNAME-LIST
3653
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3625
3654
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3627
3656
IFS=$as_save_IFS
3628
3657
test -z "$as_dir" && as_dir=.
3629
for ac_prog in egrep; do
3630
for ac_exec_ext in '' $ac_executable_extensions; do
3631
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3632
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3633
# Check for GNU ac_path_EGREP and select it if it is found.
3658
for ac_prog in egrep; do
3659
for ac_exec_ext in '' $ac_executable_extensions; do
3660
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3661
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3662
# Check for GNU ac_path_EGREP and select it if it is found.
3634
3663
# Check for GNU $ac_path_EGREP
3635
3664
case `"$ac_path_EGREP" --version 2>&1` in
3637
3666
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3640
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3669
$as_echo_n 0123456789 >"conftest.in"
3643
3672
cat "conftest.in" "conftest.in" >"conftest.tmp"
3644
3673
mv "conftest.tmp" "conftest.in"
3645
3674
cp "conftest.in" "conftest.nl"
3646
echo 'EGREP' >> "conftest.nl"
3675
$as_echo 'EGREP' >> "conftest.nl"
3647
3676
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3648
3677
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3649
ac_count=`expr $ac_count + 1`
3678
as_fn_arith $ac_count + 1 && ac_count=$as_val
3650
3679
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3651
3680
# Best one so far, save it but keep looking for a better one
3652
3681
ac_cv_path_EGREP="$ac_path_EGREP"
3820
rm -f conftest$ac_exeext
3821
if { (ac_try="$ac_link"
3823
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3824
*) ac_try_echo=$ac_try;;
3826
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3827
(eval "$ac_link") 2>&5
3829
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3830
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3831
{ (case "(($ac_try" in
3832
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3833
*) ac_try_echo=$ac_try;;
3835
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3836
(eval "$ac_try") 2>&5
3838
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3839
(exit $ac_status); }; }; then
3802
if ac_fn_c_try_run "$LINENO"; then :
3842
echo "$as_me: program exited with status $ac_status" >&5
3843
echo "$as_me: failed program was:" >&5
3844
sed 's/^/| /' conftest.$ac_ext >&5
3847
ac_cv_header_stdc=no
3849
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3855
{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3856
echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
3805
ac_cv_header_stdc=no
3807
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3808
conftest.$ac_objext conftest.beam conftest.$ac_ext
3813
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3814
$as_echo "$ac_cv_header_stdc" >&6; }
3857
3815
if test $ac_cv_header_stdc = yes; then
3859
cat >>confdefs.h <<\_ACEOF
3860
#define STDC_HEADERS 1
3817
$as_echo "#define STDC_HEADERS 1" >>confdefs.h
3865
3821
# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3875
3822
for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3876
3823
inttypes.h stdint.h unistd.h
3878
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3879
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3880
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3881
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3882
echo $ECHO_N "(cached) $ECHO_C" >&6
3884
cat >conftest.$ac_ext <<_ACEOF
3887
cat confdefs.h >>conftest.$ac_ext
3888
cat >>conftest.$ac_ext <<_ACEOF
3889
/* end confdefs.h. */
3890
$ac_includes_default
3892
#include <$ac_header>
3894
rm -f conftest.$ac_objext
3895
if { (ac_try="$ac_compile"
3897
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3898
*) ac_try_echo=$ac_try;;
3900
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3901
(eval "$ac_compile") 2>conftest.er1
3903
grep -v '^ *+' conftest.er1 >conftest.err
3905
cat conftest.err >&5
3906
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3907
(exit $ac_status); } && {
3908
test -z "$ac_c_werror_flag" ||
3909
test ! -s conftest.err
3910
} && test -s conftest.$ac_objext; then
3911
eval "$as_ac_Header=yes"
3913
echo "$as_me: failed program was:" >&5
3914
sed 's/^/| /' conftest.$ac_ext >&5
3916
eval "$as_ac_Header=no"
3919
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3921
ac_res=`eval echo '${'$as_ac_Header'}'`
3922
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3923
echo "${ECHO_T}$ac_res" >&6; }
3924
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3825
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3826
ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3828
eval as_val=\$$as_ac_Header
3829
if test "x$as_val" = x""yes; then :
3925
3830
cat >>confdefs.h <<_ACEOF
3926
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3831
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3936
3839
for ac_header in paths.h getopt.h
3938
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3939
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3940
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
3941
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
3942
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3943
echo $ECHO_N "(cached) $ECHO_C" >&6
3945
ac_res=`eval echo '${'$as_ac_Header'}'`
3946
{ echo "$as_me:$LINENO: result: $ac_res" >&5
3947
echo "${ECHO_T}$ac_res" >&6; }
3949
# Is the header compilable?
3950
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
3951
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
3952
cat >conftest.$ac_ext <<_ACEOF
3955
cat confdefs.h >>conftest.$ac_ext
3956
cat >>conftest.$ac_ext <<_ACEOF
3957
/* end confdefs.h. */
3958
$ac_includes_default
3959
#include <$ac_header>
3961
rm -f conftest.$ac_objext
3962
if { (ac_try="$ac_compile"
3964
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3965
*) ac_try_echo=$ac_try;;
3967
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3968
(eval "$ac_compile") 2>conftest.er1
3970
grep -v '^ *+' conftest.er1 >conftest.err
3972
cat conftest.err >&5
3973
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974
(exit $ac_status); } && {
3975
test -z "$ac_c_werror_flag" ||
3976
test ! -s conftest.err
3977
} && test -s conftest.$ac_objext; then
3978
ac_header_compiler=yes
3980
echo "$as_me: failed program was:" >&5
3981
sed 's/^/| /' conftest.$ac_ext >&5
3983
ac_header_compiler=no
3986
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3987
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3988
echo "${ECHO_T}$ac_header_compiler" >&6; }
3990
# Is the header present?
3991
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
3992
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
3993
cat >conftest.$ac_ext <<_ACEOF
3996
cat confdefs.h >>conftest.$ac_ext
3997
cat >>conftest.$ac_ext <<_ACEOF
3998
/* end confdefs.h. */
3999
#include <$ac_header>
4001
if { (ac_try="$ac_cpp conftest.$ac_ext"
4003
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4004
*) ac_try_echo=$ac_try;;
4006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4007
(eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4009
grep -v '^ *+' conftest.er1 >conftest.err
4011
cat conftest.err >&5
4012
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013
(exit $ac_status); } >/dev/null && {
4014
test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4015
test ! -s conftest.err
4017
ac_header_preproc=yes
4019
echo "$as_me: failed program was:" >&5
4020
sed 's/^/| /' conftest.$ac_ext >&5
4022
ac_header_preproc=no
4025
rm -f conftest.err conftest.$ac_ext
4026
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4027
echo "${ECHO_T}$ac_header_preproc" >&6; }
4029
# So? What about this header?
4030
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4032
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4033
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4034
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4035
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4036
ac_header_preproc=yes
4039
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4040
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4041
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4042
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4043
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4044
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4045
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4046
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4047
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4048
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4049
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4050
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4054
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
4055
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4056
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4057
echo $ECHO_N "(cached) $ECHO_C" >&6
4059
eval "$as_ac_Header=\$ac_header_preproc"
4061
ac_res=`eval echo '${'$as_ac_Header'}'`
4062
{ echo "$as_me:$LINENO: result: $ac_res" >&5
4063
echo "${ECHO_T}$ac_res" >&6; }
4066
if test `eval echo '${'$as_ac_Header'}'` = yes; then
3841
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3842
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3843
eval as_val=\$$as_ac_Header
3844
if test "x$as_val" = x""yes; then :
4067
3845
cat >>confdefs.h <<_ACEOF
4068
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3846
#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4232
4021
ac_cs_recheck=false
4233
4022
ac_cs_silent=false
4234
4024
SHELL=\${CONFIG_SHELL-$SHELL}
4237
cat >>$CONFIG_STATUS <<\_ACEOF
4238
## --------------------- ##
4239
## M4sh Initialization. ##
4240
## --------------------- ##
4027
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4028
## -------------------- ##
4029
## M4sh Initialization. ##
4030
## -------------------- ##
4242
4032
# Be more Bourne compatible
4243
4033
DUALCASE=1; export DUALCASE # for MKS sh
4244
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4034
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4247
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4037
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4248
4038
# is contrary to our usage. Disable this feature.
4249
4039
alias -g '${1+"$@"}'='"$@"'
4250
4040
setopt NO_GLOB_SUBST
4252
case `(set -o) 2>/dev/null` in
4253
*posix*) set -o posix ;;
4042
case `(set -o) 2>/dev/null` in #(
4262
# Avoid depending upon Character Ranges.
4263
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4264
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4265
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4266
as_cr_digits='0123456789'
4267
as_cr_alnum=$as_cr_Letters$as_cr_digits
4054
# Printing a long string crashes Solaris 7 /usr/bin/printf.
4055
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4056
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4057
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4058
# Prefer a ksh shell builtin over an external printf program on Solaris,
4059
# but without wasting forks for bash or zsh.
4060
if test -z "$BASH_VERSION$ZSH_VERSION" \
4061
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4062
as_echo='print -r --'
4063
as_echo_n='print -rn --'
4064
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4065
as_echo='printf %s\n'
4066
as_echo_n='printf %s'
4068
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4069
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4070
as_echo_n='/usr/ucb/echo -n'
4072
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4073
as_echo_n_body='eval
4077
expr "X$arg" : "X\\(.*\\)$as_nl";
4078
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4080
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4082
export as_echo_n_body
4083
as_echo_n='sh -c $as_echo_n_body as_echo'
4086
as_echo='sh -c $as_echo_body as_echo'
4269
4089
# The user is always right.
4270
4090
if test "${PATH_SEPARATOR+set}" != set; then
4271
echo "#! /bin/sh" >conf$$.sh
4272
echo "exit 0" >>conf$$.sh
4274
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4282
# Support unset when possible.
4283
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4092
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4093
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4318
4125
if test ! -f "$as_myself"; then
4319
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4320
{ (exit 1); exit 1; }
4126
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4323
# Work around bugs in pre-3.0 UWIN ksh.
4324
for as_var in ENV MAIL MAILPATH
4325
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4130
# Unset variables that we do not need and which cause bugs (e.g. in
4131
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4132
# suppresses any "Segmentation fault" message there. '((' could
4133
# trigger a bug in pdksh 5.2.14.
4134
for as_var in BASH_ENV ENV MAIL MAILPATH
4135
do eval test x\${$as_var+set} = xset \
4136
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4331
4142
# NLS nuisances.
4333
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4334
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4335
LC_TELEPHONE LC_TIME
4337
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4338
eval $as_var=C; export $as_var
4340
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4149
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4152
# as_fn_error ERROR [LINENO LOG_FD]
4153
# ---------------------------------
4154
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4155
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4156
# script with status $?, using 1 if that was 0.
4159
as_status=$?; test $as_status -eq 0 && as_status=1
4161
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4162
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4344
# Required to use basename.
4164
$as_echo "$as_me: error: $1" >&2
4165
as_fn_exit $as_status
4169
# as_fn_set_status STATUS
4170
# -----------------------
4171
# Set $? to STATUS, without forking.
4175
} # as_fn_set_status
4179
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4189
# Portably unset VAR.
4192
{ eval $1=; unset $1;}
4194
as_unset=as_fn_unset
4195
# as_fn_append VAR VALUE
4196
# ----------------------
4197
# Append the text in VALUE to the end of the definition contained in VAR. Take
4198
# advantage of any shell optimizations that allow amortized linear growth over
4199
# repeated appends, instead of the typical quadratic growth present in naive
4201
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4202
eval 'as_fn_append ()
4213
# as_fn_arith ARG...
4214
# ------------------
4215
# Perform arithmetic evaluation on the ARGs, and store the result in the
4216
# global $as_val. Take advantage of shells that can avoid forks. The arguments
4217
# must be portable across $(()) and expr.
4218
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4219
eval 'as_fn_arith ()
4226
as_val=`expr "$@" || test $? -eq 1`
4345
4231
if expr a : '\(a\)' >/dev/null 2>&1 &&
4346
4232
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4386
test "x$as_lineno_1" != "x$as_lineno_2" &&
4387
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4389
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4390
# uniformly replaced by the line number. The first 'sed' inserts a
4391
# line-number line after each line using $LINENO; the second 'sed'
4392
# does the real work. The second script uses 'N' to pair each
4393
# line-number line with the line containing $LINENO, and appends
4394
# trailing '-' during substitution so that $LINENO is not a special
4396
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4397
# scripts with optimization help from Paolo Bonzini. Blame Lee
4398
# E. McMahon (1931-1989) for sed's syntax. :-)
4410
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4414
chmod +x "$as_me.lineno" ||
4415
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4416
{ (exit 1); exit 1; }; }
4418
# Don't try to exec as it changes $[0], causing all sort of problems
4419
# (the dirname of $[0] is not the place where we might find the
4420
# original and so on. Autoconf is especially sensitive to this).
4422
# Exit status is that of the last command.
4427
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4269
# Avoid depending upon Character Ranges.
4270
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4271
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4272
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4273
as_cr_digits='0123456789'
4274
as_cr_alnum=$as_cr_Letters$as_cr_digits
4433
4276
ECHO_C= ECHO_N= ECHO_T=
4277
case `echo -n x` in #(((((
4436
case `echo 'x\c'` in
4279
case `echo 'xy\c'` in
4437
4280
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
4282
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4444
if expr a : '\(a\)' >/dev/null 2>&1 &&
4445
test "X`expr 00001 : '.*\(...\)'`" = X001; then
4451
4289
rm -f conf$$ conf$$.exe conf$$.file
4452
4290
if test -d conf$$.dir; then
4453
4291
rm -f conf$$.dir/conf$$.file
4455
4293
rm -f conf$$.dir
4294
mkdir conf$$.dir 2>/dev/null
4459
if ln -s conf$$.file conf$$ 2>/dev/null; then
4461
# ... but there are two gotchas:
4462
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4463
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4464
# In both cases, we have to default to `cp -p'.
4465
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4296
if (echo >conf$$.file) 2>/dev/null; then
4297
if ln -s conf$$.file conf$$ 2>/dev/null; then
4299
# ... but there are two gotchas:
4300
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4301
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4302
# In both cases, we have to default to `cp -p'.
4303
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4305
elif ln conf$$.file conf$$ 2>/dev/null; then
4466
4308
as_ln_s='cp -p'
4467
elif ln conf$$.file conf$$ 2>/dev/null; then
4470
4311
as_ln_s='cp -p'
4472
4313
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4473
4314
rmdir conf$$.dir 2>/dev/null
4319
# Create "$as_dir" as a directory, including parents if necessary.
4324
-*) as_dir=./$as_dir;;
4326
test -d "$as_dir" || eval $as_mkdir_p || {
4330
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4331
*) as_qdir=$as_dir;;
4333
as_dirs="'$as_qdir' $as_dirs"
4334
as_dir=`$as_dirname -- "$as_dir" ||
4335
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4336
X"$as_dir" : 'X\(//\)[^/]' \| \
4337
X"$as_dir" : 'X\(//\)$' \| \
4338
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4339
$as_echo X"$as_dir" |
4340
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4357
test -d "$as_dir" && break
4359
test -z "$as_dirs" || eval "mkdir $as_dirs"
4360
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4475
4364
if mkdir -p . 2>/dev/null; then
4365
as_mkdir_p='mkdir -p "$as_dir"'
4478
4367
test -d ./-p && rmdir ./-p
4479
4368
as_mkdir_p=false
4712
4618
tmp=./conf$$-$RANDOM
4713
4619
(umask 077 && mkdir "$tmp")
4716
echo "$me: cannot create a temporary directory in ." >&2
4717
{ (exit 1); exit 1; }
4721
# Set up the sed scripts for CONFIG_FILES section.
4724
# No need to generate the scripts if there are no CONFIG_FILES.
4725
# This happens for instance when ./config.status config.h
4620
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4622
# Set up the scripts for CONFIG_FILES section.
4623
# No need to generate them if there are no CONFIG_FILES.
4624
# This happens for instance with `./config.status config.h'.
4726
4625
if test -n "$CONFIG_FILES"; then
4628
ac_cr=`echo X | tr X '\015'`
4629
# On cygwin, bash can eat \r inside `` if the user requested igncr.
4630
# But we know of no other shell where ac_cr would be empty at this
4631
# point, so we can use a bashism as a fallback.
4632
if test "x$ac_cr" = x; then
4633
eval ac_cr=\$\'\\r\'
4635
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4636
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4642
echo 'BEGIN {' >"$tmp/subs1.awk" &&
4647
echo "cat >conf$$subs.awk <<_ACEOF" &&
4648
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4651
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4652
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4732
4653
ac_delim='%!_!# '
4733
4654
for ac_last_try in false false false false false :; do
4734
cat >conf$$subs.sed <<_ACEOF
4735
SHELL!$SHELL$ac_delim
4736
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4737
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4738
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4739
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4740
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4741
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4742
exec_prefix!$exec_prefix$ac_delim
4743
prefix!$prefix$ac_delim
4744
program_transform_name!$program_transform_name$ac_delim
4745
bindir!$bindir$ac_delim
4746
sbindir!$sbindir$ac_delim
4747
libexecdir!$libexecdir$ac_delim
4748
datarootdir!$datarootdir$ac_delim
4749
datadir!$datadir$ac_delim
4750
sysconfdir!$sysconfdir$ac_delim
4751
sharedstatedir!$sharedstatedir$ac_delim
4752
localstatedir!$localstatedir$ac_delim
4753
includedir!$includedir$ac_delim
4754
oldincludedir!$oldincludedir$ac_delim
4755
docdir!$docdir$ac_delim
4756
infodir!$infodir$ac_delim
4757
htmldir!$htmldir$ac_delim
4758
dvidir!$dvidir$ac_delim
4759
pdfdir!$pdfdir$ac_delim
4760
psdir!$psdir$ac_delim
4761
libdir!$libdir$ac_delim
4762
localedir!$localedir$ac_delim
4763
mandir!$mandir$ac_delim
4765
ECHO_C!$ECHO_C$ac_delim
4766
ECHO_N!$ECHO_N$ac_delim
4767
ECHO_T!$ECHO_T$ac_delim
4769
build_alias!$build_alias$ac_delim
4770
host_alias!$host_alias$ac_delim
4771
target_alias!$target_alias$ac_delim
4772
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
4773
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
4774
INSTALL_DATA!$INSTALL_DATA$ac_delim
4775
am__isrc!$am__isrc$ac_delim
4776
CYGPATH_W!$CYGPATH_W$ac_delim
4777
PACKAGE!$PACKAGE$ac_delim
4778
VERSION!$VERSION$ac_delim
4779
ACLOCAL!$ACLOCAL$ac_delim
4780
AUTOCONF!$AUTOCONF$ac_delim
4781
AUTOMAKE!$AUTOMAKE$ac_delim
4782
AUTOHEADER!$AUTOHEADER$ac_delim
4783
MAKEINFO!$MAKEINFO$ac_delim
4784
install_sh!$install_sh$ac_delim
4785
STRIP!$STRIP$ac_delim
4786
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
4787
mkdir_p!$mkdir_p$ac_delim
4789
SET_MAKE!$SET_MAKE$ac_delim
4790
am__leading_dot!$am__leading_dot$ac_delim
4791
AMTAR!$AMTAR$ac_delim
4792
am__tar!$am__tar$ac_delim
4793
am__untar!$am__untar$ac_delim
4795
CFLAGS!$CFLAGS$ac_delim
4796
LDFLAGS!$LDFLAGS$ac_delim
4797
CPPFLAGS!$CPPFLAGS$ac_delim
4798
ac_ct_CC!$ac_ct_CC$ac_delim
4799
EXEEXT!$EXEEXT$ac_delim
4800
OBJEXT!$OBJEXT$ac_delim
4801
DEPDIR!$DEPDIR$ac_delim
4802
am__include!$am__include$ac_delim
4803
am__quote!$am__quote$ac_delim
4804
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
4805
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
4806
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
4807
CCDEPMODE!$CCDEPMODE$ac_delim
4808
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
4809
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
4812
EGREP!$EGREP$ac_delim
4813
LIBOBJS!$LIBOBJS$ac_delim
4814
LTLIBOBJS!$LTLIBOBJS$ac_delim
4655
. ./conf$$subs.sh ||
4656
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4817
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 80; then
4658
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4659
if test $ac_delim_n = $ac_delim_num; then
4819
4661
elif $ac_last_try; then
4820
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4821
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4822
{ (exit 1); exit 1; }; }
4662
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4824
4664
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4828
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4829
if test -n "$ac_eof"; then
4830
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4831
ac_eof=`expr $ac_eof + 1`
4834
cat >>$CONFIG_STATUS <<_ACEOF
4835
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4836
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4839
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4840
s/^/s,@/; s/!/@,|#_!!_#|/
4843
s/'"$ac_delim"'$/,g/; t
4845
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4846
' >>$CONFIG_STATUS <conf$$subs.sed
4847
rm -f conf$$subs.sed
4848
cat >>$CONFIG_STATUS <<_ACEOF
4669
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4670
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4674
s/^/S["/; s/!.*/"]=/
4684
s/\(.\{148\}\).*/\1/
4686
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4691
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4698
s/\(.\{148\}\).*/\1/
4700
s/["\\]/\\&/g; s/^/"/; s/$/"/
4704
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4709
' <conf$$subs.awk | sed '
4714
' >>$CONFIG_STATUS || ac_write_fail=1
4715
rm -f conf$$subs.awk
4716
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4718
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4719
for (key in S) S_is_set[key] = 1
4725
nfields = split(line, field, "@")
4727
len = length(field[1])
4728
for (i = 2; i < nfields; i++) {
4730
keylen = length(key)
4731
if (S_is_set[key]) {
4733
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4734
len += length(value) + length(field[++i])
4745
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4746
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4747
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4750
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4751
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
4855
4754
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4856
4755
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5101
4969
s&@INSTALL@&$ac_INSTALL&;t t
5102
4970
s&@MKDIR_P@&$ac_MKDIR_P&;t t
5103
4971
$ac_datarootdir_hack
5104
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4973
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4974
|| as_fn_error "could not create $ac_file" "$LINENO" 5
5106
4976
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5107
4977
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5108
4978
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5109
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4979
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5110
4980
which seems to be undefined. Please make sure it is defined." >&5
5111
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4981
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5112
4982
which seems to be undefined. Please make sure it is defined." >&2;}
5114
4984
rm -f "$tmp/stdin"
5115
4985
case $ac_file in
5116
-) cat "$tmp/out"; rm -f "$tmp/out";;
5117
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
4986
-) cat "$tmp/out" && rm -f "$tmp/out";;
4987
*) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4989
|| as_fn_error "could not create $ac_file" "$LINENO" 5
5122
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
5123
echo "$as_me: executing $ac_file commands" >&6;}
4993
:C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4994
$as_echo "$as_me: executing $ac_file commands" >&6;}
5128
4999
case $ac_file$ac_mode in
5129
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5130
# Strip MF so we end up with the name of the file.
5131
mf=`echo "$mf" | sed -e 's/:.*$//'`
5132
# Check whether this is an Automake generated Makefile or not.
5133
# We used to match only the files named `Makefile.in', but
5134
# some people rename them; so instead we look at the file content.
5135
# Grep'ing the first line is not enough: some people post-process
5136
# each Makefile.in and add a new line on top of each file to say so.
5137
# Grep'ing the whole file is not good either: AIX grep has a line
5138
# limit of 2048, but all sed's we know have understand at least 4000.
5139
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5140
dirpart=`$as_dirname -- "$mf" ||
5000
"depfiles":C) test x"$AMDEP_TRUE" != x"" || {
5001
# Autoconf 2.62 quotes --file arguments for eval, but not when files
5002
# are listed without --file. Let's play safe and only enable the eval
5003
# if we detect the quoting.
5004
case $CONFIG_FILES in
5005
*\'*) eval set x "$CONFIG_FILES" ;;
5006
*) set x $CONFIG_FILES ;;
5011
# Strip MF so we end up with the name of the file.
5012
mf=`echo "$mf" | sed -e 's/:.*$//'`
5013
# Check whether this is an Automake generated Makefile or not.
5014
# We used to match only the files named `Makefile.in', but
5015
# some people rename them; so instead we look at the file content.
5016
# Grep'ing the first line is not enough: some people post-process
5017
# each Makefile.in and add a new line on top of each file to say so.
5018
# Grep'ing the whole file is not good either: AIX grep has a line
5019
# limit of 2048, but all sed's we know have understand at least 4000.
5020
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
5021
dirpart=`$as_dirname -- "$mf" ||
5141
5022
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5142
5023
X"$mf" : 'X\(//\)[^/]' \| \
5143
5024
X"$mf" : 'X\(//\)$' \| \
5144
5025
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
5146
5027
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5166
# Extract the definition of DEPDIR, am__include, and am__quote
5167
# from the Makefile without running `make'.
5168
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5169
test -z "$DEPDIR" && continue
5170
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5171
test -z "am__include" && continue
5172
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5173
# When using ansi2knr, U may be empty or an underscore; expand it
5174
U=`sed -n 's/^U = //p' < "$mf"`
5175
# Find all dependency output files, they are included files with
5176
# $(DEPDIR) in their names. We invoke sed twice because it is the
5177
# simplest approach to changing $(DEPDIR) to its actual value in the
5179
for file in `sed -n "
5180
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5181
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5182
# Make sure the directory exists.
5183
test -f "$dirpart/$file" && continue
5184
fdir=`$as_dirname -- "$file" ||
5047
# Extract the definition of DEPDIR, am__include, and am__quote
5048
# from the Makefile without running `make'.
5049
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
5050
test -z "$DEPDIR" && continue
5051
am__include=`sed -n 's/^am__include = //p' < "$mf"`
5052
test -z "am__include" && continue
5053
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
5054
# When using ansi2knr, U may be empty or an underscore; expand it
5055
U=`sed -n 's/^U = //p' < "$mf"`
5056
# Find all dependency output files, they are included files with
5057
# $(DEPDIR) in their names. We invoke sed twice because it is the
5058
# simplest approach to changing $(DEPDIR) to its actual value in the
5060
for file in `sed -n "
5061
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
5062
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5063
# Make sure the directory exists.
5064
test -f "$dirpart/$file" && continue
5065
fdir=`$as_dirname -- "$file" ||
5185
5066
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5186
5067
X"$file" : 'X\(//\)[^/]' \| \
5187
5068
X"$file" : 'X\(//\)$' \| \
5188
5069
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
5190
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5207
{ as_dir=$dirpart/$fdir
5209
-*) as_dir=./$as_dir;;
5211
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5215
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
5216
*) as_qdir=$as_dir;;
5218
as_dirs="'$as_qdir' $as_dirs"
5219
as_dir=`$as_dirname -- "$as_dir" ||
5220
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5221
X"$as_dir" : 'X\(//\)[^/]' \| \
5222
X"$as_dir" : 'X\(//\)$' \| \
5223
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5225
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5242
test -d "$as_dir" && break
5071
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5088
as_dir=$dirpart/$fdir; as_fn_mkdir_p
5089
# echo "creating $dirpart/$file"
5090
echo '# dummy' > "$dirpart/$file"
5244
test -z "$as_dirs" || eval "mkdir $as_dirs"
5245
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
5246
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5247
{ (exit 1); exit 1; }; }; }
5248
# echo "creating $dirpart/$file"
5249
echo '# dummy' > "$dirpart/$file"
5255
5097
done # for ac_tag
5258
{ (exit 0); exit 0; }
5260
chmod +x $CONFIG_STATUS
5261
5102
ac_clean_files=$ac_clean_files_save
5104
test $ac_write_fail = 0 ||
5105
as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5264
5108
# configure is writing to config.log, and then calls config.status.
5265
5109
# config.status does its own redirection, appending to config.log.