2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.57.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # 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.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 # Support unset when possible.
25 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
224 as_executable_p
="test -f"
226 # Sed expression to map a string onto a valid CPP name.
227 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
229 # Sed expression to map a string onto a valid variable name.
230 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
234 # We need space, tab and new line, in precisely that order.
244 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
245 # so uname gets run too.
246 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
253 ac_default_prefix
=/usr
/local
254 ac_config_libobj_dir
=.
259 SHELL
=${CONFIG_SHELL-/bin/sh}
261 # Maximum number of lines to put in a shell here document.
262 # This variable seems obsolete. It should probably be removed, and
263 # only ac_max_sed_lines should be used.
264 : ${ac_max_here_lines=38}
266 # Identity of this package.
273 ac_unique_file
="pycaml_ml.c"
274 # Factoring default headers for most tests.
275 ac_includes_default
="\
278 # include <sys/types.h>
281 # include <sys/stat.h>
292 # if !STDC_HEADERS && HAVE_MEMORY_H
298 # include <strings.h>
301 # include <inttypes.h>
311 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP PYPACKAGE haveldd PY_LIBS PY_VERSION PY_PREFIX LIBOBJS LTLIBOBJS'
314 # Initialize some variables set by options.
316 ac_init_version
=false
317 # The variables have the same names as the options, with
318 # dashes changed to underlines.
326 program_transform_name
=s
,x
,x
,
334 # Installation directory options.
335 # These are left unexpanded so users can "make install exec_prefix=/foo"
336 # and all the variables that are supposed to be based on exec_prefix
337 # by default will actually change.
338 # Use braces instead of parens because sh, perl, etc. also accept them.
339 bindir
='${exec_prefix}/bin'
340 sbindir
='${exec_prefix}/sbin'
341 libexecdir
='${exec_prefix}/libexec'
342 datadir
='${prefix}/share'
343 sysconfdir
='${prefix}/etc'
344 sharedstatedir
='${prefix}/com'
345 localstatedir
='${prefix}/var'
346 libdir
='${exec_prefix}/lib'
347 includedir
='${prefix}/include'
348 oldincludedir
='/usr/include'
349 infodir
='${prefix}/info'
350 mandir
='${prefix}/man'
355 # If the previous option needs an argument, assign it.
356 if test -n "$ac_prev"; then
357 eval "$ac_prev=\$ac_option"
362 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
364 # Accept the important Cygnus configure options, so we can diagnose typos.
368 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
370 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
373 -build |
--build |
--buil |
--bui |
--bu)
374 ac_prev
=build_alias
;;
375 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
376 build_alias
=$ac_optarg ;;
378 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
379 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
380 ac_prev
=cache_file
;;
381 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
382 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
383 cache_file
=$ac_optarg ;;
386 cache_file
=config.cache
;;
388 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
390 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
392 datadir
=$ac_optarg ;;
394 -disable-* |
--disable-*)
395 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
396 # Reject names that are not valid shell variable names.
397 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
398 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
399 { (exit 1); exit 1; }; }
400 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
401 eval "enable_$ac_feature=no" ;;
403 -enable-* |
--enable-*)
404 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
405 # Reject names that are not valid shell variable names.
406 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
407 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
408 { (exit 1); exit 1; }; }
409 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
411 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
414 eval "enable_$ac_feature='$ac_optarg'" ;;
416 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
417 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
418 |
--exec |
--exe |
--ex)
419 ac_prev
=exec_prefix
;;
420 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
421 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
422 |
--exec=* |
--exe=* |
--ex=*)
423 exec_prefix
=$ac_optarg ;;
425 -gas |
--gas |
--ga |
--g)
426 # Obsolete; use --with-gas.
429 -help |
--help |
--hel |
--he |
-h)
431 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
432 ac_init_help
=recursive
;;
433 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
434 ac_init_help
=short
;;
436 -host |
--host |
--hos |
--ho)
437 ac_prev
=host_alias
;;
438 -host=* |
--host=* |
--hos=* |
--ho=*)
439 host_alias
=$ac_optarg ;;
441 -includedir |
--includedir |
--includedi |
--included |
--include \
442 |
--includ |
--inclu |
--incl |
--inc)
443 ac_prev
=includedir
;;
444 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
445 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
446 includedir
=$ac_optarg ;;
448 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
450 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
451 infodir
=$ac_optarg ;;
453 -libdir |
--libdir |
--libdi |
--libd)
455 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
458 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
459 |
--libexe |
--libex |
--libe)
460 ac_prev
=libexecdir
;;
461 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
462 |
--libexe=* |
--libex=* |
--libe=*)
463 libexecdir
=$ac_optarg ;;
465 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
466 |
--localstate |
--localstat |
--localsta |
--localst \
467 |
--locals |
--local |
--loca |
--loc |
--lo)
468 ac_prev
=localstatedir
;;
469 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
470 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
471 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
472 localstatedir
=$ac_optarg ;;
474 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
476 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
480 # Obsolete; use --without-fp.
483 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
484 |
--no-cr |
--no-c |
-n)
487 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
488 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
491 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
492 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
493 |
--oldin |
--oldi |
--old |
--ol |
--o)
494 ac_prev
=oldincludedir
;;
495 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
496 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
497 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
498 oldincludedir
=$ac_optarg ;;
500 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
502 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
505 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
506 |
--program-pre |
--program-pr |
--program-p)
507 ac_prev
=program_prefix
;;
508 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
509 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
510 program_prefix
=$ac_optarg ;;
512 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
513 |
--program-suf |
--program-su |
--program-s)
514 ac_prev
=program_suffix
;;
515 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
516 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
517 program_suffix
=$ac_optarg ;;
519 -program-transform-name |
--program-transform-name \
520 |
--program-transform-nam |
--program-transform-na \
521 |
--program-transform-n |
--program-transform- \
522 |
--program-transform |
--program-transfor \
523 |
--program-transfo |
--program-transf \
524 |
--program-trans |
--program-tran \
525 |
--progr-tra |
--program-tr |
--program-t)
526 ac_prev
=program_transform_name
;;
527 -program-transform-name=* |
--program-transform-name=* \
528 |
--program-transform-nam=* |
--program-transform-na=* \
529 |
--program-transform-n=* |
--program-transform-=* \
530 |
--program-transform=* |
--program-transfor=* \
531 |
--program-transfo=* |
--program-transf=* \
532 |
--program-trans=* |
--program-tran=* \
533 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
534 program_transform_name
=$ac_optarg ;;
536 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
537 |
-silent |
--silent |
--silen |
--sile |
--sil)
540 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
542 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
544 sbindir
=$ac_optarg ;;
546 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
547 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
548 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
550 ac_prev
=sharedstatedir
;;
551 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
552 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
553 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
555 sharedstatedir
=$ac_optarg ;;
557 -site |
--site |
--sit)
559 -site=* |
--site=* |
--sit=*)
562 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
564 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
567 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
568 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
569 ac_prev
=sysconfdir
;;
570 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
571 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
572 sysconfdir
=$ac_optarg ;;
574 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
575 ac_prev
=target_alias
;;
576 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
577 target_alias
=$ac_optarg ;;
579 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
582 -version |
--version |
--versio |
--versi |
--vers |
-V)
586 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
587 # Reject names that are not valid shell variable names.
588 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
589 { echo "$as_me: error: invalid package name: $ac_package" >&2
590 { (exit 1); exit 1; }; }
591 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
596 eval "with_$ac_package='$ac_optarg'" ;;
598 -without-* |
--without-*)
599 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
600 # Reject names that are not valid shell variable names.
601 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
602 { echo "$as_me: error: invalid package name: $ac_package" >&2
603 { (exit 1); exit 1; }; }
604 ac_package
=`echo $ac_package | sed 's/-/_/g'`
605 eval "with_$ac_package=no" ;;
608 # Obsolete; use --with-x.
611 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
612 |
--x-incl |
--x-inc |
--x-in |
--x-i)
613 ac_prev
=x_includes
;;
614 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
615 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
616 x_includes
=$ac_optarg ;;
618 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
619 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
620 ac_prev
=x_libraries
;;
621 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
622 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
623 x_libraries
=$ac_optarg ;;
625 -*) { echo "$as_me: error: unrecognized option: $ac_option
626 Try \`$0 --help' for more information." >&2
627 { (exit 1); exit 1; }; }
631 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
632 # Reject names that are not valid shell variable names.
633 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
634 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
635 { (exit 1); exit 1; }; }
636 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
637 eval "$ac_envvar='$ac_optarg'"
641 # FIXME: should be removed in autoconf 3.0.
642 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
643 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
644 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
645 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 if test -n "$ac_prev"; then
652 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
653 { echo "$as_me: error: missing argument to $ac_option" >&2
654 { (exit 1); exit 1; }; }
657 # Be sure to have absolute paths.
658 for ac_var
in exec_prefix prefix
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
668 # Be sure to have absolute paths.
669 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
670 localstatedir libdir includedir oldincludedir infodir mandir
672 eval ac_val
=$
`echo $ac_var`
674 [\\/$
]* | ?
:[\\/]* ) ;;
675 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
676 { (exit 1); exit 1; }; };;
680 # There might be people who depend on the old broken behavior: `$host'
681 # used to hold the argument of --host etc.
682 # FIXME: To remove some day.
687 # FIXME: To remove some day.
688 if test "x$host_alias" != x
; then
689 if test "x$build_alias" = x
; then
690 cross_compiling
=maybe
691 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
692 If a cross compiler is detected then cross compile mode will be used." >&2
693 elif test "x$build_alias" != "x$host_alias"; then
699 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
701 test "$silent" = yes && exec 6>/dev
/null
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
708 ac_confdir
=`(dirname "$0") 2>/dev/null ||
709 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
710 X"$0" : 'X\(//\)[^/]' \| \
711 X"$0" : 'X\(//\)$' \| \
712 X"$0" : 'X\(/\)' \| \
713 . : '\(.\)' 2>/dev/null ||
715 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
716 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
717 /^X\(\/\/\)$/{ s//\1/; q; }
718 /^X\(\/\).*/{ s//\1/; q; }
721 if test ! -r $srcdir/$ac_unique_file; then
725 ac_srcdir_defaulted
=no
727 if test ! -r $srcdir/$ac_unique_file; then
728 if test "$ac_srcdir_defaulted" = yes; then
729 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
730 { (exit 1); exit 1; }; }
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
733 { (exit 1); exit 1; }; }
736 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
737 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
738 { (exit 1); exit 1; }; }
739 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
740 ac_env_build_alias_set
=${build_alias+set}
741 ac_env_build_alias_value
=$build_alias
742 ac_cv_env_build_alias_set
=${build_alias+set}
743 ac_cv_env_build_alias_value
=$build_alias
744 ac_env_host_alias_set
=${host_alias+set}
745 ac_env_host_alias_value
=$host_alias
746 ac_cv_env_host_alias_set
=${host_alias+set}
747 ac_cv_env_host_alias_value
=$host_alias
748 ac_env_target_alias_set
=${target_alias+set}
749 ac_env_target_alias_value
=$target_alias
750 ac_cv_env_target_alias_set
=${target_alias+set}
751 ac_cv_env_target_alias_value
=$target_alias
752 ac_env_CC_set
=${CC+set}
754 ac_cv_env_CC_set
=${CC+set}
755 ac_cv_env_CC_value
=$CC
756 ac_env_CFLAGS_set
=${CFLAGS+set}
757 ac_env_CFLAGS_value
=$CFLAGS
758 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
759 ac_cv_env_CFLAGS_value
=$CFLAGS
760 ac_env_LDFLAGS_set
=${LDFLAGS+set}
761 ac_env_LDFLAGS_value
=$LDFLAGS
762 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_cv_env_LDFLAGS_value
=$LDFLAGS
764 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
765 ac_env_CPPFLAGS_value
=$CPPFLAGS
766 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_env_CPP_set
=${CPP+set}
769 ac_env_CPP_value
=$CPP
770 ac_cv_env_CPP_set
=${CPP+set}
771 ac_cv_env_CPP_value
=$CPP
774 # Report the --help message.
776 if test "$ac_init_help" = "long"; then
777 # Omit some internal or obsolete options to make the list less imposing.
778 # This message is too long to be a string in the A/UX 3.1 sh.
780 \`configure' configures this package to adapt to many kinds of systems.
782 Usage: $0 [OPTION]... [VAR=VALUE]...
784 To assign environment variables (e.g., CC, CFLAGS...), specify them as
785 VAR=VALUE. See below for descriptions of some of the useful variables.
787 Defaults for the options are specified in brackets.
790 -h, --help display this help and exit
791 --help=short display options specific to this package
792 --help=recursive display the short help of all the included packages
793 -V, --version display version information and exit
794 -q, --quiet, --silent do not print \`checking...' messages
795 --cache-file=FILE cache test results in FILE [disabled]
796 -C, --config-cache alias for \`--cache-file=config.cache'
797 -n, --no-create do not create output files
798 --srcdir=DIR find the sources in DIR [configure dir or \`..']
803 Installation directories:
804 --prefix=PREFIX install architecture-independent files in PREFIX
806 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
809 By default, \`make install' will install all the files in
810 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
811 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
812 for instance \`--prefix=\$HOME'.
814 For better control, use the options below.
816 Fine tuning of the installation directories:
817 --bindir=DIR user executables [EPREFIX/bin]
818 --sbindir=DIR system admin executables [EPREFIX/sbin]
819 --libexecdir=DIR program executables [EPREFIX/libexec]
820 --datadir=DIR read-only architecture-independent data [PREFIX/share]
821 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
822 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
823 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
824 --libdir=DIR object code libraries [EPREFIX/lib]
825 --includedir=DIR C header files [PREFIX/include]
826 --oldincludedir=DIR C header files for non-gcc [/usr/include]
827 --infodir=DIR info documentation [PREFIX/info]
828 --mandir=DIR man documentation [PREFIX/man]
835 if test -n "$ac_init_help"; then
840 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
841 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
842 --with-python-prefix=PFX Prefix where Python is installed
(optional
)
844 Some influential environment variables
:
845 CC C compiler
command
846 CFLAGS C compiler flags
847 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
848 nonstandard directory
<lib dir
>
849 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
850 headers
in a nonstandard directory
<include dir
>
853 Use these variables to override the choices made by
`configure' or to help
854 it to find libraries and programs with nonstandard names/locations.
859 if test "$ac_init_help" = "recursive"; then
860 # If there are subdirs, report their specific --help.
862 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
863 test -d $ac_dir || continue
866 if test "$ac_dir" != .; then
867 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
868 # A "../" for each directory in $ac_dir_suffix.
869 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
871 ac_dir_suffix= ac_top_builddir=
875 .) # No --srcdir option. We are building in place.
877 if test -z "$ac_top_builddir"; then
880 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
882 [\\/]* | ?:[\\/]* ) # Absolute path.
883 ac_srcdir=$srcdir$ac_dir_suffix;
884 ac_top_srcdir=$srcdir ;;
886 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
887 ac_top_srcdir=$ac_top_builddir$srcdir ;;
889 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
891 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
892 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
893 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
894 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
897 # Check for guested configure; otherwise get Cygnus style configure.
898 if test -f $ac_srcdir/configure.gnu; then
900 $SHELL $ac_srcdir/configure.gnu --help=recursive
901 elif test -f $ac_srcdir/configure; then
903 $SHELL $ac_srcdir/configure --help=recursive
904 elif test -f $ac_srcdir/configure.ac ||
905 test -f $ac_srcdir/configure.in; then
909 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
915 test -n "$ac_init_help" && exit 0
916 if $ac_init_version; then
919 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
920 Free Software Foundation, Inc.
921 This configure script is free software; the Free Software Foundation
922 gives unlimited permission to copy, distribute and modify it.
928 This file contains any messages produced by compilers while
929 running configure, to aid debugging if configure makes a mistake.
931 It was created by $as_me, which was
932 generated by GNU Autoconf 2.57. Invocation command line was
943 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
944 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
945 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
946 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
947 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
949 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
950 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
952 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
953 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
954 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
955 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
956 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
957 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
958 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
966 test -z "$as_dir" && as_dir=.
982 # Keep a trace of the command line.
983 # Strip out --no-create and --no-recursion so they do not pile up.
984 # Strip out --silent because we don't want to record it for future runs.
985 # Also quote any args containing shell meta-characters.
986 # Make two passes to allow for proper duplicate-argument suppression.
991 ac_must_keep_next=false
997 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
998 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
999 | -silent | --silent | --silen | --sile | --sil)
1001 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1002 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1005 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1007 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1008 if test $ac_must_keep_next = true; then
1009 ac_must_keep_next=false # Got value, back to normal.
1012 *=* | --config-cache | -C | -disable-* | --disable-* \
1013 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1014 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1015 | -with-* | --with-* | -without-* | --without-* | --x)
1016 case "$ac_configure_args0 " in
1017 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1020 -* ) ac_must_keep_next=true ;;
1023 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1024 # Get rid of the leading space.
1030 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1031 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1033 # When interrupted or exit'd, cleanup temporary files, and complete
1034 # config.log. We remove comments because anyway the quotes in there
1035 # would cause problems or look ugly.
1036 # WARNING: Be sure not to use single quotes in there, as some shells,
1037 # such as our DU 5.0 friend, will then `close
' the trap.
1038 trap 'exit_status
=$?
1039 # Save into config.log some information that might help in debugging.
1044 ## ---------------- ##
1045 ## Cache variables. ##
1046 ## ---------------- ##
1049 # The following way of writing the cache mishandles newlines in values,
1052 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1055 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1056 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1060 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1067 ## ----------------- ##
1068 ## Output variables. ##
1069 ## ----------------- ##
1072 for ac_var
in $ac_subst_vars
1074 eval ac_val
=$
`echo $ac_var`
1075 echo "$ac_var='"'"'$ac_val'"'"'"
1079 if test -n "$ac_subst_files"; then
1086 for ac_var
in $ac_subst_files
1088 eval ac_val
=$
`echo $ac_var`
1089 echo "$ac_var='"'"'$ac_val'"'"'"
1094 if test -s confdefs.h
; then
1101 sed "/^$/d" confdefs.h |
sort
1104 test "$ac_signal" != 0 &&
1105 echo "$as_me: caught signal $ac_signal"
1106 echo "$as_me: exit $exit_status"
1108 rm -f core core.
* *.core
&&
1109 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1112 for ac_signal in 1 2 13 15; do
1113 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1117 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1118 rm -rf conftest* confdefs.h
1119 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1122 # Predefined preprocessor variables.
1124 cat >>confdefs.h <<_ACEOF
1125 #define PACKAGE_NAME "$PACKAGE_NAME"
1129 cat >>confdefs.h <<_ACEOF
1130 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1134 cat >>confdefs.h <<_ACEOF
1135 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1139 cat >>confdefs.h <<_ACEOF
1140 #define PACKAGE_STRING "$PACKAGE_STRING"
1144 cat >>confdefs.h <<_ACEOF
1145 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1149 # Let the site file select an alternate cache file if it wants to.
1150 # Prefer explicitly selected file to automatically selected ones.
1151 if test -z "$CONFIG_SITE"; then
1152 if test "x$prefix" != xNONE; then
1153 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1155 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1158 for ac_site_file in $CONFIG_SITE; do
1159 if test -r "$ac_site_file"; then
1160 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1161 echo "$as_me: loading site script $ac_site_file" >&6;}
1162 sed 's
/^
/|
/' "$ac_site_file" >&5
1167 if test -r "$cache_file"; then
1168 # Some versions of bash will fail to source /dev/null (special
1169 # files actually), so we avoid doing that.
1170 if test -f "$cache_file"; then
1171 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1172 echo "$as_me: loading cache $cache_file" >&6;}
1174 [\\/]* | ?:[\\/]* ) . $cache_file;;
1175 *) . ./$cache_file;;
1179 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1180 echo "$as_me: creating cache $cache_file" >&6;}
1184 # Check that the precious variables saved in the cache have kept the same
1186 ac_cache_corrupted=false
1187 for ac_var in `(set) 2>&1 |
1188 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1189 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1190 eval ac_new_set=\$ac_env_${ac_var}_set
1191 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1192 eval ac_new_val="\$ac_env_${ac_var}_value"
1193 case $ac_old_set,$ac_new_set in
1195 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1196 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1197 ac_cache_corrupted=: ;;
1199 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1200 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1201 ac_cache_corrupted=: ;;
1204 if test "x$ac_old_val" != "x$ac_new_val"; then
1205 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1206 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1207 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1208 echo "$as_me: former value: $ac_old_val" >&2;}
1209 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1210 echo "$as_me: current value: $ac_new_val" >&2;}
1211 ac_cache_corrupted=:
1214 # Pass precious variables to config.status.
1215 if test "$ac_new_set" = set; then
1217 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1218 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1219 *) ac_arg=$ac_var=$ac_new_val ;;
1221 case " $ac_configure_args " in
1222 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1223 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1227 if $ac_cache_corrupted; then
1228 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1229 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1230 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1231 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1232 { (exit 1); exit 1; }; }
1236 ac_cpp='$CPP $CPPFLAGS'
1237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1238 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1262 ac_cpp='$CPP $CPPFLAGS'
1263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1264 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1266 if test -n "$ac_tool_prefix"; then
1267 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1268 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1269 echo "$as_me:$LINENO: checking for $ac_word" >&5
1270 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1271 if test "${ac_cv_prog_CC+set}" = set; then
1272 echo $ECHO_N "(cached) $ECHO_C" >&6
1274 if test -n "$CC"; then
1275 ac_cv_prog_CC="$CC" # Let the user override the test.
1277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1281 test -z "$as_dir" && as_dir=.
1282 for ac_exec_ext in '' $ac_executable_extensions; do
1283 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1284 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1285 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1294 if test -n "$CC"; then
1295 echo "$as_me:$LINENO: result: $CC" >&5
1296 echo "${ECHO_T}$CC" >&6
1298 echo "$as_me:$LINENO: result: no" >&5
1299 echo "${ECHO_T}no" >&6
1303 if test -z "$ac_cv_prog_CC"; then
1305 # Extract the first word of "gcc", so it can be a program name with args.
1306 set dummy gcc; ac_word=$2
1307 echo "$as_me:$LINENO: checking for $ac_word" >&5
1308 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1310 echo $ECHO_N "(cached) $ECHO_C" >&6
1312 if test -n "$ac_ct_CC"; then
1313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1319 test -z "$as_dir" && as_dir=.
1320 for ac_exec_ext in '' $ac_executable_extensions; do
1321 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1322 ac_cv_prog_ac_ct_CC="gcc"
1323 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1332 if test -n "$ac_ct_CC"; then
1333 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1334 echo "${ECHO_T}$ac_ct_CC" >&6
1336 echo "$as_me:$LINENO: result: no" >&5
1337 echo "${ECHO_T}no" >&6
1345 if test -z "$CC"; then
1346 if test -n "$ac_tool_prefix"; then
1347 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1348 set dummy ${ac_tool_prefix}cc; ac_word=$2
1349 echo "$as_me:$LINENO: checking for $ac_word" >&5
1350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1351 if test "${ac_cv_prog_CC+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 if test -n "$CC"; then
1355 ac_cv_prog_CC="$CC" # Let the user override the test.
1357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1361 test -z "$as_dir" && as_dir=.
1362 for ac_exec_ext in '' $ac_executable_extensions; do
1363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1364 ac_cv_prog_CC="${ac_tool_prefix}cc"
1365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1374 if test -n "$CC"; then
1375 echo "$as_me:$LINENO: result: $CC" >&5
1376 echo "${ECHO_T}$CC" >&6
1378 echo "$as_me:$LINENO: result: no" >&5
1379 echo "${ECHO_T}no" >&6
1383 if test -z "$ac_cv_prog_CC"; then
1385 # Extract the first word of "cc", so it can be a program name with args.
1386 set dummy cc; ac_word=$2
1387 echo "$as_me:$LINENO: checking for $ac_word" >&5
1388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1389 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 if test -n "$ac_ct_CC"; then
1393 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399 test -z "$as_dir" && as_dir=.
1400 for ac_exec_ext in '' $ac_executable_extensions; do
1401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1402 ac_cv_prog_ac_ct_CC="cc"
1403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1411 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1412 if test -n "$ac_ct_CC"; then
1413 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1414 echo "${ECHO_T}$ac_ct_CC" >&6
1416 echo "$as_me:$LINENO: result: no" >&5
1417 echo "${ECHO_T}no" >&6
1426 if test -z "$CC"; then
1427 # Extract the first word of "cc", so it can be a program name with args.
1428 set dummy cc; ac_word=$2
1429 echo "$as_me:$LINENO: checking for $ac_word" >&5
1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1431 if test "${ac_cv_prog_CC+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 if test -n "$CC"; then
1435 ac_cv_prog_CC="$CC" # Let the user override the test.
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1442 test -z "$as_dir" && as_dir=.
1443 for ac_exec_ext in '' $ac_executable_extensions; do
1444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1445 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1446 ac_prog_rejected=yes
1450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1456 if test $ac_prog_rejected = yes; then
1457 # We found a bogon in the path, so make sure we never use it.
1458 set dummy $ac_cv_prog_CC
1460 if test $# != 0; then
1461 # We chose a different compiler from the bogus one.
1462 # However, it has the same basename, so the bogon will be chosen
1463 # first if we set CC to just the basename; use the full file name.
1465 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1471 if test -n "$CC"; then
1472 echo "$as_me:$LINENO: result: $CC" >&5
1473 echo "${ECHO_T}$CC" >&6
1475 echo "$as_me:$LINENO: result: no" >&5
1476 echo "${ECHO_T}no" >&6
1480 if test -z "$CC"; then
1481 if test -n "$ac_tool_prefix"; then
1484 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1485 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1486 echo "$as_me:$LINENO: checking for $ac_word" >&5
1487 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1488 if test "${ac_cv_prog_CC+set}" = set; then
1489 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 if test -n "$CC"; then
1492 ac_cv_prog_CC="$CC" # Let the user override the test.
1494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1498 test -z "$as_dir" && as_dir=.
1499 for ac_exec_ext in '' $ac_executable_extensions; do
1500 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1501 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1502 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1511 if test -n "$CC"; then
1512 echo "$as_me:$LINENO: result: $CC" >&5
1513 echo "${ECHO_T}$CC" >&6
1515 echo "$as_me:$LINENO: result: no" >&5
1516 echo "${ECHO_T}no" >&6
1519 test -n "$CC" && break
1522 if test -z "$CC"; then
1526 # Extract the first word of "$ac_prog", so it can be a program name with args.
1527 set dummy $ac_prog; ac_word=$2
1528 echo "$as_me:$LINENO: checking for $ac_word" >&5
1529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1530 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 if test -n "$ac_ct_CC"; then
1534 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir=.
1541 for ac_exec_ext in '' $ac_executable_extensions; do
1542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1543 ac_cv_prog_ac_ct_CC="$ac_prog"
1544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1552 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1553 if test -n "$ac_ct_CC"; then
1554 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1555 echo "${ECHO_T}$ac_ct_CC" >&6
1557 echo "$as_me:$LINENO: result: no" >&5
1558 echo "${ECHO_T}no" >&6
1561 test -n "$ac_ct_CC" && break
1570 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1571 See \`config.log' for more details.
" >&5
1572 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1573 See \
`config.log' for more details." >&2;}
1574 { (exit 1); exit 1; }; }
1576 # Provide some information about the compiler.
1577 echo "$as_me:$LINENO:" \
1578 "checking for C compiler version" >&5
1579 ac_compiler=`set X
$ac_compile; echo $2`
1580 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1581 (eval $ac_compiler --version </dev/null >&5) 2>&5
1583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1584 (exit $ac_status); }
1585 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1586 (eval $ac_compiler -v </dev/null >&5) 2>&5
1588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1589 (exit $ac_status); }
1590 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1591 (eval $ac_compiler -V </dev/null >&5) 2>&5
1593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1594 (exit $ac_status); }
1596 cat >conftest.$ac_ext <<_ACEOF
1597 #line $LINENO "configure"
1600 cat confdefs.h >>conftest.$ac_ext
1601 cat >>conftest.$ac_ext <<_ACEOF
1602 /* end confdefs.h. */
1612 ac_clean_files_save=$ac_clean_files
1613 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1614 # Try to create an executable without -o first, disregard a.out.
1615 # It will help us diagnose broken compilers, and finding out an intuition
1617 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1618 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1619 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1620 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1621 (eval $ac_link_default) 2>&5
1623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1624 (exit $ac_status); }; then
1625 # Find the output, starting from the most likely. This scheme is
1626 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1629 # Be careful to initialize this variable, since it used to be cached.
1630 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1632 # b.out is created by i960 compilers.
1633 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1635 test -f "$ac_file" || continue
1637 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1640 # This is the source file.
1643 # We found the default executable, but exeext='' is most
1647 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1648 # FIXME: I believe we export ac_cv_exeext for Libtool,
1649 # but it would be cool to find out if it's true. Does anybody
1650 # maintain Libtool? --akim.
1658 echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1661 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1662 See \`config.log
' for more details." >&5
1663 echo "$as_me: error: C compiler cannot create executables
1664 See \`config.log' for more details.
" >&2;}
1665 { (exit 77); exit 77; }; }
1668 ac_exeext=$ac_cv_exeext
1669 echo "$as_me:$LINENO: result
: $ac_file" >&5
1670 echo "${ECHO_T}$ac_file" >&6
1672 # Check the compiler produces executables we can run. If not, either
1673 # the compiler is broken, or we cross compile.
1674 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1675 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1676 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1677 # If not cross compiling, check that we can run a simple program.
1678 if test "$cross_compiling" != yes; then
1679 if { ac_try='./$ac_file'
1680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1683 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1684 (exit $ac_status); }; }; then
1687 if test "$cross_compiling" = maybe; then
1690 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1691 If you meant to cross compile
, use \
`--host'.
1692 See \`config.log
' for more details." >&5
1693 echo "$as_me: error: cannot run C compiled programs.
1694 If you meant to cross compile, use \`--host'.
1695 See \
`config.log' for more details." >&2;}
1696 { (exit 1); exit 1; }; }
1700 echo "$as_me:$LINENO: result: yes" >&5
1701 echo "${ECHO_T}yes" >&6
1703 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1704 ac_clean_files=$ac_clean_files_save
1705 # Check the compiler produces executables we can run. If not, either
1706 # the compiler is broken, or we cross compile.
1707 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1708 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1709 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1710 echo "${ECHO_T}$cross_compiling" >&6
1712 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1713 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1714 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1715 (eval $ac_link) 2>&5
1717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1718 (exit $ac_status); }; then
1719 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1720 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1721 # work properly (i.e., refer to `conftest.exe'), while it won't with
1723 for ac_file
in conftest.exe conftest conftest.
*; do
1724 test -f "$ac_file" ||
continue
1726 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1727 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1734 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1735 See \`config.log' for more details." >&5
1736 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1737 See \`config.log' for more details." >&2;}
1738 { (exit 1); exit 1; }; }
1741 rm -f conftest
$ac_cv_exeext
1742 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1743 echo "${ECHO_T}$ac_cv_exeext" >&6
1745 rm -f conftest.
$ac_ext
1746 EXEEXT
=$ac_cv_exeext
1748 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1749 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1750 if test "${ac_cv_objext+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 cat >conftest.
$ac_ext <<_ACEOF
1754 #line $LINENO "configure"
1757 cat confdefs.h
>>conftest.
$ac_ext
1758 cat >>conftest.
$ac_ext <<_ACEOF
1759 /* end confdefs.h. */
1769 rm -f conftest.o conftest.obj
1770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1771 (eval $ac_compile) 2>&5
1773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1774 (exit $ac_status); }; then
1775 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1777 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1778 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1783 echo "$as_me: failed program was:" >&5
1784 sed 's/^/| /' conftest.
$ac_ext >&5
1786 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1787 See \`config.log' for more details." >&5
1788 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1789 See \`config.log' for more details." >&2;}
1790 { (exit 1); exit 1; }; }
1793 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1795 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1796 echo "${ECHO_T}$ac_cv_objext" >&6
1797 OBJEXT
=$ac_cv_objext
1799 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1800 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1801 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 cat >conftest.
$ac_ext <<_ACEOF
1805 #line $LINENO "configure"
1808 cat confdefs.h
>>conftest.
$ac_ext
1809 cat >>conftest.
$ac_ext <<_ACEOF
1810 /* end confdefs.h. */
1823 rm -f conftest.
$ac_objext
1824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1825 (eval $ac_compile) 2>&5
1827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1828 (exit $ac_status); } &&
1829 { ac_try
='test -s conftest.$ac_objext'
1830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1834 (exit $ac_status); }; }; then
1837 echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.
$ac_ext >&5
1842 rm -f conftest.
$ac_objext conftest.
$ac_ext
1843 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1846 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1847 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1848 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1849 ac_test_CFLAGS
=${CFLAGS+set}
1850 ac_save_CFLAGS
=$CFLAGS
1852 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1853 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1854 if test "${ac_cv_prog_cc_g+set}" = set; then
1855 echo $ECHO_N "(cached) $ECHO_C" >&6
1857 cat >conftest.
$ac_ext <<_ACEOF
1858 #line $LINENO "configure"
1861 cat confdefs.h
>>conftest.
$ac_ext
1862 cat >>conftest.
$ac_ext <<_ACEOF
1863 /* end confdefs.h. */
1873 rm -f conftest.
$ac_objext
1874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1875 (eval $ac_compile) 2>&5
1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878 (exit $ac_status); } &&
1879 { ac_try
='test -s conftest.$ac_objext'
1880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); }; }; then
1887 echo "$as_me: failed program was:" >&5
1888 sed 's/^/| /' conftest.
$ac_ext >&5
1892 rm -f conftest.
$ac_objext conftest.
$ac_ext
1894 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1895 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1896 if test "$ac_test_CFLAGS" = set; then
1897 CFLAGS
=$ac_save_CFLAGS
1898 elif test $ac_cv_prog_cc_g = yes; then
1899 if test "$GCC" = yes; then
1905 if test "$GCC" = yes; then
1911 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1912 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1913 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1914 echo $ECHO_N "(cached) $ECHO_C" >&6
1916 ac_cv_prog_cc_stdc
=no
1918 cat >conftest.
$ac_ext <<_ACEOF
1919 #line $LINENO "configure"
1922 cat confdefs.h
>>conftest.
$ac_ext
1923 cat >>conftest.
$ac_ext <<_ACEOF
1924 /* end confdefs.h. */
1927 #include <sys/types.h>
1928 #include <sys/stat.h>
1929 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1930 struct buf { int x; };
1931 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1932 static char *e (p, i)
1938 static char *f (char * (*g) (char **, int), char **p, ...)
1943 s = g (p, va_arg (v,int));
1947 int test (int i, double x);
1948 struct s1 {int (*f) (int a);};
1949 struct s2 {int (*f) (double a);};
1950 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1956 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
1961 # Don't try gcc -ansi; that turns off useful extensions and
1962 # breaks some systems' header files.
1963 # AIX -qlanglvl=ansi
1964 # Ultrix and OSF/1 -std1
1965 # HP-UX 10.20 and later -Ae
1966 # HP-UX older versions -Aa -D_HPUX_SOURCE
1967 # SVR4 -Xc -D__EXTENSIONS__
1968 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
1970 CC
="$ac_save_CC $ac_arg"
1971 rm -f conftest.
$ac_objext
1972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1973 (eval $ac_compile) 2>&5
1975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1976 (exit $ac_status); } &&
1977 { ac_try
='test -s conftest.$ac_objext'
1978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); }; }; then
1983 ac_cv_prog_cc_stdc
=$ac_arg
1986 echo "$as_me: failed program was:" >&5
1987 sed 's/^/| /' conftest.
$ac_ext >&5
1990 rm -f conftest.
$ac_objext
1992 rm -f conftest.
$ac_ext conftest.
$ac_objext
1997 case "x$ac_cv_prog_cc_stdc" in
1999 echo "$as_me:$LINENO: result: none needed" >&5
2000 echo "${ECHO_T}none needed" >&6 ;;
2002 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2003 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2004 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2007 # Some people use a C++ compiler to compile C. Since we use `exit',
2008 # in C++ we need to declare it. In case someone uses the same compiler
2009 # for both compiling C and C++ we need to have the C++ compiler decide
2010 # the declaration of exit, since it's the most demanding environment.
2011 cat >conftest.
$ac_ext <<_ACEOF
2016 rm -f conftest.
$ac_objext
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); } &&
2022 { ac_try
='test -s conftest.$ac_objext'
2023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027 (exit $ac_status); }; }; then
2028 for ac_declaration
in \
2030 '#include <stdlib.h>' \
2031 'extern "C" void std::exit (int) throw (); using std::exit;' \
2032 'extern "C" void std::exit (int); using std::exit;' \
2033 'extern "C" void exit (int) throw ();' \
2034 'extern "C" void exit (int);' \
2037 cat >conftest.
$ac_ext <<_ACEOF
2038 #line $LINENO "configure"
2041 cat confdefs.h
>>conftest.
$ac_ext
2042 cat >>conftest.
$ac_ext <<_ACEOF
2043 /* end confdefs.h. */
2054 rm -f conftest.
$ac_objext
2055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2056 (eval $ac_compile) 2>&5
2058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2059 (exit $ac_status); } &&
2060 { ac_try
='test -s conftest.$ac_objext'
2061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2065 (exit $ac_status); }; }; then
2068 echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.
$ac_ext >&5
2073 rm -f conftest.
$ac_objext conftest.
$ac_ext
2074 cat >conftest.
$ac_ext <<_ACEOF
2075 #line $LINENO "configure"
2078 cat confdefs.h
>>conftest.
$ac_ext
2079 cat >>conftest.
$ac_ext <<_ACEOF
2080 /* end confdefs.h. */
2090 rm -f conftest.
$ac_objext
2091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2092 (eval $ac_compile) 2>&5
2094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2095 (exit $ac_status); } &&
2096 { ac_try
='test -s conftest.$ac_objext'
2097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2101 (exit $ac_status); }; }; then
2104 echo "$as_me: failed program was:" >&5
2105 sed 's/^/| /' conftest.
$ac_ext >&5
2108 rm -f conftest.
$ac_objext conftest.
$ac_ext
2111 if test -n "$ac_declaration"; then
2112 echo '#ifdef __cplusplus' >>confdefs.h
2113 echo $ac_declaration >>confdefs.h
2114 echo '#endif' >>confdefs.h
2118 echo "$as_me: failed program was:" >&5
2119 sed 's/^/| /' conftest.
$ac_ext >&5
2122 rm -f conftest.
$ac_objext conftest.
$ac_ext
2124 ac_cpp
='$CPP $CPPFLAGS'
2125 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2126 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2127 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2131 echo "$as_me:$LINENO: checking for main in -lpython" >&5
2132 echo $ECHO_N "checking for main in -lpython... $ECHO_C" >&6
2133 if test "${ac_cv_lib_python_main+set}" = set; then
2134 echo $ECHO_N "(cached) $ECHO_C" >&6
2136 ac_check_lib_save_LIBS
=$LIBS
2137 LIBS
="-lpython $LIBS"
2138 cat >conftest.
$ac_ext <<_ACEOF
2139 #line $LINENO "configure"
2142 cat confdefs.h
>>conftest.
$ac_ext
2143 cat >>conftest.
$ac_ext <<_ACEOF
2144 /* end confdefs.h. */
2155 rm -f conftest.
$ac_objext conftest
$ac_exeext
2156 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2157 (eval $ac_link) 2>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); } &&
2161 { ac_try
='test -s conftest$ac_exeext'
2162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2166 (exit $ac_status); }; }; then
2167 ac_cv_lib_python_main
=yes
2169 echo "$as_me: failed program was:" >&5
2170 sed 's/^/| /' conftest.
$ac_ext >&5
2172 ac_cv_lib_python_main
=no
2174 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
2175 LIBS
=$ac_check_lib_save_LIBS
2177 echo "$as_me:$LINENO: result: $ac_cv_lib_python_main" >&5
2178 echo "${ECHO_T}$ac_cv_lib_python_main" >&6
2179 if test $ac_cv_lib_python_main = yes; then
2180 cat >>confdefs.h
<<_ACEOF
2181 #define HAVE_LIBPYTHON 1
2184 LIBS
="-lpython $LIBS"
2190 ac_cpp
='$CPP $CPPFLAGS'
2191 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2192 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2193 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2194 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2195 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2196 # On Suns, sometimes $CPP names a directory.
2197 if test -n "$CPP" && test -d "$CPP"; then
2200 if test -z "$CPP"; then
2201 if test "${ac_cv_prog_CPP+set}" = set; then
2202 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 # Double quotes because CPP needs to be expanded
2205 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2208 for ac_c_preproc_warn_flag
in '' yes
2210 # Use a header file that comes with gcc, so configuring glibc
2211 # with a fresh cross-compiler works.
2212 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2213 # <limits.h> exists even on freestanding compilers.
2214 # On the NeXT, cc -E runs the code through the compiler's parser,
2215 # not just through cpp. "Syntax error" is here to catch this case.
2216 cat >conftest.
$ac_ext <<_ACEOF
2217 #line $LINENO "configure"
2220 cat confdefs.h
>>conftest.
$ac_ext
2221 cat >>conftest.
$ac_ext <<_ACEOF
2222 /* end confdefs.h. */
2224 # include <limits.h>
2226 # include <assert.h>
2230 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2231 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2233 grep -v '^ *+' conftest.er1
>conftest.err
2235 cat conftest.err
>&5
2236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2237 (exit $ac_status); } >/dev
/null
; then
2238 if test -s conftest.err
; then
2239 ac_cpp_err
=$ac_c_preproc_warn_flag
2246 if test -z "$ac_cpp_err"; then
2249 echo "$as_me: failed program was:" >&5
2250 sed 's/^/| /' conftest.
$ac_ext >&5
2252 # Broken: fails on valid input.
2255 rm -f conftest.err conftest.
$ac_ext
2257 # OK, works on sane cases. Now check whether non-existent headers
2258 # can be detected and how.
2259 cat >conftest.
$ac_ext <<_ACEOF
2260 #line $LINENO "configure"
2263 cat confdefs.h
>>conftest.
$ac_ext
2264 cat >>conftest.
$ac_ext <<_ACEOF
2265 /* end confdefs.h. */
2266 #include <ac_nonexistent.h>
2268 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2269 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2271 grep -v '^ *+' conftest.er1
>conftest.err
2273 cat conftest.err
>&5
2274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2275 (exit $ac_status); } >/dev
/null
; then
2276 if test -s conftest.err
; then
2277 ac_cpp_err
=$ac_c_preproc_warn_flag
2284 if test -z "$ac_cpp_err"; then
2285 # Broken: success on invalid input.
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2291 # Passes both tests.
2295 rm -f conftest.err conftest.
$ac_ext
2298 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2299 rm -f conftest.err conftest.
$ac_ext
2300 if $ac_preproc_ok; then
2312 echo "$as_me:$LINENO: result: $CPP" >&5
2313 echo "${ECHO_T}$CPP" >&6
2315 for ac_c_preproc_warn_flag
in '' yes
2317 # Use a header file that comes with gcc, so configuring glibc
2318 # with a fresh cross-compiler works.
2319 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2320 # <limits.h> exists even on freestanding compilers.
2321 # On the NeXT, cc -E runs the code through the compiler's parser,
2322 # not just through cpp. "Syntax error" is here to catch this case.
2323 cat >conftest.
$ac_ext <<_ACEOF
2324 #line $LINENO "configure"
2327 cat confdefs.h
>>conftest.
$ac_ext
2328 cat >>conftest.
$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2331 # include <limits.h>
2333 # include <assert.h>
2337 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2338 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2340 grep -v '^ *+' conftest.er1
>conftest.err
2342 cat conftest.err
>&5
2343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2344 (exit $ac_status); } >/dev
/null
; then
2345 if test -s conftest.err
; then
2346 ac_cpp_err
=$ac_c_preproc_warn_flag
2353 if test -z "$ac_cpp_err"; then
2356 echo "$as_me: failed program was:" >&5
2357 sed 's/^/| /' conftest.
$ac_ext >&5
2359 # Broken: fails on valid input.
2362 rm -f conftest.err conftest.
$ac_ext
2364 # OK, works on sane cases. Now check whether non-existent headers
2365 # can be detected and how.
2366 cat >conftest.
$ac_ext <<_ACEOF
2367 #line $LINENO "configure"
2370 cat confdefs.h
>>conftest.
$ac_ext
2371 cat >>conftest.
$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2373 #include <ac_nonexistent.h>
2375 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2376 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2378 grep -v '^ *+' conftest.er1
>conftest.err
2380 cat conftest.err
>&5
2381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2382 (exit $ac_status); } >/dev
/null
; then
2383 if test -s conftest.err
; then
2384 ac_cpp_err
=$ac_c_preproc_warn_flag
2391 if test -z "$ac_cpp_err"; then
2392 # Broken: success on invalid input.
2395 echo "$as_me: failed program was:" >&5
2396 sed 's/^/| /' conftest.
$ac_ext >&5
2398 # Passes both tests.
2402 rm -f conftest.err conftest.
$ac_ext
2405 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2406 rm -f conftest.err conftest.
$ac_ext
2407 if $ac_preproc_ok; then
2410 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2411 See \`config.log' for more details." >&5
2412 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2413 See \`config.log' for more details." >&2;}
2414 { (exit 1); exit 1; }; }
2418 ac_cpp
='$CPP $CPPFLAGS'
2419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2424 echo "$as_me:$LINENO: checking for egrep" >&5
2425 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2426 if test "${ac_cv_prog_egrep+set}" = set; then
2427 echo $ECHO_N "(cached) $ECHO_C" >&6
2429 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2430 then ac_cv_prog_egrep
='grep -E'
2431 else ac_cv_prog_egrep
='egrep'
2434 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2435 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2436 EGREP
=$ac_cv_prog_egrep
2439 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2440 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2441 if test "${ac_cv_header_stdc+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 cat >conftest.
$ac_ext <<_ACEOF
2445 #line $LINENO "configure"
2448 cat confdefs.h
>>conftest.
$ac_ext
2449 cat >>conftest.
$ac_ext <<_ACEOF
2450 /* end confdefs.h. */
2464 rm -f conftest.
$ac_objext
2465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2466 (eval $ac_compile) 2>&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); } &&
2470 { ac_try
='test -s conftest.$ac_objext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2476 ac_cv_header_stdc
=yes
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.
$ac_ext >&5
2481 ac_cv_header_stdc
=no
2483 rm -f conftest.
$ac_objext conftest.
$ac_ext
2485 if test $ac_cv_header_stdc = yes; then
2486 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2487 cat >conftest.
$ac_ext <<_ACEOF
2488 #line $LINENO "configure"
2491 cat confdefs.h
>>conftest.
$ac_ext
2492 cat >>conftest.
$ac_ext <<_ACEOF
2493 /* end confdefs.h. */
2497 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2498 $EGREP "memchr" >/dev
/null
2>&1; then
2501 ac_cv_header_stdc
=no
2507 if test $ac_cv_header_stdc = yes; then
2508 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2509 cat >conftest.
$ac_ext <<_ACEOF
2510 #line $LINENO "configure"
2513 cat confdefs.h
>>conftest.
$ac_ext
2514 cat >>conftest.
$ac_ext <<_ACEOF
2515 /* end confdefs.h. */
2519 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2520 $EGREP "free" >/dev
/null
2>&1; then
2523 ac_cv_header_stdc
=no
2529 if test $ac_cv_header_stdc = yes; then
2530 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2531 if test "$cross_compiling" = yes; then
2534 cat >conftest.
$ac_ext <<_ACEOF
2535 #line $LINENO "configure"
2538 cat confdefs.h
>>conftest.
$ac_ext
2539 cat >>conftest.
$ac_ext <<_ACEOF
2540 /* end confdefs.h. */
2542 #if ((' ' & 0x0FF) == 0x020)
2543 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2544 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2546 # define ISLOWER(c) \
2547 (('a' <= (c) && (c) <= 'i') \
2548 || ('j' <= (c) && (c) <= 'r') \
2549 || ('s' <= (c) && (c) <= 'z'))
2550 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2553 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2558 for (i = 0; i < 256; i++)
2559 if (XOR (islower (i), ISLOWER (i))
2560 || toupper (i) != TOUPPER (i))
2565 rm -f conftest
$ac_exeext
2566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2567 (eval $ac_link) 2>&5
2569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2570 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2575 (exit $ac_status); }; }; then
2578 echo "$as_me: program exited with status $ac_status" >&5
2579 echo "$as_me: failed program was:" >&5
2580 sed 's/^/| /' conftest.
$ac_ext >&5
2583 ac_cv_header_stdc
=no
2585 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2589 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2590 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2591 if test $ac_cv_header_stdc = yes; then
2593 cat >>confdefs.h
<<\_ACEOF
2594 #define STDC_HEADERS 1
2599 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2609 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2610 inttypes.h stdint.h unistd.h
2612 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2613 echo "$as_me:$LINENO: checking for $ac_header" >&5
2614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2615 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2616 echo $ECHO_N "(cached) $ECHO_C" >&6
2618 cat >conftest.
$ac_ext <<_ACEOF
2619 #line $LINENO "configure"
2622 cat confdefs.h
>>conftest.
$ac_ext
2623 cat >>conftest.
$ac_ext <<_ACEOF
2624 /* end confdefs.h. */
2625 $ac_includes_default
2627 #include <$ac_header>
2629 rm -f conftest.
$ac_objext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2631 (eval $ac_compile) 2>&5
2633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2634 (exit $ac_status); } &&
2635 { ac_try
='test -s conftest.$ac_objext'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; }; then
2641 eval "$as_ac_Header=yes"
2643 echo "$as_me: failed program was:" >&5
2644 sed 's/^/| /' conftest.
$ac_ext >&5
2646 eval "$as_ac_Header=no"
2648 rm -f conftest.
$ac_objext conftest.
$ac_ext
2650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2651 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2653 cat >>confdefs.h
<<_ACEOF
2654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2663 for ac_header
in unistd.h
2665 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2667 echo "$as_me:$LINENO: checking for $ac_header" >&5
2668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2670 echo $ECHO_N "(cached) $ECHO_C" >&6
2672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2675 # Is the header compilable?
2676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2677 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2678 cat >conftest.
$ac_ext <<_ACEOF
2679 #line $LINENO "configure"
2682 cat confdefs.h
>>conftest.
$ac_ext
2683 cat >>conftest.
$ac_ext <<_ACEOF
2684 /* end confdefs.h. */
2685 $ac_includes_default
2686 #include <$ac_header>
2688 rm -f conftest.
$ac_objext
2689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2690 (eval $ac_compile) 2>&5
2692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2693 (exit $ac_status); } &&
2694 { ac_try
='test -s conftest.$ac_objext'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; }; then
2700 ac_header_compiler
=yes
2702 echo "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.
$ac_ext >&5
2705 ac_header_compiler
=no
2707 rm -f conftest.
$ac_objext conftest.
$ac_ext
2708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2709 echo "${ECHO_T}$ac_header_compiler" >&6
2711 # Is the header present?
2712 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2714 cat >conftest.
$ac_ext <<_ACEOF
2715 #line $LINENO "configure"
2718 cat confdefs.h
>>conftest.
$ac_ext
2719 cat >>conftest.
$ac_ext <<_ACEOF
2720 /* end confdefs.h. */
2721 #include <$ac_header>
2723 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2724 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2726 grep -v '^ *+' conftest.er1
>conftest.err
2728 cat conftest.err
>&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } >/dev
/null
; then
2731 if test -s conftest.err
; then
2732 ac_cpp_err
=$ac_c_preproc_warn_flag
2739 if test -z "$ac_cpp_err"; then
2740 ac_header_preproc
=yes
2742 echo "$as_me: failed program was:" >&5
2743 sed 's/^/| /' conftest.
$ac_ext >&5
2745 ac_header_preproc
=no
2747 rm -f conftest.err conftest.
$ac_ext
2748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2749 echo "${ECHO_T}$ac_header_preproc" >&6
2751 # So? What about this header?
2752 case $ac_header_compiler:$ac_header_preproc in
2754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2757 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2760 ## ------------------------------------ ##
2761 ## Report this to bug-autoconf@gnu.org. ##
2762 ## ------------------------------------ ##
2765 sed "s/^/$as_me: WARNING: /" >&2
2768 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2769 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2770 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2771 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2772 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2773 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
2776 ## ------------------------------------ ##
2777 ## Report this to bug-autoconf@gnu.org. ##
2778 ## ------------------------------------ ##
2781 sed "s/^/$as_me: WARNING: /" >&2
2784 echo "$as_me:$LINENO: checking for $ac_header" >&5
2785 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2787 echo $ECHO_N "(cached) $ECHO_C" >&6
2789 eval "$as_ac_Header=$ac_header_preproc"
2791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2796 cat >>confdefs.h
<<_ACEOF
2797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2805 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2806 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2807 if test "${ac_cv_c_const+set}" = set; then
2808 echo $ECHO_N "(cached) $ECHO_C" >&6
2810 cat >conftest.
$ac_ext <<_ACEOF
2811 #line $LINENO "configure"
2814 cat confdefs.h
>>conftest.
$ac_ext
2815 cat >>conftest.
$ac_ext <<_ACEOF
2816 /* end confdefs.h. */
2821 /* FIXME: Include the comments suggested by Paul. */
2823 /* Ultrix mips cc rejects this. */
2824 typedef int charset[2];
2826 /* SunOS 4.1.1 cc rejects this. */
2827 char const *const *ccp;
2829 /* NEC SVR4.0.2 mips cc rejects this. */
2830 struct point {int x, y;};
2831 static struct point const zero = {0,0};
2832 /* AIX XL C 1.02.0.0 rejects this.
2833 It does not let you subtract one const X* pointer from another in
2834 an arm of an if-expression whose if-part is not a constant
2836 const char *g = "string";
2837 ccp = &g + (g ? g-g : 0);
2838 /* HPUX 7.0 cc rejects these. */
2841 ccp = (char const *const *) p;
2842 { /* SCO 3.2v4 cc rejects this. */
2844 char const *s = 0 ? (char *) 0 : (char const *) 0;
2848 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2850 const int *foo = &x[0];
2853 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2854 typedef const int *iptr;
2858 { /* AIX XL C 1.02.0.0 rejects this saying
2859 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2860 struct s { int j; const int *ap[3]; };
2861 struct s *b; b->j = 5;
2863 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2872 rm -f conftest.
$ac_objext
2873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2874 (eval $ac_compile) 2>&5
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); } &&
2878 { ac_try
='test -s conftest.$ac_objext'
2879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; }; then
2886 echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.
$ac_ext >&5
2891 rm -f conftest.
$ac_objext conftest.
$ac_ext
2893 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2894 echo "${ECHO_T}$ac_cv_c_const" >&6
2895 if test $ac_cv_c_const = no
; then
2897 cat >>confdefs.h
<<\_ACEOF
2904 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2905 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2906 if test "${ac_cv_header_stdc+set}" = set; then
2907 echo $ECHO_N "(cached) $ECHO_C" >&6
2909 cat >conftest.
$ac_ext <<_ACEOF
2910 #line $LINENO "configure"
2913 cat confdefs.h
>>conftest.
$ac_ext
2914 cat >>conftest.
$ac_ext <<_ACEOF
2915 /* end confdefs.h. */
2929 rm -f conftest.
$ac_objext
2930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2931 (eval $ac_compile) 2>&5
2933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2934 (exit $ac_status); } &&
2935 { ac_try
='test -s conftest.$ac_objext'
2936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); }; }; then
2941 ac_cv_header_stdc
=yes
2943 echo "$as_me: failed program was:" >&5
2944 sed 's/^/| /' conftest.
$ac_ext >&5
2946 ac_cv_header_stdc
=no
2948 rm -f conftest.
$ac_objext conftest.
$ac_ext
2950 if test $ac_cv_header_stdc = yes; then
2951 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2952 cat >conftest.
$ac_ext <<_ACEOF
2953 #line $LINENO "configure"
2956 cat confdefs.h
>>conftest.
$ac_ext
2957 cat >>conftest.
$ac_ext <<_ACEOF
2958 /* end confdefs.h. */
2962 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2963 $EGREP "memchr" >/dev
/null
2>&1; then
2966 ac_cv_header_stdc
=no
2972 if test $ac_cv_header_stdc = yes; then
2973 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2974 cat >conftest.
$ac_ext <<_ACEOF
2975 #line $LINENO "configure"
2978 cat confdefs.h
>>conftest.
$ac_ext
2979 cat >>conftest.
$ac_ext <<_ACEOF
2980 /* end confdefs.h. */
2984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2985 $EGREP "free" >/dev
/null
2>&1; then
2988 ac_cv_header_stdc
=no
2994 if test $ac_cv_header_stdc = yes; then
2995 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2996 if test "$cross_compiling" = yes; then
2999 cat >conftest.
$ac_ext <<_ACEOF
3000 #line $LINENO "configure"
3003 cat confdefs.h
>>conftest.
$ac_ext
3004 cat >>conftest.
$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3007 #if ((' ' & 0x0FF) == 0x020)
3008 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3009 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3011 # define ISLOWER(c) \
3012 (('a' <= (c) && (c) <= 'i') \
3013 || ('j' <= (c) && (c) <= 'r') \
3014 || ('s' <= (c) && (c) <= 'z'))
3015 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3018 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3023 for (i = 0; i < 256; i++)
3024 if (XOR (islower (i), ISLOWER (i))
3025 || toupper (i) != TOUPPER (i))
3030 rm -f conftest
$ac_exeext
3031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3032 (eval $ac_link) 2>&5
3034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3035 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3040 (exit $ac_status); }; }; then
3043 echo "$as_me: program exited with status $ac_status" >&5
3044 echo "$as_me: failed program was:" >&5
3045 sed 's/^/| /' conftest.
$ac_ext >&5
3048 ac_cv_header_stdc
=no
3050 rm -f core core.
* *.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3054 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3055 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3056 if test $ac_cv_header_stdc = yes; then
3058 cat >>confdefs.h
<<\_ACEOF
3059 #define STDC_HEADERS 1
3068 # Check whether --with-python-prefix or --without-python-prefix was given.
3069 if test "${with_python_prefix+set}" = set; then
3070 withval
="$with_python_prefix"
3071 python_prefix
="$withval"
3073 if test -e "$python_prefix/bin/python" ; then
3074 PYPACKAGE
="$python_prefix/bin/python"
3082 for ac_prog
in python
3084 # Extract the first word of "$ac_prog", so it can be a program name with args.
3085 set dummy
$ac_prog; ac_word
=$2
3086 echo "$as_me:$LINENO: checking for $ac_word" >&5
3087 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3088 if test "${ac_cv_path_PYPACKAGE+set}" = set; then
3089 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 ac_cv_path_PYPACKAGE
="$PYPACKAGE" # Let the user override the test with a path.
3096 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir
=.
3101 for ac_exec_ext
in '' $ac_executable_extensions; do
3102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_path_PYPACKAGE
="$as_dir/$ac_word$ac_exec_ext"
3104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 PYPACKAGE
=$ac_cv_path_PYPACKAGE
3115 if test -n "$PYPACKAGE"; then
3116 echo "$as_me:$LINENO: result: $PYPACKAGE" >&5
3117 echo "${ECHO_T}$PYPACKAGE" >&6
3119 echo "$as_me:$LINENO: result: no" >&5
3120 echo "${ECHO_T}no" >&6
3123 test -n "$PYPACKAGE" && break
3129 PY_PREFIX
=`$PYPACKAGE getprefix.py`
3130 PY_VERSION
=`$PYPACKAGE getversion.py`
3133 if test `echo $PY_VERSION | tr -d .` -lt 15; then
3134 echo "Sorry, you need to have Python 1.5+ installed - update your version!"
3135 { { echo "$as_me:$LINENO: error: *** Python 1.5 or better required" >&5
3136 echo "$as_me: error: *** Python 1.5 or better required" >&2;}
3137 { (exit 1); exit 1; }; }
3141 echo "$as_me:$LINENO: checking for Python header files" >&5
3142 echo $ECHO_N "checking for Python header files... $ECHO_C" >&6
3144 PY_INCLUDE
=`$PYPACKAGE -c 'import sys ; print "%s/include/python%s" % (sys.prefix, sys.version[:3])'`
3147 if test -r "$PY_INCLUDE/Python.h"; then
3148 PY_CFLAGS
="-I$PY_INCLUDE"
3150 { { echo "$as_me:$LINENO: error: Could not find Python.h in $PY_INCLUDE" >&5
3151 echo "$as_me: error: Could not find Python.h in $PY_INCLUDE" >&2;}
3152 { (exit 1); exit 1; }; }
3154 echo "$as_me:$LINENO: result: found" >&5
3155 echo "${ECHO_T}found" >&6
3158 echo "$as_me:$LINENO: checking for Python library" >&5
3159 echo $ECHO_N "checking for Python library... $ECHO_C" >&6
3162 PY_PREFIX
=`$PYPACKAGE -c 'import sys; print sys.prefix'`
3163 PYLIBVER
=`$PYPACKAGE -c 'import sys; print sys.version[:3]'`
3166 py_paths
="$PY_PREFIX/lib/python$PYLIBVER/config $PYPREFIX/lib"
3167 py_suffix
="$PYLIBVER.so $PYLIBVER.a .so .a"
3170 for ppath
in $py_paths ; do
3171 if test -r "$ppath/libpython$PYLIBVER.so" -o \
3172 -r "$ppath/libpython$PYLIBVER.a"; then
3173 PYLIB
="-cclib -L$ppath -cclib -lpython$PYLIBVER"
3177 if test -r "$ppath/libpython.so" -o \
3178 -r "$ppath/libpython.a"; then
3179 PYLIB
="-cclib -L$ppath -cclib -lpython"
3184 if test "x$PYLIB" != x
; then
3185 PY_LIBS
="$PYLIB $PY_LIBS"
3186 echo "$as_me:$LINENO: result: found" >&5
3187 echo "${ECHO_T}found" >&6
3189 { { echo "$as_me:$LINENO: error: *** Python library not found" >&5
3190 echo "$as_me: error: *** Python library not found" >&2;}
3191 { (exit 1); exit 1; }; }
3195 # Extract the first word of "ldd", so it can be a program name with args.
3196 set dummy ldd
; ac_word
=$2
3197 echo "$as_me:$LINENO: checking for $ac_word" >&5
3198 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3199 if test "${ac_cv_path_haveldd+set}" = set; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3204 ac_cv_path_haveldd
="$haveldd" # Let the user override the test with a path.
3207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3211 test -z "$as_dir" && as_dir
=.
3212 for ac_exec_ext
in '' $ac_executable_extensions; do
3213 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3214 ac_cv_path_haveldd
="$as_dir/$ac_word$ac_exec_ext"
3215 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3224 haveldd
=$ac_cv_path_haveldd
3226 if test -n "$haveldd"; then
3227 echo "$as_me:$LINENO: result: $haveldd" >&5
3228 echo "${ECHO_T}$haveldd" >&6
3230 echo "$as_me:$LINENO: result: no" >&5
3231 echo "${ECHO_T}no" >&6
3234 echo "$as_me:$LINENO: checking for Python's dependencies" >&5
3235 echo $ECHO_N "checking for Python's dependencies... $ECHO_C" >&6
3237 if test x
$haveldd != x
; then
3239 py_deps
=`ldd $PYPACKAGE | sed 's/\( *lib\([^\/]*\)\.so.*=.*$\)/-cclib\ \"-l\2\"/p; d'`
3240 for py_lib
in $py_deps ; do
3241 if test "$py_lib" != "-lm" && test "$py_lib" != "-lc" ; then
3242 PY_DEPS
="$PY_DEPS $py_lib"
3249 if $LD -v 2>&1 </dev
/null |
egrep '(GNU|with BFD)' 1>&5; then
3250 PY_LIBS
="-Wl,-E $PY_LIBS $PY_DEPS"
3252 PY_LIBS
="$PY_LIBS $PY_DEPS"
3263 ac_config_files
="$ac_config_files Makefile"
3264 cat >confcache
<<\_ACEOF
3265 # This file is a shell script that caches the results of configure
3266 # tests run on this system so they can be shared between configure
3267 # scripts and configure runs, see configure's option --config-cache.
3268 # It is not useful on other systems. If it contains results you don't
3269 # want to keep, you may remove or edit it.
3271 # config.status only pays attention to the cache file if you give it
3272 # the --recheck option to rerun configure.
3274 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3275 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3280 # The following way of writing the cache mishandles newlines in values,
3281 # but we know of no workaround that is simple, portable, and efficient.
3282 # So, don't put newlines in cache variables' values.
3283 # Ultrix sh set writes to stderr and can't be redirected directly,
3284 # and sets the high bit in the cache file unless we assign to the vars.
3287 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3289 # `set' does not quote correctly, so add quotes (double-quote
3290 # substitution turns \\\\ into \\, and sed turns \\ into \).
3293 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3296 # `set' quotes correctly as required by POSIX, so do not add quotes.
3298 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3307 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3309 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
3310 if test -w $cache_file; then
3311 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3312 cat confcache
>$cache_file
3314 echo "not updating unwritable cache $cache_file"
3319 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3320 # Let make expand exec_prefix.
3321 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3323 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3324 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3325 # trailing colons and then remove the whole line if VPATH becomes empty
3326 # (actually we leave an empty line to preserve line numbers).
3327 if test "x$srcdir" = x.
; then
3328 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
3329 s/:*\$(srcdir):*/:/;
3330 s/:*\${srcdir}:*/:/;
3332 s/^\([^=]*=[ ]*\):*/\1/;
3338 # Transform confdefs.h into DEFS.
3339 # Protect against shell expansion while executing Makefile rules.
3340 # Protect against Makefile macro expansion.
3342 # If the first sed substitution is executed (which looks for macros that
3343 # take arguments), then we branch to the quote section. Otherwise,
3344 # look for a macro that doesn't take arguments.
3345 cat >confdef2opt.
sed <<\_ACEOF
3348 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
3350 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
3354 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
3360 # We use echo to avoid assuming a particular line-breaking character.
3361 # The extra dot is to prevent the shell from consuming trailing
3362 # line-breaks from the sub-command output. A line-break within
3363 # single-quotes doesn't work because, if this script is created in a
3364 # platform that uses two characters for line-breaks (e.g., DOS), tr
3366 ac_LF_and_DOT=`echo; echo .
`
3367 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
3368 rm -f confdef2opt.sed
3373 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3374 # 1. Remove the extension, and $U if already installed.
3375 ac_i=`echo "$ac_i" |
3376 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
3378 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
3379 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
3383 LTLIBOBJS=$ac_ltlibobjs
3387 : ${CONFIG_STATUS=./config.status}
3388 ac_clean_files_save=$ac_clean_files
3389 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3390 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3391 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3392 cat >$CONFIG_STATUS <<_ACEOF
3394 # Generated by $as_me.
3395 # Run this file to recreate the current configuration.
3396 # Compiler output produced by configure, useful for debugging
3397 # configure, is in config.log if it exists.
3402 SHELL=\${CONFIG_SHELL-$SHELL}
3405 cat >>$CONFIG_STATUS <<\_ACEOF
3406 ## --------------------- ##
3407 ## M4sh Initialization. ##
3408 ## --------------------- ##
3410 # Be Bourne compatible
3411 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3414 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
3415 # is contrary to our usage. Disable this feature.
3416 alias -g '${1+"$@"}'='"$@"'
3417 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3421 # Support unset when possible.
3422 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3429 # Work around bugs in pre-3.0 UWIN ksh.
3430 $as_unset ENV MAIL MAILPATH
3437 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
3438 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
3439 LC_TELEPHONE LC_TIME
3441 if (set +x; test -n "`(eval $as_var=C
; export $as_var) 2>&1`"); then
3442 eval $as_var=C; export $as_var
3448 # Required to use basename.
3449 if expr a : '\(a\)' >/dev/null 2>&1; then
3455 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
3456 as_basename=basename
3462 # Name of the executable.
3463 as_me=`$as_basename "$0" ||
3464 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3465 X
"$0" : 'X\(//\)$' \| \
3466 X
"$0" : 'X\(/\)$' \| \
3467 .
: '\(.\)' 2>/dev
/null ||
3469 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3470 /^X\/\(\/\/\)$/{ s//\1/; q; }
3471 /^X\/\(\/\).*/{ s//\1/; q; }
3475 # PATH needs CR, and LINENO needs CR and PATH.
3476 # Avoid depending upon Character Ranges.
3477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3480 as_cr_digits='0123456789'
3481 as_cr_alnum=$as_cr_Letters$as_cr_digits
3483 # The user is always right.
3484 if test "${PATH_SEPARATOR+set}" != set; then
3485 echo "#! /bin/sh" >conf$$.sh
3486 echo "exit 0" >>conf$$.sh
3488 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3499 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
3500 test "x$as_lineno_1" != "x$as_lineno_2" &&
3501 test "x$as_lineno_3" = "x$as_lineno_2" || {
3502 # Find who we are. Look in the path if we contain no path at all
3505 *[\\/]* ) as_myself=$0 ;;
3506 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3510 test -z "$as_dir" && as_dir=.
3511 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3516 # We did not find ourselves, most probably we were run as `sh COMMAND
'
3517 # in which case we are not to be found in the path.
3518 if test "x$as_myself" = x; then
3521 if test ! -f "$as_myself"; then
3522 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3523 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3524 { (exit 1); exit 1; }; }
3526 case $CONFIG_SHELL in
3528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3529 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3532 test -z "$as_dir" && as_dir=.
3533 for as_base in sh bash ksh sh5; do
3536 if ("$as_dir/$as_base" -c '
3539 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
3540 test "x$as_lineno_1" != "x$as_lineno_2" &&
3541 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3542 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
3543 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
3544 CONFIG_SHELL=$as_dir/$as_base
3546 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3554 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3555 # uniformly replaced by the line number. The first 'sed' inserts a
3556 # line-number line before each line; the second 'sed' does the real
3557 # work. The second script uses 'N
' to pair each line-number line
3558 # with the numbered line, and appends trailing '-' during
3559 # substitution so that $LINENO is not a special case at line end.
3560 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3561 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
3562 sed '=' <$as_myself |
3567 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3570 s,^['$as_cr_digits']*\n,,
3572 chmod +x
$as_me.lineno ||
3573 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3574 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3575 { (exit 1); exit 1; }; }
3577 # Don't try to exec as it changes $[0], causing all sort of problems
3578 # (the dirname of $[0] is not the place where we might find the
3579 # original and so on. Autoconf is especially sensible to this).
3581 # Exit status is that of the last command.
3586 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3587 *c
*,-n*) ECHO_N
= ECHO_C
='
3589 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
3590 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
3593 if expr a
: '\(a\)' >/dev
/null
2>&1; then
3599 rm -f conf$$ conf$$.exe conf$$.
file
3601 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3602 # We could just check for DJGPP; but this test a) works b) is more generic
3603 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3604 if test -f conf$$.exe
; then
3605 # Don't use ln at all; we don't have any links
3610 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3615 rm -f conf$$ conf$$.exe conf$$.
file
3617 if mkdir
-p .
2>/dev
/null
; then
3623 as_executable_p
="test -f"
3625 # Sed expression to map a string onto a valid CPP name.
3626 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3628 # Sed expression to map a string onto a valid variable name.
3629 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3633 # We need space, tab and new line, in precisely that order.
3643 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3644 # report actual input values of CONFIG_FILES etc. instead of their
3645 # values after options handling. Logging --version etc. is OK.
3649 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3650 ## Running $as_me. ##
3655 This file was extended by $as_me, which was
3656 generated by GNU Autoconf 2.57. Invocation command line was
3658 CONFIG_FILES = $CONFIG_FILES
3659 CONFIG_HEADERS = $CONFIG_HEADERS
3660 CONFIG_LINKS = $CONFIG_LINKS
3661 CONFIG_COMMANDS = $CONFIG_COMMANDS
3665 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3669 # Files that config.status was made for.
3670 if test -n "$ac_config_files"; then
3671 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3674 if test -n "$ac_config_headers"; then
3675 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3678 if test -n "$ac_config_links"; then
3679 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3682 if test -n "$ac_config_commands"; then
3683 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3686 cat >>$CONFIG_STATUS <<\_ACEOF
3689 \`$as_me' instantiates files from templates according to the
3690 current configuration.
3692 Usage: $0 [OPTIONS] [FILE]...
3694 -h, --help print this help, then exit
3695 -V, --version print version number, then exit
3696 -q, --quiet do not print progress messages
3697 -d, --debug don't remove temporary files
3698 --recheck update $as_me by reconfiguring in the same conditions
3699 --file=FILE[:TEMPLATE]
3700 instantiate the configuration file FILE
3702 Configuration files:
3705 Report bugs to <bug-autoconf@gnu.org>."
3708 cat >>$CONFIG_STATUS <<_ACEOF
3711 configured by $0, generated by GNU Autoconf 2.57,
3712 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3714 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3715 Free Software Foundation, Inc.
3716 This config.status script is free software; the Free Software Foundation
3717 gives unlimited permission to copy, distribute and modify it."
3721 cat >>$CONFIG_STATUS <<\_ACEOF
3722 # If no file are specified by the user, then we need to provide default
3723 # value. By we need to know if files were specified by the user.
3729 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
3730 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
3738 *) # This is not an option, so the user has probably given explicit
3741 ac_need_defaults
=false
;;
3745 # Handling of the options.
3747 cat >>$CONFIG_STATUS <<\_ACEOF
3748 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
3750 --version |
--vers* |
-V )
3751 echo "$ac_cs_version"; exit 0 ;;
3753 # Conflict between --help and --header
3754 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3755 Try \`$0 --help' for more information." >&5
3756 echo "$as_me: error: ambiguous option: $1
3757 Try \`$0 --help' for more information." >&2;}
3758 { (exit 1); exit 1; }; };;
3759 --help |
--hel |
-h )
3760 echo "$ac_cs_usage"; exit 0 ;;
3761 --debug |
--d* |
-d )
3763 --file |
--fil |
--fi |
--f )
3765 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
3766 ac_need_defaults
=false
;;
3767 --header |
--heade |
--head |
--hea )
3769 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
3770 ac_need_defaults
=false
;;
3771 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
3772 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
3776 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
3777 Try \`$0 --help' for more information." >&5
3778 echo "$as_me: error: unrecognized option: $1
3779 Try \`$0 --help' for more information." >&2;}
3780 { (exit 1); exit 1; }; } ;;
3782 *) ac_config_targets
="$ac_config_targets $1" ;;
3788 ac_configure_extra_args
=
3790 if $ac_cs_silent; then
3792 ac_configure_extra_args
="$ac_configure_extra_args --silent"
3796 cat >>$CONFIG_STATUS <<_ACEOF
3797 if \$ac_cs_recheck; then
3798 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3799 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3808 cat >>$CONFIG_STATUS <<\_ACEOF
3809 for ac_config_target
in $ac_config_targets
3811 case "$ac_config_target" in
3812 # Handling of arguments.
3813 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
3814 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3815 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3816 { (exit 1); exit 1; }; };;
3820 # If the user did not use the arguments to specify the items to instantiate,
3821 # then the envvar interface is used. Set only those that are not.
3822 # We use the long form for the default assignment because of an extremely
3823 # bizarre bug on SunOS 4.1.3.
3824 if $ac_need_defaults; then
3825 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
3828 # Have a temporary directory for convenience. Make it in the build tree
3829 # simply because there is no reason to put it here, and in addition,
3830 # creating and moving files from /tmp can sometimes cause problems.
3831 # Create a temporary directory, and hook for its removal unless debugging.
3834 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3835 trap '{ (exit 1); exit 1; }' 1 2 13 15
3838 # Create a (secure) tmp directory for tmp files.
3841 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
3842 test -n "$tmp" && test -d "$tmp"
3845 tmp
=.
/confstat$$
-$RANDOM
3846 (umask 077 && mkdir
$tmp)
3849 echo "$me: cannot create a temporary directory in ." >&2
3850 { (exit 1); exit 1; }
3855 cat >>$CONFIG_STATUS <<_ACEOF
3858 # CONFIG_FILES section.
3861 # No need to generate the scripts if there are no CONFIG_FILES.
3862 # This happens for instance when ./config.status config.h
3863 if test -n "\$CONFIG_FILES"; then
3864 # Protect against being on the right side of a sed subst in config.status.
3865 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
3866 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
3867 s,@SHELL@,$SHELL,;t t
3868 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
3869 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
3870 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
3871 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
3872 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
3873 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
3874 s,@exec_prefix@,$exec_prefix,;t t
3875 s,@prefix@,$prefix,;t t
3876 s,@program_transform_name@,$program_transform_name,;t t
3877 s,@bindir@,$bindir,;t t
3878 s,@sbindir@,$sbindir,;t t
3879 s,@libexecdir@,$libexecdir,;t t
3880 s,@datadir@,$datadir,;t t
3881 s,@sysconfdir@,$sysconfdir,;t t
3882 s,@sharedstatedir@,$sharedstatedir,;t t
3883 s,@localstatedir@,$localstatedir,;t t
3884 s,@libdir@,$libdir,;t t
3885 s,@includedir@,$includedir,;t t
3886 s,@oldincludedir@,$oldincludedir,;t t
3887 s,@infodir@,$infodir,;t t
3888 s,@mandir@,$mandir,;t t
3889 s,@build_alias@,$build_alias,;t t
3890 s,@host_alias@,$host_alias,;t t
3891 s,@target_alias@,$target_alias,;t t
3893 s,@ECHO_C@,$ECHO_C,;t t
3894 s,@ECHO_N@,$ECHO_N,;t t
3895 s,@ECHO_T@,$ECHO_T,;t t
3898 s,@CFLAGS@,$CFLAGS,;t t
3899 s,@LDFLAGS@,$LDFLAGS,;t t
3900 s,@CPPFLAGS@,$CPPFLAGS,;t t
3901 s,@ac_ct_CC@,$ac_ct_CC,;t t
3902 s,@EXEEXT@,$EXEEXT,;t t
3903 s,@OBJEXT@,$OBJEXT,;t t
3905 s,@EGREP@,$EGREP,;t t
3906 s,@PYPACKAGE@,$PYPACKAGE,;t t
3907 s,@haveldd@,$haveldd,;t t
3908 s,@PY_LIBS@,$PY_LIBS,;t t
3909 s,@PY_VERSION@,$PY_VERSION,;t t
3910 s,@PY_PREFIX@,$PY_PREFIX,;t t
3911 s,@LIBOBJS@,$LIBOBJS,;t t
3912 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
3917 cat >>$CONFIG_STATUS <<\_ACEOF
3918 # Split the substitutions into bite-sized pieces for seds with
3919 # small command number limits, like on Digital OSF/1 and HP-UX.
3921 ac_sed_frag
=1 # Number of current file.
3922 ac_beg
=1 # First line for current file.
3923 ac_end
=$ac_max_sed_lines # Line after last line for current file.
3926 while $ac_more_lines; do
3927 if test $ac_beg -gt 1; then
3928 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3930 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
3932 if test ! -s $tmp/subs.frag
; then
3935 # The purpose of the label and of the branching condition is to
3936 # speed up the sed processing (if there are no `@' at all, there
3937 # is no need to browse any of the substitutions).
3938 # These are the two extra sed commands mentioned above.
3940 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
3941 if test -z "$ac_sed_cmds"; then
3942 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
3944 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
3946 ac_sed_frag
=`expr $ac_sed_frag + 1`
3948 ac_end
=`expr $ac_end + $ac_max_sed_lines`
3951 if test -z "$ac_sed_cmds"; then
3954 fi # test -n "$CONFIG_FILES"
3957 cat >>$CONFIG_STATUS <<\_ACEOF
3958 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
3959 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3961 - |
*:- |
*:-:* ) # input from stdin
3963 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3964 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3965 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
3966 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
3967 * ) ac_file_in
=$ac_file.
in ;;
3970 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
3971 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
3972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3973 X"$ac_file" : 'X\(//\)[^/]' \| \
3974 X"$ac_file" : 'X\(//\)$' \| \
3975 X"$ac_file" : 'X\(/\)' \| \
3976 . : '\(.\)' 2>/dev/null ||
3978 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3979 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3980 /^X\(\/\/\)$/{ s//\1/; q; }
3981 /^X\(\/\).*/{ s//\1/; q; }
3983 { if $as_mkdir_p; then
3988 while test ! -d "$as_dir"; do
3989 as_dirs
="$as_dir $as_dirs"
3990 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
3991 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3992 X"$as_dir" : 'X\(//\)[^/]' \| \
3993 X"$as_dir" : 'X\(//\)$' \| \
3994 X"$as_dir" : 'X\(/\)' \| \
3995 . : '\(.\)' 2>/dev/null ||
3997 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3998 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3999 /^X\(\/\/\)$/{ s//\1/; q; }
4000 /^X\(\/\).*/{ s//\1/; q; }
4003 test ! -n "$as_dirs" || mkdir
$as_dirs
4004 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
4005 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
4006 { (exit 1); exit 1; }; }; }
4010 if test "$ac_dir" != .
; then
4011 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4012 # A "../" for each directory in $ac_dir_suffix.
4013 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4015 ac_dir_suffix
= ac_top_builddir
=
4019 .
) # No --srcdir option. We are building in place.
4021 if test -z "$ac_top_builddir"; then
4024 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
4026 [\\/]* | ?
:[\\/]* ) # Absolute path.
4027 ac_srcdir
=$srcdir$ac_dir_suffix;
4028 ac_top_srcdir
=$srcdir ;;
4030 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
4031 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
4033 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4035 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
4036 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
4037 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4038 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4042 if test x
"$ac_file" != x-
; then
4043 { echo "$as_me:$LINENO: creating $ac_file" >&5
4044 echo "$as_me: creating $ac_file" >&6;}
4047 # Let's still pretend it is `configure' which instantiates (i.e., don't
4048 # use $as_me), people would be surprised to read:
4049 # /* config.h. Generated by config.status. */
4050 if test x
"$ac_file" = x-
; then
4053 configure_input
="$ac_file. "
4055 configure_input
=$configure_input"Generated from `echo $ac_file_in |
4056 sed 's,.*/,,'` by configure."
4058 # First look for the input files in the build tree, otherwise in the
4060 ac_file_inputs
=`IFS=:
4061 for f in $ac_file_in; do
4063 -) echo $tmp/stdin ;;
4065 # Absolute (can't be DOS-style, as IFS=:)
4066 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4067 echo "$as_me: error: cannot find input file: $f" >&2;}
4068 { (exit 1); exit 1; }; }
4071 if test -f "$f"; then
4074 elif test -f "$srcdir/$f"; then
4079 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4080 echo "$as_me: error: cannot find input file: $f" >&2;}
4081 { (exit 1); exit 1; }; }
4084 done` ||
{ (exit 1); exit 1; }
4086 cat >>$CONFIG_STATUS <<_ACEOF
4090 cat >>$CONFIG_STATUS <<\_ACEOF
4092 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4093 s
,@configure_input@
,$configure_input,;t t
4094 s
,@srcdir@
,$ac_srcdir,;t t
4095 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
4096 s
,@top_srcdir@
,$ac_top_srcdir,;t t
4097 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
4098 s
,@builddir@
,$ac_builddir,;t t
4099 s
,@abs_builddir@
,$ac_abs_builddir,;t t
4100 s
,@top_builddir@
,$ac_top_builddir,;t t
4101 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
4102 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4104 if test x"$ac_file" != x-; then
4105 mv $tmp/out $ac_file
4114 cat >>$CONFIG_STATUS <<\_ACEOF
4116 { (exit 0); exit 0; }
4118 chmod +x $CONFIG_STATUS
4119 ac_clean_files=$ac_clean_files_save
4122 # configure is writing to config.log, and then calls config.status.
4123 # config.status does its own redirection, appending to config.log.
4124 # Unfortunately, on DOS this fails, as config.log is still kept open
4125 # by configure, so config.status won't be able to write to it; its
4126 # output is simply discarded. So we exec the FD to /dev/null,
4127 # effectively closing config.log, so it can be properly (re)opened and
4128 # appended to by config.status. When coming back to configure, we
4129 # need to make the FD available again.
4130 if test "$no_create" != yes; then
4132 ac_config_status_args=
4133 test "$silent" = yes &&
4134 ac_config_status_args="$ac_config_status_args --quiet"
4136 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4138 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4139 # would make configure fail if this is the last instruction.
4140 $ac_cs_success || { (exit 1); exit 1; }