~peter-pearse/ubuntu/natty/libxml2/prop001

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Terry
  • Date: 2009-06-12 11:26:15 UTC
  • mfrom: (10.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090612112615-wm0m40px5ffqmq81
Tags: 2.7.3.dfsg-1ubuntu1
* Merge from debian unstable (LP: #386390), remaining changes:
  - Create -udeb and python -dbg packages
  - Link using -Bsymbolic-functions
  - Add missing zlib1g-dev to -dev
  - Fix site-/dist-packages
  - error.c: Grab fix from SVN to avoid pidgin/jabber crash

Show diffs side-by-side

added added

removed removed

Lines of Context:
894
894
MAINTAINER_MODE_FALSE
895
895
MAINT
896
896
HTML_DIR
 
897
REBUILD_DOCS_TRUE
 
898
REBUILD_DOCS_FALSE
897
899
Z_CFLAGS
898
900
Z_LIBS
899
901
WITH_ZLIB
1592
1594
  --disable-libtool-lock  avoid locking (might break parallel builds)
1593
1595
  --enable-maintainer-mode  enable make rules and dependencies not useful
1594
1596
                          (and sometimes confusing) to the casual installer
 
1597
  --enable-rebuild-docs[=yes/no]  rebuild some generated docs [default=yes]
1595
1598
  --enable-ipv6[=yes/no]  enables compilation of IPv6 code [default=yes]
1596
1599
 
1597
1600
Optional Packages:
1640
1643
  --with-xptr             add the XPointer support (on)
1641
1644
  --with-modules          add the dynamic modules support (on)
1642
1645
  --with-zlib[=DIR]       use libz in DIR
 
1646
  --with-coverage         build for code coverage with GCC (off)
1643
1647
 
1644
1648
Some influential environment variables:
1645
1649
  CC          C compiler command
2196
2200
 
2197
2201
 
2198
2202
LIBXML_MAJOR_VERSION=2
2199
 
LIBXML_MINOR_VERSION=6
2200
 
LIBXML_MICRO_VERSION=32
 
2203
LIBXML_MINOR_VERSION=7
 
2204
LIBXML_MICRO_VERSION=3
2201
2205
LIBXML_MICRO_VERSION_SUFFIX=
2202
2206
LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
2203
2207
LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
5514
5518
  ;;
5515
5519
*-*-irix6*)
5516
5520
  # Find out which ABI we are using.
5517
 
  echo '#line 5517 "configure"' > conftest.$ac_ext
 
5521
  echo '#line 5521 "configure"' > conftest.$ac_ext
5518
5522
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5519
5523
  (eval $ac_compile) 2>&5
5520
5524
  ac_status=$?
8382
8386
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8383
8387
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8384
8388
   -e 's:$: $lt_compiler_flag:'`
8385
 
   (eval echo "\"\$as_me:8385: $lt_compile\"" >&5)
 
8389
   (eval echo "\"\$as_me:8389: $lt_compile\"" >&5)
8386
8390
   (eval "$lt_compile" 2>conftest.err)
8387
8391
   ac_status=$?
8388
8392
   cat conftest.err >&5
8389
 
   echo "$as_me:8389: \$? = $ac_status" >&5
 
8393
   echo "$as_me:8393: \$? = $ac_status" >&5
8390
8394
   if (exit $ac_status) && test -s "$ac_outfile"; then
8391
8395
     # The compiler can only warn and ignore the option if not recognized
8392
8396
     # So say no if there are warnings other than the usual output.
8672
8676
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8673
8677
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8674
8678
   -e 's:$: $lt_compiler_flag:'`
8675
 
   (eval echo "\"\$as_me:8675: $lt_compile\"" >&5)
 
8679
   (eval echo "\"\$as_me:8679: $lt_compile\"" >&5)
8676
8680
   (eval "$lt_compile" 2>conftest.err)
8677
8681
   ac_status=$?
8678
8682
   cat conftest.err >&5
8679
 
   echo "$as_me:8679: \$? = $ac_status" >&5
 
8683
   echo "$as_me:8683: \$? = $ac_status" >&5
8680
8684
   if (exit $ac_status) && test -s "$ac_outfile"; then
8681
8685
     # The compiler can only warn and ignore the option if not recognized
8682
8686
     # So say no if there are warnings other than the usual output.
8776
8780
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8777
8781
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8778
8782
   -e 's:$: $lt_compiler_flag:'`
8779
 
   (eval echo "\"\$as_me:8779: $lt_compile\"" >&5)
 
8783
   (eval echo "\"\$as_me:8783: $lt_compile\"" >&5)
8780
8784
   (eval "$lt_compile" 2>out/conftest.err)
8781
8785
   ac_status=$?
8782
8786
   cat out/conftest.err >&5
8783
 
   echo "$as_me:8783: \$? = $ac_status" >&5
 
8787
   echo "$as_me:8787: \$? = $ac_status" >&5
8784
8788
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
8785
8789
   then
8786
8790
     # The compiler can only warn and ignore the option if not recognized
11153
11157
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11154
11158
  lt_status=$lt_dlunknown
11155
11159
  cat > conftest.$ac_ext <<EOF
11156
 
#line 11156 "configure"
 
11160
#line 11160 "configure"
11157
11161
#include "confdefs.h"
11158
11162
 
11159
11163
#if HAVE_DLFCN_H
11253
11257
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11254
11258
  lt_status=$lt_dlunknown
11255
11259
  cat > conftest.$ac_ext <<EOF
11256
 
#line 11256 "configure"
 
11260
#line 11260 "configure"
11257
11261
#include "confdefs.h"
11258
11262
 
11259
11263
#if HAVE_DLFCN_H
13654
13658
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13655
13659
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13656
13660
   -e 's:$: $lt_compiler_flag:'`
13657
 
   (eval echo "\"\$as_me:13657: $lt_compile\"" >&5)
 
13661
   (eval echo "\"\$as_me:13661: $lt_compile\"" >&5)
13658
13662
   (eval "$lt_compile" 2>conftest.err)
13659
13663
   ac_status=$?
13660
13664
   cat conftest.err >&5
13661
 
   echo "$as_me:13661: \$? = $ac_status" >&5
 
13665
   echo "$as_me:13665: \$? = $ac_status" >&5
13662
13666
   if (exit $ac_status) && test -s "$ac_outfile"; then
13663
13667
     # The compiler can only warn and ignore the option if not recognized
13664
13668
     # So say no if there are warnings other than the usual output.
13758
13762
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13759
13763
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13760
13764
   -e 's:$: $lt_compiler_flag:'`
13761
 
   (eval echo "\"\$as_me:13761: $lt_compile\"" >&5)
 
13765
   (eval echo "\"\$as_me:13765: $lt_compile\"" >&5)
13762
13766
   (eval "$lt_compile" 2>out/conftest.err)
13763
13767
   ac_status=$?
13764
13768
   cat out/conftest.err >&5
13765
 
   echo "$as_me:13765: \$? = $ac_status" >&5
 
13769
   echo "$as_me:13769: \$? = $ac_status" >&5
13766
13770
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13767
13771
   then
13768
13772
     # The compiler can only warn and ignore the option if not recognized
15356
15360
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15357
15361
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15358
15362
   -e 's:$: $lt_compiler_flag:'`
15359
 
   (eval echo "\"\$as_me:15359: $lt_compile\"" >&5)
 
15363
   (eval echo "\"\$as_me:15363: $lt_compile\"" >&5)
15360
15364
   (eval "$lt_compile" 2>conftest.err)
15361
15365
   ac_status=$?
15362
15366
   cat conftest.err >&5
15363
 
   echo "$as_me:15363: \$? = $ac_status" >&5
 
15367
   echo "$as_me:15367: \$? = $ac_status" >&5
15364
15368
   if (exit $ac_status) && test -s "$ac_outfile"; then
15365
15369
     # The compiler can only warn and ignore the option if not recognized
15366
15370
     # So say no if there are warnings other than the usual output.
15460
15464
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15461
15465
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15462
15466
   -e 's:$: $lt_compiler_flag:'`
15463
 
   (eval echo "\"\$as_me:15463: $lt_compile\"" >&5)
 
15467
   (eval echo "\"\$as_me:15467: $lt_compile\"" >&5)
15464
15468
   (eval "$lt_compile" 2>out/conftest.err)
15465
15469
   ac_status=$?
15466
15470
   cat out/conftest.err >&5
15467
 
   echo "$as_me:15467: \$? = $ac_status" >&5
 
15471
   echo "$as_me:15471: \$? = $ac_status" >&5
15468
15472
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15469
15473
   then
15470
15474
     # The compiler can only warn and ignore the option if not recognized
17680
17684
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17681
17685
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17682
17686
   -e 's:$: $lt_compiler_flag:'`
17683
 
   (eval echo "\"\$as_me:17683: $lt_compile\"" >&5)
 
17687
   (eval echo "\"\$as_me:17687: $lt_compile\"" >&5)
17684
17688
   (eval "$lt_compile" 2>conftest.err)
17685
17689
   ac_status=$?
17686
17690
   cat conftest.err >&5
17687
 
   echo "$as_me:17687: \$? = $ac_status" >&5
 
17691
   echo "$as_me:17691: \$? = $ac_status" >&5
17688
17692
   if (exit $ac_status) && test -s "$ac_outfile"; then
17689
17693
     # The compiler can only warn and ignore the option if not recognized
17690
17694
     # So say no if there are warnings other than the usual output.
17970
17974
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17971
17975
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17972
17976
   -e 's:$: $lt_compiler_flag:'`
17973
 
   (eval echo "\"\$as_me:17973: $lt_compile\"" >&5)
 
17977
   (eval echo "\"\$as_me:17977: $lt_compile\"" >&5)
17974
17978
   (eval "$lt_compile" 2>conftest.err)
17975
17979
   ac_status=$?
17976
17980
   cat conftest.err >&5
17977
 
   echo "$as_me:17977: \$? = $ac_status" >&5
 
17981
   echo "$as_me:17981: \$? = $ac_status" >&5
17978
17982
   if (exit $ac_status) && test -s "$ac_outfile"; then
17979
17983
     # The compiler can only warn and ignore the option if not recognized
17980
17984
     # So say no if there are warnings other than the usual output.
18074
18078
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
18075
18079
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
18076
18080
   -e 's:$: $lt_compiler_flag:'`
18077
 
   (eval echo "\"\$as_me:18077: $lt_compile\"" >&5)
 
18081
   (eval echo "\"\$as_me:18081: $lt_compile\"" >&5)
18078
18082
   (eval "$lt_compile" 2>out/conftest.err)
18079
18083
   ac_status=$?
18080
18084
   cat out/conftest.err >&5
18081
 
   echo "$as_me:18081: \$? = $ac_status" >&5
 
18085
   echo "$as_me:18085: \$? = $ac_status" >&5
18082
18086
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
18083
18087
   then
18084
18088
     # The compiler can only warn and ignore the option if not recognized
21033
21037
fi
21034
21038
 
21035
21039
 
 
21040
# Check whether --with-coverage was given.
 
21041
if test "${with_coverage+set}" = set; then
 
21042
  withval=$with_coverage;
 
21043
fi
 
21044
 
 
21045
 
 
21046
# Check whether --enable-rebuild-docs was given.
 
21047
if test "${enable_rebuild_docs+set}" = set; then
 
21048
  enableval=$enable_rebuild_docs;
 
21049
fi
 
21050
 
 
21051
 if test "$enable_rebuild_docs" = "no"; then
 
21052
  REBUILD_DOCS_TRUE=
 
21053
  REBUILD_DOCS_FALSE='#'
 
21054
else
 
21055
  REBUILD_DOCS_TRUE='#'
 
21056
  REBUILD_DOCS_FALSE=
 
21057
fi
 
21058
 
 
21059
 
21036
21060
if test "$with_schemas" = "yes"
21037
21061
then
21038
21062
    with_pattern=yes
23108
23132
done
23109
23133
 
23110
23134
 
 
23135
for ac_header in stdint.h
 
23136
do
 
23137
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
23138
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23139
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23140
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23141
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23142
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23143
fi
 
23144
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23145
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23146
echo "${ECHO_T}$ac_res" >&6; }
 
