67
132
# Name of the executable.
68
as_me=`$as_basename "$0" ||
133
as_me=`$as_basename -- "$0" ||
69
134
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70
135
X"$0" : 'X\(//\)$' \| \
71
X"$0" : 'X\(/\)$' \| \
72
. : '\(.\)' 2>/dev/null ||
136
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
74
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75
/^X\/\(\/\/\)$/{ s//\1/; q; }
76
/^X\/\(\/\).*/{ s//\1/; q; }
80
# PATH needs CR, and LINENO needs CR and PATH.
81
# Avoid depending upon Character Ranges.
82
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85
as_cr_digits='0123456789'
86
as_cr_alnum=$as_cr_Letters$as_cr_digits
88
# The user is always right.
89
if test "${PATH_SEPARATOR+set}" != set; then
90
echo "#! /bin/sh" >conf$$.sh
91
echo "exit 0" >>conf$$.sh
93
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
104
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105
test "x$as_lineno_1" != "x$as_lineno_2" &&
106
test "x$as_lineno_3" = "x$as_lineno_2" || {
107
# Find who we are. Look in the path if we contain no path at all
110
*[\\/]* ) as_myself=$0 ;;
111
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
115
test -z "$as_dir" && as_dir=.
116
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121
# We did not find ourselves, most probably we were run as `sh COMMAND'
122
# in which case we are not to be found in the path.
123
if test "x$as_myself" = x; then
126
if test ! -f "$as_myself"; then
127
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128
{ (exit 1); exit 1; }; }
130
case $CONFIG_SHELL in
138
sed '/^.*\/\([^/][^/]*\)\/*$/{
156
if test "x$CONFIG_SHELL" = x; then
157
if (eval ":") 2>/dev/null; then
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
132
223
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
136
227
test -z "$as_dir" && as_dir=.
137
for as_base in sh bash ksh sh5; do
140
if ("$as_dir/$as_base" -c '
143
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144
test "x$as_lineno_1" != "x$as_lineno_2" &&
145
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148
CONFIG_SHELL=$as_dir/$as_base
150
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
230
for as_base in sh bash ksh sh5; do
231
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
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" || {
158
430
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159
431
# uniformly replaced by the line number. The first 'sed' inserts a
160
# line-number line before each line; the second 'sed' does the real
161
# work. The second script uses 'N' to pair each line-number line
162
# with the numbered line, and appends trailing '-' during
163
# substitution so that $LINENO is not a special case at line end.
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
164
437
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166
sed '=' <$as_myself |
438
# scripts with optimization help from Paolo Bonzini. Blame Lee
439
# E. McMahon (1931-1989) for sed's syntax. :-)
171
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
451
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
174
s,^['$as_cr_digits']*\n,,
175
454
' >$as_me.lineno &&
176
chmod +x $as_me.lineno ||
455
chmod +x "$as_me.lineno" ||
177
456
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178
457
{ (exit 1); exit 1; }; }
180
459
# Don't try to exec as it changes $[0], causing all sort of problems
181
460
# (the dirname of $[0] is not the place where we might find the
182
# original and so on. Autoconf is especially sensible to this).
461
# original and so on. Autoconf is especially sensitive to this).
184
463
# Exit status is that of the last command.
189
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190
*c*,-n*) ECHO_N= ECHO_C='
192
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
468
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
474
ECHO_C= ECHO_N= ECHO_T=
478
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
196
if expr a : '\(a\)' >/dev/null 2>&1; then
485
if expr a : '\(a\)' >/dev/null 2>&1 &&
486
test "X`expr 00001 : '.*\(...\)'`" = X001; then
202
492
rm -f conf$$ conf$$.exe conf$$.file
493
if test -d conf$$.dir; then
494
rm -f conf$$.dir/conf$$.file
203
499
echo >conf$$.file
204
500
if ln -s conf$$.file conf$$ 2>/dev/null; then
205
# We could just check for DJGPP; but this test a) works b) is more generic
206
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207
if test -f conf$$.exe; then
208
# Don't use ln at all; we don't have any links
502
# ... but there are two gotchas:
503
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505
# In both cases, we have to default to `cp -p'.
506
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
213
508
elif ln conf$$.file conf$$ 2>/dev/null; then
218
rm -f conf$$ conf$$.exe conf$$.file
513
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
514
rmdir conf$$.dir 2>/dev/null
220
516
if mkdir -p . 2>/dev/null; then
1529
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1530
if test -f $ac_dir/install-sh; then
1978
for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1979
if test -f "$ac_dir/install-sh"; then
1531
1980
ac_aux_dir=$ac_dir
1532
1981
ac_install_sh="$ac_aux_dir/install-sh -c"
1534
elif test -f $ac_dir/install.sh; then
1983
elif test -f "$ac_dir/install.sh"; then
1535
1984
ac_aux_dir=$ac_dir
1536
1985
ac_install_sh="$ac_aux_dir/install.sh -c"
1538
elif test -f $ac_dir/shtool; then
1987
elif test -f "$ac_dir/shtool"; then
1539
1988
ac_aux_dir=$ac_dir
1540
1989
ac_install_sh="$ac_aux_dir/shtool install -c"
1544
1993
if test -z "$ac_aux_dir"; then
1545
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1546
echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1994
{ { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1995
echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1547
1996
{ (exit 1); exit 1; }; }
1549
ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1550
ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1551
ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1999
# These three variables are undocumented and unsupported,
2000
# and are intended to be withdrawn in a future Autoconf release.
2001
# They can cause serious problems if a builder's source tree is in a directory
2002
# whose full name contains unusual characters.
2003
ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2004
ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2005
ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1553
2008
# Make sure we can run config.sub.
1554
$ac_config_sub sun4 >/dev/null 2>&1 ||
1555
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1556
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
2009
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2010
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2011
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1557
2012
{ (exit 1); exit 1; }; }
1559
echo "$as_me:$LINENO: checking build system type" >&5
1560
echo $ECHO_N "checking build system type... $ECHO_C" >&6
2014
{ echo "$as_me:$LINENO: checking build system type" >&5
2015
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1561
2016
if test "${ac_cv_build+set}" = set; then
1562
2017
echo $ECHO_N "(cached) $ECHO_C" >&6
1564
ac_cv_build_alias=$build_alias
1565
test -z "$ac_cv_build_alias" &&
1566
ac_cv_build_alias=`$ac_config_guess`
1567
test -z "$ac_cv_build_alias" &&
2019
ac_build_alias=$build_alias
2020
test "x$ac_build_alias" = x &&
2021
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2022
test "x$ac_build_alias" = x &&
1568
2023
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1569
2024
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1570
2025
{ (exit 1); exit 1; }; }
1571
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1572
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1573
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
2026
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2027
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2028
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1574
2029
{ (exit 1); exit 1; }; }
1577
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1578
echo "${ECHO_T}$ac_cv_build" >&6
2032
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2033
echo "${ECHO_T}$ac_cv_build" >&6; }
2034
case $ac_cv_build in
2036
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2037
echo "$as_me: error: invalid value of canonical build" >&2;}
2038
{ (exit 1); exit 1; }; };;
1579
2040
build=$ac_cv_build
1580
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1581
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1582
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1585
echo "$as_me:$LINENO: checking host system type" >&5
1586
echo $ECHO_N "checking host system type... $ECHO_C" >&6
2041
ac_save_IFS=$IFS; IFS='-'
2047
# Remember, the first character of IFS is used to create $*,
2048
# except with old shells:
2051
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2054
{ echo "$as_me:$LINENO: checking host system type" >&5
2055
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1587
2056
if test "${ac_cv_host+set}" = set; then
1588
2057
echo $ECHO_N "(cached) $ECHO_C" >&6
1590
ac_cv_host_alias=$host_alias
1591
test -z "$ac_cv_host_alias" &&
1592
ac_cv_host_alias=$ac_cv_build_alias
1593
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1594
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1595
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
2059
if test "x$host_alias" = x; then
2060
ac_cv_host=$ac_cv_build
2062
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2063
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2064
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1596
2065
{ (exit 1); exit 1; }; }
1599
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1600
echo "${ECHO_T}$ac_cv_host" >&6
2069
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2070
echo "${ECHO_T}$ac_cv_host" >&6; }
2073
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2074
echo "$as_me: error: invalid value of canonical host" >&2;}
2075
{ (exit 1); exit 1; }; };;
1601
2077
host=$ac_cv_host
1602
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1603
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1604
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1607
echo "$as_me:$LINENO: checking target system type" >&5
1608
echo $ECHO_N "checking target system type... $ECHO_C" >&6
2078
ac_save_IFS=$IFS; IFS='-'
2084
# Remember, the first character of IFS is used to create $*,
2085
# except with old shells:
2088
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2091
{ echo "$as_me:$LINENO: checking target system type" >&5
2092
echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1609
2093
if test "${ac_cv_target+set}" = set; then
1610
2094
echo $ECHO_N "(cached) $ECHO_C" >&6
1612
ac_cv_target_alias=$target_alias
1613
test "x$ac_cv_target_alias" = "x" &&
1614
ac_cv_target_alias=$ac_cv_host_alias
1615
ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1616
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1617
echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
2096
if test "x$target_alias" = x; then
2097
ac_cv_target=$ac_cv_host
2099
ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2100
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2101
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1618
2102
{ (exit 1); exit 1; }; }
1621
echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1622
echo "${ECHO_T}$ac_cv_target" >&6
2106
{ echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2107
echo "${ECHO_T}$ac_cv_target" >&6; }
2108
case $ac_cv_target in
2110
*) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2111
echo "$as_me: error: invalid value of canonical target" >&2;}
2112
{ (exit 1); exit 1; }; };;
1623
2114
target=$ac_cv_target
1624
target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1625
target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1626
target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
2115
ac_save_IFS=$IFS; IFS='-'
2121
# Remember, the first character of IFS is used to create $*,
2122
# except with old shells:
2125
case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1629
2128
# The aliases save the names the user supplied, while $host etc.
2962
3574
rm -f conftest.$ac_objext
2963
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2964
(eval $ac_compile) 2>conftest.er1
3575
if { (ac_try="$ac_compile"
3577
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3578
*) ac_try_echo=$ac_try;;
3580
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3581
(eval "$ac_compile") 2>conftest.er1
2966
3583
grep -v '^ *+' conftest.er1 >conftest.err
2967
3584
rm -f conftest.er1
2968
3585
cat conftest.err >&5
2969
3586
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2970
(exit $ac_status); } &&
2971
{ ac_try='test -z "$ac_c_werror_flag"
2972
|| test ! -s conftest.err'
2973
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977
(exit $ac_status); }; } &&
2978
{ ac_try='test -s conftest.$ac_objext'
2979
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2982
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983
(exit $ac_status); }; }; then
3587
(exit $ac_status); } && {
3588
test -z "$ac_c_werror_flag" ||
3589
test ! -s conftest.err
3590
} && test -s conftest.$ac_objext; then
2984
3591
ac_compiler_gnu=yes
2986
3593
echo "$as_me: failed program was:" >&5
2987
3594
sed 's/^/| /' conftest.$ac_ext >&5
2991
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3599
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2992
3600
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2995
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2996
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3603
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3604
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2997
3605
GCC=`test $ac_compiler_gnu = yes && echo yes`
2998
3606
ac_test_CFLAGS=${CFLAGS+set}
2999
3607
ac_save_CFLAGS=$CFLAGS
3001
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3002
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3608
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3609
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3003
3610
if test "${ac_cv_prog_cc_g+set}" = set; then
3004
3611
echo $ECHO_N "(cached) $ECHO_C" >&6
3006
cat >conftest.$ac_ext <<_ACEOF
3009
cat confdefs.h >>conftest.$ac_ext
3010
cat >>conftest.$ac_ext <<_ACEOF
3011
/* end confdefs.h. */
3021
rm -f conftest.$ac_objext
3022
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3023
(eval $ac_compile) 2>conftest.er1
3025
grep -v '^ *+' conftest.er1 >conftest.err
3027
cat conftest.err >&5
3028
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029
(exit $ac_status); } &&
3030
{ ac_try='test -z "$ac_c_werror_flag"
3031
|| test ! -s conftest.err'
3032
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3035
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3036
(exit $ac_status); }; } &&
3037
{ ac_try='test -s conftest.$ac_objext'
3038
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3041
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3042
(exit $ac_status); }; }; then
3045
echo "$as_me: failed program was:" >&5
3046
sed 's/^/| /' conftest.$ac_ext >&5
3050
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3052
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3053
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3613
ac_save_c_werror_flag=$ac_c_werror_flag
3614
ac_c_werror_flag=yes
3617
cat >conftest.$ac_ext <<_ACEOF
3620
cat confdefs.h >>conftest.$ac_ext
3621
cat >>conftest.$ac_ext <<_ACEOF
3622
/* end confdefs.h. */
3632
rm -f conftest.$ac_objext
3633
if { (ac_try="$ac_compile"
3635
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3636
*) ac_try_echo=$ac_try;;
3638
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3639
(eval "$ac_compile") 2>conftest.er1
3641
grep -v '^ *+' conftest.er1 >conftest.err
3643
cat conftest.err >&5
3644
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645
(exit $ac_status); } && {
3646
test -z "$ac_c_werror_flag" ||
3647
test ! -s conftest.err
3648
} && test -s conftest.$ac_objext; then
3651
echo "$as_me: failed program was:" >&5
3652
sed 's/^/| /' conftest.$ac_ext >&5
3655
cat >conftest.$ac_ext <<_ACEOF
3658
cat confdefs.h >>conftest.$ac_ext
3659
cat >>conftest.$ac_ext <<_ACEOF
3660
/* end confdefs.h. */
3670
rm -f conftest.$ac_objext
3671
if { (ac_try="$ac_compile"
3673
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3674
*) ac_try_echo=$ac_try;;
3676
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3677
(eval "$ac_compile") 2>conftest.er1
3679
grep -v '^ *+' conftest.er1 >conftest.err
3681
cat conftest.err >&5
3682
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3683
(exit $ac_status); } && {
3684
test -z "$ac_c_werror_flag" ||
3685
test ! -s conftest.err
3686
} && test -s conftest.$ac_objext; then
3689
echo "$as_me: failed program was:" >&5
3690
sed 's/^/| /' conftest.$ac_ext >&5
3692
ac_c_werror_flag=$ac_save_c_werror_flag
3694
cat >conftest.$ac_ext <<_ACEOF
3697
cat confdefs.h >>conftest.$ac_ext
3698
cat >>conftest.$ac_ext <<_ACEOF
3699
/* end confdefs.h. */
3709
rm -f conftest.$ac_objext
3710
if { (ac_try="$ac_compile"
3712
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713
*) ac_try_echo=$ac_try;;
3715
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3716
(eval "$ac_compile") 2>conftest.er1
3718
grep -v '^ *+' conftest.er1 >conftest.err
3720
cat conftest.err >&5
3721
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722
(exit $ac_status); } && {
3723
test -z "$ac_c_werror_flag" ||
3724
test ! -s conftest.err
3725
} && test -s conftest.$ac_objext; then
3728
echo "$as_me: failed program was:" >&5
3729
sed 's/^/| /' conftest.$ac_ext >&5
3734
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3737
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3740
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3741
ac_c_werror_flag=$ac_save_c_werror_flag
3743
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3744
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3054
3745
if test "$ac_test_CFLAGS" = set; then
3055
3746
CFLAGS=$ac_save_CFLAGS
3056
3747
elif test $ac_cv_prog_cc_g = yes; then
3128
# Don't try gcc -ansi; that turns off useful extensions and
3129
# breaks some systems' header files.
3130
# AIX -qlanglvl=ansi
3131
# Ultrix and OSF/1 -std1
3132
# HP-UX 10.20 and later -Ae
3133
# HP-UX older versions -Aa -D_HPUX_SOURCE
3134
# SVR4 -Xc -D__EXTENSIONS__
3135
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3824
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3825
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3137
3827
CC="$ac_save_CC $ac_arg"
3138
3828
rm -f conftest.$ac_objext
3139
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140
(eval $ac_compile) 2>conftest.er1
3829
if { (ac_try="$ac_compile"
3831
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3832
*) ac_try_echo=$ac_try;;
3834
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3835
(eval "$ac_compile") 2>conftest.er1
3142
3837
grep -v '^ *+' conftest.er1 >conftest.err
3143
3838
rm -f conftest.er1
3144
3839
cat conftest.err >&5
3145
3840
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3146
(exit $ac_status); } &&
3147
{ ac_try='test -z "$ac_c_werror_flag"
3148
|| test ! -s conftest.err'
3149
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3152
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153
(exit $ac_status); }; } &&
3154
{ ac_try='test -s conftest.$ac_objext'
3155
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3158
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3159
(exit $ac_status); }; }; then
3160
ac_cv_prog_cc_stdc=$ac_arg
3841
(exit $ac_status); } && {
3842
test -z "$ac_c_werror_flag" ||
3843
test ! -s conftest.err
3844
} && test -s conftest.$ac_objext; then
3845
ac_cv_prog_cc_c89=$ac_arg
3163
3847
echo "$as_me: failed program was:" >&5
3164
3848
sed 's/^/| /' conftest.$ac_ext >&5
3167
rm -f conftest.err conftest.$ac_objext
3853
rm -f core conftest.err conftest.$ac_objext
3854
test "x$ac_cv_prog_cc_c89" != "xno" && break
3169
rm -f conftest.$ac_ext conftest.$ac_objext
3856
rm -f conftest.$ac_ext
3174
case "x$ac_cv_prog_cc_stdc" in
3176
echo "$as_me:$LINENO: result: none needed" >&5
3177
echo "${ECHO_T}none needed" >&6 ;;
3861
case "x$ac_cv_prog_cc_c89" in
3863
{ echo "$as_me:$LINENO: result: none needed" >&5
3864
echo "${ECHO_T}none needed" >&6; } ;;
3866
{ echo "$as_me:$LINENO: result: unsupported" >&5
3867
echo "${ECHO_T}unsupported" >&6; } ;;
3179
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3180
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3181
CC="$CC $ac_cv_prog_cc_stdc" ;;
3869
CC="$CC $ac_cv_prog_cc_c89"
3870
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3871
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3184
# Some people use a C++ compiler to compile C. Since we use `exit',
3185
# in C++ we need to declare it. In case someone uses the same compiler
3186
# for both compiling C and C++ we need to have the C++ compiler decide
3187
# the declaration of exit, since it's the most demanding environment.
3188
cat >conftest.$ac_ext <<_ACEOF
3193
rm -f conftest.$ac_objext
3194
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3195
(eval $ac_compile) 2>conftest.er1
3197
grep -v '^ *+' conftest.er1 >conftest.err
3199
cat conftest.err >&5
3200
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3201
(exit $ac_status); } &&
3202
{ ac_try='test -z "$ac_c_werror_flag"
3203
|| test ! -s conftest.err'
3204
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208
(exit $ac_status); }; } &&
3209
{ ac_try='test -s conftest.$ac_objext'
3210
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3213
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3214
(exit $ac_status); }; }; then
3215
for ac_declaration in \
3217
'extern "C" void std::exit (int) throw (); using std::exit;' \
3218
'extern "C" void std::exit (int); using std::exit;' \
3219
'extern "C" void exit (int) throw ();' \
3220
'extern "C" void exit (int);' \
3223
cat >conftest.$ac_ext <<_ACEOF
3226
cat confdefs.h >>conftest.$ac_ext
3227
cat >>conftest.$ac_ext <<_ACEOF
3228
/* end confdefs.h. */
3239
rm -f conftest.$ac_objext
3240
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3241
(eval $ac_compile) 2>conftest.er1
3243
grep -v '^ *+' conftest.er1 >conftest.err
3245
cat conftest.err >&5
3246
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3247
(exit $ac_status); } &&
3248
{ ac_try='test -z "$ac_c_werror_flag"
3249
|| test ! -s conftest.err'
3250
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254
(exit $ac_status); }; } &&
3255
{ ac_try='test -s conftest.$ac_objext'
3256
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3259
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3260
(exit $ac_status); }; }; then
3263
echo "$as_me: failed program was:" >&5
3264
sed 's/^/| /' conftest.$ac_ext >&5
3268
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3269
cat >conftest.$ac_ext <<_ACEOF
3272
cat confdefs.h >>conftest.$ac_ext
3273
cat >>conftest.$ac_ext <<_ACEOF
3274
/* end confdefs.h. */
3284
rm -f conftest.$ac_objext
3285
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3286
(eval $ac_compile) 2>conftest.er1
3288
grep -v '^ *+' conftest.er1 >conftest.err
3290
cat conftest.err >&5
3291
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292
(exit $ac_status); } &&
3293
{ ac_try='test -z "$ac_c_werror_flag"
3294
|| test ! -s conftest.err'
3295
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3298
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299
(exit $ac_status); }; } &&
3300
{ ac_try='test -s conftest.$ac_objext'
3301
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305
(exit $ac_status); }; }; then
3308
echo "$as_me: failed program was:" >&5
3309
sed 's/^/| /' conftest.$ac_ext >&5
3312
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3315
if test -n "$ac_declaration"; then
3316
echo '#ifdef __cplusplus' >>confdefs.h
3317
echo $ac_declaration >>confdefs.h
3318
echo '#endif' >>confdefs.h
3322
echo "$as_me: failed program was:" >&5
3323
sed 's/^/| /' conftest.$ac_ext >&5
3326
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3328
3876
ac_cpp='$CPP $CPPFLAGS'
3329
3877
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5302
6026
rm -f conftest.$ac_objext
5303
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5304
(eval $ac_compile) 2>conftest.er1
6027
if { (ac_try="$ac_compile"
6029
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6030
*) ac_try_echo=$ac_try;;
6032
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6033
(eval "$ac_compile") 2>conftest.er1
5306
6035
grep -v '^ *+' conftest.er1 >conftest.err
5307
6036
rm -f conftest.er1
5308
6037
cat conftest.err >&5
5309
6038
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310
(exit $ac_status); } &&
5311
{ ac_try='test -z "$ac_cxx_werror_flag"
5312
|| test ! -s conftest.err'
5313
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5316
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5317
(exit $ac_status); }; } &&
5318
{ ac_try='test -s conftest.$ac_objext'
5319
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5322
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5323
(exit $ac_status); }; }; then
6039
(exit $ac_status); } && {
6040
test -z "$ac_cxx_werror_flag" ||
6041
test ! -s conftest.err
6042
} && test -s conftest.$ac_objext; then
5324
6043
ac_compiler_gnu=yes
5326
6045
echo "$as_me: failed program was:" >&5
5327
6046
sed 's/^/| /' conftest.$ac_ext >&5
5331
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6051
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332
6052
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5335
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5336
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6055
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6056
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
5337
6057
GXX=`test $ac_compiler_gnu = yes && echo yes`
5338
6058
ac_test_CXXFLAGS=${CXXFLAGS+set}
5339
6059
ac_save_CXXFLAGS=$CXXFLAGS
5341
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5342
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6060
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6061
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
5343
6062
if test "${ac_cv_prog_cxx_g+set}" = set; then
5344
6063
echo $ECHO_N "(cached) $ECHO_C" >&6
5346
cat >conftest.$ac_ext <<_ACEOF
5349
cat confdefs.h >>conftest.$ac_ext
5350
cat >>conftest.$ac_ext <<_ACEOF
5351
/* end confdefs.h. */
5361
rm -f conftest.$ac_objext
5362
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5363
(eval $ac_compile) 2>conftest.er1
5365
grep -v '^ *+' conftest.er1 >conftest.err
5367
cat conftest.err >&5
5368
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369
(exit $ac_status); } &&
5370
{ ac_try='test -z "$ac_cxx_werror_flag"
5371
|| test ! -s conftest.err'
5372
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5375
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5376
(exit $ac_status); }; } &&
5377
{ ac_try='test -s conftest.$ac_objext'
5378
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5381
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382
(exit $ac_status); }; }; then
5383
ac_cv_prog_cxx_g=yes
5385
echo "$as_me: failed program was:" >&5
5386
sed 's/^/| /' conftest.$ac_ext >&5
5390
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5392
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5393
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6065
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6066
ac_cxx_werror_flag=yes
6069
cat >conftest.$ac_ext <<_ACEOF
6072
cat confdefs.h >>conftest.$ac_ext
6073
cat >>conftest.$ac_ext <<_ACEOF
6074
/* end confdefs.h. */
6084
rm -f conftest.$ac_objext
6085
if { (ac_try="$ac_compile"
6087
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6088
*) ac_try_echo=$ac_try;;
6090
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6091
(eval "$ac_compile") 2>conftest.er1
6093
grep -v '^ *+' conftest.er1 >conftest.err
6095
cat conftest.err >&5
6096
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097
(exit $ac_status); } && {
6098
test -z "$ac_cxx_werror_flag" ||
6099
test ! -s conftest.err
6100
} && test -s conftest.$ac_objext; then
6101
ac_cv_prog_cxx_g=yes
6103
echo "$as_me: failed program was:" >&5
6104
sed 's/^/| /' conftest.$ac_ext >&5
6107
cat >conftest.$ac_ext <<_ACEOF
6110
cat confdefs.h >>conftest.$ac_ext
6111
cat >>conftest.$ac_ext <<_ACEOF
6112
/* end confdefs.h. */
6122
rm -f conftest.$ac_objext
6123
if { (ac_try="$ac_compile"
6125
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6126
*) ac_try_echo=$ac_try;;
6128
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6129
(eval "$ac_compile") 2>conftest.er1
6131
grep -v '^ *+' conftest.er1 >conftest.err
6133
cat conftest.err >&5
6134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135
(exit $ac_status); } && {
6136
test -z "$ac_cxx_werror_flag" ||
6137
test ! -s conftest.err
6138
} && test -s conftest.$ac_objext; then
6141
echo "$as_me: failed program was:" >&5
6142
sed 's/^/| /' conftest.$ac_ext >&5
6144
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6146
cat >conftest.$ac_ext <<_ACEOF
6149
cat confdefs.h >>conftest.$ac_ext
6150
cat >>conftest.$ac_ext <<_ACEOF
6151
/* end confdefs.h. */
6161
rm -f conftest.$ac_objext
6162
if { (ac_try="$ac_compile"
6164
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6165
*) ac_try_echo=$ac_try;;
6167
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6168
(eval "$ac_compile") 2>conftest.er1
6170
grep -v '^ *+' conftest.er1 >conftest.err
6172
cat conftest.err >&5
6173
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174
(exit $ac_status); } && {
6175
test -z "$ac_cxx_werror_flag" ||
6176
test ! -s conftest.err
6177
} && test -s conftest.$ac_objext; then
6178
ac_cv_prog_cxx_g=yes
6180
echo "$as_me: failed program was:" >&5
6181
sed 's/^/| /' conftest.$ac_ext >&5
6186
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6189
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6192
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6193
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
6195
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6196
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
5394
6197
if test "$ac_test_CXXFLAGS" = set; then
5395
6198
CXXFLAGS=$ac_save_CXXFLAGS
5396
6199
elif test $ac_cv_prog_cxx_g = yes; then
5749
6453
SED=$lt_cv_path_SED
5750
echo "$as_me:$LINENO: result: $SED" >&5
5751
echo "${ECHO_T}$SED" >&6
5753
echo "$as_me:$LINENO: checking for egrep" >&5
5754
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5755
if test "${ac_cv_prog_egrep+set}" = set; then
5756
echo $ECHO_N "(cached) $ECHO_C" >&6
5758
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5759
then ac_cv_prog_egrep='grep -E'
5760
else ac_cv_prog_egrep='egrep'
5763
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5764
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5765
EGREP=$ac_cv_prog_egrep
5769
# Check whether --with-gnu-ld or --without-gnu-ld was given.
6455
{ echo "$as_me:$LINENO: result: $SED" >&5
6456
echo "${ECHO_T}$SED" >&6; }
6458
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6459
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6460
if test "${ac_cv_path_GREP+set}" = set; then
6461
echo $ECHO_N "(cached) $ECHO_C" >&6
6463
# Extract the first word of "grep ggrep" to use in msg output
6464
if test -z "$GREP"; then
6465
set dummy grep ggrep; ac_prog_name=$2
6466
if test "${ac_cv_path_GREP+set}" = set; then
6467
echo $ECHO_N "(cached) $ECHO_C" >&6
6469
ac_path_GREP_found=false
6470
# Loop through the user's path and test for each of PROGNAME-LIST
6471
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6475
test -z "$as_dir" && as_dir=.
6476
for ac_prog in grep ggrep; do
6477
for ac_exec_ext in '' $ac_executable_extensions; do
6478
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6479
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
6480
# Check for GNU ac_path_GREP and select it if it is found.
6481
# Check for GNU $ac_path_GREP
6482
case `"$ac_path_GREP" --version 2>&1` in
6484
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6487
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6490
cat "conftest.in" "conftest.in" >"conftest.tmp"
6491
mv "conftest.tmp" "conftest.in"
6492
cp "conftest.in" "conftest.nl"
6493
echo 'GREP' >> "conftest.nl"
6494
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6495
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6496
ac_count=`expr $ac_count + 1`
6497
if test $ac_count -gt ${ac_path_GREP_max-0}; then
6498
# Best one so far, save it but keep looking for a better one
6499
ac_cv_path_GREP="$ac_path_GREP"
6500
ac_path_GREP_max=$ac_count
6502
# 10*(2^10) chars as input seems more than enough
6503
test $ac_count -gt 10 && break
6505
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6509
$ac_path_GREP_found && break 3
6519
GREP="$ac_cv_path_GREP"
6520
if test -z "$GREP"; then
6521
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6522
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6523
{ (exit 1); exit 1; }; }
6527
ac_cv_path_GREP=$GREP
6532
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6533
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6534
GREP="$ac_cv_path_GREP"
6537
{ echo "$as_me:$LINENO: checking for egrep" >&5
6538
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6539
if test "${ac_cv_path_EGREP+set}" = set; then
6540
echo $ECHO_N "(cached) $ECHO_C" >&6
6542
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6543
then ac_cv_path_EGREP="$GREP -E"
6545
# Extract the first word of "egrep" to use in msg output
6546
if test -z "$EGREP"; then
6547
set dummy egrep; ac_prog_name=$2
6548
if test "${ac_cv_path_EGREP+set}" = set; then
6549
echo $ECHO_N "(cached) $ECHO_C" >&6
6551
ac_path_EGREP_found=false
6552
# Loop through the user's path and test for each of PROGNAME-LIST
6553
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6557
test -z "$as_dir" && as_dir=.
6558
for ac_prog in egrep; do
6559
for ac_exec_ext in '' $ac_executable_extensions; do
6560
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6561
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
6562
# Check for GNU ac_path_EGREP and select it if it is found.
6563
# Check for GNU $ac_path_EGREP
6564
case `"$ac_path_EGREP" --version 2>&1` in
6566
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6569
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6572
cat "conftest.in" "conftest.in" >"conftest.tmp"
6573
mv "conftest.tmp" "conftest.in"
6574
cp "conftest.in" "conftest.nl"
6575
echo 'EGREP' >> "conftest.nl"
6576
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6577
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6578
ac_count=`expr $ac_count + 1`
6579
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6580
# Best one so far, save it but keep looking for a better one
6581
ac_cv_path_EGREP="$ac_path_EGREP"
6582
ac_path_EGREP_max=$ac_count
6584
# 10*(2^10) chars as input seems more than enough
6585
test $ac_count -gt 10 && break
6587
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6591
$ac_path_EGREP_found && break 3
6601
EGREP="$ac_cv_path_EGREP"
6602
if test -z "$EGREP"; then
6603
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6604
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6605
{ (exit 1); exit 1; }; }
6609
ac_cv_path_EGREP=$EGREP
6615
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6616
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6617
EGREP="$ac_cv_path_EGREP"
6621
# Check whether --with-gnu-ld was given.
5770
6622
if test "${with_gnu_ld+set}" = set; then
5771
withval="$with_gnu_ld"
5772
test "$withval" = no || with_gnu_ld=yes
6623
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5777
6629
if test "$GCC" = yes; then
5778
6630
# Check if gcc -print-prog-name=ld gives a path.
5779
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5780
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
6631
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
6632
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
5783
6635
# gcc leaves a trailing carriage return which upsets mingw
9003
rhapsody* | darwin*)
9004
if test -n "$ac_tool_prefix"; then
9005
# Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9006
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9007
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9008
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9009
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
9010
echo $ECHO_N "(cached) $ECHO_C" >&6
9012
if test -n "$DSYMUTIL"; then
9013
ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9015
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9019
test -z "$as_dir" && as_dir=.
9020
for ac_exec_ext in '' $ac_executable_extensions; do
9021
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9022
ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9023
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9032
DSYMUTIL=$ac_cv_prog_DSYMUTIL
9033
if test -n "$DSYMUTIL"; then
9034
{ echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
9035
echo "${ECHO_T}$DSYMUTIL" >&6; }
9037
{ echo "$as_me:$LINENO: result: no" >&5
9038
echo "${ECHO_T}no" >&6; }
9043
if test -z "$ac_cv_prog_DSYMUTIL"; then
9044
ac_ct_DSYMUTIL=$DSYMUTIL
9045
# Extract the first word of "dsymutil", so it can be a program name with args.
9046
set dummy dsymutil; ac_word=$2
9047
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9048
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9049
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
9050
echo $ECHO_N "(cached) $ECHO_C" >&6
9052
if test -n "$ac_ct_DSYMUTIL"; then
9053
ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9055
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9059
test -z "$as_dir" && as_dir=.
9060
for ac_exec_ext in '' $ac_executable_extensions; do
9061
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9062
ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9063
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9072
ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9073
if test -n "$ac_ct_DSYMUTIL"; then
9074
{ echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
9075
echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6; }
9077
{ echo "$as_me:$LINENO: result: no" >&5
9078
echo "${ECHO_T}no" >&6; }
9081
if test "x$ac_ct_DSYMUTIL" = x; then
9084
case $cross_compiling:$ac_tool_warned in
9086
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9087
whose name does not start with the host triplet. If you think this
9088
configuration is useful to you, please write to autoconf@gnu.org." >&5
9089
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9090
whose name does not start with the host triplet. If you think this
9091
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9092
ac_tool_warned=yes ;;
9094
DSYMUTIL=$ac_ct_DSYMUTIL
9097
DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9100
if test -n "$ac_tool_prefix"; then
9101
# Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9102
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9103
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9104
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9105
if test "${ac_cv_prog_NMEDIT+set}" = set; then
9106
echo $ECHO_N "(cached) $ECHO_C" >&6
9108
if test -n "$NMEDIT"; then
9109
ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9111
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9115
test -z "$as_dir" && as_dir=.
9116
for ac_exec_ext in '' $ac_executable_extensions; do
9117
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9118
ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9119
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9128
NMEDIT=$ac_cv_prog_NMEDIT
9129
if test -n "$NMEDIT"; then
9130
{ echo "$as_me:$LINENO: result: $NMEDIT" >&5
9131
echo "${ECHO_T}$NMEDIT" >&6; }
9133
{ echo "$as_me:$LINENO: result: no" >&5
9134
echo "${ECHO_T}no" >&6; }
9139
if test -z "$ac_cv_prog_NMEDIT"; then
9140
ac_ct_NMEDIT=$NMEDIT
9141
# Extract the first word of "nmedit", so it can be a program name with args.
9142
set dummy nmedit; ac_word=$2
9143
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
9144
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
9145
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
9146
echo $ECHO_N "(cached) $ECHO_C" >&6
9148
if test -n "$ac_ct_NMEDIT"; then
9149
ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9151
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9155
test -z "$as_dir" && as_dir=.
9156
for ac_exec_ext in '' $ac_executable_extensions; do
9157
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9158
ac_cv_prog_ac_ct_NMEDIT="nmedit"
9159
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9168
ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9169
if test -n "$ac_ct_NMEDIT"; then
9170
{ echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
9171
echo "${ECHO_T}$ac_ct_NMEDIT" >&6; }
9173
{ echo "$as_me:$LINENO: result: no" >&5
9174
echo "${ECHO_T}no" >&6; }
9177
if test "x$ac_ct_NMEDIT" = x; then
9180
case $cross_compiling:$ac_tool_warned in
9182
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
9183
whose name does not start with the host triplet. If you think this
9184
configuration is useful to you, please write to autoconf@gnu.org." >&5
9185
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
9186
whose name does not start with the host triplet. If you think this
9187
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
9188
ac_tool_warned=yes ;;
9190
NMEDIT=$ac_ct_NMEDIT
9193
NMEDIT="$ac_cv_prog_NMEDIT"
9197
{ echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
9198
echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6; }
9199
if test "${lt_cv_apple_cc_single_mod+set}" = set; then
9200
echo $ECHO_N "(cached) $ECHO_C" >&6
9202
lt_cv_apple_cc_single_mod=no
9203
if test -z "${LT_MULTI_MODULE}"; then
9204
# By default we will add the -single_module flag. You can override
9205
# by either setting the environment variable LT_MULTI_MODULE
9206
# non-empty at configure time, or by adding -multi_module to the
9208
echo "int foo(void){return 1;}" > conftest.c
9209
$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9210
-dynamiclib ${wl}-single_module conftest.c
9211
if test -f libconftest.dylib; then
9212
lt_cv_apple_cc_single_mod=yes
9213
rm -rf libconftest.dylib*
9218
{ echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
9219
echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6; }
9220
{ echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
9221
echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6; }
9222
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
9223
echo $ECHO_N "(cached) $ECHO_C" >&6
9225
lt_cv_ld_exported_symbols_list=no
9226
save_LDFLAGS=$LDFLAGS
9227
echo "_main" > conftest.sym
9228
LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9229
cat >conftest.$ac_ext <<_ACEOF
9232
cat confdefs.h >>conftest.$ac_ext
9233
cat >>conftest.$ac_ext <<_ACEOF
9234
/* end confdefs.h. */
9244
rm -f conftest.$ac_objext conftest$ac_exeext
9245
if { (ac_try="$ac_link"
9247
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9248
*) ac_try_echo=$ac_try;;
9250
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9251
(eval "$ac_link") 2>conftest.er1
9253
grep -v '^ *+' conftest.er1 >conftest.err
9255
cat conftest.err >&5
9256
echo "$as_me:$LINENO: \$? = $ac_status" >&5
9257
(exit $ac_status); } && {
9258
test -z "$ac_cxx_werror_flag" ||
9259
test ! -s conftest.err
9260
} && test -s conftest$ac_exeext &&
9261
$as_test_x conftest$ac_exeext; then
9262
lt_cv_ld_exported_symbols_list=yes
9264
echo "$as_me: failed program was:" >&5
9265
sed 's/^/| /' conftest.$ac_ext >&5
9267
lt_cv_ld_exported_symbols_list=no
9270
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9271
conftest$ac_exeext conftest.$ac_ext
9272
LDFLAGS="$save_LDFLAGS"
9275
{ echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
9276
echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6; }
9278
rhapsody* | darwin1.[0123])
9279
_lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
9281
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9283
# if running on 10.5 or later, the deployment target defaults
9284
# to the OS version, if on x86, and 10.4, the deployment
9285
# target defaults to 10.4. Don't you love it?
9286
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9287
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9288
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9290
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
9292
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
9296
if test "$lt_cv_apple_cc_single_mod" = "yes"; then
9297
_lt_dar_single_mod='$single_module'
9299
if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
9300
_lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
9302
_lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsym \${lib}"
9304
if test "$DSYMUTIL" != ":"; then
9305
_lt_dsymutil="~$DSYMUTIL \$lib || :"
8060
9313
enable_dlopen=no
8061
9314
enable_win32_dll=no
8063
# Check whether --enable-libtool-lock or --disable-libtool-lock was given.
9316
# Check whether --enable-libtool-lock was given.
8064
9317
if test "${enable_libtool_lock+set}" = set; then
8065
enableval="$enable_libtool_lock"
9318
enableval=$enable_libtool_lock;
8068
9321
test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
8071
# Check whether --with-pic or --without-pic was given.
9324
# Check whether --with-pic was given.
8072
9325
if test "${with_pic+set}" = set; then
9326
withval=$with_pic; pic_mode="$withval"
8076
9328
pic_mode=default
8078
9331
test -z "$pic_mode" && pic_mode=default
8080
9333
# Check if we have a version mismatch between libtool.m4 and ltmain.sh.
21585
22936
# Name of the executable.
21586
as_me=`$as_basename "$0" ||
22937
as_me=`$as_basename -- "$0" ||
21587
22938
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21588
22939
X"$0" : 'X\(//\)$' \| \
21589
X"$0" : 'X\(/\)$' \| \
21590
. : '\(.\)' 2>/dev/null ||
22940
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21591
22941
echo X/"$0" |
21592
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21593
/^X\/\(\/\/\)$/{ s//\1/; q; }
21594
/^X\/\(\/\).*/{ s//\1/; q; }
21598
# PATH needs CR, and LINENO needs CR and PATH.
21599
# Avoid depending upon Character Ranges.
21600
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21601
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21602
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21603
as_cr_digits='0123456789'
21604
as_cr_alnum=$as_cr_Letters$as_cr_digits
21606
# The user is always right.
21607
if test "${PATH_SEPARATOR+set}" != set; then
21608
echo "#! /bin/sh" >conf$$.sh
21609
echo "exit 0" >>conf$$.sh
21611
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21620
as_lineno_1=$LINENO
21621
as_lineno_2=$LINENO
21622
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21623
test "x$as_lineno_1" != "x$as_lineno_2" &&
21624
test "x$as_lineno_3" = "x$as_lineno_2" || {
21625
# Find who we are. Look in the path if we contain no path at all
21628
*[\\/]* ) as_myself=$0 ;;
21629
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21630
for as_dir in $PATH
21633
test -z "$as_dir" && as_dir=.
21634
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21639
# We did not find ourselves, most probably we were run as `sh COMMAND'
21640
# in which case we are not to be found in the path.
21641
if test "x$as_myself" = x; then
21644
if test ! -f "$as_myself"; then
21645
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21646
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21647
{ (exit 1); exit 1; }; }
21649
case $CONFIG_SHELL in
21651
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21652
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21655
test -z "$as_dir" && as_dir=.
21656
for as_base in sh bash ksh sh5; do
21659
if ("$as_dir/$as_base" -c '
21660
as_lineno_1=$LINENO
21661
as_lineno_2=$LINENO
21662
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21663
test "x$as_lineno_1" != "x$as_lineno_2" &&
21664
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21665
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21666
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21667
CONFIG_SHELL=$as_dir/$as_base
21668
export CONFIG_SHELL
21669
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
22942
sed '/^.*\/\([^/][^/]*\)\/*$/{
22961
as_lineno_1=$LINENO
22962
as_lineno_2=$LINENO
22963
test "x$as_lineno_1" != "x$as_lineno_2" &&
22964
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21677
22966
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21678
22967
# uniformly replaced by the line number. The first 'sed' inserts a
21679
# line-number line before each line; the second 'sed' does the real
21680
# work. The second script uses 'N' to pair each line-number line
21681
# with the numbered line, and appends trailing '-' during
21682
# substitution so that $LINENO is not a special case at line end.
22968
# line-number line after each line using $LINENO; the second 'sed'
22969
# does the real work. The second script uses 'N' to pair each
22970
# line-number line with the line containing $LINENO, and appends
22971
# trailing '-' during substitution so that $LINENO is not a special
22972
# case at line end.
21683
22973
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21684
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21685
sed '=' <$as_myself |
22974
# scripts with optimization help from Paolo Bonzini. Blame Lee
22975
# E. McMahon (1931-1989) for sed's syntax. :-)
21690
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
22987
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21693
s,^['$as_cr_digits']*\n,,
21694
22990
' >$as_me.lineno &&
21695
chmod +x $as_me.lineno ||
21696
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21697
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
22991
chmod +x "$as_me.lineno" ||
22992
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21698
22993
{ (exit 1); exit 1; }; }
21700
22995
# Don't try to exec as it changes $[0], causing all sort of problems
21701
22996
# (the dirname of $[0] is not the place where we might find the
21702
# original and so on. Autoconf is especially sensible to this).
22997
# original and so on. Autoconf is especially sensitive to this).
22998
. "./$as_me.lineno"
21704
22999
# Exit status is that of the last command.
21709
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21710
*c*,-n*) ECHO_N= ECHO_C='
21712
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21713
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23004
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23010
ECHO_C= ECHO_N= ECHO_T=
23011
case `echo -n x` in
23013
case `echo 'x\c'` in
23014
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
21716
if expr a : '\(a\)' >/dev/null 2>&1; then
23021
if expr a : '\(a\)' >/dev/null 2>&1 &&
23022
test "X`expr 00001 : '.*\(...\)'`" = X001; then
21719
23025
as_expr=false
21722
23028
rm -f conf$$ conf$$.exe conf$$.file
23029
if test -d conf$$.dir; then
23030
rm -f conf$$.dir/conf$$.file
21723
23035
echo >conf$$.file
21724
23036
if ln -s conf$$.file conf$$ 2>/dev/null; then
21725
# We could just check for DJGPP; but this test a) works b) is more generic
21726
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21727
if test -f conf$$.exe; then
21728
# Don't use ln at all; we don't have any links
23038
# ... but there are two gotchas:
23039
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23040
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23041
# In both cases, we have to default to `cp -p'.
23042
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21729
23043
as_ln_s='cp -p'
21733
23044
elif ln conf$$.file conf$$ 2>/dev/null; then
21736
23047
as_ln_s='cp -p'
21738
rm -f conf$$ conf$$.exe conf$$.file
23049
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23050
rmdir conf$$.dir 2>/dev/null
21740
23052
if mkdir -p . 2>/dev/null; then
21987
23299
# Have a temporary directory for convenience. Make it in the build tree
21988
# simply because there is no reason to put it here, and in addition,
23300
# simply because there is no reason against having it here, and in addition,
21989
23301
# creating and moving files from /tmp can sometimes cause problems.
21990
# Create a temporary directory, and hook for its removal unless debugging.
23302
# Hook for its removal unless debugging.
23303
# Note that there is a small window in which the directory will not be cleaned:
23304
# after its creation but before its name has been assigned to `$tmp'.
21993
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23308
trap 'exit_status=$?
23309
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21994
23311
trap '{ (exit 1); exit 1; }' 1 2 13 15
21997
23313
# Create a (secure) tmp directory for tmp files.
22000
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23316
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22001
23317
test -n "$tmp" && test -d "$tmp"
22004
tmp=./confstat$$-$RANDOM
22005
(umask 077 && mkdir $tmp)
23320
tmp=./conf$$-$RANDOM
23321
(umask 077 && mkdir "$tmp")
22008
23324
echo "$me: cannot create a temporary directory in ." >&2
22009
23325
{ (exit 1); exit 1; }
22014
cat >>$CONFIG_STATUS <<_ACEOF
22017
# CONFIG_FILES section.
23329
# Set up the sed scripts for CONFIG_FILES section.
22020
23332
# No need to generate the scripts if there are no CONFIG_FILES.
22021
23333
# This happens for instance when ./config.status config.h
22022
if test -n "\$CONFIG_FILES"; then
22023
# Protect against being on the right side of a sed subst in config.status.
22024
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22025
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22026
s,@SHELL@,$SHELL,;t t
22027
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22028
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22029
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22030
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22031
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22032
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22033
s,@exec_prefix@,$exec_prefix,;t t
22034
s,@prefix@,$prefix,;t t
22035
s,@program_transform_name@,$program_transform_name,;t t
22036
s,@bindir@,$bindir,;t t
22037
s,@sbindir@,$sbindir,;t t
22038
s,@libexecdir@,$libexecdir,;t t
22039
s,@datadir@,$datadir,;t t
22040
s,@sysconfdir@,$sysconfdir,;t t
22041
s,@sharedstatedir@,$sharedstatedir,;t t
22042
s,@localstatedir@,$localstatedir,;t t
22043
s,@libdir@,$libdir,;t t
22044
s,@includedir@,$includedir,;t t
22045
s,@oldincludedir@,$oldincludedir,;t t
22046
s,@infodir@,$infodir,;t t
22047
s,@mandir@,$mandir,;t t
22048
s,@build_alias@,$build_alias,;t t
22049
s,@host_alias@,$host_alias,;t t
22050
s,@target_alias@,$target_alias,;t t
22051
s,@DEFS@,$DEFS,;t t
22052
s,@ECHO_C@,$ECHO_C,;t t
22053
s,@ECHO_N@,$ECHO_N,;t t
22054
s,@ECHO_T@,$ECHO_T,;t t
22055
s,@LIBS@,$LIBS,;t t
22056
s,@build@,$build,;t t
22057
s,@build_cpu@,$build_cpu,;t t
22058
s,@build_vendor@,$build_vendor,;t t
22059
s,@build_os@,$build_os,;t t
22060
s,@host@,$host,;t t
22061
s,@host_cpu@,$host_cpu,;t t
22062
s,@host_vendor@,$host_vendor,;t t
22063
s,@host_os@,$host_os,;t t
22064
s,@target@,$target,;t t
22065
s,@target_cpu@,$target_cpu,;t t
22066
s,@target_vendor@,$target_vendor,;t t
22067
s,@target_os@,$target_os,;t t
22068
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22069
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22070
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22071
s,@CYGPATH_W@,$CYGPATH_W,;t t
22072
s,@PACKAGE@,$PACKAGE,;t t
22073
s,@VERSION@,$VERSION,;t t
22074
s,@ACLOCAL@,$ACLOCAL,;t t
22075
s,@AUTOCONF@,$AUTOCONF,;t t
22076
s,@AUTOMAKE@,$AUTOMAKE,;t t
22077
s,@AUTOHEADER@,$AUTOHEADER,;t t
22078
s,@MAKEINFO@,$MAKEINFO,;t t
22079
s,@AMTAR@,$AMTAR,;t t
22080
s,@install_sh@,$install_sh,;t t
22081
s,@STRIP@,$STRIP,;t t
22082
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22083
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22085
s,@SET_MAKE@,$SET_MAKE,;t t
22086
s,@am__leading_dot@,$am__leading_dot,;t t
22087
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
22088
s,@USE_NLS@,$USE_NLS,;t t
22089
s,@MSGFMT@,$MSGFMT,;t t
22090
s,@GMSGFMT@,$GMSGFMT,;t t
22091
s,@XGETTEXT@,$XGETTEXT,;t t
22092
s,@MSGMERGE@,$MSGMERGE,;t t
22094
s,@CFLAGS@,$CFLAGS,;t t
22095
s,@LDFLAGS@,$LDFLAGS,;t t
22096
s,@CPPFLAGS@,$CPPFLAGS,;t t
22097
s,@ac_ct_CC@,$ac_ct_CC,;t t
22098
s,@EXEEXT@,$EXEEXT,;t t
22099
s,@OBJEXT@,$OBJEXT,;t t
22100
s,@DEPDIR@,$DEPDIR,;t t
22101
s,@am__include@,$am__include,;t t
22102
s,@am__quote@,$am__quote,;t t
22103
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22104
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22105
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22106
s,@CCDEPMODE@,$CCDEPMODE,;t t
22107
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22108
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22109
s,@LIBICONV@,$LIBICONV,;t t
22110
s,@LTLIBICONV@,$LTLIBICONV,;t t
22111
s,@INTLLIBS@,$INTLLIBS,;t t
22112
s,@LIBINTL@,$LIBINTL,;t t
22113
s,@LTLIBINTL@,$LTLIBINTL,;t t
22114
s,@POSUB@,$POSUB,;t t
22117
s,@CXXFLAGS@,$CXXFLAGS,;t t
22118
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22119
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22120
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22121
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22122
s,@EGREP@,$EGREP,;t t
22123
s,@LN_S@,$LN_S,;t t
22124
s,@ECHO@,$ECHO,;t t
22126
s,@ac_ct_AR@,$ac_ct_AR,;t t
22127
s,@RANLIB@,$RANLIB,;t t
22128
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22129
s,@CXXCPP@,$CXXCPP,;t t
22131
s,@FFLAGS@,$FFLAGS,;t t
22132
s,@ac_ct_F77@,$ac_ct_F77,;t t
22133
s,@LIBTOOL@,$LIBTOOL,;t t
22134
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
22135
s,@GTKMM_CFLAGS@,$GTKMM_CFLAGS,;t t
22136
s,@GTKMM_LIBS@,$GTKMM_LIBS,;t t
22137
s,@NAUTILUS_EXTENSIONS_DIR@,$NAUTILUS_EXTENSIONS_DIR,;t t
22138
s,@ENABLE_USER_XATTR_TRUE@,$ENABLE_USER_XATTR_TRUE,;t t
22139
s,@ENABLE_USER_XATTR_FALSE@,$ENABLE_USER_XATTR_FALSE,;t t
22140
s,@llibreria_acl@,$llibreria_acl,;t t
22141
s,@LIBOBJS@,$LIBOBJS,;t t
22142
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22147
cat >>$CONFIG_STATUS <<\_ACEOF
22148
# Split the substitutions into bite-sized pieces for seds with
22149
# small command number limits, like on Digital OSF/1 and HP-UX.
22150
ac_max_sed_lines=48
22151
ac_sed_frag=1 # Number of current file.
22152
ac_beg=1 # First line for current file.
22153
ac_end=$ac_max_sed_lines # Line after last line for current file.
22156
while $ac_more_lines; do
22157
if test $ac_beg -gt 1; then
22158
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22160
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22162
if test ! -s $tmp/subs.frag; then
22163
ac_more_lines=false
22165
# The purpose of the label and of the branching condition is to
22166
# speed up the sed processing (if there are no `@' at all, there
22167
# is no need to browse any of the substitutions).
22168
# These are the two extra sed commands mentioned above.
22170
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22171
if test -z "$ac_sed_cmds"; then
22172
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22174
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22176
ac_sed_frag=`expr $ac_sed_frag + 1`
22178
ac_end=`expr $ac_end + $ac_max_sed_lines`
22181
if test -z "$ac_sed_cmds"; then
23334
if test -n "$CONFIG_FILES"; then
23341
for ac_last_try in false false false false false :; do
23342
cat >conf$$subs.sed <<_ACEOF
23343
SHELL!$SHELL$ac_delim
23344
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23345
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23346
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23347
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23348
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23349
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23350
exec_prefix!$exec_prefix$ac_delim
23351
prefix!$prefix$ac_delim
23352
program_transform_name!$program_transform_name$ac_delim
23353
bindir!$bindir$ac_delim
23354
sbindir!$sbindir$ac_delim
23355
libexecdir!$libexecdir$ac_delim
23356
datarootdir!$datarootdir$ac_delim
23357
datadir!$datadir$ac_delim
23358
sysconfdir!$sysconfdir$ac_delim
23359
sharedstatedir!$sharedstatedir$ac_delim
23360
localstatedir!$localstatedir$ac_delim
23361
includedir!$includedir$ac_delim
23362
oldincludedir!$oldincludedir$ac_delim
23363
docdir!$docdir$ac_delim
23364
infodir!$infodir$ac_delim
23365
htmldir!$htmldir$ac_delim
23366
dvidir!$dvidir$ac_delim
23367
pdfdir!$pdfdir$ac_delim
23368
psdir!$psdir$ac_delim
23369
libdir!$libdir$ac_delim
23370
localedir!$localedir$ac_delim
23371
mandir!$mandir$ac_delim
23372
DEFS!$DEFS$ac_delim
23373
ECHO_C!$ECHO_C$ac_delim
23374
ECHO_N!$ECHO_N$ac_delim
23375
ECHO_T!$ECHO_T$ac_delim
23376
LIBS!$LIBS$ac_delim
23377
build_alias!$build_alias$ac_delim
23378
host_alias!$host_alias$ac_delim
23379
target_alias!$target_alias$ac_delim
23380
build!$build$ac_delim
23381
build_cpu!$build_cpu$ac_delim
23382
build_vendor!$build_vendor$ac_delim
23383
build_os!$build_os$ac_delim
23384
host!$host$ac_delim
23385
host_cpu!$host_cpu$ac_delim
23386
host_vendor!$host_vendor$ac_delim
23387
host_os!$host_os$ac_delim
23388
target!$target$ac_delim
23389
target_cpu!$target_cpu$ac_delim
23390
target_vendor!$target_vendor$ac_delim
23391
target_os!$target_os$ac_delim
23392
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23393
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23394
INSTALL_DATA!$INSTALL_DATA$ac_delim
23395
am__isrc!$am__isrc$ac_delim
23396
CYGPATH_W!$CYGPATH_W$ac_delim
23397
PACKAGE!$PACKAGE$ac_delim
23398
VERSION!$VERSION$ac_delim
23399
ACLOCAL!$ACLOCAL$ac_delim
23400
AUTOCONF!$AUTOCONF$ac_delim
23401
AUTOMAKE!$AUTOMAKE$ac_delim
23402
AUTOHEADER!$AUTOHEADER$ac_delim
23403
MAKEINFO!$MAKEINFO$ac_delim
23404
install_sh!$install_sh$ac_delim
23405
STRIP!$STRIP$ac_delim
23406
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23407
mkdir_p!$mkdir_p$ac_delim
23409
SET_MAKE!$SET_MAKE$ac_delim
23410
am__leading_dot!$am__leading_dot$ac_delim
23411
AMTAR!$AMTAR$ac_delim
23412
am__tar!$am__tar$ac_delim
23413
am__untar!$am__untar$ac_delim
23414
USE_NLS!$USE_NLS$ac_delim
23415
MSGFMT!$MSGFMT$ac_delim
23416
GMSGFMT!$GMSGFMT$ac_delim
23417
MSGFMT_015!$MSGFMT_015$ac_delim
23418
GMSGFMT_015!$GMSGFMT_015$ac_delim
23419
XGETTEXT!$XGETTEXT$ac_delim
23420
XGETTEXT_015!$XGETTEXT_015$ac_delim
23421
MSGMERGE!$MSGMERGE$ac_delim
23423
CFLAGS!$CFLAGS$ac_delim
23424
LDFLAGS!$LDFLAGS$ac_delim
23425
CPPFLAGS!$CPPFLAGS$ac_delim
23426
ac_ct_CC!$ac_ct_CC$ac_delim
23427
EXEEXT!$EXEEXT$ac_delim
23428
OBJEXT!$OBJEXT$ac_delim
23429
DEPDIR!$DEPDIR$ac_delim
23430
am__include!$am__include$ac_delim
23431
am__quote!$am__quote$ac_delim
23432
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23433
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23434
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23435
CCDEPMODE!$CCDEPMODE$ac_delim
23436
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23437
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23438
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
23439
LIBICONV!$LIBICONV$ac_delim
23442
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23444
elif $ac_last_try; then
23445
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23446
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23447
{ (exit 1); exit 1; }; }
23449
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23453
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23454
if test -n "$ac_eof"; then
23455
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23456
ac_eof=`expr $ac_eof + 1`
23459
cat >>$CONFIG_STATUS <<_ACEOF
23460
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
23461
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
23464
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23465
s/^/s,@/; s/!/@,|#_!!_#|/
23468
s/'"$ac_delim"'$/,g/; t
23470
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23471
' >>$CONFIG_STATUS <conf$$subs.sed
23472
rm -f conf$$subs.sed
23473
cat >>$CONFIG_STATUS <<_ACEOF
23479
for ac_last_try in false false false false false :; do
23480
cat >conf$$subs.sed <<_ACEOF
23481
LTLIBICONV!$LTLIBICONV$ac_delim
23482
INTLLIBS!$INTLLIBS$ac_delim
23483
LIBINTL!$LIBINTL$ac_delim
23484
LTLIBINTL!$LTLIBINTL$ac_delim
23485
POSUB!$POSUB$ac_delim
23488
CXXFLAGS!$CXXFLAGS$ac_delim
23489
ac_ct_CXX!$ac_ct_CXX$ac_delim
23490
CXXDEPMODE!$CXXDEPMODE$ac_delim
23491
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23492
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
23494
GREP!$GREP$ac_delim
23495
EGREP!$EGREP$ac_delim
23496
LN_S!$LN_S$ac_delim
23497
ECHO!$ECHO$ac_delim
23499
RANLIB!$RANLIB$ac_delim
23500
DSYMUTIL!$DSYMUTIL$ac_delim
23501
NMEDIT!$NMEDIT$ac_delim
23502
CXXCPP!$CXXCPP$ac_delim
23504
FFLAGS!$FFLAGS$ac_delim
23505
ac_ct_F77!$ac_ct_F77$ac_delim
23506
LIBTOOL!$LIBTOOL$ac_delim
23507
PKG_CONFIG!$PKG_CONFIG$ac_delim
23508
GTKMM_CFLAGS!$GTKMM_CFLAGS$ac_delim
23509
GTKMM_LIBS!$GTKMM_LIBS$ac_delim
23510
NAUTILUS_EXTENSIONS_DIR!$NAUTILUS_EXTENSIONS_DIR$ac_delim
23511
ENABLE_USER_XATTR_TRUE!$ENABLE_USER_XATTR_TRUE$ac_delim
23512
ENABLE_USER_XATTR_FALSE!$ENABLE_USER_XATTR_FALSE$ac_delim
23513
llibreria_acl!$llibreria_acl$ac_delim
23514
LIBOBJS!$LIBOBJS$ac_delim
23515
LTLIBOBJS!$LTLIBOBJS$ac_delim
23518
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 35; then
23520
elif $ac_last_try; then
23521
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23522
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23523
{ (exit 1); exit 1; }; }
23525
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23529
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
23530
if test -n "$ac_eof"; then
23531
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
23532
ac_eof=`expr $ac_eof + 1`
23535
cat >>$CONFIG_STATUS <<_ACEOF
23536
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
23537
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
23540
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
23541
s/^/s,@/; s/!/@,|#_!!_#|/
23544
s/'"$ac_delim"'$/,g/; t
23546
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
23547
' >>$CONFIG_STATUS <conf$$subs.sed
23548
rm -f conf$$subs.sed
23549
cat >>$CONFIG_STATUS <<_ACEOF
23556
# VPATH may cause trouble with some makes, so we remove $(srcdir),
23557
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
23558
# trailing colons and then remove the whole line if VPATH becomes empty
23559
# (actually we leave an empty line to preserve line numbers).
23560
if test "x$srcdir" = x.; then
23561
ac_vpsub='/^[ ]*VPATH[ ]*=/{
23562
s/:*\$(srcdir):*/:/
23563
s/:*\${srcdir}:*/:/
23565
s/^\([^=]*=[ ]*\):*/\1/
23571
cat >>$CONFIG_STATUS <<\_ACEOF
22184
23572
fi # test -n "$CONFIG_FILES"
22187
cat >>$CONFIG_STATUS <<\_ACEOF
22188
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22189
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22191
- | *:- | *:-:* ) # input from stdin
22193
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22194
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22195
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22196
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22197
* ) ac_file_in=$ac_file.in ;;
22200
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22201
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
23575
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
23578
:[FHLC]) ac_mode=$ac_tag; continue;;
23580
case $ac_mode$ac_tag in
23582
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
23583
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
23584
{ (exit 1); exit 1; }; };;
23585
:[FH]-) ac_tag=-:-;;
23586
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23603
-) ac_f="$tmp/stdin";;
23604
*) # Look for the file first in the build tree, then in the source tree
23605
# (if the path is not absolute). The absolute path cannot be DOS-style,
23606
# because $ac_f cannot contain `:'.
23610
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23612
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
23613
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
23614
{ (exit 1); exit 1; }; };;
23616
ac_file_inputs="$ac_file_inputs $ac_f"
23619
# Let's still pretend it is `configure' which instantiates (i.e., don't
23620
# use $as_me), people would be surprised to read:
23621
# /* config.h. Generated by config.status. */
23622
configure_input="Generated from "`IFS=:
23623
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
23624
if test x"$ac_file" != x-; then
23625
configure_input="$ac_file. $configure_input"
23626
{ echo "$as_me:$LINENO: creating $ac_file" >&5
23627
echo "$as_me: creating $ac_file" >&6;}
23631
*:-:* | *:-) cat >"$tmp/stdin";;
23636
ac_dir=`$as_dirname -- "$ac_file" ||
22202
23637
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22203
23638
X"$ac_file" : 'X\(//\)[^/]' \| \
22204
23639
X"$ac_file" : 'X\(//\)$' \| \
22205
X"$ac_file" : 'X\(/\)' \| \
22206
. : '\(.\)' 2>/dev/null ||
23640
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22207
23641
echo X"$ac_file" |
22208
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22209
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22210
/^X\(\/\/\)$/{ s//\1/; q; }
22211
/^X\(\/\).*/{ s//\1/; q; }
22213
{ if $as_mkdir_p; then
23642
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23646
/^X\(\/\/\)[^/].*/{
23661
-*) as_dir=./$as_dir;;
23663
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22218
while test ! -d "$as_dir"; do
22219
as_dirs="$as_dir $as_dirs"
22220
as_dir=`(dirname "$as_dir") 2>/dev/null ||
23667
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
23668
*) as_qdir=$as_dir;;
23670
as_dirs="'$as_qdir' $as_dirs"
23671
as_dir=`$as_dirname -- "$as_dir" ||
22221
23672
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22222
23673
X"$as_dir" : 'X\(//\)[^/]' \| \
22223
23674
X"$as_dir" : 'X\(//\)$' \| \
22224
X"$as_dir" : 'X\(/\)' \| \
22225
. : '\(.\)' 2>/dev/null ||
23675
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22226
23676
echo X"$as_dir" |
22227
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22228
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22229
/^X\(\/\/\)$/{ s//\1/; q; }
22230
/^X\(\/\).*/{ s//\1/; q; }
23677
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23681
/^X\(\/\/\)[^/].*/{
23694
test -d "$as_dir" && break
22233
test ! -n "$as_dirs" || mkdir $as_dirs
22234
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22235
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
23696
test -z "$as_dirs" || eval "mkdir $as_dirs"
23697
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
23698
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22236
23699
{ (exit 1); exit 1; }; }; }
22238
23700
ac_builddir=.
22240
if test "$ac_dir" != .; then
23703
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22241
23705
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22242
# A "../" for each directory in $ac_dir_suffix.
22243
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22245
ac_dir_suffix= ac_top_builddir=
23706
# A ".." for each directory in $ac_dir_suffix.
23707
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
23708
case $ac_top_builddir_sub in
23709
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23710
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23713
ac_abs_top_builddir=$ac_pwd
23714
ac_abs_builddir=$ac_pwd$ac_dir_suffix
23715
# for backward compatibility:
23716
ac_top_builddir=$ac_top_build_prefix
22248
23718
case $srcdir in
22249
.) # No --srcdir option. We are building in place.
23719
.) # We are building in place.
22251
if test -z "$ac_top_builddir"; then
22254
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22256
[\\/]* | ?:[\\/]* ) # Absolute path.
23721
ac_top_srcdir=$ac_top_builddir_sub
23722
ac_abs_top_srcdir=$ac_pwd ;;
23723
[\\/]* | ?:[\\/]* ) # Absolute name.
22257
23724
ac_srcdir=$srcdir$ac_dir_suffix;
22258
ac_top_srcdir=$srcdir ;;
22259
*) # Relative path.
22260
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22261
ac_top_srcdir=$ac_top_builddir$srcdir ;;
22264
# Do not use `cd foo && pwd` to compute absolute paths, because
22265
# the directories may not exist.
22267
.) ac_abs_builddir="$ac_dir";;
22270
.) ac_abs_builddir=`pwd`;;
22271
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22272
*) ac_abs_builddir=`pwd`/"$ac_dir";;
22275
case $ac_abs_builddir in
22276
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22278
case ${ac_top_builddir}. in
22279
.) ac_abs_top_builddir=$ac_abs_builddir;;
22280
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22281
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22284
case $ac_abs_builddir in
22285
.) ac_abs_srcdir=$ac_srcdir;;
22288
.) ac_abs_srcdir=$ac_abs_builddir;;
22289
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22290
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22293
case $ac_abs_builddir in
22294
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22296
case $ac_top_srcdir in
22297
.) ac_abs_top_srcdir=$ac_abs_builddir;;
22298
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22299
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
23725
ac_top_srcdir=$srcdir
23726
ac_abs_top_srcdir=$srcdir ;;
23727
*) # Relative name.
23728
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23729
ac_top_srcdir=$ac_top_build_prefix$srcdir
23730
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23732
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22304
23741
case $INSTALL in
22305
23742
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22306
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
22309
if test x"$ac_file" != x-; then
22310
{ echo "$as_me:$LINENO: creating $ac_file" >&5
22311
echo "$as_me: creating $ac_file" >&6;}
22314
# Let's still pretend it is `configure' which instantiates (i.e., don't
22315
# use $as_me), people would be surprised to read:
22316
# /* config.h. Generated by config.status. */
22317
if test x"$ac_file" = x-; then
22320
configure_input="$ac_file. "
22322
configure_input=$configure_input"Generated from `echo $ac_file_in |
22323
sed 's,.*/,,'` by configure."
22325
# First look for the input files in the build tree, otherwise in the
22327
ac_file_inputs=`IFS=:
22328
for f in $ac_file_in; do
22330
-) echo $tmp/stdin ;;
22332
# Absolute (can't be DOS-style, as IFS=:)
22333
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22334
echo "$as_me: error: cannot find input file: $f" >&2;}
22335
{ (exit 1); exit 1; }; }
22338
if test -f "$f"; then
22341
elif test -f "$srcdir/$f"; then
22346
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22347
echo "$as_me: error: cannot find input file: $f" >&2;}
22348
{ (exit 1); exit 1; }; }
22351
done` || { (exit 1); exit 1; }
23743
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
23745
ac_MKDIR_P=$MKDIR_P
23747
[\\/$]* | ?:[\\/]* ) ;;
23748
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
23752
cat >>$CONFIG_STATUS <<\_ACEOF
23753
# If the template does not know about datarootdir, expand it.
23754
# FIXME: This hack should be removed a few years after 2.60.
23755
ac_datarootdir_hack=; ac_datarootdir_seen=
23757
case `sed -n '/datarootdir/ {
23766
' $ac_file_inputs` in
23767
*datarootdir*) ac_datarootdir_seen=yes;;
23768
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
23769
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
23770
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
23772
cat >>$CONFIG_STATUS <<_ACEOF
23773
ac_datarootdir_hack='
23774
s&@datadir@&$datadir&g
23775
s&@docdir@&$docdir&g
23776
s&@infodir@&$infodir&g
23777
s&@localedir@&$localedir&g
23778
s&@mandir@&$mandir&g
23779
s&\\\${datarootdir}&$datarootdir&g' ;;
23783
# Neutralize VPATH when `$srcdir' = `.'.
23784
# Shell code in configure.ac might set extrasub.
23785
# FIXME: do we really want to maintain this feature?
22353
23786
cat >>$CONFIG_STATUS <<_ACEOF
22354
23787
sed "$ac_vpsub
22357
23790
cat >>$CONFIG_STATUS <<\_ACEOF
22359
23792
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22360
s,@configure_input@,$configure_input,;t t
22361
s,@srcdir@,$ac_srcdir,;t t
22362
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22363
s,@top_srcdir@,$ac_top_srcdir,;t t
22364
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22365
s,@builddir@,$ac_builddir,;t t
22366
s,@abs_builddir@,$ac_abs_builddir,;t t
22367
s,@top_builddir@,$ac_top_builddir,;t t
22368
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22369
s,@INSTALL@,$ac_INSTALL,;t t
22370
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22372
if test x"$ac_file" != x-; then
22373
mv $tmp/out $ac_file
23793
s&@configure_input@&$configure_input&;t t
23794
s&@top_builddir@&$ac_top_builddir_sub&;t t
23795
s&@srcdir@&$ac_srcdir&;t t
23796
s&@abs_srcdir@&$ac_abs_srcdir&;t t
23797
s&@top_srcdir@&$ac_top_srcdir&;t t
23798
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
23799
s&@builddir@&$ac_builddir&;t t
23800
s&@abs_builddir@&$ac_abs_builddir&;t t
23801
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
23802
s&@INSTALL@&$ac_INSTALL&;t t
23803
s&@MKDIR_P@&$ac_MKDIR_P&;t t
23804
$ac_datarootdir_hack
23805
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
23807
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
23808
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
23809
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
23810
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23811
which seems to be undefined. Please make sure it is defined." >&5
23812
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
23813
which seems to be undefined. Please make sure it is defined." >&2;}
23817
-) cat "$tmp/out"; rm -f "$tmp/out";;
23818
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
22381
cat >>$CONFIG_STATUS <<\_ACEOF
22384
# CONFIG_HEADER section.
22387
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
22388
# NAME is the cpp macro being defined and VALUE is the value it is being given.
22390
# ac_d sets the value in "#define NAME VALUE" lines.
22391
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
22392
ac_dB='[ ].*$,\1#\2'
23827
# Transform confdefs.h into a sed script `conftest.defines', that
23828
# substitutes the proper values into config.h.in to produce config.h.
23829
rm -f conftest.defines conftest.tail
23830
# First, append a space to every undef/define line, to ease matching.
23831
echo 's/$/ /' >conftest.defines
23832
# Then, protect against being on the right side of a sed subst, or in
23833
# an unquoted here document, in config.status. If some macros were
23834
# called several times there might be several #defines for the same
23835
# symbol, which is useless. But do not sort them, since the last
23836
# AC_DEFINE must be honored.
23837
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23838
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
23839
# NAME is the cpp macro being defined, VALUE is the value it is being given.
23840
# PARAMS is the parameter list in the macro definition--in most cases, it's
23841
# just an empty string.
23842
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
23843
ac_dB='\\)[ (].*,\\1define\\2'
22395
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
22396
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
22397
ac_uB='$,\1#\2define\3'
22401
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
22402
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22404
- | *:- | *:-:* ) # input from stdin
22406
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22407
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22408
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22409
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22410
* ) ac_file_in=$ac_file.in ;;
22413
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
22414
echo "$as_me: creating $ac_file" >&6;}
22416
# First look for the input files in the build tree, otherwise in the
22418
ac_file_inputs=`IFS=:
22419
for f in $ac_file_in; do
22421
-) echo $tmp/stdin ;;
22423
# Absolute (can't be DOS-style, as IFS=:)
22424
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22425
echo "$as_me: error: cannot find input file: $f" >&2;}
22426
{ (exit 1); exit 1; }; }
22427
# Do quote $f, to prevent DOS paths from being IFS'd.
22430
if test -f "$f"; then
22433
elif test -f "$srcdir/$f"; then
22438
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22439
echo "$as_me: error: cannot find input file: $f" >&2;}
22440
{ (exit 1); exit 1; }; }
22443
done` || { (exit 1); exit 1; }
22444
# Remove the trailing spaces.
22445
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
22449
# Transform confdefs.h into two sed scripts, `conftest.defines' and
22450
# `conftest.undefs', that substitutes the proper values into
22451
# config.h.in to produce config.h. The first handles `#define'
22452
# templates, and the second `#undef' templates.
22453
# And first: Protect against being on the right side of a sed subst in
22454
# config.status. Protect against being in an unquoted here document
22455
# in config.status.
22456
rm -f conftest.defines conftest.undefs
22457
# Using a here document instead of a string reduces the quoting nightmare.
22458
# Putting comments in sed scripts is not portable.
22460
# `end' is used to avoid that the second main sed command (meant for
22461
# 0-ary CPP macros) applies to n-ary macro definitions.
22462
# See the Autoconf documentation for `clear'.
22463
cat >confdef2sed.sed <<\_ACEOF
22468
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
22470
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
22473
# If some macros were called several times there might be several times
22474
# the same #defines, which is useless. Nevertheless, we may not want to
22475
# sort them, since we want the *last* AC-DEFINE to be honored.
22476
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
22477
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
22478
rm -f confdef2sed.sed
22480
# This sed command replaces #undef with comments. This is necessary, for
23851
s/^[ ]*#[ ]*define[ ][ ]*//
23856
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
23857
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
23858
' >>conftest.defines
23860
# Remove the space that was appended to ease matching.
23861
# Then replace #undef with comments. This is necessary, for
22481
23862
# example, in the case of _POSIX_SOURCE, which is predefined and required
22482
23863
# on some systems where configure will not decide to define it.
22483
cat >>conftest.undefs <<\_ACEOF
22484
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
23864
# (The regexp can be short, since the line contains either #define or #undef.)
23866
s,^[ #]*u.*,/* & */,' >>conftest.defines
23868
# Break up conftest.defines:
23869
ac_max_sed_lines=50
23871
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
23872
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
23873
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
23875
ac_in='$ac_file_inputs'
23876
ac_out='"$tmp/out1"'
23877
ac_nxt='"$tmp/out2"'
23881
# Write a here document:
23882
cat >>$CONFIG_STATUS <<_ACEOF
23883
# First, check the format of the line:
23884
cat >"\$tmp/defines.sed" <<\\CEOF
23885
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
23886
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
22487
# Break up conftest.defines because some shells have a limit on the size
22488
# of here documents, and old seds have small limits too (100 cmds).
22489
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
22490
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
22491
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
22492
echo ' :' >>$CONFIG_STATUS
22493
rm -f conftest.tail
22494
while grep . conftest.defines >/dev/null
22496
# Write a limited-size here document to $tmp/defines.sed.
22497
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
22498
# Speed up: don't consider the non `#define' lines.
22499
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
22500
# Work around the forget-to-reset-the-flag bug.
22501
echo 't clr' >>$CONFIG_STATUS
22502
echo ': clr' >>$CONFIG_STATUS
22503
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
23890
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
22505
sed -f $tmp/defines.sed $tmp/in >$tmp/out
22507
mv $tmp/out $tmp/in
22509
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
23892
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
23893
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
23894
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
23895
grep . conftest.tail >/dev/null || break
22510
23896
rm -f conftest.defines
22511
23897
mv conftest.tail conftest.defines
22513
rm -f conftest.defines
22514
echo ' fi # grep' >>$CONFIG_STATUS
22515
echo >>$CONFIG_STATUS
22517
# Break up conftest.undefs because some shells have a limit on the size
22518
# of here documents, and old seds have small limits too (100 cmds).
22519
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
22520
rm -f conftest.tail
22521
while grep . conftest.undefs >/dev/null
22523
# Write a limited-size here document to $tmp/undefs.sed.
22524
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
22525
# Speed up: don't consider the non `#undef'
22526
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
22527
# Work around the forget-to-reset-the-flag bug.
22528
echo 't clr' >>$CONFIG_STATUS
22529
echo ': clr' >>$CONFIG_STATUS
22530
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
22532
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
22534
mv $tmp/out $tmp/in
22536
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
22537
rm -f conftest.undefs
22538
mv conftest.tail conftest.undefs
22540
rm -f conftest.undefs
23899
rm -f conftest.defines conftest.tail
23901
echo "ac_result=$ac_in" >>$CONFIG_STATUS
22542
23902
cat >>$CONFIG_STATUS <<\_ACEOF
22543
# Let's still pretend it is `configure' which instantiates (i.e., don't
22544
# use $as_me), people would be surprised to read:
22545
# /* config.h. Generated by config.status. */
22546
if test x"$ac_file" = x-; then
22547
echo "/* Generated by configure. */" >$tmp/config.h
22549
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
22551
cat $tmp/in >>$tmp/config.h
22553
23903
if test x"$ac_file" != x-; then
22554
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
23904
echo "/* $configure_input */" >"$tmp/config.h"
23905
cat "$ac_result" >>"$tmp/config.h"
23906
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
22555
23907
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
22556
23908
echo "$as_me: $ac_file is unchanged" >&6;}
22558
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22559
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22560
X"$ac_file" : 'X\(//\)[^/]' \| \
22561
X"$ac_file" : 'X\(//\)$' \| \
22562
X"$ac_file" : 'X\(/\)' \| \
22563
. : '\(.\)' 2>/dev/null ||
22565
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22566
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22567
/^X\(\/\/\)$/{ s//\1/; q; }
22568
/^X\(\/\).*/{ s//\1/; q; }
22570
{ if $as_mkdir_p; then
22575
while test ! -d "$as_dir"; do
22576
as_dirs="$as_dir $as_dirs"
22577
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22578
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22579
X"$as_dir" : 'X\(//\)[^/]' \| \
22580
X"$as_dir" : 'X\(//\)$' \| \
22581
X"$as_dir" : 'X\(/\)' \| \
22582
. : '\(.\)' 2>/dev/null ||
22584
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22585
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22586
/^X\(\/\/\)$/{ s//\1/; q; }
22587
/^X\(\/\).*/{ s//\1/; q; }
22590
test ! -n "$as_dirs" || mkdir $as_dirs
22591
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22592
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22593
{ (exit 1); exit 1; }; }; }
22595
23910
rm -f $ac_file
22596
mv $tmp/config.h $ac_file
23911
mv "$tmp/config.h" $ac_file
22600
rm -f $tmp/config.h
23914
echo "/* $configure_input */"
22602
23918
# Compute $ac_file's index in $config_headers.
22603
23920
_am_stamp_count=1
22604
23921
for _am_header in $config_headers :; do
22605
23922
case $_am_header in
22606
$ac_file | $ac_file:* )
23923
$_am_arg | $_am_arg:* )
22609
23926
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
22612
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
22613
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22614
X$ac_file : 'X\(//\)[^/]' \| \
22615
X$ac_file : 'X\(//\)$' \| \
22616
X$ac_file : 'X\(/\)' \| \
22617
. : '\(.\)' 2>/dev/null ||
22619
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22620
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22621
/^X\(\/\/\)$/{ s//\1/; q; }
22622
/^X\(\/\).*/{ s//\1/; q; }
22623
s/.*/./; q'`/stamp-h$_am_stamp_count
22626
cat >>$CONFIG_STATUS <<\_ACEOF
22629
# CONFIG_COMMANDS section.
22631
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22632
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22633
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22634
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22635
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22636
X"$ac_dest" : 'X\(//\)[^/]' \| \
22637
X"$ac_dest" : 'X\(//\)$' \| \
22638
X"$ac_dest" : 'X\(/\)' \| \
22639
. : '\(.\)' 2>/dev/null ||
22641
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22642
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22643
/^X\(\/\/\)$/{ s//\1/; q; }
22644
/^X\(\/\).*/{ s//\1/; q; }
22646
{ if $as_mkdir_p; then
22651
while test ! -d "$as_dir"; do
22652
as_dirs="$as_dir $as_dirs"
22653
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22654
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22655
X"$as_dir" : 'X\(//\)[^/]' \| \
22656
X"$as_dir" : 'X\(//\)$' \| \
22657
X"$as_dir" : 'X\(/\)' \| \
22658
. : '\(.\)' 2>/dev/null ||
22660
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22661
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22662
/^X\(\/\/\)$/{ s//\1/; q; }
22663
/^X\(\/\).*/{ s//\1/; q; }
22666
test ! -n "$as_dirs" || mkdir $as_dirs
22667
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22668
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22669
{ (exit 1); exit 1; }; }; }
22673
if test "$ac_dir" != .; then
22674
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22675
# A "../" for each directory in $ac_dir_suffix.
22676
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22678
ac_dir_suffix= ac_top_builddir=
22682
.) # No --srcdir option. We are building in place.
22684
if test -z "$ac_top_builddir"; then
22687
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22689
[\\/]* | ?:[\\/]* ) # Absolute path.
22690
ac_srcdir=$srcdir$ac_dir_suffix;
22691
ac_top_srcdir=$srcdir ;;
22692
*) # Relative path.
22693
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22694
ac_top_srcdir=$ac_top_builddir$srcdir ;;
22697
# Do not use `cd foo && pwd` to compute absolute paths, because
22698
# the directories may not exist.
22700
.) ac_abs_builddir="$ac_dir";;
22703
.) ac_abs_builddir=`pwd`;;
22704
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22705
*) ac_abs_builddir=`pwd`/"$ac_dir";;
22708
case $ac_abs_builddir in
22709
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22711
case ${ac_top_builddir}. in
22712
.) ac_abs_top_builddir=$ac_abs_builddir;;
22713
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22714
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22717
case $ac_abs_builddir in
22718
.) ac_abs_srcdir=$ac_srcdir;;
22721
.) ac_abs_srcdir=$ac_abs_builddir;;
22722
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22723
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22726
case $ac_abs_builddir in
22727
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22729
case $ac_top_srcdir in
22730
.) ac_abs_top_srcdir=$ac_abs_builddir;;
22731
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22732
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22737
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22738
echo "$as_me: executing $ac_dest commands" >&6;}
23929
echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
23930
$as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23931
X"$_am_arg" : 'X\(//\)[^/]' \| \
23932
X"$_am_arg" : 'X\(//\)$' \| \
23933
X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
23935
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23939
/^X\(\/\/\)[^/].*/{
23951
s/.*/./; q'`/stamp-h$_am_stamp_count
23954
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
23955
echo "$as_me: executing $ac_file commands" >&6;}
23960
case $ac_file$ac_mode in
23961
"po-directories":C)
22741
23962
for ac_file in $CONFIG_FILES; do
22742
23963
# Support "outfile[:infile[:infile...]]"
22743
23964
case "$ac_file" in