3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
15 --with-libxml2[=ARG] compile with libxml 2.x library [default=auto]"
17 --enable-shared[=PKGS] build shared libraries [default=yes]"
19 --enable-static[=PKGS] build static libraries [default=yes]"
21 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
23 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
25 --disable-libtool-lock avoid locking (might break parallel builds)"
27 # Initialize some variables set by options.
28 # The variables have the same names as the options, with
29 # dashes changed to underlines.
31 cache_file=./config.cache
40 program_transform_name=s,x,x,
48 bindir='${exec_prefix}/bin'
49 sbindir='${exec_prefix}/sbin'
50 libexecdir='${exec_prefix}/libexec'
51 datadir='${prefix}/share'
52 sysconfdir='${prefix}/etc'
53 sharedstatedir='${prefix}/com'
54 localstatedir='${prefix}/var'
55 libdir='${exec_prefix}/lib'
56 includedir='${prefix}/include'
57 oldincludedir='/usr/include'
58 infodir='${prefix}/info'
59 mandir='${prefix}/man'
61 # Initialize some other variables.
64 SHELL=${CONFIG_SHELL-/bin/sh}
65 # Maximum number of lines to put in a shell here document.
72 # If the previous option needs an argument, assign it.
73 if test -n "$ac_prev"; then
74 eval "$ac_prev=\$ac_option"
80 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
84 # Accept the important Cygnus configure options, so we can diagnose typos.
88 -bindir | --bindir | --bindi | --bind | --bin | --bi)
90 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
91 bindir="$ac_optarg" ;;
93 -build | --build | --buil | --bui | --bu)
95 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
98 -cache-file | --cache-file | --cache-fil | --cache-fi \
99 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
100 ac_prev=cache_file ;;
101 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
102 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
103 cache_file="$ac_optarg" ;;
105 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
107 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
109 datadir="$ac_optarg" ;;
111 -disable-* | --disable-*)
112 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
113 # Reject names that are not valid shell variable names.
114 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
115 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
117 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
118 eval "enable_${ac_feature}=no" ;;
120 -enable-* | --enable-*)
121 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
122 # Reject names that are not valid shell variable names.
123 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
124 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
126 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
131 eval "enable_${ac_feature}='$ac_optarg'" ;;
133 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
134 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
135 | --exec | --exe | --ex)
136 ac_prev=exec_prefix ;;
137 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
138 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
139 | --exec=* | --exe=* | --ex=*)
140 exec_prefix="$ac_optarg" ;;
142 -gas | --gas | --ga | --g)
143 # Obsolete; use --with-gas.
146 -help | --help | --hel | --he)
147 # Omit some internal or obsolete options to make the list less imposing.
148 # This message is too long to be a string in the A/UX 3.1 sh.
150 Usage: configure [options] [host]
151 Options: [defaults in brackets after descriptions]
153 --cache-file=FILE cache test results in FILE
154 --help print this message
155 --no-create do not create output files
156 --quiet, --silent do not print \`checking...' messages
157 --version print the version of autoconf that created configure
158 Directory and file names:
159 --prefix=PREFIX install architecture-independent files in PREFIX
161 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
163 --bindir=DIR user executables in DIR [EPREFIX/bin]
164 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
165 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
166 --datadir=DIR read-only architecture-independent data in DIR
168 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
169 --sharedstatedir=DIR modifiable architecture-independent data in DIR
171 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
172 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
173 --includedir=DIR C header files in DIR [PREFIX/include]
174 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
175 --infodir=DIR info documentation in DIR [PREFIX/info]
176 --mandir=DIR man documentation in DIR [PREFIX/man]
177 --srcdir=DIR find the sources in DIR [configure dir or ..]
178 --program-prefix=PREFIX prepend PREFIX to installed program names
179 --program-suffix=SUFFIX append SUFFIX to installed program names
180 --program-transform-name=PROGRAM
181 run sed PROGRAM on installed program names
185 --build=BUILD configure for building on BUILD [BUILD=HOST]
186 --host=HOST configure for HOST [guessed]
187 --target=TARGET configure for TARGET [TARGET=HOST]
188 Features and packages:
189 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
190 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
191 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
192 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
193 --x-includes=DIR X include files are in DIR
194 --x-libraries=DIR X library files are in DIR
196 if test -n "$ac_help"; then
197 echo "--enable and --with options recognized:$ac_help"
201 -host | --host | --hos | --ho)
203 -host=* | --host=* | --hos=* | --ho=*)
206 -includedir | --includedir | --includedi | --included | --include \
207 | --includ | --inclu | --incl | --inc)
208 ac_prev=includedir ;;
209 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
210 | --includ=* | --inclu=* | --incl=* | --inc=*)
211 includedir="$ac_optarg" ;;
213 -infodir | --infodir | --infodi | --infod | --info | --inf)
215 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
216 infodir="$ac_optarg" ;;
218 -libdir | --libdir | --libdi | --libd)
220 -libdir=* | --libdir=* | --libdi=* | --libd=*)
221 libdir="$ac_optarg" ;;
223 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
224 | --libexe | --libex | --libe)
225 ac_prev=libexecdir ;;
226 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
227 | --libexe=* | --libex=* | --libe=*)
228 libexecdir="$ac_optarg" ;;
230 -localstatedir | --localstatedir | --localstatedi | --localstated \
231 | --localstate | --localstat | --localsta | --localst \
232 | --locals | --local | --loca | --loc | --lo)
233 ac_prev=localstatedir ;;
234 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
235 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
236 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
237 localstatedir="$ac_optarg" ;;
239 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
241 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
242 mandir="$ac_optarg" ;;
245 # Obsolete; use --without-fp.
248 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
252 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
253 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
256 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
257 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
258 | --oldin | --oldi | --old | --ol | --o)
259 ac_prev=oldincludedir ;;
260 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
261 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
262 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
263 oldincludedir="$ac_optarg" ;;
265 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
267 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
268 prefix="$ac_optarg" ;;
270 -program-prefix | --program-prefix | --program-prefi | --program-pref \
271 | --program-pre | --program-pr | --program-p)
272 ac_prev=program_prefix ;;
273 -program-prefix=* | --program-prefix=* | --program-prefi=* \
274 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
275 program_prefix="$ac_optarg" ;;
277 -program-suffix | --program-suffix | --program-suffi | --program-suff \
278 | --program-suf | --program-su | --program-s)
279 ac_prev=program_suffix ;;
280 -program-suffix=* | --program-suffix=* | --program-suffi=* \
281 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
282 program_suffix="$ac_optarg" ;;
284 -program-transform-name | --program-transform-name \
285 | --program-transform-nam | --program-transform-na \
286 | --program-transform-n | --program-transform- \
287 | --program-transform | --program-transfor \
288 | --program-transfo | --program-transf \
289 | --program-trans | --program-tran \
290 | --progr-tra | --program-tr | --program-t)
291 ac_prev=program_transform_name ;;
292 -program-transform-name=* | --program-transform-name=* \
293 | --program-transform-nam=* | --program-transform-na=* \
294 | --program-transform-n=* | --program-transform-=* \
295 | --program-transform=* | --program-transfor=* \
296 | --program-transfo=* | --program-transf=* \
297 | --program-trans=* | --program-tran=* \
298 | --progr-tra=* | --program-tr=* | --program-t=*)
299 program_transform_name="$ac_optarg" ;;
301 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
302 | -silent | --silent | --silen | --sile | --sil)
305 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
307 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
309 sbindir="$ac_optarg" ;;
311 -sharedstatedir | --sharedstatedir | --sharedstatedi \
312 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
313 | --sharedst | --shareds | --shared | --share | --shar \
315 ac_prev=sharedstatedir ;;
316 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
317 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
318 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
320 sharedstatedir="$ac_optarg" ;;
322 -site | --site | --sit)
324 -site=* | --site=* | --sit=*)
327 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
329 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
330 srcdir="$ac_optarg" ;;
332 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
333 | --syscon | --sysco | --sysc | --sys | --sy)
334 ac_prev=sysconfdir ;;
335 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
336 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
337 sysconfdir="$ac_optarg" ;;
339 -target | --target | --targe | --targ | --tar | --ta | --t)
341 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
342 target="$ac_optarg" ;;
344 -v | -verbose | --verbose | --verbos | --verbo | --verb)
347 -version | --version | --versio | --versi | --vers)
348 echo "configure generated by autoconf version 2.13"
352 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
353 # Reject names that are not valid shell variable names.
354 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
355 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
357 ac_package=`echo $ac_package| sed 's/-/_/g'`
362 eval "with_${ac_package}='$ac_optarg'" ;;
364 -without-* | --without-*)
365 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
366 # Reject names that are not valid shell variable names.
367 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
368 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
370 ac_package=`echo $ac_package| sed 's/-/_/g'`
371 eval "with_${ac_package}=no" ;;
374 # Obsolete; use --with-x.
377 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
378 | --x-incl | --x-inc | --x-in | --x-i)
379 ac_prev=x_includes ;;
380 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
381 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
382 x_includes="$ac_optarg" ;;
384 -x-libraries | --x-libraries | --x-librarie | --x-librari \
385 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
386 ac_prev=x_libraries ;;
387 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
388 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
389 x_libraries="$ac_optarg" ;;
391 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
395 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
396 echo "configure: warning: $ac_option: invalid host type" 1>&2
398 if test "x$nonopt" != xNONE; then
399 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
407 if test -n "$ac_prev"; then
408 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
411 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
413 # File descriptor usage:
416 # 2 errors and warnings
417 # 3 some systems may open it to /dev/tty
418 # 4 used on the Kubota Titan
419 # 6 checking for... messages and results
420 # 5 compiler messages saved in config.log
421 if test "$silent" = yes; then
429 This file contains any messages produced by compilers while
430 running configure, to aid debugging if configure makes a mistake.
433 # Strip out --no-create and --no-recursion so they do not pile up.
434 # Also quote any args containing shell metacharacters.
439 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
440 | --no-cr | --no-c) ;;
441 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
442 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
443 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
444 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
445 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
450 # Only set these to C if already set. These must not be set unconditionally
451 # because not all systems understand e.g. LANG=C (notably SCO).
452 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
453 # Non-C LC_CTYPE values break the ctype check.
454 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
455 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
456 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
457 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
459 # confdefs.h avoids OS command line length limits that DEFS can exceed.
460 rm -rf conftest* confdefs.h
461 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
464 # A filename unique to this package, relative to the directory that
465 # configure is in, which we can look for to find out if srcdir is correct.
466 ac_unique_file=minidom.c
468 # Find the source files, if location was not specified.
469 if test -z "$srcdir"; then
470 ac_srcdir_defaulted=yes
471 # Try the directory containing this script, then its parent.
473 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
474 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
476 if test ! -r $srcdir/$ac_unique_file; then
480 ac_srcdir_defaulted=no
482 if test ! -r $srcdir/$ac_unique_file; then
483 if test "$ac_srcdir_defaulted" = yes; then
484 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
486 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
489 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
491 # Prefer explicitly selected file to automatically selected ones.
492 if test -z "$CONFIG_SITE"; then
493 if test "x$prefix" != xNONE; then
494 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
496 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
499 for ac_site_file in $CONFIG_SITE; do
500 if test -r "$ac_site_file"; then
501 echo "loading site script $ac_site_file"
506 if test -r "$cache_file"; then
507 echo "loading cache $cache_file"
510 echo "creating cache $cache_file"
515 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
516 ac_cpp='$CPP $CPPFLAGS'
517 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
518 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
519 cross_compiling=$ac_cv_prog_cc_cross
523 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
524 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
525 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
532 ac_n= ac_c='\c' ac_t=
537 MINIDOM_MAJOR_VERSION=0
538 MINIDOM_MINOR_VERSION=1
539 MINIDOM_MICRO_VERSION=0
540 MINIDOM_VERSION=$MINIDOM_MAJOR_VERSION.$MINIDOM_MINOR_VERSION.$MINIDOM_MICRO_VERSION
541 MINIDOM_VERSION_INFO=`expr $MINIDOM_MAJOR_VERSION + $MINIDOM_MINOR_VERSION`:$MINIDOM_MICRO_VERSION:$MINIDOM_MINOR_VERSION
546 # Check whether --with-libxml2 or --without-libxml2 was given.
547 if test "${with_libxml2+set}" = set; then
548 withval="$with_libxml2"
557 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
558 if test -f $ac_dir/install-sh; then
560 ac_install_sh="$ac_aux_dir/install-sh -c"
562 elif test -f $ac_dir/install.sh; then
564 ac_install_sh="$ac_aux_dir/install.sh -c"
568 if test -z "$ac_aux_dir"; then
569 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
571 ac_config_guess=$ac_aux_dir/config.guess
572 ac_config_sub=$ac_aux_dir/config.sub
573 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
575 # Find a good install program. We prefer a C program (faster),
576 # so one script is as good as another. But avoid the broken or
577 # incompatible versions:
578 # SysV /etc/install, /usr/sbin/install
579 # SunOS /usr/etc/install
582 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
583 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
584 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
585 # ./install, which can be erroneously created by make from ./install.sh.
586 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
587 echo "configure:588: checking for a BSD compatible install" >&5
588 if test -z "$INSTALL"; then
589 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
590 echo $ac_n "(cached) $ac_c" 1>&6
592 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
593 for ac_dir in $PATH; do
594 # Account for people who put trailing slashes in PATH elements.
596 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
598 # OSF1 and SCO ODT 3.0 have their own names for install.
599 # Don't use installbsd from OSF since it installs stuff as root
601 for ac_prog in ginstall scoinst install; do
602 if test -f $ac_dir/$ac_prog; then
603 if test $ac_prog = install &&
604 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
605 # AIX install. It has an incompatible calling convention.
608 ac_cv_path_install="$ac_dir/$ac_prog -c"
619 if test "${ac_cv_path_install+set}" = set; then
620 INSTALL="$ac_cv_path_install"
622 # As a last resort, use the slow shell script. We don't cache a
623 # path for INSTALL within a source directory, because that will
624 # break other packages using the cache if that directory is
625 # removed, or if the path is relative.
626 INSTALL="$ac_install_sh"
629 echo "$ac_t""$INSTALL" 1>&6
631 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
632 # It thinks the first close brace ends the variable substitution.
633 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
635 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
637 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
639 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
640 echo "configure:641: checking whether build environment is sane" >&5
643 echo timestamp > conftestfile
644 # Do `set' in a subshell so we don't clobber the current shell's
645 # arguments. Must try -L first in case configure is actually a
646 # symlink; some systems play weird games with the mod time of symlinks
647 # (eg FreeBSD returns the mod time of the symlink's containing
650 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
651 if test "$*" = "X"; then
653 set X `ls -t $srcdir/configure conftestfile`
655 if test "$*" != "X $srcdir/configure conftestfile" \
656 && test "$*" != "X conftestfile $srcdir/configure"; then
658 # If neither matched, then we have a broken ls. This can happen
659 # if, for instance, CONFIG_SHELL is bash and it inherits a
660 # broken ls alias from the environment. This has actually
661 # happened. Such a system could not be considered "sane".
662 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
663 alias in your environment" 1>&2; exit 1; }
666 test "$2" = conftestfile
672 { echo "configure: error: newly created file is older than distributed files!
673 Check your system clock" 1>&2; exit 1; }
676 echo "$ac_t""yes" 1>&6
677 if test "$program_transform_name" = s,x,x,; then
678 program_transform_name=
680 # Double any \ or $. echo might interpret backslashes.
681 cat <<\EOF_SED > conftestsed
682 s,\\,\\\\,g; s,\$,$$,g
684 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
687 test "$program_prefix" != NONE &&
688 program_transform_name="s,^,${program_prefix},; $program_transform_name"
689 # Use a double $ so make ignores it.
690 test "$program_suffix" != NONE &&
691 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
693 # sed with no file args requires a program.
694 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
696 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
697 echo "configure:698: checking whether ${MAKE-make} sets \${MAKE}" >&5
698 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
699 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
700 echo $ac_n "(cached) $ac_c" 1>&6
702 cat > conftestmake <<\EOF
704 @echo 'ac_maketemp="${MAKE}"'
706 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
707 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
708 if test -n "$ac_maketemp"; then
709 eval ac_cv_prog_make_${ac_make}_set=yes
711 eval ac_cv_prog_make_${ac_make}_set=no
715 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
716 echo "$ac_t""yes" 1>&6
719 echo "$ac_t""no" 1>&6
720 SET_MAKE="MAKE=${MAKE-make}"
726 VERSION=$MINIDOM_VERSION
728 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
729 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
731 cat >> confdefs.h <<EOF
732 #define PACKAGE "$PACKAGE"
735 cat >> confdefs.h <<EOF
736 #define VERSION "$VERSION"
741 missing_dir=`cd $ac_aux_dir && pwd`
742 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
743 echo "configure:744: checking for working aclocal" >&5
744 # Run test in a subshell; some versions of sh will print an error if
745 # an executable is not found, even if stderr is redirected.
746 # Redirect stdin to placate older versions of autoconf. Sigh.
747 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
749 echo "$ac_t""found" 1>&6
751 ACLOCAL="$missing_dir/missing aclocal"
752 echo "$ac_t""missing" 1>&6
755 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
756 echo "configure:757: checking for working autoconf" >&5
757 # Run test in a subshell; some versions of sh will print an error if
758 # an executable is not found, even if stderr is redirected.
759 # Redirect stdin to placate older versions of autoconf. Sigh.
760 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
762 echo "$ac_t""found" 1>&6
764 AUTOCONF="$missing_dir/missing autoconf"
765 echo "$ac_t""missing" 1>&6
768 echo $ac_n "checking for working automake""... $ac_c" 1>&6
769 echo "configure:770: checking for working automake" >&5
770 # Run test in a subshell; some versions of sh will print an error if
771 # an executable is not found, even if stderr is redirected.
772 # Redirect stdin to placate older versions of autoconf. Sigh.
773 if (automake --version) < /dev/null > /dev/null 2>&1; then
775 echo "$ac_t""found" 1>&6
777 AUTOMAKE="$missing_dir/missing automake"
778 echo "$ac_t""missing" 1>&6
781 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
782 echo "configure:783: checking for working autoheader" >&5
783 # Run test in a subshell; some versions of sh will print an error if
784 # an executable is not found, even if stderr is redirected.
785 # Redirect stdin to placate older versions of autoconf. Sigh.
786 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
787 AUTOHEADER=autoheader
788 echo "$ac_t""found" 1>&6
790 AUTOHEADER="$missing_dir/missing autoheader"
791 echo "$ac_t""missing" 1>&6
794 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
795 echo "configure:796: checking for working makeinfo" >&5
796 # Run test in a subshell; some versions of sh will print an error if
797 # an executable is not found, even if stderr is redirected.
798 # Redirect stdin to placate older versions of autoconf. Sigh.
799 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
801 echo "$ac_t""found" 1>&6
803 MAKEINFO="$missing_dir/missing makeinfo"
804 echo "$ac_t""missing" 1>&6
811 # Check whether --enable-shared or --disable-shared was given.
812 if test "${enable_shared+set}" = set; then
813 enableval="$enable_shared"
816 yes) enable_shared=yes ;;
817 no) enable_shared=no ;;
820 # Look at the argument we got. We use all the common list separators.
821 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
822 for pkg in $enableval; do
823 if test "X$pkg" = "X$p"; then
834 # Check whether --enable-static or --disable-static was given.
835 if test "${enable_static+set}" = set; then
836 enableval="$enable_static"
839 yes) enable_static=yes ;;
840 no) enable_static=no ;;
843 # Look at the argument we got. We use all the common list separators.
844 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
845 for pkg in $enableval; do
846 if test "X$pkg" = "X$p"; then
857 # Check whether --enable-fast-install or --disable-fast-install was given.
858 if test "${enable_fast_install+set}" = set; then
859 enableval="$enable_fast_install"
862 yes) enable_fast_install=yes ;;
863 no) enable_fast_install=no ;;
865 enable_fast_install=no
866 # Look at the argument we got. We use all the common list separators.
867 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
868 for pkg in $enableval; do
869 if test "X$pkg" = "X$p"; then
870 enable_fast_install=yes
877 enable_fast_install=yes
881 # Make sure we can run config.sub.
882 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
883 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
886 echo $ac_n "checking host system type""... $ac_c" 1>&6
887 echo "configure:888: checking host system type" >&5
890 case "$host_alias" in
894 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
895 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
897 *) host_alias=$nonopt ;;
901 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
902 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
903 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
904 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
905 echo "$ac_t""$host" 1>&6
907 echo $ac_n "checking build system type""... $ac_c" 1>&6
908 echo "configure:909: checking build system type" >&5
911 case "$build_alias" in
914 NONE) build_alias=$host_alias ;;
915 *) build_alias=$nonopt ;;
919 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
920 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
921 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
922 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
923 echo "$ac_t""$build" 1>&6
925 # Extract the first word of "ranlib", so it can be a program name with args.
926 set dummy ranlib; ac_word=$2
927 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
928 echo "configure:929: checking for $ac_word" >&5
929 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
930 echo $ac_n "(cached) $ac_c" 1>&6
932 if test -n "$RANLIB"; then
933 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
935 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
937 for ac_dir in $ac_dummy; do
938 test -z "$ac_dir" && ac_dir=.
939 if test -f $ac_dir/$ac_word; then
940 ac_cv_prog_RANLIB="ranlib"
945 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
948 RANLIB="$ac_cv_prog_RANLIB"
949 if test -n "$RANLIB"; then
950 echo "$ac_t""$RANLIB" 1>&6
952 echo "$ac_t""no" 1>&6
955 # Extract the first word of "gcc", so it can be a program name with args.
956 set dummy gcc; ac_word=$2
957 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
958 echo "configure:959: checking for $ac_word" >&5
959 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
960 echo $ac_n "(cached) $ac_c" 1>&6
962 if test -n "$CC"; then
963 ac_cv_prog_CC="$CC" # Let the user override the test.
965 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
967 for ac_dir in $ac_dummy; do
968 test -z "$ac_dir" && ac_dir=.
969 if test -f $ac_dir/$ac_word; then
978 if test -n "$CC"; then
979 echo "$ac_t""$CC" 1>&6
981 echo "$ac_t""no" 1>&6
984 if test -z "$CC"; then
985 # Extract the first word of "cc", so it can be a program name with args.
986 set dummy cc; ac_word=$2
987 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
988 echo "configure:989: checking for $ac_word" >&5
989 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
990 echo $ac_n "(cached) $ac_c" 1>&6
992 if test -n "$CC"; then
993 ac_cv_prog_CC="$CC" # Let the user override the test.
995 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
998 for ac_dir in $ac_dummy; do
999 test -z "$ac_dir" && ac_dir=.
1000 if test -f $ac_dir/$ac_word; then
1001 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1002 ac_prog_rejected=yes
1010 if test $ac_prog_rejected = yes; then
1011 # We found a bogon in the path, so make sure we never use it.
1012 set dummy $ac_cv_prog_CC
1014 if test $# -gt 0; then
1015 # We chose a different compiler from the bogus one.
1016 # However, it has the same basename, so the bogon will be chosen
1017 # first if we set CC to just the basename; use the full file name.
1019 set dummy "$ac_dir/$ac_word" "$@"
1027 if test -n "$CC"; then
1028 echo "$ac_t""$CC" 1>&6
1030 echo "$ac_t""no" 1>&6
1033 if test -z "$CC"; then
1034 case "`uname -s`" in
1036 # Extract the first word of "cl", so it can be a program name with args.
1037 set dummy cl; ac_word=$2
1038 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1039 echo "configure:1040: checking for $ac_word" >&5
1040 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1041 echo $ac_n "(cached) $ac_c" 1>&6
1043 if test -n "$CC"; then
1044 ac_cv_prog_CC="$CC" # Let the user override the test.
1046 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1048 for ac_dir in $ac_dummy; do
1049 test -z "$ac_dir" && ac_dir=.
1050 if test -f $ac_dir/$ac_word; then
1059 if test -n "$CC"; then
1060 echo "$ac_t""$CC" 1>&6
1062 echo "$ac_t""no" 1>&6
1067 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1070 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1071 echo "configure:1072: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1074 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1075 ac_cpp='$CPP $CPPFLAGS'
1076 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1077 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1078 cross_compiling=$ac_cv_prog_cc_cross
1080 cat > conftest.$ac_ext << EOF
1082 #line 1083 "configure"
1083 #include "confdefs.h"
1087 if { (eval echo configure:1088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1088 ac_cv_prog_cc_works=yes
1089 # If we can't run a trivial program, we are probably using a cross compiler.
1090 if (./conftest; exit) 2>/dev/null; then
1091 ac_cv_prog_cc_cross=no
1093 ac_cv_prog_cc_cross=yes
1096 echo "configure: failed program was:" >&5
1097 cat conftest.$ac_ext >&5
1098 ac_cv_prog_cc_works=no
1102 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1103 ac_cpp='$CPP $CPPFLAGS'
1104 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1105 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1106 cross_compiling=$ac_cv_prog_cc_cross
1108 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1109 if test $ac_cv_prog_cc_works = no; then
1110 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1112 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1113 echo "configure:1114: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1114 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1115 cross_compiling=$ac_cv_prog_cc_cross
1117 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1118 echo "configure:1119: checking whether we are using GNU C" >&5
1119 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1120 echo $ac_n "(cached) $ac_c" 1>&6
1122 cat > conftest.c <<EOF
1127 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1128: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1134 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1136 if test $ac_cv_prog_gcc = yes; then
1142 ac_test_CFLAGS="${CFLAGS+set}"
1143 ac_save_CFLAGS="$CFLAGS"
1145 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1146 echo "configure:1147: checking whether ${CC-cc} accepts -g" >&5
1147 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1148 echo $ac_n "(cached) $ac_c" 1>&6
1150 echo 'void f(){}' > conftest.c
1151 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1160 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1161 if test "$ac_test_CFLAGS" = set; then
1162 CFLAGS="$ac_save_CFLAGS"
1163 elif test $ac_cv_prog_cc_g = yes; then
1164 if test "$GCC" = yes; then
1170 if test "$GCC" = yes; then
1177 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1178 if test "${with_gnu_ld+set}" = set; then
1179 withval="$with_gnu_ld"
1180 test "$withval" = no || with_gnu_ld=yes
1186 if test "$ac_cv_prog_gcc" = yes; then
1187 # Check if gcc -print-prog-name=ld gives a path.
1188 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1189 echo "configure:1190: checking for ld used by GCC" >&5
1190 ac_prog=`($CC -print-prog-name=ld) 2>&5`
1192 # Accept absolute paths.
1193 [\\/]* | [A-Za-z]:[\\/]*)
1194 re_direlt='/[^/][^/]*/\.\./'
1195 # Canonicalize the path of ld
1196 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1197 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1198 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1200 test -z "$LD" && LD="$ac_prog"
1203 # If it fails, then pretend we aren't using GCC.
1207 # If it is relative, then search for the first ld in PATH.
1211 elif test "$with_gnu_ld" = yes; then
1212 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1213 echo "configure:1214: checking for GNU ld" >&5
1215 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1216 echo "configure:1217: checking for non-GNU ld" >&5
1218 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1219 echo $ac_n "(cached) $ac_c" 1>&6
1221 if test -z "$LD"; then
1222 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1223 for ac_dir in $PATH; do
1224 test -z "$ac_dir" && ac_dir=.
1225 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1226 ac_cv_path_LD="$ac_dir/$ac_prog"
1227 # Check to see if the program is GNU ld. I'd rather use --version,
1228 # but apparently some GNU ld's only accept -v.
1229 # Break only if it was the GNU/non-GNU ld that we prefer.
1230 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1231 test "$with_gnu_ld" != no && break
1233 test "$with_gnu_ld" != yes && break
1239 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1244 if test -n "$LD"; then
1245 echo "$ac_t""$LD" 1>&6
1247 echo "$ac_t""no" 1>&6
1249 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1250 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1251 echo "configure:1252: checking if the linker ($LD) is GNU ld" >&5
1252 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1253 echo $ac_n "(cached) $ac_c" 1>&6
1255 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1256 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1257 ac_cv_prog_gnu_ld=yes
1259 ac_cv_prog_gnu_ld=no
1263 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1266 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1267 echo "configure:1268: checking for BSD-compatible nm" >&5
1268 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1269 echo $ac_n "(cached) $ac_c" 1>&6
1271 if test -n "$NM"; then
1272 # Let the user override the test.
1275 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1276 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1277 test -z "$ac_dir" && ac_dir=.
1278 if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
1279 # Check to see if the nm accepts a BSD-compat flag.
1280 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1281 # nm: unknown option "B" ignored
1282 if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1283 ac_cv_path_NM="$ac_dir/nm -B"
1285 elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1286 ac_cv_path_NM="$ac_dir/nm -p"
1289 ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
1290 continue # so that we can try to find one that supports BSD flags
1295 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1300 echo "$ac_t""$NM" 1>&6
1302 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1303 echo "configure:1304: checking whether ln -s works" >&5
1304 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1305 echo $ac_n "(cached) $ac_c" 1>&6
1308 if ln -s X conftestdata 2>/dev/null
1311 ac_cv_prog_LN_S="ln -s"
1316 LN_S="$ac_cv_prog_LN_S"
1317 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1318 echo "$ac_t""yes" 1>&6
1320 echo "$ac_t""no" 1>&6
1325 NONE) lt_target="$host" ;;
1326 *) lt_target="$target" ;;
1329 # Check for any special flags to pass to ltconfig.
1331 # the following will cause an existing older ltconfig to fail, so
1332 # we ignore this at the expense of the cache file... Checking this
1333 # will just take longer ... bummer!
1334 #libtool_flags="--cache-file=$cache_file"
1336 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
1337 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
1338 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
1339 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
1340 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
1343 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1344 if test "${enable_libtool_lock+set}" = set; then
1345 enableval="$enable_libtool_lock"
1349 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
1350 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
1352 # Some flags need to be propagated to the compiler or linker for good
1354 case "$lt_target" in
1356 # Find out which ABI we are using.
1357 echo '#line 1358 "configure"' > conftest.$ac_ext
1358 if { (eval echo configure:1359: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1359 case "`/usr/bin/file conftest.o`" in
1375 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1376 SAVE_CFLAGS="$CFLAGS"
1377 CFLAGS="$CFLAGS -belf"
1378 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1379 echo "configure:1380: checking whether the C compiler needs -belf" >&5
1380 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1381 echo $ac_n "(cached) $ac_c" 1>&6
1383 cat > conftest.$ac_ext <<EOF
1384 #line 1385 "configure"
1385 #include "confdefs.h"
1391 if { (eval echo configure:1392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1393 lt_cv_cc_needs_belf=yes
1395 echo "configure: failed program was:" >&5
1396 cat conftest.$ac_ext >&5
1398 lt_cv_cc_needs_belf=no
1403 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
1404 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1405 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1406 CFLAGS="$SAVE_CFLAGS"
1414 # Save cache, so that ltconfig can load it
1415 cat > confcache <<\EOF
1416 # This file is a shell script that caches the results of configure
1417 # tests run on this system so they can be shared between configure
1418 # scripts and configure runs. It is not useful on other systems.
1419 # If it contains results you don't want to keep, you may remove or edit it.
1421 # By default, configure uses ./config.cache as the cache file,
1422 # creating it if it does not exist already. You can give configure
1423 # the --cache-file=FILE option to use a different cache file; that is
1424 # what configure does when it calls configure scripts in
1425 # subdirectories, so they share the cache.
1426 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1427 # config.status only pays attention to the cache file if you give it the
1428 # --recheck option to rerun configure.
1431 # The following way of writing the cache mishandles newlines in values,
1432 # but we know of no workaround that is simple, portable, and efficient.
1433 # So, don't put newlines in cache variables' values.
1434 # Ultrix sh set writes to stderr and can't be redirected directly,
1435 # and sets the high bit in the cache file unless we assign to the vars.
1437 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1439 # `set' does not quote correctly, so add quotes (double-quote substitution
1440 # turns \\\\ into \\, and sed turns \\ into \).
1442 -e "s/'/'\\\\''/g" \
1443 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1446 # `set' quotes correctly as required by POSIX, so do not add quotes.
1447 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1450 if cmp -s $cache_file confcache; then
1453 if test -w $cache_file; then
1454 echo "updating cache $cache_file"
1455 cat confcache > $cache_file
1457 echo "not updating unwritable cache $cache_file"
1463 # Actually configure libtool. ac_aux_dir is where install-sh is found.
1464 CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
1465 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
1466 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
1467 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
1468 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
1469 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $lt_target \
1470 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1472 # Reload cache, that may have been modified by ltconfig
1473 if test -r "$cache_file"; then
1474 echo "loading cache $cache_file"
1477 echo "creating cache $cache_file"
1482 # This can be used to rebuild libtool when needed
1483 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
1485 # Always use our own libtool.
1486 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1488 # Redirect the config.log output again, so that the ltconfig log is not
1489 # clobbered by the next message.
1490 exec 5>>./config.log
1493 # Extract the first word of "gcc", so it can be a program name with args.
1494 set dummy gcc; ac_word=$2
1495 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1496 echo "configure:1497: checking for $ac_word" >&5
1497 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1498 echo $ac_n "(cached) $ac_c" 1>&6
1500 if test -n "$CC"; then
1501 ac_cv_prog_CC="$CC" # Let the user override the test.
1503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1505 for ac_dir in $ac_dummy; do
1506 test -z "$ac_dir" && ac_dir=.
1507 if test -f $ac_dir/$ac_word; then
1516 if test -n "$CC"; then
1517 echo "$ac_t""$CC" 1>&6
1519 echo "$ac_t""no" 1>&6
1522 if test -z "$CC"; then
1523 # Extract the first word of "cc", so it can be a program name with args.
1524 set dummy cc; ac_word=$2
1525 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1526 echo "configure:1527: checking for $ac_word" >&5
1527 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1528 echo $ac_n "(cached) $ac_c" 1>&6
1530 if test -n "$CC"; then
1531 ac_cv_prog_CC="$CC" # Let the user override the test.
1533 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1536 for ac_dir in $ac_dummy; do
1537 test -z "$ac_dir" && ac_dir=.
1538 if test -f $ac_dir/$ac_word; then
1539 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1540 ac_prog_rejected=yes
1548 if test $ac_prog_rejected = yes; then
1549 # We found a bogon in the path, so make sure we never use it.
1550 set dummy $ac_cv_prog_CC
1552 if test $# -gt 0; then
1553 # We chose a different compiler from the bogus one.
1554 # However, it has the same basename, so the bogon will be chosen
1555 # first if we set CC to just the basename; use the full file name.
1557 set dummy "$ac_dir/$ac_word" "$@"
1565 if test -n "$CC"; then
1566 echo "$ac_t""$CC" 1>&6
1568 echo "$ac_t""no" 1>&6
1571 if test -z "$CC"; then
1572 case "`uname -s`" in
1574 # Extract the first word of "cl", so it can be a program name with args.
1575 set dummy cl; ac_word=$2
1576 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1577 echo "configure:1578: checking for $ac_word" >&5
1578 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1579 echo $ac_n "(cached) $ac_c" 1>&6
1581 if test -n "$CC"; then
1582 ac_cv_prog_CC="$CC" # Let the user override the test.
1584 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1586 for ac_dir in $ac_dummy; do
1587 test -z "$ac_dir" && ac_dir=.
1588 if test -f $ac_dir/$ac_word; then
1597 if test -n "$CC"; then
1598 echo "$ac_t""$CC" 1>&6
1600 echo "$ac_t""no" 1>&6
1605 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1608 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1609 echo "configure:1610: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1612 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1613 ac_cpp='$CPP $CPPFLAGS'
1614 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1615 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1616 cross_compiling=$ac_cv_prog_cc_cross
1618 cat > conftest.$ac_ext << EOF
1620 #line 1621 "configure"
1621 #include "confdefs.h"
1625 if { (eval echo configure:1626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1626 ac_cv_prog_cc_works=yes
1627 # If we can't run a trivial program, we are probably using a cross compiler.
1628 if (./conftest; exit) 2>/dev/null; then
1629 ac_cv_prog_cc_cross=no
1631 ac_cv_prog_cc_cross=yes
1634 echo "configure: failed program was:" >&5
1635 cat conftest.$ac_ext >&5
1636 ac_cv_prog_cc_works=no
1640 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1641 ac_cpp='$CPP $CPPFLAGS'
1642 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1643 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1644 cross_compiling=$ac_cv_prog_cc_cross
1646 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1647 if test $ac_cv_prog_cc_works = no; then
1648 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1650 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1651 echo "configure:1652: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1652 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1653 cross_compiling=$ac_cv_prog_cc_cross
1655 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1656 echo "configure:1657: checking whether we are using GNU C" >&5
1657 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1658 echo $ac_n "(cached) $ac_c" 1>&6
1660 cat > conftest.c <<EOF
1665 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1672 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1674 if test $ac_cv_prog_gcc = yes; then
1680 ac_test_CFLAGS="${CFLAGS+set}"
1681 ac_save_CFLAGS="$CFLAGS"
1683 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1684 echo "configure:1685: checking whether ${CC-cc} accepts -g" >&5
1685 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1686 echo $ac_n "(cached) $ac_c" 1>&6
1688 echo 'void f(){}' > conftest.c
1689 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1698 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1699 if test "$ac_test_CFLAGS" = set; then
1700 CFLAGS="$ac_save_CFLAGS"
1701 elif test $ac_cv_prog_cc_g = yes; then
1702 if test "$GCC" = yes; then
1708 if test "$GCC" = yes; then
1715 # Extract the first word of "ranlib", so it can be a program name with args.
1716 set dummy ranlib; ac_word=$2
1717 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1718 echo "configure:1719: checking for $ac_word" >&5
1719 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1720 echo $ac_n "(cached) $ac_c" 1>&6
1722 if test -n "$RANLIB"; then
1723 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1725 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1727 for ac_dir in $ac_dummy; do
1728 test -z "$ac_dir" && ac_dir=.
1729 if test -f $ac_dir/$ac_word; then
1730 ac_cv_prog_RANLIB="ranlib"
1735 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1738 RANLIB="$ac_cv_prog_RANLIB"
1739 if test -n "$RANLIB"; then
1740 echo "$ac_t""$RANLIB" 1>&6
1742 echo "$ac_t""no" 1>&6
1746 echo $ac_n "checking for g_malloc in -lglib""... $ac_c" 1>&6
1747 echo "configure:1748: checking for g_malloc in -lglib" >&5
1748 ac_lib_var=`echo glib'_'g_malloc | sed 'y%./+-%__p_%'`
1749 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1750 echo $ac_n "(cached) $ac_c" 1>&6
1752 ac_save_LIBS="$LIBS"
1753 LIBS="-lglib `glib-config --libs`
1755 cat > conftest.$ac_ext <<EOF
1756 #line 1757 "configure"
1757 #include "confdefs.h"
1758 /* Override any gcc2 internal prototype to avoid an error. */
1759 /* We use char because int might match the return type of a gcc2
1760 builtin and then its argument prototype would still apply. */
1767 if { (eval echo configure:1768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1769 eval "ac_cv_lib_$ac_lib_var=yes"
1771 echo "configure: failed program was:" >&5
1772 cat conftest.$ac_ext >&5
1774 eval "ac_cv_lib_$ac_lib_var=no"
1777 LIBS="$ac_save_LIBS"
1780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1781 echo "$ac_t""yes" 1>&6
1783 CFLAGS="$CFLAGS `glib-config --cflags`"
1784 CXXFLAGS="$CXXFLAGS `glib-config --cflags`"
1785 LIBS="$LIBS `glib-config --libs`"
1788 echo "$ac_t""no" 1>&6
1789 { echo "configure: error: cound not find glib" 1>&2; exit 1; }
1793 echo $ac_n "checking for xmlParseDocument in -lxml""... $ac_c" 1>&6
1794 echo "configure:1795: checking for xmlParseDocument in -lxml" >&5
1795 ac_lib_var=`echo xml'_'xmlParseDocument | sed 'y%./+-%__p_%'`
1796 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1797 echo $ac_n "(cached) $ac_c" 1>&6
1799 ac_save_LIBS="$LIBS"
1800 LIBS="-lxml `xml-config --libs`
1802 cat > conftest.$ac_ext <<EOF
1803 #line 1804 "configure"
1804 #include "confdefs.h"
1805 /* Override any gcc2 internal prototype to avoid an error. */
1806 /* We use char because int might match the return type of a gcc2
1807 builtin and then its argument prototype would still apply. */
1808 char xmlParseDocument();
1814 if { (eval echo configure:1815: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1816 eval "ac_cv_lib_$ac_lib_var=yes"
1818 echo "configure: failed program was:" >&5
1819 cat conftest.$ac_ext >&5
1821 eval "ac_cv_lib_$ac_lib_var=no"
1824 LIBS="$ac_save_LIBS"
1827 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1828 echo "$ac_t""yes" 1>&6
1830 CFLAGS="$CFLAGS `xml-config --cflags`"
1831 CXXFLAGS="$CXXFLAGS `xml-config --cflags`"
1832 LIBS="$LIBS `xml-config --libs`"
1835 echo "$ac_t""no" 1>&6
1839 if test $libxml2 = "auto"; then
1840 echo $ac_n "checking for libxml version 2""... $ac_c" 1>&6
1841 echo "configure:1842: checking for libxml version 2" >&5
1842 cat > conftest.$ac_ext <<EOF
1843 #line 1844 "configure"
1844 #include "confdefs.h"
1853 if { (eval echo configure:1854: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1856 cat >> confdefs.h <<\EOF
1857 #define HAVE_LIBXML2 1
1860 echo "$ac_t""maybe" 1>&6
1863 echo "configure: failed program was:" >&5
1864 cat conftest.$ac_ext >&5
1866 echo "$ac_t""no" 1>&6
1870 elif test $libxml2 = "yes"; then
1871 cat >> confdefs.h <<\EOF
1872 #define HAVE_LIBXML2 1
1879 cat > confcache <<\EOF
1880 # This file is a shell script that caches the results of configure
1881 # tests run on this system so they can be shared between configure
1882 # scripts and configure runs. It is not useful on other systems.
1883 # If it contains results you don't want to keep, you may remove or edit it.
1885 # By default, configure uses ./config.cache as the cache file,
1886 # creating it if it does not exist already. You can give configure
1887 # the --cache-file=FILE option to use a different cache file; that is
1888 # what configure does when it calls configure scripts in
1889 # subdirectories, so they share the cache.
1890 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1891 # config.status only pays attention to the cache file if you give it the
1892 # --recheck option to rerun configure.
1895 # The following way of writing the cache mishandles newlines in values,
1896 # but we know of no workaround that is simple, portable, and efficient.
1897 # So, don't put newlines in cache variables' values.
1898 # Ultrix sh set writes to stderr and can't be redirected directly,
1899 # and sets the high bit in the cache file unless we assign to the vars.
1901 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1903 # `set' does not quote correctly, so add quotes (double-quote substitution
1904 # turns \\\\ into \\, and sed turns \\ into \).
1906 -e "s/'/'\\\\''/g" \
1907 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1910 # `set' quotes correctly as required by POSIX, so do not add quotes.
1911 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1914 if cmp -s $cache_file confcache; then
1917 if test -w $cache_file; then
1918 echo "updating cache $cache_file"
1919 cat confcache > $cache_file
1921 echo "not updating unwritable cache $cache_file"
1926 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1928 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1929 # Let make expand exec_prefix.
1930 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1932 # Any assignment to VPATH causes Sun make to only execute
1933 # the first set of double-colon rules, so remove it if not needed.
1934 # If there is a colon in the path, we need to keep it.
1935 if test "x$srcdir" = x.; then
1936 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1939 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1941 DEFS=-DHAVE_CONFIG_H
1943 # Without the "./", some shells look in PATH for config.status.
1944 : ${CONFIG_STATUS=./config.status}
1946 echo creating $CONFIG_STATUS
1947 rm -f $CONFIG_STATUS
1948 cat > $CONFIG_STATUS <<EOF
1950 # Generated automatically by configure.
1951 # Run this file to recreate the current configuration.
1952 # This directory was configured as follows,
1953 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1955 # $0 $ac_configure_args
1957 # Compiler output produced by configure, useful for debugging
1958 # configure, is in ./config.log if it exists.
1960 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1963 case "\$ac_option" in
1964 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1965 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1966 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1967 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1968 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1970 -help | --help | --hel | --he | --h)
1971 echo "\$ac_cs_usage"; exit 0 ;;
1972 *) echo "\$ac_cs_usage"; exit 1 ;;
1976 ac_given_srcdir=$srcdir
1977 ac_given_INSTALL="$INSTALL"
1979 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1981 cat >> $CONFIG_STATUS <<EOF
1983 # Protect against being on the right side of a sed subst in config.status.
1984 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1985 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1989 s%@CFLAGS@%$CFLAGS%g
1990 s%@CPPFLAGS@%$CPPFLAGS%g
1991 s%@CXXFLAGS@%$CXXFLAGS%g
1992 s%@FFLAGS@%$FFLAGS%g
1994 s%@LDFLAGS@%$LDFLAGS%g
1996 s%@exec_prefix@%$exec_prefix%g
1997 s%@prefix@%$prefix%g
1998 s%@program_transform_name@%$program_transform_name%g
1999 s%@bindir@%$bindir%g
2000 s%@sbindir@%$sbindir%g
2001 s%@libexecdir@%$libexecdir%g
2002 s%@datadir@%$datadir%g
2003 s%@sysconfdir@%$sysconfdir%g
2004 s%@sharedstatedir@%$sharedstatedir%g
2005 s%@localstatedir@%$localstatedir%g
2006 s%@libdir@%$libdir%g
2007 s%@includedir@%$includedir%g
2008 s%@oldincludedir@%$oldincludedir%g
2009 s%@infodir@%$infodir%g
2010 s%@mandir@%$mandir%g
2011 s%@MINIDOM_VERSION@%$MINIDOM_VERSION%g
2012 s%@MINIDOM_VERSION_INFO@%$MINIDOM_VERSION_INFO%g
2013 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2014 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2015 s%@INSTALL_DATA@%$INSTALL_DATA%g
2016 s%@PACKAGE@%$PACKAGE%g
2017 s%@VERSION@%$VERSION%g
2018 s%@ACLOCAL@%$ACLOCAL%g
2019 s%@AUTOCONF@%$AUTOCONF%g
2020 s%@AUTOMAKE@%$AUTOMAKE%g
2021 s%@AUTOHEADER@%$AUTOHEADER%g
2022 s%@MAKEINFO@%$MAKEINFO%g
2023 s%@SET_MAKE@%$SET_MAKE%g
2025 s%@host_alias@%$host_alias%g
2026 s%@host_cpu@%$host_cpu%g
2027 s%@host_vendor@%$host_vendor%g
2028 s%@host_os@%$host_os%g
2030 s%@build_alias@%$build_alias%g
2031 s%@build_cpu@%$build_cpu%g
2032 s%@build_vendor@%$build_vendor%g
2033 s%@build_os@%$build_os%g
2034 s%@RANLIB@%$RANLIB%g
2037 s%@LIBTOOL@%$LIBTOOL%g
2042 cat >> $CONFIG_STATUS <<\EOF
2044 # Split the substitutions into bite-sized pieces for seds with
2045 # small command number limits, like on Digital OSF/1 and HP-UX.
2046 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
2047 ac_file=1 # Number of current file.
2048 ac_beg=1 # First line for current file.
2049 ac_end=$ac_max_sed_cmds # Line after last line for current file.
2052 while $ac_more_lines; do
2053 if test $ac_beg -gt 1; then
2054 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
2056 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
2058 if test ! -s conftest.s$ac_file; then
2060 rm -f conftest.s$ac_file
2062 if test -z "$ac_sed_cmds"; then
2063 ac_sed_cmds="sed -f conftest.s$ac_file"
2065 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
2067 ac_file=`expr $ac_file + 1`
2069 ac_end=`expr $ac_end + $ac_max_sed_cmds`
2072 if test -z "$ac_sed_cmds"; then
2077 cat >> $CONFIG_STATUS <<EOF
2079 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
2081 cat >> $CONFIG_STATUS <<\EOF
2082 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2083 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2085 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2086 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2087 *) ac_file_in="${ac_file}.in" ;;
2090 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2092 # Remove last slash and all that follows it. Not all systems have dirname.
2093 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2094 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2095 # The file is in a subdirectory.
2096 test ! -d "$ac_dir" && mkdir "$ac_dir"
2097 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2098 # A "../" for each directory in $ac_dir_suffix.
2099 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2101 ac_dir_suffix= ac_dots=
2104 case "$ac_given_srcdir" in
2106 if test -z "$ac_dots"; then top_srcdir=.
2107 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2108 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2110 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2111 top_srcdir="$ac_dots$ac_given_srcdir" ;;
2114 case "$ac_given_INSTALL" in
2115 [/$]*) INSTALL="$ac_given_INSTALL" ;;
2116 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2119 echo creating "$ac_file"
2121 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2123 *Makefile*) ac_comsub="1i\\
2124 # $configure_input" ;;
2128 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2130 s%@configure_input@%$configure_input%g
2131 s%@srcdir@%$srcdir%g
2132 s%@top_srcdir@%$top_srcdir%g
2133 s%@INSTALL@%$INSTALL%g
2134 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
2138 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2139 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2141 # ac_d sets the value in "#define NAME VALUE" lines.
2142 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2143 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
2146 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2147 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2148 ac_uB='\([ ]\)%\1#\2define\3'
2151 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2152 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2153 ac_eB='$%\1#\2define\3'
2157 if test "${CONFIG_HEADERS+set}" != set; then
2159 cat >> $CONFIG_STATUS <<EOF
2160 CONFIG_HEADERS="config.h"
2162 cat >> $CONFIG_STATUS <<\EOF
2164 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
2165 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2167 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
2168 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2169 *) ac_file_in="${ac_file}.in" ;;
2172 echo creating $ac_file
2174 rm -f conftest.frag conftest.in conftest.out
2175 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2176 cat $ac_file_inputs > conftest.in
2180 # Transform confdefs.h into a sed script conftest.vals that substitutes
2181 # the proper values into config.h.in to produce config.h. And first:
2182 # Protect against being on the right side of a sed subst in config.status.
2183 # Protect against being in an unquoted here document in config.status.
2185 cat > conftest.hdr <<\EOF
2188 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2192 sed -n -f conftest.hdr confdefs.h > conftest.vals
2195 # This sed command replaces #undef with comments. This is necessary, for
2196 # example, in the case of _POSIX_SOURCE, which is predefined and required
2197 # on some systems where configure will not decide to define it.
2198 cat >> conftest.vals <<\EOF
2199 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2202 # Break up conftest.vals because some shells have a limit on
2203 # the size of here documents, and old seds have small limits too.
2208 ac_lines=`grep -c . conftest.vals`
2209 # grep -c gives empty output for an empty file on some AIX systems.
2210 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2211 # Write a limited-size here document to conftest.frag.
2212 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2213 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2215 sed -f conftest.frag conftest.in > conftest.out
2217 mv conftest.out conftest.in
2219 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2221 mv conftest.tail conftest.vals
2225 cat >> $CONFIG_STATUS <<\EOF
2226 rm -f conftest.frag conftest.h
2227 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2228 cat conftest.in >> conftest.h
2230 if cmp -s $ac_file conftest.h 2>/dev/null; then
2231 echo "$ac_file is unchanged"
2234 # Remove last slash and all that follows it. Not all systems have dirname.
2235 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2236 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2237 # The file is in a subdirectory.
2238 test ! -d "$ac_dir" && mkdir "$ac_dir"
2241 mv conftest.h $ac_file
2246 cat >> $CONFIG_STATUS <<EOF
2250 cat >> $CONFIG_STATUS <<\EOF
2251 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
2255 chmod +x $CONFIG_STATUS
2256 rm -fr confdefs* $ac_clean_files
2257 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1