23147
else
 
23148
  # Is the header compilable?
 
23149
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23150
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
23151
cat >conftest.$ac_ext <<_ACEOF
 
23152
/* confdefs.h.  */
 
23153
_ACEOF
 
23154
cat confdefs.h >>conftest.$ac_ext
 
23155
cat >>conftest.$ac_ext <<_ACEOF
 
23156
/* end confdefs.h.  */
 
23157
$ac_includes_default
 
23158
#include <$ac_header>
 
23159
_ACEOF
 
23160
rm -f conftest.$ac_objext
 
23161
if { (ac_try="$ac_compile"
 
23162
case "(($ac_try" in
 
23163
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23164
  *) ac_try_echo=$ac_try;;
 
23165
esac
 
23166
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23167
  (eval "$ac_compile") 2>conftest.er1
 
23168
  ac_status=$?
 
23169
  grep -v '^ *+' conftest.er1 >conftest.err
 
23170
  rm -f conftest.er1
 
23171
  cat conftest.err >&5
 
23172
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23173
  (exit $ac_status); } && {
 
23174
         test -z "$ac_c_werror_flag" ||
 
23175
         test ! -s conftest.err
 
23176
       } && test -s conftest.$ac_objext; then
 
23177
  ac_header_compiler=yes
 
23178
else
 
