3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
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 --disable-debug Don't include debugging support"
20 --enable-dynamic-linking Include support for dynamic linking"
22 --enable-guile-debug Include internal debugging functions"
24 --enable-shared build shared libraries [default=yes]
25 --enable-shared=PKGS only build shared libraries if the current package
26 appears as an element in the PKGS list"
28 --enable-static build static libraries [default=yes]
29 --enable-static=PKGS only build shared libraries if the current package
30 appears as an element in the PKGS list"
32 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
34 --with-threads thread interface"
36 # Initialize some variables set by options.
37 # The variables have the same names as the options, with
38 # dashes changed to underlines.
40 cache_file
=.
/config.cache
49 program_transform_name
=s
,x
,x
,
57 bindir
='${exec_prefix}/bin'
58 sbindir
='${exec_prefix}/sbin'
59 libexecdir
='${exec_prefix}/libexec'
60 datadir
='${prefix}/share'
61 sysconfdir
='${prefix}/etc'
62 sharedstatedir
='${prefix}/com'
63 localstatedir
='${prefix}/var'
64 libdir
='${exec_prefix}/lib'
65 includedir
='${prefix}/include'
66 oldincludedir
='/usr/include'
67 infodir
='${prefix}/info'
68 mandir
='${prefix}/man'
70 # Initialize some other variables.
73 # Maximum number of lines to put in a shell here document.
80 # If the previous option needs an argument, assign it.
81 if test -n "$ac_prev"; then
82 eval "$ac_prev=\$ac_option"
88 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
92 # Accept the important Cygnus configure options, so we can diagnose typos.
96 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
98 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
99 bindir
="$ac_optarg" ;;
101 -build |
--build |
--buil |
--bui |
--bu)
103 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
104 build
="$ac_optarg" ;;
106 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
107 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
108 ac_prev
=cache_file
;;
109 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
110 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
111 cache_file
="$ac_optarg" ;;
113 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
115 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
117 datadir
="$ac_optarg" ;;
119 -disable-* |
--disable-*)
120 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
121 # Reject names that are not valid shell variable names.
122 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
123 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
125 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
126 eval "enable_${ac_feature}=no" ;;
128 -enable-* |
--enable-*)
129 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
130 # Reject names that are not valid shell variable names.
131 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
132 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
134 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
139 eval "enable_${ac_feature}='$ac_optarg'" ;;
141 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
142 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
143 |
--exec |
--exe |
--ex)
144 ac_prev
=exec_prefix
;;
145 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
146 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
147 |
--exec=* |
--exe=* |
--ex=*)
148 exec_prefix
="$ac_optarg" ;;
150 -gas |
--gas |
--ga |
--g)
151 # Obsolete; use --with-gas.
154 -help |
--help |
--hel |
--he)
155 # Omit some internal or obsolete options to make the list less imposing.
156 # This message is too long to be a string in the A/UX 3.1 sh.
158 Usage: configure [options] [host]
159 Options: [defaults in brackets after descriptions]
161 --cache-file=FILE cache test results in FILE
162 --help print this message
163 --no-create do not create output files
164 --quiet, --silent do not print \`checking...' messages
165 --version print the version of autoconf that created configure
166 Directory and file names:
167 --prefix=PREFIX install architecture-independent files in PREFIX
169 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
171 --bindir=DIR user executables in DIR [EPREFIX/bin]
172 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
173 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
174 --datadir=DIR read-only architecture-independent data in DIR
176 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
177 --sharedstatedir=DIR modifiable architecture-independent data in DIR
179 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
180 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
181 --includedir=DIR C header files in DIR [PREFIX/include]
182 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
183 --infodir=DIR info documentation in DIR [PREFIX/info]
184 --mandir=DIR man documentation in DIR [PREFIX/man]
185 --srcdir=DIR find the sources in DIR [configure dir or ..]
186 --program-prefix=PREFIX prepend PREFIX to installed program names
187 --program-suffix=SUFFIX append SUFFIX to installed program names
188 --program-transform-name=PROGRAM
189 run sed PROGRAM on installed program names
193 --build=BUILD configure for building on BUILD [BUILD=HOST]
194 --host=HOST configure for HOST [guessed]
195 --target=TARGET configure for TARGET [TARGET=HOST]
196 Features and packages:
197 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
198 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
199 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
200 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
201 --x-includes=DIR X include files are in DIR
202 --x-libraries=DIR X library files are in DIR
204 if test -n "$ac_help"; then
205 echo "--enable and --with options recognized:$ac_help"
209 -host |
--host |
--hos |
--ho)
211 -host=* |
--host=* |
--hos=* |
--ho=*)
214 -includedir |
--includedir |
--includedi |
--included |
--include \
215 |
--includ |
--inclu |
--incl |
--inc)
216 ac_prev
=includedir
;;
217 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
218 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
219 includedir
="$ac_optarg" ;;
221 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
223 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
224 infodir
="$ac_optarg" ;;
226 -libdir |
--libdir |
--libdi |
--libd)
228 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
229 libdir
="$ac_optarg" ;;
231 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
232 |
--libexe |
--libex |
--libe)
233 ac_prev
=libexecdir
;;
234 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
235 |
--libexe=* |
--libex=* |
--libe=*)
236 libexecdir
="$ac_optarg" ;;
238 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
239 |
--localstate |
--localstat |
--localsta |
--localst \
240 |
--locals |
--local |
--loca |
--loc |
--lo)
241 ac_prev
=localstatedir
;;
242 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
243 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
244 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
245 localstatedir
="$ac_optarg" ;;
247 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
249 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
250 mandir
="$ac_optarg" ;;
253 # Obsolete; use --without-fp.
256 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
260 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
261 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
264 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
265 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
266 |
--oldin |
--oldi |
--old |
--ol |
--o)
267 ac_prev
=oldincludedir
;;
268 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
269 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
270 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
271 oldincludedir
="$ac_optarg" ;;
273 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
275 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
276 prefix
="$ac_optarg" ;;
278 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
279 |
--program-pre |
--program-pr |
--program-p)
280 ac_prev
=program_prefix
;;
281 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
282 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
283 program_prefix
="$ac_optarg" ;;
285 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
286 |
--program-suf |
--program-su |
--program-s)
287 ac_prev
=program_suffix
;;
288 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
289 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
290 program_suffix
="$ac_optarg" ;;
292 -program-transform-name |
--program-transform-name \
293 |
--program-transform-nam |
--program-transform-na \
294 |
--program-transform-n |
--program-transform- \
295 |
--program-transform |
--program-transfor \
296 |
--program-transfo |
--program-transf \
297 |
--program-trans |
--program-tran \
298 |
--progr-tra |
--program-tr |
--program-t)
299 ac_prev
=program_transform_name
;;
300 -program-transform-name=* |
--program-transform-name=* \
301 |
--program-transform-nam=* |
--program-transform-na=* \
302 |
--program-transform-n=* |
--program-transform-=* \
303 |
--program-transform=* |
--program-transfor=* \
304 |
--program-transfo=* |
--program-transf=* \
305 |
--program-trans=* |
--program-tran=* \
306 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
307 program_transform_name
="$ac_optarg" ;;
309 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
310 |
-silent |
--silent |
--silen |
--sile |
--sil)
313 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
315 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
317 sbindir
="$ac_optarg" ;;
319 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
320 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
321 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
323 ac_prev
=sharedstatedir
;;
324 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
325 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
326 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
328 sharedstatedir
="$ac_optarg" ;;
330 -site |
--site |
--sit)
332 -site=* |
--site=* |
--sit=*)
335 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
337 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
338 srcdir
="$ac_optarg" ;;
340 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
341 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
342 ac_prev
=sysconfdir
;;
343 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
344 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
345 sysconfdir
="$ac_optarg" ;;
347 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
349 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
350 target
="$ac_optarg" ;;
352 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
355 -version |
--version |
--versio |
--versi |
--vers)
356 echo "configure generated by autoconf version 2.12"
360 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
361 # Reject names that are not valid shell variable names.
362 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
363 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
365 ac_package
=`echo $ac_package| sed 's/-/_/g'`
370 eval "with_${ac_package}='$ac_optarg'" ;;
372 -without-* |
--without-*)
373 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
374 # Reject names that are not valid shell variable names.
375 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
376 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
378 ac_package
=`echo $ac_package| sed 's/-/_/g'`
379 eval "with_${ac_package}=no" ;;
382 # Obsolete; use --with-x.
385 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
386 |
--x-incl |
--x-inc |
--x-in |
--x-i)
387 ac_prev
=x_includes
;;
388 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
389 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
390 x_includes
="$ac_optarg" ;;
392 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
393 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
394 ac_prev
=x_libraries
;;
395 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
396 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
397 x_libraries
="$ac_optarg" ;;
399 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
403 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
404 echo "configure: warning: $ac_option: invalid host type" 1>&2
406 if test "x$nonopt" != xNONE
; then
407 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
415 if test -n "$ac_prev"; then
416 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
419 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
421 # File descriptor usage:
424 # 2 errors and warnings
425 # 3 some systems may open it to /dev/tty
426 # 4 used on the Kubota Titan
427 # 6 checking for... messages and results
428 # 5 compiler messages saved in config.log
429 if test "$silent" = yes; then
437 This file contains any messages produced by compilers while
438 running configure, to aid debugging if configure makes a mistake.
441 # Strip out --no-create and --no-recursion so they do not pile up.
442 # Also quote any args containing shell metacharacters.
447 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
448 |
--no-cr |
--no-c) ;;
449 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
450 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
451 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
452 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
453 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
458 # Only set these to C if already set. These must not be set unconditionally
459 # because not all systems understand e.g. LANG=C (notably SCO).
460 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
461 # Non-C LC_CTYPE values break the ctype check.
462 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
463 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
464 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
465 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
467 # confdefs.h avoids OS command line length limits that DEFS can exceed.
468 rm -rf conftest
* confdefs.h
469 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
472 # A filename unique to this package, relative to the directory that
473 # configure is in, which we can look for to find out if srcdir is correct.
474 ac_unique_file
=Makefile.
in
476 # Find the source files, if location was not specified.
477 if test -z "$srcdir"; then
478 ac_srcdir_defaulted
=yes
479 # Try the directory containing this script, then its parent.
481 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
482 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
484 if test ! -r $srcdir/$ac_unique_file; then
488 ac_srcdir_defaulted
=no
490 if test ! -r $srcdir/$ac_unique_file; then
491 if test "$ac_srcdir_defaulted" = yes; then
492 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
494 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
497 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
499 # Prefer explicitly selected file to automatically selected ones.
500 if test -z "$CONFIG_SITE"; then
501 if test "x$prefix" != xNONE
; then
502 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
504 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
507 for ac_site_file
in $CONFIG_SITE; do
508 if test -r "$ac_site_file"; then
509 echo "loading site script $ac_site_file"
514 if test -r "$cache_file"; then
515 echo "loading cache $cache_file"
518 echo "creating cache $cache_file"
523 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
524 ac_cpp
='$CPP $CPPFLAGS'
525 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
526 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
527 cross_compiling
=$ac_cv_prog_cc_cross
529 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
530 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
531 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
538 ac_n
= ac_c
='\c' ac_t
=
542 .
$srcdir/GUILE-VERSION
544 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
545 if test -f $ac_dir/install-sh
; then
547 ac_install_sh
="$ac_aux_dir/install-sh -c"
549 elif test -f $ac_dir/install.sh
; then
551 ac_install_sh
="$ac_aux_dir/install.sh -c"
555 if test -z "$ac_aux_dir"; then
556 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
558 ac_config_guess
=$ac_aux_dir/config.guess
559 ac_config_sub
=$ac_aux_dir/config.sub
560 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
562 # Find a good install program. We prefer a C program (faster),
563 # so one script is as good as another. But avoid the broken or
564 # incompatible versions:
565 # SysV /etc/install, /usr/sbin/install
566 # SunOS /usr/etc/install
569 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
570 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
571 # ./install, which can be erroneously created by make from ./install.sh.
572 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
573 echo "configure:574: checking for a BSD compatible install" >&5
574 if test -z "$INSTALL"; then
575 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
576 echo $ac_n "(cached) $ac_c" 1>&6
578 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
579 for ac_dir
in $PATH; do
580 # Account for people who put trailing slashes in PATH elements.
582 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
584 # OSF1 and SCO ODT 3.0 have their own names for install.
585 for ac_prog
in ginstall installbsd scoinst
install; do
586 if test -f $ac_dir/$ac_prog; then
587 if test $ac_prog = install &&
588 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
589 # AIX install. It has an incompatible calling convention.
590 # OSF/1 installbsd also uses dspmsg, but is usable.
593 ac_cv_path_install
="$ac_dir/$ac_prog -c"
604 if test "${ac_cv_path_install+set}" = set; then
605 INSTALL
="$ac_cv_path_install"
607 # As a last resort, use the slow shell script. We don't cache a
608 # path for INSTALL within a source directory, because that will
609 # break other packages using the cache if that directory is
610 # removed, or if the path is relative.
611 INSTALL
="$ac_install_sh"
614 echo "$ac_t""$INSTALL" 1>&6
616 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
617 # It thinks the first close brace ends the variable substitution.
618 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
620 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
623 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
625 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
626 echo "configure:627: checking whether build environment is sane" >&5
629 echo timestamp
> conftestfile
630 # Do `set' in a subshell so we don't clobber the current shell's
631 # arguments. Must try -L first in case configure is actually a
632 # symlink; some systems play weird games with the mod time of symlinks
633 # (eg FreeBSD returns the mod time of the symlink's containing
636 set X
`ls -Lt $srcdir/configure conftestfile 2> /dev/null`
637 if test "$*" = "X"; then
639 set X
`ls -t $srcdir/configure conftestfile`
641 if test "$*" != "X $srcdir/configure conftestfile" \
642 && test "$*" != "X conftestfile $srcdir/configure"; then
644 # If neither matched, then we have a broken ls. This can happen
645 # if, for instance, CONFIG_SHELL is bash and it inherits a
646 # broken ls alias from the environment. This has actually
647 # happened. Such a system could not be considered "sane".
648 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
649 alias in your environment" 1>&2; exit 1; }
652 test "$2" = conftestfile
658 { echo "configure: error: newly created file is older than distributed files!
659 Check your system clock" 1>&2; exit 1; }
662 echo "$ac_t""yes" 1>&6
663 if test "$program_transform_name" = s
,x
,x
,; then
664 program_transform_name
=
666 # Double any \ or $. echo might interpret backslashes.
667 cat <<\EOF_SED
> conftestsed
668 s
,\\,\\\\,g
; s
,\$
,$$
,g
670 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
673 test "$program_prefix" != NONE
&&
674 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
675 # Use a double $ so make ignores it.
676 test "$program_suffix" != NONE
&&
677 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
679 # sed with no file args requires a program.
680 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
682 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
683 echo "configure:684: checking whether ${MAKE-make} sets \${MAKE}" >&5
684 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
685 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
686 echo $ac_n "(cached) $ac_c" 1>&6
688 cat > conftestmake
<<\EOF
690 @
echo 'ac_maketemp="${MAKE}"'
692 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
693 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
694 if test -n "$ac_maketemp"; then
695 eval ac_cv_prog_make_
${ac_make}_set
=yes
697 eval ac_cv_prog_make_
${ac_make}_set
=no
701 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
702 echo "$ac_t""yes" 1>&6
705 echo "$ac_t""no" 1>&6
706 SET_MAKE
="MAKE=${MAKE-make}"
714 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status
; then
715 { echo "configure: error: source directory already configured; run "make distclean
" there first" 1>&2; exit 1; }
720 missing_dir
=`cd $ac_aux_dir && pwd`
721 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
722 echo "configure:723: checking for working aclocal" >&5
723 # Run test in a subshell; some versions of sh will print an error if
724 # an executable is not found, even if stderr is redirected.
725 # Redirect stdin to placate older versions of autoconf. Sigh.
726 if (aclocal
--version) < /dev
/null
> /dev
/null
2>&1; then
728 echo "$ac_t""found" 1>&6
730 ACLOCAL
="$missing_dir/missing aclocal"
731 echo "$ac_t""missing" 1>&6
734 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
735 echo "configure:736: checking for working autoconf" >&5
736 # Run test in a subshell; some versions of sh will print an error if
737 # an executable is not found, even if stderr is redirected.
738 # Redirect stdin to placate older versions of autoconf. Sigh.
739 if (autoconf
--version) < /dev
/null
> /dev
/null
2>&1; then
741 echo "$ac_t""found" 1>&6
743 AUTOCONF
="$missing_dir/missing autoconf"
744 echo "$ac_t""missing" 1>&6
747 echo $ac_n "checking for working automake""... $ac_c" 1>&6
748 echo "configure:749: checking for working automake" >&5
749 # Run test in a subshell; some versions of sh will print an error if
750 # an executable is not found, even if stderr is redirected.
751 # Redirect stdin to placate older versions of autoconf. Sigh.
752 if (automake
--version) < /dev
/null
> /dev
/null
2>&1; then
754 echo "$ac_t""found" 1>&6
756 AUTOMAKE
="$missing_dir/missing automake"
757 echo "$ac_t""missing" 1>&6
760 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
761 echo "configure:762: checking for working autoheader" >&5
762 # Run test in a subshell; some versions of sh will print an error if
763 # an executable is not found, even if stderr is redirected.
764 # Redirect stdin to placate older versions of autoconf. Sigh.
765 if (autoheader
--version) < /dev
/null
> /dev
/null
2>&1; then
766 AUTOHEADER
=autoheader
767 echo "$ac_t""found" 1>&6
769 AUTOHEADER
="$missing_dir/missing autoheader"
770 echo "$ac_t""missing" 1>&6
773 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
774 echo "configure:775: checking for working makeinfo" >&5
775 # Run test in a subshell; some versions of sh will print an error if
776 # an executable is not found, even if stderr is redirected.
777 # Redirect stdin to placate older versions of autoconf. Sigh.
778 if (makeinfo
--version) < /dev
/null
> /dev
/null
2>&1; then
780 echo "$ac_t""found" 1>&6
782 MAKEINFO
="$missing_dir/missing makeinfo"
783 echo "$ac_t""missing" 1>&6
787 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
788 echo "configure:789: checking whether to enable maintainer-specific portions of Makefiles" >&5
789 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
790 if test "${enable_maintainer_mode+set}" = set; then
791 enableval
="$enable_maintainer_mode"
792 USE_MAINTAINER_MODE
=$enableval
794 USE_MAINTAINER_MODE
=no
797 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
798 if test $USE_MAINTAINER_MODE = yes; then
809 #--------------------------------------------------------------------
813 #--------------------------------------------------------------------
815 # Check whether --enable-debug or --disable-debug was given.
816 if test "${enable_debug+set}" = set; then
817 enableval
="$enable_debug"
821 if test "$enableval" != n
&& test "$enableval" != no
; then
822 cat >> confdefs.h
<<\EOF
823 #define DEBUG_EXTENSIONS 1
826 cat >> confdefs.h
<<\EOF
827 #define READER_EXTENSIONS 1
830 LIBOBJS
="backtrace.o stacks.o debug.o srcprop.o $LIBOBJS"
833 # Check whether --enable-dynamic-linking or --disable-dynamic-linking was given.
834 if test "${enable_dynamic_linking+set}" = set; then
835 enableval
="$enable_dynamic_linking"
838 enable_dynamic_linking
=yes
842 # Check whether --enable-guile-debug or --disable-guile-debug was given.
843 if test "${enable_guile_debug+set}" = set; then
844 enableval
="$enable_guile_debug"
848 if test "$enableval" = y ||
test "$enableval" = yes; then
849 cat >> confdefs.h
<<\EOF
850 #define GUILE_DEBUG 1
855 #--------------------------------------------------------------------
857 # Extract the first word of "gcc", so it can be a program name with args.
858 set dummy gcc
; ac_word
=$2
859 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
860 echo "configure:861: checking for $ac_word" >&5
861 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
862 echo $ac_n "(cached) $ac_c" 1>&6
864 if test -n "$CC"; then
865 ac_cv_prog_CC
="$CC" # Let the user override the test.
867 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
868 for ac_dir
in $PATH; do
869 test -z "$ac_dir" && ac_dir
=.
870 if test -f $ac_dir/$ac_word; then
879 if test -n "$CC"; then
880 echo "$ac_t""$CC" 1>&6
882 echo "$ac_t""no" 1>&6
885 if test -z "$CC"; then
886 # Extract the first word of "cc", so it can be a program name with args.
887 set dummy cc
; ac_word
=$2
888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
889 echo "configure:890: checking for $ac_word" >&5
890 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
891 echo $ac_n "(cached) $ac_c" 1>&6
893 if test -n "$CC"; then
894 ac_cv_prog_CC
="$CC" # Let the user override the test.
896 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
898 for ac_dir
in $PATH; 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 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
936 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
937 echo "configure:938: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
940 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
941 ac_cpp
='$CPP $CPPFLAGS'
942 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
943 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
944 cross_compiling
=$ac_cv_prog_cc_cross
946 cat > conftest.
$ac_ext <<EOF
947 #line 948 "configure"
948 #include "confdefs.h"
951 if { (eval echo configure
:952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
952 ac_cv_prog_cc_works
=yes
953 # If we can't run a trivial program, we are probably using a cross compiler.
954 if (.
/conftest
; exit) 2>/dev
/null
; then
955 ac_cv_prog_cc_cross
=no
957 ac_cv_prog_cc_cross
=yes
960 echo "configure: failed program was:" >&5
961 cat conftest.
$ac_ext >&5
962 ac_cv_prog_cc_works
=no
966 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
967 if test $ac_cv_prog_cc_works = no
; then
968 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
970 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
971 echo "configure:972: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
972 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
973 cross_compiling
=$ac_cv_prog_cc_cross
975 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
976 echo "configure:977: checking whether we are using GNU C" >&5
977 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
978 echo $ac_n "(cached) $ac_c" 1>&6
980 cat > conftest.c
<<EOF
985 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:986: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
992 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
994 if test $ac_cv_prog_gcc = yes; then
996 ac_test_CFLAGS
="${CFLAGS+set}"
997 ac_save_CFLAGS
="$CFLAGS"
999 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1000 echo "configure:1001: checking whether ${CC-cc} accepts -g" >&5
1001 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1002 echo $ac_n "(cached) $ac_c" 1>&6
1004 echo 'void f(){}' > conftest.c
1005 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1014 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1015 if test "$ac_test_CFLAGS" = set; then
1016 CFLAGS
="$ac_save_CFLAGS"
1017 elif test $ac_cv_prog_cc_g = yes; then
1024 test "${CFLAGS+set}" = set || CFLAGS
="-g"
1027 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1028 echo "configure:1029: checking how to run the C preprocessor" >&5
1029 # On Suns, sometimes $CPP names a directory.
1030 if test -n "$CPP" && test -d "$CPP"; then
1033 if test -z "$CPP"; then
1034 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1035 echo $ac_n "(cached) $ac_c" 1>&6
1037 # This must be in double quotes, not single quotes, because CPP may get
1038 # substituted into the Makefile and "${CC-cc}" will confuse make.
1040 # On the NeXT, cc -E runs the code through the compiler's parser,
1041 # not just through cpp.
1042 cat > conftest.
$ac_ext <<EOF
1043 #line 1044 "configure"
1044 #include "confdefs.h"
1048 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1049 { (eval echo configure
:1050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1050 ac_err
=`grep -v '^ *+' conftest.out`
1051 if test -z "$ac_err"; then
1055 echo "configure: failed program was:" >&5
1056 cat conftest.
$ac_ext >&5
1058 CPP
="${CC-cc} -E -traditional-cpp"
1059 cat > conftest.
$ac_ext <<EOF
1060 #line 1061 "configure"
1061 #include "confdefs.h"
1065 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1066 { (eval echo configure
:1067: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1067 ac_err
=`grep -v '^ *+' conftest.out`
1068 if test -z "$ac_err"; then
1072 echo "configure: failed program was:" >&5
1073 cat conftest.
$ac_ext >&5
1080 ac_cv_prog_CPP
="$CPP"
1082 CPP
="$ac_cv_prog_CPP"
1084 ac_cv_prog_CPP
="$CPP"
1086 echo "$ac_t""$CPP" 1>&6
1088 # Check whether --enable-shared or --disable-shared was given.
1089 if test "${enable_shared+set}" = set; then
1090 enableval
="$enable_shared"
1091 p
=${PACKAGE-default}
1092 case "$enableval" in
1093 yes) enable_shared
=yes ;;
1094 no
) enable_shared
=no
;;
1097 # Look at the argument we got. We use all the common list separators.
1098 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1099 for pkg
in $enableval; do
1100 if test "X$pkg" = "X$p"; then
1111 # Check whether --enable-static or --disable-static was given.
1112 if test "${enable_static+set}" = set; then
1113 enableval
="$enable_static"
1114 p
=${PACKAGE-default}
1115 case "$enableval" in
1116 yes) enable_static
=yes ;;
1117 no
) enable_static
=no
;;
1120 # Look at the argument we got. We use all the common list separators.
1121 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:,"
1122 for pkg
in $enableval; do
1123 if test "X$pkg" = "X$p"; then
1135 # Make sure we can run config.sub.
1136 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
1137 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1140 echo $ac_n "checking host system type""... $ac_c" 1>&6
1141 echo "configure:1142: checking host system type" >&5
1144 case "$host_alias" in
1148 if host_alias
=`$ac_config_guess`; then :
1149 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1151 *) host_alias
=$nonopt ;;
1155 host=`$ac_config_sub $host_alias`
1156 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1157 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1158 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1159 echo "$ac_t""$host" 1>&6
1161 # Extract the first word of "ranlib", so it can be a program name with args.
1162 set dummy ranlib
; ac_word
=$2
1163 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1164 echo "configure:1165: checking for $ac_word" >&5
1165 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1166 echo $ac_n "(cached) $ac_c" 1>&6
1168 if test -n "$RANLIB"; then
1169 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1171 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1172 for ac_dir
in $PATH; do
1173 test -z "$ac_dir" && ac_dir
=.
1174 if test -f $ac_dir/$ac_word; then
1175 ac_cv_prog_RANLIB
="ranlib"
1180 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1183 RANLIB
="$ac_cv_prog_RANLIB"
1184 if test -n "$RANLIB"; then
1185 echo "$ac_t""$RANLIB" 1>&6
1187 echo "$ac_t""no" 1>&6
1190 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1191 if test "${with_gnu_ld+set}" = set; then
1192 withval
="$with_gnu_ld"
1193 test "$withval" = no || with_gnu_ld
=yes
1200 if test "$ac_cv_prog_gcc" = yes; then
1201 # Check if gcc -print-prog-name=ld gives a path.
1202 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1203 echo "configure:1204: checking for ld used by GCC" >&5
1204 ac_prog
=`($CC -print-prog-name=ld) 2>&5`
1206 # Accept absolute paths.
1208 test -z "$LD" && LD
="$ac_prog"
1211 # If it fails, then pretend we aren't using GCC.
1215 # If it is relative, then search for the first ld in PATH.
1219 elif test "$with_gnu_ld" = yes; then
1220 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1221 echo "configure:1222: checking for GNU ld" >&5
1223 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1224 echo "configure:1225: checking for non-GNU ld" >&5
1226 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1227 echo $ac_n "(cached) $ac_c" 1>&6
1229 if test -z "$LD"; then
1230 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1231 for ac_dir
in $PATH; do
1232 test -z "$ac_dir" && ac_dir
=.
1233 if test -f "$ac_dir/$ac_prog"; then
1234 ac_cv_path_LD
="$ac_dir/$ac_prog"
1235 # Check to see if the program is GNU ld. I'd rather use --version,
1236 # but apparently some GNU ld's only accept -v.
1237 # Break only if it was the GNU/non-GNU ld that we prefer.
1238 if "$ac_cv_path_LD" -v 2>&1 < /dev
/null |
egrep '(GNU|with BFD)' > /dev
/null
; then
1239 test "$with_gnu_ld" != no
&& break
1241 test "$with_gnu_ld" != yes && break
1247 ac_cv_path_LD
="$LD" # Let the user override the test with a path.
1252 if test -n "$LD"; then
1253 echo "$ac_t""$LD" 1>&6
1255 echo "$ac_t""no" 1>&6
1257 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1259 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1260 echo "configure:1261: checking if the linker ($LD) is GNU ld" >&5
1261 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1262 echo $ac_n "(cached) $ac_c" 1>&6
1264 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1265 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
1266 ac_cv_prog_gnu_ld
=yes
1268 ac_cv_prog_gnu_ld
=no
1272 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1275 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1276 echo "configure:1277: checking for BSD-compatible nm" >&5
1277 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1278 echo $ac_n "(cached) $ac_c" 1>&6
1282 ac_cv_path_NM
="$NM" # Let the user override the test with a path.
1285 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1286 for ac_dir
in /usr
/ucb
/usr
/ccs
/bin
$PATH /bin
; do
1287 test -z "$ac_dir" && ac_dir
=.
1288 if test -f $ac_dir/nm
; then
1289 # Check to see if the nm accepts a BSD-compat flag.
1290 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1291 # nm: unknown option "B" ignored
1292 if ($ac_dir/nm
-B /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1293 ac_cv_path_NM
="$ac_dir/nm -B"
1294 elif ($ac_dir/nm
-p /dev
/null
2>&1 |
sed '1q'; exit 0) |
egrep /dev
/null
>/dev
/null
; then
1295 ac_cv_path_NM
="$ac_dir/nm -p"
1297 ac_cv_path_NM
="$ac_dir/nm"
1303 test -z "$ac_cv_path_NM" && ac_cv_path_NM
=nm
1309 echo "$ac_t""$NM" 1>&6
1312 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1313 echo "configure:1314: checking whether ln -s works" >&5
1314 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1315 echo $ac_n "(cached) $ac_c" 1>&6
1318 if ln -s X conftestdata
2>/dev
/null
1321 ac_cv_prog_LN_S
="ln -s"
1326 LN_S
="$ac_cv_prog_LN_S"
1327 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1328 echo "$ac_t""yes" 1>&6
1330 echo "$ac_t""no" 1>&6
1333 # Always use our own libtool.
1334 LIBTOOL
='$(SHELL) $(top_builddir)/libtool'
1336 # Check for any special flags to pass to ltconfig.
1338 test "$enable_shared" = no
&& libtool_flags
="$libtool_flags --disable-shared"
1339 test "$enable_static" = no
&& libtool_flags
="$libtool_flags --disable-static"
1340 test "$silent" = yes && libtool_flags
="$libtool_flags --silent"
1341 test "$ac_cv_prog_gcc" = yes && libtool_flags
="$libtool_flags --with-gcc"
1342 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags
="$libtool_flags --with-gnu-ld"
1344 # Some flags need to be propagated to the compiler or linker for good
1348 # Find out which ABI we are using.
1349 echo '#line 1350 "configure"' > conftest.
$ac_ext
1350 if { (eval echo configure
:1351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1351 case "`/usr/bin/file conftest.o`" in
1367 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1368 CFLAGS
="$CFLAGS -belf"
1372 # Actually configure libtool. ac_aux_dir is where install-sh is found.
1373 CC
="$CC" CFLAGS
="$CFLAGS" CPPFLAGS
="$CPPFLAGS" \
1374 LD
="$LD" NM
="$NM" RANLIB
="$RANLIB" LN_S
="$LN_S" \
1375 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig \
1376 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh
$host \
1377 ||
{ echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1380 echo $ac_n "checking for AIX""... $ac_c" 1>&6
1381 echo "configure:1382: checking for AIX" >&5
1382 cat > conftest.
$ac_ext <<EOF
1383 #line 1384 "configure"
1384 #include "confdefs.h"
1390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1391 egrep "yes" >/dev
/null
2>&1; then
1393 echo "$ac_t""yes" 1>&6; cat >> confdefs.h
<<\EOF
1394 #define _ALL_SOURCE 1
1399 echo "$ac_t""no" 1>&6
1404 echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
1405 echo "configure:1406: checking for POSIXized ISC" >&5
1406 if test -d /etc
/conf
/kconfig.d
&&
1407 grep _POSIX_VERSION
/usr
/include
/sys
/unistd.h
>/dev
/null
2>&1
1409 echo "$ac_t""yes" 1>&6
1410 ISC
=yes # If later tests want to check for ISC.
1411 cat >> confdefs.h
<<\EOF
1412 #define _POSIX_SOURCE 1
1415 if test "$GCC" = yes; then
1421 echo "$ac_t""no" 1>&6
1425 ac_safe
=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
1426 echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
1427 echo "configure:1428: checking for minix/config.h" >&5
1428 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1429 echo $ac_n "(cached) $ac_c" 1>&6
1431 cat > conftest.
$ac_ext <<EOF
1432 #line 1433 "configure"
1433 #include "confdefs.h"
1434 #include <minix/config.h>
1436 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1437 { (eval echo configure
:1438: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1438 ac_err
=`grep -v '^ *+' conftest.out`
1439 if test -z "$ac_err"; then
1441 eval "ac_cv_header_$ac_safe=yes"
1444 echo "configure: failed program was:" >&5
1445 cat conftest.
$ac_ext >&5
1447 eval "ac_cv_header_$ac_safe=no"
1451 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1452 echo "$ac_t""yes" 1>&6
1455 echo "$ac_t""no" 1>&6
1459 if test "$MINIX" = yes; then
1460 cat >> confdefs.h
<<\EOF
1461 #define _POSIX_SOURCE 1
1464 cat >> confdefs.h
<<\EOF
1465 #define _POSIX_1_SOURCE 2
1468 cat >> confdefs.h
<<\EOF
1475 echo $ac_n "checking for working const""... $ac_c" 1>&6
1476 echo "configure:1477: checking for working const" >&5
1477 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1478 echo $ac_n "(cached) $ac_c" 1>&6
1480 cat > conftest.
$ac_ext <<EOF
1481 #line 1482 "configure"
1482 #include "confdefs.h"
1486 /* Ultrix mips cc rejects this. */
1487 typedef int charset[2]; const charset x;
1488 /* SunOS 4.1.1 cc rejects this. */
1489 char const *const *ccp;
1491 /* NEC SVR4.0.2 mips cc rejects this. */
1492 struct point {int x, y;};
1493 static struct point const zero = {0,0};
1494 /* AIX XL C 1.02.0.0 rejects this.
1495 It does not let you subtract one const X* pointer from another in an arm
1496 of an if-expression whose if-part is not a constant expression */
1497 const char *g = "string";
1498 ccp = &g + (g ? g-g : 0);
1499 /* HPUX 7.0 cc rejects these. */
1502 ccp = (char const *const *) p;
1503 { /* SCO 3.2v4 cc rejects this. */
1505 char const *s = 0 ? (char *) 0 : (char const *) 0;
1509 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1511 const int *foo = &x[0];
1514 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1515 typedef const int *iptr;
1519 { /* AIX XL C 1.02.0.0 rejects this saying
1520 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1521 struct s { int j; const int *ap[3]; };
1522 struct s *b; b->j = 5;
1524 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1530 if { (eval echo configure
:1531: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1534 echo "configure: failed program was:" >&5
1535 cat conftest.
$ac_ext >&5
1542 echo "$ac_t""$ac_cv_c_const" 1>&6
1543 if test $ac_cv_c_const = no
; then
1544 cat >> confdefs.h
<<\EOF
1551 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1552 echo "configure:1553: checking for ANSI C header files" >&5
1553 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1554 echo $ac_n "(cached) $ac_c" 1>&6
1556 cat > conftest.
$ac_ext <<EOF
1557 #line 1558 "configure"
1558 #include "confdefs.h"
1564 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1565 { (eval echo configure
:1566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1566 ac_err
=`grep -v '^ *+' conftest.out`
1567 if test -z "$ac_err"; then
1569 ac_cv_header_stdc
=yes
1572 echo "configure: failed program was:" >&5
1573 cat conftest.
$ac_ext >&5
1575 ac_cv_header_stdc
=no
1579 if test $ac_cv_header_stdc = yes; then
1580 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1581 cat > conftest.
$ac_ext <<EOF
1582 #line 1583 "configure"
1583 #include "confdefs.h"
1586 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1587 egrep "memchr" >/dev
/null
2>&1; then
1591 ac_cv_header_stdc
=no
1597 if test $ac_cv_header_stdc = yes; then
1598 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1599 cat > conftest.
$ac_ext <<EOF
1600 #line 1601 "configure"
1601 #include "confdefs.h"
1604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1605 egrep "free" >/dev
/null
2>&1; then
1609 ac_cv_header_stdc
=no
1615 if test $ac_cv_header_stdc = yes; then
1616 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1617 if test "$cross_compiling" = yes; then
1620 cat > conftest.
$ac_ext <<EOF
1621 #line 1622 "configure"
1622 #include "confdefs.h"
1624 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1625 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1626 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1627 int main () { int i; for (i = 0; i < 256; i++)
1628 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1632 if { (eval echo configure
:1633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
1636 echo "configure: failed program was:" >&5
1637 cat conftest.
$ac_ext >&5
1639 ac_cv_header_stdc
=no
1647 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1648 if test $ac_cv_header_stdc = yes; then
1649 cat >> confdefs.h
<<\EOF
1650 #define STDC_HEADERS 1
1656 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
1658 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1659 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
1660 echo "configure:1661: checking for $ac_hdr that defines DIR" >&5
1661 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
1662 echo $ac_n "(cached) $ac_c" 1>&6
1664 cat > conftest.
$ac_ext <<EOF
1665 #line 1666 "configure"
1666 #include "confdefs.h"
1667 #include <sys/types.h>
1673 if { (eval echo configure
:1674: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1675 eval "ac_cv_header_dirent_$ac_safe=yes"
1677 echo "configure: failed program was:" >&5
1678 cat conftest.
$ac_ext >&5
1680 eval "ac_cv_header_dirent_$ac_safe=no"
1684 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
1685 echo "$ac_t""yes" 1>&6
1686 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1687 cat >> confdefs.h
<<EOF
1688 #define $ac_tr_hdr 1
1690 ac_header_dirent
=$ac_hdr; break
1692 echo "$ac_t""no" 1>&6
1695 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
1696 if test $ac_header_dirent = dirent.h
; then
1697 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
1698 echo "configure:1699: checking for opendir in -ldir" >&5
1699 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
1700 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1701 echo $ac_n "(cached) $ac_c" 1>&6
1703 ac_save_LIBS
="$LIBS"
1705 cat > conftest.
$ac_ext <<EOF
1706 #line 1707 "configure"
1707 #include "confdefs.h"
1708 /* Override any gcc2 internal prototype to avoid an error. */
1709 /* We use char because int might match the return type of a gcc2
1710 builtin and then its argument prototype would still apply. */
1717 if { (eval echo configure
:1718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1719 eval "ac_cv_lib_$ac_lib_var=yes"
1721 echo "configure: failed program was:" >&5
1722 cat conftest.
$ac_ext >&5
1724 eval "ac_cv_lib_$ac_lib_var=no"
1727 LIBS
="$ac_save_LIBS"
1730 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1731 echo "$ac_t""yes" 1>&6
1734 echo "$ac_t""no" 1>&6
1738 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
1739 echo "configure:1740: checking for opendir in -lx" >&5
1740 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
1741 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1742 echo $ac_n "(cached) $ac_c" 1>&6
1744 ac_save_LIBS
="$LIBS"
1746 cat > conftest.
$ac_ext <<EOF
1747 #line 1748 "configure"
1748 #include "confdefs.h"
1749 /* Override any gcc2 internal prototype to avoid an error. */
1750 /* We use char because int might match the return type of a gcc2
1751 builtin and then its argument prototype would still apply. */
1758 if { (eval echo configure
:1759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1760 eval "ac_cv_lib_$ac_lib_var=yes"
1762 echo "configure: failed program was:" >&5
1763 cat conftest.
$ac_ext >&5
1765 eval "ac_cv_lib_$ac_lib_var=no"
1768 LIBS
="$ac_save_LIBS"
1771 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1772 echo "$ac_t""yes" 1>&6
1775 echo "$ac_t""no" 1>&6
1780 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
1781 echo "configure:1782: checking whether time.h and sys/time.h may both be included" >&5
1782 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
1783 echo $ac_n "(cached) $ac_c" 1>&6
1785 cat > conftest.
$ac_ext <<EOF
1786 #line 1787 "configure"
1787 #include "confdefs.h"
1788 #include <sys/types.h>
1789 #include <sys/time.h>
1795 if { (eval echo configure
:1796: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1797 ac_cv_header_time
=yes
1799 echo "configure: failed program was:" >&5
1800 cat conftest.
$ac_ext >&5
1802 ac_cv_header_time
=no
1807 echo "$ac_t""$ac_cv_header_time" 1>&6
1808 if test $ac_cv_header_time = yes; then
1809 cat >> confdefs.h
<<\EOF
1810 #define TIME_WITH_SYS_TIME 1
1815 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
1816 echo "configure:1817: checking for sys/wait.h that is POSIX.1 compatible" >&5
1817 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
1818 echo $ac_n "(cached) $ac_c" 1>&6
1820 cat > conftest.
$ac_ext <<EOF
1821 #line 1822 "configure"
1822 #include "confdefs.h"
1823 #include <sys/types.h>
1824 #include <sys/wait.h>
1826 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
1829 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
1834 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
1837 if { (eval echo configure
:1838: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1839 ac_cv_header_sys_wait_h
=yes
1841 echo "configure: failed program was:" >&5
1842 cat conftest.
$ac_ext >&5
1844 ac_cv_header_sys_wait_h
=no
1849 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
1850 if test $ac_cv_header_sys_wait_h = yes; then
1851 cat >> confdefs.h
<<\EOF
1852 #define HAVE_SYS_WAIT_H 1
1857 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
1859 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1860 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1861 echo "configure:1862: checking for $ac_hdr" >&5
1862 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1863 echo $ac_n "(cached) $ac_c" 1>&6
1865 cat > conftest.
$ac_ext <<EOF
1866 #line 1867 "configure"
1867 #include "confdefs.h"
1870 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1871 { (eval echo configure
:1872: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1872 ac_err
=`grep -v '^ *+' conftest.out`
1873 if test -z "$ac_err"; then
1875 eval "ac_cv_header_$ac_safe=yes"
1878 echo "configure: failed program was:" >&5
1879 cat conftest.
$ac_ext >&5
1881 eval "ac_cv_header_$ac_safe=no"
1885 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1886 echo "$ac_t""yes" 1>&6
1887 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1888 cat >> confdefs.h
<<EOF
1889 #define $ac_tr_hdr 1
1893 echo "$ac_t""no" 1>&6
1898 for ac_hdr
in libc.h unistd.h
1900 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
1901 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1902 echo "configure:1903: checking for $ac_hdr" >&5
1903 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1904 echo $ac_n "(cached) $ac_c" 1>&6
1906 cat > conftest.
$ac_ext <<EOF
1907 #line 1908 "configure"
1908 #include "confdefs.h"
1911 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1912 { (eval echo configure
:1913: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1913 ac_err
=`grep -v '^ *+' conftest.out`
1914 if test -z "$ac_err"; then
1916 eval "ac_cv_header_$ac_safe=yes"
1919 echo "configure: failed program was:" >&5
1920 cat conftest.
$ac_ext >&5
1922 eval "ac_cv_header_$ac_safe=no"
1926 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1927 echo "$ac_t""yes" 1>&6
1928 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
1929 cat >> confdefs.h
<<EOF
1930 #define $ac_tr_hdr 1
1934 echo "$ac_t""no" 1>&6
1938 echo $ac_n "checking "whether libc.h and unistd.h can be included together
"""... $ac_c" 1>&6
1939 echo "configure:1940: checking "whether libc.h and unistd.h can be included together
"" >&5
1940 if eval "test \"`echo '$''{'guile_cv_header_libc_with_unistd'+set}'`\" = set"; then
1941 echo $ac_n "(cached) $ac_c" 1>&6
1944 if test "$ac_cv_header_libc_h" = "no"; then
1945 guile_cv_header_libc_with_unistd
="no"
1946 elif test "$ac_cv_header_unistd.h" = "no"; then
1947 guile_cv_header_libc_with_unistd
="yes"
1949 cat > conftest.
$ac_ext <<EOF
1950 #line 1951 "configure"
1951 #include "confdefs.h"
1954 # include <unistd.h>
1960 if { (eval echo configure
:1961: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1962 guile_cv_header_libc_with_unistd
=yes
1964 echo "configure: failed program was:" >&5
1965 cat conftest.
$ac_ext >&5
1967 guile_cv_header_libc_with_unistd
=no
1976 echo "$ac_t""$guile_cv_header_libc_with_unistd" 1>&6
1977 if test "$guile_cv_header_libc_with_unistd" = yes; then
1978 cat >> confdefs.h
<<\EOF
1979 #define LIBC_H_WITH_UNISTD_H 1
1986 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
1987 echo "configure:1988: checking for uid_t in sys/types.h" >&5
1988 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
1989 echo $ac_n "(cached) $ac_c" 1>&6
1991 cat > conftest.
$ac_ext <<EOF
1992 #line 1993 "configure"
1993 #include "confdefs.h"
1994 #include <sys/types.h>
1996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1997 egrep "uid_t" >/dev
/null
2>&1; then
1999 ac_cv_type_uid_t
=yes
2008 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2009 if test $ac_cv_type_uid_t = no
; then
2010 cat >> confdefs.h
<<\EOF
2014 cat >> confdefs.h
<<\EOF
2020 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2021 echo "configure:2022: checking type of array argument to getgroups" >&5
2022 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2023 echo $ac_n "(cached) $ac_c" 1>&6
2025 if test "$cross_compiling" = yes; then
2026 ac_cv_type_getgroups
=cross
2028 cat > conftest.
$ac_ext <<EOF
2029 #line 2030 "configure"
2030 #include "confdefs.h"
2032 /* Thanks to Mike Rendell for this test. */
2033 #include <sys/types.h>
2036 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2041 union { gid_t gval; long lval; } val;
2044 for (i = 0; i < NGID; i++)
2045 gidset[i] = val.gval;
2046 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2048 /* Exit non-zero if getgroups seems to require an array of ints. This
2049 happens when gid_t is short but getgroups modifies an array of ints. */
2050 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2054 if { (eval echo configure
:2055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2056 ac_cv_type_getgroups
=gid_t
2058 echo "configure: failed program was:" >&5
2059 cat conftest.
$ac_ext >&5
2061 ac_cv_type_getgroups
=int
2066 if test $ac_cv_type_getgroups = cross
; then
2067 cat > conftest.
$ac_ext <<EOF
2068 #line 2069 "configure"
2069 #include "confdefs.h"
2072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2073 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2075 ac_cv_type_getgroups
=gid_t
2078 ac_cv_type_getgroups
=int
2085 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2086 cat >> confdefs.h
<<EOF
2087 #define GETGROUPS_T $ac_cv_type_getgroups
2091 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2092 echo "configure:2093: checking return type of signal handlers" >&5
2093 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2094 echo $ac_n "(cached) $ac_c" 1>&6
2096 cat > conftest.
$ac_ext <<EOF
2097 #line 2098 "configure"
2098 #include "confdefs.h"
2099 #include <sys/types.h>
2105 extern "C" void (*signal (int, void (*)(int)))(int);
2107 void (*signal ()) ();
2114 if { (eval echo configure
:2115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2116 ac_cv_type_signal
=void
2118 echo "configure: failed program was:" >&5
2119 cat conftest.
$ac_ext >&5
2121 ac_cv_type_signal
=int
2126 echo "$ac_t""$ac_cv_type_signal" 1>&6
2127 cat >> confdefs.h
<<EOF
2128 #define RETSIGTYPE $ac_cv_type_signal
2132 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2133 echo "configure:2134: checking for mode_t" >&5
2134 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2135 echo $ac_n "(cached) $ac_c" 1>&6
2137 cat > conftest.
$ac_ext <<EOF
2138 #line 2139 "configure"
2139 #include "confdefs.h"
2140 #include <sys/types.h>
2146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2147 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2149 ac_cv_type_mode_t
=yes
2152 ac_cv_type_mode_t
=no
2157 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
2158 if test $ac_cv_type_mode_t = no
; then
2159 cat >> confdefs.h
<<\EOF
2166 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
2167 echo "configure:2168: checking for main in -lm" >&5
2168 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
2169 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2170 echo $ac_n "(cached) $ac_c" 1>&6
2172 ac_save_LIBS
="$LIBS"
2174 cat > conftest.
$ac_ext <<EOF
2175 #line 2176 "configure"
2176 #include "confdefs.h"
2182 if { (eval echo configure
:2183: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2184 eval "ac_cv_lib_$ac_lib_var=yes"
2186 echo "configure: failed program was:" >&5
2187 cat conftest.
$ac_ext >&5
2189 eval "ac_cv_lib_$ac_lib_var=no"
2192 LIBS
="$ac_save_LIBS"
2195 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2196 echo "$ac_t""yes" 1>&6
2197 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2198 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2199 cat >> confdefs.h
<<EOF
2200 #define $ac_tr_lib 1
2206 echo "$ac_t""no" 1>&6
2209 for ac_func
in gethostbyname
2211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2212 echo "configure:2213: checking for $ac_func" >&5
2213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2214 echo $ac_n "(cached) $ac_c" 1>&6
2216 cat > conftest.
$ac_ext <<EOF
2217 #line 2218 "configure"
2218 #include "confdefs.h"
2219 /* System header to define __stub macros and hopefully few prototypes,
2220 which can conflict with char $ac_func(); below. */
2222 /* Override any gcc2 internal prototype to avoid an error. */
2223 /* We use char because int might match the return type of a gcc2
2224 builtin and then its argument prototype would still apply. */
2229 /* The GNU C library defines this for functions which it implements
2230 to always fail with ENOSYS. Some functions are actually named
2231 something starting with __ and the normal name is an alias. */
2232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2240 if { (eval echo configure
:2241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2242 eval "ac_cv_func_$ac_func=yes"
2244 echo "configure: failed program was:" >&5
2245 cat conftest.
$ac_ext >&5
2247 eval "ac_cv_func_$ac_func=no"
2252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2253 echo "$ac_t""yes" 1>&6
2254 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2255 cat >> confdefs.h
<<EOF
2256 #define $ac_tr_func 1
2260 echo "$ac_t""no" 1>&6
2264 if test $ac_cv_func_gethostbyname = no
; then
2265 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
2266 echo "configure:2267: checking for gethostbyname in -lnsl" >&5
2267 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
2268 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2269 echo $ac_n "(cached) $ac_c" 1>&6
2271 ac_save_LIBS
="$LIBS"
2273 cat > conftest.
$ac_ext <<EOF
2274 #line 2275 "configure"
2275 #include "confdefs.h"
2276 /* Override any gcc2 internal prototype to avoid an error. */
2277 /* We use char because int might match the return type of a gcc2
2278 builtin and then its argument prototype would still apply. */
2279 char gethostbyname();
2285 if { (eval echo configure
:2286: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2287 eval "ac_cv_lib_$ac_lib_var=yes"
2289 echo "configure: failed program was:" >&5
2290 cat conftest.
$ac_ext >&5
2292 eval "ac_cv_lib_$ac_lib_var=no"
2295 LIBS
="$ac_save_LIBS"
2298 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2299 echo "$ac_t""yes" 1>&6
2300 ac_tr_lib
=HAVE_LIB
`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2301 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2302 cat >> confdefs.h
<<EOF
2303 #define $ac_tr_lib 1
2309 echo "$ac_t""no" 1>&6
2313 for ac_func
in connect
2315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2316 echo "configure:2317: checking for $ac_func" >&5
2317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2318 echo $ac_n "(cached) $ac_c" 1>&6
2320 cat > conftest.
$ac_ext <<EOF
2321 #line 2322 "configure"
2322 #include "confdefs.h"
2323 /* System header to define __stub macros and hopefully few prototypes,
2324 which can conflict with char $ac_func(); below. */
2326 /* Override any gcc2 internal prototype to avoid an error. */
2327 /* We use char because int might match the return type of a gcc2
2328 builtin and then its argument prototype would still apply. */
2333 /* The GNU C library defines this for functions which it implements
2334 to always fail with ENOSYS. Some functions are actually named
2335 something starting with __ and the normal name is an alias. */
2336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2344 if { (eval echo configure
:2345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2346 eval "ac_cv_func_$ac_func=yes"
2348 echo "configure: failed program was:" >&5
2349 cat conftest.
$ac_ext >&5
2351 eval "ac_cv_func_$ac_func=no"
2356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2357 echo "$ac_t""yes" 1>&6
2358 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2359 cat >> confdefs.h
<<EOF
2360 #define $ac_tr_func 1
2364 echo "$ac_t""no" 1>&6
2368 if test $ac_cv_func_connect = no
; then
2369 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
2370 echo "configure:2371: checking for connect in -lsocket" >&5
2371 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
2372 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2373 echo $ac_n "(cached) $ac_c" 1>&6
2375 ac_save_LIBS
="$LIBS"
2376 LIBS
="-lsocket $LIBS"
2377 cat > conftest.
$ac_ext <<EOF
2378 #line 2379 "configure"
2379 #include "confdefs.h"
2380 /* Override any gcc2 internal prototype to avoid an error. */
2381 /* We use char because int might match the return type of a gcc2
2382 builtin and then its argument prototype would still apply. */
2389 if { (eval echo configure
:2390: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2391 eval "ac_cv_lib_$ac_lib_var=yes"
2393 echo "configure: failed program was:" >&5
2394 cat conftest.
$ac_ext >&5
2396 eval "ac_cv_lib_$ac_lib_var=no"
2399 LIBS
="$ac_save_LIBS"
2402 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2403 echo "$ac_t""yes" 1>&6
2404 ac_tr_lib
=HAVE_LIB
`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2405 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2406 cat >> confdefs.h
<<EOF
2407 #define $ac_tr_lib 1
2410 LIBS
="-lsocket $LIBS"
2413 echo "$ac_t""no" 1>&6
2417 echo $ac_n "checking for tgoto in -ltermcap""... $ac_c" 1>&6
2418 echo "configure:2419: checking for tgoto in -ltermcap" >&5
2419 ac_lib_var
=`echo termcap'_'tgoto | sed 'y%./+-%__p_%'`
2420 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2421 echo $ac_n "(cached) $ac_c" 1>&6
2423 ac_save_LIBS
="$LIBS"
2424 LIBS
="-ltermcap $LIBS"
2425 cat > conftest.
$ac_ext <<EOF
2426 #line 2427 "configure"
2427 #include "confdefs.h"
2428 /* Override any gcc2 internal prototype to avoid an error. */
2429 /* We use char because int might match the return type of a gcc2
2430 builtin and then its argument prototype would still apply. */
2437 if { (eval echo configure
:2438: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2439 eval "ac_cv_lib_$ac_lib_var=yes"
2441 echo "configure: failed program was:" >&5
2442 cat conftest.
$ac_ext >&5
2444 eval "ac_cv_lib_$ac_lib_var=no"
2447 LIBS
="$ac_save_LIBS"
2450 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2451 echo "$ac_t""yes" 1>&6
2452 ac_tr_lib
=HAVE_LIB
`echo termcap | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2453 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2454 cat >> confdefs.h
<<EOF
2455 #define $ac_tr_lib 1
2458 LIBS
="-ltermcap $LIBS"
2461 echo "$ac_t""no" 1>&6
2464 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
2465 echo "configure:2466: checking for readline in -lreadline" >&5
2466 ac_lib_var
=`echo readline'_'readline | sed 'y%./+-%__p_%'`
2467 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2468 echo $ac_n "(cached) $ac_c" 1>&6
2470 ac_save_LIBS
="$LIBS"
2471 LIBS
="-lreadline $LIBS"
2472 cat > conftest.
$ac_ext <<EOF
2473 #line 2474 "configure"
2474 #include "confdefs.h"
2475 /* Override any gcc2 internal prototype to avoid an error. */
2476 /* We use char because int might match the return type of a gcc2
2477 builtin and then its argument prototype would still apply. */
2484 if { (eval echo configure
:2485: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2486 eval "ac_cv_lib_$ac_lib_var=yes"
2488 echo "configure: failed program was:" >&5
2489 cat conftest.
$ac_ext >&5
2491 eval "ac_cv_lib_$ac_lib_var=no"
2494 LIBS
="$ac_save_LIBS"
2497 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2498 echo "$ac_t""yes" 1>&6
2499 ac_tr_lib
=HAVE_LIB
`echo readline | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2500 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2501 cat >> confdefs.h
<<EOF
2502 #define $ac_tr_lib 1
2505 LIBS
="-lreadline $LIBS"
2508 echo "$ac_t""no" 1>&6
2511 for ac_func
in rl_getc_function
2513 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2514 echo "configure:2515: checking for $ac_func" >&5
2515 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2516 echo $ac_n "(cached) $ac_c" 1>&6
2518 cat > conftest.
$ac_ext <<EOF
2519 #line 2520 "configure"
2520 #include "confdefs.h"
2521 /* System header to define __stub macros and hopefully few prototypes,
2522 which can conflict with char $ac_func(); below. */
2524 /* Override any gcc2 internal prototype to avoid an error. */
2525 /* We use char because int might match the return type of a gcc2
2526 builtin and then its argument prototype would still apply. */
2531 /* The GNU C library defines this for functions which it implements
2532 to always fail with ENOSYS. Some functions are actually named
2533 something starting with __ and the normal name is an alias. */
2534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2542 if { (eval echo configure
:2543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2544 eval "ac_cv_func_$ac_func=yes"
2546 echo "configure: failed program was:" >&5
2547 cat conftest.
$ac_ext >&5
2549 eval "ac_cv_func_$ac_func=no"
2554 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2555 echo "$ac_t""yes" 1>&6
2556 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2557 cat >> confdefs.h
<<EOF
2558 #define $ac_tr_func 1
2562 echo "$ac_t""no" 1>&6
2566 if test $ac_cv_lib_readline_readline = yes -a $ac_cv_func_rl_getc_function = no
; then
2567 echo 'Warning: libreadline is too old on your system. Need >= 2.1.'
2570 # Checks for dynamic linking
2572 if test "$enable_dynamic_linking" = "yes"; then
2574 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
2575 echo "configure:2576: checking for dlopen in -ldl" >&5
2576 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
2577 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2578 echo $ac_n "(cached) $ac_c" 1>&6
2580 ac_save_LIBS
="$LIBS"
2582 cat > conftest.
$ac_ext <<EOF
2583 #line 2584 "configure"
2584 #include "confdefs.h"
2585 /* Override any gcc2 internal prototype to avoid an error. */
2586 /* We use char because int might match the return type of a gcc2
2587 builtin and then its argument prototype would still apply. */
2594 if { (eval echo configure
:2595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2596 eval "ac_cv_lib_$ac_lib_var=yes"
2598 echo "configure: failed program was:" >&5
2599 cat conftest.
$ac_ext >&5
2601 eval "ac_cv_lib_$ac_lib_var=no"
2604 LIBS
="$ac_save_LIBS"
2607 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2608 echo "$ac_t""yes" 1>&6
2609 ac_tr_lib
=HAVE_LIB
`echo dl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2610 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2611 cat >> confdefs.h
<<EOF
2612 #define $ac_tr_lib 1
2618 echo "$ac_t""no" 1>&6
2621 if test "$ac_cv_lib_dl_dlopen" = "yes"; then
2622 for ac_func
in dlopen
2624 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2625 echo "configure:2626: checking for $ac_func" >&5
2626 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2627 echo $ac_n "(cached) $ac_c" 1>&6
2629 cat > conftest.
$ac_ext <<EOF
2630 #line 2631 "configure"
2631 #include "confdefs.h"
2632 /* System header to define __stub macros and hopefully few prototypes,
2633 which can conflict with char $ac_func(); below. */
2635 /* Override any gcc2 internal prototype to avoid an error. */
2636 /* We use char because int might match the return type of a gcc2
2637 builtin and then its argument prototype would still apply. */
2642 /* The GNU C library defines this for functions which it implements
2643 to always fail with ENOSYS. Some functions are actually named
2644 something starting with __ and the normal name is an alias. */
2645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2653 if { (eval echo configure
:2654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2655 eval "ac_cv_func_$ac_func=yes"
2657 echo "configure: failed program was:" >&5
2658 cat conftest.
$ac_ext >&5
2660 eval "ac_cv_func_$ac_func=no"
2665 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2666 echo "$ac_t""yes" 1>&6
2667 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2668 cat >> confdefs.h
<<EOF
2669 #define $ac_tr_func 1
2673 echo "$ac_t""no" 1>&6
2677 cat >> confdefs.h
<<\EOF
2678 #define DYNAMIC_LINKING 1
2682 echo $ac_n "checking for dld_link in -ldld""... $ac_c" 1>&6
2683 echo "configure:2684: checking for dld_link in -ldld" >&5
2684 ac_lib_var
=`echo dld'_'dld_link | sed 'y%./+-%__p_%'`
2685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2686 echo $ac_n "(cached) $ac_c" 1>&6
2688 ac_save_LIBS
="$LIBS"
2690 cat > conftest.
$ac_ext <<EOF
2691 #line 2692 "configure"
2692 #include "confdefs.h"
2693 /* Override any gcc2 internal prototype to avoid an error. */
2694 /* We use char because int might match the return type of a gcc2
2695 builtin and then its argument prototype would still apply. */
2702 if { (eval echo configure
:2703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2704 eval "ac_cv_lib_$ac_lib_var=yes"
2706 echo "configure: failed program was:" >&5
2707 cat conftest.
$ac_ext >&5
2709 eval "ac_cv_lib_$ac_lib_var=no"
2712 LIBS
="$ac_save_LIBS"
2715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2716 echo "$ac_t""yes" 1>&6
2717 ac_tr_lib
=HAVE_LIB
`echo dld | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2718 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2719 cat >> confdefs.h
<<EOF
2720 #define $ac_tr_lib 1
2726 echo "$ac_t""no" 1>&6
2729 if test "$ac_cv_lib_dld_dld_link" = "yes"; then
2730 cat >> confdefs.h
<<\EOF
2731 #define DYNAMIC_LINKING 1
2735 for ac_func
in shl_load
2737 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2738 echo "configure:2739: checking for $ac_func" >&5
2739 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2740 echo $ac_n "(cached) $ac_c" 1>&6
2742 cat > conftest.
$ac_ext <<EOF
2743 #line 2744 "configure"
2744 #include "confdefs.h"
2745 /* System header to define __stub macros and hopefully few prototypes,
2746 which can conflict with char $ac_func(); below. */
2748 /* Override any gcc2 internal prototype to avoid an error. */
2749 /* We use char because int might match the return type of a gcc2
2750 builtin and then its argument prototype would still apply. */
2755 /* The GNU C library defines this for functions which it implements
2756 to always fail with ENOSYS. Some functions are actually named
2757 something starting with __ and the normal name is an alias. */
2758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2766 if { (eval echo configure
:2767: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2768 eval "ac_cv_func_$ac_func=yes"
2770 echo "configure: failed program was:" >&5
2771 cat conftest.
$ac_ext >&5
2773 eval "ac_cv_func_$ac_func=no"
2778 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2779 echo "$ac_t""yes" 1>&6
2780 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2781 cat >> confdefs.h
<<EOF
2782 #define $ac_tr_func 1
2786 echo "$ac_t""no" 1>&6
2790 if test "$ac_cv_func_shl_load" = "yes"; then
2791 cat >> confdefs.h
<<\EOF
2792 #define DYNAMIC_LINKING 1
2796 for ac_func
in dlopen
2798 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2799 echo "configure:2800: checking for $ac_func" >&5
2800 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2801 echo $ac_n "(cached) $ac_c" 1>&6
2803 cat > conftest.
$ac_ext <<EOF
2804 #line 2805 "configure"
2805 #include "confdefs.h"
2806 /* System header to define __stub macros and hopefully few prototypes,
2807 which can conflict with char $ac_func(); below. */
2809 /* Override any gcc2 internal prototype to avoid an error. */
2810 /* We use char because int might match the return type of a gcc2
2811 builtin and then its argument prototype would still apply. */
2816 /* The GNU C library defines this for functions which it implements
2817 to always fail with ENOSYS. Some functions are actually named
2818 something starting with __ and the normal name is an alias. */
2819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2827 if { (eval echo configure
:2828: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2829 eval "ac_cv_func_$ac_func=yes"
2831 echo "configure: failed program was:" >&5
2832 cat conftest.
$ac_ext >&5
2834 eval "ac_cv_func_$ac_func=no"
2839 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2840 echo "$ac_t""yes" 1>&6
2841 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2842 cat >> confdefs.h
<<EOF
2843 #define $ac_tr_func 1
2847 echo "$ac_t""no" 1>&6
2851 if test "$ac_cv_func_dlopen" = "yes"; then
2852 cat >> confdefs.h
<<\EOF
2853 #define DYNAMIC_LINKING 1
2864 echo $ac_n "checking for underscore before symbols""... $ac_c" 1>&6
2865 echo "configure:2866: checking for underscore before symbols" >&5
2866 if eval "test \"`echo '$''{'guile_cv_uscore'+set}'`\" = set"; then
2867 echo $ac_n "(cached) $ac_c" 1>&6
2870 echo "main(){int i=1;}
2871 fnord(){int i=23; int ltuae=42;}" > conftest.c
2872 ${CC} conftest.c
> /dev
/null
2873 if (nm a.out |
grep _fnord
) > /dev
/null
; then
2880 echo "$ac_t""$guile_cv_uscore" 1>&6
2881 rm -f conftest.c a.out
2883 if test $guile_cv_uscore = yes; then
2884 cat >> confdefs.h
<<\EOF
2889 if test $ac_cv_func_dlopen = yes -o $ac_cv_lib_dl_dlopen = yes ; then
2890 echo $ac_n "checking whether dlsym always adds an underscore for us""... $ac_c" 1>&6
2891 echo "configure:2892: checking whether dlsym always adds an underscore for us" >&5
2892 if eval "test \"`echo '$''{'guile_cv_dlsym_adds_uscore'+set}'`\" = set"; then
2893 echo $ac_n "(cached) $ac_c" 1>&6
2895 if test "$cross_compiling" = yes; then
2896 guile_cv_dlsym_adds_uscore
=no
2898 cat > conftest.
$ac_ext <<EOF
2899 #line 2900 "configure"
2900 #include "confdefs.h"
2904 fnord() { int i=42;}
2905 main() { void *self, *ptr1, *ptr2; self=dlopen(NULL,RTLD_LAZY);
2906 if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
2907 if(ptr1 && !ptr2) exit(0); } exit(1); }
2910 if { (eval echo configure
:2911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2912 guile_cv_dlsym_adds_uscore
=yes
2913 cat >> confdefs.h
<<\EOF
2914 #define DLSYM_ADDS_USCORE 1
2918 echo "configure: failed program was:" >&5
2919 cat conftest.
$ac_ext >&5
2921 guile_cv_dlsym_adds_uscore
=no
2929 echo "$ac_t""$guile_cv_dlsym_adds_uscore" 1>&6
2934 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 system
usleep
2936 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
2937 echo "configure:2938: checking for $ac_func" >&5
2938 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
2939 echo $ac_n "(cached) $ac_c" 1>&6
2941 cat > conftest.
$ac_ext <<EOF
2942 #line 2943 "configure"
2943 #include "confdefs.h"
2944 /* System header to define __stub macros and hopefully few prototypes,
2945 which can conflict with char $ac_func(); below. */
2947 /* Override any gcc2 internal prototype to avoid an error. */
2948 /* We use char because int might match the return type of a gcc2
2949 builtin and then its argument prototype would still apply. */
2954 /* The GNU C library defines this for functions which it implements
2955 to always fail with ENOSYS. Some functions are actually named
2956 something starting with __ and the normal name is an alias. */
2957 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2965 if { (eval echo configure
:2966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2967 eval "ac_cv_func_$ac_func=yes"
2969 echo "configure: failed program was:" >&5
2970 cat conftest.
$ac_ext >&5
2972 eval "ac_cv_func_$ac_func=no"
2977 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
2978 echo "$ac_t""yes" 1>&6
2979 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
2980 cat >> confdefs.h
<<EOF
2981 #define $ac_tr_func 1
2985 echo "$ac_t""no" 1>&6
2990 # Determine the host we are working on
2992 # Make sure we can run config.sub.
2993 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
2994 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
2997 echo $ac_n "checking host system type""... $ac_c" 1>&6
2998 echo "configure:2999: checking host system type" >&5
3001 case "$host_alias" in
3005 if host_alias
=`$ac_config_guess`; then :
3006 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
3008 *) host_alias
=$nonopt ;;
3012 host=`$ac_config_sub $host_alias`
3013 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3014 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3015 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3016 echo "$ac_t""$host" 1>&6
3019 # Some operating systems don't declare all functions
3022 cat >> confdefs.h
<<\EOF
3023 #define DECLARE_BZERO 1
3026 cat >> confdefs.h
<<\EOF
3027 #define DECLARE_USLEEP 1
3033 # On some systems usleep have no return value
3034 cat > conftest.
$ac_ext <<EOF
3035 #line 3036 "configure"
3036 #include "confdefs.h"
3037 #include </usr/include/unistd.h>
3039 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3040 egrep "void[ ][ ]*usleep" >/dev
/null
2>&1; then
3042 cat >> confdefs.h
<<\EOF
3043 #define USLEEP_RETURNS_VOID 1
3053 ac_safe
=`echo "sys/un.h" | sed 'y%./+-%__p_%'`
3054 echo $ac_n "checking for sys/un.h""... $ac_c" 1>&6
3055 echo "configure:3056: checking for sys/un.h" >&5
3056 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3057 echo $ac_n "(cached) $ac_c" 1>&6
3059 cat > conftest.
$ac_ext <<EOF
3060 #line 3061 "configure"
3061 #include "confdefs.h"
3064 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3065 { (eval echo configure
:3066: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3066 ac_err
=`grep -v '^ *+' conftest.out`
3067 if test -z "$ac_err"; then
3069 eval "ac_cv_header_$ac_safe=yes"
3072 echo "configure: failed program was:" >&5
3073 cat conftest.
$ac_ext >&5
3075 eval "ac_cv_header_$ac_safe=no"
3079 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3080 echo "$ac_t""yes" 1>&6
3083 echo "$ac_t""no" 1>&6
3086 if test -n "$have_sys_un_h" ; then
3087 cat >> confdefs.h
<<\EOF
3088 #define HAVE_UNIX_DOMAIN_SOCKETS 1
3093 for ac_func
in socketpair getgroups setpwent pause tzset
3095 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3096 echo "configure:3097: checking for $ac_func" >&5
3097 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3098 echo $ac_n "(cached) $ac_c" 1>&6
3100 cat > conftest.
$ac_ext <<EOF
3101 #line 3102 "configure"
3102 #include "confdefs.h"
3103 /* System header to define __stub macros and hopefully few prototypes,
3104 which can conflict with char $ac_func(); below. */
3106 /* Override any gcc2 internal prototype to avoid an error. */
3107 /* We use char because int might match the return type of a gcc2
3108 builtin and then its argument prototype would still apply. */
3113 /* The GNU C library defines this for functions which it implements
3114 to always fail with ENOSYS. Some functions are actually named
3115 something starting with __ and the normal name is an alias. */
3116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3124 if { (eval echo configure
:3125: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3126 eval "ac_cv_func_$ac_func=yes"
3128 echo "configure: failed program was:" >&5
3129 cat conftest.
$ac_ext >&5
3131 eval "ac_cv_func_$ac_func=no"
3136 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3137 echo "$ac_t""yes" 1>&6
3138 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3139 cat >> confdefs.h
<<EOF
3140 #define $ac_tr_func 1
3144 echo "$ac_t""no" 1>&6
3152 for ac_func
in sethostent endhostent getnetent setnetent endnetent getprotoent endprotoent getservent endservent getnetbyaddr getnetbyname inet_lnaof inet_makeaddr inet_netof
3154 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3155 echo "configure:3156: checking for $ac_func" >&5
3156 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3157 echo $ac_n "(cached) $ac_c" 1>&6
3159 cat > conftest.
$ac_ext <<EOF
3160 #line 3161 "configure"
3161 #include "confdefs.h"
3162 /* System header to define __stub macros and hopefully few prototypes,
3163 which can conflict with char $ac_func(); below. */
3165 /* Override any gcc2 internal prototype to avoid an error. */
3166 /* We use char because int might match the return type of a gcc2
3167 builtin and then its argument prototype would still apply. */
3172 /* The GNU C library defines this for functions which it implements
3173 to always fail with ENOSYS. Some functions are actually named
3174 something starting with __ and the normal name is an alias. */
3175 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3183 if { (eval echo configure
:3184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3185 eval "ac_cv_func_$ac_func=yes"
3187 echo "configure: failed program was:" >&5
3188 cat conftest.
$ac_ext >&5
3190 eval "ac_cv_func_$ac_func=no"
3195 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3196 echo "$ac_t""yes" 1>&6
3197 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3198 cat >> confdefs.h
<<EOF
3199 #define $ac_tr_func 1
3203 echo "$ac_t""no" 1>&6
3209 echo $ac_n "checking for restartable system calls""... $ac_c" 1>&6
3210 echo "configure:3211: checking for restartable system calls" >&5
3211 if eval "test \"`echo '$''{'scm_cv_restarts'+set}'`\" = set"; then
3212 echo $ac_n "(cached) $ac_c" 1>&6
3214 if test $ac_cv_func_sigaction = yes; then
3215 cat > conftest.
$ac_ext <<EOF
3216 #line 3217 "configure"
3217 #include "confdefs.h"
3223 if { (eval echo configure
:3224: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3227 echo "configure: failed program was:" >&5
3228 cat conftest.
$ac_ext >&5
3238 echo "$ac_t""$scm_cv_restarts" 1>&6
3239 if test $scm_cv_restarts = yes; then
3240 cat >> confdefs.h
<<\EOF
3241 #define HAVE_RESTARTS 1
3246 if test "$ac_cv_header_regex_h" = yes ||
3247 test "$ac_cv_header_rxposix_h" = yes ||
3248 test "$ac_cv_header_rx_rxposix_h" = yes; then
3249 echo $ac_n "checking for regcomp""... $ac_c" 1>&6
3250 echo "configure:3251: checking for regcomp" >&5
3251 if eval "test \"`echo '$''{'ac_cv_func_regcomp_norx'+set}'`\" = set"; then
3252 echo $ac_n "(cached) $ac_c" 1>&6
3254 cat > conftest.
$ac_ext <<EOF
3255 #line 3256 "configure"
3256 #include "confdefs.h"
3257 /* System header to define __stub macros and hopefully few prototypes,
3258 which can conflict with char regcomp(); below. */
3260 /* Override any gcc2 internal prototype to avoid an error. */
3261 /* We use char because int might match the return type of a gcc2
3262 builtin and then its argument prototype would still apply. */
3267 /* The GNU C library defines this for functions which it implements
3268 to always fail with ENOSYS. Some functions are actually named
3269 something starting with __ and the normal name is an alias. */
3270 #if defined (__stub_regcomp) || defined (__stub___regcomp)
3278 if { (eval echo configure
:3279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3280 eval "ac_cv_func_regcomp_norx=yes"
3282 echo "configure: failed program was:" >&5
3283 cat conftest.
$ac_ext >&5
3285 eval "ac_cv_func_regcomp_norx=no"
3290 if eval "test \"`echo '$ac_cv_func_'regcomp'_'norx`\" = yes"; then
3291 echo "$ac_t""yes" 1>&6
3292 LIBOBJS
="regex-posix.o $LIBOBJS"
3294 echo "$ac_t""no" 1>&6
3295 echo $ac_n "checking for main in -lrx""... $ac_c" 1>&6
3296 echo "configure:3297: checking for main in -lrx" >&5
3297 ac_lib_var
=`echo rx'_'main | sed 'y%./+-%__p_%'`
3298 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3299 echo $ac_n "(cached) $ac_c" 1>&6
3301 ac_save_LIBS
="$LIBS"
3303 cat > conftest.
$ac_ext <<EOF
3304 #line 3305 "configure"
3305 #include "confdefs.h"
3311 if { (eval echo configure
:3312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3313 eval "ac_cv_lib_$ac_lib_var=yes"
3315 echo "configure: failed program was:" >&5
3316 cat conftest.
$ac_ext >&5
3318 eval "ac_cv_lib_$ac_lib_var=no"
3321 LIBS
="$ac_save_LIBS"
3324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3325 echo "$ac_t""yes" 1>&6
3326 ac_tr_lib
=HAVE_LIB
`echo rx | sed -e 's/[^a-zA-Z0-9_]/_/g' \
3327 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
3328 cat >> confdefs.h
<<EOF
3329 #define $ac_tr_lib 1
3335 echo "$ac_t""no" 1>&6
3338 echo $ac_n "checking for regcomp""... $ac_c" 1>&6
3339 echo "configure:3340: checking for regcomp" >&5
3340 if eval "test \"`echo '$''{'ac_cv_func_regcomp_rx'+set}'`\" = set"; then
3341 echo $ac_n "(cached) $ac_c" 1>&6
3343 cat > conftest.
$ac_ext <<EOF
3344 #line 3345 "configure"
3345 #include "confdefs.h"
3346 /* System header to define __stub macros and hopefully few prototypes,
3347 which can conflict with char regcomp(); below. */
3349 /* Override any gcc2 internal prototype to avoid an error. */
3350 /* We use char because int might match the return type of a gcc2
3351 builtin and then its argument prototype would still apply. */
3356 /* The GNU C library defines this for functions which it implements
3357 to always fail with ENOSYS. Some functions are actually named
3358 something starting with __ and the normal name is an alias. */
3359 #if defined (__stub_regcomp) || defined (__stub___regcomp)
3367 if { (eval echo configure
:3368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3369 eval "ac_cv_func_regcomp_rx=yes"
3371 echo "configure: failed program was:" >&5
3372 cat conftest.
$ac_ext >&5
3374 eval "ac_cv_func_regcomp_rx=no"
3379 if eval "test \"`echo '$ac_cv_func_'regcomp'_'rx`\" = yes"; then
3380 echo "$ac_t""yes" 1>&6
3381 LIBOBJS
="regex-posix.o $LIBOBJS"
3383 echo "$ac_t""no" 1>&6
3389 if test "$ac_cv_func_regcomp_norx" = yes ||
3390 test "$ac_cv_func_regcomp_rx" = yes; then
3391 cat >> confdefs.h
<<\EOF
3392 #define HAVE_REGCOMP 1
3398 for ac_func
in inet_aton putenv strerror
3400 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3401 echo "configure:3402: checking for $ac_func" >&5
3402 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3403 echo $ac_n "(cached) $ac_c" 1>&6
3405 cat > conftest.
$ac_ext <<EOF
3406 #line 3407 "configure"
3407 #include "confdefs.h"
3408 /* System header to define __stub macros and hopefully few prototypes,
3409 which can conflict with char $ac_func(); below. */
3411 /* Override any gcc2 internal prototype to avoid an error. */
3412 /* We use char because int might match the return type of a gcc2
3413 builtin and then its argument prototype would still apply. */
3418 /* The GNU C library defines this for functions which it implements
3419 to always fail with ENOSYS. Some functions are actually named
3420 something starting with __ and the normal name is an alias. */
3421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3429 if { (eval echo configure
:3430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3431 eval "ac_cv_func_$ac_func=yes"
3433 echo "configure: failed program was:" >&5
3434 cat conftest.
$ac_ext >&5
3436 eval "ac_cv_func_$ac_func=no"
3441 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3442 echo "$ac_t""yes" 1>&6
3443 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
3444 cat >> confdefs.h
<<EOF
3445 #define $ac_tr_func 1
3449 echo "$ac_t""no" 1>&6
3450 LIBOBJS
="$LIBOBJS ${ac_func}.o"
3456 # When testing for the presence of alloca, we need to add alloca.o
3457 # explicitly to LIBOBJS to make sure that it is translated to
3458 # `alloca.lo' for libtool later on. This can and should be done more cleanly.
3459 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3460 # for constant arguments. Useless!
3461 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
3462 echo "configure:3463: checking for working alloca.h" >&5
3463 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
3464 echo $ac_n "(cached) $ac_c" 1>&6
3466 cat > conftest.
$ac_ext <<EOF
3467 #line 3468 "configure"
3468 #include "confdefs.h"
3471 char *p = alloca(2 * sizeof(int));
3474 if { (eval echo configure
:3475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3476 ac_cv_header_alloca_h
=yes
3478 echo "configure: failed program was:" >&5
3479 cat conftest.
$ac_ext >&5
3481 ac_cv_header_alloca_h
=no
3486 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
3487 if test $ac_cv_header_alloca_h = yes; then
3488 cat >> confdefs.h
<<\EOF
3489 #define HAVE_ALLOCA_H 1
3494 echo $ac_n "checking for alloca""... $ac_c" 1>&6
3495 echo "configure:3496: checking for alloca" >&5
3496 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
3497 echo $ac_n "(cached) $ac_c" 1>&6
3499 cat > conftest.
$ac_ext <<EOF
3500 #line 3501 "configure"
3501 #include "confdefs.h"
3504 # define alloca __builtin_alloca
3507 # include <alloca.h>
3512 # ifndef alloca /* predefined by HP cc +Olibcalls */
3520 char *p = (char *) alloca(1);
3523 if { (eval echo configure
:3524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3525 ac_cv_func_alloca_works
=yes
3527 echo "configure: failed program was:" >&5
3528 cat conftest.
$ac_ext >&5
3530 ac_cv_func_alloca_works
=no
3535 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
3536 if test $ac_cv_func_alloca_works = yes; then
3537 cat >> confdefs.h
<<\EOF
3538 #define HAVE_ALLOCA 1
3543 if test $ac_cv_func_alloca_works = no
; then
3544 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3545 # that cause trouble. Some versions do not even contain alloca or
3546 # contain a buggy version. If you still want to use their alloca,
3547 # use ar to extract alloca.o from them instead of compiling alloca.c.
3549 cat >> confdefs.h
<<\EOF
3554 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
3555 echo "configure:3556: checking whether alloca needs Cray hooks" >&5
3556 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
3557 echo $ac_n "(cached) $ac_c" 1>&6
3559 cat > conftest.
$ac_ext <<EOF
3560 #line 3561 "configure"
3561 #include "confdefs.h"
3562 #if defined(CRAY) && ! defined(CRAY2)
3569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3570 egrep "webecray" >/dev
/null
2>&1; then
3581 echo "$ac_t""$ac_cv_os_cray" 1>&6
3582 if test $ac_cv_os_cray = yes; then
3583 for ac_func
in _getb67 GETB67 getb67
; do
3584 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
3585 echo "configure:3586: checking for $ac_func" >&5
3586 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
3587 echo $ac_n "(cached) $ac_c" 1>&6
3589 cat > conftest.
$ac_ext <<EOF
3590 #line 3591 "configure"
3591 #include "confdefs.h"
3592 /* System header to define __stub macros and hopefully few prototypes,
3593 which can conflict with char $ac_func(); below. */
3595 /* Override any gcc2 internal prototype to avoid an error. */
3596 /* We use char because int might match the return type of a gcc2
3597 builtin and then its argument prototype would still apply. */
3602 /* The GNU C library defines this for functions which it implements
3603 to always fail with ENOSYS. Some functions are actually named
3604 something starting with __ and the normal name is an alias. */
3605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3613 if { (eval echo configure
:3614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3615 eval "ac_cv_func_$ac_func=yes"
3617 echo "configure: failed program was:" >&5
3618 cat conftest.
$ac_ext >&5
3620 eval "ac_cv_func_$ac_func=no"
3625 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
3626 echo "$ac_t""yes" 1>&6
3627 cat >> confdefs.h
<<EOF
3628 #define CRAY_STACKSEG_END $ac_func
3633 echo "$ac_t""no" 1>&6
3639 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
3640 echo "configure:3641: checking stack direction for C alloca" >&5
3641 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
3642 echo $ac_n "(cached) $ac_c" 1>&6
3644 if test "$cross_compiling" = yes; then
3645 ac_cv_c_stack_direction
=0
3647 cat > conftest.
$ac_ext <<EOF
3648 #line 3649 "configure"
3649 #include "confdefs.h"
3650 find_stack_direction ()
3652 static char *addr = 0;
3657 return find_stack_direction ();
3660 return (&dummy > addr) ? 1 : -1;
3664 exit (find_stack_direction() < 0);
3667 if { (eval echo configure
:3668: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3669 ac_cv_c_stack_direction
=1
3671 echo "configure: failed program was:" >&5
3672 cat conftest.
$ac_ext >&5
3674 ac_cv_c_stack_direction
=-1
3681 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
3682 cat >> confdefs.h
<<EOF
3683 #define STACK_DIRECTION $ac_cv_c_stack_direction
3688 if test "$ALLOCA" = "alloca.o"; then LIBOBJS
="alloca.o $LIBOBJS"; fi
3690 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3691 echo "configure:3692: checking for st_rdev in struct stat" >&5
3692 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3693 echo $ac_n "(cached) $ac_c" 1>&6
3695 cat > conftest.
$ac_ext <<EOF
3696 #line 3697 "configure"
3697 #include "confdefs.h"
3698 #include <sys/types.h>
3699 #include <sys/stat.h>
3701 struct stat s; s.st_rdev;
3704 if { (eval echo configure
:3705: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3706 ac_cv_struct_st_rdev
=yes
3708 echo "configure: failed program was:" >&5
3709 cat conftest.
$ac_ext >&5
3711 ac_cv_struct_st_rdev
=no
3716 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3717 if test $ac_cv_struct_st_rdev = yes; then
3718 cat >> confdefs.h
<<\EOF
3719 #define HAVE_ST_RDEV 1
3724 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3725 echo "configure:3726: checking for st_blksize in struct stat" >&5
3726 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3727 echo $ac_n "(cached) $ac_c" 1>&6
3729 cat > conftest.
$ac_ext <<EOF
3730 #line 3731 "configure"
3731 #include "confdefs.h"
3732 #include <sys/types.h>
3733 #include <sys/stat.h>
3735 struct stat s; s.st_blksize;
3738 if { (eval echo configure
:3739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3740 ac_cv_struct_st_blksize
=yes
3742 echo "configure: failed program was:" >&5
3743 cat conftest.
$ac_ext >&5
3745 ac_cv_struct_st_blksize
=no
3750 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3751 if test $ac_cv_struct_st_blksize = yes; then
3752 cat >> confdefs.h
<<\EOF
3753 #define HAVE_ST_BLKSIZE 1
3759 # We could use AC_STRUCT_ST_BLOCKS here, but that adds fileblocks.o to
3760 # LIBOBJS, which we don't need. This seems more direct.
3761 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3762 echo "configure:3763: checking for st_blocks in struct stat" >&5
3763 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3764 echo $ac_n "(cached) $ac_c" 1>&6
3766 cat > conftest.
$ac_ext <<EOF
3767 #line 3768 "configure"
3768 #include "confdefs.h"
3769 #include <sys/types.h>
3770 #include <sys/stat.h>
3772 struct stat s; s.st_blocks;
3775 if { (eval echo configure
:3776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3777 ac_cv_struct_st_blocks
=yes
3779 echo "configure: failed program was:" >&5
3780 cat conftest.
$ac_ext >&5
3782 ac_cv_struct_st_blocks
=no
3787 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3788 if test $ac_cv_struct_st_blocks = yes; then
3789 cat >> confdefs.h
<<\EOF
3790 #define HAVE_ST_BLOCKS 1
3795 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3796 echo "configure:3797: checking whether struct tm is in sys/time.h or time.h" >&5
3797 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3798 echo $ac_n "(cached) $ac_c" 1>&6
3800 cat > conftest.
$ac_ext <<EOF
3801 #line 3802 "configure"
3802 #include "confdefs.h"
3803 #include <sys/types.h>
3806 struct tm *tp; tp->tm_sec;
3809 if { (eval echo configure
:3810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3811 ac_cv_struct_tm
=time.h
3813 echo "configure: failed program was:" >&5
3814 cat conftest.
$ac_ext >&5
3816 ac_cv_struct_tm
=sys
/time.h
3821 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3822 if test $ac_cv_struct_tm = sys
/time.h
; then
3823 cat >> confdefs.h
<<\EOF
3824 #define TM_IN_SYS_TIME 1
3829 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3830 echo "configure:3831: checking for tm_zone in struct tm" >&5
3831 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3832 echo $ac_n "(cached) $ac_c" 1>&6
3834 cat > conftest.
$ac_ext <<EOF
3835 #line 3836 "configure"
3836 #include "confdefs.h"
3837 #include <sys/types.h>
3838 #include <$ac_cv_struct_tm>
3840 struct tm tm; tm.tm_zone;
3843 if { (eval echo configure
:3844: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3845 ac_cv_struct_tm_zone
=yes
3847 echo "configure: failed program was:" >&5
3848 cat conftest.
$ac_ext >&5
3850 ac_cv_struct_tm_zone
=no
3855 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3856 if test "$ac_cv_struct_tm_zone" = yes; then
3857 cat >> confdefs.h
<<\EOF
3858 #define HAVE_TM_ZONE 1
3862 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3863 echo "configure:3864: checking for tzname" >&5
3864 if eval "test \"`echo '$''{'ac_cv_var_tzname'+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"
3871 #ifndef tzname /* For SGI. */
3872 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3878 if { (eval echo configure
:3879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3880 ac_cv_var_tzname
=yes
3882 echo "configure: failed program was:" >&5
3883 cat conftest.
$ac_ext >&5
3890 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3891 if test $ac_cv_var_tzname = yes; then
3892 cat >> confdefs.h
<<\EOF
3893 #define HAVE_TZNAME 1
3900 echo $ac_n "checking whether we need POSIX to get struct utimbuf""... $ac_c" 1>&6
3901 echo "configure:3902: checking whether we need POSIX to get struct utimbuf" >&5
3902 if eval "test \"`echo '$''{'guile_cv_struct_utimbuf_needs_posix'+set}'`\" = set"; then
3903 echo $ac_n "(cached) $ac_c" 1>&6
3905 cat > conftest.
$ac_ext <<EOF
3906 #line 3907 "configure"
3907 #include "confdefs.h"
3910 #include <sys/utime.h>
3917 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3918 { (eval echo configure
:3919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3919 ac_err
=`grep -v '^ *+' conftest.out`
3920 if test -z "$ac_err"; then
3922 guile_cv_struct_utimbuf_needs_posix
=no
3925 echo "configure: failed program was:" >&5
3926 cat conftest.
$ac_ext >&5
3928 guile_cv_struct_utimbuf_needs_posix
=yes
3933 echo "$ac_t""$guile_cv_struct_utimbuf_needs_posix" 1>&6
3934 if test "$guile_cv_struct_utimbuf_needs_posix" = yes; then
3935 cat >> confdefs.h
<<\EOF
3936 #define UTIMBUF_NEEDS_POSIX 1
3941 #--------------------------------------------------------------------
3943 # Which way does the stack grow?
3945 #--------------------------------------------------------------------
3947 if test "$cross_compiling" = yes; then
3948 echo "configure: warning: Guessing that stack grows down -- see scmconfig.h.in" 1>&2
3950 cat > conftest.
$ac_ext <<EOF
3951 #line 3952 "configure"
3952 #include "confdefs.h"
3953 aux (l) unsigned long l;
3954 { int x; exit (l >= ((unsigned long)&x)); }
3955 main () { int q; aux((unsigned long)&q); }
3957 if { (eval echo configure
:3958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3959 cat >> confdefs.h
<<\EOF
3960 #define SCM_STACK_GROWS_UP 1
3964 echo "configure: failed program was:" >&5
3965 cat conftest.
$ac_ext >&5
3972 if test "$cross_compiling" = yes; then
3973 cat >> confdefs.h
<<\EOF
3974 #define SCM_SINGLES 1
3977 echo "configure: warning: Guessing that sizeof(long) == sizeof(float) -- see scmconfig.h.in" 1>&2
3979 cat > conftest.
$ac_ext <<EOF
3980 #line 3981 "configure"
3981 #include "confdefs.h"
3982 main () { exit (sizeof(float) != sizeof(long)); }
3984 if { (eval echo configure
:3985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3986 cat >> confdefs.h
<<\EOF
3987 #define SCM_SINGLES 1
3991 echo "configure: failed program was:" >&5
3992 cat conftest.
$ac_ext >&5
3998 echo $ac_n "checking for struct linger""... $ac_c" 1>&6
3999 echo "configure:4000: checking for struct linger" >&5
4000 if eval "test \"`echo '$''{'scm_cv_struct_linger'+set}'`\" = set"; then
4001 echo $ac_n "(cached) $ac_c" 1>&6
4003 cat > conftest.
$ac_ext <<EOF
4004 #line 4005 "configure"
4005 #include "confdefs.h"
4007 #include <sys/types.h>
4008 #include <sys/socket.h>
4010 struct linger lgr; lgr.l_linger = 100
4013 if { (eval echo configure
:4014: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4015 scm_cv_struct_linger
="yes"
4017 echo "configure: failed program was:" >&5
4018 cat conftest.
$ac_ext >&5
4020 scm_cv_struct_linger
="no"
4025 echo "$ac_t""$scm_cv_struct_linger" 1>&6
4026 if test $scm_cv_struct_linger = yes; then
4027 cat >> confdefs.h
<<\EOF
4028 #define HAVE_STRUCT_LINGER 1
4033 #--------------------------------------------------------------------
4035 # How can you violate a stdio abstraction by setting a stream's fd?
4037 #--------------------------------------------------------------------
4039 echo $ac_n "checking how to set a stream file descriptor""... $ac_c" 1>&6
4040 echo "configure:4041: checking how to set a stream file descriptor" >&5
4041 if eval "test \"`echo '$''{'scm_cv_fd_setter'+set}'`\" = set"; then
4042 echo $ac_n "(cached) $ac_c" 1>&6
4044 cat > conftest.
$ac_ext <<EOF
4045 #line 4046 "configure"
4046 #include "confdefs.h"
4052 if { (eval echo configure
:4053: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4054 scm_cv_fd_setter
="_file"
4056 echo "configure: failed program was:" >&5
4057 cat conftest.
$ac_ext >&5
4059 cat > conftest.
$ac_ext <<EOF
4060 #line 4061 "configure"
4061 #include "confdefs.h"
4067 if { (eval echo configure
:4068: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4069 scm_cv_fd_setter
="_fileno"
4071 echo "configure: failed program was:" >&5
4072 cat conftest.
$ac_ext >&5
4082 if test "$scm_cv_fd_setter"; then
4083 echo "$ac_t""$scm_cv_fd_setter" 1>&6
4084 cat >> confdefs.h
<<EOF
4085 #define FD_SETTER $scm_cv_fd_setter
4089 echo "$ac_t""we couldn't do it!" 1>&6
4092 #--------------------------------------------------------------------
4093 # How to find out whether a FILE structure contains buffered data.
4094 # From Tk we have the following list:
4095 # _cnt: Most UNIX systems
4099 # Or, in GNU libc there are two fields, _gptr and _egptr, which
4100 # have to be compared.
4101 # These can also be known as _IO_read_ptr and _IO_read_end.
4102 #--------------------------------------------------------------------
4104 echo $ac_n "checking how to get buffer char count from FILE structure""... $ac_c" 1>&6
4105 echo "configure:4106: checking how to get buffer char count from FILE structure" >&5
4106 if eval "test \"`echo '$''{'scm_cv_struct_file_count'+set}'`\" = set"; then
4107 echo $ac_n "(cached) $ac_c" 1>&6
4109 cat > conftest.
$ac_ext <<EOF
4110 #line 4111 "configure"
4111 #include "confdefs.h"
4114 FILE *f = stdin; f->_cnt = 0
4117 if { (eval echo configure
:4118: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4119 scm_cv_struct_file_count
="_cnt"
4121 echo "configure: failed program was:" >&5
4122 cat conftest.
$ac_ext >&5
4124 cat > conftest.
$ac_ext <<EOF
4125 #line 4126 "configure"
4126 #include "confdefs.h"
4129 FILE *f = stdin; f->_r = 0
4132 if { (eval echo configure
:4133: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4134 scm_cv_struct_file_count
="_r"
4136 echo "configure: failed program was:" >&5
4137 cat conftest.
$ac_ext >&5
4139 cat > conftest.
$ac_ext <<EOF
4140 #line 4141 "configure"
4141 #include "confdefs.h"
4144 FILE *f = stdin; f->readCount = 0
4147 if { (eval echo configure
:4148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4149 scm_cv_struct_file_count
="readCount"
4151 echo "configure: failed program was:" >&5
4152 cat conftest.
$ac_ext >&5
4154 scm_cv_struct_file_count
=""
4163 if test "$scm_cv_struct_file_count"; then
4164 echo "$ac_t""$scm_cv_struct_file_count" 1>&6
4165 cat >> confdefs.h
<<EOF
4166 #define FILE_CNT_FIELD $scm_cv_struct_file_count
4170 if eval "test \"`echo '$''{'scm_cv_struct_file_gptr'+set}'`\" = set"; then
4171 echo $ac_n "(cached) $ac_c" 1>&6
4173 cat > conftest.
$ac_ext <<EOF
4174 #line 4175 "configure"
4175 #include "confdefs.h"
4178 FILE *f = stdin; f->_gptr = f->egptr;
4181 if { (eval echo configure
:4182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4183 scm_cv_struct_file_gptr
=1
4185 echo "configure: failed program was:" >&5
4186 cat conftest.
$ac_ext >&5
4188 scm_cv_struct_file_gptr
=""
4193 if test "$scm_cv_struct_gptr"; then
4194 echo "$ac_t""gptr" 1>&6
4195 cat >> confdefs.h
<<EOF
4196 #define FILE_CNT_GPTR $scm_cv_struct_file_gptr
4200 if eval "test \"`echo '$''{'scm_cv_struct_file_readptr'+set}'`\" = set"; then
4201 echo $ac_n "(cached) $ac_c" 1>&6
4203 cat > conftest.
$ac_ext <<EOF
4204 #line 4205 "configure"
4205 #include "confdefs.h"
4208 FILE *f = stdin; f->_IO_read_ptr = f->_IO_read_end;
4211 if { (eval echo configure
:4212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4213 scm_cv_struct_file_readptr
=1
4215 echo "configure: failed program was:" >&5
4216 cat conftest.
$ac_ext >&5
4221 if test "$scm_cv_struct_file_readptr"; then
4222 echo "$ac_t""read_ptr" 1>&6
4223 cat >> confdefs.h
<<EOF
4224 #define FILE_CNT_READPTR $scm_cv_struct_file_readptr
4228 echo "$ac_t""we couldn't do it!" 1>&6
4233 #--------------------------------------------------------------------
4235 # Flags for thread support
4237 #--------------------------------------------------------------------
4240 echo $ac_n "checking "threads package
type"""... $ac_c" 1>&6
4241 echo "configure:4242: checking "threads package
type"" >&5
4242 if eval "test \"`echo '$''{'cy_cv_threads_package'+set}'`\" = set"; then
4243 echo $ac_n "(cached) $ac_c" 1>&6
4246 if eval "test \"`echo '$''{'cy_cv_threads_cflags'+set}'`\" = set"; then
4247 echo $ac_n "(cached) $ac_c" 1>&6
4250 if eval "test \"`echo '$''{'cy_cv_threads_libs'+set}'`\" = set"; then
4251 echo $ac_n "(cached) $ac_c" 1>&6
4255 # Check whether --with-threads or --without-threads was given.
4256 if test "${with_threads+set}" = set; then
4257 withval
="$with_threads"
4258 use_threads
=$withval
4263 test -n "$use_threads" || use_threads
=qt
4264 threads_package
=unknown
4265 if test "$use_threads" != no
; then
4266 if test "$use_threads" = yes ||
test "$use_threads" = qt
; then
4267 # Look for qt in source directory.
4268 if test -f $srcdir/qt
/qt.c
; then
4269 qtsrcdir
="`(cd $srcdir; pwd)`/qt"
4270 threads_package
=COOP
4271 cy_cv_threads_cflags
="-I$qtsrcdir -I../qt"
4272 cy_cv_threads_libs
="../qt/libqthreads.a"
4275 if test -f $use_threads/qt.c
; then
4276 # FIXME seems as though we should try to use an installed qt here.
4277 threads_package
=COOP
4278 cy_cv_threads_cflags
="-I$use_threads -I../qt"
4279 cy_cv_threads_libs
="../qt/libqthreads.a"
4282 if test "$use_threads" = pthreads
; then
4283 # Look for pthreads in srcdir. See above to understand why
4284 # we always set threads_package.
4285 if test -f $srcdir/..
/..
/pthreads
/pthreads
/queue.c \
4286 ||
test -f $srcdir/..
/pthreads
/pthreads
/queue.c
; then
4288 cy_cv_threads_cflags
="-I$srcdir/../../pthreads/include"
4289 cy_cv_threads_libs
="-L../../pthreads/lib -lpthread"
4292 saved_CPP
="$CPPFLAGS"
4295 if test "$threads_package" = unknown
; then
4296 CPPFLAGS
="-I$use_threads/include"
4297 LDFLAGS
="-L$use_threads/lib"
4298 LIBS
="-lgthreads -lmalloc"
4299 cat > conftest.
$ac_ext <<EOF
4300 #line 4301 "configure"
4301 #include "confdefs.h"
4302 #include <pthread.h>
4305 pthread_equal(NULL,NULL);
4309 if { (eval echo configure
:4310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4313 echo "configure: failed program was:" >&5
4314 cat conftest.
$ac_ext >&5
4318 if test "$threads_package" = unknown
; then
4320 cat > conftest.
$ac_ext <<EOF
4321 #line 4322 "configure"
4322 #include "confdefs.h"
4323 #include <pthread.h>
4326 pthread_equal(NULL,NULL);
4330 if { (eval echo configure
:4331: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4334 echo "configure: failed program was:" >&5
4335 cat conftest.
$ac_ext >&5
4339 if test "$threads_package" = unknown
; then
4341 cat > conftest.
$ac_ext <<EOF
4342 #line 4343 "configure"
4343 #include "confdefs.h"
4344 #include <pthread.h>
4347 pthread_equal(NULL,NULL);
4351 if { (eval echo configure
:4352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4353 threads_package
=PCthreads
4355 echo "configure: failed program was:" >&5
4356 cat conftest.
$ac_ext >&5
4360 cy_cv_threads_cflags
="$CPPFLAGS $cy_cv_threads_cflags"
4361 cy_cv_threads_package
=$threads_package
4362 CPPFLAGS
="$saved_CPP"
4365 if test "$threads_package" = unknown
; then
4366 { echo "configure: error: "cannot
find thread library installation
"" 1>&2; exit 1; }
4378 echo "$ac_t""$cy_cv_threads_package" 1>&6
4380 CFLAGS
="$CFLAGS $cy_cv_threads_cflags"
4381 THREAD_LIBS
="$cy_cv_threads_libs"
4384 if test "$cy_cv_threads_package" = FSU
; then
4385 cat >> confdefs.h
<<\EOF
4386 #define USE_FSU_PTHREADS 1
4389 else if test "$cy_cv_threads_package" = COOP
; then
4390 cat >> confdefs.h
<<\EOF
4391 #define USE_COOP_THREADS 1
4394 else if test "$cy_cv_threads_package" = MIT
; then
4395 cat >> confdefs.h
<<\EOF
4396 #define USE_MIT_PTHREADS 1
4399 else if test "$cy_cv_threads_package" = PCthreads
; then
4400 cat >> confdefs.h
<<\EOF
4401 #define USE_PCTHREADS_PTHREADS 1
4404 else if test "$cy_cv_threads_package" = unknown
; then
4405 { echo "configure: error: "cannot
find threads installation
"" 1>&2; exit 1; }
4412 if test "$cy_cv_threads_package" != ""; then
4413 cat >> confdefs.h
<<\EOF
4414 #define USE_THREADS 1
4417 LIBOBJS
="$LIBOBJS threads.o"
4420 #--------------------------------------------------------------------
4422 # scm_internal_select
4424 #--------------------------------------------------------------------
4426 if test "$cy_cv_threads_package" != "" &&
4427 test $ac_cv_func_gettimeofday = yes &&
4428 test $ac_cv_func_select = yes; then
4429 cat >> confdefs.h
<<\EOF
4430 #define GUILE_ISELECT 1
4433 LIBOBJS
="$LIBOBJS iselect.o"
4436 ## If we're using GCC, ask for aggressive warnings.
4438 yes ) CFLAGS
="$CFLAGS -Wall -Wpointer-arith" ;;
4441 for ac_prog
in mawk gawk nawk
awk
4443 # Extract the first word of "$ac_prog", so it can be a program name with args.
4444 set dummy
$ac_prog; ac_word
=$2
4445 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4446 echo "configure:4447: checking for $ac_word" >&5
4447 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
4448 echo $ac_n "(cached) $ac_c" 1>&6
4450 if test -n "$AWK"; then
4451 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
4453 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4454 for ac_dir
in $PATH; do
4455 test -z "$ac_dir" && ac_dir
=.
4456 if test -f $ac_dir/$ac_word; then
4457 ac_cv_prog_AWK
="$ac_prog"
4464 AWK
="$ac_cv_prog_AWK"
4465 if test -n "$AWK"; then
4466 echo "$ac_t""$AWK" 1>&6
4468 echo "$ac_t""no" 1>&6
4471 test -n "$AWK" && break
4475 ## If we're creating a shared library (using libtool!), then we'll
4476 ## need to generate a list of .lo files corresponding to the .o files
4477 ## given in LIBOBJS. We'll call it LIBLOBJS.
4478 LIBLOBJS
="`echo ${LIBOBJS} | sed 's/\.o/.lo/g'`"
4483 GUILE_LIBS
="$LDFLAGS $THREAD_LIBS $LIBS"
4486 GUILE_STAMP
="`date`"
4494 threads_enabled
=false
4495 if test "$cy_cv_threads_package" = COOP
; then
4496 threads_enabled
=true
4499 # How can we refer to the qt source directory from within the qt build
4500 # directory? For headers, we can rely on the fact that the qt src
4501 # directory appears in the #include path.
4503 qtsrcdir
="`(cd $srcdir; pwd)`/qt"
4507 qtmds_s
=$qtsrcdir/md
/i386.s
4509 qtmdc_c
=$qtsrcdir/md
/null.c
4512 qtmds_s
=$qtsrcdir/md
/mips-irix5.s
4514 qtmdc_c
=$qtsrcdir/md
/null.c
4515 qtdmdb_s
=$qtsrcdir/md
/mips_b.s
4518 qtmds_s
=$qtsrcdir/md
/mips.s
4520 qtmdc_c
=$qtsrcdir/md
/null.c
4521 qtdmdb_s
=$qtsrcdir/md
/mips_b.s
4525 qtmdc_c
=$qtsrcdir/md
/null.c
4526 qtmds_s
=$qtsrcdir/md
/_sparc.s
4527 qtdmdb_s
=$qtsrcdir/md
/_sparc_b.s
4531 qtmdc_c
=$qtsrcdir/md
/null.c
4532 qtmds_s
=$qtsrcdir/md
/sparc.s
4533 qtdmdb_s
=$qtsrcdir/md
/sparc_b.s
4537 qtmdc_c
=$qtsrcdir/md
/null.c
4538 qtmds_s
=$qtsrcdir/md
/axp.s
4539 qtdmdb_s
=$qtsrcdir/md
/axp_b.s
4542 echo "Unknown configuration; threads package disabled"
4543 threads_enabled
=false
4549 if $threads_enabled; then
4550 target_libs
=libqthreads.a
4555 # Give the Makefile the names of the object files that will be
4556 # generated by compiling $qtmdc_c and $qtmds_s.
4557 qtmdc_o
="`echo ${qtmdc_c} | sed -e 's:^.*/::' | sed -e 's:\.c$:\.o:'`"
4558 qtmds_o
="`echo ${qtmds_s} | sed -e 's:^.*/::' | sed -e 's:\.s$:\.o:'`"
4569 cat > confcache
<<\EOF
4570 # This file is a shell script that caches the results of configure
4571 # tests run on this system so they can be shared between configure
4572 # scripts and configure runs. It is not useful on other systems.
4573 # If it contains results you don't want to keep, you may remove or edit it.
4575 # By default, configure uses ./config.cache as the cache file,
4576 # creating it if it does not exist already. You can give configure
4577 # the --cache-file=FILE option to use a different cache file; that is
4578 # what configure does when it calls configure scripts in
4579 # subdirectories, so they share the cache.
4580 # Giving --cache-file=/dev/null disables caching, for debugging configure.
4581 # config.status only pays attention to the cache file if you give it the
4582 # --recheck option to rerun configure.
4585 # The following way of writing the cache mishandles newlines in values,
4586 # but we know of no workaround that is simple, portable, and efficient.
4587 # So, don't put newlines in cache variables' values.
4588 # Ultrix sh set writes to stderr and can't be redirected directly,
4589 # and sets the high bit in the cache file unless we assign to the vars.
4591 case `(ac_space=' '; set) 2>&1` in
4593 # `set' does not quote correctly, so add quotes (double-quote substitution
4594 # turns \\\\ into \\, and sed turns \\ into \).
4596 -e "s/'/'\\\\''/g" \
4597 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
4600 # `set' quotes correctly as required by POSIX, so do not add quotes.
4601 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
4604 if cmp -s $cache_file confcache
; then
4607 if test -w $cache_file; then
4608 echo "updating cache $cache_file"
4609 cat confcache
> $cache_file
4611 echo "not updating unwritable cache $cache_file"
4616 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
4618 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4619 # Let make expand exec_prefix.
4620 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4622 # Any assignment to VPATH causes Sun make to only execute
4623 # the first set of double-colon rules, so remove it if not needed.
4624 # If there is a colon in the path, we need to keep it.
4625 if test "x$srcdir" = x.
; then
4626 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
4629 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
4631 DEFS
=-DHAVE_CONFIG_H
4633 # Without the "./", some shells look in PATH for config.status.
4634 : ${CONFIG_STATUS=./config.status}
4636 echo creating
$CONFIG_STATUS
4637 rm -f $CONFIG_STATUS
4638 cat > $CONFIG_STATUS <<EOF
4640 # Generated automatically by configure.
4641 # Run this file to recreate the current configuration.
4642 # This directory was configured as follows,
4643 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
4645 # $0 $ac_configure_args
4647 # Compiler output produced by configure, useful for debugging
4648 # configure, is in ./config.log if it exists.
4650 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
4653 case "\$ac_option" in
4654 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4655 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
4656 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
4657 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
4658 echo "$CONFIG_STATUS generated by autoconf version 2.12"
4660 -help | --help | --hel | --he | --h)
4661 echo "\$ac_cs_usage"; exit 0 ;;
4662 *) echo "\$ac_cs_usage"; exit 1 ;;
4666 ac_given_srcdir=$srcdir
4667 ac_given_INSTALL="$INSTALL"
4669 trap 'rm -fr `echo "Makefile libguile/Makefile libguile/guile-snarf ice-9/Makefile ice-9/version.scm qt/Makefile qt/qt.h qt/md/Makefile qt/time/Makefile build/Makefile libguile/scmconfig.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
4671 cat >> $CONFIG_STATUS <<EOF
4673 # Protect against being on the right side of a sed subst in config.status.
4674 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
4675 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
4678 s%@CFLAGS@%$CFLAGS%g
4679 s%@CPPFLAGS@%$CPPFLAGS%g
4680 s%@CXXFLAGS@%$CXXFLAGS%g
4682 s%@LDFLAGS@%$LDFLAGS%g
4684 s%@exec_prefix@%$exec_prefix%g
4685 s%@prefix@%$prefix%g
4686 s%@program_transform_name@%$program_transform_name%g
4687 s%@bindir@%$bindir%g
4688 s%@sbindir@%$sbindir%g
4689 s%@libexecdir@%$libexecdir%g
4690 s%@datadir@%$datadir%g
4691 s%@sysconfdir@%$sysconfdir%g
4692 s%@sharedstatedir@%$sharedstatedir%g
4693 s%@localstatedir@%$localstatedir%g
4694 s%@libdir@%$libdir%g
4695 s%@includedir@%$includedir%g
4696 s%@oldincludedir@%$oldincludedir%g
4697 s%@infodir@%$infodir%g
4698 s%@mandir@%$mandir%g
4699 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
4700 s%@INSTALL_DATA@%$INSTALL_DATA%g
4701 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
4702 s%@PACKAGE@%$PACKAGE%g
4703 s%@VERSION@%$VERSION%g
4704 s%@ACLOCAL@%$ACLOCAL%g
4705 s%@AUTOCONF@%$AUTOCONF%g
4706 s%@AUTOMAKE@%$AUTOMAKE%g
4707 s%@AUTOHEADER@%$AUTOHEADER%g
4708 s%@MAKEINFO@%$MAKEINFO%g
4709 s%@SET_MAKE@%$SET_MAKE%g
4714 s%@host_alias@%$host_alias%g
4715 s%@host_cpu@%$host_cpu%g
4716 s%@host_vendor@%$host_vendor%g
4717 s%@host_os@%$host_os%g
4718 s%@RANLIB@%$RANLIB%g
4722 s%@LIBTOOL@%$LIBTOOL%g
4723 s%@LIBOBJS@%$LIBOBJS%g
4724 s%@ALLOCA@%$ALLOCA%g
4725 s%@THREAD_LIBS@%$THREAD_LIBS%g
4727 s%@GUILE_MAJOR_VERSION@%$GUILE_MAJOR_VERSION%g
4728 s%@GUILE_MINOR_VERSION@%$GUILE_MINOR_VERSION%g
4729 s%@GUILE_VERSION@%$GUILE_VERSION%g
4730 s%@GUILE_LIBS@%$GUILE_LIBS%g
4731 s%@GUILE_STAMP@%$GUILE_STAMP%g
4732 s%@LIBLOBJS@%$LIBLOBJS%g
4733 s%@target_libs@%$target_libs%g
4734 s%@qtmd_h@%$qtmd_h%g
4735 s%@qtmdc_c@%$qtmdc_c%g
4736 s%@qtmdc_o@%$qtmdc_o%g
4737 s%@qtmds_s@%$qtmds_s%g
4738 s%@qtmds_o@%$qtmds_o%g
4739 s%@qtmdb_s@%$qtmdb_s%g
4744 cat >> $CONFIG_STATUS <<\EOF
4746 # Split the substitutions into bite-sized pieces for seds with
4747 # small command number limits, like on Digital OSF/1 and HP-UX.
4748 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
4749 ac_file
=1 # Number of current file.
4750 ac_beg
=1 # First line for current file.
4751 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
4754 while $ac_more_lines; do
4755 if test $ac_beg -gt 1; then
4756 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
4758 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
4760 if test ! -s conftest.s
$ac_file; then
4762 rm -f conftest.s
$ac_file
4764 if test -z "$ac_sed_cmds"; then
4765 ac_sed_cmds
="sed -f conftest.s$ac_file"
4767 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
4769 ac_file
=`expr $ac_file + 1`
4771 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
4774 if test -z "$ac_sed_cmds"; then
4779 cat >> $CONFIG_STATUS <<EOF
4781 CONFIG_FILES=\${CONFIG_FILES-"Makefile libguile/Makefile libguile/guile-snarf ice-9/Makefile ice-9/version.scm qt/Makefile qt/qt.h qt/md/Makefile qt/time/Makefile build/Makefile"}
4783 cat >> $CONFIG_STATUS <<\EOF
4784 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
4785 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4787 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
4788 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
4789 *) ac_file_in
="${ac_file}.in" ;;
4792 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
4794 # Remove last slash and all that follows it. Not all systems have dirname.
4795 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
4796 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
4797 # The file is in a subdirectory.
4798 test ! -d "$ac_dir" && mkdir
"$ac_dir"
4799 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
4800 # A "../" for each directory in $ac_dir_suffix.
4801 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
4803 ac_dir_suffix
= ac_dots
=
4806 case "$ac_given_srcdir" in
4808 if test -z "$ac_dots"; then top_srcdir
=.
4809 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
4810 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
4812 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
4813 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
4816 case "$ac_given_INSTALL" in
4817 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
4818 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
4821 echo creating
"$ac_file"
4823 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
4825 *Makefile
*) ac_comsub
="1i\\
4826 # $configure_input" ;;
4830 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
4832 s%@configure_input@%$configure_input%g
4833 s%@srcdir@%$srcdir%g
4834 s%@top_srcdir@%$top_srcdir%g
4835 s%@INSTALL@%$INSTALL%g
4836 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
4840 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4841 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4843 # ac_d sets the value in "#define NAME VALUE" lines.
4844 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4845 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
4848 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
4849 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4850 ac_uB
='\([ ]\)%\1#\2define\3'
4853 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4854 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4855 ac_eB
='$%\1#\2define\3'
4859 if test "${CONFIG_HEADERS+set}" != set; then
4861 cat >> $CONFIG_STATUS <<EOF
4862 CONFIG_HEADERS="libguile/scmconfig.h"
4864 cat >> $CONFIG_STATUS <<\EOF
4866 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
4867 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4869 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
4870 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
4871 *) ac_file_in
="${ac_file}.in" ;;
4874 echo creating
$ac_file
4876 rm -f conftest.frag conftest.
in conftest.out
4877 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
4878 cat $ac_file_inputs > conftest.
in
4882 # Transform confdefs.h into a sed script conftest.vals that substitutes
4883 # the proper values into config.h.in to produce config.h. And first:
4884 # Protect against being on the right side of a sed subst in config.status.
4885 # Protect against being in an unquoted here document in config.status.
4887 cat > conftest.hdr
<<\EOF
4890 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
4894 sed -n -f conftest.hdr confdefs.h > conftest.vals
4897 # This sed command replaces #undef with comments. This is necessary, for
4898 # example, in the case of _POSIX_SOURCE, which is predefined and required
4899 # on some systems where configure will not decide to define it.
4900 cat >> conftest.vals <<\EOF
4901 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
4904 # Break up conftest.vals because some shells have a limit on
4905 # the size of here documents, and old seds have small limits too.
4910 ac_lines=`grep -c . conftest.vals
`
4911 # grep -c gives empty output for an empty file on some AIX systems.
4912 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
4913 # Write a limited-size here document to conftest.frag.
4914 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
4915 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
4917 sed -f conftest.frag conftest.in > conftest.out
4919 mv conftest.out conftest.in
4921 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
4923 mv conftest.tail conftest.vals
4927 cat >> $CONFIG_STATUS <<\EOF
4928 rm -f conftest.frag conftest.h
4929 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
4930 cat conftest.in >> conftest.h
4932 if cmp -s $ac_file conftest.h 2>/dev/null; then
4933 echo "$ac_file is unchanged"
4936 # Remove last slash and all that follows it. Not all systems have dirname.
4937 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
4938 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
4939 # The file is in a subdirectory.
4940 test ! -d "$ac_dir" && mkdir "$ac_dir"
4943 mv conftest.h $ac_file
4948 cat >> $CONFIG_STATUS <<EOF
4952 cat >> $CONFIG_STATUS <<\EOF
4953 test -z "$CONFIG_HEADERS" || echo timestamp > libguile/stamp-h
4954 chmod +x libguile/guile-snarf
4957 chmod +x $CONFIG_STATUS
4958 rm -fr confdefs* $ac_clean_files
4959 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1