66
131
# Name of the executable.
67
as_me=`$as_basename "$0" ||
132
as_me=`$as_basename -- "$0" ||
68
133
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69
134
X"$0" : 'X\(//\)$' \| \
70
X"$0" : 'X\(/\)$' \| \
71
. : '\(.\)' 2>/dev/null ||
135
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74
/^X\/\(\/\/\)$/{ s//\1/; q; }
75
/^X\/\(\/\).*/{ s//\1/; q; }
79
# PATH needs CR, and LINENO needs CR and PATH.
80
# Avoid depending upon Character Ranges.
81
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84
as_cr_digits='0123456789'
85
as_cr_alnum=$as_cr_Letters$as_cr_digits
87
# The user is always right.
88
if test "${PATH_SEPARATOR+set}" != set; then
89
echo "#! /bin/sh" >conf$$.sh
90
echo "exit 0" >>conf$$.sh
92
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
103
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104
test "x$as_lineno_1" != "x$as_lineno_2" &&
105
test "x$as_lineno_3" = "x$as_lineno_2" || {
106
# Find who we are. Look in the path if we contain no path at all
109
*[\\/]* ) as_myself=$0 ;;
110
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114
test -z "$as_dir" && as_dir=.
115
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120
# We did not find ourselves, most probably we were run as `sh COMMAND'
121
# in which case we are not to be found in the path.
122
if test "x$as_myself" = x; then
125
if test ! -f "$as_myself"; then
126
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127
{ (exit 1); exit 1; }; }
129
case $CONFIG_SHELL in
137
sed '/^.*\/\([^/][^/]*\)\/*$/{
155
if test "x$CONFIG_SHELL" = x; then
156
if (eval ":") 2>/dev/null; then
162
if test $as_have_required = yes && (eval ":
172
as_func_ret_success () {
175
as_func_ret_failure () {
180
if as_func_success; then
184
echo as_func_success failed.
187
if as_func_failure; then
189
echo as_func_failure succeeded.
192
if as_func_ret_success; then
196
echo as_func_ret_success failed.
199
if as_func_ret_failure; then
201
echo as_func_ret_failure succeeded.
204
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
208
echo positional parameters were not saved.
211
test \$exitcode = 0) || { (exit 1); exit 1; }
216
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218
") 2> /dev/null; then
131
222
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132
223
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135
226
test -z "$as_dir" && as_dir=.
136
for as_base in sh bash ksh sh5; do
139
if ("$as_dir/$as_base" -c '
142
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143
test "x$as_lineno_1" != "x$as_lineno_2" &&
144
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147
CONFIG_SHELL=$as_dir/$as_base
149
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
229
for as_base in sh bash ksh sh5; do
230
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
237
for as_shell in $as_candidate_shells $SHELL; do
238
# Try only shells that exist, to save several forks.
239
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
240
{ ("$as_shell") 2> /dev/null <<\_ASEOF
241
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245
# is contrary to our usage. Disable this feature.
246
alias -g '${1+"$@"}'='"$@"'
249
case `(set -o) 2>/dev/null` in
250
*posix*) set -o posix ;;
259
CONFIG_SHELL=$as_shell
261
if { "$as_shell" 2> /dev/null <<\_ASEOF
262
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266
# is contrary to our usage. Disable this feature.
267
alias -g '${1+"$@"}'='"$@"'
270
case `(set -o) 2>/dev/null` in
271
*posix*) set -o posix ;;
287
as_func_ret_success () {
290
as_func_ret_failure () {
295
if as_func_success; then
299
echo as_func_success failed.
302
if as_func_failure; then
304
echo as_func_failure succeeded.
307
if as_func_ret_success; then
311
echo as_func_ret_success failed.
314
if as_func_ret_failure; then
316
echo as_func_ret_failure succeeded.
319
if ( set x; as_func_ret_success y && test x = "$1" ); then
323
echo positional parameters were not saved.
326
test $exitcode = 0) || { (exit 1); exit 1; }
331
test "x$as_lineno_1" != "x$as_lineno_2" &&
332
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
343
if test "x$CONFIG_SHELL" != x; then
344
for as_var in BASH_ENV ENV
345
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
352
if test $as_have_required = no; then
353
echo This script requires a shell more modern than all the
354
echo shells that I found on your system. Please install a
355
echo modern shell, or manually run the script under such a
356
echo shell if you do have one.
357
{ (exit 1); exit 1; }
367
(eval "as_func_return () {
376
as_func_ret_success () {
379
as_func_ret_failure () {
384
if as_func_success; then
388
echo as_func_success failed.
391
if as_func_failure; then
393
echo as_func_failure succeeded.
396
if as_func_ret_success; then
400
echo as_func_ret_success failed.
403
if as_func_ret_failure; then
405
echo as_func_ret_failure succeeded.
408
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
412
echo positional parameters were not saved.
415
test \$exitcode = 0") || {
416
echo No shell found that supports shell functions.
417
echo Please tell autoconf@gnu.org about your system,
418
echo including any error possibly output before this
426
test "x$as_lineno_1" != "x$as_lineno_2" &&
427
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
157
429
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158
430
# uniformly replaced by the line number. The first 'sed' inserts a
159
# line-number line before each line; the second 'sed' does the real
160
# work. The second script uses 'N' to pair each line-number line
161
# with the numbered line, and appends trailing '-' during
162
# substitution so that $LINENO is not a special case at line end.
431
# line-number line after each line using $LINENO; the second 'sed'
432
# does the real work. The second script uses 'N' to pair each
433
# line-number line with the line containing $LINENO, and appends
434
# trailing '-' during substitution so that $LINENO is not a special
163
436
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165
sed '=' <$as_myself |
437
# scripts with optimization help from Paolo Bonzini. Blame Lee
438
# E. McMahon (1931-1989) for sed's syntax. :-)
170
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
450
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
173
s,^['$as_cr_digits']*\n,,
174
453
' >$as_me.lineno &&
175
chmod +x $as_me.lineno ||
454
chmod +x "$as_me.lineno" ||
176
455
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177
456
{ (exit 1); exit 1; }; }
179
458
# Don't try to exec as it changes $[0], causing all sort of problems
180
459
# (the dirname of $[0] is not the place where we might find the
181
# original and so on. Autoconf is especially sensible to this).
460
# original and so on. Autoconf is especially sensitive to this).
183
462
# Exit status is that of the last command.
188
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189
*c*,-n*) ECHO_N= ECHO_C='
191
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
467
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
473
ECHO_C= ECHO_N= ECHO_T=
477
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
195
if expr a : '\(a\)' >/dev/null 2>&1; then
484
if expr a : '\(a\)' >/dev/null 2>&1 &&
485
test "X`expr 00001 : '.*\(...\)'`" = X001; then
201
491
rm -f conf$$ conf$$.exe conf$$.file
492
if test -d conf$$.dir; then
493
rm -f conf$$.dir/conf$$.file
202
498
echo >conf$$.file
203
499
if ln -s conf$$.file conf$$ 2>/dev/null; then
204
# We could just check for DJGPP; but this test a) works b) is more generic
205
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206
if test -f conf$$.exe; then
207
# Don't use ln at all; we don't have any links
501
# ... but there are two gotchas:
502
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504
# In both cases, we have to default to `cp -p'.
505
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
212
507
elif ln conf$$.file conf$$ 2>/dev/null; then
217
rm -f conf$$ conf$$.exe conf$$.file
512
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513
rmdir conf$$.dir 2>/dev/null
219
515
if mkdir -p . 2>/dev/null; then
788
1196
--with-rlm-eap-peap-include-dir directory for eap-peap includes
793
1202
if test "$ac_init_help" = "recursive"; then
794
1203
# If there are subdirs, report their specific --help.
796
1204
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
797
test -d $ac_dir || continue
1205
test -d "$ac_dir" || continue
800
if test "$ac_dir" != .; then
1209
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
801
1211
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
802
# A "../" for each directory in $ac_dir_suffix.
803
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
805
ac_dir_suffix= ac_top_builddir=
1212
# A ".." for each directory in $ac_dir_suffix.
1213
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1214
case $ac_top_builddir_sub in
1215
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1216
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1219
ac_abs_top_builddir=$ac_pwd
1220
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1221
# for backward compatibility:
1222
ac_top_builddir=$ac_top_build_prefix
809
.) # No --srcdir option. We are building in place.
1225
.) # We are building in place.
811
if test -z "$ac_top_builddir"; then
814
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
816
[\\/]* | ?:[\\/]* ) # Absolute path.
1227
ac_top_srcdir=$ac_top_builddir_sub
1228
ac_abs_top_srcdir=$ac_pwd ;;
1229
[\\/]* | ?:[\\/]* ) # Absolute name.
817
1230
ac_srcdir=$srcdir$ac_dir_suffix;
818
ac_top_srcdir=$srcdir ;;
820
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
821
ac_top_srcdir=$ac_top_builddir$srcdir ;;
824
# Do not use `cd foo && pwd` to compute absolute paths, because
825
# the directories may not exist.
827
.) ac_abs_builddir="$ac_dir";;
830
.) ac_abs_builddir=`pwd`;;
831
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
832
*) ac_abs_builddir=`pwd`/"$ac_dir";;
835
case $ac_abs_builddir in
836
.) ac_abs_top_builddir=${ac_top_builddir}.;;
838
case ${ac_top_builddir}. in
839
.) ac_abs_top_builddir=$ac_abs_builddir;;
840
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
841
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
844
case $ac_abs_builddir in
845
.) ac_abs_srcdir=$ac_srcdir;;
848
.) ac_abs_srcdir=$ac_abs_builddir;;
849
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
850
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
853
case $ac_abs_builddir in
854
.) ac_abs_top_srcdir=$ac_top_srcdir;;
856
case $ac_top_srcdir in
857
.) ac_abs_top_srcdir=$ac_abs_builddir;;
858
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
859
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
864
# Check for guested configure; otherwise get Cygnus style configure.
865
if test -f $ac_srcdir/configure.gnu; then
867
$SHELL $ac_srcdir/configure.gnu --help=recursive
868
elif test -f $ac_srcdir/configure; then
870
$SHELL $ac_srcdir/configure --help=recursive
871
elif test -f $ac_srcdir/configure.ac ||
872
test -f $ac_srcdir/configure.in; then
1231
ac_top_srcdir=$srcdir
1232
ac_abs_top_srcdir=$srcdir ;;
1234
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1235
ac_top_srcdir=$ac_top_build_prefix$srcdir
1236
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1238
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1240
cd "$ac_dir" || { ac_status=$?; continue; }
1241
# Check for guested configure.
1242
if test -f "$ac_srcdir/configure.gnu"; then
1244
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1245
elif test -f "$ac_srcdir/configure"; then
1247
$SHELL "$ac_srcdir/configure" --help=recursive
876
1249
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1251
cd "$ac_pwd" || { ac_status=$?; break; }
882
test -n "$ac_init_help" && exit 0
1255
test -n "$ac_init_help" && exit $ac_status
883
1256
if $ac_init_version; then
1259
generated by GNU Autoconf 2.61
886
Copyright (C) 2003 Free Software Foundation, Inc.
1261
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1262
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
887
1263
This configure script is free software; the Free Software Foundation
888
1264
gives unlimited permission to copy, distribute and modify it.
1268
cat >config.log <<_ACEOF
894
1269
This file contains any messages produced by compilers while
895
1270
running configure, to aid debugging if configure makes a mistake.
897
1272
It was created by $as_me, which was
898
generated by GNU Autoconf 2.59. Invocation command line was
1273
generated by GNU Autoconf 2.61. Invocation command line was
1463
1929
# Name of the executable.
1464
as_me=`$as_basename "$0" ||
1930
as_me=`$as_basename -- "$0" ||
1465
1931
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1466
1932
X"$0" : 'X\(//\)$' \| \
1467
X"$0" : 'X\(/\)$' \| \
1468
. : '\(.\)' 2>/dev/null ||
1933
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1470
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
1471
/^X\/\(\/\/\)$/{ s//\1/; q; }
1472
/^X\/\(\/\).*/{ s//\1/; q; }
1476
# PATH needs CR, and LINENO needs CR and PATH.
1477
# Avoid depending upon Character Ranges.
1478
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
1479
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
1480
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
1481
as_cr_digits='0123456789'
1482
as_cr_alnum=$as_cr_Letters$as_cr_digits
1484
# The user is always right.
1485
if test "${PATH_SEPARATOR+set}" != set; then
1486
echo "#! /bin/sh" >conf$$.sh
1487
echo "exit 0" >>conf$$.sh
1489
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
1500
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1501
test "x$as_lineno_1" != "x$as_lineno_2" &&
1502
test "x$as_lineno_3" = "x$as_lineno_2" || {
1503
# Find who we are. Look in the path if we contain no path at all
1506
*[\\/]* ) as_myself=$0 ;;
1507
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1511
test -z "$as_dir" && as_dir=.
1512
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
1517
# We did not find ourselves, most probably we were run as `sh COMMAND'
1518
# in which case we are not to be found in the path.
1519
if test "x$as_myself" = x; then
1522
if test ! -f "$as_myself"; then
1523
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
1524
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
1525
{ (exit 1); exit 1; }; }
1527
case $CONFIG_SHELL in
1529
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1530
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
1533
test -z "$as_dir" && as_dir=.
1534
for as_base in sh bash ksh sh5; do
1537
if ("$as_dir/$as_base" -c '
1540
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
1541
test "x$as_lineno_1" != "x$as_lineno_2" &&
1542
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
1543
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
1544
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
1545
CONFIG_SHELL=$as_dir/$as_base
1547
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
1935
sed '/^.*\/\([^/][^/]*\)\/*$/{
1956
test "x$as_lineno_1" != "x$as_lineno_2" &&
1957
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
1555
1959
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
1556
1960
# uniformly replaced by the line number. The first 'sed' inserts a
1557
# line-number line before each line; the second 'sed' does the real
1558
# work. The second script uses 'N' to pair each line-number line
1559
# with the numbered line, and appends trailing '-' during
1560
# substitution so that $LINENO is not a special case at line end.
1961
# line-number line after each line using $LINENO; the second 'sed'
1962
# does the real work. The second script uses 'N' to pair each
1963
# line-number line with the line containing $LINENO, and appends
1964
# trailing '-' during substitution so that $LINENO is not a special
1561
1966
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
1562
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
1563
sed '=' <$as_myself |
1967
# scripts with optimization help from Paolo Bonzini. Blame Lee
1968
# E. McMahon (1931-1989) for sed's syntax. :-)
1568
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
1980
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
1571
s,^['$as_cr_digits']*\n,,
1572
1983
' >$as_me.lineno &&
1573
chmod +x $as_me.lineno ||
1574
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
1575
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
1984
chmod +x "$as_me.lineno" ||
1985
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
1576
1986
{ (exit 1); exit 1; }; }
1578
1988
# Don't try to exec as it changes $[0], causing all sort of problems
1579
1989
# (the dirname of $[0] is not the place where we might find the
1580
# original and so on. Autoconf is especially sensible to this).
1990
# original and so on. Autoconf is especially sensitive to this).
1582
1992
# Exit status is that of the last command.
1587
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
1588
*c*,-n*) ECHO_N= ECHO_C='
1590
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
1591
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
1997
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2003
ECHO_C= ECHO_N= ECHO_T=
2006
case `echo 'x\c'` in
2007
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
1594
if expr a : '\(a\)' >/dev/null 2>&1; then
2014
if expr a : '\(a\)' >/dev/null 2>&1 &&
2015
test "X`expr 00001 : '.*\(...\)'`" = X001; then
1600
2021
rm -f conf$$ conf$$.exe conf$$.file
2022
if test -d conf$$.dir; then
2023
rm -f conf$$.dir/conf$$.file
1601
2028
echo >conf$$.file
1602
2029
if ln -s conf$$.file conf$$ 2>/dev/null; then
1603
# We could just check for DJGPP; but this test a) works b) is more generic
1604
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
1605
if test -f conf$$.exe; then
1606
# Don't use ln at all; we don't have any links
2031
# ... but there are two gotchas:
2032
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2033
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2034
# In both cases, we have to default to `cp -p'.
2035
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
1607
2036
as_ln_s='cp -p'
1611
2037
elif ln conf$$.file conf$$ 2>/dev/null; then
1614
2040
as_ln_s='cp -p'
1616
rm -f conf$$ conf$$.exe conf$$.file
2042
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2043
rmdir conf$$.dir 2>/dev/null
1618
2045
if mkdir -p . 2>/dev/null; then
1836
2263
# Have a temporary directory for convenience. Make it in the build tree
1837
# simply because there is no reason to put it here, and in addition,
2264
# simply because there is no reason against having it here, and in addition,
1838
2265
# creating and moving files from /tmp can sometimes cause problems.
1839
# Create a temporary directory, and hook for its removal unless debugging.
2266
# Hook for its removal unless debugging.
2267
# Note that there is a small window in which the directory will not be cleaned:
2268
# after its creation but before its name has been assigned to `$tmp'.
1842
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
2272
trap 'exit_status=$?
2273
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
1843
2275
trap '{ (exit 1); exit 1; }' 1 2 13 15
1846
2277
# Create a (secure) tmp directory for tmp files.
1849
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
2280
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
1850
2281
test -n "$tmp" && test -d "$tmp"
1853
tmp=./confstat$$-$RANDOM
1854
(umask 077 && mkdir $tmp)
2284
tmp=./conf$$-$RANDOM
2285
(umask 077 && mkdir "$tmp")
1857
2288
echo "$me: cannot create a temporary directory in ." >&2
1858
2289
{ (exit 1); exit 1; }
1863
cat >>$CONFIG_STATUS <<_ACEOF
1866
# CONFIG_FILES section.
2293
# Set up the sed scripts for CONFIG_FILES section.
1869
2296
# No need to generate the scripts if there are no CONFIG_FILES.
1870
2297
# This happens for instance when ./config.status config.h
1871
if test -n "\$CONFIG_FILES"; then
1872
# Protect against being on the right side of a sed subst in config.status.
1873
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
1874
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
1875
s,@SHELL@,$SHELL,;t t
1876
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
1877
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
1878
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
1879
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
1880
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
1881
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
1882
s,@exec_prefix@,$exec_prefix,;t t
1883
s,@prefix@,$prefix,;t t
1884
s,@program_transform_name@,$program_transform_name,;t t
1885
s,@bindir@,$bindir,;t t
1886
s,@sbindir@,$sbindir,;t t
1887
s,@libexecdir@,$libexecdir,;t t
1888
s,@datadir@,$datadir,;t t
1889
s,@sysconfdir@,$sysconfdir,;t t
1890
s,@sharedstatedir@,$sharedstatedir,;t t
1891
s,@localstatedir@,$localstatedir,;t t
1892
s,@libdir@,$libdir,;t t
1893
s,@includedir@,$includedir,;t t
1894
s,@oldincludedir@,$oldincludedir,;t t
1895
s,@infodir@,$infodir,;t t
1896
s,@mandir@,$mandir,;t t
1897
s,@build_alias@,$build_alias,;t t
1898
s,@host_alias@,$host_alias,;t t
1899
s,@target_alias@,$target_alias,;t t
1901
s,@ECHO_C@,$ECHO_C,;t t
1902
s,@ECHO_N@,$ECHO_N,;t t
1903
s,@ECHO_T@,$ECHO_T,;t t
1905
s,@eap_peap_ldflags@,$eap_peap_ldflags,;t t
1906
s,@eap_peap_cflags@,$eap_peap_cflags,;t t
1907
s,@targetname@,$targetname,;t t
1908
s,@LIBOBJS@,$LIBOBJS,;t t
1909
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1914
cat >>$CONFIG_STATUS <<\_ACEOF
1915
# Split the substitutions into bite-sized pieces for seds with
1916
# small command number limits, like on Digital OSF/1 and HP-UX.
1918
ac_sed_frag=1 # Number of current file.
1919
ac_beg=1 # First line for current file.
1920
ac_end=$ac_max_sed_lines # Line after last line for current file.
1923
while $ac_more_lines; do
1924
if test $ac_beg -gt 1; then
1925
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1927
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
1929
if test ! -s $tmp/subs.frag; then
1932
# The purpose of the label and of the branching condition is to
1933
# speed up the sed processing (if there are no `@' at all, there
1934
# is no need to browse any of the substitutions).
1935
# These are the two extra sed commands mentioned above.
1937
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
1938
if test -z "$ac_sed_cmds"; then
1939
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
1941
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
1943
ac_sed_frag=`expr $ac_sed_frag + 1`
1945
ac_end=`expr $ac_end + $ac_max_sed_lines`
1948
if test -z "$ac_sed_cmds"; then
2298
if test -n "$CONFIG_FILES"; then
2305
for ac_last_try in false false false false false :; do
2306
cat >conf$$subs.sed <<_ACEOF
2307
SHELL!$SHELL$ac_delim
2308
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
2309
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
2310
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
2311
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
2312
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
2313
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
2314
exec_prefix!$exec_prefix$ac_delim
2315
prefix!$prefix$ac_delim
2316
program_transform_name!$program_transform_name$ac_delim
2317
bindir!$bindir$ac_delim
2318
sbindir!$sbindir$ac_delim
2319
libexecdir!$libexecdir$ac_delim
2320
datarootdir!$datarootdir$ac_delim
2321
datadir!$datadir$ac_delim
2322
sysconfdir!$sysconfdir$ac_delim
2323
sharedstatedir!$sharedstatedir$ac_delim
2324
localstatedir!$localstatedir$ac_delim
2325
includedir!$includedir$ac_delim
2326
oldincludedir!$oldincludedir$ac_delim
2327
docdir!$docdir$ac_delim
2328
infodir!$infodir$ac_delim
2329
htmldir!$htmldir$ac_delim
2330
dvidir!$dvidir$ac_delim
2331
pdfdir!$pdfdir$ac_delim
2332
psdir!$psdir$ac_delim
2333
libdir!$libdir$ac_delim
2334
localedir!$localedir$ac_delim
2335
mandir!$mandir$ac_delim
2337
ECHO_C!$ECHO_C$ac_delim
2338
ECHO_N!$ECHO_N$ac_delim
2339
ECHO_T!$ECHO_T$ac_delim
2341
build_alias!$build_alias$ac_delim
2342
host_alias!$host_alias$ac_delim
2343
target_alias!$target_alias$ac_delim
2344
eap_peap_ldflags!$eap_peap_ldflags$ac_delim
2345
eap_peap_cflags!$eap_peap_cflags$ac_delim
2346
targetname!$targetname$ac_delim
2347
LIBOBJS!$LIBOBJS$ac_delim
2348
LTLIBOBJS!$LTLIBOBJS$ac_delim
2351
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 42; then
2353
elif $ac_last_try; then
2354
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
2355
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
2356
{ (exit 1); exit 1; }; }
2358
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2362
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
2363
if test -n "$ac_eof"; then
2364
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
2365
ac_eof=`expr $ac_eof + 1`
2368
cat >>$CONFIG_STATUS <<_ACEOF
2369
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
2370
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
2373
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
2374
s/^/s,@/; s/!/@,|#_!!_#|/
2377
s/'"$ac_delim"'$/,g/; t
2379
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
2380
' >>$CONFIG_STATUS <conf$$subs.sed
2381
rm -f conf$$subs.sed
2382
cat >>$CONFIG_STATUS <<_ACEOF
2389
# VPATH may cause trouble with some makes, so we remove $(srcdir),
2390
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2391
# trailing colons and then remove the whole line if VPATH becomes empty
2392
# (actually we leave an empty line to preserve line numbers).
2393
if test "x$srcdir" = x.; then
2394
ac_vpsub='/^[ ]*VPATH[ ]*=/{
2398
s/^\([^=]*=[ ]*\):*/\1/
2404
cat >>$CONFIG_STATUS <<\_ACEOF
1951
2405
fi # test -n "$CONFIG_FILES"
1954
cat >>$CONFIG_STATUS <<\_ACEOF
1955
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1956
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1958
- | *:- | *:-:* ) # input from stdin
1960
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1961
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1962
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
1963
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
1964
* ) ac_file_in=$ac_file.in ;;
1967
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
1968
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2408
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS
2411
:[FHLC]) ac_mode=$ac_tag; continue;;
2413
case $ac_mode$ac_tag in
2415
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
2416
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
2417
{ (exit 1); exit 1; }; };;
2418
:[FH]-) ac_tag=-:-;;
2419
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2436
-) ac_f="$tmp/stdin";;
2437
*) # Look for the file first in the build tree, then in the source tree
2438
# (if the path is not absolute). The absolute path cannot be DOS-style,
2439
# because $ac_f cannot contain `:'.
2443
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2445
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
2446
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
2447
{ (exit 1); exit 1; }; };;
2449
ac_file_inputs="$ac_file_inputs $ac_f"
2452
# Let's still pretend it is `configure' which instantiates (i.e., don't
2453
# use $as_me), people would be surprised to read:
2454
# /* config.h. Generated by config.status. */
2455
configure_input="Generated from "`IFS=:
2456
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
2457
if test x"$ac_file" != x-; then
2458
configure_input="$ac_file. $configure_input"
2459
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2460
echo "$as_me: creating $ac_file" >&6;}
2464
*:-:* | *:-) cat >"$tmp/stdin";;
2469
ac_dir=`$as_dirname -- "$ac_file" ||
1969
2470
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1970
2471
X"$ac_file" : 'X\(//\)[^/]' \| \
1971
2472
X"$ac_file" : 'X\(//\)$' \| \
1972
X"$ac_file" : 'X\(/\)' \| \
1973
. : '\(.\)' 2>/dev/null ||
2473
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
1974
2474
echo X"$ac_file" |
1975
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1976
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
1977
/^X\(\/\/\)$/{ s//\1/; q; }
1978
/^X\(\/\).*/{ s//\1/; q; }
1980
{ if $as_mkdir_p; then
2475
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2494
-*) as_dir=./$as_dir;;
2496
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
1985
while test ! -d "$as_dir"; do
1986
as_dirs="$as_dir $as_dirs"
1987
as_dir=`(dirname "$as_dir") 2>/dev/null ||
2500
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
2501
*) as_qdir=$as_dir;;
2503
as_dirs="'$as_qdir' $as_dirs"
2504
as_dir=`$as_dirname -- "$as_dir" ||
1988
2505
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1989
2506
X"$as_dir" : 'X\(//\)[^/]' \| \
1990
2507
X"$as_dir" : 'X\(//\)$' \| \
1991
X"$as_dir" : 'X\(/\)' \| \
1992
. : '\(.\)' 2>/dev/null ||
2508
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
1993
2509
echo X"$as_dir" |
1994
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
1995
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
1996
/^X\(\/\/\)$/{ s//\1/; q; }
1997
/^X\(\/\).*/{ s//\1/; q; }
2510
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2527
test -d "$as_dir" && break
2000
test ! -n "$as_dirs" || mkdir $as_dirs
2001
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2002
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2529
test -z "$as_dirs" || eval "mkdir $as_dirs"
2530
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
2531
echo "$as_me: error: cannot create directory $as_dir" >&2;}
2003
2532
{ (exit 1); exit 1; }; }; }
2007
if test "$ac_dir" != .; then
2536
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2008
2538
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
2009
# A "../" for each directory in $ac_dir_suffix.
2010
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
2012
ac_dir_suffix= ac_top_builddir=
2539
# A ".." for each directory in $ac_dir_suffix.
2540
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
2541
case $ac_top_builddir_sub in
2542
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2543
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2546
ac_abs_top_builddir=$ac_pwd
2547
ac_abs_builddir=$ac_pwd$ac_dir_suffix
2548
# for backward compatibility:
2549
ac_top_builddir=$ac_top_build_prefix
2015
2551
case $srcdir in
2016
.) # No --srcdir option. We are building in place.
2552
.) # We are building in place.
2018
if test -z "$ac_top_builddir"; then
2021
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
2023
[\\/]* | ?:[\\/]* ) # Absolute path.
2554
ac_top_srcdir=$ac_top_builddir_sub
2555
ac_abs_top_srcdir=$ac_pwd ;;
2556
[\\/]* | ?:[\\/]* ) # Absolute name.
2024
2557
ac_srcdir=$srcdir$ac_dir_suffix;
2025
ac_top_srcdir=$srcdir ;;
2027
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
2028
ac_top_srcdir=$ac_top_builddir$srcdir ;;
2031
# Do not use `cd foo && pwd` to compute absolute paths, because
2032
# the directories may not exist.
2034
.) ac_abs_builddir="$ac_dir";;
2037
.) ac_abs_builddir=`pwd`;;
2038
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
2039
*) ac_abs_builddir=`pwd`/"$ac_dir";;
2042
case $ac_abs_builddir in
2043
.) ac_abs_top_builddir=${ac_top_builddir}.;;
2045
case ${ac_top_builddir}. in
2046
.) ac_abs_top_builddir=$ac_abs_builddir;;
2047
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
2048
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
2051
case $ac_abs_builddir in
2052
.) ac_abs_srcdir=$ac_srcdir;;
2055
.) ac_abs_srcdir=$ac_abs_builddir;;
2056
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
2057
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
2060
case $ac_abs_builddir in
2061
.) ac_abs_top_srcdir=$ac_top_srcdir;;
2063
case $ac_top_srcdir in
2064
.) ac_abs_top_srcdir=$ac_abs_builddir;;
2065
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
2066
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
2072
# Let's still pretend it is `configure' which instantiates (i.e., don't
2073
# use $as_me), people would be surprised to read:
2074
# /* config.h. Generated by config.status. */
2075
if test x"$ac_file" = x-; then
2078
configure_input="$ac_file. "
2080
configure_input=$configure_input"Generated from `echo $ac_file_in |
2081
sed 's,.*/,,'` by configure."
2083
# First look for the input files in the build tree, otherwise in the
2085
ac_file_inputs=`IFS=:
2086
for f in $ac_file_in; do
2088
-) echo $tmp/stdin ;;
2090
# Absolute (can't be DOS-style, as IFS=:)
2091
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2092
echo "$as_me: error: cannot find input file: $f" >&2;}
2093
{ (exit 1); exit 1; }; }
2096
if test -f "$f"; then
2099
elif test -f "$srcdir/$f"; then
2104
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2105
echo "$as_me: error: cannot find input file: $f" >&2;}
2106
{ (exit 1); exit 1; }; }
2109
done` || { (exit 1); exit 1; }
2111
if test x"$ac_file" != x-; then
2112
{ echo "$as_me:$LINENO: creating $ac_file" >&5
2113
echo "$as_me: creating $ac_file" >&6;}
2558
ac_top_srcdir=$srcdir
2559
ac_abs_top_srcdir=$srcdir ;;
2561
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2562
ac_top_srcdir=$ac_top_build_prefix$srcdir
2563
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2565
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2576
cat >>$CONFIG_STATUS <<\_ACEOF
2577
# If the template does not know about datarootdir, expand it.
2578
# FIXME: This hack should be removed a few years after 2.60.
2579
ac_datarootdir_hack=; ac_datarootdir_seen=
2581
case `sed -n '/datarootdir/ {
2590
' $ac_file_inputs` in
2591
*datarootdir*) ac_datarootdir_seen=yes;;
2592
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2593
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2594
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2596
cat >>$CONFIG_STATUS <<_ACEOF
2597
ac_datarootdir_hack='
2598
s&@datadir@&$datadir&g
2599
s&@docdir@&$docdir&g
2600
s&@infodir@&$infodir&g
2601
s&@localedir@&$localedir&g
2602
s&@mandir@&$mandir&g
2603
s&\\\${datarootdir}&$datarootdir&g' ;;
2607
# Neutralize VPATH when `$srcdir' = `.'.
2608
# Shell code in configure.ac might set extrasub.
2609
# FIXME: do we really want to maintain this feature?
2117
2610
cat >>$CONFIG_STATUS <<_ACEOF
2121
2614
cat >>$CONFIG_STATUS <<\_ACEOF
2123
2616
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2124
s,@configure_input@,$configure_input,;t t
2125
s,@srcdir@,$ac_srcdir,;t t
2126
s,@abs_srcdir@,$ac_abs_srcdir,;t t
2127
s,@top_srcdir@,$ac_top_srcdir,;t t
2128
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
2129
s,@builddir@,$ac_builddir,;t t
2130
s,@abs_builddir@,$ac_abs_builddir,;t t
2131
s,@top_builddir@,$ac_top_builddir,;t t
2132
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
2133
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
2135
if test x"$ac_file" != x-; then
2136
mv $tmp/out $ac_file
2617
s&@configure_input@&$configure_input&;t t
2618
s&@top_builddir@&$ac_top_builddir_sub&;t t
2619
s&@srcdir@&$ac_srcdir&;t t
2620
s&@abs_srcdir@&$ac_abs_srcdir&;t t
2621
s&@top_srcdir@&$ac_top_srcdir&;t t
2622
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2623
s&@builddir@&$ac_builddir&;t t
2624
s&@abs_builddir@&$ac_abs_builddir&;t t
2625
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2626
$ac_datarootdir_hack
2627
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
2629
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2630
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2631
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2632
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2633
which seems to be undefined. Please make sure it is defined." >&5
2634
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2635
which seems to be undefined. Please make sure it is defined." >&2;}
2639
-) cat "$tmp/out"; rm -f "$tmp/out";;
2640
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
2144
cat >>$CONFIG_STATUS <<\_ACEOF
2147
# CONFIG_HEADER section.
2150
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2151
# NAME is the cpp macro being defined and VALUE is the value it is being given.
2153
# ac_d sets the value in "#define NAME VALUE" lines.
2154
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2155
ac_dB='[ ].*$,\1#\2'
2649
# Transform confdefs.h into a sed script `conftest.defines', that
2650
# substitutes the proper values into config.h.in to produce config.h.
2651
rm -f conftest.defines conftest.tail
2652
# First, append a space to every undef/define line, to ease matching.
2653
echo 's/$/ /' >conftest.defines
2654
# Then, protect against being on the right side of a sed subst, or in
2655
# an unquoted here document, in config.status. If some macros were
2656
# called several times there might be several #defines for the same
2657
# symbol, which is useless. But do not sort them, since the last
2658
# AC_DEFINE must be honored.
2659
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
2660
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
2661
# NAME is the cpp macro being defined, VALUE is the value it is being given.
2662
# PARAMS is the parameter list in the macro definition--in most cases, it's
2663
# just an empty string.
2664
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
2665
ac_dB='\\)[ (].*,\\1define\\2'
2158
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2159
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2160
ac_uB='$,\1#\2define\3'
2164
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
2165
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2167
- | *:- | *:-:* ) # input from stdin
2169
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2170
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2171
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
2172
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
2173
* ) ac_file_in=$ac_file.in ;;
2176
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
2177
echo "$as_me: creating $ac_file" >&6;}
2179
# First look for the input files in the build tree, otherwise in the
2181
ac_file_inputs=`IFS=:
2182
for f in $ac_file_in; do
2184
-) echo $tmp/stdin ;;
2186
# Absolute (can't be DOS-style, as IFS=:)
2187
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2188
echo "$as_me: error: cannot find input file: $f" >&2;}
2189
{ (exit 1); exit 1; }; }
2190
# Do quote $f, to prevent DOS paths from being IFS'd.
2193
if test -f "$f"; then
2196
elif test -f "$srcdir/$f"; then
2201
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
2202
echo "$as_me: error: cannot find input file: $f" >&2;}
2203
{ (exit 1); exit 1; }; }
2206
done` || { (exit 1); exit 1; }
2207
# Remove the trailing spaces.
2208
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
2212
# Transform confdefs.h into two sed scripts, `conftest.defines' and
2213
# `conftest.undefs', that substitutes the proper values into
2214
# config.h.in to produce config.h. The first handles `#define'
2215
# templates, and the second `#undef' templates.
2216
# And first: Protect against being on the right side of a sed subst in
2217
# config.status. Protect against being in an unquoted here document
2219
rm -f conftest.defines conftest.undefs
2220
# Using a here document instead of a string reduces the quoting nightmare.
2221
# Putting comments in sed scripts is not portable.
2223
# `end' is used to avoid that the second main sed command (meant for
2224
# 0-ary CPP macros) applies to n-ary macro definitions.
2225
# See the Autoconf documentation for `clear'.
2226
cat >confdef2sed.sed <<\_ACEOF
2231
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
2233
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
2236
# If some macros were called several times there might be several times
2237
# the same #defines, which is useless. Nevertheless, we may not want to
2238
# sort them, since we want the *last* AC-DEFINE to be honored.
2239
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
2240
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
2241
rm -f confdef2sed.sed
2243
# This sed command replaces #undef with comments. This is necessary, for
2673
s/^[ ]*#[ ]*define[ ][ ]*//
2678
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
2679
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
2680
' >>conftest.defines
2682
# Remove the space that was appended to ease matching.
2683
# Then replace #undef with comments. This is necessary, for
2244
2684
# example, in the case of _POSIX_SOURCE, which is predefined and required
2245
2685
# on some systems where configure will not decide to define it.
2246
cat >>conftest.undefs <<\_ACEOF
2247
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
2686
# (The regexp can be short, since the line contains either #define or #undef.)
2688
s,^[ #]*u.*,/* & */,' >>conftest.defines
2690
# Break up conftest.defines:
2693
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
2694
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
2695
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
2697
ac_in='$ac_file_inputs'
2698
ac_out='"$tmp/out1"'
2699
ac_nxt='"$tmp/out2"'
2703
# Write a here document:
2704
cat >>$CONFIG_STATUS <<_ACEOF
2705
# First, check the format of the line:
2706
cat >"\$tmp/defines.sed" <<\\CEOF
2707
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
2708
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
2250
# Break up conftest.defines because some shells have a limit on the size
2251
# of here documents, and old seds have small limits too (100 cmds).
2252
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
2253
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
2254
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
2255
echo ' :' >>$CONFIG_STATUS
2257
while grep . conftest.defines >/dev/null
2259
# Write a limited-size here document to $tmp/defines.sed.
2260
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
2261
# Speed up: don't consider the non `#define' lines.
2262
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
2263
# Work around the forget-to-reset-the-flag bug.
2264
echo 't clr' >>$CONFIG_STATUS
2265
echo ': clr' >>$CONFIG_STATUS
2266
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
2712
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
2268
sed -f $tmp/defines.sed $tmp/in >$tmp/out
2272
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
2714
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
2715
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
2716
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
2717
grep . conftest.tail >/dev/null || break
2273
2718
rm -f conftest.defines
2274
2719
mv conftest.tail conftest.defines
2276
rm -f conftest.defines
2277
echo ' fi # grep' >>$CONFIG_STATUS
2278
echo >>$CONFIG_STATUS
2280
# Break up conftest.undefs because some shells have a limit on the size
2281
# of here documents, and old seds have small limits too (100 cmds).
2282
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
2284
while grep . conftest.undefs >/dev/null
2286
# Write a limited-size here document to $tmp/undefs.sed.
2287
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
2288
# Speed up: don't consider the non `#undef'
2289
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
2290
# Work around the forget-to-reset-the-flag bug.
2291
echo 't clr' >>$CONFIG_STATUS
2292
echo ': clr' >>$CONFIG_STATUS
2293
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
2295
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
2299
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
2300
rm -f conftest.undefs
2301
mv conftest.tail conftest.undefs
2303
rm -f conftest.undefs
2721
rm -f conftest.defines conftest.tail
2723
echo "ac_result=$ac_in" >>$CONFIG_STATUS
2305
2724
cat >>$CONFIG_STATUS <<\_ACEOF
2306
# Let's still pretend it is `configure' which instantiates (i.e., don't
2307
# use $as_me), people would be surprised to read:
2308
# /* config.h. Generated by config.status. */
2309
if test x"$ac_file" = x-; then
2310
echo "/* Generated by configure. */" >$tmp/config.h
2312
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
2314
cat $tmp/in >>$tmp/config.h
2316
2725
if test x"$ac_file" != x-; then
2317
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
2726
echo "/* $configure_input */" >"$tmp/config.h"
2727
cat "$ac_result" >>"$tmp/config.h"
2728
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
2318
2729
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
2319
2730
echo "$as_me: $ac_file is unchanged" >&6;}
2321
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
2322
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2323
X"$ac_file" : 'X\(//\)[^/]' \| \
2324
X"$ac_file" : 'X\(//\)$' \| \
2325
X"$ac_file" : 'X\(/\)' \| \
2326
. : '\(.\)' 2>/dev/null ||
2328
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2329
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2330
/^X\(\/\/\)$/{ s//\1/; q; }
2331
/^X\(\/\).*/{ s//\1/; q; }
2333
{ if $as_mkdir_p; then
2338
while test ! -d "$as_dir"; do
2339
as_dirs="$as_dir $as_dirs"
2340
as_dir=`(dirname "$as_dir") 2>/dev/null ||
2341
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2342
X"$as_dir" : 'X\(//\)[^/]' \| \
2343
X"$as_dir" : 'X\(//\)$' \| \
2344
X"$as_dir" : 'X\(/\)' \| \
2345
. : '\(.\)' 2>/dev/null ||
2347
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
2348
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
2349
/^X\(\/\/\)$/{ s//\1/; q; }
2350
/^X\(\/\).*/{ s//\1/; q; }
2353
test ! -n "$as_dirs" || mkdir $as_dirs
2354
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
2355
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
2356
{ (exit 1); exit 1; }; }; }
2359
mv $tmp/config.h $ac_file
2733
mv "$tmp/config.h" $ac_file
2736
echo "/* $configure_input */"
2368
cat >>$CONFIG_STATUS <<\_ACEOF
2370
2748
{ (exit 0); exit 0; }