23179
  echo "$as_me: failed program was:" >&5
 
23180
sed 's/^/| /' conftest.$ac_ext >&5
 
23181
 
 
23182
        ac_header_compiler=no
 
23183
fi
 
23184
 
 
23185
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23186
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23187
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
23188
 
 
23189
# Is the header present?
 
23190
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23191
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
23192
cat >conftest.$ac_ext <<_ACEOF
 
23193
/* confdefs.h.  */
 
23194
_ACEOF
 
23195
cat confdefs.h >>conftest.$ac_ext
 
23196
cat >>conftest.$ac_ext <<_ACEOF
 
23197
/* end confdefs.h.  */
 
23198
#include <$ac_header>
 
23199
_ACEOF
 
23200
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23201
case "(($ac_try" in
 
23202
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23203
  *) ac_try_echo=$ac_try;;
 
23204
esac
 
23205
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23206
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
23207
  ac_status=$?
 
23208
  grep -v '^ *+' conftest.er1 >conftest.err
 
23209
  rm -f conftest.er1
 
23210
  cat conftest.err >&5
 
23211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23212
  (exit $ac_status); } >/dev/null && {
 
23213
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23214
         test ! -s conftest.err
 
23215
       }; then
 
23216
  ac_header_preproc=yes
 
23217
else
 
