2
2
# Guess values for system-dependent variables and create Makefiles.
3
# Generated by GNU Autoconf 2.61 for ocaml-vorbis 0.5.0.
3
# Generated by GNU Autoconf 2.64 for ocaml-vorbis 0.5.1.
5
5
# Report bugs to <savonet-users@lists.sourceforge.net>.
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9
11
# This configure script is free software; the Free Software Foundation
10
12
# gives unlimited permission to copy, distribute and modify it.
11
## --------------------- ##
12
## M4sh Initialization. ##
13
## --------------------- ##
13
## -------------------- ##
14
## M4sh Initialization. ##
15
## -------------------- ##
15
17
# Be more Bourne compatible
16
18
DUALCASE=1; export DUALCASE # for MKS sh
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19
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
22
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21
23
# is contrary to our usage. Disable this feature.
22
24
alias -g '${1+"$@"}'='"$@"'
23
25
setopt NO_GLOB_SUBST
25
case `(set -o) 2>/dev/null` in
26
*posix*) set -o posix ;;
27
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
39
# Printing a long string crashes Solaris 7 /usr/bin/printf.
40
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43
# Prefer a ksh shell builtin over an external printf program on Solaris,
44
# but without wasting forks for bash or zsh.
45
if test -z "$BASH_VERSION$ZSH_VERSION" \
46
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48
as_echo_n='print -rn --'
49
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55
as_echo_n='/usr/ucb/echo -n'
57
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62
expr "X$arg" : "X\\(.*\\)$as_nl";
63
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68
as_echo_n='sh -c $as_echo_n_body as_echo'
71
as_echo='sh -c $as_echo_body as_echo'
42
74
# The user is always right.
43
75
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
77
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
91
110
if test ! -f "$as_myself"; then
92
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111
$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
115
# Unset variables that we do not need and which cause bugs (e.g. in
116
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117
# suppresses any "Segmentation fault" message there. '((' could
118
# trigger a bug in pdksh 5.2.14.
119
for as_var in BASH_ENV ENV MAIL MAILPATH
120
do eval test x\${$as_var+set} = xset \
121
&& ( (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 '/^.*\/\([^/][^/]*\)\/*$/{
134
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
156
136
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
137
as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140
# Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141
# is contrary to our usage. Disable this feature.
142
alias -g '\${1+\"\$@\"}'='\"\$@\"'
145
case \`(set -o) 2>/dev/null\` in #(
153
as_required="as_fn_return () { (exit \$1); }
154
as_fn_success () { as_fn_return 0; }
155
as_fn_failure () { as_fn_return 1; }
156
as_fn_ret_success () { return 0; }
157
as_fn_ret_failure () { return 1; }
160
as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161
as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162
as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163
as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164
if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167
exitcode=1; echo positional parameters were not saved.
169
test x\$exitcode = x0 || exit 1"
170
as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171
as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172
eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173
test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174
if (eval "$as_required") 2>/dev/null; then :
158
175
as_have_required=yes
160
177
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
179
if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
184
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
227
187
test -z "$as_dir" && as_dir=.
230
191
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
192
# Try only shells that exist, to save several forks.
193
as_shell=$as_dir/$as_base
194
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196
CONFIG_SHELL=$as_shell as_have_required=yes
197
if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205
$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206
{ $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207
CONFIG_SHELL=$SHELL as_have_required=yes
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. :-)
212
if test "x$CONFIG_SHELL" != x; then :
213
# We cannot yet assume a decent shell, so we have to provide a
214
# neutralization value for shells without unset; and this also
215
# works around shells that cannot unset nonexistent variables.
218
(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223
if test x$as_have_required = xno; then :
224
$as_echo "$0: This script requires a shell more modern than all"
225
$as_echo "$0: the shells that I found on your system."
226
if test x${ZSH_VERSION+set} = xset ; then
227
$as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228
$as_echo "$0: be upgraded to zsh 4.3.4 or later."
230
$as_echo "$0: Please tell bug-autoconf@gnu.org and
231
$0: savonet-users@lists.sourceforge.net about your system,
232
$0: including any error possibly output before this
233
$0: message. Then install a modern shell, or manually run
234
$0: the script under such a shell if you do have one."
240
SHELL=${CONFIG_SHELL-/bin/sh}
242
# Unset more variables known to interfere with behavior of common tools.
243
CLICOLOR_FORCE= GREP_OPTIONS=
244
unset CLICOLOR_FORCE GREP_OPTIONS
246
## --------------------- ##
247
## M4sh Shell Functions. ##
248
## --------------------- ##
251
# Portably unset VAR.
254
{ eval $1=; unset $1;}
258
# as_fn_set_status STATUS
259
# -----------------------
260
# Set $? to STATUS, without forking.
268
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
278
# Create "$as_dir" as a directory, including parents if necessary.
283
-*) as_dir=./$as_dir;;
285
test -d "$as_dir" || eval $as_mkdir_p || {
289
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292
as_dirs="'$as_qdir' $as_dirs"
293
as_dir=`$as_dirname -- "$as_dir" ||
294
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
295
X"$as_dir" : 'X\(//\)[^/]' \| \
296
X"$as_dir" : 'X\(//\)$' \| \
297
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
298
$as_echo X"$as_dir" |
299
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
316
test -d "$as_dir" && break
318
test -z "$as_dirs" || eval "mkdir $as_dirs"
319
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
323
# as_fn_append VAR VALUE
324
# ----------------------
325
# Append the text in VALUE to the end of the definition contained in VAR. Take
326
# advantage of any shell optimizations that allow amortized linear growth over
327
# repeated appends, instead of the typical quadratic growth present in naive
329
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
330
eval 'as_fn_append ()
343
# Perform arithmetic evaluation on the ARGs, and store the result in the
344
# global $as_val. Take advantage of shells that can avoid forks. The arguments
345
# must be portable across $(()) and expr.
346
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354
as_val=`expr "$@" || test $? -eq 1`
359
# as_fn_error ERROR [LINENO LOG_FD]
360
# ---------------------------------
361
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
362
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
363
# script with status $?, using 1 if that was 0.
366
as_status=$?; test $as_status -eq 0 && as_status=1
368
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
369
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
371
$as_echo "$as_me: error: $1" >&2
372
as_fn_exit $as_status
375
if expr a : '\(a\)' >/dev/null 2>&1 &&
376
test "X`expr 00001 : '.*\(...\)'`" = X001; then
382
if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
388
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
394
as_me=`$as_basename -- "$0" ||
395
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
396
X"$0" : 'X\(//\)$' \| \
397
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
399
sed '/^.*\/\([^/][^/]*\)\/*$/{
413
# Avoid depending upon Character Ranges.
414
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
415
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
416
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
417
as_cr_digits='0123456789'
418
as_cr_alnum=$as_cr_Letters$as_cr_digits
421
as_lineno_1=$LINENO as_lineno_1a=$LINENO
422
as_lineno_2=$LINENO as_lineno_2a=$LINENO
423
eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
424
test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
425
# Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
1315
1342
test -n "$ac_init_help" && exit $ac_status
1316
1343
if $ac_init_version; then
1318
ocaml-vorbis configure 0.5.0
1319
generated by GNU Autoconf 2.61
1345
ocaml-vorbis configure 0.5.1
1346
generated by GNU Autoconf 2.64
1321
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1322
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1348
Copyright (C) 2009 Free Software Foundation, Inc.
1323
1349
This configure script is free software; the Free Software Foundation
1324
1350
gives unlimited permission to copy, distribute and modify it.
1355
## ------------------------ ##
1356
## Autoconf initialization. ##
1357
## ------------------------ ##
1359
# ac_fn_c_try_compile LINENO
1360
# --------------------------
1361
# Try to compile conftest.$ac_ext, and return whether this succeeded.
1362
ac_fn_c_try_compile ()
1364
as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1365
rm -f conftest.$ac_objext
1366
if { { ac_try="$ac_compile"
1368
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1369
*) ac_try_echo=$ac_try;;
1371
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1372
$as_echo "$ac_try_echo"; } >&5
1373
(eval "$ac_compile") 2>conftest.err
1375
if test -s conftest.err; then
1376
grep -v '^ *+' conftest.err >conftest.er1
1377
cat conftest.er1 >&5
1378
mv -f conftest.er1 conftest.err
1380
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1381
test $ac_status = 0; } && {
1382
test -z "$ac_c_werror_flag" ||
1383
test ! -s conftest.err
1384
} && test -s conftest.$ac_objext; then :
1387
$as_echo "$as_me: failed program was:" >&5
1388
sed 's/^/| /' conftest.$ac_ext >&5
1392
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1395
} # ac_fn_c_try_compile
1328
1396
cat >config.log <<_ACEOF
1329
1397
This file contains any messages produced by compilers while
1330
1398
running configure, to aid debugging if configure makes a mistake.
1332
It was created by ocaml-vorbis $as_me 0.5.0, which was
1333
generated by GNU Autoconf 2.61. Invocation command line was
1400
It was created by ocaml-vorbis $as_me 0.5.1, which was
1401
generated by GNU Autoconf 2.64. Invocation command line was
1524
1593
test "$ac_signal" != 0 &&
1525
echo "$as_me: caught signal $ac_signal"
1526
echo "$as_me: exit $exit_status"
1594
$as_echo "$as_me: caught signal $ac_signal"
1595
$as_echo "$as_me: exit $exit_status"
1528
1597
rm -f core *.core core.conftest.* &&
1529
1598
rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1530
1599
exit $exit_status
1532
1601
for ac_signal in 1 2 13 15; do
1533
trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1602
trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1537
1606
# confdefs.h avoids OS command line length limits that DEFS can exceed.
1538
1607
rm -f -r conftest* confdefs.h
1609
$as_echo "/* confdefs.h */" > confdefs.h
1540
1611
# Predefined preprocessor variables.
1542
1613
cat >>confdefs.h <<_ACEOF
1543
1614
#define PACKAGE_NAME "$PACKAGE_NAME"
1547
1617
cat >>confdefs.h <<_ACEOF
1548
1618
#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1552
1621
cat >>confdefs.h <<_ACEOF
1553
1622
#define PACKAGE_VERSION "$PACKAGE_VERSION"
1557
1625
cat >>confdefs.h <<_ACEOF
1558
1626
#define PACKAGE_STRING "$PACKAGE_STRING"
1562
1629
cat >>confdefs.h <<_ACEOF
1563
1630
#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1633
cat >>confdefs.h <<_ACEOF
1634
#define PACKAGE_URL "$PACKAGE_URL"
1567
1638
# Let the site file select an alternate cache file if it wants to.
1568
# Prefer explicitly selected file to automatically selected ones.
1639
# Prefer an explicitly selected file to automatically selected ones.
1569
1642
if test -n "$CONFIG_SITE"; then
1570
set x "$CONFIG_SITE"
1643
ac_site_file1=$CONFIG_SITE
1571
1644
elif test "x$prefix" != xNONE; then
1572
set x "$prefix/share/config.site" "$prefix/etc/config.site"
1645
ac_site_file1=$prefix/share/config.site
1646
ac_site_file2=$prefix/etc/config.site
1574
set x "$ac_default_prefix/share/config.site" \
1575
"$ac_default_prefix/etc/config.site"
1648
ac_site_file1=$ac_default_prefix/share/config.site
1649
ac_site_file2=$ac_default_prefix/etc/config.site
1651
for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1653
test "x$ac_site_file" = xNONE && continue
1580
1654
if test -r "$ac_site_file"; then
1581
{ echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1582
echo "$as_me: loading site script $ac_site_file" >&6;}
1655
{ $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1656
$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1583
1657
sed 's/^/| /' "$ac_site_file" >&5
1584
1658
. "$ac_site_file"
1612
1686
eval ac_new_val=\$ac_env_${ac_var}_value
1613
1687
case $ac_old_set,$ac_new_set in
1615
{ echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1616
echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1689
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1690
$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1617
1691
ac_cache_corrupted=: ;;
1619
{ echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1620
echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1693
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1694
$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1621
1695
ac_cache_corrupted=: ;;
1624
1698
if test "x$ac_old_val" != "x$ac_new_val"; then
1625
{ echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1626
echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1627
{ echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1628
echo "$as_me: former value: $ac_old_val" >&2;}
1629
{ echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1630
echo "$as_me: current value: $ac_new_val" >&2;}
1631
ac_cache_corrupted=:
1699
# differences in whitespace do not lead to failure.
1700
ac_old_val_w=`echo x $ac_old_val`
1701
ac_new_val_w=`echo x $ac_new_val`
1702
if test "$ac_old_val_w" != "$ac_new_val_w"; then
1703
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1704
$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1705
ac_cache_corrupted=:
1707
{ $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1708
$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1709
eval $ac_var=\$ac_old_val
1711
{ $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1712
$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1713
{ $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1714
$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1634
1717
# Pass precious variables to config.status.
1635
1718
if test "$ac_new_set" = set; then
1636
1719
case $ac_new_val in
1637
*\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1720
*\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1638
1721
*) ac_arg=$ac_var=$ac_new_val ;;
1640
1723
case " $ac_configure_args " in
1641
1724
*" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1642
*) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1725
*) as_fn_append ac_configure_args " '$ac_arg'" ;;
1646
1729
if $ac_cache_corrupted; then
1647
{ echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1648
echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1649
{ { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1650
echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1651
{ (exit 1); exit 1; }; }
1730
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1731
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1732
{ $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1733
$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1734
as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1736
## -------------------- ##
1737
## Main body of script. ##
1738
## -------------------- ##
1679
1741
ac_cpp='$CPP $CPPFLAGS'
2482
test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2483
See \`config.log' for more details." >&5
2484
echo "$as_me: error: no acceptable C compiler found in \$PATH
2485
See \`config.log' for more details." >&2;}
2486
{ (exit 1); exit 1; }; }
2544
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2545
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2546
as_fn_error "no acceptable C compiler found in \$PATH
2547
See \`config.log' for more details." "$LINENO" 5; }
2488
2549
# Provide some information about the compiler.
2489
echo "$as_me:$LINENO: checking for C compiler version" >&5
2490
ac_compiler=`set X $ac_compile; echo $2`
2491
{ (ac_try="$ac_compiler --version >&5"
2493
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2494
*) ac_try_echo=$ac_try;;
2496
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2497
(eval "$ac_compiler --version >&5") 2>&5
2499
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2500
(exit $ac_status); }
2501
{ (ac_try="$ac_compiler -v >&5"
2503
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2504
*) ac_try_echo=$ac_try;;
2506
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2507
(eval "$ac_compiler -v >&5") 2>&5
2509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510
(exit $ac_status); }
2511
{ (ac_try="$ac_compiler -V >&5"
2513
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2514
*) ac_try_echo=$ac_try;;
2516
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2517
(eval "$ac_compiler -V >&5") 2>&5
2519
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520
(exit $ac_status); }
2550
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2553
for ac_option in --version -v -V -qversion; do
2554
{ { ac_try="$ac_compiler $ac_option >&5"
2556
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2557
*) ac_try_echo=$ac_try;;
2559
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2560
$as_echo "$ac_try_echo"; } >&5
2561
(eval "$ac_compiler $ac_option >&5") 2>conftest.err
2563
if test -s conftest.err; then
2565
... rest of stderr output deleted ...
2566
10q' conftest.err >conftest.er1
2567
cat conftest.er1 >&5
2568
rm -f conftest.er1 conftest.err
2570
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571
test $ac_status = 0; }
2522
cat >conftest.$ac_ext <<_ACEOF
2525
cat confdefs.h >>conftest.$ac_ext
2526
cat >>conftest.$ac_ext <<_ACEOF
2574
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2527
2575
/* end confdefs.h. */
2580
FILE *f = fopen ("conftest.out", "w");
2581
return ferror (f) || fclose (f) != 0;
2537
2587
ac_clean_files_save=$ac_clean_files
2538
ac_clean_files="$ac_clean_files a.out a.exe b.out"
2588
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2539
2589
# Try to create an executable without -o first, disregard a.out.
2540
2590
# It will help us diagnose broken compilers, and finding out an intuition
2542
{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2543
echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2544
ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2546
# List of possible output files, starting from the most likely.
2547
# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2548
# only as a last resort. b.out is created by i960 compilers.
2549
ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2551
# The IRIX 6 linker writes into existing files which may not be
2552
# executable, retaining their permissions. Remove them first so a
2553
# subsequent execution test works.
2592
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2593
$as_echo_n "checking for C compiler default output file name... " >&6; }
2594
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2596
# The possible output files:
2597
ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2555
2600
for ac_file in $ac_files
2557
2602
case $ac_file in
2558
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2603
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2559
2604
* ) ac_rmfiles="$ac_rmfiles $ac_file";;
2562
2607
rm -f $ac_rmfiles
2564
if { (ac_try="$ac_link_default"
2609
if { { ac_try="$ac_link_default"
2565
2610
case "(($ac_try" in
2566
2611
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567
2612
*) ac_try_echo=$ac_try;;
2569
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2614
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2615
$as_echo "$ac_try_echo"; } >&5
2570
2616
(eval "$ac_link_default") 2>&5
2572
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573
(exit $ac_status); }; then
2618
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2619
test $ac_status = 0; }; then :
2574
2620
# Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2575
2621
# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2576
2622
# in a Makefile. We should not override ac_cv_exeext if it was cached,
2610
{ echo "$as_me:$LINENO: result: $ac_file" >&5
2611
echo "${ECHO_T}$ac_file" >&6; }
2612
if test -z "$ac_file"; then
2613
echo "$as_me: failed program was:" >&5
2655
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2656
$as_echo "$ac_file" >&6; }
2657
if test -z "$ac_file"; then :
2658
$as_echo "$as_me: failed program was:" >&5
2614
2659
sed 's/^/| /' conftest.$ac_ext >&5
2616
{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2617
See \`config.log' for more details." >&5
2618
echo "$as_me: error: C compiler cannot create executables
2619
See \`config.log' for more details." >&2;}
2620
{ (exit 77); exit 77; }; }
2661
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2662
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2663
{ as_fn_set_status 77
2664
as_fn_error "C compiler cannot create executables
2665
See \`config.log' for more details." "$LINENO" 5; }; }
2623
2667
ac_exeext=$ac_cv_exeext
2625
2669
# Check that the compiler produces executables we can run. If not, either
2626
2670
# the compiler is broken, or we cross compile.
2627
{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2628
echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2629
# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2672
$as_echo_n "checking whether the C compiler works... " >&6; }
2630
2673
# If not cross compiling, check that we can run a simple program.
2631
2674
if test "$cross_compiling" != yes; then
2632
2675
if { ac_try='./$ac_file'
2633
{ (case "(($ac_try" in
2676
{ { case "(($ac_try" in
2634
2677
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2635
2678
*) ac_try_echo=$ac_try;;
2637
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2680
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2681
$as_echo "$ac_try_echo"; } >&5
2638
2682
(eval "$ac_try") 2>&5
2640
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641
(exit $ac_status); }; }; then
2684
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685
test $ac_status = 0; }; }; then
2642
2686
cross_compiling=no
2644
2688
if test "$cross_compiling" = maybe; then
2645
2689
cross_compiling=yes
2647
{ { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2648
If you meant to cross compile, use \`--host'.
2649
See \`config.log' for more details." >&5
2650
echo "$as_me: error: cannot run C compiled programs.
2651
If you meant to cross compile, use \`--host'.
2652
See \`config.log' for more details." >&2;}
2653
{ (exit 1); exit 1; }; }
2691
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693
as_fn_error "cannot run C compiled programs.
2694
If you meant to cross compile, use \`--host'.
2695
See \`config.log' for more details." "$LINENO" 5; }
2657
{ echo "$as_me:$LINENO: result: yes" >&5
2658
echo "${ECHO_T}yes" >&6; }
2699
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2700
$as_echo "yes" >&6; }
2660
rm -f a.out a.exe conftest$ac_cv_exeext b.out
2702
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2661
2703
ac_clean_files=$ac_clean_files_save
2662
2704
# Check that the compiler produces executables we can run. If not, either
2663
2705
# the compiler is broken, or we cross compile.
2664
{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2665
echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2666
{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2667
echo "${ECHO_T}$cross_compiling" >&6; }
2706
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2707
$as_echo_n "checking whether we are cross compiling... " >&6; }
2708
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2709
$as_echo "$cross_compiling" >&6; }
2669
{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2670
echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2671
if { (ac_try="$ac_link"
2711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2712
$as_echo_n "checking for suffix of executables... " >&6; }
2713
if { { ac_try="$ac_link"
2672
2714
case "(($ac_try" in
2673
2715
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2674
2716
*) ac_try_echo=$ac_try;;
2676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2718
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2719
$as_echo "$ac_try_echo"; } >&5
2677
2720
(eval "$ac_link") 2>&5
2679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680
(exit $ac_status); }; then
2722
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2723
test $ac_status = 0; }; then :
2681
2724
# If both `conftest.exe' and `conftest' are `present' (well, observable)
2682
2725
# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2683
2726
# work properly (i.e., refer to `conftest.exe'), while it won't with
2729
2766
rm -f conftest.o conftest.obj
2730
if { (ac_try="$ac_compile"
2767
if { { ac_try="$ac_compile"
2731
2768
case "(($ac_try" in
2732
2769
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2733
2770
*) ac_try_echo=$ac_try;;
2735
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2772
eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2773
$as_echo "$ac_try_echo"; } >&5
2736
2774
(eval "$ac_compile") 2>&5
2738
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739
(exit $ac_status); }; then
2776
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777
test $ac_status = 0; }; then :
2740
2778
for ac_file in conftest.o conftest.obj conftest.*; do
2741
2779
test -f "$ac_file" || continue;
2742
2780
case $ac_file in
2743
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2781
*.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2744
2782
*) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2749
echo "$as_me: failed program was:" >&5
2787
$as_echo "$as_me: failed program was:" >&5
2750
2788
sed 's/^/| /' conftest.$ac_ext >&5
2752
{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2753
See \`config.log' for more details." >&5
2754
echo "$as_me: error: cannot compute suffix of object files: cannot compile
2755
See \`config.log' for more details." >&2;}
2756
{ (exit 1); exit 1; }; }
2790
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2791
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2792
as_fn_error "cannot compute suffix of object files: cannot compile
2793
See \`config.log' for more details." "$LINENO" 5; }
2759
2795
rm -f conftest.$ac_cv_objext conftest.$ac_ext
2761
{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2762
echo "${ECHO_T}$ac_cv_objext" >&6; }
2797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2798
$as_echo "$ac_cv_objext" >&6; }
2763
2799
OBJEXT=$ac_cv_objext
2764
2800
ac_objext=$OBJEXT
2765
{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2766
echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2767
if test "${ac_cv_c_compiler_gnu+set}" = set; then
2768
echo $ECHO_N "(cached) $ECHO_C" >&6
2801
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2802
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2803
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2804
$as_echo_n "(cached) " >&6
2770
cat >conftest.$ac_ext <<_ACEOF
2773
cat confdefs.h >>conftest.$ac_ext
2774
cat >>conftest.$ac_ext <<_ACEOF
2806
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2775
2807
/* end confdefs.h. */
3599
3515
ac_cs_recheck=false
3600
3516
ac_cs_silent=false
3601
3518
SHELL=\${CONFIG_SHELL-$SHELL}
3604
cat >>$CONFIG_STATUS <<\_ACEOF
3605
## --------------------- ##
3606
## M4sh Initialization. ##
3607
## --------------------- ##
3521
cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3522
## -------------------- ##
3523
## M4sh Initialization. ##
3524
## -------------------- ##
3609
3526
# Be more Bourne compatible
3610
3527
DUALCASE=1; export DUALCASE # for MKS sh
3611
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3528
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3614
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3531
# Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3615
3532
# is contrary to our usage. Disable this feature.
3616
3533
alias -g '${1+"$@"}'='"$@"'
3617
3534
setopt NO_GLOB_SUBST
3619
case `(set -o) 2>/dev/null` in
3620
*posix*) set -o posix ;;
3536
case `(set -o) 2>/dev/null` in #(
3629
# Avoid depending upon Character Ranges.
3630
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3631
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3632
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3633
as_cr_digits='0123456789'
3634
as_cr_alnum=$as_cr_Letters$as_cr_digits
3548
# Printing a long string crashes Solaris 7 /usr/bin/printf.
3549
as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3550
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3551
as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3552
# Prefer a ksh shell builtin over an external printf program on Solaris,
3553
# but without wasting forks for bash or zsh.
3554
if test -z "$BASH_VERSION$ZSH_VERSION" \
3555
&& (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3556
as_echo='print -r --'
3557
as_echo_n='print -rn --'
3558
elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3559
as_echo='printf %s\n'
3560
as_echo_n='printf %s'
3562
if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3563
as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3564
as_echo_n='/usr/ucb/echo -n'
3566
as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3567
as_echo_n_body='eval
3571
expr "X$arg" : "X\\(.*\\)$as_nl";
3572
arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3574
expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3576
export as_echo_n_body
3577
as_echo_n='sh -c $as_echo_n_body as_echo'
3580
as_echo='sh -c $as_echo_body as_echo'
3636
3583
# The user is always right.
3637
3584
if test "${PATH_SEPARATOR+set}" != set; then
3638
echo "#! /bin/sh" >conf$$.sh
3639
echo "exit 0" >>conf$$.sh
3641
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3649
# Support unset when possible.
3650
if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3586
(PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3587
(PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3685
3619
if test ! -f "$as_myself"; then
3686
echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3687
{ (exit 1); exit 1; }
3620
$as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3690
# Work around bugs in pre-3.0 UWIN ksh.
3691
for as_var in ENV MAIL MAILPATH
3692
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3624
# Unset variables that we do not need and which cause bugs (e.g. in
3625
# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3626
# suppresses any "Segmentation fault" message there. '((' could
3627
# trigger a bug in pdksh 5.2.14.
3628
for as_var in BASH_ENV ENV MAIL MAILPATH
3629
do eval test x\${$as_var+set} = xset \
3630
&& ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3698
3636
# NLS nuisances.
3700
LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3701
LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3702
LC_TELEPHONE LC_TIME
3704
if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
3705
eval $as_var=C; export $as_var
3707
($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
3643
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3646
# as_fn_error ERROR [LINENO LOG_FD]
3647
# ---------------------------------
3648
# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3649
# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3650
# script with status $?, using 1 if that was 0.
3653
as_status=$?; test $as_status -eq 0 && as_status=1
3655
as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3656
$as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3711
# Required to use basename.
3658
$as_echo "$as_me: error: $1" >&2
3659
as_fn_exit $as_status
3663
# as_fn_set_status STATUS
3664
# -----------------------
3665
# Set $? to STATUS, without forking.
3669
} # as_fn_set_status
3673
# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3683
# Portably unset VAR.
3686
{ eval $1=; unset $1;}
3688
as_unset=as_fn_unset
3689
# as_fn_append VAR VALUE
3690
# ----------------------
3691
# Append the text in VALUE to the end of the definition contained in VAR. Take
3692
# advantage of any shell optimizations that allow amortized linear growth over
3693
# repeated appends, instead of the typical quadratic growth present in naive
3695
if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3696
eval 'as_fn_append ()
3707
# as_fn_arith ARG...
3708
# ------------------
3709
# Perform arithmetic evaluation on the ARGs, and store the result in the
3710
# global $as_val. Take advantage of shells that can avoid forks. The arguments
3711
# must be portable across $(()) and expr.
3712
if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3713
eval 'as_fn_arith ()
3720
as_val=`expr "$@" || test $? -eq 1`
3712
3725
if expr a : '\(a\)' >/dev/null 2>&1 &&
3713
3726
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3753
test "x$as_lineno_1" != "x$as_lineno_2" &&
3754
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3756
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3757
# uniformly replaced by the line number. The first 'sed' inserts a
3758
# line-number line after each line using $LINENO; the second 'sed'
3759
# does the real work. The second script uses 'N' to pair each
3760
# line-number line with the line containing $LINENO, and appends
3761
# trailing '-' during substitution so that $LINENO is not a special
3763
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3764
# scripts with optimization help from Paolo Bonzini. Blame Lee
3765
# E. McMahon (1931-1989) for sed's syntax. :-)
3777
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3781
chmod +x "$as_me.lineno" ||
3782
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3783
{ (exit 1); exit 1; }; }
3785
# Don't try to exec as it changes $[0], causing all sort of problems
3786
# (the dirname of $[0] is not the place where we might find the
3787
# original and so on. Autoconf is especially sensitive to this).
3789
# Exit status is that of the last command.
3794
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3763
# Avoid depending upon Character Ranges.
3764
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3765
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3766
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3767
as_cr_digits='0123456789'
3768
as_cr_alnum=$as_cr_Letters$as_cr_digits
3800
3770
ECHO_C= ECHO_N= ECHO_T=
3771
case `echo -n x` in #(((((
3803
case `echo 'x\c'` in
3773
case `echo 'xy\c'` in
3804
3774
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
3776
*) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3811
if expr a : '\(a\)' >/dev/null 2>&1 &&
3812
test "X`expr 00001 : '.*\(...\)'`" = X001; then
3818
3783
rm -f conf$$ conf$$.exe conf$$.file
3819
3784
if test -d conf$$.dir; then
3820
3785
rm -f conf$$.dir/conf$$.file
3822
3787
rm -f conf$$.dir
3788
mkdir conf$$.dir 2>/dev/null
3826
if ln -s conf$$.file conf$$ 2>/dev/null; then
3828
# ... but there are two gotchas:
3829
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3830
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3831
# In both cases, we have to default to `cp -p'.
3832
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3790
if (echo >conf$$.file) 2>/dev/null; then
3791
if ln -s conf$$.file conf$$ 2>/dev/null; then
3793
# ... but there are two gotchas:
3794
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3795
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3796
# In both cases, we have to default to `cp -p'.
3797
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3799
elif ln conf$$.file conf$$ 2>/dev/null; then
3833
3802
as_ln_s='cp -p'
3834
elif ln conf$$.file conf$$ 2>/dev/null; then
3837
3805
as_ln_s='cp -p'
3839
3807
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3840
3808
rmdir conf$$.dir 2>/dev/null
3813
# Create "$as_dir" as a directory, including parents if necessary.
3818
-*) as_dir=./$as_dir;;
3820
test -d "$as_dir" || eval $as_mkdir_p || {
3824
*\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3825
*) as_qdir=$as_dir;;
3827
as_dirs="'$as_qdir' $as_dirs"
3828
as_dir=`$as_dirname -- "$as_dir" ||
3829
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3830
X"$as_dir" : 'X\(//\)[^/]' \| \
3831
X"$as_dir" : 'X\(//\)$' \| \
3832
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3833
$as_echo X"$as_dir" |
3834
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3851
test -d "$as_dir" && break
3853
test -z "$as_dirs" || eval "mkdir $as_dirs"
3854
} || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3842
3858
if mkdir -p . 2>/dev/null; then
3859
as_mkdir_p='mkdir -p "$as_dir"'
3845
3861
test -d ./-p && rmdir ./-p
3846
3862
as_mkdir_p=false
3899
cat >>$CONFIG_STATUS <<_ACEOF
3921
case $ac_config_files in *"
3922
"*) set x $ac_config_files; shift; ac_config_files=$*;;
3927
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3900
3928
# Files that config.status was made for.
3901
3929
config_files="$ac_config_files"
3905
cat >>$CONFIG_STATUS <<\_ACEOF
3933
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3907
\`$as_me' instantiates files from templates according to the
3908
current configuration.
3935
\`$as_me' instantiates files and other configuration actions
3936
from templates according to the current configuration. Unless the files
3937
and actions are specified as TAGs, all are instantiated by default.
3910
Usage: $0 [OPTIONS] [FILE]...
3939
Usage: $0 [OPTION]... [TAG]...
3912
3941
-h, --help print this help, then exit
3913
3942
-V, --version print version number and configuration settings, then exit
3914
-q, --quiet do not print progress messages
3943
-q, --quiet, --silent
3944
do not print progress messages
3915
3945
-d, --debug don't remove temporary files
3916
3946
--recheck update $as_me by reconfiguring in the same conditions
3917
--file=FILE[:TEMPLATE]
3918
instantiate the configuration file FILE
3947
--file=FILE[:TEMPLATE]
3948
instantiate the configuration file FILE
3920
3950
Configuration files:
3923
Report bugs to <bug-autoconf@gnu.org>."
3953
Report bugs to <savonet-users@lists.sourceforge.net>."
3926
cat >>$CONFIG_STATUS <<_ACEOF
3956
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3927
3957
ac_cs_version="\\
3928
ocaml-vorbis config.status 0.5.0
3929
configured by $0, generated by GNU Autoconf 2.61,
3930
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3958
ocaml-vorbis config.status 0.5.1
3959
configured by $0, generated by GNU Autoconf 2.64,
3960
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3932
Copyright (C) 2006 Free Software Foundation, Inc.
3962
Copyright (C) 2009 Free Software Foundation, Inc.
3933
3963
This config.status script is free software; the Free Software Foundation
3934
3964
gives unlimited permission to copy, distribute and modify it."
3936
3966
ac_pwd='$ac_pwd'
3937
3967
srcdir='$srcdir'
3968
test -n "\$AWK" || AWK=awk
3940
cat >>$CONFIG_STATUS <<\_ACEOF
3941
# If no file are specified by the user, then we need to provide default
3942
# value. By we need to know if files were specified by the user.
3971
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3972
# The default lists apply if the user does not specify any file.
3943
3973
ac_need_defaults=:
3944
3974
while test $# != 0
4068
4100
tmp=./conf$$-$RANDOM
4069
4101
(umask 077 && mkdir "$tmp")
4072
echo "$me: cannot create a temporary directory in ." >&2
4073
{ (exit 1); exit 1; }
4077
# Set up the sed scripts for CONFIG_FILES section.
4080
# No need to generate the scripts if there are no CONFIG_FILES.
4081
# This happens for instance when ./config.status config.h
4102
} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4104
# Set up the scripts for CONFIG_FILES section.
4105
# No need to generate them if there are no CONFIG_FILES.
4106
# This happens for instance with `./config.status config.h'.
4082
4107
if test -n "$CONFIG_FILES"; then
4110
ac_cr=`echo X | tr X '\015'`
4111
# On cygwin, bash can eat \r inside `` if the user requested igncr.
4112
# But we know of no other shell where ac_cr would be empty at this
4113
# point, so we can use a bashism as a fallback.
4114
if test "x$ac_cr" = x; then
4115
eval ac_cr=\$\'\\r\'
4117
ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4118
if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4124
echo 'BEGIN {' >"$tmp/subs1.awk" &&
4129
echo "cat >conf$$subs.awk <<_ACEOF" &&
4130
echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4133
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4134
ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4088
4135
ac_delim='%!_!# '
4089
4136
for ac_last_try in false false false false false :; do
4090
cat >conf$$subs.sed <<_ACEOF
4091
SHELL!$SHELL$ac_delim
4092
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4093
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4094
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4095
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4096
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4097
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4098
exec_prefix!$exec_prefix$ac_delim
4099
prefix!$prefix$ac_delim
4100
program_transform_name!$program_transform_name$ac_delim
4101
bindir!$bindir$ac_delim
4102
sbindir!$sbindir$ac_delim
4103
libexecdir!$libexecdir$ac_delim
4104
datarootdir!$datarootdir$ac_delim
4105
datadir!$datadir$ac_delim
4106
sysconfdir!$sysconfdir$ac_delim
4107
sharedstatedir!$sharedstatedir$ac_delim
4108
localstatedir!$localstatedir$ac_delim
4109
includedir!$includedir$ac_delim
4110
oldincludedir!$oldincludedir$ac_delim
4111
docdir!$docdir$ac_delim
4112
infodir!$infodir$ac_delim
4113
htmldir!$htmldir$ac_delim
4114
dvidir!$dvidir$ac_delim
4115
pdfdir!$pdfdir$ac_delim
4116
psdir!$psdir$ac_delim
4117
libdir!$libdir$ac_delim
4118
localedir!$localedir$ac_delim
4119
mandir!$mandir$ac_delim
4121
ECHO_C!$ECHO_C$ac_delim
4122
ECHO_N!$ECHO_N$ac_delim
4123
ECHO_T!$ECHO_T$ac_delim
4125
build_alias!$build_alias$ac_delim
4126
host_alias!$host_alias$ac_delim
4127
target_alias!$target_alias$ac_delim
4128
OCAMLC!$OCAMLC$ac_delim
4129
OCAMLOPT!$OCAMLOPT$ac_delim
4130
OCAMLCDOTOPT!$OCAMLCDOTOPT$ac_delim
4131
OCAMLOPTDOTOPT!$OCAMLOPTDOTOPT$ac_delim
4132
OCAMLDEP!$OCAMLDEP$ac_delim
4133
OCAMLLEX!$OCAMLLEX$ac_delim
4134
OCAMLYACC!$OCAMLYACC$ac_delim
4135
OCAMLDOC!$OCAMLDOC$ac_delim
4136
OCAMLMKTOP!$OCAMLMKTOP$ac_delim
4138
CFLAGS!$CFLAGS$ac_delim
4139
LDFLAGS!$LDFLAGS$ac_delim
4140
CPPFLAGS!$CPPFLAGS$ac_delim
4141
ac_ct_CC!$ac_ct_CC$ac_delim
4142
EXEEXT!$EXEEXT$ac_delim
4143
OBJEXT!$OBJEXT$ac_delim
4144
PKGCONFIG!$PKGCONFIG$ac_delim
4145
OGG_LDFLAGS!$OGG_LDFLAGS$ac_delim
4146
OGG_CFLAGS!$OGG_CFLAGS$ac_delim
4147
OGG_LIBS!$OGG_LIBS$ac_delim
4148
VORBIS_LDFLAGS!$VORBIS_LDFLAGS$ac_delim
4149
VORBIS_CFLAGS!$VORBIS_CFLAGS$ac_delim
4150
VORBIS_LIBS!$VORBIS_LIBS$ac_delim
4151
OCAMLFIND!$OCAMLFIND$ac_delim
4152
OCAMLCP!$OCAMLCP$ac_delim
4153
LATEX!$LATEX$ac_delim
4154
DVIPS!$DVIPS$ac_delim
4155
PS2PDF!$PS2PDF$ac_delim
4156
OCAMLOGG_INC!$OCAMLOGG_INC$ac_delim
4157
VERSION!$VERSION$ac_delim
4159
OCAMLBEST!$OCAMLBEST$ac_delim
4160
OCAMLVERSION!$OCAMLVERSION$ac_delim
4161
OCAMLLIB!$OCAMLLIB$ac_delim
4162
OCAMLBIN!$OCAMLBIN$ac_delim
4163
OCAMLFIND_LDCONF!$OCAMLFIND_LDCONF$ac_delim
4164
CAMLLIBPATH!$CAMLLIBPATH$ac_delim
4165
LIBOBJS!$LIBOBJS$ac_delim
4166
LTLIBOBJS!$LTLIBOBJS$ac_delim
4137
. ./conf$$subs.sh ||
4138
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4169
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
4140
ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4141
if test $ac_delim_n = $ac_delim_num; then
4171
4143
elif $ac_last_try; then
4172
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4173
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4174
{ (exit 1); exit 1; }; }
4144
as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4176
4146
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4180
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4181
if test -n "$ac_eof"; then
4182
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4183
ac_eof=`expr $ac_eof + 1`
4186
cat >>$CONFIG_STATUS <<_ACEOF
4187
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4188
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4191
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4192
s/^/s,@/; s/!/@,|#_!!_#|/
4195
s/'"$ac_delim"'$/,g/; t
4197
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4198
' >>$CONFIG_STATUS <conf$$subs.sed
4199
rm -f conf$$subs.sed
4200
cat >>$CONFIG_STATUS <<_ACEOF
4151
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4152
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4156
s/^/S["/; s/!.*/"]=/
4166
s/\(.\{148\}\).*/\1/
4168
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4173
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4180
s/\(.\{148\}\).*/\1/
4182
s/["\\]/\\&/g; s/^/"/; s/$/"/
4186
s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4191
' <conf$$subs.awk | sed '
4196
' >>$CONFIG_STATUS || ac_write_fail=1
4197
rm -f conf$$subs.awk
4198
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4200
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4201
for (key in S) S_is_set[key] = 1
4207
nfields = split(line, field, "@")
4209
len = length(field[1])
4210
for (i = 2; i < nfields; i++) {
4212
keylen = length(key)
4213
if (S_is_set[key]) {
4215
line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4216
len += length(value) + length(field[++i])
4227
cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4228
if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4229
sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4232
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4233
|| as_fn_error "could not setup config files machinery" "$LINENO" 5
4207
4236
# VPATH may cause trouble with some makes, so we remove $(srcdir),
4208
4237
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and