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-dynamic-linking Include support for dynamic linking"
20 --enable-guile-debug Include internal debugging functions"
22 --enable-shared[=PKGS] build shared libraries [default=yes]"
24 --enable-static[=PKGS] build static libraries [default=yes]"
26 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
28 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
30 --disable-libtool-lock force libtool not to do file locking"
32 --with-threads thread interface"
34 # Initialize some variables set by options.
35 # The variables have the same names as the options, with
36 # dashes changed to underlines.
38 cache_file
=.
/config.cache
47 program_transform_name
=s
,x
,x
,
55 bindir
='${exec_prefix}/bin'
56 sbindir
='${exec_prefix}/sbin'
57 libexecdir
='${exec_prefix}/libexec'
58 datadir
='${prefix}/share'
59 sysconfdir
='${prefix}/etc'
60 sharedstatedir
='${prefix}/com'
61 localstatedir
='${prefix}/var'
62 libdir
='${exec_prefix}/lib'
63 includedir
='${prefix}/include'
64 oldincludedir
='/usr/include'
65 infodir
='${prefix}/info'
66 mandir
='${prefix}/man'
68 # Initialize some other variables.
71 SHELL
=${CONFIG_SHELL-/bin/sh}
72 # Maximum number of lines to put in a shell here document.
79 # If the previous option needs an argument, assign it.
80 if test -n "$ac_prev"; then
81 eval "$ac_prev=\$ac_option"
87 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
91 # Accept the important Cygnus configure options, so we can diagnose typos.
95 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
97 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
98 bindir
="$ac_optarg" ;;
100 -build |
--build |
--buil |
--bui |
--bu)
102 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
103 build
="$ac_optarg" ;;
105 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
106 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
107 ac_prev
=cache_file
;;
108 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
109 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
110 cache_file
="$ac_optarg" ;;
112 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
114 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
116 datadir
="$ac_optarg" ;;
118 -disable-* |
--disable-*)
119 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
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'`
125 eval "enable_${ac_feature}=no" ;;
127 -enable-* |
--enable-*)
128 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
129 # Reject names that are not valid shell variable names.
130 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
131 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
133 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
138 eval "enable_${ac_feature}='$ac_optarg'" ;;
140 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
141 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
142 |
--exec |
--exe |
--ex)
143 ac_prev
=exec_prefix
;;
144 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
145 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
146 |
--exec=* |
--exe=* |
--ex=*)
147 exec_prefix
="$ac_optarg" ;;
149 -gas |
--gas |
--ga |
--g)
150 # Obsolete; use --with-gas.
153 -help |
--help |
--hel |
--he)
154 # Omit some internal or obsolete options to make the list less imposing.
155 # This message is too long to be a string in the A/UX 3.1 sh.
157 Usage: configure [options] [host]
158 Options: [defaults in brackets after descriptions]
160 --cache-file=FILE cache test results in FILE
161 --help print this message
162 --no-create do not create output files
163 --quiet, --silent do not print \`checking...' messages
164 --version print the version of autoconf that created configure
165 Directory and file names:
166 --prefix=PREFIX install architecture-independent files in PREFIX
168 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
170 --bindir=DIR user executables in DIR [EPREFIX/bin]
171 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
172 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
173 --datadir=DIR read-only architecture-independent data in DIR
175 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
176 --sharedstatedir=DIR modifiable architecture-independent data in DIR
178 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
179 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
180 --includedir=DIR C header files in DIR [PREFIX/include]
181 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
182 --infodir=DIR info documentation in DIR [PREFIX/info]
183 --mandir=DIR man documentation in DIR [PREFIX/man]
184 --srcdir=DIR find the sources in DIR [configure dir or ..]
185 --program-prefix=PREFIX prepend PREFIX to installed program names
186 --program-suffix=SUFFIX append SUFFIX to installed program names
187 --program-transform-name=PROGRAM
188 run sed PROGRAM on installed program names
192 --build=BUILD configure for building on BUILD [BUILD=HOST]
193 --host=HOST configure for HOST [guessed]
194 --target=TARGET configure for TARGET [TARGET=HOST]
195 Features and packages:
196 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
197 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
198 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
199 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
200 --x-includes=DIR X include files are in DIR
201 --x-libraries=DIR X library files are in DIR
203 if test -n "$ac_help"; then
204 echo "--enable and --with options recognized:$ac_help"
208 -host |
--host |
--hos |
--ho)
210 -host=* |
--host=* |
--hos=* |
--ho=*)
213 -includedir |
--includedir |
--includedi |
--included |
--include \
214 |
--includ |
--inclu |
--incl |
--inc)
215 ac_prev
=includedir
;;
216 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
217 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
218 includedir
="$ac_optarg" ;;
220 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
222 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
223 infodir
="$ac_optarg" ;;
225 -libdir |
--libdir |
--libdi |
--libd)
227 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
228 libdir
="$ac_optarg" ;;
230 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
231 |
--libexe |
--libex |
--libe)
232 ac_prev
=libexecdir
;;
233 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
234 |
--libexe=* |
--libex=* |
--libe=*)
235 libexecdir
="$ac_optarg" ;;
237 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
238 |
--localstate |
--localstat |
--localsta |
--localst \
239 |
--locals |
--local |
--loca |
--loc |
--lo)
240 ac_prev
=localstatedir
;;
241 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
242 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
243 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
244 localstatedir
="$ac_optarg" ;;
246 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
248 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
249 mandir
="$ac_optarg" ;;
252 # Obsolete; use --without-fp.
255 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
259 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
260 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
263 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
264 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
265 |
--oldin |
--oldi |
--old |
--ol |
--o)
266 ac_prev
=oldincludedir
;;
267 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
268 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
269 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
270 oldincludedir
="$ac_optarg" ;;
272 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
274 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
275 prefix
="$ac_optarg" ;;
277 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
278 |
--program-pre |
--program-pr |
--program-p)
279 ac_prev
=program_prefix
;;
280 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
281 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
282 program_prefix
="$ac_optarg" ;;
284 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
285 |
--program-suf |
--program-su |
--program-s)
286 ac_prev
=program_suffix
;;
287 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
288 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
289 program_suffix
="$ac_optarg" ;;
291 -program-transform-name |
--program-transform-name \
292 |
--program-transform-nam |
--program-transform-na \
293 |
--program-transform-n |
--program-transform- \
294 |
--program-transform |
--program-transfor \
295 |
--program-transfo |
--program-transf \
296 |
--program-trans |
--program-tran \
297 |
--progr-tra |
--program-tr |
--program-t)
298 ac_prev
=program_transform_name
;;
299 -program-transform-name=* |
--program-transform-name=* \
300 |
--program-transform-nam=* |
--program-transform-na=* \
301 |
--program-transform-n=* |
--program-transform-=* \
302 |
--program-transform=* |
--program-transfor=* \
303 |
--program-transfo=* |
--program-transf=* \
304 |
--program-trans=* |
--program-tran=* \
305 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
306 program_transform_name
="$ac_optarg" ;;
308 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
309 |
-silent |
--silent |
--silen |
--sile |
--sil)
312 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
314 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
316 sbindir
="$ac_optarg" ;;
318 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
319 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
320 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
322 ac_prev
=sharedstatedir
;;
323 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
324 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
325 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
327 sharedstatedir
="$ac_optarg" ;;
329 -site |
--site |
--sit)
331 -site=* |
--site=* |
--sit=*)
334 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
336 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
337 srcdir
="$ac_optarg" ;;
339 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
340 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
341 ac_prev
=sysconfdir
;;
342 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
343 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
344 sysconfdir
="$ac_optarg" ;;
346 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
348 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
349 target
="$ac_optarg" ;;
351 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
354 -version |
--version |
--versio |
--versi |
--vers)
355 echo "configure generated by autoconf version 2.13"
359 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
360 # Reject names that are not valid shell variable names.
361 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
362 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
364 ac_package
=`echo $ac_package| sed 's/-/_/g'`
369 eval "with_${ac_package}='$ac_optarg'" ;;
371 -without-* |
--without-*)
372 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
373 # Reject names that are not valid shell variable names.
374 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
375 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
377 ac_package
=`echo $ac_package| sed 's/-/_/g'`
378 eval "with_${ac_package}=no" ;;
381 # Obsolete; use --with-x.
384 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
385 |
--x-incl |
--x-inc |
--x-in |
--x-i)
386 ac_prev
=x_includes
;;
387 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
388 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
389 x_includes
="$ac_optarg" ;;
391 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
392 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
393 ac_prev
=x_libraries
;;
394 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
395 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
396 x_libraries
="$ac_optarg" ;;
398 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
402 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
403 echo "configure: warning: $ac_option: invalid host type" 1>&2
405 if test "x$nonopt" != xNONE
; then
406 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
414 if test -n "$ac_prev"; then
415 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
418 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
420 # File descriptor usage:
423 # 2 errors and warnings
424 # 3 some systems may open it to /dev/tty
425 # 4 used on the Kubota Titan
426 # 6 checking for... messages and results
427 # 5 compiler messages saved in config.log
428 if test "$silent" = yes; then
436 This file contains any messages produced by compilers while
437 running configure, to aid debugging if configure makes a mistake.
440 # Strip out --no-create and --no-recursion so they do not pile up.
441 # Also quote any args containing shell metacharacters.
446 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
447 |
--no-cr |
--no-c) ;;
448 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
449 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
450 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
451 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
452 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
457 # Only set these to C if already set. These must not be set unconditionally
458 # because not all systems understand e.g. LANG=C (notably SCO).
459 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
460 # Non-C LC_CTYPE values break the ctype check.
461 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
462 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
463 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
464 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
466 # confdefs.h avoids OS command line length limits that DEFS can exceed.
467 rm -rf conftest
* confdefs.h
468 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
471 # A filename unique to this package, relative to the directory that
472 # configure is in, which we can look for to find out if srcdir is correct.
473 ac_unique_file
=Makefile.
in
475 # Find the source files, if location was not specified.
476 if test -z "$srcdir"; then
477 ac_srcdir_defaulted
=yes
478 # Try the directory containing this script, then its parent.
480 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
481 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
483 if test ! -r $srcdir/$ac_unique_file; then
487 ac_srcdir_defaulted
=no
489 if test ! -r $srcdir/$ac_unique_file; then
490 if test "$ac_srcdir_defaulted" = yes; then
491 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
493 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
496 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
498 # Prefer explicitly selected file to automatically selected ones.
499 if test -z "$CONFIG_SITE"; then
500 if test "x$prefix" != xNONE
; then
501 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
503 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
506 for ac_site_file
in $CONFIG_SITE; do
507 if test -r "$ac_site_file"; then
508 echo "loading site script $ac_site_file"
513 if test -r "$cache_file"; then
514 echo "loading cache $cache_file"
517 echo "creating cache $cache_file"
522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
523 ac_cpp
='$CPP $CPPFLAGS'
524 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
525 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
526 cross_compiling
=$ac_cv_prog_cc_cross
530 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
531 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
532 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
539 ac_n
= ac_c
='\c' ac_t
=
543 .
$srcdir/GUILE-VERSION
545 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
546 if test -f $ac_dir/install-sh
; then
548 ac_install_sh
="$ac_aux_dir/install-sh -c"
550 elif test -f $ac_dir/install.sh
; then
552 ac_install_sh
="$ac_aux_dir/install.sh -c"
556 if test -z "$ac_aux_dir"; then
557 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
559 ac_config_guess
=$ac_aux_dir/config.guess
560 ac_config_sub
=$ac_aux_dir/config.sub
561 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
563 # Find a good install program. We prefer a C program (faster),
564 # so one script is as good as another. But avoid the broken or
565 # incompatible versions:
566 # SysV /etc/install, /usr/sbin/install
567 # SunOS /usr/etc/install
570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
573 # ./install, which can be erroneously created by make from ./install.sh.
574 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
575 echo "configure:576: checking for a BSD compatible install" >&5
576 if test -z "$INSTALL"; then
577 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
578 echo $ac_n "(cached) $ac_c" 1>&6
580 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
581 for ac_dir
in $PATH; do
582 # Account for people who put trailing slashes in PATH elements.
584 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
586 # OSF1 and SCO ODT 3.0 have their own names for install.
587 # Don't use installbsd from OSF since it installs stuff as root
589 for ac_prog
in ginstall scoinst
install; do
590 if test -f $ac_dir/$ac_prog; then
591 if test $ac_prog = install &&
592 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
593 # AIX install. It has an incompatible calling convention.
596 ac_cv_path_install
="$ac_dir/$ac_prog -c"
607 if test "${ac_cv_path_install+set}" = set; then
608 INSTALL
="$ac_cv_path_install"
610 # As a last resort, use the slow shell script. We don't cache a
611 # path for INSTALL within a source directory, because that will
612 # break other packages using the cache if that directory is
613 # removed, or if the path is relative.
614 INSTALL
="$ac_install_sh"
617 echo "$ac_t""$INSTALL" 1>&6
619 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
620 # It thinks the first close brace ends the variable substitution.
621 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
623 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
625 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
627 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
628 echo "configure:629: checking whether build environment is sane" >&5
631 echo timestamp
> conftestfile
632 # Do `set' in a subshell so we don't clobber the current shell's
633 # arguments. Must try -L first in case configure is actually a
634 # symlink; some systems play weird games with the mod time of symlinks
635 # (eg FreeBSD returns the mod time of the symlink's containing
638 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
639 if test "$*" = "X"; then
641 set X
`ls -t $srcdir/configure conftestfile`
643 if test "$*" != "X $srcdir/configure conftestfile" \
644 && test "$*" != "X conftestfile $srcdir/configure"; then
646 # If neither matched, then we have a broken ls. This can happen
647 # if, for instance, CONFIG_SHELL is bash and it inherits a
648 # broken ls alias from the environment. This has actually
649 # happened. Such a system could not be considered "sane".
650 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
651 alias in your environment" 1>&2; exit 1; }
654 test "$2" = conftestfile
660 { echo "configure: error: newly created file is older than distributed files!
661 Check your system clock" 1>&2; exit 1; }
664 echo "$ac_t""yes" 1>&6
665 if test "$program_transform_name" = s
,x
,x
,; then
666 program_transform_name
=
668 # Double any \ or $. echo might interpret backslashes.
669 cat <<\EOF_SED
> conftestsed
670 s
,\\,\\\\,g
; s
,\$
,$$
,g
672 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
675 test "$program_prefix" != NONE
&&
676 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
677 # Use a double $ so make ignores it.
678 test "$program_suffix" != NONE
&&
679 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
681 # sed with no file args requires a program.
682 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
684 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
685 echo "configure:686: checking whether ${MAKE-make} sets \${MAKE}" >&5
686 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
687 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
688 echo $ac_n "(cached) $ac_c" 1>&6
690 cat > conftestmake
<<\EOF
692 @
echo 'ac_maketemp="${MAKE}"'
694 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
695 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
696 if test -n "$ac_maketemp"; then
697 eval ac_cv_prog_make_
${ac_make}_set
=yes
699 eval ac_cv_prog_make_
${ac_make}_set
=no
703 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
704 echo "$ac_t""yes" 1>&6
707 echo "$ac_t""no" 1>&6
708 SET_MAKE
="MAKE=${MAKE-make}"
716 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
717 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
722 missing_dir
=`cd $ac_aux_dir && pwd`
723 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
724 echo "configure:725: checking for working aclocal" >&5
725 # Run test in a subshell; some versions of sh will print an error if
726 # an executable is not found, even if stderr is redirected.
727 # Redirect stdin to placate older versions of autoconf. Sigh.
728 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
730 echo "$ac_t""found" 1>&6
732 ACLOCAL
="$missing_dir/missing aclocal"
733 echo "$ac_t""missing" 1>&6
736 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
737 echo "configure:738: checking for working autoconf" >&5
738 # Run test in a subshell; some versions of sh will print an error if
739 # an executable is not found, even if stderr is redirected.
740 # Redirect stdin to placate older versions of autoconf. Sigh.
741 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
743 echo "$ac_t""found" 1>&6
745 AUTOCONF
="$missing_dir/missing autoconf"
746 echo "$ac_t""missing" 1>&6
749 echo $ac_n "checking for working automake""... $ac_c" 1>&6
750 echo "configure:751: checking for working automake" >&5
751 # Run test in a subshell; some versions of sh will print an error if
752 # an executable is not found, even if stderr is redirected.
753 # Redirect stdin to placate older versions of autoconf. Sigh.
754 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
756 echo "$ac_t""found" 1>&6
758 AUTOMAKE
="$missing_dir/missing automake"
759 echo "$ac_t""missing" 1>&6
762 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
763 echo "configure:764: checking for working autoheader" >&5
764 # Run test in a subshell; some versions of sh will print an error if
765 # an executable is not found, even if stderr is redirected.
766 # Redirect stdin to placate older versions of autoconf. Sigh.
767 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
768 AUTOHEADER
=autoheader
769 echo "$ac_t""found" 1>&6
771 AUTOHEADER
="$missing_dir/missing autoheader"
772 echo "$ac_t""missing" 1>&6
775 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
776 echo "configure:777: checking for working makeinfo" >&5
777 # Run test in a subshell; some versions of sh will print an error if
778 # an executable is not found, even if stderr is redirected.
779 # Redirect stdin to placate older versions of autoconf. Sigh.
780 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
782 echo "$ac_t""found" 1>&6
784 MAKEINFO
="$missing_dir/missing makeinfo"
785 echo "$ac_t""missing" 1>&6
789 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
790 echo "configure:791: checking whether to enable maintainer-specific portions of Makefiles" >&5
791 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
792 if test "${enable_maintainer_mode+set}" = set; then
793 enableval
="$enable_maintainer_mode"
794 USE_MAINTAINER_MODE
=$enableval
796 USE_MAINTAINER_MODE
=no
799 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
802 if test $USE_MAINTAINER_MODE = yes; then
803 MAINTAINER_MODE_TRUE
=
804 MAINTAINER_MODE_FALSE
='#'
806 MAINTAINER_MODE_TRUE
='#'
807 MAINTAINER_MODE_FALSE
=
809 MAINT
=$MAINTAINER_MODE_TRUE
816 #--------------------------------------------------------------------
820 #--------------------------------------------------------------------
822 # Check whether --enable-dynamic-linking or --disable-dynamic-linking was given.
823 if test "${enable_dynamic_linking+set}" = set; then
824 enableval
="$enable_dynamic_linking"
827 enable_dynamic_linking
=yes
831 # Check whether --enable-guile-debug or --disable-guile-debug was given.
832 if test "${enable_guile_debug+set}" = set; then
833 enableval
="$enable_guile_debug"
837 if test "$enableval" = y ||
test "$enableval" = yes; then
838 cat >> confdefs.h
<<\EOF
839 #define GUILE_DEBUG 1
844 cat >> confdefs.h
<<\EOF
845 #define DEBUG_EXTENSIONS 1
848 cat >> confdefs.h
<<\EOF
849 #define READER_EXTENSIONS 1
853 #--------------------------------------------------------------------
855 # Extract the first word of "gcc", so it can be a program name with args.
856 set dummy gcc
; ac_word
=$2
857 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
858 echo "configure:859: checking for $ac_word" >&5
859 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
860 echo $ac_n "(cached) $ac_c" 1>&6
862 if test -n "$CC"; then
863 ac_cv_prog_CC
="$CC" # Let the user override the test.
865 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
867 for ac_dir
in $ac_dummy; do
868 test -z "$ac_dir" && ac_dir
=.
869 if test -f $ac_dir/$ac_word; then
878 if test -n "$CC"; then
879 echo "$ac_t""$CC" 1>&6
881 echo "$ac_t""no" 1>&6
884 if test -z "$CC"; then
885 # Extract the first word of "cc", so it can be a program name with args.
886 set dummy cc
; ac_word
=$2
887 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
888 echo "configure:889: checking for $ac_word" >&5
889 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
890 echo $ac_n "(cached) $ac_c" 1>&6
892 if test -n "$CC"; then
893 ac_cv_prog_CC
="$CC" # Let the user override the test.
895 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
898 for ac_dir
in $ac_dummy; do
899 test -z "$ac_dir" && ac_dir
=.
900 if test -f $ac_dir/$ac_word; then
901 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
910 if test $ac_prog_rejected = yes; then
911 # We found a bogon in the path, so make sure we never use it.
912 set dummy
$ac_cv_prog_CC
914 if test $# -gt 0; then
915 # We chose a different compiler from the bogus one.
916 # However, it has the same basename, so the bogon will be chosen
917 # first if we set CC to just the basename; use the full file name.
919 set dummy
"$ac_dir/$ac_word" "$@"
927 if test -n "$CC"; then
928 echo "$ac_t""$CC" 1>&6
930 echo "$ac_t""no" 1>&6
933 if test -z "$CC"; then
936 # Extract the first word of "cl", so it can be a program name with args.
937 set dummy cl
; ac_word
=$2
938 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
939 echo "configure:940: checking for $ac_word" >&5
940 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
941 echo $ac_n "(cached) $ac_c" 1>&6
943 if test -n "$CC"; then
944 ac_cv_prog_CC
="$CC" # Let the user override the test.
946 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
948 for ac_dir
in $ac_dummy; do
949 test -z "$ac_dir" && ac_dir
=.
950 if test -f $ac_dir/$ac_word; then
959 if test -n "$CC"; then
960 echo "$ac_t""$CC" 1>&6
962 echo "$ac_t""no" 1>&6
967 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
970 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
971 echo "configure:972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
974 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
975 ac_cpp
='$CPP $CPPFLAGS'
976 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
977 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
978 cross_compiling
=$ac_cv_prog_cc_cross
980 cat > conftest.
$ac_ext << EOF
982 #line 983 "configure"
983 #include "confdefs.h"
987 if { (eval echo configure
:988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
988 ac_cv_prog_cc_works
=yes
989 # If we can't run a trivial program, we are probably using a cross compiler.
990 if (.
/conftest
; exit) 2>/dev
/null
; then
991 ac_cv_prog_cc_cross
=no
993 ac_cv_prog_cc_cross
=yes
996 echo "configure: failed program was:" >&5
997 cat conftest.
$ac_ext >&5
998 ac_cv_prog_cc_works
=no
1002 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1003 ac_cpp
='$CPP $CPPFLAGS'
1004 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1005 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1006 cross_compiling
=$ac_cv_prog_cc_cross
1008 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1009 if test $ac_cv_prog_cc_works = no
; then
1010 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1012 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1013 echo "configure:1014: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1014 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1015 cross_compiling
=$ac_cv_prog_cc_cross
1017 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1018 echo "configure:1019: checking whether we are using GNU C" >&5
1019 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1020 echo $ac_n "(cached) $ac_c" 1>&6
1022 cat > conftest.c
<<EOF
1027 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1034 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1036 if test $ac_cv_prog_gcc = yes; then
1042 ac_test_CFLAGS
="${CFLAGS+set}"
1043 ac_save_CFLAGS
="$CFLAGS"
1045 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1046 echo "configure:1047: checking whether ${CC-cc} accepts -g" >&5
1047 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1048 echo $ac_n "(cached) $ac_c" 1>&6
1050 echo 'void f(){}' > conftest.c
1051 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1060 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1061 if test "$ac_test_CFLAGS" = set; then
1062 CFLAGS
="$ac_save_CFLAGS"
1063 elif test $ac_cv_prog_cc_g = yes; then
1064 if test "$GCC" = yes; then
1070 if test "$GCC" = yes; then
1077 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1078 echo "configure:1079: checking how to run the C preprocessor" >&5
1079 # On Suns, sometimes $CPP names a directory.
1080 if test -n "$CPP" && test -d "$CPP"; then
1083 if test -z "$CPP"; then
1084 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1085 echo $ac_n "(cached) $ac_c" 1>&6
1087 # This must be in double quotes, not single quotes, because CPP may get
1088 # substituted into the Makefile and "${CC-cc}" will confuse make.
1090 # On the NeXT, cc -E runs the code through the compiler's parser,
1091 # not just through cpp.
1092 cat > conftest.
$ac_ext <<EOF
1093 #line 1094 "configure"
1094 #include "confdefs.h"
1098 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1099 { (eval echo configure
:1100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1100 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1101 if test -z "$ac_err"; then
1105 echo "configure: failed program was:" >&5
1106 cat conftest.
$ac_ext >&5
1108 CPP
="${CC-cc} -E -traditional-cpp"
1109 cat > conftest.
$ac_ext <<EOF
1110 #line 1111 "configure"
1111 #include "confdefs.h"
1115 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1116 { (eval echo configure
:1117: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1117 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1118 if test -z "$ac_err"; then
1122 echo "configure: failed program was:" >&5
1123 cat conftest.
$ac_ext >&5
1125 CPP
="${CC-cc} -nologo -E"
1126 cat > conftest.
$ac_ext <<EOF
1127 #line 1128 "configure"
1128 #include "confdefs.h"
1132 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1133 { (eval echo configure
:1134: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1134 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1135 if test -z "$ac_err"; then
1139 echo "configure: failed program was:" >&5
1140 cat conftest.
$ac_ext >&5
1149 ac_cv_prog_CPP
="$CPP"
1151 CPP
="$ac_cv_prog_CPP"
1153 ac_cv_prog_CPP
="$CPP"
1155 echo "$ac_t""$CPP" 1>&6
1157 # Check whether --enable-shared or --disable-shared was given.
1158 if test "${enable_shared+set}" = set; then
1159 enableval
="$enable_shared"
1160 p
=${PACKAGE-default}
1161 case "$enableval" in
1162 yes) enable_shared
=yes ;;
1163 no
) enable_shared
=no
;;
1166 # Look at the argument we got. We use all the common list separators.
1167 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1168 for pkg
in $enableval; do
1169 if test "X$pkg" = "X$p"; then
1180 # Check whether --enable-static or --disable-static was given.
1181 if test "${enable_static+set}" = set; then
1182 enableval
="$enable_static"
1183 p
=${PACKAGE-default}
1184 case "$enableval" in
1185 yes) enable_static
=yes ;;
1186 no
) enable_static
=no
;;
1189 # Look at the argument we got. We use all the common list separators.
1190 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1191 for pkg
in $enableval; do
1192 if test "X$pkg" = "X$p"; then
1203 # Check whether --enable-fast-install or --disable-fast-install was given.
1204 if test "${enable_fast_install+set}" = set; then
1205 enableval
="$enable_fast_install"
1206 p
=${PACKAGE-default}
1207 case "$enableval" in
1208 yes) enable_fast_install
=yes ;;
1209 no
) enable_fast_install
=no
;;
1211 enable_fast_install
=no
1212 # Look at the argument we got. We use all the common list separators.
1213 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1214 for pkg
in $enableval; do
1215 if test "X$pkg" = "X$p"; then
1216 enable_fast_install
=yes
1223 enable_fast_install
=yes
1227 # Make sure we can run config.sub.
1228 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1229 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1232 echo $ac_n "checking host system type""... $ac_c" 1>&6
1233 echo "configure:1234: checking host system type" >&5
1236 case "$host_alias" in
1240 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1241 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1243 *) host_alias
=$nonopt ;;
1247 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1248 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1249 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1250 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1251 echo "$ac_t""$host" 1>&6
1253 echo $ac_n "checking build system type""... $ac_c" 1>&6
1254 echo "configure:1255: checking build system type" >&5
1257 case "$build_alias" in
1260 NONE
) build_alias
=$host_alias ;;
1261 *) build_alias
=$nonopt ;;
1265 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1266 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1267 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1268 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1269 echo "$ac_t""$build" 1>&6
1271 # Extract the first word of "ranlib", so it can be a program name with args.
1272 set dummy ranlib
; ac_word
=$2
1273 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1274 echo "configure:1275: checking for $ac_word" >&5
1275 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1276 echo $ac_n "(cached) $ac_c" 1>&6
1278 if test -n "$RANLIB"; then
1279 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1281 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1283 for ac_dir
in $ac_dummy; do
1284 test -z "$ac_dir" && ac_dir
=.
1285 if test -f $ac_dir/$ac_word; then
1286 ac_cv_prog_RANLIB
="ranlib"
1291 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1294 RANLIB
="$ac_cv_prog_RANLIB"
1295 if test -n "$RANLIB"; then
1296 echo "$ac_t""$RANLIB" 1>&6
1298 echo "$ac_t""no" 1>&6
1301 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1302 if test "${with_gnu_ld+set}" = set; then
1303 withval
="$with_gnu_ld"
1304 test "$withval" = no || with_gnu_ld
=yes
1310 if test "$ac_cv_prog_gcc" = yes; then
1311 # Check if gcc -print-prog-name=ld gives a path.
1312 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1313 echo "configure:1314: checking for ld used by GCC" >&5
1314 ac_prog
=`($CC -print-prog-name=ld) 2>&5`
1316 # Accept absolute paths.
1317 /* |
[A-Za-z
]:[\\/]*)
1318 re_direlt
='/[^/][^/]*/\.\./'
1319 # Canonicalize the path of ld
1320 ac_prog
=`echo $ac_prog| sed 's%\\\\%/%g'`
1321 while echo $ac_prog |
grep "$re_direlt" > /dev
/null
2>&1; do
1322 ac_prog
=`echo $ac_prog| sed "s%$re_direlt%/%"`
1324 test -z "$LD" && LD
="$ac_prog"
1327 # If it fails, then pretend we aren't using GCC.
1331 # If it is relative, then search for the first ld in PATH.
1335 elif test "$with_gnu_ld" = yes; then
1336 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1337 echo "configure:1338: checking for GNU ld" >&5
1339 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1340 echo "configure:1341: checking for non-GNU ld" >&5
1342 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1343 echo $ac_n "(cached) $ac_c" 1>&6
1345 if test -z "$LD"; then
1346 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1347 for ac_dir
in $PATH; do
1348 test -z "$ac_dir" && ac_dir
=.
1349 if test -f "$ac_dir/$ac_prog"; then
1350 ac_cv_path_LD
="$ac_dir/$ac_prog"
1351 # Check to see if the program is GNU ld. I'd rather use --version,
1352 # but apparently some GNU ld's only accept -v.
1353 # Break only if it was the GNU/non-GNU ld that we prefer.
1354 if "$ac_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1355 test "$with_gnu_ld" != no
&& break
1357 test "$with_gnu_ld" != yes && break
1363 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
1368 if test -n "$LD"; then
1369 echo "$ac_t""$LD" 1>&6
1371 echo "$ac_t""no" 1>&6
1373 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1375 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1376 echo "configure:1377: checking if the linker ($LD) is GNU ld" >&5
1377 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1378 echo $ac_n "(cached) $ac_c" 1>&6
1380 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1381 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1382 ac_cv_prog_gnu_ld
=yes
1384 ac_cv_prog_gnu_ld
=no
1388 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1391 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1392 echo "configure:1393: checking for BSD-compatible nm" >&5
1393 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1394 echo $ac_n "(cached) $ac_c" 1>&6
1396 if test -n "$NM"; then
1397 # Let the user override the test.
1400 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1401 for ac_dir
in $PATH /usr
/ccs
/bin
/usr
/ucb
/bin
; do
1402 test -z "$ac_dir" && ac_dir
=.
1403 if test -f $ac_dir/nm
; then
1404 # Check to see if the nm accepts a BSD-compat flag.
1405 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1406 # nm: unknown option "B" ignored
1407 if ($ac_dir/nm
-B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1408 ac_cv_path_NM
="$ac_dir/nm -B"
1410 elif ($ac_dir/nm
-p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1411 ac_cv_path_NM
="$ac_dir/nm -p"
1414 ac_cv_path_NM
=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
1415 continue # so that we can try to find one that supports BSD flags
1420 test -z "$ac_cv_path_NM" && ac_cv_path_NM
=nm
1425 echo "$ac_t""$NM" 1>&6
1428 # Check for command to grab the raw symbol name followed by C symbol from nm.
1429 echo $ac_n "checking command to parse $NM output""... $ac_c" 1>&6
1430 echo "configure:1431: checking command to parse $NM output" >&5
1431 if eval "test \"`echo '$''{'ac_cv_sys_global_symbol_pipe'+set}'`\" = set"; then
1432 echo $ac_n "(cached) $ac_c" 1>&6
1434 # These are sane defaults that work on at least a few old systems.
1435 # {They come from Ultrix. What could be older than Ultrix?!! ;)}
1437 # Character class describing NM global symbol codes.
1438 ac_symcode
='[BCDEGRST]'
1440 # Regexp to match symbols that can be accessed directly from C.
1441 ac_sympat
='\([_A-Za-z][_A-Za-z0-9]*\)'
1443 # Transform the above into a raw symbol and a C symbol.
1444 ac_symxfrm
='\1 \2\3 \3'
1446 # Transform an extracted symbol line into a proper C declaration
1447 ac_global_symbol_to_cdecl
="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
1449 # Define system-specific variables.
1455 ac_symcode
='[ABCDGISTW]'
1458 ac_global_symbol_to_cdecl
="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^. .* \(.*\)$/extern char \1;/p'"
1461 ac_symcode
='[BCDEGRST]'
1468 # If we're using GNU nm, then use its standard symbol codes.
1469 if $NM -V 2>&1 |
egrep '(GNU|with BFD)' > /dev
/null
; then
1470 ac_symcode
='[ABCDGISTW]'
1473 # Try without a prefix undercore, then with it.
1474 for ac_symprfx
in "" "_"; do
1476 ac_cv_sys_global_symbol_pipe
="sed -n -e 's/^.* \($ac_symcode\) *\($ac_symprfx\)$ac_sympat$/$ac_symxfrm/p'"
1478 # Check to see that the pipe works correctly.
1480 rm -f conftest.
$ac_ext
1481 cat > conftest.
$ac_ext <<EOF
1486 void nm_test_func(){}
1490 int main(){nm_test_var='a';nm_test_func;return 0;}
1493 if { (eval echo configure
:1494: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1494 # Now try to grab the symbols.
1495 ac_nlist
=conftest.nm
1497 if { (eval echo configure
:1498: \"$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
1499 # Try sorting and uniquifying the output.
1500 if sort "$ac_nlist" |
uniq > "$ac_nlist"T
; then
1501 mv -f "$ac_nlist"T
"$ac_nlist"
1506 # Make sure that we snagged all the symbols we need.
1507 if egrep ' nm_test_var$' "$ac_nlist" >/dev
/null
; then
1508 if egrep ' nm_test_func$' "$ac_nlist" >/dev
/null
; then
1509 cat <<EOF > conftest.c
1515 # Now generate the symbol file.
1516 eval "$ac_global_symbol_to_cdecl"' < "$ac_nlist" >> conftest.c'
1518 cat <<EOF >> conftest.c
1519 #if defined (__STDC__) && __STDC__
1520 # define lt_ptr_t void *
1522 # define lt_ptr_t char *
1526 /* The mapping between symbol names and symbols. */
1531 lt_preloaded_symbols[] =
1534 sed 's/^. \(.*\) \(.*\)$/ {"\2", (lt_ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
1535 cat <<\EOF
>> conftest.c
1543 # Now try linking the two files.
1544 mv conftest.
$ac_objext conftestm.
$ac_objext
1545 ac_save_LIBS
="$LIBS"
1546 ac_save_CFLAGS
="$CFLAGS"
1547 LIBS
="conftestm.$ac_objext"
1548 CFLAGS
="$CFLAGS$no_builtin_flag"
1549 if { (eval echo configure
:1550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1552 echo "configure: failed program was:" >&5
1555 LIBS
="$ac_save_LIBS"
1556 CFLAGS
="$ac_save_CFLAGS"
1558 echo "cannot find nm_test_func in $ac_nlist" >&5
1561 echo "cannot find nm_test_var in $ac_nlist" >&5
1564 echo "cannot run $ac_cv_sys_global_symbol_pipe" >&5
1567 echo "$progname: failed program was:" >&5
1572 # Do not use the global_symbol_pipe unless it works.
1573 if test "$ac_pipe_works" = yes; then
1574 if test x
"$ac_symprfx" = x
"_"; then
1575 ac_cv_sys_symbol_underscore
=yes
1577 ac_cv_sys_symbol_underscore
=no
1581 ac_cv_sys_global_symbol_pipe
=
1589 if test -z "$ac_cv_sys_global_symbol_pipe"; then
1592 echo "$ac_t""$ac_result" 1>&6
1594 echo $ac_n "checking for _ prefix in compiled symbols""... $ac_c" 1>&6
1595 echo "configure:1596: checking for _ prefix in compiled symbols" >&5
1596 if eval "test \"`echo '$''{'ac_cv_sys_symbol_underscore'+set}'`\" = set"; then
1597 echo $ac_n "(cached) $ac_c" 1>&6
1599 ac_cv_sys_symbol_underscore
=no
1600 cat > conftest.
$ac_ext <<EOF
1601 void nm_test_func(){}
1602 int main(){nm_test_func;return 0;}
1604 if { (eval echo configure
:1605: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1605 # Now try to grab the symbols.
1606 ac_nlist
=conftest.nm
1607 if { (eval echo configure
:1608: \"$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
1608 # See whether the symbols have a leading underscore.
1609 if egrep '^. _nm_test_func' "$ac_nlist" >/dev
/null
; then
1610 ac_cv_sys_symbol_underscore
=yes
1612 if egrep '^. nm_test_func ' "$ac_nlist" >/dev
/null
; then
1615 echo "configure: cannot find nm_test_func in $ac_nlist" >&5
1619 echo "configure: cannot run $ac_cv_sys_global_symbol_pipe" >&5
1622 echo "configure: failed program was:" >&5
1629 echo "$ac_t""$ac_cv_sys_symbol_underscore" 1>&6
1630 USE_SYMBOL_UNDERSCORE
=${ac_cv_sys_symbol_underscore=no}
1632 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1633 echo "configure:1634: checking whether ln -s works" >&5
1634 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1635 echo $ac_n "(cached) $ac_c" 1>&6
1638 if ln -s X conftestdata
2>/dev
/null
1641 ac_cv_prog_LN_S
="ln -s"
1646 LN_S
="$ac_cv_prog_LN_S"
1647 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1648 echo "$ac_t""yes" 1>&6
1650 echo "$ac_t""no" 1>&6
1653 if test $host != $build; then
1654 ac_tool_prefix
=${host_alias}-
1660 # Check for any special flags to pass to ltconfig.
1661 libtool_flags
="--cache-file=$cache_file"
1662 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
1663 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
1664 test "$enable_fast_install" = no
&& libtool_flags
="$libtool_flags --disable-fast-install"
1665 test "$lt_dlopen" = yes && libtool_flags
="$libtool_flags --enable-dlopen"
1666 test "$silent" = yes && libtool_flags
="$libtool_flags --silent"
1667 test "$ac_cv_prog_gcc" = yes && libtool_flags
="$libtool_flags --with-gcc"
1668 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
1670 # Some flags need to be propagated to the compiler or linker for good
1674 # Find out which ABI we are using.
1675 echo '#line 1676 "configure"' > conftest.
$ac_ext
1676 if { (eval echo configure
:1677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1677 case "`/usr/bin/file conftest.o`" in
1693 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1694 SAVE_CFLAGS
="$CFLAGS"
1695 CFLAGS
="$CFLAGS -belf"
1696 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1697 echo "configure:1698: checking whether the C compiler needs -belf" >&5
1698 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1699 echo $ac_n "(cached) $ac_c" 1>&6
1701 cat > conftest.
$ac_ext <<EOF
1702 #line 1703 "configure"
1703 #include "confdefs.h"
1709 if { (eval echo configure
:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1711 lt_cv_cc_needs_belf
=yes
1713 echo "configure: failed program was:" >&5
1714 cat conftest.
$ac_ext >&5
1716 lt_cv_cc_needs_belf
=no
1721 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
1722 if test x
"$lt_cv_cc_needs_belf" != x
"yes"; then
1723 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1724 CFLAGS
="$SAVE_CFLAGS"
1729 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
1730 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
1731 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1732 echo "configure:1733: checking for $ac_word" >&5
1733 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
1734 echo $ac_n "(cached) $ac_c" 1>&6
1736 if test -n "$DLLTOOL"; then
1737 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
1739 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1741 for ac_dir
in $ac_dummy; do
1742 test -z "$ac_dir" && ac_dir
=.
1743 if test -f $ac_dir/$ac_word; then
1744 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
1751 DLLTOOL
="$ac_cv_prog_DLLTOOL"
1752 if test -n "$DLLTOOL"; then
1753 echo "$ac_t""$DLLTOOL" 1>&6
1755 echo "$ac_t""no" 1>&6
1759 if test -z "$ac_cv_prog_DLLTOOL"; then
1760 if test -n "$ac_tool_prefix"; then
1761 # Extract the first word of "dlltool", so it can be a program name with args.
1762 set dummy dlltool
; ac_word
=$2
1763 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1764 echo "configure:1765: checking for $ac_word" >&5
1765 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
1766 echo $ac_n "(cached) $ac_c" 1>&6
1768 if test -n "$DLLTOOL"; then
1769 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
1771 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1773 for ac_dir
in $ac_dummy; do
1774 test -z "$ac_dir" && ac_dir
=.
1775 if test -f $ac_dir/$ac_word; then
1776 ac_cv_prog_DLLTOOL
="dlltool"
1781 test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL
="false"
1784 DLLTOOL
="$ac_cv_prog_DLLTOOL"
1785 if test -n "$DLLTOOL"; then
1786 echo "$ac_t""$DLLTOOL" 1>&6
1788 echo "$ac_t""no" 1>&6
1796 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1797 set dummy
${ac_tool_prefix}as
; ac_word
=$2
1798 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1799 echo "configure:1800: checking for $ac_word" >&5
1800 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1801 echo $ac_n "(cached) $ac_c" 1>&6
1803 if test -n "$AS"; then
1804 ac_cv_prog_AS
="$AS" # Let the user override the test.
1806 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1808 for ac_dir
in $ac_dummy; do
1809 test -z "$ac_dir" && ac_dir
=.
1810 if test -f $ac_dir/$ac_word; then
1811 ac_cv_prog_AS
="${ac_tool_prefix}as"
1819 if test -n "$AS"; then
1820 echo "$ac_t""$AS" 1>&6
1822 echo "$ac_t""no" 1>&6
1826 if test -z "$ac_cv_prog_AS"; then
1827 if test -n "$ac_tool_prefix"; then
1828 # Extract the first word of "as", so it can be a program name with args.
1829 set dummy as
; ac_word
=$2
1830 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1831 echo "configure:1832: checking for $ac_word" >&5
1832 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1833 echo $ac_n "(cached) $ac_c" 1>&6
1835 if test -n "$AS"; then
1836 ac_cv_prog_AS
="$AS" # Let the user override the test.
1838 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1840 for ac_dir
in $ac_dummy; do
1841 test -z "$ac_dir" && ac_dir
=.
1842 if test -f $ac_dir/$ac_word; then
1848 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS
="false"
1852 if test -n "$AS"; then
1853 echo "$ac_t""$AS" 1>&6
1855 echo "$ac_t""no" 1>&6
1868 # enable the --disable-libtool-lock switch
1870 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1871 if test "${enable_libtool_lock+set}" = set; then
1872 enableval
="$enable_libtool_lock"
1873 need_locks
=$enableval
1879 if test x
"$need_locks" = xno
; then
1880 libtool_flags
="$libtool_flags --disable-lock"
1884 # Save cache, so that ltconfig can load it
1885 cat > confcache
<<\EOF
1886 # This file is a shell script that caches the results of configure
1887 # tests run on this system so they can be shared between configure
1888 # scripts and configure runs. It is not useful on other systems.
1889 # If it contains results you don't want to keep, you may remove or edit it.
1891 # By default, configure uses ./config.cache as the cache file,
1892 # creating it if it does not exist already. You can give configure
1893 # the --cache-file=FILE option to use a different cache file; that is
1894 # what configure does when it calls configure scripts in
1895 # subdirectories, so they share the cache.
1896 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1897 # config.status only pays attention to the cache file if you give it the
1898 # --recheck option to rerun configure.
1901 # The following way of writing the cache mishandles newlines in values,
1902 # but we know of no workaround that is simple, portable, and efficient.
1903 # So, don't put newlines in cache variables' values.
1904 # Ultrix sh set writes to stderr and can't be redirected directly,
1905 # and sets the high bit in the cache file unless we assign to the vars.
1907 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1909 # `set' does not quote correctly, so add quotes (double-quote substitution
1910 # turns \\\\ into \\, and sed turns \\ into \).
1912 -e "s/'/'\\\\''/g" \
1913 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1916 # `set' quotes correctly as required by POSIX, so do not add quotes.
1917 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1920 if cmp -s $cache_file confcache
; then
1923 if test -w $cache_file; then
1924 echo "updating cache $cache_file"
1925 cat confcache
> $cache_file
1927 echo "not updating unwritable cache $cache_file"
1933 # Actually configure libtool. ac_aux_dir is where install-sh is found.
1934 CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
1935 LD
="$LD" NM
="$NM" RANLIB
="$RANLIB" LN_S
="$LN_S" \
1936 DLLTOOL
="$DLLTOOL" AS
="$AS" \
1937 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig
--no-reexec \
1938 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh
$host \
1939 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1941 # Reload cache, that may have been modified by ltconfig
1942 if test -r "$cache_file"; then
1943 echo "loading cache $cache_file"
1946 echo "creating cache $cache_file"
1951 # This can be used to rebuild libtool when needed
1952 LIBTOOL_DEPS
="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
1954 # Always use our own libtool.
1955 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
1957 # Redirect the config.log output again, so that the ltconfig log is not
1958 # clobbered by the next message.
1959 exec 5>>.
/config.log
1962 echo $ac_n "checking for AIX""... $ac_c" 1>&6
1963 echo "configure:1964: checking for AIX" >&5
1964 cat > conftest.
$ac_ext <<EOF
1965 #line 1966 "configure"
1966 #include "confdefs.h"
1972 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1973 egrep "yes" >/dev
/null
2>&1; then
1975 echo "$ac_t""yes" 1>&6; cat >> confdefs.h
<<\EOF
1976 #define _ALL_SOURCE 1
1981 echo "$ac_t""no" 1>&6
1986 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1987 echo "configure:1988: checking for POSIXized ISC" >&5
1988 if test -d /etc
/conf
/kconfig.d
&&
1989 grep _POSIX_VERSION
/usr
/include
/sys
/unistd.h
>/dev
/null
2>&1
1991 echo "$ac_t""yes" 1>&6
1992 ISC
=yes # If later tests want to check for ISC.
1993 cat >> confdefs.h
<<\EOF
1994 #define _POSIX_SOURCE 1
1997 if test "$GCC" = yes; then
2003 echo "$ac_t""no" 1>&6
2007 ac_safe
=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
2008 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
2009 echo "configure:2010: checking for minix/config.h" >&5
2010 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2011 echo $ac_n "(cached) $ac_c" 1>&6
2013 cat > conftest.
$ac_ext <<EOF
2014 #line 2015 "configure"
2015 #include "confdefs.h"
2016 #include <minix/config.h>
2018 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2019 { (eval echo configure
:2020: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2020 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2021 if test -z "$ac_err"; then
2023 eval "ac_cv_header_$ac_safe=yes"
2026 echo "configure: failed program was:" >&5
2027 cat conftest.
$ac_ext >&5
2029 eval "ac_cv_header_$ac_safe=no"
2033 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2034 echo "$ac_t""yes" 1>&6
2037 echo "$ac_t""no" 1>&6
2041 if test "$MINIX" = yes; then
2042 cat >> confdefs.h
<<\EOF
2043 #define _POSIX_SOURCE 1
2046 cat >> confdefs.h
<<\EOF
2047 #define _POSIX_1_SOURCE 2
2050 cat >> confdefs.h
<<\EOF
2060 echo $ac_n "checking for ${CC-cc} option to accept ANSI C""... $ac_c" 1>&6
2061 echo "configure:2062: checking for ${CC-cc} option to accept ANSI C" >&5
2062 if eval "test \"`echo '$''{'am_cv_prog_cc_stdc'+set}'`\" = set"; then
2063 echo $ac_n "(cached) $ac_c" 1>&6
2065 am_cv_prog_cc_stdc
=no
2067 # Don't try gcc -ansi; that turns off useful extensions and
2068 # breaks some systems' header files.
2069 # AIX -qlanglvl=ansi
2070 # Ultrix and OSF/1 -std1
2071 # HP-UX -Aa -D_HPUX_SOURCE
2072 # SVR4 -Xc -D__EXTENSIONS__
2073 for ac_arg
in "" -qlanglvl=ansi
-std1 "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2075 CC
="$ac_save_CC $ac_arg"
2076 cat > conftest.
$ac_ext <<EOF
2077 #line 2078 "configure"
2078 #include "confdefs.h"
2081 #include <sys/types.h>
2082 #include <sys/stat.h>
2083 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2084 struct buf { int x; };
2085 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2086 static char *e (p, i)
2092 static char *f (char * (*g) (char **, int), char **p, ...)
2097 s = g (p, va_arg (v,int));
2101 int test (int i, double x);
2102 struct s1 {int (*f) (int a);};
2103 struct s2 {int (*f) (double a);};
2104 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2110 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2114 if { (eval echo configure
:2115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2116 am_cv_prog_cc_stdc
="$ac_arg"; break
2118 echo "configure: failed program was:" >&5
2119 cat conftest.
$ac_ext >&5
2127 if test -z "$am_cv_prog_cc_stdc"; then
2128 echo "$ac_t""none needed" 1>&6
2130 echo "$ac_t""$am_cv_prog_cc_stdc" 1>&6
2132 case "x$am_cv_prog_cc_stdc" in
2134 *) CC
="$CC $am_cv_prog_cc_stdc" ;;
2138 echo $ac_n "checking for working const""... $ac_c" 1>&6
2139 echo "configure:2140: checking for working const" >&5
2140 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
2141 echo $ac_n "(cached) $ac_c" 1>&6
2143 cat > conftest.
$ac_ext <<EOF
2144 #line 2145 "configure"
2145 #include "confdefs.h"
2149 /* Ultrix mips cc rejects this. */
2150 typedef int charset[2]; const charset x;
2151 /* SunOS 4.1.1 cc rejects this. */
2152 char const *const *ccp;
2154 /* NEC SVR4.0.2 mips cc rejects this. */
2155 struct point {int x, y;};
2156 static struct point const zero = {0,0};
2157 /* AIX XL C 1.02.0.0 rejects this.
2158 It does not let you subtract one const X* pointer from another in an arm
2159 of an if-expression whose if-part is not a constant expression */
2160 const char *g = "string";
2161 ccp = &g + (g ? g-g : 0);
2162 /* HPUX 7.0 cc rejects these. */
2165 ccp = (char const *const *) p;
2166 { /* SCO 3.2v4 cc rejects this. */
2168 char const *s = 0 ? (char *) 0 : (char const *) 0;
2172 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2174 const int *foo = &x[0];
2177 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2178 typedef const int *iptr;
2182 { /* AIX XL C 1.02.0.0 rejects this saying
2183 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2184 struct s { int j; const int *ap[3]; };
2185 struct s *b; b->j = 5;
2187 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2193 if { (eval echo configure
:2194: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2197 echo "configure: failed program was:" >&5
2198 cat conftest.
$ac_ext >&5
2205 echo "$ac_t""$ac_cv_c_const" 1>&6
2206 if test $ac_cv_c_const = no
; then
2207 cat >> confdefs.h
<<\EOF
2213 echo $ac_n "checking for inline""... $ac_c" 1>&6
2214 echo "configure:2215: checking for inline" >&5
2215 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
2216 echo $ac_n "(cached) $ac_c" 1>&6
2219 for ac_kw
in inline __inline__ __inline
; do
2220 cat > conftest.
$ac_ext <<EOF
2221 #line 2222 "configure"
2222 #include "confdefs.h"
2228 if { (eval echo configure
:2229: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2230 ac_cv_c_inline
=$ac_kw; break
2232 echo "configure: failed program was:" >&5
2233 cat conftest.
$ac_ext >&5
2240 echo "$ac_t""$ac_cv_c_inline" 1>&6
2241 case "$ac_cv_c_inline" in
2243 no
) cat >> confdefs.h
<<\EOF
2247 *) cat >> confdefs.h
<<EOF
2248 #define inline $ac_cv_c_inline
2253 echo $ac_n "checking size of int""... $ac_c" 1>&6
2254 echo "configure:2255: checking size of int" >&5
2255 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
2256 echo $ac_n "(cached) $ac_c" 1>&6
2258 if test "$cross_compiling" = yes; then
2259 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
2261 cat > conftest.
$ac_ext <<EOF
2262 #line 2263 "configure"
2263 #include "confdefs.h"
2267 FILE *f=fopen("conftestval", "w");
2269 fprintf(f, "%d\n", sizeof(int));
2273 if { (eval echo configure
:2274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2275 ac_cv_sizeof_int
=`cat conftestval`
2277 echo "configure: failed program was:" >&5
2278 cat conftest.
$ac_ext >&5
2286 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
2287 cat >> confdefs.h
<<EOF
2288 #define SIZEOF_INT $ac_cv_sizeof_int
2292 echo $ac_n "checking size of long""... $ac_c" 1>&6
2293 echo "configure:2294: checking size of long" >&5
2294 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
2295 echo $ac_n "(cached) $ac_c" 1>&6
2297 if test "$cross_compiling" = yes; then
2298 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
2300 cat > conftest.
$ac_ext <<EOF
2301 #line 2302 "configure"
2302 #include "confdefs.h"
2306 FILE *f=fopen("conftestval", "w");
2308 fprintf(f, "%d\n", sizeof(long));
2312 if { (eval echo configure
:2313: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2314 ac_cv_sizeof_long
=`cat conftestval`
2316 echo "configure: failed program was:" >&5
2317 cat conftest.
$ac_ext >&5
2325 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
2326 cat >> confdefs.h
<<EOF
2327 #define SIZEOF_LONG $ac_cv_sizeof_long
2331 echo $ac_n "checking for long longs""... $ac_c" 1>&6
2332 echo "configure:2333: checking for long longs" >&5
2333 if eval "test \"`echo '$''{'scm_cv_long_longs'+set}'`\" = set"; then
2334 echo $ac_n "(cached) $ac_c" 1>&6
2336 cat > conftest.
$ac_ext <<EOF
2337 #line 2338 "configure"
2338 #include "confdefs.h"
2344 if { (eval echo configure
:2345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2346 scm_cv_long_longs
=yes
2348 echo "configure: failed program was:" >&5
2349 cat conftest.
$ac_ext >&5
2351 scm_cv_long_longs
=no
2356 echo "$ac_t""$scm_cv_long_longs" 1>&6
2357 if test "$scm_cv_long_longs" = yes; then
2358 cat >> confdefs.h
<<\EOF
2359 #define HAVE_LONG_LONGS 1
2364 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2365 echo "configure:2366: checking for ANSI C header files" >&5
2366 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2367 echo $ac_n "(cached) $ac_c" 1>&6
2369 cat > conftest.
$ac_ext <<EOF
2370 #line 2371 "configure"
2371 #include "confdefs.h"
2377 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2378 { (eval echo configure
:2379: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2379 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2380 if test -z "$ac_err"; then
2382 ac_cv_header_stdc
=yes
2385 echo "configure: failed program was:" >&5
2386 cat conftest.
$ac_ext >&5
2388 ac_cv_header_stdc
=no
2392 if test $ac_cv_header_stdc = yes; then
2393 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2394 cat > conftest.
$ac_ext <<EOF
2395 #line 2396 "configure"
2396 #include "confdefs.h"
2399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2400 egrep "memchr" >/dev
/null
2>&1; then
2404 ac_cv_header_stdc
=no
2410 if test $ac_cv_header_stdc = yes; then
2411 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2412 cat > conftest.
$ac_ext <<EOF
2413 #line 2414 "configure"
2414 #include "confdefs.h"
2417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2418 egrep "free" >/dev
/null
2>&1; then
2422 ac_cv_header_stdc
=no
2428 if test $ac_cv_header_stdc = yes; then
2429 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2430 if test "$cross_compiling" = yes; then
2433 cat > conftest.
$ac_ext <<EOF
2434 #line 2435 "configure"
2435 #include "confdefs.h"
2437 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2438 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2439 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2440 int main () { int i; for (i = 0; i < 256; i++)
2441 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2445 if { (eval echo configure
:2446: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2449 echo "configure: failed program was:" >&5
2450 cat conftest.
$ac_ext >&5
2452 ac_cv_header_stdc
=no
2460 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2461 if test $ac_cv_header_stdc = yes; then
2462 cat >> confdefs.h
<<\EOF
2463 #define STDC_HEADERS 1
2469 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2471 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2472 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2473 echo "configure:2474: checking for $ac_hdr that defines DIR" >&5
2474 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2475 echo $ac_n "(cached) $ac_c" 1>&6
2477 cat > conftest.
$ac_ext <<EOF
2478 #line 2479 "configure"
2479 #include "confdefs.h"
2480 #include <sys/types.h>
2486 if { (eval echo configure
:2487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2488 eval "ac_cv_header_dirent_$ac_safe=yes"
2490 echo "configure: failed program was:" >&5
2491 cat conftest.
$ac_ext >&5
2493 eval "ac_cv_header_dirent_$ac_safe=no"
2497 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2498 echo "$ac_t""yes" 1>&6
2499 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2500 cat >> confdefs.h
<<EOF
2501 #define $ac_tr_hdr 1
2503 ac_header_dirent
=$ac_hdr; break
2505 echo "$ac_t""no" 1>&6
2508 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2509 if test $ac_header_dirent = dirent.h
; then
2510 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2511 echo "configure:2512: checking for opendir in -ldir" >&5
2512 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2514 echo $ac_n "(cached) $ac_c" 1>&6
2516 ac_save_LIBS
="$LIBS"
2518 cat > conftest.
$ac_ext <<EOF
2519 #line 2520 "configure"
2520 #include "confdefs.h"
2521 /* Override any gcc2 internal prototype to avoid an error. */
2522 /* We use char because int might match the return type of a gcc2
2523 builtin and then its argument prototype would still apply. */
2530 if { (eval echo configure
:2531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2532 eval "ac_cv_lib_$ac_lib_var=yes"
2534 echo "configure: failed program was:" >&5
2535 cat conftest.
$ac_ext >&5
2537 eval "ac_cv_lib_$ac_lib_var=no"
2540 LIBS
="$ac_save_LIBS"
2543 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2544 echo "$ac_t""yes" 1>&6
2547 echo "$ac_t""no" 1>&6
2551 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2552 echo "configure:2553: checking for opendir in -lx" >&5
2553 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2554 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2555 echo $ac_n "(cached) $ac_c" 1>&6
2557 ac_save_LIBS
="$LIBS"
2559 cat > conftest.
$ac_ext <<EOF
2560 #line 2561 "configure"
2561 #include "confdefs.h"
2562 /* Override any gcc2 internal prototype to avoid an error. */
2563 /* We use char because int might match the return type of a gcc2
2564 builtin and then its argument prototype would still apply. */
2571 if { (eval echo configure
:2572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2573 eval "ac_cv_lib_$ac_lib_var=yes"
2575 echo "configure: failed program was:" >&5
2576 cat conftest.
$ac_ext >&5
2578 eval "ac_cv_lib_$ac_lib_var=no"
2581 LIBS
="$ac_save_LIBS"
2584 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2585 echo "$ac_t""yes" 1>&6
2588 echo "$ac_t""no" 1>&6
2593 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
2594 echo "configure:2595: checking whether time.h and sys/time.h may both be included" >&5
2595 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
2596 echo $ac_n "(cached) $ac_c" 1>&6
2598 cat > conftest.
$ac_ext <<EOF
2599 #line 2600 "configure"
2600 #include "confdefs.h"
2601 #include <sys/types.h>
2602 #include <sys/time.h>
2608 if { (eval echo configure
:2609: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2610 ac_cv_header_time
=yes
2612 echo "configure: failed program was:" >&5
2613 cat conftest.
$ac_ext >&5
2615 ac_cv_header_time
=no
2620 echo "$ac_t""$ac_cv_header_time" 1>&6
2621 if test $ac_cv_header_time = yes; then
2622 cat >> confdefs.h
<<\EOF
2623 #define TIME_WITH_SYS_TIME 1
2628 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2629 echo "configure:2630: checking for sys/wait.h that is POSIX.1 compatible" >&5
2630 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2631 echo $ac_n "(cached) $ac_c" 1>&6
2633 cat > conftest.
$ac_ext <<EOF
2634 #line 2635 "configure"
2635 #include "confdefs.h"
2636 #include <sys/types.h>
2637 #include <sys/wait.h>
2639 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2642 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2647 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2650 if { (eval echo configure
:2651: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2652 ac_cv_header_sys_wait_h
=yes
2654 echo "configure: failed program was:" >&5
2655 cat conftest.
$ac_ext >&5
2657 ac_cv_header_sys_wait_h
=no
2662 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2663 if test $ac_cv_header_sys_wait_h = yes; then
2664 cat >> confdefs.h
<<\EOF
2665 #define HAVE_SYS_WAIT_H 1
2670 for ac_hdr
in libc.h limits.h malloc.h memory.h string.h regex.h rxposix.h rx
/rxposix.h sys
/ioctl.h sys
/select.h sys
/time.h sys
/timeb.h sys
/times.h sys
/types.h sys
/utime.h
time.h unistd.h utime.h
2672 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2673 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2674 echo "configure:2675: checking for $ac_hdr" >&5
2675 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2676 echo $ac_n "(cached) $ac_c" 1>&6
2678 cat > conftest.
$ac_ext <<EOF
2679 #line 2680 "configure"
2680 #include "confdefs.h"
2683 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2684 { (eval echo configure
:2685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2685 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2686 if test -z "$ac_err"; then
2688 eval "ac_cv_header_$ac_safe=yes"
2691 echo "configure: failed program was:" >&5
2692 cat conftest.
$ac_ext >&5
2694 eval "ac_cv_header_$ac_safe=no"
2698 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2699 echo "$ac_t""yes" 1>&6
2700 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2701 cat >> confdefs.h
<<EOF
2702 #define $ac_tr_hdr 1
2706 echo "$ac_t""no" 1>&6
2711 for ac_hdr
in libc.h unistd.h
2713 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2714 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2715 echo "configure:2716: checking for $ac_hdr" >&5
2716 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2717 echo $ac_n "(cached) $ac_c" 1>&6
2719 cat > conftest.
$ac_ext <<EOF
2720 #line 2721 "configure"
2721 #include "confdefs.h"
2724 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2725 { (eval echo configure
:2726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2726 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2727 if test -z "$ac_err"; then
2729 eval "ac_cv_header_$ac_safe=yes"
2732 echo "configure: failed program was:" >&5
2733 cat conftest.
$ac_ext >&5
2735 eval "ac_cv_header_$ac_safe=no"
2739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2740 echo "$ac_t""yes" 1>&6
2741 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2742 cat >> confdefs.h
<<EOF
2743 #define $ac_tr_hdr 1
2747 echo "$ac_t""no" 1>&6
2751 echo $ac_n "checking "whether libc.h and unistd.h can be included together
"""... $ac_c" 1>&6
2752 echo "configure:2753: checking "whether libc.h and unistd.h can be included together
"" >&5
2753 if eval "test \"`echo '$''{'guile_cv_header_libc_with_unistd'+set}'`\" = set"; then
2754 echo $ac_n "(cached) $ac_c" 1>&6
2757 if test "$ac_cv_header_libc_h" = "no"; then
2758 guile_cv_header_libc_with_unistd
="no"
2759 elif test "$ac_cv_header_unistd.h" = "no"; then
2760 guile_cv_header_libc_with_unistd
="yes"
2762 cat > conftest.
$ac_ext <<EOF
2763 #line 2764 "configure"
2764 #include "confdefs.h"
2767 # include <unistd.h>
2773 if { (eval echo configure
:2774: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2775 guile_cv_header_libc_with_unistd
=yes
2777 echo "configure: failed program was:" >&5
2778 cat conftest.
$ac_ext >&5
2780 guile_cv_header_libc_with_unistd
=no
2789 echo "$ac_t""$guile_cv_header_libc_with_unistd" 1>&6
2790 if test "$guile_cv_header_libc_with_unistd" = yes; then
2791 cat >> confdefs.h
<<\EOF
2792 #define LIBC_H_WITH_UNISTD_H 1
2799 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2800 echo "configure:2801: checking for uid_t in sys/types.h" >&5
2801 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2802 echo $ac_n "(cached) $ac_c" 1>&6
2804 cat > conftest.
$ac_ext <<EOF
2805 #line 2806 "configure"
2806 #include "confdefs.h"
2807 #include <sys/types.h>
2809 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2810 egrep "uid_t" >/dev
/null
2>&1; then
2812 ac_cv_type_uid_t
=yes
2821 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2822 if test $ac_cv_type_uid_t = no
; then
2823 cat >> confdefs.h
<<\EOF
2827 cat >> confdefs.h
<<\EOF
2833 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2834 echo "configure:2835: checking type of array argument to getgroups" >&5
2835 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2836 echo $ac_n "(cached) $ac_c" 1>&6
2838 if test "$cross_compiling" = yes; then
2839 ac_cv_type_getgroups
=cross
2841 cat > conftest.
$ac_ext <<EOF
2842 #line 2843 "configure"
2843 #include "confdefs.h"
2845 /* Thanks to Mike Rendell for this test. */
2846 #include <sys/types.h>
2849 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2854 union { gid_t gval; long lval; } val;
2857 for (i = 0; i < NGID; i++)
2858 gidset[i] = val.gval;
2859 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2861 /* Exit non-zero if getgroups seems to require an array of ints. This
2862 happens when gid_t is short but getgroups modifies an array of ints. */
2863 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2867 if { (eval echo configure
:2868: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
2869 ac_cv_type_getgroups
=gid_t
2871 echo "configure: failed program was:" >&5
2872 cat conftest.
$ac_ext >&5
2874 ac_cv_type_getgroups
=int
2879 if test $ac_cv_type_getgroups = cross
; then
2880 cat > conftest.
$ac_ext <<EOF
2881 #line 2882 "configure"
2882 #include "confdefs.h"
2885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2886 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2888 ac_cv_type_getgroups
=gid_t
2891 ac_cv_type_getgroups
=int
2898 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2899 cat >> confdefs.h
<<EOF
2900 #define GETGROUPS_T $ac_cv_type_getgroups
2904 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2905 echo "configure:2906: checking return type of signal handlers" >&5
2906 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2907 echo $ac_n "(cached) $ac_c" 1>&6
2909 cat > conftest.
$ac_ext <<EOF
2910 #line 2911 "configure"
2911 #include "confdefs.h"
2912 #include <sys/types.h>
2918 extern "C" void (*signal (int, void (*)(int)))(int);
2920 void (*signal ()) ();
2927 if { (eval echo configure
:2928: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2929 ac_cv_type_signal
=void
2931 echo "configure: failed program was:" >&5
2932 cat conftest.
$ac_ext >&5
2934 ac_cv_type_signal
=int
2939 echo "$ac_t""$ac_cv_type_signal" 1>&6
2940 cat >> confdefs.h
<<EOF
2941 #define RETSIGTYPE $ac_cv_type_signal
2945 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2946 echo "configure:2947: checking for mode_t" >&5
2947 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2948 echo $ac_n "(cached) $ac_c" 1>&6
2950 cat > conftest.
$ac_ext <<EOF
2951 #line 2952 "configure"
2952 #include "confdefs.h"
2953 #include <sys/types.h>
2959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2960 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2962 ac_cv_type_mode_t
=yes
2965 ac_cv_type_mode_t
=no
2970 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
2971 if test $ac_cv_type_mode_t = no
; then
2972 cat >> confdefs.h
<<\EOF
2979 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
2980 echo "configure:2981: checking for main in -lm" >&5
2981 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
2982 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2983 echo $ac_n "(cached) $ac_c" 1>&6
2985 ac_save_LIBS
="$LIBS"
2987 cat > conftest.
$ac_ext <<EOF
2988 #line 2989 "configure"
2989 #include "confdefs.h"
2995 if { (eval echo configure
:2996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
2997 eval "ac_cv_lib_$ac_lib_var=yes"
2999 echo "configure: failed program was:" >&5
3000 cat conftest.
$ac_ext >&5
3002 eval "ac_cv_lib_$ac_lib_var=no"
3005 LIBS
="$ac_save_LIBS"
3008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3009 echo "$ac_t""yes" 1>&6
3010 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3011 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3012 cat >> confdefs.h
<<EOF
3013 #define $ac_tr_lib 1
3019 echo "$ac_t""no" 1>&6
3022 for ac_func
in gethostbyname
3024 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3025 echo "configure:3026: checking for $ac_func" >&5
3026 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3027 echo $ac_n "(cached) $ac_c" 1>&6
3029 cat > conftest.
$ac_ext <<EOF
3030 #line 3031 "configure"
3031 #include "confdefs.h"
3032 /* System header to define __stub macros and hopefully few prototypes,
3033 which can conflict with char $ac_func(); below. */
3035 /* Override any gcc2 internal prototype to avoid an error. */
3036 /* We use char because int might match the return type of a gcc2
3037 builtin and then its argument prototype would still apply. */
3042 /* The GNU C library defines this for functions which it implements
3043 to always fail with ENOSYS. Some functions are actually named
3044 something starting with __ and the normal name is an alias. */
3045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3053 if { (eval echo configure
:3054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3055 eval "ac_cv_func_$ac_func=yes"
3057 echo "configure: failed program was:" >&5
3058 cat conftest.
$ac_ext >&5
3060 eval "ac_cv_func_$ac_func=no"
3065 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3066 echo "$ac_t""yes" 1>&6
3067 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3068 cat >> confdefs.h
<<EOF
3069 #define $ac_tr_func 1
3073 echo "$ac_t""no" 1>&6
3077 if test $ac_cv_func_gethostbyname = no
; then
3078 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
3079 echo "configure:3080: checking for gethostbyname in -lnsl" >&5
3080 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
3081 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3082 echo $ac_n "(cached) $ac_c" 1>&6
3084 ac_save_LIBS
="$LIBS"
3086 cat > conftest.
$ac_ext <<EOF
3087 #line 3088 "configure"
3088 #include "confdefs.h"
3089 /* Override any gcc2 internal prototype to avoid an error. */
3090 /* We use char because int might match the return type of a gcc2
3091 builtin and then its argument prototype would still apply. */
3092 char gethostbyname();
3098 if { (eval echo configure
:3099: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3100 eval "ac_cv_lib_$ac_lib_var=yes"
3102 echo "configure: failed program was:" >&5
3103 cat conftest.
$ac_ext >&5
3105 eval "ac_cv_lib_$ac_lib_var=no"
3108 LIBS
="$ac_save_LIBS"
3111 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3112 echo "$ac_t""yes" 1>&6
3113 ac_tr_lib
=HAVE_LIB
`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3114 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3115 cat >> confdefs.h
<<EOF
3116 #define $ac_tr_lib 1
3122 echo "$ac_t""no" 1>&6
3126 for ac_func
in connect
3128 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3129 echo "configure:3130: checking for $ac_func" >&5
3130 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3131 echo $ac_n "(cached) $ac_c" 1>&6
3133 cat > conftest.
$ac_ext <<EOF
3134 #line 3135 "configure"
3135 #include "confdefs.h"
3136 /* System header to define __stub macros and hopefully few prototypes,
3137 which can conflict with char $ac_func(); below. */
3139 /* Override any gcc2 internal prototype to avoid an error. */
3140 /* We use char because int might match the return type of a gcc2
3141 builtin and then its argument prototype would still apply. */
3146 /* The GNU C library defines this for functions which it implements
3147 to always fail with ENOSYS. Some functions are actually named
3148 something starting with __ and the normal name is an alias. */
3149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3157 if { (eval echo configure
:3158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3159 eval "ac_cv_func_$ac_func=yes"
3161 echo "configure: failed program was:" >&5
3162 cat conftest.
$ac_ext >&5
3164 eval "ac_cv_func_$ac_func=no"
3169 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3170 echo "$ac_t""yes" 1>&6
3171 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3172 cat >> confdefs.h
<<EOF
3173 #define $ac_tr_func 1
3177 echo "$ac_t""no" 1>&6
3181 if test $ac_cv_func_connect = no
; then
3182 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
3183 echo "configure:3184: checking for connect in -lsocket" >&5
3184 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
3185 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3186 echo $ac_n "(cached) $ac_c" 1>&6
3188 ac_save_LIBS
="$LIBS"
3189 LIBS
="-lsocket $LIBS"
3190 cat > conftest.
$ac_ext <<EOF
3191 #line 3192 "configure"
3192 #include "confdefs.h"
3193 /* Override any gcc2 internal prototype to avoid an error. */
3194 /* We use char because int might match the return type of a gcc2
3195 builtin and then its argument prototype would still apply. */
3202 if { (eval echo configure
:3203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3204 eval "ac_cv_lib_$ac_lib_var=yes"
3206 echo "configure: failed program was:" >&5
3207 cat conftest.
$ac_ext >&5
3209 eval "ac_cv_lib_$ac_lib_var=no"
3212 LIBS
="$ac_save_LIBS"
3215 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3216 echo "$ac_t""yes" 1>&6
3217 ac_tr_lib
=HAVE_LIB
`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3218 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3219 cat >> confdefs.h
<<EOF
3220 #define $ac_tr_lib 1
3223 LIBS
="-lsocket $LIBS"
3226 echo "$ac_t""no" 1>&6
3231 # Checks for dynamic linking
3233 if test "$enable_dynamic_linking" = "yes"; then
3235 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
3236 echo "configure:3237: checking for dlopen in -ldl" >&5
3237 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
3238 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3239 echo $ac_n "(cached) $ac_c" 1>&6
3241 ac_save_LIBS
="$LIBS"
3243 cat > conftest.
$ac_ext <<EOF
3244 #line 3245 "configure"
3245 #include "confdefs.h"
3246 /* Override any gcc2 internal prototype to avoid an error. */
3247 /* We use char because int might match the return type of a gcc2
3248 builtin and then its argument prototype would still apply. */
3255 if { (eval echo configure
:3256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3257 eval "ac_cv_lib_$ac_lib_var=yes"
3259 echo "configure: failed program was:" >&5
3260 cat conftest.
$ac_ext >&5
3262 eval "ac_cv_lib_$ac_lib_var=no"
3265 LIBS
="$ac_save_LIBS"
3268 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3269 echo "$ac_t""yes" 1>&6
3270 ac_tr_lib
=HAVE_LIB
`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3271 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3272 cat >> confdefs.h
<<EOF
3273 #define $ac_tr_lib 1
3279 echo "$ac_t""no" 1>&6
3282 if test "$ac_cv_lib_dl_dlopen" = "yes"; then
3283 for ac_func
in dlopen
3285 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3286 echo "configure:3287: checking for $ac_func" >&5
3287 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3288 echo $ac_n "(cached) $ac_c" 1>&6
3290 cat > conftest.
$ac_ext <<EOF
3291 #line 3292 "configure"
3292 #include "confdefs.h"
3293 /* System header to define __stub macros and hopefully few prototypes,
3294 which can conflict with char $ac_func(); below. */
3296 /* Override any gcc2 internal prototype to avoid an error. */
3297 /* We use char because int might match the return type of a gcc2
3298 builtin and then its argument prototype would still apply. */
3303 /* The GNU C library defines this for functions which it implements
3304 to always fail with ENOSYS. Some functions are actually named
3305 something starting with __ and the normal name is an alias. */
3306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3314 if { (eval echo configure
:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3316 eval "ac_cv_func_$ac_func=yes"
3318 echo "configure: failed program was:" >&5
3319 cat conftest.
$ac_ext >&5
3321 eval "ac_cv_func_$ac_func=no"
3326 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3327 echo "$ac_t""yes" 1>&6
3328 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3329 cat >> confdefs.h
<<EOF
3330 #define $ac_tr_func 1
3334 echo "$ac_t""no" 1>&6
3338 cat >> confdefs.h
<<\EOF
3339 #define DYNAMIC_LINKING 1
3343 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
3344 echo "configure:3345: checking for dld_link in -ldld" >&5
3345 ac_lib_var
=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
3346 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3347 echo $ac_n "(cached) $ac_c" 1>&6
3349 ac_save_LIBS
="$LIBS"
3351 cat > conftest.
$ac_ext <<EOF
3352 #line 3353 "configure"
3353 #include "confdefs.h"
3354 /* Override any gcc2 internal prototype to avoid an error. */
3355 /* We use char because int might match the return type of a gcc2
3356 builtin and then its argument prototype would still apply. */
3363 if { (eval echo configure
:3364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3365 eval "ac_cv_lib_$ac_lib_var=yes"
3367 echo "configure: failed program was:" >&5
3368 cat conftest.
$ac_ext >&5
3370 eval "ac_cv_lib_$ac_lib_var=no"
3373 LIBS
="$ac_save_LIBS"
3376 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3377 echo "$ac_t""yes" 1>&6
3378 ac_tr_lib
=HAVE_LIB
`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3379 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3380 cat >> confdefs.h
<<EOF
3381 #define $ac_tr_lib 1
3387 echo "$ac_t""no" 1>&6
3390 if test "$ac_cv_lib_dld_dld_link" = "yes"; then
3391 cat >> confdefs.h
<<\EOF
3392 #define DYNAMIC_LINKING 1
3396 for ac_func
in shl_load
3398 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3399 echo "configure:3400: checking for $ac_func" >&5
3400 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3401 echo $ac_n "(cached) $ac_c" 1>&6
3403 cat > conftest.
$ac_ext <<EOF
3404 #line 3405 "configure"
3405 #include "confdefs.h"
3406 /* System header to define __stub macros and hopefully few prototypes,
3407 which can conflict with char $ac_func(); below. */
3409 /* Override any gcc2 internal prototype to avoid an error. */
3410 /* We use char because int might match the return type of a gcc2
3411 builtin and then its argument prototype would still apply. */
3416 /* The GNU C library defines this for functions which it implements
3417 to always fail with ENOSYS. Some functions are actually named
3418 something starting with __ and the normal name is an alias. */
3419 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3427 if { (eval echo configure
:3428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3429 eval "ac_cv_func_$ac_func=yes"
3431 echo "configure: failed program was:" >&5
3432 cat conftest.
$ac_ext >&5
3434 eval "ac_cv_func_$ac_func=no"
3439 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3440 echo "$ac_t""yes" 1>&6
3441 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3442 cat >> confdefs.h
<<EOF
3443 #define $ac_tr_func 1
3447 echo "$ac_t""no" 1>&6
3451 if test "$ac_cv_func_shl_load" = "yes"; then
3452 cat >> confdefs.h
<<\EOF
3453 #define DYNAMIC_LINKING 1
3457 for ac_func
in dlopen
3459 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3460 echo "configure:3461: checking for $ac_func" >&5
3461 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3462 echo $ac_n "(cached) $ac_c" 1>&6
3464 cat > conftest.
$ac_ext <<EOF
3465 #line 3466 "configure"
3466 #include "confdefs.h"
3467 /* System header to define __stub macros and hopefully few prototypes,
3468 which can conflict with char $ac_func(); below. */
3470 /* Override any gcc2 internal prototype to avoid an error. */
3471 /* We use char because int might match the return type of a gcc2
3472 builtin and then its argument prototype would still apply. */
3477 /* The GNU C library defines this for functions which it implements
3478 to always fail with ENOSYS. Some functions are actually named
3479 something starting with __ and the normal name is an alias. */
3480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3488 if { (eval echo configure
:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3490 eval "ac_cv_func_$ac_func=yes"
3492 echo "configure: failed program was:" >&5
3493 cat conftest.
$ac_ext >&5
3495 eval "ac_cv_func_$ac_func=no"
3500 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3501 echo "$ac_t""yes" 1>&6
3502 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3503 cat >> confdefs.h
<<EOF
3504 #define $ac_tr_func 1
3508 echo "$ac_t""no" 1>&6
3512 if test "$ac_cv_func_dlopen" = "yes"; then
3513 cat >> confdefs.h
<<\EOF
3514 #define DYNAMIC_LINKING 1
3525 echo $ac_n "checking for underscore before symbols""... $ac_c" 1>&6
3526 echo "configure:3527: checking for underscore before symbols" >&5
3527 if eval "test \"`echo '$''{'guile_cv_uscore'+set}'`\" = set"; then
3528 echo $ac_n "(cached) $ac_c" 1>&6
3531 echo "main(){int i=1;}
3532 fnord(){int i=23; int ltuae=42;}" > conftest.c
3533 ${CC} conftest.c
> /dev
/null
3534 if (nm a.out |
grep _fnord
) > /dev
/null
; then
3541 echo "$ac_t""$guile_cv_uscore" 1>&6
3542 rm -f conftest.c a.out
3544 if test $guile_cv_uscore = yes; then
3545 cat >> confdefs.h
<<\EOF
3550 if test $ac_cv_func_dlopen = yes -o $ac_cv_lib_dl_dlopen = yes ; then
3551 echo $ac_n "checking whether dlsym always adds an underscore for us""... $ac_c" 1>&6
3552 echo "configure:3553: checking whether dlsym always adds an underscore for us" >&5
3553 if eval "test \"`echo '$''{'guile_cv_dlsym_adds_uscore'+set}'`\" = set"; then
3554 echo $ac_n "(cached) $ac_c" 1>&6
3556 if test "$cross_compiling" = yes; then
3557 guile_cv_dlsym_adds_uscore
=no
3559 cat > conftest.
$ac_ext <<EOF
3560 #line 3561 "configure"
3561 #include "confdefs.h"
3565 fnord() { int i=42;}
3566 main() { void *self, *ptr1, *ptr2; self=dlopen(NULL,RTLD_LAZY);
3567 if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
3568 if(ptr1 && !ptr2) exit(0); } exit(1); }
3571 if { (eval echo configure
:3572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3573 guile_cv_dlsym_adds_uscore
=yes
3574 cat >> confdefs.h
<<\EOF
3575 #define DLSYM_ADDS_USCORE 1
3579 echo "configure: failed program was:" >&5
3580 cat conftest.
$ac_ext >&5
3582 guile_cv_dlsym_adds_uscore
=no
3590 echo "$ac_t""$guile_cv_dlsym_adds_uscore" 1>&6
3595 for ac_func
in ctermid ftime getcwd geteuid gethostent gettimeofday lstat mkdir mknod nice readlink rename
rmdir select setegid seteuid setlocale setpgid setsid sigaction strftime strptime symlink sync tcgetpgrp tcsetpgrp
times uname waitpid bzero strdup system
usleep
3597 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3598 echo "configure:3599: checking for $ac_func" >&5
3599 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3600 echo $ac_n "(cached) $ac_c" 1>&6
3602 cat > conftest.
$ac_ext <<EOF
3603 #line 3604 "configure"
3604 #include "confdefs.h"
3605 /* System header to define __stub macros and hopefully few prototypes,
3606 which can conflict with char $ac_func(); below. */
3608 /* Override any gcc2 internal prototype to avoid an error. */
3609 /* We use char because int might match the return type of a gcc2
3610 builtin and then its argument prototype would still apply. */
3615 /* The GNU C library defines this for functions which it implements
3616 to always fail with ENOSYS. Some functions are actually named
3617 something starting with __ and the normal name is an alias. */
3618 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3626 if { (eval echo configure
:3627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3628 eval "ac_cv_func_$ac_func=yes"
3630 echo "configure: failed program was:" >&5
3631 cat conftest.
$ac_ext >&5
3633 eval "ac_cv_func_$ac_func=no"
3638 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3639 echo "$ac_t""yes" 1>&6
3640 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3641 cat >> confdefs.h
<<EOF
3642 #define $ac_tr_func 1
3646 echo "$ac_t""no" 1>&6
3651 ### Some systems don't declare some functions. On such systems, we
3652 ### need to at least provide our own K&R-style declarations.
3654 ### GUILE_FUNC_DECLARED(function, headerfile)
3656 ### Check for a declaration of FUNCTION in HEADERFILE; if it is
3657 ### not there, #define MISSING_FUNCTION_DECL.
3661 echo $ac_n "checking for strptime declaration""... $ac_c" 1>&6
3662 echo "configure:3663: checking for strptime declaration" >&5
3663 if eval "test \"`echo '$''{'guile_cv_func_strptime_declared'+set}'`\" = set"; then
3664 echo $ac_n "(cached) $ac_c" 1>&6
3666 cat > conftest.
$ac_ext <<EOF
3667 #line 3668 "configure"
3668 #include "confdefs.h"
3671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3672 egrep "strptime" >/dev
/null
2>&1; then
3674 guile_cv_func_strptime_declared
=yes
3677 guile_cv_func_strptime_declared
=no
3683 echo "$ac_t""$guile_cv_func_strptime_declared" 1>&6
3684 if test x
$guile_cv_func_strptime_declared = xno
; then
3685 cat >> confdefs.h
<<\EOF
3686 #define MISSING_STRPTIME_DECL 1
3692 echo $ac_n "checking for bzero declaration""... $ac_c" 1>&6
3693 echo "configure:3694: checking for bzero declaration" >&5
3694 if eval "test \"`echo '$''{'guile_cv_func_bzero_declared'+set}'`\" = set"; then
3695 echo $ac_n "(cached) $ac_c" 1>&6
3697 cat > conftest.
$ac_ext <<EOF
3698 #line 3699 "configure"
3699 #include "confdefs.h"
3702 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3703 egrep "bzero" >/dev
/null
2>&1; then
3705 guile_cv_func_bzero_declared
=yes
3708 guile_cv_func_bzero_declared
=no
3714 echo "$ac_t""$guile_cv_func_bzero_declared" 1>&6
3715 if test x
$guile_cv_func_bzero_declared = xno
; then
3716 cat >> confdefs.h
<<\EOF
3717 #define MISSING_BZERO_DECL 1
3723 echo $ac_n "checking for sleep declaration""... $ac_c" 1>&6
3724 echo "configure:3725: checking for sleep declaration" >&5
3725 if eval "test \"`echo '$''{'guile_cv_func_sleep_declared'+set}'`\" = set"; then
3726 echo $ac_n "(cached) $ac_c" 1>&6
3728 cat > conftest.
$ac_ext <<EOF
3729 #line 3730 "configure"
3730 #include "confdefs.h"
3733 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3734 egrep "sleep" >/dev
/null
2>&1; then
3736 guile_cv_func_sleep_declared
=yes
3739 guile_cv_func_sleep_declared
=no
3745 echo "$ac_t""$guile_cv_func_sleep_declared" 1>&6
3746 if test x
$guile_cv_func_sleep_declared = xno
; then
3747 cat >> confdefs.h
<<\EOF
3748 #define MISSING_SLEEP_DECL 1
3754 echo $ac_n "checking for usleep declaration""... $ac_c" 1>&6
3755 echo "configure:3756: checking for usleep declaration" >&5
3756 if eval "test \"`echo '$''{'guile_cv_func_usleep_declared'+set}'`\" = set"; then
3757 echo $ac_n "(cached) $ac_c" 1>&6
3759 cat > conftest.
$ac_ext <<EOF
3760 #line 3761 "configure"
3761 #include "confdefs.h"
3764 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3765 egrep "usleep" >/dev
/null
2>&1; then
3767 guile_cv_func_usleep_declared
=yes
3770 guile_cv_func_usleep_declared
=no
3776 echo "$ac_t""$guile_cv_func_usleep_declared" 1>&6
3777 if test x
$guile_cv_func_usleep_declared = xno
; then
3778 cat >> confdefs.h
<<\EOF
3779 #define MISSING_USLEEP_DECL 1
3785 ### On some systems usleep has no return value. If it does have one,
3786 ### we'd like to return it; otherwise, we'll fake it.
3787 echo $ac_n "checking return type of usleep""... $ac_c" 1>&6
3788 echo "configure:3789: checking return type of usleep" >&5
3789 if eval "test \"`echo '$''{'guile_cv_func_usleep_return_type'+set}'`\" = set"; then
3790 echo $ac_n "(cached) $ac_c" 1>&6
3792 cat > conftest.
$ac_ext <<EOF
3793 #line 3794 "configure"
3794 #include "confdefs.h"
3795 #include </usr/include/unistd.h>
3797 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3798 egrep "void[ ]+usleep" >/dev
/null
2>&1; then
3800 guile_cv_func_usleep_return_type
=void
3803 guile_cv_func_usleep_return_type
=int
3809 echo "$ac_t""$guile_cv_func_usleep_return_type" 1>&6
3810 case "$guile_cv_func_usleep_return_type" in
3812 cat >> confdefs.h
<<\EOF
3813 #define USLEEP_RETURNS_VOID 1
3820 ac_safe
=`echo "sys/un.h" | sed 'y%./+-%__p_%'`
3821 echo $ac_n "checking for sys/un.h""... $ac_c" 1>&6
3822 echo "configure:3823: checking for sys/un.h" >&5
3823 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3824 echo $ac_n "(cached) $ac_c" 1>&6
3826 cat > conftest.
$ac_ext <<EOF
3827 #line 3828 "configure"
3828 #include "confdefs.h"
3831 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3832 { (eval echo configure
:3833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3833 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3834 if test -z "$ac_err"; then
3836 eval "ac_cv_header_$ac_safe=yes"
3839 echo "configure: failed program was:" >&5
3840 cat conftest.
$ac_ext >&5
3842 eval "ac_cv_header_$ac_safe=no"
3846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3847 echo "$ac_t""yes" 1>&6
3850 echo "$ac_t""no" 1>&6
3853 if test -n "$have_sys_un_h" ; then
3854 cat >> confdefs.h
<<\EOF
3855 #define HAVE_UNIX_DOMAIN_SOCKETS 1
3860 for ac_func
in socketpair getgroups setpwent pause tzset
3862 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3863 echo "configure:3864: checking for $ac_func" >&5
3864 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3865 echo $ac_n "(cached) $ac_c" 1>&6
3867 cat > conftest.
$ac_ext <<EOF
3868 #line 3869 "configure"
3869 #include "confdefs.h"
3870 /* System header to define __stub macros and hopefully few prototypes,
3871 which can conflict with char $ac_func(); below. */
3873 /* Override any gcc2 internal prototype to avoid an error. */
3874 /* We use char because int might match the return type of a gcc2
3875 builtin and then its argument prototype would still apply. */
3880 /* The GNU C library defines this for functions which it implements
3881 to always fail with ENOSYS. Some functions are actually named
3882 something starting with __ and the normal name is an alias. */
3883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3891 if { (eval echo configure
:3892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3893 eval "ac_cv_func_$ac_func=yes"
3895 echo "configure: failed program was:" >&5
3896 cat conftest.
$ac_ext >&5
3898 eval "ac_cv_func_$ac_func=no"
3903 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3904 echo "$ac_t""yes" 1>&6
3905 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3906 cat >> confdefs.h
<<EOF
3907 #define $ac_tr_func 1
3911 echo "$ac_t""no" 1>&6
3919 for ac_func
in sethostent endhostent getnetent setnetent endnetent getprotoent endprotoent getservent endservent getnetbyaddr getnetbyname inet_lnaof inet_makeaddr inet_netof
3921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3922 echo "configure:3923: checking for $ac_func" >&5
3923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3924 echo $ac_n "(cached) $ac_c" 1>&6
3926 cat > conftest.
$ac_ext <<EOF
3927 #line 3928 "configure"
3928 #include "confdefs.h"
3929 /* System header to define __stub macros and hopefully few prototypes,
3930 which can conflict with char $ac_func(); below. */
3932 /* Override any gcc2 internal prototype to avoid an error. */
3933 /* We use char because int might match the return type of a gcc2
3934 builtin and then its argument prototype would still apply. */
3939 /* The GNU C library defines this for functions which it implements
3940 to always fail with ENOSYS. Some functions are actually named
3941 something starting with __ and the normal name is an alias. */
3942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3950 if { (eval echo configure
:3951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3952 eval "ac_cv_func_$ac_func=yes"
3954 echo "configure: failed program was:" >&5
3955 cat conftest.
$ac_ext >&5
3957 eval "ac_cv_func_$ac_func=no"
3962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3963 echo "$ac_t""yes" 1>&6
3964 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3965 cat >> confdefs.h
<<EOF
3966 #define $ac_tr_func 1
3970 echo "$ac_t""no" 1>&6
3976 echo $ac_n "checking for restartable system calls""... $ac_c" 1>&6
3977 echo "configure:3978: checking for restartable system calls" >&5
3978 if eval "test \"`echo '$''{'scm_cv_restarts'+set}'`\" = set"; then
3979 echo $ac_n "(cached) $ac_c" 1>&6
3981 if test $ac_cv_func_sigaction = yes; then
3982 cat > conftest.
$ac_ext <<EOF
3983 #line 3984 "configure"
3984 #include "confdefs.h"
3990 if { (eval echo configure
:3991: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3994 echo "configure: failed program was:" >&5
3995 cat conftest.
$ac_ext >&5
4005 echo "$ac_t""$scm_cv_restarts" 1>&6
4006 if test $scm_cv_restarts = yes; then
4007 cat >> confdefs.h
<<\EOF
4008 #define HAVE_RESTARTS 1
4013 if test "$ac_cv_header_regex_h" = yes ||
4014 test "$ac_cv_header_rxposix_h" = yes ||
4015 test "$ac_cv_header_rx_rxposix_h" = yes; then
4016 echo $ac_n "checking for regcomp""... $ac_c" 1>&6
4017 echo "configure:4018: checking for regcomp" >&5
4018 if eval "test \"`echo '$''{'ac_cv_func_regcomp_norx'+set}'`\" = set"; then
4019 echo $ac_n "(cached) $ac_c" 1>&6
4021 cat > conftest.
$ac_ext <<EOF
4022 #line 4023 "configure"
4023 #include "confdefs.h"
4024 /* System header to define __stub macros and hopefully few prototypes,
4025 which can conflict with char regcomp(); below. */
4027 /* Override any gcc2 internal prototype to avoid an error. */
4028 /* We use char because int might match the return type of a gcc2
4029 builtin and then its argument prototype would still apply. */
4034 /* The GNU C library defines this for functions which it implements
4035 to always fail with ENOSYS. Some functions are actually named
4036 something starting with __ and the normal name is an alias. */
4037 #if defined (__stub_regcomp) || defined (__stub___regcomp)
4045 if { (eval echo configure
:4046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4047 eval "ac_cv_func_regcomp_norx=yes"
4049 echo "configure: failed program was:" >&5
4050 cat conftest.
$ac_ext >&5
4052 eval "ac_cv_func_regcomp_norx=no"
4057 if eval "test \"`echo '$ac_cv_func_'regcomp'_'norx`\" = yes"; then
4058 echo "$ac_t""yes" 1>&6
4059 LIBOBJS
="regex-posix.o $LIBOBJS"
4061 echo "$ac_t""no" 1>&6
4062 echo $ac_n "checking for main in -lrx""... $ac_c" 1>&6
4063 echo "configure:4064: checking for main in -lrx" >&5
4064 ac_lib_var
=`echo rx'_'main | sed 'y%./+-%__p_%'`
4065 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4066 echo $ac_n "(cached) $ac_c" 1>&6
4068 ac_save_LIBS
="$LIBS"
4070 cat > conftest.
$ac_ext <<EOF
4071 #line 4072 "configure"
4072 #include "confdefs.h"
4078 if { (eval echo configure
:4079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4080 eval "ac_cv_lib_$ac_lib_var=yes"
4082 echo "configure: failed program was:" >&5
4083 cat conftest.
$ac_ext >&5
4085 eval "ac_cv_lib_$ac_lib_var=no"
4088 LIBS
="$ac_save_LIBS"
4091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4092 echo "$ac_t""yes" 1>&6
4093 ac_tr_lib
=HAVE_LIB
`echo rx | sed -e 's/[^a-zA-Z0-9_]/_/g' \
4094 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
4095 cat >> confdefs.h
<<EOF
4096 #define $ac_tr_lib 1
4102 echo "$ac_t""no" 1>&6
4105 echo $ac_n "checking for regcomp""... $ac_c" 1>&6
4106 echo "configure:4107: checking for regcomp" >&5
4107 if eval "test \"`echo '$''{'ac_cv_func_regcomp_rx'+set}'`\" = set"; then
4108 echo $ac_n "(cached) $ac_c" 1>&6
4110 cat > conftest.
$ac_ext <<EOF
4111 #line 4112 "configure"
4112 #include "confdefs.h"
4113 /* System header to define __stub macros and hopefully few prototypes,
4114 which can conflict with char regcomp(); below. */
4116 /* Override any gcc2 internal prototype to avoid an error. */
4117 /* We use char because int might match the return type of a gcc2
4118 builtin and then its argument prototype would still apply. */
4123 /* The GNU C library defines this for functions which it implements
4124 to always fail with ENOSYS. Some functions are actually named
4125 something starting with __ and the normal name is an alias. */
4126 #if defined (__stub_regcomp) || defined (__stub___regcomp)
4134 if { (eval echo configure
:4135: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4136 eval "ac_cv_func_regcomp_rx=yes"
4138 echo "configure: failed program was:" >&5
4139 cat conftest.
$ac_ext >&5
4141 eval "ac_cv_func_regcomp_rx=no"
4146 if eval "test \"`echo '$ac_cv_func_'regcomp'_'rx`\" = yes"; then
4147 echo "$ac_t""yes" 1>&6
4148 LIBOBJS
="regex-posix.o $LIBOBJS"
4150 echo "$ac_t""no" 1>&6
4156 if test "$ac_cv_func_regcomp_norx" = yes ||
4157 test "$ac_cv_func_regcomp_rx" = yes; then
4158 cat >> confdefs.h
<<\EOF
4159 #define HAVE_REGCOMP 1
4165 for ac_func
in inet_aton putenv strerror
4167 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4168 echo "configure:4169: checking for $ac_func" >&5
4169 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4170 echo $ac_n "(cached) $ac_c" 1>&6
4172 cat > conftest.
$ac_ext <<EOF
4173 #line 4174 "configure"
4174 #include "confdefs.h"
4175 /* System header to define __stub macros and hopefully few prototypes,
4176 which can conflict with char $ac_func(); below. */
4178 /* Override any gcc2 internal prototype to avoid an error. */
4179 /* We use char because int might match the return type of a gcc2
4180 builtin and then its argument prototype would still apply. */
4185 /* The GNU C library defines this for functions which it implements
4186 to always fail with ENOSYS. Some functions are actually named
4187 something starting with __ and the normal name is an alias. */
4188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4196 if { (eval echo configure
:4197: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4198 eval "ac_cv_func_$ac_func=yes"
4200 echo "configure: failed program was:" >&5
4201 cat conftest.
$ac_ext >&5
4203 eval "ac_cv_func_$ac_func=no"
4208 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4209 echo "$ac_t""yes" 1>&6
4210 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
4211 cat >> confdefs.h
<<EOF
4212 #define $ac_tr_func 1
4216 echo "$ac_t""no" 1>&6
4217 LIBOBJS
="$LIBOBJS ${ac_func}.${ac_objext}"
4223 # When testing for the presence of alloca, we need to add alloca.o
4224 # explicitly to LIBOBJS to make sure that it is translated to
4225 # `alloca.lo' for libtool later on. This can and should be done more cleanly.
4226 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
4227 # for constant arguments. Useless!
4228 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
4229 echo "configure:4230: checking for working alloca.h" >&5
4230 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
4231 echo $ac_n "(cached) $ac_c" 1>&6
4233 cat > conftest.
$ac_ext <<EOF
4234 #line 4235 "configure"
4235 #include "confdefs.h"
4238 char *p = alloca(2 * sizeof(int));
4241 if { (eval echo configure
:4242: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4243 ac_cv_header_alloca_h
=yes
4245 echo "configure: failed program was:" >&5
4246 cat conftest.
$ac_ext >&5
4248 ac_cv_header_alloca_h
=no
4253 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
4254 if test $ac_cv_header_alloca_h = yes; then
4255 cat >> confdefs.h
<<\EOF
4256 #define HAVE_ALLOCA_H 1
4261 echo $ac_n "checking for alloca""... $ac_c" 1>&6
4262 echo "configure:4263: checking for alloca" >&5
4263 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
4264 echo $ac_n "(cached) $ac_c" 1>&6
4266 cat > conftest.
$ac_ext <<EOF
4267 #line 4268 "configure"
4268 #include "confdefs.h"
4271 # define alloca __builtin_alloca
4274 # include <malloc.h>
4275 # define alloca _alloca
4278 # include <alloca.h>
4283 # ifndef alloca /* predefined by HP cc +Olibcalls */
4292 char *p = (char *) alloca(1);
4295 if { (eval echo configure
:4296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4297 ac_cv_func_alloca_works
=yes
4299 echo "configure: failed program was:" >&5
4300 cat conftest.
$ac_ext >&5
4302 ac_cv_func_alloca_works
=no
4307 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
4308 if test $ac_cv_func_alloca_works = yes; then
4309 cat >> confdefs.h
<<\EOF
4310 #define HAVE_ALLOCA 1
4315 if test $ac_cv_func_alloca_works = no
; then
4316 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
4317 # that cause trouble. Some versions do not even contain alloca or
4318 # contain a buggy version. If you still want to use their alloca,
4319 # use ar to extract alloca.o from them instead of compiling alloca.c.
4320 ALLOCA
=alloca.
${ac_objext}
4321 cat >> confdefs.h
<<\EOF
4326 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
4327 echo "configure:4328: checking whether alloca needs Cray hooks" >&5
4328 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
4329 echo $ac_n "(cached) $ac_c" 1>&6
4331 cat > conftest.
$ac_ext <<EOF
4332 #line 4333 "configure"
4333 #include "confdefs.h"
4334 #if defined(CRAY) && ! defined(CRAY2)
4341 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4342 egrep "webecray" >/dev
/null
2>&1; then
4353 echo "$ac_t""$ac_cv_os_cray" 1>&6
4354 if test $ac_cv_os_cray = yes; then
4355 for ac_func
in _getb67 GETB67 getb67
; do
4356 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
4357 echo "configure:4358: checking for $ac_func" >&5
4358 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
4359 echo $ac_n "(cached) $ac_c" 1>&6
4361 cat > conftest.
$ac_ext <<EOF
4362 #line 4363 "configure"
4363 #include "confdefs.h"
4364 /* System header to define __stub macros and hopefully few prototypes,
4365 which can conflict with char $ac_func(); below. */
4367 /* Override any gcc2 internal prototype to avoid an error. */
4368 /* We use char because int might match the return type of a gcc2
4369 builtin and then its argument prototype would still apply. */
4374 /* The GNU C library defines this for functions which it implements
4375 to always fail with ENOSYS. Some functions are actually named
4376 something starting with __ and the normal name is an alias. */
4377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4385 if { (eval echo configure
:4386: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4387 eval "ac_cv_func_$ac_func=yes"
4389 echo "configure: failed program was:" >&5
4390 cat conftest.
$ac_ext >&5
4392 eval "ac_cv_func_$ac_func=no"
4397 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
4398 echo "$ac_t""yes" 1>&6
4399 cat >> confdefs.h
<<EOF
4400 #define CRAY_STACKSEG_END $ac_func
4405 echo "$ac_t""no" 1>&6
4411 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
4412 echo "configure:4413: checking stack direction for C alloca" >&5
4413 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
4414 echo $ac_n "(cached) $ac_c" 1>&6
4416 if test "$cross_compiling" = yes; then
4417 ac_cv_c_stack_direction
=0
4419 cat > conftest.
$ac_ext <<EOF
4420 #line 4421 "configure"
4421 #include "confdefs.h"
4422 find_stack_direction ()
4424 static char *addr = 0;
4429 return find_stack_direction ();
4432 return (&dummy > addr) ? 1 : -1;
4436 exit (find_stack_direction() < 0);
4439 if { (eval echo configure
:4440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4441 ac_cv_c_stack_direction
=1
4443 echo "configure: failed program was:" >&5
4444 cat conftest.
$ac_ext >&5
4446 ac_cv_c_stack_direction
=-1
4453 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
4454 cat >> confdefs.h
<<EOF
4455 #define STACK_DIRECTION $ac_cv_c_stack_direction
4460 if test "$ALLOCA" = "alloca.o"; then LIBOBJS
="alloca.o $LIBOBJS"; fi
4462 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
4463 echo "configure:4464: checking for st_rdev in struct stat" >&5
4464 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
4465 echo $ac_n "(cached) $ac_c" 1>&6
4467 cat > conftest.
$ac_ext <<EOF
4468 #line 4469 "configure"
4469 #include "confdefs.h"
4470 #include <sys/types.h>
4471 #include <sys/stat.h>
4473 struct stat s; s.st_rdev;
4476 if { (eval echo configure
:4477: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4478 ac_cv_struct_st_rdev
=yes
4480 echo "configure: failed program was:" >&5
4481 cat conftest.
$ac_ext >&5
4483 ac_cv_struct_st_rdev
=no
4488 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
4489 if test $ac_cv_struct_st_rdev = yes; then
4490 cat >> confdefs.h
<<\EOF
4491 #define HAVE_ST_RDEV 1
4496 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
4497 echo "configure:4498: checking for st_blksize in struct stat" >&5
4498 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
4499 echo $ac_n "(cached) $ac_c" 1>&6
4501 cat > conftest.
$ac_ext <<EOF
4502 #line 4503 "configure"
4503 #include "confdefs.h"
4504 #include <sys/types.h>
4505 #include <sys/stat.h>
4507 struct stat s; s.st_blksize;
4510 if { (eval echo configure
:4511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4512 ac_cv_struct_st_blksize
=yes
4514 echo "configure: failed program was:" >&5
4515 cat conftest.
$ac_ext >&5
4517 ac_cv_struct_st_blksize
=no
4522 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
4523 if test $ac_cv_struct_st_blksize = yes; then
4524 cat >> confdefs.h
<<\EOF
4525 #define HAVE_ST_BLKSIZE 1
4531 # We could use AC_STRUCT_ST_BLOCKS here, but that adds fileblocks.o to
4532 # LIBOBJS, which we don't need. This seems more direct.
4533 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
4534 echo "configure:4535: checking for st_blocks in struct stat" >&5
4535 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
4536 echo $ac_n "(cached) $ac_c" 1>&6
4538 cat > conftest.
$ac_ext <<EOF
4539 #line 4540 "configure"
4540 #include "confdefs.h"
4541 #include <sys/types.h>
4542 #include <sys/stat.h>
4544 struct stat s; s.st_blocks;
4547 if { (eval echo configure
:4548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4549 ac_cv_struct_st_blocks
=yes
4551 echo "configure: failed program was:" >&5
4552 cat conftest.
$ac_ext >&5
4554 ac_cv_struct_st_blocks
=no
4559 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
4560 if test $ac_cv_struct_st_blocks = yes; then
4561 cat >> confdefs.h
<<\EOF
4562 #define HAVE_ST_BLOCKS 1
4567 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
4568 echo "configure:4569: checking whether struct tm is in sys/time.h or time.h" >&5
4569 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
4570 echo $ac_n "(cached) $ac_c" 1>&6
4572 cat > conftest.
$ac_ext <<EOF
4573 #line 4574 "configure"
4574 #include "confdefs.h"
4575 #include <sys/types.h>
4578 struct tm *tp; tp->tm_sec;
4581 if { (eval echo configure
:4582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4583 ac_cv_struct_tm
=time.h
4585 echo "configure: failed program was:" >&5
4586 cat conftest.
$ac_ext >&5
4588 ac_cv_struct_tm
=sys
/time.h
4593 echo "$ac_t""$ac_cv_struct_tm" 1>&6
4594 if test $ac_cv_struct_tm = sys
/time.h
; then
4595 cat >> confdefs.h
<<\EOF
4596 #define TM_IN_SYS_TIME 1
4601 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
4602 echo "configure:4603: checking for tm_zone in struct tm" >&5
4603 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
4604 echo $ac_n "(cached) $ac_c" 1>&6
4606 cat > conftest.
$ac_ext <<EOF
4607 #line 4608 "configure"
4608 #include "confdefs.h"
4609 #include <sys/types.h>
4610 #include <$ac_cv_struct_tm>
4612 struct tm tm; tm.tm_zone;
4615 if { (eval echo configure
:4616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4617 ac_cv_struct_tm_zone
=yes
4619 echo "configure: failed program was:" >&5
4620 cat conftest.
$ac_ext >&5
4622 ac_cv_struct_tm_zone
=no
4627 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
4628 if test "$ac_cv_struct_tm_zone" = yes; then
4629 cat >> confdefs.h
<<\EOF
4630 #define HAVE_TM_ZONE 1
4634 echo $ac_n "checking for tzname""... $ac_c" 1>&6
4635 echo "configure:4636: checking for tzname" >&5
4636 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
4637 echo $ac_n "(cached) $ac_c" 1>&6
4639 cat > conftest.
$ac_ext <<EOF
4640 #line 4641 "configure"
4641 #include "confdefs.h"
4643 #ifndef tzname /* For SGI. */
4644 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
4650 if { (eval echo configure
:4651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
4652 ac_cv_var_tzname
=yes
4654 echo "configure: failed program was:" >&5
4655 cat conftest.
$ac_ext >&5
4662 echo "$ac_t""$ac_cv_var_tzname" 1>&6
4663 if test $ac_cv_var_tzname = yes; then
4664 cat >> confdefs.h
<<\EOF
4665 #define HAVE_TZNAME 1
4672 echo $ac_n "checking whether we need POSIX to get struct utimbuf""... $ac_c" 1>&6
4673 echo "configure:4674: checking whether we need POSIX to get struct utimbuf" >&5
4674 if eval "test \"`echo '$''{'guile_cv_struct_utimbuf_needs_posix'+set}'`\" = set"; then
4675 echo $ac_n "(cached) $ac_c" 1>&6
4677 cat > conftest.
$ac_ext <<EOF
4678 #line 4679 "configure"
4679 #include "confdefs.h"
4682 #include <sys/utime.h>
4689 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
4690 { (eval echo configure
:4691: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
4691 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
4692 if test -z "$ac_err"; then
4694 guile_cv_struct_utimbuf_needs_posix
=no
4697 echo "configure: failed program was:" >&5
4698 cat conftest.
$ac_ext >&5
4700 guile_cv_struct_utimbuf_needs_posix
=yes
4705 echo "$ac_t""$guile_cv_struct_utimbuf_needs_posix" 1>&6
4706 if test "$guile_cv_struct_utimbuf_needs_posix" = yes; then
4707 cat >> confdefs.h
<<\EOF
4708 #define UTIMBUF_NEEDS_POSIX 1
4713 #--------------------------------------------------------------------
4715 # Which way does the stack grow?
4717 #--------------------------------------------------------------------
4719 if test "$cross_compiling" = yes; then
4720 echo "configure: warning: Guessing that stack grows down -- see scmconfig.h.in" 1>&2
4722 cat > conftest.
$ac_ext <<EOF
4723 #line 4724 "configure"
4724 #include "confdefs.h"
4725 aux (l) unsigned long l;
4726 { int x; exit (l >= ((unsigned long)&x)); }
4727 main () { int q; aux((unsigned long)&q); }
4729 if { (eval echo configure
:4730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4731 cat >> confdefs.h
<<\EOF
4732 #define SCM_STACK_GROWS_UP 1
4736 echo "configure: failed program was:" >&5
4737 cat conftest.
$ac_ext >&5
4743 echo $ac_n "checking whether floats fit in longs""... $ac_c" 1>&6
4744 echo "configure:4745: checking whether floats fit in longs" >&5
4745 if eval "test \"`echo '$''{'guile_cv_type_float_fits_long'+set}'`\" = set"; then
4746 echo $ac_n "(cached) $ac_c" 1>&6
4748 if test "$cross_compiling" = yes; then
4749 guile_cv_type_float_fits_long
=guess-yes
4751 cat > conftest.
$ac_ext <<EOF
4752 #line 4753 "configure"
4753 #include "confdefs.h"
4754 main () { exit (sizeof(float) > sizeof(long)); }
4756 if { (eval echo configure
:4757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4758 guile_cv_type_float_fits_long
=yes
4760 echo "configure: failed program was:" >&5
4761 cat conftest.
$ac_ext >&5
4763 guile_cv_type_float_fits_long
=no
4770 echo "$ac_t""$guile_cv_type_float_fits_long" 1>&6
4771 case $guile_cv_type_float_fits_long in
4773 cat >> confdefs.h
<<\EOF
4774 #define SCM_SINGLES 1
4779 cat >> confdefs.h
<<\EOF
4780 #define SCM_SINGLES 1
4783 echo "configure: warning: guessing that sizeof(long) == sizeof(float)" 1>&2
4784 echo "configure: warning: see SCM_SINGLES in scmconfig.h.in" 1>&2
4789 echo $ac_n "checking for struct linger""... $ac_c" 1>&6
4790 echo "configure:4791: checking for struct linger" >&5
4791 if eval "test \"`echo '$''{'scm_cv_struct_linger'+set}'`\" = set"; then
4792 echo $ac_n "(cached) $ac_c" 1>&6
4794 cat > conftest.
$ac_ext <<EOF
4795 #line 4796 "configure"
4796 #include "confdefs.h"
4798 #include <sys/types.h>
4799 #include <sys/socket.h>
4801 struct linger lgr; lgr.l_linger = 100
4804 if { (eval echo configure
:4805: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4806 scm_cv_struct_linger
="yes"
4808 echo "configure: failed program was:" >&5
4809 cat conftest.
$ac_ext >&5
4811 scm_cv_struct_linger
="no"
4816 echo "$ac_t""$scm_cv_struct_linger" 1>&6
4817 if test $scm_cv_struct_linger = yes; then
4818 cat >> confdefs.h
<<\EOF
4819 #define HAVE_STRUCT_LINGER 1
4824 #--------------------------------------------------------------------
4826 # How can you violate a stdio abstraction by setting a stream's fd?
4828 #--------------------------------------------------------------------
4830 echo $ac_n "checking how to set a stream file descriptor""... $ac_c" 1>&6
4831 echo "configure:4832: checking how to set a stream file descriptor" >&5
4832 if eval "test \"`echo '$''{'scm_cv_fd_setter'+set}'`\" = set"; then
4833 echo $ac_n "(cached) $ac_c" 1>&6
4835 cat > conftest.
$ac_ext <<EOF
4836 #line 4837 "configure"
4837 #include "confdefs.h"
4843 if { (eval echo configure
:4844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4845 scm_cv_fd_setter
="_file"
4847 echo "configure: failed program was:" >&5
4848 cat conftest.
$ac_ext >&5
4850 cat > conftest.
$ac_ext <<EOF
4851 #line 4852 "configure"
4852 #include "confdefs.h"
4858 if { (eval echo configure
:4859: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4860 scm_cv_fd_setter
="__file"
4862 echo "configure: failed program was:" >&5
4863 cat conftest.
$ac_ext >&5
4865 cat > conftest.
$ac_ext <<EOF
4866 #line 4867 "configure"
4867 #include "confdefs.h"
4873 if { (eval echo configure
:4874: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4875 scm_cv_fd_setter
="_fileno"
4877 echo "configure: failed program was:" >&5
4878 cat conftest.
$ac_ext >&5
4890 if test "$scm_cv_fd_setter"; then
4891 echo "$ac_t""$scm_cv_fd_setter" 1>&6
4892 cat >> confdefs.h
<<EOF
4893 #define FD_SETTER $scm_cv_fd_setter
4897 echo "$ac_t""we couldn't do it!" 1>&6
4900 #--------------------------------------------------------------------
4901 # How to find out whether a FILE structure contains buffered data.
4902 # From Tk we have the following list:
4903 # _cnt: Most UNIX systems
4904 # __cnt: HPUX and SCO
4907 # Or, in GNU libc there are two fields, _gptr and _egptr, which
4908 # have to be compared.
4909 # These can also be known as _IO_read_ptr and _IO_read_end.
4910 #--------------------------------------------------------------------
4912 echo $ac_n "checking how to get buffer char count from FILE structure""... $ac_c" 1>&6
4913 echo "configure:4914: checking how to get buffer char count from FILE structure" >&5
4914 if eval "test \"`echo '$''{'scm_cv_struct_file_count'+set}'`\" = set"; then
4915 echo $ac_n "(cached) $ac_c" 1>&6
4917 cat > conftest.
$ac_ext <<EOF
4918 #line 4919 "configure"
4919 #include "confdefs.h"
4922 FILE *f = stdin; f->_cnt = 0
4925 if { (eval echo configure
:4926: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4927 scm_cv_struct_file_count
="_cnt"
4929 echo "configure: failed program was:" >&5
4930 cat conftest.
$ac_ext >&5
4932 cat > conftest.
$ac_ext <<EOF
4933 #line 4934 "configure"
4934 #include "confdefs.h"
4937 FILE *f = stdin; f->__cnt = 0
4940 if { (eval echo configure
:4941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4942 scm_cv_struct_file_count
="__cnt"
4944 echo "configure: failed program was:" >&5
4945 cat conftest.
$ac_ext >&5
4947 cat > conftest.
$ac_ext <<EOF
4948 #line 4949 "configure"
4949 #include "confdefs.h"
4952 FILE *f = stdin; f->_r = 0
4955 if { (eval echo configure
:4956: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4957 scm_cv_struct_file_count
="_r"
4959 echo "configure: failed program was:" >&5
4960 cat conftest.
$ac_ext >&5
4962 cat > conftest.
$ac_ext <<EOF
4963 #line 4964 "configure"
4964 #include "confdefs.h"
4967 FILE *f = stdin; f->readCount = 0
4970 if { (eval echo configure
:4971: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4972 scm_cv_struct_file_count
="readCount"
4974 echo "configure: failed program was:" >&5
4975 cat conftest.
$ac_ext >&5
4977 scm_cv_struct_file_count
=""
4988 if test "$scm_cv_struct_file_count"; then
4989 echo "$ac_t""$scm_cv_struct_file_count" 1>&6
4990 cat >> confdefs.h
<<EOF
4991 #define FILE_CNT_FIELD $scm_cv_struct_file_count
4995 if eval "test \"`echo '$''{'scm_cv_struct_file_gptr'+set}'`\" = set"; then
4996 echo $ac_n "(cached) $ac_c" 1>&6
4998 cat > conftest.
$ac_ext <<EOF
4999 #line 5000 "configure"
5000 #include "confdefs.h"
5003 FILE *f = stdin; f->_gptr = f->egptr;
5006 if { (eval echo configure
:5007: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5008 scm_cv_struct_file_gptr
=1
5010 echo "configure: failed program was:" >&5
5011 cat conftest.
$ac_ext >&5
5013 scm_cv_struct_file_gptr
=""
5018 if test "$scm_cv_struct_gptr"; then
5019 echo "$ac_t""gptr" 1>&6
5020 cat >> confdefs.h
<<EOF
5021 #define FILE_CNT_GPTR $scm_cv_struct_file_gptr
5025 if eval "test \"`echo '$''{'scm_cv_struct_file_readptr'+set}'`\" = set"; then
5026 echo $ac_n "(cached) $ac_c" 1>&6
5028 cat > conftest.
$ac_ext <<EOF
5029 #line 5030 "configure"
5030 #include "confdefs.h"
5033 FILE *f = stdin; f->_IO_read_ptr = f->_IO_read_end;
5036 if { (eval echo configure
:5037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
5038 scm_cv_struct_file_readptr
=1
5040 echo "configure: failed program was:" >&5
5041 cat conftest.
$ac_ext >&5
5046 if test "$scm_cv_struct_file_readptr"; then
5047 echo "$ac_t""read_ptr" 1>&6
5048 cat >> confdefs.h
<<EOF
5049 #define FILE_CNT_READPTR $scm_cv_struct_file_readptr
5053 echo "$ac_t""we couldn't do it!" 1>&6
5058 #--------------------------------------------------------------------
5060 # Flags for thread support
5062 #--------------------------------------------------------------------
5064 ### What thread package has the user asked for?
5065 # Check whether --with-threads or --without-threads was given.
5066 if test "${with_threads+set}" = set; then
5067 withval
="$with_threads"
5074 ### Turn $with_threads into either the name of a threads package, like
5075 ### `qt', or `no', meaning that threads should not be supported.
5076 echo $ac_n "checking whether to support threads""... $ac_c" 1>&6
5077 echo "configure:5078: checking whether to support threads" >&5
5078 case "$with_threads" in
5079 "yes" |
"qt" |
"coop" |
"")
5085 { echo "configure: error: invalid value for --with-threads: $with_threads" 1>&2; exit 1; }
5088 echo "$ac_t""$with_threads" 1>&6
5090 ## Make sure the threads package we've chosen is actually supported on
5091 ## the present platform.
5092 case "${with_threads}" in
5094 ## This configures the QuickThreads package, and sets or clears
5095 ## the THREAD_PACKAGE variable if qthreads don't configure
5100 echo $ac_n "checking QuickThreads configuration""... $ac_c" 1>&6
5101 echo "configure:5102: checking QuickThreads configuration" >&5
5102 # How can we refer to the qt source directory from within the qt build
5103 # directory? For headers, we can rely on the fact that the qt src
5104 # directory appears in the #include path.
5105 qtsrcdir
="`(cd $srcdir; pwd)`/qt"
5119 ## NetBSD needs to be told to pass the assembly code through
5120 ## the C preprocessor. Other GCC installations seem to do
5121 ## this by default, but NetBSD's doesn't. We could get the
5122 ## same effect by giving the file a name ending with .S
5123 ## instead of .s, but I don't see how to tell automake to do
5125 qthread_asflags
='-x assembler-with-cpp'
5132 qtmds_s
=md
/mips-irix5.s
5134 qtdmdb_s
=md
/mips_b.s
5141 qtdmdb_s
=md
/mips_b.s
5144 port_name
=sparc-sunos
5148 qtdmdb_s
=md
/_sparc_b.s
5155 qtdmdb_s
=md
/sparc_b.s
5165 echo "Unknown configuration; threads package disabled"
5171 # Did configuration succeed?
5172 if test -n "$THREAD_PACKAGE"; then
5173 echo "$ac_t""$port_name" 1>&6
5174 QTHREAD_LTLIBS
=libqthreads.la
5175 THREAD_CPPFLAGS
="-I$qtsrcdir -I../qt"
5176 THREAD_LIBS_LOCAL
="../qt/libqthreads.la"
5177 THREAD_LIBS_INSTALLED
="-lqthreads"
5179 echo "$ac_t""none; disabled" 1>&6
5196 ## If we're using threads, bring in some other parts of Guile which
5198 if test "${THREAD_PACKAGE}" != "" ; then
5199 cat >> confdefs.h
<<\EOF
5200 #define USE_THREADS 1
5204 ## Include the Guile thread interface in the library...
5205 LIBOBJS
="$LIBOBJS threads.o"
5207 ## ... and tell it which package to talk to.
5208 case "${THREAD_PACKAGE}" in
5210 cat >> confdefs.h
<<\EOF
5211 #define USE_COOP_THREADS 1
5216 { echo "configure: error: invalid value for THREAD_PACKAGE: ${THREAD_PACKAGE}" 1>&2; exit 1; }
5220 ## Bring in scm_internal_select, if appropriate.
5221 if test $ac_cv_func_gettimeofday = yes &&
5222 test $ac_cv_func_select = yes; then
5223 LIBOBJS
="$LIBOBJS iselect.o"
5224 cat >> confdefs.h
<<\EOF
5225 #define GUILE_ISELECT 1
5231 ## If we're using GCC, ask for aggressive warnings.
5234 ## We had -Wstrict-prototypes in here for a bit, but Guile does too
5235 ## much stuff with generic function pointers for that to really be
5236 ## less than exasperating.
5237 CFLAGS
="$CFLAGS -Wall -Wpointer-arith -Wmissing-prototypes" ;;
5240 for ac_prog
in mawk gawk nawk
awk
5242 # Extract the first word of "$ac_prog", so it can be a program name with args.
5243 set dummy
$ac_prog; ac_word
=$2
5244 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5245 echo "configure:5246: checking for $ac_word" >&5
5246 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
5247 echo $ac_n "(cached) $ac_c" 1>&6
5249 if test -n "$AWK"; then
5250 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
5252 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5254 for ac_dir
in $ac_dummy; do
5255 test -z "$ac_dir" && ac_dir
=.
5256 if test -f $ac_dir/$ac_word; then
5257 ac_cv_prog_AWK
="$ac_prog"
5264 AWK
="$ac_cv_prog_AWK"
5265 if test -n "$AWK"; then
5266 echo "$ac_t""$AWK" 1>&6
5268 echo "$ac_t""no" 1>&6
5271 test -n "$AWK" && break
5275 ## If we're creating a shared library (using libtool!), then we'll
5276 ## need to generate a list of .lo files corresponding to the .o files
5277 ## given in LIBOBJS. We'll call it LIBLOBJS.
5278 LIBLOBJS
="`echo ${LIBOBJS} | sed 's/\.o/.lo/g'`"
5284 GUILE_LIBS
="$LDFLAGS $THREAD_LIBS_INSTALLED $LIBS"
5287 GUILE_STAMP
="`date`"
5294 cat > confcache
<<\EOF
5295 # This file is a shell script that caches the results of configure
5296 # tests run on this system so they can be shared between configure
5297 # scripts and configure runs. It is not useful on other systems.
5298 # If it contains results you don't want to keep, you may remove or edit it.
5300 # By default, configure uses ./config.cache as the cache file,
5301 # creating it if it does not exist already. You can give configure
5302 # the --cache-file=FILE option to use a different cache file; that is
5303 # what configure does when it calls configure scripts in
5304 # subdirectories, so they share the cache.
5305 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5306 # config.status only pays attention to the cache file if you give it the
5307 # --recheck option to rerun configure.
5310 # The following way of writing the cache mishandles newlines in values,
5311 # but we know of no workaround that is simple, portable, and efficient.
5312 # So, don't put newlines in cache variables' values.
5313 # Ultrix sh set writes to stderr and can't be redirected directly,
5314 # and sets the high bit in the cache file unless we assign to the vars.
5316 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5318 # `set' does not quote correctly, so add quotes (double-quote substitution
5319 # turns \\\\ into \\, and sed turns \\ into \).
5321 -e "s/'/'\\\\''/g" \
5322 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5325 # `set' quotes correctly as required by POSIX, so do not add quotes.
5326 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5329 if cmp -s $cache_file confcache
; then
5332 if test -w $cache_file; then
5333 echo "updating cache $cache_file"
5334 cat confcache
> $cache_file
5336 echo "not updating unwritable cache $cache_file"
5341 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
5343 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
5344 # Let make expand exec_prefix.
5345 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
5347 # Any assignment to VPATH causes Sun make to only execute
5348 # the first set of double-colon rules, so remove it if not needed.
5349 # If there is a colon in the path, we need to keep it.
5350 if test "x$srcdir" = x.
; then
5351 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
5354 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
5356 DEFS
=-DHAVE_CONFIG_H
5358 # Without the "./", some shells look in PATH for config.status.
5359 : ${CONFIG_STATUS=./config.status}
5361 echo creating
$CONFIG_STATUS
5362 rm -f $CONFIG_STATUS
5363 cat > $CONFIG_STATUS <<EOF
5365 # Generated automatically by configure.
5366 # Run this file to recreate the current configuration.
5367 # This directory was configured as follows,
5368 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
5370 # $0 $ac_configure_args
5372 # Compiler output produced by configure, useful for debugging
5373 # configure, is in ./config.log if it exists.
5375 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
5378 case "\$ac_option" in
5379 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5380 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
5381 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
5382 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
5383 echo "$CONFIG_STATUS generated by autoconf version 2.13"
5385 -help | --help | --hel | --he | --h)
5386 echo "\$ac_cs_usage"; exit 0 ;;
5387 *) echo "\$ac_cs_usage"; exit 1 ;;
5391 ac_given_srcdir=$srcdir
5392 ac_given_INSTALL="$INSTALL"
5394 trap 'rm -fr `echo "Makefile libguile/Makefile libguile/guile-snarf libguile/versiondat.h ice-9/Makefile ice-9/version.scm qt/Makefile qt/qt.h qt/md/Makefile qt/time/Makefile guile-config/Makefile doc/Makefile libguile/scmconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
5396 cat >> $CONFIG_STATUS <<EOF
5398 # Protect against being on the right side of a sed subst in config.status.
5399 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
5400 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
5404 s%@CFLAGS@%$CFLAGS%g
5405 s%@CPPFLAGS@%$CPPFLAGS%g
5406 s%@CXXFLAGS@%$CXXFLAGS%g
5407 s%@FFLAGS@%$FFLAGS%g
5409 s%@LDFLAGS@%$LDFLAGS%g
5411 s%@exec_prefix@%$exec_prefix%g
5412 s%@prefix@%$prefix%g
5413 s%@program_transform_name@%$program_transform_name%g
5414 s%@bindir@%$bindir%g
5415 s%@sbindir@%$sbindir%g
5416 s%@libexecdir@%$libexecdir%g
5417 s%@datadir@%$datadir%g
5418 s%@sysconfdir@%$sysconfdir%g
5419 s%@sharedstatedir@%$sharedstatedir%g
5420 s%@localstatedir@%$localstatedir%g
5421 s%@libdir@%$libdir%g
5422 s%@includedir@%$includedir%g
5423 s%@oldincludedir@%$oldincludedir%g
5424 s%@infodir@%$infodir%g
5425 s%@mandir@%$mandir%g
5426 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
5427 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
5428 s%@INSTALL_DATA@%$INSTALL_DATA%g
5429 s%@PACKAGE@%$PACKAGE%g
5430 s%@VERSION@%$VERSION%g
5431 s%@ACLOCAL@%$ACLOCAL%g
5432 s%@AUTOCONF@%$AUTOCONF%g
5433 s%@AUTOMAKE@%$AUTOMAKE%g
5434 s%@AUTOHEADER@%$AUTOHEADER%g
5435 s%@MAKEINFO@%$MAKEINFO%g
5436 s%@SET_MAKE@%$SET_MAKE%g
5437 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
5438 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
5443 s%@host_alias@%$host_alias%g
5444 s%@host_cpu@%$host_cpu%g
5445 s%@host_vendor@%$host_vendor%g
5446 s%@host_os@%$host_os%g
5448 s%@build_alias@%$build_alias%g
5449 s%@build_cpu@%$build_cpu%g
5450 s%@build_vendor@%$build_vendor%g
5451 s%@build_os@%$build_os%g
5452 s%@RANLIB@%$RANLIB%g
5455 s%@USE_SYMBOL_UNDERSCORE@%$USE_SYMBOL_UNDERSCORE%g
5457 s%@DLLTOOL@%$DLLTOOL%g
5459 s%@LIBTOOL@%$LIBTOOL%g
5460 s%@LIBOBJS@%$LIBOBJS%g
5461 s%@ALLOCA@%$ALLOCA%g
5462 s%@QTHREAD_LTLIBS@%$QTHREAD_LTLIBS%g
5463 s%@qtmd_h@%$qtmd_h%g
5464 s%@qtmds_s@%$qtmds_s%g
5465 s%@qtmdc_c@%$qtmdc_c%g
5466 s%@qtdmdb_s@%$qtdmdb_s%g
5467 s%@qthread_asflags@%$qthread_asflags%g
5468 s%@THREAD_PACKAGE@%$THREAD_PACKAGE%g
5469 s%@THREAD_CPPFLAGS@%$THREAD_CPPFLAGS%g
5470 s%@THREAD_LIBS_LOCAL@%$THREAD_LIBS_LOCAL%g
5471 s%@THREAD_LIBS_INSTALLED@%$THREAD_LIBS_INSTALLED%g
5473 s%@GUILE_MAJOR_VERSION@%$GUILE_MAJOR_VERSION%g
5474 s%@GUILE_MINOR_VERSION@%$GUILE_MINOR_VERSION%g
5475 s%@GUILE_VERSION@%$GUILE_VERSION%g
5476 s%@GUILE_LIBS@%$GUILE_LIBS%g
5477 s%@GUILE_STAMP@%$GUILE_STAMP%g
5478 s%@LIBLOBJS@%$LIBLOBJS%g
5483 cat >> $CONFIG_STATUS <<\EOF
5485 # Split the substitutions into bite-sized pieces for seds with
5486 # small command number limits, like on Digital OSF/1 and HP-UX.
5487 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
5488 ac_file
=1 # Number of current file.
5489 ac_beg
=1 # First line for current file.
5490 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
5493 while $ac_more_lines; do
5494 if test $ac_beg -gt 1; then
5495 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
5497 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
5499 if test ! -s conftest.s
$ac_file; then
5501 rm -f conftest.s
$ac_file
5503 if test -z "$ac_sed_cmds"; then
5504 ac_sed_cmds
="sed -f conftest.s$ac_file"
5506 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
5508 ac_file
=`expr $ac_file + 1`
5510 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
5513 if test -z "$ac_sed_cmds"; then
5518 cat >> $CONFIG_STATUS <<EOF
5520 CONFIG_FILES=\${CONFIG_FILES-"Makefile libguile/Makefile libguile/guile-snarf libguile/versiondat.h ice-9/Makefile ice-9/version.scm qt/Makefile qt/qt.h qt/md/Makefile qt/time/Makefile guile-config/Makefile doc/Makefile"}
5522 cat >> $CONFIG_STATUS <<\EOF
5523 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
5524 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5526 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
5527 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
5528 *) ac_file_in
="${ac_file}.in" ;;
5531 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
5533 # Remove last slash and all that follows it. Not all systems have dirname.
5534 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
5535 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
5536 # The file is in a subdirectory.
5537 test ! -d "$ac_dir" && mkdir
"$ac_dir"
5538 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
5539 # A "../" for each directory in $ac_dir_suffix.
5540 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
5542 ac_dir_suffix
= ac_dots
=
5545 case "$ac_given_srcdir" in
5547 if test -z "$ac_dots"; then top_srcdir
=.
5548 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
5549 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
5551 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
5552 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
5555 case "$ac_given_INSTALL" in
5556 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
5557 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
5560 echo creating
"$ac_file"
5562 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
5564 *Makefile
*) ac_comsub
="1i\\
5565 # $configure_input" ;;
5569 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5571 s%@configure_input@%$configure_input%g
5572 s%@srcdir@%$srcdir%g
5573 s%@top_srcdir@%$top_srcdir%g
5574 s%@INSTALL@%$INSTALL%g
5575 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
5579 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5580 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5582 # ac_d sets the value in "#define NAME VALUE" lines.
5583 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5584 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
5587 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
5588 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5589 ac_uB
='\([ ]\)%\1#\2define\3'
5592 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5593 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5594 ac_eB
='$%\1#\2define\3'
5598 if test "${CONFIG_HEADERS+set}" != set; then
5600 cat >> $CONFIG_STATUS <<EOF
5601 CONFIG_HEADERS="libguile/scmconfig.h"
5603 cat >> $CONFIG_STATUS <<\EOF
5605 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
5606 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5608 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
5609 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
5610 *) ac_file_in
="${ac_file}.in" ;;
5613 echo creating
$ac_file
5615 rm -f conftest.frag conftest.
in conftest.out
5616 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
5617 cat $ac_file_inputs > conftest.
in
5621 # Transform confdefs.h into a sed script conftest.vals that substitutes
5622 # the proper values into config.h.in to produce config.h. And first:
5623 # Protect against being on the right side of a sed subst in config.status.
5624 # Protect against being in an unquoted here document in config.status.
5626 cat > conftest.hdr
<<\EOF
5629 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
5633 sed -n -f conftest.hdr confdefs.h > conftest.vals
5636 # This sed command replaces #undef with comments. This is necessary, for
5637 # example, in the case of _POSIX_SOURCE, which is predefined and required
5638 # on some systems where configure will not decide to define it.
5639 cat >> conftest.vals <<\EOF
5640 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
5643 # Break up conftest.vals because some shells have a limit on
5644 # the size of here documents, and old seds have small limits too.
5649 ac_lines=`grep -c . conftest.vals
`
5650 # grep -c gives empty output for an empty file on some AIX systems.
5651 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
5652 # Write a limited-size here document to conftest.frag.
5653 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
5654 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
5656 sed -f conftest.frag conftest.in > conftest.out
5658 mv conftest.out conftest.in
5660 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
5662 mv conftest.tail conftest.vals
5666 cat >> $CONFIG_STATUS <<\EOF
5667 rm -f conftest.frag conftest.h
5668 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
5669 cat conftest.in >> conftest.h
5671 if cmp -s $ac_file conftest.h 2>/dev/null; then
5672 echo "$ac_file is unchanged"
5675 # Remove last slash and all that follows it. Not all systems have dirname.
5676 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
5677 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
5678 # The file is in a subdirectory.
5679 test ! -d "$ac_dir" && mkdir "$ac_dir"
5682 mv conftest.h $ac_file
5687 cat >> $CONFIG_STATUS <<EOF
5691 cat >> $CONFIG_STATUS <<\EOF
5692 test -z "$CONFIG_HEADERS" || echo timestamp > libguile/stamp-h
5693 chmod +x libguile/guile-snarf
5696 chmod +x $CONFIG_STATUS
5697 rm -fr confdefs* $ac_clean_files
5698 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1