65
130
# Name of the executable.
66
as_me=`$as_basename "$0" ||
131
as_me=`$as_basename -- "$0" ||
67
132
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68
133
X"$0" : 'X\(//\)$' \| \
69
X"$0" : 'X\(/\)$' \| \
70
. : '\(.\)' 2>/dev/null ||
134
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
136
sed '/^.*\/\([^/][^/]*\)\/*$/{
154
if test "x$CONFIG_SHELL" = x; then
155
if (eval ":") 2>/dev/null; then
161
if test $as_have_required = yes && (eval ":
171
as_func_ret_success () {
174
as_func_ret_failure () {
179
if as_func_success; then
183
echo as_func_success failed.
186
if as_func_failure; then
188
echo as_func_failure succeeded.
191
if as_func_ret_success; then
195
echo as_func_ret_success failed.
198
if as_func_ret_failure; then
200
echo as_func_ret_failure succeeded.
203
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
207
echo positional parameters were not saved.
210
test \$exitcode = 0) || { (exit 1); exit 1; }
215
test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
216
test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
217
") 2> /dev/null; then
130
221
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131
222
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134
225
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+"$@"}
228
for as_base in sh bash ksh sh5; do
229
as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
236
for as_shell in $as_candidate_shells $SHELL; do
237
# Try only shells that exist, to save several forks.
238
if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
239
{ ("$as_shell") 2> /dev/null <<\_ASEOF
240
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
243
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
244
# is contrary to our usage. Disable this feature.
245
alias -g '${1+"$@"}'='"$@"'
248
case `(set -o) 2>/dev/null` in
249
*posix*) set -o posix ;;
258
CONFIG_SHELL=$as_shell
260
if { "$as_shell" 2> /dev/null <<\_ASEOF
261
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
264
# Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
265
# is contrary to our usage. Disable this feature.
266
alias -g '${1+"$@"}'='"$@"'
269
case `(set -o) 2>/dev/null` in
270
*posix*) set -o posix ;;
286
as_func_ret_success () {
289
as_func_ret_failure () {
294
if as_func_success; then
298
echo as_func_success failed.
301
if as_func_failure; then
303
echo as_func_failure succeeded.
306
if as_func_ret_success; then
310
echo as_func_ret_success failed.
313
if as_func_ret_failure; then
315
echo as_func_ret_failure succeeded.
318
if ( set x; as_func_ret_success y && test x = "$1" ); then
322
echo positional parameters were not saved.
325
test $exitcode = 0) || { (exit 1); exit 1; }
330
test "x$as_lineno_1" != "x$as_lineno_2" &&
331
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
342
if test "x$CONFIG_SHELL" != x; then
343
for as_var in BASH_ENV ENV
344
do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
347
exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
351
if test $as_have_required = no; then
352
echo This script requires a shell more modern than all the
353
echo shells that I found on your system. Please install a
354
echo modern shell, or manually run the script under such a
355
echo shell if you do have one.
356
{ (exit 1); exit 1; }
366
(eval "as_func_return () {
375
as_func_ret_success () {
378
as_func_ret_failure () {
383
if as_func_success; then
387
echo as_func_success failed.
390
if as_func_failure; then
392
echo as_func_failure succeeded.
395
if as_func_ret_success; then
399
echo as_func_ret_success failed.
402
if as_func_ret_failure; then
404
echo as_func_ret_failure succeeded.
407
if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
411
echo positional parameters were not saved.
414
test \$exitcode = 0") || {
415
echo No shell found that supports shell functions.
416
echo Please tell autoconf@gnu.org about your system,
417
echo including any error possibly output before this
425
test "x$as_lineno_1" != "x$as_lineno_2" &&
426
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
156
428
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157
429
# 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.
430
# line-number line after each line using $LINENO; the second 'sed'
431
# does the real work. The second script uses 'N' to pair each
432
# line-number line with the line containing $LINENO, and appends
433
# trailing '-' during substitution so that $LINENO is not a special
162
435
# (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 |
436
# scripts with optimization help from Paolo Bonzini. Blame Lee
437
# E. McMahon (1931-1989) for sed's syntax. :-)
169
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
449
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
172
s,^['$as_cr_digits']*\n,,
173
452
' >$as_me.lineno &&
174
chmod +x $as_me.lineno ||
453
chmod +x "$as_me.lineno" ||
175
454
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176
455
{ (exit 1); exit 1; }; }
178
457
# Don't try to exec as it changes $[0], causing all sort of problems
179
458
# (the dirname of $[0] is not the place where we might find the
180
# original and so on. Autoconf is especially sensible to this).
459
# original and so on. Autoconf is especially sensitive to this).
182
461
# 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= ;;
466
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
472
ECHO_C= ECHO_N= ECHO_T=
476
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
194
if expr a : '\(a\)' >/dev/null 2>&1; then
483
if expr a : '\(a\)' >/dev/null 2>&1 &&
484
test "X`expr 00001 : '.*\(...\)'`" = X001; then
200
490
rm -f conf$$ conf$$.exe conf$$.file
491
if test -d conf$$.dir; then
492
rm -f conf$$.dir/conf$$.file
201
497
echo >conf$$.file
202
498
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
500
# ... but there are two gotchas:
501
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
502
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503
# In both cases, we have to default to `cp -p'.
504
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
211
506
elif ln conf$$.file conf$$ 2>/dev/null; then
216
rm -f conf$$ conf$$.exe conf$$.file
511
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512
rmdir conf$$.dir 2>/dev/null
218
514
if mkdir -p . 2>/dev/null; then
845
1280
Optional Features:
846
1281
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847
1282
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1283
--disable-dependency-tracking speeds up one-time build
1284
--enable-dependency-tracking do not reject slow dependency extractors
848
1285
--enable-gtk2 Compile against GTK2 instead of GTK+
849
1286
--disable-ipv6 Do not enable IPv6
850
1287
--disable-gtktest do not try to compile and run a test GTK+ program
851
--disable-gtktest Do not try to compile and run a test GTK program
853
1289
Optional Packages:
854
1290
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
855
1291
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
856
1292
--without-gtk Do not try to use GTK+ at all
857
--with-gtk-prefix=PFX Prefix where GTK is installed (optional)
858
--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
860
1294
Some influential environment variables:
861
1295
CC C compiler command
862
1296
CFLAGS C compiler flags
863
1297
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
864
1298
nonstandard directory <lib dir>
865
CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
866
headers in a nonstandard directory <include dir>
1299
LIBS libraries to pass to the linker, e.g. -l<library>
1300
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1301
you have headers in a nonstandard directory <include dir>
867
1302
CPP C preprocessor
869
1304
Use these variables to override the choices made by `configure' or to help
870
1305
it to find libraries and programs with nonstandard names/locations.
875
1311
if test "$ac_init_help" = "recursive"; then
876
1312
# If there are subdirs, report their specific --help.
878
1313
for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879
test -d $ac_dir || continue
1314
test -d "$ac_dir" || continue
882
if test "$ac_dir" != .; then
1318
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
883
1320
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
884
# A "../" for each directory in $ac_dir_suffix.
885
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
887
ac_dir_suffix= ac_top_builddir=
1321
# A ".." for each directory in $ac_dir_suffix.
1322
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1323
case $ac_top_builddir_sub in
1324
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1325
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1328
ac_abs_top_builddir=$ac_pwd
1329
ac_abs_builddir=$ac_pwd$ac_dir_suffix
1330
# for backward compatibility:
1331
ac_top_builddir=$ac_top_build_prefix
891
.) # No --srcdir option. We are building in place.
1334
.) # We are building in place.
893
if test -z "$ac_top_builddir"; then
896
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
898
[\\/]* | ?:[\\/]* ) # Absolute path.
1336
ac_top_srcdir=$ac_top_builddir_sub
1337
ac_abs_top_srcdir=$ac_pwd ;;
1338
[\\/]* | ?:[\\/]* ) # Absolute name.
899
1339
ac_srcdir=$srcdir$ac_dir_suffix;
900
ac_top_srcdir=$srcdir ;;
902
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903
ac_top_srcdir=$ac_top_builddir$srcdir ;;
906
# Do not use `cd foo && pwd` to compute absolute paths, because
907
# the directories may not exist.
909
.) ac_abs_builddir="$ac_dir";;
912
.) ac_abs_builddir=`pwd`;;
913
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914
*) ac_abs_builddir=`pwd`/"$ac_dir";;
917
case $ac_abs_builddir in
918
.) ac_abs_top_builddir=${ac_top_builddir}.;;
920
case ${ac_top_builddir}. in
921
.) ac_abs_top_builddir=$ac_abs_builddir;;
922
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926
case $ac_abs_builddir in
927
.) ac_abs_srcdir=$ac_srcdir;;
930
.) ac_abs_srcdir=$ac_abs_builddir;;
931
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935
case $ac_abs_builddir in
936
.) ac_abs_top_srcdir=$ac_top_srcdir;;
938
case $ac_top_srcdir in
939
.) ac_abs_top_srcdir=$ac_abs_builddir;;
940
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946
# Check for guested configure; otherwise get Cygnus style configure.
947
if test -f $ac_srcdir/configure.gnu; then
949
$SHELL $ac_srcdir/configure.gnu --help=recursive
950
elif test -f $ac_srcdir/configure; then
952
$SHELL $ac_srcdir/configure --help=recursive
953
elif test -f $ac_srcdir/configure.ac ||
954
test -f $ac_srcdir/configure.in; then
1340
ac_top_srcdir=$srcdir
1341
ac_abs_top_srcdir=$srcdir ;;
1343
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1344
ac_top_srcdir=$ac_top_build_prefix$srcdir
1345
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1347
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1349
cd "$ac_dir" || { ac_status=$?; continue; }
1350
# Check for guested configure.
1351
if test -f "$ac_srcdir/configure.gnu"; then
1353
$SHELL "$ac_srcdir/configure.gnu" --help=recursive
1354
elif test -f "$ac_srcdir/configure"; then
1356
$SHELL "$ac_srcdir/configure" --help=recursive
958
1358
echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1360
cd "$ac_pwd" || { ac_status=$?; break; }
964
test -n "$ac_init_help" && exit 0
1364
test -n "$ac_init_help" && exit $ac_status
965
1365
if $ac_init_version; then
1368
generated by GNU Autoconf 2.61
968
Copyright (C) 2003 Free Software Foundation, Inc.
1370
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1371
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
969
1372
This configure script is free software; the Free Software Foundation
970
1373
gives unlimited permission to copy, distribute and modify it.
1377
cat >config.log <<_ACEOF
976
1378
This file contains any messages produced by compilers while
977
1379
running configure, to aid debugging if configure makes a mistake.
979
1381
It was created by $as_me, which was
980
generated by GNU Autoconf 2.59. Invocation command line was
1382
generated by GNU Autoconf 2.61. Invocation command line was
987
1390
@%:@@%:@ --------- @%:@@%:@
1451
1878
Check your system clock" >&2;}
1452
1879
{ (exit 1); exit 1; }; }
1455
echo "$as_me:$LINENO: result: yes" >&5
1456
echo "${ECHO_T}yes" >&6
1881
{ echo "$as_me:$LINENO: result: yes" >&5
1882
echo "${ECHO_T}yes" >&6; }
1457
1883
test "$program_prefix" != NONE &&
1458
program_transform_name="s,^,$program_prefix,;$program_transform_name"
1884
program_transform_name="s&^&$program_prefix&;$program_transform_name"
1459
1885
# Use a double $ so make ignores it.
1460
1886
test "$program_suffix" != NONE &&
1461
program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1887
program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1462
1888
# Double any \ or $. echo might interpret backslashes.
1463
1889
# By default was `s,x,x', remove it if useless.
1464
1890
cat <<\_ACEOF >conftest.sed
1465
1891
s/[\\$]/&&/g;s/;s,x,x,$//
1467
1893
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1470
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1471
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1472
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1473
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1896
# expand $ac_aux_dir to an absolute path
1897
am_aux_dir=`cd $ac_aux_dir && pwd`
1899
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1900
# Use eval to expand $SHELL
1901
if eval "$MISSING --run true"; then
1902
am_missing_run="$MISSING --run "
1905
{ echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1906
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1909
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1910
# We used to keeping the `.' as first argument, in order to
1911
# allow $(mkdir_p) to be used without argument. As in
1912
# $(mkdir_p) $(somedir)
1913
# where $(somedir) is conditionally defined. However this is wrong
1915
# 1. if the package is installed by a user who cannot write `.'
1916
# make install will fail,
1917
# 2. the above comment should most certainly read
1918
# $(mkdir_p) $(DESTDIR)$(somedir)
1919
# so it does not work when $(somedir) is undefined and
1920
# $(DESTDIR) is not.
1921
# To support the latter case, we have to write
1922
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1923
# so the `.' trick is pointless.
1924
mkdir_p='mkdir -p --'
1926
# On NextStep and OpenStep, the `mkdir' command does not
1927
# recognize any option. It will interpret all options as
1928
# directories to create, and then abort because `.' already
1930
for d in ./-p ./--version;
1932
test -d $d && rmdir $d
1934
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1935
if test -f "$ac_aux_dir/mkinstalldirs"; then
1936
mkdir_p='$(mkinstalldirs)'
1938
mkdir_p='$(install_sh) -d'
1942
for ac_prog in gawk mawk nawk awk
1944
# Extract the first word of "$ac_prog", so it can be a program name with args.
1945
set dummy $ac_prog; ac_word=$2
1946
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
1947
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1948
if test "${ac_cv_prog_AWK+set}" = set; then
1949
echo $ECHO_N "(cached) $ECHO_C" >&6
1951
if test -n "$AWK"; then
1952
ac_cv_prog_AWK="$AWK" # Let the user override the test.
1954
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958
test -z "$as_dir" && as_dir=.
1959
for ac_exec_ext in '' $ac_executable_extensions; do
1960
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1961
ac_cv_prog_AWK="$ac_prog"
1962
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1972
if test -n "$AWK"; then
1973
{ echo "$as_me:$LINENO: result: $AWK" >&5
1974
echo "${ECHO_T}$AWK" >&6; }
1976
{ echo "$as_me:$LINENO: result: no" >&5
1977
echo "${ECHO_T}no" >&6; }
1981
test -n "$AWK" && break
1984
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1985
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1986
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1987
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1474
1988
echo $ECHO_N "(cached) $ECHO_C" >&6
1476
1990
cat >conftest.make <<\_ACEOF
1478
@echo 'ac_maketemp="$(MAKE)"'
1993
@echo '@@@%%%=$(MAKE)=@@@%%%'
1480
1995
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1481
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1482
if test -n "$ac_maketemp"; then
1483
eval ac_cv_prog_make_${ac_make}_set=yes
1485
eval ac_cv_prog_make_${ac_make}_set=no
1996
case `${MAKE-make} -f conftest.make 2>/dev/null` in
1998
eval ac_cv_prog_make_${ac_make}_set=yes;;
2000
eval ac_cv_prog_make_${ac_make}_set=no;;
1487
2002
rm -f conftest.make
1489
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1490
echo "$as_me:$LINENO: result: yes" >&5
1491
echo "${ECHO_T}yes" >&6
2004
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2005
{ echo "$as_me:$LINENO: result: yes" >&5
2006
echo "${ECHO_T}yes" >&6; }
1494
echo "$as_me:$LINENO: result: no" >&5
1495
echo "${ECHO_T}no" >&6
2009
{ echo "$as_me:$LINENO: result: no" >&5
2010
echo "${ECHO_T}no" >&6; }
1496
2011
SET_MAKE="MAKE=${MAKE-make}"
1504
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
2014
rm -rf .tst 2>/dev/null
2015
mkdir .tst 2>/dev/null
2016
if test -d .tst; then
2021
rmdir .tst 2>/dev/null
2023
# test to see if srcdir already configured
2024
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2025
test -f $srcdir/config.status; then
1505
2026
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1506
2027
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1507
2028
{ (exit 1); exit 1; }; }
2031
# test whether we have cygpath
2032
if test -z "$CYGPATH_W"; then
2033
if (cygpath --version) >/dev/null 2>/dev/null; then
2034
CYGPATH_W='cygpath -w'
2041
# Define the identity of the package.
1510
2046
cat >>confdefs.h <<_ACEOF
1511
2047
@%:@define PACKAGE "$PACKAGE"
1515
2051
cat >>confdefs.h <<_ACEOF
1516
2052
@%:@define VERSION "$VERSION"
1521
missing_dir=`cd $ac_aux_dir && pwd`
1522
echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1523
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1524
# Run test in a subshell; some versions of sh will print an error if
1525
# an executable is not found, even if stderr is redirected.
1526
# Redirect stdin to placate older versions of autoconf. Sigh.
1527
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1528
ACLOCAL=aclocal-${am__api_version}
1529
echo "$as_me:$LINENO: result: found" >&5
1530
echo "${ECHO_T}found" >&6
1532
ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1533
echo "$as_me:$LINENO: result: missing" >&5
1534
echo "${ECHO_T}missing" >&6
1537
echo "$as_me:$LINENO: checking for working autoconf" >&5
1538
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1539
# Run test in a subshell; some versions of sh will print an error if
1540
# an executable is not found, even if stderr is redirected.
1541
# Redirect stdin to placate older versions of autoconf. Sigh.
1542
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1544
echo "$as_me:$LINENO: result: found" >&5
1545
echo "${ECHO_T}found" >&6
1547
AUTOCONF="$missing_dir/missing autoconf"
1548
echo "$as_me:$LINENO: result: missing" >&5
1549
echo "${ECHO_T}missing" >&6
1552
echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1553
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1554
# Run test in a subshell; some versions of sh will print an error if
1555
# an executable is not found, even if stderr is redirected.
1556
# Redirect stdin to placate older versions of autoconf. Sigh.
1557
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1558
AUTOMAKE=automake-${am__api_version}
1559
echo "$as_me:$LINENO: result: found" >&5
1560
echo "${ECHO_T}found" >&6
1562
AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1563
echo "$as_me:$LINENO: result: missing" >&5
1564
echo "${ECHO_T}missing" >&6
1567
echo "$as_me:$LINENO: checking for working autoheader" >&5
1568
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1569
# Run test in a subshell; some versions of sh will print an error if
1570
# an executable is not found, even if stderr is redirected.
1571
# Redirect stdin to placate older versions of autoconf. Sigh.
1572
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1573
AUTOHEADER=autoheader
1574
echo "$as_me:$LINENO: result: found" >&5
1575
echo "${ECHO_T}found" >&6
1577
AUTOHEADER="$missing_dir/missing autoheader"
1578
echo "$as_me:$LINENO: result: missing" >&5
1579
echo "${ECHO_T}missing" >&6
1582
echo "$as_me:$LINENO: checking for working makeinfo" >&5
1583
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1584
# Run test in a subshell; some versions of sh will print an error if
1585
# an executable is not found, even if stderr is redirected.
1586
# Redirect stdin to placate older versions of autoconf. Sigh.
1587
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1589
echo "$as_me:$LINENO: result: found" >&5
1590
echo "${ECHO_T}found" >&6
1592
MAKEINFO="$missing_dir/missing makeinfo"
1593
echo "$as_me:$LINENO: result: missing" >&5
1594
echo "${ECHO_T}missing" >&6
2055
# Some tools Automake needs.
2057
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2060
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2063
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2066
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2069
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2071
install_sh=${install_sh-"$am_aux_dir/install-sh"}
2073
# Installed binaries are usually stripped using `strip' when the user
2074
# run `make install-strip'. However `strip' might not be the right
2075
# tool to use in cross-compilation environments, therefore Automake
2076
# will honor the `STRIP' environment variable to overrule this program.
2077
if test "$cross_compiling" != no; then
2078
if test -n "$ac_tool_prefix"; then
2079
# Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2080
set dummy ${ac_tool_prefix}strip; ac_word=$2
2081
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2082
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2083
if test "${ac_cv_prog_STRIP+set}" = set; then
2084
echo $ECHO_N "(cached) $ECHO_C" >&6
2086
if test -n "$STRIP"; then
2087
ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2089
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2093
test -z "$as_dir" && as_dir=.
2094
for ac_exec_ext in '' $ac_executable_extensions; do
2095
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2096
ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2097
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106
STRIP=$ac_cv_prog_STRIP
2107
if test -n "$STRIP"; then
2108
{ echo "$as_me:$LINENO: result: $STRIP" >&5
2109
echo "${ECHO_T}$STRIP" >&6; }
2111
{ echo "$as_me:$LINENO: result: no" >&5
2112
echo "${ECHO_T}no" >&6; }
2117
if test -z "$ac_cv_prog_STRIP"; then
2119
# Extract the first word of "strip", so it can be a program name with args.
2120
set dummy strip; ac_word=$2
2121
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2122
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2123
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2124
echo $ECHO_N "(cached) $ECHO_C" >&6
2126
if test -n "$ac_ct_STRIP"; then
2127
ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2129
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2133
test -z "$as_dir" && as_dir=.
2134
for ac_exec_ext in '' $ac_executable_extensions; do
2135
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2136
ac_cv_prog_ac_ct_STRIP="strip"
2137
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2147
if test -n "$ac_ct_STRIP"; then
2148
{ echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2149
echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2151
{ echo "$as_me:$LINENO: result: no" >&5
2152
echo "${ECHO_T}no" >&6; }
2155
if test "x$ac_ct_STRIP" = x; then
2158
case $cross_compiling:$ac_tool_warned in
2160
{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2161
whose name does not start with the host triplet. If you think this
2162
configuration is useful to you, please write to autoconf@gnu.org." >&5
2163
echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2164
whose name does not start with the host triplet. If you think this
2165
configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2166
ac_tool_warned=yes ;;
2171
STRIP="$ac_cv_prog_STRIP"
2175
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2177
# We need awk for the "check" target. The system "awk" is bad on
2179
# Always define AMTAR for backward compatibility.
2181
AMTAR=${AMTAR-"${am_missing_run}tar"}
2183
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2165
2809
rm -f conftest.$ac_objext
2166
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2167
(eval $ac_compile) 2>conftest.er1
2810
if { (ac_try="$ac_compile"
2812
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2813
*) ac_try_echo=$ac_try;;
2815
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2816
(eval "$ac_compile") 2>conftest.er1
2169
2818
grep -v '^ *+' conftest.er1 >conftest.err
2170
2819
rm -f conftest.er1
2171
2820
cat conftest.err >&5
2172
2821
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173
(exit $ac_status); } &&
2174
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2175
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2178
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2179
(exit $ac_status); }; } &&
2180
{ ac_try='test -s conftest.$ac_objext'
2181
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2184
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2185
(exit $ac_status); }; }; then
2822
(exit $ac_status); } && {
2823
test -z "$ac_c_werror_flag" ||
2824
test ! -s conftest.err
2825
} && test -s conftest.$ac_objext; then
2186
2826
ac_compiler_gnu=yes
2188
2828
echo "$as_me: failed program was:" >&5
2189
2829
sed 's/^/| /' conftest.$ac_ext >&5
2193
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2834
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2194
2835
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2197
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2198
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2838
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2839
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2199
2840
GCC=`test $ac_compiler_gnu = yes && echo yes`
2200
2841
ac_test_CFLAGS=${CFLAGS+set}
2201
2842
ac_save_CFLAGS=$CFLAGS
2203
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2204
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2843
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2844
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2205
2845
if test "${ac_cv_prog_cc_g+set}" = set; then
2206
2846
echo $ECHO_N "(cached) $ECHO_C" >&6
2208
cat >conftest.$ac_ext <<_ACEOF
2211
cat confdefs.h >>conftest.$ac_ext
2212
cat >>conftest.$ac_ext <<_ACEOF
2213
/* end confdefs.h. */
2223
rm -f conftest.$ac_objext
2224
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225
(eval $ac_compile) 2>conftest.er1
2227
grep -v '^ *+' conftest.er1 >conftest.err
2229
cat conftest.err >&5
2230
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231
(exit $ac_status); } &&
2232
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2233
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237
(exit $ac_status); }; } &&
2238
{ ac_try='test -s conftest.$ac_objext'
2239
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243
(exit $ac_status); }; }; then
2246
echo "$as_me: failed program was:" >&5
2247
sed 's/^/| /' conftest.$ac_ext >&5
2251
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2253
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2254
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2848
ac_save_c_werror_flag=$ac_c_werror_flag
2849
ac_c_werror_flag=yes
2852
cat >conftest.$ac_ext <<_ACEOF
2855
cat confdefs.h >>conftest.$ac_ext
2856
cat >>conftest.$ac_ext <<_ACEOF
2857
/* end confdefs.h. */
2867
rm -f conftest.$ac_objext
2868
if { (ac_try="$ac_compile"
2870
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2871
*) ac_try_echo=$ac_try;;
2873
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2874
(eval "$ac_compile") 2>conftest.er1
2876
grep -v '^ *+' conftest.er1 >conftest.err
2878
cat conftest.err >&5
2879
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2880
(exit $ac_status); } && {
2881
test -z "$ac_c_werror_flag" ||
2882
test ! -s conftest.err
2883
} && test -s conftest.$ac_objext; then
2886
echo "$as_me: failed program was:" >&5
2887
sed 's/^/| /' conftest.$ac_ext >&5
2890
cat >conftest.$ac_ext <<_ACEOF
2893
cat confdefs.h >>conftest.$ac_ext
2894
cat >>conftest.$ac_ext <<_ACEOF
2895
/* end confdefs.h. */
2905
rm -f conftest.$ac_objext
2906
if { (ac_try="$ac_compile"
2908
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2909
*) ac_try_echo=$ac_try;;
2911
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2912
(eval "$ac_compile") 2>conftest.er1
2914
grep -v '^ *+' conftest.er1 >conftest.err
2916
cat conftest.err >&5
2917
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2918
(exit $ac_status); } && {
2919
test -z "$ac_c_werror_flag" ||
2920
test ! -s conftest.err
2921
} && test -s conftest.$ac_objext; then
2924
echo "$as_me: failed program was:" >&5
2925
sed 's/^/| /' conftest.$ac_ext >&5
2927
ac_c_werror_flag=$ac_save_c_werror_flag
2929
cat >conftest.$ac_ext <<_ACEOF
2932
cat confdefs.h >>conftest.$ac_ext
2933
cat >>conftest.$ac_ext <<_ACEOF
2934
/* end confdefs.h. */
2944
rm -f conftest.$ac_objext
2945
if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
2953
grep -v '^ *+' conftest.er1 >conftest.err
2955
cat conftest.err >&5
2956
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2957
(exit $ac_status); } && {
2958
test -z "$ac_c_werror_flag" ||
2959
test ! -s conftest.err
2960
} && test -s conftest.$ac_objext; then
2963
echo "$as_me: failed program was:" >&5
2964
sed 's/^/| /' conftest.$ac_ext >&5
2969
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2972
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2976
ac_c_werror_flag=$ac_save_c_werror_flag
2978
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2979
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2255
2980
if test "$ac_test_CFLAGS" = set; then
2256
2981
CFLAGS=$ac_save_CFLAGS
2257
2982
elif test $ac_cv_prog_cc_g = yes; then
2329
# Don't try gcc -ansi; that turns off useful extensions and
2330
# breaks some systems' header files.
2331
# AIX -qlanglvl=ansi
2332
# Ultrix and OSF/1 -std1
2333
# HP-UX 10.20 and later -Ae
2334
# HP-UX older versions -Aa -D_HPUX_SOURCE
2335
# SVR4 -Xc -D__EXTENSIONS__
2336
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3059
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3060
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2338
3062
CC="$ac_save_CC $ac_arg"
2339
3063
rm -f conftest.$ac_objext
2340
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2341
(eval $ac_compile) 2>conftest.er1
3064
if { (ac_try="$ac_compile"
3066
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3067
*) ac_try_echo=$ac_try;;
3069
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3070
(eval "$ac_compile") 2>conftest.er1
2343
3072
grep -v '^ *+' conftest.er1 >conftest.err
2344
3073
rm -f conftest.er1
2345
3074
cat conftest.err >&5
2346
3075
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2347
(exit $ac_status); } &&
2348
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2349
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2352
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353
(exit $ac_status); }; } &&
2354
{ ac_try='test -s conftest.$ac_objext'
2355
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2358
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359
(exit $ac_status); }; }; then
2360
ac_cv_prog_cc_stdc=$ac_arg
3076
(exit $ac_status); } && {
3077
test -z "$ac_c_werror_flag" ||
3078
test ! -s conftest.err
3079
} && test -s conftest.$ac_objext; then
3080
ac_cv_prog_cc_c89=$ac_arg
2363
3082
echo "$as_me: failed program was:" >&5
2364
3083
sed 's/^/| /' conftest.$ac_ext >&5
2367
rm -f conftest.err conftest.$ac_objext
3088
rm -f core conftest.err conftest.$ac_objext
3089
test "x$ac_cv_prog_cc_c89" != "xno" && break
2369
rm -f conftest.$ac_ext conftest.$ac_objext
3091
rm -f conftest.$ac_ext
2374
case "x$ac_cv_prog_cc_stdc" in
2376
echo "$as_me:$LINENO: result: none needed" >&5
2377
echo "${ECHO_T}none needed" >&6 ;;
3096
case "x$ac_cv_prog_cc_c89" in
3098
{ echo "$as_me:$LINENO: result: none needed" >&5
3099
echo "${ECHO_T}none needed" >&6; } ;;
3101
{ echo "$as_me:$LINENO: result: unsupported" >&5
3102
echo "${ECHO_T}unsupported" >&6; } ;;
2379
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2380
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2381
CC="$CC $ac_cv_prog_cc_stdc" ;;
3104
CC="$CC $ac_cv_prog_cc_c89"
3105
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3106
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2384
# Some people use a C++ compiler to compile C. Since we use `exit',
2385
# in C++ we need to declare it. In case someone uses the same compiler
2386
# for both compiling C and C++ we need to have the C++ compiler decide
2387
# the declaration of exit, since it's the most demanding environment.
2388
cat >conftest.$ac_ext <<_ACEOF
2389
@%:@ifndef __cplusplus
2393
rm -f conftest.$ac_objext
2394
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2395
(eval $ac_compile) 2>conftest.er1
2397
grep -v '^ *+' conftest.er1 >conftest.err
2399
cat conftest.err >&5
2400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401
(exit $ac_status); } &&
2402
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2403
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407
(exit $ac_status); }; } &&
2408
{ ac_try='test -s conftest.$ac_objext'
2409
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2412
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413
(exit $ac_status); }; }; then
2414
for ac_declaration in \
2416
'extern "C" void std::exit (int) throw (); using std::exit;' \
2417
'extern "C" void std::exit (int); using std::exit;' \
2418
'extern "C" void exit (int) throw ();' \
2419
'extern "C" void exit (int);' \
2422
cat >conftest.$ac_ext <<_ACEOF
2425
cat confdefs.h >>conftest.$ac_ext
2426
cat >>conftest.$ac_ext <<_ACEOF
2427
/* end confdefs.h. */
2429
@%:@include <stdlib.h>
2438
rm -f conftest.$ac_objext
2439
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2440
(eval $ac_compile) 2>conftest.er1
2442
grep -v '^ *+' conftest.er1 >conftest.err
2444
cat conftest.err >&5
2445
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446
(exit $ac_status); } &&
2447
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2448
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2451
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2452
(exit $ac_status); }; } &&
2453
{ ac_try='test -s conftest.$ac_objext'
2454
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2457
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2458
(exit $ac_status); }; }; then
2461
echo "$as_me: failed program was:" >&5
2462
sed 's/^/| /' conftest.$ac_ext >&5
2466
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2467
cat >conftest.$ac_ext <<_ACEOF
2470
cat confdefs.h >>conftest.$ac_ext
2471
cat >>conftest.$ac_ext <<_ACEOF
2472
/* end confdefs.h. */
2482
rm -f conftest.$ac_objext
2483
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2484
(eval $ac_compile) 2>conftest.er1
2486
grep -v '^ *+' conftest.er1 >conftest.err
2488
cat conftest.err >&5
2489
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2490
(exit $ac_status); } &&
2491
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2492
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2495
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2496
(exit $ac_status); }; } &&
2497
{ ac_try='test -s conftest.$ac_objext'
2498
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502
(exit $ac_status); }; }; then
2505
echo "$as_me: failed program was:" >&5
2506
sed 's/^/| /' conftest.$ac_ext >&5
2509
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2512
if test -n "$ac_declaration"; then
2513
echo '#ifdef __cplusplus' >>confdefs.h
2514
echo $ac_declaration >>confdefs.h
2515
echo '#endif' >>confdefs.h
2519
echo "$as_me: failed program was:" >&5
2520
sed 's/^/| /' conftest.$ac_ext >&5
2523
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2525
ac_cpp='$CPP $CPPFLAGS'
2526
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2527
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2528
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2533
ac_cpp='$CPP $CPPFLAGS'
2534
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2535
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2536
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2537
echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2538
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3111
ac_cpp='$CPP $CPPFLAGS'
3112
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3113
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3114
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3115
DEPDIR="${am__leading_dot}deps"
3117
ac_config_commands="$ac_config_commands depfiles"
3120
am_make=${MAKE-make}
3121
cat > confinc << 'END'
3126
# If we don't find an include directive, just comment out the code.
3127
{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3128
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3132
# First try GNU make style include.
3133
echo "include confinc" > confmf
3134
# We grep out `Entering directory' and `Leaving directory'
3135
# messages which can occur if `w' ends up in MAKEFLAGS.
3136
# In particular we don't look at `^make:' because GNU make might
3137
# be invoked under some other name (usually "gmake"), in which
3138
# case it prints its new name instead of `make'.
3139
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3144
# Now try BSD make style include.
3145
if test "$am__include" = "#"; then
3146
echo '.include "confinc"' > confmf
3147
if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3148
am__include=.include
3155
{ echo "$as_me:$LINENO: result: $_am_result" >&5
3156
echo "${ECHO_T}$_am_result" >&6; }
3157
rm -f confinc confmf
3159
# Check whether --enable-dependency-tracking was given.
3160
if test "${enable_dependency_tracking+set}" = set; then
3161
enableval=$enable_dependency_tracking;
3164
if test "x$enable_dependency_tracking" != xno; then
3165
am_depcomp="$ac_aux_dir/depcomp"
3170
if test "x$enable_dependency_tracking" != xno; then
3181
depcc="$CC" am_compiler_list=
3183
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3184
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3185
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3186
echo $ECHO_N "(cached) $ECHO_C" >&6
3188
if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3189
# We make a subdir and do the tests there. Otherwise we can end up
3190
# making bogus files that we don't know about and never remove. For
3191
# instance it was reported that on HP-UX the gcc test will end up
3192
# making a dummy file named `D' -- because `-MD' means `put the output
3195
# Copy depcomp to subdir because otherwise we won't find it if we're
3196
# using a relative directory.
3197
cp "$am_depcomp" conftest.dir
3199
# We will build objects and dependencies in a subdirectory because
3200
# it helps to detect inapplicable dependency modes. For instance
3201
# both Tru64's cc and ICC support -MD to output dependencies as a
3202
# side effect of compilation, but ICC will put the dependencies in
3203
# the current directory while Tru64 will put them in the object
3207
am_cv_CC_dependencies_compiler_type=none
3208
if test "$am_compiler_list" = ""; then
3209
am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3211
for depmode in $am_compiler_list; do
3212
# Setup a source with many dependencies, because some compilers
3213
# like to wrap large dependency lists on column 80 (with \), and
3214
# we should not choose a depcomp mode which is confused by this.
3216
# We need to recreate these files for each test, as the compiler may
3217
# overwrite some of them when testing with obscure command lines.
3218
# This happens at least with the AIX C compiler.
3220
for i in 1 2 3 4 5 6; do
3221
echo '#include "conftst'$i'.h"' >> sub/conftest.c
3222
# Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3223
# Solaris 8's {/usr,}/bin/sh.
3224
touch sub/conftst$i.h
3226
echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3230
# after this tag, mechanisms are not by side-effect, so they'll
3231
# only be used when explicitly requested
3232
if test "x$enable_dependency_tracking" = xyes; then
3240
# We check with `-c' and `-o' for the sake of the "dashmstdout"
3241
# mode. It turns out that the SunPro C++ compiler does not properly
3242
# handle `-M -o', and we need to detect this.
3243
if depmode=$depmode \
3244
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3245
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3246
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3247
>/dev/null 2>conftest.err &&
3248
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3249
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3250
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3251
# icc doesn't choke on unknown options, it will just issue warnings
3252
# or remarks (even with -Werror). So we grep stderr for any message
3253
# that says an option was ignored or not supported.
3254
# When given -MP, icc 7.0 and 7.1 complain thusly:
3255
# icc: Command line warning: ignoring option '-M'; no argument required
3256
# The diagnosis changed in icc 8.0:
3257
# icc: Command line remark: option '-MP' not supported
3258
if (grep 'ignoring option' conftest.err ||
3259
grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3260
am_cv_CC_dependencies_compiler_type=$depmode
3269
am_cv_CC_dependencies_compiler_type=none
3273
{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3274
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3275
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3280
test "x$enable_dependency_tracking" != xno \
3281
&& test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3283
am__fastdepCC_FALSE='#'
3285
am__fastdepCC_TRUE='#'
3286
am__fastdepCC_FALSE=
3293
ac_cpp='$CPP $CPPFLAGS'
3294
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3295
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3296
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3297
{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3298
echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2539
3299
# On Suns, sometimes $CPP names a directory.
2540
3300
if test -n "$CPP" && test -d "$CPP"; then
2764
3520
ac_compiler_gnu=$ac_cv_c_compiler_gnu
2767
echo "$as_me:$LINENO: checking for egrep" >&5
2768
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2769
if test "${ac_cv_prog_egrep+set}" = set; then
2770
echo $ECHO_N "(cached) $ECHO_C" >&6
2772
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2773
then ac_cv_prog_egrep='grep -E'
2774
else ac_cv_prog_egrep='egrep'
2777
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2778
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2779
EGREP=$ac_cv_prog_egrep
2782
echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2783
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3523
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3524
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
3525
if test "${ac_cv_path_GREP+set}" = set; then
3526
echo $ECHO_N "(cached) $ECHO_C" >&6
3528
# Extract the first word of "grep ggrep" to use in msg output
3529
if test -z "$GREP"; then
3530
set dummy grep ggrep; ac_prog_name=$2
3531
if test "${ac_cv_path_GREP+set}" = set; then
3532
echo $ECHO_N "(cached) $ECHO_C" >&6
3534
ac_path_GREP_found=false
3535
# Loop through the user's path and test for each of PROGNAME-LIST
3536
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3537
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3540
test -z "$as_dir" && as_dir=.
3541
for ac_prog in grep ggrep; do
3542
for ac_exec_ext in '' $ac_executable_extensions; do
3543
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3544
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3545
# Check for GNU ac_path_GREP and select it if it is found.
3546
# Check for GNU $ac_path_GREP
3547
case `"$ac_path_GREP" --version 2>&1` in
3549
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3552
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3555
cat "conftest.in" "conftest.in" >"conftest.tmp"
3556
mv "conftest.tmp" "conftest.in"
3557
cp "conftest.in" "conftest.nl"
3558
echo 'GREP' >> "conftest.nl"
3559
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3560
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3561
ac_count=`expr $ac_count + 1`
3562
if test $ac_count -gt ${ac_path_GREP_max-0}; then
3563
# Best one so far, save it but keep looking for a better one
3564
ac_cv_path_GREP="$ac_path_GREP"
3565
ac_path_GREP_max=$ac_count
3567
# 10*(2^10) chars as input seems more than enough
3568
test $ac_count -gt 10 && break
3570
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3574
$ac_path_GREP_found && break 3
3584
GREP="$ac_cv_path_GREP"
3585
if test -z "$GREP"; then
3586
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3587
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3588
{ (exit 1); exit 1; }; }
3592
ac_cv_path_GREP=$GREP
3597
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3598
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
3599
GREP="$ac_cv_path_GREP"
3602
{ echo "$as_me:$LINENO: checking for egrep" >&5
3603
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
3604
if test "${ac_cv_path_EGREP+set}" = set; then
3605
echo $ECHO_N "(cached) $ECHO_C" >&6
3607
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3608
then ac_cv_path_EGREP="$GREP -E"
3610
# Extract the first word of "egrep" to use in msg output
3611
if test -z "$EGREP"; then
3612
set dummy egrep; ac_prog_name=$2
3613
if test "${ac_cv_path_EGREP+set}" = set; then
3614
echo $ECHO_N "(cached) $ECHO_C" >&6
3616
ac_path_EGREP_found=false
3617
# Loop through the user's path and test for each of PROGNAME-LIST
3618
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3619
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3622
test -z "$as_dir" && as_dir=.
3623
for ac_prog in egrep; do
3624
for ac_exec_ext in '' $ac_executable_extensions; do
3625
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3626
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3627
# Check for GNU ac_path_EGREP and select it if it is found.
3628
# Check for GNU $ac_path_EGREP
3629
case `"$ac_path_EGREP" --version 2>&1` in
3631
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3634
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
3637
cat "conftest.in" "conftest.in" >"conftest.tmp"
3638
mv "conftest.tmp" "conftest.in"
3639
cp "conftest.in" "conftest.nl"
3640
echo 'EGREP' >> "conftest.nl"
3641
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3642
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3643
ac_count=`expr $ac_count + 1`
3644
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3645
# Best one so far, save it but keep looking for a better one
3646
ac_cv_path_EGREP="$ac_path_EGREP"
3647
ac_path_EGREP_max=$ac_count
3649
# 10*(2^10) chars as input seems more than enough
3650
test $ac_count -gt 10 && break
3652
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3656
$ac_path_EGREP_found && break 3
3666
EGREP="$ac_cv_path_EGREP"
3667
if test -z "$EGREP"; then
3668
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3669
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3670
{ (exit 1); exit 1; }; }
3674
ac_cv_path_EGREP=$EGREP
3680
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3681
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
3682
EGREP="$ac_cv_path_EGREP"
3685
{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3686
echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
2784
3687
if test "${ac_cv_header_stdc+set}" = set; then
2785
3688
echo $ECHO_N "(cached) $ECHO_C" >&6
5866
6739
rm -f conf.gtktest
5870
# Check whether --with-gtk-prefix or --without-gtk-prefix was given.
5871
if test "${with_gtk_prefix+set}" = set; then
5872
withval="$with_gtk_prefix"
5873
gtk_config_prefix="$withval"
5875
gtk_config_prefix=""
5878
# Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
5879
if test "${with_gtk_exec_prefix+set}" = set; then
5880
withval="$with_gtk_exec_prefix"
5881
gtk_config_exec_prefix="$withval"
5883
gtk_config_exec_prefix=""
5885
# Check whether --enable-gtktest or --disable-gtktest was given.
5886
if test "${enable_gtktest+set}" = set; then
5887
enableval="$enable_gtktest"
5897
gtk_config_args="$gtk_config_args gthread"
5902
if test x$gtk_config_exec_prefix != x ; then
5903
gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
5904
if test x${GTK_CONFIG+set} != xset ; then
5905
GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
5908
if test x$gtk_config_prefix != x ; then
5909
gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
5910
if test x${GTK_CONFIG+set} != xset ; then
5911
GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
5915
# Extract the first word of "gtk-config", so it can be a program name with args.
5916
set dummy gtk-config; ac_word=$2
5917
echo "$as_me:$LINENO: checking for $ac_word" >&5
5918
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5919
if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
5920
echo $ECHO_N "(cached) $ECHO_C" >&6
5924
ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
5927
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5931
test -z "$as_dir" && as_dir=.
5932
for ac_exec_ext in '' $ac_executable_extensions; do
5933
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5934
ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5935
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5941
test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
5945
GTK_CONFIG=$ac_cv_path_GTK_CONFIG
5947
if test -n "$GTK_CONFIG"; then
5948
echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
5949
echo "${ECHO_T}$GTK_CONFIG" >&6
5951
echo "$as_me:$LINENO: result: no" >&5
5952
echo "${ECHO_T}no" >&6
5955
min_gtk_version=1.0.0
5956
echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
5957
echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
5959
if test "$GTK_CONFIG" = "no" ; then
5962
GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
5963
GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
5964
gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
5965
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
5966
gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
5967
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
5968
gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
5969
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
5970
if test "x$enable_gtktest" = "xyes" ; then
5971
ac_save_CFLAGS="$CFLAGS"
5972
ac_save_LIBS="$LIBS"
5973
CFLAGS="$CFLAGS $GTK_CFLAGS"
5974
LIBS="$GTK_LIBS $LIBS"
5976
if test "$cross_compiling" = yes; then
5977
echo $ac_n "cross compiling; assumed OK... $ac_c"
5979
cat >conftest.$ac_ext <<_ACEOF
5982
cat confdefs.h >>conftest.$ac_ext
5983
cat >>conftest.$ac_ext <<_ACEOF
5984
/* end confdefs.h. */
5986
#include <gtk/gtk.h>
5993
int major, minor, micro;
5996
system ("touch conf.gtktest");
5998
/* HP/UX 9 (%@#!) writes to sscanf strings */
5999
tmp_version = g_strdup("$min_gtk_version");
6000
if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
6001
printf("%s, bad version string\n", "$min_gtk_version");
6005
if ((gtk_major_version != $gtk_config_major_version) ||
6006
(gtk_minor_version != $gtk_config_minor_version) ||
6007
(gtk_micro_version != $gtk_config_micro_version))
6009
printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
6010
$gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
6011
gtk_major_version, gtk_minor_version, gtk_micro_version);
6012
printf ("*** was found! If gtk-config was correct, then it is best\n");
6013
printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
6014
printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
6015
printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
6016
printf("*** required on your system.\n");
6017
printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
6018
printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
6019
printf("*** before re-running configure\n");
6021
#if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
6022
else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
6023
(gtk_minor_version != GTK_MINOR_VERSION) ||
6024
(gtk_micro_version != GTK_MICRO_VERSION))
6026
printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
6027
GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
6028
printf("*** library (version %d.%d.%d)\n",
6029
gtk_major_version, gtk_minor_version, gtk_micro_version);
6031
#endif /* defined (GTK_MAJOR_VERSION) ... */
6034
if ((gtk_major_version > major) ||
6035
((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6036
((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
6042
printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
6043
gtk_major_version, gtk_minor_version, gtk_micro_version);
6044
printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
6045
major, minor, micro);
6046
printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
6048
printf("*** If you have already installed a sufficiently new version, this error\n");
6049
printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
6050
printf("*** being found. The easiest way to fix this is to remove the old version\n");
6051
printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
6052
printf("*** correct copy of gtk-config. (In this case, you will have to\n");
6053
printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
6054
printf("*** so that the correct libraries are found at run-time))\n");
6061
rm -f conftest$ac_exeext
6062
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6063
(eval $ac_link) 2>&5
6065
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6066
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6067
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6070
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6071
(exit $ac_status); }; }; then
6074
echo "$as_me: program exited with status $ac_status" >&5
6075
echo "$as_me: failed program was:" >&5
6076
sed 's/^/| /' conftest.$ac_ext >&5
6081
rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6083
CFLAGS="$ac_save_CFLAGS"
6084
LIBS="$ac_save_LIBS"
6087
if test "x$no_gtk" = x ; then
6088
echo "$as_me:$LINENO: result: yes" >&5
6089
echo "${ECHO_T}yes" >&6
6090
CFLAGS="$CFLAGS $GTK_CFLAGS"
6091
LIBS="$LIBS $GTK_LIBS"
6093
echo "$as_me:$LINENO: result: no" >&5
6094
echo "${ECHO_T}no" >&6
6095
if test "$GTK_CONFIG" = "no" ; then
6096
echo "*** The gtk-config script installed by GTK could not be found"
6097
echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
6098
echo "*** your path, or set the GTK_CONFIG environment variable to the"
6099
echo "*** full path to gtk-config."
6101
if test -f conf.gtktest ; then
6104
echo "*** Could not run GTK test program, checking why..."
6105
CFLAGS="$CFLAGS $GTK_CFLAGS"
6106
LIBS="$LIBS $GTK_LIBS"
6107
cat >conftest.$ac_ext <<_ACEOF
6110
cat confdefs.h >>conftest.$ac_ext
6111
cat >>conftest.$ac_ext <<_ACEOF
6112
/* end confdefs.h. */
6114
#include <gtk/gtk.h>
6120
return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
6125
rm -f conftest.$ac_objext conftest$ac_exeext
6126
if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6127
(eval $ac_link) 2>conftest.er1
6129
grep -v '^ *+' conftest.er1 >conftest.err
6131
cat conftest.err >&5
6132
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133
(exit $ac_status); } &&
6134
{ ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6135
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6138
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139
(exit $ac_status); }; } &&
6140
{ ac_try='test -s conftest$ac_exeext'
6141
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6144
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145
(exit $ac_status); }; }; then
6146
echo "*** The test program compiled, but did not run. This usually means"
6147
echo "*** that the run-time linker is not finding GTK or finding the wrong"
6148
echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
6149
echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
6150
echo "*** to the installed location Also, make sure you have run ldconfig if that"
6151
echo "*** is required on your system"
6153
echo "*** If you have an old version installed, it is best to remove it, although"
6154
echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
6156
echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
6157
echo "*** came with the system with the command"
6159
echo "*** rpm --erase --nodeps gtk gtk-devel"
6161
echo "$as_me: failed program was:" >&5
6162
sed 's/^/| /' conftest.$ac_ext >&5
6164
echo "*** The test program failed to compile or link. See the file config.log for the"
6165
echo "*** exact error that occured. This usually means GTK was incorrectly installed"
6166
echo "*** or that you have moved GTK since it was installed. In the latter case, you"
6167
echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
6169
rm -f conftest.err conftest.$ac_objext \
6170
conftest$ac_exeext conftest.$ac_ext
6171
CFLAGS="$ac_save_CFLAGS"
6172
LIBS="$ac_save_LIBS"
6177
{ echo "$as_me:$LINENO: WARNING: Building without GTK+ display support" >&5
6742
AM_PATH_GTK(1.0.0, CFLAGS="$CFLAGS $GTK_CFLAGS"
6743
LIBS="$LIBS $GTK_LIBS",
6744
{ echo "$as_me:$LINENO: WARNING: Building without GTK+ display support" >&5
6178
6745
echo "$as_me: WARNING: Building without GTK+ display support" >&2;}
6179
6746
cat >>confdefs.h <<\_ACEOF
6180
6747
@%:@define NO_GTK 1
6191
6753
cat >>confdefs.h <<\_ACEOF
7267
echo "$as_me:$LINENO: checking for C flags to get more warnings" >&5
7268
echo $ECHO_N "checking for C flags to get more warnings... $ECHO_C" >&6
7768
{ echo "$as_me:$LINENO: checking whether errno is declared" >&5
7769
echo $ECHO_N "checking whether errno is declared... $ECHO_C" >&6; }
7770
if test "${ac_cv_have_decl_errno+set}" = set; then
7771
echo $ECHO_N "(cached) $ECHO_C" >&6
7773
cat >conftest.$ac_ext <<_ACEOF
7776
cat confdefs.h >>conftest.$ac_ext
7777
cat >>conftest.$ac_ext <<_ACEOF
7778
/* end confdefs.h. */
7781
#include <sys/errno.h>
7795
rm -f conftest.$ac_objext
7796
if { (ac_try="$ac_compile"
7798
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7799
*) ac_try_echo=$ac_try;;
7801
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7802
(eval "$ac_compile") 2>conftest.er1
7804
grep -v '^ *+' conftest.er1 >conftest.err
7806
cat conftest.err >&5
7807
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7808
(exit $ac_status); } && {
7809
test -z "$ac_c_werror_flag" ||
7810
test ! -s conftest.err
7811
} && test -s conftest.$ac_objext; then
7812
ac_cv_have_decl_errno=yes
7814
echo "$as_me: failed program was:" >&5
7815
sed 's/^/| /' conftest.$ac_ext >&5
7817
ac_cv_have_decl_errno=no
7820
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7822
{ echo "$as_me:$LINENO: result: $ac_cv_have_decl_errno" >&5
7823
echo "${ECHO_T}$ac_cv_have_decl_errno" >&6; }
7824
if test $ac_cv_have_decl_errno = yes; then
7826
cat >>confdefs.h <<_ACEOF
7827
@%:@define HAVE_DECL_ERRNO 1
7832
cat >>confdefs.h <<_ACEOF
7833
@%:@define HAVE_DECL_ERRNO 0
7841
{ echo "$as_me:$LINENO: checking for socklen_t" >&5
7842
echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
7843
if test "${ac_cv_type_socklen_t+set}" = set; then
7844
echo $ECHO_N "(cached) $ECHO_C" >&6
7846
cat >conftest.$ac_ext <<_ACEOF
7849
cat confdefs.h >>conftest.$ac_ext
7850
cat >>conftest.$ac_ext <<_ACEOF
7851
/* end confdefs.h. */
7853
#include <netinet/in.h>
7856
typedef socklen_t ac__type_new_;
7860
if ((ac__type_new_ *) 0)
7862
if (sizeof (ac__type_new_))
7868
rm -f conftest.$ac_objext
7869
if { (ac_try="$ac_compile"
7871
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7872
*) ac_try_echo=$ac_try;;
7874
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7875
(eval "$ac_compile") 2>conftest.er1
7877
grep -v '^ *+' conftest.er1 >conftest.err
7879
cat conftest.err >&5
7880
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7881
(exit $ac_status); } && {
7882
test -z "$ac_c_werror_flag" ||
7883
test ! -s conftest.err
7884
} && test -s conftest.$ac_objext; then
7885
ac_cv_type_socklen_t=yes
7887
echo "$as_me: failed program was:" >&5
7888
sed 's/^/| /' conftest.$ac_ext >&5
7890
ac_cv_type_socklen_t=no
7893
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7895
{ echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
7896
echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
7897
if test $ac_cv_type_socklen_t = yes; then
7899
cat >>confdefs.h <<\_ACEOF
7900
@%:@define HAVE_SOCKLEN_T
7906
{ echo "$as_me:$LINENO: checking for struct in_addr" >&5
7907
echo $ECHO_N "checking for struct in_addr... $ECHO_C" >&6; }
7908
if test "${ac_cv_type_struct_in_addr+set}" = set; then
7909
echo $ECHO_N "(cached) $ECHO_C" >&6
7911
cat >conftest.$ac_ext <<_ACEOF
7914
cat confdefs.h >>conftest.$ac_ext
7915
cat >>conftest.$ac_ext <<_ACEOF
7916
/* end confdefs.h. */
7918
#include <netinet/in.h>
7921
typedef struct in_addr ac__type_new_;
7925
if ((ac__type_new_ *) 0)
7927
if (sizeof (ac__type_new_))
7933
rm -f conftest.$ac_objext
7934
if { (ac_try="$ac_compile"
7936
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7937
*) ac_try_echo=$ac_try;;
7939
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7940
(eval "$ac_compile") 2>conftest.er1
7942
grep -v '^ *+' conftest.er1 >conftest.err
7944
cat conftest.err >&5
7945
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946
(exit $ac_status); } && {
7947
test -z "$ac_c_werror_flag" ||
7948
test ! -s conftest.err
7949
} && test -s conftest.$ac_objext; then
7950
ac_cv_type_struct_in_addr=yes
7952
echo "$as_me: failed program was:" >&5
7953
sed 's/^/| /' conftest.$ac_ext >&5
7955
ac_cv_type_struct_in_addr=no
7958
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7960
{ echo "$as_me:$LINENO: result: $ac_cv_type_struct_in_addr" >&5
7961
echo "${ECHO_T}$ac_cv_type_struct_in_addr" >&6; }
7962
if test $ac_cv_type_struct_in_addr = yes; then
7964
cat >>confdefs.h <<\_ACEOF
7965
@%:@define HAVE_STRUCT_INADDR
7971
{ echo "$as_me:$LINENO: checking for C flags to get more warnings" >&5
7972
echo $ECHO_N "checking for C flags to get more warnings... $ECHO_C" >&6; }
7269
7973
ac_save_CFLAGS="$CFLAGS"
7270
7974
if test "x$ac_cv_c_compiler_gnu" = "xyes" ; then
7271
7975
warning_CFLAGS="-Wall"
7562
8343
# Name of the executable.
7563
as_me=`$as_basename "$0" ||
8344
as_me=`$as_basename -- "$0" ||
7564
8345
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7565
8346
X"$0" : 'X\(//\)$' \| \
7566
X"$0" : 'X\(/\)$' \| \
7567
. : '\(.\)' 2>/dev/null ||
8347
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7569
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7570
/^X\/\(\/\/\)$/{ s//\1/; q; }
7571
/^X\/\(\/\).*/{ s//\1/; q; }
7575
# PATH needs CR, and LINENO needs CR and PATH.
7576
# Avoid depending upon Character Ranges.
7577
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7578
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7579
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7580
as_cr_digits='0123456789'
7581
as_cr_alnum=$as_cr_Letters$as_cr_digits
7583
# The user is always right.
7584
if test "${PATH_SEPARATOR+set}" != set; then
7585
echo "#! /bin/sh" >conf$$.sh
7586
echo "exit 0" >>conf$$.sh
7588
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7599
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7600
test "x$as_lineno_1" != "x$as_lineno_2" &&
7601
test "x$as_lineno_3" = "x$as_lineno_2" || {
7602
# Find who we are. Look in the path if we contain no path at all
7605
*[\\/]* ) as_myself=$0 ;;
7606
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610
test -z "$as_dir" && as_dir=.
7611
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7616
# We did not find ourselves, most probably we were run as `sh COMMAND'
7617
# in which case we are not to be found in the path.
7618
if test "x$as_myself" = x; then
7621
if test ! -f "$as_myself"; then
7622
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7623
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7624
{ (exit 1); exit 1; }; }
7626
case $CONFIG_SHELL in
7628
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7632
test -z "$as_dir" && as_dir=.
7633
for as_base in sh bash ksh sh5; do
7636
if ("$as_dir/$as_base" -c '
7639
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7640
test "x$as_lineno_1" != "x$as_lineno_2" &&
7641
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7642
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7643
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7644
CONFIG_SHELL=$as_dir/$as_base
7646
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
8349
sed '/^.*\/\([^/][^/]*\)\/*$/{
8370
test "x$as_lineno_1" != "x$as_lineno_2" &&
8371
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
7654
8373
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7655
8374
# uniformly replaced by the line number. The first 'sed' inserts a
7656
# line-number line before each line; the second 'sed' does the real
7657
# work. The second script uses 'N' to pair each line-number line
7658
# with the numbered line, and appends trailing '-' during
7659
# substitution so that $LINENO is not a special case at line end.
8375
# line-number line after each line using $LINENO; the second 'sed'
8376
# does the real work. The second script uses 'N' to pair each
8377
# line-number line with the line containing $LINENO, and appends
8378
# trailing '-' during substitution so that $LINENO is not a special
7660
8380
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7661
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7662
sed '=' <$as_myself |
8381
# scripts with optimization help from Paolo Bonzini. Blame Lee
8382
# E. McMahon (1931-1989) for sed's syntax. :-)
7667
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
8394
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
7670
s,^['$as_cr_digits']*\n,,
7671
8397
' >$as_me.lineno &&
7672
chmod +x $as_me.lineno ||
7673
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7674
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
8398
chmod +x "$as_me.lineno" ||
8399
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
7675
8400
{ (exit 1); exit 1; }; }
7677
8402
# Don't try to exec as it changes $[0], causing all sort of problems
7678
8403
# (the dirname of $[0] is not the place where we might find the
7679
# original and so on. Autoconf is especially sensible to this).
8404
# original and so on. Autoconf is especially sensitive to this).
7681
8406
# Exit status is that of the last command.
7686
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7687
*c*,-n*) ECHO_N= ECHO_C='
7689
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7690
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
8411
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
8417
ECHO_C= ECHO_N= ECHO_T=
8420
case `echo 'x\c'` in
8421
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
7693
if expr a : '\(a\)' >/dev/null 2>&1; then
8428
if expr a : '\(a\)' >/dev/null 2>&1 &&
8429
test "X`expr 00001 : '.*\(...\)'`" = X001; then
7699
8435
rm -f conf$$ conf$$.exe conf$$.file
8436
if test -d conf$$.dir; then
8437
rm -f conf$$.dir/conf$$.file
7700
8442
echo >conf$$.file
7701
8443
if ln -s conf$$.file conf$$ 2>/dev/null; then
7702
# We could just check for DJGPP; but this test a) works b) is more generic
7703
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7704
if test -f conf$$.exe; then
7705
# Don't use ln at all; we don't have any links
8445
# ... but there are two gotchas:
8446
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8447
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8448
# In both cases, we have to default to `cp -p'.
8449
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
7706
8450
as_ln_s='cp -p'
7710
8451
elif ln conf$$.file conf$$ 2>/dev/null; then
7713
8454
as_ln_s='cp -p'
7715
rm -f conf$$ conf$$.exe conf$$.file
8456
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
8457
rmdir conf$$.dir 2>/dev/null
7717
8459
if mkdir -p . 2>/dev/null; then
7949
8690
# Have a temporary directory for convenience. Make it in the build tree
7950
# simply because there is no reason to put it here, and in addition,
8691
# simply because there is no reason against having it here, and in addition,
7951
8692
# creating and moving files from /tmp can sometimes cause problems.
7952
# Create a temporary directory, and hook for its removal unless debugging.
8693
# Hook for its removal unless debugging.
8694
# Note that there is a small window in which the directory will not be cleaned:
8695
# after its creation but before its name has been assigned to `$tmp'.
7955
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8699
trap 'exit_status=$?
8700
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
7956
8702
trap '{ (exit 1); exit 1; }' 1 2 13 15
7959
8704
# Create a (secure) tmp directory for tmp files.
7962
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8707
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7963
8708
test -n "$tmp" && test -d "$tmp"
7966
tmp=./confstat$$-$RANDOM
7967
(umask 077 && mkdir $tmp)
8711
tmp=./conf$$-$RANDOM
8712
(umask 077 && mkdir "$tmp")
7970
8715
echo "$me: cannot create a temporary directory in ." >&2
7971
8716
{ (exit 1); exit 1; }
7976
cat >>$CONFIG_STATUS <<_ACEOF
7979
# CONFIG_FILES section.
8720
# Set up the sed scripts for CONFIG_FILES section.
7982
8723
# No need to generate the scripts if there are no CONFIG_FILES.
7983
8724
# This happens for instance when ./config.status config.h
7984
if test -n "\$CONFIG_FILES"; then
7985
# Protect against being on the right side of a sed subst in config.status.
7986
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7987
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7988
s,@SHELL@,$SHELL,;t t
7989
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7990
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7991
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7992
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7993
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7994
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7995
s,@exec_prefix@,$exec_prefix,;t t
7996
s,@prefix@,$prefix,;t t
7997
s,@program_transform_name@,$program_transform_name,;t t
7998
s,@bindir@,$bindir,;t t
7999
s,@sbindir@,$sbindir,;t t
8000
s,@libexecdir@,$libexecdir,;t t
8001
s,@datadir@,$datadir,;t t
8002
s,@sysconfdir@,$sysconfdir,;t t
8003
s,@sharedstatedir@,$sharedstatedir,;t t
8004
s,@localstatedir@,$localstatedir,;t t
8005
s,@libdir@,$libdir,;t t
8006
s,@includedir@,$includedir,;t t
8007
s,@oldincludedir@,$oldincludedir,;t t
8008
s,@infodir@,$infodir,;t t
8009
s,@mandir@,$mandir,;t t
8010
s,@build_alias@,$build_alias,;t t
8011
s,@host_alias@,$host_alias,;t t
8012
s,@target_alias@,$target_alias,;t t
8014
s,@ECHO_C@,$ECHO_C,;t t
8015
s,@ECHO_N@,$ECHO_N,;t t
8016
s,@ECHO_T@,$ECHO_T,;t t
8018
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8019
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8020
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8021
s,@PACKAGE@,$PACKAGE,;t t
8022
s,@VERSION@,$VERSION,;t t
8023
s,@ACLOCAL@,$ACLOCAL,;t t
8024
s,@AUTOCONF@,$AUTOCONF,;t t
8025
s,@AUTOMAKE@,$AUTOMAKE,;t t
8026
s,@AUTOHEADER@,$AUTOHEADER,;t t
8027
s,@MAKEINFO@,$MAKEINFO,;t t
8028
s,@SET_MAKE@,$SET_MAKE,;t t
8029
s,@GTK_OBJ@,$GTK_OBJ,;t t
8030
s,@CURSES_OBJ@,$CURSES_OBJ,;t t
8032
s,@CFLAGS@,$CFLAGS,;t t
8033
s,@LDFLAGS@,$LDFLAGS,;t t
8034
s,@CPPFLAGS@,$CPPFLAGS,;t t
8035
s,@ac_ct_CC@,$ac_ct_CC,;t t
8036
s,@EXEEXT@,$EXEEXT,;t t
8037
s,@OBJEXT@,$OBJEXT,;t t
8039
s,@EGREP@,$EGREP,;t t
8040
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
8041
s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
8042
s,@GTK_LIBS@,$GTK_LIBS,;t t
8043
s,@GTK_CONFIG@,$GTK_CONFIG,;t t
8044
s,@LIB@&t@OBJS@,$LIB@&t@OBJS,;t t
8045
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8050
cat >>$CONFIG_STATUS <<\_ACEOF
8051
# Split the substitutions into bite-sized pieces for seds with
8052
# small command number limits, like on Digital OSF/1 and HP-UX.
8054
ac_sed_frag=1 # Number of current file.
8055
ac_beg=1 # First line for current file.
8056
ac_end=$ac_max_sed_lines # Line after last line for current file.
8059
while $ac_more_lines; do
8060
if test $ac_beg -gt 1; then
8061
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8063
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
8065
if test ! -s $tmp/subs.frag; then
8068
# The purpose of the label and of the branching condition is to
8069
# speed up the sed processing (if there are no `@' at all, there
8070
# is no need to browse any of the substitutions).
8071
# These are the two extra sed commands mentioned above.
8073
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
8074
if test -z "$ac_sed_cmds"; then
8075
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
8077
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8079
ac_sed_frag=`expr $ac_sed_frag + 1`
8081
ac_end=`expr $ac_end + $ac_max_sed_lines`
8084
if test -z "$ac_sed_cmds"; then
8725
if test -n "$CONFIG_FILES"; then
8732
for ac_last_try in false false false false false :; do
8733
cat >conf$$subs.sed <<_ACEOF
8734
SHELL!$SHELL$ac_delim
8735
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8736
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8737
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8738
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8739
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8740
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8741
exec_prefix!$exec_prefix$ac_delim
8742
prefix!$prefix$ac_delim
8743
program_transform_name!$program_transform_name$ac_delim
8744
bindir!$bindir$ac_delim
8745
sbindir!$sbindir$ac_delim
8746
libexecdir!$libexecdir$ac_delim
8747
datarootdir!$datarootdir$ac_delim
8748
datadir!$datadir$ac_delim
8749
sysconfdir!$sysconfdir$ac_delim
8750
sharedstatedir!$sharedstatedir$ac_delim
8751
localstatedir!$localstatedir$ac_delim
8752
includedir!$includedir$ac_delim
8753
oldincludedir!$oldincludedir$ac_delim
8754
docdir!$docdir$ac_delim
8755
infodir!$infodir$ac_delim
8756
htmldir!$htmldir$ac_delim
8757
dvidir!$dvidir$ac_delim
8758
pdfdir!$pdfdir$ac_delim
8759
psdir!$psdir$ac_delim
8760
libdir!$libdir$ac_delim
8761
localedir!$localedir$ac_delim
8762
mandir!$mandir$ac_delim
8764
ECHO_C!$ECHO_C$ac_delim
8765
ECHO_N!$ECHO_N$ac_delim
8766
ECHO_T!$ECHO_T$ac_delim
8768
build_alias!$build_alias$ac_delim
8769
host_alias!$host_alias$ac_delim
8770
target_alias!$target_alias$ac_delim
8771
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8772
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8773
INSTALL_DATA!$INSTALL_DATA$ac_delim
8774
CYGPATH_W!$CYGPATH_W$ac_delim
8775
PACKAGE!$PACKAGE$ac_delim
8776
VERSION!$VERSION$ac_delim
8777
ACLOCAL!$ACLOCAL$ac_delim
8778
AUTOCONF!$AUTOCONF$ac_delim
8779
AUTOMAKE!$AUTOMAKE$ac_delim
8780
AUTOHEADER!$AUTOHEADER$ac_delim
8781
MAKEINFO!$MAKEINFO$ac_delim
8782
install_sh!$install_sh$ac_delim
8783
STRIP!$STRIP$ac_delim
8784
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8785
mkdir_p!$mkdir_p$ac_delim
8787
SET_MAKE!$SET_MAKE$ac_delim
8788
am__leading_dot!$am__leading_dot$ac_delim
8789
AMTAR!$AMTAR$ac_delim
8790
am__tar!$am__tar$ac_delim
8791
am__untar!$am__untar$ac_delim
8792
GTK_OBJ!$GTK_OBJ$ac_delim
8793
CURSES_OBJ!$CURSES_OBJ$ac_delim
8795
CFLAGS!$CFLAGS$ac_delim
8796
LDFLAGS!$LDFLAGS$ac_delim
8797
CPPFLAGS!$CPPFLAGS$ac_delim
8798
ac_ct_CC!$ac_ct_CC$ac_delim
8799
EXEEXT!$EXEEXT$ac_delim
8800
OBJEXT!$OBJEXT$ac_delim
8801
DEPDIR!$DEPDIR$ac_delim
8802
am__include!$am__include$ac_delim
8803
am__quote!$am__quote$ac_delim
8804
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8805
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8806
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8807
CCDEPMODE!$CCDEPMODE$ac_delim
8808
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8809
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8812
EGREP!$EGREP$ac_delim
8813
PKG_CONFIG!$PKG_CONFIG$ac_delim
8814
GTK_CFLAGS!$GTK_CFLAGS$ac_delim
8815
GTK_LIBS!$GTK_LIBS$ac_delim
8816
LIB@&t@OBJS!$LIB@&t@OBJS$ac_delim
8817
LTLIBOBJS!$LTLIBOBJS$ac_delim
8820
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 84; then
8822
elif $ac_last_try; then
8823
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8824
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8825
{ (exit 1); exit 1; }; }
8827
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
8831
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
8832
if test -n "$ac_eof"; then
8833
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
8834
ac_eof=`expr $ac_eof + 1`
8837
cat >>$CONFIG_STATUS <<_ACEOF
8838
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
8839
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
8842
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
8843
s/^/s,@/; s/!/@,|#_!!_#|/
8846
s/'"$ac_delim"'$/,g/; t
8848
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
8849
' >>$CONFIG_STATUS <conf$$subs.sed
8850
rm -f conf$$subs.sed
8851
cat >>$CONFIG_STATUS <<_ACEOF
8858
# VPATH may cause trouble with some makes, so we remove $(srcdir),
8859
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
8860
# trailing colons and then remove the whole line if VPATH becomes empty
8861
# (actually we leave an empty line to preserve line numbers).
8862
if test "x$srcdir" = x.; then
8863
ac_vpsub='/^[ ]*VPATH[ ]*=/{
8867
s/^\([^=]*=[ ]*\):*/\1/
8873
cat >>$CONFIG_STATUS <<\_ACEOF
8087
8874
fi # test -n "$CONFIG_FILES"
8090
cat >>$CONFIG_STATUS <<\_ACEOF
8091
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
8092
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8094
- | *:- | *:-:* ) # input from stdin
8096
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8097
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8098
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8099
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8100
* ) ac_file_in=$ac_file.in ;;
8103
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8104
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8877
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
8880
:[FHLC]) ac_mode=$ac_tag; continue;;
8882
case $ac_mode$ac_tag in
8884
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
8885
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
8886
{ (exit 1); exit 1; }; };;
8887
:[FH]-) ac_tag=-:-;;
8888
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
8905
-) ac_f="$tmp/stdin";;
8906
*) # Look for the file first in the build tree, then in the source tree
8907
# (if the path is not absolute). The absolute path cannot be DOS-style,
8908
# because $ac_f cannot contain `:'.
8912
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
8914
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
8915
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
8916
{ (exit 1); exit 1; }; };;
8918
ac_file_inputs="$ac_file_inputs $ac_f"
8921
# Let's still pretend it is `configure' which instantiates (i.e., don't
8922
# use $as_me), people would be surprised to read:
8923
# /* config.h. Generated by config.status. */
8924
configure_input="Generated from "`IFS=:
8925
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
8926
if test x"$ac_file" != x-; then
8927
configure_input="$ac_file. $configure_input"
8928
{ echo "$as_me:$LINENO: creating $ac_file" >&5
8929
echo "$as_me: creating $ac_file" >&6;}
8933
*:-:* | *:-) cat >"$tmp/stdin";;
8938
ac_dir=`$as_dirname -- "$ac_file" ||
8105
8939
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8106
8940
X"$ac_file" : 'X\(//\)[^/]' \| \
8107
8941
X"$ac_file" : 'X\(//\)$' \| \
8108
X"$ac_file" : 'X\(/\)' \| \
8109
. : '\(.\)' 2>/dev/null ||
8942
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8110
8943
echo X"$ac_file" |
8111
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8112
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8113
/^X\(\/\/\)$/{ s//\1/; q; }
8114
/^X\(\/\).*/{ s//\1/; q; }
8116
{ if $as_mkdir_p; then
8944
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8963
-*) as_dir=./$as_dir;;
8965
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8121
while test ! -d "$as_dir"; do
8122
as_dirs="$as_dir $as_dirs"
8123
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8969
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
8970
*) as_qdir=$as_dir;;
8972
as_dirs="'$as_qdir' $as_dirs"
8973
as_dir=`$as_dirname -- "$as_dir" ||
8124
8974
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8125
8975
X"$as_dir" : 'X\(//\)[^/]' \| \
8126
8976
X"$as_dir" : 'X\(//\)$' \| \
8127
X"$as_dir" : 'X\(/\)' \| \
8128
. : '\(.\)' 2>/dev/null ||
8977
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8129
8978
echo X"$as_dir" |
8130
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8131
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8132
/^X\(\/\/\)$/{ s//\1/; q; }
8133
/^X\(\/\).*/{ s//\1/; q; }
8979
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8996
test -d "$as_dir" && break
8136
test ! -n "$as_dirs" || mkdir $as_dirs
8137
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8138
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8998
test -z "$as_dirs" || eval "mkdir $as_dirs"
8999
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9000
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8139
9001
{ (exit 1); exit 1; }; }; }
8143
if test "$ac_dir" != .; then
9005
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
8144
9007
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8145
# A "../" for each directory in $ac_dir_suffix.
8146
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8148
ac_dir_suffix= ac_top_builddir=
9008
# A ".." for each directory in $ac_dir_suffix.
9009
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9010
case $ac_top_builddir_sub in
9011
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9012
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9015
ac_abs_top_builddir=$ac_pwd
9016
ac_abs_builddir=$ac_pwd$ac_dir_suffix
9017
# for backward compatibility:
9018
ac_top_builddir=$ac_top_build_prefix
8151
9020
case $srcdir in
8152
.) # No --srcdir option. We are building in place.
9021
.) # We are building in place.
8154
if test -z "$ac_top_builddir"; then
8157
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8159
[\\/]* | ?:[\\/]* ) # Absolute path.
9023
ac_top_srcdir=$ac_top_builddir_sub
9024
ac_abs_top_srcdir=$ac_pwd ;;
9025
[\\/]* | ?:[\\/]* ) # Absolute name.
8160
9026
ac_srcdir=$srcdir$ac_dir_suffix;
8161
ac_top_srcdir=$srcdir ;;
8163
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8164
ac_top_srcdir=$ac_top_builddir$srcdir ;;
8167
# Do not use `cd foo && pwd` to compute absolute paths, because
8168
# the directories may not exist.
8170
.) ac_abs_builddir="$ac_dir";;
8173
.) ac_abs_builddir=`pwd`;;
8174
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8175
*) ac_abs_builddir=`pwd`/"$ac_dir";;
8178
case $ac_abs_builddir in
8179
.) ac_abs_top_builddir=${ac_top_builddir}.;;
8181
case ${ac_top_builddir}. in
8182
.) ac_abs_top_builddir=$ac_abs_builddir;;
8183
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8184
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8187
case $ac_abs_builddir in
8188
.) ac_abs_srcdir=$ac_srcdir;;
8191
.) ac_abs_srcdir=$ac_abs_builddir;;
8192
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8193
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8196
case $ac_abs_builddir in
8197
.) ac_abs_top_srcdir=$ac_top_srcdir;;
8199
case $ac_top_srcdir in
8200
.) ac_abs_top_srcdir=$ac_abs_builddir;;
8201
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8202
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
9027
ac_top_srcdir=$srcdir
9028
ac_abs_top_srcdir=$srcdir ;;
9030
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9031
ac_top_srcdir=$ac_top_build_prefix$srcdir
9032
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9034
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
8207
9043
case $INSTALL in
8208
9044
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
8209
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
9045
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
8212
# Let's still pretend it is `configure' which instantiates (i.e., don't
8213
# use $as_me), people would be surprised to read:
8214
# /* config.h. Generated by config.status. */
8215
if test x"$ac_file" = x-; then
8218
configure_input="$ac_file. "
8220
configure_input=$configure_input"Generated from `echo $ac_file_in |
8221
sed 's,.*/,,'` by configure."
8223
# First look for the input files in the build tree, otherwise in the
8225
ac_file_inputs=`IFS=:
8226
for f in $ac_file_in; do
8228
-) echo $tmp/stdin ;;
8230
# Absolute (can't be DOS-style, as IFS=:)
8231
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8232
echo "$as_me: error: cannot find input file: $f" >&2;}
8233
{ (exit 1); exit 1; }; }
8236
if test -f "$f"; then
8239
elif test -f "$srcdir/$f"; then
8244
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8245
echo "$as_me: error: cannot find input file: $f" >&2;}
8246
{ (exit 1); exit 1; }; }
8249
done` || { (exit 1); exit 1; }
8251
if test x"$ac_file" != x-; then
8252
{ echo "$as_me:$LINENO: creating $ac_file" >&5
8253
echo "$as_me: creating $ac_file" >&6;}
9049
cat >>$CONFIG_STATUS <<\_ACEOF
9050
# If the template does not know about datarootdir, expand it.
9051
# FIXME: This hack should be removed a few years after 2.60.
9052
ac_datarootdir_hack=; ac_datarootdir_seen=
9054
case `sed -n '/datarootdir/ {
9063
' $ac_file_inputs` in
9064
*datarootdir*) ac_datarootdir_seen=yes;;
9065
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9066
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9067
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9069
cat >>$CONFIG_STATUS <<_ACEOF
9070
ac_datarootdir_hack='
9071
s&@datadir@&$datadir&g
9072
s&@docdir@&$docdir&g
9073
s&@infodir@&$infodir&g
9074
s&@localedir@&$localedir&g
9075
s&@mandir@&$mandir&g
9076
s&\\\${datarootdir}&$datarootdir&g' ;;
9080
# Neutralize VPATH when `$srcdir' = `.'.
9081
# Shell code in configure.ac might set extrasub.
9082
# FIXME: do we really want to maintain this feature?
8257
9083
cat >>$CONFIG_STATUS <<_ACEOF
8261
9087
cat >>$CONFIG_STATUS <<\_ACEOF
8263
9089
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
8264
s,@configure_input@,$configure_input,;t t
8265
s,@srcdir@,$ac_srcdir,;t t
8266
s,@abs_srcdir@,$ac_abs_srcdir,;t t
8267
s,@top_srcdir@,$ac_top_srcdir,;t t
8268
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
8269
s,@builddir@,$ac_builddir,;t t
8270
s,@abs_builddir@,$ac_abs_builddir,;t t
8271
s,@top_builddir@,$ac_top_builddir,;t t
8272
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
8273
s,@INSTALL@,$ac_INSTALL,;t t
8274
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8276
if test x"$ac_file" != x-; then
8277
mv $tmp/out $ac_file
9090
s&@configure_input@&$configure_input&;t t
9091
s&@top_builddir@&$ac_top_builddir_sub&;t t
9092
s&@srcdir@&$ac_srcdir&;t t
9093
s&@abs_srcdir@&$ac_abs_srcdir&;t t
9094
s&@top_srcdir@&$ac_top_srcdir&;t t
9095
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9096
s&@builddir@&$ac_builddir&;t t
9097
s&@abs_builddir@&$ac_abs_builddir&;t t
9098
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9099
s&@INSTALL@&$ac_INSTALL&;t t
9100
$ac_datarootdir_hack
9101
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
9103
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9104
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9105
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9106
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9107
which seems to be undefined. Please make sure it is defined." >&5
9108
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9109
which seems to be undefined. Please make sure it is defined." >&2;}
9113
-) cat "$tmp/out"; rm -f "$tmp/out";;
9114
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
8285
cat >>$CONFIG_STATUS <<\_ACEOF
8288
# CONFIG_HEADER section.
8291
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8292
# NAME is the cpp macro being defined and VALUE is the value it is being given.
8294
# ac_d sets the value in "#define NAME VALUE" lines.
8295
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8296
ac_dB='[ ].*$,\1#\2'
9123
# Transform confdefs.h into a sed script `conftest.defines', that
9124
# substitutes the proper values into config.h.in to produce config.h.
9125
rm -f conftest.defines conftest.tail
9126
# First, append a space to every undef/define line, to ease matching.
9127
echo 's/$/ /' >conftest.defines
9128
# Then, protect against being on the right side of a sed subst, or in
9129
# an unquoted here document, in config.status. If some macros were
9130
# called several times there might be several #defines for the same
9131
# symbol, which is useless. But do not sort them, since the last
9132
# AC_DEFINE must be honored.
9133
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9134
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9135
# NAME is the cpp macro being defined, VALUE is the value it is being given.
9136
# PARAMS is the parameter list in the macro definition--in most cases, it's
9137
# just an empty string.
9138
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9139
ac_dB='\\)[ (].*,\\1define\\2'
8299
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8300
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8301
ac_uB='$,\1#\2define\3'
8305
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
8306
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8308
- | *:- | *:-:* ) # input from stdin
8310
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8311
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8312
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
8313
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
8314
* ) ac_file_in=$ac_file.in ;;
8317
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
8318
echo "$as_me: creating $ac_file" >&6;}
8320
# First look for the input files in the build tree, otherwise in the
8322
ac_file_inputs=`IFS=:
8323
for f in $ac_file_in; do
8325
-) echo $tmp/stdin ;;
8327
# Absolute (can't be DOS-style, as IFS=:)
8328
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8329
echo "$as_me: error: cannot find input file: $f" >&2;}
8330
{ (exit 1); exit 1; }; }
8331
# Do quote $f, to prevent DOS paths from being IFS'd.
8334
if test -f "$f"; then
8337
elif test -f "$srcdir/$f"; then
8342
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8343
echo "$as_me: error: cannot find input file: $f" >&2;}
8344
{ (exit 1); exit 1; }; }
8347
done` || { (exit 1); exit 1; }
8348
# Remove the trailing spaces.
8349
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8353
# Transform confdefs.h into two sed scripts, `conftest.defines' and
8354
# `conftest.undefs', that substitutes the proper values into
8355
# config.h.in to produce config.h. The first handles `#define'
8356
# templates, and the second `#undef' templates.
8357
# And first: Protect against being on the right side of a sed subst in
8358
# config.status. Protect against being in an unquoted here document
8360
rm -f conftest.defines conftest.undefs
8361
# Using a here document instead of a string reduces the quoting nightmare.
8362
# Putting comments in sed scripts is not portable.
8364
# `end' is used to avoid that the second main sed command (meant for
8365
# 0-ary CPP macros) applies to n-ary macro definitions.
8366
# See the Autoconf documentation for `clear'.
8367
cat >confdef2sed.sed <<\_ACEOF
8372
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8374
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8377
# If some macros were called several times there might be several times
8378
# the same #defines, which is useless. Nevertheless, we may not want to
8379
# sort them, since we want the *last* AC-DEFINE to be honored.
8380
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8381
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8382
rm -f confdef2sed.sed
8384
# This sed command replaces #undef with comments. This is necessary, for
9147
s/^[ ]*#[ ]*define[ ][ ]*//
9152
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9153
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9154
' >>conftest.defines
9156
# Remove the space that was appended to ease matching.
9157
# Then replace #undef with comments. This is necessary, for
8385
9158
# example, in the case of _POSIX_SOURCE, which is predefined and required
8386
9159
# on some systems where configure will not decide to define it.
8387
cat >>conftest.undefs <<\_ACEOF
8388
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
9160
# (The regexp can be short, since the line contains either #define or #undef.)
9162
s,^[ #]*u.*,/* & */,' >>conftest.defines
9164
# Break up conftest.defines:
9167
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9168
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9169
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9171
ac_in='$ac_file_inputs'
9172
ac_out='"$tmp/out1"'
9173
ac_nxt='"$tmp/out2"'
9177
# Write a here document:
9178
cat >>$CONFIG_STATUS <<_ACEOF
9179
# First, check the format of the line:
9180
cat >"\$tmp/defines.sed" <<\\CEOF
9181
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9182
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
8391
# Break up conftest.defines because some shells have a limit on the size
8392
# of here documents, and old seds have small limits too (100 cmds).
8393
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8394
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8395
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8396
echo ' :' >>$CONFIG_STATUS
8398
while grep . conftest.defines >/dev/null
8400
# Write a limited-size here document to $tmp/defines.sed.
8401
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8402
# Speed up: don't consider the non `#define' lines.
8403
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8404
# Work around the forget-to-reset-the-flag bug.
8405
echo 't clr' >>$CONFIG_STATUS
8406
echo ': clr' >>$CONFIG_STATUS
8407
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
9186
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
8409
sed -f $tmp/defines.sed $tmp/in >$tmp/out
8413
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
9188
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9189
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9190
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9191
grep . conftest.tail >/dev/null || break
8414
9192
rm -f conftest.defines
8415
9193
mv conftest.tail conftest.defines
8417
rm -f conftest.defines
8418
echo ' fi # grep' >>$CONFIG_STATUS
8419
echo >>$CONFIG_STATUS
8421
# Break up conftest.undefs because some shells have a limit on the size
8422
# of here documents, and old seds have small limits too (100 cmds).
8423
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8425
while grep . conftest.undefs >/dev/null
8427
# Write a limited-size here document to $tmp/undefs.sed.
8428
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8429
# Speed up: don't consider the non `#undef'
8430
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8431
# Work around the forget-to-reset-the-flag bug.
8432
echo 't clr' >>$CONFIG_STATUS
8433
echo ': clr' >>$CONFIG_STATUS
8434
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8436
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8440
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8441
rm -f conftest.undefs
8442
mv conftest.tail conftest.undefs
8444
rm -f conftest.undefs
9195
rm -f conftest.defines conftest.tail
9197
echo "ac_result=$ac_in" >>$CONFIG_STATUS
8446
9198
cat >>$CONFIG_STATUS <<\_ACEOF
8447
# Let's still pretend it is `configure' which instantiates (i.e., don't
8448
# use $as_me), people would be surprised to read:
8449
# /* config.h. Generated by config.status. */
8450
if test x"$ac_file" = x-; then
8451
echo "/* Generated by configure. */" >$tmp/config.h
8453
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8455
cat $tmp/in >>$tmp/config.h
8457
9199
if test x"$ac_file" != x-; then
8458
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
9200
echo "/* $configure_input */" >"$tmp/config.h"
9201
cat "$ac_result" >>"$tmp/config.h"
9202
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
8459
9203
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8460
9204
echo "$as_me: $ac_file is unchanged" >&6;}
8462
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
8463
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8464
X"$ac_file" : 'X\(//\)[^/]' \| \
8465
X"$ac_file" : 'X\(//\)$' \| \
8466
X"$ac_file" : 'X\(/\)' \| \
8467
. : '\(.\)' 2>/dev/null ||
8469
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8470
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8471
/^X\(\/\/\)$/{ s//\1/; q; }
8472
/^X\(\/\).*/{ s//\1/; q; }
8474
{ if $as_mkdir_p; then
8479
while test ! -d "$as_dir"; do
8480
as_dirs="$as_dir $as_dirs"
8481
as_dir=`(dirname "$as_dir") 2>/dev/null ||
8482
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8483
X"$as_dir" : 'X\(//\)[^/]' \| \
8484
X"$as_dir" : 'X\(//\)$' \| \
8485
X"$as_dir" : 'X\(/\)' \| \
8486
. : '\(.\)' 2>/dev/null ||
8488
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8489
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8490
/^X\(\/\/\)$/{ s//\1/; q; }
8491
/^X\(\/\).*/{ s//\1/; q; }
8494
test ! -n "$as_dirs" || mkdir $as_dirs
8495
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8496
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8497
{ (exit 1); exit 1; }; }; }
8500
mv $tmp/config.h $ac_file
9207
mv "$tmp/config.h" $ac_file
9210
echo "/* $configure_input */"
9214
# Compute $ac_file's index in $config_headers.
9216
for _am_header in $config_headers :; do
9218
$ac_file | $ac_file:* )
9221
_am_stamp_count=`expr $_am_stamp_count + 1` ;;
8508
cat >>$CONFIG_STATUS <<\_ACEOF
8511
# CONFIG_COMMANDS section.
8513
for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8514
ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8515
ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8516
ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8517
$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8518
X"$ac_dest" : 'X\(//\)[^/]' \| \
8519
X"$ac_dest" : 'X\(//\)$' \| \
8520
X"$ac_dest" : 'X\(/\)' \| \
8521
. : '\(.\)' 2>/dev/null ||
8523
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8524
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8525
/^X\(\/\/\)$/{ s//\1/; q; }
8526
/^X\(\/\).*/{ s//\1/; q; }
8528
{ if $as_mkdir_p; then
9224
echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
9225
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9226
X$ac_file : 'X\(//\)[^/]' \| \
9227
X$ac_file : 'X\(//\)$' \| \
9228
X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
9230
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9246
s/.*/./; q'`/stamp-h$_am_stamp_count
9249
:C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9250
echo "$as_me: executing $ac_file commands" >&6;}
9255
case $ac_file$ac_mode in
9256
"depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
9257
# Strip MF so we end up with the name of the file.
9258
mf=`echo "$mf" | sed -e 's/:.*$//'`
9259
# Check whether this is an Automake generated Makefile or not.
9260
# We used to match only the files named `Makefile.in', but
9261
# some people rename them; so instead we look at the file content.
9262
# Grep'ing the first line is not enough: some people post-process
9263
# each Makefile.in and add a new line on top of each file to say so.
9264
# So let's grep whole file.
9265
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
9266
dirpart=`$as_dirname -- "$mf" ||
9267
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9268
X"$mf" : 'X\(//\)[^/]' \| \
9269
X"$mf" : 'X\(//\)$' \| \
9270
X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9272
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9292
# Extract the definition of DEPDIR, am__include, and am__quote
9293
# from the Makefile without running `make'.
9294
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
9295
test -z "$DEPDIR" && continue
9296
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9297
test -z "am__include" && continue
9298
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9299
# When using ansi2knr, U may be empty or an underscore; expand it
9300
U=`sed -n 's/^U = //p' < "$mf"`
9301
# Find all dependency output files, they are included files with
9302
# $(DEPDIR) in their names. We invoke sed twice because it is the
9303
# simplest approach to changing $(DEPDIR) to its actual value in the
9305
for file in `sed -n "
9306
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9307
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9308
# Make sure the directory exists.
9309
test -f "$dirpart/$file" && continue
9310
fdir=`$as_dirname -- "$file" ||
9311
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9312
X"$file" : 'X\(//\)[^/]' \| \
9313
X"$file" : 'X\(//\)$' \| \
9314
X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9316
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9333
{ as_dir=$dirpart/$fdir
9335
-*) as_dir=./$as_dir;;
9337
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
8533
while test ! -d "$as_dir"; do
8534
as_dirs="$as_dir $as_dirs"
8535
as_dir=`(dirname "$as_dir") 2>/dev/null ||
9341
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9342
*) as_qdir=$as_dir;;
9344
as_dirs="'$as_qdir' $as_dirs"
9345
as_dir=`$as_dirname -- "$as_dir" ||
8536
9346
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8537
9347
X"$as_dir" : 'X\(//\)[^/]' \| \
8538
9348
X"$as_dir" : 'X\(//\)$' \| \
8539
X"$as_dir" : 'X\(/\)' \| \
8540
. : '\(.\)' 2>/dev/null ||
9349
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
8541
9350
echo X"$as_dir" |
8542
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8543
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
8544
/^X\(\/\/\)$/{ s//\1/; q; }
8545
/^X\(\/\).*/{ s//\1/; q; }
9351
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9368
test -d "$as_dir" && break
8548
test ! -n "$as_dirs" || mkdir $as_dirs
8549
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8550
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
9370
test -z "$as_dirs" || eval "mkdir $as_dirs"
9371
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9372
echo "$as_me: error: cannot create directory $as_dir" >&2;}
8551
9373
{ (exit 1); exit 1; }; }; }
8555
if test "$ac_dir" != .; then
8556
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8557
# A "../" for each directory in $ac_dir_suffix.
8558
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8560
ac_dir_suffix= ac_top_builddir=
8564
.) # No --srcdir option. We are building in place.
8566
if test -z "$ac_top_builddir"; then
8569
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8571
[\\/]* | ?:[\\/]* ) # Absolute path.
8572
ac_srcdir=$srcdir$ac_dir_suffix;
8573
ac_top_srcdir=$srcdir ;;
8575
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8576
ac_top_srcdir=$ac_top_builddir$srcdir ;;
8579
# Do not use `cd foo && pwd` to compute absolute paths, because
8580
# the directories may not exist.
8582
.) ac_abs_builddir="$ac_dir";;
8585
.) ac_abs_builddir=`pwd`;;
8586
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8587
*) ac_abs_builddir=`pwd`/"$ac_dir";;
8590
case $ac_abs_builddir in
8591
.) ac_abs_top_builddir=${ac_top_builddir}.;;
8593
case ${ac_top_builddir}. in
8594
.) ac_abs_top_builddir=$ac_abs_builddir;;
8595
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8596
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8599
case $ac_abs_builddir in
8600
.) ac_abs_srcdir=$ac_srcdir;;
8603
.) ac_abs_srcdir=$ac_abs_builddir;;
8604
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8605
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8608
case $ac_abs_builddir in
8609
.) ac_abs_top_srcdir=$ac_top_srcdir;;
8611
case $ac_top_srcdir in
8612
.) ac_abs_top_srcdir=$ac_abs_builddir;;
8613
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8614
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8619
{ echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8620
echo "$as_me: executing $ac_dest commands" >&6;}
8622
default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
9374
# echo "creating $dirpart/$file"
9375
echo '# dummy' > "$dirpart/$file"
8627
cat >>$CONFIG_STATUS <<\_ACEOF
8629
9384
{ (exit 0); exit 0; }