23218
  echo "$as_me: failed program was:" >&5
 
23219
sed 's/^/| /' conftest.$ac_ext >&5
 
23220
 
 
23221
  ac_header_preproc=no
 
23222
fi
 
23223
 
 
23224
rm -f conftest.err conftest.$ac_ext
 
23225
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23226
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
23227
 
 
23228
# So?  What about this header?
 
23229
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
23230
  yes:no: )
 
23231
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
23232
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
23233
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
23234
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
23235
    ac_header_preproc=yes
 
23236
    ;;
 
23237
  no:yes:* )
 
23238
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
23239
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
23240
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
23241
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
23242
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
23243
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
23244
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
23245
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
23246
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
23247
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
23248
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
23249
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
23250
 
 
23251
    ;;
 
23252
esac
 
23253
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23254
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23255
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23256
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23257
else
 
23258
  eval "$as_ac_Header=\$ac_header_preproc"
 
23259
fi
 
23260
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23261
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23262
echo "${ECHO_T}$ac_res" >&6; }
 
23263
 
 
23264
fi
 
23265
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
23266
  cat >>confdefs.h <<_ACEOF
 
23267
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
23268
_ACEOF
 
23269
 
 
23270
fi
 
23271
 
 
23272
done
 
23273
 
 
23274
 
 
23275
for ac_header in inttypes.h.h
 
