94
155
# Name of the executable.
95
as_me=`$as_basename "$0" ||
156
as_me=`$as_basename -- "$0" ||
96
157
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97
158
X"$0" : 'X\(//\)$' \| \
98
X"$0" : 'X\(/\)$' \| \
99
. : '\(.\)' 2>/dev/null ||
159
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
101
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
102
/^X\/\(\/\/\)$/{ s//\1/; q; }
103
/^X\/\(\/\).*/{ s//\1/; q; }
107
# PATH needs CR, and LINENO needs CR and PATH.
108
# Avoid depending upon Character Ranges.
109
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
110
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
111
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
112
as_cr_digits='0123456789'
113
as_cr_alnum=$as_cr_Letters$as_cr_digits
115
# The user is always right.
116
if test "${PATH_SEPARATOR+set}" != set; then
117
echo "#! /bin/sh" >conf$$.sh
118
echo "exit 0" >>conf$$.sh
120
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
131
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
132
test "x$as_lineno_1" != "x$as_lineno_2" &&
133
test "x$as_lineno_3" = "x$as_lineno_2" || {
134
# Find who we are. Look in the path if we contain no path at all
137
*[\\/]* ) as_myself=$0 ;;
138
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
142
test -z "$as_dir" && as_dir=.
143
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
148
# We did not find ourselves, most probably we were run as `sh COMMAND'
149
# in which case we are not to be found in the path.
150
if test "x$as_myself" = x; then
153
if test ! -f "$as_myself"; then
154
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
155
{ (exit 1); exit 1; }; }
157
case $CONFIG_SHELL in
161
sed '/^.*\/\([^/][^/]*\)\/*$/{
179
if test "x$CONFIG_SHELL" = x; then
180
if (eval ":") 2>/dev/null; then
186
if test $as_have_required = yes && (eval ":
196
as_func_ret_success () {
199
as_func_ret_failure () {
204
if as_func_success; then
208
echo as_func_success failed.
211
if as_func_failure; then
213
echo as_func_failure succeeded.
216
if as_func_ret_success; then
220
echo as_func_ret_success failed.
223
if as_func_ret_failure; then
225
echo as_func_ret_failure succeeded.
228
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
232
echo positional parameters were not saved.
235
test \$exitcode = 0) || { (exit 1); exit 1; }
240
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
241
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
242
") 2> /dev/null; then
159
246
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
160
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
247
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
163
250
test -z "$as_dir" && as_dir=.
164
for as_base in sh bash ksh sh5; do
167
if ("$as_dir/$as_base" -c '
170
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
171
test "x$as_lineno_1" != "x$as_lineno_2" &&
172
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
173
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
174
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
175
CONFIG_SHELL=$as_dir/$as_base
177
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
253
for as_base in sh bash ksh sh5; do
254
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
261
for as_shell in $as_candidate_shells $SHELL; do
262
# Try only shells that exist, to save several forks.
263
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
264
{ ("$as_shell") 2> /dev/null <<\_ASEOF
265
# Be Bourne compatible
266
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
269
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
270
# is contrary to our usage. Disable this feature.
271
alias -g '${1+"$@"}'='"$@"'
274
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
276
BIN_SH=xpg4; export BIN_SH # for Tru64
277
DUALCASE=1; export DUALCASE # for MKS sh
282
CONFIG_SHELL=$as_shell
284
if { "$as_shell" 2> /dev/null <<\_ASEOF
285
# Be Bourne compatible
286
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
289
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
290
# is contrary to our usage. Disable this feature.
291
alias -g '${1+"$@"}'='"$@"'
294
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
296
BIN_SH=xpg4; export BIN_SH # for Tru64
297
DUALCASE=1; export DUALCASE # for MKS sh
309
as_func_ret_success () {
312
as_func_ret_failure () {
317
if as_func_success; then
321
echo as_func_success failed.
324
if as_func_failure; then
326
echo as_func_failure succeeded.
329
if as_func_ret_success; then
333
echo as_func_ret_success failed.
336
if as_func_ret_failure; then
338
echo as_func_ret_failure succeeded.
341
if ( set x; as_func_ret_success y && test x = "$1" ); then
345
echo positional parameters were not saved.
348
test $exitcode = 0) || { (exit 1); exit 1; }
353
test "x$as_lineno_1" != "x$as_lineno_2" &&
354
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
365
if test "x$CONFIG_SHELL" != x; then
366
for as_var in BASH_ENV ENV
367
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
370
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
374
if test $as_have_required = no; then
375
echo This script requires a shell more modern than all the
376
echo shells that I found on your system. Please install a
377
echo modern shell, or manually run the script under such a
378
echo shell if you do have one.
379
{ (exit 1); exit 1; }
389
(eval "as_func_return () {
398
as_func_ret_success () {
401
as_func_ret_failure () {
406
if as_func_success; then
410
echo as_func_success failed.
413
if as_func_failure; then
415
echo as_func_failure succeeded.
418
if as_func_ret_success; then
422
echo as_func_ret_success failed.
425
if as_func_ret_failure; then
427
echo as_func_ret_failure succeeded.
430
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
434
echo positional parameters were not saved.
437
test \$exitcode = 0") || {
438
echo No shell found that supports shell functions.
439
echo Please tell autoconf@gnu.org about your system,
440
echo including any error possibly output before this
448
test "x$as_lineno_1" != "x$as_lineno_2" &&
449
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
185
451
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
186
452
# uniformly replaced by the line number. The first 'sed' inserts a
187
# line-number line before each line; the second 'sed' does the real
188
# work. The second script uses 'N' to pair each line-number line
189
# with the numbered line, and appends trailing '-' during
190
# substitution so that $LINENO is not a special case at line end.
453
# line-number line after each line using $LINENO; the second 'sed'
454
# does the real work. The second script uses 'N' to pair each
455
# line-number line with the line containing $LINENO, and appends
456
# trailing '-' during substitution so that $LINENO is not a special
191
458
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
192
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
193
sed '=' <$as_myself |
459
# scripts with optimization help from Paolo Bonzini. Blame Lee
460
# E. McMahon (1931-1989) for sed's syntax. :-)
198
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
472
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
201
s,^['$as_cr_digits']*\n,,
202
475
' >$as_me.lineno &&
203
chmod +x $as_me.lineno ||
476
chmod +x "$as_me.lineno" ||
204
477
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
205
478
{ (exit 1); exit 1; }; }
207
480
# Don't try to exec as it changes $[0], causing all sort of problems
208
481
# (the dirname of $[0] is not the place where we might find the
209
# original and so on. Autoconf is especially sensible to this).
482
# original and so on. Autoconf is especially sensitive to this).
211
484
# Exit status is that of the last command.
216
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
217
*c*,-n*) ECHO_N= ECHO_C='
219
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
220
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
489
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
495
ECHO_C= ECHO_N= ECHO_T=
499
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
223
if expr a : '\(a\)' >/dev/null 2>&1; then
506
if expr a : '\(a\)' >/dev/null 2>&1 &&
507
test "X`expr 00001 : '.*\(...\)'`" = X001; then
229
513
rm -f conf$$ conf$$.exe conf$$.file
514
if test -d conf$$.dir; then
515
rm -f conf$$.dir/conf$$.file
230
520
echo >conf$$.file
231
521
if ln -s conf$$.file conf$$ 2>/dev/null; then
232
# We could just check for DJGPP; but this test a) works b) is more generic
233
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
234
if test -f conf$$.exe; then
235
# Don't use ln at all; we don't have any links
523
# ... but there are two gotchas:
524
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526
# In both cases, we have to default to `cp -p'.
527
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
240
529
elif ln conf$$.file conf$$ 2>/dev/null; then
245
rm -f conf$$ conf$$.exe conf$$.file
534
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
535
rmdir conf$$.dir 2>/dev/null
247
537
if mkdir -p . 2>/dev/null; then
2822
3346
echo "$as_me: failed program was:" >&5
2823
3347
sed 's/^/| /' conftest.$ac_ext >&5
2827
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3352
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2828
3353
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2831
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2832
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3356
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3357
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2833
3358
GCC=`test $ac_compiler_gnu = yes && echo yes`
2834
3359
ac_test_CFLAGS=${CFLAGS+set}
2835
3360
ac_save_CFLAGS=$CFLAGS
2837
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2838
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3361
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3362
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2839
3363
if test "${ac_cv_prog_cc_g+set}" = set; then
2840
3364
echo $ECHO_N "(cached) $ECHO_C" >&6
2842
cat >conftest.$ac_ext <<_ACEOF
2845
cat confdefs.h >>conftest.$ac_ext
2846
cat >>conftest.$ac_ext <<_ACEOF
2847
/* end confdefs.h. */
2857
rm -f conftest.$ac_objext
2858
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2859
(eval $ac_compile) 2>conftest.er1
2861
grep -v '^ *+' conftest.er1 >conftest.err
2863
cat conftest.err >&5
2864
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865
(exit $ac_status); } &&
2866
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2867
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2870
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871
(exit $ac_status); }; } &&
2872
{ ac_try='test -s conftest.$ac_objext'
2873
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2876
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877
(exit $ac_status); }; }; then
2880
echo "$as_me: failed program was:" >&5
2881
sed 's/^/| /' conftest.$ac_ext >&5
2885
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2887
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2888
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3366
ac_save_c_werror_flag=$ac_c_werror_flag
3367
ac_c_werror_flag=yes
3370
cat >conftest.$ac_ext <<_ACEOF
3373
cat confdefs.h >>conftest.$ac_ext
3374
cat >>conftest.$ac_ext <<_ACEOF
3375
/* end confdefs.h. */
3385
rm -f conftest.$ac_objext
3386
if { (ac_try="$ac_compile"
3388
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3389
*) ac_try_echo=$ac_try;;
3391
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3392
(eval "$ac_compile") 2>conftest.er1
3394
grep -v '^ *+' conftest.er1 >conftest.err
3396
cat conftest.err >&5
3397
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3398
(exit $ac_status); } &&
3399
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3400
{ (case "(($ac_try" in
3401
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3402
*) ac_try_echo=$ac_try;;
3404
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3405
(eval "$ac_try") 2>&5
3407
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408
(exit $ac_status); }; } &&
3409
{ ac_try='test -s conftest.$ac_objext'
3410
{ (case "(($ac_try" in
3411
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3412
*) ac_try_echo=$ac_try;;
3414
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3415
(eval "$ac_try") 2>&5
3417
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418
(exit $ac_status); }; }; then
3421
echo "$as_me: failed program was:" >&5
3422
sed 's/^/| /' conftest.$ac_ext >&5
3425
cat >conftest.$ac_ext <<_ACEOF
3428
cat confdefs.h >>conftest.$ac_ext
3429
cat >>conftest.$ac_ext <<_ACEOF
3430
/* end confdefs.h. */
3440
rm -f conftest.$ac_objext
3441
if { (ac_try="$ac_compile"
3443
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3444
*) ac_try_echo=$ac_try;;
3446
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3447
(eval "$ac_compile") 2>conftest.er1
3449
grep -v '^ *+' conftest.er1 >conftest.err
3451
cat conftest.err >&5
3452
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453
(exit $ac_status); } &&
3454
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3455
{ (case "(($ac_try" in
3456
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3457
*) ac_try_echo=$ac_try;;
3459
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3460
(eval "$ac_try") 2>&5
3462
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3463
(exit $ac_status); }; } &&
3464
{ ac_try='test -s conftest.$ac_objext'
3465
{ (case "(($ac_try" in
3466
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467
*) ac_try_echo=$ac_try;;
3469
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3470
(eval "$ac_try") 2>&5
3472
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473
(exit $ac_status); }; }; then
3476
echo "$as_me: failed program was:" >&5
3477
sed 's/^/| /' conftest.$ac_ext >&5
3479
ac_c_werror_flag=$ac_save_c_werror_flag
3481
cat >conftest.$ac_ext <<_ACEOF
3484
cat confdefs.h >>conftest.$ac_ext
3485
cat >>conftest.$ac_ext <<_ACEOF
3486
/* end confdefs.h. */
3496
rm -f conftest.$ac_objext
3497
if { (ac_try="$ac_compile"
3499
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3500
*) ac_try_echo=$ac_try;;
3502
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3503
(eval "$ac_compile") 2>conftest.er1
3505
grep -v '^ *+' conftest.er1 >conftest.err
3507
cat conftest.err >&5
3508
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509
(exit $ac_status); } &&
3510
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3511
{ (case "(($ac_try" in
3512
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3513
*) ac_try_echo=$ac_try;;
3515
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3516
(eval "$ac_try") 2>&5
3518
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519
(exit $ac_status); }; } &&
3520
{ ac_try='test -s conftest.$ac_objext'
3521
{ (case "(($ac_try" in
3522
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523
*) ac_try_echo=$ac_try;;
3525
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3526
(eval "$ac_try") 2>&5
3528
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529
(exit $ac_status); }; }; then
3532
echo "$as_me: failed program was:" >&5
3533
sed 's/^/| /' conftest.$ac_ext >&5
3538
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3541
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3545
ac_c_werror_flag=$ac_save_c_werror_flag
3547
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3548
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2889
3549
if test "$ac_test_CFLAGS" = set; then
2890
3550
CFLAGS=$ac_save_CFLAGS
2891
3551
elif test $ac_cv_prog_cc_g = yes; then
2963
# Don't try gcc -ansi; that turns off useful extensions and
2964
# breaks some systems' header files.
2965
# AIX -qlanglvl=ansi
2966
# Ultrix and OSF/1 -std1
2967
# HP-UX 10.20 and later -Ae
2968
# HP-UX older versions -Aa -D_HPUX_SOURCE
2969
# SVR4 -Xc -D__EXTENSIONS__
2970
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3628
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3629
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2972
3631
CC="$ac_save_CC $ac_arg"
2973
3632
rm -f conftest.$ac_objext
2974
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2975
(eval $ac_compile) 2>conftest.er1
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
2977
3641
grep -v '^ *+' conftest.er1 >conftest.err
2978
3642
rm -f conftest.er1
2979
3643
cat conftest.err >&5
2980
3644
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2981
3645
(exit $ac_status); } &&
2982
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2983
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3646
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3647
{ (case "(($ac_try" in
3648
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3649
*) ac_try_echo=$ac_try;;
3651
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3652
(eval "$ac_try") 2>&5
2986
3654
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987
3655
(exit $ac_status); }; } &&
2988
3656
{ ac_try='test -s conftest.$ac_objext'
2989
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3657
{ (case "(($ac_try" in
3658
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659
*) ac_try_echo=$ac_try;;
3661
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3662
(eval "$ac_try") 2>&5
2992
3664
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2993
3665
(exit $ac_status); }; }; then
2994
ac_cv_prog_cc_stdc=$ac_arg
3666
ac_cv_prog_cc_c89=$ac_arg
2997
3668
echo "$as_me: failed program was:" >&5
2998
3669
sed 's/^/| /' conftest.$ac_ext >&5
3001
rm -f conftest.err conftest.$ac_objext
3674
rm -f core conftest.err conftest.$ac_objext
3675
test "x$ac_cv_prog_cc_c89" != "xno" && break
3003
rm -f conftest.$ac_ext conftest.$ac_objext
3677
rm -f conftest.$ac_ext
3008
case "x$ac_cv_prog_cc_stdc" in
3010
echo "$as_me:$LINENO: result: none needed" >&5
3011
echo "${ECHO_T}none needed" >&6 ;;
3682
case "x$ac_cv_prog_cc_c89" in
3684
{ echo "$as_me:$LINENO: result: none needed" >&5
3685
echo "${ECHO_T}none needed" >&6; } ;;
3687
{ echo "$as_me:$LINENO: result: unsupported" >&5
3688
echo "${ECHO_T}unsupported" >&6; } ;;
3013
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3014
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3015
CC="$CC $ac_cv_prog_cc_stdc" ;;
3690
CC="$CC $ac_cv_prog_cc_c89"
3691
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3692
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3018
# Some people use a C++ compiler to compile C. Since we use `exit',
3019
# in C++ we need to declare it. In case someone uses the same compiler
3020
# for both compiling C and C++ we need to have the C++ compiler decide
3021
# the declaration of exit, since it's the most demanding environment.
3022
cat >conftest.$ac_ext <<_ACEOF
3027
rm -f conftest.$ac_objext
3028
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3029
(eval $ac_compile) 2>conftest.er1
3031
grep -v '^ *+' conftest.er1 >conftest.err
3033
cat conftest.err >&5
3034
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035
(exit $ac_status); } &&
3036
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3037
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3040
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041
(exit $ac_status); }; } &&
3042
{ ac_try='test -s conftest.$ac_objext'
3043
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3046
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047
(exit $ac_status); }; }; then
3048
for ac_declaration in \
3050
'extern "C" void std::exit (int) throw (); using std::exit;' \
3051
'extern "C" void std::exit (int); using std::exit;' \
3052
'extern "C" void exit (int) throw ();' \
3053
'extern "C" void exit (int);' \
3056
cat >conftest.$ac_ext <<_ACEOF
3059
cat confdefs.h >>conftest.$ac_ext
3060
cat >>conftest.$ac_ext <<_ACEOF
3061
/* end confdefs.h. */
3072
rm -f conftest.$ac_objext
3073
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3074
(eval $ac_compile) 2>conftest.er1
3076
grep -v '^ *+' conftest.er1 >conftest.err
3078
cat conftest.err >&5
3079
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3080
(exit $ac_status); } &&
3081
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3082
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3085
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3086
(exit $ac_status); }; } &&
3087
{ ac_try='test -s conftest.$ac_objext'
3088
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3091
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092
(exit $ac_status); }; }; then
3095
echo "$as_me: failed program was:" >&5
3096
sed 's/^/| /' conftest.$ac_ext >&5
3100
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3101
cat >conftest.$ac_ext <<_ACEOF
3104
cat confdefs.h >>conftest.$ac_ext
3105
cat >>conftest.$ac_ext <<_ACEOF
3106
/* end confdefs.h. */
3116
rm -f conftest.$ac_objext
3117
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118
(eval $ac_compile) 2>conftest.er1
3120
grep -v '^ *+' conftest.er1 >conftest.err
3122
cat conftest.err >&5
3123
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124
(exit $ac_status); } &&
3125
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3126
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3130
(exit $ac_status); }; } &&
3131
{ ac_try='test -s conftest.$ac_objext'
3132
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3136
(exit $ac_status); }; }; then
3139
echo "$as_me: failed program was:" >&5
3140
sed 's/^/| /' conftest.$ac_ext >&5
3143
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3146
if test -n "$ac_declaration"; then
3147
echo '#ifdef __cplusplus' >>confdefs.h
3148
echo $ac_declaration >>confdefs.h
3149
echo '#endif' >>confdefs.h
3153
echo "$as_me: failed program was:" >&5
3154
sed 's/^/| /' conftest.$ac_ext >&5
3157
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3159
3697
ac_cpp='$CPP $CPPFLAGS'
3160
3698
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3326
3864
SED=$lt_cv_path_SED
3327
echo "$as_me:$LINENO: result: $SED" >&5
3328
echo "${ECHO_T}$SED" >&6
3330
echo "$as_me:$LINENO: checking for egrep" >&5
3331
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3332
if test "${ac_cv_prog_egrep+set}" = set; then
3333
echo $ECHO_N "(cached) $ECHO_C" >&6
3335
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3336
then ac_cv_prog_egrep='grep -E'
3337
else ac_cv_prog_egrep='egrep'
3340
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3341
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3342
EGREP=$ac_cv_prog_egrep
3346
# Check whether --with-gnu-ld or --without-gnu-ld was given.
3865
{ echo "$as_me:$LINENO: result: $SED" >&5
3866
echo "${ECHO_T}$SED" >&6; }
3868
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3869
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3870
if test "${ac_cv_path_GREP+set}" = set; then
3871
echo $ECHO_N "(cached) $ECHO_C" >&6
3873
# Extract the first word of "grep ggrep" to use in msg output
3874
if test -z "$GREP"; then
3875
set dummy grep ggrep; ac_prog_name=$2
3876
if test "${ac_cv_path_GREP+set}" = set; then
3877
echo $ECHO_N "(cached) $ECHO_C" >&6
3879
ac_path_GREP_found=false
3880
# Loop through the user's path and test for each of PROGNAME-LIST
3881
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3882
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3885
test -z "$as_dir" && as_dir=.
3886
for ac_prog in grep ggrep; do
3887
for ac_exec_ext in '' $ac_executable_extensions; do
3888
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3889
{ test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
3890
# Check for GNU ac_path_GREP and select it if it is found.
3891
# Check for GNU $ac_path_GREP
3892
case `"$ac_path_GREP" --version 2>&1` in
3894
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3897
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3900
cat "conftest.in" "conftest.in" >"conftest.tmp"
3901
mv "conftest.tmp" "conftest.in"
3902
cp "conftest.in" "conftest.nl"
3903
echo 'GREP' >> "conftest.nl"
3904
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3905
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3906
ac_count=`expr $ac_count + 1`
3907
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3908
# Best one so far, save it but keep looking for a better one
3909
ac_cv_path_GREP="$ac_path_GREP"
3910
ac_path_GREP_max=$ac_count
3912
# 10*(2^10) chars as input seems more than enough
3913
test $ac_count -gt 10 && break
3915
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3919
$ac_path_GREP_found && break 3
3929
GREP="$ac_cv_path_GREP"
3930
if test -z "$GREP"; then
3931
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3932
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3933
{ (exit 1); exit 1; }; }
3937
ac_cv_path_GREP=$GREP
3942
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3943
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3944
GREP="$ac_cv_path_GREP"
3947
{ echo "$as_me:$LINENO: checking for egrep" >&5
3948
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3949
if test "${ac_cv_path_EGREP+set}" = set; then
3950
echo $ECHO_N "(cached) $ECHO_C" >&6
3952
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3953
then ac_cv_path_EGREP="$GREP -E"
3955
# Extract the first word of "egrep" to use in msg output
3956
if test -z "$EGREP"; then
3957
set dummy egrep; ac_prog_name=$2
3958
if test "${ac_cv_path_EGREP+set}" = set; then
3959
echo $ECHO_N "(cached) $ECHO_C" >&6
3961
ac_path_EGREP_found=false
3962
# Loop through the user's path and test for each of PROGNAME-LIST
3963
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3964
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3967
test -z "$as_dir" && as_dir=.
3968
for ac_prog in egrep; do
3969
for ac_exec_ext in '' $ac_executable_extensions; do
3970
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3971
{ test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
3972
# Check for GNU ac_path_EGREP and select it if it is found.
3973
# Check for GNU $ac_path_EGREP
3974
case `"$ac_path_EGREP" --version 2>&1` in
3976
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3979
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3982
cat "conftest.in" "conftest.in" >"conftest.tmp"
3983
mv "conftest.tmp" "conftest.in"
3984
cp "conftest.in" "conftest.nl"
3985
echo 'EGREP' >> "conftest.nl"
3986
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3987
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3988
ac_count=`expr $ac_count + 1`
3989
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3990
# Best one so far, save it but keep looking for a better one
3991
ac_cv_path_EGREP="$ac_path_EGREP"
3992
ac_path_EGREP_max=$ac_count
3994
# 10*(2^10) chars as input seems more than enough
3995
test $ac_count -gt 10 && break
3997
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4001
$ac_path_EGREP_found && break 3
4011
EGREP="$ac_cv_path_EGREP"
4012
if test -z "$EGREP"; then
4013
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4014
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4015
{ (exit 1); exit 1; }; }
4019
ac_cv_path_EGREP=$EGREP
4025
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4026
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4027
EGREP="$ac_cv_path_EGREP"
4031
# Check whether --with-gnu-ld was given.
3347
4032
if test "${with_gnu_ld+set}" = set; then
3348
withval="$with_gnu_ld"
3349
test "$withval" = no || with_gnu_ld=yes
4033
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3354
4039
if test "$GCC" = yes; then
3355
4040
# Check if gcc -print-prog-name=ld gives a path.
3356
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3357
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4041
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4042
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3360
4045
# gcc leaves a trailing carriage return which upsets mingw
4727
5560
echo "$as_me: failed program was:" >&5
4728
5561
sed 's/^/| /' conftest.$ac_ext >&5
4732
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5566
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4733
5567
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4736
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4737
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5570
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5571
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4738
5572
GXX=`test $ac_compiler_gnu = yes && echo yes`
4739
5573
ac_test_CXXFLAGS=${CXXFLAGS+set}
4740
5574
ac_save_CXXFLAGS=$CXXFLAGS
4742
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4743
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5575
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5576
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4744
5577
if test "${ac_cv_prog_cxx_g+set}" = set; then
4745
5578
echo $ECHO_N "(cached) $ECHO_C" >&6
4747
cat >conftest.$ac_ext <<_ACEOF
4750
cat confdefs.h >>conftest.$ac_ext
4751
cat >>conftest.$ac_ext <<_ACEOF
4752
/* end confdefs.h. */
4762
rm -f conftest.$ac_objext
4763
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4764
(eval $ac_compile) 2>conftest.er1
4766
grep -v '^ *+' conftest.er1 >conftest.err
4768
cat conftest.err >&5
4769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770
(exit $ac_status); } &&
4771
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4772
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4775
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4776
(exit $ac_status); }; } &&
4777
{ ac_try='test -s conftest.$ac_objext'
4778
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4781
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782
(exit $ac_status); }; }; then
4783
ac_cv_prog_cxx_g=yes
4785
echo "$as_me: failed program was:" >&5
4786
sed 's/^/| /' conftest.$ac_ext >&5
4790
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4792
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4793
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5580
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5581
ac_cxx_werror_flag=yes
5584
cat >conftest.$ac_ext <<_ACEOF
5587
cat confdefs.h >>conftest.$ac_ext
5588
cat >>conftest.$ac_ext <<_ACEOF
5589
/* end confdefs.h. */
5599
rm -f conftest.$ac_objext
5600
if { (ac_try="$ac_compile"
5602
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5603
*) ac_try_echo=$ac_try;;
5605
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5606
(eval "$ac_compile") 2>conftest.er1
5608
grep -v '^ *+' conftest.er1 >conftest.err
5610
cat conftest.err >&5
5611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5612
(exit $ac_status); } &&
5613
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5614
{ (case "(($ac_try" in
5615
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5616
*) ac_try_echo=$ac_try;;
5618
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5619
(eval "$ac_try") 2>&5
5621
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5622
(exit $ac_status); }; } &&
5623
{ ac_try='test -s conftest.$ac_objext'
5624
{ (case "(($ac_try" in
5625
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5626
*) ac_try_echo=$ac_try;;
5628
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5629
(eval "$ac_try") 2>&5
5631
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5632
(exit $ac_status); }; }; then
5633
ac_cv_prog_cxx_g=yes
5635
echo "$as_me: failed program was:" >&5
5636
sed 's/^/| /' conftest.$ac_ext >&5
5639
cat >conftest.$ac_ext <<_ACEOF
5642
cat confdefs.h >>conftest.$ac_ext
5643
cat >>conftest.$ac_ext <<_ACEOF
5644
/* end confdefs.h. */
5654
rm -f conftest.$ac_objext
5655
if { (ac_try="$ac_compile"
5657
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5658
*) ac_try_echo=$ac_try;;
5660
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5661
(eval "$ac_compile") 2>conftest.er1
5663
grep -v '^ *+' conftest.er1 >conftest.err
5665
cat conftest.err >&5
5666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5667
(exit $ac_status); } &&
5668
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5669
{ (case "(($ac_try" in
5670
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5671
*) ac_try_echo=$ac_try;;
5673
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5674
(eval "$ac_try") 2>&5
5676
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5677
(exit $ac_status); }; } &&
5678
{ ac_try='test -s conftest.$ac_objext'
5679
{ (case "(($ac_try" in
5680
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5681
*) ac_try_echo=$ac_try;;
5683
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5684
(eval "$ac_try") 2>&5
5686
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5687
(exit $ac_status); }; }; then
5690
echo "$as_me: failed program was:" >&5
5691
sed 's/^/| /' conftest.$ac_ext >&5
5693
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5695
cat >conftest.$ac_ext <<_ACEOF
5698
cat confdefs.h >>conftest.$ac_ext
5699
cat >>conftest.$ac_ext <<_ACEOF
5700
/* end confdefs.h. */
5710
rm -f conftest.$ac_objext
5711
if { (ac_try="$ac_compile"
5713
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5714
*) ac_try_echo=$ac_try;;
5716
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5717
(eval "$ac_compile") 2>conftest.er1
5719
grep -v '^ *+' conftest.er1 >conftest.err
5721
cat conftest.err >&5
5722
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5723
(exit $ac_status); } &&
5724
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5725
{ (case "(($ac_try" in
5726
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5727
*) ac_try_echo=$ac_try;;
5729
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5730
(eval "$ac_try") 2>&5
5732
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5733
(exit $ac_status); }; } &&
5734
{ ac_try='test -s conftest.$ac_objext'
5735
{ (case "(($ac_try" in
5736
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5737
*) ac_try_echo=$ac_try;;
5739
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5740
(eval "$ac_try") 2>&5
5742
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5743
(exit $ac_status); }; }; then
5744
ac_cv_prog_cxx_g=yes
5746
echo "$as_me: failed program was:" >&5
5747
sed 's/^/| /' conftest.$ac_ext >&5
5752
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5755
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5758
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5759
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5761
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5762
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4794
5763
if test "$ac_test_CXXFLAGS" = set; then
4795
5764
CXXFLAGS=$ac_save_CXXFLAGS
4796
5765
elif test $ac_cv_prog_cxx_g = yes; then
18922
20147
echo "$as_me: failed program was:" >&5
18923
20148
sed 's/^/| /' conftest.$ac_ext >&5
18927
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928
20154
ac_cv_c_compiler_gnu=$ac_compiler_gnu
18931
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
18932
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
20157
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
20158
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
18933
20159
GCC=`test $ac_compiler_gnu = yes && echo yes`
18934
20160
ac_test_CFLAGS=${CFLAGS+set}
18935
20161
ac_save_CFLAGS=$CFLAGS
18937
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
18938
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
20162
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
20163
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
18939
20164
if test "${ac_cv_prog_cc_g+set}" = set; then
18940
20165
echo $ECHO_N "(cached) $ECHO_C" >&6
18942
cat >conftest.$ac_ext <<_ACEOF
18945
cat confdefs.h >>conftest.$ac_ext
18946
cat >>conftest.$ac_ext <<_ACEOF
18947
/* end confdefs.h. */
18957
rm -f conftest.$ac_objext
18958
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18959
(eval $ac_compile) 2>conftest.er1
18961
grep -v '^ *+' conftest.er1 >conftest.err
18963
cat conftest.err >&5
18964
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965
(exit $ac_status); } &&
18966
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18967
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968
(eval $ac_try) 2>&5
18970
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971
(exit $ac_status); }; } &&
18972
{ ac_try='test -s conftest.$ac_objext'
18973
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974
(eval $ac_try) 2>&5
18976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977
(exit $ac_status); }; }; then
18978
ac_cv_prog_cc_g=yes
18980
echo "$as_me: failed program was:" >&5
18981
sed 's/^/| /' conftest.$ac_ext >&5
18985
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18987
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
18988
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
20167
ac_save_c_werror_flag=$ac_c_werror_flag
20168
ac_c_werror_flag=yes
20171
cat >conftest.$ac_ext <<_ACEOF
20174
cat confdefs.h >>conftest.$ac_ext
20175
cat >>conftest.$ac_ext <<_ACEOF
20176
/* end confdefs.h. */
20186
rm -f conftest.$ac_objext
20187
if { (ac_try="$ac_compile"
20188
case "(($ac_try" in
20189
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20190
*) ac_try_echo=$ac_try;;
20192
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20193
(eval "$ac_compile") 2>conftest.er1
20195
grep -v '^ *+' conftest.er1 >conftest.err
20197
cat conftest.err >&5
20198
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20199
(exit $ac_status); } &&
20200
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20201
{ (case "(($ac_try" in
20202
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20203
*) ac_try_echo=$ac_try;;
20205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20206
(eval "$ac_try") 2>&5
20208
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20209
(exit $ac_status); }; } &&
20210
{ ac_try='test -s conftest.$ac_objext'
20211
{ (case "(($ac_try" in
20212
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20213
*) ac_try_echo=$ac_try;;
20215
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20216
(eval "$ac_try") 2>&5
20218
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20219
(exit $ac_status); }; }; then
20220
ac_cv_prog_cc_g=yes
20222
echo "$as_me: failed program was:" >&5
20223
sed 's/^/| /' conftest.$ac_ext >&5
20226
cat >conftest.$ac_ext <<_ACEOF
20229
cat confdefs.h >>conftest.$ac_ext
20230
cat >>conftest.$ac_ext <<_ACEOF
20231
/* end confdefs.h. */
20241
rm -f conftest.$ac_objext
20242
if { (ac_try="$ac_compile"
20243
case "(($ac_try" in
20244
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20245
*) ac_try_echo=$ac_try;;
20247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20248
(eval "$ac_compile") 2>conftest.er1
20250
grep -v '^ *+' conftest.er1 >conftest.err
20252
cat conftest.err >&5
20253
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254
(exit $ac_status); } &&
20255
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20256
{ (case "(($ac_try" in
20257
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20258
*) ac_try_echo=$ac_try;;
20260
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20261
(eval "$ac_try") 2>&5
20263
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20264
(exit $ac_status); }; } &&
20265
{ ac_try='test -s conftest.$ac_objext'
20266
{ (case "(($ac_try" in
20267
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20268
*) ac_try_echo=$ac_try;;
20270
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20271
(eval "$ac_try") 2>&5
20273
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20274
(exit $ac_status); }; }; then
20277
echo "$as_me: failed program was:" >&5
20278
sed 's/^/| /' conftest.$ac_ext >&5
20280
ac_c_werror_flag=$ac_save_c_werror_flag
20282
cat >conftest.$ac_ext <<_ACEOF
20285
cat confdefs.h >>conftest.$ac_ext
20286
cat >>conftest.$ac_ext <<_ACEOF
20287
/* end confdefs.h. */
20297
rm -f conftest.$ac_objext
20298
if { (ac_try="$ac_compile"
20299
case "(($ac_try" in
20300
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20301
*) ac_try_echo=$ac_try;;
20303
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20304
(eval "$ac_compile") 2>conftest.er1
20306
grep -v '^ *+' conftest.er1 >conftest.err
20308
cat conftest.err >&5
20309
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20310
(exit $ac_status); } &&
20311
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20312
{ (case "(($ac_try" in
20313
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20314
*) ac_try_echo=$ac_try;;
20316
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20317
(eval "$ac_try") 2>&5
20319
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20320
(exit $ac_status); }; } &&
20321
{ ac_try='test -s conftest.$ac_objext'
20322
{ (case "(($ac_try" in
20323
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20324
*) ac_try_echo=$ac_try;;
20326
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20327
(eval "$ac_try") 2>&5
20329
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20330
(exit $ac_status); }; }; then
20331
ac_cv_prog_cc_g=yes
20333
echo "$as_me: failed program was:" >&5
20334
sed 's/^/| /' conftest.$ac_ext >&5
20339
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20342
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20345
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20346
ac_c_werror_flag=$ac_save_c_werror_flag
20348
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
20349
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
18989
20350
if test "$ac_test_CFLAGS" = set; then
18990
20351
CFLAGS=$ac_save_CFLAGS
18991
20352
elif test $ac_cv_prog_cc_g = yes; then
19063
# Don't try gcc -ansi; that turns off useful extensions and
19064
# breaks some systems' header files.
19065
# AIX -qlanglvl=ansi
19066
# Ultrix and OSF/1 -std1
19067
# HP-UX 10.20 and later -Ae
19068
# HP-UX older versions -Aa -D_HPUX_SOURCE
19069
# SVR4 -Xc -D__EXTENSIONS__
19070
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
20429
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
20430
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
19072
20432
CC="$ac_save_CC $ac_arg"
19073
20433
rm -f conftest.$ac_objext
19074
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19075
(eval $ac_compile) 2>conftest.er1
20434
if { (ac_try="$ac_compile"
20435
case "(($ac_try" in
20436
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20437
*) ac_try_echo=$ac_try;;
20439
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440
(eval "$ac_compile") 2>conftest.er1
19077
20442
grep -v '^ *+' conftest.er1 >conftest.err
19078
20443
rm -f conftest.er1
19079
20444
cat conftest.err >&5
19080
20445
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19081
20446
(exit $ac_status); } &&
19082
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19083
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19084
(eval $ac_try) 2>&5
20447
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20448
{ (case "(($ac_try" in
20449
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20450
*) ac_try_echo=$ac_try;;
20452
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20453
(eval "$ac_try") 2>&5
19086
20455
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087
20456
(exit $ac_status); }; } &&
19088
20457
{ ac_try='test -s conftest.$ac_objext'
19089
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19090
(eval $ac_try) 2>&5
20458
{ (case "(($ac_try" in
20459
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20460
*) ac_try_echo=$ac_try;;
20462
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20463
(eval "$ac_try") 2>&5
19092
20465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19093
20466
(exit $ac_status); }; }; then
19094
ac_cv_prog_cc_stdc=$ac_arg
20467
ac_cv_prog_cc_c89=$ac_arg
19097
20469
echo "$as_me: failed program was:" >&5
19098
20470
sed 's/^/| /' conftest.$ac_ext >&5
19101
rm -f conftest.err conftest.$ac_objext
20475
rm -f core conftest.err conftest.$ac_objext
20476
test "x$ac_cv_prog_cc_c89" != "xno" && break
19103
rm -f conftest.$ac_ext conftest.$ac_objext
20478
rm -f conftest.$ac_ext
19104
20479
CC=$ac_save_CC
19108
case "x$ac_cv_prog_cc_stdc" in
19110
echo "$as_me:$LINENO: result: none needed" >&5
19111
echo "${ECHO_T}none needed" >&6 ;;
20483
case "x$ac_cv_prog_cc_c89" in
20485
{ echo "$as_me:$LINENO: result: none needed" >&5
20486
echo "${ECHO_T}none needed" >&6; } ;;
20488
{ echo "$as_me:$LINENO: result: unsupported" >&5
20489
echo "${ECHO_T}unsupported" >&6; } ;;
19113
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
19114
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
19115
CC="$CC $ac_cv_prog_cc_stdc" ;;
20491
CC="$CC $ac_cv_prog_cc_c89"
20492
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
20493
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
19118
# Some people use a C++ compiler to compile C. Since we use `exit',
19119
# in C++ we need to declare it. In case someone uses the same compiler
19120
# for both compiling C and C++ we need to have the C++ compiler decide
19121
# the declaration of exit, since it's the most demanding environment.
19122
cat >conftest.$ac_ext <<_ACEOF
19123
#ifndef __cplusplus
19127
rm -f conftest.$ac_objext
19128
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19129
(eval $ac_compile) 2>conftest.er1
19131
grep -v '^ *+' conftest.er1 >conftest.err
19133
cat conftest.err >&5
19134
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135
(exit $ac_status); } &&
19136
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19137
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138
(eval $ac_try) 2>&5
19140
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141
(exit $ac_status); }; } &&
19142
{ ac_try='test -s conftest.$ac_objext'
19143
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19144
(eval $ac_try) 2>&5
19146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147
(exit $ac_status); }; }; then
19148
for ac_declaration in \
19150
'extern "C" void std::exit (int) throw (); using std::exit;' \
19151
'extern "C" void std::exit (int); using std::exit;' \
19152
'extern "C" void exit (int) throw ();' \
19153
'extern "C" void exit (int);' \
19156
cat >conftest.$ac_ext <<_ACEOF
19159
cat confdefs.h >>conftest.$ac_ext
19160
cat >>conftest.$ac_ext <<_ACEOF
19161
/* end confdefs.h. */
19163
#include <stdlib.h>
19172
rm -f conftest.$ac_objext
19173
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19174
(eval $ac_compile) 2>conftest.er1
19176
grep -v '^ *+' conftest.er1 >conftest.err
19178
cat conftest.err >&5
19179
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180
(exit $ac_status); } &&
19181
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19182
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19183
(eval $ac_try) 2>&5
19185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19186
(exit $ac_status); }; } &&
19187
{ ac_try='test -s conftest.$ac_objext'
19188
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19189
(eval $ac_try) 2>&5
19191
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19192
(exit $ac_status); }; }; then
19195
echo "$as_me: failed program was:" >&5
19196
sed 's/^/| /' conftest.$ac_ext >&5
19200
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19201
cat >conftest.$ac_ext <<_ACEOF
19204
cat confdefs.h >>conftest.$ac_ext
19205
cat >>conftest.$ac_ext <<_ACEOF
19206
/* end confdefs.h. */
19216
rm -f conftest.$ac_objext
19217
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19218
(eval $ac_compile) 2>conftest.er1
19220
grep -v '^ *+' conftest.er1 >conftest.err
19222
cat conftest.err >&5
19223
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224
(exit $ac_status); } &&
19225
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19226
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19227
(eval $ac_try) 2>&5
19229
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230
(exit $ac_status); }; } &&
19231
{ ac_try='test -s conftest.$ac_objext'
19232
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233
(eval $ac_try) 2>&5
19235
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236
(exit $ac_status); }; }; then
19239
echo "$as_me: failed program was:" >&5
19240
sed 's/^/| /' conftest.$ac_ext >&5
19243
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19246
if test -n "$ac_declaration"; then
19247
echo '#ifdef __cplusplus' >>confdefs.h
19248
echo $ac_declaration >>confdefs.h
19249
echo '#endif' >>confdefs.h
19253
echo "$as_me: failed program was:" >&5
19254
sed 's/^/| /' conftest.$ac_ext >&5
19257
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19259
20498
ac_cpp='$CPP $CPPFLAGS'
19260
20499
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19766
21078
echo "$as_me: failed program was:" >&5
19767
21079
sed 's/^/| /' conftest.$ac_ext >&5
19771
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21084
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19772
21085
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19775
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19776
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
21088
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
21089
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19777
21090
GXX=`test $ac_compiler_gnu = yes && echo yes`
19778
21091
ac_test_CXXFLAGS=${CXXFLAGS+set}
19779
21092
ac_save_CXXFLAGS=$CXXFLAGS
19781
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19782
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
21093
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
21094
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19783
21095
if test "${ac_cv_prog_cxx_g+set}" = set; then
19784
21096
echo $ECHO_N "(cached) $ECHO_C" >&6
19786
cat >conftest.$ac_ext <<_ACEOF
19789
cat confdefs.h >>conftest.$ac_ext
19790
cat >>conftest.$ac_ext <<_ACEOF
19791
/* end confdefs.h. */
19801
rm -f conftest.$ac_objext
19802
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19803
(eval $ac_compile) 2>conftest.er1
19805
grep -v '^ *+' conftest.er1 >conftest.err
19807
cat conftest.err >&5
19808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19809
(exit $ac_status); } &&
19810
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19811
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19812
(eval $ac_try) 2>&5
19814
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19815
(exit $ac_status); }; } &&
19816
{ ac_try='test -s conftest.$ac_objext'
19817
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19818
(eval $ac_try) 2>&5
19820
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19821
(exit $ac_status); }; }; then
19822
ac_cv_prog_cxx_g=yes
19824
echo "$as_me: failed program was:" >&5
19825
sed 's/^/| /' conftest.$ac_ext >&5
19827
ac_cv_prog_cxx_g=no
19829
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19831
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19832
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
21098
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
21099
ac_cxx_werror_flag=yes
21100
ac_cv_prog_cxx_g=no
21102
cat >conftest.$ac_ext <<_ACEOF
21105
cat confdefs.h >>conftest.$ac_ext
21106
cat >>conftest.$ac_ext <<_ACEOF
21107
/* end confdefs.h. */
21117
rm -f conftest.$ac_objext
21118
if { (ac_try="$ac_compile"
21119
case "(($ac_try" in
21120
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21121
*) ac_try_echo=$ac_try;;
21123
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21124
(eval "$ac_compile") 2>conftest.er1
21126
grep -v '^ *+' conftest.er1 >conftest.err
21128
cat conftest.err >&5
21129
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21130
(exit $ac_status); } &&
21131
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21132
{ (case "(($ac_try" in
21133
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21134
*) ac_try_echo=$ac_try;;
21136
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21137
(eval "$ac_try") 2>&5
21139
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21140
(exit $ac_status); }; } &&
21141
{ ac_try='test -s conftest.$ac_objext'
21142
{ (case "(($ac_try" in
21143
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21144
*) ac_try_echo=$ac_try;;
21146
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21147
(eval "$ac_try") 2>&5
21149
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21150
(exit $ac_status); }; }; then
21151
ac_cv_prog_cxx_g=yes
21153
echo "$as_me: failed program was:" >&5
21154
sed 's/^/| /' conftest.$ac_ext >&5
21157
cat >conftest.$ac_ext <<_ACEOF
21160
cat confdefs.h >>conftest.$ac_ext
21161
cat >>conftest.$ac_ext <<_ACEOF
21162
/* end confdefs.h. */
21172
rm -f conftest.$ac_objext
21173
if { (ac_try="$ac_compile"
21174
case "(($ac_try" in
21175
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21176
*) ac_try_echo=$ac_try;;
21178
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21179
(eval "$ac_compile") 2>conftest.er1
21181
grep -v '^ *+' conftest.er1 >conftest.err
21183
cat conftest.err >&5
21184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185
(exit $ac_status); } &&
21186
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21187
{ (case "(($ac_try" in
21188
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21189
*) ac_try_echo=$ac_try;;
21191
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21192
(eval "$ac_try") 2>&5
21194
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195
(exit $ac_status); }; } &&
21196
{ ac_try='test -s conftest.$ac_objext'
21197
{ (case "(($ac_try" in
21198
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21199
*) ac_try_echo=$ac_try;;
21201
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21202
(eval "$ac_try") 2>&5
21204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205
(exit $ac_status); }; }; then
21208
echo "$as_me: failed program was:" >&5
21209
sed 's/^/| /' conftest.$ac_ext >&5
21211
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
21213
cat >conftest.$ac_ext <<_ACEOF
21216
cat confdefs.h >>conftest.$ac_ext
21217
cat >>conftest.$ac_ext <<_ACEOF
21218
/* end confdefs.h. */
21228
rm -f conftest.$ac_objext
21229
if { (ac_try="$ac_compile"
21230
case "(($ac_try" in
21231
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21232
*) ac_try_echo=$ac_try;;
21234
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235
(eval "$ac_compile") 2>conftest.er1
21237
grep -v '^ *+' conftest.er1 >conftest.err
21239
cat conftest.err >&5
21240
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241
(exit $ac_status); } &&
21242
{ ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21243
{ (case "(($ac_try" in
21244
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21245
*) ac_try_echo=$ac_try;;
21247
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21248
(eval "$ac_try") 2>&5
21250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21251
(exit $ac_status); }; } &&
21252
{ ac_try='test -s conftest.$ac_objext'
21253
{ (case "(($ac_try" in
21254
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21255
*) ac_try_echo=$ac_try;;
21257
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21258
(eval "$ac_try") 2>&5
21260
echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261
(exit $ac_status); }; }; then
21262
ac_cv_prog_cxx_g=yes
21264
echo "$as_me: failed program was:" >&5
21265
sed 's/^/| /' conftest.$ac_ext >&5
21270
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21273
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21276
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
21279
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
21280
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19833
21281
if test "$ac_test_CXXFLAGS" = set; then
19834
21282
CXXFLAGS=$ac_save_CXXFLAGS
19835
21283
elif test $ac_cv_prog_cxx_g = yes; then
21900
23527
# Name of the executable.
21901
as_me=`$as_basename "$0" ||
23528
as_me=`$as_basename -- "$0" ||
21902
23529
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21903
23530
X"$0" : 'X\(//\)$' \| \
21904
X"$0" : 'X\(/\)$' \| \
21905
. : '\(.\)' 2>/dev/null ||
23531
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21906
23532
echo X/"$0" |
21907
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
21908
/^X\/\(\/\/\)$/{ s//\1/; q; }
21909
/^X\/\(\/\).*/{ s//\1/; q; }
21913
# PATH needs CR, and LINENO needs CR and PATH.
21914
# Avoid depending upon Character Ranges.
21915
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21916
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21917
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21918
as_cr_digits='0123456789'
21919
as_cr_alnum=$as_cr_Letters$as_cr_digits
21921
# The user is always right.
21922
if test "${PATH_SEPARATOR+set}" != set; then
21923
echo "#! /bin/sh" >conf$$.sh
21924
echo "exit 0" >>conf$$.sh
21926
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21935
as_lineno_1=$LINENO
21936
as_lineno_2=$LINENO
21937
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21938
test "x$as_lineno_1" != "x$as_lineno_2" &&
21939
test "x$as_lineno_3" = "x$as_lineno_2" || {
21940
# Find who we are. Look in the path if we contain no path at all
21943
*[\\/]* ) as_myself=$0 ;;
21944
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21945
for as_dir in $PATH
21948
test -z "$as_dir" && as_dir=.
21949
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21954
# We did not find ourselves, most probably we were run as `sh COMMAND'
21955
# in which case we are not to be found in the path.
21956
if test "x$as_myself" = x; then
21959
if test ! -f "$as_myself"; then
21960
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21961
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21962
{ (exit 1); exit 1; }; }
21964
case $CONFIG_SHELL in
21966
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21967
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21970
test -z "$as_dir" && as_dir=.
21971
for as_base in sh bash ksh sh5; do
21974
if ("$as_dir/$as_base" -c '
21975
as_lineno_1=$LINENO
21976
as_lineno_2=$LINENO
21977
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21978
test "x$as_lineno_1" != "x$as_lineno_2" &&
21979
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21980
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21981
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21982
CONFIG_SHELL=$as_dir/$as_base
21983
export CONFIG_SHELL
21984
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
23533
sed '/^.*\/\([^/][^/]*\)\/*$/{
23552
as_lineno_1=$LINENO
23553
as_lineno_2=$LINENO
23554
test "x$as_lineno_1" != "x$as_lineno_2" &&
23555
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21992
23557
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21993
23558
# uniformly replaced by the line number. The first 'sed' inserts a
21994
# line-number line before each line; the second 'sed' does the real
21995
# work. The second script uses 'N' to pair each line-number line
21996
# with the numbered line, and appends trailing '-' during
21997
# substitution so that $LINENO is not a special case at line end.
23559
# line-number line after each line using $LINENO; the second 'sed'
23560
# does the real work. The second script uses 'N' to pair each
23561
# line-number line with the line containing $LINENO, and appends
23562
# trailing '-' during substitution so that $LINENO is not a special
23563
# case at line end.
21998
23564
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21999
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
22000
sed '=' <$as_myself |
23565
# scripts with optimization help from Paolo Bonzini. Blame Lee
23566
# E. McMahon (1931-1989) for sed's syntax. :-)
22005
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
23578
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
22008
s,^['$as_cr_digits']*\n,,
22009
23581
' >$as_me.lineno &&
22010
chmod +x $as_me.lineno ||
22011
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
22012
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
23582
chmod +x "$as_me.lineno" ||
23583
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
22013
23584
{ (exit 1); exit 1; }; }
22015
23586
# Don't try to exec as it changes $[0], causing all sort of problems
22016
23587
# (the dirname of $[0] is not the place where we might find the
22017
# original and so on. Autoconf is especially sensible to this).
23588
# original and so on. Autoconf is especially sensitive to this).
23589
. "./$as_me.lineno"
22019
23590
# Exit status is that of the last command.
22024
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
22025
*c*,-n*) ECHO_N= ECHO_C='
22027
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
22028
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
23595
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
23601
ECHO_C= ECHO_N= ECHO_T=
23602
case `echo -n x` in
23604
case `echo 'x\c'` in
23605
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
22031
if expr a : '\(a\)' >/dev/null 2>&1; then
23612
if expr a : '\(a\)' >/dev/null 2>&1 &&
23613
test "X`expr 00001 : '.*\(...\)'`" = X001; then
22034
23616
as_expr=false
22037
23619
rm -f conf$$ conf$$.exe conf$$.file
23620
if test -d conf$$.dir; then
23621
rm -f conf$$.dir/conf$$.file
22038
23626
echo >conf$$.file
22039
23627
if ln -s conf$$.file conf$$ 2>/dev/null; then
22040
# We could just check for DJGPP; but this test a) works b) is more generic
22041
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
22042
if test -f conf$$.exe; then
22043
# Don't use ln at all; we don't have any links
23629
# ... but there are two gotchas:
23630
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
23631
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
23632
# In both cases, we have to default to `cp -p'.
23633
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22044
23634
as_ln_s='cp -p'
22048
23635
elif ln conf$$.file conf$$ 2>/dev/null; then
22051
23638
as_ln_s='cp -p'
22053
rm -f conf$$ conf$$.exe conf$$.file
23640
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
23641
rmdir conf$$.dir 2>/dev/null
22055
23643
if mkdir -p . 2>/dev/null; then
22279
23847
# Have a temporary directory for convenience. Make it in the build tree
22280
# simply because there is no reason to put it here, and in addition,
23848
# simply because there is no reason against having it here, and in addition,
22281
23849
# creating and moving files from /tmp can sometimes cause problems.
22282
# Create a temporary directory, and hook for its removal unless debugging.
23850
# Hook for its removal unless debugging.
23851
# Note that there is a small window in which the directory will not be cleaned:
23852
# after its creation but before its name has been assigned to `$tmp'.
22285
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
23856
trap 'exit_status=$?
23857
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
22286
23859
trap '{ (exit 1); exit 1; }' 1 2 13 15
22289
23861
# Create a (secure) tmp directory for tmp files.
22292
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
23864
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22293
23865
test -n "$tmp" && test -d "$tmp"
22296
tmp=./confstat$$-$RANDOM
22297
(umask 077 && mkdir $tmp)
23868
tmp=./conf$$-$RANDOM
23869
(umask 077 && mkdir "$tmp")
22300
23872
echo "$me: cannot create a temporary directory in ." >&2
22301
23873
{ (exit 1); exit 1; }
22306
cat >>$CONFIG_STATUS <<_ACEOF
22309
# CONFIG_FILES section.
23877
# Set up the sed scripts for CONFIG_FILES section.
22312
23880
# No need to generate the scripts if there are no CONFIG_FILES.
22313
23881
# This happens for instance when ./config.status config.h
22314
if test -n "\$CONFIG_FILES"; then
22315
# Protect against being on the right side of a sed subst in config.status.
22316
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
22317
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
22318
s,@SHELL@,$SHELL,;t t
22319
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
22320
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
22321
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
22322
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
22323
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
22324
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
22325
s,@exec_prefix@,$exec_prefix,;t t
22326
s,@prefix@,$prefix,;t t
22327
s,@program_transform_name@,$program_transform_name,;t t
22328
s,@bindir@,$bindir,;t t
22329
s,@sbindir@,$sbindir,;t t
22330
s,@libexecdir@,$libexecdir,;t t
22331
s,@datadir@,$datadir,;t t
22332
s,@sysconfdir@,$sysconfdir,;t t
22333
s,@sharedstatedir@,$sharedstatedir,;t t
22334
s,@localstatedir@,$localstatedir,;t t
22335
s,@libdir@,$libdir,;t t
22336
s,@includedir@,$includedir,;t t
22337
s,@oldincludedir@,$oldincludedir,;t t
22338
s,@infodir@,$infodir,;t t
22339
s,@mandir@,$mandir,;t t
22340
s,@build_alias@,$build_alias,;t t
22341
s,@host_alias@,$host_alias,;t t
22342
s,@target_alias@,$target_alias,;t t
22343
s,@DEFS@,$DEFS,;t t
22344
s,@ECHO_C@,$ECHO_C,;t t
22345
s,@ECHO_N@,$ECHO_N,;t t
22346
s,@ECHO_T@,$ECHO_T,;t t
22347
s,@LIBS@,$LIBS,;t t
22348
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
22349
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
22350
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
22351
s,@CYGPATH_W@,$CYGPATH_W,;t t
22352
s,@PACKAGE@,$PACKAGE,;t t
22353
s,@VERSION@,$VERSION,;t t
22354
s,@ACLOCAL@,$ACLOCAL,;t t
22355
s,@AUTOCONF@,$AUTOCONF,;t t
22356
s,@AUTOMAKE@,$AUTOMAKE,;t t
22357
s,@AUTOHEADER@,$AUTOHEADER,;t t
22358
s,@MAKEINFO@,$MAKEINFO,;t t
22359
s,@install_sh@,$install_sh,;t t
22360
s,@STRIP@,$STRIP,;t t
22361
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
22362
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
22363
s,@mkdir_p@,$mkdir_p,;t t
22365
s,@SET_MAKE@,$SET_MAKE,;t t
22366
s,@am__leading_dot@,$am__leading_dot,;t t
22367
s,@AMTAR@,$AMTAR,;t t
22368
s,@am__tar@,$am__tar,;t t
22369
s,@am__untar@,$am__untar,;t t
22370
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
22371
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
22372
s,@MAINT@,$MAINT,;t t
22373
s,@build@,$build,;t t
22374
s,@build_cpu@,$build_cpu,;t t
22375
s,@build_vendor@,$build_vendor,;t t
22376
s,@build_os@,$build_os,;t t
22377
s,@host@,$host,;t t
22378
s,@host_cpu@,$host_cpu,;t t
22379
s,@host_vendor@,$host_vendor,;t t
22380
s,@host_os@,$host_os,;t t
22382
s,@CFLAGS@,$CFLAGS,;t t
22383
s,@LDFLAGS@,$LDFLAGS,;t t
22384
s,@CPPFLAGS@,$CPPFLAGS,;t t
22385
s,@ac_ct_CC@,$ac_ct_CC,;t t
22386
s,@EXEEXT@,$EXEEXT,;t t
22387
s,@OBJEXT@,$OBJEXT,;t t
22388
s,@DEPDIR@,$DEPDIR,;t t
22389
s,@am__include@,$am__include,;t t
22390
s,@am__quote@,$am__quote,;t t
22391
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
22392
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
22393
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
22394
s,@CCDEPMODE@,$CCDEPMODE,;t t
22395
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
22396
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
22397
s,@EGREP@,$EGREP,;t t
22398
s,@LN_S@,$LN_S,;t t
22399
s,@ECHO@,$ECHO,;t t
22401
s,@ac_ct_AR@,$ac_ct_AR,;t t
22402
s,@RANLIB@,$RANLIB,;t t
22403
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
22406
s,@CXXFLAGS@,$CXXFLAGS,;t t
22407
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
22408
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
22409
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
22410
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
22411
s,@CXXCPP@,$CXXCPP,;t t
22413
s,@FFLAGS@,$FFLAGS,;t t
22414
s,@ac_ct_F77@,$ac_ct_F77,;t t
22415
s,@LIBTOOL@,$LIBTOOL,;t t
22416
s,@CUPS_PPD_PATH@,$CUPS_PPD_PATH,;t t
22417
s,@CUPS_FILTER_PATH@,$CUPS_FILTER_PATH,;t t
22418
s,@CUPS_INSTALL_TRUE@,$CUPS_INSTALL_TRUE,;t t
22419
s,@CUPS_INSTALL_FALSE@,$CUPS_INSTALL_FALSE,;t t
22420
s,@FOOMATIC_INSTALL_TRUE@,$FOOMATIC_INSTALL_TRUE,;t t
22421
s,@FOOMATIC_INSTALL_FALSE@,$FOOMATIC_INSTALL_FALSE,;t t
22422
s,@HPLIP_BUILD_TRUE@,$HPLIP_BUILD_TRUE,;t t
22423
s,@HPLIP_BUILD_FALSE@,$HPLIP_BUILD_FALSE,;t t
22424
s,@LIBOBJS@,$LIBOBJS,;t t
22425
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
22430
cat >>$CONFIG_STATUS <<\_ACEOF
22431
# Split the substitutions into bite-sized pieces for seds with
22432
# small command number limits, like on Digital OSF/1 and HP-UX.
22433
ac_max_sed_lines=48
22434
ac_sed_frag=1 # Number of current file.
22435
ac_beg=1 # First line for current file.
22436
ac_end=$ac_max_sed_lines # Line after last line for current file.
22439
while $ac_more_lines; do
22440
if test $ac_beg -gt 1; then
22441
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22443
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
22445
if test ! -s $tmp/subs.frag; then
22446
ac_more_lines=false
22448
# The purpose of the label and of the branching condition is to
22449
# speed up the sed processing (if there are no `@' at all, there
22450
# is no need to browse any of the substitutions).
22451
# These are the two extra sed commands mentioned above.
22453
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
22454
if test -z "$ac_sed_cmds"; then
22455
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
22457
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
22459
ac_sed_frag=`expr $ac_sed_frag + 1`
22461
ac_end=`expr $ac_end + $ac_max_sed_lines`
22464
if test -z "$ac_sed_cmds"; then
23882
if test -n "$CONFIG_FILES"; then
23889
for ac_last_try in false false false false false :; do
23890
cat >conf$$subs.sed <<_ACEOF
23891
SHELL!$SHELL$ac_delim
23892
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
23893
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
23894
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
23895
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
23896
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
23897
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
23898
exec_prefix!$exec_prefix$ac_delim
23899
prefix!$prefix$ac_delim
23900
program_transform_name!$program_transform_name$ac_delim
23901
bindir!$bindir$ac_delim
23902
sbindir!$sbindir$ac_delim
23903
libexecdir!$libexecdir$ac_delim
23904
datarootdir!$datarootdir$ac_delim
23905
datadir!$datadir$ac_delim
23906
sysconfdir!$sysconfdir$ac_delim
23907
sharedstatedir!$sharedstatedir$ac_delim
23908
localstatedir!$localstatedir$ac_delim
23909
includedir!$includedir$ac_delim
23910
oldincludedir!$oldincludedir$ac_delim
23911
docdir!$docdir$ac_delim
23912
infodir!$infodir$ac_delim
23913
htmldir!$htmldir$ac_delim
23914
dvidir!$dvidir$ac_delim
23915
pdfdir!$pdfdir$ac_delim
23916
psdir!$psdir$ac_delim
23917
libdir!$libdir$ac_delim
23918
localedir!$localedir$ac_delim
23919
mandir!$mandir$ac_delim
23920
DEFS!$DEFS$ac_delim
23921
ECHO_C!$ECHO_C$ac_delim
23922
ECHO_N!$ECHO_N$ac_delim
23923
ECHO_T!$ECHO_T$ac_delim
23924
LIBS!$LIBS$ac_delim
23925
build_alias!$build_alias$ac_delim
23926
host_alias!$host_alias$ac_delim
23927
target_alias!$target_alias$ac_delim
23928
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
23929
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
23930
INSTALL_DATA!$INSTALL_DATA$ac_delim
23931
CYGPATH_W!$CYGPATH_W$ac_delim
23932
PACKAGE!$PACKAGE$ac_delim
23933
VERSION!$VERSION$ac_delim
23934
ACLOCAL!$ACLOCAL$ac_delim
23935
AUTOCONF!$AUTOCONF$ac_delim
23936
AUTOMAKE!$AUTOMAKE$ac_delim
23937
AUTOHEADER!$AUTOHEADER$ac_delim
23938
MAKEINFO!$MAKEINFO$ac_delim
23939
install_sh!$install_sh$ac_delim
23940
STRIP!$STRIP$ac_delim
23941
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
23942
mkdir_p!$mkdir_p$ac_delim
23944
SET_MAKE!$SET_MAKE$ac_delim
23945
am__leading_dot!$am__leading_dot$ac_delim
23946
AMTAR!$AMTAR$ac_delim
23947
am__tar!$am__tar$ac_delim
23948
am__untar!$am__untar$ac_delim
23949
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
23950
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
23951
MAINT!$MAINT$ac_delim
23952
build!$build$ac_delim
23953
build_cpu!$build_cpu$ac_delim
23954
build_vendor!$build_vendor$ac_delim
23955
build_os!$build_os$ac_delim
23956
host!$host$ac_delim
23957
host_cpu!$host_cpu$ac_delim
23958
host_vendor!$host_vendor$ac_delim
23959
host_os!$host_os$ac_delim
23961
CFLAGS!$CFLAGS$ac_delim
23962
LDFLAGS!$LDFLAGS$ac_delim
23963
CPPFLAGS!$CPPFLAGS$ac_delim
23964
ac_ct_CC!$ac_ct_CC$ac_delim
23965
EXEEXT!$EXEEXT$ac_delim
23966
OBJEXT!$OBJEXT$ac_delim
23967
DEPDIR!$DEPDIR$ac_delim
23968
am__include!$am__include$ac_delim
23969
am__quote!$am__quote$ac_delim
23970
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
23971
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
23972
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
23973
CCDEPMODE!$CCDEPMODE$ac_delim
23974
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
23975
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
23976
GREP!$GREP$ac_delim
23977
EGREP!$EGREP$ac_delim
23978
LN_S!$LN_S$ac_delim
23979
ECHO!$ECHO$ac_delim
23981
RANLIB!$RANLIB$ac_delim
23984
CXXFLAGS!$CXXFLAGS$ac_delim
23985
ac_ct_CXX!$ac_ct_CXX$ac_delim
23986
CXXDEPMODE!$CXXDEPMODE$ac_delim
23987
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
23990
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
23992
elif $ac_last_try; then
23993
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
23994
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
23995
{ (exit 1); exit 1; }; }
23997
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24001
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24002
if test -n "$ac_eof"; then
24003
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24004
ac_eof=`expr $ac_eof + 1`
24007
cat >>$CONFIG_STATUS <<_ACEOF
24008
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24009
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24012
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24013
s/^/s,@/; s/!/@,|#_!!_#|/
24016
s/'"$ac_delim"'$/,g/; t
24018
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24019
' >>$CONFIG_STATUS <conf$$subs.sed
24020
rm -f conf$$subs.sed
24021
cat >>$CONFIG_STATUS <<_ACEOF
24027
for ac_last_try in false false false false false :; do
24028
cat >conf$$subs.sed <<_ACEOF
24029
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
24030
CXXCPP!$CXXCPP$ac_delim
24032
FFLAGS!$FFLAGS$ac_delim
24033
ac_ct_F77!$ac_ct_F77$ac_delim
24034
LIBTOOL!$LIBTOOL$ac_delim
24035
CUPS_PPD_PATH!$CUPS_PPD_PATH$ac_delim
24036
CUPS_FILTER_PATH!$CUPS_FILTER_PATH$ac_delim
24037
CUPS_INSTALL_TRUE!$CUPS_INSTALL_TRUE$ac_delim
24038
CUPS_INSTALL_FALSE!$CUPS_INSTALL_FALSE$ac_delim
24039
FOOMATIC_INSTALL_TRUE!$FOOMATIC_INSTALL_TRUE$ac_delim
24040
FOOMATIC_INSTALL_FALSE!$FOOMATIC_INSTALL_FALSE$ac_delim
24041
HPLIP_BUILD_TRUE!$HPLIP_BUILD_TRUE$ac_delim
24042
HPLIP_BUILD_FALSE!$HPLIP_BUILD_FALSE$ac_delim
24043
LIBOBJS!$LIBOBJS$ac_delim
24044
LTLIBOBJS!$LTLIBOBJS$ac_delim
24047
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 16; then
24049
elif $ac_last_try; then
24050
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24051
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24052
{ (exit 1); exit 1; }; }
24054
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
24058
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24059
if test -n "$ac_eof"; then
24060
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
24061
ac_eof=`expr $ac_eof + 1`
24064
cat >>$CONFIG_STATUS <<_ACEOF
24065
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24066
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24069
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24070
s/^/s,@/; s/!/@,|#_!!_#|/
24073
s/'"$ac_delim"'$/,g/; t
24075
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24076
' >>$CONFIG_STATUS <conf$$subs.sed
24077
rm -f conf$$subs.sed
24078
cat >>$CONFIG_STATUS <<_ACEOF
24085
# VPATH may cause trouble with some makes, so we remove $(srcdir),
24086
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24087
# trailing colons and then remove the whole line if VPATH becomes empty
24088
# (actually we leave an empty line to preserve line numbers).
24089
if test "x$srcdir" = x.; then
24090
ac_vpsub='/^[ ]*VPATH[ ]*=/{
24091
s/:*\$(srcdir):*/:/
24092
s/:*\${srcdir}:*/:/
24094
s/^\([^=]*=[ ]*\):*/\1/
24100
cat >>$CONFIG_STATUS <<\_ACEOF
22467
24101
fi # test -n "$CONFIG_FILES"
22470
cat >>$CONFIG_STATUS <<\_ACEOF
22471
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
22472
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
22474
- | *:- | *:-:* ) # input from stdin
22476
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22477
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22478
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
22479
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
22480
* ) ac_file_in=$ac_file.in ;;
22483
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
22484
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
24104
for ac_tag in :F $CONFIG_FILES :C $CONFIG_COMMANDS
24107
:[FHLC]) ac_mode=$ac_tag; continue;;
24109
case $ac_mode$ac_tag in
24111
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24112
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24113
{ (exit 1); exit 1; }; };;
24114
:[FH]-) ac_tag=-:-;;
24115
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
24132
-) ac_f="$tmp/stdin";;
24133
*) # Look for the file first in the build tree, then in the source tree
24134
# (if the path is not absolute). The absolute path cannot be DOS-style,
24135
# because $ac_f cannot contain `:'.
24139
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
24141
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24142
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24143
{ (exit 1); exit 1; }; };;
24145
ac_file_inputs="$ac_file_inputs $ac_f"
24148
# Let's still pretend it is `configure' which instantiates (i.e., don't
24149
# use $as_me), people would be surprised to read:
24150
# /* config.h. Generated by config.status. */
24151
configure_input="Generated from "`IFS=:
24152
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24153
if test x"$ac_file" != x-; then
24154
configure_input="$ac_file. $configure_input"
24155
{ echo "$as_me:$LINENO: creating $ac_file" >&5
24156
echo "$as_me: creating $ac_file" >&6;}
24160
*:-:* | *:-) cat >"$tmp/stdin";;
24165
ac_dir=`$as_dirname -- "$ac_file" ||
22485
24166
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22486
24167
X"$ac_file" : 'X\(//\)[^/]' \| \
22487
24168
X"$ac_file" : 'X\(//\)$' \| \
22488
X"$ac_file" : 'X\(/\)' \| \
22489
. : '\(.\)' 2>/dev/null ||
24169
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22490
24170
echo X"$ac_file" |
22491
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22492
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22493
/^X\(\/\/\)$/{ s//\1/; q; }
22494
/^X\(\/\).*/{ s//\1/; q; }
22496
{ if $as_mkdir_p; then
24171
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24175
/^X\(\/\/\)[^/].*/{
24190
-*) as_dir=./$as_dir;;
24192
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
22501
while test ! -d "$as_dir"; do
22502
as_dirs="$as_dir $as_dirs"
22503
as_dir=`(dirname "$as_dir") 2>/dev/null ||
24196
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
24197
*) as_qdir=$as_dir;;
24199
as_dirs="'$as_qdir' $as_dirs"
24200
as_dir=`$as_dirname -- "$as_dir" ||
22504
24201
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22505
24202
X"$as_dir" : 'X\(//\)[^/]' \| \
22506
24203
X"$as_dir" : 'X\(//\)$' \| \
22507
X"$as_dir" : 'X\(/\)' \| \
22508
. : '\(.\)' 2>/dev/null ||
24204
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22509
24205
echo X"$as_dir" |
22510
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22511
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22512
/^X\(\/\/\)$/{ s//\1/; q; }
22513
/^X\(\/\).*/{ s//\1/; q; }
24206
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24210
/^X\(\/\/\)[^/].*/{
24223
test -d "$as_dir" && break
22516
test ! -n "$as_dirs" || mkdir $as_dirs
22517
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22518
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
24225
test -z "$as_dirs" || eval "mkdir $as_dirs"
24226
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
24227
echo "$as_me: error: cannot create directory $as_dir" >&2;}
22519
24228
{ (exit 1); exit 1; }; }; }
22521
24229
ac_builddir=.
22523
if test "$ac_dir" != .; then
24232
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22524
24234
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22525
# A "../" for each directory in $ac_dir_suffix.
22526
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22528
ac_dir_suffix= ac_top_builddir=
24235
# A ".." for each directory in $ac_dir_suffix.
24236
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
24237
case $ac_top_builddir_sub in
24238
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
24239
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
24242
ac_abs_top_builddir=$ac_pwd
24243
ac_abs_builddir=$ac_pwd$ac_dir_suffix
24244
# for backward compatibility:
24245
ac_top_builddir=$ac_top_build_prefix
22531
24247
case $srcdir in
22532
.) # No --srcdir option. We are building in place.
24248
.) # We are building in place.
22534
if test -z "$ac_top_builddir"; then
22537
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22539
[\\/]* | ?:[\\/]* ) # Absolute path.
24250
ac_top_srcdir=$ac_top_builddir_sub
24251
ac_abs_top_srcdir=$ac_pwd ;;
24252
[\\/]* | ?:[\\/]* ) # Absolute name.
22540
24253
ac_srcdir=$srcdir$ac_dir_suffix;
22541
ac_top_srcdir=$srcdir ;;
22542
*) # Relative path.
22543
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22544
ac_top_srcdir=$ac_top_builddir$srcdir ;;
22547
# Do not use `cd foo && pwd` to compute absolute paths, because
22548
# the directories may not exist.
22550
.) ac_abs_builddir="$ac_dir";;
22553
.) ac_abs_builddir=`pwd`;;
22554
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22555
*) ac_abs_builddir=`pwd`/"$ac_dir";;
22558
case $ac_abs_builddir in
22559
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22561
case ${ac_top_builddir}. in
22562
.) ac_abs_top_builddir=$ac_abs_builddir;;
22563
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22564
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22567
case $ac_abs_builddir in
22568
.) ac_abs_srcdir=$ac_srcdir;;
22571
.) ac_abs_srcdir=$ac_abs_builddir;;
22572
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22573
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22576
case $ac_abs_builddir in
22577
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22579
case $ac_top_srcdir in
22580
.) ac_abs_top_srcdir=$ac_abs_builddir;;
22581
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22582
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
24254
ac_top_srcdir=$srcdir
24255
ac_abs_top_srcdir=$srcdir ;;
24256
*) # Relative name.
24257
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
24258
ac_top_srcdir=$ac_top_build_prefix$srcdir
24259
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
24261
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22587
24270
case $INSTALL in
22588
24271
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22589
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
24272
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22592
# Let's still pretend it is `configure' which instantiates (i.e., don't
22593
# use $as_me), people would be surprised to read:
22594
# /* config.h. Generated by config.status. */
22595
if test x"$ac_file" = x-; then
22598
configure_input="$ac_file. "
22600
configure_input=$configure_input"Generated from `echo $ac_file_in |
22601
sed 's,.*/,,'` by configure."
22603
# First look for the input files in the build tree, otherwise in the
22605
ac_file_inputs=`IFS=:
22606
for f in $ac_file_in; do
22608
-) echo $tmp/stdin ;;
22610
# Absolute (can't be DOS-style, as IFS=:)
22611
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22612
echo "$as_me: error: cannot find input file: $f" >&2;}
22613
{ (exit 1); exit 1; }; }
22616
if test -f "$f"; then
22619
elif test -f "$srcdir/$f"; then
22624
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
22625
echo "$as_me: error: cannot find input file: $f" >&2;}
22626
{ (exit 1); exit 1; }; }
22629
done` || { (exit 1); exit 1; }
22631
if test x"$ac_file" != x-; then
22632
{ echo "$as_me:$LINENO: creating $ac_file" >&5
22633
echo "$as_me: creating $ac_file" >&6;}
24276
cat >>$CONFIG_STATUS <<\_ACEOF
24277
# If the template does not know about datarootdir, expand it.
24278
# FIXME: This hack should be removed a few years after 2.60.
24279
ac_datarootdir_hack=; ac_datarootdir_seen=
24281
case `sed -n '/datarootdir/ {
24290
' $ac_file_inputs` in
24291
*datarootdir*) ac_datarootdir_seen=yes;;
24292
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
24293
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
24294
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
24296
cat >>$CONFIG_STATUS <<_ACEOF
24297
ac_datarootdir_hack='
24298
s&@datadir@&$datadir&g
24299
s&@docdir@&$docdir&g
24300
s&@infodir@&$infodir&g
24301
s&@localedir@&$localedir&g
24302
s&@mandir@&$mandir&g
24303
s&\\\${datarootdir}&$datarootdir&g' ;;
24307
# Neutralize VPATH when `$srcdir' = `.'.
24308
# Shell code in configure.ac might set extrasub.
24309
# FIXME: do we really want to maintain this feature?
22637
24310
cat >>$CONFIG_STATUS <<_ACEOF
22638
24311
sed "$ac_vpsub
22641
24314
cat >>$CONFIG_STATUS <<\_ACEOF
22643
24316
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22644
s,@configure_input@,$configure_input,;t t
22645
s,@srcdir@,$ac_srcdir,;t t
22646
s,@abs_srcdir@,$ac_abs_srcdir,;t t
22647
s,@top_srcdir@,$ac_top_srcdir,;t t
22648
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
22649
s,@builddir@,$ac_builddir,;t t
22650
s,@abs_builddir@,$ac_abs_builddir,;t t
22651
s,@top_builddir@,$ac_top_builddir,;t t
22652
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
22653
s,@INSTALL@,$ac_INSTALL,;t t
22654
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
22656
if test x"$ac_file" != x-; then
22657
mv $tmp/out $ac_file
22665
cat >>$CONFIG_STATUS <<\_ACEOF
22668
# CONFIG_COMMANDS section.
22670
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
22671
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
22672
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
22673
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
22674
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22675
X"$ac_dest" : 'X\(//\)[^/]' \| \
22676
X"$ac_dest" : 'X\(//\)$' \| \
22677
X"$ac_dest" : 'X\(/\)' \| \
22678
. : '\(.\)' 2>/dev/null ||
22680
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22681
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22682
/^X\(\/\/\)$/{ s//\1/; q; }
22683
/^X\(\/\).*/{ s//\1/; q; }
22685
{ if $as_mkdir_p; then
22690
while test ! -d "$as_dir"; do
22691
as_dirs="$as_dir $as_dirs"
22692
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22693
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22694
X"$as_dir" : 'X\(//\)[^/]' \| \
22695
X"$as_dir" : 'X\(//\)$' \| \
22696
X"$as_dir" : 'X\(/\)' \| \
22697
. : '\(.\)' 2>/dev/null ||
22699
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
22700
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
22701
/^X\(\/\/\)$/{ s//\1/; q; }
22702
/^X\(\/\).*/{ s//\1/; q; }
22705
test ! -n "$as_dirs" || mkdir $as_dirs
22706
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
22707
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22708
{ (exit 1); exit 1; }; }; }
22712
if test "$ac_dir" != .; then
22713
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
22714
# A "../" for each directory in $ac_dir_suffix.
22715
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
22717
ac_dir_suffix= ac_top_builddir=
22721
.) # No --srcdir option. We are building in place.
22723
if test -z "$ac_top_builddir"; then
22726
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
22728
[\\/]* | ?:[\\/]* ) # Absolute path.
22729
ac_srcdir=$srcdir$ac_dir_suffix;
22730
ac_top_srcdir=$srcdir ;;
22731
*) # Relative path.
22732
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
22733
ac_top_srcdir=$ac_top_builddir$srcdir ;;
22736
# Do not use `cd foo && pwd` to compute absolute paths, because
22737
# the directories may not exist.
22739
.) ac_abs_builddir="$ac_dir";;
22742
.) ac_abs_builddir=`pwd`;;
22743
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
22744
*) ac_abs_builddir=`pwd`/"$ac_dir";;
22747
case $ac_abs_builddir in
22748
.) ac_abs_top_builddir=${ac_top_builddir}.;;
22750
case ${ac_top_builddir}. in
22751
.) ac_abs_top_builddir=$ac_abs_builddir;;
22752
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
22753
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
22756
case $ac_abs_builddir in
22757
.) ac_abs_srcdir=$ac_srcdir;;
22760
.) ac_abs_srcdir=$ac_abs_builddir;;
22761
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
22762
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
22765
case $ac_abs_builddir in
22766
.) ac_abs_top_srcdir=$ac_top_srcdir;;
22768
case $ac_top_srcdir in
22769
.) ac_abs_top_srcdir=$ac_abs_builddir;;
22770
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
22771
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22776
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
22777
echo "$as_me: executing $ac_dest commands" >&6;}
22779
depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
24317
s&@configure_input@&$configure_input&;t t
24318
s&@top_builddir@&$ac_top_builddir_sub&;t t
24319
s&@srcdir@&$ac_srcdir&;t t
24320
s&@abs_srcdir@&$ac_abs_srcdir&;t t
24321
s&@top_srcdir@&$ac_top_srcdir&;t t
24322
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
24323
s&@builddir@&$ac_builddir&;t t
24324
s&@abs_builddir@&$ac_abs_builddir&;t t
24325
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
24326
s&@INSTALL@&$ac_INSTALL&;t t
24327
$ac_datarootdir_hack
24328
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
24330
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24331
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24332
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
24333
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24334
which seems to be undefined. Please make sure it is defined." >&5
24335
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24336
which seems to be undefined. Please make sure it is defined." >&2;}
24340
-) cat "$tmp/out"; rm -f "$tmp/out";;
24341
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
24346
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
24347
echo "$as_me: executing $ac_file commands" >&6;}
24352
case $ac_file$ac_mode in
24353
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
22780
24354
# Strip MF so we end up with the name of the file.
22781
24355
mf=`echo "$mf" | sed -e 's/:.*$//'`
22782
24356
# Check whether this is an Automake generated Makefile or not.