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-shared[=PKGS] build shared libraries [default=yes]"
17 --enable-static[=PKGS] build static libraries [default=yes]"
19 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
21 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
23 --disable-libtool-lock avoid locking (might break parallel builds)"
25 # Initialize some variables set by options.
26 # The variables have the same names as the options, with
27 # dashes changed to underlines.
29 cache_file
=.
/config.cache
38 program_transform_name
=s
,x
,x
,
46 bindir
='${exec_prefix}/bin'
47 sbindir
='${exec_prefix}/sbin'
48 libexecdir
='${exec_prefix}/libexec'
49 datadir
='${prefix}/share'
50 sysconfdir
='${prefix}/etc'
51 sharedstatedir
='${prefix}/com'
52 localstatedir
='${prefix}/var'
53 libdir
='${exec_prefix}/lib'
54 includedir
='${prefix}/include'
55 oldincludedir
='/usr/include'
56 infodir
='${prefix}/info'
57 mandir
='${prefix}/man'
59 # Initialize some other variables.
62 SHELL
=${CONFIG_SHELL-/bin/sh}
63 # Maximum number of lines to put in a shell here document.
70 # If the previous option needs an argument, assign it.
71 if test -n "$ac_prev"; then
72 eval "$ac_prev=\$ac_option"
78 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
82 # Accept the important Cygnus configure options, so we can diagnose typos.
86 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
88 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
89 bindir
="$ac_optarg" ;;
91 -build |
--build |
--buil |
--bui |
--bu)
93 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
96 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
97 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
99 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
100 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
101 cache_file
="$ac_optarg" ;;
103 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
105 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
107 datadir
="$ac_optarg" ;;
109 -disable-* |
--disable-*)
110 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
111 # Reject names that are not valid shell variable names.
112 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
113 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
115 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
116 eval "enable_${ac_feature}=no" ;;
118 -enable-* |
--enable-*)
119 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
120 # Reject names that are not valid shell variable names.
121 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
122 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
124 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
129 eval "enable_${ac_feature}='$ac_optarg'" ;;
131 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
132 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
133 |
--exec |
--exe |
--ex)
134 ac_prev
=exec_prefix
;;
135 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
136 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
137 |
--exec=* |
--exe=* |
--ex=*)
138 exec_prefix
="$ac_optarg" ;;
140 -gas |
--gas |
--ga |
--g)
141 # Obsolete; use --with-gas.
144 -help |
--help |
--hel |
--he)
145 # Omit some internal or obsolete options to make the list less imposing.
146 # This message is too long to be a string in the A/UX 3.1 sh.
148 Usage: configure [options] [host]
149 Options: [defaults in brackets after descriptions]
151 --cache-file=FILE cache test results in FILE
152 --help print this message
153 --no-create do not create output files
154 --quiet, --silent do not print \`checking...' messages
155 --version print the version of autoconf that created configure
156 Directory and file names:
157 --prefix=PREFIX install architecture-independent files in PREFIX
159 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
161 --bindir=DIR user executables in DIR [EPREFIX/bin]
162 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
163 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
164 --datadir=DIR read-only architecture-independent data in DIR
166 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
167 --sharedstatedir=DIR modifiable architecture-independent data in DIR
169 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
170 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
171 --includedir=DIR C header files in DIR [PREFIX/include]
172 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
173 --infodir=DIR info documentation in DIR [PREFIX/info]
174 --mandir=DIR man documentation in DIR [PREFIX/man]
175 --srcdir=DIR find the sources in DIR [configure dir or ..]
176 --program-prefix=PREFIX prepend PREFIX to installed program names
177 --program-suffix=SUFFIX append SUFFIX to installed program names
178 --program-transform-name=PROGRAM
179 run sed PROGRAM on installed program names
183 --build=BUILD configure for building on BUILD [BUILD=HOST]
184 --host=HOST configure for HOST [guessed]
185 --target=TARGET configure for TARGET [TARGET=HOST]
186 Features and packages:
187 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
188 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
189 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
190 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
191 --x-includes=DIR X include files are in DIR
192 --x-libraries=DIR X library files are in DIR
194 if test -n "$ac_help"; then
195 echo "--enable and --with options recognized:$ac_help"
199 -host |
--host |
--hos |
--ho)
201 -host=* |
--host=* |
--hos=* |
--ho=*)
204 -includedir |
--includedir |
--includedi |
--included |
--include \
205 |
--includ |
--inclu |
--incl |
--inc)
206 ac_prev
=includedir
;;
207 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
208 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
209 includedir
="$ac_optarg" ;;
211 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
213 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
214 infodir
="$ac_optarg" ;;
216 -libdir |
--libdir |
--libdi |
--libd)
218 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
219 libdir
="$ac_optarg" ;;
221 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
222 |
--libexe |
--libex |
--libe)
223 ac_prev
=libexecdir
;;
224 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
225 |
--libexe=* |
--libex=* |
--libe=*)
226 libexecdir
="$ac_optarg" ;;
228 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
229 |
--localstate |
--localstat |
--localsta |
--localst \
230 |
--locals |
--local |
--loca |
--loc |
--lo)
231 ac_prev
=localstatedir
;;
232 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
233 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
234 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
235 localstatedir
="$ac_optarg" ;;
237 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
239 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
240 mandir
="$ac_optarg" ;;
243 # Obsolete; use --without-fp.
246 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
250 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
251 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
254 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
255 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
256 |
--oldin |
--oldi |
--old |
--ol |
--o)
257 ac_prev
=oldincludedir
;;
258 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
259 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
260 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
261 oldincludedir
="$ac_optarg" ;;
263 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
265 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
266 prefix
="$ac_optarg" ;;
268 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
269 |
--program-pre |
--program-pr |
--program-p)
270 ac_prev
=program_prefix
;;
271 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
272 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
273 program_prefix
="$ac_optarg" ;;
275 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
276 |
--program-suf |
--program-su |
--program-s)
277 ac_prev
=program_suffix
;;
278 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
279 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
280 program_suffix
="$ac_optarg" ;;
282 -program-transform-name |
--program-transform-name \
283 |
--program-transform-nam |
--program-transform-na \
284 |
--program-transform-n |
--program-transform- \
285 |
--program-transform |
--program-transfor \
286 |
--program-transfo |
--program-transf \
287 |
--program-trans |
--program-tran \
288 |
--progr-tra |
--program-tr |
--program-t)
289 ac_prev
=program_transform_name
;;
290 -program-transform-name=* |
--program-transform-name=* \
291 |
--program-transform-nam=* |
--program-transform-na=* \
292 |
--program-transform-n=* |
--program-transform-=* \
293 |
--program-transform=* |
--program-transfor=* \
294 |
--program-transfo=* |
--program-transf=* \
295 |
--program-trans=* |
--program-tran=* \
296 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
297 program_transform_name
="$ac_optarg" ;;
299 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
300 |
-silent |
--silent |
--silen |
--sile |
--sil)
303 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
305 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
307 sbindir
="$ac_optarg" ;;
309 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
310 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
311 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
313 ac_prev
=sharedstatedir
;;
314 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
315 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
316 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
318 sharedstatedir
="$ac_optarg" ;;
320 -site |
--site |
--sit)
322 -site=* |
--site=* |
--sit=*)
325 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
327 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
328 srcdir
="$ac_optarg" ;;
330 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
331 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
332 ac_prev
=sysconfdir
;;
333 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
334 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
335 sysconfdir
="$ac_optarg" ;;
337 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
339 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
340 target
="$ac_optarg" ;;
342 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
345 -version |
--version |
--versio |
--versi |
--vers)
346 echo "configure generated by autoconf version 2.13"
350 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
351 # Reject names that are not valid shell variable names.
352 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
353 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
355 ac_package
=`echo $ac_package| sed 's/-/_/g'`
360 eval "with_${ac_package}='$ac_optarg'" ;;
362 -without-* |
--without-*)
363 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
364 # Reject names that are not valid shell variable names.
365 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
366 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
368 ac_package
=`echo $ac_package| sed 's/-/_/g'`
369 eval "with_${ac_package}=no" ;;
372 # Obsolete; use --with-x.
375 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
376 |
--x-incl |
--x-inc |
--x-in |
--x-i)
377 ac_prev
=x_includes
;;
378 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
379 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
380 x_includes
="$ac_optarg" ;;
382 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
383 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
384 ac_prev
=x_libraries
;;
385 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
386 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
387 x_libraries
="$ac_optarg" ;;
389 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
393 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
394 echo "configure: warning: $ac_option: invalid host type" 1>&2
396 if test "x$nonopt" != xNONE
; then
397 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
405 if test -n "$ac_prev"; then
406 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
409 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
411 # File descriptor usage:
414 # 2 errors and warnings
415 # 3 some systems may open it to /dev/tty
416 # 4 used on the Kubota Titan
417 # 6 checking for... messages and results
418 # 5 compiler messages saved in config.log
419 if test "$silent" = yes; then
427 This file contains any messages produced by compilers while
428 running configure, to aid debugging if configure makes a mistake.
431 # Strip out --no-create and --no-recursion so they do not pile up.
432 # Also quote any args containing shell metacharacters.
437 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
438 |
--no-cr |
--no-c) ;;
439 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
440 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
441 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
442 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
443 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
448 # Only set these to C if already set. These must not be set unconditionally
449 # because not all systems understand e.g. LANG=C (notably SCO).
450 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
451 # Non-C LC_CTYPE values break the ctype check.
452 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
453 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
454 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
455 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
457 # confdefs.h avoids OS command line length limits that DEFS can exceed.
458 rm -rf conftest
* confdefs.h
459 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
462 # A filename unique to this package, relative to the directory that
463 # configure is in, which we can look for to find out if srcdir is correct.
464 ac_unique_file
=lib
/localcharset.c
466 # Find the source files, if location was not specified.
467 if test -z "$srcdir"; then
468 ac_srcdir_defaulted
=yes
469 # Try the directory containing this script, then its parent.
471 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
472 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
474 if test ! -r $srcdir/$ac_unique_file; then
478 ac_srcdir_defaulted
=no
480 if test ! -r $srcdir/$ac_unique_file; then
481 if test "$ac_srcdir_defaulted" = yes; then
482 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
484 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
487 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
489 # Prefer explicitly selected file to automatically selected ones.
490 if test -z "$CONFIG_SITE"; then
491 if test "x$prefix" != xNONE
; then
492 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
494 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
497 for ac_site_file
in $CONFIG_SITE; do
498 if test -r "$ac_site_file"; then
499 echo "loading site script $ac_site_file"
504 if test -r "$cache_file"; then
505 echo "loading cache $cache_file"
508 echo "creating cache $cache_file"
513 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
514 ac_cpp
='$CPP $CPPFLAGS'
515 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
516 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
517 cross_compiling
=$ac_cv_prog_cc_cross
521 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
522 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
523 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
530 ac_n
= ac_c
='\c' ac_t
=
535 for ac_dir
in autoconf
$srcdir/autoconf
; do
536 if test -f $ac_dir/install-sh
; then
538 ac_install_sh
="$ac_aux_dir/install-sh -c"
540 elif test -f $ac_dir/install.sh
; then
542 ac_install_sh
="$ac_aux_dir/install.sh -c"
546 if test -z "$ac_aux_dir"; then
547 { echo "configure: error: can not find install-sh or install.sh in autoconf $srcdir/autoconf" 1>&2; exit 1; }
549 ac_config_guess
=$ac_aux_dir/config.guess
550 ac_config_sub
=$ac_aux_dir/config.sub
551 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
554 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
555 echo "configure:556: checking whether ${MAKE-make} sets \${MAKE}" >&5
556 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
557 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
558 echo $ac_n "(cached) $ac_c" 1>&6
560 cat > conftestmake
<<\EOF
562 @
echo 'ac_maketemp="${MAKE}"'
564 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
565 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
566 if test -n "$ac_maketemp"; then
567 eval ac_cv_prog_make_
${ac_make}_set
=yes
569 eval ac_cv_prog_make_
${ac_make}_set
=no
573 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
574 echo "$ac_t""yes" 1>&6
577 echo "$ac_t""no" 1>&6
578 SET_MAKE
="MAKE=${MAKE-make}"
587 # Extract the first word of "gcc", so it can be a program name with args.
588 set dummy gcc
; ac_word
=$2
589 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
590 echo "configure:591: checking for $ac_word" >&5
591 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
592 echo $ac_n "(cached) $ac_c" 1>&6
594 if test -n "$CC"; then
595 ac_cv_prog_CC
="$CC" # Let the user override the test.
597 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
599 for ac_dir
in $ac_dummy; do
600 test -z "$ac_dir" && ac_dir
=.
601 if test -f $ac_dir/$ac_word; then
610 if test -n "$CC"; then
611 echo "$ac_t""$CC" 1>&6
613 echo "$ac_t""no" 1>&6
616 if test -z "$CC"; then
617 # Extract the first word of "cc", so it can be a program name with args.
618 set dummy cc
; ac_word
=$2
619 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
620 echo "configure:621: checking for $ac_word" >&5
621 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
622 echo $ac_n "(cached) $ac_c" 1>&6
624 if test -n "$CC"; then
625 ac_cv_prog_CC
="$CC" # Let the user override the test.
627 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
630 for ac_dir
in $ac_dummy; do
631 test -z "$ac_dir" && ac_dir
=.
632 if test -f $ac_dir/$ac_word; then
633 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
642 if test $ac_prog_rejected = yes; then
643 # We found a bogon in the path, so make sure we never use it.
644 set dummy
$ac_cv_prog_CC
646 if test $# -gt 0; then
647 # We chose a different compiler from the bogus one.
648 # However, it has the same basename, so the bogon will be chosen
649 # first if we set CC to just the basename; use the full file name.
651 set dummy
"$ac_dir/$ac_word" "$@"
659 if test -n "$CC"; then
660 echo "$ac_t""$CC" 1>&6
662 echo "$ac_t""no" 1>&6
665 if test -z "$CC"; then
668 # Extract the first word of "cl", so it can be a program name with args.
669 set dummy cl
; ac_word
=$2
670 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
671 echo "configure:672: checking for $ac_word" >&5
672 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
673 echo $ac_n "(cached) $ac_c" 1>&6
675 if test -n "$CC"; then
676 ac_cv_prog_CC
="$CC" # Let the user override the test.
678 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
680 for ac_dir
in $ac_dummy; do
681 test -z "$ac_dir" && ac_dir
=.
682 if test -f $ac_dir/$ac_word; then
691 if test -n "$CC"; then
692 echo "$ac_t""$CC" 1>&6
694 echo "$ac_t""no" 1>&6
699 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
702 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
703 echo "configure:704: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
706 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
707 ac_cpp
='$CPP $CPPFLAGS'
708 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
709 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
710 cross_compiling
=$ac_cv_prog_cc_cross
712 cat > conftest.
$ac_ext << EOF
714 #line 715 "configure"
715 #include "confdefs.h"
719 if { (eval echo configure
:720: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
720 ac_cv_prog_cc_works
=yes
721 # If we can't run a trivial program, we are probably using a cross compiler.
722 if (.
/conftest
; exit) 2>/dev
/null
; then
723 ac_cv_prog_cc_cross
=no
725 ac_cv_prog_cc_cross
=yes
728 echo "configure: failed program was:" >&5
729 cat conftest.
$ac_ext >&5
730 ac_cv_prog_cc_works
=no
734 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
735 ac_cpp
='$CPP $CPPFLAGS'
736 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
737 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
738 cross_compiling
=$ac_cv_prog_cc_cross
740 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
741 if test $ac_cv_prog_cc_works = no
; then
742 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
744 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
745 echo "configure:746: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
746 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
747 cross_compiling
=$ac_cv_prog_cc_cross
749 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
750 echo "configure:751: checking whether we are using GNU C" >&5
751 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
752 echo $ac_n "(cached) $ac_c" 1>&6
754 cat > conftest.c
<<EOF
759 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
766 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
768 if test $ac_cv_prog_gcc = yes; then
774 ac_test_CFLAGS
="${CFLAGS+set}"
775 ac_save_CFLAGS
="$CFLAGS"
777 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
778 echo "configure:779: checking whether ${CC-cc} accepts -g" >&5
779 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
780 echo $ac_n "(cached) $ac_c" 1>&6
782 echo 'void f(){}' > conftest.c
783 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
792 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
793 if test "$ac_test_CFLAGS" = set; then
794 CFLAGS
="$ac_save_CFLAGS"
795 elif test $ac_cv_prog_cc_g = yes; then
796 if test "$GCC" = yes; then
802 if test "$GCC" = yes; then
809 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
810 echo "configure:811: checking how to run the C preprocessor" >&5
811 # On Suns, sometimes $CPP names a directory.
812 if test -n "$CPP" && test -d "$CPP"; then
815 if test -z "$CPP"; then
816 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
817 echo $ac_n "(cached) $ac_c" 1>&6
819 # This must be in double quotes, not single quotes, because CPP may get
820 # substituted into the Makefile and "${CC-cc}" will confuse make.
822 # On the NeXT, cc -E runs the code through the compiler's parser,
823 # not just through cpp.
824 cat > conftest.
$ac_ext <<EOF
825 #line 826 "configure"
826 #include "confdefs.h"
830 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
831 { (eval echo configure
:832: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
832 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
833 if test -z "$ac_err"; then
837 echo "configure: failed program was:" >&5
838 cat conftest.
$ac_ext >&5
840 CPP
="${CC-cc} -E -traditional-cpp"
841 cat > conftest.
$ac_ext <<EOF
842 #line 843 "configure"
843 #include "confdefs.h"
847 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
848 { (eval echo configure
:849: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
849 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
850 if test -z "$ac_err"; then
854 echo "configure: failed program was:" >&5
855 cat conftest.
$ac_ext >&5
857 CPP
="${CC-cc} -nologo -E"
858 cat > conftest.
$ac_ext <<EOF
859 #line 860 "configure"
860 #include "confdefs.h"
864 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
865 { (eval echo configure
:866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
866 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
867 if test -z "$ac_err"; then
871 echo "configure: failed program was:" >&5
872 cat conftest.
$ac_ext >&5
881 ac_cv_prog_CPP
="$CPP"
883 CPP
="$ac_cv_prog_CPP"
885 ac_cv_prog_CPP
="$CPP"
887 echo "$ac_t""$CPP" 1>&6
889 if test $ac_cv_prog_gcc = yes; then
890 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
891 echo "configure:892: checking whether ${CC-cc} needs -traditional" >&5
892 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
893 echo $ac_n "(cached) $ac_c" 1>&6
895 ac_pattern
="Autoconf.*'x'"
896 cat > conftest.
$ac_ext <<EOF
897 #line 898 "configure"
898 #include "confdefs.h"
902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
903 egrep "$ac_pattern" >/dev
/null
2>&1; then
905 ac_cv_prog_gcc_traditional
=yes
908 ac_cv_prog_gcc_traditional
=no
913 if test $ac_cv_prog_gcc_traditional = no
; then
914 cat > conftest.
$ac_ext <<EOF
915 #line 916 "configure"
916 #include "confdefs.h"
920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
921 egrep "$ac_pattern" >/dev
/null
2>&1; then
923 ac_cv_prog_gcc_traditional
=yes
930 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
931 if test $ac_cv_prog_gcc_traditional = yes; then
932 CC
="$CC -traditional"
936 # Find a good install program. We prefer a C program (faster),
937 # so one script is as good as another. But avoid the broken or
938 # incompatible versions:
939 # SysV /etc/install, /usr/sbin/install
940 # SunOS /usr/etc/install
943 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
944 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
945 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
946 # ./install, which can be erroneously created by make from ./install.sh.
947 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
948 echo "configure:949: checking for a BSD compatible install" >&5
949 if test -z "$INSTALL"; then
950 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
951 echo $ac_n "(cached) $ac_c" 1>&6
953 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
954 for ac_dir
in $PATH; do
955 # Account for people who put trailing slashes in PATH elements.
957 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
959 # OSF1 and SCO ODT 3.0 have their own names for install.
960 # Don't use installbsd from OSF since it installs stuff as root
962 for ac_prog
in ginstall scoinst
install; do
963 if test -f $ac_dir/$ac_prog; then
964 if test $ac_prog = install &&
965 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
966 # AIX install. It has an incompatible calling convention.
969 ac_cv_path_install
="$ac_dir/$ac_prog -c"
980 if test "${ac_cv_path_install+set}" = set; then
981 INSTALL
="$ac_cv_path_install"
983 # As a last resort, use the slow shell script. We don't cache a
984 # path for INSTALL within a source directory, because that will
985 # break other packages using the cache if that directory is
986 # removed, or if the path is relative.
987 INSTALL
="$ac_install_sh"
990 echo "$ac_t""$INSTALL" 1>&6
992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
993 # It thinks the first close brace ends the variable substitution.
994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
998 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1003 # Make sure we can run config.sub.
1004 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1005 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1008 echo $ac_n "checking host system type""... $ac_c" 1>&6
1009 echo "configure:1010: checking host system type" >&5
1012 case "$host_alias" in
1016 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1017 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1019 *) host_alias
=$nonopt ;;
1023 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1024 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1025 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1026 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1027 echo "$ac_t""$host" 1>&6
1031 echo $ac_n "checking for AIX""... $ac_c" 1>&6
1032 echo "configure:1033: checking for AIX" >&5
1033 cat > conftest.
$ac_ext <<EOF
1034 #line 1035 "configure"
1035 #include "confdefs.h"
1041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1042 egrep "yes" >/dev
/null
2>&1; then
1044 echo "$ac_t""yes" 1>&6; cat >> confdefs.h
<<\EOF
1045 #define _ALL_SOURCE 1
1050 echo "$ac_t""no" 1>&6
1055 ac_safe
=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
1056 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
1057 echo "configure:1058: checking for minix/config.h" >&5
1058 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1059 echo $ac_n "(cached) $ac_c" 1>&6
1061 cat > conftest.
$ac_ext <<EOF
1062 #line 1063 "configure"
1063 #include "confdefs.h"
1064 #include <minix/config.h>
1066 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1067 { (eval echo configure
:1068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1068 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1069 if test -z "$ac_err"; then
1071 eval "ac_cv_header_$ac_safe=yes"
1074 echo "configure: failed program was:" >&5
1075 cat conftest.
$ac_ext >&5
1077 eval "ac_cv_header_$ac_safe=no"
1081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1082 echo "$ac_t""yes" 1>&6
1085 echo "$ac_t""no" 1>&6
1089 if test "$MINIX" = yes; then
1090 cat >> confdefs.h
<<\EOF
1091 #define _POSIX_SOURCE 1
1094 cat >> confdefs.h
<<\EOF
1095 #define _POSIX_1_SOURCE 2
1098 cat >> confdefs.h
<<\EOF
1104 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1105 echo "configure:1106: checking for POSIXized ISC" >&5
1106 if test -d /etc
/conf
/kconfig.d
&&
1107 grep _POSIX_VERSION
/usr
/include
/sys
/unistd.h
>/dev
/null
2>&1
1109 echo "$ac_t""yes" 1>&6
1110 ISC
=yes # If later tests want to check for ISC.
1111 cat >> confdefs.h
<<\EOF
1112 #define _POSIX_SOURCE 1
1115 if test "$GCC" = yes; then
1121 echo "$ac_t""no" 1>&6
1127 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1128 echo "configure:1129: checking for object suffix" >&5
1129 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1130 echo $ac_n "(cached) $ac_c" 1>&6
1133 echo 'int i = 1;' > conftest.
$ac_ext
1134 if { (eval echo configure
:1135: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1135 for ac_file
in conftest.
*; do
1138 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
1142 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1147 echo "$ac_t""$ac_cv_objext" 1>&6
1148 OBJEXT
=$ac_cv_objext
1149 ac_objext
=$ac_cv_objext
1151 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1152 echo "configure:1153: checking for Cygwin environment" >&5
1153 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1154 echo $ac_n "(cached) $ac_c" 1>&6
1156 cat > conftest.
$ac_ext <<EOF
1157 #line 1158 "configure"
1158 #include "confdefs.h"
1163 #define __CYGWIN__ __CYGWIN32__
1168 if { (eval echo configure
:1169: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1172 echo "configure: failed program was:" >&5
1173 cat conftest.
$ac_ext >&5
1181 echo "$ac_t""$ac_cv_cygwin" 1>&6
1183 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
1184 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1185 echo "configure:1186: checking for mingw32 environment" >&5
1186 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1187 echo $ac_n "(cached) $ac_c" 1>&6
1189 cat > conftest.
$ac_ext <<EOF
1190 #line 1191 "configure"
1191 #include "confdefs.h"
1197 if { (eval echo configure
:1198: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1201 echo "configure: failed program was:" >&5
1202 cat conftest.
$ac_ext >&5
1210 echo "$ac_t""$ac_cv_mingw32" 1>&6
1212 test "$ac_cv_mingw32" = yes && MINGW32
=yes
1215 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1216 echo "configure:1217: checking for executable suffix" >&5
1217 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1218 echo $ac_n "(cached) $ac_c" 1>&6
1220 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1224 echo 'int main () { return 0; }' > conftest.
$ac_ext
1226 if { (eval echo configure
:1227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1227 for file in conftest.
*; do
1229 *.c |
*.o |
*.obj
) ;;
1230 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1234 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1237 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1242 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1243 echo "$ac_t""${ac_cv_exeext}" 1>&6
1248 # Check whether --enable-shared or --disable-shared was given.
1249 if test "${enable_shared+set}" = set; then
1250 enableval
="$enable_shared"
1251 p
=${PACKAGE-default}
1252 case "$enableval" in
1253 yes) enable_shared
=yes ;;
1254 no
) enable_shared
=no
;;
1257 # Look at the argument we got. We use all the common list separators.
1258 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1259 for pkg
in $enableval; do
1260 if test "X$pkg" = "X$p"; then
1271 # Check whether --enable-static or --disable-static was given.
1272 if test "${enable_static+set}" = set; then
1273 enableval
="$enable_static"
1274 p
=${PACKAGE-default}
1275 case "$enableval" in
1276 yes) enable_static
=yes ;;
1277 no
) enable_static
=no
;;
1280 # Look at the argument we got. We use all the common list separators.
1281 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1282 for pkg
in $enableval; do
1283 if test "X$pkg" = "X$p"; then
1294 # Check whether --enable-fast-install or --disable-fast-install was given.
1295 if test "${enable_fast_install+set}" = set; then
1296 enableval
="$enable_fast_install"
1297 p
=${PACKAGE-default}
1298 case "$enableval" in
1299 yes) enable_fast_install
=yes ;;
1300 no
) enable_fast_install
=no
;;
1302 enable_fast_install
=no
1303 # Look at the argument we got. We use all the common list separators.
1304 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1305 for pkg
in $enableval; do
1306 if test "X$pkg" = "X$p"; then
1307 enable_fast_install
=yes
1314 enable_fast_install
=yes
1317 echo $ac_n "checking build system type""... $ac_c" 1>&6
1318 echo "configure:1319: checking build system type" >&5
1321 case "$build_alias" in
1324 NONE
) build_alias
=$host_alias ;;
1325 *) build_alias
=$nonopt ;;
1329 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1330 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1331 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1332 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1333 echo "$ac_t""$build" 1>&6
1335 # Extract the first word of "ranlib", so it can be a program name with args.
1336 set dummy ranlib
; ac_word
=$2
1337 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1338 echo "configure:1339: checking for $ac_word" >&5
1339 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1340 echo $ac_n "(cached) $ac_c" 1>&6
1342 if test -n "$RANLIB"; then
1343 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1345 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1347 for ac_dir
in $ac_dummy; do
1348 test -z "$ac_dir" && ac_dir
=.
1349 if test -f $ac_dir/$ac_word; then
1350 ac_cv_prog_RANLIB
="ranlib"
1355 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1358 RANLIB
="$ac_cv_prog_RANLIB"
1359 if test -n "$RANLIB"; then
1360 echo "$ac_t""$RANLIB" 1>&6
1362 echo "$ac_t""no" 1>&6
1365 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1366 if test "${with_gnu_ld+set}" = set; then
1367 withval
="$with_gnu_ld"
1368 test "$withval" = no || with_gnu_ld
=yes
1374 if test "$ac_cv_prog_gcc" = yes; then
1375 # Check if gcc -print-prog-name=ld gives a path.
1376 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1377 echo "configure:1378: checking for ld used by GCC" >&5
1378 ac_prog
=`($CC -print-prog-name=ld) 2>&5`
1380 # Accept absolute paths.
1381 [\\/]* |
[A-Za-z
]:[\\/]*)
1382 re_direlt
='/[^/][^/]*/\.\./'
1383 # Canonicalize the path of ld
1384 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1385 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1386 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1388 test -z "$LD" && LD
="$ac_prog"
1391 # If it fails, then pretend we aren't using GCC.
1395 # If it is relative, then search for the first ld in PATH.
1399 elif test "$with_gnu_ld" = yes; then
1400 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1401 echo "configure:1402: checking for GNU ld" >&5
1403 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1404 echo "configure:1405: checking for non-GNU ld" >&5
1406 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1407 echo $ac_n "(cached) $ac_c" 1>&6
1409 if test -z "$LD"; then
1410 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1411 for ac_dir
in $PATH; do
1412 test -z "$ac_dir" && ac_dir
=.
1413 if test -f "$ac_dir/$ac_prog" ||
test -f "$ac_dir/$ac_prog$ac_exeext"; then
1414 ac_cv_path_LD
="$ac_dir/$ac_prog"
1415 # Check to see if the program is GNU ld. I'd rather use --version,
1416 # but apparently some GNU ld's only accept -v.
1417 # Break only if it was the GNU/non-GNU ld that we prefer.
1418 if "$ac_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1419 test "$with_gnu_ld" != no
&& break
1421 test "$with_gnu_ld" != yes && break
1427 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
1432 if test -n "$LD"; then
1433 echo "$ac_t""$LD" 1>&6
1435 echo "$ac_t""no" 1>&6
1437 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1438 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1439 echo "configure:1440: checking if the linker ($LD) is GNU ld" >&5
1440 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1441 echo $ac_n "(cached) $ac_c" 1>&6
1443 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1444 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1445 ac_cv_prog_gnu_ld
=yes
1447 ac_cv_prog_gnu_ld
=no
1451 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1454 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1455 echo "configure:1456: checking for BSD-compatible nm" >&5
1456 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1457 echo $ac_n "(cached) $ac_c" 1>&6
1459 if test -n "$NM"; then
1460 # Let the user override the test.
1463 IFS
="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1464 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1465 test -z "$ac_dir" && ac_dir
=.
1466 if test -f $ac_dir/nm ||
test -f $ac_dir/nm
$ac_exeext ; then
1467 # Check to see if the nm accepts a BSD-compat flag.
1468 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1469 # nm: unknown option "B" ignored
1470 if ($ac_dir/nm
-B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1471 ac_cv_path_NM
="$ac_dir/nm -B"
1473 elif ($ac_dir/nm
-p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1474 ac_cv_path_NM
="$ac_dir/nm -p"
1477 ac_cv_path_NM
=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
1478 continue # so that we can try to find one that supports BSD flags
1483 test -z "$ac_cv_path_NM" && ac_cv_path_NM
=nm
1488 echo "$ac_t""$NM" 1>&6
1490 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1491 echo "configure:1492: checking whether ln -s works" >&5
1492 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1493 echo $ac_n "(cached) $ac_c" 1>&6
1496 if ln -s X conftestdata
2>/dev
/null
1499 ac_cv_prog_LN_S
="ln -s"
1504 LN_S
="$ac_cv_prog_LN_S"
1505 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1506 echo "$ac_t""yes" 1>&6
1508 echo "$ac_t""no" 1>&6
1513 NONE
) lt_target
="$host" ;;
1514 *) lt_target
="$target" ;;
1517 # Check for any special flags to pass to ltconfig.
1518 libtool_flags
="--cache-file=$cache_file"
1519 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
1520 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
1521 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
1522 test "$ac_cv_prog_gcc" = yes && libtool_flags
="$libtool_flags --with-gcc"
1523 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
1526 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1527 if test "${enable_libtool_lock+set}" = set; then
1528 enableval
="$enable_libtool_lock"
1532 test "x$enable_libtool_lock" = xno
&& libtool_flags
="$libtool_flags --disable-lock"
1533 test x
"$silent" = xyes
&& libtool_flags
="$libtool_flags --silent"
1535 # Some flags need to be propagated to the compiler or linker for good
1537 case "$lt_target" in
1539 # Find out which ABI we are using.
1540 echo '#line 1541 "configure"' > conftest.
$ac_ext
1541 if { (eval echo configure
:1542: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1542 case "`/usr/bin/file conftest.o`" in
1558 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1559 SAVE_CFLAGS
="$CFLAGS"
1560 CFLAGS
="$CFLAGS -belf"
1561 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1562 echo "configure:1563: checking whether the C compiler needs -belf" >&5
1563 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1564 echo $ac_n "(cached) $ac_c" 1>&6
1566 cat > conftest.
$ac_ext <<EOF
1567 #line 1568 "configure"
1568 #include "confdefs.h"
1574 if { (eval echo configure
:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1576 lt_cv_cc_needs_belf
=yes
1578 echo "configure: failed program was:" >&5
1579 cat conftest.
$ac_ext >&5
1581 lt_cv_cc_needs_belf
=no
1586 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
1587 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
1588 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1589 CFLAGS
="$SAVE_CFLAGS"
1597 # Save cache, so that ltconfig can load it
1598 cat > confcache
<<\EOF
1599 # This file is a shell script that caches the results of configure
1600 # tests run on this system so they can be shared between configure
1601 # scripts and configure runs. It is not useful on other systems.
1602 # If it contains results you don't want to keep, you may remove or edit it.
1604 # By default, configure uses ./config.cache as the cache file,
1605 # creating it if it does not exist already. You can give configure
1606 # the --cache-file=FILE option to use a different cache file; that is
1607 # what configure does when it calls configure scripts in
1608 # subdirectories, so they share the cache.
1609 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1610 # config.status only pays attention to the cache file if you give it the
1611 # --recheck option to rerun configure.
1614 # The following way of writing the cache mishandles newlines in values,
1615 # but we know of no workaround that is simple, portable, and efficient.
1616 # So, don't put newlines in cache variables' values.
1617 # Ultrix sh set writes to stderr and can't be redirected directly,
1618 # and sets the high bit in the cache file unless we assign to the vars.
1620 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1622 # `set' does not quote correctly, so add quotes (double-quote substitution
1623 # turns \\\\ into \\, and sed turns \\ into \).
1625 -e "s/'/'\\\\''/g" \
1626 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1629 # `set' quotes correctly as required by POSIX, so do not add quotes.
1630 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1633 if cmp -s $cache_file confcache
; then
1636 if test -w $cache_file; then
1637 echo "updating cache $cache_file"
1638 cat confcache
> $cache_file
1640 echo "not updating unwritable cache $cache_file"
1646 # Actually configure libtool. ac_aux_dir is where install-sh is found.
1647 CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
1648 LD
="$LD" LDFLAGS
="$LDFLAGS" LIBS
="$LIBS" \
1649 LN_S
="$LN_S" NM
="$NM" RANLIB
="$RANLIB" \
1650 DLLTOOL
="$DLLTOOL" AS
="$AS" OBJDUMP
="$OBJDUMP" \
1651 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
1652 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh
$lt_target \
1653 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1655 # Reload cache, that may have been modified by ltconfig
1656 if test -r "$cache_file"; then
1657 echo "loading cache $cache_file"
1660 echo "creating cache $cache_file"
1665 # This can be used to rebuild libtool when needed
1666 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
1668 # Always use our own libtool.
1669 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
1671 # Redirect the config.log output again, so that the ltconfig log is not
1672 # clobbered by the next message.
1673 exec 5>>.
/config.log
1678 for ac_hdr
in langinfo.h
1680 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1681 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1682 echo "configure:1683: checking for $ac_hdr" >&5
1683 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1684 echo $ac_n "(cached) $ac_c" 1>&6
1686 cat > conftest.
$ac_ext <<EOF
1687 #line 1688 "configure"
1688 #include "confdefs.h"
1691 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1692 { (eval echo configure
:1693: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1693 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1694 if test -z "$ac_err"; then
1696 eval "ac_cv_header_$ac_safe=yes"
1699 echo "configure: failed program was:" >&5
1700 cat conftest.
$ac_ext >&5
1702 eval "ac_cv_header_$ac_safe=no"
1706 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1707 echo "$ac_t""yes" 1>&6
1708 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1709 cat >> confdefs.h
<<EOF
1710 #define $ac_tr_hdr 1
1714 echo "$ac_t""no" 1>&6
1718 for ac_func
in nl_langinfo
1720 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1721 echo "configure:1722: checking for $ac_func" >&5
1722 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1723 echo $ac_n "(cached) $ac_c" 1>&6
1725 cat > conftest.
$ac_ext <<EOF
1726 #line 1727 "configure"
1727 #include "confdefs.h"
1728 /* System header to define __stub macros and hopefully few prototypes,
1729 which can conflict with char $ac_func(); below. */
1731 /* Override any gcc2 internal prototype to avoid an error. */
1732 /* We use char because int might match the return type of a gcc2
1733 builtin and then its argument prototype would still apply. */
1738 /* The GNU C library defines this for functions which it implements
1739 to always fail with ENOSYS. Some functions are actually named
1740 something starting with __ and the normal name is an alias. */
1741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1749 if { (eval echo configure
:1750: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1751 eval "ac_cv_func_$ac_func=yes"
1753 echo "configure: failed program was:" >&5
1754 cat conftest.
$ac_ext >&5
1756 eval "ac_cv_func_$ac_func=no"
1761 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1762 echo "$ac_t""yes" 1>&6
1763 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1764 cat >> confdefs.h
<<EOF
1765 #define $ac_tr_func 1
1769 echo "$ac_t""no" 1>&6
1774 echo $ac_n "checking for nl_langinfo and CODESET""... $ac_c" 1>&6
1775 echo "configure:1776: checking for nl_langinfo and CODESET" >&5
1776 if eval "test \"`echo '$''{'jm_cv_langinfo_codeset'+set}'`\" = set"; then
1777 echo $ac_n "(cached) $ac_c" 1>&6
1779 cat > conftest.
$ac_ext <<EOF
1780 #line 1781 "configure"
1781 #include "confdefs.h"
1782 #include <langinfo.h>
1784 char* cs = nl_langinfo(CODESET);
1787 if { (eval echo configure
:1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1789 jm_cv_langinfo_codeset
=yes
1791 echo "configure: failed program was:" >&5
1792 cat conftest.
$ac_ext >&5
1794 jm_cv_langinfo_codeset
=no
1800 echo "$ac_t""$jm_cv_langinfo_codeset" 1>&6
1801 if test $jm_cv_langinfo_codeset = yes; then
1802 cat >> confdefs.h
<<\EOF
1803 #define HAVE_LANGINFO_CODESET 1
1809 echo $ac_n "checking whether we are using the GNU C Library 2.1 or newer""... $ac_c" 1>&6
1810 echo "configure:1811: checking whether we are using the GNU C Library 2.1 or newer" >&5
1811 if eval "test \"`echo '$''{'ac_cv_gnu_library_2_1'+set}'`\" = set"; then
1812 echo $ac_n "(cached) $ac_c" 1>&6
1814 cat > conftest.
$ac_ext <<EOF
1815 #line 1816 "configure"
1816 #include "confdefs.h"
1818 #include <features.h>
1819 #ifdef __GNU_LIBRARY__
1820 #if (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 1) || (__GLIBC__ > 2)
1826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1827 egrep "Lucky GNU user" >/dev
/null
2>&1; then
1829 ac_cv_gnu_library_2_1
=yes
1832 ac_cv_gnu_library_2_1
=no
1840 echo "$ac_t""$ac_cv_gnu_library_2_1" 1>&6
1842 GLIBC21
="$ac_cv_gnu_library_2_1"
1845 for ac_hdr
in stddef.h stdlib.h string.h
1847 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1848 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1849 echo "configure:1850: checking for $ac_hdr" >&5
1850 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1851 echo $ac_n "(cached) $ac_c" 1>&6
1853 cat > conftest.
$ac_ext <<EOF
1854 #line 1855 "configure"
1855 #include "confdefs.h"
1858 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1859 { (eval echo configure
:1860: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1860 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1861 if test -z "$ac_err"; then
1863 eval "ac_cv_header_$ac_safe=yes"
1866 echo "configure: failed program was:" >&5
1867 cat conftest.
$ac_ext >&5
1869 eval "ac_cv_header_$ac_safe=no"
1873 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1874 echo "$ac_t""yes" 1>&6
1875 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1876 cat >> confdefs.h
<<EOF
1877 #define $ac_tr_hdr 1
1881 echo "$ac_t""no" 1>&6
1885 for ac_func
in setlocale
1887 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1888 echo "configure:1889: checking for $ac_func" >&5
1889 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1890 echo $ac_n "(cached) $ac_c" 1>&6
1892 cat > conftest.
$ac_ext <<EOF
1893 #line 1894 "configure"
1894 #include "confdefs.h"
1895 /* System header to define __stub macros and hopefully few prototypes,
1896 which can conflict with char $ac_func(); below. */
1898 /* Override any gcc2 internal prototype to avoid an error. */
1899 /* We use char because int might match the return type of a gcc2
1900 builtin and then its argument prototype would still apply. */
1905 /* The GNU C library defines this for functions which it implements
1906 to always fail with ENOSYS. Some functions are actually named
1907 something starting with __ and the normal name is an alias. */
1908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1916 if { (eval echo configure
:1917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1918 eval "ac_cv_func_$ac_func=yes"
1920 echo "configure: failed program was:" >&5
1921 cat conftest.
$ac_ext >&5
1923 eval "ac_cv_func_$ac_func=no"
1928 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1929 echo "$ac_t""yes" 1>&6
1930 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1931 cat >> confdefs.h
<<EOF
1932 #define $ac_tr_func 1
1936 echo "$ac_t""no" 1>&6
1942 cat > confcache
<<\EOF
1943 # This file is a shell script that caches the results of configure
1944 # tests run on this system so they can be shared between configure
1945 # scripts and configure runs. It is not useful on other systems.
1946 # If it contains results you don't want to keep, you may remove or edit it.
1948 # By default, configure uses ./config.cache as the cache file,
1949 # creating it if it does not exist already. You can give configure
1950 # the --cache-file=FILE option to use a different cache file; that is
1951 # what configure does when it calls configure scripts in
1952 # subdirectories, so they share the cache.
1953 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1954 # config.status only pays attention to the cache file if you give it the
1955 # --recheck option to rerun configure.
1958 # The following way of writing the cache mishandles newlines in values,
1959 # but we know of no workaround that is simple, portable, and efficient.
1960 # So, don't put newlines in cache variables' values.
1961 # Ultrix sh set writes to stderr and can't be redirected directly,
1962 # and sets the high bit in the cache file unless we assign to the vars.
1964 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1966 # `set' does not quote correctly, so add quotes (double-quote substitution
1967 # turns \\\\ into \\, and sed turns \\ into \).
1969 -e "s/'/'\\\\''/g" \
1970 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1973 # `set' quotes correctly as required by POSIX, so do not add quotes.
1974 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1977 if cmp -s $cache_file confcache
; then
1980 if test -w $cache_file; then
1981 echo "updating cache $cache_file"
1982 cat confcache
> $cache_file
1984 echo "not updating unwritable cache $cache_file"
1989 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1991 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
1992 # Let make expand exec_prefix.
1993 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
1995 # Any assignment to VPATH causes Sun make to only execute
1996 # the first set of double-colon rules, so remove it if not needed.
1997 # If there is a colon in the path, we need to keep it.
1998 if test "x$srcdir" = x.
; then
1999 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
2002 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2004 DEFS
=-DHAVE_CONFIG_H
2006 # Without the "./", some shells look in PATH for config.status.
2007 : ${CONFIG_STATUS=./config.status}
2009 echo creating
$CONFIG_STATUS
2010 rm -f $CONFIG_STATUS
2011 cat > $CONFIG_STATUS <<EOF
2013 # Generated automatically by configure.
2014 # Run this file to recreate the current configuration.
2015 # This directory was configured as follows,
2016 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2018 # $0 $ac_configure_args
2020 # Compiler output produced by configure, useful for debugging
2021 # configure, is in ./config.log if it exists.
2023 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2026 case "\$ac_option" in
2027 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2028 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2029 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2030 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2031 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2033 -help | --help | --hel | --he | --h)
2034 echo "\$ac_cs_usage"; exit 0 ;;
2035 *) echo "\$ac_cs_usage"; exit 1 ;;
2039 ac_given_srcdir=$srcdir
2040 ac_given_INSTALL="$INSTALL"
2042 trap 'rm -fr `echo "Makefile lib/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2044 cat >> $CONFIG_STATUS <<EOF
2046 # Protect against being on the right side of a sed subst in config.status.
2047 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2048 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2052 s%@CFLAGS@%$CFLAGS%g
2053 s%@CPPFLAGS@%$CPPFLAGS%g
2054 s%@CXXFLAGS@%$CXXFLAGS%g
2055 s%@FFLAGS@%$FFLAGS%g
2057 s%@LDFLAGS@%$LDFLAGS%g
2059 s%@exec_prefix@%$exec_prefix%g
2060 s%@prefix@%$prefix%g
2061 s%@program_transform_name@%$program_transform_name%g
2062 s%@bindir@%$bindir%g
2063 s%@sbindir@%$sbindir%g
2064 s%@libexecdir@%$libexecdir%g
2065 s%@datadir@%$datadir%g
2066 s%@sysconfdir@%$sysconfdir%g
2067 s%@sharedstatedir@%$sharedstatedir%g
2068 s%@localstatedir@%$localstatedir%g
2069 s%@libdir@%$libdir%g
2070 s%@includedir@%$includedir%g
2071 s%@oldincludedir@%$oldincludedir%g
2072 s%@infodir@%$infodir%g
2073 s%@mandir@%$mandir%g
2074 s%@SET_MAKE@%$SET_MAKE%g
2075 s%@PACKAGE@%$PACKAGE%g
2076 s%@VERSION@%$VERSION%g
2079 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2080 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
2081 s%@INSTALL_DATA@%$INSTALL_DATA%g
2083 s%@host_alias@%$host_alias%g
2084 s%@host_cpu@%$host_cpu%g
2085 s%@host_vendor@%$host_vendor%g
2086 s%@host_os@%$host_os%g
2087 s%@OBJEXT@%$OBJEXT%g
2088 s%@EXEEXT@%$EXEEXT%g
2090 s%@build_alias@%$build_alias%g
2091 s%@build_cpu@%$build_cpu%g
2092 s%@build_vendor@%$build_vendor%g
2093 s%@build_os@%$build_os%g
2094 s%@RANLIB@%$RANLIB%g
2096 s%@LIBTOOL@%$LIBTOOL%g
2097 s%@GLIBC21@%$GLIBC21%g
2102 cat >> $CONFIG_STATUS <<\EOF
2104 # Split the substitutions into bite-sized pieces for seds with
2105 # small command number limits, like on Digital OSF/1 and HP-UX.
2106 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
2107 ac_file
=1 # Number of current file.
2108 ac_beg
=1 # First line for current file.
2109 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
2112 while $ac_more_lines; do
2113 if test $ac_beg -gt 1; then
2114 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
2116 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
2118 if test ! -s conftest.s
$ac_file; then
2120 rm -f conftest.s
$ac_file
2122 if test -z "$ac_sed_cmds"; then
2123 ac_sed_cmds
="sed -f conftest.s$ac_file"
2125 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
2127 ac_file
=`expr $ac_file + 1`
2129 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
2132 if test -z "$ac_sed_cmds"; then
2137 cat >> $CONFIG_STATUS <<EOF
2139 CONFIG_FILES=\${CONFIG_FILES-"Makefile lib/Makefile"}
2141 cat >> $CONFIG_STATUS <<\EOF
2142 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
2143 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2145 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2146 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2147 *) ac_file_in
="${ac_file}.in" ;;
2150 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
2152 # Remove last slash and all that follows it. Not all systems have dirname.
2153 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2154 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
2155 # The file is in a subdirectory.
2156 test ! -d "$ac_dir" && mkdir
"$ac_dir"
2157 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
2158 # A "../" for each directory in $ac_dir_suffix.
2159 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2161 ac_dir_suffix
= ac_dots
=
2164 case "$ac_given_srcdir" in
2166 if test -z "$ac_dots"; then top_srcdir
=.
2167 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2168 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
2170 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2171 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
2174 case "$ac_given_INSTALL" in
2175 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
2176 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
2179 echo creating
"$ac_file"
2181 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2183 *Makefile
*) ac_comsub
="1i\\
2184 # $configure_input" ;;
2188 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2190 s%@configure_input@%$configure_input%g
2191 s%@srcdir@%$srcdir%g
2192 s%@top_srcdir@%$top_srcdir%g
2193 s%@INSTALL@%$INSTALL%g
2194 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
2198 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2199 # NAME is the cpp macro being defined and VALUE is the value it is being given.
2201 # ac_d sets the value in "#define NAME VALUE" lines.
2202 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
2203 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
2206 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2207 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2208 ac_uB
='\([ ]\)%\1#\2define\3'
2211 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2212 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
2213 ac_eB
='$%\1#\2define\3'
2217 if test "${CONFIG_HEADERS+set}" != set; then
2219 cat >> $CONFIG_STATUS <<EOF
2220 CONFIG_HEADERS="config.h"
2222 cat >> $CONFIG_STATUS <<\EOF
2224 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
2225 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
2227 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
2228 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
2229 *) ac_file_in
="${ac_file}.in" ;;
2232 echo creating
$ac_file
2234 rm -f conftest.frag conftest.
in conftest.out
2235 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
2236 cat $ac_file_inputs > conftest.
in
2240 # Transform confdefs.h into a sed script conftest.vals that substitutes
2241 # the proper values into config.h.in to produce config.h. And first:
2242 # Protect against being on the right side of a sed subst in config.status.
2243 # Protect against being in an unquoted here document in config.status.
2245 cat > conftest.hdr
<<\EOF
2248 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2252 sed -n -f conftest.hdr confdefs.h > conftest.vals
2255 # This sed command replaces #undef with comments. This is necessary, for
2256 # example, in the case of _POSIX_SOURCE, which is predefined and required
2257 # on some systems where configure will not decide to define it.
2258 cat >> conftest.vals <<\EOF
2259 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2262 # Break up conftest.vals because some shells have a limit on
2263 # the size of here documents, and old seds have small limits too.
2268 ac_lines=`grep -c . conftest.vals
`
2269 # grep -c gives empty output for an empty file on some AIX systems.
2270 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2271 # Write a limited-size here document to conftest.frag.
2272 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2273 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2275 sed -f conftest.frag conftest.in > conftest.out
2277 mv conftest.out conftest.in
2279 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2281 mv conftest.tail conftest.vals
2285 cat >> $CONFIG_STATUS <<\EOF
2286 rm -f conftest.frag conftest.h
2287 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
2288 cat conftest.in >> conftest.h
2290 if cmp -s $ac_file conftest.h 2>/dev/null; then
2291 echo "$ac_file is unchanged"
2294 # Remove last slash and all that follows it. Not all systems have dirname.
2295 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
2296 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2297 # The file is in a subdirectory.
2298 test ! -d "$ac_dir" && mkdir "$ac_dir"
2301 mv conftest.h $ac_file
2306 cat >> $CONFIG_STATUS <<EOF
2309 cat >> $CONFIG_STATUS <<\EOF
2313 chmod +x $CONFIG_STATUS
2314 rm -fr confdefs* $ac_clean_files
2315 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1