2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53a.
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
25 # Support unset when possible.
26 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
32 (set +x
; test -n "`(LANG=C; export LANG) 2>&1`") &&
33 { $as_unset LANG ||
test "${LANG+set}" != set; } ||
34 { LANG
=C
; export LANG
; }
35 (set +x
; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
36 { $as_unset LC_ALL ||
test "${LC_ALL+set}" != set; } ||
37 { LC_ALL
=C
; export LC_ALL
; }
38 (set +x
; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
39 { $as_unset LC_TIME ||
test "${LC_TIME+set}" != set; } ||
40 { LC_TIME
=C
; export LC_TIME
; }
41 (set +x
; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
42 { $as_unset LC_CTYPE ||
test "${LC_CTYPE+set}" != set; } ||
43 { LC_CTYPE
=C
; export LC_CTYPE
; }
44 (set +x
; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
45 { $as_unset LANGUAGE ||
test "${LANGUAGE+set}" != set; } ||
46 { LANGUAGE
=C
; export LANGUAGE
; }
47 (set +x
; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
48 { $as_unset LC_COLLATE ||
test "${LC_COLLATE+set}" != set; } ||
49 { LC_COLLATE
=C
; export LC_COLLATE
; }
50 (set +x
; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
51 { $as_unset LC_NUMERIC ||
test "${LC_NUMERIC+set}" != set; } ||
52 { LC_NUMERIC
=C
; export LC_NUMERIC
; }
53 (set +x
; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
54 { $as_unset LC_MESSAGES ||
test "${LC_MESSAGES+set}" != set; } ||
55 { LC_MESSAGES
=C
; export LC_MESSAGES
; }
58 # Required to use basename.
59 if expr a
: '\(a\)' >/dev
/null
2>&1; then
65 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
72 # Name of the executable.
73 as_me
=`$as_basename "$0" ||
74 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
75 X"$0" : 'X\(//\)$' \| \
76 X"$0" : 'X\(/\)$' \| \
77 . : '\(.\)' 2>/dev/null ||
79 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
80 /^X\/\(\/\/\)$/{ s//\1/; q; }
81 /^X\/\(\/\).*/{ s//\1/; q; }
85 # PATH needs CR, and LINENO needs CR and PATH.
86 # Avoid depending upon Character Ranges.
87 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
88 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
89 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
90 as_cr_digits
='0123456789'
91 as_cr_alnum
=$as_cr_Letters$as_cr_digits
93 # The user is always right.
94 if test "${PATH_SEPARATOR+set}" != set; then
95 echo "#! /bin/sh" >conftest.sh
96 echo "exit 0" >>conftest.sh
98 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
109 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
110 test "x$as_lineno_1" != "x$as_lineno_2" &&
111 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
112 # Find who we are. Look in the path if we contain no path at all
115 *[\\/]* ) as_myself
=$0 ;;
116 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
120 test -z "$as_dir" && as_dir
=.
121 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
126 # We did not find ourselves, most probably we were run as `sh COMMAND'
127 # in which case we are not to be found in the path.
128 if test "x$as_myself" = x
; then
131 if test ! -f "$as_myself"; then
132 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
133 { (exit 1); exit 1; }; }
135 case $CONFIG_SHELL in
137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
138 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
141 test -z "$as_dir" && as_dir
=.
142 for as_base
in sh bash ksh sh5
; do
145 if ("$as_dir/$as_base" -c '
148 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
149 test "x$as_lineno_1" != "x$as_lineno_2" &&
150 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
151 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
152 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
153 CONFIG_SHELL
=$as_dir/$as_base
155 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
163 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
164 # uniformly replaced by the line number. The first 'sed' inserts a
165 # line-number line before each line; the second 'sed' does the real
166 # work. The second script uses 'N' to pair each line-number line
167 # with the numbered line, and appends trailing '-' during
168 # substitution so that $LINENO is not a special case at line end.
169 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
170 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
171 sed '=' <$as_myself |
176 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
179 s,^['$as_cr_digits']*\n,,
181 chmod +x
$as_me.lineno ||
182 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
183 { (exit 1); exit 1; }; }
185 # Don't try to exec as it changes $[0], causing all sort of problems
186 # (the dirname of $[0] is not the place where we might find the
187 # original and so on. Autoconf is especially sensible to this).
189 # Exit status is that of the last command.
194 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
195 *c
*,-n*) ECHO_N
= ECHO_C
='
197 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
198 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
201 if expr a
: '\(a\)' >/dev
/null
2>&1; then
207 rm -f conf$$ conf$$.exe conf$$.
file
209 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
210 # We could just check for DJGPP; but this test a) works b) is more generic
211 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
212 if test -f conf$$.exe
; then
213 # Don't use ln at all; we don't have any links
218 elif ln conf$$.
file conf$$
2>/dev
/null
; then
223 rm -f conf$$ conf$$.exe conf$$.
file
225 if mkdir
-p .
2>/dev
/null
; then
231 as_executable_p
="test -f"
233 # Sed expression to map a string onto a valid CPP name.
234 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
236 # Sed expression to map a string onto a valid variable name.
237 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
241 # We need space, tab and new line, in precisely that order.
247 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
251 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
252 # so uname gets run too.
253 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
260 ac_default_prefix
=/usr
/local
265 SHELL
=${CONFIG_SHELL-/bin/sh}
267 # Maximum number of lines to put in a shell here document.
268 # This variable seems obsolete. It should probably be removed, and
269 # only ac_max_sed_lines should be used.
270 : ${ac_max_here_lines=38}
272 # Identity of this package.
279 ac_unique_file
="include/polylib/polylib.h"
280 # Factoring default headers for most tests.
281 ac_includes_default
="\
284 # include <sys/types.h>
287 # include <sys/stat.h>
298 # if !STDC_HEADERS && HAVE_MEMORY_H
304 # include <strings.h>
307 # include <inttypes.h>
318 # Initialize some variables set by options.
320 ac_init_version
=false
321 # The variables have the same names as the options, with
322 # dashes changed to underlines.
330 program_transform_name
=s
,x
,x
,
338 # Installation directory options.
339 # These are left unexpanded so users can "make install exec_prefix=/foo"
340 # and all the variables that are supposed to be based on exec_prefix
341 # by default will actually change.
342 # Use braces instead of parens because sh, perl, etc. also accept them.
343 bindir
='${exec_prefix}/bin'
344 sbindir
='${exec_prefix}/sbin'
345 libexecdir
='${exec_prefix}/libexec'
346 datadir
='${prefix}/share'
347 sysconfdir
='${prefix}/etc'
348 sharedstatedir
='${prefix}/com'
349 localstatedir
='${prefix}/var'
350 libdir
='${exec_prefix}/lib'
351 includedir
='${prefix}/include'
352 oldincludedir
='/usr/include'
353 infodir
='${prefix}/info'
354 mandir
='${prefix}/man'
359 # If the previous option needs an argument, assign it.
360 if test -n "$ac_prev"; then
361 eval "$ac_prev=\$ac_option"
366 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368 # Accept the important Cygnus configure options, so we can diagnose typos.
372 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
374 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
377 -build |
--build |
--buil |
--bui |
--bu)
378 ac_prev
=build_alias
;;
379 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
380 build_alias
=$ac_optarg ;;
382 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
383 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
384 ac_prev
=cache_file
;;
385 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
386 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
387 cache_file
=$ac_optarg ;;
390 cache_file
=config.cache
;;
392 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
394 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
396 datadir
=$ac_optarg ;;
398 -disable-* |
--disable-*)
399 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
400 # Reject names that are not valid shell variable names.
401 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
402 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
403 { (exit 1); exit 1; }; }
404 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
405 eval "enable_$ac_feature=no" ;;
407 -enable-* |
--enable-*)
408 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
409 # Reject names that are not valid shell variable names.
410 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
411 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
412 { (exit 1); exit 1; }; }
413 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
415 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
418 eval "enable_$ac_feature='$ac_optarg'" ;;
420 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
421 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
422 |
--exec |
--exe |
--ex)
423 ac_prev
=exec_prefix
;;
424 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
425 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
426 |
--exec=* |
--exe=* |
--ex=*)
427 exec_prefix
=$ac_optarg ;;
429 -gas |
--gas |
--ga |
--g)
430 # Obsolete; use --with-gas.
433 -help |
--help |
--hel |
--he |
-h)
435 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
436 ac_init_help
=recursive
;;
437 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
438 ac_init_help
=short
;;
440 -host |
--host |
--hos |
--ho)
441 ac_prev
=host_alias
;;
442 -host=* |
--host=* |
--hos=* |
--ho=*)
443 host_alias
=$ac_optarg ;;
445 -includedir |
--includedir |
--includedi |
--included |
--include \
446 |
--includ |
--inclu |
--incl |
--inc)
447 ac_prev
=includedir
;;
448 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
449 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
450 includedir
=$ac_optarg ;;
452 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
454 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
455 infodir
=$ac_optarg ;;
457 -libdir |
--libdir |
--libdi |
--libd)
459 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
462 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
463 |
--libexe |
--libex |
--libe)
464 ac_prev
=libexecdir
;;
465 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
466 |
--libexe=* |
--libex=* |
--libe=*)
467 libexecdir
=$ac_optarg ;;
469 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
470 |
--localstate |
--localstat |
--localsta |
--localst \
471 |
--locals |
--local |
--loca |
--loc |
--lo)
472 ac_prev
=localstatedir
;;
473 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
474 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
475 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
476 localstatedir
=$ac_optarg ;;
478 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
480 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
484 # Obsolete; use --without-fp.
487 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
488 |
--no-cr |
--no-c |
-n)
491 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
492 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
495 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
496 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
497 |
--oldin |
--oldi |
--old |
--ol |
--o)
498 ac_prev
=oldincludedir
;;
499 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
500 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
501 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
502 oldincludedir
=$ac_optarg ;;
504 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
506 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
509 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
510 |
--program-pre |
--program-pr |
--program-p)
511 ac_prev
=program_prefix
;;
512 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
513 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
514 program_prefix
=$ac_optarg ;;
516 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
517 |
--program-suf |
--program-su |
--program-s)
518 ac_prev
=program_suffix
;;
519 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
520 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
521 program_suffix
=$ac_optarg ;;
523 -program-transform-name |
--program-transform-name \
524 |
--program-transform-nam |
--program-transform-na \
525 |
--program-transform-n |
--program-transform- \
526 |
--program-transform |
--program-transfor \
527 |
--program-transfo |
--program-transf \
528 |
--program-trans |
--program-tran \
529 |
--progr-tra |
--program-tr |
--program-t)
530 ac_prev
=program_transform_name
;;
531 -program-transform-name=* |
--program-transform-name=* \
532 |
--program-transform-nam=* |
--program-transform-na=* \
533 |
--program-transform-n=* |
--program-transform-=* \
534 |
--program-transform=* |
--program-transfor=* \
535 |
--program-transfo=* |
--program-transf=* \
536 |
--program-trans=* |
--program-tran=* \
537 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
538 program_transform_name
=$ac_optarg ;;
540 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
541 |
-silent |
--silent |
--silen |
--sile |
--sil)
544 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
546 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
548 sbindir
=$ac_optarg ;;
550 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
551 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
552 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
554 ac_prev
=sharedstatedir
;;
555 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
556 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
557 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
559 sharedstatedir
=$ac_optarg ;;
561 -site |
--site |
--sit)
563 -site=* |
--site=* |
--sit=*)
566 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
568 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
571 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
572 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
573 ac_prev
=sysconfdir
;;
574 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
575 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
576 sysconfdir
=$ac_optarg ;;
578 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
579 ac_prev
=target_alias
;;
580 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
581 target_alias
=$ac_optarg ;;
583 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
586 -version |
--version |
--versio |
--versi |
--vers |
-V)
590 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
591 # Reject names that are not valid shell variable names.
592 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
593 { echo "$as_me: error: invalid package name: $ac_package" >&2
594 { (exit 1); exit 1; }; }
595 ac_package
=`echo $ac_package| sed 's/-/_/g'`
597 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
600 eval "with_$ac_package='$ac_optarg'" ;;
602 -without-* |
--without-*)
603 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
604 # Reject names that are not valid shell variable names.
605 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
606 { echo "$as_me: error: invalid package name: $ac_package" >&2
607 { (exit 1); exit 1; }; }
608 ac_package
=`echo $ac_package | sed 's/-/_/g'`
609 eval "with_$ac_package=no" ;;
612 # Obsolete; use --with-x.
615 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
616 |
--x-incl |
--x-inc |
--x-in |
--x-i)
617 ac_prev
=x_includes
;;
618 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
619 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
620 x_includes
=$ac_optarg ;;
622 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
623 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
624 ac_prev
=x_libraries
;;
625 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
626 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
627 x_libraries
=$ac_optarg ;;
629 -*) { echo "$as_me: error: unrecognized option: $ac_option
630 Try \`$0 --help' for more information." >&2
631 { (exit 1); exit 1; }; }
635 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
636 # Reject names that are not valid shell variable names.
637 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
638 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
639 { (exit 1); exit 1; }; }
640 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
641 eval "$ac_envvar='$ac_optarg'"
645 # FIXME: should be removed in autoconf 3.0.
646 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
647 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
648 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
649 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
655 if test -n "$ac_prev"; then
656 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
657 { echo "$as_me: error: missing argument to $ac_option" >&2
658 { (exit 1); exit 1; }; }
661 # Be sure to have absolute paths.
662 for ac_var
in exec_prefix prefix
664 eval ac_val
=$
`echo $ac_var`
666 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
667 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
668 { (exit 1); exit 1; }; };;
672 # Be sure to have absolute paths.
673 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
674 localstatedir libdir includedir oldincludedir infodir mandir
676 eval ac_val
=$
`echo $ac_var`
678 [\\/$
]* | ?
:[\\/]* ) ;;
679 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
680 { (exit 1); exit 1; }; };;
684 # There might be people who depend on the old broken behavior: `$host'
685 # used to hold the argument of --host etc.
686 # FIXME: To remove some day.
691 # FIXME: To remove some day.
692 if test "x$host_alias" != x
; then
693 if test "x$build_alias" = x
; then
694 cross_compiling
=maybe
695 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
696 If a cross compiler is detected then cross compile mode will be used." >&2
697 elif test "x$build_alias" != "x$host_alias"; then
703 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
705 test "$silent" = yes && exec 6>/dev
/null
708 # Find the source files, if location was not specified.
709 if test -z "$srcdir"; then
710 ac_srcdir_defaulted
=yes
711 # Try the directory containing this script, then its parent.
712 ac_confdir
=`(dirname "$0") 2>/dev/null ||
713 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
714 X"$0" : 'X\(//\)[^/]' \| \
715 X"$0" : 'X\(//\)$' \| \
716 X"$0" : 'X\(/\)' \| \
717 . : '\(.\)' 2>/dev/null ||
719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
720 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
721 /^X\(\/\/\)$/{ s//\1/; q; }
722 /^X\(\/\).*/{ s//\1/; q; }
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
734 { (exit 1); exit 1; }; }
736 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
737 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --build=BUILD configure
for building on BUILD
[guessed
]
836 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
837 --target=TARGET configure
for building compilers
for TARGET
[HOST
]
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
847 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
848 --enable-int-lib Enable that only an int library is constructed
849 --enable-longint-lib Enable that only a long int library is constructed
850 --enable-longlongint-lib Enable that only a long long int library is constructed
851 --enable-gmpint-lib Enable that only a gmp int library is constructued
852 --enable-allint-lib Enable that
32, 64 and gmp int library is constructued
853 --enable-short-exec Enable that the int library is used by the executables
(by default
, the long library is used
if built
)
854 --enable-extra-suffix Enable that the executables take an extra suffix depending on the library size
855 --enable-all-exec Enable that all sized libraries are used to build the executables of each
, which take an extra suffix depending on the library
(by default
, only the long library is used
)
858 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
859 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
860 --with-doxygen DIR Location of the Doxygen Distribution
(http
://www.doxygen.org
)
861 --with-libgmp DIR Location of the GMP Distribution
863 Some influential environment variables
:
864 CC C compiler
command
865 CFLAGS C compiler flags
866 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
867 nonstandard directory
<lib dir
>
868 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
869 headers
in a nonstandard directory
<include dir
>
872 Use these variables to override the choices made by
`configure' or to help
873 it to find libraries and programs with nonstandard names/locations.
878 if test "$ac_init_help" = "recursive"; then
879 # If there are subdirs, report their specific --help.
881 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
882 test -d $ac_dir || continue
885 if test "$ac_dir" != .; then
886 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
887 # A "../" for each directory in $ac_dir_suffix.
888 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
890 ac_dir_suffix= ac_top_builddir=
894 .) # No --srcdir option. We are building in place.
896 if test -z "$ac_top_builddir"; then
899 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
901 [\\/]* | ?:[\\/]* ) # Absolute path.
902 ac_srcdir=$srcdir$ac_dir_suffix;
903 ac_top_srcdir=$srcdir ;;
905 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
906 ac_top_srcdir=$ac_top_builddir$srcdir ;;
908 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
910 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
911 ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}.
&& pwd`
912 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
913 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
916 # Check for guested configure; otherwise get Cygnus style configure.
917 if test -f $ac_srcdir/configure.gnu; then
919 $SHELL $ac_srcdir/configure.gnu --help=recursive
920 elif test -f $ac_srcdir/configure; then
922 $SHELL $ac_srcdir/configure --help=recursive
923 elif test -f $ac_srcdir/configure.ac ||
924 test -f $ac_srcdir/configure.in; then
928 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
934 test -n "$ac_init_help" && exit 0
935 if $ac_init_version; then
938 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
939 Free Software Foundation, Inc.
940 This configure script is free software; the Free Software Foundation
941 gives unlimited permission to copy, distribute and modify it.
947 This file contains any messages produced by compilers while
948 running configure, to aid debugging if configure makes a mistake.
950 It was created by $as_me, which was
951 generated by GNU Autoconf 2.53a. Invocation command line was
962 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
963 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
964 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
965 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
966 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
968 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
969 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
971 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
972 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
973 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
974 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
975 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
976 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
977 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
985 test -z "$as_dir" && as_dir=.
1001 # Keep a trace of the command line.
1002 # Strip out --no-create and --no-recursion so they do not pile up.
1003 # Also quote any args containing shell meta-characters.
1009 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1010 | --no-cr | --no-c | -n ) continue ;;
1011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1014 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1015 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1017 case " $ac_configure_args " in
1018 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1019 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1022 # Get rid of the leading space.
1025 # When interrupted or exit'd, cleanup temporary files, and complete
1026 # config.log. We remove comments because anyway the quotes in there
1027 # would cause problems or look ugly.
1028 # WARNING: Be sure not to use single quotes in there, as some shells,
1029 # such as our DU 5.0 friend, will then `close
' the trap.
1030 trap 'exit_status
=$?
1031 # Save into config.log some information that might help in debugging.
1035 ## ---------------- ##
1036 ## Cache variables. ##
1037 ## ---------------- ##
1040 # The following way of writing the cache mishandles newlines in values,
1043 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1046 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1047 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1051 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1056 if test -s confdefs.h
; then
1063 sed "/^$/d" confdefs.h
1066 test "$ac_signal" != 0 &&
1067 echo "$as_me: caught signal $ac_signal"
1068 echo "$as_me: exit $exit_status"
1070 rm -f core core.
* *.core
&&
1071 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1074 for ac_signal in 1 2 13 15; do
1075 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1079 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1080 rm -rf conftest* confdefs.h
1081 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1084 # Predefined preprocessor variables.
1086 cat >>confdefs.h <<_ACEOF
1087 #define PACKAGE_NAME "$PACKAGE_NAME"
1091 cat >>confdefs.h <<_ACEOF
1092 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1096 cat >>confdefs.h <<_ACEOF
1097 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1101 cat >>confdefs.h <<_ACEOF
1102 #define PACKAGE_STRING "$PACKAGE_STRING"
1106 cat >>confdefs.h <<_ACEOF
1107 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1111 # Let the site file select an alternate cache file if it wants to.
1112 # Prefer explicitly selected file to automatically selected ones.
1113 if test -z "$CONFIG_SITE"; then
1114 if test "x$prefix" != xNONE; then
1115 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1117 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1120 for ac_site_file in $CONFIG_SITE; do
1121 if test -r "$ac_site_file"; then
1122 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1123 echo "$as_me: loading site script $ac_site_file" >&6;}
1124 sed 's
/^
/|
/' "$ac_site_file" >&5
1130 # Check that the precious variables saved in the cache have kept the same
1132 ac_cache_corrupted=false
1133 for ac_var in `(set) 2>&1 |
1134 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1135 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1136 eval ac_new_set=\$ac_env_${ac_var}_set
1137 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1138 eval ac_new_val="\$ac_env_${ac_var}_value"
1139 case $ac_old_set,$ac_new_set in
1141 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1142 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1143 ac_cache_corrupted=: ;;
1145 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1146 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1147 ac_cache_corrupted=: ;;
1150 if test "x$ac_old_val" != "x$ac_new_val"; then
1151 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1152 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1153 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1154 echo "$as_me: former value: $ac_old_val" >&2;}
1155 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1156 echo "$as_me: current value: $ac_new_val" >&2;}
1157 ac_cache_corrupted=:
1160 # Pass precious variables to config.status.
1161 if test "$ac_new_set" = set; then
1163 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1164 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1165 *) ac_arg=$ac_var=$ac_new_val ;;
1167 case " $ac_configure_args " in
1168 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1169 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1173 if $ac_cache_corrupted; then
1174 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1175 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1176 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1177 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1178 { (exit 1); exit 1; }; }
1182 ac_cpp='$CPP $CPPFLAGS'
1183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1184 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1209 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1210 if test -f $ac_dir/install-sh; then
1212 ac_install_sh="$ac_aux_dir/install-sh -c"
1214 elif test -f $ac_dir/install.sh; then
1216 ac_install_sh="$ac_aux_dir/install.sh -c"
1218 elif test -f $ac_dir/shtool; then
1220 ac_install_sh="$ac_aux_dir/shtool install -c"
1224 if test -z "$ac_aux_dir"; then
1225 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1226 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1227 { (exit 1); exit 1; }; }
1229 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1230 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1231 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1233 # Make sure we can run config.sub.
1234 $ac_config_sub sun4 >/dev/null 2>&1 ||
1235 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1236 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1237 { (exit 1); exit 1; }; }
1239 echo "$as_me:$LINENO: checking build system type" >&5
1240 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1241 if test "${ac_cv_build+set}" = set; then
1242 echo $ECHO_N "(cached) $ECHO_C" >&6
1244 ac_cv_build_alias=$build_alias
1245 test -z "$ac_cv_build_alias" &&
1246 ac_cv_build_alias=`$ac_config_guess`
1247 test -z "$ac_cv_build_alias" &&
1248 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1249 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1250 { (exit 1); exit 1; }; }
1251 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1252 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1253 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1254 { (exit 1); exit 1; }; }
1257 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1258 echo "${ECHO_T}$ac_cv_build" >&6
1260 build_cpu=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1261 build_vendor=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1262 build_os=`echo $ac_cv_build | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1265 echo "$as_me:$LINENO: checking host system type" >&5
1266 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1267 if test "${ac_cv_host+set}" = set; then
1268 echo $ECHO_N "(cached) $ECHO_C" >&6
1270 ac_cv_host_alias=$host_alias
1271 test -z "$ac_cv_host_alias" &&
1272 ac_cv_host_alias=$ac_cv_build_alias
1273 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1274 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1275 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1276 { (exit 1); exit 1; }; }
1279 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1280 echo "${ECHO_T}$ac_cv_host" >&6
1282 host_cpu=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1283 host_vendor=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1284 host_os=`echo $ac_cv_host | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1287 echo "$as_me:$LINENO: checking target system type" >&5
1288 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1289 if test "${ac_cv_target+set}" = set; then
1290 echo $ECHO_N "(cached) $ECHO_C" >&6
1292 ac_cv_target_alias=$target_alias
1293 test "x$ac_cv_target_alias" = "x" &&
1294 ac_cv_target_alias=$ac_cv_host_alias
1295 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1296 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1297 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1298 { (exit 1); exit 1; }; }
1301 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1302 echo "${ECHO_T}$ac_cv_target" >&6
1303 target=$ac_cv_target
1304 target_cpu=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
1/'`
1305 target_vendor=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
2/'`
1306 target_os=`echo $ac_cv_target | sed 's
/^\
([^
-]*\
)-\
([^
-]*\
)-\
(.
*\
)$
/\
3/'`
1309 # The aliases save the names the user supplied, while $host etc.
1310 # will get canonicalized.
1311 test -n "$target_alias" &&
1312 test "$program_prefix$program_suffix$program_transform_name" = \
1314 program_prefix=${target_alias}-
1317 ac_cpp='$CPP $CPPFLAGS'
1318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1319 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1321 if test -n "$ac_tool_prefix"; then
1322 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1323 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1324 echo "$as_me:$LINENO: checking for $ac_word" >&5
1325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1326 if test "${ac_cv_prog_CC+set}" = set; then
1327 echo $ECHO_N "(cached) $ECHO_C" >&6
1329 if test -n "$CC"; then
1330 ac_cv_prog_CC="$CC" # Let the user override the test.
1332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1336 test -z "$as_dir" && as_dir=.
1337 for ac_exec_ext in '' $ac_executable_extensions; do
1338 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1339 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1349 if test -n "$CC"; then
1350 echo "$as_me:$LINENO: result: $CC" >&5
1351 echo "${ECHO_T}$CC" >&6
1353 echo "$as_me:$LINENO: result: no" >&5
1354 echo "${ECHO_T}no" >&6
1358 if test -z "$ac_cv_prog_CC"; then
1360 # Extract the first word of "gcc", so it can be a program name with args.
1361 set dummy gcc; ac_word=$2
1362 echo "$as_me:$LINENO: checking for $ac_word" >&5
1363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1364 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1365 echo $ECHO_N "(cached) $ECHO_C" >&6
1367 if test -n "$ac_ct_CC"; then
1368 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir=.
1375 for ac_exec_ext in '' $ac_executable_extensions; do
1376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1377 ac_cv_prog_ac_ct_CC="gcc"
1378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1386 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1387 if test -n "$ac_ct_CC"; then
1388 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1389 echo "${ECHO_T}$ac_ct_CC" >&6
1391 echo "$as_me:$LINENO: result: no" >&5
1392 echo "${ECHO_T}no" >&6
1400 if test -z "$CC"; then
1401 if test -n "$ac_tool_prefix"; then
1402 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1403 set dummy ${ac_tool_prefix}cc; ac_word=$2
1404 echo "$as_me:$LINENO: checking for $ac_word" >&5
1405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1406 if test "${ac_cv_prog_CC+set}" = set; then
1407 echo $ECHO_N "(cached) $ECHO_C" >&6
1409 if test -n "$CC"; then
1410 ac_cv_prog_CC="$CC" # Let the user override the test.
1412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1416 test -z "$as_dir" && as_dir=.
1417 for ac_exec_ext in '' $ac_executable_extensions; do
1418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1419 ac_cv_prog_CC="${ac_tool_prefix}cc"
1420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1429 if test -n "$CC"; then
1430 echo "$as_me:$LINENO: result: $CC" >&5
1431 echo "${ECHO_T}$CC" >&6
1433 echo "$as_me:$LINENO: result: no" >&5
1434 echo "${ECHO_T}no" >&6
1438 if test -z "$ac_cv_prog_CC"; then
1440 # Extract the first word of "cc", so it can be a program name with args.
1441 set dummy cc; ac_word=$2
1442 echo "$as_me:$LINENO: checking for $ac_word" >&5
1443 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1444 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1445 echo $ECHO_N "(cached) $ECHO_C" >&6
1447 if test -n "$ac_ct_CC"; then
1448 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1454 test -z "$as_dir" && as_dir=.
1455 for ac_exec_ext in '' $ac_executable_extensions; do
1456 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1457 ac_cv_prog_ac_ct_CC="cc"
1458 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1467 if test -n "$ac_ct_CC"; then
1468 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1469 echo "${ECHO_T}$ac_ct_CC" >&6
1471 echo "$as_me:$LINENO: result: no" >&5
1472 echo "${ECHO_T}no" >&6
1481 if test -z "$CC"; then
1482 # Extract the first word of "cc", so it can be a program name with args.
1483 set dummy cc; ac_word=$2
1484 echo "$as_me:$LINENO: checking for $ac_word" >&5
1485 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1486 if test "${ac_cv_prog_CC+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1489 if test -n "$CC"; then
1490 ac_cv_prog_CC="$CC" # Let the user override the test.
1493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1497 test -z "$as_dir" && as_dir=.
1498 for ac_exec_ext in '' $ac_executable_extensions; do
1499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1500 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1501 ac_prog_rejected=yes
1505 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1511 if test $ac_prog_rejected = yes; then
1512 # We found a bogon in the path, so make sure we never use it.
1513 set dummy $ac_cv_prog_CC
1515 if test $# != 0; then
1516 # We chose a different compiler from the bogus one.
1517 # However, it has the same basename, so the bogon will be chosen
1518 # first if we set CC to just the basename; use the full file name.
1520 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1526 if test -n "$CC"; then
1527 echo "$as_me:$LINENO: result: $CC" >&5
1528 echo "${ECHO_T}$CC" >&6
1530 echo "$as_me:$LINENO: result: no" >&5
1531 echo "${ECHO_T}no" >&6
1535 if test -z "$CC"; then
1536 if test -n "$ac_tool_prefix"; then
1539 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1540 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1541 echo "$as_me:$LINENO: checking for $ac_word" >&5
1542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1543 if test "${ac_cv_prog_CC+set}" = set; then
1544 echo $ECHO_N "(cached) $ECHO_C" >&6
1546 if test -n "$CC"; then
1547 ac_cv_prog_CC="$CC" # Let the user override the test.
1549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1553 test -z "$as_dir" && as_dir=.
1554 for ac_exec_ext in '' $ac_executable_extensions; do
1555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1556 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1566 if test -n "$CC"; then
1567 echo "$as_me:$LINENO: result: $CC" >&5
1568 echo "${ECHO_T}$CC" >&6
1570 echo "$as_me:$LINENO: result: no" >&5
1571 echo "${ECHO_T}no" >&6
1574 test -n "$CC" && break
1577 if test -z "$CC"; then
1581 # Extract the first word of "$ac_prog", so it can be a program name with args.
1582 set dummy $ac_prog; ac_word=$2
1583 echo "$as_me:$LINENO: checking for $ac_word" >&5
1584 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1586 echo $ECHO_N "(cached) $ECHO_C" >&6
1588 if test -n "$ac_ct_CC"; then
1589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1595 test -z "$as_dir" && as_dir=.
1596 for ac_exec_ext in '' $ac_executable_extensions; do
1597 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1598 ac_cv_prog_ac_ct_CC="$ac_prog"
1599 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1607 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1608 if test -n "$ac_ct_CC"; then
1609 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1610 echo "${ECHO_T}$ac_ct_CC" >&6
1612 echo "$as_me:$LINENO: result: no" >&5
1613 echo "${ECHO_T}no" >&6
1616 test -n "$ac_ct_CC" && break
1625 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1626 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1627 { (exit 1); exit 1; }; }
1629 # Provide some information about the compiler.
1630 echo "$as_me:$LINENO:" \
1631 "checking for C compiler version" >&5
1632 ac_compiler=`set X $ac_compile; echo $2`
1633 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1634 (eval $ac_compiler --version </dev/null >&5) 2>&5
1636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1637 (exit $ac_status); }
1638 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1639 (eval $ac_compiler -v </dev/null >&5) 2>&5
1641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1642 (exit $ac_status); }
1643 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1644 (eval $ac_compiler -V </dev/null >&5) 2>&5
1646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1647 (exit $ac_status); }
1649 cat >conftest.$ac_ext <<_ACEOF
1650 #line $LINENO "configure"
1651 #include "confdefs.h"
1653 #ifdef F77_DUMMY_MAIN
1657 int F77_DUMMY_MAIN() { return 1; }
1667 ac_clean_files_save=$ac_clean_files
1668 ac_clean_files="$ac_clean_files a.out a.exe"
1669 # Try to create an executable without -o first, disregard a.out.
1670 # It will help us diagnose broken compilers, and finding out an intuition
1672 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1673 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1674 ac_link_default=`echo "$ac_link" | sed 's
/ -o *conftest
[^
]*//'`
1675 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1676 (eval $ac_link_default) 2>&5
1678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1679 (exit $ac_status); }; then
1680 # Find the output, starting from the most likely. This scheme is
1681 # not robust to junk in `.', hence go to wildcards
(a.
*) only as a last
1684 # Be careful to initialize this variable, since it used to be cached.
1685 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1687 for ac_file
in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1688 ls a.out conftest 2>/dev/null;
1689 ls a.* conftest.* 2>/dev/null`; do
1691 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1692 a.out
) # We found the default executable, but exeext='' is most
1695 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1696 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1703 echo "$as_me: failed program was:" >&5
1704 cat conftest.
$ac_ext >&5
1705 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1706 echo "$as_me: error: C compiler cannot create executables" >&2;}
1707 { (exit 77); exit 77; }; }
1710 ac_exeext
=$ac_cv_exeext
1711 echo "$as_me:$LINENO: result: $ac_file" >&5
1712 echo "${ECHO_T}$ac_file" >&6
1714 # Check the compiler produces executables we can run. If not, either
1715 # the compiler is broken, or we cross compile.
1716 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1717 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1718 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1719 # If not cross compiling, check that we can run a simple program.
1720 if test "$cross_compiling" != yes; then
1721 if { ac_try
='./$ac_file'
1722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1726 (exit $ac_status); }; }; then
1729 if test "$cross_compiling" = maybe
; then
1732 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1733 If you meant to cross compile, use \`--host'." >&5
1734 echo "$as_me: error: cannot run C compiled programs.
1735 If you meant to cross compile, use \`--host'." >&2;}
1736 { (exit 1); exit 1; }; }
1740 echo "$as_me:$LINENO: result: yes" >&5
1741 echo "${ECHO_T}yes" >&6
1743 rm -f a.out a.exe conftest
$ac_cv_exeext
1744 ac_clean_files
=$ac_clean_files_save
1745 # Check the compiler produces executables we can run. If not, either
1746 # the compiler is broken, or we cross compile.
1747 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1748 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1749 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1750 echo "${ECHO_T}$cross_compiling" >&6
1752 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1753 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1755 (eval $ac_link) 2>&5
1757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1758 (exit $ac_status); }; then
1759 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1760 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1761 # work properly (i.e., refer to `conftest.exe'), while it won't with
1763 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1765 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1766 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1773 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1774 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1775 { (exit 1); exit 1; }; }
1778 rm -f conftest
$ac_cv_exeext
1779 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1780 echo "${ECHO_T}$ac_cv_exeext" >&6
1782 rm -f conftest.
$ac_ext
1783 EXEEXT
=$ac_cv_exeext
1785 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1786 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1787 if test "${ac_cv_objext+set}" = set; then
1788 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 cat >conftest.
$ac_ext <<_ACEOF
1791 #line $LINENO "configure"
1792 #include "confdefs.h"
1794 #ifdef F77_DUMMY_MAIN
1798 int F77_DUMMY_MAIN() { return 1; }
1808 rm -f conftest.o conftest.obj
1809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1810 (eval $ac_compile) 2>&5
1812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1813 (exit $ac_status); }; then
1814 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1816 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1817 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1822 echo "$as_me: failed program was:" >&5
1823 cat conftest.
$ac_ext >&5
1824 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1825 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1826 { (exit 1); exit 1; }; }
1829 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1831 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1832 echo "${ECHO_T}$ac_cv_objext" >&6
1833 OBJEXT
=$ac_cv_objext
1835 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1836 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1837 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 cat >conftest.
$ac_ext <<_ACEOF
1841 #line $LINENO "configure"
1842 #include "confdefs.h"
1844 #ifdef F77_DUMMY_MAIN
1848 int F77_DUMMY_MAIN() { return 1; }
1861 rm -f conftest.
$ac_objext
1862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1863 (eval $ac_compile) 2>&5
1865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1866 (exit $ac_status); } &&
1867 { ac_try
='test -s conftest.$ac_objext'
1868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1872 (exit $ac_status); }; }; then
1875 echo "$as_me: failed program was:" >&5
1876 cat conftest.
$ac_ext >&5
1879 rm -f conftest.
$ac_objext conftest.
$ac_ext
1880 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1883 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1884 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1885 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1886 ac_test_CFLAGS
=${CFLAGS+set}
1887 ac_save_CFLAGS
=$CFLAGS
1889 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1890 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1891 if test "${ac_cv_prog_cc_g+set}" = set; then
1892 echo $ECHO_N "(cached) $ECHO_C" >&6
1894 cat >conftest.
$ac_ext <<_ACEOF
1895 #line $LINENO "configure"
1896 #include "confdefs.h"
1898 #ifdef F77_DUMMY_MAIN
1902 int F77_DUMMY_MAIN() { return 1; }
1912 rm -f conftest.
$ac_objext
1913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1914 (eval $ac_compile) 2>&5
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); } &&
1918 { ac_try
='test -s conftest.$ac_objext'
1919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1923 (exit $ac_status); }; }; then
1926 echo "$as_me: failed program was:" >&5
1927 cat conftest.
$ac_ext >&5
1930 rm -f conftest.
$ac_objext conftest.
$ac_ext
1932 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1933 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1934 if test "$ac_test_CFLAGS" = set; then
1935 CFLAGS
=$ac_save_CFLAGS
1936 elif test $ac_cv_prog_cc_g = yes; then
1937 if test "$GCC" = yes; then
1943 if test "$GCC" = yes; then
1949 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1950 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1951 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1952 echo $ECHO_N "(cached) $ECHO_C" >&6
1954 ac_cv_prog_cc_stdc
=no
1956 cat >conftest.
$ac_ext <<_ACEOF
1957 #line $LINENO "configure"
1958 #include "confdefs.h"
1961 #include <sys/types.h>
1962 #include <sys/stat.h>
1963 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1964 struct buf { int x; };
1965 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1966 static char *e (p, i)
1972 static char *f (char * (*g) (char **, int), char **p, ...)
1977 s = g (p, va_arg (v,int));
1981 int test (int i, double x);
1982 struct s1 {int (*f) (int a);};
1983 struct s2 {int (*f) (double a);};
1984 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
1987 #ifdef F77_DUMMY_MAIN
1991 int F77_DUMMY_MAIN() { return 1; }
1996 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2001 # Don't try gcc -ansi; that turns off useful extensions and
2002 # breaks some systems' header files.
2003 # AIX -qlanglvl=ansi
2004 # Ultrix and OSF/1 -std1
2005 # HP-UX 10.20 and later -Ae
2006 # HP-UX older versions -Aa -D_HPUX_SOURCE
2007 # SVR4 -Xc -D__EXTENSIONS__
2008 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2010 CC
="$ac_save_CC $ac_arg"
2011 rm -f conftest.
$ac_objext
2012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2013 (eval $ac_compile) 2>&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); } &&
2017 { ac_try
='test -s conftest.$ac_objext'
2018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; }; then
2023 ac_cv_prog_cc_stdc
=$ac_arg
2026 echo "$as_me: failed program was:" >&5
2027 cat conftest.
$ac_ext >&5
2029 rm -f conftest.
$ac_objext
2031 rm -f conftest.
$ac_ext conftest.
$ac_objext
2036 case "x$ac_cv_prog_cc_stdc" in
2038 echo "$as_me:$LINENO: result: none needed" >&5
2039 echo "${ECHO_T}none needed" >&6 ;;
2041 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2042 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2043 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2046 # Some people use a C++ compiler to compile C. Since we use `exit',
2047 # in C++ we need to declare it. In case someone uses the same compiler
2048 # for both compiling C and C++ we need to have the C++ compiler decide
2049 # the declaration of exit, since it's the most demanding environment.
2050 cat >conftest.
$ac_ext <<_ACEOF
2055 rm -f conftest.
$ac_objext
2056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2057 (eval $ac_compile) 2>&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); } &&
2061 { ac_try
='test -s conftest.$ac_objext'
2062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; }; then
2067 for ac_declaration
in \
2069 '#include <stdlib.h>' \
2070 'extern "C" void std::exit (int) throw (); using std::exit;' \
2071 'extern "C" void std::exit (int); using std::exit;' \
2072 'extern "C" void exit (int) throw ();' \
2073 'extern "C" void exit (int);' \
2076 cat >conftest.
$ac_ext <<_ACEOF
2077 #line $LINENO "configure"
2078 #include "confdefs.h"
2081 #ifdef F77_DUMMY_MAIN
2085 int F77_DUMMY_MAIN() { return 1; }
2095 rm -f conftest.
$ac_objext
2096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2097 (eval $ac_compile) 2>&5
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2100 (exit $ac_status); } &&
2101 { ac_try
='test -s conftest.$ac_objext'
2102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2106 (exit $ac_status); }; }; then
2109 echo "$as_me: failed program was:" >&5
2110 cat conftest.
$ac_ext >&5
2113 rm -f conftest.
$ac_objext conftest.
$ac_ext
2114 cat >conftest.
$ac_ext <<_ACEOF
2115 #line $LINENO "configure"
2116 #include "confdefs.h"
2118 #ifdef F77_DUMMY_MAIN
2122 int F77_DUMMY_MAIN() { return 1; }
2132 rm -f conftest.
$ac_objext
2133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2134 (eval $ac_compile) 2>&5
2136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2137 (exit $ac_status); } &&
2138 { ac_try
='test -s conftest.$ac_objext'
2139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 (exit $ac_status); }; }; then
2146 echo "$as_me: failed program was:" >&5
2147 cat conftest.
$ac_ext >&5
2149 rm -f conftest.
$ac_objext conftest.
$ac_ext
2152 if test -n "$ac_declaration"; then
2153 echo '#ifdef __cplusplus' >>confdefs.h
2154 echo $ac_declaration >>confdefs.h
2155 echo '#endif' >>confdefs.h
2159 echo "$as_me: failed program was:" >&5
2160 cat conftest.
$ac_ext >&5
2162 rm -f conftest.
$ac_objext conftest.
$ac_ext
2164 ac_cpp
='$CPP $CPPFLAGS'
2165 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2166 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2167 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2169 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2170 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2172 if test "$LN_S" = "ln -s"; then
2173 echo "$as_me:$LINENO: result: yes" >&5
2174 echo "${ECHO_T}yes" >&6
2176 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2177 echo "${ECHO_T}no, using $LN_S" >&6
2180 if test -n "$ac_tool_prefix"; then
2181 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2182 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2183 echo "$as_me:$LINENO: checking for $ac_word" >&5
2184 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2185 if test "${ac_cv_prog_RANLIB+set}" = set; then
2186 echo $ECHO_N "(cached) $ECHO_C" >&6
2188 if test -n "$RANLIB"; then
2189 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2191 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2195 test -z "$as_dir" && as_dir
=.
2196 for ac_exec_ext
in '' $ac_executable_extensions; do
2197 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2198 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2199 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 RANLIB
=$ac_cv_prog_RANLIB
2208 if test -n "$RANLIB"; then
2209 echo "$as_me:$LINENO: result: $RANLIB" >&5
2210 echo "${ECHO_T}$RANLIB" >&6
2212 echo "$as_me:$LINENO: result: no" >&5
2213 echo "${ECHO_T}no" >&6
2217 if test -z "$ac_cv_prog_RANLIB"; then
2218 ac_ct_RANLIB
=$RANLIB
2219 # Extract the first word of "ranlib", so it can be a program name with args.
2220 set dummy ranlib
; ac_word
=$2
2221 echo "$as_me:$LINENO: checking for $ac_word" >&5
2222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2223 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 if test -n "$ac_ct_RANLIB"; then
2227 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2233 test -z "$as_dir" && as_dir
=.
2234 for ac_exec_ext
in '' $ac_executable_extensions; do
2235 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2236 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2246 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2247 if test -n "$ac_ct_RANLIB"; then
2248 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2249 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2251 echo "$as_me:$LINENO: result: no" >&5
2252 echo "${ECHO_T}no" >&6
2255 RANLIB
=$ac_ct_RANLIB
2257 RANLIB
="$ac_cv_prog_RANLIB"
2260 # Find a good install program. We prefer a C program (faster),
2261 # so one script is as good as another. But avoid the broken or
2262 # incompatible versions:
2263 # SysV /etc/install, /usr/sbin/install
2264 # SunOS /usr/etc/install
2265 # IRIX /sbin/install
2267 # AmigaOS /C/install, which installs bootblocks on floppy discs
2268 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2269 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2270 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2271 # ./install, which can be erroneously created by make from ./install.sh.
2272 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2273 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2274 if test -z "$INSTALL"; then
2275 if test "${ac_cv_path_install+set}" = set; then
2276 echo $ECHO_N "(cached) $ECHO_C" >&6
2278 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir
=.
2283 # Account for people who put trailing slashes in PATH elements.
2285 .
/ | .
// |
/cC
/* | \
2286 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2289 # OSF1 and SCO ODT 3.0 have their own names for install.
2290 # Don't use installbsd from OSF since it installs stuff as root
2292 for ac_prog
in ginstall scoinst
install; do
2293 for ac_exec_ext
in '' $ac_executable_extensions; do
2294 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2295 if test $ac_prog = install &&
2296 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2297 # AIX install. It has an incompatible calling convention.
2299 elif test $ac_prog = install &&
2300 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2301 # program-specific install script used by HP pwplus--don't use.
2304 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2316 if test "${ac_cv_path_install+set}" = set; then
2317 INSTALL
=$ac_cv_path_install
2319 # As a last resort, use the slow shell script. We don't cache a
2320 # path for INSTALL within a source directory, because that will
2321 # break other packages using the cache if that directory is
2322 # removed, or if the path is relative.
2323 INSTALL
=$ac_install_sh
2326 echo "$as_me:$LINENO: result: $INSTALL" >&5
2327 echo "${ECHO_T}$INSTALL" >&6
2329 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2330 # It thinks the first close brace ends the variable substitution.
2331 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2333 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2335 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2339 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2340 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2341 if test "${ac_cv_c_const+set}" = set; then
2342 echo $ECHO_N "(cached) $ECHO_C" >&6
2344 cat >conftest.
$ac_ext <<_ACEOF
2345 #line $LINENO "configure"
2346 #include "confdefs.h"
2348 #ifdef F77_DUMMY_MAIN
2352 int F77_DUMMY_MAIN() { return 1; }
2357 /* FIXME: Include the comments suggested by Paul. */
2359 /* Ultrix mips cc rejects this. */
2360 typedef int charset[2];
2362 /* SunOS 4.1.1 cc rejects this. */
2363 char const *const *ccp;
2365 /* NEC SVR4.0.2 mips cc rejects this. */
2366 struct point {int x, y;};
2367 static struct point const zero = {0,0};
2368 /* AIX XL C 1.02.0.0 rejects this.
2369 It does not let you subtract one const X* pointer from another in
2370 an arm of an if-expression whose if-part is not a constant
2372 const char *g = "string";
2373 ccp = &g + (g ? g-g : 0);
2374 /* HPUX 7.0 cc rejects these. */
2377 ccp = (char const *const *) p;
2378 { /* SCO 3.2v4 cc rejects this. */
2380 char const *s = 0 ? (char *) 0 : (char const *) 0;
2384 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2386 const int *foo = &x[0];
2389 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2390 typedef const int *iptr;
2394 { /* AIX XL C 1.02.0.0 rejects this saying
2395 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2396 struct s { int j; const int *ap[3]; };
2397 struct s *b; b->j = 5;
2399 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2408 rm -f conftest.
$ac_objext
2409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2410 (eval $ac_compile) 2>&5
2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2413 (exit $ac_status); } &&
2414 { ac_try
='test -s conftest.$ac_objext'
2415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2419 (exit $ac_status); }; }; then
2422 echo "$as_me: failed program was:" >&5
2423 cat conftest.
$ac_ext >&5
2426 rm -f conftest.
$ac_objext conftest.
$ac_ext
2428 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2429 echo "${ECHO_T}$ac_cv_c_const" >&6
2430 if test $ac_cv_c_const = no
; then
2432 cat >>confdefs.h
<<\_ACEOF
2440 ac_cpp
='$CPP $CPPFLAGS'
2441 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2442 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2443 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2444 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2445 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2446 # On Suns, sometimes $CPP names a directory.
2447 if test -n "$CPP" && test -d "$CPP"; then
2450 if test -z "$CPP"; then
2451 if test "${ac_cv_prog_CPP+set}" = set; then
2452 echo $ECHO_N "(cached) $ECHO_C" >&6
2454 # Double quotes because CPP needs to be expanded
2455 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2458 for ac_c_preproc_warn_flag
in '' yes
2460 # Use a header file that comes with gcc, so configuring glibc
2461 # with a fresh cross-compiler works.
2462 # On the NeXT, cc -E runs the code through the compiler's parser,
2463 # not just through cpp. "Syntax error" is here to catch this case.
2464 cat >conftest.
$ac_ext <<_ACEOF
2465 #line $LINENO "configure"
2466 #include "confdefs.h"
2470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2471 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2473 egrep -v '^ *\+' conftest.er1
>conftest.err
2475 cat conftest.err
>&5
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); } >/dev
/null
; then
2478 if test -s conftest.err
; then
2479 ac_cpp_err
=$ac_c_preproc_warn_flag
2486 if test -z "$ac_cpp_err"; then
2489 echo "$as_me: failed program was:" >&5
2490 cat conftest.
$ac_ext >&5
2491 # Broken: fails on valid input.
2494 rm -f conftest.err conftest.
$ac_ext
2496 # OK, works on sane cases. Now check whether non-existent headers
2497 # can be detected and how.
2498 cat >conftest.
$ac_ext <<_ACEOF
2499 #line $LINENO "configure"
2500 #include "confdefs.h"
2501 #include <ac_nonexistent.h>
2503 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2504 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2506 egrep -v '^ *\+' conftest.er1
>conftest.err
2508 cat conftest.err
>&5
2509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2510 (exit $ac_status); } >/dev
/null
; then
2511 if test -s conftest.err
; then
2512 ac_cpp_err
=$ac_c_preproc_warn_flag
2519 if test -z "$ac_cpp_err"; then
2520 # Broken: success on invalid input.
2523 echo "$as_me: failed program was:" >&5
2524 cat conftest.
$ac_ext >&5
2525 # Passes both tests.
2529 rm -f conftest.err conftest.
$ac_ext
2532 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2533 rm -f conftest.err conftest.
$ac_ext
2534 if $ac_preproc_ok; then
2546 echo "$as_me:$LINENO: result: $CPP" >&5
2547 echo "${ECHO_T}$CPP" >&6
2549 for ac_c_preproc_warn_flag
in '' yes
2551 # Use a header file that comes with gcc, so configuring glibc
2552 # with a fresh cross-compiler works.
2553 # On the NeXT, cc -E runs the code through the compiler's parser,
2554 # not just through cpp. "Syntax error" is here to catch this case.
2555 cat >conftest.
$ac_ext <<_ACEOF
2556 #line $LINENO "configure"
2557 #include "confdefs.h"
2561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2562 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2564 egrep -v '^ *\+' conftest.er1
>conftest.err
2566 cat conftest.err
>&5
2567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2568 (exit $ac_status); } >/dev
/null
; then
2569 if test -s conftest.err
; then
2570 ac_cpp_err
=$ac_c_preproc_warn_flag
2577 if test -z "$ac_cpp_err"; then
2580 echo "$as_me: failed program was:" >&5
2581 cat conftest.
$ac_ext >&5
2582 # Broken: fails on valid input.
2585 rm -f conftest.err conftest.
$ac_ext
2587 # OK, works on sane cases. Now check whether non-existent headers
2588 # can be detected and how.
2589 cat >conftest.
$ac_ext <<_ACEOF
2590 #line $LINENO "configure"
2591 #include "confdefs.h"
2592 #include <ac_nonexistent.h>
2594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2595 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2597 egrep -v '^ *\+' conftest.er1
>conftest.err
2599 cat conftest.err
>&5
2600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2601 (exit $ac_status); } >/dev
/null
; then
2602 if test -s conftest.err
; then
2603 ac_cpp_err
=$ac_c_preproc_warn_flag
2610 if test -z "$ac_cpp_err"; then
2611 # Broken: success on invalid input.
2614 echo "$as_me: failed program was:" >&5
2615 cat conftest.
$ac_ext >&5
2616 # Passes both tests.
2620 rm -f conftest.err conftest.
$ac_ext
2623 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2624 rm -f conftest.err conftest.
$ac_ext
2625 if $ac_preproc_ok; then
2628 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2629 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2630 { (exit 1); exit 1; }; }
2634 ac_cpp
='$CPP $CPPFLAGS'
2635 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2636 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2637 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2640 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2641 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2642 if test "${ac_cv_header_stdc+set}" = set; then
2643 echo $ECHO_N "(cached) $ECHO_C" >&6
2645 cat >conftest.
$ac_ext <<_ACEOF
2646 #line $LINENO "configure"
2647 #include "confdefs.h"
2654 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2655 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2657 egrep -v '^ *\+' conftest.er1
>conftest.err
2659 cat conftest.err
>&5
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); } >/dev
/null
; then
2662 if test -s conftest.err
; then
2663 ac_cpp_err
=$ac_c_preproc_warn_flag
2670 if test -z "$ac_cpp_err"; then
2671 ac_cv_header_stdc
=yes
2673 echo "$as_me: failed program was:" >&5
2674 cat conftest.
$ac_ext >&5
2675 ac_cv_header_stdc
=no
2677 rm -f conftest.err conftest.
$ac_ext
2679 if test $ac_cv_header_stdc = yes; then
2680 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2681 cat >conftest.
$ac_ext <<_ACEOF
2682 #line $LINENO "configure"
2683 #include "confdefs.h"
2687 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2688 egrep "memchr" >/dev
/null
2>&1; then
2691 ac_cv_header_stdc
=no
2697 if test $ac_cv_header_stdc = yes; then
2698 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2699 cat >conftest.
$ac_ext <<_ACEOF
2700 #line $LINENO "configure"
2701 #include "confdefs.h"
2705 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2706 egrep "free" >/dev
/null
2>&1; then
2709 ac_cv_header_stdc
=no
2715 if test $ac_cv_header_stdc = yes; then
2716 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2717 if test "$cross_compiling" = yes; then
2720 cat >conftest.
$ac_ext <<_ACEOF
2721 #line $LINENO "configure"
2722 #include "confdefs.h"
2724 #if ((' ' & 0x0FF) == 0x020)
2725 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2726 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2728 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2729 || ('j' <= (c) && (c) <= 'r') \
2730 || ('s' <= (c) && (c) <= 'z'))
2731 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2734 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2739 for (i = 0; i < 256; i++)
2740 if (XOR (islower (i), ISLOWER (i))
2741 || toupper (i) != TOUPPER (i))
2746 rm -f conftest
$ac_exeext
2747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2748 (eval $ac_link) 2>&5
2750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2751 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
2752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2756 (exit $ac_status); }; }; then
2759 echo "$as_me: program exited with status $ac_status" >&5
2760 echo "$as_me: failed program was:" >&5
2761 cat conftest.
$ac_ext >&5
2763 ac_cv_header_stdc
=no
2765 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
2769 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2770 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2771 if test $ac_cv_header_stdc = yes; then
2773 cat >>confdefs.h
<<\_ACEOF
2774 #define STDC_HEADERS 1
2779 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2789 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
2790 inttypes.h stdint.h unistd.h
2792 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2793 echo "$as_me:$LINENO: checking for $ac_header" >&5
2794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2796 echo $ECHO_N "(cached) $ECHO_C" >&6
2798 cat >conftest.
$ac_ext <<_ACEOF
2799 #line $LINENO "configure"
2800 #include "confdefs.h"
2801 $ac_includes_default
2803 #include <$ac_header>
2805 rm -f conftest.
$ac_objext
2806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2807 (eval $ac_compile) 2>&5
2809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2810 (exit $ac_status); } &&
2811 { ac_try
='test -s conftest.$ac_objext'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; }; then
2817 eval "$as_ac_Header=yes"
2819 echo "$as_me: failed program was:" >&5
2820 cat conftest.
$ac_ext >&5
2821 eval "$as_ac_Header=no"
2823 rm -f conftest.
$ac_objext conftest.
$ac_ext
2825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2826 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2827 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2828 cat >>confdefs.h
<<_ACEOF
2829 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2839 for ac_header
in limits.h unistd.h
2841 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2843 echo "$as_me:$LINENO: checking for $ac_header" >&5
2844 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2845 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2846 echo $ECHO_N "(cached) $ECHO_C" >&6
2848 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2849 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2851 # Is the header compilable?
2852 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2853 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2854 cat >conftest.
$ac_ext <<_ACEOF
2855 #line $LINENO "configure"
2856 #include "confdefs.h"
2857 $ac_includes_default
2858 #include <$ac_header>
2860 rm -f conftest.
$ac_objext
2861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2862 (eval $ac_compile) 2>&5
2864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865 (exit $ac_status); } &&
2866 { ac_try
='test -s conftest.$ac_objext'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; }; then
2872 ac_header_compiler
=yes
2874 echo "$as_me: failed program was:" >&5
2875 cat conftest.
$ac_ext >&5
2876 ac_header_compiler
=no
2878 rm -f conftest.
$ac_objext conftest.
$ac_ext
2879 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
2880 echo "${ECHO_T}$ac_header_compiler" >&6
2882 # Is the header present?
2883 echo "$as_me:$LINENO: checking $ac_header presence" >&5
2884 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
2885 cat >conftest.
$ac_ext <<_ACEOF
2886 #line $LINENO "configure"
2887 #include "confdefs.h"
2888 #include <$ac_header>
2890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2893 egrep -v '^ *\+' conftest.er1
>conftest.err
2895 cat conftest.err
>&5
2896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2897 (exit $ac_status); } >/dev
/null
; then
2898 if test -s conftest.err
; then
2899 ac_cpp_err
=$ac_c_preproc_warn_flag
2906 if test -z "$ac_cpp_err"; then
2907 ac_header_preproc
=yes
2909 echo "$as_me: failed program was:" >&5
2910 cat conftest.
$ac_ext >&5
2911 ac_header_preproc
=no
2913 rm -f conftest.err conftest.
$ac_ext
2914 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
2915 echo "${ECHO_T}$ac_header_preproc" >&6
2917 # So? What about this header?
2918 case $ac_header_compiler:$ac_header_preproc in
2920 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
2921 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
2922 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2923 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2925 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
2926 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
2927 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
2928 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
2929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
2930 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
2932 echo "$as_me:$LINENO: checking for $ac_header" >&5
2933 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2934 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2935 echo $ECHO_N "(cached) $ECHO_C" >&6
2937 eval "$as_ac_Header=$ac_header_preproc"
2939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2940 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2943 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2944 cat >>confdefs.h
<<_ACEOF
2945 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2959 # SHAREDLIB_FLAG="-Wl,-B,immediate,-B,nonfatal,-B,verbose";
2966 # SHAREDLIB_FLAG="-shared"
2973 # SHAREDLIB_FLAG="-G"
2981 # SHAREDLIB_FLAG="-G"
2987 LIBS
="$LIBS -lcygwin -lkernel32 -lcrtdll"
2992 EXTRA_FLAGS
="-DCYGWIN"
2994 *) { { echo "$as_me:$LINENO: error: ARCH \"$target\" is not supported" >&5
2995 echo "$as_me: error: ARCH \"$target\" is not supported" >&2;}
2996 { (exit 1); exit 1; }; } ;;
3003 echo "setting sizes of int by hand: int 4, long int 4, long long int 8 "
3005 ac_cv_sizeof_long_int
=4
3006 ac_cv_sizeof_long_long_int
=8;;
3008 echo "$as_me:$LINENO: checking for int" >&5
3009 echo $ECHO_N "checking for int... $ECHO_C" >&6
3010 if test "${ac_cv_type_int+set}" = set; then
3011 echo $ECHO_N "(cached) $ECHO_C" >&6
3013 cat >conftest.
$ac_ext <<_ACEOF
3014 #line $LINENO "configure"
3015 #include "confdefs.h"
3016 $ac_includes_default
3017 #ifdef F77_DUMMY_MAIN
3021 int F77_DUMMY_MAIN() { return 1; }
3034 rm -f conftest.
$ac_objext
3035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3036 (eval $ac_compile) 2>&5
3038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039 (exit $ac_status); } &&
3040 { ac_try
='test -s conftest.$ac_objext'
3041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); }; }; then
3048 echo "$as_me: failed program was:" >&5
3049 cat conftest.
$ac_ext >&5
3052 rm -f conftest.
$ac_objext conftest.
$ac_ext
3054 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
3055 echo "${ECHO_T}$ac_cv_type_int" >&6
3057 echo "$as_me:$LINENO: checking size of int" >&5
3058 echo $ECHO_N "checking size of int... $ECHO_C" >&6
3059 if test "${ac_cv_sizeof_int+set}" = set; then
3060 echo $ECHO_N "(cached) $ECHO_C" >&6
3062 if test "$ac_cv_type_int" = yes; then
3063 # The cast to unsigned long works around a bug in the HP C Compiler
3064 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3065 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3066 # This bug is HP SR number 8606223364.
3067 if test "$cross_compiling" = yes; then
3068 # Depending upon the size, compute the lo and hi bounds.
3069 cat >conftest.
$ac_ext <<_ACEOF
3070 #line $LINENO "configure"
3071 #include "confdefs.h"
3072 $ac_includes_default
3073 #ifdef F77_DUMMY_MAIN
3077 int F77_DUMMY_MAIN() { return 1; }
3082 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
3089 rm -f conftest.
$ac_objext
3090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3091 (eval $ac_compile) 2>&5
3093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094 (exit $ac_status); } &&
3095 { ac_try
='test -s conftest.$ac_objext'
3096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3100 (exit $ac_status); }; }; then
3103 cat >conftest.
$ac_ext <<_ACEOF
3104 #line $LINENO "configure"
3105 #include "confdefs.h"
3106 $ac_includes_default
3107 #ifdef F77_DUMMY_MAIN
3111 int F77_DUMMY_MAIN() { return 1; }
3116 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3123 rm -f conftest.
$ac_objext
3124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3125 (eval $ac_compile) 2>&5
3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } &&
3129 { ac_try
='test -s conftest.$ac_objext'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; }; then
3135 ac_hi
=$ac_mid; break
3137 echo "$as_me: failed program was:" >&5
3138 cat conftest.
$ac_ext >&5
3139 ac_lo
=`expr $ac_mid + 1`
3140 if test $ac_lo -le $ac_mid; then
3144 ac_mid
=`expr 2 '*' $ac_mid + 1`
3146 rm -f conftest.
$ac_objext conftest.
$ac_ext
3149 echo "$as_me: failed program was:" >&5
3150 cat conftest.
$ac_ext >&5
3151 cat >conftest.
$ac_ext <<_ACEOF
3152 #line $LINENO "configure"
3153 #include "confdefs.h"
3154 $ac_includes_default
3155 #ifdef F77_DUMMY_MAIN
3159 int F77_DUMMY_MAIN() { return 1; }
3164 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
3171 rm -f conftest.
$ac_objext
3172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3173 (eval $ac_compile) 2>&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); } &&
3177 { ac_try
='test -s conftest.$ac_objext'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; }; then
3185 cat >conftest.
$ac_ext <<_ACEOF
3186 #line $LINENO "configure"
3187 #include "confdefs.h"
3188 $ac_includes_default
3189 #ifdef F77_DUMMY_MAIN
3193 int F77_DUMMY_MAIN() { return 1; }
3198 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
3205 rm -f conftest.
$ac_objext
3206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3207 (eval $ac_compile) 2>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try
='test -s conftest.$ac_objext'
3212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); }; }; then
3217 ac_lo
=$ac_mid; break
3219 echo "$as_me: failed program was:" >&5
3220 cat conftest.
$ac_ext >&5
3221 ac_hi
=`expr '(' $ac_mid ')' - 1`
3222 if test $ac_mid -le $ac_hi; then
3226 ac_mid
=`expr 2 '*' $ac_mid`
3228 rm -f conftest.
$ac_objext conftest.
$ac_ext
3231 echo "$as_me: failed program was:" >&5
3232 cat conftest.
$ac_ext >&5
3235 rm -f conftest.
$ac_objext conftest.
$ac_ext
3237 rm -f conftest.
$ac_objext conftest.
$ac_ext
3238 # Binary search between lo and hi bounds.
3239 while test "x$ac_lo" != "x$ac_hi"; do
3240 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3241 cat >conftest.
$ac_ext <<_ACEOF
3242 #line $LINENO "configure"
3243 #include "confdefs.h"
3244 $ac_includes_default
3245 #ifdef F77_DUMMY_MAIN
3249 int F77_DUMMY_MAIN() { return 1; }
3254 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
3261 rm -f conftest.
$ac_objext
3262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3263 (eval $ac_compile) 2>&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } &&
3267 { ac_try
='test -s conftest.$ac_objext'
3268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); }; }; then
3275 echo "$as_me: failed program was:" >&5
3276 cat conftest.
$ac_ext >&5
3277 ac_lo
=`expr '(' $ac_mid ')' + 1`
3279 rm -f conftest.
$ac_objext conftest.
$ac_ext
3282 ?
*) ac_cv_sizeof_int
=$ac_lo;;
3283 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
3284 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
3285 { (exit 1); exit 1; }; } ;;
3288 if test "$cross_compiling" = yes; then
3289 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
3290 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3291 { (exit 1); exit 1; }; }
3293 cat >conftest.
$ac_ext <<_ACEOF
3294 #line $LINENO "configure"
3295 #include "confdefs.h"
3296 $ac_includes_default
3297 long longval () { return (long) (sizeof (int)); }
3298 unsigned long ulongval () { return (long) (sizeof (int)); }
3301 #ifdef F77_DUMMY_MAIN
3305 int F77_DUMMY_MAIN() { return 1; }
3311 FILE *f = fopen ("conftest.val", "w");
3314 if (((long) (sizeof (int))) < 0)
3316 long i = longval ();
3317 if (i != ((long) (sizeof (int))))
3319 fprintf (f, "%ld\n", i);
3323 unsigned long i = ulongval ();
3324 if (i != ((long) (sizeof (int))))
3326 fprintf (f, "%lu\n", i);
3328 exit (ferror (f) || fclose (f) != 0);
3334 rm -f conftest
$ac_exeext
3335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3336 (eval $ac_link) 2>&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3344 (exit $ac_status); }; }; then
3345 ac_cv_sizeof_int
=`cat conftest.val`
3347 echo "$as_me: program exited with status $ac_status" >&5
3348 echo "$as_me: failed program was:" >&5
3349 cat conftest.
$ac_ext >&5
3351 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77" >&5
3352 echo "$as_me: error: cannot compute sizeof (int), 77" >&2;}
3353 { (exit 1); exit 1; }; }
3355 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3363 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
3364 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
3365 cat >>confdefs.h
<<_ACEOF
3366 #define SIZEOF_INT $ac_cv_sizeof_int
3370 echo "$as_me:$LINENO: checking for long int" >&5
3371 echo $ECHO_N "checking for long int... $ECHO_C" >&6
3372 if test "${ac_cv_type_long_int+set}" = set; then
3373 echo $ECHO_N "(cached) $ECHO_C" >&6
3375 cat >conftest.
$ac_ext <<_ACEOF
3376 #line $LINENO "configure"
3377 #include "confdefs.h"
3378 $ac_includes_default
3379 #ifdef F77_DUMMY_MAIN
3383 int F77_DUMMY_MAIN() { return 1; }
3390 if (sizeof (long int))
3396 rm -f conftest.
$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398 (eval $ac_compile) 2>&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try
='test -s conftest.$ac_objext'
3403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); }; }; then
3408 ac_cv_type_long_int
=yes
3410 echo "$as_me: failed program was:" >&5
3411 cat conftest.
$ac_ext >&5
3412 ac_cv_type_long_int
=no
3414 rm -f conftest.
$ac_objext conftest.
$ac_ext
3416 echo "$as_me:$LINENO: result: $ac_cv_type_long_int" >&5
3417 echo "${ECHO_T}$ac_cv_type_long_int" >&6
3419 echo "$as_me:$LINENO: checking size of long int" >&5
3420 echo $ECHO_N "checking size of long int... $ECHO_C" >&6
3421 if test "${ac_cv_sizeof_long_int+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3424 if test "$ac_cv_type_long_int" = yes; then
3425 # The cast to unsigned long works around a bug in the HP C Compiler
3426 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3427 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3428 # This bug is HP SR number 8606223364.
3429 if test "$cross_compiling" = yes; then
3430 # Depending upon the size, compute the lo and hi bounds.
3431 cat >conftest.
$ac_ext <<_ACEOF
3432 #line $LINENO "configure"
3433 #include "confdefs.h"
3434 $ac_includes_default
3435 #ifdef F77_DUMMY_MAIN
3439 int F77_DUMMY_MAIN() { return 1; }
3444 static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= 0)];
3451 rm -f conftest.
$ac_objext
3452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3453 (eval $ac_compile) 2>&5
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); } &&
3457 { ac_try
='test -s conftest.$ac_objext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3465 cat >conftest.
$ac_ext <<_ACEOF
3466 #line $LINENO "configure"
3467 #include "confdefs.h"
3468 $ac_includes_default
3469 #ifdef F77_DUMMY_MAIN
3473 int F77_DUMMY_MAIN() { return 1; }
3478 static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
3485 rm -f conftest.
$ac_objext
3486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3487 (eval $ac_compile) 2>&5
3489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3490 (exit $ac_status); } &&
3491 { ac_try
='test -s conftest.$ac_objext'
3492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3496 (exit $ac_status); }; }; then
3497 ac_hi
=$ac_mid; break
3499 echo "$as_me: failed program was:" >&5
3500 cat conftest.
$ac_ext >&5
3501 ac_lo
=`expr $ac_mid + 1`
3502 if test $ac_lo -le $ac_mid; then
3506 ac_mid
=`expr 2 '*' $ac_mid + 1`
3508 rm -f conftest.
$ac_objext conftest.
$ac_ext
3511 echo "$as_me: failed program was:" >&5
3512 cat conftest.
$ac_ext >&5
3513 cat >conftest.
$ac_ext <<_ACEOF
3514 #line $LINENO "configure"
3515 #include "confdefs.h"
3516 $ac_includes_default
3517 #ifdef F77_DUMMY_MAIN
3521 int F77_DUMMY_MAIN() { return 1; }
3526 static int test_array [1 - 2 * !(((long) (sizeof (long int))) < 0)];
3533 rm -f conftest.
$ac_objext
3534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3535 (eval $ac_compile) 2>&5
3537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538 (exit $ac_status); } &&
3539 { ac_try
='test -s conftest.$ac_objext'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; }; then
3547 cat >conftest.
$ac_ext <<_ACEOF
3548 #line $LINENO "configure"
3549 #include "confdefs.h"
3550 $ac_includes_default
3551 #ifdef F77_DUMMY_MAIN
3555 int F77_DUMMY_MAIN() { return 1; }
3560 static int test_array [1 - 2 * !(((long) (sizeof (long int))) >= $ac_mid)];
3567 rm -f conftest.
$ac_objext
3568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3569 (eval $ac_compile) 2>&5
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); } &&
3573 { ac_try
='test -s conftest.$ac_objext'
3574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); }; }; then
3579 ac_lo
=$ac_mid; break
3581 echo "$as_me: failed program was:" >&5
3582 cat conftest.
$ac_ext >&5
3583 ac_hi
=`expr '(' $ac_mid ')' - 1`
3584 if test $ac_mid -le $ac_hi; then
3588 ac_mid
=`expr 2 '*' $ac_mid`
3590 rm -f conftest.
$ac_objext conftest.
$ac_ext
3593 echo "$as_me: failed program was:" >&5
3594 cat conftest.
$ac_ext >&5
3597 rm -f conftest.
$ac_objext conftest.
$ac_ext
3599 rm -f conftest.
$ac_objext conftest.
$ac_ext
3600 # Binary search between lo and hi bounds.
3601 while test "x$ac_lo" != "x$ac_hi"; do
3602 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3603 cat >conftest.
$ac_ext <<_ACEOF
3604 #line $LINENO "configure"
3605 #include "confdefs.h"
3606 $ac_includes_default
3607 #ifdef F77_DUMMY_MAIN
3611 int F77_DUMMY_MAIN() { return 1; }
3616 static int test_array [1 - 2 * !(((long) (sizeof (long int))) <= $ac_mid)];
3623 rm -f conftest.
$ac_objext
3624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3625 (eval $ac_compile) 2>&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } &&
3629 { ac_try
='test -s conftest.$ac_objext'
3630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); }; }; then
3637 echo "$as_me: failed program was:" >&5
3638 cat conftest.
$ac_ext >&5
3639 ac_lo
=`expr '(' $ac_mid ')' + 1`
3641 rm -f conftest.
$ac_objext conftest.
$ac_ext
3644 ?
*) ac_cv_sizeof_long_int
=$ac_lo;;
3645 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77" >&5
3646 echo "$as_me: error: cannot compute sizeof (long int), 77" >&2;}
3647 { (exit 1); exit 1; }; } ;;
3650 if test "$cross_compiling" = yes; then
3651 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
3652 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
3653 { (exit 1); exit 1; }; }
3655 cat >conftest.
$ac_ext <<_ACEOF
3656 #line $LINENO "configure"
3657 #include "confdefs.h"
3658 $ac_includes_default
3659 long longval () { return (long) (sizeof (long int)); }
3660 unsigned long ulongval () { return (long) (sizeof (long int)); }
3663 #ifdef F77_DUMMY_MAIN
3667 int F77_DUMMY_MAIN() { return 1; }
3673 FILE *f = fopen ("conftest.val", "w");
3676 if (((long) (sizeof (long int))) < 0)
3678 long i = longval ();
3679 if (i != ((long) (sizeof (long int))))
3681 fprintf (f, "%ld\n", i);
3685 unsigned long i = ulongval ();
3686 if (i != ((long) (sizeof (long int))))
3688 fprintf (f, "%lu\n", i);
3690 exit (ferror (f) || fclose (f) != 0);
3696 rm -f conftest
$ac_exeext
3697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3698 (eval $ac_link) 2>&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }; }; then
3707 ac_cv_sizeof_long_int
=`cat conftest.val`
3709 echo "$as_me: program exited with status $ac_status" >&5
3710 echo "$as_me: failed program was:" >&5
3711 cat conftest.
$ac_ext >&5
3713 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long int), 77" >&5
3714 echo "$as_me: error: cannot compute sizeof (long int), 77" >&2;}
3715 { (exit 1); exit 1; }; }
3717 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3722 ac_cv_sizeof_long_int
=0
3725 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_int" >&5
3726 echo "${ECHO_T}$ac_cv_sizeof_long_int" >&6
3727 cat >>confdefs.h
<<_ACEOF
3728 #define SIZEOF_LONG_INT $ac_cv_sizeof_long_int
3732 echo "$as_me:$LINENO: checking for long long int" >&5
3733 echo $ECHO_N "checking for long long int... $ECHO_C" >&6
3734 if test "${ac_cv_type_long_long_int+set}" = set; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 cat >conftest.
$ac_ext <<_ACEOF
3738 #line $LINENO "configure"
3739 #include "confdefs.h"
3740 $ac_includes_default
3741 #ifdef F77_DUMMY_MAIN
3745 int F77_DUMMY_MAIN() { return 1; }
3750 if ((long long int *) 0)
3752 if (sizeof (long long int))
3758 rm -f conftest.
$ac_objext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3760 (eval $ac_compile) 2>&5
3762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3763 (exit $ac_status); } &&
3764 { ac_try
='test -s conftest.$ac_objext'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; }; then
3770 ac_cv_type_long_long_int
=yes
3772 echo "$as_me: failed program was:" >&5
3773 cat conftest.
$ac_ext >&5
3774 ac_cv_type_long_long_int
=no
3776 rm -f conftest.
$ac_objext conftest.
$ac_ext
3778 echo "$as_me:$LINENO: result: $ac_cv_type_long_long_int" >&5
3779 echo "${ECHO_T}$ac_cv_type_long_long_int" >&6
3781 echo "$as_me:$LINENO: checking size of long long int" >&5
3782 echo $ECHO_N "checking size of long long int... $ECHO_C" >&6
3783 if test "${ac_cv_sizeof_long_long_int+set}" = set; then
3784 echo $ECHO_N "(cached) $ECHO_C" >&6
3786 if test "$ac_cv_type_long_long_int" = yes; then
3787 # The cast to unsigned long works around a bug in the HP C Compiler
3788 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
3789 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
3790 # This bug is HP SR number 8606223364.
3791 if test "$cross_compiling" = yes; then
3792 # Depending upon the size, compute the lo and hi bounds.
3793 cat >conftest.
$ac_ext <<_ACEOF
3794 #line $LINENO "configure"
3795 #include "confdefs.h"
3796 $ac_includes_default
3797 #ifdef F77_DUMMY_MAIN
3801 int F77_DUMMY_MAIN() { return 1; }
3806 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= 0)];
3813 rm -f conftest.
$ac_objext
3814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3815 (eval $ac_compile) 2>&5
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); } &&
3819 { ac_try
='test -s conftest.$ac_objext'
3820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); }; }; then
3827 cat >conftest.
$ac_ext <<_ACEOF
3828 #line $LINENO "configure"
3829 #include "confdefs.h"
3830 $ac_includes_default
3831 #ifdef F77_DUMMY_MAIN
3835 int F77_DUMMY_MAIN() { return 1; }
3840 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
3847 rm -f conftest.
$ac_objext
3848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3849 (eval $ac_compile) 2>&5
3851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3852 (exit $ac_status); } &&
3853 { ac_try
='test -s conftest.$ac_objext'
3854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); }; }; then
3859 ac_hi
=$ac_mid; break
3861 echo "$as_me: failed program was:" >&5
3862 cat conftest.
$ac_ext >&5
3863 ac_lo
=`expr $ac_mid + 1`
3864 if test $ac_lo -le $ac_mid; then
3868 ac_mid
=`expr 2 '*' $ac_mid + 1`
3870 rm -f conftest.
$ac_objext conftest.
$ac_ext
3873 echo "$as_me: failed program was:" >&5
3874 cat conftest.
$ac_ext >&5
3875 cat >conftest.
$ac_ext <<_ACEOF
3876 #line $LINENO "configure"
3877 #include "confdefs.h"
3878 $ac_includes_default
3879 #ifdef F77_DUMMY_MAIN
3883 int F77_DUMMY_MAIN() { return 1; }
3888 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) < 0)];
3895 rm -f conftest.
$ac_objext
3896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3897 (eval $ac_compile) 2>&5
3899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3900 (exit $ac_status); } &&
3901 { ac_try
='test -s conftest.$ac_objext'
3902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3906 (exit $ac_status); }; }; then
3909 cat >conftest.
$ac_ext <<_ACEOF
3910 #line $LINENO "configure"
3911 #include "confdefs.h"
3912 $ac_includes_default
3913 #ifdef F77_DUMMY_MAIN
3917 int F77_DUMMY_MAIN() { return 1; }
3922 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) >= $ac_mid)];
3929 rm -f conftest.
$ac_objext
3930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3931 (eval $ac_compile) 2>&5
3933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3934 (exit $ac_status); } &&
3935 { ac_try
='test -s conftest.$ac_objext'
3936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); }; }; then
3941 ac_lo
=$ac_mid; break
3943 echo "$as_me: failed program was:" >&5
3944 cat conftest.
$ac_ext >&5
3945 ac_hi
=`expr '(' $ac_mid ')' - 1`
3946 if test $ac_mid -le $ac_hi; then
3950 ac_mid
=`expr 2 '*' $ac_mid`
3952 rm -f conftest.
$ac_objext conftest.
$ac_ext
3955 echo "$as_me: failed program was:" >&5
3956 cat conftest.
$ac_ext >&5
3959 rm -f conftest.
$ac_objext conftest.
$ac_ext
3961 rm -f conftest.
$ac_objext conftest.
$ac_ext
3962 # Binary search between lo and hi bounds.
3963 while test "x$ac_lo" != "x$ac_hi"; do
3964 ac_mid
=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
3965 cat >conftest.
$ac_ext <<_ACEOF
3966 #line $LINENO "configure"
3967 #include "confdefs.h"
3968 $ac_includes_default
3969 #ifdef F77_DUMMY_MAIN
3973 int F77_DUMMY_MAIN() { return 1; }
3978 static int test_array [1 - 2 * !(((long) (sizeof (long long int))) <= $ac_mid)];
3985 rm -f conftest.
$ac_objext
3986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3987 (eval $ac_compile) 2>&5
3989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3990 (exit $ac_status); } &&
3991 { ac_try
='test -s conftest.$ac_objext'
3992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); }; }; then
3999 echo "$as_me: failed program was:" >&5
4000 cat conftest.
$ac_ext >&5
4001 ac_lo
=`expr '(' $ac_mid ')' + 1`
4003 rm -f conftest.
$ac_objext conftest.
$ac_ext
4006 ?
*) ac_cv_sizeof_long_long_int
=$ac_lo;;
4007 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77" >&5
4008 echo "$as_me: error: cannot compute sizeof (long long int), 77" >&2;}
4009 { (exit 1); exit 1; }; } ;;
4012 if test "$cross_compiling" = yes; then
4013 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling" >&5
4014 echo "$as_me: error: cannot run test program while cross compiling" >&2;}
4015 { (exit 1); exit 1; }; }
4017 cat >conftest.
$ac_ext <<_ACEOF
4018 #line $LINENO "configure"
4019 #include "confdefs.h"
4020 $ac_includes_default
4021 long longval () { return (long) (sizeof (long long int)); }
4022 unsigned long ulongval () { return (long) (sizeof (long long int)); }
4025 #ifdef F77_DUMMY_MAIN
4029 int F77_DUMMY_MAIN() { return 1; }
4035 FILE *f = fopen ("conftest.val", "w");
4038 if (((long) (sizeof (long long int))) < 0)
4040 long i = longval ();
4041 if (i != ((long) (sizeof (long long int))))
4043 fprintf (f, "%ld\n", i);
4047 unsigned long i = ulongval ();
4048 if (i != ((long) (sizeof (long long int))))
4050 fprintf (f, "%lu\n", i);
4052 exit (ferror (f) || fclose (f) != 0);
4058 rm -f conftest
$ac_exeext
4059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4060 (eval $ac_link) 2>&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); }; }; then
4069 ac_cv_sizeof_long_long_int
=`cat conftest.val`
4071 echo "$as_me: program exited with status $ac_status" >&5
4072 echo "$as_me: failed program was:" >&5
4073 cat conftest.
$ac_ext >&5
4075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long int), 77" >&5
4076 echo "$as_me: error: cannot compute sizeof (long long int), 77" >&2;}
4077 { (exit 1); exit 1; }; }
4079 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4084 ac_cv_sizeof_long_long_int
=0
4087 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long_int" >&5
4088 echo "${ECHO_T}$ac_cv_sizeof_long_long_int" >&6
4089 cat >>confdefs.h
<<_ACEOF
4090 #define SIZEOF_LONG_LONG_INT $ac_cv_sizeof_long_long_int
4098 # Check whether --enable-int-lib or --disable-int-lib was given.
4099 if test "${enable_int_lib+set}" = set; then
4100 enableval
="$enable_int_lib"
4101 only_int_lib
=$enableval
4105 # Check whether --enable-longint-lib or --disable-longint-lib was given.
4106 if test "${enable_longint_lib+set}" = set; then
4107 enableval
="$enable_longint_lib"
4108 only_longint_lib
=$enableval
4112 # Check whether --enable-longlongint-lib or --disable-longlongint-lib was given.
4113 if test "${enable_longlongint_lib+set}" = set; then
4114 enableval
="$enable_longlongint_lib"
4115 only_longlongint_lib
=$enableval
4117 only_longlongint_lib
=no
4119 # Check whether --enable-gmpint-lib or --disable-gmpint-lib was given.
4120 if test "${enable_gmpint_lib+set}" = set; then
4121 enableval
="$enable_gmpint_lib"
4122 only_gmpint_lib
=$enableval
4126 # Check whether --enable-allint-lib or --disable-allint-lib was given.
4127 if test "${enable_allint_lib+set}" = set; then
4128 enableval
="$enable_allint_lib"
4129 allint_lib
=$enableval
4134 INT_BITS
=`expr $ac_cv_sizeof_int \* 8`
4135 INT_AFLAGS
=-DLINEAR_VALUE_IS_INT
4137 LONG_BITS
=`expr $ac_cv_sizeof_long_long_int \* 8`
4138 LONG_AFLAGS
="-DLINEAR_VALUE_IS_LONGLONG -DLINEAR_VALUE_PROTECT_MULTIPLY\
4139 -DLINEAR_VALUE_ASSUME_SOFTWARE_IDIV"
4142 GMP_AFLAGS
="-DGNUMP"
4145 if test "$only_int_lib" = "yes"; then
4147 elif test "$only_longint_lib" = "yes"; then
4148 INT_BITS
=`expr $ac_cv_sizeof_long_int \* 8`
4149 INT_AFLAGS
="-DLINEAR_VALUE_IS_LONG -DLINEAR_VALUE_PROTECT_MULTIPLY\
4150 -DLINEAR_VALUE_ASSUME_SOFTWARE_IDIV"
4152 elif test "$only_longlongint_lib" = "yes"; then
4154 elif test "$only_gmpint_lib" = "yes"; then
4159 echo "$as_me:$LINENO: checking what the LONG representation is" >&5
4160 echo $ECHO_N "checking what the LONG representation is... $ECHO_C" >&6
4162 if test "$ac_cv_sizeof_long_long_int" -gt "$ac_cv_sizeof_int"; then
4163 LONG_BITS
=`expr $ac_cv_sizeof_long_long_int \* 8`
4164 echo "$as_me:$LINENO: result: long long int, $LONG_BITS bits" >&5
4165 echo "${ECHO_T}long long int, $LONG_BITS bits" >&6
4166 elif test "$ac_cv_sizeof_long_int" -gt "$ac_cv_sizeof_int"; then
4167 LONG_BITS
=`expr $ac_cv_sizeof_long_int \* 8`
4168 echo "$as_me:$LINENO: result: long int, $LONG_BITS bits" >&5
4169 echo "${ECHO_T}long int, $LONG_BITS bits" >&6
4171 echo "$as_me:$LINENO: result: NONE!" >&5
4172 echo "${ECHO_T}NONE!" >&6
4179 if test "$no_long" = "yes"; then
4180 LIBS_TO_BUILD
=$INT_BITS
4181 EXEC_TO_BUILD
=$INT_BITS
4182 DEFAULT_INT_BITS
=$INT_BITS
4183 DEFAULT_AFLAGS
=$INT_AFLAGS
4184 elif test "$only_longlongint_lib" = "yes"; then
4185 LIBS_TO_BUILD
=$LONG_BITS
4186 EXEC_TO_BUILD
=$LONG_BITS
4187 DEFAULT_INT_BITS
=$LONG_BITS
4188 DEFAULT_AFLAGS
=$LONG_AFLAGS
4189 elif test "$only_gmpint_lib" = "yes"; then
4190 LIBS_TO_BUILD
="$GMP_BITS"
4191 EXEC_TO_BUILD
="$GMP_BITS"
4192 DEFAULT_INT_BITS
="$GMP_BITS"
4193 DEFAULT_AFLAGS
="$GMP_AFLAGS"
4195 elif test "$allint_lib" = "yes"; then
4196 LIBS_TO_BUILD
="$INT_BITS $LONG_BITS $GMP_BITS"
4197 EXEC_TO_BUILD
="$LONG_BITS"
4198 DEFAULT_INT_BITS
=$INT_BITS
4199 DEFAULT_AFLAGS
=$INT_AFLAGS
4202 LIBS_TO_BUILD
="$LONG_BITS"
4203 EXEC_TO_BUILD
="$LONG_BITS"
4204 DEFAULT_INT_BITS
=$LONG_BITS
4205 DEFAULT_AFLAGS
=$LONG_AFLAGS
4208 # Check whether --enable-short-exec or --disable-short-exec was given.
4209 if test "${enable_short_exec+set}" = set; then
4210 enableval
="$enable_short_exec"
4211 if test "$enableval" = yes; then
4212 EXEC_TO_BUILD
=$INT_BITS
4213 DEFAULT_INT_BITS
=$INT_BITS
4214 DEFAULT_AFLAGS
=$INT_AFLAGS
4219 EXEC_EXTRA_SUFFIX
=$EXEC_SUFFIX
4220 # Check whether --enable-extra-suffix or --disable-extra-suffix was given.
4221 if test "${enable_extra_suffix+set}" = set; then
4222 enableval
="$enable_extra_suffix"
4223 if test "$enableval" = yes; then
4224 EXEC_EXTRA_SUFFIX
="\$(BITS)$EXEC_SUFFIX"
4227 # Check whether --enable-all-exec or --disable-all-exec was given.
4228 if test "${enable_all_exec+set}" = set; then
4229 enableval
="$enable_all_exec"
4230 if test "$enableval" = yes; then
4231 EXEC_TO_BUILD
="$LIBS_TO_BUILD"
4232 DEFAULT_INT_BITS
=$INT_BITS
4233 DEFAULT_AFLAGS
=$INT_AFLAGS
4234 EXEC_EXTRA_SUFFIX
="\$(BITS)$EXEC_SUFFIX"
4239 INSTALL_LIB
="install-static"
4242 # Check whether --with-doxygen or --without-doxygen was given.
4243 if test "${with_doxygen+set}" = set; then
4244 withval
="$with_doxygen"
4245 doxygen_package
=$withval
4248 # Extract the first word of "doxygen", so it can be a program name with args.
4249 set dummy doxygen
; ac_word
=$2
4250 echo "$as_me:$LINENO: checking for $ac_word" >&5
4251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4252 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
4253 echo $ECHO_N "(cached) $ECHO_C" >&6
4255 if test -n "$DOXYGEN"; then
4256 ac_cv_prog_DOXYGEN
="$DOXYGEN" # Let the user override the test.
4258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4259 as_dummy
="$PATH:$doxygen_package/bin:/usr/local/bin"
4260 for as_dir
in $as_dummy
4263 test -z "$as_dir" && as_dir
=.
4264 for ac_exec_ext
in '' $ac_executable_extensions; do
4265 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4266 ac_cv_prog_DOXYGEN
="$withval"
4267 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN
="test"
4276 DOXYGEN
=$ac_cv_prog_DOXYGEN
4277 if test -n "$DOXYGEN"; then
4278 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
4279 echo "${ECHO_T}$DOXYGEN" >&6
4281 echo "$as_me:$LINENO: result: no" >&5
4282 echo "${ECHO_T}no" >&6
4290 # Check whether --with-libgmp or --without-libgmp was given.
4291 if test "${with_libgmp+set}" = set; then
4292 withval
="$with_libgmp"
4293 gmp_package
=$withval
4301 echo "$as_me:$LINENO: checking for GMP" >&5
4302 echo $ECHO_N "checking for GMP... $ECHO_C" >&6
4303 if test "x$gmp_package" = "xno"; then
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4307 if test "x$gmp_package" = "xyes"; then
4308 if test "${ac_cv_header_gmp_h+set}" = set; then
4309 echo "$as_me:$LINENO: checking for gmp.h" >&5
4310 echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
4311 if test "${ac_cv_header_gmp_h+set}" = set; then
4312 echo $ECHO_N "(cached) $ECHO_C" >&6
4314 echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
4315 echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
4317 # Is the header compilable?
4318 echo "$as_me:$LINENO: checking gmp.h usability" >&5
4319 echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
4320 cat >conftest.
$ac_ext <<_ACEOF
4321 #line $LINENO "configure"
4322 #include "confdefs.h"
4323 $ac_includes_default
4326 rm -f conftest.
$ac_objext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4328 (eval $ac_compile) 2>&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } &&
4332 { ac_try
='test -s conftest.$ac_objext'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; }; then
4338 ac_header_compiler
=yes
4340 echo "$as_me: failed program was:" >&5
4341 cat conftest.
$ac_ext >&5
4342 ac_header_compiler
=no
4344 rm -f conftest.
$ac_objext conftest.
$ac_ext
4345 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4346 echo "${ECHO_T}$ac_header_compiler" >&6
4348 # Is the header present?
4349 echo "$as_me:$LINENO: checking gmp.h presence" >&5
4350 echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
4351 cat >conftest.
$ac_ext <<_ACEOF
4352 #line $LINENO "configure"
4353 #include "confdefs.h"
4356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4357 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4359 egrep -v '^ *\+' conftest.er1
>conftest.err
4361 cat conftest.err
>&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } >/dev
/null
; then
4364 if test -s conftest.err
; then
4365 ac_cpp_err
=$ac_c_preproc_warn_flag
4372 if test -z "$ac_cpp_err"; then
4373 ac_header_preproc
=yes
4375 echo "$as_me: failed program was:" >&5
4376 cat conftest.
$ac_ext >&5
4377 ac_header_preproc
=no
4379 rm -f conftest.err conftest.
$ac_ext
4380 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4381 echo "${ECHO_T}$ac_header_preproc" >&6
4383 # So? What about this header?
4384 case $ac_header_compiler:$ac_header_preproc in
4386 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
4387 echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4388 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
4389 echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;};;
4391 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
4392 echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
4393 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
4394 echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
4395 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
4396 echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;};;
4398 echo "$as_me:$LINENO: checking for gmp.h" >&5
4399 echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
4400 if test "${ac_cv_header_gmp_h+set}" = set; then
4401 echo $ECHO_N "(cached) $ECHO_C" >&6
4403 ac_cv_header_gmp_h
=$ac_header_preproc
4405 echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
4406 echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
4409 if test $ac_cv_header_gmp_h = yes; then
4410 echo "$as_me:$LINENO: checking for main in -lgmp" >&5
4411 echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
4412 if test "${ac_cv_lib_gmp_main+set}" = set; then
4413 echo $ECHO_N "(cached) $ECHO_C" >&6
4415 ac_check_lib_save_LIBS
=$LIBS
4417 cat >conftest.
$ac_ext <<_ACEOF
4418 #line $LINENO "configure"
4419 #include "confdefs.h"
4422 #ifdef F77_DUMMY_MAIN
4426 int F77_DUMMY_MAIN() { return 1; }
4436 rm -f conftest.
$ac_objext conftest
$ac_exeext
4437 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4438 (eval $ac_link) 2>&5
4440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4441 (exit $ac_status); } &&
4442 { ac_try
='test -s conftest$ac_exeext'
4443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; }; then
4448 ac_cv_lib_gmp_main
=yes
4450 echo "$as_me: failed program was:" >&5
4451 cat conftest.
$ac_ext >&5
4452 ac_cv_lib_gmp_main
=no
4454 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4455 LIBS
=$ac_check_lib_save_LIBS
4457 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
4458 echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
4459 if test $ac_cv_lib_gmp_main = yes; then
4460 EXTRA_LIBS
="-lgmp $EXTRA_LIBS"
4467 GMP_DIR
=$gmp_package
4468 if test ! -d "$GMP_DIR"; then
4469 { { echo "$as_me:$LINENO: error: Directory given for GMP Distribution is not a directory" >&5
4470 echo "$as_me: error: Directory given for GMP Distribution is not a directory" >&2;}
4471 { (exit 1); exit 1; }; }
4473 GMP_INC
=$GMP_DIR/include
4474 GMP_LIB
=$GMP_DIR/lib
4475 if test ! -f $GMP_INC/gmp.h
; then
4476 { { echo "$as_me:$LINENO: error: Can't find $GMP_INC/gmp.h" >&5
4477 echo "$as_me: error: Can't find $GMP_INC/gmp.h" >&2;}
4478 { (exit 1); exit 1; }; }
4479 elif test -f $GMP_LIB/libgmp.so
-o -f $GMP_LIB/libgmp.a
-o -f $GMP_LIB/libgmp.
$SHEXT; then
4480 EXTRA_INCLUDES
="-I$GMP_INC"
4481 EXTRA_LIBS
="-L$GMP_LIB -lgmp $EXTRA_LIBS"
4482 echo "$as_me:$LINENO: result: yes" >&5
4483 echo "${ECHO_T}yes" >&6
4485 { { echo "$as_me:$LINENO: error: Can't find $GMP_LIB/libgmp.so nor $GMP_LIB/libgmp.a nor $GMP_LIB/libgmp.$SHEXT" >&5
4486 echo "$as_me: error: Can't find $GMP_LIB/libgmp.so nor $GMP_LIB/libgmp.a nor $GMP_LIB/libgmp.$SHEXT" >&2;}
4487 { (exit 1); exit 1; }; }
4493 echo "Polylib will be built with " $LIBS_TO_BUILD "integer size"
4494 echo "---------------------------------------------------"
4495 echo "You can proceed with:"
4496 echo "make :to build the libs and the executables"
4497 echo "make tests :to test the library"
4498 echo "make install :to install them (default /usr/local)"
4499 echo "---------------------------------------------------"
4535 ac_config_files
="$ac_config_files vars.mk"
4538 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4539 # Let make expand exec_prefix.
4540 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4542 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4543 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4544 # trailing colons and then remove the whole line if VPATH becomes empty
4545 # (actually we leave an empty line to preserve line numbers).
4546 if test "x$srcdir" = x.
; then
4547 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4548 s/:*\$(srcdir):*/:/;
4549 s/:*\${srcdir}:*/:/;
4551 s/^\([^=]*=[ ]*\):*/\1/;
4557 # Transform confdefs.h into DEFS.
4558 # Protect against shell expansion while executing Makefile rules.
4559 # Protect against Makefile macro expansion.
4561 # If the first sed substitution is executed (which looks for macros that
4562 # take arguments), then we branch to the quote section. Otherwise,
4563 # look for a macro that doesn't take arguments.
4564 cat >confdef2opt.
sed <<\_ACEOF
4567 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4569 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4573 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4579 # We use echo to avoid assuming a particular line-breaking character.
4580 # The extra dot is to prevent the shell from consuming trailing
4581 # line-breaks from the sub-command output. A line-break within
4582 # single-quotes doesn't work because, if this script is created in a
4583 # platform that uses two characters for line-breaks (e.g., DOS), tr
4585 ac_LF_and_DOT=`echo; echo .
`
4586 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
4587 rm -f confdef2opt.sed
4591 : ${CONFIG_STATUS=./config.status}
4592 ac_clean_files_save=$ac_clean_files
4593 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4594 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4595 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4596 cat >$CONFIG_STATUS <<_ACEOF
4598 # Generated by $as_me.
4599 # Run this file to recreate the current configuration.
4600 # Compiler output produced by configure, useful for debugging
4601 # configure, is in config.log if it exists.
4604 SHELL=\${CONFIG_SHELL-$SHELL}
4607 cat >>$CONFIG_STATUS <<\_ACEOF
4608 ## --------------------- ##
4609 ## M4sh Initialization. ##
4610 ## --------------------- ##
4612 # Be Bourne compatible
4613 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4616 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4617 # is contrary to our usage. Disable this feature.
4618 alias -g '${1+"$@"}'='"$@"'
4619 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4624 # Support unset when possible.
4625 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4631 (set +x; test -n "`(LANG
=C
; export LANG
) 2>&1`") &&
4632 { $as_unset LANG || test "${LANG+set}" != set; } ||
4633 { LANG=C; export LANG; }
4634 (set +x; test -n "`(LC_ALL
=C
; export LC_ALL
) 2>&1`") &&
4635 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4636 { LC_ALL=C; export LC_ALL; }
4637 (set +x; test -n "`(LC_TIME
=C
; export LC_TIME
) 2>&1`") &&
4638 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4639 { LC_TIME=C; export LC_TIME; }
4640 (set +x; test -n "`(LC_CTYPE
=C
; export LC_CTYPE
) 2>&1`") &&
4641 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4642 { LC_CTYPE=C; export LC_CTYPE; }
4643 (set +x; test -n "`(LANGUAGE
=C
; export LANGUAGE
) 2>&1`") &&
4644 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4645 { LANGUAGE=C; export LANGUAGE; }
4646 (set +x; test -n "`(LC_COLLATE
=C
; export LC_COLLATE
) 2>&1`") &&
4647 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4648 { LC_COLLATE=C; export LC_COLLATE; }
4649 (set +x; test -n "`(LC_NUMERIC
=C
; export LC_NUMERIC
) 2>&1`") &&
4650 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4651 { LC_NUMERIC=C; export LC_NUMERIC; }
4652 (set +x; test -n "`(LC_MESSAGES
=C
; export LC_MESSAGES
) 2>&1`") &&
4653 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4654 { LC_MESSAGES=C; export LC_MESSAGES; }
4657 # Required to use basename.
4658 if expr a : '\(a\)' >/dev/null 2>&1; then
4664 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4665 as_basename=basename
4671 # Name of the executable.
4672 as_me=`$as_basename "$0" ||
4673 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4674 X
"$0" : 'X\(//\)$' \| \
4675 X
"$0" : 'X\(/\)$' \| \
4676 .
: '\(.\)' 2>/dev
/null ||
4678 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4679 /^X\/\(\/\/\)$/{ s//\1/; q; }
4680 /^X\/\(\/\).*/{ s//\1/; q; }
4684 # PATH needs CR, and LINENO needs CR and PATH.
4685 # Avoid depending upon Character Ranges.
4686 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4687 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4688 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4689 as_cr_digits='0123456789'
4690 as_cr_alnum=$as_cr_Letters$as_cr_digits
4692 # The user is always right.
4693 if test "${PATH_SEPARATOR+set}" != set; then
4694 echo "#! /bin/sh" >conftest.sh
4695 echo "exit 0" >>conftest.sh
4696 chmod +x conftest.sh
4697 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4708 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
4709 test "x$as_lineno_1" != "x$as_lineno_2" &&
4710 test "x$as_lineno_3" = "x$as_lineno_2" || {
4711 # Find who we are. Look in the path if we contain no path at all
4714 *[\\/]* ) as_myself=$0 ;;
4715 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4719 test -z "$as_dir" && as_dir=.
4720 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4725 # We did not find ourselves, most probably we were run as `sh COMMAND
'
4726 # in which case we are not to be found in the path.
4727 if test "x$as_myself" = x; then
4730 if test ! -f "$as_myself"; then
4731 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4732 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4733 { (exit 1); exit 1; }; }
4735 case $CONFIG_SHELL in
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4741 test -z "$as_dir" && as_dir=.
4742 for as_base in sh bash ksh sh5; do
4745 if ("$as_dir/$as_base" -c '
4748 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4749 test "x$as_lineno_1" != "x$as_lineno_2" &&
4750 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4751 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4752 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4753 CONFIG_SHELL=$as_dir/$as_base
4755 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4763 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4764 # uniformly replaced by the line number. The first 'sed' inserts a
4765 # line-number line before each line; the second 'sed' does the real
4766 # work. The second script uses 'N
' to pair each line-number line
4767 # with the numbered line, and appends trailing '-' during
4768 # substitution so that $LINENO is not a special case at line end.
4769 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4770 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
4771 sed '=' <$as_myself |
4776 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4779 s,^['$as_cr_digits']*\n,,
4781 chmod +x
$as_me.lineno ||
4782 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4783 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4784 { (exit 1); exit 1; }; }
4786 # Don't try to exec as it changes $[0], causing all sort of problems
4787 # (the dirname of $[0] is not the place where we might find the
4788 # original and so on. Autoconf is especially sensible to this).
4790 # Exit status is that of the last command.
4795 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4796 *c
*,-n*) ECHO_N
= ECHO_C
='
4798 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4799 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4802 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4808 rm -f conf$$ conf$$.exe conf$$.
file
4810 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4811 # We could just check for DJGPP; but this test a) works b) is more generic
4812 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4813 if test -f conf$$.exe
; then
4814 # Don't use ln at all; we don't have any links
4819 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4824 rm -f conf$$ conf$$.exe conf$$.
file
4826 if mkdir
-p .
2>/dev
/null
; then
4832 as_executable_p
="test -f"
4834 # Sed expression to map a string onto a valid CPP name.
4835 as_tr_cpp
="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4837 # Sed expression to map a string onto a valid variable name.
4838 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4842 # We need space, tab and new line, in precisely that order.
4848 $as_unset CDPATH ||
test "${CDPATH+set}" != set ||
{ CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
4852 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4853 # report actual input values of CONFIG_FILES etc. instead of their
4854 # values after options handling. Logging --version etc. is OK.
4858 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4859 ## Running $as_me. ##
4864 This file was extended by $as_me, which was
4865 generated by GNU Autoconf 2.53a. Invocation command line was
4867 CONFIG_FILES = $CONFIG_FILES
4868 CONFIG_HEADERS = $CONFIG_HEADERS
4869 CONFIG_LINKS = $CONFIG_LINKS
4870 CONFIG_COMMANDS = $CONFIG_COMMANDS
4874 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4878 # Files that config.status was made for.
4879 if test -n "$ac_config_files"; then
4880 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4883 if test -n "$ac_config_headers"; then
4884 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4887 if test -n "$ac_config_links"; then
4888 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4891 if test -n "$ac_config_commands"; then
4892 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4895 cat >>$CONFIG_STATUS <<\_ACEOF
4898 \`$as_me' instantiates files from templates according to the
4899 current configuration.
4901 Usage: $0 [OPTIONS] [FILE]...
4903 -h, --help print this help, then exit
4904 -V, --version print version number, then exit
4905 -d, --debug don't remove temporary files
4906 --recheck update $as_me by reconfiguring in the same conditions
4907 --file=FILE[:TEMPLATE]
4908 instantiate the configuration file FILE
4910 Configuration files:
4913 Report bugs to <bug-autoconf@gnu.org>."
4916 cat >>$CONFIG_STATUS <<_ACEOF
4919 configured by $0, generated by GNU Autoconf 2.53a,
4920 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4922 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4923 Free Software Foundation, Inc.
4924 This config.status script is free software; the Free Software Foundation
4925 gives unlimited permission to copy, distribute and modify it."
4930 cat >>$CONFIG_STATUS <<\_ACEOF
4931 # If no file are specified by the user, then we need to provide default
4932 # value. By we need to know if files were specified by the user.
4938 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4939 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4947 *) # This is not an option, so the user has probably given explicit
4950 ac_need_defaults
=false
;;
4954 # Handling of the options.
4956 cat >>$CONFIG_STATUS <<_ACEOF
4957 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4958 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4959 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4961 cat >>$CONFIG_STATUS <<\_ACEOF
4962 --version |
--vers* |
-V )
4963 echo "$ac_cs_version"; exit 0 ;;
4965 # Conflict between --help and --header
4966 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4967 Try \`$0 --help' for more information." >&5
4968 echo "$as_me: error: ambiguous option: $1
4969 Try \`$0 --help' for more information." >&2;}
4970 { (exit 1); exit 1; }; };;
4971 --help |
--hel |
-h )
4972 echo "$ac_cs_usage"; exit 0 ;;
4973 --debug |
--d* |
-d )
4975 --file |
--fil |
--fi |
--f )
4977 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
4978 ac_need_defaults
=false
;;
4979 --header |
--heade |
--head |
--hea )
4981 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
4982 ac_need_defaults
=false
;;
4985 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4986 Try \`$0 --help' for more information." >&5
4987 echo "$as_me: error: unrecognized option: $1
4988 Try \`$0 --help' for more information." >&2;}
4989 { (exit 1); exit 1; }; } ;;
4991 *) ac_config_targets
="$ac_config_targets $1" ;;
5003 cat >>$CONFIG_STATUS <<\_ACEOF
5004 for ac_config_target
in $ac_config_targets
5006 case "$ac_config_target" in
5007 # Handling of arguments.
5008 "vars.mk" ) CONFIG_FILES
="$CONFIG_FILES vars.mk" ;;
5009 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5010 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5011 { (exit 1); exit 1; }; };;
5015 # If the user did not use the arguments to specify the items to instantiate,
5016 # then the envvar interface is used. Set only those that are not.
5017 # We use the long form for the default assignment because of an extremely
5018 # bizarre bug on SunOS 4.1.3.
5019 if $ac_need_defaults; then
5020 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5023 # Create a temporary directory, and hook for its removal unless debugging.
5026 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5027 trap '{ (exit 1); exit 1; }' 1 2 13 15
5030 # Create a (secure) tmp directory for tmp files.
5033 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5034 test -n "$tmp" && test -d "$tmp"
5037 tmp
=$TMPDIR/cs$$
-$RANDOM
5038 (umask 077 && mkdir
$tmp)
5041 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5042 { (exit 1); exit 1; }
5047 cat >>$CONFIG_STATUS <<_ACEOF
5050 # CONFIG_FILES section.
5053 # No need to generate the scripts if there are no CONFIG_FILES.
5054 # This happens for instance when ./config.status config.h
5055 if test -n "\$CONFIG_FILES"; then
5056 # Protect against being on the right side of a sed subst in config.status.
5057 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5058 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5059 s,@SHELL@,$SHELL,;t t
5060 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5061 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5062 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5063 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5064 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5065 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5066 s,@exec_prefix@,$exec_prefix,;t t
5067 s,@prefix@,$prefix,;t t
5068 s,@program_transform_name@,$program_transform_name,;t t
5069 s,@bindir@,$bindir,;t t
5070 s,@sbindir@,$sbindir,;t t
5071 s,@libexecdir@,$libexecdir,;t t
5072 s,@datadir@,$datadir,;t t
5073 s,@sysconfdir@,$sysconfdir,;t t
5074 s,@sharedstatedir@,$sharedstatedir,;t t
5075 s,@localstatedir@,$localstatedir,;t t
5076 s,@libdir@,$libdir,;t t
5077 s,@includedir@,$includedir,;t t
5078 s,@oldincludedir@,$oldincludedir,;t t
5079 s,@infodir@,$infodir,;t t
5080 s,@mandir@,$mandir,;t t
5081 s,@build_alias@,$build_alias,;t t
5082 s,@host_alias@,$host_alias,;t t
5083 s,@target_alias@,$target_alias,;t t
5085 s,@ECHO_C@,$ECHO_C,;t t
5086 s,@ECHO_N@,$ECHO_N,;t t
5087 s,@ECHO_T@,$ECHO_T,;t t
5089 s,@build@,$build,;t t
5090 s,@build_cpu@,$build_cpu,;t t
5091 s,@build_vendor@,$build_vendor,;t t
5092 s,@build_os@,$build_os,;t t
5094 s,@host_cpu@,$host_cpu,;t t
5095 s,@host_vendor@,$host_vendor,;t t
5096 s,@host_os@,$host_os,;t t
5097 s,@target@,$target,;t t
5098 s,@target_cpu@,$target_cpu,;t t
5099 s,@target_vendor@,$target_vendor,;t t
5100 s,@target_os@,$target_os,;t t
5102 s,@CFLAGS@,$CFLAGS,;t t
5103 s,@LDFLAGS@,$LDFLAGS,;t t
5104 s,@CPPFLAGS@,$CPPFLAGS,;t t
5105 s,@ac_ct_CC@,$ac_ct_CC,;t t
5106 s,@EXEEXT@,$EXEEXT,;t t
5107 s,@OBJEXT@,$OBJEXT,;t t
5109 s,@RANLIB@,$RANLIB,;t t
5110 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5111 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5112 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5113 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5115 s,@DOXYGEN@,$DOXYGEN,;t t
5116 s,@VERSION@,$VERSION,;t t
5118 s,@SHEXT@,$SHEXT,;t t
5119 s,@SHAREDLIB_FLAG@,$SHAREDLIB_FLAG,;t t
5120 s,@INSTALL_LIB@,$INSTALL_LIB,;t t
5121 s,@LDCONFIG@,$LDCONFIG,;t t
5122 s,@LIBS_TO_BUILD@,$LIBS_TO_BUILD,;t t
5123 s,@EXEC_TO_BUILD@,$EXEC_TO_BUILD,;t t
5124 s,@INT_BITS@,$INT_BITS,;t t
5125 s,@INT_AFLAGS@,$INT_AFLAGS,;t t
5126 s,@LONG_BITS@,$LONG_BITS,;t t
5127 s,@LONG_AFLAGS@,$LONG_AFLAGS,;t t
5128 s,@GMP_BITS@,$GMP_BITS,;t t
5129 s,@GMP_AFLAGS@,$GMP_AFLAGS,;t t
5130 s,@DEFAULT_INT_BITS@,$DEFAULT_INT_BITS,;t t
5131 s,@DEFAULT_AFLAGS@,$DEFAULT_AFLAGS,;t t
5132 s,@EXTRA_INCLUDES@,$EXTRA_INCLUDES,;t t
5133 s,@EXTRA_LIBS@,$EXTRA_LIBS,;t t
5134 s,@EXEC_EXTRA_SUFFIX@,$EXEC_EXTRA_SUFFIX,;t t
5135 s,@EXEC_EXTRA_LIBS@,$EXEC_EXTRA_LIBS,;t t
5136 s,@EXTRA_FLAGS@,$EXTRA_FLAGS,;t t
5141 cat >>$CONFIG_STATUS <<\_ACEOF
5142 # Split the substitutions into bite-sized pieces for seds with
5143 # small command number limits, like on Digital OSF/1 and HP-UX.
5145 ac_sed_frag
=1 # Number of current file.
5146 ac_beg
=1 # First line for current file.
5147 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5150 while $ac_more_lines; do
5151 if test $ac_beg -gt 1; then
5152 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5154 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5156 if test ! -s $tmp/subs.frag
; then
5159 # The purpose of the label and of the branching condition is to
5160 # speed up the sed processing (if there are no `@' at all, there
5161 # is no need to browse any of the substitutions).
5162 # These are the two extra sed commands mentioned above.
5164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5165 if test -z "$ac_sed_cmds"; then
5166 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5168 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5170 ac_sed_frag
=`expr $ac_sed_frag + 1`
5172 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5175 if test -z "$ac_sed_cmds"; then
5178 fi # test -n "$CONFIG_FILES"
5181 cat >>$CONFIG_STATUS <<\_ACEOF
5182 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5183 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5185 - |
*:- |
*:-:* ) # input from stdin
5187 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5188 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5189 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5190 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5191 * ) ac_file_in
=$ac_file.
in ;;
5194 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5195 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5196 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5197 X"$ac_file" : 'X\(//\)[^/]' \| \
5198 X"$ac_file" : 'X\(//\)$' \| \
5199 X"$ac_file" : 'X\(/\)' \| \
5200 . : '\(.\)' 2>/dev/null ||
5202 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5203 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5204 /^X\(\/\/\)$/{ s//\1/; q; }
5205 /^X\(\/\).*/{ s//\1/; q; }
5207 { if $as_mkdir_p; then
5212 while test ! -d "$as_dir"; do
5213 as_dirs
="$as_dir $as_dirs"
5214 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5215 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5216 X"$as_dir" : 'X\(//\)[^/]' \| \
5217 X"$as_dir" : 'X\(//\)$' \| \
5218 X"$as_dir" : 'X\(/\)' \| \
5219 . : '\(.\)' 2>/dev/null ||
5221 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5222 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5223 /^X\(\/\/\)$/{ s//\1/; q; }
5224 /^X\(\/\).*/{ s//\1/; q; }
5227 test ! -n "$as_dirs" || mkdir
$as_dirs
5228 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5229 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5230 { (exit 1); exit 1; }; }; }
5234 if test "$ac_dir" != .
; then
5235 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5236 # A "../" for each directory in $ac_dir_suffix.
5237 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5239 ac_dir_suffix
= ac_top_builddir
=
5243 .
) # No --srcdir option. We are building in place.
5245 if test -z "$ac_top_builddir"; then
5248 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5250 [\\/]* | ?
:[\\/]* ) # Absolute path.
5251 ac_srcdir
=$srcdir$ac_dir_suffix;
5252 ac_top_srcdir
=$srcdir ;;
5254 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5255 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5257 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5259 ac_abs_builddir
=`cd "$ac_dir" && cd $ac_builddir && pwd`
5260 ac_abs_top_builddir
=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
5261 ac_abs_srcdir
=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5262 ac_abs_top_srcdir
=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5266 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5267 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5270 if test x
"$ac_file" != x-
; then
5271 { echo "$as_me:$LINENO: creating $ac_file" >&5
5272 echo "$as_me: creating $ac_file" >&6;}
5275 # Let's still pretend it is `configure' which instantiates (i.e., don't
5276 # use $as_me), people would be surprised to read:
5277 # /* config.h. Generated by config.status. */
5278 if test x
"$ac_file" = x-
; then
5281 configure_input
="$ac_file. "
5283 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5284 sed 's,.*/,,'` by configure."
5286 # First look for the input files in the build tree, otherwise in the
5288 ac_file_inputs
=`IFS=:
5289 for f in $ac_file_in; do
5291 -) echo $tmp/stdin ;;
5293 # Absolute (can't be DOS-style, as IFS=:)
5294 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5295 echo "$as_me: error: cannot find input file: $f" >&2;}
5296 { (exit 1); exit 1; }; }
5299 if test -f "$f"; then
5302 elif test -f "$srcdir/$f"; then
5307 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5308 echo "$as_me: error: cannot find input file: $f" >&2;}
5309 { (exit 1); exit 1; }; }
5312 done` ||
{ (exit 1); exit 1; }
5314 cat >>$CONFIG_STATUS <<_ACEOF
5318 cat >>$CONFIG_STATUS <<\_ACEOF
5320 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5321 s
,@configure_input@
,$configure_input,;t t
5322 s
,@srcdir@
,$ac_srcdir,;t t
5323 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5324 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5325 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5326 s
,@builddir@
,$ac_builddir,;t t
5327 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5328 s
,@top_builddir@
,$ac_top_builddir,;t t
5329 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5330 s
,@INSTALL@
,$ac_INSTALL,;t t
5331 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5333 if test x"$ac_file" != x-; then
5334 mv $tmp/out $ac_file
5343 cat >>$CONFIG_STATUS <<\_ACEOF
5345 { (exit 0); exit 0; }
5347 chmod +x $CONFIG_STATUS
5348 ac_clean_files=$ac_clean_files_save
5351 # configure is writing to config.log, and then calls config.status.
5352 # config.status does its own redirection, appending to config.log.
5353 # Unfortunately, on DOS this fails, as config.log is still kept open
5354 # by configure, so config.status won't be able to write to it; its
5355 # output is simply discarded. So we exec the FD to /dev/null,
5356 # effectively closing config.log, so it can be properly (re)opened and
5357 # appended to by config.status. When coming back to configure, we
5358 # need to make the FD available again.
5359 if test "$no_create" != yes; then
5362 $SHELL $CONFIG_STATUS || ac_cs_success=false
5364 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5365 # would make configure fail if this is the last instruction.
5366 $ac_cs_success || { (exit 1); exit 1; }