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 --enable-maintainer-mode enable make rules and dependencies not useful
16 (and sometimes confusing) to the casual installer"
18 --enable-shared[=PKGS] build shared libraries [default=yes]"
20 --enable-static[=PKGS] build static libraries [default=yes]"
22 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
24 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
26 --disable-libtool-lock avoid locking (might break parallel builds)"
28 --enable-ltdl-install install libltdl"
30 # Initialize some variables set by options.
31 # The variables have the same names as the options, with
32 # dashes changed to underlines.
34 cache_file=./config.cache
43 program_transform_name=s,x,x,
52 bindir='${exec_prefix}/bin'
53 sbindir='${exec_prefix}/sbin'
54 libexecdir='${exec_prefix}/libexec'
55 datadir='${prefix}/share'
56 sysconfdir='${prefix}/etc'
57 sharedstatedir='${prefix}/com'
58 localstatedir='${prefix}/var'
59 libdir='${exec_prefix}/lib'
60 includedir='${prefix}/include'
61 oldincludedir='/usr/include'
62 infodir='${prefix}/info'
63 mandir='${prefix}/man'
65 # Initialize some other variables.
68 SHELL=${CONFIG_SHELL-/bin/sh}
69 # Maximum number of lines to put in a shell here document.
76 # If the previous option needs an argument, assign it.
77 if test -n "$ac_prev"; then
78 eval "$ac_prev=\$ac_option"
84 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
88 # Accept the important Cygnus configure options, so we can diagnose typos.
92 -bindir | --bindir | --bindi | --bind | --bin | --bi)
94 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
95 bindir="$ac_optarg" ;;
97 -build | --build | --buil | --bui | --bu)
99 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
100 build="$ac_optarg" ;;
102 -cache-file | --cache-file | --cache-fil | --cache-fi \
103 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
104 ac_prev=cache_file ;;
105 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
106 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
107 cache_file="$ac_optarg" ;;
109 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
111 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
113 datadir="$ac_optarg" ;;
115 -disable-* | --disable-*)
116 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
117 # Reject names that are not valid shell variable names.
118 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
119 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
121 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
122 eval "enable_${ac_feature}=no" ;;
124 -enable-* | --enable-*)
125 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
126 # Reject names that are not valid shell variable names.
127 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
128 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
130 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
135 eval "enable_${ac_feature}='$ac_optarg'" ;;
137 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
138 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
139 | --exec | --exe | --ex)
140 ac_prev=exec_prefix ;;
141 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
142 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
143 | --exec=* | --exe=* | --ex=*)
144 exec_prefix="$ac_optarg" ;;
146 -gas | --gas | --ga | --g)
147 # Obsolete; use --with-gas.
150 -help | --help | --hel | --he)
151 # Omit some internal or obsolete options to make the list less imposing.
152 # This message is too long to be a string in the A/UX 3.1 sh.
154 Usage: configure [options] [host]
155 Options: [defaults in brackets after descriptions]
157 --cache-file=FILE cache test results in FILE
158 --help print this message
159 --no-create do not create output files
160 --quiet, --silent do not print \`checking...' messages
161 --site-file=FILE use FILE as the site file
162 --version print the version of autoconf that created configure
163 Directory and file names:
164 --prefix=PREFIX install architecture-independent files in PREFIX
166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
168 --bindir=DIR user executables in DIR [EPREFIX/bin]
169 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
170 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
171 --datadir=DIR read-only architecture-independent data in DIR
173 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
174 --sharedstatedir=DIR modifiable architecture-independent data in DIR
176 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
177 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
178 --includedir=DIR C header files in DIR [PREFIX/include]
179 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
180 --infodir=DIR info documentation in DIR [PREFIX/info]
181 --mandir=DIR man documentation in DIR [PREFIX/man]
182 --srcdir=DIR find the sources in DIR [configure dir or ..]
183 --program-prefix=PREFIX prepend PREFIX to installed program names
184 --program-suffix=SUFFIX append SUFFIX to installed program names
185 --program-transform-name=PROGRAM
186 run sed PROGRAM on installed program names
190 --build=BUILD configure for building on BUILD [BUILD=HOST]
191 --host=HOST configure for HOST [guessed]
192 --target=TARGET configure for TARGET [TARGET=HOST]
193 Features and packages:
194 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
195 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
196 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
197 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
198 --x-includes=DIR X include files are in DIR
199 --x-libraries=DIR X library files are in DIR
201 if test -n "$ac_help"; then
202 echo "--enable and --with options recognized:$ac_help"
206 -host | --host | --hos | --ho)
208 -host=* | --host=* | --hos=* | --ho=*)
211 -includedir | --includedir | --includedi | --included | --include \
212 | --includ | --inclu | --incl | --inc)
213 ac_prev=includedir ;;
214 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
215 | --includ=* | --inclu=* | --incl=* | --inc=*)
216 includedir="$ac_optarg" ;;
218 -infodir | --infodir | --infodi | --infod | --info | --inf)
220 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
221 infodir="$ac_optarg" ;;
223 -libdir | --libdir | --libdi | --libd)
225 -libdir=* | --libdir=* | --libdi=* | --libd=*)
226 libdir="$ac_optarg" ;;
228 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
229 | --libexe | --libex | --libe)
230 ac_prev=libexecdir ;;
231 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
232 | --libexe=* | --libex=* | --libe=*)
233 libexecdir="$ac_optarg" ;;
235 -localstatedir | --localstatedir | --localstatedi | --localstated \
236 | --localstate | --localstat | --localsta | --localst \
237 | --locals | --local | --loca | --loc | --lo)
238 ac_prev=localstatedir ;;
239 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
240 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
241 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
242 localstatedir="$ac_optarg" ;;
244 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
246 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
247 mandir="$ac_optarg" ;;
250 # Obsolete; use --without-fp.
253 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
257 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
258 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
261 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
262 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
263 | --oldin | --oldi | --old | --ol | --o)
264 ac_prev=oldincludedir ;;
265 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
266 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
267 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
268 oldincludedir="$ac_optarg" ;;
270 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
272 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
273 prefix="$ac_optarg" ;;
275 -program-prefix | --program-prefix | --program-prefi | --program-pref \
276 | --program-pre | --program-pr | --program-p)
277 ac_prev=program_prefix ;;
278 -program-prefix=* | --program-prefix=* | --program-prefi=* \
279 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
280 program_prefix="$ac_optarg" ;;
282 -program-suffix | --program-suffix | --program-suffi | --program-suff \
283 | --program-suf | --program-su | --program-s)
284 ac_prev=program_suffix ;;
285 -program-suffix=* | --program-suffix=* | --program-suffi=* \
286 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
287 program_suffix="$ac_optarg" ;;
289 -program-transform-name | --program-transform-name \
290 | --program-transform-nam | --program-transform-na \
291 | --program-transform-n | --program-transform- \
292 | --program-transform | --program-transfor \
293 | --program-transfo | --program-transf \
294 | --program-trans | --program-tran \
295 | --progr-tra | --program-tr | --program-t)
296 ac_prev=program_transform_name ;;
297 -program-transform-name=* | --program-transform-name=* \
298 | --program-transform-nam=* | --program-transform-na=* \
299 | --program-transform-n=* | --program-transform-=* \
300 | --program-transform=* | --program-transfor=* \
301 | --program-transfo=* | --program-transf=* \
302 | --program-trans=* | --program-tran=* \
303 | --progr-tra=* | --program-tr=* | --program-t=*)
304 program_transform_name="$ac_optarg" ;;
306 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
307 | -silent | --silent | --silen | --sile | --sil)
310 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
312 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
314 sbindir="$ac_optarg" ;;
316 -sharedstatedir | --sharedstatedir | --sharedstatedi \
317 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
318 | --sharedst | --shareds | --shared | --share | --shar \
320 ac_prev=sharedstatedir ;;
321 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
322 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
323 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
325 sharedstatedir="$ac_optarg" ;;
327 -site | --site | --sit)
329 -site=* | --site=* | --sit=*)
332 -site-file | --site-file | --site-fil | --site-fi | --site-f)
334 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
335 sitefile="$ac_optarg" ;;
337 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
339 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
340 srcdir="$ac_optarg" ;;
342 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
343 | --syscon | --sysco | --sysc | --sys | --sy)
344 ac_prev=sysconfdir ;;
345 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
346 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
347 sysconfdir="$ac_optarg" ;;
349 -target | --target | --targe | --targ | --tar | --ta | --t)
351 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
352 target="$ac_optarg" ;;
354 -v | -verbose | --verbose | --verbos | --verbo | --verb)
357 -version | --version | --versio | --versi | --vers)
358 echo "configure generated by autoconf version 2.13"
362 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
363 # Reject names that are not valid shell variable names.
364 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
365 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
367 ac_package=`echo $ac_package| sed 's/-/_/g'`
372 eval "with_${ac_package}='$ac_optarg'" ;;
374 -without-* | --without-*)
375 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
376 # Reject names that are not valid shell variable names.
377 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
378 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
380 ac_package=`echo $ac_package| sed 's/-/_/g'`
381 eval "with_${ac_package}=no" ;;
384 # Obsolete; use --with-x.
387 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
388 | --x-incl | --x-inc | --x-in | --x-i)
389 ac_prev=x_includes ;;
390 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
391 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
392 x_includes="$ac_optarg" ;;
394 -x-libraries | --x-libraries | --x-librarie | --x-librari \
395 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
396 ac_prev=x_libraries ;;
397 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
398 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
399 x_libraries="$ac_optarg" ;;
401 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
405 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
406 echo "configure: warning: $ac_option: invalid host type" 1>&2
408 if test "x$nonopt" != xNONE; then
409 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
417 if test -n "$ac_prev"; then
418 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
421 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
423 # File descriptor usage:
426 # 2 errors and warnings
427 # 3 some systems may open it to /dev/tty
428 # 4 used on the Kubota Titan
429 # 6 checking for... messages and results
430 # 5 compiler messages saved in config.log
431 if test "$silent" = yes; then
439 This file contains any messages produced by compilers while
440 running configure, to aid debugging if configure makes a mistake.
443 # Strip out --no-create and --no-recursion so they do not pile up.
444 # Also quote any args containing shell metacharacters.
449 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
450 | --no-cr | --no-c) ;;
451 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
452 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
453 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
454 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
455 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
460 # Only set these to C if already set. These must not be set unconditionally
461 # because not all systems understand e.g. LANG=C (notably SCO).
462 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
463 # Non-C LC_CTYPE values break the ctype check.
464 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
465 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
466 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
467 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
469 # confdefs.h avoids OS command line length limits that DEFS can exceed.
470 rm -rf conftest* confdefs.h
471 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
474 # A filename unique to this package, relative to the directory that
475 # configure is in, which we can look for to find out if srcdir is correct.
476 ac_unique_file=ltdl.c
478 # Find the source files, if location was not specified.
479 if test -z "$srcdir"; then
480 ac_srcdir_defaulted=yes
481 # Try the directory containing this script, then its parent.
483 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
484 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
486 if test ! -r $srcdir/$ac_unique_file; then
490 ac_srcdir_defaulted=no
492 if test ! -r $srcdir/$ac_unique_file; then
493 if test "$ac_srcdir_defaulted" = yes; then
494 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
496 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
499 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
501 # Prefer explicitly selected file to automatically selected ones.
502 if test -z "$sitefile"; then
503 if test -z "$CONFIG_SITE"; then
504 if test "x$prefix" != xNONE; then
505 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
507 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
511 CONFIG_SITE="$sitefile"
513 for ac_site_file in $CONFIG_SITE; do
514 if test -r "$ac_site_file"; then
515 echo "loading site script $ac_site_file"
520 if test -r "$cache_file"; then
521 echo "loading cache $cache_file"
524 echo "creating cache $cache_file"
529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
530 ac_cpp='$CPP $CPPFLAGS'
531 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
532 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
533 cross_compiling=$ac_cv_prog_cc_cross
537 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
538 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
539 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
546 ac_n= ac_c='\c' ac_t=
551 for ac_dir in ../../../config $srcdir/../../../config; do
552 if test -f $ac_dir/install-sh; then
554 ac_install_sh="$ac_aux_dir/install-sh -c"
556 elif test -f $ac_dir/install.sh; then
558 ac_install_sh="$ac_aux_dir/install.sh -c"
562 if test -z "$ac_aux_dir"; then
563 { echo "configure: error: can not find install-sh or install.sh in ../../../config $srcdir/../../../config" 1>&2; exit 1; }
565 ac_config_guess=$ac_aux_dir/config.guess
566 ac_config_sub=$ac_aux_dir/config.sub
567 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
570 if test -z "$enable_ltdl_install$enable_ltdl_convenience"; then
571 if test -f ${srcdir}/ltconfig && test -f ${srcdir}/ltmain.sh; then
572 # if libltdl is libtoolized, it is assumed to be stand-alone and
573 # installed unless the command line overrides it (tested above)
574 enable_ltdl_install=yes
576 echo "configure: warning: *** The top-level configure must select either" 1>&2
577 echo "configure: warning: *** A""C_LIBLTDL_INSTALLABLE or A""C_LIBLTDL_CONVENIENCE." 1>&2
578 { echo "configure: error: *** Maybe you want to --enable-ltdl-install?" 1>&2; exit 1; }
582 # Find a good install program. We prefer a C program (faster),
583 # so one script is as good as another. But avoid the broken or
584 # incompatible versions:
585 # SysV /etc/install, /usr/sbin/install
586 # SunOS /usr/etc/install
589 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
590 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
591 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
592 # ./install, which can be erroneously created by make from ./install.sh.
593 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
594 echo "configure:595: checking for a BSD compatible install" >&5
595 if test -z "$INSTALL"; then
596 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
597 echo $ac_n "(cached) $ac_c" 1>&6
599 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
600 for ac_dir in $PATH; do
601 # Account for people who put trailing slashes in PATH elements.
603 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
605 # OSF1 and SCO ODT 3.0 have their own names for install.
606 # Don't use installbsd from OSF since it installs stuff as root
608 for ac_prog in ginstall scoinst install; do
609 if test -f $ac_dir/$ac_prog; then
610 if test $ac_prog = install &&
611 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
612 # AIX install. It has an incompatible calling convention.
615 ac_cv_path_install="$ac_dir/$ac_prog -c"
626 if test "${ac_cv_path_install+set}" = set; then
627 INSTALL="$ac_cv_path_install"
629 # As a last resort, use the slow shell script. We don't cache a
630 # path for INSTALL within a source directory, because that will
631 # break other packages using the cache if that directory is
632 # removed, or if the path is relative.
633 INSTALL="$ac_install_sh"
636 echo "$ac_t""$INSTALL" 1>&6
638 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
639 # It thinks the first close brace ends the variable substitution.
640 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
642 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
644 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
646 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
647 echo "configure:648: checking whether build environment is sane" >&5
650 echo timestamp > conftestfile
651 # Do `set' in a subshell so we don't clobber the current shell's
652 # arguments. Must try -L first in case configure is actually a
653 # symlink; some systems play weird games with the mod time of symlinks
654 # (eg FreeBSD returns the mod time of the symlink's containing
657 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
658 if test "$*" = "X"; then
660 set X `ls -t $srcdir/configure conftestfile`
662 if test "$*" != "X $srcdir/configure conftestfile" \
663 && test "$*" != "X conftestfile $srcdir/configure"; then
665 # If neither matched, then we have a broken ls. This can happen
666 # if, for instance, CONFIG_SHELL is bash and it inherits a
667 # broken ls alias from the environment. This has actually
668 # happened. Such a system could not be considered "sane".
669 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
670 alias in your environment" 1>&2; exit 1; }
673 test "$2" = conftestfile
679 { echo "configure: error: newly created file is older than distributed files!
680 Check your system clock" 1>&2; exit 1; }
683 echo "$ac_t""yes" 1>&6
684 if test "$program_transform_name" = s,x,x,; then
685 program_transform_name=
687 # Double any \ or $. echo might interpret backslashes.
688 cat <<\EOF_SED > conftestsed
689 s,\\,\\\\,g; s,\$,$$,g
691 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
694 test "$program_prefix" != NONE &&
695 program_transform_name="s,^,${program_prefix},; $program_transform_name"
696 # Use a double $ so make ignores it.
697 test "$program_suffix" != NONE &&
698 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
700 # sed with no file args requires a program.
701 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
703 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
704 echo "configure:705: checking whether ${MAKE-make} sets \${MAKE}" >&5
705 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
706 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
707 echo $ac_n "(cached) $ac_c" 1>&6
709 cat > conftestmake <<\EOF
711 @echo 'ac_maketemp="${MAKE}"'
713 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
714 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
715 if test -n "$ac_maketemp"; then
716 eval ac_cv_prog_make_${ac_make}_set=yes
718 eval ac_cv_prog_make_${ac_make}_set=no
722 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
723 echo "$ac_t""yes" 1>&6
726 echo "$ac_t""no" 1>&6
727 SET_MAKE="MAKE=${MAKE-make}"
735 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
736 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
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 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
812 echo "configure:813: checking whether to enable maintainer-specific portions of Makefiles" >&5
813 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
814 if test "${enable_maintainer_mode+set}" = set; then
815 enableval="$enable_maintainer_mode"
816 USE_MAINTAINER_MODE=$enableval
818 USE_MAINTAINER_MODE=no
821 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
824 if test $USE_MAINTAINER_MODE = yes; then
825 MAINTAINER_MODE_TRUE=
826 MAINTAINER_MODE_FALSE='#'
828 MAINTAINER_MODE_TRUE='#'
829 MAINTAINER_MODE_FALSE=
831 MAINT=$MAINTAINER_MODE_TRUE
835 # Extract the first word of "gcc", so it can be a program name with args.
836 set dummy gcc; ac_word=$2
837 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
838 echo "configure:839: checking for $ac_word" >&5
839 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
840 echo $ac_n "(cached) $ac_c" 1>&6
842 if test -n "$CC"; then
843 ac_cv_prog_CC="$CC" # Let the user override the test.
845 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
847 for ac_dir in $ac_dummy; do
848 test -z "$ac_dir" && ac_dir=.
849 if test -f $ac_dir/$ac_word; then
858 if test -n "$CC"; then
859 echo "$ac_t""$CC" 1>&6
861 echo "$ac_t""no" 1>&6
864 if test -z "$CC"; then
865 # Extract the first word of "cc", so it can be a program name with args.
866 set dummy cc; ac_word=$2
867 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
868 echo "configure:869: checking for $ac_word" >&5
869 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
870 echo $ac_n "(cached) $ac_c" 1>&6
872 if test -n "$CC"; then
873 ac_cv_prog_CC="$CC" # Let the user override the test.
875 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
878 for ac_dir in $ac_dummy; do
879 test -z "$ac_dir" && ac_dir=.
880 if test -f $ac_dir/$ac_word; then
881 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
890 if test $ac_prog_rejected = yes; then
891 # We found a bogon in the path, so make sure we never use it.
892 set dummy $ac_cv_prog_CC
894 if test $# -gt 0; then
895 # We chose a different compiler from the bogus one.
896 # However, it has the same basename, so the bogon will be chosen
897 # first if we set CC to just the basename; use the full file name.
899 set dummy "$ac_dir/$ac_word" "$@"
907 if test -n "$CC"; then
908 echo "$ac_t""$CC" 1>&6
910 echo "$ac_t""no" 1>&6
913 if test -z "$CC"; then
916 # Extract the first word of "cl", so it can be a program name with args.
917 set dummy cl; ac_word=$2
918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
919 echo "configure:920: checking for $ac_word" >&5
920 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
921 echo $ac_n "(cached) $ac_c" 1>&6
923 if test -n "$CC"; then
924 ac_cv_prog_CC="$CC" # Let the user override the test.
926 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
928 for ac_dir in $ac_dummy; do
929 test -z "$ac_dir" && ac_dir=.
930 if test -f $ac_dir/$ac_word; then
939 if test -n "$CC"; then
940 echo "$ac_t""$CC" 1>&6
942 echo "$ac_t""no" 1>&6
947 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
950 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
951 echo "configure:952: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
954 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
955 ac_cpp='$CPP $CPPFLAGS'
956 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
957 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
958 cross_compiling=$ac_cv_prog_cc_cross
960 cat > conftest.$ac_ext << EOF
962 #line 963 "configure"
963 #include "confdefs.h"
967 if { (eval echo configure:968: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
968 ac_cv_prog_cc_works=yes
969 # If we can't run a trivial program, we are probably using a cross compiler.
970 if (./conftest; exit) 2>/dev/null; then
971 ac_cv_prog_cc_cross=no
973 ac_cv_prog_cc_cross=yes
976 echo "configure: failed program was:" >&5
977 cat conftest.$ac_ext >&5
978 ac_cv_prog_cc_works=no
982 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
983 ac_cpp='$CPP $CPPFLAGS'
984 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
985 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
986 cross_compiling=$ac_cv_prog_cc_cross
988 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
989 if test $ac_cv_prog_cc_works = no; then
990 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
992 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
993 echo "configure:994: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
994 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
995 cross_compiling=$ac_cv_prog_cc_cross
997 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
998 echo "configure:999: checking whether we are using GNU C" >&5
999 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1000 echo $ac_n "(cached) $ac_c" 1>&6
1002 cat > conftest.c <<EOF
1007 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1008: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1014 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1016 if test $ac_cv_prog_gcc = yes; then
1022 ac_test_CFLAGS="${CFLAGS+set}"
1023 ac_save_CFLAGS="$CFLAGS"
1025 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1026 echo "configure:1027: checking whether ${CC-cc} accepts -g" >&5
1027 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1028 echo $ac_n "(cached) $ac_c" 1>&6
1030 echo 'void f(){}' > conftest.c
1031 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1040 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1041 if test "$ac_test_CFLAGS" = set; then
1042 CFLAGS="$ac_save_CFLAGS"
1043 elif test $ac_cv_prog_cc_g = yes; then
1044 if test "$GCC" = yes; then
1050 if test "$GCC" = yes; then
1057 echo $ac_n "checking for working const""... $ac_c" 1>&6
1058 echo "configure:1059: checking for working const" >&5
1059 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1060 echo $ac_n "(cached) $ac_c" 1>&6
1062 cat > conftest.$ac_ext <<EOF
1063 #line 1064 "configure"
1064 #include "confdefs.h"
1068 /* Ultrix mips cc rejects this. */
1069 typedef int charset[2]; const charset x;
1070 /* SunOS 4.1.1 cc rejects this. */
1071 char const *const *ccp;
1073 /* NEC SVR4.0.2 mips cc rejects this. */
1074 struct point {int x, y;};
1075 static struct point const zero = {0,0};
1076 /* AIX XL C 1.02.0.0 rejects this.
1077 It does not let you subtract one const X* pointer from another in an arm
1078 of an if-expression whose if-part is not a constant expression */
1079 const char *g = "string";
1080 ccp = &g + (g ? g-g : 0);
1081 /* HPUX 7.0 cc rejects these. */
1084 ccp = (char const *const *) p;
1085 { /* SCO 3.2v4 cc rejects this. */
1087 char const *s = 0 ? (char *) 0 : (char const *) 0;
1091 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1093 const int *foo = &x[0];
1096 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1097 typedef const int *iptr;
1101 { /* AIX XL C 1.02.0.0 rejects this saying
1102 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1103 struct s { int j; const int *ap[3]; };
1104 struct s *b; b->j = 5;
1106 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1112 if { (eval echo configure:1113: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1116 echo "configure: failed program was:" >&5
1117 cat conftest.$ac_ext >&5
1124 echo "$ac_t""$ac_cv_c_const" 1>&6
1125 if test $ac_cv_c_const = no; then
1126 cat >> confdefs.h <<\EOF
1132 echo $ac_n "checking for inline""... $ac_c" 1>&6
1133 echo "configure:1134: checking for inline" >&5
1134 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
1135 echo $ac_n "(cached) $ac_c" 1>&6
1138 for ac_kw in inline __inline__ __inline; do
1139 cat > conftest.$ac_ext <<EOF
1140 #line 1141 "configure"
1141 #include "confdefs.h"
1147 if { (eval echo configure:1148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1149 ac_cv_c_inline=$ac_kw; break
1151 echo "configure: failed program was:" >&5
1152 cat conftest.$ac_ext >&5
1159 echo "$ac_t""$ac_cv_c_inline" 1>&6
1160 case "$ac_cv_c_inline" in
1162 no) cat >> confdefs.h <<\EOF
1166 *) cat >> confdefs.h <<EOF
1167 #define inline $ac_cv_c_inline
1174 # Check whether --enable-shared or --disable-shared was given.
1175 if test "${enable_shared+set}" = set; then
1176 enableval="$enable_shared"
1177 p=${PACKAGE-default}
1178 case "$enableval" in
1179 yes) enable_shared=yes ;;
1180 no) enable_shared=no ;;
1183 # Look at the argument we got. We use all the common list separators.
1184 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1185 for pkg in $enableval; do
1186 if test "X$pkg" = "X$p"; then
1197 # Check whether --enable-static or --disable-static was given.
1198 if test "${enable_static+set}" = set; then
1199 enableval="$enable_static"
1200 p=${PACKAGE-default}
1201 case "$enableval" in
1202 yes) enable_static=yes ;;
1203 no) enable_static=no ;;
1206 # Look at the argument we got. We use all the common list separators.
1207 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1208 for pkg in $enableval; do
1209 if test "X$pkg" = "X$p"; then
1220 # Check whether --enable-fast-install or --disable-fast-install was given.
1221 if test "${enable_fast_install+set}" = set; then
1222 enableval="$enable_fast_install"
1223 p=${PACKAGE-default}
1224 case "$enableval" in
1225 yes) enable_fast_install=yes ;;
1226 no) enable_fast_install=no ;;
1228 enable_fast_install=no
1229 # Look at the argument we got. We use all the common list separators.
1230 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1231 for pkg in $enableval; do
1232 if test "X$pkg" = "X$p"; then
1233 enable_fast_install=yes
1240 enable_fast_install=yes
1244 # Make sure we can run config.sub.
1245 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1246 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1249 echo $ac_n "checking host system type""... $ac_c" 1>&6
1250 echo "configure:1251: checking host system type" >&5
1253 case "$host_alias" in
1257 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1258 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1260 *) host_alias=$nonopt ;;
1264 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1265 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1266 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1267 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1268 echo "$ac_t""$host" 1>&6
1270 echo $ac_n "checking build system type""... $ac_c" 1>&6
1271 echo "configure:1272: checking build system type" >&5
1274 case "$build_alias" in
1277 NONE) build_alias=$host_alias ;;
1278 *) build_alias=$nonopt ;;
1282 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1283 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1284 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1285 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1286 echo "$ac_t""$build" 1>&6
1288 # Extract the first word of "ranlib", so it can be a program name with args.
1289 set dummy ranlib; ac_word=$2
1290 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1291 echo "configure:1292: checking for $ac_word" >&5
1292 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1293 echo $ac_n "(cached) $ac_c" 1>&6
1295 if test -n "$RANLIB"; then
1296 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1298 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1300 for ac_dir in $ac_dummy; do
1301 test -z "$ac_dir" && ac_dir=.
1302 if test -f $ac_dir/$ac_word; then
1303 ac_cv_prog_RANLIB="ranlib"
1308 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1311 RANLIB="$ac_cv_prog_RANLIB"
1312 if test -n "$RANLIB"; then
1313 echo "$ac_t""$RANLIB" 1>&6
1315 echo "$ac_t""no" 1>&6
1318 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1319 if test "${with_gnu_ld+set}" = set; then
1320 withval="$with_gnu_ld"
1321 test "$withval" = no || with_gnu_ld=yes
1327 if test "$ac_cv_prog_gcc" = yes; then
1328 # Check if gcc -print-prog-name=ld gives a path.
1329 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1330 echo "configure:1331: checking for ld used by GCC" >&5
1331 ac_prog=`($CC -print-prog-name=ld) 2>&5`
1333 # Accept absolute paths.
1334 [\\/]* | [A-Za-z]:[\\/]*)
1335 re_direlt='/[^/][^/]*/\.\./'
1336 # Canonicalize the path of ld
1337 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1338 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1339 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1341 test -z "$LD" && LD="$ac_prog"
1344 # If it fails, then pretend we aren't using GCC.
1348 # If it is relative, then search for the first ld in PATH.
1352 elif test "$with_gnu_ld" = yes; then
1353 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1354 echo "configure:1355: checking for GNU ld" >&5
1356 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1357 echo "configure:1358: checking for non-GNU ld" >&5
1359 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1360 echo $ac_n "(cached) $ac_c" 1>&6
1362 if test -z "$LD"; then
1363 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1364 for ac_dir in $PATH; do
1365 test -z "$ac_dir" && ac_dir=.
1366 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1367 ac_cv_path_LD="$ac_dir/$ac_prog"
1368 # Check to see if the program is GNU ld. I'd rather use --version,
1369 # but apparently some GNU ld's only accept -v.
1370 # Break only if it was the GNU/non-GNU ld that we prefer.
1371 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1372 test "$with_gnu_ld" != no && break
1374 test "$with_gnu_ld" != yes && break
1380 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1385 if test -n "$LD"; then
1386 echo "$ac_t""$LD" 1>&6
1388 echo "$ac_t""no" 1>&6
1390 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1392 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1393 echo "configure:1394: checking if the linker ($LD) is GNU ld" >&5
1394 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1395 echo $ac_n "(cached) $ac_c" 1>&6
1397 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1398 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1399 ac_cv_prog_gnu_ld=yes
1401 ac_cv_prog_gnu_ld=no
1405 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1408 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1409 echo "configure:1410: checking for BSD-compatible nm" >&5
1410 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1411 echo $ac_n "(cached) $ac_c" 1>&6
1413 if test -n "$NM"; then
1414 # Let the user override the test.
1417 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1418 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1419 test -z "$ac_dir" && ac_dir=.
1420 if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
1421 # Check to see if the nm accepts a BSD-compat flag.
1422 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1423 # nm: unknown option "B" ignored
1424 if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1425 ac_cv_path_NM="$ac_dir/nm -B"
1427 elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1428 ac_cv_path_NM="$ac_dir/nm -p"
1431 ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
1432 continue # so that we can try to find one that supports BSD flags
1437 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1442 echo "$ac_t""$NM" 1>&6
1445 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1446 echo "configure:1447: checking whether ln -s works" >&5
1447 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1448 echo $ac_n "(cached) $ac_c" 1>&6
1451 if ln -s X conftestdata 2>/dev/null
1454 ac_cv_prog_LN_S="ln -s"
1459 LN_S="$ac_cv_prog_LN_S"
1460 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1461 echo "$ac_t""yes" 1>&6
1463 echo "$ac_t""no" 1>&6
1466 if test $host != $build; then
1467 ac_tool_prefix=${host_alias}-
1473 # Check for any special flags to pass to ltconfig.
1474 libtool_flags="--cache-file=$cache_file"
1475 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
1476 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
1477 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
1478 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
1479 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
1481 libtool_flags="$libtool_flags --enable-win32-dll"
1482 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1483 if test "${enable_libtool_lock+set}" = set; then
1484 enableval="$enable_libtool_lock"
1488 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
1489 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
1491 # Some flags need to be propagated to the compiler or linker for good
1495 # Find out which ABI we are using.
1496 echo '#line 1497 "configure"' > conftest.$ac_ext
1497 if { (eval echo configure:1498: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1498 case "`/usr/bin/file conftest.o`" in
1514 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1515 SAVE_CFLAGS="$CFLAGS"
1516 CFLAGS="$CFLAGS -belf"
1517 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1518 echo "configure:1519: checking whether the C compiler needs -belf" >&5
1519 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1520 echo $ac_n "(cached) $ac_c" 1>&6
1522 cat > conftest.$ac_ext <<EOF
1523 #line 1524 "configure"
1524 #include "confdefs.h"
1530 if { (eval echo configure:1531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1532 lt_cv_cc_needs_belf=yes
1534 echo "configure: failed program was:" >&5
1535 cat conftest.$ac_ext >&5
1537 lt_cv_cc_needs_belf=no
1542 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
1543 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1544 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1545 CFLAGS="$SAVE_CFLAGS"
1549 *-*-cygwin* | *-*-mingw*)
1550 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
1551 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
1552 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1553 echo "configure:1554: checking for $ac_word" >&5
1554 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
1555 echo $ac_n "(cached) $ac_c" 1>&6
1557 if test -n "$DLLTOOL"; then
1558 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1560 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1562 for ac_dir in $ac_dummy; do
1563 test -z "$ac_dir" && ac_dir=.
1564 if test -f $ac_dir/$ac_word; then
1565 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
1572 DLLTOOL="$ac_cv_prog_DLLTOOL"
1573 if test -n "$DLLTOOL"; then
1574 echo "$ac_t""$DLLTOOL" 1>&6
1576 echo "$ac_t""no" 1>&6
1580 if test -z "$ac_cv_prog_DLLTOOL"; then
1581 if test -n "$ac_tool_prefix"; then
1582 # Extract the first word of "dlltool", so it can be a program name with args.
1583 set dummy dlltool; ac_word=$2
1584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1585 echo "configure:1586: checking for $ac_word" >&5
1586 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
1587 echo $ac_n "(cached) $ac_c" 1>&6
1589 if test -n "$DLLTOOL"; then
1590 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
1592 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1594 for ac_dir in $ac_dummy; do
1595 test -z "$ac_dir" && ac_dir=.
1596 if test -f $ac_dir/$ac_word; then
1597 ac_cv_prog_DLLTOOL="dlltool"
1602 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
1605 DLLTOOL="$ac_cv_prog_DLLTOOL"
1606 if test -n "$DLLTOOL"; then
1607 echo "$ac_t""$DLLTOOL" 1>&6
1609 echo "$ac_t""no" 1>&6
1617 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1618 set dummy ${ac_tool_prefix}as; ac_word=$2
1619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1620 echo "configure:1621: checking for $ac_word" >&5
1621 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1622 echo $ac_n "(cached) $ac_c" 1>&6
1624 if test -n "$AS"; then
1625 ac_cv_prog_AS="$AS" # Let the user override the test.
1627 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1629 for ac_dir in $ac_dummy; do
1630 test -z "$ac_dir" && ac_dir=.
1631 if test -f $ac_dir/$ac_word; then
1632 ac_cv_prog_AS="${ac_tool_prefix}as"
1640 if test -n "$AS"; then
1641 echo "$ac_t""$AS" 1>&6
1643 echo "$ac_t""no" 1>&6
1647 if test -z "$ac_cv_prog_AS"; then
1648 if test -n "$ac_tool_prefix"; then
1649 # Extract the first word of "as", so it can be a program name with args.
1650 set dummy as; ac_word=$2
1651 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1652 echo "configure:1653: checking for $ac_word" >&5
1653 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1654 echo $ac_n "(cached) $ac_c" 1>&6
1656 if test -n "$AS"; then
1657 ac_cv_prog_AS="$AS" # Let the user override the test.
1659 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1661 for ac_dir in $ac_dummy; do
1662 test -z "$ac_dir" && ac_dir=.
1663 if test -f $ac_dir/$ac_word; then
1669 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
1673 if test -n "$AS"; then
1674 echo "$ac_t""$AS" 1>&6
1676 echo "$ac_t""no" 1>&6
1684 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
1685 set dummy ${ac_tool_prefix}objdump; ac_word=$2
1686 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1687 echo "configure:1688: checking for $ac_word" >&5
1688 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
1689 echo $ac_n "(cached) $ac_c" 1>&6
1691 if test -n "$OBJDUMP"; then
1692 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
1694 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1696 for ac_dir in $ac_dummy; do
1697 test -z "$ac_dir" && ac_dir=.
1698 if test -f $ac_dir/$ac_word; then
1699 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
1706 OBJDUMP="$ac_cv_prog_OBJDUMP"
1707 if test -n "$OBJDUMP"; then
1708 echo "$ac_t""$OBJDUMP" 1>&6
1710 echo "$ac_t""no" 1>&6
1714 if test -z "$ac_cv_prog_OBJDUMP"; then
1715 if test -n "$ac_tool_prefix"; then
1716 # Extract the first word of "objdump", so it can be a program name with args.
1717 set dummy objdump; ac_word=$2
1718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1719 echo "configure:1720: checking for $ac_word" >&5
1720 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
1721 echo $ac_n "(cached) $ac_c" 1>&6
1723 if test -n "$OBJDUMP"; then
1724 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
1726 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1728 for ac_dir in $ac_dummy; do
1729 test -z "$ac_dir" && ac_dir=.
1730 if test -f $ac_dir/$ac_word; then
1731 ac_cv_prog_OBJDUMP="objdump"
1736 test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"
1739 OBJDUMP="$ac_cv_prog_OBJDUMP"
1740 if test -n "$OBJDUMP"; then
1741 echo "$ac_t""$OBJDUMP" 1>&6
1743 echo "$ac_t""no" 1>&6
1756 # Save cache, so that ltconfig can load it
1757 cat > confcache <<\EOF
1758 # This file is a shell script that caches the results of configure
1759 # tests run on this system so they can be shared between configure
1760 # scripts and configure runs. It is not useful on other systems.
1761 # If it contains results you don't want to keep, you may remove or edit it.
1763 # By default, configure uses ./config.cache as the cache file,
1764 # creating it if it does not exist already. You can give configure
1765 # the --cache-file=FILE option to use a different cache file; that is
1766 # what configure does when it calls configure scripts in
1767 # subdirectories, so they share the cache.
1768 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1769 # config.status only pays attention to the cache file if you give it the
1770 # --recheck option to rerun configure.
1773 # The following way of writing the cache mishandles newlines in values,
1774 # but we know of no workaround that is simple, portable, and efficient.
1775 # So, don't put newlines in cache variables' values.
1776 # Ultrix sh set writes to stderr and can't be redirected directly,
1777 # and sets the high bit in the cache file unless we assign to the vars.
1779 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1781 # `set' does not quote correctly, so add quotes (double-quote substitution
1782 # turns \\\\ into \\, and sed turns \\ into \).
1784 -e "s/'/'\\\\''/g" \
1785 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1788 # `set' quotes correctly as required by POSIX, so do not add quotes.
1789 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1792 if cmp -s $cache_file confcache; then
1795 if test -w $cache_file; then
1796 echo "updating cache $cache_file"
1797 cat confcache > $cache_file
1799 echo "not updating unwritable cache $cache_file"
1804 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1805 set dummy ${ac_tool_prefix}ar; ac_word=$2
1806 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1807 echo "configure:1808: checking for $ac_word" >&5
1808 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1809 echo $ac_n "(cached) $ac_c" 1>&6
1811 if test -n "$AR"; then
1812 ac_cv_prog_AR="$AR" # Let the user override the test.
1814 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1816 for ac_dir in $ac_dummy; do
1817 test -z "$ac_dir" && ac_dir=.
1818 if test -f $ac_dir/$ac_word; then
1819 ac_cv_prog_AR="${ac_tool_prefix}ar"
1824 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1828 if test -n "$AR"; then
1829 echo "$ac_t""$AR" 1>&6
1831 echo "$ac_t""no" 1>&6
1837 # Actually configure libtool. ac_aux_dir is where install-sh is found.
1838 AR="$AR" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
1839 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
1840 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
1841 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
1842 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
1843 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
1844 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1846 # Reload cache, that may have been modified by ltconfig
1847 if test -r "$cache_file"; then
1848 echo "loading cache $cache_file"
1851 echo "creating cache $cache_file"
1856 # This can be used to rebuild libtool when needed
1857 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
1859 # Always use our own libtool.
1860 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1862 # Redirect the config.log output again, so that the ltconfig log is not
1863 # clobbered by the next message.
1864 exec 5>>./config.log
1868 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1869 echo "configure:1870: checking how to run the C preprocessor" >&5
1870 # On Suns, sometimes $CPP names a directory.
1871 if test -n "$CPP" && test -d "$CPP"; then
1874 if test -z "$CPP"; then
1875 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1876 echo $ac_n "(cached) $ac_c" 1>&6
1878 # This must be in double quotes, not single quotes, because CPP may get
1879 # substituted into the Makefile and "${CC-cc}" will confuse make.
1881 # On the NeXT, cc -E runs the code through the compiler's parser,
1882 # not just through cpp.
1883 cat > conftest.$ac_ext <<EOF
1884 #line 1885 "configure"
1885 #include "confdefs.h"
1889 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1890 { (eval echo configure:1891: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1891 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1892 if test -z "$ac_err"; then
1896 echo "configure: failed program was:" >&5
1897 cat conftest.$ac_ext >&5
1899 CPP="${CC-cc} -E -traditional-cpp"
1900 cat > conftest.$ac_ext <<EOF
1901 #line 1902 "configure"
1902 #include "confdefs.h"
1906 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1907 { (eval echo configure:1908: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1908 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1909 if test -z "$ac_err"; then
1913 echo "configure: failed program was:" >&5
1914 cat conftest.$ac_ext >&5
1916 CPP="${CC-cc} -nologo -E"
1917 cat > conftest.$ac_ext <<EOF
1918 #line 1919 "configure"
1919 #include "confdefs.h"
1923 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1924 { (eval echo configure:1925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1925 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1926 if test -z "$ac_err"; then
1930 echo "configure: failed program was:" >&5
1931 cat conftest.$ac_ext >&5
1940 ac_cv_prog_CPP="$CPP"
1942 CPP="$ac_cv_prog_CPP"
1944 ac_cv_prog_CPP="$CPP"
1946 echo "$ac_t""$CPP" 1>&6
1948 # Read the libtool configuration
1950 ./libtool --config > conftest
1954 # Check for command to grab the raw symbol name followed by C symbol from nm.
1955 echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
1956 echo "configure:1957: checking command to parse $NM output" >&5
1957 if eval "test \"`echo '$''{'ac_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
1958 echo $ac_n "(cached) $ac_c" 1>&6
1960 # These are sane defaults that work on at least a few old systems.
1961 # {They come from Ultrix. What could be older than Ultrix?!! ;)}
1963 # Character class describing NM global symbol codes.
1964 ac_symcode='[BCDEGRST]'
1966 # Regexp to match symbols that can be accessed directly from C.
1967 ac_sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
1969 # Transform the above into a raw symbol and a C symbol.
1970 ac_symxfrm='\1 \2\3 \3'
1972 # Transform an extracted symbol line into a proper C declaration
1973 ac_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
1975 # Define system-specific variables.
1981 ac_symcode='[ABCDGISTW]'
1984 ac_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^. .* \(.*\)$/extern char \1;/p'"
1987 ac_symcode='[BCDEGRST]'
1994 # If we're using GNU nm, then use its standard symbol codes.
1995 if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
1996 ac_symcode='[ABCDGISTW]'
1999 # Try without a prefix undercore, then with it.
2000 for ac_symprfx in "" "_"; do
2002 ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* \($ac_symcode\) *\($ac_symprfx\)$ac_sympat$/$ac_symxfrm/p'"
2004 # Check to see that the pipe works correctly.
2006 rm -f conftest.$ac_ext
2007 cat > conftest.$ac_ext <<EOF
2012 void nm_test_func(){}
2016 int main(){nm_test_var='a';nm_test_func;return 0;}
2019 if { (eval echo configure:2020: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2020 # Now try to grab the symbols.
2021 ac_nlist=conftest.nm
2023 if { (eval echo configure:2024: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then
2025 # Try sorting and uniquifying the output.
2026 if sort "$ac_nlist" | uniq > "$ac_nlist"T; then
2027 mv -f "$ac_nlist"T "$ac_nlist"
2032 # Make sure that we snagged all the symbols we need.
2033 if egrep ' nm_test_var$' "$ac_nlist" >/dev/null; then
2034 if egrep ' nm_test_func$' "$ac_nlist" >/dev/null; then
2035 cat <<EOF > conftest.c
2041 # Now generate the symbol file.
2042 eval "$ac_global_symbol_to_cdecl"' < "$ac_nlist" >> conftest.c'
2044 cat <<EOF >> conftest.c
2045 #if defined (__STDC__) && __STDC__
2046 # define lt_ptr_t void *
2048 # define lt_ptr_t char *
2052 /* The mapping between symbol names and symbols. */
2057 lt_preloaded_symbols[] =
2060 sed 's/^. \(.*\) \(.*\)$/ {"\2", (lt_ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
2061 cat <<\EOF >> conftest.c
2069 # Now try linking the two files.
2070 mv conftest.$ac_objext conftstm.$ac_objext
2071 ac_save_LIBS="$LIBS"
2072 ac_save_CFLAGS="$CFLAGS"
2073 LIBS="conftstm.$ac_objext"
2074 CFLAGS="$CFLAGS$no_builtin_flag"
2075 if { (eval echo configure:2076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
2078 echo "configure: failed program was:" >&5
2081 LIBS="$ac_save_LIBS"
2082 CFLAGS="$ac_save_CFLAGS"
2084 echo "cannot find nm_test_func in $ac_nlist" >&5
2087 echo "cannot find nm_test_var in $ac_nlist" >&5
2090 echo "cannot run $ac_cv_sys_global_symbol_pipe" >&5
2093 echo "$progname: failed program was:" >&5
2096 rm -rf conftest* conftst*
2098 # Do not use the global_symbol_pipe unless it works.
2099 if test "$ac_pipe_works" = yes; then
2100 if test x"$ac_symprfx" = x"_"; then
2101 ac_cv_sys_symbol_underscore=yes
2103 ac_cv_sys_symbol_underscore=no
2107 ac_cv_sys_global_symbol_pipe=
2115 if test -z "$ac_cv_sys_global_symbol_pipe"; then
2118 echo "$ac_t""$ac_result" 1>&6
2120 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2121 echo "configure:2122: checking for ANSI C header files" >&5
2122 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2123 echo $ac_n "(cached) $ac_c" 1>&6
2125 cat > conftest.$ac_ext <<EOF
2126 #line 2127 "configure"
2127 #include "confdefs.h"
2133 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2134 { (eval echo configure:2135: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2135 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2136 if test -z "$ac_err"; then
2138 ac_cv_header_stdc=yes
2141 echo "configure: failed program was:" >&5
2142 cat conftest.$ac_ext >&5
2144 ac_cv_header_stdc=no
2148 if test $ac_cv_header_stdc = yes; then
2149 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2150 cat > conftest.$ac_ext <<EOF
2151 #line 2152 "configure"
2152 #include "confdefs.h"
2155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2156 egrep "memchr" >/dev/null 2>&1; then
2160 ac_cv_header_stdc=no
2166 if test $ac_cv_header_stdc = yes; then
2167 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2168 cat > conftest.$ac_ext <<EOF
2169 #line 2170 "configure"
2170 #include "confdefs.h"
2173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2174 egrep "free" >/dev/null 2>&1; then
2178 ac_cv_header_stdc=no
2184 if test $ac_cv_header_stdc = yes; then
2185 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2186 if test "$cross_compiling" = yes; then
2189 cat > conftest.$ac_ext <<EOF
2190 #line 2191 "configure"
2191 #include "confdefs.h"
2193 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2194 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2195 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2196 int main () { int i; for (i = 0; i < 256; i++)
2197 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2201 if { (eval echo configure:2202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2205 echo "configure: failed program was:" >&5
2206 cat conftest.$ac_ext >&5
2208 ac_cv_header_stdc=no
2216 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2217 if test $ac_cv_header_stdc = yes; then
2218 cat >> confdefs.h <<\EOF
2219 #define STDC_HEADERS 1
2224 # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
2225 if test "${enable_ltdl_install+set}" = set; then
2226 enableval="$enable_ltdl_install"
2233 if test x"${enable_ltdl_install-no}" != xno; then
2235 INSTALL_LTDL_FALSE='#'
2237 INSTALL_LTDL_TRUE='#'
2242 if test x"${enable_ltdl_convenience-no}" != xno; then
2243 CONVENIENCE_LTDL_TRUE=
2244 CONVENIENCE_LTDL_FALSE='#'
2246 CONVENIENCE_LTDL_TRUE='#'
2247 CONVENIENCE_LTDL_FALSE=
2250 echo $ac_n "checking which extension is used for shared libraries""... $ac_c" 1>&6
2251 echo "configure:2252: checking which extension is used for shared libraries" >&5
2252 if eval "test \"`echo '$''{'libltdl_cv_shlibext'+set}'`\" = set"; then
2253 echo $ac_n "(cached) $ac_c" 1>&6
2257 for spec in $library_names_spec; do
2261 echo "$last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest
2264 libltdl_cv_shlibext=`cat conftest`
2269 echo "$ac_t""$libltdl_cv_shlibext" 1>&6
2270 if test -n "$libltdl_cv_shlibext"; then
2271 cat >> confdefs.h <<EOF
2272 #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
2277 echo $ac_n "checking which variable specifies run-time library path""... $ac_c" 1>&6
2278 echo "configure:2279: checking which variable specifies run-time library path" >&5
2279 if eval "test \"`echo '$''{'libltdl_cv_shlibpath_var'+set}'`\" = set"; then
2280 echo $ac_n "(cached) $ac_c" 1>&6
2282 libltdl_cv_shlibpath_var="$shlibpath_var"
2285 echo "$ac_t""$libltdl_cv_shlibpath_var" 1>&6
2286 if test -n "$libltdl_cv_shlibpath_var"; then
2287 cat >> confdefs.h <<EOF
2288 #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
2293 echo $ac_n "checking for the default library search path""... $ac_c" 1>&6
2294 echo "configure:2295: checking for the default library search path" >&5
2295 if eval "test \"`echo '$''{'libltdl_cv_sys_search_path'+set}'`\" = set"; then
2296 echo $ac_n "(cached) $ac_c" 1>&6
2298 libltdl_cv_sys_search_path="$sys_lib_dlsearch_path_spec"
2301 echo "$ac_t""$libltdl_cv_sys_search_path" 1>&6
2302 if test -n "$libltdl_cv_sys_search_path"; then
2303 case "$lt_target" in
2304 *-*-mingw*) pathsep=";" ;;
2308 for dir in $libltdl_cv_sys_search_path; do
2309 if test -z "$sys_search_path"; then
2310 sys_search_path="$dir"
2312 sys_search_path="$sys_search_path$pathsep$dir"
2315 cat >> confdefs.h <<EOF
2316 #define LTDL_SYSSEARCHPATH "$sys_search_path"
2321 echo $ac_n "checking for objdir""... $ac_c" 1>&6
2322 echo "configure:2323: checking for objdir" >&5
2323 if eval "test \"`echo '$''{'libltdl_cv_objdir'+set}'`\" = set"; then
2324 echo $ac_n "(cached) $ac_c" 1>&6
2326 libltdl_cv_objdir="$objdir"
2327 if test -n "$objdir"; then
2330 rm -f .libs 2>/dev/null
2331 mkdir .libs 2>/dev/null
2332 if test -d .libs; then
2333 libltdl_cv_objdir=.libs
2335 # MS-DOS does not allow filenames that begin with a dot.
2336 libltdl_cv_objdir=_libs
2338 rmdir .libs 2>/dev/null
2342 echo "$ac_t""$libltdl_cv_objdir" 1>&6
2343 cat >> confdefs.h <<EOF
2344 #define LTDL_OBJDIR "$libltdl_cv_objdir/"
2348 echo $ac_n "checking whether libtool supports -dlopen/-dlpreopen""... $ac_c" 1>&6
2349 echo "configure:2350: checking whether libtool supports -dlopen/-dlpreopen" >&5
2350 if eval "test \"`echo '$''{'libltdl_cv_preloaded_symbols'+set}'`\" = set"; then
2351 echo $ac_n "(cached) $ac_c" 1>&6
2353 if test -n "$global_symbol_pipe"; then
2354 libltdl_cv_preloaded_symbols=yes
2356 libltdl_cv_preloaded_symbols=no
2361 echo "$ac_t""$libltdl_cv_preloaded_symbols" 1>&6
2362 if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then
2363 cat >> confdefs.h <<\EOF
2364 #define HAVE_PRELOADED_SYMBOLS 1
2370 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2371 echo "configure:2372: checking for dlopen in -ldl" >&5
2372 ac_lib_var=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2373 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2374 echo $ac_n "(cached) $ac_c" 1>&6
2376 ac_save_LIBS="$LIBS"
2378 cat > conftest.$ac_ext <<EOF
2379 #line 2380 "configure"
2380 #include "confdefs.h"
2381 /* Override any gcc2 internal prototype to avoid an error. */
2382 /* We use char because int might match the return type of a gcc2
2383 builtin and then its argument prototype would still apply. */
2390 if { (eval echo configure:2391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2392 eval "ac_cv_lib_$ac_lib_var=yes"
2394 echo "configure: failed program was:" >&5
2395 cat conftest.$ac_ext >&5
2397 eval "ac_cv_lib_$ac_lib_var=no"
2400 LIBS="$ac_save_LIBS"
2403 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2404 echo "$ac_t""yes" 1>&6
2405 cat >> confdefs.h <<\EOF
2406 #define HAVE_LIBDL 1
2410 echo "$ac_t""no" 1>&6
2411 echo $ac_n "checking for dlopen""... $ac_c" 1>&6
2412 echo "configure:2413: checking for dlopen" >&5
2413 if eval "test \"`echo '$''{'ac_cv_func_dlopen'+set}'`\" = set"; then
2414 echo $ac_n "(cached) $ac_c" 1>&6
2416 cat > conftest.$ac_ext <<EOF
2417 #line 2418 "configure"
2418 #include "confdefs.h"
2419 /* System header to define __stub macros and hopefully few prototypes,
2420 which can conflict with char dlopen(); below. */
2422 /* Override any gcc2 internal prototype to avoid an error. */
2423 /* We use char because int might match the return type of a gcc2
2424 builtin and then its argument prototype would still apply. */
2429 /* The GNU C library defines this for functions which it implements
2430 to always fail with ENOSYS. Some functions are actually named
2431 something starting with __ and the normal name is an alias. */
2432 #if defined (__stub_dlopen) || defined (__stub___dlopen)
2440 if { (eval echo configure:2441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2442 eval "ac_cv_func_dlopen=yes"
2444 echo "configure: failed program was:" >&5
2445 cat conftest.$ac_ext >&5
2447 eval "ac_cv_func_dlopen=no"
2452 if eval "test \"`echo '$ac_cv_func_'dlopen`\" = yes"; then
2453 echo "$ac_t""yes" 1>&6
2454 cat >> confdefs.h <<\EOF
2455 #define HAVE_LIBDL 1
2459 echo "$ac_t""no" 1>&6
2464 echo $ac_n "checking for shl_load""... $ac_c" 1>&6
2465 echo "configure:2466: checking for shl_load" >&5
2466 if eval "test \"`echo '$''{'ac_cv_func_shl_load'+set}'`\" = set"; then
2467 echo $ac_n "(cached) $ac_c" 1>&6
2469 cat > conftest.$ac_ext <<EOF
2470 #line 2471 "configure"
2471 #include "confdefs.h"
2472 /* System header to define __stub macros and hopefully few prototypes,
2473 which can conflict with char shl_load(); below. */
2475 /* Override any gcc2 internal prototype to avoid an error. */
2476 /* We use char because int might match the return type of a gcc2
2477 builtin and then its argument prototype would still apply. */
2482 /* The GNU C library defines this for functions which it implements
2483 to always fail with ENOSYS. Some functions are actually named
2484 something starting with __ and the normal name is an alias. */
2485 #if defined (__stub_shl_load) || defined (__stub___shl_load)
2493 if { (eval echo configure:2494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2495 eval "ac_cv_func_shl_load=yes"
2497 echo "configure: failed program was:" >&5
2498 cat conftest.$ac_ext >&5
2500 eval "ac_cv_func_shl_load=no"
2505 if eval "test \"`echo '$ac_cv_func_'shl_load`\" = yes"; then
2506 echo "$ac_t""yes" 1>&6
2507 cat >> confdefs.h <<\EOF
2508 #define HAVE_SHL_LOAD 1
2512 echo "$ac_t""no" 1>&6
2513 echo $ac_n "checking for shl_load in -ldld""... $ac_c" 1>&6
2514 echo "configure:2515: checking for shl_load in -ldld" >&5
2515 ac_lib_var=`echo dld'_'shl_load | sed 'y%./+-%__p_%'`
2516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2517 echo $ac_n "(cached) $ac_c" 1>&6
2519 ac_save_LIBS="$LIBS"
2521 cat > conftest.$ac_ext <<EOF
2522 #line 2523 "configure"
2523 #include "confdefs.h"
2524 /* Override any gcc2 internal prototype to avoid an error. */
2525 /* We use char because int might match the return type of a gcc2
2526 builtin and then its argument prototype would still apply. */
2533 if { (eval echo configure:2534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2535 eval "ac_cv_lib_$ac_lib_var=yes"
2537 echo "configure: failed program was:" >&5
2538 cat conftest.$ac_ext >&5
2540 eval "ac_cv_lib_$ac_lib_var=no"
2543 LIBS="$ac_save_LIBS"
2546 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2547 echo "$ac_t""yes" 1>&6
2548 cat >> confdefs.h <<\EOF
2549 #define HAVE_SHL_LOAD 1
2552 LIBADD_DL="$LIBADD_DL -ldld"
2554 echo "$ac_t""no" 1>&6
2560 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
2561 echo "configure:2562: checking for dld_link in -ldld" >&5
2562 ac_lib_var=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
2563 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2564 echo $ac_n "(cached) $ac_c" 1>&6
2566 ac_save_LIBS="$LIBS"
2568 cat > conftest.$ac_ext <<EOF
2569 #line 2570 "configure"
2570 #include "confdefs.h"
2571 /* Override any gcc2 internal prototype to avoid an error. */
2572 /* We use char because int might match the return type of a gcc2
2573 builtin and then its argument prototype would still apply. */
2580 if { (eval echo configure:2581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2582 eval "ac_cv_lib_$ac_lib_var=yes"
2584 echo "configure: failed program was:" >&5
2585 cat conftest.$ac_ext >&5
2587 eval "ac_cv_lib_$ac_lib_var=no"
2590 LIBS="$ac_save_LIBS"
2593 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2594 echo "$ac_t""yes" 1>&6
2595 cat >> confdefs.h <<\EOF
2598 test "x$ac_cv_lib_dld_shl_load" = yes || LIBADD_DL="$LIBADD_DL -ldld"
2600 echo "$ac_t""no" 1>&6
2605 if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then
2607 LIBS="$LIBS $LIBADD_DL"
2608 for ac_func in dlerror
2610 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2611 echo "configure:2612: checking for $ac_func" >&5
2612 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2613 echo $ac_n "(cached) $ac_c" 1>&6
2615 cat > conftest.$ac_ext <<EOF
2616 #line 2617 "configure"
2617 #include "confdefs.h"
2618 /* System header to define __stub macros and hopefully few prototypes,
2619 which can conflict with char $ac_func(); below. */
2621 /* Override any gcc2 internal prototype to avoid an error. */
2622 /* We use char because int might match the return type of a gcc2
2623 builtin and then its argument prototype would still apply. */
2628 /* The GNU C library defines this for functions which it implements
2629 to always fail with ENOSYS. Some functions are actually named
2630 something starting with __ and the normal name is an alias. */
2631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2639 if { (eval echo configure:2640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2641 eval "ac_cv_func_$ac_func=yes"
2643 echo "configure: failed program was:" >&5
2644 cat conftest.$ac_ext >&5
2646 eval "ac_cv_func_$ac_func=no"
2651 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2652 echo "$ac_t""yes" 1>&6
2653 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2654 cat >> confdefs.h <<EOF
2655 #define $ac_tr_func 1
2659 echo "$ac_t""no" 1>&6
2666 echo $ac_n "checking for _ prefix in compiled symbols""... $ac_c" 1>&6
2667 echo "configure:2668: checking for _ prefix in compiled symbols" >&5
2668 if eval "test \"`echo '$''{'ac_cv_sys_symbol_underscore'+set}'`\" = set"; then
2669 echo $ac_n "(cached) $ac_c" 1>&6
2671 ac_cv_sys_symbol_underscore=no
2672 cat > conftest.$ac_ext <<EOF
2673 void nm_test_func(){}
2674 int main(){nm_test_func;return 0;}
2676 if { (eval echo configure:2677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2677 # Now try to grab the symbols.
2678 ac_nlist=conftest.nm
2679 if { (eval echo configure:2680: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\") 1>&5; (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5; } && test -s "$ac_nlist"; then
2680 # See whether the symbols have a leading underscore.
2681 if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
2682 ac_cv_sys_symbol_underscore=yes
2684 if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
2687 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
2691 echo "configure: cannot run $ac_cv_sys_global_symbol_pipe" >&5
2694 echo "configure: failed program was:" >&5
2701 echo "$ac_t""$ac_cv_sys_symbol_underscore" 1>&6
2702 if test x"$ac_cv_sys_symbol_underscore" = xyes; then
2703 if test x"$ac_cv_func_dlopen" = xyes ||
2704 test x"$ac_cv_lib_dl_dlopen" = xyes ; then
2705 echo $ac_n "checking whether we have to add an underscore for dlsym""... $ac_c" 1>&6
2706 echo "configure:2707: checking whether we have to add an underscore for dlsym" >&5
2707 if eval "test \"`echo '$''{'libltdl_cv_need_uscore'+set}'`\" = set"; then
2708 echo $ac_n "(cached) $ac_c" 1>&6
2710 if test "$cross_compiling" = yes; then
2711 libltdl_cv_need_uscore=cross
2714 cat > conftest.$ac_ext <<EOF
2715 #line 2716 "configure"
2716 #include "confdefs.h"
2725 # define LTDL_GLOBAL RTLD_GLOBAL
2728 # define LTDL_GLOBAL DL_GLOBAL
2730 # define LTDL_GLOBAL 0
2734 /* We may have to define LTDL_LAZY_OR_NOW in the command line if we
2735 find out it does not work in some platform. */
2736 #ifndef LTDL_LAZY_OR_NOW
2738 # define LTDL_LAZY_OR_NOW RTLD_LAZY
2741 # define LTDL_LAZY_OR_NOW DL_LAZY
2744 # define LTDL_LAZY_OR_NOW RTLD_NOW
2747 # define LTDL_LAZY_OR_NOW DL_NOW
2749 # define LTDL_LAZY_OR_NOW 0
2756 fnord() { int i=42;}
2757 main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
2758 if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
2759 if(ptr1 && !ptr2) { dlclose(self); exit(0); } } exit(1); }
2762 if { (eval echo configure:2763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2764 libltdl_cv_need_uscore=no
2766 echo "configure: failed program was:" >&5
2767 cat conftest.$ac_ext >&5
2769 libltdl_cv_need_uscore=yes
2776 echo "$ac_t""$libltdl_cv_need_uscore" 1>&6
2780 if test x"$libltdl_cv_need_uscore" = xyes; then
2781 cat >> confdefs.h <<\EOF
2782 #define NEED_USCORE 1
2790 for ac_hdr in malloc.h memory.h stdlib.h stdio.h ctype.h dlfcn.h dl.h dld.h
2792 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2793 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2794 echo "configure:2795: checking for $ac_hdr" >&5
2795 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2796 echo $ac_n "(cached) $ac_c" 1>&6
2798 cat > conftest.$ac_ext <<EOF
2799 #line 2800 "configure"
2800 #include "confdefs.h"
2803 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2804 { (eval echo configure:2805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2805 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2806 if test -z "$ac_err"; then
2808 eval "ac_cv_header_$ac_safe=yes"
2811 echo "configure: failed program was:" >&5
2812 cat conftest.$ac_ext >&5
2814 eval "ac_cv_header_$ac_safe=no"
2818 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2819 echo "$ac_t""yes" 1>&6
2820 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2821 cat >> confdefs.h <<EOF
2822 #define $ac_tr_hdr 1
2826 echo "$ac_t""no" 1>&6
2830 for ac_hdr in string.h strings.h
2832 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2833 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2834 echo "configure:2835: checking for $ac_hdr" >&5
2835 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2836 echo $ac_n "(cached) $ac_c" 1>&6
2838 cat > conftest.$ac_ext <<EOF
2839 #line 2840 "configure"
2840 #include "confdefs.h"
2843 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2844 { (eval echo configure:2845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2845 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2846 if test -z "$ac_err"; then
2848 eval "ac_cv_header_$ac_safe=yes"
2851 echo "configure: failed program was:" >&5
2852 cat conftest.$ac_ext >&5
2854 eval "ac_cv_header_$ac_safe=no"
2858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2859 echo "$ac_t""yes" 1>&6
2860 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2861 cat >> confdefs.h <<EOF
2862 #define $ac_tr_hdr 1
2866 echo "$ac_t""no" 1>&6
2870 for ac_func in strchr index
2872 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2873 echo "configure:2874: checking for $ac_func" >&5
2874 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2875 echo $ac_n "(cached) $ac_c" 1>&6
2877 cat > conftest.$ac_ext <<EOF
2878 #line 2879 "configure"
2879 #include "confdefs.h"
2880 /* System header to define __stub macros and hopefully few prototypes,
2881 which can conflict with char $ac_func(); below. */
2883 /* Override any gcc2 internal prototype to avoid an error. */
2884 /* We use char because int might match the return type of a gcc2
2885 builtin and then its argument prototype would still apply. */
2890 /* The GNU C library defines this for functions which it implements
2891 to always fail with ENOSYS. Some functions are actually named
2892 something starting with __ and the normal name is an alias. */
2893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2901 if { (eval echo configure:2902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2903 eval "ac_cv_func_$ac_func=yes"
2905 echo "configure: failed program was:" >&5
2906 cat conftest.$ac_ext >&5
2908 eval "ac_cv_func_$ac_func=no"
2913 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2914 echo "$ac_t""yes" 1>&6
2915 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2916 cat >> confdefs.h <<EOF
2917 #define $ac_tr_func 1
2921 echo "$ac_t""no" 1>&6
2925 for ac_func in strrchr rindex
2927 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2928 echo "configure:2929: checking for $ac_func" >&5
2929 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2930 echo $ac_n "(cached) $ac_c" 1>&6
2932 cat > conftest.$ac_ext <<EOF
2933 #line 2934 "configure"
2934 #include "confdefs.h"
2935 /* System header to define __stub macros and hopefully few prototypes,
2936 which can conflict with char $ac_func(); below. */
2938 /* Override any gcc2 internal prototype to avoid an error. */
2939 /* We use char because int might match the return type of a gcc2
2940 builtin and then its argument prototype would still apply. */
2945 /* The GNU C library defines this for functions which it implements
2946 to always fail with ENOSYS. Some functions are actually named
2947 something starting with __ and the normal name is an alias. */
2948 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2956 if { (eval echo configure:2957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2958 eval "ac_cv_func_$ac_func=yes"
2960 echo "configure: failed program was:" >&5
2961 cat conftest.$ac_ext >&5
2963 eval "ac_cv_func_$ac_func=no"
2968 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2969 echo "$ac_t""yes" 1>&6
2970 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2971 cat >> confdefs.h <<EOF
2972 #define $ac_tr_func 1
2976 echo "$ac_t""no" 1>&6
2980 for ac_func in strcmp
2982 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2983 echo "configure:2984: checking for $ac_func" >&5
2984 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2985 echo $ac_n "(cached) $ac_c" 1>&6
2987 cat > conftest.$ac_ext <<EOF
2988 #line 2989 "configure"
2989 #include "confdefs.h"
2990 /* System header to define __stub macros and hopefully few prototypes,
2991 which can conflict with char $ac_func(); below. */
2993 /* Override any gcc2 internal prototype to avoid an error. */
2994 /* We use char because int might match the return type of a gcc2
2995 builtin and then its argument prototype would still apply. */
3000 /* The GNU C library defines this for functions which it implements
3001 to always fail with ENOSYS. Some functions are actually named
3002 something starting with __ and the normal name is an alias. */
3003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3011 if { (eval echo configure:3012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
3013 eval "ac_cv_func_$ac_func=yes"
3015 echo "configure: failed program was:" >&5
3016 cat conftest.$ac_ext >&5
3018 eval "ac_cv_func_$ac_func=no"
3023 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3024 echo "$ac_t""yes" 1>&6
3025 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3026 cat >> confdefs.h <<EOF
3027 #define $ac_tr_func 1
3031 echo "$ac_t""no" 1>&6
3039 cat > confcache <<\EOF
3040 # This file is a shell script that caches the results of configure
3041 # tests run on this system so they can be shared between configure
3042 # scripts and configure runs. It is not useful on other systems.
3043 # If it contains results you don't want to keep, you may remove or edit it.
3045 # By default, configure uses ./config.cache as the cache file,
3046 # creating it if it does not exist already. You can give configure
3047 # the --cache-file=FILE option to use a different cache file; that is
3048 # what configure does when it calls configure scripts in
3049 # subdirectories, so they share the cache.
3050 # Giving --cache-file=/dev/null disables caching, for debugging configure.
3051 # config.status only pays attention to the cache file if you give it the
3052 # --recheck option to rerun configure.
3055 # The following way of writing the cache mishandles newlines in values,
3056 # but we know of no workaround that is simple, portable, and efficient.
3057 # So, don't put newlines in cache variables' values.
3058 # Ultrix sh set writes to stderr and can't be redirected directly,
3059 # and sets the high bit in the cache file unless we assign to the vars.
3061 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3063 # `set' does not quote correctly, so add quotes (double-quote substitution
3064 # turns \\\\ into \\, and sed turns \\ into \).
3066 -e "s/'/'\\\\''/g" \
3067 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3070 # `set' quotes correctly as required by POSIX, so do not add quotes.
3071 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3074 if cmp -s $cache_file confcache; then
3077 if test -w $cache_file; then
3078 echo "updating cache $cache_file"
3079 cat confcache > $cache_file
3081 echo "not updating unwritable cache $cache_file"
3086 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3088 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3089 # Let make expand exec_prefix.
3090 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3092 # Any assignment to VPATH causes Sun make to only execute
3093 # the first set of double-colon rules, so remove it if not needed.
3094 # If there is a colon in the path, we need to keep it.
3095 if test "x$srcdir" = x.; then
3096 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
3099 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3101 DEFS=-DHAVE_CONFIG_H
3103 # Without the "./", some shells look in PATH for config.status.
3104 : ${CONFIG_STATUS=./config.status}
3106 echo creating $CONFIG_STATUS
3107 rm -f $CONFIG_STATUS
3108 cat > $CONFIG_STATUS <<EOF
3110 # Generated automatically by configure.
3111 # Run this file to recreate the current configuration.
3112 # This directory was configured as follows,
3113 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3115 # $0 $ac_configure_args
3117 # Compiler output produced by configure, useful for debugging
3118 # configure, is in ./config.log if it exists.
3120 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3123 case "\$ac_option" in
3124 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3125 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3126 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3127 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3128 echo "$CONFIG_STATUS generated by autoconf version 2.13"
3130 -help | --help | --hel | --he | --h)
3131 echo "\$ac_cs_usage"; exit 0 ;;
3132 *) echo "\$ac_cs_usage"; exit 1 ;;
3136 ac_given_srcdir=$srcdir
3137 ac_given_INSTALL="$INSTALL"
3139 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3141 cat >> $CONFIG_STATUS <<EOF
3143 # Protect against being on the right side of a sed subst in config.status.
3144 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3145 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3149 s%@CFLAGS@%$CFLAGS%g
3150 s%@CPPFLAGS@%$CPPFLAGS%g
3151 s%@CXXFLAGS@%$CXXFLAGS%g
3152 s%@FFLAGS@%$FFLAGS%g
3154 s%@LDFLAGS@%$LDFLAGS%g
3156 s%@exec_prefix@%$exec_prefix%g
3157 s%@prefix@%$prefix%g
3158 s%@program_transform_name@%$program_transform_name%g
3159 s%@bindir@%$bindir%g
3160 s%@sbindir@%$sbindir%g
3161 s%@libexecdir@%$libexecdir%g
3162 s%@datadir@%$datadir%g
3163 s%@sysconfdir@%$sysconfdir%g
3164 s%@sharedstatedir@%$sharedstatedir%g
3165 s%@localstatedir@%$localstatedir%g
3166 s%@libdir@%$libdir%g
3167 s%@includedir@%$includedir%g
3168 s%@oldincludedir@%$oldincludedir%g
3169 s%@infodir@%$infodir%g
3170 s%@mandir@%$mandir%g
3171 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3172 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3173 s%@INSTALL_DATA@%$INSTALL_DATA%g
3174 s%@PACKAGE@%$PACKAGE%g
3175 s%@VERSION@%$VERSION%g
3176 s%@ACLOCAL@%$ACLOCAL%g
3177 s%@AUTOCONF@%$AUTOCONF%g
3178 s%@AUTOMAKE@%$AUTOMAKE%g
3179 s%@AUTOHEADER@%$AUTOHEADER%g
3180 s%@MAKEINFO@%$MAKEINFO%g
3181 s%@SET_MAKE@%$SET_MAKE%g
3182 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
3183 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
3187 s%@host_alias@%$host_alias%g
3188 s%@host_cpu@%$host_cpu%g
3189 s%@host_vendor@%$host_vendor%g
3190 s%@host_os@%$host_os%g
3192 s%@build_alias@%$build_alias%g
3193 s%@build_cpu@%$build_cpu%g
3194 s%@build_vendor@%$build_vendor%g
3195 s%@build_os@%$build_os%g
3196 s%@RANLIB@%$RANLIB%g
3200 s%@DLLTOOL@%$DLLTOOL%g
3202 s%@OBJDUMP@%$OBJDUMP%g
3204 s%@LIBTOOL@%$LIBTOOL%g
3205 s%@LIBTOOL_DEPS@%$LIBTOOL_DEPS%g
3207 s%@INSTALL_LTDL_TRUE@%$INSTALL_LTDL_TRUE%g
3208 s%@INSTALL_LTDL_FALSE@%$INSTALL_LTDL_FALSE%g
3209 s%@CONVENIENCE_LTDL_TRUE@%$CONVENIENCE_LTDL_TRUE%g
3210 s%@CONVENIENCE_LTDL_FALSE@%$CONVENIENCE_LTDL_FALSE%g
3211 s%@LIBADD_DL@%$LIBADD_DL%g
3216 cat >> $CONFIG_STATUS <<\EOF
3218 # Split the substitutions into bite-sized pieces for seds with
3219 # small command number limits, like on Digital OSF/1 and HP-UX.
3220 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3221 ac_file=1 # Number of current file.
3222 ac_beg=1 # First line for current file.
3223 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3226 while $ac_more_lines; do
3227 if test $ac_beg -gt 1; then
3228 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3230 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3232 if test ! -s conftest.s$ac_file; then
3234 rm -f conftest.s$ac_file
3236 if test -z "$ac_sed_cmds"; then
3237 ac_sed_cmds="sed -f conftest.s$ac_file"
3239 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3241 ac_file=`expr $ac_file + 1`
3243 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3246 if test -z "$ac_sed_cmds"; then
3251 cat >> $CONFIG_STATUS <<EOF
3253 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
3255 cat >> $CONFIG_STATUS <<\EOF
3256 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3257 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3259 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3260 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3261 *) ac_file_in="${ac_file}.in" ;;
3264 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3266 # Remove last slash and all that follows it. Not all systems have dirname.
3267 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3268 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3269 # The file is in a subdirectory.
3270 test ! -d "$ac_dir" && mkdir "$ac_dir"
3271 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3272 # A "../" for each directory in $ac_dir_suffix.
3273 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3275 ac_dir_suffix= ac_dots=
3278 case "$ac_given_srcdir" in
3280 if test -z "$ac_dots"; then top_srcdir=.
3281 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3282 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3284 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3285 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3288 case "$ac_given_INSTALL" in
3289 [/$]*) INSTALL="$ac_given_INSTALL" ;;
3290 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3293 echo creating "$ac_file"
3295 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3297 *Makefile*) ac_comsub="1i\\
3298 # $configure_input" ;;
3302 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3304 s%@configure_input@%$configure_input%g
3305 s%@srcdir@%$srcdir%g
3306 s%@top_srcdir@%$top_srcdir%g
3307 s%@INSTALL@%$INSTALL%g
3308 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3312 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3313 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3315 # ac_d sets the value in "#define NAME VALUE" lines.
3316 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3317 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
3320 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3321 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3322 ac_uB='\([ ]\)%\1#\2define\3'
3325 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3326 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3327 ac_eB='$%\1#\2define\3'
3331 if test "${CONFIG_HEADERS+set}" != set; then
3333 cat >> $CONFIG_STATUS <<EOF
3334 CONFIG_HEADERS="config.h"
3336 cat >> $CONFIG_STATUS <<\EOF
3338 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
3339 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3341 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3342 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3343 *) ac_file_in="${ac_file}.in" ;;
3346 echo creating $ac_file
3348 rm -f conftest.frag conftest.in conftest.out
3349 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3350 cat $ac_file_inputs > conftest.in
3354 # Transform confdefs.h into a sed script conftest.vals that substitutes
3355 # the proper values into config.h.in to produce config.h. And first:
3356 # Protect against being on the right side of a sed subst in config.status.
3357 # Protect against being in an unquoted here document in config.status.
3359 cat > conftest.hdr <<\EOF
3362 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3366 sed -n -f conftest.hdr confdefs.h > conftest.vals
3369 # This sed command replaces #undef with comments. This is necessary, for
3370 # example, in the case of _POSIX_SOURCE, which is predefined and required
3371 # on some systems where configure will not decide to define it.
3372 cat >> conftest.vals <<\EOF
3373 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3376 # Break up conftest.vals because some shells have a limit on
3377 # the size of here documents, and old seds have small limits too.
3382 ac_lines=`grep -c . conftest.vals`
3383 # grep -c gives empty output for an empty file on some AIX systems.
3384 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3385 # Write a limited-size here document to conftest.frag.
3386 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3387 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3389 sed -f conftest.frag conftest.in > conftest.out
3391 mv conftest.out conftest.in
3393 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3395 mv conftest.tail conftest.vals
3399 cat >> $CONFIG_STATUS <<\EOF
3400 rm -f conftest.frag conftest.h
3401 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3402 cat conftest.in >> conftest.h
3404 if cmp -s $ac_file conftest.h 2>/dev/null; then
3405 echo "$ac_file is unchanged"
3408 # Remove last slash and all that follows it. Not all systems have dirname.
3409 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3410 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3411 # The file is in a subdirectory.
3412 test ! -d "$ac_dir" && mkdir "$ac_dir"
3415 mv conftest.h $ac_file
3420 cat >> $CONFIG_STATUS <<EOF
3424 cat >> $CONFIG_STATUS <<\EOF
3425 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
3429 chmod +x $CONFIG_STATUS
3430 rm -fr confdefs* $ac_clean_files
3431 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1