23276
do
 
23277
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
 
23278
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23279
  { echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23280
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23281
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23282
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23283
fi
 
23284
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23285
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23286
echo "${ECHO_T}$ac_res" >&6; }
 
23287
else
 
23288
  # Is the header compilable?
 
23289
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
 
23290
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
 
23291
cat >conftest.$ac_ext <<_ACEOF
 
23292
/* confdefs.h.  */
 
23293
_ACEOF
 
23294
cat confdefs.h >>conftest.$ac_ext
 
23295
cat >>conftest.$ac_ext <<_ACEOF
 
23296
/* end confdefs.h.  */
 
23297
$ac_includes_default
 
23298
#include <$ac_header>
 
23299
_ACEOF
 
23300
rm -f conftest.$ac_objext
 
23301
if { (ac_try="$ac_compile"
 
23302
case "(($ac_try" in
 
23303
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23304
  *) ac_try_echo=$ac_try;;
 
23305
esac
 
23306
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23307
  (eval "$ac_compile") 2>conftest.er1
 
23308
  ac_status=$?
 
23309
  grep -v '^ *+' conftest.er1 >conftest.err
 
23310
  rm -f conftest.er1
 
23311
  cat conftest.err >&5
 
23312
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23313
  (exit $ac_status); } && {
 
23314
         test -z "$ac_c_werror_flag" ||
 
23315
         test ! -s conftest.err
 
23316
       } && test -s conftest.$ac_objext; then
 
23317
  ac_header_compiler=yes
 
23318
else
 
23319
  echo "$as_me: failed program was:" >&5
 
23320
sed 's/^/| /' conftest.$ac_ext >&5
 
23321
 
 
23322
        ac_header_compiler=no
 
23323
fi
 
23324
 
 
23325
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23326
{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
 
23327
echo "${ECHO_T}$ac_header_compiler" >&6; }
 
23328
 
 
23329
# Is the header present?
 
23330
{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
 
23331
echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
 
23332
cat >conftest.$ac_ext <<_ACEOF
 
23333
/* confdefs.h.  */
 
23334
_ACEOF
 
23335
cat confdefs.h >>conftest.$ac_ext
 
23336
cat >>conftest.$ac_ext <<_ACEOF
 
23337
/* end confdefs.h.  */
 
23338
#include <$ac_header>
 
23339
_ACEOF
 
23340
if { (ac_try="$ac_cpp conftest.$ac_ext"
 
23341
case "(($ac_try" in
 
23342
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
23343
  *) ac_try_echo=$ac_try;;
 
23344
esac
 
23345
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
23346
  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
 
23347
  ac_status=$?
 
23348
  grep -v '^ *+' conftest.er1 >conftest.err
 
23349
  rm -f conftest.er1
 
23350
  cat conftest.err >&5
 
23351
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
23352
  (exit $ac_status); } >/dev/null && {
 
23353
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
23354
         test ! -s conftest.err
 
23355
       }; then
 
23356
  ac_header_preproc=yes
 
23357
else
 
23358
  echo "$as_me: failed program was:" >&5
 
23359
sed 's/^/| /' conftest.$ac_ext >&5
 
23360
 
 
23361
  ac_header_preproc=no
 
23362
fi
 
23363
 
 
23364
rm -f conftest.err conftest.$ac_ext
 
23365
{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
 
23366
echo "${ECHO_T}$ac_header_preproc" >&6; }
 
23367
 
 
23368
# So?  What about this header?
 
23369
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
 
23370
  yes:no: )
 
23371
    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
 
23372
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
 
23373
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
 
23374
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
 
23375
    ac_header_preproc=yes
 
23376
    ;;
 
23377
  no:yes:* )
 
23378
    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
 
23379
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
 
23380
    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
 
23381
echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
 
23382
    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
 
23383
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
 
23384
    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
 
23385
echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
 
23386
    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
 
23387
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
 
23388
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
 
23389
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
 
23390
 
 
23391
    ;;
 
23392
esac
 
23393
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
 
23394
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
 
23395
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
 
23396
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
23397
else
 
23398
  eval "$as_ac_Header=\$ac_header_preproc"
 
