2137
2141
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2140
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2141
# We used to keeping the `.' as first argument, in order to
2142
# allow $(mkdir_p) to be used without argument. As in
2143
# $(mkdir_p) $(somedir)
2144
# where $(somedir) is conditionally defined. However this is wrong
2146
# 1. if the package is installed by a user who cannot write `.'
2147
# make install will fail,
2148
# 2. the above comment should most certainly read
2149
# $(mkdir_p) $(DESTDIR)$(somedir)
2150
# so it does not work when $(somedir) is undefined and
2151
# $(DESTDIR) is not.
2152
# To support the latter case, we have to write
2153
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2154
# so the `.' trick is pointless.
2155
mkdir_p='mkdir -p --'
2144
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2145
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2146
if test -z "$MKDIR_P"; then
2147
if test "${ac_cv_path_mkdir+set}" = set; then
2148
echo $ECHO_N "(cached) $ECHO_C" >&6
2157
# On NextStep and OpenStep, the `mkdir' command does not
2158
# recognize any option. It will interpret all options as
2159
# directories to create, and then abort because `.' already
2161
for d in ./-p ./--version;
2163
test -d $d && rmdir $d
2165
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2166
if test -f "$ac_aux_dir/mkinstalldirs"; then
2167
mkdir_p='$(mkinstalldirs)'
2150
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2151
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2154
test -z "$as_dir" && as_dir=.
2155
for ac_prog in mkdir gmkdir; do
2156
for ac_exec_ext in '' $ac_executable_extensions; do
2157
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2158
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2159
'mkdir (GNU coreutils) '* | \
2160
'mkdir (coreutils) '* | \
2161
'mkdir (fileutils) '4.1*)
2162
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2172
if test "${ac_cv_path_mkdir+set}" = set; then
2173
MKDIR_P="$ac_cv_path_mkdir -p"
2169
mkdir_p='$(install_sh) -d'
2175
# As a last resort, use the slow shell script. Don't cache a
2176
# value for MKDIR_P within a source directory, because that will
2177
# break other packages using the cache if that directory is
2178
# removed, or if the value is a relative name.
2179
test -d ./--version && rmdir ./--version
2180
MKDIR_P="$ac_install_sh -d"
2183
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2184
echo "${ECHO_T}$MKDIR_P" >&6; }
2188
[\\/$]* | ?:[\\/]*) ;;
2189
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2173
2192
for ac_prog in gawk mawk nawk awk
2252
2271
rmdir .tst 2>/dev/null
2254
# test to see if srcdir already configured
2255
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2256
test -f $srcdir/config.status; then
2257
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2273
if test "`cd $srcdir && pwd`" != "`pwd`"; then
2274
# Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2275
# is not polluted with repeated "-I."
2276
am__isrc=' -I$(srcdir)'
2277
# test to see if srcdir already configured
2278
if test -f $srcdir/config.status; then
2279
{ { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2258
2280
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2259
2281
{ (exit 1); exit 1; }; }
2262
2285
# test whether we have cygpath
2444
#Offer the ability to omit some API from the library,
2445
#to reduce the code size:
2447
# Check whether --enable-api-exceptions was given.
2448
if test "${enable_api_exceptions+set}" = set; then
2449
enableval=$enable_api_exceptions; libxmlcpp_enable_api_exceptions="$enableval"
2451
libxmlcpp_enable_api_exceptions='yes'
2455
if test "x$libxmlcpp_enable_api_exceptions" = "xyes"; then
2458
cat >>confdefs.h <<\_ACEOF
2459
#define LIBXMLCPP_EXCEPTIONS_ENABLED 1
2421
2466
ac_config_headers="$ac_config_headers config.h libxml++/libxml++config.h"
7982
8022
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7983
8023
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7984
8024
-e 's:$: $lt_compiler_flag:'`
7985
(eval echo "\"\$as_me:7985: $lt_compile\"" >&5)
8025
(eval echo "\"\$as_me:8025: $lt_compile\"" >&5)
7986
8026
(eval "$lt_compile" 2>conftest.err)
7988
8028
cat conftest.err >&5
7989
echo "$as_me:7989: \$? = $ac_status" >&5
8029
echo "$as_me:8029: \$? = $ac_status" >&5
7990
8030
if (exit $ac_status) && test -s "$ac_outfile"; then
7991
8031
# The compiler can only warn and ignore the option if not recognized
7992
8032
# So say no if there are warnings other than the usual output.
8250
8290
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8251
8291
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8252
8292
-e 's:$: $lt_compiler_flag:'`
8253
(eval echo "\"\$as_me:8253: $lt_compile\"" >&5)
8293
(eval echo "\"\$as_me:8293: $lt_compile\"" >&5)
8254
8294
(eval "$lt_compile" 2>conftest.err)
8256
8296
cat conftest.err >&5
8257
echo "$as_me:8257: \$? = $ac_status" >&5
8297
echo "$as_me:8297: \$? = $ac_status" >&5
8258
8298
if (exit $ac_status) && test -s "$ac_outfile"; then
8259
8299
# The compiler can only warn and ignore the option if not recognized
8260
8300
# So say no if there are warnings other than the usual output.
8354
8394
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8355
8395
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8356
8396
-e 's:$: $lt_compiler_flag:'`
8357
(eval echo "\"\$as_me:8357: $lt_compile\"" >&5)
8397
(eval echo "\"\$as_me:8397: $lt_compile\"" >&5)
8358
8398
(eval "$lt_compile" 2>out/conftest.err)
8360
8400
cat out/conftest.err >&5
8361
echo "$as_me:8361: \$? = $ac_status" >&5
8401
echo "$as_me:8401: \$? = $ac_status" >&5
8362
8402
if (exit $ac_status) && test -s out/conftest2.$ac_objext
8364
8404
# The compiler can only warn and ignore the option if not recognized
13295
13335
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13296
13336
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13297
13337
-e 's:$: $lt_compiler_flag:'`
13298
(eval echo "\"\$as_me:13298: $lt_compile\"" >&5)
13338
(eval echo "\"\$as_me:13338: $lt_compile\"" >&5)
13299
13339
(eval "$lt_compile" 2>conftest.err)
13301
13341
cat conftest.err >&5
13302
echo "$as_me:13302: \$? = $ac_status" >&5
13342
echo "$as_me:13342: \$? = $ac_status" >&5
13303
13343
if (exit $ac_status) && test -s "$ac_outfile"; then
13304
13344
# The compiler can only warn and ignore the option if not recognized
13305
13345
# So say no if there are warnings other than the usual output.
13399
13439
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13400
13440
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13401
13441
-e 's:$: $lt_compiler_flag:'`
13402
(eval echo "\"\$as_me:13402: $lt_compile\"" >&5)
13442
(eval echo "\"\$as_me:13442: $lt_compile\"" >&5)
13403
13443
(eval "$lt_compile" 2>out/conftest.err)
13405
13445
cat out/conftest.err >&5
13406
echo "$as_me:13406: \$? = $ac_status" >&5
13446
echo "$as_me:13446: \$? = $ac_status" >&5
13407
13447
if (exit $ac_status) && test -s out/conftest2.$ac_objext
13409
13449
# The compiler can only warn and ignore the option if not recognized
14990
15030
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14991
15031
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14992
15032
-e 's:$: $lt_compiler_flag:'`
14993
(eval echo "\"\$as_me:14993: $lt_compile\"" >&5)
15033
(eval echo "\"\$as_me:15033: $lt_compile\"" >&5)
14994
15034
(eval "$lt_compile" 2>conftest.err)
14996
15036
cat conftest.err >&5
14997
echo "$as_me:14997: \$? = $ac_status" >&5
15037
echo "$as_me:15037: \$? = $ac_status" >&5
14998
15038
if (exit $ac_status) && test -s "$ac_outfile"; then
14999
15039
# The compiler can only warn and ignore the option if not recognized
15000
15040
# So say no if there are warnings other than the usual output.
15094
15134
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15095
15135
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15096
15136
-e 's:$: $lt_compiler_flag:'`
15097
(eval echo "\"\$as_me:15097: $lt_compile\"" >&5)
15137
(eval echo "\"\$as_me:15137: $lt_compile\"" >&5)
15098
15138
(eval "$lt_compile" 2>out/conftest.err)
15100
15140
cat out/conftest.err >&5
15101
echo "$as_me:15101: \$? = $ac_status" >&5
15141
echo "$as_me:15141: \$? = $ac_status" >&5
15102
15142
if (exit $ac_status) && test -s out/conftest2.$ac_objext
15104
15144
# The compiler can only warn and ignore the option if not recognized
17345
17385
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17346
17386
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17347
17387
-e 's:$: $lt_compiler_flag:'`
17348
(eval echo "\"\$as_me:17348: $lt_compile\"" >&5)
17388
(eval echo "\"\$as_me:17388: $lt_compile\"" >&5)
17349
17389
(eval "$lt_compile" 2>conftest.err)
17351
17391
cat conftest.err >&5
17352
echo "$as_me:17352: \$? = $ac_status" >&5
17392
echo "$as_me:17392: \$? = $ac_status" >&5
17353
17393
if (exit $ac_status) && test -s "$ac_outfile"; then
17354
17394
# The compiler can only warn and ignore the option if not recognized
17355
17395
# So say no if there are warnings other than the usual output.
17613
17653
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17614
17654
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17615
17655
-e 's:$: $lt_compiler_flag:'`
17616
(eval echo "\"\$as_me:17616: $lt_compile\"" >&5)
17656
(eval echo "\"\$as_me:17656: $lt_compile\"" >&5)
17617
17657
(eval "$lt_compile" 2>conftest.err)
17619
17659
cat conftest.err >&5
17620
echo "$as_me:17620: \$? = $ac_status" >&5
17660
echo "$as_me:17660: \$? = $ac_status" >&5
17621
17661
if (exit $ac_status) && test -s "$ac_outfile"; then
17622
17662
# The compiler can only warn and ignore the option if not recognized
17623
17663
# So say no if there are warnings other than the usual output.
17717
17757
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17718
17758
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17719
17759
-e 's:$: $lt_compiler_flag:'`
17720
(eval echo "\"\$as_me:17720: $lt_compile\"" >&5)
17760
(eval echo "\"\$as_me:17760: $lt_compile\"" >&5)
17721
17761
(eval "$lt_compile" 2>out/conftest.err)
17723
17763
cat out/conftest.err >&5
17724
echo "$as_me:17724: \$? = $ac_status" >&5
17764
echo "$as_me:17764: \$? = $ac_status" >&5
17725
17765
if (exit $ac_status) && test -s out/conftest2.$ac_objext
17727
17767
# The compiler can only warn and ignore the option if not recognized
21628
21663
"libxml++/nodes/Makefile") CONFIG_FILES="$CONFIG_FILES libxml++/nodes/Makefile" ;;
21629
21664
"libxml++/io/Makefile") CONFIG_FILES="$CONFIG_FILES libxml++/io/Makefile" ;;
21630
21665
"libxml++/validators/Makefile") CONFIG_FILES="$CONFIG_FILES libxml++/validators/Makefile" ;;
21666
"scripts/Makefile") CONFIG_FILES="$CONFIG_FILES scripts/Makefile" ;;
21631
21667
"docs/Makefile") CONFIG_FILES="$CONFIG_FILES docs/Makefile" ;;
21632
21668
"docs/reference/Makefile") CONFIG_FILES="$CONFIG_FILES docs/reference/Makefile" ;;
21633
21669
"docs/reference/Doxyfile") CONFIG_FILES="$CONFIG_FILES docs/reference/Doxyfile" ;;
22336
22379
# some people rename them; so instead we look at the file content.
22337
22380
# Grep'ing the first line is not enough: some people post-process
22338
22381
# each Makefile.in and add a new line on top of each file to say so.
22339
# So let's grep whole file.
22340
if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
22382
# Grep'ing the whole file is not good either: AIX grep has a line
22383
# limit of 2048, but all sed's we know have understand at least 4000.
22384
if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
22341
22385
dirpart=`$as_dirname -- "$mf" ||
22342
22386
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22343
22387
X"$mf" : 'X\(//\)[^/]' \| \