2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="source/cloog.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LN_S RANLIB ac_ct_RANLIB SET_MAKE CD INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP cl_cv_polylib RELEASE SHEXT EXEC_SUFFIX EXTRA_FLAGS EXTRA_LIBS POLYLIB_LIB INSTALL PACKAGES INSTALL_PACKAGES VERSION LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (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 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
847 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
848 --without-cloog disable the compilation of cloog
849 --without-lib disable the compilation of cloog
's lib
850 --with-polylib=DIR DIR Location of the PolyLib
851 --with-bits=32|64|gmp PolyLib library type to use
852 --with-gmp=DIR DIR where the gmp package is installed
853 --with-gmp-include=DIR DIR where gmp.h is installed
854 --with-gmp-library=DIR DIR where the gmp library is installed
856 Some influential environment variables:
857 CC C compiler command
858 CFLAGS C compiler flags
859 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
860 nonstandard directory <lib dir>
861 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
862 headers in a nonstandard directory <include dir>
865 Use these variables to override the choices made by `configure' or to
help
866 it to
find libraries and programs with nonstandard names
/locations.
871 if test "$ac_init_help" = "recursive"; then
872 # If there are subdirs, report their specific --help.
874 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
875 test -d $ac_dir ||
continue
878 if test "$ac_dir" != .
; then
879 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
880 # A "../" for each directory in $ac_dir_suffix.
881 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
883 ac_dir_suffix
= ac_top_builddir
=
887 .
) # No --srcdir option. We are building in place.
889 if test -z "$ac_top_builddir"; then
892 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
894 [\\/]* | ?
:[\\/]* ) # Absolute path.
895 ac_srcdir
=$srcdir$ac_dir_suffix;
896 ac_top_srcdir
=$srcdir ;;
898 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
899 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
902 # Do not use `cd foo && pwd` to compute absolute paths, because
903 # the directories may not exist.
905 .
) ac_abs_builddir
="$ac_dir";;
908 .
) ac_abs_builddir
=`pwd`;;
909 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
910 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
913 case $ac_abs_builddir in
914 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
916 case ${ac_top_builddir}.
in
917 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
918 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
919 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
922 case $ac_abs_builddir in
923 .
) ac_abs_srcdir
=$ac_srcdir;;
926 .
) ac_abs_srcdir
=$ac_abs_builddir;;
927 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
928 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
931 case $ac_abs_builddir in
932 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
934 case $ac_top_srcdir in
935 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
936 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
937 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
942 # Check for guested configure; otherwise get Cygnus style configure.
943 if test -f $ac_srcdir/configure.gnu
; then
945 $SHELL $ac_srcdir/configure.gnu
--help=recursive
946 elif test -f $ac_srcdir/configure
; then
948 $SHELL $ac_srcdir/configure
--help=recursive
949 elif test -f $ac_srcdir/configure.ac ||
950 test -f $ac_srcdir/configure.
in; then
954 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
960 test -n "$ac_init_help" && exit 0
961 if $ac_init_version; then
964 Copyright
(C
) 2003 Free Software Foundation
, Inc.
965 This configure
script is free software
; the Free Software Foundation
966 gives unlimited permission to copy
, distribute and modify it.
972 This file contains any messages produced by compilers while
973 running configure, to aid debugging if configure makes a mistake.
975 It was created by $as_me, which was
976 generated by GNU Autoconf 2.59. Invocation command line was
987 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
988 uname -m = `(uname -m) 2>/dev/null || echo unknown`
989 uname -r = `(uname -r) 2>/dev/null || echo unknown`
990 uname -s = `(uname -s) 2>/dev/null || echo unknown`
991 uname -v = `(uname -v) 2>/dev/null || echo unknown`
993 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
994 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
996 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
997 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
998 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
999 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1000 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1001 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1002 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1010 test -z "$as_dir" && as_dir
=.
1011 echo "PATH: $as_dir"
1026 # Keep a trace of the command line.
1027 # Strip out --no-create and --no-recursion so they do not pile up.
1028 # Strip out --silent because we don't want to record it for future runs.
1029 # Also quote any args containing shell meta-characters.
1030 # Make two passes to allow for proper duplicate-argument suppression.
1035 ac_must_keep_next
=false
1041 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1042 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1043 |
-silent |
--silent |
--silen |
--sile |
--sil)
1045 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1046 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1049 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1051 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1052 if test $ac_must_keep_next = true
; then
1053 ac_must_keep_next
=false
# Got value, back to normal.
1056 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1057 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1058 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1059 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1060 case "$ac_configure_args0 " in
1061 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1064 -* ) ac_must_keep_next
=true
;;
1067 ac_configure_args
="$ac_configure_args$ac_sep'$ac_arg'"
1068 # Get rid of the leading space.
1074 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1075 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1077 # When interrupted or exit'd, cleanup temporary files, and complete
1078 # config.log. We remove comments because anyway the quotes in there
1079 # would cause problems or look ugly.
1080 # WARNING: Be sure not to use single quotes in there, as some shells,
1081 # such as our DU 5.0 friend, will then `close' the trap.
1082 trap 'exit_status=$?
1083 # Save into config.log some information that might help in debugging.
1088 ## ---------------- ##
1089 ## Cache variables. ##
1090 ## ---------------- ##
1093 # The following way of writing the cache mishandles newlines in values,
1096 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1099 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1104 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1111 ## ----------------- ##
1112 ## Output variables. ##
1113 ## ----------------- ##
1116 for ac_var in $ac_subst_vars
1118 eval ac_val=$`echo $ac_var`
1119 echo "$ac_var='"'"'$ac_val'"'"'"
1123 if test -n "$ac_subst_files"; then
1130 for ac_var in $ac_subst_files
1132 eval ac_val=$`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1138 if test -s confdefs.h; then
1145 sed "/^$/d" confdefs.h | sort
1148 test "$ac_signal" != 0 &&
1149 echo "$as_me: caught signal $ac_signal"
1150 echo "$as_me: exit $exit_status"
1152 rm -f core *.core &&
1153 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1156 for ac_signal
in 1 2 13 15; do
1157 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1161 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1162 rm -rf conftest
* confdefs.h
1163 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1166 # Predefined preprocessor variables.
1168 cat >>confdefs.h
<<_ACEOF
1169 #define PACKAGE_NAME "$PACKAGE_NAME"
1173 cat >>confdefs.h
<<_ACEOF
1174 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1178 cat >>confdefs.h
<<_ACEOF
1179 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1183 cat >>confdefs.h
<<_ACEOF
1184 #define PACKAGE_STRING "$PACKAGE_STRING"
1188 cat >>confdefs.h
<<_ACEOF
1189 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1193 # Let the site file select an alternate cache file if it wants to.
1194 # Prefer explicitly selected file to automatically selected ones.
1195 if test -z "$CONFIG_SITE"; then
1196 if test "x$prefix" != xNONE
; then
1197 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
1199 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1202 for ac_site_file
in $CONFIG_SITE; do
1203 if test -r "$ac_site_file"; then
1204 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1205 echo "$as_me: loading site script $ac_site_file" >&6;}
1206 sed 's/^/| /' "$ac_site_file" >&5
1211 if test -r "$cache_file"; then
1212 # Some versions of bash will fail to source /dev/null (special
1213 # files actually), so we avoid doing that.
1214 if test -f "$cache_file"; then
1215 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1216 echo "$as_me: loading cache $cache_file" >&6;}
1218 [\\/]* | ?
:[\\/]* ) .
$cache_file;;
1219 *) . .
/$cache_file;;
1223 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1224 echo "$as_me: creating cache $cache_file" >&6;}
1228 # Check that the precious variables saved in the cache have kept the same
1230 ac_cache_corrupted
=false
1231 for ac_var
in `(set) 2>&1 |
1232 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1233 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1234 eval ac_new_set
=\
$ac_env_${ac_var}_set
1235 eval ac_old_val
="\$ac_cv_env_${ac_var}_value"
1236 eval ac_new_val
="\$ac_env_${ac_var}_value"
1237 case $ac_old_set,$ac_new_set in
1239 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1240 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1241 ac_cache_corrupted
=: ;;
1243 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1244 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1245 ac_cache_corrupted
=: ;;
1248 if test "x$ac_old_val" != "x$ac_new_val"; then
1249 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1250 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1251 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1252 echo "$as_me: former value: $ac_old_val" >&2;}
1253 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1254 echo "$as_me: current value: $ac_new_val" >&2;}
1255 ac_cache_corrupted
=:
1258 # Pass precious variables to config.status.
1259 if test "$ac_new_set" = set; then
1261 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1262 ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1263 *) ac_arg
=$ac_var=$ac_new_val ;;
1265 case " $ac_configure_args " in
1266 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1267 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1271 if $ac_cache_corrupted; then
1272 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1273 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1274 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1275 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1276 { (exit 1); exit 1; }; }
1280 ac_cpp
='$CPP $CPPFLAGS'
1281 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1282 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1283 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1304 for ac_dir
in autoconf
$srcdir/autoconf
; do
1305 if test -f $ac_dir/install-sh
; then
1307 ac_install_sh
="$ac_aux_dir/install-sh -c"
1309 elif test -f $ac_dir/install.sh
; then
1311 ac_install_sh
="$ac_aux_dir/install.sh -c"
1313 elif test -f $ac_dir/shtool
; then
1315 ac_install_sh
="$ac_aux_dir/shtool install -c"
1319 if test -z "$ac_aux_dir"; then
1320 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1321 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1322 { (exit 1); exit 1; }; }
1324 ac_config_guess
="$SHELL $ac_aux_dir/config.guess"
1325 ac_config_sub
="$SHELL $ac_aux_dir/config.sub"
1326 ac_configure
="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1333 # Make sure we can run config.sub.
1334 $ac_config_sub sun4
>/dev
/null
2>&1 ||
1335 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1336 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1337 { (exit 1); exit 1; }; }
1339 echo "$as_me:$LINENO: checking build system type" >&5
1340 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1341 if test "${ac_cv_build+set}" = set; then
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
1344 ac_cv_build_alias
=$build_alias
1345 test -z "$ac_cv_build_alias" &&
1346 ac_cv_build_alias
=`$ac_config_guess`
1347 test -z "$ac_cv_build_alias" &&
1348 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1349 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1350 { (exit 1); exit 1; }; }
1351 ac_cv_build
=`$ac_config_sub $ac_cv_build_alias` ||
1352 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1353 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1354 { (exit 1); exit 1; }; }
1357 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1358 echo "${ECHO_T}$ac_cv_build" >&6
1360 build_cpu
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1361 build_vendor
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1362 build_os
=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1365 echo "$as_me:$LINENO: checking host system type" >&5
1366 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1367 if test "${ac_cv_host+set}" = set; then
1368 echo $ECHO_N "(cached) $ECHO_C" >&6
1370 ac_cv_host_alias
=$host_alias
1371 test -z "$ac_cv_host_alias" &&
1372 ac_cv_host_alias
=$ac_cv_build_alias
1373 ac_cv_host
=`$ac_config_sub $ac_cv_host_alias` ||
1374 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1375 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1376 { (exit 1); exit 1; }; }
1379 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1380 echo "${ECHO_T}$ac_cv_host" >&6
1382 host_cpu
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1383 host_vendor
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1384 host_os
=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1387 echo "$as_me:$LINENO: checking target system type" >&5
1388 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1389 if test "${ac_cv_target+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 ac_cv_target_alias
=$target_alias
1393 test "x$ac_cv_target_alias" = "x" &&
1394 ac_cv_target_alias
=$ac_cv_host_alias
1395 ac_cv_target
=`$ac_config_sub $ac_cv_target_alias` ||
1396 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1397 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1398 { (exit 1); exit 1; }; }
1401 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1402 echo "${ECHO_T}$ac_cv_target" >&6
1403 target
=$ac_cv_target
1404 target_cpu
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1405 target_vendor
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1406 target_os
=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1409 # The aliases save the names the user supplied, while $host etc.
1410 # will get canonicalized.
1411 test -n "$target_alias" &&
1412 test "$program_prefix$program_suffix$program_transform_name" = \
1414 program_prefix
=${target_alias}-
1418 ac_cpp
='$CPP $CPPFLAGS'
1419 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1420 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1421 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1422 if test -n "$ac_tool_prefix"; then
1423 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1424 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1425 echo "$as_me:$LINENO: checking for $ac_word" >&5
1426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1427 if test "${ac_cv_prog_CC+set}" = set; then
1428 echo $ECHO_N "(cached) $ECHO_C" >&6
1430 if test -n "$CC"; then
1431 ac_cv_prog_CC
="$CC" # Let the user override the test.
1433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1437 test -z "$as_dir" && as_dir
=.
1438 for ac_exec_ext
in '' $ac_executable_extensions; do
1439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1440 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1450 if test -n "$CC"; then
1451 echo "$as_me:$LINENO: result: $CC" >&5
1452 echo "${ECHO_T}$CC" >&6
1454 echo "$as_me:$LINENO: result: no" >&5
1455 echo "${ECHO_T}no" >&6
1459 if test -z "$ac_cv_prog_CC"; then
1461 # Extract the first word of "gcc", so it can be a program name with args.
1462 set dummy gcc
; ac_word
=$2
1463 echo "$as_me:$LINENO: checking for $ac_word" >&5
1464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1465 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1466 echo $ECHO_N "(cached) $ECHO_C" >&6
1468 if test -n "$ac_ct_CC"; then
1469 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1471 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1475 test -z "$as_dir" && as_dir
=.
1476 for ac_exec_ext
in '' $ac_executable_extensions; do
1477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1478 ac_cv_prog_ac_ct_CC
="gcc"
1479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1487 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1488 if test -n "$ac_ct_CC"; then
1489 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1490 echo "${ECHO_T}$ac_ct_CC" >&6
1492 echo "$as_me:$LINENO: result: no" >&5
1493 echo "${ECHO_T}no" >&6
1501 if test -z "$CC"; then
1502 if test -n "$ac_tool_prefix"; then
1503 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1504 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1505 echo "$as_me:$LINENO: checking for $ac_word" >&5
1506 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1507 if test "${ac_cv_prog_CC+set}" = set; then
1508 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 if test -n "$CC"; then
1511 ac_cv_prog_CC
="$CC" # Let the user override the test.
1513 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1517 test -z "$as_dir" && as_dir
=.
1518 for ac_exec_ext
in '' $ac_executable_extensions; do
1519 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1520 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1530 if test -n "$CC"; then
1531 echo "$as_me:$LINENO: result: $CC" >&5
1532 echo "${ECHO_T}$CC" >&6
1534 echo "$as_me:$LINENO: result: no" >&5
1535 echo "${ECHO_T}no" >&6
1539 if test -z "$ac_cv_prog_CC"; then
1541 # Extract the first word of "cc", so it can be a program name with args.
1542 set dummy cc
; ac_word
=$2
1543 echo "$as_me:$LINENO: checking for $ac_word" >&5
1544 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1545 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 if test -n "$ac_ct_CC"; then
1549 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1555 test -z "$as_dir" && as_dir
=.
1556 for ac_exec_ext
in '' $ac_executable_extensions; do
1557 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1558 ac_cv_prog_ac_ct_CC
="cc"
1559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1567 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1568 if test -n "$ac_ct_CC"; then
1569 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1570 echo "${ECHO_T}$ac_ct_CC" >&6
1572 echo "$as_me:$LINENO: result: no" >&5
1573 echo "${ECHO_T}no" >&6
1582 if test -z "$CC"; then
1583 # Extract the first word of "cc", so it can be a program name with args.
1584 set dummy cc
; ac_word
=$2
1585 echo "$as_me:$LINENO: checking for $ac_word" >&5
1586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1587 if test "${ac_cv_prog_CC+set}" = set; then
1588 echo $ECHO_N "(cached) $ECHO_C" >&6
1590 if test -n "$CC"; then
1591 ac_cv_prog_CC
="$CC" # Let the user override the test.
1594 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1598 test -z "$as_dir" && as_dir
=.
1599 for ac_exec_ext
in '' $ac_executable_extensions; do
1600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1601 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1602 ac_prog_rejected
=yes
1606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1612 if test $ac_prog_rejected = yes; then
1613 # We found a bogon in the path, so make sure we never use it.
1614 set dummy
$ac_cv_prog_CC
1616 if test $# != 0; then
1617 # We chose a different compiler from the bogus one.
1618 # However, it has the same basename, so the bogon will be chosen
1619 # first if we set CC to just the basename; use the full file name.
1621 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
1627 if test -n "$CC"; then
1628 echo "$as_me:$LINENO: result: $CC" >&5
1629 echo "${ECHO_T}$CC" >&6
1631 echo "$as_me:$LINENO: result: no" >&5
1632 echo "${ECHO_T}no" >&6
1636 if test -z "$CC"; then
1637 if test -n "$ac_tool_prefix"; then
1640 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1641 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
1642 echo "$as_me:$LINENO: checking for $ac_word" >&5
1643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1644 if test "${ac_cv_prog_CC+set}" = set; then
1645 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 if test -n "$CC"; then
1648 ac_cv_prog_CC
="$CC" # Let the user override the test.
1650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir
=.
1655 for ac_exec_ext
in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1657 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
1658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1667 if test -n "$CC"; then
1668 echo "$as_me:$LINENO: result: $CC" >&5
1669 echo "${ECHO_T}$CC" >&6
1671 echo "$as_me:$LINENO: result: no" >&5
1672 echo "${ECHO_T}no" >&6
1675 test -n "$CC" && break
1678 if test -z "$CC"; then
1682 # Extract the first word of "$ac_prog", so it can be a program name with args.
1683 set dummy
$ac_prog; ac_word
=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 if test -n "$ac_ct_CC"; then
1690 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir
=.
1697 for ac_exec_ext
in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_ac_ct_CC
="$ac_prog"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1709 if test -n "$ac_ct_CC"; then
1710 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1711 echo "${ECHO_T}$ac_ct_CC" >&6
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1717 test -n "$ac_ct_CC" && break
1726 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1727 See \`config.log' for more details." >&5
1728 echo "$as_me: error: no acceptable C compiler found in \$PATH
1729 See \`config.log' for more details." >&2;}
1730 { (exit 1); exit 1; }; }
1732 # Provide some information about the compiler.
1733 echo "$as_me:$LINENO:" \
1734 "checking for C compiler version" >&5
1735 ac_compiler
=`set X $ac_compile; echo $2`
1736 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1737 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
1739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1740 (exit $ac_status); }
1741 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1742 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
1744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745 (exit $ac_status); }
1746 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1747 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
1749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1750 (exit $ac_status); }
1752 cat >conftest.
$ac_ext <<_ACEOF
1755 cat confdefs.h
>>conftest.
$ac_ext
1756 cat >>conftest.
$ac_ext <<_ACEOF
1757 /* end confdefs.h. */
1767 ac_clean_files_save
=$ac_clean_files
1768 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
1769 # Try to create an executable without -o first, disregard a.out.
1770 # It will help us diagnose broken compilers, and finding out an intuition
1772 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1773 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1774 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1775 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1776 (eval $ac_link_default) 2>&5
1778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1779 (exit $ac_status); }; then
1780 # Find the output, starting from the most likely. This scheme is
1781 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1784 # Be careful to initialize this variable, since it used to be cached.
1785 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1787 # b.out is created by i960 compilers.
1788 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
1790 test -f "$ac_file" ||
continue
1792 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
1795 # This is the source file.
1798 # We found the default executable, but exeext='' is most
1802 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1803 # FIXME: I believe we export ac_cv_exeext for Libtool,
1804 # but it would be cool to find out if it's true. Does anybody
1805 # maintain Libtool? --akim.
1813 echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.
$ac_ext >&5
1816 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1817 See \`config.log' for more details." >&5
1818 echo "$as_me: error: C compiler cannot create executables
1819 See \`config.log' for more details." >&2;}
1820 { (exit 77); exit 77; }; }
1823 ac_exeext
=$ac_cv_exeext
1824 echo "$as_me:$LINENO: result: $ac_file" >&5
1825 echo "${ECHO_T}$ac_file" >&6
1827 # Check the compiler produces executables we can run. If not, either
1828 # the compiler is broken, or we cross compile.
1829 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1830 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1831 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1832 # If not cross compiling, check that we can run a simple program.
1833 if test "$cross_compiling" != yes; then
1834 if { ac_try
='./$ac_file'
1835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1839 (exit $ac_status); }; }; then
1842 if test "$cross_compiling" = maybe
; then
1845 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1846 If you meant to cross compile, use \`--host'.
1847 See \`config.log' for more details." >&5
1848 echo "$as_me: error: cannot run C compiled programs.
1849 If you meant to cross compile, use \`--host'.
1850 See \`config.log' for more details." >&2;}
1851 { (exit 1); exit 1; }; }
1855 echo "$as_me:$LINENO: result: yes" >&5
1856 echo "${ECHO_T}yes" >&6
1858 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
1859 ac_clean_files
=$ac_clean_files_save
1860 # Check the compiler produces executables we can run. If not, either
1861 # the compiler is broken, or we cross compile.
1862 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1863 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1864 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1865 echo "${ECHO_T}$cross_compiling" >&6
1867 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1868 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1870 (eval $ac_link) 2>&5
1872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1873 (exit $ac_status); }; then
1874 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1875 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1876 # work properly (i.e., refer to `conftest.exe'), while it won't with
1878 for ac_file
in conftest.exe conftest conftest.
*; do
1879 test -f "$ac_file" ||
continue
1881 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1882 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1889 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1890 See \`config.log' for more details." >&5
1891 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1892 See \`config.log' for more details." >&2;}
1893 { (exit 1); exit 1; }; }
1896 rm -f conftest
$ac_cv_exeext
1897 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1898 echo "${ECHO_T}$ac_cv_exeext" >&6
1900 rm -f conftest.
$ac_ext
1901 EXEEXT
=$ac_cv_exeext
1903 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1904 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1905 if test "${ac_cv_objext+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1908 cat >conftest.
$ac_ext <<_ACEOF
1911 cat confdefs.h
>>conftest.
$ac_ext
1912 cat >>conftest.
$ac_ext <<_ACEOF
1913 /* end confdefs.h. */
1923 rm -f conftest.o conftest.obj
1924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1925 (eval $ac_compile) 2>&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); }; then
1929 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1931 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1932 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1937 echo "$as_me: failed program was:" >&5
1938 sed 's/^/| /' conftest.
$ac_ext >&5
1940 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1941 See \`config.log' for more details." >&5
1942 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1943 See \`config.log' for more details." >&2;}
1944 { (exit 1); exit 1; }; }
1947 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1949 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1950 echo "${ECHO_T}$ac_cv_objext" >&6
1951 OBJEXT
=$ac_cv_objext
1953 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1954 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1955 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1956 echo $ECHO_N "(cached) $ECHO_C" >&6
1958 cat >conftest.
$ac_ext <<_ACEOF
1961 cat confdefs.h
>>conftest.
$ac_ext
1962 cat >>conftest.
$ac_ext <<_ACEOF
1963 /* end confdefs.h. */
1976 rm -f conftest.
$ac_objext
1977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1978 (eval $ac_compile) 2>conftest.er1
1980 grep -v '^ *+' conftest.er1
>conftest.err
1982 cat conftest.err
>&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); } &&
1985 { ac_try
='test -z "$ac_c_werror_flag"
1986 || test ! -s conftest.err'
1987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1991 (exit $ac_status); }; } &&
1992 { ac_try
='test -s conftest.$ac_objext'
1993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1997 (exit $ac_status); }; }; then
2000 echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.
$ac_ext >&5
2005 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2006 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2009 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2010 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2011 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2012 ac_test_CFLAGS
=${CFLAGS+set}
2013 ac_save_CFLAGS
=$CFLAGS
2015 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2016 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2017 if test "${ac_cv_prog_cc_g+set}" = set; then
2018 echo $ECHO_N "(cached) $ECHO_C" >&6
2020 cat >conftest.
$ac_ext <<_ACEOF
2023 cat confdefs.h
>>conftest.
$ac_ext
2024 cat >>conftest.
$ac_ext <<_ACEOF
2025 /* end confdefs.h. */
2035 rm -f conftest.
$ac_objext
2036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2037 (eval $ac_compile) 2>conftest.er1
2039 grep -v '^ *+' conftest.er1
>conftest.err
2041 cat conftest.err
>&5
2042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2043 (exit $ac_status); } &&
2044 { ac_try
='test -z "$ac_c_werror_flag"
2045 || test ! -s conftest.err'
2046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }; } &&
2051 { ac_try
='test -s conftest.$ac_objext'
2052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; }; then
2059 echo "$as_me: failed program was:" >&5
2060 sed 's/^/| /' conftest.
$ac_ext >&5
2064 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2066 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2067 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2068 if test "$ac_test_CFLAGS" = set; then
2069 CFLAGS
=$ac_save_CFLAGS
2070 elif test $ac_cv_prog_cc_g = yes; then
2071 if test "$GCC" = yes; then
2077 if test "$GCC" = yes; then
2083 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2084 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2085 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2086 echo $ECHO_N "(cached) $ECHO_C" >&6
2088 ac_cv_prog_cc_stdc
=no
2090 cat >conftest.
$ac_ext <<_ACEOF
2093 cat confdefs.h
>>conftest.
$ac_ext
2094 cat >>conftest.
$ac_ext <<_ACEOF
2095 /* end confdefs.h. */
2098 #include <sys/types.h>
2099 #include <sys/stat.h>
2100 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2101 struct buf { int x; };
2102 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2103 static char *e (p, i)
2109 static char *f (char * (*g) (char **, int), char **p, ...)
2114 s = g (p, va_arg (v,int));
2119 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2120 function prototypes and stuff, but not '\xHH' hex character constants.
2121 These don't provoke an error unfortunately, instead are silently treated
2122 as 'x'. The following induces an error, until -std1 is added to get
2123 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2124 array size at least. It's necessary to write '\x00'==0 to get something
2125 that's true only with -std1. */
2126 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2128 int test (int i, double x);
2129 struct s1 {int (*f) (int a);};
2130 struct s2 {int (*f) (double a);};
2131 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2137 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2142 # Don't try gcc -ansi; that turns off useful extensions and
2143 # breaks some systems' header files.
2144 # AIX -qlanglvl=ansi
2145 # Ultrix and OSF/1 -std1
2146 # HP-UX 10.20 and later -Ae
2147 # HP-UX older versions -Aa -D_HPUX_SOURCE
2148 # SVR4 -Xc -D__EXTENSIONS__
2149 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2151 CC
="$ac_save_CC $ac_arg"
2152 rm -f conftest.
$ac_objext
2153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2154 (eval $ac_compile) 2>conftest.er1
2156 grep -v '^ *+' conftest.er1
>conftest.err
2158 cat conftest.err
>&5
2159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2160 (exit $ac_status); } &&
2161 { ac_try
='test -z "$ac_c_werror_flag"
2162 || test ! -s conftest.err'
2163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2167 (exit $ac_status); }; } &&
2168 { ac_try
='test -s conftest.$ac_objext'
2169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }; }; then
2174 ac_cv_prog_cc_stdc
=$ac_arg
2177 echo "$as_me: failed program was:" >&5
2178 sed 's/^/| /' conftest.
$ac_ext >&5
2181 rm -f conftest.err conftest.
$ac_objext
2183 rm -f conftest.
$ac_ext conftest.
$ac_objext
2188 case "x$ac_cv_prog_cc_stdc" in
2190 echo "$as_me:$LINENO: result: none needed" >&5
2191 echo "${ECHO_T}none needed" >&6 ;;
2193 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2194 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2195 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2198 # Some people use a C++ compiler to compile C. Since we use `exit',
2199 # in C++ we need to declare it. In case someone uses the same compiler
2200 # for both compiling C and C++ we need to have the C++ compiler decide
2201 # the declaration of exit, since it's the most demanding environment.
2202 cat >conftest.
$ac_ext <<_ACEOF
2207 rm -f conftest.
$ac_objext
2208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2209 (eval $ac_compile) 2>conftest.er1
2211 grep -v '^ *+' conftest.er1
>conftest.err
2213 cat conftest.err
>&5
2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2215 (exit $ac_status); } &&
2216 { ac_try
='test -z "$ac_c_werror_flag"
2217 || test ! -s conftest.err'
2218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2222 (exit $ac_status); }; } &&
2223 { ac_try
='test -s conftest.$ac_objext'
2224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); }; }; then
2229 for ac_declaration
in \
2231 'extern "C" void std::exit (int) throw (); using std::exit;' \
2232 'extern "C" void std::exit (int); using std::exit;' \
2233 'extern "C" void exit (int) throw ();' \
2234 'extern "C" void exit (int);' \
2237 cat >conftest.
$ac_ext <<_ACEOF
2240 cat confdefs.h
>>conftest.
$ac_ext
2241 cat >>conftest.
$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2253 rm -f conftest.
$ac_objext
2254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2255 (eval $ac_compile) 2>conftest.er1
2257 grep -v '^ *+' conftest.er1
>conftest.err
2259 cat conftest.err
>&5
2260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2261 (exit $ac_status); } &&
2262 { ac_try
='test -z "$ac_c_werror_flag"
2263 || test ! -s conftest.err'
2264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2268 (exit $ac_status); }; } &&
2269 { ac_try
='test -s conftest.$ac_objext'
2270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2274 (exit $ac_status); }; }; then
2277 echo "$as_me: failed program was:" >&5
2278 sed 's/^/| /' conftest.
$ac_ext >&5
2282 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2283 cat >conftest.
$ac_ext <<_ACEOF
2286 cat confdefs.h
>>conftest.
$ac_ext
2287 cat >>conftest.
$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2298 rm -f conftest.
$ac_objext
2299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2300 (eval $ac_compile) 2>conftest.er1
2302 grep -v '^ *+' conftest.er1
>conftest.err
2304 cat conftest.err
>&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); } &&
2307 { ac_try
='test -z "$ac_c_werror_flag"
2308 || test ! -s conftest.err'
2309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2313 (exit $ac_status); }; } &&
2314 { ac_try
='test -s conftest.$ac_objext'
2315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); }; }; then
2322 echo "$as_me: failed program was:" >&5
2323 sed 's/^/| /' conftest.
$ac_ext >&5
2326 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2329 if test -n "$ac_declaration"; then
2330 echo '#ifdef __cplusplus' >>confdefs.h
2331 echo $ac_declaration >>confdefs.h
2332 echo '#endif' >>confdefs.h
2336 echo "$as_me: failed program was:" >&5
2337 sed 's/^/| /' conftest.
$ac_ext >&5
2340 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2342 ac_cpp
='$CPP $CPPFLAGS'
2343 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2344 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2345 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2347 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2348 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2350 if test "$LN_S" = "ln -s"; then
2351 echo "$as_me:$LINENO: result: yes" >&5
2352 echo "${ECHO_T}yes" >&6
2354 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2355 echo "${ECHO_T}no, using $LN_S" >&6
2358 if test -n "$ac_tool_prefix"; then
2359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2360 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2361 echo "$as_me:$LINENO: checking for $ac_word" >&5
2362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2363 if test "${ac_cv_prog_RANLIB+set}" = set; then
2364 echo $ECHO_N "(cached) $ECHO_C" >&6
2366 if test -n "$RANLIB"; then
2367 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2369 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2373 test -z "$as_dir" && as_dir
=.
2374 for ac_exec_ext
in '' $ac_executable_extensions; do
2375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2376 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2385 RANLIB
=$ac_cv_prog_RANLIB
2386 if test -n "$RANLIB"; then
2387 echo "$as_me:$LINENO: result: $RANLIB" >&5
2388 echo "${ECHO_T}$RANLIB" >&6
2390 echo "$as_me:$LINENO: result: no" >&5
2391 echo "${ECHO_T}no" >&6
2395 if test -z "$ac_cv_prog_RANLIB"; then
2396 ac_ct_RANLIB
=$RANLIB
2397 # Extract the first word of "ranlib", so it can be a program name with args.
2398 set dummy ranlib
; ac_word
=$2
2399 echo "$as_me:$LINENO: checking for $ac_word" >&5
2400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2401 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2404 if test -n "$ac_ct_RANLIB"; then
2405 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2411 test -z "$as_dir" && as_dir
=.
2412 for ac_exec_ext
in '' $ac_executable_extensions; do
2413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2414 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2421 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2424 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2425 if test -n "$ac_ct_RANLIB"; then
2426 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2427 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2429 echo "$as_me:$LINENO: result: no" >&5
2430 echo "${ECHO_T}no" >&6
2433 RANLIB
=$ac_ct_RANLIB
2435 RANLIB
="$ac_cv_prog_RANLIB"
2438 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2439 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2440 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
2441 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 cat >conftest.
make <<\_ACEOF
2446 @
echo 'ac_maketemp="$(MAKE)"'
2448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2449 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2450 if test -n "$ac_maketemp"; then
2451 eval ac_cv_prog_make_
${ac_make}_set
=yes
2453 eval ac_cv_prog_make_
${ac_make}_set
=no
2457 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2458 echo "$as_me:$LINENO: result: yes" >&5
2459 echo "${ECHO_T}yes" >&6
2462 echo "$as_me:$LINENO: result: no" >&5
2463 echo "${ECHO_T}no" >&6
2464 SET_MAKE
="MAKE=${MAKE-make}"
2467 # Extract the first word of "cd", so it can be a program name with args.
2468 set dummy
cd; ac_word
=$2
2469 echo "$as_me:$LINENO: checking for $ac_word" >&5
2470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2471 if test "${ac_cv_prog_CD+set}" = set; then
2472 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 if test -n "$CD"; then
2475 ac_cv_prog_CD
="$CD" # Let the user override the test.
2477 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2481 test -z "$as_dir" && as_dir
=.
2482 for ac_exec_ext
in '' $ac_executable_extensions; do
2483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2494 if test -n "$CD"; then
2495 echo "$as_me:$LINENO: result: $CD" >&5
2496 echo "${ECHO_T}$CD" >&6
2498 echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6
2502 # Find a good install program. We prefer a C program (faster),
2503 # so one script is as good as another. But avoid the broken or
2504 # incompatible versions:
2505 # SysV /etc/install, /usr/sbin/install
2506 # SunOS /usr/etc/install
2507 # IRIX /sbin/install
2509 # AmigaOS /C/install, which installs bootblocks on floppy discs
2510 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2511 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2512 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2513 # OS/2's system install, which has a completely different semantic
2514 # ./install, which can be erroneously created by make from ./install.sh.
2515 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2516 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2517 if test -z "$INSTALL"; then
2518 if test "${ac_cv_path_install+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2525 test -z "$as_dir" && as_dir
=.
2526 # Account for people who put trailing slashes in PATH elements.
2528 .
/ | .
// |
/cC
/* | \
2529 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
2530 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
2533 # OSF1 and SCO ODT 3.0 have their own names for install.
2534 # Don't use installbsd from OSF since it installs stuff as root
2536 for ac_prog
in ginstall scoinst
install; do
2537 for ac_exec_ext
in '' $ac_executable_extensions; do
2538 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2539 if test $ac_prog = install &&
2540 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2541 # AIX install. It has an incompatible calling convention.
2543 elif test $ac_prog = install &&
2544 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
2545 # program-specific install script used by HP pwplus--don't use.
2548 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
2560 if test "${ac_cv_path_install+set}" = set; then
2561 INSTALL
=$ac_cv_path_install
2563 # As a last resort, use the slow shell script. We don't cache a
2564 # path for INSTALL within a source directory, because that will
2565 # break other packages using the cache if that directory is
2566 # removed, or if the path is relative.
2567 INSTALL
=$ac_install_sh
2570 echo "$as_me:$LINENO: result: $INSTALL" >&5
2571 echo "${ECHO_T}$INSTALL" >&6
2573 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2574 # It thinks the first close brace ends the variable substitution.
2575 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
2577 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
2579 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
2584 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
2585 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
2586 if test "${ac_cv_c_const+set}" = set; then
2587 echo $ECHO_N "(cached) $ECHO_C" >&6
2589 cat >conftest.
$ac_ext <<_ACEOF
2592 cat confdefs.h
>>conftest.
$ac_ext
2593 cat >>conftest.
$ac_ext <<_ACEOF
2594 /* end confdefs.h. */
2599 /* FIXME: Include the comments suggested by Paul. */
2601 /* Ultrix mips cc rejects this. */
2602 typedef int charset[2];
2604 /* SunOS 4.1.1 cc rejects this. */
2605 char const *const *ccp;
2607 /* NEC SVR4.0.2 mips cc rejects this. */
2608 struct point {int x, y;};
2609 static struct point const zero = {0,0};
2610 /* AIX XL C 1.02.0.0 rejects this.
2611 It does not let you subtract one const X* pointer from another in
2612 an arm of an if-expression whose if-part is not a constant
2614 const char *g = "string";
2615 ccp = &g + (g ? g-g : 0);
2616 /* HPUX 7.0 cc rejects these. */
2619 ccp = (char const *const *) p;
2620 { /* SCO 3.2v4 cc rejects this. */
2622 char const *s = 0 ? (char *) 0 : (char const *) 0;
2626 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
2628 const int *foo = &x[0];
2631 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
2632 typedef const int *iptr;
2636 { /* AIX XL C 1.02.0.0 rejects this saying
2637 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
2638 struct s { int j; const int *ap[3]; };
2639 struct s *b; b->j = 5;
2641 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
2650 rm -f conftest.
$ac_objext
2651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2652 (eval $ac_compile) 2>conftest.er1
2654 grep -v '^ *+' conftest.er1
>conftest.err
2656 cat conftest.err
>&5
2657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2658 (exit $ac_status); } &&
2659 { ac_try
='test -z "$ac_c_werror_flag"
2660 || test ! -s conftest.err'
2661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2665 (exit $ac_status); }; } &&
2666 { ac_try
='test -s conftest.$ac_objext'
2667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; }; then
2674 echo "$as_me: failed program was:" >&5
2675 sed 's/^/| /' conftest.
$ac_ext >&5
2679 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2681 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
2682 echo "${ECHO_T}$ac_cv_c_const" >&6
2683 if test $ac_cv_c_const = no
; then
2685 cat >>confdefs.h
<<\_ACEOF
2692 ac_cpp
='$CPP $CPPFLAGS'
2693 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2694 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2695 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2696 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2697 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2698 # On Suns, sometimes $CPP names a directory.
2699 if test -n "$CPP" && test -d "$CPP"; then
2702 if test -z "$CPP"; then
2703 if test "${ac_cv_prog_CPP+set}" = set; then
2704 echo $ECHO_N "(cached) $ECHO_C" >&6
2706 # Double quotes because CPP needs to be expanded
2707 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2710 for ac_c_preproc_warn_flag
in '' yes
2712 # Use a header file that comes with gcc, so configuring glibc
2713 # with a fresh cross-compiler works.
2714 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2715 # <limits.h> exists even on freestanding compilers.
2716 # On the NeXT, cc -E runs the code through the compiler's parser,
2717 # not just through cpp. "Syntax error" is here to catch this case.
2718 cat >conftest.
$ac_ext <<_ACEOF
2721 cat confdefs.h
>>conftest.
$ac_ext
2722 cat >>conftest.
$ac_ext <<_ACEOF
2723 /* end confdefs.h. */
2725 # include <limits.h>
2727 # include <assert.h>
2731 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2732 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2734 grep -v '^ *+' conftest.er1
>conftest.err
2736 cat conftest.err
>&5
2737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2738 (exit $ac_status); } >/dev
/null
; then
2739 if test -s conftest.err
; then
2740 ac_cpp_err
=$ac_c_preproc_warn_flag
2741 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2748 if test -z "$ac_cpp_err"; then
2751 echo "$as_me: failed program was:" >&5
2752 sed 's/^/| /' conftest.
$ac_ext >&5
2754 # Broken: fails on valid input.
2757 rm -f conftest.err conftest.
$ac_ext
2759 # OK, works on sane cases. Now check whether non-existent headers
2760 # can be detected and how.
2761 cat >conftest.
$ac_ext <<_ACEOF
2764 cat confdefs.h
>>conftest.
$ac_ext
2765 cat >>conftest.
$ac_ext <<_ACEOF
2766 /* end confdefs.h. */
2767 #include <ac_nonexistent.h>
2769 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2770 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2772 grep -v '^ *+' conftest.er1
>conftest.err
2774 cat conftest.err
>&5
2775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2776 (exit $ac_status); } >/dev
/null
; then
2777 if test -s conftest.err
; then
2778 ac_cpp_err
=$ac_c_preproc_warn_flag
2779 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2786 if test -z "$ac_cpp_err"; then
2787 # Broken: success on invalid input.
2790 echo "$as_me: failed program was:" >&5
2791 sed 's/^/| /' conftest.
$ac_ext >&5
2793 # Passes both tests.
2797 rm -f conftest.err conftest.
$ac_ext
2800 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2801 rm -f conftest.err conftest.
$ac_ext
2802 if $ac_preproc_ok; then
2814 echo "$as_me:$LINENO: result: $CPP" >&5
2815 echo "${ECHO_T}$CPP" >&6
2817 for ac_c_preproc_warn_flag
in '' yes
2819 # Use a header file that comes with gcc, so configuring glibc
2820 # with a fresh cross-compiler works.
2821 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2822 # <limits.h> exists even on freestanding compilers.
2823 # On the NeXT, cc -E runs the code through the compiler's parser,
2824 # not just through cpp. "Syntax error" is here to catch this case.
2825 cat >conftest.
$ac_ext <<_ACEOF
2828 cat confdefs.h
>>conftest.
$ac_ext
2829 cat >>conftest.
$ac_ext <<_ACEOF
2830 /* end confdefs.h. */
2832 # include <limits.h>
2834 # include <assert.h>
2838 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2839 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2841 grep -v '^ *+' conftest.er1
>conftest.err
2843 cat conftest.err
>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); } >/dev
/null
; then
2846 if test -s conftest.err
; then
2847 ac_cpp_err
=$ac_c_preproc_warn_flag
2848 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2855 if test -z "$ac_cpp_err"; then
2858 echo "$as_me: failed program was:" >&5
2859 sed 's/^/| /' conftest.
$ac_ext >&5
2861 # Broken: fails on valid input.
2864 rm -f conftest.err conftest.
$ac_ext
2866 # OK, works on sane cases. Now check whether non-existent headers
2867 # can be detected and how.
2868 cat >conftest.
$ac_ext <<_ACEOF
2871 cat confdefs.h
>>conftest.
$ac_ext
2872 cat >>conftest.
$ac_ext <<_ACEOF
2873 /* end confdefs.h. */
2874 #include <ac_nonexistent.h>
2876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2877 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2879 grep -v '^ *+' conftest.er1
>conftest.err
2881 cat conftest.err
>&5
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); } >/dev
/null
; then
2884 if test -s conftest.err
; then
2885 ac_cpp_err
=$ac_c_preproc_warn_flag
2886 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2893 if test -z "$ac_cpp_err"; then
2894 # Broken: success on invalid input.
2897 echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.
$ac_ext >&5
2900 # Passes both tests.
2904 rm -f conftest.err conftest.
$ac_ext
2907 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2908 rm -f conftest.err conftest.
$ac_ext
2909 if $ac_preproc_ok; then
2912 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2913 See \`config.log' for more details." >&5
2914 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2915 See \`config.log' for more details." >&2;}
2916 { (exit 1); exit 1; }; }
2920 ac_cpp
='$CPP $CPPFLAGS'
2921 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2922 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2923 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2926 echo "$as_me:$LINENO: checking for egrep" >&5
2927 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2928 if test "${ac_cv_prog_egrep+set}" = set; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
2931 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2932 then ac_cv_prog_egrep
='grep -E'
2933 else ac_cv_prog_egrep
='egrep'
2936 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2937 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2938 EGREP
=$ac_cv_prog_egrep
2941 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2942 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2943 if test "${ac_cv_header_stdc+set}" = set; then
2944 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 cat >conftest.
$ac_ext <<_ACEOF
2949 cat confdefs.h
>>conftest.
$ac_ext
2950 cat >>conftest.
$ac_ext <<_ACEOF
2951 /* end confdefs.h. */
2965 rm -f conftest.
$ac_objext
2966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2967 (eval $ac_compile) 2>conftest.er1
2969 grep -v '^ *+' conftest.er1
>conftest.err
2971 cat conftest.err
>&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } &&
2974 { ac_try
='test -z "$ac_c_werror_flag"
2975 || test ! -s conftest.err'
2976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2980 (exit $ac_status); }; } &&
2981 { ac_try
='test -s conftest.$ac_objext'
2982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2986 (exit $ac_status); }; }; then
2987 ac_cv_header_stdc
=yes
2989 echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.
$ac_ext >&5
2992 ac_cv_header_stdc
=no
2994 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2996 if test $ac_cv_header_stdc = yes; then
2997 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2998 cat >conftest.
$ac_ext <<_ACEOF
3001 cat confdefs.h
>>conftest.
$ac_ext
3002 cat >>conftest.
$ac_ext <<_ACEOF
3003 /* end confdefs.h. */
3007 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3008 $EGREP "memchr" >/dev
/null
2>&1; then
3011 ac_cv_header_stdc
=no
3017 if test $ac_cv_header_stdc = yes; then
3018 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3019 cat >conftest.
$ac_ext <<_ACEOF
3022 cat confdefs.h
>>conftest.
$ac_ext
3023 cat >>conftest.
$ac_ext <<_ACEOF
3024 /* end confdefs.h. */
3028 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3029 $EGREP "free" >/dev
/null
2>&1; then
3032 ac_cv_header_stdc
=no
3038 if test $ac_cv_header_stdc = yes; then
3039 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3040 if test "$cross_compiling" = yes; then
3043 cat >conftest.
$ac_ext <<_ACEOF
3046 cat confdefs.h
>>conftest.
$ac_ext
3047 cat >>conftest.
$ac_ext <<_ACEOF
3048 /* end confdefs.h. */
3050 #if ((' ' & 0x0FF) == 0x020)
3051 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3052 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3054 # define ISLOWER(c) \
3055 (('a' <= (c) && (c) <= 'i') \
3056 || ('j' <= (c) && (c) <= 'r') \
3057 || ('s' <= (c) && (c) <= 'z'))
3058 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3061 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3066 for (i = 0; i < 256; i++)
3067 if (XOR (islower (i), ISLOWER (i))
3068 || toupper (i) != TOUPPER (i))
3073 rm -f conftest
$ac_exeext
3074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3075 (eval $ac_link) 2>&5
3077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3078 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); }; }; then
3086 echo "$as_me: program exited with status $ac_status" >&5
3087 echo "$as_me: failed program was:" >&5
3088 sed 's/^/| /' conftest.
$ac_ext >&5
3091 ac_cv_header_stdc
=no
3093 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3097 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3098 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3099 if test $ac_cv_header_stdc = yes; then
3101 cat >>confdefs.h
<<\_ACEOF
3102 #define STDC_HEADERS 1
3107 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3117 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3118 inttypes.h stdint.h unistd.h
3120 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3121 echo "$as_me:$LINENO: checking for $ac_header" >&5
3122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3126 cat >conftest.
$ac_ext <<_ACEOF
3129 cat confdefs.h
>>conftest.
$ac_ext
3130 cat >>conftest.
$ac_ext <<_ACEOF
3131 /* end confdefs.h. */
3132 $ac_includes_default
3134 #include <$ac_header>
3136 rm -f conftest.
$ac_objext
3137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3138 (eval $ac_compile) 2>conftest.er1
3140 grep -v '^ *+' conftest.er1
>conftest.err
3142 cat conftest.err
>&5
3143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3144 (exit $ac_status); } &&
3145 { ac_try
='test -z "$ac_c_werror_flag"
3146 || test ! -s conftest.err'
3147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); }; } &&
3152 { ac_try
='test -s conftest.$ac_objext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3158 eval "$as_ac_Header=yes"
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.
$ac_ext >&5
3163 eval "$as_ac_Header=no"
3165 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3169 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3170 cat >>confdefs.h
<<_ACEOF
3171 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3179 echo "$as_me:$LINENO: checking for size_t" >&5
3180 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3181 if test "${ac_cv_type_size_t+set}" = set; then
3182 echo $ECHO_N "(cached) $ECHO_C" >&6
3184 cat >conftest.
$ac_ext <<_ACEOF
3187 cat confdefs.h
>>conftest.
$ac_ext
3188 cat >>conftest.
$ac_ext <<_ACEOF
3189 /* end confdefs.h. */
3190 $ac_includes_default
3196 if (sizeof (size_t))
3202 rm -f conftest.
$ac_objext
3203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3204 (eval $ac_compile) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1
>conftest.err
3208 cat conftest.err
>&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } &&
3211 { ac_try
='test -z "$ac_c_werror_flag"
3212 || test ! -s conftest.err'
3213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); }; } &&
3218 { ac_try
='test -s conftest.$ac_objext'
3219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3223 (exit $ac_status); }; }; then
3224 ac_cv_type_size_t
=yes
3226 echo "$as_me: failed program was:" >&5
3227 sed 's/^/| /' conftest.
$ac_ext >&5
3229 ac_cv_type_size_t
=no
3231 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3233 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3234 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3235 if test $ac_cv_type_size_t = yes; then
3239 cat >>confdefs.h
<<_ACEOF
3240 #define size_t unsigned
3248 echo "$as_me:$LINENO: checking for main in -lc" >&5
3249 echo $ECHO_N "checking for main in -lc... $ECHO_C" >&6
3250 if test "${ac_cv_lib_c_main+set}" = set; then
3251 echo $ECHO_N "(cached) $ECHO_C" >&6
3253 ac_check_lib_save_LIBS
=$LIBS
3255 cat >conftest.
$ac_ext <<_ACEOF
3258 cat confdefs.h
>>conftest.
$ac_ext
3259 cat >>conftest.
$ac_ext <<_ACEOF
3260 /* end confdefs.h. */
3271 rm -f conftest.
$ac_objext conftest
$ac_exeext
3272 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3273 (eval $ac_link) 2>conftest.er1
3275 grep -v '^ *+' conftest.er1
>conftest.err
3277 cat conftest.err
>&5
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); } &&
3280 { ac_try
='test -z "$ac_c_werror_flag"
3281 || test ! -s conftest.err'
3282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3286 (exit $ac_status); }; } &&
3287 { ac_try
='test -s conftest$ac_exeext'
3288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3292 (exit $ac_status); }; }; then
3293 ac_cv_lib_c_main
=yes
3295 echo "$as_me: failed program was:" >&5
3296 sed 's/^/| /' conftest.
$ac_ext >&5
3300 rm -f conftest.err conftest.
$ac_objext \
3301 conftest
$ac_exeext conftest.
$ac_ext
3302 LIBS
=$ac_check_lib_save_LIBS
3304 echo "$as_me:$LINENO: result: $ac_cv_lib_c_main" >&5
3305 echo "${ECHO_T}$ac_cv_lib_c_main" >&6
3306 if test $ac_cv_lib_c_main = yes; then
3307 cat >>confdefs.h
<<_ACEOF
3317 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3318 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3319 if test "${ac_cv_header_stdc+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 cat >conftest.
$ac_ext <<_ACEOF
3325 cat confdefs.h
>>conftest.
$ac_ext
3326 cat >>conftest.
$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3341 rm -f conftest.
$ac_objext
3342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3343 (eval $ac_compile) 2>conftest.er1
3345 grep -v '^ *+' conftest.er1
>conftest.err
3347 cat conftest.err
>&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } &&
3350 { ac_try
='test -z "$ac_c_werror_flag"
3351 || test ! -s conftest.err'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; } &&
3357 { ac_try
='test -s conftest.$ac_objext'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3363 ac_cv_header_stdc
=yes
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.
$ac_ext >&5
3368 ac_cv_header_stdc
=no
3370 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3372 if test $ac_cv_header_stdc = yes; then
3373 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3374 cat >conftest.
$ac_ext <<_ACEOF
3377 cat confdefs.h
>>conftest.
$ac_ext
3378 cat >>conftest.
$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3384 $EGREP "memchr" >/dev
/null
2>&1; then
3387 ac_cv_header_stdc
=no
3393 if test $ac_cv_header_stdc = yes; then
3394 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3395 cat >conftest.
$ac_ext <<_ACEOF
3398 cat confdefs.h
>>conftest.
$ac_ext
3399 cat >>conftest.
$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3405 $EGREP "free" >/dev
/null
2>&1; then
3408 ac_cv_header_stdc
=no
3414 if test $ac_cv_header_stdc = yes; then
3415 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3416 if test "$cross_compiling" = yes; then
3419 cat >conftest.
$ac_ext <<_ACEOF
3422 cat confdefs.h
>>conftest.
$ac_ext
3423 cat >>conftest.
$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3426 #if ((' ' & 0x0FF) == 0x020)
3427 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3428 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3430 # define ISLOWER(c) \
3431 (('a' <= (c) && (c) <= 'i') \
3432 || ('j' <= (c) && (c) <= 'r') \
3433 || ('s' <= (c) && (c) <= 'z'))
3434 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3437 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3442 for (i = 0; i < 256; i++)
3443 if (XOR (islower (i), ISLOWER (i))
3444 || toupper (i) != TOUPPER (i))
3449 rm -f conftest
$ac_exeext
3450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3451 (eval $ac_link) 2>&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; }; then
3462 echo "$as_me: program exited with status $ac_status" >&5
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.
$ac_ext >&5
3467 ac_cv_header_stdc
=no
3469 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3473 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3474 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3475 if test $ac_cv_header_stdc = yes; then
3477 cat >>confdefs.h
<<\_ACEOF
3478 #define STDC_HEADERS 1
3486 for ac_func
in strtol
3488 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3489 echo "$as_me:$LINENO: checking for $ac_func" >&5
3490 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3491 if eval "test \"\${$as_ac_var+set}\" = set"; then
3492 echo $ECHO_N "(cached) $ECHO_C" >&6
3494 cat >conftest.
$ac_ext <<_ACEOF
3497 cat confdefs.h
>>conftest.
$ac_ext
3498 cat >>conftest.
$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3502 #define $ac_func innocuous_$ac_func
3504 /* System header to define __stub macros and hopefully few prototypes,
3505 which can conflict with char $ac_func (); below.
3506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3507 <limits.h> exists even on freestanding compilers. */
3510 # include <limits.h>
3512 # include <assert.h>
3517 /* Override any gcc2 internal prototype to avoid an error. */
3522 /* We use char because int might match the return type of a gcc2
3523 builtin and then its argument prototype would still apply. */
3525 /* The GNU C library defines this for functions which it implements
3526 to always fail with ENOSYS. Some functions are actually named
3527 something starting with __ and the normal name is an alias. */
3528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3531 char (*f) () = $ac_func;
3540 return f != $ac_func;
3545 rm -f conftest.
$ac_objext conftest
$ac_exeext
3546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3547 (eval $ac_link) 2>conftest.er1
3549 grep -v '^ *+' conftest.er1
>conftest.err
3551 cat conftest.err
>&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); } &&
3554 { ac_try
='test -z "$ac_c_werror_flag"
3555 || test ! -s conftest.err'
3556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); }; } &&
3561 { ac_try
='test -s conftest$ac_exeext'
3562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3566 (exit $ac_status); }; }; then
3567 eval "$as_ac_var=yes"
3569 echo "$as_me: failed program was:" >&5
3570 sed 's/^/| /' conftest.
$ac_ext >&5
3572 eval "$as_ac_var=no"
3574 rm -f conftest.err conftest.
$ac_objext \
3575 conftest
$ac_exeext conftest.
$ac_ext
3577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3579 if test `eval echo '${'$as_ac_var'}'` = yes; then
3580 cat >>confdefs.h
<<_ACEOF
3581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3593 EXTRA_FLAGS
="-DCYGWIN"
3594 EXTRA_LIBS
="-lcygwin -lkernel32"
3595 CLOOGLIB
="cloogstaticlib"
3596 INSTALL_CLOOGLIB
="install_cloogstaticlib" ;;
3602 CLOOGLIB
="cloogsharedlib cloogstaticlib"
3603 INSTALL_CLOOGLIB
="install_cloogsharedlib install_cloogstaticlib" ;;
3611 /usr
/ccs
/bin
/ld|
/usr
/ucb
/ld
)
3615 ld
-shared 2>&1 |
grep 'fatal: option -h'
3616 if test "$?" = "0"; then
3626 if test "$SOLARIS_LD" = "yes"; then
3627 SOLARIS_LDFLAGS
='-G -Bdynamic'
3633 INSTALL_CLOOG
="install_cloog"
3636 gmp_include_package
="yes"
3637 gmp_library_package
="yes"
3640 MP_DFLAGS
=-DLINEAR_VALUE_IS_MP
3642 GMP_INC
="/usr/local/include"
3643 GMP_LIB
="/usr/local/lib"
3647 # Check whether --with-cloog or --without-cloog was given.
3648 if test "${with_cloog+set}" = set; then
3649 withval
="$with_cloog"
3650 echo "Package cloog : $withval" &&
3651 if test "$withval"="no" ; then
3658 # Check whether --with-lib or --without-lib was given.
3659 if test "${with_lib+set}" = set; then
3661 echo "Package clooglib : $withval" &&
3662 if test "$withval"="no" ; then
3669 # Check whether --with-polylib or --without-polylib was given.
3670 if test "${with_polylib+set}" = set; then
3671 withval
="$with_polylib"
3672 echo "Package polylib : $withval" && polylib_package
=$withval
3677 # Check whether --with-bits or --without-bits was given.
3678 if test "${with_bits+set}" = set; then
3679 withval
="$with_bits"
3680 echo "polylib$withval"; VERSION
=$withval
3684 # Check whether --with-gmp or --without-gmp was given.
3685 if test "${with_gmp+set}" = set; then
3687 echo "Package gmp : $withval" &&
3688 gmp_package
=$withval &&
3689 GMP_INC
=$gmp_package/include
&&
3690 GMP_LIB
=$gmp_package/lib
&&
3695 # Check whether --with-gmp_include or --without-gmp_include was given.
3696 if test "${with_gmp_include+set}" = set; then
3697 withval
="$with_gmp_include"
3698 echo "Package gmp-include : $withval" &&
3699 gmp_include_package
=$withval &&
3700 GMP_INC
=$gmp_include_package &&
3705 # Check whether --with-gmp_library or --without-gmp_library was given.
3706 if test "${with_gmp_library+set}" = set; then
3707 withval
="$with_gmp_library"
3708 echo "Package gmp-library : $withval" &&
3709 gmp_library_package
=$withval &&
3710 GMP_LIB
=$gmp_library_package &&
3714 PACKAGES
="$CLOOGLIB $CLOOG"
3715 INSTALL_PACKAGES
="$INSTALL_CLOOGLIB $INSTALL_CLOOG"
3727 echo "$as_me:$LINENO: checking whether PolyLib works" >&5
3728 echo $ECHO_N "checking whether PolyLib works... $ECHO_C" >&6
3729 if test "$polylib_package" = "no"; then
3730 echo "$as_me:$LINENO: result: no" >&5
3731 echo "${ECHO_T}no" >&6
3732 { { echo "$as_me:$LINENO: error: Can't find PolyLib." >&5
3733 echo "$as_me: error: Can't find PolyLib." >&2;}
3734 { (exit 1); exit 1; }; }
3736 echo "$as_me:$LINENO: result: " >&5
3737 echo "${ECHO_T}" >&6
3738 if test "$polylib_package" != "yes"; then
3739 POLYLIB_DIR
=$polylib_package
3740 POLYLIB_LIB
=$POLYLIB_DIR/lib
3741 CPPFLAGS
="-I$POLYLIB_DIR/include $CPPFLAGS"
3742 LDFLAGS
="-L$POLYLIB_DIR/lib $LDFLAGS"
3744 for VERSION
in $polylibs; do
3745 cl_cv_polylib
="polylib$VERSION"
3746 as_ac_Lib
=`echo "ac_cv_lib_$cl_cv_polylib''_PolyhedronTSort" | $as_tr_sh`
3747 echo "$as_me:$LINENO: checking for PolyhedronTSort in -l$cl_cv_polylib" >&5
3748 echo $ECHO_N "checking for PolyhedronTSort in -l$cl_cv_polylib... $ECHO_C" >&6
3749 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
3750 echo $ECHO_N "(cached) $ECHO_C" >&6
3752 ac_check_lib_save_LIBS
=$LIBS
3753 LIBS
="-l$cl_cv_polylib $LIBS"
3754 cat >conftest.
$ac_ext <<_ACEOF
3757 cat confdefs.h
>>conftest.
$ac_ext
3758 cat >>conftest.
$ac_ext <<_ACEOF
3759 /* end confdefs.h. */
3761 /* Override any gcc2 internal prototype to avoid an error. */
3765 /* We use char because int might match the return type of a gcc2
3766 builtin and then its argument prototype would still apply. */
3767 char PolyhedronTSort ();
3776 rm -f conftest.
$ac_objext conftest
$ac_exeext
3777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3778 (eval $ac_link) 2>conftest.er1
3780 grep -v '^ *+' conftest.er1
>conftest.err
3782 cat conftest.err
>&5
3783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3784 (exit $ac_status); } &&
3785 { ac_try
='test -z "$ac_c_werror_flag"
3786 || test ! -s conftest.err'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; } &&
3792 { ac_try
='test -s conftest$ac_exeext'
3793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3797 (exit $ac_status); }; }; then
3798 eval "$as_ac_Lib=yes"
3800 echo "$as_me: failed program was:" >&5
3801 sed 's/^/| /' conftest.
$ac_ext >&5
3803 eval "$as_ac_Lib=no"
3805 rm -f conftest.err conftest.
$ac_objext \
3806 conftest
$ac_exeext conftest.
$ac_ext
3807 LIBS
=$ac_check_lib_save_LIBS
3809 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
3810 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
3811 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
3815 cl_cv_polylib
=missing
3817 if test "$cl_cv_polylib" = "missing"; then
3818 { { echo "$as_me:$LINENO: error: Can't find PolyLib." >&5
3819 echo "$as_me: error: Can't find PolyLib." >&2;}
3820 { (exit 1); exit 1; }; }
3822 LIBS
="-l$cl_cv_polylib $LIBS"
3824 as_ac_Header
=`echo "ac_cv_header_polylib/$cl_cv_polylib.h" | $as_tr_sh`
3825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3826 echo "$as_me:$LINENO: checking for polylib/$cl_cv_polylib.h" >&5
3827 echo $ECHO_N "checking for polylib/$cl_cv_polylib.h... $ECHO_C" >&6
3828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3829 echo $ECHO_N "(cached) $ECHO_C" >&6
3831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3834 # Is the header compilable?
3835 echo "$as_me:$LINENO: checking polylib/$cl_cv_polylib.h usability" >&5
3836 echo $ECHO_N "checking polylib/$cl_cv_polylib.h usability... $ECHO_C" >&6
3837 cat >conftest.
$ac_ext <<_ACEOF
3840 cat confdefs.h
>>conftest.
$ac_ext
3841 cat >>conftest.
$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3843 $ac_includes_default
3844 #include <polylib/$cl_cv_polylib.h>
3846 rm -f conftest.
$ac_objext
3847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3848 (eval $ac_compile) 2>conftest.er1
3850 grep -v '^ *+' conftest.er1
>conftest.err
3852 cat conftest.err
>&5
3853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3854 (exit $ac_status); } &&
3855 { ac_try
='test -z "$ac_c_werror_flag"
3856 || test ! -s conftest.err'
3857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3861 (exit $ac_status); }; } &&
3862 { ac_try
='test -s conftest.$ac_objext'
3863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3867 (exit $ac_status); }; }; then
3868 ac_header_compiler
=yes
3870 echo "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.
$ac_ext >&5
3873 ac_header_compiler
=no
3875 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3877 echo "${ECHO_T}$ac_header_compiler" >&6
3879 # Is the header present?
3880 echo "$as_me:$LINENO: checking polylib/$cl_cv_polylib.h presence" >&5
3881 echo $ECHO_N "checking polylib/$cl_cv_polylib.h presence... $ECHO_C" >&6
3882 cat >conftest.
$ac_ext <<_ACEOF
3885 cat confdefs.h
>>conftest.
$ac_ext
3886 cat >>conftest.
$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3888 #include <polylib/$cl_cv_polylib.h>
3890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3891 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3893 grep -v '^ *+' conftest.er1
>conftest.err
3895 cat conftest.err
>&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } >/dev
/null
; then
3898 if test -s conftest.err
; then
3899 ac_cpp_err
=$ac_c_preproc_warn_flag
3900 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3907 if test -z "$ac_cpp_err"; then
3908 ac_header_preproc
=yes
3910 echo "$as_me: failed program was:" >&5
3911 sed 's/^/| /' conftest.
$ac_ext >&5
3913 ac_header_preproc
=no
3915 rm -f conftest.err conftest.
$ac_ext
3916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3917 echo "${ECHO_T}$ac_header_preproc" >&6
3919 # So? What about this header?
3920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3922 { echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: accepted by the compiler, rejected by the preprocessor!" >&5
3923 echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3924 { echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: proceeding with the compiler's result" >&5
3925 echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: proceeding with the compiler's result" >&2;}
3926 ac_header_preproc
=yes
3929 { echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: present but cannot be compiled" >&5
3930 echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: present but cannot be compiled" >&2;}
3931 { echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: check for missing prerequisite headers?" >&5
3932 echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: check for missing prerequisite headers?" >&2;}
3933 { echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: see the Autoconf documentation" >&5
3934 echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: see the Autoconf documentation" >&2;}
3935 { echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: section \"Present But Cannot Be Compiled\"" >&5
3936 echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: section \"Present But Cannot Be Compiled\"" >&2;}
3937 { echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: proceeding with the preprocessor's result" >&5
3938 echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: proceeding with the preprocessor's result" >&2;}
3939 { echo "$as_me:$LINENO: WARNING: polylib/$cl_cv_polylib.h: in the future, the compiler will take precedence" >&5
3940 echo "$as_me: WARNING: polylib/$cl_cv_polylib.h: in the future, the compiler will take precedence" >&2;}
3943 ## ------------------------------------------ ##
3944 ## Report this to the AC_PACKAGE_NAME lists. ##
3945 ## ------------------------------------------ ##
3948 sed "s/^/$as_me: WARNING: /" >&2
3951 echo "$as_me:$LINENO: checking for polylib/$cl_cv_polylib.h" >&5
3952 echo $ECHO_N "checking for polylib/$cl_cv_polylib.h... $ECHO_C" >&6
3953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3954 echo $ECHO_N "(cached) $ECHO_C" >&6
3956 eval "$as_ac_Header=\$ac_header_preproc"
3958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3965 { { echo "$as_me:$LINENO: error: Can't find PolyLib headers." >&5
3966 echo "$as_me: error: Can't find PolyLib headers." >&2;}
3967 { (exit 1); exit 1; }; }
3976 echo "$as_me:$LINENO: checking whether gmp works" >&5
3977 echo $ECHO_N "checking whether gmp works... $ECHO_C" >&6
3978 if test "$gmp_package" = "no"; then
3979 echo "GMP package not defined"
3980 echo "$as_me:$LINENO: result: no" >&5
3981 echo "${ECHO_T}no" >&6
3984 if test "$NEED_MP" = "no"; then
3985 echo "Mode normal GMP"
3986 TO_BUILD
="$TO_BUILD MP"
3987 if test "${ac_cv_header_gmp_h+set}" = set; then
3988 echo "$as_me:$LINENO: checking for gmp.h" >&5
3989 echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
3990 if test "${ac_cv_header_gmp_h+set}" = set; then
3991 echo $ECHO_N "(cached) $ECHO_C" >&6
3993 echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
3994 echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
3996 # Is the header compilable?
3997 echo "$as_me:$LINENO: checking gmp.h usability" >&5
3998 echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
3999 cat >conftest.
$ac_ext <<_ACEOF
4002 cat confdefs.h
>>conftest.
$ac_ext
4003 cat >>conftest.
$ac_ext <<_ACEOF
4004 /* end confdefs.h. */
4005 $ac_includes_default
4008 rm -f conftest.
$ac_objext
4009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4010 (eval $ac_compile) 2>conftest.er1
4012 grep -v '^ *+' conftest.er1
>conftest.err
4014 cat conftest.err
>&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); } &&
4017 { ac_try
='test -z "$ac_c_werror_flag"
4018 || test ! -s conftest.err'
4019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4023 (exit $ac_status); }; } &&
4024 { ac_try
='test -s conftest.$ac_objext'
4025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); }; }; then
4030 ac_header_compiler
=yes
4032 echo "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.
$ac_ext >&5
4035 ac_header_compiler
=no
4037 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4038 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4039 echo "${ECHO_T}$ac_header_compiler" >&6
4041 # Is the header present?
4042 echo "$as_me:$LINENO: checking gmp.h presence" >&5
4043 echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
4044 cat >conftest.
$ac_ext <<_ACEOF
4047 cat confdefs.h
>>conftest.
$ac_ext
4048 cat >>conftest.
$ac_ext <<_ACEOF
4049 /* end confdefs.h. */
4052 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4053 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4055 grep -v '^ *+' conftest.er1
>conftest.err
4057 cat conftest.err
>&5
4058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059 (exit $ac_status); } >/dev
/null
; then
4060 if test -s conftest.err
; then
4061 ac_cpp_err
=$ac_c_preproc_warn_flag
4062 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4069 if test -z "$ac_cpp_err"; then
4070 ac_header_preproc
=yes
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.
$ac_ext >&5
4075 ac_header_preproc
=no
4077 rm -f conftest.err conftest.
$ac_ext
4078 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4079 echo "${ECHO_T}$ac_header_preproc" >&6
4081 # So? What about this header?
4082 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4084 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
4085 echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4086 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
4087 echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
4088 ac_header_preproc
=yes
4091 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
4092 echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
4093 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
4094 echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
4095 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
4096 echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
4097 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
4098 echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
4099 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
4100 echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
4101 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
4102 echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
4105 ## ------------------------------------------ ##
4106 ## Report this to the AC_PACKAGE_NAME lists. ##
4107 ## ------------------------------------------ ##
4110 sed "s/^/$as_me: WARNING: /" >&2
4113 echo "$as_me:$LINENO: checking for gmp.h" >&5
4114 echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
4115 if test "${ac_cv_header_gmp_h+set}" = set; then
4116 echo $ECHO_N "(cached) $ECHO_C" >&6
4118 ac_cv_header_gmp_h
=$ac_header_preproc
4120 echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
4121 echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
4124 if test $ac_cv_header_gmp_h = yes; then
4125 echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
4126 echo $ECHO_N "checking for __gmpz_init in -lgmp... $ECHO_C" >&6
4127 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
4128 echo $ECHO_N "(cached) $ECHO_C" >&6
4130 ac_check_lib_save_LIBS
=$LIBS
4132 cat >conftest.
$ac_ext <<_ACEOF
4135 cat confdefs.h
>>conftest.
$ac_ext
4136 cat >>conftest.
$ac_ext <<_ACEOF
4137 /* end confdefs.h. */
4139 /* Override any gcc2 internal prototype to avoid an error. */
4143 /* We use char because int might match the return type of a gcc2
4144 builtin and then its argument prototype would still apply. */
4145 char __gmpz_init ();
4154 rm -f conftest.
$ac_objext conftest
$ac_exeext
4155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4156 (eval $ac_link) 2>conftest.er1
4158 grep -v '^ *+' conftest.er1
>conftest.err
4160 cat conftest.err
>&5
4161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4162 (exit $ac_status); } &&
4163 { ac_try
='test -z "$ac_c_werror_flag"
4164 || test ! -s conftest.err'
4165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4169 (exit $ac_status); }; } &&
4170 { ac_try
='test -s conftest$ac_exeext'
4171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4175 (exit $ac_status); }; }; then
4176 ac_cv_lib_gmp___gmpz_init
=yes
4178 echo "$as_me: failed program was:" >&5
4179 sed 's/^/| /' conftest.
$ac_ext >&5
4181 ac_cv_lib_gmp___gmpz_init
=no
4183 rm -f conftest.err conftest.
$ac_objext \
4184 conftest
$ac_exeext conftest.
$ac_ext
4185 LIBS
=$ac_check_lib_save_LIBS
4187 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
4188 echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_init" >&6
4189 if test $ac_cv_lib_gmp___gmpz_init = yes; then
4190 EXTRA_LIBS
="$EXTRA_LIBS -lgmp"
4192 echo "Can't find gmp library." &&
4193 echo "MP version will not be builded." &&
4198 echo "Can't find gmp headers." &&
4199 echo "MP version will not be builded." &&
4206 if test "$gmp_package" != "yes" ; then
4207 echo "(GMP path has been set by user)"
4208 GMP_DIR
=$gmp_package
4209 GMP_LIB
=$GMP_DIR/lib
4210 GMP_INC
=$GMP_DIR/include
4211 EXTRA_INC
="-I$GMP_INC"
4212 EXTRA_LIBS
="$EXTRA_LIBS -L$GMP_LIB"
4213 CPPFLAGS
="-I$GMP_DIR/include $CPPFLAGS"
4214 LDFLAGS
="-L$GMP_DIR/lib $LDFLAGS"
4217 if test "$gmp_include_package" != "yes" ; then
4218 CPPFLAGS
="-I$GMP_DIR/include $CPPFLAGS"
4219 EXTRA_INC
="-I$GMP_INC"
4222 if test "$gmp_library_package" != "yes" ; then
4223 EXTRA_LIBS
="$EXTRA_LIBS -L$GMP_LIB"
4224 LDFLAGS
="-L$GMP_DIR/lib $LDFLAGS"
4227 if test "${ac_cv_header_gmp_h+set}" = set; then
4228 echo "$as_me:$LINENO: checking for gmp.h" >&5
4229 echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
4230 if test "${ac_cv_header_gmp_h+set}" = set; then
4231 echo $ECHO_N "(cached) $ECHO_C" >&6
4233 echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
4234 echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
4236 # Is the header compilable?
4237 echo "$as_me:$LINENO: checking gmp.h usability" >&5
4238 echo $ECHO_N "checking gmp.h usability... $ECHO_C" >&6
4239 cat >conftest.
$ac_ext <<_ACEOF
4242 cat confdefs.h
>>conftest.
$ac_ext
4243 cat >>conftest.
$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4245 $ac_includes_default
4248 rm -f conftest.
$ac_objext
4249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4250 (eval $ac_compile) 2>conftest.er1
4252 grep -v '^ *+' conftest.er1
>conftest.err
4254 cat conftest.err
>&5
4255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4256 (exit $ac_status); } &&
4257 { ac_try
='test -z "$ac_c_werror_flag"
4258 || test ! -s conftest.err'
4259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263 (exit $ac_status); }; } &&
4264 { ac_try
='test -s conftest.$ac_objext'
4265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4269 (exit $ac_status); }; }; then
4270 ac_header_compiler
=yes
4272 echo "$as_me: failed program was:" >&5
4273 sed 's/^/| /' conftest.
$ac_ext >&5
4275 ac_header_compiler
=no
4277 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4278 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4279 echo "${ECHO_T}$ac_header_compiler" >&6
4281 # Is the header present?
4282 echo "$as_me:$LINENO: checking gmp.h presence" >&5
4283 echo $ECHO_N "checking gmp.h presence... $ECHO_C" >&6
4284 cat >conftest.
$ac_ext <<_ACEOF
4287 cat confdefs.h
>>conftest.
$ac_ext
4288 cat >>conftest.
$ac_ext <<_ACEOF
4289 /* end confdefs.h. */
4292 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4293 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4295 grep -v '^ *+' conftest.er1
>conftest.err
4297 cat conftest.err
>&5
4298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4299 (exit $ac_status); } >/dev
/null
; then
4300 if test -s conftest.err
; then
4301 ac_cpp_err
=$ac_c_preproc_warn_flag
4302 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4309 if test -z "$ac_cpp_err"; then
4310 ac_header_preproc
=yes
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.
$ac_ext >&5
4315 ac_header_preproc
=no
4317 rm -f conftest.err conftest.
$ac_ext
4318 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4319 echo "${ECHO_T}$ac_header_preproc" >&6
4321 # So? What about this header?
4322 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4324 { echo "$as_me:$LINENO: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
4325 echo "$as_me: WARNING: gmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4326 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the compiler's result" >&5
4327 echo "$as_me: WARNING: gmp.h: proceeding with the compiler's result" >&2;}
4328 ac_header_preproc
=yes
4331 { echo "$as_me:$LINENO: WARNING: gmp.h: present but cannot be compiled" >&5
4332 echo "$as_me: WARNING: gmp.h: present but cannot be compiled" >&2;}
4333 { echo "$as_me:$LINENO: WARNING: gmp.h: check for missing prerequisite headers?" >&5
4334 echo "$as_me: WARNING: gmp.h: check for missing prerequisite headers?" >&2;}
4335 { echo "$as_me:$LINENO: WARNING: gmp.h: see the Autoconf documentation" >&5
4336 echo "$as_me: WARNING: gmp.h: see the Autoconf documentation" >&2;}
4337 { echo "$as_me:$LINENO: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&5
4338 echo "$as_me: WARNING: gmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
4339 { echo "$as_me:$LINENO: WARNING: gmp.h: proceeding with the preprocessor's result" >&5
4340 echo "$as_me: WARNING: gmp.h: proceeding with the preprocessor's result" >&2;}
4341 { echo "$as_me:$LINENO: WARNING: gmp.h: in the future, the compiler will take precedence" >&5
4342 echo "$as_me: WARNING: gmp.h: in the future, the compiler will take precedence" >&2;}
4345 ## ------------------------------------------ ##
4346 ## Report this to the AC_PACKAGE_NAME lists. ##
4347 ## ------------------------------------------ ##
4350 sed "s/^/$as_me: WARNING: /" >&2
4353 echo "$as_me:$LINENO: checking for gmp.h" >&5
4354 echo $ECHO_N "checking for gmp.h... $ECHO_C" >&6
4355 if test "${ac_cv_header_gmp_h+set}" = set; then
4356 echo $ECHO_N "(cached) $ECHO_C" >&6
4358 ac_cv_header_gmp_h
=$ac_header_preproc
4360 echo "$as_me:$LINENO: result: $ac_cv_header_gmp_h" >&5
4361 echo "${ECHO_T}$ac_cv_header_gmp_h" >&6
4364 if test $ac_cv_header_gmp_h = yes; then
4367 { { echo "$as_me:$LINENO: error: Can't find gmp headers." >&5
4368 echo "$as_me: error: Can't find gmp headers." >&2;}
4369 { (exit 1); exit 1; }; }
4373 echo "$as_me:$LINENO: checking for __gmpz_init in -lgmp" >&5
4374 echo $ECHO_N "checking for __gmpz_init in -lgmp... $ECHO_C" >&6
4375 if test "${ac_cv_lib_gmp___gmpz_init+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4378 ac_check_lib_save_LIBS
=$LIBS
4380 cat >conftest.
$ac_ext <<_ACEOF
4383 cat confdefs.h
>>conftest.
$ac_ext
4384 cat >>conftest.
$ac_ext <<_ACEOF
4385 /* end confdefs.h. */
4387 /* Override any gcc2 internal prototype to avoid an error. */
4391 /* We use char because int might match the return type of a gcc2
4392 builtin and then its argument prototype would still apply. */
4393 char __gmpz_init ();
4402 rm -f conftest.
$ac_objext conftest
$ac_exeext
4403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4404 (eval $ac_link) 2>conftest.er1
4406 grep -v '^ *+' conftest.er1
>conftest.err
4408 cat conftest.err
>&5
4409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4410 (exit $ac_status); } &&
4411 { ac_try
='test -z "$ac_c_werror_flag"
4412 || test ! -s conftest.err'
4413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); }; } &&
4418 { ac_try
='test -s conftest$ac_exeext'
4419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4423 (exit $ac_status); }; }; then
4424 ac_cv_lib_gmp___gmpz_init
=yes
4426 echo "$as_me: failed program was:" >&5
4427 sed 's/^/| /' conftest.
$ac_ext >&5
4429 ac_cv_lib_gmp___gmpz_init
=no
4431 rm -f conftest.err conftest.
$ac_objext \
4432 conftest
$ac_exeext conftest.
$ac_ext
4433 LIBS
=$ac_check_lib_save_LIBS
4435 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp___gmpz_init" >&5
4436 echo "${ECHO_T}$ac_cv_lib_gmp___gmpz_init" >&6
4437 if test $ac_cv_lib_gmp___gmpz_init = yes; then
4438 EXTRA_LIBS
="$EXTRA_LIBS -lgmp"
4440 { { echo "$as_me:$LINENO: error: Can't find gmp library." >&5
4441 echo "$as_me: error: Can't find gmp library." >&2;}
4442 { (exit 1); exit 1; }; }
4446 echo "$as_me:$LINENO: result: yes" >&5
4447 echo "${ECHO_T}yes" >&6
4473 ac_config_files
="$ac_config_files makefile:autoconf/makefile.in include/cloog/cloog.h autoconf/Doxyfile"
4474 cat >confcache
<<\_ACEOF
4475 # This file is a shell script that caches the results of configure
4476 # tests run on this system so they can be shared between configure
4477 # scripts and configure runs, see configure's option --config-cache.
4478 # It is not useful on other systems. If it contains results you don't
4479 # want to keep, you may remove or edit it.
4481 # config.status only pays attention to the cache file if you give it
4482 # the --recheck option to rerun configure.
4484 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4485 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4490 # The following way of writing the cache mishandles newlines in values,
4491 # but we know of no workaround that is simple, portable, and efficient.
4492 # So, don't put newlines in cache variables' values.
4493 # Ultrix sh set writes to stderr and can't be redirected directly,
4494 # and sets the high bit in the cache file unless we assign to the vars.
4497 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4499 # `set' does not quote correctly, so add quotes (double-quote
4500 # substitution turns \\\\ into \\, and sed turns \\ into \).
4503 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4506 # `set' quotes correctly as required by POSIX, so do not add quotes.
4508 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4515 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4517 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4519 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4520 if test -w $cache_file; then
4521 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4522 cat confcache
>$cache_file
4524 echo "not updating unwritable cache $cache_file"
4529 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4530 # Let make expand exec_prefix.
4531 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4533 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4534 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4535 # trailing colons and then remove the whole line if VPATH becomes empty
4536 # (actually we leave an empty line to preserve line numbers).
4537 if test "x$srcdir" = x.
; then
4538 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4539 s/:*\$(srcdir):*/:/;
4540 s/:*\${srcdir}:*/:/;
4542 s/^\([^=]*=[ ]*\):*/\1/;
4548 # Transform confdefs.h into DEFS.
4549 # Protect against shell expansion while executing Makefile rules.
4550 # Protect against Makefile macro expansion.
4552 # If the first sed substitution is executed (which looks for macros that
4553 # take arguments), then we branch to the quote section. Otherwise,
4554 # look for a macro that doesn't take arguments.
4555 cat >confdef2opt.
sed <<\_ACEOF
4558 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4560 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4564 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4570 # We use echo to avoid assuming a particular line-breaking character.
4571 # The extra dot is to prevent the shell from consuming trailing
4572 # line-breaks from the sub-command output. A line-break within
4573 # single-quotes doesn't work because, if this script is created in a
4574 # platform that uses two characters for line-breaks (e.g., DOS), tr
4576 ac_LF_and_DOT=`echo; echo .
`
4577 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
4578 rm -f confdef2opt.sed
4583 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4584 # 1. Remove the extension, and $U if already installed.
4585 ac_i=`echo "$ac_i" |
4586 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4588 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4589 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4593 LTLIBOBJS=$ac_ltlibobjs
4597 : ${CONFIG_STATUS=./config.status}
4598 ac_clean_files_save=$ac_clean_files
4599 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4600 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4601 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4602 cat >$CONFIG_STATUS <<_ACEOF
4604 # Generated by $as_me.
4605 # Run this file to recreate the current configuration.
4606 # Compiler output produced by configure, useful for debugging
4607 # configure, is in config.log if it exists.
4612 SHELL=\${CONFIG_SHELL-$SHELL}
4615 cat >>$CONFIG_STATUS <<\_ACEOF
4616 ## --------------------- ##
4617 ## M4sh Initialization. ##
4618 ## --------------------- ##
4620 # Be Bourne compatible
4621 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4624 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4625 # is contrary to our usage. Disable this feature.
4626 alias -g '${1+"$@"}'='"$@"'
4627 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4630 DUALCASE=1; export DUALCASE # for MKS sh
4632 # Support unset when possible.
4633 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4640 # Work around bugs in pre-3.0 UWIN ksh.
4641 $as_unset ENV MAIL MAILPATH
4648 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4649 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4650 LC_TELEPHONE LC_TIME
4652 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
4653 eval $as_var=C; export $as_var
4659 # Required to use basename.
4660 if expr a : '\(a\)' >/dev/null 2>&1; then
4666 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4667 as_basename=basename
4673 # Name of the executable.
4674 as_me=`$as_basename "$0" ||
4675 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4676 X
"$0" : 'X\(//\)$' \| \
4677 X
"$0" : 'X\(/\)$' \| \
4678 .
: '\(.\)' 2>/dev
/null ||
4680 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4681 /^X\/\(\/\/\)$/{ s//\1/; q; }
4682 /^X\/\(\/\).*/{ s//\1/; q; }
4686 # PATH needs CR, and LINENO needs CR and PATH.
4687 # Avoid depending upon Character Ranges.
4688 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4689 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4690 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4691 as_cr_digits='0123456789'
4692 as_cr_alnum=$as_cr_Letters$as_cr_digits
4694 # The user is always right.
4695 if test "${PATH_SEPARATOR+set}" != set; then
4696 echo "#! /bin/sh" >conf$$.sh
4697 echo "exit 0" >>conf$$.sh
4699 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4710 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
4711 test "x$as_lineno_1" != "x$as_lineno_2" &&
4712 test "x$as_lineno_3" = "x$as_lineno_2" || {
4713 # Find who we are. Look in the path if we contain no path at all
4716 *[\\/]* ) as_myself=$0 ;;
4717 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4721 test -z "$as_dir" && as_dir=.
4722 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4727 # We did not find ourselves, most probably we were run as `sh COMMAND
'
4728 # in which case we are not to be found in the path.
4729 if test "x$as_myself" = x; then
4732 if test ! -f "$as_myself"; then
4733 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4734 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4735 { (exit 1); exit 1; }; }
4737 case $CONFIG_SHELL in
4739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4740 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4743 test -z "$as_dir" && as_dir=.
4744 for as_base in sh bash ksh sh5; do
4747 if ("$as_dir/$as_base" -c '
4750 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
4751 test "x$as_lineno_1" != "x$as_lineno_2" &&
4752 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4753 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
4754 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
4755 CONFIG_SHELL=$as_dir/$as_base
4757 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4765 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4766 # uniformly replaced by the line number. The first 'sed' inserts a
4767 # line-number line before each line; the second 'sed' does the real
4768 # work. The second script uses 'N
' to pair each line-number line
4769 # with the numbered line, and appends trailing '-' during
4770 # substitution so that $LINENO is not a special case at line end.
4771 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4772 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
4773 sed '=' <$as_myself |
4778 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4781 s,^['$as_cr_digits']*\n,,
4783 chmod +x
$as_me.lineno ||
4784 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4785 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4786 { (exit 1); exit 1; }; }
4788 # Don't try to exec as it changes $[0], causing all sort of problems
4789 # (the dirname of $[0] is not the place where we might find the
4790 # original and so on. Autoconf is especially sensible to this).
4792 # Exit status is that of the last command.
4797 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4798 *c
*,-n*) ECHO_N
= ECHO_C
='
4800 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
4801 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
4804 if expr a
: '\(a\)' >/dev
/null
2>&1; then
4810 rm -f conf$$ conf$$.exe conf$$.
file
4812 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
4813 # We could just check for DJGPP; but this test a) works b) is more generic
4814 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4815 if test -f conf$$.exe
; then
4816 # Don't use ln at all; we don't have any links
4821 elif ln conf$$.
file conf$$
2>/dev
/null
; then
4826 rm -f conf$$ conf$$.exe conf$$.
file
4828 if mkdir
-p .
2>/dev
/null
; then
4831 test -d .
/-p && rmdir .
/-p
4835 as_executable_p
="test -f"
4837 # Sed expression to map a string onto a valid CPP name.
4838 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4840 # Sed expression to map a string onto a valid variable name.
4841 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4845 # We need space, tab and new line, in precisely that order.
4855 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4856 # report actual input values of CONFIG_FILES etc. instead of their
4857 # values after options handling. Logging --version etc. is OK.
4861 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4862 ## Running $as_me. ##
4867 This file was extended by $as_me, which was
4868 generated by GNU Autoconf 2.59. Invocation command line was
4870 CONFIG_FILES = $CONFIG_FILES
4871 CONFIG_HEADERS = $CONFIG_HEADERS
4872 CONFIG_LINKS = $CONFIG_LINKS
4873 CONFIG_COMMANDS = $CONFIG_COMMANDS
4877 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4881 # Files that config.status was made for.
4882 if test -n "$ac_config_files"; then
4883 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4886 if test -n "$ac_config_headers"; then
4887 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4890 if test -n "$ac_config_links"; then
4891 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4894 if test -n "$ac_config_commands"; then
4895 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4898 cat >>$CONFIG_STATUS <<\_ACEOF
4901 \`$as_me' instantiates files from templates according to the
4902 current configuration.
4904 Usage: $0 [OPTIONS] [FILE]...
4906 -h, --help print this help, then exit
4907 -V, --version print version number, then exit
4908 -q, --quiet do not print progress messages
4909 -d, --debug don't remove temporary files
4910 --recheck update $as_me by reconfiguring in the same conditions
4911 --file=FILE[:TEMPLATE]
4912 instantiate the configuration file FILE
4914 Configuration files:
4917 Report bugs to <bug-autoconf@gnu.org>."
4920 cat >>$CONFIG_STATUS <<_ACEOF
4923 configured by $0, generated by GNU Autoconf 2.59,
4924 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4926 Copyright (C) 2003 Free Software Foundation, Inc.
4927 This config.status script is free software; the Free Software Foundation
4928 gives unlimited permission to copy, distribute and modify it."
4933 cat >>$CONFIG_STATUS <<\_ACEOF
4934 # If no file are specified by the user, then we need to provide default
4935 # value. By we need to know if files were specified by the user.
4941 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
4942 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
4950 *) # This is not an option, so the user has probably given explicit
4953 ac_need_defaults
=false
;;
4957 # Handling of the options.
4959 cat >>$CONFIG_STATUS <<\_ACEOF
4960 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
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
;;
4983 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4984 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4988 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4989 Try \`$0 --help' for more information." >&5
4990 echo "$as_me: error: unrecognized option: $1
4991 Try \`$0 --help' for more information." >&2;}
4992 { (exit 1); exit 1; }; } ;;
4994 *) ac_config_targets
="$ac_config_targets $1" ;;
5000 ac_configure_extra_args
=
5002 if $ac_cs_silent; then
5004 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5008 cat >>$CONFIG_STATUS <<_ACEOF
5009 if \$ac_cs_recheck; then
5010 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5011 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5020 cat >>$CONFIG_STATUS <<\_ACEOF
5021 for ac_config_target
in $ac_config_targets
5023 case "$ac_config_target" in
5024 # Handling of arguments.
5025 "makefile" ) CONFIG_FILES
="$CONFIG_FILES makefile:autoconf/makefile.in" ;;
5026 "include/cloog/cloog.h" ) CONFIG_FILES
="$CONFIG_FILES include/cloog/cloog.h" ;;
5027 "autoconf/Doxyfile" ) CONFIG_FILES
="$CONFIG_FILES autoconf/Doxyfile" ;;
5028 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5029 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5030 { (exit 1); exit 1; }; };;
5034 # If the user did not use the arguments to specify the items to instantiate,
5035 # then the envvar interface is used. Set only those that are not.
5036 # We use the long form for the default assignment because of an extremely
5037 # bizarre bug on SunOS 4.1.3.
5038 if $ac_need_defaults; then
5039 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5042 # Have a temporary directory for convenience. Make it in the build tree
5043 # simply because there is no reason to put it here, and in addition,
5044 # creating and moving files from /tmp can sometimes cause problems.
5045 # Create a temporary directory, and hook for its removal unless debugging.
5048 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5049 trap '{ (exit 1); exit 1; }' 1 2 13 15
5052 # Create a (secure) tmp directory for tmp files.
5055 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5056 test -n "$tmp" && test -d "$tmp"
5059 tmp
=.
/confstat$$
-$RANDOM
5060 (umask 077 && mkdir
$tmp)
5063 echo "$me: cannot create a temporary directory in ." >&2
5064 { (exit 1); exit 1; }
5069 cat >>$CONFIG_STATUS <<_ACEOF
5072 # CONFIG_FILES section.
5075 # No need to generate the scripts if there are no CONFIG_FILES.
5076 # This happens for instance when ./config.status config.h
5077 if test -n "\$CONFIG_FILES"; then
5078 # Protect against being on the right side of a sed subst in config.status.
5079 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5080 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5081 s,@SHELL@,$SHELL,;t t
5082 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5083 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5084 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5085 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5086 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5087 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5088 s,@exec_prefix@,$exec_prefix,;t t
5089 s,@prefix@,$prefix,;t t
5090 s,@program_transform_name@,$program_transform_name,;t t
5091 s,@bindir@,$bindir,;t t
5092 s,@sbindir@,$sbindir,;t t
5093 s,@libexecdir@,$libexecdir,;t t
5094 s,@datadir@,$datadir,;t t
5095 s,@sysconfdir@,$sysconfdir,;t t
5096 s,@sharedstatedir@,$sharedstatedir,;t t
5097 s,@localstatedir@,$localstatedir,;t t
5098 s,@libdir@,$libdir,;t t
5099 s,@includedir@,$includedir,;t t
5100 s,@oldincludedir@,$oldincludedir,;t t
5101 s,@infodir@,$infodir,;t t
5102 s,@mandir@,$mandir,;t t
5103 s,@build_alias@,$build_alias,;t t
5104 s,@host_alias@,$host_alias,;t t
5105 s,@target_alias@,$target_alias,;t t
5107 s,@ECHO_C@,$ECHO_C,;t t
5108 s,@ECHO_N@,$ECHO_N,;t t
5109 s,@ECHO_T@,$ECHO_T,;t t
5111 s,@build@,$build,;t t
5112 s,@build_cpu@,$build_cpu,;t t
5113 s,@build_vendor@,$build_vendor,;t t
5114 s,@build_os@,$build_os,;t t
5116 s,@host_cpu@,$host_cpu,;t t
5117 s,@host_vendor@,$host_vendor,;t t
5118 s,@host_os@,$host_os,;t t
5119 s,@target@,$target,;t t
5120 s,@target_cpu@,$target_cpu,;t t
5121 s,@target_vendor@,$target_vendor,;t t
5122 s,@target_os@,$target_os,;t t
5124 s,@CFLAGS@,$CFLAGS,;t t
5125 s,@LDFLAGS@,$LDFLAGS,;t t
5126 s,@CPPFLAGS@,$CPPFLAGS,;t t
5127 s,@ac_ct_CC@,$ac_ct_CC,;t t
5128 s,@EXEEXT@,$EXEEXT,;t t
5129 s,@OBJEXT@,$OBJEXT,;t t
5131 s,@RANLIB@,$RANLIB,;t t
5132 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5133 s,@SET_MAKE@,$SET_MAKE,;t t
5135 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5136 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5137 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5139 s,@EGREP@,$EGREP,;t t
5140 s,@cl_cv_polylib@,$cl_cv_polylib,;t t
5141 s,@RELEASE@,$RELEASE,;t t
5142 s,@SHEXT@,$SHEXT,;t t
5143 s,@EXEC_SUFFIX@,$EXEC_SUFFIX,;t t
5144 s,@EXTRA_FLAGS@,$EXTRA_FLAGS,;t t
5145 s,@EXTRA_LIBS@,$EXTRA_LIBS,;t t
5146 s,@POLYLIB_LIB@,$POLYLIB_LIB,;t t
5147 s,@INSTALL@,$INSTALL,;t t
5148 s,@PACKAGES@,$PACKAGES,;t t
5149 s,@INSTALL_PACKAGES@,$INSTALL_PACKAGES,;t t
5150 s,@VERSION@,$VERSION,;t t
5151 s,@LIBOBJS@,$LIBOBJS,;t t
5152 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5157 cat >>$CONFIG_STATUS <<\_ACEOF
5158 # Split the substitutions into bite-sized pieces for seds with
5159 # small command number limits, like on Digital OSF/1 and HP-UX.
5161 ac_sed_frag
=1 # Number of current file.
5162 ac_beg
=1 # First line for current file.
5163 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5166 while $ac_more_lines; do
5167 if test $ac_beg -gt 1; then
5168 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5170 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5172 if test ! -s $tmp/subs.frag
; then
5175 # The purpose of the label and of the branching condition is to
5176 # speed up the sed processing (if there are no `@' at all, there
5177 # is no need to browse any of the substitutions).
5178 # These are the two extra sed commands mentioned above.
5180 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5181 if test -z "$ac_sed_cmds"; then
5182 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5184 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5186 ac_sed_frag
=`expr $ac_sed_frag + 1`
5188 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5191 if test -z "$ac_sed_cmds"; then
5194 fi # test -n "$CONFIG_FILES"
5197 cat >>$CONFIG_STATUS <<\_ACEOF
5198 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5199 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5201 - |
*:- |
*:-:* ) # input from stdin
5203 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5204 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5205 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5206 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5207 * ) ac_file_in
=$ac_file.
in ;;
5210 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5211 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5212 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5213 X"$ac_file" : 'X\(//\)[^/]' \| \
5214 X"$ac_file" : 'X\(//\)$' \| \
5215 X"$ac_file" : 'X\(/\)' \| \
5216 . : '\(.\)' 2>/dev/null ||
5218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5220 /^X\(\/\/\)$/{ s//\1/; q; }
5221 /^X\(\/\).*/{ s//\1/; q; }
5223 { if $as_mkdir_p; then
5228 while test ! -d "$as_dir"; do
5229 as_dirs
="$as_dir $as_dirs"
5230 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5231 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5232 X"$as_dir" : 'X\(//\)[^/]' \| \
5233 X"$as_dir" : 'X\(//\)$' \| \
5234 X"$as_dir" : 'X\(/\)' \| \
5235 . : '\(.\)' 2>/dev/null ||
5237 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5238 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5239 /^X\(\/\/\)$/{ s//\1/; q; }
5240 /^X\(\/\).*/{ s//\1/; q; }
5243 test ! -n "$as_dirs" || mkdir
$as_dirs
5244 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5245 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5246 { (exit 1); exit 1; }; }; }
5250 if test "$ac_dir" != .
; then
5251 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5252 # A "../" for each directory in $ac_dir_suffix.
5253 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5255 ac_dir_suffix
= ac_top_builddir
=
5259 .
) # No --srcdir option. We are building in place.
5261 if test -z "$ac_top_builddir"; then
5264 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5266 [\\/]* | ?
:[\\/]* ) # Absolute path.
5267 ac_srcdir
=$srcdir$ac_dir_suffix;
5268 ac_top_srcdir
=$srcdir ;;
5270 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5271 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5274 # Do not use `cd foo && pwd` to compute absolute paths, because
5275 # the directories may not exist.
5277 .
) ac_abs_builddir
="$ac_dir";;
5280 .
) ac_abs_builddir
=`pwd`;;
5281 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5282 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5285 case $ac_abs_builddir in
5286 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5288 case ${ac_top_builddir}.
in
5289 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5290 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5291 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5294 case $ac_abs_builddir in
5295 .
) ac_abs_srcdir
=$ac_srcdir;;
5298 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5299 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5300 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5303 case $ac_abs_builddir in
5304 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5306 case $ac_top_srcdir in
5307 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5308 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5309 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5315 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5316 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
5319 if test x
"$ac_file" != x-
; then
5320 { echo "$as_me:$LINENO: creating $ac_file" >&5
5321 echo "$as_me: creating $ac_file" >&6;}
5324 # Let's still pretend it is `configure' which instantiates (i.e., don't
5325 # use $as_me), people would be surprised to read:
5326 # /* config.h. Generated by config.status. */
5327 if test x
"$ac_file" = x-
; then
5330 configure_input
="$ac_file. "
5332 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5333 sed 's,.*/,,'` by configure."
5335 # First look for the input files in the build tree, otherwise in the
5337 ac_file_inputs
=`IFS=:
5338 for f in $ac_file_in; do
5340 -) echo $tmp/stdin ;;
5342 # Absolute (can't be DOS-style, as IFS=:)
5343 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5344 echo "$as_me: error: cannot find input file: $f" >&2;}
5345 { (exit 1); exit 1; }; }
5348 if test -f "$f"; then
5351 elif test -f "$srcdir/$f"; then
5356 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5357 echo "$as_me: error: cannot find input file: $f" >&2;}
5358 { (exit 1); exit 1; }; }
5361 done` ||
{ (exit 1); exit 1; }
5363 cat >>$CONFIG_STATUS <<_ACEOF
5367 cat >>$CONFIG_STATUS <<\_ACEOF
5369 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5370 s
,@configure_input@
,$configure_input,;t t
5371 s
,@srcdir@
,$ac_srcdir,;t t
5372 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5373 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5374 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5375 s
,@builddir@
,$ac_builddir,;t t
5376 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5377 s
,@top_builddir@
,$ac_top_builddir,;t t
5378 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5379 s
,@INSTALL@
,$ac_INSTALL,;t t
5380 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5382 if test x"$ac_file" != x-; then
5383 mv $tmp/out $ac_file
5392 cat >>$CONFIG_STATUS <<\_ACEOF
5394 { (exit 0); exit 0; }
5396 chmod +x $CONFIG_STATUS
5397 ac_clean_files=$ac_clean_files_save
5400 # configure is writing to config.log, and then calls config.status.
5401 # config.status does its own redirection, appending to config.log.
5402 # Unfortunately, on DOS this fails, as config.log is still kept open
5403 # by configure, so config.status won't be able to write to it; its
5404 # output is simply discarded. So we exec the FD to /dev/null,
5405 # effectively closing config.log, so it can be properly (re)opened and
5406 # appended to by config.status. When coming back to configure, we
5407 # need to make the FD available again.
5408 if test "$no_create" != yes; then
5410 ac_config_status_args=
5411 test "$silent" = yes &&
5412 ac_config_status_args="$ac_config_status_args --quiet"
5414 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5416 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5417 # would make configure fail if this is the last instruction.
5418 $ac_cs_success || { (exit 1); exit 1; }
5423 echo " /*-----------------------------------------------*"
5424 echo " * CLooG configuration is OK
*"
5425 echo " *-----------------------------------------------*/"
5426 echo "It appears that your system is OK to start CLooG compilation. You need
"
5427 echo "now to
type \"make\". After compilation
, you should check CLooG by typing
"
5428 echo "\"make check
\". If no problem occur
, you can
type \"make uninstall
\" if"
5429 echo "you are upgrading an old version. Lastly
type \"make install\" to
install"
5430 echo "CLooG on your system
(log as root
if necessary
).
"