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
856
1333
test "$silent" = yes && exec 6>/dev/null
1336
ac_pwd=`pwd` && test -n "$ac_pwd" &&
1337
ac_ls_di=`ls -di .` &&
1338
ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1339
{ echo "$as_me: error: Working directory cannot be determined" >&2
1340
{ (exit 1); exit 1; }; }
1341
test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1342
{ echo "$as_me: error: pwd does not report name of working directory" >&2
1343
{ (exit 1); exit 1; }; }
859
1346
# Find the source files, if location was not specified.
860
1347
if test -z "$srcdir"; then
861
1348
ac_srcdir_defaulted=yes
862
# Try the directory containing this script, then its parent.
863
ac_confdir=`(dirname "$0") 2>/dev/null ||
1349
# Try the directory containing this script, then the parent directory.
1350
ac_confdir=`$as_dirname -- "$0" ||
864
1351
$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
865
1352
X"$0" : 'X\(//\)[^/]' \| \
866
1353
X"$0" : 'X\(//\)$' \| \
867
X"$0" : 'X\(/\)' \| \
868
. : '\(.\)' 2>/dev/null ||
1354
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
870
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
871
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
872
/^X\(\/\/\)$/{ s//\1/; q; }
873
/^X\(\/\).*/{ s//\1/; q; }
1356
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
875
1373
srcdir=$ac_confdir
876
if test ! -r $srcdir/$ac_unique_file; then
1374
if test ! -r "$srcdir/$ac_unique_file"; then
880
1378
ac_srcdir_defaulted=no
882
if test ! -r $srcdir/$ac_unique_file; then
883
if test "$ac_srcdir_defaulted" = yes; then
884
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
885
{ (exit 1); exit 1; }; }
887
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
888
{ (exit 1); exit 1; }; }
891
(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
892
{ echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
893
{ (exit 1); exit 1; }; }
894
srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
895
ac_env_build_alias_set=${build_alias+set}
896
ac_env_build_alias_value=$build_alias
897
ac_cv_env_build_alias_set=${build_alias+set}
898
ac_cv_env_build_alias_value=$build_alias
899
ac_env_host_alias_set=${host_alias+set}
900
ac_env_host_alias_value=$host_alias
901
ac_cv_env_host_alias_set=${host_alias+set}
902
ac_cv_env_host_alias_value=$host_alias
903
ac_env_target_alias_set=${target_alias+set}
904
ac_env_target_alias_value=$target_alias
905
ac_cv_env_target_alias_set=${target_alias+set}
906
ac_cv_env_target_alias_value=$target_alias
907
ac_env_CC_set=${CC+set}
909
ac_cv_env_CC_set=${CC+set}
910
ac_cv_env_CC_value=$CC
911
ac_env_CFLAGS_set=${CFLAGS+set}
912
ac_env_CFLAGS_value=$CFLAGS
913
ac_cv_env_CFLAGS_set=${CFLAGS+set}
914
ac_cv_env_CFLAGS_value=$CFLAGS
915
ac_env_LDFLAGS_set=${LDFLAGS+set}
916
ac_env_LDFLAGS_value=$LDFLAGS
917
ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
918
ac_cv_env_LDFLAGS_value=$LDFLAGS
919
ac_env_CPPFLAGS_set=${CPPFLAGS+set}
920
ac_env_CPPFLAGS_value=$CPPFLAGS
921
ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
922
ac_cv_env_CPPFLAGS_value=$CPPFLAGS
923
ac_env_CPP_set=${CPP+set}
924
ac_env_CPP_value=$CPP
925
ac_cv_env_CPP_set=${CPP+set}
926
ac_cv_env_CPP_value=$CPP
927
ac_env_CXX_set=${CXX+set}
928
ac_env_CXX_value=$CXX
929
ac_cv_env_CXX_set=${CXX+set}
930
ac_cv_env_CXX_value=$CXX
931
ac_env_CXXFLAGS_set=${CXXFLAGS+set}
932
ac_env_CXXFLAGS_value=$CXXFLAGS
933
ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
934
ac_cv_env_CXXFLAGS_value=$CXXFLAGS
935
ac_env_CXXCPP_set=${CXXCPP+set}
936
ac_env_CXXCPP_value=$CXXCPP
937
ac_cv_env_CXXCPP_set=${CXXCPP+set}
938
ac_cv_env_CXXCPP_value=$CXXCPP
939
ac_env_F77_set=${F77+set}
940
ac_env_F77_value=$F77
941
ac_cv_env_F77_set=${F77+set}
942
ac_cv_env_F77_value=$F77
943
ac_env_FFLAGS_set=${FFLAGS+set}
944
ac_env_FFLAGS_value=$FFLAGS
945
ac_cv_env_FFLAGS_set=${FFLAGS+set}
946
ac_cv_env_FFLAGS_value=$FFLAGS
947
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
948
ac_env_PKG_CONFIG_value=$PKG_CONFIG
949
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
950
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
951
ac_env_GLIBMM_CFLAGS_set=${GLIBMM_CFLAGS+set}
952
ac_env_GLIBMM_CFLAGS_value=$GLIBMM_CFLAGS
953
ac_cv_env_GLIBMM_CFLAGS_set=${GLIBMM_CFLAGS+set}
954
ac_cv_env_GLIBMM_CFLAGS_value=$GLIBMM_CFLAGS
955
ac_env_GLIBMM_LIBS_set=${GLIBMM_LIBS+set}
956
ac_env_GLIBMM_LIBS_value=$GLIBMM_LIBS
957
ac_cv_env_GLIBMM_LIBS_set=${GLIBMM_LIBS+set}
958
ac_cv_env_GLIBMM_LIBS_value=$GLIBMM_LIBS
959
ac_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
960
ac_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
961
ac_cv_env_GTHREAD_CFLAGS_set=${GTHREAD_CFLAGS+set}
962
ac_cv_env_GTHREAD_CFLAGS_value=$GTHREAD_CFLAGS
963
ac_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
964
ac_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
965
ac_cv_env_GTHREAD_LIBS_set=${GTHREAD_LIBS+set}
966
ac_cv_env_GTHREAD_LIBS_value=$GTHREAD_LIBS
1380
if test ! -r "$srcdir/$ac_unique_file"; then
1381
test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1382
{ echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1383
{ (exit 1); exit 1; }; }
1385
ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1387
cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1388
{ (exit 1); exit 1; }; }
1390
# When building in place, set srcdir=.
1391
if test "$ac_abs_confdir" = "$ac_pwd"; then
1394
# Remove unnecessary trailing slashes from srcdir.
1395
# Double slashes in file names in object file debugging info
1396
# mess up M-x gdb in Emacs.
1398
*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1400
for ac_var in $ac_precious_vars; do
1401
eval ac_env_${ac_var}_set=\${${ac_var}+set}
1402
eval ac_env_${ac_var}_value=\$${ac_var}
1403
eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1404
eval ac_cv_env_${ac_var}_value=\$${ac_var}
969
1408
# Report the --help message.
2612
3134
rm -f conftest.$ac_objext
2613
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2614
(eval $ac_compile) 2>conftest.er1
3135
if { (ac_try="$ac_compile"
3137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3138
*) ac_try_echo=$ac_try;;
3140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3141
(eval "$ac_compile") 2>conftest.er1
2616
3143
grep -v '^ *+' conftest.er1 >conftest.err
2617
3144
rm -f conftest.er1
2618
3145
cat conftest.err >&5
2619
3146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620
(exit $ac_status); } &&
2621
{ ac_try='test -z "$ac_c_werror_flag"
2622
|| test ! -s conftest.err'
2623
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2626
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2627
(exit $ac_status); }; } &&
2628
{ ac_try='test -s conftest.$ac_objext'
2629
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2632
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633
(exit $ac_status); }; }; then
3147
(exit $ac_status); } && {
3148
test -z "$ac_c_werror_flag" ||
3149
test ! -s conftest.err
3150
} && test -s conftest.$ac_objext; then
2634
3151
ac_compiler_gnu=yes
2636
3153
echo "$as_me: failed program was:" >&5
2637
3154
sed 's/^/| /' conftest.$ac_ext >&5
2641
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3159
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2642
3160
ac_cv_c_compiler_gnu=$ac_compiler_gnu
2645
echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2646
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3163
{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3164
echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2647
3165
GCC=`test $ac_compiler_gnu = yes && echo yes`
2648
3166
ac_test_CFLAGS=${CFLAGS+set}
2649
3167
ac_save_CFLAGS=$CFLAGS
2651
echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2652
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3168
{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3169
echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2653
3170
if test "${ac_cv_prog_cc_g+set}" = set; then
2654
3171
echo $ECHO_N "(cached) $ECHO_C" >&6
2656
cat >conftest.$ac_ext <<_ACEOF
2659
cat confdefs.h >>conftest.$ac_ext
2660
cat >>conftest.$ac_ext <<_ACEOF
2661
/* end confdefs.h. */
2671
rm -f conftest.$ac_objext
2672
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2673
(eval $ac_compile) 2>conftest.er1
2675
grep -v '^ *+' conftest.er1 >conftest.err
2677
cat conftest.err >&5
2678
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679
(exit $ac_status); } &&
2680
{ ac_try='test -z "$ac_c_werror_flag"
2681
|| test ! -s conftest.err'
2682
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2685
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2686
(exit $ac_status); }; } &&
2687
{ ac_try='test -s conftest.$ac_objext'
2688
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2691
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692
(exit $ac_status); }; }; then
2695
echo "$as_me: failed program was:" >&5
2696
sed 's/^/| /' conftest.$ac_ext >&5
2700
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2702
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2703
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3173
ac_save_c_werror_flag=$ac_c_werror_flag
3174
ac_c_werror_flag=yes
3177
cat >conftest.$ac_ext <<_ACEOF
3180
cat confdefs.h >>conftest.$ac_ext
3181
cat >>conftest.$ac_ext <<_ACEOF
3182
/* end confdefs.h. */
3192
rm -f conftest.$ac_objext
3193
if { (ac_try="$ac_compile"
3195
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3196
*) ac_try_echo=$ac_try;;
3198
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3199
(eval "$ac_compile") 2>conftest.er1
3201
grep -v '^ *+' conftest.er1 >conftest.err
3203
cat conftest.err >&5
3204
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3205
(exit $ac_status); } && {
3206
test -z "$ac_c_werror_flag" ||
3207
test ! -s conftest.err
3208
} && test -s conftest.$ac_objext; then
3211
echo "$as_me: failed program was:" >&5
3212
sed 's/^/| /' conftest.$ac_ext >&5
3215
cat >conftest.$ac_ext <<_ACEOF
3218
cat confdefs.h >>conftest.$ac_ext
3219
cat >>conftest.$ac_ext <<_ACEOF
3220
/* end confdefs.h. */
3230
rm -f conftest.$ac_objext
3231
if { (ac_try="$ac_compile"
3233
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3234
*) ac_try_echo=$ac_try;;
3236
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3237
(eval "$ac_compile") 2>conftest.er1
3239
grep -v '^ *+' conftest.er1 >conftest.err
3241
cat conftest.err >&5
3242
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3243
(exit $ac_status); } && {
3244
test -z "$ac_c_werror_flag" ||
3245
test ! -s conftest.err
3246
} && test -s conftest.$ac_objext; then
3249
echo "$as_me: failed program was:" >&5
3250
sed 's/^/| /' conftest.$ac_ext >&5
3252
ac_c_werror_flag=$ac_save_c_werror_flag
3254
cat >conftest.$ac_ext <<_ACEOF
3257
cat confdefs.h >>conftest.$ac_ext
3258
cat >>conftest.$ac_ext <<_ACEOF
3259
/* end confdefs.h. */
3269
rm -f conftest.$ac_objext
3270
if { (ac_try="$ac_compile"
3272
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3273
*) ac_try_echo=$ac_try;;
3275
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3276
(eval "$ac_compile") 2>conftest.er1
3278
grep -v '^ *+' conftest.er1 >conftest.err
3280
cat conftest.err >&5
3281
echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282
(exit $ac_status); } && {
3283
test -z "$ac_c_werror_flag" ||
3284
test ! -s conftest.err
3285
} && test -s conftest.$ac_objext; then
3288
echo "$as_me: failed program was:" >&5
3289
sed 's/^/| /' conftest.$ac_ext >&5
3294
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3297
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3300
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3301
ac_c_werror_flag=$ac_save_c_werror_flag
3303
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3304
echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2704
3305
if test "$ac_test_CFLAGS" = set; then
2705
3306
CFLAGS=$ac_save_CFLAGS
2706
3307
elif test $ac_cv_prog_cc_g = yes; then
2778
# Don't try gcc -ansi; that turns off useful extensions and
2779
# breaks some systems' header files.
2780
# AIX -qlanglvl=ansi
2781
# Ultrix and OSF/1 -std1
2782
# HP-UX 10.20 and later -Ae
2783
# HP-UX older versions -Aa -D_HPUX_SOURCE
2784
# SVR4 -Xc -D__EXTENSIONS__
2785
for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3384
for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3385
-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2787
3387
CC="$ac_save_CC $ac_arg"
2788
3388
rm -f conftest.$ac_objext
2789
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2790
(eval $ac_compile) 2>conftest.er1
3389
if { (ac_try="$ac_compile"
3391
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3392
*) ac_try_echo=$ac_try;;
3394
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3395
(eval "$ac_compile") 2>conftest.er1
2792
3397
grep -v '^ *+' conftest.er1 >conftest.err
2793
3398
rm -f conftest.er1
2794
3399
cat conftest.err >&5
2795
3400
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2796
(exit $ac_status); } &&
2797
{ ac_try='test -z "$ac_c_werror_flag"
2798
|| test ! -s conftest.err'
2799
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2802
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2803
(exit $ac_status); }; } &&
2804
{ ac_try='test -s conftest.$ac_objext'
2805
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2808
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809
(exit $ac_status); }; }; then
2810
ac_cv_prog_cc_stdc=$ac_arg
3401
(exit $ac_status); } && {
3402
test -z "$ac_c_werror_flag" ||
3403
test ! -s conftest.err
3404
} && test -s conftest.$ac_objext; then
3405
ac_cv_prog_cc_c89=$ac_arg
2813
3407
echo "$as_me: failed program was:" >&5
2814
3408
sed 's/^/| /' conftest.$ac_ext >&5
2817
rm -f conftest.err conftest.$ac_objext
3413
rm -f core conftest.err conftest.$ac_objext
3414
test "x$ac_cv_prog_cc_c89" != "xno" && break
2819
rm -f conftest.$ac_ext conftest.$ac_objext
3416
rm -f conftest.$ac_ext
2824
case "x$ac_cv_prog_cc_stdc" in
2826
echo "$as_me:$LINENO: result: none needed" >&5
2827
echo "${ECHO_T}none needed" >&6 ;;
3421
case "x$ac_cv_prog_cc_c89" in
3423
{ echo "$as_me:$LINENO: result: none needed" >&5
3424
echo "${ECHO_T}none needed" >&6; } ;;
3426
{ echo "$as_me:$LINENO: result: unsupported" >&5
3427
echo "${ECHO_T}unsupported" >&6; } ;;
2829
echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2830
echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2831
CC="$CC $ac_cv_prog_cc_stdc" ;;
3429
CC="$CC $ac_cv_prog_cc_c89"
3430
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3431
echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2834
# Some people use a C++ compiler to compile C. Since we use `exit',
2835
# in C++ we need to declare it. In case someone uses the same compiler
2836
# for both compiling C and C++ we need to have the C++ compiler decide
2837
# the declaration of exit, since it's the most demanding environment.
2838
cat >conftest.$ac_ext <<_ACEOF
2843
rm -f conftest.$ac_objext
2844
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2845
(eval $ac_compile) 2>conftest.er1
2847
grep -v '^ *+' conftest.er1 >conftest.err
2849
cat conftest.err >&5
2850
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851
(exit $ac_status); } &&
2852
{ ac_try='test -z "$ac_c_werror_flag"
2853
|| test ! -s conftest.err'
2854
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2857
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858
(exit $ac_status); }; } &&
2859
{ ac_try='test -s conftest.$ac_objext'
2860
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2863
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864
(exit $ac_status); }; }; then
2865
for ac_declaration in \
2867
'extern "C" void std::exit (int) throw (); using std::exit;' \
2868
'extern "C" void std::exit (int); using std::exit;' \
2869
'extern "C" void exit (int) throw ();' \
2870
'extern "C" void exit (int);' \
2873
cat >conftest.$ac_ext <<_ACEOF
2876
cat confdefs.h >>conftest.$ac_ext
2877
cat >>conftest.$ac_ext <<_ACEOF
2878
/* end confdefs.h. */
2889
rm -f conftest.$ac_objext
2890
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2891
(eval $ac_compile) 2>conftest.er1
2893
grep -v '^ *+' conftest.er1 >conftest.err
2895
cat conftest.err >&5
2896
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897
(exit $ac_status); } &&
2898
{ ac_try='test -z "$ac_c_werror_flag"
2899
|| test ! -s conftest.err'
2900
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2903
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2904
(exit $ac_status); }; } &&
2905
{ ac_try='test -s conftest.$ac_objext'
2906
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2909
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910
(exit $ac_status); }; }; then
2913
echo "$as_me: failed program was:" >&5
2914
sed 's/^/| /' conftest.$ac_ext >&5
2918
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2919
cat >conftest.$ac_ext <<_ACEOF
2922
cat confdefs.h >>conftest.$ac_ext
2923
cat >>conftest.$ac_ext <<_ACEOF
2924
/* end confdefs.h. */
2934
rm -f conftest.$ac_objext
2935
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2936
(eval $ac_compile) 2>conftest.er1
2938
grep -v '^ *+' conftest.er1 >conftest.err
2940
cat conftest.err >&5
2941
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942
(exit $ac_status); } &&
2943
{ ac_try='test -z "$ac_c_werror_flag"
2944
|| test ! -s conftest.err'
2945
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949
(exit $ac_status); }; } &&
2950
{ ac_try='test -s conftest.$ac_objext'
2951
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2954
echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955
(exit $ac_status); }; }; then
2958
echo "$as_me: failed program was:" >&5
2959
sed 's/^/| /' conftest.$ac_ext >&5
2962
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2965
if test -n "$ac_declaration"; then
2966
echo '#ifdef __cplusplus' >>confdefs.h
2967
echo $ac_declaration >>confdefs.h
2968
echo '#endif' >>confdefs.h
2972
echo "$as_me: failed program was:" >&5
2973
sed 's/^/| /' conftest.$ac_ext >&5
2976
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2978
3436
ac_cpp='$CPP $CPPFLAGS'
2979
3437
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3388
3838
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3389
3839
ac_compiler_gnu=$ac_cv_c_compiler_gnu
3391
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3392
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3393
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3394
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3841
{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3842
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
3843
set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3844
if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
3395
3845
echo $ECHO_N "(cached) $ECHO_C" >&6
3397
3847
cat >conftest.make <<\_ACEOF
3399
@echo 'ac_maketemp="$(MAKE)"'
3850
@echo '@@@%%%=$(MAKE)=@@@%%%'
3401
3852
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3402
eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3403
if test -n "$ac_maketemp"; then
3404
eval ac_cv_prog_make_${ac_make}_set=yes
3406
eval ac_cv_prog_make_${ac_make}_set=no
3853
case `${MAKE-make} -f conftest.make 2>/dev/null` in
3855
eval ac_cv_prog_make_${ac_make}_set=yes;;
3857
eval ac_cv_prog_make_${ac_make}_set=no;;
3408
3859
rm -f conftest.make
3410
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3411
echo "$as_me:$LINENO: result: yes" >&5
3412
echo "${ECHO_T}yes" >&6
3861
if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3862
{ echo "$as_me:$LINENO: result: yes" >&5
3863
echo "${ECHO_T}yes" >&6; }
3415
echo "$as_me:$LINENO: result: no" >&5
3416
echo "${ECHO_T}no" >&6
3866
{ echo "$as_me:$LINENO: result: no" >&5
3867
echo "${ECHO_T}no" >&6; }
3417
3868
SET_MAKE="MAKE=${MAKE-make}"
3420
3871
# Make sure we can run config.sub.
3421
$ac_config_sub sun4 >/dev/null 2>&1 ||
3422
{ { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3423
echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3872
$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3873
{ { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
3874
echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
3424
3875
{ (exit 1); exit 1; }; }
3426
echo "$as_me:$LINENO: checking build system type" >&5
3427
echo $ECHO_N "checking build system type... $ECHO_C" >&6
3877
{ echo "$as_me:$LINENO: checking build system type" >&5
3878
echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
3428
3879
if test "${ac_cv_build+set}" = set; then
3429
3880
echo $ECHO_N "(cached) $ECHO_C" >&6
3431
ac_cv_build_alias=$build_alias
3432
test -z "$ac_cv_build_alias" &&
3433
ac_cv_build_alias=`$ac_config_guess`
3434
test -z "$ac_cv_build_alias" &&
3882
ac_build_alias=$build_alias
3883
test "x$ac_build_alias" = x &&
3884
ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3885
test "x$ac_build_alias" = x &&
3435
3886
{ { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3436
3887
echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3437
3888
{ (exit 1); exit 1; }; }
3438
ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3439
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3440
echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3889
ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3890
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
3891
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
3441
3892
{ (exit 1); exit 1; }; }
3444
echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3445
echo "${ECHO_T}$ac_cv_build" >&6
3895
{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3896
echo "${ECHO_T}$ac_cv_build" >&6; }
3897
case $ac_cv_build in
3899
*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
3900
echo "$as_me: error: invalid value of canonical build" >&2;}
3901
{ (exit 1); exit 1; }; };;
3446
3903
build=$ac_cv_build
3447
build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3448
build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3449
build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3452
echo "$as_me:$LINENO: checking host system type" >&5
3453
echo $ECHO_N "checking host system type... $ECHO_C" >&6
3904
ac_save_IFS=$IFS; IFS='-'
3910
# Remember, the first character of IFS is used to create $*,
3911
# except with old shells:
3914
case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3917
{ echo "$as_me:$LINENO: checking host system type" >&5
3918
echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
3454
3919
if test "${ac_cv_host+set}" = set; then
3455
3920
echo $ECHO_N "(cached) $ECHO_C" >&6
3457
ac_cv_host_alias=$host_alias
3458
test -z "$ac_cv_host_alias" &&
3459
ac_cv_host_alias=$ac_cv_build_alias
3460
ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3461
{ { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3462
echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3922
if test "x$host_alias" = x; then
3923
ac_cv_host=$ac_cv_build
3925
ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3926
{ { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
3927
echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
3463
3928
{ (exit 1); exit 1; }; }
3466
echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3467
echo "${ECHO_T}$ac_cv_host" >&6
3932
{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3933
echo "${ECHO_T}$ac_cv_host" >&6; }
3936
*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
3937
echo "$as_me: error: invalid value of canonical host" >&2;}
3938
{ (exit 1); exit 1; }; };;
3468
3940
host=$ac_cv_host
3469
host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3470
host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3471
host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3475
# Check whether --enable-static or --disable-static was given.
3941
ac_save_IFS=$IFS; IFS='-'
3947
# Remember, the first character of IFS is used to create $*,
3948
# except with old shells:
3951
case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3955
# Check whether --enable-static was given.
3476
3956
if test "${enable_static+set}" = set; then
3477
enableval="$enable_static"
3478
p=${PACKAGE-default}
3957
enableval=$enable_static; p=${PACKAGE-default}
3479
3958
case $enableval in
3480
3959
yes) enable_static=yes ;;
3481
3960
no) enable_static=no ;;
3601
4082
SED=$lt_cv_path_SED
3602
echo "$as_me:$LINENO: result: $SED" >&5
3603
echo "${ECHO_T}$SED" >&6
3605
echo "$as_me:$LINENO: checking for egrep" >&5
3606
echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3607
if test "${ac_cv_prog_egrep+set}" = set; then
3608
echo $ECHO_N "(cached) $ECHO_C" >&6
3610
if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3611
then ac_cv_prog_egrep='grep -E'
3612
else ac_cv_prog_egrep='egrep'
3615
echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3616
echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3617
EGREP=$ac_cv_prog_egrep
3621
# Check whether --with-gnu-ld or --without-gnu-ld was given.
4084
{ echo "$as_me:$LINENO: result: $SED" >&5
4085
echo "${ECHO_T}$SED" >&6; }
4087
{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4088
echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4089
if test "${ac_cv_path_GREP+set}" = set; then
4090
echo $ECHO_N "(cached) $ECHO_C" >&6
4092
# Extract the first word of "grep ggrep" to use in msg output
4093
if test -z "$GREP"; then
4094
set dummy grep ggrep; ac_prog_name=$2
4095
if test "${ac_cv_path_GREP+set}" = set; then
4096
echo $ECHO_N "(cached) $ECHO_C" >&6
4098
ac_path_GREP_found=false
4099
# Loop through the user's path and test for each of PROGNAME-LIST
4100
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4101
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4104
test -z "$as_dir" && as_dir=.
4105
for ac_prog in grep ggrep; do
4106
for ac_exec_ext in '' $ac_executable_extensions; do
4107
ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4108
{ test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4109
# Check for GNU ac_path_GREP and select it if it is found.
4110
# Check for GNU $ac_path_GREP
4111
case `"$ac_path_GREP" --version 2>&1` in
4113
ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4116
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4119
cat "conftest.in" "conftest.in" >"conftest.tmp"
4120
mv "conftest.tmp" "conftest.in"
4121
cp "conftest.in" "conftest.nl"
4122
echo 'GREP' >> "conftest.nl"
4123
"$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4124
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4125
ac_count=`expr $ac_count + 1`
4126
if test $ac_count -gt ${ac_path_GREP_max-0}; then
4127
# Best one so far, save it but keep looking for a better one
4128
ac_cv_path_GREP="$ac_path_GREP"
4129
ac_path_GREP_max=$ac_count
4131
# 10*(2^10) chars as input seems more than enough
4132
test $ac_count -gt 10 && break
4134
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4138
$ac_path_GREP_found && break 3
4148
GREP="$ac_cv_path_GREP"
4149
if test -z "$GREP"; then
4150
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4151
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4152
{ (exit 1); exit 1; }; }
4156
ac_cv_path_GREP=$GREP
4161
{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4162
echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4163
GREP="$ac_cv_path_GREP"
4166
{ echo "$as_me:$LINENO: checking for egrep" >&5
4167
echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4168
if test "${ac_cv_path_EGREP+set}" = set; then
4169
echo $ECHO_N "(cached) $ECHO_C" >&6
4171
if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4172
then ac_cv_path_EGREP="$GREP -E"
4174
# Extract the first word of "egrep" to use in msg output
4175
if test -z "$EGREP"; then
4176
set dummy egrep; ac_prog_name=$2
4177
if test "${ac_cv_path_EGREP+set}" = set; then
4178
echo $ECHO_N "(cached) $ECHO_C" >&6
4180
ac_path_EGREP_found=false
4181
# Loop through the user's path and test for each of PROGNAME-LIST
4182
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183
for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4186
test -z "$as_dir" && as_dir=.
4187
for ac_prog in egrep; do
4188
for ac_exec_ext in '' $ac_executable_extensions; do
4189
ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4190
{ test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4191
# Check for GNU ac_path_EGREP and select it if it is found.
4192
# Check for GNU $ac_path_EGREP
4193
case `"$ac_path_EGREP" --version 2>&1` in
4195
ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4198
echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4201
cat "conftest.in" "conftest.in" >"conftest.tmp"
4202
mv "conftest.tmp" "conftest.in"
4203
cp "conftest.in" "conftest.nl"
4204
echo 'EGREP' >> "conftest.nl"
4205
"$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4206
diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4207
ac_count=`expr $ac_count + 1`
4208
if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4209
# Best one so far, save it but keep looking for a better one
4210
ac_cv_path_EGREP="$ac_path_EGREP"
4211
ac_path_EGREP_max=$ac_count
4213
# 10*(2^10) chars as input seems more than enough
4214
test $ac_count -gt 10 && break
4216
rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4220
$ac_path_EGREP_found && break 3
4230
EGREP="$ac_cv_path_EGREP"
4231
if test -z "$EGREP"; then
4232
{ { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4233
echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4234
{ (exit 1); exit 1; }; }
4238
ac_cv_path_EGREP=$EGREP
4244
{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4245
echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4246
EGREP="$ac_cv_path_EGREP"
4250
# Check whether --with-gnu-ld was given.
3622
4251
if test "${with_gnu_ld+set}" = set; then
3623
withval="$with_gnu_ld"
3624
test "$withval" = no || with_gnu_ld=yes
4252
withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
3629
4258
if test "$GCC" = yes; then
3630
4259
# Check if gcc -print-prog-name=ld gives a path.
3631
echo "$as_me:$LINENO: checking for ld used by $CC" >&5
3632
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4260
{ echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4261
echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6; }
3635
4264
# gcc leaves a trailing carriage return which upsets mingw
4749
5424
rm -f conftest.$ac_objext
4750
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4751
(eval $ac_compile) 2>conftest.er1
5425
if { (ac_try="$ac_compile"
5427
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5428
*) ac_try_echo=$ac_try;;
5430
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5431
(eval "$ac_compile") 2>conftest.er1
4753
5433
grep -v '^ *+' conftest.er1 >conftest.err
4754
5434
rm -f conftest.er1
4755
5435
cat conftest.err >&5
4756
5436
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4757
(exit $ac_status); } &&
4758
{ ac_try='test -z "$ac_cxx_werror_flag"
4759
|| test ! -s conftest.err'
4760
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764
(exit $ac_status); }; } &&
4765
{ ac_try='test -s conftest.$ac_objext'
4766
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4769
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4770
(exit $ac_status); }; }; then
5437
(exit $ac_status); } && {
5438
test -z "$ac_cxx_werror_flag" ||
5439
test ! -s conftest.err
5440
} && test -s conftest.$ac_objext; then
4771
5441
ac_compiler_gnu=yes
4773
5443
echo "$as_me: failed program was:" >&5
4774
5444
sed 's/^/| /' conftest.$ac_ext >&5
4778
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5449
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4779
5450
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4782
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4783
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
5453
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
5454
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
4784
5455
GXX=`test $ac_compiler_gnu = yes && echo yes`
4785
5456
ac_test_CXXFLAGS=${CXXFLAGS+set}
4786
5457
ac_save_CXXFLAGS=$CXXFLAGS
4788
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4789
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
5458
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
5459
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
4790
5460
if test "${ac_cv_prog_cxx_g+set}" = set; then
4791
5461
echo $ECHO_N "(cached) $ECHO_C" >&6
4793
cat >conftest.$ac_ext <<_ACEOF
4796
cat confdefs.h >>conftest.$ac_ext
4797
cat >>conftest.$ac_ext <<_ACEOF
4798
/* end confdefs.h. */
4808
rm -f conftest.$ac_objext
4809
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4810
(eval $ac_compile) 2>conftest.er1
4812
grep -v '^ *+' conftest.er1 >conftest.err
4814
cat conftest.err >&5
4815
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816
(exit $ac_status); } &&
4817
{ ac_try='test -z "$ac_cxx_werror_flag"
4818
|| test ! -s conftest.err'
4819
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823
(exit $ac_status); }; } &&
4824
{ ac_try='test -s conftest.$ac_objext'
4825
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4828
echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829
(exit $ac_status); }; }; then
4830
ac_cv_prog_cxx_g=yes
4832
echo "$as_me: failed program was:" >&5
4833
sed 's/^/| /' conftest.$ac_ext >&5
4837
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4839
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
4840
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
5463
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5464
ac_cxx_werror_flag=yes
5467
cat >conftest.$ac_ext <<_ACEOF
5470
cat confdefs.h >>conftest.$ac_ext
5471
cat >>conftest.$ac_ext <<_ACEOF
5472
/* end confdefs.h. */
5482
rm -f conftest.$ac_objext
5483
if { (ac_try="$ac_compile"
5485
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5486
*) ac_try_echo=$ac_try;;
5488
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5489
(eval "$ac_compile") 2>conftest.er1
5491
grep -v '^ *+' conftest.er1 >conftest.err
5493
cat conftest.err >&5
5494
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5495
(exit $ac_status); } && {
5496
test -z "$ac_cxx_werror_flag" ||
5497
test ! -s conftest.err
5498
} && test -s conftest.$ac_objext; then
5499
ac_cv_prog_cxx_g=yes
5501
echo "$as_me: failed program was:" >&5
5502
sed 's/^/| /' conftest.$ac_ext >&5
5505
cat >conftest.$ac_ext <<_ACEOF
5508
cat confdefs.h >>conftest.$ac_ext
5509
cat >>conftest.$ac_ext <<_ACEOF
5510
/* end confdefs.h. */
5520
rm -f conftest.$ac_objext
5521
if { (ac_try="$ac_compile"
5523
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5524
*) ac_try_echo=$ac_try;;
5526
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5527
(eval "$ac_compile") 2>conftest.er1
5529
grep -v '^ *+' conftest.er1 >conftest.err
5531
cat conftest.err >&5
5532
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5533
(exit $ac_status); } && {
5534
test -z "$ac_cxx_werror_flag" ||
5535
test ! -s conftest.err
5536
} && test -s conftest.$ac_objext; then
5539
echo "$as_me: failed program was:" >&5
5540
sed 's/^/| /' conftest.$ac_ext >&5
5542
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5544
cat >conftest.$ac_ext <<_ACEOF
5547
cat confdefs.h >>conftest.$ac_ext
5548
cat >>conftest.$ac_ext <<_ACEOF
5549
/* end confdefs.h. */
5559
rm -f conftest.$ac_objext
5560
if { (ac_try="$ac_compile"
5562
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5563
*) ac_try_echo=$ac_try;;
5565
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5566
(eval "$ac_compile") 2>conftest.er1
5568
grep -v '^ *+' conftest.er1 >conftest.err
5570
cat conftest.err >&5
5571
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5572
(exit $ac_status); } && {
5573
test -z "$ac_cxx_werror_flag" ||
5574
test ! -s conftest.err
5575
} && test -s conftest.$ac_objext; then
5576
ac_cv_prog_cxx_g=yes
5578
echo "$as_me: failed program was:" >&5
5579
sed 's/^/| /' conftest.$ac_ext >&5
5584
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5587
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5590
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5591
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5593
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5594
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
4841
5595
if test "$ac_test_CXXFLAGS" = set; then
4842
5596
CXXFLAGS=$ac_save_CXXFLAGS
4843
5597
elif test $ac_cv_prog_cxx_g = yes; then
19251
20038
rm -f conftest.$ac_objext
19252
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19253
(eval $ac_compile) 2>conftest.er1
20039
if { (ac_try="$ac_compile"
20040
case "(($ac_try" in
20041
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20042
*) ac_try_echo=$ac_try;;
20044
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20045
(eval "$ac_compile") 2>conftest.er1
19255
20047
grep -v '^ *+' conftest.er1 >conftest.err
19256
20048
rm -f conftest.er1
19257
20049
cat conftest.err >&5
19258
20050
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19259
(exit $ac_status); } &&
19260
{ ac_try='test -z "$ac_cxx_werror_flag"
19261
|| test ! -s conftest.err'
19262
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19263
(eval $ac_try) 2>&5
19265
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266
(exit $ac_status); }; } &&
19267
{ ac_try='test -s conftest.$ac_objext'
19268
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19269
(eval $ac_try) 2>&5
19271
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19272
(exit $ac_status); }; }; then
20051
(exit $ac_status); } && {
20052
test -z "$ac_cxx_werror_flag" ||
20053
test ! -s conftest.err
20054
} && test -s conftest.$ac_objext; then
19273
20055
ac_compiler_gnu=yes
19275
20057
echo "$as_me: failed program was:" >&5
19276
20058
sed 's/^/| /' conftest.$ac_ext >&5
19280
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20063
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19281
20064
ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
19284
echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
19285
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
20067
{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
20068
echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
19286
20069
GXX=`test $ac_compiler_gnu = yes && echo yes`
19287
20070
ac_test_CXXFLAGS=${CXXFLAGS+set}
19288
20071
ac_save_CXXFLAGS=$CXXFLAGS
19290
echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
19291
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
20072
{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
20073
echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
19292
20074
if test "${ac_cv_prog_cxx_g+set}" = set; then
19293
20075
echo $ECHO_N "(cached) $ECHO_C" >&6
19295
cat >conftest.$ac_ext <<_ACEOF
19298
cat confdefs.h >>conftest.$ac_ext
19299
cat >>conftest.$ac_ext <<_ACEOF
19300
/* end confdefs.h. */
19310
rm -f conftest.$ac_objext
19311
if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19312
(eval $ac_compile) 2>conftest.er1
19314
grep -v '^ *+' conftest.er1 >conftest.err
19316
cat conftest.err >&5
19317
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19318
(exit $ac_status); } &&
19319
{ ac_try='test -z "$ac_cxx_werror_flag"
19320
|| test ! -s conftest.err'
19321
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19322
(eval $ac_try) 2>&5
19324
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19325
(exit $ac_status); }; } &&
19326
{ ac_try='test -s conftest.$ac_objext'
19327
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19328
(eval $ac_try) 2>&5
19330
echo "$as_me:$LINENO: \$? = $ac_status" >&5
19331
(exit $ac_status); }; }; then
19332
ac_cv_prog_cxx_g=yes
19334
echo "$as_me: failed program was:" >&5
19335
sed 's/^/| /' conftest.$ac_ext >&5
19337
ac_cv_prog_cxx_g=no
19339
rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19341
echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
19342
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
20077
ac_save_cxx_werror_flag=$ac_cxx_werror_flag
20078
ac_cxx_werror_flag=yes
20079
ac_cv_prog_cxx_g=no
20081
cat >conftest.$ac_ext <<_ACEOF
20084
cat confdefs.h >>conftest.$ac_ext
20085
cat >>conftest.$ac_ext <<_ACEOF
20086
/* end confdefs.h. */
20096
rm -f conftest.$ac_objext
20097
if { (ac_try="$ac_compile"
20098
case "(($ac_try" in
20099
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20100
*) ac_try_echo=$ac_try;;
20102
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20103
(eval "$ac_compile") 2>conftest.er1
20105
grep -v '^ *+' conftest.er1 >conftest.err
20107
cat conftest.err >&5
20108
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20109
(exit $ac_status); } && {
20110
test -z "$ac_cxx_werror_flag" ||
20111
test ! -s conftest.err
20112
} && test -s conftest.$ac_objext; then
20113
ac_cv_prog_cxx_g=yes
20115
echo "$as_me: failed program was:" >&5
20116
sed 's/^/| /' conftest.$ac_ext >&5
20119
cat >conftest.$ac_ext <<_ACEOF
20122
cat confdefs.h >>conftest.$ac_ext
20123
cat >>conftest.$ac_ext <<_ACEOF
20124
/* end confdefs.h. */
20134
rm -f conftest.$ac_objext
20135
if { (ac_try="$ac_compile"
20136
case "(($ac_try" in
20137
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20138
*) ac_try_echo=$ac_try;;
20140
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20141
(eval "$ac_compile") 2>conftest.er1
20143
grep -v '^ *+' conftest.er1 >conftest.err
20145
cat conftest.err >&5
20146
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20147
(exit $ac_status); } && {
20148
test -z "$ac_cxx_werror_flag" ||
20149
test ! -s conftest.err
20150
} && test -s conftest.$ac_objext; then
20153
echo "$as_me: failed program was:" >&5
20154
sed 's/^/| /' conftest.$ac_ext >&5
20156
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
20158
cat >conftest.$ac_ext <<_ACEOF
20161
cat confdefs.h >>conftest.$ac_ext
20162
cat >>conftest.$ac_ext <<_ACEOF
20163
/* end confdefs.h. */
20173
rm -f conftest.$ac_objext
20174
if { (ac_try="$ac_compile"
20175
case "(($ac_try" in
20176
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20177
*) ac_try_echo=$ac_try;;
20179
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180
(eval "$ac_compile") 2>conftest.er1
20182
grep -v '^ *+' conftest.er1 >conftest.err
20184
cat conftest.err >&5
20185
echo "$as_me:$LINENO: \$? = $ac_status" >&5
20186
(exit $ac_status); } && {
20187
test -z "$ac_cxx_werror_flag" ||
20188
test ! -s conftest.err
20189
} && test -s conftest.$ac_objext; then
20190
ac_cv_prog_cxx_g=yes
20192
echo "$as_me: failed program was:" >&5
20193
sed 's/^/| /' conftest.$ac_ext >&5
20198
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20204
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20205
ac_cxx_werror_flag=$ac_save_cxx_werror_flag
20207
{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
20208
echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
19343
20209
if test "$ac_test_CXXFLAGS" = set; then
19344
20210
CXXFLAGS=$ac_save_CXXFLAGS
19345
20211
elif test $ac_cv_prog_cxx_g = yes; then
20984
21758
# Name of the executable.
20985
as_me=`$as_basename "$0" ||
21759
as_me=`$as_basename -- "$0" ||
20986
21760
$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20987
21761
X"$0" : 'X\(//\)$' \| \
20988
X"$0" : 'X\(/\)$' \| \
20989
. : '\(.\)' 2>/dev/null ||
21762
X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20990
21763
echo X/"$0" |
20991
sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
20992
/^X\/\(\/\/\)$/{ s//\1/; q; }
20993
/^X\/\(\/\).*/{ s//\1/; q; }
20997
# PATH needs CR, and LINENO needs CR and PATH.
20998
# Avoid depending upon Character Ranges.
20999
as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21000
as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21001
as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21002
as_cr_digits='0123456789'
21003
as_cr_alnum=$as_cr_Letters$as_cr_digits
21005
# The user is always right.
21006
if test "${PATH_SEPARATOR+set}" != set; then
21007
echo "#! /bin/sh" >conf$$.sh
21008
echo "exit 0" >>conf$$.sh
21010
if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
21019
as_lineno_1=$LINENO
21020
as_lineno_2=$LINENO
21021
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21022
test "x$as_lineno_1" != "x$as_lineno_2" &&
21023
test "x$as_lineno_3" = "x$as_lineno_2" || {
21024
# Find who we are. Look in the path if we contain no path at all
21027
*[\\/]* ) as_myself=$0 ;;
21028
*) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21029
for as_dir in $PATH
21032
test -z "$as_dir" && as_dir=.
21033
test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21038
# We did not find ourselves, most probably we were run as `sh COMMAND'
21039
# in which case we are not to be found in the path.
21040
if test "x$as_myself" = x; then
21043
if test ! -f "$as_myself"; then
21044
{ { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
21045
echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
21046
{ (exit 1); exit 1; }; }
21048
case $CONFIG_SHELL in
21050
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21051
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
21054
test -z "$as_dir" && as_dir=.
21055
for as_base in sh bash ksh sh5; do
21058
if ("$as_dir/$as_base" -c '
21059
as_lineno_1=$LINENO
21060
as_lineno_2=$LINENO
21061
as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
21062
test "x$as_lineno_1" != "x$as_lineno_2" &&
21063
test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
21064
$as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
21065
$as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
21066
CONFIG_SHELL=$as_dir/$as_base
21067
export CONFIG_SHELL
21068
exec "$CONFIG_SHELL" "$0" ${1+"$@"}
21764
sed '/^.*\/\([^/][^/]*\)\/*$/{
21783
as_lineno_1=$LINENO
21784
as_lineno_2=$LINENO
21785
test "x$as_lineno_1" != "x$as_lineno_2" &&
21786
test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
21076
21788
# Create $as_me.lineno as a copy of $as_myself, but with $LINENO
21077
21789
# uniformly replaced by the line number. The first 'sed' inserts a
21078
# line-number line before each line; the second 'sed' does the real
21079
# work. The second script uses 'N' to pair each line-number line
21080
# with the numbered line, and appends trailing '-' during
21081
# substitution so that $LINENO is not a special case at line end.
21790
# line-number line after each line using $LINENO; the second 'sed'
21791
# does the real work. The second script uses 'N' to pair each
21792
# line-number line with the line containing $LINENO, and appends
21793
# trailing '-' during substitution so that $LINENO is not a special
21794
# case at line end.
21082
21795
# (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
21083
# second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
21084
sed '=' <$as_myself |
21796
# scripts with optimization help from Paolo Bonzini. Blame Lee
21797
# E. McMahon (1931-1989) for sed's syntax. :-)
21089
s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
21809
s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
21092
s,^['$as_cr_digits']*\n,,
21093
21812
' >$as_me.lineno &&
21094
chmod +x $as_me.lineno ||
21095
{ { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
21096
echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
21813
chmod +x "$as_me.lineno" ||
21814
{ echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
21097
21815
{ (exit 1); exit 1; }; }
21099
21817
# Don't try to exec as it changes $[0], causing all sort of problems
21100
21818
# (the dirname of $[0] is not the place where we might find the
21101
# original and so on. Autoconf is especially sensible to this).
21819
# original and so on. Autoconf is especially sensitive to this).
21820
. "./$as_me.lineno"
21103
21821
# Exit status is that of the last command.
21108
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
21109
*c*,-n*) ECHO_N= ECHO_C='
21111
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
21112
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
21826
if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21832
ECHO_C= ECHO_N= ECHO_T=
21833
case `echo -n x` in
21835
case `echo 'x\c'` in
21836
*c*) ECHO_T=' ';; # ECHO_T is single tab character.
21115
if expr a : '\(a\)' >/dev/null 2>&1; then
21843
if expr a : '\(a\)' >/dev/null 2>&1 &&
21844
test "X`expr 00001 : '.*\(...\)'`" = X001; then
21118
21847
as_expr=false
21121
21850
rm -f conf$$ conf$$.exe conf$$.file
21851
if test -d conf$$.dir; then
21852
rm -f conf$$.dir/conf$$.file
21122
21857
echo >conf$$.file
21123
21858
if ln -s conf$$.file conf$$ 2>/dev/null; then
21124
# We could just check for DJGPP; but this test a) works b) is more generic
21125
# and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
21126
if test -f conf$$.exe; then
21127
# Don't use ln at all; we don't have any links
21860
# ... but there are two gotchas:
21861
# 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21862
# 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21863
# In both cases, we have to default to `cp -p'.
21864
ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21128
21865
as_ln_s='cp -p'
21132
21866
elif ln conf$$.file conf$$ 2>/dev/null; then
21135
21869
as_ln_s='cp -p'
21137
rm -f conf$$ conf$$.exe conf$$.file
21871
rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21872
rmdir conf$$.dir 2>/dev/null
21139
21874
if mkdir -p . 2>/dev/null; then
21372
22107
# Have a temporary directory for convenience. Make it in the build tree
21373
# simply because there is no reason to put it here, and in addition,
22108
# simply because there is no reason against having it here, and in addition,
21374
22109
# creating and moving files from /tmp can sometimes cause problems.
21375
# Create a temporary directory, and hook for its removal unless debugging.
22110
# Hook for its removal unless debugging.
22111
# Note that there is a small window in which the directory will not be cleaned:
22112
# after its creation but before its name has been assigned to `$tmp'.
21378
trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
22116
trap 'exit_status=$?
22117
{ test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
21379
22119
trap '{ (exit 1); exit 1; }' 1 2 13 15
21382
22121
# Create a (secure) tmp directory for tmp files.
21385
tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
22124
tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21386
22125
test -n "$tmp" && test -d "$tmp"
21389
tmp=./confstat$$-$RANDOM
21390
(umask 077 && mkdir $tmp)
22128
tmp=./conf$$-$RANDOM
22129
(umask 077 && mkdir "$tmp")
21393
22132
echo "$me: cannot create a temporary directory in ." >&2
21394
22133
{ (exit 1); exit 1; }
21399
cat >>$CONFIG_STATUS <<_ACEOF
21402
# CONFIG_FILES section.
22137
# Set up the sed scripts for CONFIG_FILES section.
21405
22140
# No need to generate the scripts if there are no CONFIG_FILES.
21406
22141
# This happens for instance when ./config.status config.h
21407
if test -n "\$CONFIG_FILES"; then
21408
# Protect against being on the right side of a sed subst in config.status.
21409
sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
21410
s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
21411
s,@SHELL@,$SHELL,;t t
21412
s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
21413
s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
21414
s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
21415
s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
21416
s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
21417
s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
21418
s,@exec_prefix@,$exec_prefix,;t t
21419
s,@prefix@,$prefix,;t t
21420
s,@program_transform_name@,$program_transform_name,;t t
21421
s,@bindir@,$bindir,;t t
21422
s,@sbindir@,$sbindir,;t t
21423
s,@libexecdir@,$libexecdir,;t t
21424
s,@datadir@,$datadir,;t t
21425
s,@sysconfdir@,$sysconfdir,;t t
21426
s,@sharedstatedir@,$sharedstatedir,;t t
21427
s,@localstatedir@,$localstatedir,;t t
21428
s,@libdir@,$libdir,;t t
21429
s,@includedir@,$includedir,;t t
21430
s,@oldincludedir@,$oldincludedir,;t t
21431
s,@infodir@,$infodir,;t t
21432
s,@mandir@,$mandir,;t t
21433
s,@build_alias@,$build_alias,;t t
21434
s,@host_alias@,$host_alias,;t t
21435
s,@target_alias@,$target_alias,;t t
21436
s,@DEFS@,$DEFS,;t t
21437
s,@ECHO_C@,$ECHO_C,;t t
21438
s,@ECHO_N@,$ECHO_N,;t t
21439
s,@ECHO_T@,$ECHO_T,;t t
21440
s,@LIBS@,$LIBS,;t t
21441
s,@GLIBMM_MAJOR_VERSION@,$GLIBMM_MAJOR_VERSION,;t t
21442
s,@GLIBMM_MINOR_VERSION@,$GLIBMM_MINOR_VERSION,;t t
21443
s,@GLIBMM_MICRO_VERSION@,$GLIBMM_MICRO_VERSION,;t t
21444
s,@GLIBMM_VERSION@,$GLIBMM_VERSION,;t t
21445
s,@GLIBMM_RELEASE@,$GLIBMM_RELEASE,;t t
21446
s,@LIBGLIBMM_SO_VERSION@,$LIBGLIBMM_SO_VERSION,;t t
21447
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
21448
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
21449
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
21450
s,@CYGPATH_W@,$CYGPATH_W,;t t
21451
s,@PACKAGE@,$PACKAGE,;t t
21452
s,@VERSION@,$VERSION,;t t
21453
s,@ACLOCAL@,$ACLOCAL,;t t
21454
s,@AUTOCONF@,$AUTOCONF,;t t
21455
s,@AUTOMAKE@,$AUTOMAKE,;t t
21456
s,@AUTOHEADER@,$AUTOHEADER,;t t
21457
s,@MAKEINFO@,$MAKEINFO,;t t
21458
s,@install_sh@,$install_sh,;t t
21459
s,@STRIP@,$STRIP,;t t
21460
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
21461
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
21462
s,@mkdir_p@,$mkdir_p,;t t
21464
s,@SET_MAKE@,$SET_MAKE,;t t
21465
s,@am__leading_dot@,$am__leading_dot,;t t
21466
s,@AMTAR@,$AMTAR,;t t
21467
s,@am__tar@,$am__tar,;t t
21468
s,@am__untar@,$am__untar,;t t
21469
s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
21470
s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
21471
s,@MAINT@,$MAINT,;t t
21473
s,@CFLAGS@,$CFLAGS,;t t
21474
s,@LDFLAGS@,$LDFLAGS,;t t
21475
s,@CPPFLAGS@,$CPPFLAGS,;t t
21476
s,@ac_ct_CC@,$ac_ct_CC,;t t
21477
s,@EXEEXT@,$EXEEXT,;t t
21478
s,@OBJEXT@,$OBJEXT,;t t
21479
s,@DEPDIR@,$DEPDIR,;t t
21480
s,@am__include@,$am__include,;t t
21481
s,@am__quote@,$am__quote,;t t
21482
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
21483
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
21484
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
21485
s,@CCDEPMODE@,$CCDEPMODE,;t t
21486
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
21487
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
21489
s,@build@,$build,;t t
21490
s,@build_cpu@,$build_cpu,;t t
21491
s,@build_vendor@,$build_vendor,;t t
21492
s,@build_os@,$build_os,;t t
21493
s,@host@,$host,;t t
21494
s,@host_cpu@,$host_cpu,;t t
21495
s,@host_vendor@,$host_vendor,;t t
21496
s,@host_os@,$host_os,;t t
21497
s,@EGREP@,$EGREP,;t t
21498
s,@LN_S@,$LN_S,;t t
21499
s,@ECHO@,$ECHO,;t t
21501
s,@ac_ct_AR@,$ac_ct_AR,;t t
21502
s,@RANLIB@,$RANLIB,;t t
21503
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
21505
s,@CXXFLAGS@,$CXXFLAGS,;t t
21506
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
21507
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
21508
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
21509
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
21510
s,@CXXCPP@,$CXXCPP,;t t
21512
s,@FFLAGS@,$FFLAGS,;t t
21513
s,@ac_ct_F77@,$ac_ct_F77,;t t
21514
s,@LIBTOOL@,$LIBTOOL,;t t
21516
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
21517
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
21518
s,@GLIBMM_CFLAGS@,$GLIBMM_CFLAGS,;t t
21519
s,@GLIBMM_LIBS@,$GLIBMM_LIBS,;t t
21520
s,@GTHREAD_CFLAGS@,$GTHREAD_CFLAGS,;t t
21521
s,@GTHREAD_LIBS@,$GTHREAD_LIBS,;t t
21522
s,@GTKMM_FALSE_TRUE@,$GTKMM_FALSE_TRUE,;t t
21523
s,@GTKMM_FALSE_FALSE@,$GTKMM_FALSE_FALSE,;t t
21524
s,@LIBOBJS@,$LIBOBJS,;t t
21525
s,@LTLIBOBJS@,$LTLIBOBJS,;t t
21530
cat >>$CONFIG_STATUS <<\_ACEOF
21531
# Split the substitutions into bite-sized pieces for seds with
21532
# small command number limits, like on Digital OSF/1 and HP-UX.
21533
ac_max_sed_lines=48
21534
ac_sed_frag=1 # Number of current file.
21535
ac_beg=1 # First line for current file.
21536
ac_end=$ac_max_sed_lines # Line after last line for current file.
21539
while $ac_more_lines; do
21540
if test $ac_beg -gt 1; then
21541
sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21543
sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
21545
if test ! -s $tmp/subs.frag; then
21546
ac_more_lines=false
21548
# The purpose of the label and of the branching condition is to
21549
# speed up the sed processing (if there are no `@' at all, there
21550
# is no need to browse any of the substitutions).
21551
# These are the two extra sed commands mentioned above.
21553
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
21554
if test -z "$ac_sed_cmds"; then
21555
ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
21557
ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
21559
ac_sed_frag=`expr $ac_sed_frag + 1`
21561
ac_end=`expr $ac_end + $ac_max_sed_lines`
21564
if test -z "$ac_sed_cmds"; then
22142
if test -n "$CONFIG_FILES"; then
22149
for ac_last_try in false false false false false :; do
22150
cat >conf$$subs.sed <<_ACEOF
22151
SHELL!$SHELL$ac_delim
22152
PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
22153
PACKAGE_NAME!$PACKAGE_NAME$ac_delim
22154
PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
22155
PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
22156
PACKAGE_STRING!$PACKAGE_STRING$ac_delim
22157
PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
22158
exec_prefix!$exec_prefix$ac_delim
22159
prefix!$prefix$ac_delim
22160
program_transform_name!$program_transform_name$ac_delim
22161
bindir!$bindir$ac_delim
22162
sbindir!$sbindir$ac_delim
22163
libexecdir!$libexecdir$ac_delim
22164
datarootdir!$datarootdir$ac_delim
22165
datadir!$datadir$ac_delim
22166
sysconfdir!$sysconfdir$ac_delim
22167
sharedstatedir!$sharedstatedir$ac_delim
22168
localstatedir!$localstatedir$ac_delim
22169
includedir!$includedir$ac_delim
22170
oldincludedir!$oldincludedir$ac_delim
22171
docdir!$docdir$ac_delim
22172
infodir!$infodir$ac_delim
22173
htmldir!$htmldir$ac_delim
22174
dvidir!$dvidir$ac_delim
22175
pdfdir!$pdfdir$ac_delim
22176
psdir!$psdir$ac_delim
22177
libdir!$libdir$ac_delim
22178
localedir!$localedir$ac_delim
22179
mandir!$mandir$ac_delim
22180
DEFS!$DEFS$ac_delim
22181
ECHO_C!$ECHO_C$ac_delim
22182
ECHO_N!$ECHO_N$ac_delim
22183
ECHO_T!$ECHO_T$ac_delim
22184
LIBS!$LIBS$ac_delim
22185
build_alias!$build_alias$ac_delim
22186
host_alias!$host_alias$ac_delim
22187
target_alias!$target_alias$ac_delim
22188
GLIBMM_MAJOR_VERSION!$GLIBMM_MAJOR_VERSION$ac_delim
22189
GLIBMM_MINOR_VERSION!$GLIBMM_MINOR_VERSION$ac_delim
22190
GLIBMM_MICRO_VERSION!$GLIBMM_MICRO_VERSION$ac_delim
22191
GLIBMM_VERSION!$GLIBMM_VERSION$ac_delim
22192
GLIBMM_RELEASE!$GLIBMM_RELEASE$ac_delim
22193
LIBGLIBMM_SO_VERSION!$LIBGLIBMM_SO_VERSION$ac_delim
22194
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22195
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22196
INSTALL_DATA!$INSTALL_DATA$ac_delim
22197
am__isrc!$am__isrc$ac_delim
22198
CYGPATH_W!$CYGPATH_W$ac_delim
22199
PACKAGE!$PACKAGE$ac_delim
22200
VERSION!$VERSION$ac_delim
22201
ACLOCAL!$ACLOCAL$ac_delim
22202
AUTOCONF!$AUTOCONF$ac_delim
22203
AUTOMAKE!$AUTOMAKE$ac_delim
22204
AUTOHEADER!$AUTOHEADER$ac_delim
22205
MAKEINFO!$MAKEINFO$ac_delim
22206
install_sh!$install_sh$ac_delim
22207
STRIP!$STRIP$ac_delim
22208
INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
22209
mkdir_p!$mkdir_p$ac_delim
22211
SET_MAKE!$SET_MAKE$ac_delim
22212
am__leading_dot!$am__leading_dot$ac_delim
22213
AMTAR!$AMTAR$ac_delim
22214
am__tar!$am__tar$ac_delim
22215
am__untar!$am__untar$ac_delim
22216
MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
22217
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
22218
MAINT!$MAINT$ac_delim
22220
CFLAGS!$CFLAGS$ac_delim
22221
LDFLAGS!$LDFLAGS$ac_delim
22222
CPPFLAGS!$CPPFLAGS$ac_delim
22223
ac_ct_CC!$ac_ct_CC$ac_delim
22224
EXEEXT!$EXEEXT$ac_delim
22225
OBJEXT!$OBJEXT$ac_delim
22226
DEPDIR!$DEPDIR$ac_delim
22227
am__include!$am__include$ac_delim
22228
am__quote!$am__quote$ac_delim
22229
AMDEP_TRUE!$AMDEP_TRUE$ac_delim
22230
AMDEP_FALSE!$AMDEP_FALSE$ac_delim
22231
AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
22232
CCDEPMODE!$CCDEPMODE$ac_delim
22233
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22234
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
22236
build!$build$ac_delim
22237
build_cpu!$build_cpu$ac_delim
22238
build_vendor!$build_vendor$ac_delim
22239
build_os!$build_os$ac_delim
22240
host!$host$ac_delim
22241
host_cpu!$host_cpu$ac_delim
22242
host_vendor!$host_vendor$ac_delim
22243
host_os!$host_os$ac_delim
22245
GREP!$GREP$ac_delim
22246
EGREP!$EGREP$ac_delim
22247
LN_S!$LN_S$ac_delim
22250
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22252
elif $ac_last_try; then
22253
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22254
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22255
{ (exit 1); exit 1; }; }
22257
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22261
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22262
if test -n "$ac_eof"; then
22263
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22264
ac_eof=`expr $ac_eof + 1`
22267
cat >>$CONFIG_STATUS <<_ACEOF
22268
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22269
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22272
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22273
s/^/s,@/; s/!/@,|#_!!_#|/
22276
s/'"$ac_delim"'$/,g/; t
22278
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22279
' >>$CONFIG_STATUS <conf$$subs.sed
22280
rm -f conf$$subs.sed
22281
cat >>$CONFIG_STATUS <<_ACEOF
22287
for ac_last_try in false false false false false :; do
22288
cat >conf$$subs.sed <<_ACEOF
22289
ECHO!$ECHO$ac_delim
22291
RANLIB!$RANLIB$ac_delim
22293
CXXFLAGS!$CXXFLAGS$ac_delim
22294
ac_ct_CXX!$ac_ct_CXX$ac_delim
22295
CXXDEPMODE!$CXXDEPMODE$ac_delim
22296
am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
22297
am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
22298
CXXCPP!$CXXCPP$ac_delim
22300
FFLAGS!$FFLAGS$ac_delim
22301
ac_ct_F77!$ac_ct_F77$ac_delim
22302
LIBTOOL!$LIBTOOL$ac_delim
22304
PKG_CONFIG!$PKG_CONFIG$ac_delim
22305
GLIBMM_CFLAGS!$GLIBMM_CFLAGS$ac_delim
22306
GLIBMM_LIBS!$GLIBMM_LIBS$ac_delim
22307
GTHREAD_CFLAGS!$GTHREAD_CFLAGS$ac_delim
22308
GTHREAD_LIBS!$GTHREAD_LIBS$ac_delim
22309
GTKMM_FALSE_TRUE!$GTKMM_FALSE_TRUE$ac_delim
22310
GTKMM_FALSE_FALSE!$GTKMM_FALSE_FALSE$ac_delim
22311
LIBOBJS!$LIBOBJS$ac_delim
22312
LTLIBOBJS!$LTLIBOBJS$ac_delim
22315
if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
22317
elif $ac_last_try; then
22318
{ { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22319
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22320
{ (exit 1); exit 1; }; }
22322
ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22326
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22327
if test -n "$ac_eof"; then
22328
ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22329
ac_eof=`expr $ac_eof + 1`
22332
cat >>$CONFIG_STATUS <<_ACEOF
22333
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
22334
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
22337
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22338
s/^/s,@/; s/!/@,|#_!!_#|/
22341
s/'"$ac_delim"'$/,g/; t
22343
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22344
' >>$CONFIG_STATUS <conf$$subs.sed
22345
rm -f conf$$subs.sed
22346
cat >>$CONFIG_STATUS <<_ACEOF
22353
# VPATH may cause trouble with some makes, so we remove $(srcdir),
22354
# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
22355
# trailing colons and then remove the whole line if VPATH becomes empty
22356
# (actually we leave an empty line to preserve line numbers).
22357
if test "x$srcdir" = x.; then
22358
ac_vpsub='/^[ ]*VPATH[ ]*=/{
22359
s/:*\$(srcdir):*/:/
22360
s/:*\${srcdir}:*/:/
22362
s/^\([^=]*=[ ]*\):*/\1/
22368
cat >>$CONFIG_STATUS <<\_ACEOF
21567
22369
fi # test -n "$CONFIG_FILES"
21570
cat >>$CONFIG_STATUS <<\_ACEOF
21571
for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
21572
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21574
- | *:- | *:-:* ) # input from stdin
21576
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21577
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21578
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21579
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21580
* ) ac_file_in=$ac_file.in ;;
21583
# Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
21584
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
22372
for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
22375
:[FHLC]) ac_mode=$ac_tag; continue;;
22377
case $ac_mode$ac_tag in
22379
:L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
22380
echo "$as_me: error: Invalid tag $ac_tag." >&2;}
22381
{ (exit 1); exit 1; }; };;
22382
:[FH]-) ac_tag=-:-;;
22383
:[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22400
-) ac_f="$tmp/stdin";;
22401
*) # Look for the file first in the build tree, then in the source tree
22402
# (if the path is not absolute). The absolute path cannot be DOS-style,
22403
# because $ac_f cannot contain `:'.
22407
*) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22409
{ { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
22410
echo "$as_me: error: cannot find input file: $ac_f" >&2;}
22411
{ (exit 1); exit 1; }; };;
22413
ac_file_inputs="$ac_file_inputs $ac_f"
22416
# Let's still pretend it is `configure' which instantiates (i.e., don't
22417
# use $as_me), people would be surprised to read:
22418
# /* config.h. Generated by config.status. */
22419
configure_input="Generated from "`IFS=:
22420
echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
22421
if test x"$ac_file" != x-; then
22422
configure_input="$ac_file. $configure_input"
22423
{ echo "$as_me:$LINENO: creating $ac_file" >&5
22424
echo "$as_me: creating $ac_file" >&6;}
22428
*:-:* | *:-) cat >"$tmp/stdin";;
22433
ac_dir=`$as_dirname -- "$ac_file" ||
21585
22434
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21586
22435
X"$ac_file" : 'X\(//\)[^/]' \| \
21587
22436
X"$ac_file" : 'X\(//\)$' \| \
21588
X"$ac_file" : 'X\(/\)' \| \
21589
. : '\(.\)' 2>/dev/null ||
22437
X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21590
22438
echo X"$ac_file" |
21591
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21592
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21593
/^X\(\/\/\)$/{ s//\1/; q; }
21594
/^X\(\/\).*/{ s//\1/; q; }
21596
{ if $as_mkdir_p; then
22439
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22443
/^X\(\/\/\)[^/].*/{
22458
-*) as_dir=./$as_dir;;
22460
test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
21601
while test ! -d "$as_dir"; do
21602
as_dirs="$as_dir $as_dirs"
21603
as_dir=`(dirname "$as_dir") 2>/dev/null ||
22464
*\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
22465
*) as_qdir=$as_dir;;
22467
as_dirs="'$as_qdir' $as_dirs"
22468
as_dir=`$as_dirname -- "$as_dir" ||
21604
22469
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21605
22470
X"$as_dir" : 'X\(//\)[^/]' \| \
21606
22471
X"$as_dir" : 'X\(//\)$' \| \
21607
X"$as_dir" : 'X\(/\)' \| \
21608
. : '\(.\)' 2>/dev/null ||
22472
X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21609
22473
echo X"$as_dir" |
21610
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21611
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21612
/^X\(\/\/\)$/{ s//\1/; q; }
21613
/^X\(\/\).*/{ s//\1/; q; }
22474
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22478
/^X\(\/\/\)[^/].*/{
22491
test -d "$as_dir" && break
21616
test ! -n "$as_dirs" || mkdir $as_dirs
21617
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21618
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
22493
test -z "$as_dirs" || eval "mkdir $as_dirs"
22494
} || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
22495
echo "$as_me: error: cannot create directory $as_dir" >&2;}
21619
22496
{ (exit 1); exit 1; }; }; }
21621
22497
ac_builddir=.
21623
if test "$ac_dir" != .; then
22500
.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21624
22502
ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
21625
# A "../" for each directory in $ac_dir_suffix.
21626
ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
21628
ac_dir_suffix= ac_top_builddir=
22503
# A ".." for each directory in $ac_dir_suffix.
22504
ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
22505
case $ac_top_builddir_sub in
22506
"") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22507
*) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22510
ac_abs_top_builddir=$ac_pwd
22511
ac_abs_builddir=$ac_pwd$ac_dir_suffix
22512
# for backward compatibility:
22513
ac_top_builddir=$ac_top_build_prefix
21631
22515
case $srcdir in
21632
.) # No --srcdir option. We are building in place.
22516
.) # We are building in place.
21634
if test -z "$ac_top_builddir"; then
21637
ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
21639
[\\/]* | ?:[\\/]* ) # Absolute path.
22518
ac_top_srcdir=$ac_top_builddir_sub
22519
ac_abs_top_srcdir=$ac_pwd ;;
22520
[\\/]* | ?:[\\/]* ) # Absolute name.
21640
22521
ac_srcdir=$srcdir$ac_dir_suffix;
21641
ac_top_srcdir=$srcdir ;;
21642
*) # Relative path.
21643
ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
21644
ac_top_srcdir=$ac_top_builddir$srcdir ;;
21647
# Do not use `cd foo && pwd` to compute absolute paths, because
21648
# the directories may not exist.
21650
.) ac_abs_builddir="$ac_dir";;
21653
.) ac_abs_builddir=`pwd`;;
21654
[\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
21655
*) ac_abs_builddir=`pwd`/"$ac_dir";;
21658
case $ac_abs_builddir in
21659
.) ac_abs_top_builddir=${ac_top_builddir}.;;
21661
case ${ac_top_builddir}. in
21662
.) ac_abs_top_builddir=$ac_abs_builddir;;
21663
[\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
21664
*) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
21667
case $ac_abs_builddir in
21668
.) ac_abs_srcdir=$ac_srcdir;;
21671
.) ac_abs_srcdir=$ac_abs_builddir;;
21672
[\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
21673
*) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
21676
case $ac_abs_builddir in
21677
.) ac_abs_top_srcdir=$ac_top_srcdir;;
21679
case $ac_top_srcdir in
21680
.) ac_abs_top_srcdir=$ac_abs_builddir;;
21681
[\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
21682
*) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
22522
ac_top_srcdir=$srcdir
22523
ac_abs_top_srcdir=$srcdir ;;
22524
*) # Relative name.
22525
ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22526
ac_top_srcdir=$ac_top_build_prefix$srcdir
22527
ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22529
ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21687
22538
case $INSTALL in
21688
22539
[\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21689
*) ac_INSTALL=$ac_top_builddir$INSTALL ;;
21692
if test x"$ac_file" != x-; then
21693
{ echo "$as_me:$LINENO: creating $ac_file" >&5
21694
echo "$as_me: creating $ac_file" >&6;}
21697
# Let's still pretend it is `configure' which instantiates (i.e., don't
21698
# use $as_me), people would be surprised to read:
21699
# /* config.h. Generated by config.status. */
21700
if test x"$ac_file" = x-; then
21703
configure_input="$ac_file. "
21705
configure_input=$configure_input"Generated from `echo $ac_file_in |
21706
sed 's,.*/,,'` by configure."
21708
# First look for the input files in the build tree, otherwise in the
21710
ac_file_inputs=`IFS=:
21711
for f in $ac_file_in; do
21713
-) echo $tmp/stdin ;;
21715
# Absolute (can't be DOS-style, as IFS=:)
21716
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21717
echo "$as_me: error: cannot find input file: $f" >&2;}
21718
{ (exit 1); exit 1; }; }
21721
if test -f "$f"; then
21724
elif test -f "$srcdir/$f"; then
21729
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21730
echo "$as_me: error: cannot find input file: $f" >&2;}
21731
{ (exit 1); exit 1; }; }
21734
done` || { (exit 1); exit 1; }
22540
*) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22542
ac_MKDIR_P=$MKDIR_P
22544
[\\/$]* | ?:[\\/]* ) ;;
22545
*/*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
22549
cat >>$CONFIG_STATUS <<\_ACEOF
22550
# If the template does not know about datarootdir, expand it.
22551
# FIXME: This hack should be removed a few years after 2.60.
22552
ac_datarootdir_hack=; ac_datarootdir_seen=
22554
case `sed -n '/datarootdir/ {
22563
' $ac_file_inputs` in
22564
*datarootdir*) ac_datarootdir_seen=yes;;
22565
*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22566
{ echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22567
echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22569
cat >>$CONFIG_STATUS <<_ACEOF
22570
ac_datarootdir_hack='
22571
s&@datadir@&$datadir&g
22572
s&@docdir@&$docdir&g
22573
s&@infodir@&$infodir&g
22574
s&@localedir@&$localedir&g
22575
s&@mandir@&$mandir&g
22576
s&\\\${datarootdir}&$datarootdir&g' ;;
22580
# Neutralize VPATH when `$srcdir' = `.'.
22581
# Shell code in configure.ac might set extrasub.
22582
# FIXME: do we really want to maintain this feature?
21736
22583
cat >>$CONFIG_STATUS <<_ACEOF
21737
22584
sed "$ac_vpsub
21740
22587
cat >>$CONFIG_STATUS <<\_ACEOF
21742
22589
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21743
s,@configure_input@,$configure_input,;t t
21744
s,@srcdir@,$ac_srcdir,;t t
21745
s,@abs_srcdir@,$ac_abs_srcdir,;t t
21746
s,@top_srcdir@,$ac_top_srcdir,;t t
21747
s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
21748
s,@builddir@,$ac_builddir,;t t
21749
s,@abs_builddir@,$ac_abs_builddir,;t t
21750
s,@top_builddir@,$ac_top_builddir,;t t
21751
s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
21752
s,@INSTALL@,$ac_INSTALL,;t t
21753
" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
21755
if test x"$ac_file" != x-; then
21756
mv $tmp/out $ac_file
22590
s&@configure_input@&$configure_input&;t t
22591
s&@top_builddir@&$ac_top_builddir_sub&;t t
22592
s&@srcdir@&$ac_srcdir&;t t
22593
s&@abs_srcdir@&$ac_abs_srcdir&;t t
22594
s&@top_srcdir@&$ac_top_srcdir&;t t
22595
s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22596
s&@builddir@&$ac_builddir&;t t
22597
s&@abs_builddir@&$ac_abs_builddir&;t t
22598
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22599
s&@INSTALL@&$ac_INSTALL&;t t
22600
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22601
$ac_datarootdir_hack
22602
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22604
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22605
{ ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
22606
{ ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
22607
{ echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22608
which seems to be undefined. Please make sure it is defined." >&5
22609
echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22610
which seems to be undefined. Please make sure it is defined." >&2;}
22614
-) cat "$tmp/out"; rm -f "$tmp/out";;
22615
*) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
21764
cat >>$CONFIG_STATUS <<\_ACEOF
21767
# CONFIG_HEADER section.
21770
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21771
# NAME is the cpp macro being defined and VALUE is the value it is being given.
21773
# ac_d sets the value in "#define NAME VALUE" lines.
21774
ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21775
ac_dB='[ ].*$,\1#\2'
22624
# Transform confdefs.h into a sed script `conftest.defines', that
22625
# substitutes the proper values into config.h.in to produce config.h.
22626
rm -f conftest.defines conftest.tail
22627
# First, append a space to every undef/define line, to ease matching.
22628
echo 's/$/ /' >conftest.defines
22629
# Then, protect against being on the right side of a sed subst, or in
22630
# an unquoted here document, in config.status. If some macros were
22631
# called several times there might be several #defines for the same
22632
# symbol, which is useless. But do not sort them, since the last
22633
# AC_DEFINE must be honored.
22634
ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22635
# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
22636
# NAME is the cpp macro being defined, VALUE is the value it is being given.
22637
# PARAMS is the parameter list in the macro definition--in most cases, it's
22638
# just an empty string.
22639
ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
22640
ac_dB='\\)[ (].*,\\1define\\2'
21778
# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21779
ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21780
ac_uB='$,\1#\2define\3'
21784
for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
21785
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21787
- | *:- | *:-:* ) # input from stdin
21789
ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21790
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21791
*:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
21792
ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
21793
* ) ac_file_in=$ac_file.in ;;
21796
test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
21797
echo "$as_me: creating $ac_file" >&6;}
21799
# First look for the input files in the build tree, otherwise in the
21801
ac_file_inputs=`IFS=:
21802
for f in $ac_file_in; do
21804
-) echo $tmp/stdin ;;
21806
# Absolute (can't be DOS-style, as IFS=:)
21807
test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21808
echo "$as_me: error: cannot find input file: $f" >&2;}
21809
{ (exit 1); exit 1; }; }
21810
# Do quote $f, to prevent DOS paths from being IFS'd.
21813
if test -f "$f"; then
21816
elif test -f "$srcdir/$f"; then
21821
{ { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
21822
echo "$as_me: error: cannot find input file: $f" >&2;}
21823
{ (exit 1); exit 1; }; }
21826
done` || { (exit 1); exit 1; }
21827
# Remove the trailing spaces.
21828
sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
21832
# Transform confdefs.h into two sed scripts, `conftest.defines' and
21833
# `conftest.undefs', that substitutes the proper values into
21834
# config.h.in to produce config.h. The first handles `#define'
21835
# templates, and the second `#undef' templates.
21836
# And first: Protect against being on the right side of a sed subst in
21837
# config.status. Protect against being in an unquoted here document
21838
# in config.status.
21839
rm -f conftest.defines conftest.undefs
21840
# Using a here document instead of a string reduces the quoting nightmare.
21841
# Putting comments in sed scripts is not portable.
21843
# `end' is used to avoid that the second main sed command (meant for
21844
# 0-ary CPP macros) applies to n-ary macro definitions.
21845
# See the Autoconf documentation for `clear'.
21846
cat >confdef2sed.sed <<\_ACEOF
21851
s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
21853
s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
21856
# If some macros were called several times there might be several times
21857
# the same #defines, which is useless. Nevertheless, we may not want to
21858
# sort them, since we want the *last* AC-DEFINE to be honored.
21859
uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
21860
sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
21861
rm -f confdef2sed.sed
21863
# This sed command replaces #undef with comments. This is necessary, for
22648
s/^[ ]*#[ ]*define[ ][ ]*//
22653
s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
22654
s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
22655
' >>conftest.defines
22657
# Remove the space that was appended to ease matching.
22658
# Then replace #undef with comments. This is necessary, for
21864
22659
# example, in the case of _POSIX_SOURCE, which is predefined and required
21865
22660
# on some systems where configure will not decide to define it.
21866
cat >>conftest.undefs <<\_ACEOF
21867
s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
22661
# (The regexp can be short, since the line contains either #define or #undef.)
22663
s,^[ #]*u.*,/* & */,' >>conftest.defines
22665
# Break up conftest.defines:
22666
ac_max_sed_lines=50
22668
# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
22669
# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
22670
# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
22672
ac_in='$ac_file_inputs'
22673
ac_out='"$tmp/out1"'
22674
ac_nxt='"$tmp/out2"'
22678
# Write a here document:
22679
cat >>$CONFIG_STATUS <<_ACEOF
22680
# First, check the format of the line:
22681
cat >"\$tmp/defines.sed" <<\\CEOF
22682
/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
22683
/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
21870
# Break up conftest.defines because some shells have a limit on the size
21871
# of here documents, and old seds have small limits too (100 cmds).
21872
echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
21873
echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
21874
echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
21875
echo ' :' >>$CONFIG_STATUS
21876
rm -f conftest.tail
21877
while grep . conftest.defines >/dev/null
21879
# Write a limited-size here document to $tmp/defines.sed.
21880
echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
21881
# Speed up: don't consider the non `#define' lines.
21882
echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
21883
# Work around the forget-to-reset-the-flag bug.
21884
echo 't clr' >>$CONFIG_STATUS
21885
echo ': clr' >>$CONFIG_STATUS
21886
sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
22687
sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
21888
sed -f $tmp/defines.sed $tmp/in >$tmp/out
21890
mv $tmp/out $tmp/in
21892
sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
22689
sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
22690
ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
22691
sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
22692
grep . conftest.tail >/dev/null || break
21893
22693
rm -f conftest.defines
21894
22694
mv conftest.tail conftest.defines
21896
rm -f conftest.defines
21897
echo ' fi # grep' >>$CONFIG_STATUS
21898
echo >>$CONFIG_STATUS
21900
# Break up conftest.undefs because some shells have a limit on the size
21901
# of here documents, and old seds have small limits too (100 cmds).
21902
echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
21903
rm -f conftest.tail
21904
while grep . conftest.undefs >/dev/null
21906
# Write a limited-size here document to $tmp/undefs.sed.
21907
echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
21908
# Speed up: don't consider the non `#undef'
21909
echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
21910
# Work around the forget-to-reset-the-flag bug.
21911
echo 't clr' >>$CONFIG_STATUS
21912
echo ': clr' >>$CONFIG_STATUS
21913
sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
21915
sed -f $tmp/undefs.sed $tmp/in >$tmp/out
21917
mv $tmp/out $tmp/in
21919
sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
21920
rm -f conftest.undefs
21921
mv conftest.tail conftest.undefs
21923
rm -f conftest.undefs
22696
rm -f conftest.defines conftest.tail
22698
echo "ac_result=$ac_in" >>$CONFIG_STATUS
21925
22699
cat >>$CONFIG_STATUS <<\_ACEOF
21926
# Let's still pretend it is `configure' which instantiates (i.e., don't
21927
# use $as_me), people would be surprised to read:
21928
# /* config.h. Generated by config.status. */
21929
if test x"$ac_file" = x-; then
21930
echo "/* Generated by configure. */" >$tmp/config.h
21932
echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
21934
cat $tmp/in >>$tmp/config.h
21936
22700
if test x"$ac_file" != x-; then
21937
if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
22701
echo "/* $configure_input */" >"$tmp/config.h"
22702
cat "$ac_result" >>"$tmp/config.h"
22703
if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
21938
22704
{ echo "$as_me:$LINENO: $ac_file is unchanged" >&5
21939
22705
echo "$as_me: $ac_file is unchanged" >&6;}
21941
ac_dir=`(dirname "$ac_file") 2>/dev/null ||
21942
$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21943
X"$ac_file" : 'X\(//\)[^/]' \| \
21944
X"$ac_file" : 'X\(//\)$' \| \
21945
X"$ac_file" : 'X\(/\)' \| \
21946
. : '\(.\)' 2>/dev/null ||
21948
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21949
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21950
/^X\(\/\/\)$/{ s//\1/; q; }
21951
/^X\(\/\).*/{ s//\1/; q; }
21953
{ if $as_mkdir_p; then
21958
while test ! -d "$as_dir"; do
21959
as_dirs="$as_dir $as_dirs"
21960
as_dir=`(dirname "$as_dir") 2>/dev/null ||
21961
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21962
X"$as_dir" : 'X\(//\)[^/]' \| \
21963
X"$as_dir" : 'X\(//\)$' \| \
21964
X"$as_dir" : 'X\(/\)' \| \
21965
. : '\(.\)' 2>/dev/null ||
21967
sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
21968
/^X\(\/\/\)[^/].*/{ s//\1/; q; }
21969
/^X\(\/\/\)$/{ s//\1/; q; }
21970
/^X\(\/\).*/{ s//\1/; q; }
21973
test ! -n "$as_dirs" || mkdir $as_dirs
21974
fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
21975
echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
21976
{ (exit 1); exit 1; }; }; }
21978
22707
rm -f $ac_file
21979
mv $tmp/config.h $ac_file
22708
mv "$tmp/config.h" $ac_file
21983
rm -f $tmp/config.h
22711
echo "/* $configure_input */"
21985
22715
# Compute $ac_file's index in $config_headers.
21986
22716
_am_stamp_count=1
21987
22717
for _am_header in $config_headers :; do