23399
fi
 
23400
ac_res=`eval echo '${'$as_ac_Header'}'`
 
23401
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
23402
echo "${ECHO_T}$ac_res" >&6; }
 
23403
 
 
23404
fi
 
23405
if test `eval echo '${'$as_ac_Header'}'` = yes; then
 
23406
  cat >>confdefs.h <<_ACEOF
 
23407
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
 
23408
_ACEOF
 
23409
 
 
23410
fi
 
23411
 
 
23412
done
 
23413
 
 
23414
 
23111
23415
for ac_header in time.h
23112
23416
do
23113
23417
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26827
27131
{ echo "$as_me:$LINENO: checking for type of socket length (socklen_t)" >&5
26828
27132
echo $ECHO_N "checking for type of socket length (socklen_t)... $ECHO_C" >&6; }
26829
27133
cat > conftest.$ac_ext <<EOF
26830
 
#line 26830 "configure"
 
27134
#line 27134 "configure"
26831
27135
#include "confdefs.h"
26832
27136
 
26833
27137
#include <stddef.h>
26838
27142
(void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
26839
27143
; return 0; }
26840
27144
EOF
26841
 
if { (eval echo configure:26841: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
 
27145
if { (eval echo configure:27145: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
26842
27146
  rm -rf conftest*
26843
27147
 
26844
27148
  { echo "$as_me:$LINENO: result: socklen_t *" >&5
26850
27154
  rm -rf conftest*
26851
27155
 
26852
27156
  cat > conftest.$ac_ext <<EOF
26853
 
#line 26853 "configure"
 
27157
#line 27157 "configure"
26854
27158
#include "confdefs.h"
26855
27159
 
26856
27160
#include <stddef.h>
26861
27165
(void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
26862
27166
; return 0; }
26863
27167
EOF
26864
 
if { (eval echo configure:26864: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
 
27168
if { (eval echo configure:27168: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
26865
27169
  rm -rf conftest*
26866
27170
 
26867
27171
    { echo "$as_me:$LINENO: result: size_t *" >&5
26873
27177
  rm -rf conftest*
26874
27178
 
26875
27179
    cat > conftest.$ac_ext <<EOF
26876
 
#line 26876 "configure"
 
27180
#line 27180 "configure"
26877
27181
#include "confdefs.h"
26878
27182
 
26879
27183
#include <stddef.h>
26884
27188
(void)getsockopt (1, 1, 1, NULL, (int *)NULL)
26885
27189
; return 0; }
26886
27190
EOF
26887
 
if { (eval echo configure:26887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
 
27191
if { (eval echo configure:27191: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
26888
27192
  rm -rf conftest*
26889
27193
 
26890
27194
      { echo "$as_me:$LINENO: result: int *" >&5
29711
30015
 
29712
30016
 
29713
30017
 
 
30018
if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
 
30019
then
 
30020
    echo Enabling code coverage for GCC
 
30021
    CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
 
30022
    LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
 
30023
else
 
30024
    echo Disabling code coverage for GCC
 
30025
fi
 
30026
 
 
30027
 
29714
30028
 
29715
30029
 
29716
30030
 
29865
30179
Usually this means the macro was only invoked conditionally." >&2;}
29866
30180
   { (exit 1); exit 1; }; }
29867
30181
fi
 
30182
if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
 
30183
  { { echo "$as_me:$LINENO: error: conditional \"REBUILD_DOCS\" was never defined.
 
30184
Usually this means the macro was only invoked conditionally." >&5
 
30185
echo "$as_me: error: conditional \"REBUILD_DOCS\" was never defined.
 
30186
Usually this means the macro was only invoked conditionally." >&2;}
 
30187
   { (exit 1); exit 1; }; }
 
30188
fi
29868
30189
if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
29869
30190
  { { echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
29870
30191
Usually this means the macro was only invoked conditionally." >&5
30594
30915
MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
30595
30916
MAINT!$MAINT$ac_delim
30596
30917
HTML_DIR!$HTML_DIR$ac_delim
 
30918
REBUILD_DOCS_TRUE!$REBUILD_DOCS_TRUE$ac_delim
 
30919
REBUILD_DOCS_FALSE!$REBUILD_DOCS_FALSE$ac_delim
30597
30920
Z_CFLAGS!$Z_CFLAGS$ac_delim
30598
30921
Z_LIBS!$Z_LIBS$ac_delim
30599
30922
WITH_ZLIB!$WITH_ZLIB$ac_delim
30659
30982
WITH_ICONV!$WITH_ICONV$ac_delim
30660
30983
WITH_ISO8859X!$WITH_ISO8859X$ac_delim
30661
30984
WITH_SCHEMATRON!$WITH_SCHEMATRON$ac_delim
 
30985
_ACEOF
 
30986
 
 
30987
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
30988
    break
 
30989
  elif $ac_last_try; then
 
30990
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
30991
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
30992
   { (exit 1); exit 1; }; }
 
30993
  else
 
30994
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
30995
  fi
 
30996
done
 
30997
 
 
30998
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
30999
if test -n "$ac_eof"; then
 
31000
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
31001
  ac_eof=`expr $ac_eof + 1`
 
31002
fi
 
31003
 
 
31004
cat >>$CONFIG_STATUS <<_ACEOF
 
31005
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
 
31006
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
31007
_ACEOF
 
31008
sed '
 
31009
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
31010
s/^/s,@/; s/!/@,|#_!!_#|/
 
31011
:n
 
31012
t n
 
31013
s/'"$ac_delim"'$/,g/; t
 
31014
s/$/\\/; p
 
31015
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
31016
' >>$CONFIG_STATUS <conf$$subs.sed
 
31017
rm -f conf$$subs.sed
 
31018
cat >>$CONFIG_STATUS <<_ACEOF
 
31019
CEOF$ac_eof
 
31020
_ACEOF
 
31021
 
 
31022
 
 
31023
ac_delim='%!_!# '
 
31024
for ac_last_try in false false false false false :; do
 
31025
  cat >conf$$subs.sed <<_ACEOF
30662
31026
TEST_SCHEMATRON!$TEST_SCHEMATRON$ac_delim
30663
31027
WITH_SCHEMAS!$WITH_SCHEMAS$ac_delim
30664
 
_ACEOF
30665
 
 
30666
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
30667
 
    break
30668
 
  elif $ac_last_try; then
30669
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
30670
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
30671
 
   { (exit 1); exit 1; }; }
30672
 
  else
30673
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
30674
 
  fi
30675
 
done
30676
 
 
30677
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
30678
 
if test -n "$ac_eof"; then
30679
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
30680
 
  ac_eof=`expr $ac_eof + 1`
30681
 
fi
30682
 
 
30683
 
cat >>$CONFIG_STATUS <<_ACEOF
30684
 
cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
30685
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
30686
 
_ACEOF
30687
 
sed '
30688
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
30689
 
s/^/s,@/; s/!/@,|#_!!_#|/
30690
 
:n
30691
 
t n
30692
 
s/'"$ac_delim"'$/,g/; t
30693
 
s/$/\\/; p
30694
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
30695
 
' >>$CONFIG_STATUS <conf$$subs.sed
30696
 
rm -f conf$$subs.sed
30697
 
cat >>$CONFIG_STATUS <<_ACEOF
30698
 
CEOF$ac_eof
30699
 
_ACEOF
30700
 
 
30701
 
 
30702
 
ac_delim='%!_!# '
30703
 
for ac_last_try in false false false false false :; do
30704
 
  cat >conf$$subs.sed <<_ACEOF
30705
31028
TEST_SCHEMAS!$TEST_SCHEMAS$ac_delim
30706
31029
WITH_REGEXPS!$WITH_REGEXPS$ac_delim
30707
31030
TEST_REGEXPS!$TEST_REGEXPS$ac_delim
30733
31056
LTLIBOBJS!$LTLIBOBJS$ac_delim
30734
31057
_ACEOF
30735
31058
 
30736
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 29; then
 
31059
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 31; then
30737
31060
    break
30738
31061
  elif $ac_last_try; then
30739
31062
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5