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
2581
# Don't try gcc -ansi; that turns off useful extensions and
2582
# breaks some systems' header files.
2583
# AIX -qlanglvl=ansi
2584
# Ultrix and OSF/1 -std1
2585
# HP-UX 10.20 and later -Ae
2586
# HP-UX older versions -Aa -D_HPUX_SOURCE
2587
# SVR4 -Xc -D__EXTENSIONS__
2588
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3238
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3239
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2590
3241
CC="$ac_save_CC $ac_arg"
2591
3242
rm -f conftest.$ac_objext
2592
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2593
(eval $ac_compile) 2>conftest.er1
3243
if { (ac_try="$ac_compile"
3245
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3246
*) ac_try_echo=$ac_try;;
3248
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3249
(eval "$ac_compile") 2>conftest.er1
2595
3251
grep -v '^ *+' conftest.er1 >conftest.err
2596
3252
rm -f conftest.er1
2597
3253
cat conftest.err >&5
2598
3254
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2599
(exit $ac_status); } &&
2600
{ ac_try='test -z "$ac_c_werror_flag"
2601
|| test ! -s conftest.err'
2602
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2605
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606
(exit $ac_status); }; } &&
2607
{ ac_try='test -s conftest.$ac_objext'
2608
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2611
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612
(exit $ac_status); }; }; then
2613
ac_cv_prog_cc_stdc=$ac_arg
3255
(exit $ac_status); } && {
3256
test -z "$ac_c_werror_flag" ||
3257
test ! -s conftest.err
3258
} && test -s conftest.$ac_objext; then
3259
ac_cv_prog_cc_c89=$ac_arg
2616
3261
echo "$as_me: failed program was:" >&5
2617
3262
sed 's/^/| /' conftest.$ac_ext >&5
2620
rm -f conftest.err conftest.$ac_objext
3267
rm -f core conftest.err conftest.$ac_objext
3268
test "x$ac_cv_prog_cc_c89" != "xno" && break
2622
rm -f conftest.$ac_ext conftest.$ac_objext
3270
rm -f conftest.$ac_ext
2627
case "x$ac_cv_prog_cc_stdc" in
2629
echo "$as_me:$LINENO: result: none needed" >&5
2630
echo "${ECHO_T}none needed" >&6 ;;
3275
case "x$ac_cv_prog_cc_c89" in
3277
{ echo "$as_me:$LINENO: result: none needed" >&5
3278
echo "${ECHO_T}none needed" >&6; } ;;
3280
{ echo "$as_me:$LINENO: result: unsupported" >&5
3281
echo "${ECHO_T}unsupported" >&6; } ;;
2632
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2633
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2634
CC="$CC $ac_cv_prog_cc_stdc" ;;
3283
CC="$CC $ac_cv_prog_cc_c89"
3284
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3285
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2637
# Some people use a C++ compiler to compile C. Since we use `exit',
2638
# in C++ we need to declare it. In case someone uses the same compiler
2639
# for both compiling C and C++ we need to have the C++ compiler decide
2640
# the declaration of exit, since it's the most demanding environment.
2641
cat >conftest.$ac_ext <<_ACEOF
2646
rm -f conftest.$ac_objext
2647
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2648
(eval $ac_compile) 2>conftest.er1
2650
grep -v '^ *+' conftest.er1 >conftest.err
2652
cat conftest.err >&5
2653
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2654
(exit $ac_status); } &&
2655
{ ac_try='test -z "$ac_c_werror_flag"
2656
|| test ! -s conftest.err'
2657
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2660
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661
(exit $ac_status); }; } &&
2662
{ ac_try='test -s conftest.$ac_objext'
2663
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667
(exit $ac_status); }; }; then
2668
for ac_declaration in \
2670
'extern "C" void std::exit (int) throw (); using std::exit;' \
2671
'extern "C" void std::exit (int); using std::exit;' \
2672
'extern "C" void exit (int) throw ();' \
2673
'extern "C" void exit (int);' \
2676
cat >conftest.$ac_ext <<_ACEOF
2679
cat confdefs.h >>conftest.$ac_ext
2680
cat >>conftest.$ac_ext <<_ACEOF
2681
/* end confdefs.h. */
2692
rm -f conftest.$ac_objext
2693
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2694
(eval $ac_compile) 2>conftest.er1
2696
grep -v '^ *+' conftest.er1 >conftest.err
2698
cat conftest.err >&5
2699
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2700
(exit $ac_status); } &&
2701
{ ac_try='test -z "$ac_c_werror_flag"
2702
|| test ! -s conftest.err'
2703
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707
(exit $ac_status); }; } &&
2708
{ ac_try='test -s conftest.$ac_objext'
2709
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2712
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2713
(exit $ac_status); }; }; then
2716
echo "$as_me: failed program was:" >&5
2717
sed 's/^/| /' conftest.$ac_ext >&5
2721
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2722
cat >conftest.$ac_ext <<_ACEOF
2725
cat confdefs.h >>conftest.$ac_ext
2726
cat >>conftest.$ac_ext <<_ACEOF
2727
/* end confdefs.h. */
2737
rm -f conftest.$ac_objext
2738
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2739
(eval $ac_compile) 2>conftest.er1
2741
grep -v '^ *+' conftest.er1 >conftest.err
2743
cat conftest.err >&5
2744
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2745
(exit $ac_status); } &&
2746
{ ac_try='test -z "$ac_c_werror_flag"
2747
|| test ! -s conftest.err'
2748
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2751
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752
(exit $ac_status); }; } &&
2753
{ ac_try='test -s conftest.$ac_objext'
2754
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2757
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2758
(exit $ac_status); }; }; then
2761
echo "$as_me: failed program was:" >&5
2762
sed 's/^/| /' conftest.$ac_ext >&5
2765
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2768
if test -n "$ac_declaration"; then
2769
echo '#ifdef __cplusplus' >>confdefs.h
2770
echo $ac_declaration >>confdefs.h
2771
echo '#endif' >>confdefs.h
2775
echo "$as_me: failed program was:" >&5
2776
sed 's/^/| /' conftest.$ac_ext >&5
2779
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2781
3290
ac_cpp='$CPP $CPPFLAGS'
2782
3291
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4226
# Don't try gcc -ansi; that turns off useful extensions and
4227
# breaks some systems' header files.
4228
# AIX -qlanglvl=ansi
4229
# Ultrix and OSF/1 -std1
4230
# HP-UX 10.20 and later -Ae
4231
# HP-UX older versions -Aa -D_HPUX_SOURCE
4232
# SVR4 -Xc -D__EXTENSIONS__
4233
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4927
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4928
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4235
4930
CC="$ac_save_CC $ac_arg"
4236
4931
rm -f conftest.$ac_objext
4237
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4238
(eval $ac_compile) 2>conftest.er1
4932
if { (ac_try="$ac_compile"
4934
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4935
*) ac_try_echo=$ac_try;;
4937
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4938
(eval "$ac_compile") 2>conftest.er1
4240
4940
grep -v '^ *+' conftest.er1 >conftest.err
4241
4941
rm -f conftest.er1
4242
4942
cat conftest.err >&5
4243
4943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4244
(exit $ac_status); } &&
4245
{ ac_try='test -z "$ac_c_werror_flag"
4246
|| test ! -s conftest.err'
4247
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4250
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251
(exit $ac_status); }; } &&
4252
{ ac_try='test -s conftest.$ac_objext'
4253
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4256
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257
(exit $ac_status); }; }; then
4258
ac_cv_prog_cc_stdc=$ac_arg
4944
(exit $ac_status); } && {
4945
test -z "$ac_c_werror_flag" ||
4946
test ! -s conftest.err
4947
} && test -s conftest.$ac_objext; then
4948
ac_cv_prog_cc_c89=$ac_arg
4261
4950
echo "$as_me: failed program was:" >&5
4262
4951
sed 's/^/| /' conftest.$ac_ext >&5
4265
rm -f conftest.err conftest.$ac_objext
4956
rm -f core conftest.err conftest.$ac_objext
4957
test "x$ac_cv_prog_cc_c89" != "xno" && break
4267
rm -f conftest.$ac_ext conftest.$ac_objext
4959
rm -f conftest.$ac_ext
4272
case "x$ac_cv_prog_cc_stdc" in
4274
echo "$as_me:$LINENO: result: none needed" >&5
4275
echo "${ECHO_T}none needed" >&6 ;;
4964
case "x$ac_cv_prog_cc_c89" in
4966
{ echo "$as_me:$LINENO: result: none needed" >&5
4967
echo "${ECHO_T}none needed" >&6; } ;;
4969
{ echo "$as_me:$LINENO: result: unsupported" >&5
4970
echo "${ECHO_T}unsupported" >&6; } ;;
4277
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4278
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4279
CC="$CC $ac_cv_prog_cc_stdc" ;;
4972
CC="$CC $ac_cv_prog_cc_c89"
4973
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
4974
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
4282
# Some people use a C++ compiler to compile C. Since we use `exit',
4283
# in C++ we need to declare it. In case someone uses the same compiler
4284
# for both compiling C and C++ we need to have the C++ compiler decide
4285
# the declaration of exit, since it's the most demanding environment.
4286
cat >conftest.$ac_ext <<_ACEOF
4291
rm -f conftest.$ac_objext
4292
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4293
(eval $ac_compile) 2>conftest.er1
4295
grep -v '^ *+' conftest.er1 >conftest.err
4297
cat conftest.err >&5
4298
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299
(exit $ac_status); } &&
4300
{ ac_try='test -z "$ac_c_werror_flag"
4301
|| test ! -s conftest.err'
4302
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4305
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4306
(exit $ac_status); }; } &&
4307
{ ac_try='test -s conftest.$ac_objext'
4308
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4311
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4312
(exit $ac_status); }; }; then
4313
for ac_declaration in \
4315
'extern "C" void std::exit (int) throw (); using std::exit;' \
4316
'extern "C" void std::exit (int); using std::exit;' \
4317
'extern "C" void exit (int) throw ();' \
4318
'extern "C" void exit (int);' \
4321
cat >conftest.$ac_ext <<_ACEOF
4324
cat confdefs.h >>conftest.$ac_ext
4325
cat >>conftest.$ac_ext <<_ACEOF
4326
/* end confdefs.h. */
4337
rm -f conftest.$ac_objext
4338
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4339
(eval $ac_compile) 2>conftest.er1
4341
grep -v '^ *+' conftest.er1 >conftest.err
4343
cat conftest.err >&5
4344
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4345
(exit $ac_status); } &&
4346
{ ac_try='test -z "$ac_c_werror_flag"
4347
|| test ! -s conftest.err'
4348
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4351
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4352
(exit $ac_status); }; } &&
4353
{ ac_try='test -s conftest.$ac_objext'
4354
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4357
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358
(exit $ac_status); }; }; then
4361
echo "$as_me: failed program was:" >&5
4362
sed 's/^/| /' conftest.$ac_ext >&5
4366
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4367
cat >conftest.$ac_ext <<_ACEOF
4370
cat confdefs.h >>conftest.$ac_ext
4371
cat >>conftest.$ac_ext <<_ACEOF
4372
/* end confdefs.h. */
4382
rm -f conftest.$ac_objext
4383
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4384
(eval $ac_compile) 2>conftest.er1
4386
grep -v '^ *+' conftest.er1 >conftest.err
4388
cat conftest.err >&5
4389
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390
(exit $ac_status); } &&
4391
{ ac_try='test -z "$ac_c_werror_flag"
4392
|| test ! -s conftest.err'
4393
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4396
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397
(exit $ac_status); }; } &&
4398
{ ac_try='test -s conftest.$ac_objext'
4399
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4402
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4403
(exit $ac_status); }; }; then
4406
echo "$as_me: failed program was:" >&5
4407
sed 's/^/| /' conftest.$ac_ext >&5
4410
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4413
if test -n "$ac_declaration"; then
4414
echo '#ifdef __cplusplus' >>confdefs.h
4415
echo $ac_declaration >>confdefs.h
4416
echo '#endif' >>confdefs.h
4420
echo "$as_me: failed program was:" >&5
4421
sed 's/^/| /' conftest.$ac_ext >&5
4424
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4426
4979
ac_cpp='$CPP $CPPFLAGS'
4427
4980
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7416
8361
# Have a temporary directory for convenience. Make it in the build tree
7417
# simply because there is no reason to put it here, and in addition,
8362
# simply because there is no reason against having it here, and in addition,
7418
8363
# creating and moving files from /tmp can sometimes cause problems.
7419
# Create a temporary directory, and hook for its removal unless debugging.
8364
# Hook for its removal unless debugging.
8365
# Note that there is a small window in which the directory will not be cleaned:
8366
# after its creation but before its name has been assigned to `$tmp'.
7422
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8370
trap 'exit_status=$?
8371
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7423
8373
trap '{ (exit 1); exit 1; }' 1 2 13 15
7426
8375
# Create a (secure) tmp directory for tmp files.
7429
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8378
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7430
8379
test -n "$tmp" && test -d "$tmp"
7433
tmp=./confstat$$-$RANDOM
7434
(umask 077 && mkdir $tmp)
8382
tmp=./conf$$-$RANDOM
8383
(umask 077 && mkdir "$tmp")
7437
8386
echo "$me: cannot create a temporary directory in ." >&2
7438
8387
{ (exit 1); exit 1; }
7443
cat >>$CONFIG_STATUS <<_ACEOF
7446
# CONFIG_FILES section.
8391
# Set up the sed scripts for CONFIG_FILES section.
7449
8394
# No need to generate the scripts if there are no CONFIG_FILES.
7450
8395
# This happens for instance when ./config.status config.h
7451
if test -n "\$CONFIG_FILES"; then
7452
# Protect against being on the right side of a sed subst in config.status.
7453
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7454
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7455
s,@SHELL@,$SHELL,;t t
7456
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7457
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7458
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7459
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7460
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7461
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7462
s,@exec_prefix@,$exec_prefix,;t t
7463
s,@prefix@,$prefix,;t t
7464
s,@program_transform_name@,$program_transform_name,;t t
7465
s,@bindir@,$bindir,;t t
7466
s,@sbindir@,$sbindir,;t t
7467
s,@libexecdir@,$libexecdir,;t t
7468
s,@datadir@,$datadir,;t t
7469
s,@sysconfdir@,$sysconfdir,;t t
7470
s,@sharedstatedir@,$sharedstatedir,;t t
7471
s,@localstatedir@,$localstatedir,;t t
7472
s,@libdir@,$libdir,;t t
7473
s,@includedir@,$includedir,;t t
7474
s,@oldincludedir@,$oldincludedir,;t t
7475
s,@infodir@,$infodir,;t t
7476
s,@mandir@,$mandir,;t t
7477
s,@build_alias@,$build_alias,;t t
7478
s,@host_alias@,$host_alias,;t t
7479
s,@target_alias@,$target_alias,;t t
7481
s,@ECHO_C@,$ECHO_C,;t t
7482
s,@ECHO_N@,$ECHO_N,;t t
7483
s,@ECHO_T@,$ECHO_T,;t t
7485
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7486
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7487
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7488
s,@CYGPATH_W@,$CYGPATH_W,;t t
7489
s,@PACKAGE@,$PACKAGE,;t t
7490
s,@VERSION@,$VERSION,;t t
7491
s,@ACLOCAL@,$ACLOCAL,;t t
7492
s,@AUTOCONF@,$AUTOCONF,;t t
7493
s,@AUTOMAKE@,$AUTOMAKE,;t t
7494
s,@AUTOHEADER@,$AUTOHEADER,;t t
7495
s,@MAKEINFO@,$MAKEINFO,;t t
7496
s,@install_sh@,$install_sh,;t t
7497
s,@STRIP@,$STRIP,;t t
7498
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7499
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7500
s,@mkdir_p@,$mkdir_p,;t t
7502
s,@SET_MAKE@,$SET_MAKE,;t t
7503
s,@am__leading_dot@,$am__leading_dot,;t t
7504
s,@AMTAR@,$AMTAR,;t t
7505
s,@am__tar@,$am__tar,;t t
7506
s,@am__untar@,$am__untar,;t t
7507
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7508
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7509
s,@MAINT@,$MAINT,;t t
7511
s,@CFLAGS@,$CFLAGS,;t t
7512
s,@LDFLAGS@,$LDFLAGS,;t t
7513
s,@CPPFLAGS@,$CPPFLAGS,;t t
7514
s,@ac_ct_CC@,$ac_ct_CC,;t t
7515
s,@EXEEXT@,$EXEEXT,;t t
7516
s,@OBJEXT@,$OBJEXT,;t t
7517
s,@DEPDIR@,$DEPDIR,;t t
7518
s,@am__include@,$am__include,;t t
7519
s,@am__quote@,$am__quote,;t t
7520
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7521
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7522
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7523
s,@CCDEPMODE@,$CCDEPMODE,;t t
7524
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7525
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7527
s,@EGREP@,$EGREP,;t t
7528
s,@INTLTOOL_DESKTOP_RULE@,$INTLTOOL_DESKTOP_RULE,;t t
7529
s,@INTLTOOL_DIRECTORY_RULE@,$INTLTOOL_DIRECTORY_RULE,;t t
7530
s,@INTLTOOL_KEYS_RULE@,$INTLTOOL_KEYS_RULE,;t t
7531
s,@INTLTOOL_PROP_RULE@,$INTLTOOL_PROP_RULE,;t t
7532
s,@INTLTOOL_OAF_RULE@,$INTLTOOL_OAF_RULE,;t t
7533
s,@INTLTOOL_PONG_RULE@,$INTLTOOL_PONG_RULE,;t t
7534
s,@INTLTOOL_SERVER_RULE@,$INTLTOOL_SERVER_RULE,;t t
7535
s,@INTLTOOL_SHEET_RULE@,$INTLTOOL_SHEET_RULE,;t t
7536
s,@INTLTOOL_SOUNDLIST_RULE@,$INTLTOOL_SOUNDLIST_RULE,;t t
7537
s,@INTLTOOL_UI_RULE@,$INTLTOOL_UI_RULE,;t t
7538
s,@INTLTOOL_XAM_RULE@,$INTLTOOL_XAM_RULE,;t t
7539
s,@INTLTOOL_KBD_RULE@,$INTLTOOL_KBD_RULE,;t t
7540
s,@INTLTOOL_XML_RULE@,$INTLTOOL_XML_RULE,;t t
7541
s,@INTLTOOL_XML_NOMERGE_RULE@,$INTLTOOL_XML_NOMERGE_RULE,;t t
7542
s,@INTLTOOL_CAVES_RULE@,$INTLTOOL_CAVES_RULE,;t t
7543
s,@INTLTOOL_SCHEMAS_RULE@,$INTLTOOL_SCHEMAS_RULE,;t t
7544
s,@INTLTOOL_THEME_RULE@,$INTLTOOL_THEME_RULE,;t t
7545
s,@INTLTOOL_EXTRACT@,$INTLTOOL_EXTRACT,;t t
7546
s,@INTLTOOL_MERGE@,$INTLTOOL_MERGE,;t t
7547
s,@INTLTOOL_UPDATE@,$INTLTOOL_UPDATE,;t t
7548
s,@INTLTOOL_PERL@,$INTLTOOL_PERL,;t t
7549
s,@INTLTOOL_ICONV@,$INTLTOOL_ICONV,;t t
7550
s,@INTLTOOL_MSGFMT@,$INTLTOOL_MSGFMT,;t t
7551
s,@INTLTOOL_MSGMERGE@,$INTLTOOL_MSGMERGE,;t t
7552
s,@INTLTOOL_XGETTEXT@,$INTLTOOL_XGETTEXT,;t t
7553
s,@GETTEXT_PACKAGE@,$GETTEXT_PACKAGE,;t t
7554
s,@USE_NLS@,$USE_NLS,;t t
7555
s,@MSGFMT@,$MSGFMT,;t t
7556
s,@GMSGFMT@,$GMSGFMT,;t t
7557
s,@XGETTEXT@,$XGETTEXT,;t t
7558
s,@CATALOGS@,$CATALOGS,;t t
7559
s,@CATOBJEXT@,$CATOBJEXT,;t t
7560
s,@DATADIRNAME@,$DATADIRNAME,;t t
7561
s,@GMOFILES@,$GMOFILES,;t t
7562
s,@INSTOBJEXT@,$INSTOBJEXT,;t t
7563
s,@INTLLIBS@,$INTLLIBS,;t t
7564
s,@PO_IN_DATADIR_TRUE@,$PO_IN_DATADIR_TRUE,;t t
7565
s,@PO_IN_DATADIR_FALSE@,$PO_IN_DATADIR_FALSE,;t t
7566
s,@POFILES@,$POFILES,;t t
7567
s,@POSUB@,$POSUB,;t t
7568
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
7569
s,@localedir@,$localedir,;t t
7570
s,@XGETTEXT_ARGS@,$XGETTEXT_ARGS,;t t
7571
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
7572
s,@LIBXFCEGUI4_VERSION@,$LIBXFCEGUI4_VERSION,;t t
7573
s,@LIBXFCEGUI4_CFLAGS@,$LIBXFCEGUI4_CFLAGS,;t t
7574
s,@LIBXFCEGUI4_LIBS@,$LIBXFCEGUI4_LIBS,;t t
7575
s,@LIBXFCEGUI4_REQUIRED_VERSION@,$LIBXFCEGUI4_REQUIRED_VERSION,;t t
7576
s,@LIBOBJS@,$LIBOBJS,;t t
7577
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7582
cat >>$CONFIG_STATUS <<\_ACEOF
7583
# Split the substitutions into bite-sized pieces for seds with
7584
# small command number limits, like on Digital OSF/1 and HP-UX.
7586
ac_sed_frag=1 # Number of current file.
7587
ac_beg=1 # First line for current file.
7588
ac_end=$ac_max_sed_lines # Line after last line for current file.
7591
while $ac_more_lines; do
7592
if test $ac_beg -gt 1; then
7593
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7595
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7597
if test ! -s $tmp/subs.frag; then
7600
# The purpose of the label and of the branching condition is to
7601
# speed up the sed processing (if there are no `@' at all, there
7602
# is no need to browse any of the substitutions).
7603
# These are the two extra sed commands mentioned above.
7605
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7606
if test -z "$ac_sed_cmds"; then
7607
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7609
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7611
ac_sed_frag=`expr $ac_sed_frag + 1`
7613
ac_end=`expr $ac_end + $ac_max_sed_lines`
7616
if test -z "$ac_sed_cmds"; then
8396
if test -n "$CONFIG_FILES"; then
8403
for ac_last_try in false false false false false :; do
8404
cat >conf$$subs.sed <<_ACEOF
8405
SHELL!$SHELL$ac_delim
8406
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8407
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8408
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8409
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8410
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8411
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8412
exec_prefix!$exec_prefix$ac_delim
8413
prefix!$prefix$ac_delim
8414
program_transform_name!$program_transform_name$ac_delim
8415
bindir!$bindir$ac_delim
8416
sbindir!$sbindir$ac_delim
8417
libexecdir!$libexecdir$ac_delim
8418
datarootdir!$datarootdir$ac_delim
8419
datadir!$datadir$ac_delim
8420
sysconfdir!$sysconfdir$ac_delim
8421
sharedstatedir!$sharedstatedir$ac_delim
8422
localstatedir!$localstatedir$ac_delim
8423
includedir!$includedir$ac_delim
8424
oldincludedir!$oldincludedir$ac_delim
8425
docdir!$docdir$ac_delim
8426
infodir!$infodir$ac_delim
8427
htmldir!$htmldir$ac_delim
8428
dvidir!$dvidir$ac_delim
8429
pdfdir!$pdfdir$ac_delim
8430
psdir!$psdir$ac_delim
8431
libdir!$libdir$ac_delim
8432
localedir!$localedir$ac_delim
8433
mandir!$mandir$ac_delim
8435
ECHO_C!$ECHO_C$ac_delim
8436
ECHO_N!$ECHO_N$ac_delim
8437
ECHO_T!$ECHO_T$ac_delim
8439
build_alias!$build_alias$ac_delim
8440
host_alias!$host_alias$ac_delim
8441
target_alias!$target_alias$ac_delim
8442
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8443
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8444
INSTALL_DATA!$INSTALL_DATA$ac_delim
8445
am__isrc!$am__isrc$ac_delim
8446
CYGPATH_W!$CYGPATH_W$ac_delim
8447
PACKAGE!$PACKAGE$ac_delim
8448
VERSION!$VERSION$ac_delim
8449
ACLOCAL!$ACLOCAL$ac_delim
8450
AUTOCONF!$AUTOCONF$ac_delim
8451
AUTOMAKE!$AUTOMAKE$ac_delim
8452
AUTOHEADER!$AUTOHEADER$ac_delim
8453
MAKEINFO!$MAKEINFO$ac_delim
8454
install_sh!$install_sh$ac_delim
8455
STRIP!$STRIP$ac_delim
8456
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8457
mkdir_p!$mkdir_p$ac_delim
8459
SET_MAKE!$SET_MAKE$ac_delim
8460
am__leading_dot!$am__leading_dot$ac_delim
8461
AMTAR!$AMTAR$ac_delim
8462
am__tar!$am__tar$ac_delim
8463
am__untar!$am__untar$ac_delim
8464
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8465
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8466
MAINT!$MAINT$ac_delim
8468
CFLAGS!$CFLAGS$ac_delim
8469
LDFLAGS!$LDFLAGS$ac_delim
8470
CPPFLAGS!$CPPFLAGS$ac_delim
8471
ac_ct_CC!$ac_ct_CC$ac_delim
8472
EXEEXT!$EXEEXT$ac_delim
8473
OBJEXT!$OBJEXT$ac_delim
8474
DEPDIR!$DEPDIR$ac_delim
8475
am__include!$am__include$ac_delim
8476
am__quote!$am__quote$ac_delim
8477
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8478
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8479
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8480
CCDEPMODE!$CCDEPMODE$ac_delim
8481
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8482
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8485
EGREP!$EGREP$ac_delim
8486
INTLTOOL_DESKTOP_RULE!$INTLTOOL_DESKTOP_RULE$ac_delim
8487
INTLTOOL_DIRECTORY_RULE!$INTLTOOL_DIRECTORY_RULE$ac_delim
8488
INTLTOOL_KEYS_RULE!$INTLTOOL_KEYS_RULE$ac_delim
8489
INTLTOOL_PROP_RULE!$INTLTOOL_PROP_RULE$ac_delim
8490
INTLTOOL_OAF_RULE!$INTLTOOL_OAF_RULE$ac_delim
8491
INTLTOOL_PONG_RULE!$INTLTOOL_PONG_RULE$ac_delim
8492
INTLTOOL_SERVER_RULE!$INTLTOOL_SERVER_RULE$ac_delim
8493
INTLTOOL_SHEET_RULE!$INTLTOOL_SHEET_RULE$ac_delim
8494
INTLTOOL_SOUNDLIST_RULE!$INTLTOOL_SOUNDLIST_RULE$ac_delim
8495
INTLTOOL_UI_RULE!$INTLTOOL_UI_RULE$ac_delim
8496
INTLTOOL_XAM_RULE!$INTLTOOL_XAM_RULE$ac_delim
8497
INTLTOOL_KBD_RULE!$INTLTOOL_KBD_RULE$ac_delim
8498
INTLTOOL_XML_RULE!$INTLTOOL_XML_RULE$ac_delim
8499
INTLTOOL_XML_NOMERGE_RULE!$INTLTOOL_XML_NOMERGE_RULE$ac_delim
8500
INTLTOOL_CAVES_RULE!$INTLTOOL_CAVES_RULE$ac_delim
8501
INTLTOOL_SCHEMAS_RULE!$INTLTOOL_SCHEMAS_RULE$ac_delim
8504
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8506
elif $ac_last_try; then
8507
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8508
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8509
{ (exit 1); exit 1; }; }
8511
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8515
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8516
if test -n "$ac_eof"; then
8517
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8518
ac_eof=`expr $ac_eof + 1`
8521
cat >>$CONFIG_STATUS <<_ACEOF
8522
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8523
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8526
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8527
s/^/s,@/; s/!/@,|#_!!_#|/
8530
s/'"$ac_delim"'$/,g/; t
8532
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8533
' >>$CONFIG_STATUS <conf$$subs.sed
8534
rm -f conf$$subs.sed
8535
cat >>$CONFIG_STATUS <<_ACEOF
8541
for ac_last_try in false false false false false :; do
8542
cat >conf$$subs.sed <<_ACEOF
8543
INTLTOOL_THEME_RULE!$INTLTOOL_THEME_RULE$ac_delim
8544
INTLTOOL_SERVICE_RULE!$INTLTOOL_SERVICE_RULE$ac_delim
8545
INTLTOOL_EXTRACT!$INTLTOOL_EXTRACT$ac_delim
8546
INTLTOOL_MERGE!$INTLTOOL_MERGE$ac_delim
8547
INTLTOOL_UPDATE!$INTLTOOL_UPDATE$ac_delim
8548
INTLTOOL_PERL!$INTLTOOL_PERL$ac_delim
8549
INTLTOOL_ICONV!$INTLTOOL_ICONV$ac_delim
8550
INTLTOOL_MSGFMT!$INTLTOOL_MSGFMT$ac_delim
8551
INTLTOOL_MSGMERGE!$INTLTOOL_MSGMERGE$ac_delim
8552
INTLTOOL_XGETTEXT!$INTLTOOL_XGETTEXT$ac_delim
8553
ALL_LINGUAS!$ALL_LINGUAS$ac_delim
8554
DATADIRNAME!$DATADIRNAME$ac_delim
8555
GETTEXT_PACKAGE!$GETTEXT_PACKAGE$ac_delim
8556
build!$build$ac_delim
8557
build_cpu!$build_cpu$ac_delim
8558
build_vendor!$build_vendor$ac_delim
8559
build_os!$build_os$ac_delim
8561
host_cpu!$host_cpu$ac_delim
8562
host_vendor!$host_vendor$ac_delim
8563
host_os!$host_os$ac_delim
8564
USE_NLS!$USE_NLS$ac_delim
8565
MSGFMT!$MSGFMT$ac_delim
8566
MSGFMT_OPTS!$MSGFMT_OPTS$ac_delim
8567
GMSGFMT!$GMSGFMT$ac_delim
8568
XGETTEXT!$XGETTEXT$ac_delim
8569
CATALOGS!$CATALOGS$ac_delim
8570
CATOBJEXT!$CATOBJEXT$ac_delim
8571
GMOFILES!$GMOFILES$ac_delim
8572
INSTOBJEXT!$INSTOBJEXT$ac_delim
8573
INTLLIBS!$INTLLIBS$ac_delim
8574
PO_IN_DATADIR_TRUE!$PO_IN_DATADIR_TRUE$ac_delim
8575
PO_IN_DATADIR_FALSE!$PO_IN_DATADIR_FALSE$ac_delim
8576
POFILES!$POFILES$ac_delim
8577
POSUB!$POSUB$ac_delim
8578
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
8579
XGETTEXT_ARGS!$XGETTEXT_ARGS$ac_delim
8580
PKG_CONFIG!$PKG_CONFIG$ac_delim
8581
LIBXFCEGUI4_VERSION!$LIBXFCEGUI4_VERSION$ac_delim
8582
LIBXFCEGUI4_CFLAGS!$LIBXFCEGUI4_CFLAGS$ac_delim
8583
LIBXFCEGUI4_LIBS!$LIBXFCEGUI4_LIBS$ac_delim
8584
LIBXFCEGUI4_REQUIRED_VERSION!$LIBXFCEGUI4_REQUIRED_VERSION$ac_delim
8585
LIBOBJS!$LIBOBJS$ac_delim
8586
LTLIBOBJS!$LTLIBOBJS$ac_delim
8589
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 44; then
8591
elif $ac_last_try; then
8592
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8593
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8594
{ (exit 1); exit 1; }; }
8596
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8600
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8601
if test -n "$ac_eof"; then
8602
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8603
ac_eof=`expr $ac_eof + 1`
8606
cat >>$CONFIG_STATUS <<_ACEOF
8607
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
8608
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8611
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8612
s/^/s,@/; s/!/@,|#_!!_#|/
8615
s/'"$ac_delim"'$/,g/; t
8617
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8618
' >>$CONFIG_STATUS <conf$$subs.sed
8619
rm -f conf$$subs.sed
8620
cat >>$CONFIG_STATUS <<_ACEOF
8627
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8628
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8629
# trailing colons and then remove the whole line if VPATH becomes empty
8630
# (actually we leave an empty line to preserve line numbers).
8631
if test "x$srcdir" = x.; then
8632
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8636
s/^\([^=]*=[ ]*\):*/\1/
8642
cat >>$CONFIG_STATUS <<\_ACEOF
7619
8643
fi # test -n "$CONFIG_FILES"
7622
cat >>$CONFIG_STATUS <<\_ACEOF
7623
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7624
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7626
- | *:- | *:-:* ) # input from stdin
7628
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7629
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7630
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7631
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7632
* ) ac_file_in=$ac_file.in ;;
7635
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7636
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8646
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
8649
:[FHLC]) ac_mode=$ac_tag; continue;;
8651
case $ac_mode$ac_tag in
8653
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8654
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8655
{ (exit 1); exit 1; }; };;
8656
:[FH]-) ac_tag=-:-;;
8657
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8674
-) ac_f="$tmp/stdin";;
8675
*) # Look for the file first in the build tree, then in the source tree
8676
# (if the path is not absolute). The absolute path cannot be DOS-style,
8677
# because $ac_f cannot contain `:'.
8681
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8683
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8684
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8685
{ (exit 1); exit 1; }; };;
8687
ac_file_inputs="$ac_file_inputs $ac_f"
8690
# Let's still pretend it is `configure' which instantiates (i.e., don't
8691
# use $as_me), people would be surprised to read:
8692
# /* config.h. Generated by config.status. */
8693
configure_input="Generated from "`IFS=:
8694
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8695
if test x"$ac_file" != x-; then
8696
configure_input="$ac_file. $configure_input"
8697
{ echo "$as_me:$LINENO: creating $ac_file" >&5
8698
echo "$as_me: creating $ac_file" >&6;}
8702
*:-:* | *:-) cat >"$tmp/stdin";;
8707
ac_dir=`$as_dirname -- "$ac_file" ||
7637
8708
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7638
8709
X"$ac_file" : 'X\(//\)[^/]' \| \
7639
8710
X"$ac_file" : 'X\(//\)$' \| \
7640
X"$ac_file" : 'X\(/\)' \| \
7641
. : '\(.\)' 2>/dev/null ||
8711
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7642
8712
echo X"$ac_file" |
7643
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7644
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7645
/^X\(\/\/\)$/{ s//\1/; q; }
7646
/^X\(\/\).*/{ s//\1/; q; }
7648
{ if $as_mkdir_p; then
8713
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8732
-*) as_dir=./$as_dir;;
8734
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
7653
while test ! -d "$as_dir"; do
7654
as_dirs="$as_dir $as_dirs"
7655
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8738
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8739
*) as_qdir=$as_dir;;
8741
as_dirs="'$as_qdir' $as_dirs"
8742
as_dir=`$as_dirname -- "$as_dir" ||
7656
8743
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7657
8744
X"$as_dir" : 'X\(//\)[^/]' \| \
7658
8745
X"$as_dir" : 'X\(//\)$' \| \
7659
X"$as_dir" : 'X\(/\)' \| \
7660
. : '\(.\)' 2>/dev/null ||
8746
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7661
8747
echo X"$as_dir" |
7662
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7663
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
7664
/^X\(\/\/\)$/{ s//\1/; q; }
7665
/^X\(\/\).*/{ s//\1/; q; }
8748
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8765
test -d "$as_dir" && break
7668
test ! -n "$as_dirs" || mkdir $as_dirs
7669
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7670
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8767
test -z "$as_dirs" || eval "mkdir $as_dirs"
8768
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
8769
echo "$as_me: error: cannot create directory $as_dir" >&2;}
7671
8770
{ (exit 1); exit 1; }; }; }
7675
if test "$ac_dir" != .; then
8774
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7676
8776
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7677
# A "../" for each directory in $ac_dir_suffix.
7678
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7680
ac_dir_suffix= ac_top_builddir=
8777
# A ".." for each directory in $ac_dir_suffix.
8778
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
8779
case $ac_top_builddir_sub in
8780
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
8781
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
8784
ac_abs_top_builddir=$ac_pwd
8785
ac_abs_builddir=$ac_pwd$ac_dir_suffix
8786
# for backward compatibility:
8787
ac_top_builddir=$ac_top_build_prefix
7683
8789
case $srcdir in
7684
.) # No --srcdir option. We are building in place.
8790
.) # We are building in place.
7686
if test -z "$ac_top_builddir"; then
7689
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7691
[\\/]* | ?:[\\/]* ) # Absolute path.
8792
ac_top_srcdir=$ac_top_builddir_sub
8793
ac_abs_top_srcdir=$ac_pwd ;;
8794
[\\/]* | ?:[\\/]* ) # Absolute name.
7692
8795
ac_srcdir=$srcdir$ac_dir_suffix;
7693
ac_top_srcdir=$srcdir ;;
7695
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7696
ac_top_srcdir=$ac_top_builddir$srcdir ;;
7699
# Do not use `cd foo && pwd` to compute absolute paths, because
7700
# the directories may not exist.
7702
.) ac_abs_builddir="$ac_dir";;
7705
.) ac_abs_builddir=`pwd`;;
7706
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7707
*) ac_abs_builddir=`pwd`/"$ac_dir";;
7710
case $ac_abs_builddir in
7711
.) ac_abs_top_builddir=${ac_top_builddir}.;;
7713
case ${ac_top_builddir}. in
7714
.) ac_abs_top_builddir=$ac_abs_builddir;;
7715
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7716
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7719
case $ac_abs_builddir in
7720
.) ac_abs_srcdir=$ac_srcdir;;
7723
.) ac_abs_srcdir=$ac_abs_builddir;;
7724
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7725
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7728
case $ac_abs_builddir in
7729
.) ac_abs_top_srcdir=$ac_top_srcdir;;
7731
case $ac_top_srcdir in
7732
.) ac_abs_top_srcdir=$ac_abs_builddir;;
7733
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7734
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8796
ac_top_srcdir=$srcdir
8797
ac_abs_top_srcdir=$srcdir ;;
8799
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
8800
ac_top_srcdir=$ac_top_build_prefix$srcdir
8801
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
8803
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7739
8812
case $INSTALL in
7740
8813
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7741
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7744
if test x"$ac_file" != x-; then
7745
{ echo "$as_me:$LINENO: creating $ac_file" >&5
7746
echo "$as_me: creating $ac_file" >&6;}
7749
# Let's still pretend it is `configure' which instantiates (i.e., don't
7750
# use $as_me), people would be surprised to read:
7751
# /* config.h. Generated by config.status. */
7752
if test x"$ac_file" = x-; then
7755
configure_input="$ac_file. "
7757
configure_input=$configure_input"Generated from `echo $ac_file_in |
7758
sed 's,.*/,,'` by configure."
7760
# First look for the input files in the build tree, otherwise in the
7762
ac_file_inputs=`IFS=:
7763
for f in $ac_file_in; do
7765
-) echo $tmp/stdin ;;
7767
# Absolute (can't be DOS-style, as IFS=:)
7768
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7769
echo "$as_me: error: cannot find input file: $f" >&2;}
7770
{ (exit 1); exit 1; }; }
7773
if test -f "$f"; then
7776
elif test -f "$srcdir/$f"; then
7781
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7782
echo "$as_me: error: cannot find input file: $f" >&2;}
7783
{ (exit 1); exit 1; }; }
7786
done` || { (exit 1); exit 1; }
8814
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8818
[\\/$]* | ?:[\\/]* ) ;;
8819
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
8823
cat >>$CONFIG_STATUS <<\_ACEOF
8824
# If the template does not know about datarootdir, expand it.
8825
# FIXME: This hack should be removed a few years after 2.60.
8826
ac_datarootdir_hack=; ac_datarootdir_seen=
8828
case `sed -n '/datarootdir/ {
8837
' $ac_file_inputs` in
8838
*datarootdir*) ac_datarootdir_seen=yes;;
8839
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
8840
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8841
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8843
cat >>$CONFIG_STATUS <<_ACEOF
8844
ac_datarootdir_hack='
8845
s&@datadir@&$datadir&g
8846
s&@docdir@&$docdir&g
8847
s&@infodir@&$infodir&g
8848
s&@localedir@&$localedir&g
8849
s&@mandir@&$mandir&g
8850
s&\\\${datarootdir}&$datarootdir&g' ;;
8854
# Neutralize VPATH when `$srcdir' = `.'.
8855
# Shell code in configure.ac might set extrasub.
8856
# FIXME: do we really want to maintain this feature?
7788
8857
cat >>$CONFIG_STATUS <<_ACEOF
7792
8861
cat >>$CONFIG_STATUS <<\_ACEOF
7794
8863
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7795
s,@configure_input@,$configure_input,;t t
7796
s,@srcdir@,$ac_srcdir,;t t
7797
s,@abs_srcdir@,$ac_abs_srcdir,;t t
7798
s,@top_srcdir@,$ac_top_srcdir,;t t
7799
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7800
s,@builddir@,$ac_builddir,;t t
7801
s,@abs_builddir@,$ac_abs_builddir,;t t
7802
s,@top_builddir@,$ac_top_builddir,;t t
7803
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7804
s,@INSTALL@,$ac_INSTALL,;t t
7805
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7807
if test x"$ac_file" != x-; then
7808
mv $tmp/out $ac_file
8864
s&@configure_input@&$configure_input&;t t
8865
s&@top_builddir@&$ac_top_builddir_sub&;t t
8866
s&@srcdir@&$ac_srcdir&;t t
8867
s&@abs_srcdir@&$ac_abs_srcdir&;t t
8868
s&@top_srcdir@&$ac_top_srcdir&;t t
8869
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
8870
s&@builddir@&$ac_builddir&;t t
8871
s&@abs_builddir@&$ac_abs_builddir&;t t
8872
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
8873
s&@INSTALL@&$ac_INSTALL&;t t
8874
s&@MKDIR_P@&$ac_MKDIR_P&;t t
8875
$ac_datarootdir_hack
8876
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
8878
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8879
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
8880
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
8881
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8882
which seems to be undefined. Please make sure it is defined." >&5
8883
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
8884
which seems to be undefined. Please make sure it is defined." >&2;}
8888
-) cat "$tmp/out"; rm -f "$tmp/out";;
8889
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
7816
cat >>$CONFIG_STATUS <<\_ACEOF
7819
# CONFIG_HEADER section.
7822
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7823
# NAME is the cpp macro being defined and VALUE is the value it is being given.
7825
# ac_d sets the value in "#define NAME VALUE" lines.
7826
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7827
ac_dB='[ ].*$,\1#\2'
8898
# Transform confdefs.h into a sed script `conftest.defines', that
8899
# substitutes the proper values into config.h.in to produce config.h.
8900
rm -f conftest.defines conftest.tail
8901
# First, append a space to every undef/define line, to ease matching.
8902
echo 's/$/ /' >conftest.defines
8903
# Then, protect against being on the right side of a sed subst, or in
8904
# an unquoted here document, in config.status. If some macros were
8905
# called several times there might be several #defines for the same
8906
# symbol, which is useless. But do not sort them, since the last
8907
# AC_DEFINE must be honored.
8908
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8909
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
8910
# NAME is the cpp macro being defined, VALUE is the value it is being given.
8911
# PARAMS is the parameter list in the macro definition--in most cases, it's
8912
# just an empty string.
8913
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
8914
ac_dB='\\)[ (].*,\\1define\\2'
7830
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7831
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7832
ac_uB='$,\1#\2define\3'
7836
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7837
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7839
- | *:- | *:-:* ) # input from stdin
7841
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7842
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7843
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7844
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7845
* ) ac_file_in=$ac_file.in ;;
7848
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7849
echo "$as_me: creating $ac_file" >&6;}
7851
# First look for the input files in the build tree, otherwise in the
7853
ac_file_inputs=`IFS=:
7854
for f in $ac_file_in; do
7856
-) echo $tmp/stdin ;;
7858
# Absolute (can't be DOS-style, as IFS=:)
7859
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7860
echo "$as_me: error: cannot find input file: $f" >&2;}
7861
{ (exit 1); exit 1; }; }
7862
# Do quote $f, to prevent DOS paths from being IFS'd.
7865
if test -f "$f"; then
7868
elif test -f "$srcdir/$f"; then
7873
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7874
echo "$as_me: error: cannot find input file: $f" >&2;}
7875
{ (exit 1); exit 1; }; }
7878
done` || { (exit 1); exit 1; }
7879
# Remove the trailing spaces.
7880
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7884
# Transform confdefs.h into two sed scripts, `conftest.defines' and
7885
# `conftest.undefs', that substitutes the proper values into
7886
# config.h.in to produce config.h. The first handles `#define'
7887
# templates, and the second `#undef' templates.
7888
# And first: Protect against being on the right side of a sed subst in
7889
# config.status. Protect against being in an unquoted here document
7891
rm -f conftest.defines conftest.undefs
7892
# Using a here document instead of a string reduces the quoting nightmare.
7893
# Putting comments in sed scripts is not portable.
7895
# `end' is used to avoid that the second main sed command (meant for
7896
# 0-ary CPP macros) applies to n-ary macro definitions.
7897
# See the Autoconf documentation for `clear'.
7898
cat >confdef2sed.sed <<\_ACEOF
7903
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7905
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7908
# If some macros were called several times there might be several times
7909
# the same #defines, which is useless. Nevertheless, we may not want to
7910
# sort them, since we want the *last* AC-DEFINE to be honored.
7911
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7912
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7913
rm -f confdef2sed.sed
7915
# This sed command replaces #undef with comments. This is necessary, for
8922
s/^[ ]*#[ ]*define[ ][ ]*//
8927
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
8928
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
8929
' >>conftest.defines
8931
# Remove the space that was appended to ease matching.
8932
# Then replace #undef with comments. This is necessary, for
7916
8933
# example, in the case of _POSIX_SOURCE, which is predefined and required
7917
8934
# on some systems where configure will not decide to define it.
7918
cat >>conftest.undefs <<\_ACEOF
7919
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8935
# (The regexp can be short, since the line contains either #define or #undef.)
8937
s,^[ #]*u.*,/* & */,' >>conftest.defines
8939
# Break up conftest.defines:
8942
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
8943
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
8944
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
8946
ac_in='$ac_file_inputs'
8947
ac_out='"$tmp/out1"'
8948
ac_nxt='"$tmp/out2"'
8952
# Write a here document:
8953
cat >>$CONFIG_STATUS <<_ACEOF
8954
# First, check the format of the line:
8955
cat >"\$tmp/defines.sed" <<\\CEOF
8956
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
8957
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
7922
# Break up conftest.defines because some shells have a limit on the size
7923
# of here documents, and old seds have small limits too (100 cmds).
7924
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7925
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7926
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7927
echo ' :' >>$CONFIG_STATUS
7929
while grep . conftest.defines >/dev/null
7931
# Write a limited-size here document to $tmp/defines.sed.
7932
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7933
# Speed up: don't consider the non `#define' lines.
7934
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7935
# Work around the forget-to-reset-the-flag bug.
7936
echo 't clr' >>$CONFIG_STATUS
7937
echo ': clr' >>$CONFIG_STATUS
7938
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
8961
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
7940
sed -f $tmp/defines.sed $tmp/in >$tmp/out
7944
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
8963
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
8964
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
8965
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
8966
grep . conftest.tail >/dev/null || break
7945
8967
rm -f conftest.defines
7946
8968
mv conftest.tail conftest.defines
7948
rm -f conftest.defines
7949
echo ' fi # grep' >>$CONFIG_STATUS
7950
echo >>$CONFIG_STATUS
7952
# Break up conftest.undefs because some shells have a limit on the size
7953
# of here documents, and old seds have small limits too (100 cmds).
7954
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7956
while grep . conftest.undefs >/dev/null
7958
# Write a limited-size here document to $tmp/undefs.sed.
7959
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7960
# Speed up: don't consider the non `#undef'
7961
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7962
# Work around the forget-to-reset-the-flag bug.
7963
echo 't clr' >>$CONFIG_STATUS
7964
echo ': clr' >>$CONFIG_STATUS
7965
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7967
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7971
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7972
rm -f conftest.undefs
7973
mv conftest.tail conftest.undefs
7975
rm -f conftest.undefs
8970
rm -f conftest.defines conftest.tail
8972
echo "ac_result=$ac_in" >>$CONFIG_STATUS
7977
8973
cat >>$CONFIG_STATUS <<\_ACEOF
7978
# Let's still pretend it is `configure' which instantiates (i.e., don't
7979
# use $as_me), people would be surprised to read:
7980
# /* config.h. Generated by config.status. */
7981
if test x"$ac_file" = x-; then
7982
echo "/* Generated by configure. */" >$tmp/config.h
7984
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7986
cat $tmp/in >>$tmp/config.h
7988
8974
if test x"$ac_file" != x-; then
7989
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
8975
echo "/* $configure_input */" >"$tmp/config.h"
8976
cat "$ac_result" >>"$tmp/config.h"
8977
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
7990
8978
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7991
8979
echo "$as_me: $ac_file is unchanged" >&6;}
7993
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7994
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7995
X"$ac_file" : 'X\(//\)[^/]' \| \
7996
X"$ac_file" : 'X\(//\)$' \| \
7997
X"$ac_file" : 'X\(/\)' \| \
7998
. : '\(.\)' 2>/dev/null ||
8000
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8001
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8002
/^X\(\/\/\)$/{ s//\1/; q; }
8003
/^X\(\/\).*/{ s//\1/; q; }
8005
{ if $as_mkdir_p; then
8010
while test ! -d "$as_dir"; do
8011
as_dirs="$as_dir $as_dirs"
8012
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8013
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8014
X"$as_dir" : 'X\(//\)[^/]' \| \
8015
X"$as_dir" : 'X\(//\)$' \| \
8016
X"$as_dir" : 'X\(/\)' \| \
8017
. : '\(.\)' 2>/dev/null ||
8019
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8020
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8021
/^X\(\/\/\)$/{ s//\1/; q; }
8022
/^X\(\/\).*/{ s//\1/; q; }
8025
test ! -n "$as_dirs" || mkdir $as_dirs
8026
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8027
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8028
{ (exit 1); exit 1; }; }; }
8031
mv $tmp/config.h $ac_file
8982
mv "$tmp/config.h" $ac_file
8985
echo "/* $configure_input */"
8037
8989
# Compute $ac_file's index in $config_headers.
8038
8990
_am_stamp_count=1
8039
8991
for _am_header in $config_headers :; do