2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.53 for libfirm 0.3.0.
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
11 if expr a : '\(a\)' >/dev/null 2>&1; then
18 ## --------------------- ##
19 ## M4sh Initialization. ##
20 ## --------------------- ##
22 # Be Bourne compatible
23 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31 # Support unset when possible.
32 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
38 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
39 { $as_unset LANG || test "${LANG+set}" != set; } ||
40 { LANG=C; export LANG; }
41 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
42 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
43 { LC_ALL=C; export LC_ALL; }
44 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
45 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
46 { LC_TIME=C; export LC_TIME; }
47 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
48 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
49 { LC_CTYPE=C; export LC_CTYPE; }
50 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
51 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
52 { LANGUAGE=C; export LANGUAGE; }
53 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
54 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
55 { LC_COLLATE=C; export LC_COLLATE; }
56 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
57 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
58 { LC_NUMERIC=C; export LC_NUMERIC; }
59 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
60 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
61 { LC_MESSAGES=C; export LC_MESSAGES; }
64 # Name of the executable.
65 as_me=`(basename "$0") 2>/dev/null ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
76 # PATH needs CR, and LINENO needs CR and PATH.
77 # Avoid depending upon Character Ranges.
78 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81 as_cr_digits='0123456789'
82 as_cr_alnum=$as_cr_Letters$as_cr_digits
84 # The user is always right.
85 if test "${PATH_SEPARATOR+set}" != set; then
86 echo "#! /bin/sh" >conftest.sh
87 echo "exit 0" >>conftest.sh
89 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
100 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
101 test "x$as_lineno_1" != "x$as_lineno_2" &&
102 test "x$as_lineno_3" = "x$as_lineno_2" || {
103 # Find who we are. Look in the path if we contain no path at all
106 *[\\/]* ) as_myself=$0 ;;
107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 test -z "$as_dir" && as_dir=.
112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 # We did not find ourselves, most probably we were run as `sh COMMAND'
118 # in which case we are not to be found in the path.
119 if test "x$as_myself" = x; then
122 if test ! -f "$as_myself"; then
123 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
124 { (exit 1); exit 1; }; }
126 case $CONFIG_SHELL in
128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
129 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 test -z "$as_dir" && as_dir=.
133 for as_base in sh bash ksh sh5; do
136 if ("$as_dir/$as_base" -c '
139 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
140 test "x$as_lineno_1" != "x$as_lineno_2" &&
141 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
142 CONFIG_SHELL=$as_dir/$as_base
144 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
153 # uniformly replaced by the line number. The first 'sed' inserts a
154 # line-number line before each line; the second 'sed' does the real
155 # work. The second script uses 'N' to pair each line-number line
156 # with the numbered line, and appends trailing '-' during
157 # substitution so that $LINENO is not a special case at line end.
158 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
159 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
160 sed '=' <$as_myself |
165 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
168 s,^['$as_cr_digits']*\n,,
170 chmod +x $as_me.lineno ||
171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
172 { (exit 1); exit 1; }; }
174 # Don't try to exec as it changes $[0], causing all sort of problems
175 # (the dirname of $[0] is not the place where we might find the
176 # original and so on. Autoconf is especially sensible to this).
178 # Exit status is that of the last command.
183 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
184 *c*,-n*) ECHO_N= ECHO_C='
186 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
187 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
190 if expr a : '\(a\)' >/dev/null 2>&1; then
196 rm -f conf$$ conf$$.exe conf$$.file
198 if ln -s conf$$.file conf$$ 2>/dev/null; then
199 # We could just check for DJGPP; but this test a) works b) is more generic
200 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
201 if test -f conf$$.exe; then
202 # Don't use ln at all; we don't have any links
207 elif ln conf$$.file conf$$ 2>/dev/null; then
212 rm -f conf$$ conf$$.exe conf$$.file
214 as_executable_p="test -f"
216 # Sed expression to map a string onto a valid CPP name.
217 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
219 # Sed expression to map a string onto a valid variable name.
220 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
224 # We need space, tab and new line, in precisely that order.
230 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
234 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
235 # so uname gets run too.
236 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
243 ac_default_prefix=/usr/local
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Maximum number of lines to put in a shell here document.
251 # This variable seems obsolete. It should probably be removed, and
252 # only ac_max_sed_lines should be used.
253 : ${ac_max_here_lines=38}
255 # Identity of this package.
256 PACKAGE_NAME='libfirm'
257 PACKAGE_TARNAME='libfirm'
258 PACKAGE_VERSION='0.3.0'
259 PACKAGE_STRING='libfirm 0.3.0'
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures libfirm 0.3.0 to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
818 if test -n "$ac_init_help"; then
819 case $ac_init_help in
820 short | recursive ) echo "Configuration of libfirm 0.3.0:";;
825 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
826 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
827 --enable-debug enable assertions and additional debugging routines
828 --disable-inlining disable inline C-extension
829 --enable-profile enable profiling
830 --enable-autodoc enable auto documentation
831 --enable-firmjni check for tools necesarry to construct a java native interface for Firm
832 --enable-heapanalysis Compile with heap analysis.
833 --disable-libiberty disable own libiberty parts
834 --enable-statistics enable Firm statistics
837 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
838 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
839 --with-includedir=add colon seperated list of directories to include search path
840 --with-libdir=add colon seperated list of directories to linker search path
842 Some influential environment variables:
843 CC C compiler command
844 CFLAGS C compiler flags
845 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
846 nonstandard directory <lib dir>
847 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
848 headers in a nonstandard directory <include dir>
851 Use these variables to override the choices made by `configure' or to help
852 it to find libraries and programs with nonstandard names/locations.
857 if test "$ac_init_help" = "recursive"; then
858 # If there are subdirs, report their specific --help.
860 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
861 test -d $ac_dir || continue
864 if test "$ac_dir" != .; then
865 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
866 # A "../" for each directory in $ac_dir_suffix.
867 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
869 ac_dir_suffix= ac_top_builddir=
873 .) # No --srcdir option. We are building in place.
875 if test -z "$ac_top_builddir"; then
878 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
880 [\\/]* | ?:[\\/]* ) # Absolute path.
881 ac_srcdir=$srcdir$ac_dir_suffix;
882 ac_top_srcdir=$srcdir ;;
884 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
885 ac_top_srcdir=$ac_top_builddir$srcdir ;;
887 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
889 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
890 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
891 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
892 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
895 # Check for guested configure; otherwise get Cygnus style configure.
896 if test -f $ac_srcdir/configure.gnu; then
898 $SHELL $ac_srcdir/configure.gnu --help=recursive
899 elif test -f $ac_srcdir/configure; then
901 $SHELL $ac_srcdir/configure --help=recursive
902 elif test -f $ac_srcdir/configure.ac ||
903 test -f $ac_srcdir/configure.in; then
907 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
913 test -n "$ac_init_help" && exit 0
914 if $ac_init_version; then
916 libfirm configure 0.3.0
917 generated by GNU Autoconf 2.53
919 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
920 Free Software Foundation, Inc.
921 This configure script is free software; the Free Software Foundation
922 gives unlimited permission to copy, distribute and modify it.
928 This file contains any messages produced by compilers while
929 running configure, to aid debugging if configure makes a mistake.
931 It was created by libfirm $as_me 0.3.0, which was
932 generated by GNU Autoconf 2.53. Invocation command line was
943 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
944 uname -m = `(uname -m) 2>/dev/null || echo unknown`
945 uname -r = `(uname -r) 2>/dev/null || echo unknown`
946 uname -s = `(uname -s) 2>/dev/null || echo unknown`
947 uname -v = `(uname -v) 2>/dev/null || echo unknown`
949 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
950 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
952 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
953 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
954 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
955 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
956 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
957 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
958 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
966 test -z "$as_dir" && as_dir=.
982 # Keep a trace of the command line.
983 # Strip out --no-create and --no-recursion so they do not pile up.
984 # Also quote any args containing shell meta-characters.
990 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
991 | --no-cr | --no-c | -n ) continue ;;
992 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
993 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
995 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
996 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
998 case " $ac_configure_args " in
999 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1000 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1003 # Get rid of the leading space.
1006 # When interrupted or exit'd, cleanup temporary files, and complete
1007 # config.log. We remove comments because anyway the quotes in there
1008 # would cause problems or look ugly.
1009 # WARNING: Be sure not to use single quotes in there, as some shells,
1010 # such as our DU 5.0 friend, will then `close' the trap.
1011 trap 'exit_status=$?
1012 # Save into config.log some information that might help in debugging.
1016 ## ---------------- ##
1017 ## Cache variables. ##
1018 ## ---------------- ##
1021 # The following way of writing the cache mishandles newlines in values,
1024 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1027 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1028 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1032 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1037 if test -s confdefs.h; then
1044 sed "/^$/d" confdefs.h
1047 test "$ac_signal" != 0 &&
1048 echo "$as_me: caught signal $ac_signal"
1049 echo "$as_me: exit $exit_status"
1051 rm -f core core.* *.core &&
1052 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1055 for ac_signal in 1 2 13 15; do
1056 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1060 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1061 rm -rf conftest* confdefs.h
1062 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1065 # Predefined preprocessor variables.
1067 cat >>confdefs.h <<_ACEOF
1068 #define PACKAGE_NAME "$PACKAGE_NAME"
1072 cat >>confdefs.h <<_ACEOF
1073 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1077 cat >>confdefs.h <<_ACEOF
1078 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1082 cat >>confdefs.h <<_ACEOF
1083 #define PACKAGE_STRING "$PACKAGE_STRING"
1087 cat >>confdefs.h <<_ACEOF
1088 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1092 # Let the site file select an alternate cache file if it wants to.
1093 # Prefer explicitly selected file to automatically selected ones.
1094 if test -z "$CONFIG_SITE"; then
1095 if test "x$prefix" != xNONE; then
1096 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1098 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1101 for ac_site_file in $CONFIG_SITE; do
1102 if test -r "$ac_site_file"; then
1103 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1104 echo "$as_me: loading site script $ac_site_file" >&6;}
1105 sed 's/^/| /' "$ac_site_file" >&5
1110 if test -r "$cache_file"; then
1111 # Some versions of bash will fail to source /dev/null (special
1112 # files actually), so we avoid doing that.
1113 if test -f "$cache_file"; then
1114 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1115 echo "$as_me: loading cache $cache_file" >&6;}
1117 [\\/]* | ?:[\\/]* ) . $cache_file;;
1118 *) . ./$cache_file;;
1122 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1123 echo "$as_me: creating cache $cache_file" >&6;}
1127 # Check that the precious variables saved in the cache have kept the same
1129 ac_cache_corrupted=false
1130 for ac_var in `(set) 2>&1 |
1131 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1132 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1133 eval ac_new_set=\$ac_env_${ac_var}_set
1134 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1135 eval ac_new_val="\$ac_env_${ac_var}_value"
1136 case $ac_old_set,$ac_new_set in
1138 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1139 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1140 ac_cache_corrupted=: ;;
1142 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1143 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1144 ac_cache_corrupted=: ;;
1147 if test "x$ac_old_val" != "x$ac_new_val"; then
1148 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1149 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1150 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1151 echo "$as_me: former value: $ac_old_val" >&2;}
1152 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1153 echo "$as_me: current value: $ac_new_val" >&2;}
1154 ac_cache_corrupted=:
1157 # Pass precious variables to config.status.
1158 if test "$ac_new_set" = set; then
1160 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1161 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1162 *) ac_arg=$ac_var=$ac_new_val ;;
1164 case " $ac_configure_args " in
1165 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1166 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1170 if $ac_cache_corrupted; then
1171 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1172 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1173 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1174 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1175 { (exit 1); exit 1; }; }
1179 ac_cpp='$CPP $CPPFLAGS'
1180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1210 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1211 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1212 ir/ana/Makefile ir/tr/Makefile ir/st/Makefile ir/stat/Makefile \
1213 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1216 ac_config_headers="$ac_config_headers config.h"
1219 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1223 # Check whether --with-includedir or --without-includedir was given.
1224 if test "${with_includedir+set}" = set; then
1225 withval="$with_includedir"
1226 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1232 # Check whether --with-libdir or --without-libdir was given.
1233 if test "${with_libdir+set}" = set; then
1234 withval="$with_libdir"
1235 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1241 # Check whether --enable-debug or --disable-debug was given.
1242 if test "${enable_debug+set}" = set; then
1243 enableval="$enable_debug"
1244 if test "$enableval" = yes; then
1245 cat >>confdefs.h <<\_ACEOF
1246 #define DEBUG_libfirm 1
1250 cat >>confdefs.h <<\_ACEOF
1258 # Check whether --enable-inlining or --disable-inlining was given.
1259 if test "${enable_inlining+set}" = set; then
1260 enableval="$enable_inlining"
1261 if test "$enableval" = yes; then
1262 cat >>confdefs.h <<\_ACEOF
1263 #define USE_INLINING 1
1268 cat >>confdefs.h <<\_ACEOF
1269 #define USE_INLINING 1
1275 # Check whether --enable-profile or --disable-profile was given.
1276 if test "${enable_profile+set}" = set; then
1277 enableval="$enable_profile"
1278 if test "$enableval"=yes; then
1279 enable_profile_libfirm=yes
1282 enable_profile_libfirm=no
1286 # Check whether --enable-autodoc or --disable-autodoc was given.
1287 if test "${enable_autodoc+set}" = set; then
1288 enableval="$enable_autodoc"
1289 if test "$enableval"=yes; then
1290 enable_auto_documentation=yes
1293 enable_auto_documentation=no
1298 # Check whether --enable-firmjni or --disable-firmjni was given.
1299 if test "${enable_firmjni+set}" = set; then
1300 enableval="$enable_firmjni"
1301 if test "$enableval"=yes; then
1309 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1310 if test "${enable_heapanalysis+set}" = set; then
1311 enableval="$enable_heapanalysis"
1312 enable_heapanalysis=$enableval
1314 enable_heapanalysis="no"
1316 if test "$enable_heapanalysis" = "no"; then
1317 echo "$as_me:$LINENO: result: heapanalysis disabled" >&5
1318 echo "${ECHO_T}heapanalysis disabled" >&6
1320 cat >>confdefs.h <<\_ACEOF
1321 #define DO_HEAPANALYSIS 1
1324 echo "$as_me:$LINENO: result: heapanalysis enabled" >&5
1325 echo "${ECHO_T}heapanalysis enabled" >&6
1329 # Check whether --enable-libiberty or --disable-libiberty was given.
1330 if test "${enable_libiberty+set}" = set; then
1331 enableval="$enable_libiberty"
1332 if test "$enableval"=yes; then
1333 disable_libiberty_=yes
1336 disable_libiberty=no
1340 # Check whether --enable-statistics or --disable-statistics was given.
1341 if test "${enable_statistics+set}" = set; then
1342 enableval="$enable_statistics"
1343 if test "$enableval"=yes; then
1344 cat >>confdefs.h <<\_ACEOF
1345 #define FIRM_STATISTICS 1
1354 ac_cpp='$CPP $CPPFLAGS'
1355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1358 if test -n "$ac_tool_prefix"; then
1359 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1360 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1361 echo "$as_me:$LINENO: checking for $ac_word" >&5
1362 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1363 if test "${ac_cv_prog_CC+set}" = set; then
1364 echo $ECHO_N "(cached) $ECHO_C" >&6
1366 if test -n "$CC"; then
1367 ac_cv_prog_CC="$CC" # Let the user override the test.
1369 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1373 test -z "$as_dir" && as_dir=.
1374 for ac_exec_ext in '' $ac_executable_extensions; do
1375 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1376 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1377 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1386 if test -n "$CC"; then
1387 echo "$as_me:$LINENO: result: $CC" >&5
1388 echo "${ECHO_T}$CC" >&6
1390 echo "$as_me:$LINENO: result: no" >&5
1391 echo "${ECHO_T}no" >&6
1395 if test -z "$ac_cv_prog_CC"; then
1397 # Extract the first word of "gcc", so it can be a program name with args.
1398 set dummy gcc; ac_word=$2
1399 echo "$as_me:$LINENO: checking for $ac_word" >&5
1400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1401 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 if test -n "$ac_ct_CC"; then
1405 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411 test -z "$as_dir" && as_dir=.
1412 for ac_exec_ext in '' $ac_executable_extensions; do
1413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1414 ac_cv_prog_ac_ct_CC="gcc"
1415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1423 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1424 if test -n "$ac_ct_CC"; then
1425 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1426 echo "${ECHO_T}$ac_ct_CC" >&6
1428 echo "$as_me:$LINENO: result: no" >&5
1429 echo "${ECHO_T}no" >&6
1437 if test -z "$CC"; then
1438 if test -n "$ac_tool_prefix"; then
1439 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1440 set dummy ${ac_tool_prefix}cc; ac_word=$2
1441 echo "$as_me:$LINENO: checking for $ac_word" >&5
1442 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1443 if test "${ac_cv_prog_CC+set}" = set; then
1444 echo $ECHO_N "(cached) $ECHO_C" >&6
1446 if test -n "$CC"; then
1447 ac_cv_prog_CC="$CC" # Let the user override the test.
1449 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453 test -z "$as_dir" && as_dir=.
1454 for ac_exec_ext in '' $ac_executable_extensions; do
1455 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1456 ac_cv_prog_CC="${ac_tool_prefix}cc"
1457 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1466 if test -n "$CC"; then
1467 echo "$as_me:$LINENO: result: $CC" >&5
1468 echo "${ECHO_T}$CC" >&6
1470 echo "$as_me:$LINENO: result: no" >&5
1471 echo "${ECHO_T}no" >&6
1475 if test -z "$ac_cv_prog_CC"; then
1477 # Extract the first word of "cc", so it can be a program name with args.
1478 set dummy cc; ac_word=$2
1479 echo "$as_me:$LINENO: checking for $ac_word" >&5
1480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1481 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 if test -n "$ac_ct_CC"; then
1485 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 test -z "$as_dir" && as_dir=.
1492 for ac_exec_ext in '' $ac_executable_extensions; do
1493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1494 ac_cv_prog_ac_ct_CC="cc"
1495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1503 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1504 if test -n "$ac_ct_CC"; then
1505 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1506 echo "${ECHO_T}$ac_ct_CC" >&6
1508 echo "$as_me:$LINENO: result: no" >&5
1509 echo "${ECHO_T}no" >&6
1518 if test -z "$CC"; then
1519 # Extract the first word of "cc", so it can be a program name with args.
1520 set dummy cc; ac_word=$2
1521 echo "$as_me:$LINENO: checking for $ac_word" >&5
1522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1523 if test "${ac_cv_prog_CC+set}" = set; then
1524 echo $ECHO_N "(cached) $ECHO_C" >&6
1526 if test -n "$CC"; then
1527 ac_cv_prog_CC="$CC" # Let the user override the test.
1530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1534 test -z "$as_dir" && as_dir=.
1535 for ac_exec_ext in '' $ac_executable_extensions; do
1536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1537 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1538 ac_prog_rejected=yes
1542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 if test $ac_prog_rejected = yes; then
1549 # We found a bogon in the path, so make sure we never use it.
1550 set dummy $ac_cv_prog_CC
1552 if test $# != 0; then
1553 # We chose a different compiler from the bogus one.
1554 # However, it has the same basename, so the bogon will be chosen
1555 # first if we set CC to just the basename; use the full file name.
1557 set dummy "$as_dir/$ac_word" ${1+"$@"}
1565 if test -n "$CC"; then
1566 echo "$as_me:$LINENO: result: $CC" >&5
1567 echo "${ECHO_T}$CC" >&6
1569 echo "$as_me:$LINENO: result: no" >&5
1570 echo "${ECHO_T}no" >&6
1574 if test -z "$CC"; then
1575 if test -n "$ac_tool_prefix"; then
1578 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1579 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1580 echo "$as_me:$LINENO: checking for $ac_word" >&5
1581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1582 if test "${ac_cv_prog_CC+set}" = set; then
1583 echo $ECHO_N "(cached) $ECHO_C" >&6
1585 if test -n "$CC"; then
1586 ac_cv_prog_CC="$CC" # Let the user override the test.
1588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1592 test -z "$as_dir" && as_dir=.
1593 for ac_exec_ext in '' $ac_executable_extensions; do
1594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1595 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1605 if test -n "$CC"; then
1606 echo "$as_me:$LINENO: result: $CC" >&5
1607 echo "${ECHO_T}$CC" >&6
1609 echo "$as_me:$LINENO: result: no" >&5
1610 echo "${ECHO_T}no" >&6
1613 test -n "$CC" && break
1616 if test -z "$CC"; then
1620 # Extract the first word of "$ac_prog", so it can be a program name with args.
1621 set dummy $ac_prog; ac_word=$2
1622 echo "$as_me:$LINENO: checking for $ac_word" >&5
1623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 if test -n "$ac_ct_CC"; then
1628 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir=.
1635 for ac_exec_ext in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_ac_ct_CC="$ac_prog"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1647 if test -n "$ac_ct_CC"; then
1648 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1649 echo "${ECHO_T}$ac_ct_CC" >&6
1651 echo "$as_me:$LINENO: result: no" >&5
1652 echo "${ECHO_T}no" >&6
1655 test -n "$ac_ct_CC" && break
1664 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1665 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1666 { (exit 1); exit 1; }; }
1668 # Provide some information about the compiler.
1669 echo "$as_me:$LINENO:" \
1670 "checking for C compiler version" >&5
1671 ac_compiler=`set X $ac_compile; echo $2`
1672 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1673 (eval $ac_compiler --version </dev/null >&5) 2>&5
1675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1676 (exit $ac_status); }
1677 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1678 (eval $ac_compiler -v </dev/null >&5) 2>&5
1680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1681 (exit $ac_status); }
1682 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1683 (eval $ac_compiler -V </dev/null >&5) 2>&5
1685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1686 (exit $ac_status); }
1688 cat >conftest.$ac_ext <<_ACEOF
1689 #line $LINENO "configure"
1690 #include "confdefs.h"
1692 #ifdef F77_DUMMY_MAIN
1696 int F77_DUMMY_MAIN() { return 1; }
1706 ac_clean_files_save=$ac_clean_files
1707 ac_clean_files="$ac_clean_files a.out a.exe"
1708 # Try to create an executable without -o first, disregard a.out.
1709 # It will help us diagnose broken compilers, and finding out an intuition
1711 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1712 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1713 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1714 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1715 (eval $ac_link_default) 2>&5
1717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1718 (exit $ac_status); }; then
1719 # Find the output, starting from the most likely. This scheme is
1720 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1723 # Be careful to initialize this variable, since it used to be cached.
1724 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1726 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1727 ls a.out conftest 2>/dev/null;
1728 ls a.* conftest.* 2>/dev/null`; do
1730 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1731 a.out ) # We found the default executable, but exeext='' is most
1734 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1735 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1742 echo "$as_me: failed program was:" >&5
1743 cat conftest.$ac_ext >&5
1744 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1745 echo "$as_me: error: C compiler cannot create executables" >&2;}
1746 { (exit 77); exit 77; }; }
1749 ac_exeext=$ac_cv_exeext
1750 echo "$as_me:$LINENO: result: $ac_file" >&5
1751 echo "${ECHO_T}$ac_file" >&6
1753 # Check the compiler produces executables we can run. If not, either
1754 # the compiler is broken, or we cross compile.
1755 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1756 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1757 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1758 # If not cross compiling, check that we can run a simple program.
1759 if test "$cross_compiling" != yes; then
1760 if { ac_try='./$ac_file'
1761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1765 (exit $ac_status); }; }; then
1768 if test "$cross_compiling" = maybe; then
1771 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1772 If you meant to cross compile, use \`--host'." >&5
1773 echo "$as_me: error: cannot run C compiled programs.
1774 If you meant to cross compile, use \`--host'." >&2;}
1775 { (exit 1); exit 1; }; }
1779 echo "$as_me:$LINENO: result: yes" >&5
1780 echo "${ECHO_T}yes" >&6
1782 rm -f a.out a.exe conftest$ac_cv_exeext
1783 ac_clean_files=$ac_clean_files_save
1784 # Check the compiler produces executables we can run. If not, either
1785 # the compiler is broken, or we cross compile.
1786 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1787 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1788 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1789 echo "${ECHO_T}$cross_compiling" >&6
1791 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1792 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1794 (eval $ac_link) 2>&5
1796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1797 (exit $ac_status); }; then
1798 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1799 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1800 # work properly (i.e., refer to `conftest.exe'), while it won't with
1802 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1804 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1805 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1812 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1813 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1814 { (exit 1); exit 1; }; }
1817 rm -f conftest$ac_cv_exeext
1818 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1819 echo "${ECHO_T}$ac_cv_exeext" >&6
1821 rm -f conftest.$ac_ext
1822 EXEEXT=$ac_cv_exeext
1824 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1825 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1826 if test "${ac_cv_objext+set}" = set; then
1827 echo $ECHO_N "(cached) $ECHO_C" >&6
1829 cat >conftest.$ac_ext <<_ACEOF
1830 #line $LINENO "configure"
1831 #include "confdefs.h"
1833 #ifdef F77_DUMMY_MAIN
1837 int F77_DUMMY_MAIN() { return 1; }
1847 rm -f conftest.o conftest.obj
1848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1849 (eval $ac_compile) 2>&5
1851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1852 (exit $ac_status); }; then
1853 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1855 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1856 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1861 echo "$as_me: failed program was:" >&5
1862 cat conftest.$ac_ext >&5
1863 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1864 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1865 { (exit 1); exit 1; }; }
1868 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1870 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1871 echo "${ECHO_T}$ac_cv_objext" >&6
1872 OBJEXT=$ac_cv_objext
1874 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1875 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1876 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1877 echo $ECHO_N "(cached) $ECHO_C" >&6
1879 cat >conftest.$ac_ext <<_ACEOF
1880 #line $LINENO "configure"
1881 #include "confdefs.h"
1883 #ifdef F77_DUMMY_MAIN
1887 int F77_DUMMY_MAIN() { return 1; }
1900 rm -f conftest.$ac_objext
1901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1902 (eval $ac_compile) 2>&5
1904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1905 (exit $ac_status); } &&
1906 { ac_try='test -s conftest.$ac_objext'
1907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1911 (exit $ac_status); }; }; then
1914 echo "$as_me: failed program was:" >&5
1915 cat conftest.$ac_ext >&5
1918 rm -f conftest.$ac_objext conftest.$ac_ext
1919 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1922 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1923 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1924 GCC=`test $ac_compiler_gnu = yes && echo yes`
1925 ac_test_CFLAGS=${CFLAGS+set}
1926 ac_save_CFLAGS=$CFLAGS
1928 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1929 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1930 if test "${ac_cv_prog_cc_g+set}" = set; then
1931 echo $ECHO_N "(cached) $ECHO_C" >&6
1933 cat >conftest.$ac_ext <<_ACEOF
1934 #line $LINENO "configure"
1935 #include "confdefs.h"
1937 #ifdef F77_DUMMY_MAIN
1941 int F77_DUMMY_MAIN() { return 1; }
1951 rm -f conftest.$ac_objext
1952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1953 (eval $ac_compile) 2>&5
1955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1956 (exit $ac_status); } &&
1957 { ac_try='test -s conftest.$ac_objext'
1958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962 (exit $ac_status); }; }; then
1965 echo "$as_me: failed program was:" >&5
1966 cat conftest.$ac_ext >&5
1969 rm -f conftest.$ac_objext conftest.$ac_ext
1971 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1972 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1973 if test "$ac_test_CFLAGS" = set; then
1974 CFLAGS=$ac_save_CFLAGS
1975 elif test $ac_cv_prog_cc_g = yes; then
1976 if test "$GCC" = yes; then
1982 if test "$GCC" = yes; then
1988 # Some people use a C++ compiler to compile C. Since we use `exit',
1989 # in C++ we need to declare it. In case someone uses the same compiler
1990 # for both compiling C and C++ we need to have the C++ compiler decide
1991 # the declaration of exit, since it's the most demanding environment.
1992 cat >conftest.$ac_ext <<_ACEOF
1997 rm -f conftest.$ac_objext
1998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1999 (eval $ac_compile) 2>&5
2001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2002 (exit $ac_status); } &&
2003 { ac_try='test -s conftest.$ac_objext'
2004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2008 (exit $ac_status); }; }; then
2009 for ac_declaration in \
2011 '#include <stdlib.h>' \
2012 'extern "C" void std::exit (int) throw (); using std::exit;' \
2013 'extern "C" void std::exit (int); using std::exit;' \
2014 'extern "C" void exit (int) throw ();' \
2015 'extern "C" void exit (int);' \
2018 cat >conftest.$ac_ext <<_ACEOF
2019 #line $LINENO "configure"
2020 #include "confdefs.h"
2023 #ifdef F77_DUMMY_MAIN
2027 int F77_DUMMY_MAIN() { return 1; }
2037 rm -f conftest.$ac_objext
2038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2039 (eval $ac_compile) 2>&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); } &&
2043 { ac_try='test -s conftest.$ac_objext'
2044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2048 (exit $ac_status); }; }; then
2051 echo "$as_me: failed program was:" >&5
2052 cat conftest.$ac_ext >&5
2055 rm -f conftest.$ac_objext conftest.$ac_ext
2056 cat >conftest.$ac_ext <<_ACEOF
2057 #line $LINENO "configure"
2058 #include "confdefs.h"
2060 #ifdef F77_DUMMY_MAIN
2064 int F77_DUMMY_MAIN() { return 1; }
2074 rm -f conftest.$ac_objext
2075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2076 (eval $ac_compile) 2>&5
2078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2079 (exit $ac_status); } &&
2080 { ac_try='test -s conftest.$ac_objext'
2081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2085 (exit $ac_status); }; }; then
2088 echo "$as_me: failed program was:" >&5
2089 cat conftest.$ac_ext >&5
2091 rm -f conftest.$ac_objext conftest.$ac_ext
2094 if test -n "$ac_declaration"; then
2095 echo '#ifdef __cplusplus' >>confdefs.h
2096 echo $ac_declaration >>confdefs.h
2097 echo '#endif' >>confdefs.h
2101 echo "$as_me: failed program was:" >&5
2102 cat conftest.$ac_ext >&5
2104 rm -f conftest.$ac_objext conftest.$ac_ext
2106 ac_cpp='$CPP $CPPFLAGS'
2107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2113 if test -z "$LD"; then
2114 if test -n "$ac_tool_prefix"; then
2115 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2116 set dummy ${ac_tool_prefix}ld; ac_word=$2
2117 echo "$as_me:$LINENO: checking for $ac_word" >&5
2118 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119 if test "${ac_cv_prog_LD+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2122 if test -n "$LD"; then
2123 ac_cv_prog_LD="$LD" # Let the user override the test.
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_LD="${ac_tool_prefix}ld"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 if test -n "$LD"; then
2143 echo "$as_me:$LINENO: result: $LD" >&5
2144 echo "${ECHO_T}$LD" >&6
2146 echo "$as_me:$LINENO: result: no" >&5
2147 echo "${ECHO_T}no" >&6
2151 if test -z "$ac_cv_prog_LD"; then
2153 # Extract the first word of "ld", so it can be a program name with args.
2154 set dummy ld; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$ac_ct_LD"; then
2161 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_ac_ct_LD="ld"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2179 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2180 if test -n "$ac_ct_LD"; then
2181 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2182 echo "${ECHO_T}$ac_ct_LD" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2195 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2196 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2197 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 libfirm_cv_prog_ld_r=no
2203 cat > conftest.$ac_ext <<EOF
2204 int foo() { return 0; }
2206 if eval $ac_compile && mv conftest.o conftest2.o; then
2207 cat > conftest.$ac_ext <<EOF
2209 int main() { return foo(); }
2211 if eval $ac_compile; then
2212 if $LD -r -o conftest conftest.o conftest2.o; then
2213 libfirm_cv_prog_ld_r=yes
2220 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2221 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2224 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2225 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2226 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2227 { (exit 1); exit 1; }; }
2230 # Extract the first word of "ar", so it can be a program name with args.
2231 set dummy ar; ac_word=$2
2232 echo "$as_me:$LINENO: checking for $ac_word" >&5
2233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2234 if test "${ac_cv_prog_AR+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 if test -n "$AR"; then
2238 ac_cv_prog_AR="$AR" # Let the user override the test.
2240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2244 test -z "$as_dir" && as_dir=.
2245 for ac_exec_ext in '' $ac_executable_extensions; do
2246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2247 ac_cv_prog_AR=""ar""
2248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2254 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2258 if test -n "$AR"; then
2259 echo "$as_me:$LINENO: result: $AR" >&5
2260 echo "${ECHO_T}$AR" >&6
2262 echo "$as_me:$LINENO: result: no" >&5
2263 echo "${ECHO_T}no" >&6
2266 if test "$AR" != "ar"; then
2267 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2268 echo "$as_me: error: need ar for creating archives" >&2;}
2269 { (exit 1); exit 1; }; }
2272 # Extract the first word of "tar", so it can be a program name with args.
2273 set dummy tar; ac_word=$2
2274 echo "$as_me:$LINENO: checking for $ac_word" >&5
2275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2276 if test "${ac_cv_prog_TAR+set}" = set; then
2277 echo $ECHO_N "(cached) $ECHO_C" >&6
2279 if test -n "$TAR"; then
2280 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2286 test -z "$as_dir" && as_dir=.
2287 for ac_exec_ext in '' $ac_executable_extensions; do
2288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2289 ac_cv_prog_TAR=""tar""
2290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2296 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2300 if test -n "$TAR"; then
2301 echo "$as_me:$LINENO: result: $TAR" >&5
2302 echo "${ECHO_T}$TAR" >&6
2304 echo "$as_me:$LINENO: result: no" >&5
2305 echo "${ECHO_T}no" >&6
2308 if test "$TAR" != "tar"; then
2309 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2310 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2311 { (exit 1); exit 1; }; }
2315 if test -n "$ac_tool_prefix"; then
2316 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2317 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2318 echo "$as_me:$LINENO: checking for $ac_word" >&5
2319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2320 if test "${ac_cv_prog_RANLIB+set}" = set; then
2321 echo $ECHO_N "(cached) $ECHO_C" >&6
2323 if test -n "$RANLIB"; then
2324 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 for ac_exec_ext in '' $ac_executable_extensions; do
2332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2333 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2342 RANLIB=$ac_cv_prog_RANLIB
2343 if test -n "$RANLIB"; then
2344 echo "$as_me:$LINENO: result: $RANLIB" >&5
2345 echo "${ECHO_T}$RANLIB" >&6
2347 echo "$as_me:$LINENO: result: no" >&5
2348 echo "${ECHO_T}no" >&6
2352 if test -z "$ac_cv_prog_RANLIB"; then
2353 ac_ct_RANLIB=$RANLIB
2354 # Extract the first word of "ranlib", so it can be a program name with args.
2355 set dummy ranlib; ac_word=$2
2356 echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2358 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$ac_ct_RANLIB"; then
2362 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2371 ac_cv_prog_ac_ct_RANLIB="ranlib"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2378 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2381 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2382 if test -n "$ac_ct_RANLIB"; then
2383 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2384 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2386 echo "$as_me:$LINENO: result: no" >&5
2387 echo "${ECHO_T}no" >&6
2390 RANLIB=$ac_ct_RANLIB
2392 RANLIB="$ac_cv_prog_RANLIB"
2397 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2398 if test -f $ac_dir/install-sh; then
2400 ac_install_sh="$ac_aux_dir/install-sh -c"
2402 elif test -f $ac_dir/install.sh; then
2404 ac_install_sh="$ac_aux_dir/install.sh -c"
2406 elif test -f $ac_dir/shtool; then
2408 ac_install_sh="$ac_aux_dir/shtool install -c"
2412 if test -z "$ac_aux_dir"; then
2413 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2414 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2415 { (exit 1); exit 1; }; }
2417 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2418 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2419 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2421 # Find a good install program. We prefer a C program (faster),
2422 # so one script is as good as another. But avoid the broken or
2423 # incompatible versions:
2424 # SysV /etc/install, /usr/sbin/install
2425 # SunOS /usr/etc/install
2426 # IRIX /sbin/install
2428 # AmigaOS /C/install, which installs bootblocks on floppy discs
2429 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2430 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2431 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2432 # ./install, which can be erroneously created by make from ./install.sh.
2433 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2434 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2435 if test -z "$INSTALL"; then
2436 if test "${ac_cv_path_install+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2443 test -z "$as_dir" && as_dir=.
2444 # Account for people who put trailing slashes in PATH elements.
2446 ./ | .// | /cC/* | \
2447 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2450 # OSF1 and SCO ODT 3.0 have their own names for install.
2451 # Don't use installbsd from OSF since it installs stuff as root
2453 for ac_prog in ginstall scoinst install; do
2454 for ac_exec_ext in '' $ac_executable_extensions; do
2455 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2456 if test $ac_prog = install &&
2457 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2458 # AIX install. It has an incompatible calling convention.
2460 elif test $ac_prog = install &&
2461 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2462 # program-specific install script used by HP pwplus--don't use.
2465 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2477 if test "${ac_cv_path_install+set}" = set; then
2478 INSTALL=$ac_cv_path_install
2480 # As a last resort, use the slow shell script. We don't cache a
2481 # path for INSTALL within a source directory, because that will
2482 # break other packages using the cache if that directory is
2483 # removed, or if the path is relative.
2484 INSTALL=$ac_install_sh
2487 echo "$as_me:$LINENO: result: $INSTALL" >&5
2488 echo "${ECHO_T}$INSTALL" >&6
2490 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2491 # It thinks the first close brace ends the variable substitution.
2492 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2494 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2496 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2499 touch tmp-install.a tmp-install.b
2500 if eval "$INSTALL -C tmp-install.a tmp-install.b" ; then
2501 INSTALL="$INSTALL -C"
2503 rm tmp-install.a tmp-install.b
2506 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2507 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2509 if test "$LN_S" = "ln -s"; then
2510 echo "$as_me:$LINENO: result: yes" >&5
2511 echo "${ECHO_T}yes" >&6
2513 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2514 echo "${ECHO_T}no, using $LN_S" >&6
2518 if test "$enable_auto_documentation" = yes; then
2519 # Extract the first word of "doxygen", so it can be a program name with args.
2520 set dummy doxygen; ac_word=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2526 if test -n "$DOXYGEN"; then
2527 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 test -z "$as_dir" && as_dir=.
2534 for ac_exec_ext in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_DOXYGEN=""doxygen""
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2543 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
2546 DOXYGEN=$ac_cv_prog_DOXYGEN
2547 if test -n "$DOXYGEN"; then
2548 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2549 echo "${ECHO_T}$DOXYGEN" >&6
2551 echo "$as_me:$LINENO: result: no" >&5
2552 echo "${ECHO_T}no" >&6
2555 if test "$DOXYGEN" != "doxygen"; then
2556 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
2557 echo "$as_me: error: need doxygen for auto documentation" >&2;}
2558 { (exit 1); exit 1; }; }
2560 # Extract the first word of "dot", so it can be a program name with args.
2561 set dummy dot; ac_word=$2
2562 echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2564 if test "${ac_cv_prog_DOT+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2567 if test -n "$DOT"; then
2568 ac_cv_prog_DOT="$DOT" # Let the user override the test.
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577 ac_cv_prog_DOT=""dot""
2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
2588 if test -n "$DOT"; then
2589 echo "$as_me:$LINENO: result: $DOT" >&5
2590 echo "${ECHO_T}$DOT" >&6
2592 echo "$as_me:$LINENO: result: no" >&5
2593 echo "${ECHO_T}no" >&6
2596 if test "$DOT" != "dot"; then
2597 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
2598 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
2599 { (exit 1); exit 1; }; }
2603 if test "$enable_firm_jni" = yes; then
2604 # Extract the first word of "javac", so it can be a program name with args.
2605 set dummy javac; ac_word=$2
2606 echo "$as_me:$LINENO: checking for $ac_word" >&5
2607 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2608 if test "${ac_cv_prog_JAVAC+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 if test -n "$JAVAC"; then
2612 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2618 test -z "$as_dir" && as_dir=.
2619 for ac_exec_ext in '' $ac_executable_extensions; do
2620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2621 ac_cv_prog_JAVAC=""javac""
2622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
2631 JAVAC=$ac_cv_prog_JAVAC
2632 if test -n "$JAVAC"; then
2633 echo "$as_me:$LINENO: result: $JAVAC" >&5
2634 echo "${ECHO_T}$JAVAC" >&6
2636 echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6
2640 if test "$JAVAC" != "javac"; then
2641 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
2642 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
2643 { (exit 1); exit 1; }; }
2645 # Extract the first word of "javah", so it can be a program name with args.
2646 set dummy javah; ac_word=$2
2647 echo "$as_me:$LINENO: checking for $ac_word" >&5
2648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2649 if test "${ac_cv_prog_JAVAH+set}" = set; then
2650 echo $ECHO_N "(cached) $ECHO_C" >&6
2652 if test -n "$JAVAH"; then
2653 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
2655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 test -z "$as_dir" && as_dir=.
2660 for ac_exec_ext in '' $ac_executable_extensions; do
2661 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2662 ac_cv_prog_JAVAH=""javah""
2663 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
2672 JAVAH=$ac_cv_prog_JAVAH
2673 if test -n "$JAVAH"; then
2674 echo "$as_me:$LINENO: result: $JAVAH" >&5
2675 echo "${ECHO_T}$JAVAH" >&6
2677 echo "$as_me:$LINENO: result: no" >&5
2678 echo "${ECHO_T}no" >&6
2681 if test "$JAVAH" != "javah"; then
2682 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
2683 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
2684 { (exit 1); exit 1; }; }
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 # On the NeXT, cc -E runs the code through the compiler's parser,
2715 # not just through cpp. "Syntax error" is here to catch this case.
2716 cat >conftest.$ac_ext <<_ACEOF
2717 #line $LINENO "configure"
2718 #include "confdefs.h"
2722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2725 egrep -v '^ *\+' conftest.er1 >conftest.err
2727 cat conftest.err >&5
2728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2729 (exit $ac_status); } >/dev/null; then
2730 if test -s conftest.err; then
2731 ac_cpp_err=$ac_c_preproc_warn_flag
2738 if test -z "$ac_cpp_err"; then
2741 echo "$as_me: failed program was:" >&5
2742 cat conftest.$ac_ext >&5
2743 # Broken: fails on valid input.
2746 rm -f conftest.err conftest.$ac_ext
2748 # OK, works on sane cases. Now check whether non-existent headers
2749 # can be detected and how.
2750 cat >conftest.$ac_ext <<_ACEOF
2751 #line $LINENO "configure"
2752 #include "confdefs.h"
2753 #include <ac_nonexistent.h>
2755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2758 egrep -v '^ *\+' conftest.er1 >conftest.err
2760 cat conftest.err >&5
2761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2762 (exit $ac_status); } >/dev/null; then
2763 if test -s conftest.err; then
2764 ac_cpp_err=$ac_c_preproc_warn_flag
2771 if test -z "$ac_cpp_err"; then
2772 # Broken: success on invalid input.
2775 echo "$as_me: failed program was:" >&5
2776 cat conftest.$ac_ext >&5
2777 # Passes both tests.
2781 rm -f conftest.err conftest.$ac_ext
2784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2785 rm -f conftest.err conftest.$ac_ext
2786 if $ac_preproc_ok; then
2798 echo "$as_me:$LINENO: result: $CPP" >&5
2799 echo "${ECHO_T}$CPP" >&6
2801 for ac_c_preproc_warn_flag in '' yes
2803 # Use a header file that comes with gcc, so configuring glibc
2804 # with a fresh cross-compiler works.
2805 # On the NeXT, cc -E runs the code through the compiler's parser,
2806 # not just through cpp. "Syntax error" is here to catch this case.
2807 cat >conftest.$ac_ext <<_ACEOF
2808 #line $LINENO "configure"
2809 #include "confdefs.h"
2813 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2816 egrep -v '^ *\+' conftest.er1 >conftest.err
2818 cat conftest.err >&5
2819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2820 (exit $ac_status); } >/dev/null; then
2821 if test -s conftest.err; then
2822 ac_cpp_err=$ac_c_preproc_warn_flag
2829 if test -z "$ac_cpp_err"; then
2832 echo "$as_me: failed program was:" >&5
2833 cat conftest.$ac_ext >&5
2834 # Broken: fails on valid input.
2837 rm -f conftest.err conftest.$ac_ext
2839 # OK, works on sane cases. Now check whether non-existent headers
2840 # can be detected and how.
2841 cat >conftest.$ac_ext <<_ACEOF
2842 #line $LINENO "configure"
2843 #include "confdefs.h"
2844 #include <ac_nonexistent.h>
2846 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2847 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2849 egrep -v '^ *\+' conftest.er1 >conftest.err
2851 cat conftest.err >&5
2852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2853 (exit $ac_status); } >/dev/null; then
2854 if test -s conftest.err; then
2855 ac_cpp_err=$ac_c_preproc_warn_flag
2862 if test -z "$ac_cpp_err"; then
2863 # Broken: success on invalid input.
2866 echo "$as_me: failed program was:" >&5
2867 cat conftest.$ac_ext >&5
2868 # Passes both tests.
2872 rm -f conftest.err conftest.$ac_ext
2875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2876 rm -f conftest.err conftest.$ac_ext
2877 if $ac_preproc_ok; then
2880 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2881 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2882 { (exit 1); exit 1; }; }
2886 ac_cpp='$CPP $CPPFLAGS'
2887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2893 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2894 if test "${ac_cv_header_stdc+set}" = set; then
2895 echo $ECHO_N "(cached) $ECHO_C" >&6
2897 cat >conftest.$ac_ext <<_ACEOF
2898 #line $LINENO "configure"
2899 #include "confdefs.h"
2906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2909 egrep -v '^ *\+' conftest.er1 >conftest.err
2911 cat conftest.err >&5
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); } >/dev/null; then
2914 if test -s conftest.err; then
2915 ac_cpp_err=$ac_c_preproc_warn_flag
2922 if test -z "$ac_cpp_err"; then
2923 ac_cv_header_stdc=yes
2925 echo "$as_me: failed program was:" >&5
2926 cat conftest.$ac_ext >&5
2927 ac_cv_header_stdc=no
2929 rm -f conftest.err conftest.$ac_ext
2931 if test $ac_cv_header_stdc = yes; then
2932 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2933 cat >conftest.$ac_ext <<_ACEOF
2934 #line $LINENO "configure"
2935 #include "confdefs.h"
2939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2940 egrep "memchr" >/dev/null 2>&1; then
2943 ac_cv_header_stdc=no
2949 if test $ac_cv_header_stdc = yes; then
2950 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2951 cat >conftest.$ac_ext <<_ACEOF
2952 #line $LINENO "configure"
2953 #include "confdefs.h"
2957 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2958 egrep "free" >/dev/null 2>&1; then
2961 ac_cv_header_stdc=no
2967 if test $ac_cv_header_stdc = yes; then
2968 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2969 if test "$cross_compiling" = yes; then
2972 cat >conftest.$ac_ext <<_ACEOF
2973 #line $LINENO "configure"
2974 #include "confdefs.h"
2976 #if ((' ' & 0x0FF) == 0x020)
2977 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2978 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2980 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2981 || ('j' <= (c) && (c) <= 'r') \
2982 || ('s' <= (c) && (c) <= 'z'))
2983 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2986 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2991 for (i = 0; i < 256; i++)
2992 if (XOR (islower (i), ISLOWER (i))
2993 || toupper (i) != TOUPPER (i))
2998 rm -f conftest$ac_exeext
2999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3000 (eval $ac_link) 2>&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; }; then
3011 echo "$as_me: program exited with status $ac_status" >&5
3012 echo "$as_me: failed program was:" >&5
3013 cat conftest.$ac_ext >&5
3015 ac_cv_header_stdc=no
3017 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3021 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3022 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3023 if test $ac_cv_header_stdc = yes; then
3025 cat >>confdefs.h <<\_ACEOF
3026 #define STDC_HEADERS 1
3033 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3043 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3044 inttypes.h stdint.h unistd.h
3046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3047 echo "$as_me:$LINENO: checking for $ac_header" >&5
3048 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3049 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 cat >conftest.$ac_ext <<_ACEOF
3053 #line $LINENO "configure"
3054 #include "confdefs.h"
3055 $ac_includes_default
3057 #include <$ac_header>
3059 rm -f conftest.$ac_objext
3060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3061 (eval $ac_compile) 2>&5
3063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3064 (exit $ac_status); } &&
3065 { ac_try='test -s conftest.$ac_objext'
3066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070 (exit $ac_status); }; }; then
3071 eval "$as_ac_Header=yes"
3073 echo "$as_me: failed program was:" >&5
3074 cat conftest.$ac_ext >&5
3075 eval "$as_ac_Header=no"
3077 rm -f conftest.$ac_objext conftest.$ac_ext
3079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3082 cat >>confdefs.h <<_ACEOF
3083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3092 for ac_header in math.h
3094 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3096 echo "$as_me:$LINENO: checking for $ac_header" >&5
3097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3102 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3104 # Is the header compilable?
3105 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3106 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3107 cat >conftest.$ac_ext <<_ACEOF
3108 #line $LINENO "configure"
3109 #include "confdefs.h"
3110 $ac_includes_default
3111 #include <$ac_header>
3113 rm -f conftest.$ac_objext
3114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3115 (eval $ac_compile) 2>&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); } &&
3119 { ac_try='test -s conftest.$ac_objext'
3120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); }; }; then
3125 ac_header_compiler=yes
3127 echo "$as_me: failed program was:" >&5
3128 cat conftest.$ac_ext >&5
3129 ac_header_compiler=no
3131 rm -f conftest.$ac_objext conftest.$ac_ext
3132 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3133 echo "${ECHO_T}$ac_header_compiler" >&6
3135 # Is the header present?
3136 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3137 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3138 cat >conftest.$ac_ext <<_ACEOF
3139 #line $LINENO "configure"
3140 #include "confdefs.h"
3141 #include <$ac_header>
3143 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3144 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3146 egrep -v '^ *\+' conftest.er1 >conftest.err
3148 cat conftest.err >&5
3149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150 (exit $ac_status); } >/dev/null; then
3151 if test -s conftest.err; then
3152 ac_cpp_err=$ac_c_preproc_warn_flag
3159 if test -z "$ac_cpp_err"; then
3160 ac_header_preproc=yes
3162 echo "$as_me: failed program was:" >&5
3163 cat conftest.$ac_ext >&5
3164 ac_header_preproc=no
3166 rm -f conftest.err conftest.$ac_ext
3167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3168 echo "${ECHO_T}$ac_header_preproc" >&6
3170 # So? What about this header?
3171 case $ac_header_compiler:$ac_header_preproc in
3173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3176 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3178 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3179 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3180 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3181 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3182 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3183 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3185 echo "$as_me:$LINENO: checking for $ac_header" >&5
3186 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3187 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3188 echo $ECHO_N "(cached) $ECHO_C" >&6
3190 eval "$as_ac_Header=$ac_header_preproc"
3192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3196 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3197 cat >>confdefs.h <<_ACEOF
3198 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3200 ac_math_headers="yes"
3202 ac_math_headers="no"
3207 if test "$ac_math_headers" != yes; then
3208 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3209 echo "$as_me: error: \"math header file not found\"" >&2;}
3210 { (exit 1); exit 1; }; }
3214 #dnl check for the gnu multiprecission (gmp) header file
3216 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3217 #if test "$ac_gmp_headers" != yes; then
3218 # dnl gmp header not found.
3219 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3226 for ac_header in obstack.h
3228 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3229 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3230 echo "$as_me:$LINENO: checking for $ac_header" >&5
3231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3232 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3236 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3238 # Is the header compilable?
3239 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3240 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3241 cat >conftest.$ac_ext <<_ACEOF
3242 #line $LINENO "configure"
3243 #include "confdefs.h"
3244 $ac_includes_default
3245 #include <$ac_header>
3247 rm -f conftest.$ac_objext
3248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3249 (eval $ac_compile) 2>&5
3251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3252 (exit $ac_status); } &&
3253 { ac_try='test -s conftest.$ac_objext'
3254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); }; }; then
3259 ac_header_compiler=yes
3261 echo "$as_me: failed program was:" >&5
3262 cat conftest.$ac_ext >&5
3263 ac_header_compiler=no
3265 rm -f conftest.$ac_objext conftest.$ac_ext
3266 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3267 echo "${ECHO_T}$ac_header_compiler" >&6
3269 # Is the header present?
3270 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3271 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3272 cat >conftest.$ac_ext <<_ACEOF
3273 #line $LINENO "configure"
3274 #include "confdefs.h"
3275 #include <$ac_header>
3277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3280 egrep -v '^ *\+' conftest.er1 >conftest.err
3282 cat conftest.err >&5
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); } >/dev/null; then
3285 if test -s conftest.err; then
3286 ac_cpp_err=$ac_c_preproc_warn_flag
3293 if test -z "$ac_cpp_err"; then
3294 ac_header_preproc=yes
3296 echo "$as_me: failed program was:" >&5
3297 cat conftest.$ac_ext >&5
3298 ac_header_preproc=no
3300 rm -f conftest.err conftest.$ac_ext
3301 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3302 echo "${ECHO_T}$ac_header_preproc" >&6
3304 # So? What about this header?
3305 case $ac_header_compiler:$ac_header_preproc in
3307 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3308 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3312 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3313 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3314 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3315 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3316 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3317 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3319 echo "$as_me:$LINENO: checking for $ac_header" >&5
3320 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3322 echo $ECHO_N "(cached) $ECHO_C" >&6
3324 eval "$as_ac_Header=$ac_header_preproc"
3326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3327 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3330 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3331 cat >>confdefs.h <<_ACEOF
3332 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3334 ac_obstack_headers="yes"
3336 ac_obstack_headers="no"
3341 if test "$ac_obstack_headers" != yes; then
3342 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3343 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3344 { (exit 1); exit 1; }; }
3349 for ac_header in alloca.h
3351 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3352 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3353 echo "$as_me:$LINENO: checking for $ac_header" >&5
3354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3355 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3356 echo $ECHO_N "(cached) $ECHO_C" >&6
3358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3361 # Is the header compilable?
3362 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3363 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3364 cat >conftest.$ac_ext <<_ACEOF
3365 #line $LINENO "configure"
3366 #include "confdefs.h"
3367 $ac_includes_default
3368 #include <$ac_header>
3370 rm -f conftest.$ac_objext
3371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3372 (eval $ac_compile) 2>&5
3374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3375 (exit $ac_status); } &&
3376 { ac_try='test -s conftest.$ac_objext'
3377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3381 (exit $ac_status); }; }; then
3382 ac_header_compiler=yes
3384 echo "$as_me: failed program was:" >&5
3385 cat conftest.$ac_ext >&5
3386 ac_header_compiler=no
3388 rm -f conftest.$ac_objext conftest.$ac_ext
3389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3390 echo "${ECHO_T}$ac_header_compiler" >&6
3392 # Is the header present?
3393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3395 cat >conftest.$ac_ext <<_ACEOF
3396 #line $LINENO "configure"
3397 #include "confdefs.h"
3398 #include <$ac_header>
3400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3403 egrep -v '^ *\+' conftest.er1 >conftest.err
3405 cat conftest.err >&5
3406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3407 (exit $ac_status); } >/dev/null; then
3408 if test -s conftest.err; then
3409 ac_cpp_err=$ac_c_preproc_warn_flag
3416 if test -z "$ac_cpp_err"; then
3417 ac_header_preproc=yes
3419 echo "$as_me: failed program was:" >&5
3420 cat conftest.$ac_ext >&5
3421 ac_header_preproc=no
3423 rm -f conftest.err conftest.$ac_ext
3424 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3425 echo "${ECHO_T}$ac_header_preproc" >&6
3427 # So? What about this header?
3428 case $ac_header_compiler:$ac_header_preproc in
3430 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3431 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3435 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3436 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3437 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3438 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3439 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3440 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3442 echo "$as_me:$LINENO: checking for $ac_header" >&5
3443 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3445 echo $ECHO_N "(cached) $ECHO_C" >&6
3447 eval "$as_ac_Header=$ac_header_preproc"
3449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3450 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3453 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3454 cat >>confdefs.h <<_ACEOF
3455 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3457 ac_alloca_headers="yes"
3459 ac_alloca_headers="no"
3464 if test "$ac_alloca_headers" = "yes"; then
3465 cat >>confdefs.h <<\_ACEOF
3466 #define HAVE_ALLOCA_H 1
3470 if test "$ac_cv_header_stdc" = "no"; then
3471 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
3472 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
3473 { (exit 1); exit 1; }; }
3479 if test "$enable_firm_jni" = yes; then
3481 for ac_header in jni.h
3483 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3485 echo "$as_me:$LINENO: checking for $ac_header" >&5
3486 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3487 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3493 # Is the header compilable?
3494 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3495 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3496 cat >conftest.$ac_ext <<_ACEOF
3497 #line $LINENO "configure"
3498 #include "confdefs.h"
3499 $ac_includes_default
3500 #include <$ac_header>
3502 rm -f conftest.$ac_objext
3503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3504 (eval $ac_compile) 2>&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } &&
3508 { ac_try='test -s conftest.$ac_objext'
3509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3513 (exit $ac_status); }; }; then
3514 ac_header_compiler=yes
3516 echo "$as_me: failed program was:" >&5
3517 cat conftest.$ac_ext >&5
3518 ac_header_compiler=no
3520 rm -f conftest.$ac_objext conftest.$ac_ext
3521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3522 echo "${ECHO_T}$ac_header_compiler" >&6
3524 # Is the header present?
3525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3526 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3527 cat >conftest.$ac_ext <<_ACEOF
3528 #line $LINENO "configure"
3529 #include "confdefs.h"
3530 #include <$ac_header>
3532 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3533 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3535 egrep -v '^ *\+' conftest.er1 >conftest.err
3537 cat conftest.err >&5
3538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3539 (exit $ac_status); } >/dev/null; then
3540 if test -s conftest.err; then
3541 ac_cpp_err=$ac_c_preproc_warn_flag
3548 if test -z "$ac_cpp_err"; then
3549 ac_header_preproc=yes
3551 echo "$as_me: failed program was:" >&5
3552 cat conftest.$ac_ext >&5
3553 ac_header_preproc=no
3555 rm -f conftest.err conftest.$ac_ext
3556 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3557 echo "${ECHO_T}$ac_header_preproc" >&6
3559 # So? What about this header?
3560 case $ac_header_compiler:$ac_header_preproc in
3562 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3563 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3564 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3565 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3567 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3568 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3569 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3570 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3574 echo "$as_me:$LINENO: checking for $ac_header" >&5
3575 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3576 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 eval "$as_ac_Header=$ac_header_preproc"
3581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3582 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3585 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3586 cat >>confdefs.h <<_ACEOF
3587 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3589 ac_jni_headers="yes"
3596 if test "$ac_jni_headers" != yes; then
3597 { { echo "$as_me:$LINENO: error: jni header file not found. (IPD: add --with-includedir=/usr/public2/java/jdk1.3.1-sun/include/:/usr/public2/java/jdk1.3.1-sun/include/linux/ to configure flags)" >&5
3598 echo "$as_me: error: jni header file not found. (IPD: add --with-includedir=/usr/public2/java/jdk1.3.1-sun/include/:/usr/public2/java/jdk1.3.1-sun/include/linux/ to configure flags)" >&2;}
3599 { (exit 1); exit 1; }; }
3605 #dnl check for the gnu multiprecission (gmp) library
3607 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
3608 #if test "$ac_gmp_library" != yes; then
3609 # dnl gmp library not found.
3610 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
3614 echo "$as_me:$LINENO: checking for main in -lm" >&5
3615 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3616 if test "${ac_cv_lib_m_main+set}" = set; then
3617 echo $ECHO_N "(cached) $ECHO_C" >&6
3619 ac_check_lib_save_LIBS=$LIBS
3621 cat >conftest.$ac_ext <<_ACEOF
3622 #line $LINENO "configure"
3623 #include "confdefs.h"
3626 #ifdef F77_DUMMY_MAIN
3630 int F77_DUMMY_MAIN() { return 1; }
3640 rm -f conftest.$ac_objext conftest$ac_exeext
3641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3642 (eval $ac_link) 2>&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); } &&
3646 { ac_try='test -s conftest$ac_exeext'
3647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); }; }; then
3652 ac_cv_lib_m_main=yes
3654 echo "$as_me: failed program was:" >&5
3655 cat conftest.$ac_ext >&5
3658 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3659 LIBS=$ac_check_lib_save_LIBS
3661 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3662 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3663 if test $ac_cv_lib_m_main = yes; then
3669 if test "$ac_m_library" != yes; then
3670 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
3671 echo "$as_me: error: \"standard math library not found\"" >&2;}
3672 { (exit 1); exit 1; }; }
3676 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3677 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3678 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3679 echo $ECHO_N "(cached) $ECHO_C" >&6
3681 ac_cv_prog_cc_stdc=no
3683 cat >conftest.$ac_ext <<_ACEOF
3684 #line $LINENO "configure"
3685 #include "confdefs.h"
3688 #include <sys/types.h>
3689 #include <sys/stat.h>
3690 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3691 struct buf { int x; };
3692 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3693 static char *e (p, i)
3699 static char *f (char * (*g) (char **, int), char **p, ...)
3704 s = g (p, va_arg (v,int));
3708 int test (int i, double x);
3709 struct s1 {int (*f) (int a);};
3710 struct s2 {int (*f) (double a);};
3711 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3714 #ifdef F77_DUMMY_MAIN
3718 int F77_DUMMY_MAIN() { return 1; }
3723 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3728 # Don't try gcc -ansi; that turns off useful extensions and
3729 # breaks some systems' header files.
3730 # AIX -qlanglvl=ansi
3731 # Ultrix and OSF/1 -std1
3732 # HP-UX 10.20 and later -Ae
3733 # HP-UX older versions -Aa -D_HPUX_SOURCE
3734 # SVR4 -Xc -D__EXTENSIONS__
3735 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3737 CC="$ac_save_CC $ac_arg"
3738 rm -f conftest.$ac_objext
3739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3740 (eval $ac_compile) 2>&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); } &&
3744 { ac_try='test -s conftest.$ac_objext'
3745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3749 (exit $ac_status); }; }; then
3750 ac_cv_prog_cc_stdc=$ac_arg
3753 echo "$as_me: failed program was:" >&5
3754 cat conftest.$ac_ext >&5
3756 rm -f conftest.$ac_objext
3758 rm -f conftest.$ac_ext conftest.$ac_objext
3763 case "x$ac_cv_prog_cc_stdc" in
3765 echo "$as_me:$LINENO: result: none needed" >&5
3766 echo "${ECHO_T}none needed" >&6 ;;
3768 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3769 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3770 CC="$CC $ac_cv_prog_cc_stdc" ;;
3773 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3774 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3775 if test "${ac_cv_c_const+set}" = set; then
3776 echo $ECHO_N "(cached) $ECHO_C" >&6
3778 cat >conftest.$ac_ext <<_ACEOF
3779 #line $LINENO "configure"
3780 #include "confdefs.h"
3782 #ifdef F77_DUMMY_MAIN
3786 int F77_DUMMY_MAIN() { return 1; }
3791 /* FIXME: Include the comments suggested by Paul. */
3793 /* Ultrix mips cc rejects this. */
3794 typedef int charset[2];
3796 /* SunOS 4.1.1 cc rejects this. */
3797 char const *const *ccp;
3799 /* NEC SVR4.0.2 mips cc rejects this. */
3800 struct point {int x, y;};
3801 static struct point const zero = {0,0};
3802 /* AIX XL C 1.02.0.0 rejects this.
3803 It does not let you subtract one const X* pointer from another in
3804 an arm of an if-expression whose if-part is not a constant
3806 const char *g = "string";
3807 ccp = &g + (g ? g-g : 0);
3808 /* HPUX 7.0 cc rejects these. */
3811 ccp = (char const *const *) p;
3812 { /* SCO 3.2v4 cc rejects this. */
3814 char const *s = 0 ? (char *) 0 : (char const *) 0;
3818 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3820 const int *foo = &x[0];
3823 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3824 typedef const int *iptr;
3828 { /* AIX XL C 1.02.0.0 rejects this saying
3829 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3830 struct s { int j; const int *ap[3]; };
3831 struct s *b; b->j = 5;
3833 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3842 rm -f conftest.$ac_objext
3843 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3844 (eval $ac_compile) 2>&5
3846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3847 (exit $ac_status); } &&
3848 { ac_try='test -s conftest.$ac_objext'
3849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3853 (exit $ac_status); }; }; then
3856 echo "$as_me: failed program was:" >&5
3857 cat conftest.$ac_ext >&5
3860 rm -f conftest.$ac_objext conftest.$ac_ext
3862 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3863 echo "${ECHO_T}$ac_cv_c_const" >&6
3864 if test $ac_cv_c_const = no; then
3866 cat >>confdefs.h <<\_ACEOF
3872 echo "$as_me:$LINENO: checking for working volatile" >&5
3873 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
3874 if test "${ac_cv_c_volatile+set}" = set; then
3875 echo $ECHO_N "(cached) $ECHO_C" >&6
3877 cat >conftest.$ac_ext <<_ACEOF
3878 #line $LINENO "configure"
3879 #include "confdefs.h"
3881 #ifdef F77_DUMMY_MAIN
3885 int F77_DUMMY_MAIN() { return 1; }
3897 rm -f conftest.$ac_objext
3898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3899 (eval $ac_compile) 2>&5
3901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3902 (exit $ac_status); } &&
3903 { ac_try='test -s conftest.$ac_objext'
3904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3908 (exit $ac_status); }; }; then
3909 ac_cv_c_volatile=yes
3911 echo "$as_me: failed program was:" >&5
3912 cat conftest.$ac_ext >&5
3915 rm -f conftest.$ac_objext conftest.$ac_ext
3917 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
3918 echo "${ECHO_T}$ac_cv_c_volatile" >&6
3919 if test $ac_cv_c_volatile = no; then
3921 cat >>confdefs.h <<\_ACEOF
3927 echo "$as_me:$LINENO: checking for inline" >&5
3928 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3929 if test "${ac_cv_c_inline+set}" = set; then
3930 echo $ECHO_N "(cached) $ECHO_C" >&6
3933 for ac_kw in inline __inline__ __inline; do
3934 cat >conftest.$ac_ext <<_ACEOF
3935 #line $LINENO "configure"
3936 #include "confdefs.h"
3938 static $ac_kw int static_foo () {return 0; }
3939 $ac_kw int foo () {return 0; }
3943 rm -f conftest.$ac_objext
3944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3945 (eval $ac_compile) 2>&5
3947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3948 (exit $ac_status); } &&
3949 { ac_try='test -s conftest.$ac_objext'
3950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3954 (exit $ac_status); }; }; then
3955 ac_cv_c_inline=$ac_kw; break
3957 echo "$as_me: failed program was:" >&5
3958 cat conftest.$ac_ext >&5
3960 rm -f conftest.$ac_objext conftest.$ac_ext
3964 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3965 echo "${ECHO_T}$ac_cv_c_inline" >&6
3966 case $ac_cv_c_inline in
3969 cat >>confdefs.h <<\_ACEOF
3973 *) cat >>confdefs.h <<_ACEOF
3974 #define inline $ac_cv_c_inline
3979 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3980 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3981 if test "${ac_cv_c_bigendian+set}" = set; then
3982 echo $ECHO_N "(cached) $ECHO_C" >&6
3984 # See if sys/param.h defines the BYTE_ORDER macro.
3985 cat >conftest.$ac_ext <<_ACEOF
3986 #line $LINENO "configure"
3987 #include "confdefs.h"
3988 #include <sys/types.h>
3989 #include <sys/param.h>
3991 #ifdef F77_DUMMY_MAIN
3995 int F77_DUMMY_MAIN() { return 1; }
4000 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4008 rm -f conftest.$ac_objext
4009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4010 (eval $ac_compile) 2>&5
4012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4013 (exit $ac_status); } &&
4014 { ac_try='test -s conftest.$ac_objext'
4015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4019 (exit $ac_status); }; }; then
4020 # It does; now see whether it defined to BIG_ENDIAN or not.
4021 cat >conftest.$ac_ext <<_ACEOF
4022 #line $LINENO "configure"
4023 #include "confdefs.h"
4024 #include <sys/types.h>
4025 #include <sys/param.h>
4027 #ifdef F77_DUMMY_MAIN
4031 int F77_DUMMY_MAIN() { return 1; }
4036 #if BYTE_ORDER != BIG_ENDIAN
4044 rm -f conftest.$ac_objext
4045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4046 (eval $ac_compile) 2>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } &&
4050 { ac_try='test -s conftest.$ac_objext'
4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); }; }; then
4056 ac_cv_c_bigendian=yes
4058 echo "$as_me: failed program was:" >&5
4059 cat conftest.$ac_ext >&5
4060 ac_cv_c_bigendian=no
4062 rm -f conftest.$ac_objext conftest.$ac_ext
4064 echo "$as_me: failed program was:" >&5
4065 cat conftest.$ac_ext >&5
4066 # It does not; compile a test program.
4067 if test "$cross_compiling" = yes; then
4068 # try to guess the endianess by grep'ing values into an object file
4069 ac_cv_c_bigendian=unknown
4070 cat >conftest.$ac_ext <<_ACEOF
4071 #line $LINENO "configure"
4072 #include "confdefs.h"
4073 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4074 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4075 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4076 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4077 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4078 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4079 #ifdef F77_DUMMY_MAIN
4083 int F77_DUMMY_MAIN() { return 1; }
4088 _ascii (); _ebcdic ();
4093 rm -f conftest.$ac_objext
4094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4095 (eval $ac_compile) 2>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } &&
4099 { ac_try='test -s conftest.$ac_objext'
4100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4104 (exit $ac_status); }; }; then
4105 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4106 ac_cv_c_bigendian=yes
4108 if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4109 if test "$ac_cv_c_bigendian" = unknown; then
4110 ac_cv_c_bigendian=no
4112 # finding both strings is unlikely to happen, but who knows?
4113 ac_cv_c_bigendian=unknown
4117 echo "$as_me: failed program was:" >&5
4118 cat conftest.$ac_ext >&5
4120 rm -f conftest.$ac_objext conftest.$ac_ext
4122 cat >conftest.$ac_ext <<_ACEOF
4123 #line $LINENO "configure"
4124 #include "confdefs.h"
4128 /* Are we little or big endian? From Harbison&Steele. */
4132 char c[sizeof (long)];
4135 exit (u.c[sizeof (long) - 1] == 1);
4138 rm -f conftest$ac_exeext
4139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4140 (eval $ac_link) 2>&5
4142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4143 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); }; }; then
4149 ac_cv_c_bigendian=no
4151 echo "$as_me: program exited with status $ac_status" >&5
4152 echo "$as_me: failed program was:" >&5
4153 cat conftest.$ac_ext >&5
4155 ac_cv_c_bigendian=yes
4157 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4160 rm -f conftest.$ac_objext conftest.$ac_ext
4162 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4163 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4164 case $ac_cv_c_bigendian in
4167 cat >>confdefs.h <<\_ACEOF
4168 #define WORDS_BIGENDIAN 1
4174 { { echo "$as_me:$LINENO: error: unknown endianess
4175 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4176 echo "$as_me: error: unknown endianess
4177 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4178 { (exit 1); exit 1; }; } ;;
4181 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
4182 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
4183 if test "${ac_cv_c_long_double+set}" = set; then
4184 echo $ECHO_N "(cached) $ECHO_C" >&6
4186 cat >conftest.$ac_ext <<_ACEOF
4187 #line $LINENO "configure"
4188 #include "confdefs.h"
4190 long double foo = 0.0;
4191 #ifdef F77_DUMMY_MAIN
4195 int F77_DUMMY_MAIN() { return 1; }
4200 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
4201 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
4202 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
4209 rm -f conftest.$ac_objext
4210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4211 (eval $ac_compile) 2>&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); } &&
4215 { ac_try='test -s conftest.$ac_objext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4221 ac_cv_c_long_double=yes
4223 echo "$as_me: failed program was:" >&5
4224 cat conftest.$ac_ext >&5
4225 ac_cv_c_long_double=no
4227 rm -f conftest.$ac_objext conftest.$ac_ext
4229 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
4230 echo "${ECHO_T}$ac_cv_c_long_double" >&6
4231 if test $ac_cv_c_long_double = yes; then
4233 cat >>confdefs.h <<\_ACEOF
4234 #define HAVE_LONG_DOUBLE 1
4242 echo "$as_me:$LINENO: checking for strerror" >&5
4243 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
4244 if test "${ac_cv_func_strerror+set}" = set; then
4245 echo $ECHO_N "(cached) $ECHO_C" >&6
4247 cat >conftest.$ac_ext <<_ACEOF
4248 #line $LINENO "configure"
4249 #include "confdefs.h"
4250 /* System header to define __stub macros and hopefully few prototypes,
4251 which can conflict with char strerror (); below. */
4253 /* Override any gcc2 internal prototype to avoid an error. */
4257 /* We use char because int might match the return type of a gcc2
4258 builtin and then its argument prototype would still apply. */
4262 #ifdef F77_DUMMY_MAIN
4266 int F77_DUMMY_MAIN() { return 1; }
4271 /* The GNU C library defines this for functions which it implements
4272 to always fail with ENOSYS. Some functions are actually named
4273 something starting with __ and the normal name is an alias. */
4274 #if defined (__stub_strerror) || defined (__stub___strerror)
4284 rm -f conftest.$ac_objext conftest$ac_exeext
4285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4286 (eval $ac_link) 2>&5
4288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4289 (exit $ac_status); } &&
4290 { ac_try='test -s conftest$ac_exeext'
4291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); }; }; then
4296 ac_cv_func_strerror=yes
4298 echo "$as_me: failed program was:" >&5
4299 cat conftest.$ac_ext >&5
4300 ac_cv_func_strerror=no
4302 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4304 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
4305 echo "${ECHO_T}$ac_cv_func_strerror" >&6
4306 if test $ac_cv_func_strerror = yes; then
4309 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
4310 echo "$as_me: error: \"need strerror function\"" >&2;}
4311 { (exit 1); exit 1; }; }
4319 ac_config_files="$ac_config_files $ac_output_file"
4320 ac_config_commands="$ac_config_commands default"
4321 cat >confcache <<\_ACEOF
4322 # This file is a shell script that caches the results of configure
4323 # tests run on this system so they can be shared between configure
4324 # scripts and configure runs, see configure's option --config-cache.
4325 # It is not useful on other systems. If it contains results you don't
4326 # want to keep, you may remove or edit it.
4328 # config.status only pays attention to the cache file if you give it
4329 # the --recheck option to rerun configure.
4331 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4332 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4337 # The following way of writing the cache mishandles newlines in values,
4338 # but we know of no workaround that is simple, portable, and efficient.
4339 # So, don't put newlines in cache variables' values.
4340 # Ultrix sh set writes to stderr and can't be redirected directly,
4341 # and sets the high bit in the cache file unless we assign to the vars.
4344 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4346 # `set' does not quote correctly, so add quotes (double-quote
4347 # substitution turns \\\\ into \\, and sed turns \\ into \).
4350 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4353 # `set' quotes correctly as required by POSIX, so do not add quotes.
4355 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4362 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4364 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4366 if cmp -s $cache_file confcache; then :; else
4367 if test -w $cache_file; then
4368 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4369 cat confcache >$cache_file
4371 echo "not updating unwritable cache $cache_file"
4376 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4377 # Let make expand exec_prefix.
4378 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4380 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4381 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4382 # trailing colons and then remove the whole line if VPATH becomes empty
4383 # (actually we leave an empty line to preserve line numbers).
4384 if test "x$srcdir" = x.; then
4385 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4386 s/:*\$(srcdir):*/:/;
4387 s/:*\${srcdir}:*/:/;
4389 s/^\([^=]*=[ ]*\):*/\1/;
4395 DEFS=-DHAVE_CONFIG_H
4398 : ${CONFIG_STATUS=./config.status}
4399 ac_clean_files_save=$ac_clean_files
4400 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4401 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4402 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4403 cat >$CONFIG_STATUS <<_ACEOF
4405 # Generated by $as_me.
4406 # Run this file to recreate the current configuration.
4407 # Compiler output produced by configure, useful for debugging
4408 # configure, is in config.log if it exists.
4411 SHELL=\${CONFIG_SHELL-$SHELL}
4414 cat >>$CONFIG_STATUS <<\_ACEOF
4416 ## --------------------- ##
4417 ## M4sh Initialization. ##
4418 ## --------------------- ##
4420 # Be Bourne compatible
4421 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4424 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4429 # Support unset when possible.
4430 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4436 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
4437 { $as_unset LANG || test "${LANG+set}" != set; } ||
4438 { LANG=C; export LANG; }
4439 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
4440 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4441 { LC_ALL=C; export LC_ALL; }
4442 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
4443 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4444 { LC_TIME=C; export LC_TIME; }
4445 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
4446 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4447 { LC_CTYPE=C; export LC_CTYPE; }
4448 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
4449 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4450 { LANGUAGE=C; export LANGUAGE; }
4451 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
4452 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4453 { LC_COLLATE=C; export LC_COLLATE; }
4454 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4455 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4456 { LC_NUMERIC=C; export LC_NUMERIC; }
4457 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4458 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4459 { LC_MESSAGES=C; export LC_MESSAGES; }
4462 # Name of the executable.
4463 as_me=`(basename "$0") 2>/dev/null ||
4464 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4465 X"$0" : 'X\(//\)$' \| \
4466 X"$0" : 'X\(/\)$' \| \
4467 . : '\(.\)' 2>/dev/null ||
4469 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4470 /^X\/\(\/\/\)$/{ s//\1/; q; }
4471 /^X\/\(\/\).*/{ s//\1/; q; }
4474 # PATH needs CR, and LINENO needs CR and PATH.
4475 # Avoid depending upon Character Ranges.
4476 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4477 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4478 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4479 as_cr_digits='0123456789'
4480 as_cr_alnum=$as_cr_Letters$as_cr_digits
4482 # The user is always right.
4483 if test "${PATH_SEPARATOR+set}" != set; then
4484 echo "#! /bin/sh" >conftest.sh
4485 echo "exit 0" >>conftest.sh
4486 chmod +x conftest.sh
4487 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4498 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4499 test "x$as_lineno_1" != "x$as_lineno_2" &&
4500 test "x$as_lineno_3" = "x$as_lineno_2" || {
4501 # Find who we are. Look in the path if we contain no path at all
4504 *[\\/]* ) as_myself=$0 ;;
4505 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4509 test -z "$as_dir" && as_dir=.
4510 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4515 # We did not find ourselves, most probably we were run as `sh COMMAND'
4516 # in which case we are not to be found in the path.
4517 if test "x$as_myself" = x; then
4520 if test ! -f "$as_myself"; then
4521 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4522 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4523 { (exit 1); exit 1; }; }
4525 case $CONFIG_SHELL in
4527 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4528 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4531 test -z "$as_dir" && as_dir=.
4532 for as_base in sh bash ksh sh5; do
4535 if ("$as_dir/$as_base" -c '
4538 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4539 test "x$as_lineno_1" != "x$as_lineno_2" &&
4540 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4541 CONFIG_SHELL=$as_dir/$as_base
4543 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4551 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4552 # uniformly replaced by the line number. The first 'sed' inserts a
4553 # line-number line before each line; the second 'sed' does the real
4554 # work. The second script uses 'N' to pair each line-number line
4555 # with the numbered line, and appends trailing '-' during
4556 # substitution so that $LINENO is not a special case at line end.
4557 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4558 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4559 sed '=' <$as_myself |
4564 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4567 s,^['$as_cr_digits']*\n,,
4569 chmod +x $as_me.lineno ||
4570 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4571 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4572 { (exit 1); exit 1; }; }
4574 # Don't try to exec as it changes $[0], causing all sort of problems
4575 # (the dirname of $[0] is not the place where we might find the
4576 # original and so on. Autoconf is especially sensible to this).
4578 # Exit status is that of the last command.
4583 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4584 *c*,-n*) ECHO_N= ECHO_C='
4586 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4587 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4590 if expr a : '\(a\)' >/dev/null 2>&1; then
4596 rm -f conf$$ conf$$.exe conf$$.file
4598 if ln -s conf$$.file conf$$ 2>/dev/null; then
4599 # We could just check for DJGPP; but this test a) works b) is more generic
4600 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4601 if test -f conf$$.exe; then
4602 # Don't use ln at all; we don't have any links
4607 elif ln conf$$.file conf$$ 2>/dev/null; then
4612 rm -f conf$$ conf$$.exe conf$$.file
4614 as_executable_p="test -f"
4616 # Sed expression to map a string onto a valid CPP name.
4617 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4619 # Sed expression to map a string onto a valid variable name.
4620 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4624 # We need space, tab and new line, in precisely that order.
4630 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4634 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4635 # report actual input values of CONFIG_FILES etc. instead of their
4636 # values after options handling. Logging --version etc. is OK.
4640 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4641 ## Running $as_me. ##
4646 This file was extended by libfirm $as_me 0.3.0, which was
4647 generated by GNU Autoconf 2.53. Invocation command line was
4649 CONFIG_FILES = $CONFIG_FILES
4650 CONFIG_HEADERS = $CONFIG_HEADERS
4651 CONFIG_LINKS = $CONFIG_LINKS
4652 CONFIG_COMMANDS = $CONFIG_COMMANDS
4656 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4660 # Files that config.status was made for.
4661 if test -n "$ac_config_files"; then
4662 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4665 if test -n "$ac_config_headers"; then
4666 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4669 if test -n "$ac_config_links"; then
4670 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4673 if test -n "$ac_config_commands"; then
4674 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4677 cat >>$CONFIG_STATUS <<\_ACEOF
4680 \`$as_me' instantiates files from templates according to the
4681 current configuration.
4683 Usage: $0 [OPTIONS] [FILE]...
4685 -h, --help print this help, then exit
4686 -V, --version print version number, then exit
4687 -d, --debug don't remove temporary files
4688 --recheck update $as_me by reconfiguring in the same conditions
4689 --file=FILE[:TEMPLATE]
4690 instantiate the configuration file FILE
4691 --header=FILE[:TEMPLATE]
4692 instantiate the configuration header FILE
4694 Configuration files:
4697 Configuration headers:
4700 Configuration commands:
4703 Report bugs to <bug-autoconf@gnu.org>."
4706 cat >>$CONFIG_STATUS <<_ACEOF
4708 libfirm config.status 0.3.0
4709 configured by $0, generated by GNU Autoconf 2.53,
4710 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4712 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4713 Free Software Foundation, Inc.
4714 This config.status script is free software; the Free Software Foundation
4715 gives unlimited permission to copy, distribute and modify it."
4720 cat >>$CONFIG_STATUS <<\_ACEOF
4721 # If no file are specified by the user, then we need to provide default
4722 # value. By we need to know if files were specified by the user.
4728 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4729 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4731 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4735 *) # This is not an option, so the user has probably given explicit
4737 ac_need_defaults=false;;
4741 # Handling of the options.
4743 cat >>$CONFIG_STATUS <<_ACEOF
4744 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4745 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4746 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4748 cat >>$CONFIG_STATUS <<\_ACEOF
4749 --version | --vers* | -V )
4750 echo "$ac_cs_version"; exit 0 ;;
4752 # Conflict between --help and --header
4753 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4754 Try \`$0 --help' for more information." >&5
4755 echo "$as_me: error: ambiguous option: $1
4756 Try \`$0 --help' for more information." >&2;}
4757 { (exit 1); exit 1; }; };;
4758 --help | --hel | -h )
4759 echo "$ac_cs_usage"; exit 0 ;;
4760 --debug | --d* | -d )
4762 --file | --fil | --fi | --f )
4764 CONFIG_FILES="$CONFIG_FILES $1"
4765 ac_need_defaults=false;;
4766 --header | --heade | --head | --hea )
4768 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4769 ac_need_defaults=false;;
4772 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4773 Try \`$0 --help' for more information." >&5
4774 echo "$as_me: error: unrecognized option: $1
4775 Try \`$0 --help' for more information." >&2;}
4776 { (exit 1); exit 1; }; } ;;
4778 *) ac_config_targets="$ac_config_targets $1" ;;
4790 cat >>$CONFIG_STATUS <<\_ACEOF
4791 for ac_config_target in $ac_config_targets
4793 case "$ac_config_target" in
4794 # Handling of arguments.
4795 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
4796 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4797 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4798 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4799 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4800 { (exit 1); exit 1; }; };;
4804 # If the user did not use the arguments to specify the items to instantiate,
4805 # then the envvar interface is used. Set only those that are not.
4806 # We use the long form for the default assignment because of an extremely
4807 # bizarre bug on SunOS 4.1.3.
4808 if $ac_need_defaults; then
4809 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4810 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4811 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4814 # Create a temporary directory, and hook for its removal unless debugging.
4817 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4818 trap '{ (exit 1); exit 1; }' 1 2 13 15
4821 # Create a (secure) tmp directory for tmp files.
4824 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4825 test -n "$tmp" && test -d "$tmp"
4828 tmp=$TMPDIR/cs$$-$RANDOM
4829 (umask 077 && mkdir $tmp)
4832 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4833 { (exit 1); exit 1; }
4838 cat >>$CONFIG_STATUS <<_ACEOF
4841 # CONFIG_FILES section.
4844 # No need to generate the scripts if there are no CONFIG_FILES.
4845 # This happens for instance when ./config.status config.h
4846 if test -n "\$CONFIG_FILES"; then
4847 # Protect against being on the right side of a sed subst in config.status.
4848 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4849 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4850 s,@SHELL@,$SHELL,;t t
4851 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4852 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4853 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4854 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4855 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4856 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4857 s,@exec_prefix@,$exec_prefix,;t t
4858 s,@prefix@,$prefix,;t t
4859 s,@program_transform_name@,$program_transform_name,;t t
4860 s,@bindir@,$bindir,;t t
4861 s,@sbindir@,$sbindir,;t t
4862 s,@libexecdir@,$libexecdir,;t t
4863 s,@datadir@,$datadir,;t t
4864 s,@sysconfdir@,$sysconfdir,;t t
4865 s,@sharedstatedir@,$sharedstatedir,;t t
4866 s,@localstatedir@,$localstatedir,;t t
4867 s,@libdir@,$libdir,;t t
4868 s,@includedir@,$includedir,;t t
4869 s,@oldincludedir@,$oldincludedir,;t t
4870 s,@infodir@,$infodir,;t t
4871 s,@mandir@,$mandir,;t t
4872 s,@build_alias@,$build_alias,;t t
4873 s,@host_alias@,$host_alias,;t t
4874 s,@target_alias@,$target_alias,;t t
4876 s,@ECHO_C@,$ECHO_C,;t t
4877 s,@ECHO_N@,$ECHO_N,;t t
4878 s,@ECHO_T@,$ECHO_T,;t t
4880 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
4881 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
4882 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
4883 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
4884 s,@enable_firm_jni@,$enable_firm_jni,;t t
4885 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
4886 s,@disable_libiberty@,$disable_libiberty,;t t
4887 s,@enable_statistics@,$enable_statistics,;t t
4889 s,@CFLAGS@,$CFLAGS,;t t
4890 s,@LDFLAGS@,$LDFLAGS,;t t
4891 s,@CPPFLAGS@,$CPPFLAGS,;t t
4892 s,@ac_ct_CC@,$ac_ct_CC,;t t
4893 s,@EXEEXT@,$EXEEXT,;t t
4894 s,@OBJEXT@,$OBJEXT,;t t
4896 s,@ac_ct_LD@,$ac_ct_LD,;t t
4897 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
4900 s,@RANLIB@,$RANLIB,;t t
4901 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4902 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4903 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4904 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4906 s,@DOXYGEN@,$DOXYGEN,;t t
4908 s,@JAVAC@,$JAVAC,;t t
4909 s,@JAVAH@,$JAVAH,;t t
4915 cat >>$CONFIG_STATUS <<\_ACEOF
4916 # Split the substitutions into bite-sized pieces for seds with
4917 # small command number limits, like on Digital OSF/1 and HP-UX.
4919 ac_sed_frag=1 # Number of current file.
4920 ac_beg=1 # First line for current file.
4921 ac_end=$ac_max_sed_lines # Line after last line for current file.
4924 while $ac_more_lines; do
4925 if test $ac_beg -gt 1; then
4926 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4928 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4930 if test ! -s $tmp/subs.frag; then
4933 # The purpose of the label and of the branching condition is to
4934 # speed up the sed processing (if there are no `@' at all, there
4935 # is no need to browse any of the substitutions).
4936 # These are the two extra sed commands mentioned above.
4938 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4939 if test -z "$ac_sed_cmds"; then
4940 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4942 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4944 ac_sed_frag=`expr $ac_sed_frag + 1`
4946 ac_end=`expr $ac_end + $ac_max_sed_lines`
4949 if test -z "$ac_sed_cmds"; then
4952 fi # test -n "$CONFIG_FILES"
4955 cat >>$CONFIG_STATUS <<\_ACEOF
4956 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4957 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4959 - | *:- | *:-:* ) # input from stdin
4961 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4962 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4963 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4964 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4965 * ) ac_file_in=$ac_file.in ;;
4968 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4969 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4970 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4971 X"$ac_file" : 'X\(//\)[^/]' \| \
4972 X"$ac_file" : 'X\(//\)$' \| \
4973 X"$ac_file" : 'X\(/\)' \| \
4974 . : '\(.\)' 2>/dev/null ||
4976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4977 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4978 /^X\(\/\/\)$/{ s//\1/; q; }
4979 /^X\(\/\).*/{ s//\1/; q; }
4982 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4986 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4987 case $as_mkdir_dir in
4988 # Skip DOS drivespec
4989 ?:) as_incr_dir=$as_mkdir_dir ;;
4991 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4992 test -d "$as_incr_dir" ||
4993 mkdir "$as_incr_dir" ||
4994 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4995 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4996 { (exit 1); exit 1; }; }
5003 if test "$ac_dir" != .; then
5004 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5005 # A "../" for each directory in $ac_dir_suffix.
5006 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5008 ac_dir_suffix= ac_top_builddir=
5012 .) # No --srcdir option. We are building in place.
5014 if test -z "$ac_top_builddir"; then
5017 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5019 [\\/]* | ?:[\\/]* ) # Absolute path.
5020 ac_srcdir=$srcdir$ac_dir_suffix;
5021 ac_top_srcdir=$srcdir ;;
5023 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5024 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5026 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5028 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5029 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5030 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5031 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5035 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5036 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5039 if test x"$ac_file" != x-; then
5040 { echo "$as_me:$LINENO: creating $ac_file" >&5
5041 echo "$as_me: creating $ac_file" >&6;}
5044 # Let's still pretend it is `configure' which instantiates (i.e., don't
5045 # use $as_me), people would be surprised to read:
5046 # /* config.h. Generated by config.status. */
5047 if test x"$ac_file" = x-; then
5050 configure_input="$ac_file. "
5052 configure_input=$configure_input"Generated from `echo $ac_file_in |
5053 sed 's,.*/,,'` by configure."
5055 # First look for the input files in the build tree, otherwise in the
5057 ac_file_inputs=`IFS=:
5058 for f in $ac_file_in; do
5060 -) echo $tmp/stdin ;;
5062 # Absolute (can't be DOS-style, as IFS=:)
5063 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5064 echo "$as_me: error: cannot find input file: $f" >&2;}
5065 { (exit 1); exit 1; }; }
5068 if test -f "$f"; then
5071 elif test -f "$srcdir/$f"; then
5076 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5077 echo "$as_me: error: cannot find input file: $f" >&2;}
5078 { (exit 1); exit 1; }; }
5081 done` || { (exit 1); exit 1; }
5083 cat >>$CONFIG_STATUS <<_ACEOF
5087 cat >>$CONFIG_STATUS <<\_ACEOF
5089 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5090 s,@configure_input@,$configure_input,;t t
5091 s,@srcdir@,$ac_srcdir,;t t
5092 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5093 s,@top_srcdir@,$ac_top_srcdir,;t t
5094 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5095 s,@builddir@,$ac_builddir,;t t
5096 s,@abs_builddir@,$ac_abs_builddir,;t t
5097 s,@top_builddir@,$ac_top_builddir,;t t
5098 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5099 s,@INSTALL@,$ac_INSTALL,;t t
5100 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5102 if test x"$ac_file" != x-; then
5103 mv $tmp/out $ac_file
5111 cat >>$CONFIG_STATUS <<\_ACEOF
5114 # CONFIG_HEADER section.
5117 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5118 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5120 # ac_d sets the value in "#define NAME VALUE" lines.
5121 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5122 ac_dB='[ ].*$,\1#\2'
5125 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5126 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5127 ac_uB='$,\1#\2define\3'
5131 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5132 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5134 - | *:- | *:-:* ) # input from stdin
5136 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5137 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5138 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5139 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5140 * ) ac_file_in=$ac_file.in ;;
5143 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5144 echo "$as_me: creating $ac_file" >&6;}
5146 # First look for the input files in the build tree, otherwise in the
5148 ac_file_inputs=`IFS=:
5149 for f in $ac_file_in; do
5151 -) echo $tmp/stdin ;;
5153 # Absolute (can't be DOS-style, as IFS=:)
5154 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5155 echo "$as_me: error: cannot find input file: $f" >&2;}
5156 { (exit 1); exit 1; }; }
5159 if test -f "$f"; then
5162 elif test -f "$srcdir/$f"; then
5167 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5168 echo "$as_me: error: cannot find input file: $f" >&2;}
5169 { (exit 1); exit 1; }; }
5172 done` || { (exit 1); exit 1; }
5173 # Remove the trailing spaces.
5174 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5178 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5179 # `conftest.undefs', that substitutes the proper values into
5180 # config.h.in to produce config.h. The first handles `#define'
5181 # templates, and the second `#undef' templates.
5182 # And first: Protect against being on the right side of a sed subst in
5183 # config.status. Protect against being in an unquoted here document
5185 rm -f conftest.defines conftest.undefs
5186 # Using a here document instead of a string reduces the quoting nightmare.
5187 # Putting comments in sed scripts is not portable.
5189 # `end' is used to avoid that the second main sed command (meant for
5190 # 0-ary CPP macros) applies to n-ary macro definitions.
5191 # See the Autoconf documentation for `clear'.
5192 cat >confdef2sed.sed <<\_ACEOF
5197 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5199 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5202 # If some macros were called several times there might be several times
5203 # the same #defines, which is useless. Nevertheless, we may not want to
5204 # sort them, since we want the *last* AC-DEFINE to be honored.
5205 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5206 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5207 rm -f confdef2sed.sed
5209 # This sed command replaces #undef with comments. This is necessary, for
5210 # example, in the case of _POSIX_SOURCE, which is predefined and required
5211 # on some systems where configure will not decide to define it.
5212 cat >>conftest.undefs <<\_ACEOF
5213 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5216 # Break up conftest.defines because some shells have a limit on the size
5217 # of here documents, and old seds have small limits too (100 cmds).
5218 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5219 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5220 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5221 echo ' :' >>$CONFIG_STATUS
5223 while grep . conftest.defines >/dev/null
5225 # Write a limited-size here document to $tmp/defines.sed.
5226 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5227 # Speed up: don't consider the non `#define' lines.
5228 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5229 # Work around the forget-to-reset-the-flag bug.
5230 echo 't clr' >>$CONFIG_STATUS
5231 echo ': clr' >>$CONFIG_STATUS
5232 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5234 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5238 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5239 rm -f conftest.defines
5240 mv conftest.tail conftest.defines
5242 rm -f conftest.defines
5243 echo ' fi # egrep' >>$CONFIG_STATUS
5244 echo >>$CONFIG_STATUS
5246 # Break up conftest.undefs because some shells have a limit on the size
5247 # of here documents, and old seds have small limits too (100 cmds).
5248 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5250 while grep . conftest.undefs >/dev/null
5252 # Write a limited-size here document to $tmp/undefs.sed.
5253 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5254 # Speed up: don't consider the non `#undef'
5255 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5256 # Work around the forget-to-reset-the-flag bug.
5257 echo 't clr' >>$CONFIG_STATUS
5258 echo ': clr' >>$CONFIG_STATUS
5259 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5261 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5265 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5266 rm -f conftest.undefs
5267 mv conftest.tail conftest.undefs
5269 rm -f conftest.undefs
5271 cat >>$CONFIG_STATUS <<\_ACEOF
5272 # Let's still pretend it is `configure' which instantiates (i.e., don't
5273 # use $as_me), people would be surprised to read:
5274 # /* config.h. Generated by config.status. */
5275 if test x"$ac_file" = x-; then
5276 echo "/* Generated by configure. */" >$tmp/config.h
5278 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5280 cat $tmp/in >>$tmp/config.h
5282 if test x"$ac_file" != x-; then
5283 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5284 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5285 echo "$as_me: $ac_file is unchanged" >&6;}
5287 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5288 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5289 X"$ac_file" : 'X\(//\)[^/]' \| \
5290 X"$ac_file" : 'X\(//\)$' \| \
5291 X"$ac_file" : 'X\(/\)' \| \
5292 . : '\(.\)' 2>/dev/null ||
5294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5295 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5296 /^X\(\/\/\)$/{ s//\1/; q; }
5297 /^X\(\/\).*/{ s//\1/; q; }
5300 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5304 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5305 case $as_mkdir_dir in
5306 # Skip DOS drivespec
5307 ?:) as_incr_dir=$as_mkdir_dir ;;
5309 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5310 test -d "$as_incr_dir" ||
5311 mkdir "$as_incr_dir" ||
5312 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5313 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5314 { (exit 1); exit 1; }; }
5320 mv $tmp/config.h $ac_file
5328 cat >>$CONFIG_STATUS <<\_ACEOF
5331 # CONFIG_COMMANDS section.
5333 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5334 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5335 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5336 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5337 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5338 X"$ac_dest" : 'X\(//\)[^/]' \| \
5339 X"$ac_dest" : 'X\(//\)$' \| \
5340 X"$ac_dest" : 'X\(/\)' \| \
5341 . : '\(.\)' 2>/dev/null ||
5343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5344 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5345 /^X\(\/\/\)$/{ s//\1/; q; }
5346 /^X\(\/\).*/{ s//\1/; q; }
5350 if test "$ac_dir" != .; then
5351 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5352 # A "../" for each directory in $ac_dir_suffix.
5353 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5355 ac_dir_suffix= ac_top_builddir=
5359 .) # No --srcdir option. We are building in place.
5361 if test -z "$ac_top_builddir"; then
5364 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5366 [\\/]* | ?:[\\/]* ) # Absolute path.
5367 ac_srcdir=$srcdir$ac_dir_suffix;
5368 ac_top_srcdir=$srcdir ;;
5370 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5371 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5373 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5375 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5376 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5377 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5378 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5381 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5382 echo "$as_me: executing $ac_dest commands" >&6;}
5384 default ) touch stamp-h ;;
5389 cat >>$CONFIG_STATUS <<\_ACEOF
5391 { (exit 0); exit 0; }
5393 chmod +x $CONFIG_STATUS
5394 ac_clean_files=$ac_clean_files_save
5397 # configure is writing to config.log, and then calls config.status.
5398 # config.status does its own redirection, appending to config.log.
5399 # Unfortunately, on DOS this fails, as config.log is still kept open
5400 # by configure, so config.status won't be able to write to it; its
5401 # output is simply discarded. So we exec the FD to /dev/null,
5402 # effectively closing config.log, so it can be properly (re)opened and
5403 # appended to by config.status. When coming back to configure, we
5404 # need to make the FD available again.
5405 if test "$no_create" != yes; then
5408 $SHELL $CONFIG_STATUS || ac_cs_success=false
5410 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5411 # would make configure fail if this is the last instruction.
5412 $ac_cs_success || { (exit 1); exit 1; }