65
126
# Name of the executable.
66
as_me=`$as_basename "$0" ||
127
as_me=`$as_basename -- "$0" ||
67
128
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
129
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
130
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73
/^X\/\(\/\/\)$/{ s//\1/; q; }
74
/^X\/\(\/\).*/{ s//\1/; q; }
78
# PATH needs CR, and LINENO needs CR and PATH.
79
# Avoid depending upon Character Ranges.
80
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83
as_cr_digits='0123456789'
84
as_cr_alnum=$as_cr_Letters$as_cr_digits
86
# The user is always right.
87
if test "${PATH_SEPARATOR+set}" != set; then
88
echo "#! /bin/sh" >conf$$.sh
89
echo "exit 0" >>conf$$.sh
91
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103
test "x$as_lineno_1" != "x$as_lineno_2" &&
104
test "x$as_lineno_3" = "x$as_lineno_2" || {
105
# Find who we are. Look in the path if we contain no path at all
108
*[\\/]* ) as_myself=$0 ;;
109
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113
test -z "$as_dir" && as_dir=.
114
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119
# We did not find ourselves, most probably we were run as `sh COMMAND'
120
# in which case we are not to be found in the path.
121
if test "x$as_myself" = x; then
124
if test ! -f "$as_myself"; then
125
{ echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126
{ (exit 1); exit 1; }; }
128
case $CONFIG_SHELL in
132
sed '/^.*\/\([^/][^/]*\)\/*$/{
150
if test "x$CONFIG_SHELL" = x; then
151
if (eval ":") 2>/dev/null; then
157
if test $as_have_required = yes && (eval ":
167
as_func_ret_success () {
170
as_func_ret_failure () {
175
if as_func_success; then
179
echo as_func_success failed.
182
if as_func_failure; then
184
echo as_func_failure succeeded.
187
if as_func_ret_success; then
191
echo as_func_ret_success failed.
194
if as_func_ret_failure; then
196
echo as_func_ret_failure succeeded.
199
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
203
echo positional parameters were not saved.
206
test \$exitcode = 0) || { (exit 1); exit 1; }
211
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
212
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
213
") 2> /dev/null; then
130
217
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
218
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
221
test -z "$as_dir" && as_dir=.
135
for as_base in sh bash ksh sh5; do
138
if ("$as_dir/$as_base" -c '
141
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142
test "x$as_lineno_1" != "x$as_lineno_2" &&
143
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146
CONFIG_SHELL=$as_dir/$as_base
148
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
224
for as_base in sh bash ksh sh5; do
225
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
232
for as_shell in $as_candidate_shells $SHELL; do
233
# Try only shells that exist, to save several forks.
234
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
235
{ ("$as_shell") 2> /dev/null <<\_ASEOF
236
# Be Bourne compatible
237
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
241
# is contrary to our usage. Disable this feature.
242
alias -g '${1+"$@"}'='"$@"'
245
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
247
BIN_SH=xpg4; export BIN_SH # for Tru64
248
DUALCASE=1; export DUALCASE # for MKS sh
253
CONFIG_SHELL=$as_shell
255
if { "$as_shell" 2> /dev/null <<\_ASEOF
256
# Be Bourne compatible
257
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
261
# is contrary to our usage. Disable this feature.
262
alias -g '${1+"$@"}'='"$@"'
265
case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
267
BIN_SH=xpg4; export BIN_SH # for Tru64
268
DUALCASE=1; export DUALCASE # for MKS sh
280
as_func_ret_success () {
283
as_func_ret_failure () {
288
if as_func_success; then
292
echo as_func_success failed.
295
if as_func_failure; then
297
echo as_func_failure succeeded.
300
if as_func_ret_success; then
304
echo as_func_ret_success failed.
307
if as_func_ret_failure; then
309
echo as_func_ret_failure succeeded.
312
if ( set x; as_func_ret_success y && test x = "$1" ); then
316
echo positional parameters were not saved.
319
test $exitcode = 0) || { (exit 1); exit 1; }
324
test "x$as_lineno_1" != "x$as_lineno_2" &&
325
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
336
if test "x$CONFIG_SHELL" != x; then
337
for as_var in BASH_ENV ENV
338
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
345
if test $as_have_required = no; then
346
echo This script requires a shell more modern than all the
347
echo shells that I found on your system. Please install a
348
echo modern shell, or manually run the script under such a
349
echo shell if you do have one.
350
{ (exit 1); exit 1; }
360
(eval "as_func_return () {
369
as_func_ret_success () {
372
as_func_ret_failure () {
377
if as_func_success; then
381
echo as_func_success failed.
384
if as_func_failure; then
386
echo as_func_failure succeeded.
389
if as_func_ret_success; then
393
echo as_func_ret_success failed.
396
if as_func_ret_failure; then
398
echo as_func_ret_failure succeeded.
401
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
405
echo positional parameters were not saved.
408
test \$exitcode = 0") || {
409
echo No shell found that supports shell functions.
410
echo Please tell autoconf@gnu.org about your system,
411
echo including any error possibly output before this
419
test "x$as_lineno_1" != "x$as_lineno_2" &&
420
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156
422
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
423
# uniformly replaced by the line number. The first 'sed' inserts a
158
# line-number line before each line; the second 'sed' does the real
159
# work. The second script uses 'N' to pair each line-number line
160
# with the numbered line, and appends trailing '-' during
161
# substitution so that $LINENO is not a special case at line end.
424
# line-number line after each line using $LINENO; the second 'sed'
425
# does the real work. The second script uses 'N' to pair each
426
# line-number line with the line containing $LINENO, and appends
427
# trailing '-' during substitution so that $LINENO is not a special
162
429
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164
sed '=' <$as_myself |
430
# scripts with optimization help from Paolo Bonzini. Blame Lee
431
# E. McMahon (1931-1989) for sed's syntax. :-)
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
443
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
s,^['$as_cr_digits']*\n,,
173
446
' >$as_me.lineno &&
174
chmod +x $as_me.lineno ||
447
chmod +x "$as_me.lineno" ||
175
448
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
449
{ (exit 1); exit 1; }; }
178
451
# Don't try to exec as it changes $[0], causing all sort of problems
179
452
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
453
# original and so on. Autoconf is especially sensitive to this).
182
455
# Exit status is that of the last command.
187
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188
*c*,-n*) ECHO_N= ECHO_C='
190
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
460
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
466
ECHO_C= ECHO_N= ECHO_T=
470
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
194
if expr a : '\(a\)' >/dev/null 2>&1; then
477
if expr a : '\(a\)' >/dev/null 2>&1 &&
478
test "X`expr 00001 : '.*\(...\)'`" = X001; then
200
484
rm -f conf$$ conf$$.exe conf$$.file
485
if test -d conf$$.dir; then
486
rm -f conf$$.dir/conf$$.file
201
491
echo >conf$$.file
202
492
if ln -s conf$$.file conf$$ 2>/dev/null; then
203
# We could just check for DJGPP; but this test a) works b) is more generic
204
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205
if test -f conf$$.exe; then
206
# Don't use ln at all; we don't have any links
494
# ... but there are two gotchas:
495
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
496
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
497
# In both cases, we have to default to `cp -p'.
498
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
211
500
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
505
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
506
rmdir conf$$.dir 2>/dev/null
218
508
if mkdir -p . 2>/dev/null; then
828
1270
CFLAGS C compiler flags
829
1271
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
830
1272
nonstandard directory <lib dir>
831
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
832
headers in a nonstandard directory <include dir>
1273
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1274
you have headers in a nonstandard directory <include dir>
1275
PKG_CONFIG path to pkg-config utility
1276
GTK2_CFLAGS C compiler flags for GTK2, overriding pkg-config
1277
GTK2_LIBS linker flags for GTK2, overriding pkg-config
834
1279
Use these variables to override the choices made by `configure' or to help
835
1280
it to find libraries and programs with nonstandard names/locations.
840
1286
if test "$ac_init_help" = "recursive"; then
841
1287
# If there are subdirs, report their specific --help.
843
1288
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
844
test -d $ac_dir || continue
1289
test -d "$ac_dir" || continue
847
if test "$ac_dir" != .; then
1293
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
848
1295
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
849
# A "../" for each directory in $ac_dir_suffix.
850
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
852
ac_dir_suffix= ac_top_builddir=
1296
# A ".." for each directory in $ac_dir_suffix.
1297
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1298
case $ac_top_builddir_sub in
1299
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303
ac_abs_top_builddir=$ac_pwd
1304
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1305
# for backward compatibility:
1306
ac_top_builddir=$ac_top_build_prefix
856
.) # No --srcdir option. We are building in place.
1309
.) # We are building in place.
858
if test -z "$ac_top_builddir"; then
861
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
863
[\\/]* | ?:[\\/]* ) # Absolute path.
1311
ac_top_srcdir=$ac_top_builddir_sub
1312
ac_abs_top_srcdir=$ac_pwd ;;
1313
[\\/]* | ?:[\\/]* ) # Absolute name.
864
1314
ac_srcdir=$srcdir$ac_dir_suffix;
865
ac_top_srcdir=$srcdir ;;
867
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
868
ac_top_srcdir=$ac_top_builddir$srcdir ;;
871
# Do not use `cd foo && pwd` to compute absolute paths, because
872
# the directories may not exist.
874
.) ac_abs_builddir="$ac_dir";;
877
.) ac_abs_builddir=`pwd`;;
878
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
879
*) ac_abs_builddir=`pwd`/"$ac_dir";;
882
case $ac_abs_builddir in
883
.) ac_abs_top_builddir=${ac_top_builddir}.;;
885
case ${ac_top_builddir}. in
886
.) ac_abs_top_builddir=$ac_abs_builddir;;
887
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
888
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
891
case $ac_abs_builddir in
892
.) ac_abs_srcdir=$ac_srcdir;;
895
.) ac_abs_srcdir=$ac_abs_builddir;;
896
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
897
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
900
case $ac_abs_builddir in
901
.) ac_abs_top_srcdir=$ac_top_srcdir;;
903
case $ac_top_srcdir in
904
.) ac_abs_top_srcdir=$ac_abs_builddir;;
905
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
906
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
911
# Check for guested configure; otherwise get Cygnus style configure.
912
if test -f $ac_srcdir/configure.gnu; then
914
$SHELL $ac_srcdir/configure.gnu --help=recursive
915
elif test -f $ac_srcdir/configure; then
917
$SHELL $ac_srcdir/configure --help=recursive
918
elif test -f $ac_srcdir/configure.ac ||
919
test -f $ac_srcdir/configure.in; then
1315
ac_top_srcdir=$srcdir
1316
ac_abs_top_srcdir=$srcdir ;;
1318
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1319
ac_top_srcdir=$ac_top_build_prefix$srcdir
1320
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1322
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1324
cd "$ac_dir" || { ac_status=$?; continue; }
1325
# Check for guested configure.
1326
if test -f "$ac_srcdir/configure.gnu"; then
1328
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1329
elif test -f "$ac_srcdir/configure"; then
1331
$SHELL "$ac_srcdir/configure" --help=recursive
923
1333
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1335
cd "$ac_pwd" || { ac_status=$?; break; }
929
test -n "$ac_init_help" && exit 0
1339
test -n "$ac_init_help" && exit $ac_status
930
1340
if $ac_init_version; then
932
gworldclock configure 1.4.3
933
generated by GNU Autoconf 2.59
1342
gworldclock configure 1.4.4
1343
generated by GNU Autoconf 2.60
935
Copyright (C) 2003 Free Software Foundation, Inc.
1345
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1346
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
936
1347
This configure script is free software; the Free Software Foundation
937
1348
gives unlimited permission to copy, distribute and modify it.
1352
cat >config.log <<_ACEOF
943
1353
This file contains any messages produced by compilers while
944
1354
running configure, to aid debugging if configure makes a mistake.
946
It was created by gworldclock $as_me 1.4.3, which was
947
generated by GNU Autoconf 2.59. Invocation command line was
1356
It was created by gworldclock $as_me 1.4.4, which was
1357
generated by GNU Autoconf 2.60. Invocation command line was
2312
2827
echo "$as_me: failed program was:" >&5
2313
2828
sed 's/^/| /' conftest.$ac_ext >&5
2317
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2833
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318
2834
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2321
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2322
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2837
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2838
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2323
2839
GCC=`test $ac_compiler_gnu = yes && echo yes`
2324
2840
ac_test_CFLAGS=${CFLAGS+set}
2325
2841
ac_save_CFLAGS=$CFLAGS
2327
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2328
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2842
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2843
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2329
2844
if test "${ac_cv_prog_cc_g+set}" = set; then
2330
2845
echo $ECHO_N "(cached) $ECHO_C" >&6
2332
cat >conftest.$ac_ext <<_ACEOF
2335
cat confdefs.h >>conftest.$ac_ext
2336
cat >>conftest.$ac_ext <<_ACEOF
2337
/* end confdefs.h. */
2347
rm -f conftest.$ac_objext
2348
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2349
(eval $ac_compile) 2>conftest.er1
2351
grep -v '^ *+' conftest.er1 >conftest.err
2353
cat conftest.err >&5
2354
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355
(exit $ac_status); } &&
2356
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2357
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2360
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361
(exit $ac_status); }; } &&
2362
{ ac_try='test -s conftest.$ac_objext'
2363
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2366
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367
(exit $ac_status); }; }; then
2370
echo "$as_me: failed program was:" >&5
2371
sed 's/^/| /' conftest.$ac_ext >&5
2375
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2377
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2378
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2847
ac_save_c_werror_flag=$ac_c_werror_flag
2848
ac_c_werror_flag=yes
2851
cat >conftest.$ac_ext <<_ACEOF
2854
cat confdefs.h >>conftest.$ac_ext
2855
cat >>conftest.$ac_ext <<_ACEOF
2856
/* end confdefs.h. */
2866
rm -f conftest.$ac_objext
2867
if { (ac_try="$ac_compile"
2869
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870
*) ac_try_echo=$ac_try;;
2872
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2873
(eval "$ac_compile") 2>conftest.er1
2875
grep -v '^ *+' conftest.er1 >conftest.err
2877
cat conftest.err >&5
2878
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2879
(exit $ac_status); } &&
2880
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2881
{ (case "(($ac_try" in
2882
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2883
*) ac_try_echo=$ac_try;;
2885
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2886
(eval "$ac_try") 2>&5
2888
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2889
(exit $ac_status); }; } &&
2890
{ ac_try='test -s conftest.$ac_objext'
2891
{ (case "(($ac_try" in
2892
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2893
*) ac_try_echo=$ac_try;;
2895
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2896
(eval "$ac_try") 2>&5
2898
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899
(exit $ac_status); }; }; then
2902
echo "$as_me: failed program was:" >&5
2903
sed 's/^/| /' conftest.$ac_ext >&5
2906
cat >conftest.$ac_ext <<_ACEOF
2909
cat confdefs.h >>conftest.$ac_ext
2910
cat >>conftest.$ac_ext <<_ACEOF
2911
/* end confdefs.h. */
2921
rm -f conftest.$ac_objext
2922
if { (ac_try="$ac_compile"
2924
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2925
*) ac_try_echo=$ac_try;;
2927
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2928
(eval "$ac_compile") 2>conftest.er1
2930
grep -v '^ *+' conftest.er1 >conftest.err
2932
cat conftest.err >&5
2933
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934
(exit $ac_status); } &&
2935
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2936
{ (case "(($ac_try" in
2937
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938
*) ac_try_echo=$ac_try;;
2940
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2941
(eval "$ac_try") 2>&5
2943
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2944
(exit $ac_status); }; } &&
2945
{ ac_try='test -s conftest.$ac_objext'
2946
{ (case "(($ac_try" in
2947
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948
*) ac_try_echo=$ac_try;;
2950
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2951
(eval "$ac_try") 2>&5
2953
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954
(exit $ac_status); }; }; then
2957
echo "$as_me: failed program was:" >&5
2958
sed 's/^/| /' conftest.$ac_ext >&5
2960
ac_c_werror_flag=$ac_save_c_werror_flag
2962
cat >conftest.$ac_ext <<_ACEOF
2965
cat confdefs.h >>conftest.$ac_ext
2966
cat >>conftest.$ac_ext <<_ACEOF
2967
/* end confdefs.h. */
2977
rm -f conftest.$ac_objext
2978
if { (ac_try="$ac_compile"
2980
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2981
*) ac_try_echo=$ac_try;;
2983
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2984
(eval "$ac_compile") 2>conftest.er1
2986
grep -v '^ *+' conftest.er1 >conftest.err
2988
cat conftest.err >&5
2989
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2990
(exit $ac_status); } &&
2991
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2992
{ (case "(($ac_try" in
2993
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2994
*) ac_try_echo=$ac_try;;
2996
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2997
(eval "$ac_try") 2>&5
2999
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3000
(exit $ac_status); }; } &&
3001
{ ac_try='test -s conftest.$ac_objext'
3002
{ (case "(($ac_try" in
3003
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3004
*) ac_try_echo=$ac_try;;
3006
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3007
(eval "$ac_try") 2>&5
3009
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010
(exit $ac_status); }; }; then
3013
echo "$as_me: failed program was:" >&5
3014
sed 's/^/| /' conftest.$ac_ext >&5
3019
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3022
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3025
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3026
ac_c_werror_flag=$ac_save_c_werror_flag
3028
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3029
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2379
3030
if test "$ac_test_CFLAGS" = set; then
2380
3031
CFLAGS=$ac_save_CFLAGS
2381
3032
elif test $ac_cv_prog_cc_g = yes; then
2453
# Don't try gcc -ansi; that turns off useful extensions and
2454
# breaks some systems' header files.
2455
# AIX -qlanglvl=ansi
2456
# Ultrix and OSF/1 -std1
2457
# HP-UX 10.20 and later -Ae
2458
# HP-UX older versions -Aa -D_HPUX_SOURCE
2459
# SVR4 -Xc -D__EXTENSIONS__
2460
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3109
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3110
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2462
3112
CC="$ac_save_CC $ac_arg"
2463
3113
rm -f conftest.$ac_objext
2464
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2465
(eval $ac_compile) 2>conftest.er1
3114
if { (ac_try="$ac_compile"
3116
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117
*) ac_try_echo=$ac_try;;
3119
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3120
(eval "$ac_compile") 2>conftest.er1
2467
3122
grep -v '^ *+' conftest.er1 >conftest.err
2468
3123
rm -f conftest.er1
2469
3124
cat conftest.err >&5
2470
3125
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471
3126
(exit $ac_status); } &&
2472
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2473
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3127
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3128
{ (case "(($ac_try" in
3129
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130
*) ac_try_echo=$ac_try;;
3132
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3133
(eval "$ac_try") 2>&5
2476
3135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477
3136
(exit $ac_status); }; } &&
2478
3137
{ ac_try='test -s conftest.$ac_objext'
2479
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3138
{ (case "(($ac_try" in
3139
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140
*) ac_try_echo=$ac_try;;
3142
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3143
(eval "$ac_try") 2>&5
2482
3145
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483
3146
(exit $ac_status); }; }; then
2484
ac_cv_prog_cc_stdc=$ac_arg
3147
ac_cv_prog_cc_c89=$ac_arg
2487
3149
echo "$as_me: failed program was:" >&5
2488
3150
sed 's/^/| /' conftest.$ac_ext >&5
2491
rm -f conftest.err conftest.$ac_objext
3155
rm -f core conftest.err conftest.$ac_objext
3156
test "x$ac_cv_prog_cc_c89" != "xno" && break
2493
rm -f conftest.$ac_ext conftest.$ac_objext
3158
rm -f conftest.$ac_ext
2498
case "x$ac_cv_prog_cc_stdc" in
2500
echo "$as_me:$LINENO: result: none needed" >&5
2501
echo "${ECHO_T}none needed" >&6 ;;
3163
case "x$ac_cv_prog_cc_c89" in
3165
{ echo "$as_me:$LINENO: result: none needed" >&5
3166
echo "${ECHO_T}none needed" >&6; } ;;
3168
{ echo "$as_me:$LINENO: result: unsupported" >&5
3169
echo "${ECHO_T}unsupported" >&6; } ;;
2503
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2504
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2505
CC="$CC $ac_cv_prog_cc_stdc" ;;
3171
CC="$CC $ac_cv_prog_cc_c89"
3172
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3173
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2508
# Some people use a C++ compiler to compile C. Since we use `exit',
2509
# in C++ we need to declare it. In case someone uses the same compiler
2510
# for both compiling C and C++ we need to have the C++ compiler decide
2511
# the declaration of exit, since it's the most demanding environment.
2512
cat >conftest.$ac_ext <<_ACEOF
2517
rm -f conftest.$ac_objext
2518
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2519
(eval $ac_compile) 2>conftest.er1
2521
grep -v '^ *+' conftest.er1 >conftest.err
2523
cat conftest.err >&5
2524
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2525
(exit $ac_status); } &&
2526
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2527
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2530
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2531
(exit $ac_status); }; } &&
2532
{ ac_try='test -s conftest.$ac_objext'
2533
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2536
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2537
(exit $ac_status); }; }; then
2538
for ac_declaration in \
2540
'extern "C" void std::exit (int) throw (); using std::exit;' \
2541
'extern "C" void std::exit (int); using std::exit;' \
2542
'extern "C" void exit (int) throw ();' \
2543
'extern "C" void exit (int);' \
2546
cat >conftest.$ac_ext <<_ACEOF
2549
cat confdefs.h >>conftest.$ac_ext
2550
cat >>conftest.$ac_ext <<_ACEOF
2551
/* end confdefs.h. */
2562
rm -f conftest.$ac_objext
2563
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2564
(eval $ac_compile) 2>conftest.er1
2566
grep -v '^ *+' conftest.er1 >conftest.err
2568
cat conftest.err >&5
2569
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570
(exit $ac_status); } &&
2571
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2572
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2575
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576
(exit $ac_status); }; } &&
2577
{ ac_try='test -s conftest.$ac_objext'
2578
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2581
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2582
(exit $ac_status); }; }; then
2585
echo "$as_me: failed program was:" >&5
2586
sed 's/^/| /' conftest.$ac_ext >&5
2590
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2591
cat >conftest.$ac_ext <<_ACEOF
2594
cat confdefs.h >>conftest.$ac_ext
2595
cat >>conftest.$ac_ext <<_ACEOF
2596
/* end confdefs.h. */
2606
rm -f conftest.$ac_objext
2607
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2608
(eval $ac_compile) 2>conftest.er1
2610
grep -v '^ *+' conftest.er1 >conftest.err
2612
cat conftest.err >&5
2613
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2614
(exit $ac_status); } &&
2615
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2616
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620
(exit $ac_status); }; } &&
2621
{ ac_try='test -s conftest.$ac_objext'
2622
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626
(exit $ac_status); }; }; then
2629
echo "$as_me: failed program was:" >&5
2630
sed 's/^/| /' conftest.$ac_ext >&5
2633
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2636
if test -n "$ac_declaration"; then
2637
echo '#ifdef __cplusplus' >>confdefs.h
2638
echo $ac_declaration >>confdefs.h
2639
echo '#endif' >>confdefs.h
2643
echo "$as_me: failed program was:" >&5
2644
sed 's/^/| /' conftest.$ac_ext >&5
2647
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2649
3178
ac_cpp='$CPP $CPPFLAGS'
2650
3179
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2848
3377
IFS=$as_save_IFS
2849
3378
test -z "$as_dir" && as_dir=.
2850
3379
for ac_exec_ext in '' $ac_executable_extensions; do
2851
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3380
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2852
3381
ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
2853
3382
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2859
test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
2863
3392
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
2865
3393
if test -n "$PKG_CONFIG"; then
2866
echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
2867
echo "${ECHO_T}$PKG_CONFIG" >&6
2869
echo "$as_me:$LINENO: result: no" >&5
2870
echo "${ECHO_T}no" >&6
3394
{ echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
3395
echo "${ECHO_T}$PKG_CONFIG" >&6; }
3397
{ echo "$as_me:$LINENO: result: no" >&5
3398
echo "${ECHO_T}no" >&6; }
3403
if test -z "$ac_cv_path_PKG_CONFIG"; then
3404
ac_pt_PKG_CONFIG=$PKG_CONFIG
3405
# Extract the first word of "pkg-config", so it can be a program name with args.
3406
set dummy pkg-config; ac_word=$2
3407
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3408
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3409
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
3410
echo $ECHO_N "(cached) $ECHO_C" >&6
3412
case $ac_pt_PKG_CONFIG in
3414
ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
3417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3421
test -z "$as_dir" && as_dir=.
3422
for ac_exec_ext in '' $ac_executable_extensions; do
3423
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3424
ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3425
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2875
if test "$PKG_CONFIG" = "no" ; then
2876
echo "*** The pkg-config script could not be found. Make sure it is"
2877
echo "*** in your path, or set the PKG_CONFIG environment variable"
2878
echo "*** to the full path to pkg-config."
2879
echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
3435
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
3436
if test -n "$ac_pt_PKG_CONFIG"; then
3437
{ echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
3438
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
3440
{ echo "$as_me:$LINENO: result: no" >&5
3441
echo "${ECHO_T}no" >&6; }
3444
if test "x$ac_pt_PKG_CONFIG" = x; then
2881
PKG_CONFIG_MIN_VERSION=0.9.0
2882
if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
2883
echo "$as_me:$LINENO: checking for gtk+-2.0" >&5
2884
echo $ECHO_N "checking for gtk+-2.0... $ECHO_C" >&6
2886
if $PKG_CONFIG --exists "gtk+-2.0" ; then
2887
echo "$as_me:$LINENO: result: yes" >&5
2888
echo "${ECHO_T}yes" >&6
2891
echo "$as_me:$LINENO: checking GTK2_CFLAGS" >&5
2892
echo $ECHO_N "checking GTK2_CFLAGS... $ECHO_C" >&6
2893
GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0"`
2894
echo "$as_me:$LINENO: result: $GTK2_CFLAGS" >&5
2895
echo "${ECHO_T}$GTK2_CFLAGS" >&6
2897
echo "$as_me:$LINENO: checking GTK2_LIBS" >&5
2898
echo $ECHO_N "checking GTK2_LIBS... $ECHO_C" >&6
2899
GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0"`
2900
echo "$as_me:$LINENO: result: $GTK2_LIBS" >&5
2901
echo "${ECHO_T}$GTK2_LIBS" >&6
3447
case $cross_compiling:$ac_tool_warned in
3449
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3450
whose name does not start with the host triplet. If you think this
3451
configuration is useful to you, please write to autoconf@gnu.org." >&5
3452
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3453
whose name does not start with the host triplet. If you think this
3454
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3455
ac_tool_warned=yes ;;
3457
PKG_CONFIG=$ac_pt_PKG_CONFIG
3460
PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
3464
if test -n "$PKG_CONFIG"; then
3465
_pkg_min_version=0.9.0
3466
{ echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
3467
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
3468
if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
3469
{ echo "$as_me:$LINENO: result: yes" >&5
3470
echo "${ECHO_T}yes" >&6; }
3472
{ echo "$as_me:$LINENO: result: no" >&5
3473
echo "${ECHO_T}no" >&6; }
3480
{ echo "$as_me:$LINENO: checking for GTK2" >&5
3481
echo $ECHO_N "checking for GTK2... $ECHO_C" >&6; }
3483
if test -n "$PKG_CONFIG"; then
3484
if test -n "$GTK2_CFLAGS"; then
3485
pkg_cv_GTK2_CFLAGS="$GTK2_CFLAGS"
3487
if test -n "$PKG_CONFIG" && \
3488
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
3489
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
3491
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492
(exit $ac_status); }; then
3493
pkg_cv_GTK2_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0" 2>/dev/null`
3501
if test -n "$PKG_CONFIG"; then
3502
if test -n "$GTK2_LIBS"; then
3503
pkg_cv_GTK2_LIBS="$GTK2_LIBS"
3505
if test -n "$PKG_CONFIG" && \
3506
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0\"") >&5
3507
($PKG_CONFIG --exists --print-errors "gtk+-2.0") 2>&5
3509
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3510
(exit $ac_status); }; then
3511
pkg_cv_GTK2_LIBS=`$PKG_CONFIG --libs "gtk+-2.0" 2>/dev/null`
3522
if test $pkg_failed = yes; then
3524
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
3525
_pkg_short_errors_supported=yes
3527
_pkg_short_errors_supported=no
3529
if test $_pkg_short_errors_supported = yes; then
3530
GTK2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-2.0"`
2905
## If we have a custom action on failure, don't print errors, but
2906
## do set a variable so people can do so.
2907
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
2908
echo $GTK2_PKG_ERRORS
3532
GTK2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-2.0"`
2914
echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
2915
echo "*** See http://www.freedesktop.org/software/pkgconfig"
2919
if test $succeeded = yes; then
2922
{ { echo "$as_me:$LINENO: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
2923
echo "$as_me: error: Library requirements (gtk+-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
2924
{ (exit 1); exit 1; }; }
2931
echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
2932
echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
3534
# Put the nasty error message in config.log where it belongs
3535
echo "$GTK2_PKG_ERRORS" >&5
3537
{ { echo "$as_me:$LINENO: error: Package requirements (gtk+-2.0) were not met:
3541
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3542
installed software in a non-standard prefix.
3544
Alternatively, you may set the environment variables GTK2_CFLAGS
3545
and GTK2_LIBS to avoid the need to call pkg-config.
3546
See the pkg-config man page for more details.
3548
echo "$as_me: error: Package requirements (gtk+-2.0) were not met:
3552
Consider adjusting the PKG_CONFIG_PATH environment variable if you
3553
installed software in a non-standard prefix.
3555
Alternatively, you may set the environment variables GTK2_CFLAGS
3556
and GTK2_LIBS to avoid the need to call pkg-config.
3557
See the pkg-config man page for more details.
3559
{ (exit 1); exit 1; }; }
3560
elif test $pkg_failed = untried; then
3561
{ { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
3562
is in your PATH or set the PKG_CONFIG environment variable to the full
3565
Alternatively, you may set the environment variables GTK2_CFLAGS
3566
and GTK2_LIBS to avoid the need to call pkg-config.
3567
See the pkg-config man page for more details.
3569
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3570
See \`config.log' for more details." >&5
3571
echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
3572
is in your PATH or set the PKG_CONFIG environment variable to the full
3575
Alternatively, you may set the environment variables GTK2_CFLAGS
3576
and GTK2_LIBS to avoid the need to call pkg-config.
3577
See the pkg-config man page for more details.
3579
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
3580
See \`config.log' for more details." >&2;}
3581
{ (exit 1); exit 1; }; }
3583
GTK2_CFLAGS=$pkg_cv_GTK2_CFLAGS
3584
GTK2_LIBS=$pkg_cv_GTK2_LIBS
3585
{ echo "$as_me:$LINENO: result: yes" >&5
3586
echo "${ECHO_T}yes" >&6; }
3593
{ echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
3594
echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6; }
2933
3595
if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
2934
3596
echo $ECHO_N "(cached) $ECHO_C" >&6
4969
5995
# Name of the executable.
4970
as_me=`$as_basename "$0" ||
5996
as_me=`$as_basename -- "$0" ||
4971
5997
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4972
5998
X"$0" : 'X\(//\)$' \| \
4973
X"$0" : 'X\(/\)$' \| \
4974
. : '\(.\)' 2>/dev/null ||
5999
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4976
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4977
/^X\/\(\/\/\)$/{ s//\1/; q; }
4978
/^X\/\(\/\).*/{ s//\1/; q; }
4982
# PATH needs CR, and LINENO needs CR and PATH.
4983
# Avoid depending upon Character Ranges.
4984
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4985
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4986
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4987
as_cr_digits='0123456789'
4988
as_cr_alnum=$as_cr_Letters$as_cr_digits
4990
# The user is always right.
4991
if test "${PATH_SEPARATOR+set}" != set; then
4992
echo "#! /bin/sh" >conf$$.sh
4993
echo "exit 0" >>conf$$.sh
4995
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5006
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5007
test "x$as_lineno_1" != "x$as_lineno_2" &&
5008
test "x$as_lineno_3" = "x$as_lineno_2" || {
5009
# Find who we are. Look in the path if we contain no path at all
5012
*[\\/]* ) as_myself=$0 ;;
5013
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5017
test -z "$as_dir" && as_dir=.
5018
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5023
# We did not find ourselves, most probably we were run as `sh COMMAND'
5024
# in which case we are not to be found in the path.
5025
if test "x$as_myself" = x; then
5028
if test ! -f "$as_myself"; then
5029
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5030
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5031
{ (exit 1); exit 1; }; }
5033
case $CONFIG_SHELL in
5035
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5036
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5039
test -z "$as_dir" && as_dir=.
5040
for as_base in sh bash ksh sh5; do
5043
if ("$as_dir/$as_base" -c '
5046
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5047
test "x$as_lineno_1" != "x$as_lineno_2" &&
5048
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5049
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5050
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5051
CONFIG_SHELL=$as_dir/$as_base
5053
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6001
sed '/^.*\/\([^/][^/]*\)\/*$/{
6022
test "x$as_lineno_1" != "x$as_lineno_2" &&
6023
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
5061
6025
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5062
6026
# uniformly replaced by the line number. The first 'sed' inserts a
5063
# line-number line before each line; the second 'sed' does the real
5064
# work. The second script uses 'N' to pair each line-number line
5065
# with the numbered line, and appends trailing '-' during
5066
# substitution so that $LINENO is not a special case at line end.
6027
# line-number line after each line using $LINENO; the second 'sed'
6028
# does the real work. The second script uses 'N' to pair each
6029
# line-number line with the line containing $LINENO, and appends
6030
# trailing '-' during substitution so that $LINENO is not a special
5067
6032
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5068
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5069
sed '=' <$as_myself |
6033
# scripts with optimization help from Paolo Bonzini. Blame Lee
6034
# E. McMahon (1931-1989) for sed's syntax. :-)
5074
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6046
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
5077
s,^['$as_cr_digits']*\n,,
5078
6049
' >$as_me.lineno &&
5079
chmod +x $as_me.lineno ||
5080
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5081
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6050
chmod +x "$as_me.lineno" ||
6051
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
5082
6052
{ (exit 1); exit 1; }; }
5084
6054
# Don't try to exec as it changes $[0], causing all sort of problems
5085
6055
# (the dirname of $[0] is not the place where we might find the
5086
# original and so on. Autoconf is especially sensible to this).
6056
# original and so on. Autoconf is especially sensitive to this).
5088
6058
# Exit status is that of the last command.
5093
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5094
*c*,-n*) ECHO_N= ECHO_C='
5096
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5097
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6063
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6069
ECHO_C= ECHO_N= ECHO_T=
6072
case `echo 'x\c'` in
6073
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
5100
if expr a : '\(a\)' >/dev/null 2>&1; then
6080
if expr a : '\(a\)' >/dev/null 2>&1 &&
6081
test "X`expr 00001 : '.*\(...\)'`" = X001; then
5106
6087
rm -f conf$$ conf$$.exe conf$$.file
6088
if test -d conf$$.dir; then
6089
rm -f conf$$.dir/conf$$.file
5107
6094
echo >conf$$.file
5108
6095
if ln -s conf$$.file conf$$ 2>/dev/null; then
5109
# We could just check for DJGPP; but this test a) works b) is more generic
5110
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5111
if test -f conf$$.exe; then
5112
# Don't use ln at all; we don't have any links
6097
# ... but there are two gotchas:
6098
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6099
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6100
# In both cases, we have to default to `cp -p'.
6101
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5113
6102
as_ln_s='cp -p'
5117
6103
elif ln conf$$.file conf$$ 2>/dev/null; then
5120
6106
as_ln_s='cp -p'
5122
rm -f conf$$ conf$$.exe conf$$.file
6108
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6109
rmdir conf$$.dir 2>/dev/null
5124
6111
if mkdir -p . 2>/dev/null; then
5365
6342
# Have a temporary directory for convenience. Make it in the build tree
5366
# simply because there is no reason to put it here, and in addition,
6343
# simply because there is no reason against having it here, and in addition,
5367
6344
# creating and moving files from /tmp can sometimes cause problems.
5368
# Create a temporary directory, and hook for its removal unless debugging.
6345
# Hook for its removal unless debugging.
6346
# Note that there is a small window in which the directory will not be cleaned:
6347
# after its creation but before its name has been assigned to `$tmp'.
5371
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6351
trap 'exit_status=$?
6352
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
5372
6354
trap '{ (exit 1); exit 1; }' 1 2 13 15
5375
6356
# Create a (secure) tmp directory for tmp files.
5378
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6359
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5379
6360
test -n "$tmp" && test -d "$tmp"
5382
tmp=./confstat$$-$RANDOM
5383
(umask 077 && mkdir $tmp)
6363
tmp=./conf$$-$RANDOM
6364
(umask 077 && mkdir "$tmp")
5386
6367
echo "$me: cannot create a temporary directory in ." >&2
5387
6368
{ (exit 1); exit 1; }
5392
cat >>$CONFIG_STATUS <<_ACEOF
5395
# CONFIG_FILES section.
6372
# Set up the sed scripts for CONFIG_FILES section.
5398
6375
# No need to generate the scripts if there are no CONFIG_FILES.
5399
6376
# This happens for instance when ./config.status config.h
5400
if test -n "\$CONFIG_FILES"; then
5401
# Protect against being on the right side of a sed subst in config.status.
5402
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5403
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5404
s,@SHELL@,$SHELL,;t t
5405
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5406
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5407
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5408
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5409
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5410
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5411
s,@exec_prefix@,$exec_prefix,;t t
5412
s,@prefix@,$prefix,;t t
5413
s,@program_transform_name@,$program_transform_name,;t t
5414
s,@bindir@,$bindir,;t t
5415
s,@sbindir@,$sbindir,;t t
5416
s,@libexecdir@,$libexecdir,;t t
5417
s,@datadir@,$datadir,;t t
5418
s,@sysconfdir@,$sysconfdir,;t t
5419
s,@sharedstatedir@,$sharedstatedir,;t t
5420
s,@localstatedir@,$localstatedir,;t t
5421
s,@libdir@,$libdir,;t t
5422
s,@includedir@,$includedir,;t t
5423
s,@oldincludedir@,$oldincludedir,;t t
5424
s,@infodir@,$infodir,;t t
5425
s,@mandir@,$mandir,;t t
5426
s,@build_alias@,$build_alias,;t t
5427
s,@host_alias@,$host_alias,;t t
5428
s,@target_alias@,$target_alias,;t t
5430
s,@ECHO_C@,$ECHO_C,;t t
5431
s,@ECHO_N@,$ECHO_N,;t t
5432
s,@ECHO_T@,$ECHO_T,;t t
5434
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5435
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5436
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5437
s,@CYGPATH_W@,$CYGPATH_W,;t t
5438
s,@PACKAGE@,$PACKAGE,;t t
5439
s,@VERSION@,$VERSION,;t t
5440
s,@ACLOCAL@,$ACLOCAL,;t t
5441
s,@AUTOCONF@,$AUTOCONF,;t t
5442
s,@AUTOMAKE@,$AUTOMAKE,;t t
5443
s,@AUTOHEADER@,$AUTOHEADER,;t t
5444
s,@MAKEINFO@,$MAKEINFO,;t t
5445
s,@install_sh@,$install_sh,;t t
5446
s,@STRIP@,$STRIP,;t t
5447
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5448
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5449
s,@mkdir_p@,$mkdir_p,;t t
5451
s,@SET_MAKE@,$SET_MAKE,;t t
5452
s,@am__leading_dot@,$am__leading_dot,;t t
5453
s,@AMTAR@,$AMTAR,;t t
5454
s,@am__tar@,$am__tar,;t t
5455
s,@am__untar@,$am__untar,;t t
5457
s,@CFLAGS@,$CFLAGS,;t t
5458
s,@LDFLAGS@,$LDFLAGS,;t t
5459
s,@CPPFLAGS@,$CPPFLAGS,;t t
5460
s,@ac_ct_CC@,$ac_ct_CC,;t t
5461
s,@EXEEXT@,$EXEEXT,;t t
5462
s,@OBJEXT@,$OBJEXT,;t t
5463
s,@DEPDIR@,$DEPDIR,;t t
5464
s,@am__include@,$am__include,;t t
5465
s,@am__quote@,$am__quote,;t t
5466
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5467
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5468
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5469
s,@CCDEPMODE@,$CCDEPMODE,;t t
5470
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
5471
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
5472
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
5473
s,@GTK2_CFLAGS@,$GTK2_CFLAGS,;t t
5474
s,@GTK2_LIBS@,$GTK2_LIBS,;t t
5475
s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t
5476
s,@USE_NLS@,$USE_NLS,;t t
5477
s,@MSGFMT@,$MSGFMT,;t t
5478
s,@GMSGFMT@,$GMSGFMT,;t t
5479
s,@XGETTEXT@,$XGETTEXT,;t t
5480
s,@MSGMERGE@,$MSGMERGE,;t t
5481
s,@build@,$build,;t t
5482
s,@build_cpu@,$build_cpu,;t t
5483
s,@build_vendor@,$build_vendor,;t t
5484
s,@build_os@,$build_os,;t t
5486
s,@host_cpu@,$host_cpu,;t t
5487
s,@host_vendor@,$host_vendor,;t t
5488
s,@host_os@,$host_os,;t t
5489
s,@LIBICONV@,$LIBICONV,;t t
5490
s,@LTLIBICONV@,$LTLIBICONV,;t t
5491
s,@INTLLIBS@,$INTLLIBS,;t t
5492
s,@LIBINTL@,$LIBINTL,;t t
5493
s,@LTLIBINTL@,$LTLIBINTL,;t t
5494
s,@POSUB@,$POSUB,;t t
5495
s,@localedir@,$localedir,;t t
5496
s,@LIBOBJS@,$LIBOBJS,;t t
5497
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5502
cat >>$CONFIG_STATUS <<\_ACEOF
5503
# Split the substitutions into bite-sized pieces for seds with
5504
# small command number limits, like on Digital OSF/1 and HP-UX.
5506
ac_sed_frag=1 # Number of current file.
5507
ac_beg=1 # First line for current file.
5508
ac_end=$ac_max_sed_lines # Line after last line for current file.
5511
while $ac_more_lines; do
5512
if test $ac_beg -gt 1; then
5513
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5515
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5517
if test ! -s $tmp/subs.frag; then
5520
# The purpose of the label and of the branching condition is to
5521
# speed up the sed processing (if there are no `@' at all, there
5522
# is no need to browse any of the substitutions).
5523
# These are the two extra sed commands mentioned above.
5525
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5526
if test -z "$ac_sed_cmds"; then
5527
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5529
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5531
ac_sed_frag=`expr $ac_sed_frag + 1`
5533
ac_end=`expr $ac_end + $ac_max_sed_lines`
5536
if test -z "$ac_sed_cmds"; then
6377
if test -n "$CONFIG_FILES"; then
6384
for ac_last_try in false false false false false :; do
6385
cat >conf$$subs.sed <<_ACEOF
6386
SHELL!$SHELL$ac_delim
6387
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
6388
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
6389
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
6390
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
6391
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
6392
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
6393
exec_prefix!$exec_prefix$ac_delim
6394
prefix!$prefix$ac_delim
6395
program_transform_name!$program_transform_name$ac_delim
6396
bindir!$bindir$ac_delim
6397
sbindir!$sbindir$ac_delim
6398
libexecdir!$libexecdir$ac_delim
6399
datarootdir!$datarootdir$ac_delim
6400
datadir!$datadir$ac_delim
6401
sysconfdir!$sysconfdir$ac_delim
6402
sharedstatedir!$sharedstatedir$ac_delim
6403
localstatedir!$localstatedir$ac_delim
6404
includedir!$includedir$ac_delim
6405
oldincludedir!$oldincludedir$ac_delim
6406
docdir!$docdir$ac_delim
6407
infodir!$infodir$ac_delim
6408
htmldir!$htmldir$ac_delim
6409
dvidir!$dvidir$ac_delim
6410
pdfdir!$pdfdir$ac_delim
6411
psdir!$psdir$ac_delim
6412
libdir!$libdir$ac_delim
6413
localedir!$localedir$ac_delim
6414
mandir!$mandir$ac_delim
6416
ECHO_C!$ECHO_C$ac_delim
6417
ECHO_N!$ECHO_N$ac_delim
6418
ECHO_T!$ECHO_T$ac_delim
6420
build_alias!$build_alias$ac_delim
6421
host_alias!$host_alias$ac_delim
6422
target_alias!$target_alias$ac_delim
6423
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
6424
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
6425
INSTALL_DATA!$INSTALL_DATA$ac_delim
6426
CYGPATH_W!$CYGPATH_W$ac_delim
6427
PACKAGE!$PACKAGE$ac_delim
6428
VERSION!$VERSION$ac_delim
6429
ACLOCAL!$ACLOCAL$ac_delim
6430
AUTOCONF!$AUTOCONF$ac_delim
6431
AUTOMAKE!$AUTOMAKE$ac_delim
6432
AUTOHEADER!$AUTOHEADER$ac_delim
6433
MAKEINFO!$MAKEINFO$ac_delim
6434
install_sh!$install_sh$ac_delim
6435
STRIP!$STRIP$ac_delim
6436
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
6437
mkdir_p!$mkdir_p$ac_delim
6439
SET_MAKE!$SET_MAKE$ac_delim
6440
am__leading_dot!$am__leading_dot$ac_delim
6441
AMTAR!$AMTAR$ac_delim
6442
am__tar!$am__tar$ac_delim
6443
am__untar!$am__untar$ac_delim
6445
CFLAGS!$CFLAGS$ac_delim
6446
LDFLAGS!$LDFLAGS$ac_delim
6447
CPPFLAGS!$CPPFLAGS$ac_delim
6448
ac_ct_CC!$ac_ct_CC$ac_delim
6449
EXEEXT!$EXEEXT$ac_delim
6450
OBJEXT!$OBJEXT$ac_delim
6451
DEPDIR!$DEPDIR$ac_delim
6452
am__include!$am__include$ac_delim
6453
am__quote!$am__quote$ac_delim
6454
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
6455
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
6456
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
6457
CCDEPMODE!$CCDEPMODE$ac_delim
6458
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
6459
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
6460
PKG_CONFIG!$PKG_CONFIG$ac_delim
6461
GTK2_CFLAGS!$GTK2_CFLAGS$ac_delim
6462
GTK2_LIBS!$GTK2_LIBS$ac_delim
6463
MKINSTALLDIRS!$MKINSTALLDIRS$ac_delim
6464
USE_NLS!$USE_NLS$ac_delim
6465
MSGFMT!$MSGFMT$ac_delim
6466
GMSGFMT!$GMSGFMT$ac_delim
6467
XGETTEXT!$XGETTEXT$ac_delim
6468
MSGMERGE!$MSGMERGE$ac_delim
6469
build!$build$ac_delim
6470
build_cpu!$build_cpu$ac_delim
6471
build_vendor!$build_vendor$ac_delim
6472
build_os!$build_os$ac_delim
6474
host_cpu!$host_cpu$ac_delim
6475
host_vendor!$host_vendor$ac_delim
6476
host_os!$host_os$ac_delim
6477
INTL_MACOSX_LIBS!$INTL_MACOSX_LIBS$ac_delim
6478
LIBICONV!$LIBICONV$ac_delim
6479
LTLIBICONV!$LTLIBICONV$ac_delim
6480
INTLLIBS!$INTLLIBS$ac_delim
6481
LIBINTL!$LIBINTL$ac_delim
6482
LTLIBINTL!$LTLIBINTL$ac_delim
6485
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
6487
elif $ac_last_try; then
6488
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6489
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6490
{ (exit 1); exit 1; }; }
6492
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6496
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6497
if test -n "$ac_eof"; then
6498
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6499
ac_eof=`expr $ac_eof + 1`
6502
cat >>$CONFIG_STATUS <<_ACEOF
6503
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
6504
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6507
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6508
s/^/s,@/; s/!/@,|#_!!_#|/
6511
s/'"$ac_delim"'$/,g/; t
6513
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6514
' >>$CONFIG_STATUS <conf$$subs.sed
6515
rm -f conf$$subs.sed
6516
cat >>$CONFIG_STATUS <<_ACEOF
6522
for ac_last_try in false false false false false :; do
6523
cat >conf$$subs.sed <<_ACEOF
6524
POSUB!$POSUB$ac_delim
6525
LIBOBJS!$LIBOBJS$ac_delim
6526
LTLIBOBJS!$LTLIBOBJS$ac_delim
6529
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 3; then
6531
elif $ac_last_try; then
6532
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
6533
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
6534
{ (exit 1); exit 1; }; }
6536
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6540
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
6541
if test -n "$ac_eof"; then
6542
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
6543
ac_eof=`expr $ac_eof + 1`
6546
cat >>$CONFIG_STATUS <<_ACEOF
6547
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
6548
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
6551
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
6552
s/^/s,@/; s/!/@,|#_!!_#|/
6555
s/'"$ac_delim"'$/,g/; t
6557
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
6558
' >>$CONFIG_STATUS <conf$$subs.sed
6559
rm -f conf$$subs.sed
6560
cat >>$CONFIG_STATUS <<_ACEOF
6567
# VPATH may cause trouble with some makes, so we remove $(srcdir),
6568
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6569
# trailing colons and then remove the whole line if VPATH becomes empty
6570
# (actually we leave an empty line to preserve line numbers).
6571
if test "x$srcdir" = x.; then
6572
ac_vpsub='/^[ ]*VPATH[ ]*=/{
6576
s/^\([^=]*=[ ]*\):*/\1/
6582
cat >>$CONFIG_STATUS <<\_ACEOF
5539
6583
fi # test -n "$CONFIG_FILES"
5542
cat >>$CONFIG_STATUS <<\_ACEOF
5543
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5544
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5546
- | *:- | *:-:* ) # input from stdin
5548
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5549
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5550
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5551
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5552
* ) ac_file_in=$ac_file.in ;;
5555
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5556
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6586
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
6589
:[FHLC]) ac_mode=$ac_tag; continue;;
6591
case $ac_mode$ac_tag in
6593
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
6594
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
6595
{ (exit 1); exit 1; }; };;
6596
:[FH]-) ac_tag=-:-;;
6597
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6614
-) ac_f="$tmp/stdin";;
6615
*) # Look for the file first in the build tree, then in the source tree
6616
# (if the path is not absolute). The absolute path cannot be DOS-style,
6617
# because $ac_f cannot contain `:'.
6621
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6623
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
6624
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
6625
{ (exit 1); exit 1; }; };;
6627
ac_file_inputs="$ac_file_inputs $ac_f"
6630
# Let's still pretend it is `configure' which instantiates (i.e., don't
6631
# use $as_me), people would be surprised to read:
6632
# /* config.h. Generated by config.status. */
6633
configure_input="Generated from "`IFS=:
6634
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
6635
if test x"$ac_file" != x-; then
6636
configure_input="$ac_file. $configure_input"
6637
{ echo "$as_me:$LINENO: creating $ac_file" >&5
6638
echo "$as_me: creating $ac_file" >&6;}
6642
*:-:* | *:-) cat >"$tmp/stdin";;
6647
ac_dir=`$as_dirname -- "$ac_file" ||
5557
6648
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5558
6649
X"$ac_file" : 'X\(//\)[^/]' \| \
5559
6650
X"$ac_file" : 'X\(//\)$' \| \
5560
X"$ac_file" : 'X\(/\)' \| \
5561
. : '\(.\)' 2>/dev/null ||
6651
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5562
6652
echo X"$ac_file" |
5563
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5564
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5565
/^X\(\/\/\)$/{ s//\1/; q; }
5566
/^X\(\/\).*/{ s//\1/; q; }
5568
{ if $as_mkdir_p; then
6653
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6672
-*) as_dir=./$as_dir;;
6674
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
5573
while test ! -d "$as_dir"; do
5574
as_dirs="$as_dir $as_dirs"
5575
as_dir=`(dirname "$as_dir") 2>/dev/null ||
6678
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
6679
*) as_qdir=$as_dir;;
6681
as_dirs="'$as_qdir' $as_dirs"
6682
as_dir=`$as_dirname -- "$as_dir" ||
5576
6683
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5577
6684
X"$as_dir" : 'X\(//\)[^/]' \| \
5578
6685
X"$as_dir" : 'X\(//\)$' \| \
5579
X"$as_dir" : 'X\(/\)' \| \
5580
. : '\(.\)' 2>/dev/null ||
6686
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5581
6687
echo X"$as_dir" |
5582
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5583
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5584
/^X\(\/\/\)$/{ s//\1/; q; }
5585
/^X\(\/\).*/{ s//\1/; q; }
6688
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6705
test -d "$as_dir" && break
5588
test ! -n "$as_dirs" || mkdir $as_dirs
5589
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5590
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6707
test -z "$as_dirs" || eval "mkdir $as_dirs"
6708
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
6709
echo "$as_me: error: cannot create directory $as_dir" >&2;}
5591
6710
{ (exit 1); exit 1; }; }; }
5595
if test "$ac_dir" != .; then
6714
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5596
6716
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5597
# A "../" for each directory in $ac_dir_suffix.
5598
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5600
ac_dir_suffix= ac_top_builddir=
6717
# A ".." for each directory in $ac_dir_suffix.
6718
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
6719
case $ac_top_builddir_sub in
6720
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6721
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6724
ac_abs_top_builddir=$ac_pwd
6725
ac_abs_builddir=$ac_pwd$ac_dir_suffix
6726
# for backward compatibility:
6727
ac_top_builddir=$ac_top_build_prefix
5603
6729
case $srcdir in
5604
.) # No --srcdir option. We are building in place.
6730
.) # We are building in place.
5606
if test -z "$ac_top_builddir"; then
5609
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5611
[\\/]* | ?:[\\/]* ) # Absolute path.
6732
ac_top_srcdir=$ac_top_builddir_sub
6733
ac_abs_top_srcdir=$ac_pwd ;;
6734
[\\/]* | ?:[\\/]* ) # Absolute name.
5612
6735
ac_srcdir=$srcdir$ac_dir_suffix;
5613
ac_top_srcdir=$srcdir ;;
5615
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5616
ac_top_srcdir=$ac_top_builddir$srcdir ;;
5619
# Do not use `cd foo && pwd` to compute absolute paths, because
5620
# the directories may not exist.
5622
.) ac_abs_builddir="$ac_dir";;
5625
.) ac_abs_builddir=`pwd`;;
5626
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5627
*) ac_abs_builddir=`pwd`/"$ac_dir";;
5630
case $ac_abs_builddir in
5631
.) ac_abs_top_builddir=${ac_top_builddir}.;;
5633
case ${ac_top_builddir}. in
5634
.) ac_abs_top_builddir=$ac_abs_builddir;;
5635
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5636
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5639
case $ac_abs_builddir in
5640
.) ac_abs_srcdir=$ac_srcdir;;
5643
.) ac_abs_srcdir=$ac_abs_builddir;;
5644
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5645
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5648
case $ac_abs_builddir in
5649
.) ac_abs_top_srcdir=$ac_top_srcdir;;
5651
case $ac_top_srcdir in
5652
.) ac_abs_top_srcdir=$ac_abs_builddir;;
5653
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5654
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6736
ac_top_srcdir=$srcdir
6737
ac_abs_top_srcdir=$srcdir ;;
6739
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6740
ac_top_srcdir=$ac_top_build_prefix$srcdir
6741
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6743
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5659
6752
case $INSTALL in
5660
6753
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5661
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6754
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5664
# Let's still pretend it is `configure' which instantiates (i.e., don't
5665
# use $as_me), people would be surprised to read:
5666
# /* config.h. Generated by config.status. */
5667
if test x"$ac_file" = x-; then
5670
configure_input="$ac_file. "
5672
configure_input=$configure_input"Generated from `echo $ac_file_in |
5673
sed 's,.*/,,'` by configure."
5675
# First look for the input files in the build tree, otherwise in the
5677
ac_file_inputs=`IFS=:
5678
for f in $ac_file_in; do
5680
-) echo $tmp/stdin ;;
5682
# Absolute (can't be DOS-style, as IFS=:)
5683
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5684
echo "$as_me: error: cannot find input file: $f" >&2;}
5685
{ (exit 1); exit 1; }; }
5688
if test -f "$f"; then
5691
elif test -f "$srcdir/$f"; then
5696
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5697
echo "$as_me: error: cannot find input file: $f" >&2;}
5698
{ (exit 1); exit 1; }; }
5701
done` || { (exit 1); exit 1; }
5703
if test x"$ac_file" != x-; then
5704
{ echo "$as_me:$LINENO: creating $ac_file" >&5
5705
echo "$as_me: creating $ac_file" >&6;}
6758
cat >>$CONFIG_STATUS <<\_ACEOF
6759
# If the template does not know about datarootdir, expand it.
6760
# FIXME: This hack should be removed a few years after 2.60.
6761
ac_datarootdir_hack=; ac_datarootdir_seen=
6763
case `sed -n '/datarootdir/ {
6772
' $ac_file_inputs` in
6773
*datarootdir*) ac_datarootdir_seen=yes;;
6774
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6775
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6776
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6778
cat >>$CONFIG_STATUS <<_ACEOF
6779
ac_datarootdir_hack='
6780
s&@datadir@&$datadir&g
6781
s&@docdir@&$docdir&g
6782
s&@infodir@&$infodir&g
6783
s&@localedir@&$localedir&g
6784
s&@mandir@&$mandir&g
6785
s&\\\${datarootdir}&$datarootdir&g' ;;
6789
# Neutralize VPATH when `$srcdir' = `.'.
6790
# Shell code in configure.ac might set extrasub.
6791
# FIXME: do we really want to maintain this feature?
5709
6792
cat >>$CONFIG_STATUS <<_ACEOF
5713
6796
cat >>$CONFIG_STATUS <<\_ACEOF
5715
6798
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5716
s,@configure_input@,$configure_input,;t t
5717
s,@srcdir@,$ac_srcdir,;t t
5718
s,@abs_srcdir@,$ac_abs_srcdir,;t t
5719
s,@top_srcdir@,$ac_top_srcdir,;t t
5720
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5721
s,@builddir@,$ac_builddir,;t t
5722
s,@abs_builddir@,$ac_abs_builddir,;t t
5723
s,@top_builddir@,$ac_top_builddir,;t t
5724
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5725
s,@INSTALL@,$ac_INSTALL,;t t
5726
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5728
if test x"$ac_file" != x-; then
5729
mv $tmp/out $ac_file
6799
s&@configure_input@&$configure_input&;t t
6800
s&@top_builddir@&$ac_top_builddir_sub&;t t
6801
s&@srcdir@&$ac_srcdir&;t t
6802
s&@abs_srcdir@&$ac_abs_srcdir&;t t
6803
s&@top_srcdir@&$ac_top_srcdir&;t t
6804
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6805
s&@builddir@&$ac_builddir&;t t
6806
s&@abs_builddir@&$ac_abs_builddir&;t t
6807
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6808
s&@INSTALL@&$ac_INSTALL&;t t
6809
$ac_datarootdir_hack
6810
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
6812
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6813
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
6814
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
6815
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6816
which seems to be undefined. Please make sure it is defined." >&5
6817
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6818
which seems to be undefined. Please make sure it is defined." >&2;}
6822
-) cat "$tmp/out"; rm -f "$tmp/out";;
6823
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5737
cat >>$CONFIG_STATUS <<\_ACEOF
5740
# CONFIG_HEADER section.
5743
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5744
# NAME is the cpp macro being defined and VALUE is the value it is being given.
5746
# ac_d sets the value in "#define NAME VALUE" lines.
5747
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5748
ac_dB='[ ].*$,\1#\2'
6832
# Transform confdefs.h into a sed script `conftest.defines', that
6833
# substitutes the proper values into config.h.in to produce config.h.
6834
rm -f conftest.defines conftest.tail
6835
# First, append a space to every undef/define line, to ease matching.
6836
echo 's/$/ /' >conftest.defines
6837
# Then, protect against being on the right side of a sed subst, or in
6838
# an unquoted here document, in config.status. If some macros were
6839
# called several times there might be several #defines for the same
6840
# symbol, which is useless. But do not sort them, since the last
6841
# AC_DEFINE must be honored.
6842
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6843
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
6844
# NAME is the cpp macro being defined, VALUE is the value it is being given.
6845
# PARAMS is the parameter list in the macro definition--in most cases, it's
6846
# just an empty string.
6847
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
6848
ac_dB='\\)[ (].*,\\1define\\2'
5751
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5752
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5753
ac_uB='$,\1#\2define\3'
5757
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5758
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5760
- | *:- | *:-:* ) # input from stdin
5762
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5763
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5764
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5765
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5766
* ) ac_file_in=$ac_file.in ;;
5769
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5770
echo "$as_me: creating $ac_file" >&6;}
5772
# First look for the input files in the build tree, otherwise in the
5774
ac_file_inputs=`IFS=:
5775
for f in $ac_file_in; do
5777
-) echo $tmp/stdin ;;
5779
# Absolute (can't be DOS-style, as IFS=:)
5780
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5781
echo "$as_me: error: cannot find input file: $f" >&2;}
5782
{ (exit 1); exit 1; }; }
5783
# Do quote $f, to prevent DOS paths from being IFS'd.
5786
if test -f "$f"; then
5789
elif test -f "$srcdir/$f"; then
5794
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5795
echo "$as_me: error: cannot find input file: $f" >&2;}
5796
{ (exit 1); exit 1; }; }
5799
done` || { (exit 1); exit 1; }
5800
# Remove the trailing spaces.
5801
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5805
# Transform confdefs.h into two sed scripts, `conftest.defines' and
5806
# `conftest.undefs', that substitutes the proper values into
5807
# config.h.in to produce config.h. The first handles `#define'
5808
# templates, and the second `#undef' templates.
5809
# And first: Protect against being on the right side of a sed subst in
5810
# config.status. Protect against being in an unquoted here document
5812
rm -f conftest.defines conftest.undefs
5813
# Using a here document instead of a string reduces the quoting nightmare.
5814
# Putting comments in sed scripts is not portable.
5816
# `end' is used to avoid that the second main sed command (meant for
5817
# 0-ary CPP macros) applies to n-ary macro definitions.
5818
# See the Autoconf documentation for `clear'.
5819
cat >confdef2sed.sed <<\_ACEOF
5824
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5826
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5829
# If some macros were called several times there might be several times
5830
# the same #defines, which is useless. Nevertheless, we may not want to
5831
# sort them, since we want the *last* AC-DEFINE to be honored.
5832
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5833
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5834
rm -f confdef2sed.sed
5836
# This sed command replaces #undef with comments. This is necessary, for
6856
s/^[ ]*#[ ]*define[ ][ ]*//
6861
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
6862
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
6863
' >>conftest.defines
6865
# Remove the space that was appended to ease matching.
6866
# Then replace #undef with comments. This is necessary, for
5837
6867
# example, in the case of _POSIX_SOURCE, which is predefined and required
5838
6868
# on some systems where configure will not decide to define it.
5839
cat >>conftest.undefs <<\_ACEOF
5840
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6869
# (The regexp can be short, since the line contains either #define or #undef.)
6871
s,^[ #]*u.*,/* & */,' >>conftest.defines
6873
# Break up conftest.defines:
6876
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
6877
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
6878
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
6880
ac_in='$ac_file_inputs'
6881
ac_out='"$tmp/out1"'
6882
ac_nxt='"$tmp/out2"'
6886
# Write a here document:
6887
cat >>$CONFIG_STATUS <<_ACEOF
6888
# First, check the format of the line:
6889
cat >"\$tmp/defines.sed" <<\\CEOF
6890
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
6891
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
5843
# Break up conftest.defines because some shells have a limit on the size
5844
# of here documents, and old seds have small limits too (100 cmds).
5845
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5846
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5847
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5848
echo ' :' >>$CONFIG_STATUS
5850
while grep . conftest.defines >/dev/null
5852
# Write a limited-size here document to $tmp/defines.sed.
5853
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5854
# Speed up: don't consider the non `#define' lines.
5855
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5856
# Work around the forget-to-reset-the-flag bug.
5857
echo 't clr' >>$CONFIG_STATUS
5858
echo ': clr' >>$CONFIG_STATUS
5859
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6895
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
5861
sed -f $tmp/defines.sed $tmp/in >$tmp/out
5865
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6897
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
6898
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
6899
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
6900
grep . conftest.tail >/dev/null || break
5866
6901
rm -f conftest.defines
5867
6902
mv conftest.tail conftest.defines
5869
rm -f conftest.defines
5870
echo ' fi # grep' >>$CONFIG_STATUS
5871
echo >>$CONFIG_STATUS
5873
# Break up conftest.undefs because some shells have a limit on the size
5874
# of here documents, and old seds have small limits too (100 cmds).
5875
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5877
while grep . conftest.undefs >/dev/null
5879
# Write a limited-size here document to $tmp/undefs.sed.
5880
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5881
# Speed up: don't consider the non `#undef'
5882
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5883
# Work around the forget-to-reset-the-flag bug.
5884
echo 't clr' >>$CONFIG_STATUS
5885
echo ': clr' >>$CONFIG_STATUS
5886
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5888
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5892
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5893
rm -f conftest.undefs
5894
mv conftest.tail conftest.undefs
5896
rm -f conftest.undefs
6904
rm -f conftest.defines conftest.tail
6906
echo "ac_result=$ac_in" >>$CONFIG_STATUS
5898
6907
cat >>$CONFIG_STATUS <<\_ACEOF
5899
# Let's still pretend it is `configure' which instantiates (i.e., don't
5900
# use $as_me), people would be surprised to read:
5901
# /* config.h. Generated by config.status. */
5902
if test x"$ac_file" = x-; then
5903
echo "/* Generated by configure. */" >$tmp/config.h
5905
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5907
cat $tmp/in >>$tmp/config.h
5909
6908
if test x"$ac_file" != x-; then
5910
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6909
echo "/* $configure_input */" >"$tmp/config.h"
6910
cat "$ac_result" >>"$tmp/config.h"
6911
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
5911
6912
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5912
6913
echo "$as_me: $ac_file is unchanged" >&6;}
5914
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5915
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5916
X"$ac_file" : 'X\(//\)[^/]' \| \
5917
X"$ac_file" : 'X\(//\)$' \| \
5918
X"$ac_file" : 'X\(/\)' \| \
5919
. : '\(.\)' 2>/dev/null ||
5921
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5922
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5923
/^X\(\/\/\)$/{ s//\1/; q; }
5924
/^X\(\/\).*/{ s//\1/; q; }
5926
{ if $as_mkdir_p; then
5931
while test ! -d "$as_dir"; do
5932
as_dirs="$as_dir $as_dirs"
5933
as_dir=`(dirname "$as_dir") 2>/dev/null ||
5934
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5935
X"$as_dir" : 'X\(//\)[^/]' \| \
5936
X"$as_dir" : 'X\(//\)$' \| \
5937
X"$as_dir" : 'X\(/\)' \| \
5938
. : '\(.\)' 2>/dev/null ||
5940
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5941
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
5942
/^X\(\/\/\)$/{ s//\1/; q; }
5943
/^X\(\/\).*/{ s//\1/; q; }
5946
test ! -n "$as_dirs" || mkdir $as_dirs
5947
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5948
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5949
{ (exit 1); exit 1; }; }; }
5952
mv $tmp/config.h $ac_file
6916
mv "$tmp/config.h" $ac_file
6919
echo "/* $configure_input */"
5958
6923
# Compute $ac_file's index in $config_headers.
5959
6924
_am_stamp_count=1
5960
6925
for _am_header in $config_headers :; do