2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for atool 0.37.0.
3
# Generated by GNU Autoconf 2.67 for atool 0.38.0.
5
5
# Report bugs to <oskar@osk.mine.nu>.
7
8
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
9
13
# This configure script is free software; the Free Software Foundation
10
14
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
15
## -------------------- ##
16
## M4sh Initialization. ##
17
## -------------------- ##
15
19
# Be more Bourne compatible
16
20
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
24
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
25
# is contrary to our usage. Disable this feature.
22
26
alias -g '${1+"$@"}'='"$@"'
23
27
setopt NO_GLOB_SUBST
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
29
case `(set -o) 2>/dev/null` in #(
35
# Avoid depending upon Character Ranges.
36
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
37
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
39
as_cr_digits='0123456789'
40
as_cr_alnum=$as_cr_Letters$as_cr_digits
41
# Printing a long string crashes Solaris 7 /usr/bin/printf.
42
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45
# Prefer a ksh shell builtin over an external printf program on Solaris,
46
# but without wasting forks for bash or zsh.
47
if test -z "$BASH_VERSION$ZSH_VERSION" \
48
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50
as_echo_n='print -rn --'
51
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
57
as_echo_n='/usr/ucb/echo -n'
59
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64
expr "X$arg" : "X\\(.*\\)$as_nl";
65
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
70
as_echo_n='sh -c $as_echo_n_body as_echo'
73
as_echo='sh -c $as_echo_body as_echo'
42
76
# The user is always right.
43
77
if test "${PATH_SEPARATOR+set}" != set; then
44
echo "#! /bin/sh" >conf$$.sh
45
echo "exit 0" >>conf$$.sh
47
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
55
# Support unset when possible.
56
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
79
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
91
112
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96
# Work around bugs in pre-3.0 UWIN ksh.
97
for as_var in ENV MAIL MAILPATH
98
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Unset variables that we do not need and which cause bugs (e.g. in
118
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119
# suppresses any "Segmentation fault" message there. '((' could
120
# trigger a bug in pdksh 5.2.14.
121
for as_var in BASH_ENV ENV MAIL MAILPATH
122
do eval test x\${$as_var+set} = xset \
123
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
106
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111
eval $as_var=C; export $as_var
113
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
117
# Required to use basename.
118
if expr a : '\(a\)' >/dev/null 2>&1 &&
119
test "X`expr 00001 : '.*\(...\)'`" = X001; then
125
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132
# Name of the executable.
133
as_me=`$as_basename -- "$0" ||
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135
X"$0" : 'X\(//\)$' \| \
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
136
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
156
138
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
139
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143
# is contrary to our usage. Disable this feature.
144
alias -g '\${1+\"\$@\"}'='\"\$@\"'
147
case \`(set -o) 2>/dev/null\` in #(
155
as_required="as_fn_return () { (exit \$1); }
156
as_fn_success () { as_fn_return 0; }
157
as_fn_failure () { as_fn_return 1; }
158
as_fn_ret_success () { return 0; }
159
as_fn_ret_failure () { return 1; }
162
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169
exitcode=1; echo positional parameters were not saved.
171
test x\$exitcode = x0 || exit 1"
172
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
173
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
174
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
176
if (eval "$as_required") 2>/dev/null; then :
158
177
as_have_required=yes
160
179
as_have_required=no
163
if test $as_have_required = yes && (eval ":
173
as_func_ret_success () {
176
as_func_ret_failure () {
181
if as_func_success; then
185
echo as_func_success failed.
188
if as_func_failure; then
190
echo as_func_failure succeeded.
193
if as_func_ret_success; then
197
echo as_func_ret_success failed.
200
if as_func_ret_failure; then
202
echo as_func_ret_failure succeeded.
205
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209
echo positional parameters were not saved.
212
test \$exitcode = 0) || { (exit 1); exit 1; }
217
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219
") 2> /dev/null; then
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
186
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
189
test -z "$as_dir" && as_dir=.
230
193
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
194
# Try only shells that exist, to save several forks.
195
as_shell=$as_dir/$as_base
196
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198
CONFIG_SHELL=$as_shell as_have_required=yes
199
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
207
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209
CONFIG_SHELL=$SHELL as_have_required=yes
238
for as_shell in $as_candidate_shells $SHELL; do
239
# Try only shells that exist, to save several forks.
240
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
241
{ ("$as_shell") 2> /dev/null <<\_ASEOF
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
245
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246
# is contrary to our usage. Disable this feature.
247
alias -g '${1+"$@"}'='"$@"'
250
case `(set -o) 2>/dev/null` in
251
*posix*) set -o posix ;;
260
CONFIG_SHELL=$as_shell
262
if { "$as_shell" 2> /dev/null <<\_ASEOF
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
266
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267
# is contrary to our usage. Disable this feature.
268
alias -g '${1+"$@"}'='"$@"'
271
case `(set -o) 2>/dev/null` in
272
*posix*) set -o posix ;;
288
as_func_ret_success () {
291
as_func_ret_failure () {
296
if as_func_success; then
300
echo as_func_success failed.
303
if as_func_failure; then
305
echo as_func_failure succeeded.
308
if as_func_ret_success; then
312
echo as_func_ret_success failed.
315
if as_func_ret_failure; then
317
echo as_func_ret_failure succeeded.
320
if ( set x; as_func_ret_success y && test x = "$1" ); then
324
echo positional parameters were not saved.
327
test $exitcode = 0) || { (exit 1); exit 1; }
332
test "x$as_lineno_1" != "x$as_lineno_2" &&
333
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
344
if test "x$CONFIG_SHELL" != x; then
345
for as_var in BASH_ENV ENV
346
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
349
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353
if test $as_have_required = no; then
354
echo This script requires a shell more modern than all the
355
echo shells that I found on your system. Please install a
356
echo modern shell, or manually run the script under such a
357
echo shell if you do have one.
358
{ (exit 1); exit 1; }
368
(eval "as_func_return () {
377
as_func_ret_success () {
380
as_func_ret_failure () {
385
if as_func_success; then
389
echo as_func_success failed.
392
if as_func_failure; then
394
echo as_func_failure succeeded.
397
if as_func_ret_success; then
401
echo as_func_ret_success failed.
404
if as_func_ret_failure; then
406
echo as_func_ret_failure succeeded.
409
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413
echo positional parameters were not saved.
416
test \$exitcode = 0") || {
417
echo No shell found that supports shell functions.
418
echo Please tell autoconf@gnu.org about your system,
419
echo including any error possibly output before this
427
test "x$as_lineno_1" != "x$as_lineno_2" &&
428
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431
# uniformly replaced by the line number. The first 'sed' inserts a
432
# line-number line after each line using $LINENO; the second 'sed'
433
# does the real work. The second script uses 'N' to pair each
434
# line-number line with the line containing $LINENO, and appends
435
# trailing '-' during substitution so that $LINENO is not a special
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
214
if test "x$CONFIG_SHELL" != x; then :
215
# We cannot yet assume a decent shell, so we have to provide a
216
# neutralization value for shells without unset; and this also
217
# works around shells that cannot unset nonexistent variables.
220
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
225
if test x$as_have_required = xno; then :
226
$as_echo "$0: This script requires a shell more modern than all"
227
$as_echo "$0: the shells that I found on your system."
228
if test x${ZSH_VERSION+set} = xset ; then
229
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
232
$as_echo "$0: Please tell bug-autoconf@gnu.org and oskar@osk.mine.nu
233
$0: about your system, including any error possibly output
234
$0: before this message. Then install a modern shell, or
235
$0: manually run the script under such a shell if you do
242
SHELL=${CONFIG_SHELL-/bin/sh}
244
# Unset more variables known to interfere with behavior of common tools.
245
CLICOLOR_FORCE= GREP_OPTIONS=
246
unset CLICOLOR_FORCE GREP_OPTIONS
248
## --------------------- ##
249
## M4sh Shell Functions. ##
250
## --------------------- ##
253
# Portably unset VAR.
256
{ eval $1=; unset $1;}
260
# as_fn_set_status STATUS
261
# -----------------------
262
# Set $? to STATUS, without forking.
270
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
280
# Create "$as_dir" as a directory, including parents if necessary.
285
-*) as_dir=./$as_dir;;
287
test -d "$as_dir" || eval $as_mkdir_p || {
291
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
294
as_dirs="'$as_qdir' $as_dirs"
295
as_dir=`$as_dirname -- "$as_dir" ||
296
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297
X"$as_dir" : 'X\(//\)[^/]' \| \
298
X"$as_dir" : 'X\(//\)$' \| \
299
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300
$as_echo X"$as_dir" |
301
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
318
test -d "$as_dir" && break
320
test -z "$as_dirs" || eval "mkdir $as_dirs"
321
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
325
# as_fn_append VAR VALUE
326
# ----------------------
327
# Append the text in VALUE to the end of the definition contained in VAR. Take
328
# advantage of any shell optimizations that allow amortized linear growth over
329
# repeated appends, instead of the typical quadratic growth present in naive
331
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332
eval 'as_fn_append ()
345
# Perform arithmetic evaluation on the ARGs, and store the result in the
346
# global $as_val. Take advantage of shells that can avoid forks. The arguments
347
# must be portable across $(()) and expr.
348
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
356
as_val=`expr "$@" || test $? -eq 1`
361
# as_fn_error STATUS ERROR [LINENO LOG_FD]
362
# ----------------------------------------
363
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365
# script with STATUS, using 1 if that was 0.
368
as_status=$1; test $as_status -eq 0 && as_status=1
370
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
373
$as_echo "$as_me: error: $2" >&2
374
as_fn_exit $as_status
377
if expr a : '\(a\)' >/dev/null 2>&1 &&
378
test "X`expr 00001 : '.*\(...\)'`" = X001; then
384
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396
as_me=`$as_basename -- "$0" ||
397
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
398
X"$0" : 'X\(//\)$' \| \
399
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401
sed '/^.*\/\([^/][^/]*\)\/*$/{
415
# Avoid depending upon Character Ranges.
416
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419
as_cr_digits='0123456789'
420
as_cr_alnum=$as_cr_Letters$as_cr_digits
423
as_lineno_1=$LINENO as_lineno_1a=$LINENO
424
as_lineno_2=$LINENO as_lineno_2a=$LINENO
425
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1449
## ----------------- ##
1475
$as_echo "## ----------------- ##
1450
1476
## Output variables. ##
1451
## ----------------- ##
1477
## ----------------- ##"
1454
1479
for ac_var in $ac_subst_vars
1456
1481
eval ac_val=\$$ac_var
1457
1482
case $ac_val in
1458
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1483
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1460
echo "$ac_var='\''$ac_val'\''"
1485
$as_echo "$ac_var='\''$ac_val'\''"
1464
1489
if test -n "$ac_subst_files"; then
1466
## ------------------- ##
1490
$as_echo "## ------------------- ##
1467
1491
## File substitutions. ##
1468
## ------------------- ##
1492
## ------------------- ##"
1471
1494
for ac_var in $ac_subst_files
1473
1496
eval ac_val=\$$ac_var
1474
1497
case $ac_val in
1475
*\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1498
*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1477
echo "$ac_var='\''$ac_val'\''"
1500
$as_echo "$ac_var='\''$ac_val'\''"
1482
1505
if test -s confdefs.h; then
1506
$as_echo "## ----------- ##
1485
1507
## confdefs.h. ##
1492
1513
test "$ac_signal" != 0 &&
1493
echo "$as_me: caught signal $ac_signal"
1494
echo "$as_me: exit $exit_status"
1514
$as_echo "$as_me: caught signal $ac_signal"
1515
$as_echo "$as_me: exit $exit_status"
1496
1517
rm -f core *.core core.conftest.* &&
1497
1518
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1498
1519
exit $exit_status
1500
1521
for ac_signal in 1 2 13 15; do
1501
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1522
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1505
1526
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1506
1527
rm -f -r conftest* confdefs.h
1529
$as_echo "/* confdefs.h */" > confdefs.h
1508
1531
# Predefined preprocessor variables.
1510
1533
cat >>confdefs.h <<_ACEOF
1511
1534
#define PACKAGE_NAME "$PACKAGE_NAME"
1515
1537
cat >>confdefs.h <<_ACEOF
1516
1538
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1520
1541
cat >>confdefs.h <<_ACEOF
1521
1542
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1525
1545
cat >>confdefs.h <<_ACEOF
1526
1546
#define PACKAGE_STRING "$PACKAGE_STRING"
1530
1549
cat >>confdefs.h <<_ACEOF
1531
1550
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1553
cat >>confdefs.h <<_ACEOF
1554
#define PACKAGE_URL "$PACKAGE_URL"
1535
1558
# Let the site file select an alternate cache file if it wants to.
1536
# Prefer explicitly selected file to automatically selected ones.
1559
# Prefer an explicitly selected file to automatically selected ones.
1537
1562
if test -n "$CONFIG_SITE"; then
1538
set x "$CONFIG_SITE"
1563
# We do not want a PATH search for config.site.
1564
case $CONFIG_SITE in #((
1565
-*) ac_site_file1=./$CONFIG_SITE;;
1566
*/*) ac_site_file1=$CONFIG_SITE;;
1567
*) ac_site_file1=./$CONFIG_SITE;;
1539
1569
elif test "x$prefix" != xNONE; then
1540
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1570
ac_site_file1=$prefix/share/config.site
1571
ac_site_file2=$prefix/etc/config.site
1542
set x "$ac_default_prefix/share/config.site" \
1543
"$ac_default_prefix/etc/config.site"
1573
ac_site_file1=$ac_default_prefix/share/config.site
1574
ac_site_file2=$ac_default_prefix/etc/config.site
1576
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1548
if test -r "$ac_site_file"; then
1549
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1550
echo "$as_me: loading site script $ac_site_file" >&6;}
1578
test "x$ac_site_file" = xNONE && continue
1579
if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1580
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1581
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1551
1582
sed 's/^/| /' "$ac_site_file" >&5
1584
|| { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1585
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1586
as_fn_error $? "failed to load site script $ac_site_file
1587
See \`config.log' for more details" "$LINENO" 5 ; }
1556
1591
if test -r "$cache_file"; then
1557
# Some versions of bash will fail to source /dev/null (special
1558
# files actually), so we avoid doing that.
1559
if test -f "$cache_file"; then
1560
{ echo "$as_me:$LINENO: loading cache $cache_file" >&5
1561
echo "$as_me: loading cache $cache_file" >&6;}
1592
# Some versions of bash will fail to source /dev/null (special files
1593
# actually), so we avoid doing that. DJGPP emulates it as a regular file.
1594
if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1595
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1596
$as_echo "$as_me: loading cache $cache_file" >&6;}
1562
1597
case $cache_file in
1563
1598
[\\/]* | ?:[\\/]* ) . "$cache_file";;
1564
1599
*) . "./$cache_file";;
1568
{ echo "$as_me:$LINENO: creating cache $cache_file" >&5
1569
echo "$as_me: creating cache $cache_file" >&6;}
1603
{ $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1604
$as_echo "$as_me: creating cache $cache_file" >&6;}
1580
1615
eval ac_new_val=\$ac_env_${ac_var}_value
1581
1616
case $ac_old_set,$ac_new_set in
1583
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1584
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1618
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1585
1620
ac_cache_corrupted=: ;;
1587
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1588
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1622
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1623
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1589
1624
ac_cache_corrupted=: ;;
1592
1627
if test "x$ac_old_val" != "x$ac_new_val"; then
1593
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1594
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1595
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1596
echo "$as_me: former value: $ac_old_val" >&2;}
1597
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1598
echo "$as_me: current value: $ac_new_val" >&2;}
1599
ac_cache_corrupted=:
1628
# differences in whitespace do not lead to failure.
1629
ac_old_val_w=`echo x $ac_old_val`
1630
ac_new_val_w=`echo x $ac_new_val`
1631
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1632
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1633
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1634
ac_cache_corrupted=:
1636
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1637
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1638
eval $ac_var=\$ac_old_val
1640
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1641
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1642
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1643
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1602
1646
# Pass precious variables to config.status.
1603
1647
if test "$ac_new_set" = set; then
1604
1648
case $ac_new_val in
1605
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1649
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1606
1650
*) ac_arg=$ac_var=$ac_new_val ;;
1608
1652
case " $ac_configure_args " in
1609
1653
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1610
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1654
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
1614
1658
if $ac_cache_corrupted; then
1615
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1616
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1617
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1618
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1619
{ (exit 1); exit 1; }; }
1659
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1660
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1661
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1662
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1663
as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1665
## -------------------- ##
1666
## Main body of script. ##
1667
## -------------------- ##
1647
1670
ac_cpp='$CPP $CPPFLAGS'
1805
{ { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1806
Check your system clock" >&5
1807
echo "$as_me: error: newly created file is older than distributed files!
1808
Check your system clock" >&2;}
1809
{ (exit 1); exit 1; }; }
1849
as_fn_error $? "newly created file is older than distributed files!
1850
Check your system clock" "$LINENO" 5
1811
{ echo "$as_me:$LINENO: result: yes" >&5
1812
echo "${ECHO_T}yes" >&6; }
1852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1853
$as_echo "yes" >&6; }
1813
1854
test "$program_prefix" != NONE &&
1814
1855
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1815
1856
# Use a double $ so make ignores it.
1816
1857
test "$program_suffix" != NONE &&
1817
1858
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1818
# Double any \ or $. echo might interpret backslashes.
1859
# Double any \ or $.
1819
1860
# By default was `s,x,x', remove it if useless.
1820
cat <<\_ACEOF >conftest.sed
1821
s/[\\$]/&&/g;s/;s,x,x,$//
1823
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1861
ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1862
program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1826
1864
# expand $ac_aux_dir to an absolute path
1827
1865
am_aux_dir=`cd $ac_aux_dir && pwd`
1829
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1867
if test x"${MISSING+set}" != xset; then
1870
MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1872
MISSING="\${SHELL} $am_aux_dir/missing" ;;
1830
1875
# Use eval to expand $SHELL
1831
1876
if eval "$MISSING --run true"; then
1832
1877
am_missing_run="$MISSING --run "
1834
1879
am_missing_run=
1835
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1836
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1839
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
1840
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
1880
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1881
$as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1884
if test x"${install_sh}" != xset; then
1887
install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1889
install_sh="\${SHELL} $am_aux_dir/install-sh"
1893
# Installed binaries are usually stripped using `strip' when the user
1894
# run `make install-strip'. However `strip' might not be the right
1895
# tool to use in cross-compilation environments, therefore Automake
1896
# will honor the `STRIP' environment variable to overrule this program.
1897
if test "$cross_compiling" != no; then
1898
if test -n "$ac_tool_prefix"; then
1899
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1900
set dummy ${ac_tool_prefix}strip; ac_word=$2
1901
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1902
$as_echo_n "checking for $ac_word... " >&6; }
1903
if test "${ac_cv_prog_STRIP+set}" = set; then :
1904
$as_echo_n "(cached) " >&6
1906
if test -n "$STRIP"; then
1907
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1909
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913
test -z "$as_dir" && as_dir=.
1914
for ac_exec_ext in '' $ac_executable_extensions; do
1915
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1916
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1917
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1926
STRIP=$ac_cv_prog_STRIP
1927
if test -n "$STRIP"; then
1928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1929
$as_echo "$STRIP" >&6; }
1931
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1932
$as_echo "no" >&6; }
1937
if test -z "$ac_cv_prog_STRIP"; then
1939
# Extract the first word of "strip", so it can be a program name with args.
1940
set dummy strip; ac_word=$2
1941
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1942
$as_echo_n "checking for $ac_word... " >&6; }
1943
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
1944
$as_echo_n "(cached) " >&6
1946
if test -n "$ac_ct_STRIP"; then
1947
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1949
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1953
test -z "$as_dir" && as_dir=.
1954
for ac_exec_ext in '' $ac_executable_extensions; do
1955
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1956
ac_cv_prog_ac_ct_STRIP="strip"
1957
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1966
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1967
if test -n "$ac_ct_STRIP"; then
1968
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
1969
$as_echo "$ac_ct_STRIP" >&6; }
1971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1972
$as_echo "no" >&6; }
1975
if test "x$ac_ct_STRIP" = x; then
1978
case $cross_compiling:$ac_tool_warned in
1980
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1981
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1982
ac_tool_warned=yes ;;
1987
STRIP="$ac_cv_prog_STRIP"
1991
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
1993
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
1994
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
1841
1995
if test -z "$MKDIR_P"; then
1842
if test "${ac_cv_path_mkdir+set}" = set; then
1843
echo $ECHO_N "(cached) $ECHO_C" >&6
1996
if test "${ac_cv_path_mkdir+set}" = set; then :
1997
$as_echo_n "(cached) " >&6
1845
1999
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1846
2000
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
1848
2002
IFS=$as_save_IFS
1849
2003
test -z "$as_dir" && as_dir=.
1850
for ac_prog in mkdir gmkdir; do
2004
for ac_prog in mkdir gmkdir; do
1851
2005
for ac_exec_ext in '' $ac_executable_extensions; do
1852
2006
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
1853
2007
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2018
2171
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2020
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2022
# Installed binaries are usually stripped using `strip' when the user
2023
# run `make install-strip'. However `strip' might not be the right
2024
# tool to use in cross-compilation environments, therefore Automake
2025
# will honor the `STRIP' environment variable to overrule this program.
2026
if test "$cross_compiling" != no; then
2027
if test -n "$ac_tool_prefix"; then
2028
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2029
set dummy ${ac_tool_prefix}strip; ac_word=$2
2030
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2031
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2032
if test "${ac_cv_prog_STRIP+set}" = set; then
2033
echo $ECHO_N "(cached) $ECHO_C" >&6
2035
if test -n "$STRIP"; then
2036
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2038
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2042
test -z "$as_dir" && as_dir=.
2043
for ac_exec_ext in '' $ac_executable_extensions; do
2044
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2045
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2046
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2055
STRIP=$ac_cv_prog_STRIP
2056
if test -n "$STRIP"; then
2057
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2058
echo "${ECHO_T}$STRIP" >&6; }
2060
{ echo "$as_me:$LINENO: result: no" >&5
2061
echo "${ECHO_T}no" >&6; }
2066
if test -z "$ac_cv_prog_STRIP"; then
2068
# Extract the first word of "strip", so it can be a program name with args.
2069
set dummy strip; ac_word=$2
2070
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2071
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2072
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2073
echo $ECHO_N "(cached) $ECHO_C" >&6
2075
if test -n "$ac_ct_STRIP"; then
2076
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2078
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2082
test -z "$as_dir" && as_dir=.
2083
for ac_exec_ext in '' $ac_executable_extensions; do
2084
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085
ac_cv_prog_ac_ct_STRIP="strip"
2086
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2096
if test -n "$ac_ct_STRIP"; then
2097
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2098
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2100
{ echo "$as_me:$LINENO: result: no" >&5
2101
echo "${ECHO_T}no" >&6; }
2104
if test "x$ac_ct_STRIP" = x; then
2107
case $cross_compiling:$ac_tool_warned in
2109
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2110
whose name does not start with the host triplet. If you think this
2111
configuration is useful to you, please write to autoconf@gnu.org." >&5
2112
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2113
whose name does not start with the host triplet. If you think this
2114
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2115
ac_tool_warned=yes ;;
2120
STRIP="$ac_cv_prog_STRIP"
2124
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2126
2173
# We need awk for the "check" target. The system "awk" is bad on
2127
2174
# some platforms.
2128
2175
# Always define AMTAR for backward compatibility.
2380
2438
ac_cs_recheck=false
2381
2439
ac_cs_silent=false
2382
2441
SHELL=\${CONFIG_SHELL-$SHELL}
2385
cat >>$CONFIG_STATUS <<\_ACEOF
2386
## --------------------- ##
2387
## M4sh Initialization. ##
2388
## --------------------- ##
2444
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
2445
## -------------------- ##
2446
## M4sh Initialization. ##
2447
## -------------------- ##
2390
2449
# Be more Bourne compatible
2391
2450
DUALCASE=1; export DUALCASE # for MKS sh
2392
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2451
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
2395
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
2454
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2396
2455
# is contrary to our usage. Disable this feature.
2397
2456
alias -g '${1+"$@"}'='"$@"'
2398
2457
setopt NO_GLOB_SUBST
2400
case `(set -o) 2>/dev/null` in
2401
*posix*) set -o posix ;;
2459
case `(set -o) 2>/dev/null` in #(
2410
# Avoid depending upon Character Ranges.
2411
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2412
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2413
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2414
as_cr_digits='0123456789'
2415
as_cr_alnum=$as_cr_Letters$as_cr_digits
2471
# Printing a long string crashes Solaris 7 /usr/bin/printf.
2472
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
2473
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
2474
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
2475
# Prefer a ksh shell builtin over an external printf program on Solaris,
2476
# but without wasting forks for bash or zsh.
2477
if test -z "$BASH_VERSION$ZSH_VERSION" \
2478
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2479
as_echo='print -r --'
2480
as_echo_n='print -rn --'
2481
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2482
as_echo='printf %s\n'
2483
as_echo_n='printf %s'
2485
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2486
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2487
as_echo_n='/usr/ucb/echo -n'
2489
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2490
as_echo_n_body='eval
2494
expr "X$arg" : "X\\(.*\\)$as_nl";
2495
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2497
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2499
export as_echo_n_body
2500
as_echo_n='sh -c $as_echo_n_body as_echo'
2503
as_echo='sh -c $as_echo_body as_echo'
2417
2506
# The user is always right.
2418
2507
if test "${PATH_SEPARATOR+set}" != set; then
2419
echo "#! /bin/sh" >conf$$.sh
2420
echo "exit 0" >>conf$$.sh
2422
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
2430
# Support unset when possible.
2431
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
2509
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2510
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2466
2542
if test ! -f "$as_myself"; then
2467
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2468
{ (exit 1); exit 1; }
2543
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2471
# Work around bugs in pre-3.0 UWIN ksh.
2472
for as_var in ENV MAIL MAILPATH
2473
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2547
# Unset variables that we do not need and which cause bugs (e.g. in
2548
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2549
# suppresses any "Segmentation fault" message there. '((' could
2550
# trigger a bug in pdksh 5.2.14.
2551
for as_var in BASH_ENV ENV MAIL MAILPATH
2552
do eval test x\${$as_var+set} = xset \
2553
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2479
2559
# NLS nuisances.
2481
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
2482
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
2483
LC_TELEPHONE LC_TIME
2485
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
2486
eval $as_var=C; export $as_var
2488
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
2566
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2569
# as_fn_error STATUS ERROR [LINENO LOG_FD]
2570
# ----------------------------------------
2571
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2572
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2573
# script with STATUS, using 1 if that was 0.
2576
as_status=$1; test $as_status -eq 0 && as_status=1
2578
as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2579
$as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
2492
# Required to use basename.
2581
$as_echo "$as_me: error: $2" >&2
2582
as_fn_exit $as_status
2586
# as_fn_set_status STATUS
2587
# -----------------------
2588
# Set $? to STATUS, without forking.
2592
} # as_fn_set_status
2596
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2606
# Portably unset VAR.
2609
{ eval $1=; unset $1;}
2611
as_unset=as_fn_unset
2612
# as_fn_append VAR VALUE
2613
# ----------------------
2614
# Append the text in VALUE to the end of the definition contained in VAR. Take
2615
# advantage of any shell optimizations that allow amortized linear growth over
2616
# repeated appends, instead of the typical quadratic growth present in naive
2618
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2619
eval 'as_fn_append ()
2630
# as_fn_arith ARG...
2631
# ------------------
2632
# Perform arithmetic evaluation on the ARGs, and store the result in the
2633
# global $as_val. Take advantage of shells that can avoid forks. The arguments
2634
# must be portable across $(()) and expr.
2635
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2636
eval 'as_fn_arith ()
2643
as_val=`expr "$@" || test $? -eq 1`
2493
2648
if expr a : '\(a\)' >/dev/null 2>&1 &&
2494
2649
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2534
test "x$as_lineno_1" != "x$as_lineno_2" &&
2535
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
2537
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
2538
# uniformly replaced by the line number. The first 'sed' inserts a
2539
# line-number line after each line using $LINENO; the second 'sed'
2540
# does the real work. The second script uses 'N' to pair each
2541
# line-number line with the line containing $LINENO, and appends
2542
# trailing '-' during substitution so that $LINENO is not a special
2544
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
2545
# scripts with optimization help from Paolo Bonzini. Blame Lee
2546
# E. McMahon (1931-1989) for sed's syntax. :-)
2558
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
2562
chmod +x "$as_me.lineno" ||
2563
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
2564
{ (exit 1); exit 1; }; }
2566
# Don't try to exec as it changes $[0], causing all sort of problems
2567
# (the dirname of $[0] is not the place where we might find the
2568
# original and so on. Autoconf is especially sensitive to this).
2570
# Exit status is that of the last command.
2575
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2686
# Avoid depending upon Character Ranges.
2687
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2688
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2689
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2690
as_cr_digits='0123456789'
2691
as_cr_alnum=$as_cr_Letters$as_cr_digits
2581
2693
ECHO_C= ECHO_N= ECHO_T=
2694
case `echo -n x` in #(((((
2584
case `echo 'x\c'` in
2696
case `echo 'xy\c'` in
2585
2697
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
2699
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2592
if expr a : '\(a\)' >/dev/null 2>&1 &&
2593
test "X`expr 00001 : '.*\(...\)'`" = X001; then
2599
2706
rm -f conf$$ conf$$.exe conf$$.file
2600
2707
if test -d conf$$.dir; then
2601
2708
rm -f conf$$.dir/conf$$.file
2603
2710
rm -f conf$$.dir
2711
mkdir conf$$.dir 2>/dev/null
2607
if ln -s conf$$.file conf$$ 2>/dev/null; then
2609
# ... but there are two gotchas:
2610
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2611
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2612
# In both cases, we have to default to `cp -p'.
2613
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2713
if (echo >conf$$.file) 2>/dev/null; then
2714
if ln -s conf$$.file conf$$ 2>/dev/null; then
2716
# ... but there are two gotchas:
2717
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2718
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2719
# In both cases, we have to default to `cp -p'.
2720
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2722
elif ln conf$$.file conf$$ 2>/dev/null; then
2614
2725
as_ln_s='cp -p'
2615
elif ln conf$$.file conf$$ 2>/dev/null; then
2618
2728
as_ln_s='cp -p'
2620
2730
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2621
2731
rmdir conf$$.dir 2>/dev/null
2736
# Create "$as_dir" as a directory, including parents if necessary.
2741
-*) as_dir=./$as_dir;;
2743
test -d "$as_dir" || eval $as_mkdir_p || {
2747
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2748
*) as_qdir=$as_dir;;
2750
as_dirs="'$as_qdir' $as_dirs"
2751
as_dir=`$as_dirname -- "$as_dir" ||
2752
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2753
X"$as_dir" : 'X\(//\)[^/]' \| \
2754
X"$as_dir" : 'X\(//\)$' \| \
2755
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2756
$as_echo X"$as_dir" |
2757
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2774
test -d "$as_dir" && break
2776
test -z "$as_dirs" || eval "mkdir $as_dirs"
2777
} || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
2623
2781
if mkdir -p . 2>/dev/null; then
2782
as_mkdir_p='mkdir -p "$as_dir"'
2626
2784
test -d ./-p && rmdir ./-p
2627
2785
as_mkdir_p=false
2860
3045
tmp=./conf$$-$RANDOM
2861
3046
(umask 077 && mkdir "$tmp")
2864
echo "$me: cannot create a temporary directory in ." >&2
2865
{ (exit 1); exit 1; }
2869
# Set up the sed scripts for CONFIG_FILES section.
2872
# No need to generate the scripts if there are no CONFIG_FILES.
2873
# This happens for instance when ./config.status config.h
3047
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3049
# Set up the scripts for CONFIG_FILES section.
3050
# No need to generate them if there are no CONFIG_FILES.
3051
# This happens for instance with `./config.status config.h'.
2874
3052
if test -n "$CONFIG_FILES"; then
3055
ac_cr=`echo X | tr X '\015'`
3056
# On cygwin, bash can eat \r inside `` if the user requested igncr.
3057
# But we know of no other shell where ac_cr would be empty at this
3058
# point, so we can use a bashism as a fallback.
3059
if test "x$ac_cr" = x; then
3060
eval ac_cr=\$\'\\r\'
3062
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3063
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3069
echo 'BEGIN {' >"$tmp/subs1.awk" &&
3074
echo "cat >conf$$subs.awk <<_ACEOF" &&
3075
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3078
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3079
ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
2880
3080
ac_delim='%!_!# '
2881
3081
for ac_last_try in false false false false false :; do
2882
cat >conf$$subs.sed <<_ACEOF
2883
SHELL!$SHELL$ac_delim
2884
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2885
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2886
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2887
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2888
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2889
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2890
exec_prefix!$exec_prefix$ac_delim
2891
prefix!$prefix$ac_delim
2892
program_transform_name!$program_transform_name$ac_delim
2893
bindir!$bindir$ac_delim
2894
sbindir!$sbindir$ac_delim
2895
libexecdir!$libexecdir$ac_delim
2896
datarootdir!$datarootdir$ac_delim
2897
datadir!$datadir$ac_delim
2898
sysconfdir!$sysconfdir$ac_delim
2899
sharedstatedir!$sharedstatedir$ac_delim
2900
localstatedir!$localstatedir$ac_delim
2901
includedir!$includedir$ac_delim
2902
oldincludedir!$oldincludedir$ac_delim
2903
docdir!$docdir$ac_delim
2904
infodir!$infodir$ac_delim
2905
htmldir!$htmldir$ac_delim
2906
dvidir!$dvidir$ac_delim
2907
pdfdir!$pdfdir$ac_delim
2908
psdir!$psdir$ac_delim
2909
libdir!$libdir$ac_delim
2910
localedir!$localedir$ac_delim
2911
mandir!$mandir$ac_delim
2913
ECHO_C!$ECHO_C$ac_delim
2914
ECHO_N!$ECHO_N$ac_delim
2915
ECHO_T!$ECHO_T$ac_delim
2917
build_alias!$build_alias$ac_delim
2918
host_alias!$host_alias$ac_delim
2919
target_alias!$target_alias$ac_delim
2920
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
2921
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
2922
INSTALL_DATA!$INSTALL_DATA$ac_delim
2923
am__isrc!$am__isrc$ac_delim
2924
CYGPATH_W!$CYGPATH_W$ac_delim
2925
PACKAGE!$PACKAGE$ac_delim
2926
VERSION!$VERSION$ac_delim
2927
ACLOCAL!$ACLOCAL$ac_delim
2928
AUTOCONF!$AUTOCONF$ac_delim
2929
AUTOMAKE!$AUTOMAKE$ac_delim
2930
AUTOHEADER!$AUTOHEADER$ac_delim
2931
MAKEINFO!$MAKEINFO$ac_delim
2932
install_sh!$install_sh$ac_delim
2933
STRIP!$STRIP$ac_delim
2934
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
2935
mkdir_p!$mkdir_p$ac_delim
2937
SET_MAKE!$SET_MAKE$ac_delim
2938
am__leading_dot!$am__leading_dot$ac_delim
2939
AMTAR!$AMTAR$ac_delim
2940
am__tar!$am__tar$ac_delim
2941
am__untar!$am__untar$ac_delim
2942
SBINDIR!$SBINDIR$ac_delim
2943
SYSCONFDIR!$SYSCONFDIR$ac_delim
2944
LOCALSTATEDIR!$LOCALSTATEDIR$ac_delim
2946
PERL_SHEBANG!$PERL_SHEBANG$ac_delim
2947
PERL_SITELIB!$PERL_SITELIB$ac_delim
2948
LIBOBJS!$LIBOBJS$ac_delim
2949
LTLIBOBJS!$LTLIBOBJS$ac_delim
3082
. ./conf$$subs.sh ||
3083
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2952
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 67; then
3085
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3086
if test $ac_delim_n = $ac_delim_num; then
2954
3088
elif $ac_last_try; then
2955
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2956
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2957
{ (exit 1); exit 1; }; }
3089
as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
2959
3091
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2963
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2964
if test -n "$ac_eof"; then
2965
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2966
ac_eof=`expr $ac_eof + 1`
2969
cat >>$CONFIG_STATUS <<_ACEOF
2970
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2971
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2974
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2975
s/^/s,@/; s/!/@,|#_!!_#|/
2978
s/'"$ac_delim"'$/,g/; t
2980
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2981
' >>$CONFIG_STATUS <conf$$subs.sed
2982
rm -f conf$$subs.sed
2983
cat >>$CONFIG_STATUS <<_ACEOF
2990
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2991
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3096
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3097
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
3101
s/^/S["/; s/!.*/"]=/
3111
s/\(.\{148\}\)..*/\1/
3113
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3118
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3125
s/\(.\{148\}\)..*/\1/
3127
s/["\\]/\\&/g; s/^/"/; s/$/"/
3131
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3136
' <conf$$subs.awk | sed '
3141
' >>$CONFIG_STATUS || ac_write_fail=1
3142
rm -f conf$$subs.awk
3143
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3145
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
3146
for (key in S) S_is_set[key] = 1
3152
nfields = split(line, field, "@")
3154
len = length(field[1])
3155
for (i = 2; i < nfields; i++) {
3157
keylen = length(key)
3158
if (S_is_set[key]) {
3160
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3161
len += length(value) + length(field[++i])
3172
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3173
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3174
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3177
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
3178
|| as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3181
# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3182
# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
2992
3183
# trailing colons and then remove the whole line if VPATH becomes empty
2993
3184
# (actually we leave an empty line to preserve line numbers).
2994
3185
if test "x$srcdir" = x.; then
2995
ac_vpsub='/^[ ]*VPATH[ ]*=/{
2999
s/^\([^=]*=[ ]*\):*/\1/
3186
ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3001
3200
s/^[^=]*=[ ]*$//
3005
cat >>$CONFIG_STATUS <<\_ACEOF
3204
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3006
3205
fi # test -n "$CONFIG_FILES"
3009
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
3208
eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
3011
3212
case $ac_tag in
3012
3213
:[FHLC]) ac_mode=$ac_tag; continue;;
3014
3215
case $ac_mode$ac_tag in
3016
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3017
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3018
{ (exit 1); exit 1; }; };;
3217
:L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3019
3218
:[FH]-) ac_tag=-:-;;
3020
3219
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;