2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for libfirm 0.3.0.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 DUALCASE=1; export DUALCASE # for MKS sh
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 if expr a : '\(a\)' >/dev/null 2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.file conf$$ 2>/dev/null; then
217 rm -f conf$$ conf$$.exe conf$$.file
219 if mkdir -p . 2>/dev/null; then
222 test -d ./-p && rmdir ./-p
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
269 PACKAGE_NAME='libfirm'
270 PACKAGE_TARNAME='libfirm'
271 PACKAGE_VERSION='0.3.0'
272 PACKAGE_STRING='libfirm 0.3.0'
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libfirm_conf_env plugin_subdirs enable_debug_libfirm enable_profile_libfirm enable_auto_documentation enable_firm_jni enable_heapanalysis disable_libiberty enable_statistics enable_libcore enable_external_effects CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT LD ac_ct_LD libfirm_cv_prog_ld_r AR TAR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S DOXYGEN DOT JAVAC JAVAH CPP EGREP LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures libfirm 0.3.0 to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
837 case $ac_init_help in
838 short | recursive ) echo "Configuration of libfirm 0.3.0:";;
843 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
844 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
845 --enable-debug enable assertions and additional debugging routines
846 --disable-inlining disable inline C-extension
847 --enable-profile enable profiling
848 --enable-autodoc enable auto documentation
849 --enable-firmjni check for tools necesarry to construct a java native interface for Firm
850 --enable-heapanalysis Compile with heap analysis.
851 --disable-libiberty disable own libiberty parts
852 --disable-hooks disable Firm hooks
853 --enable-statistics enable Firm statistics
854 --enable-libcore enable libcore debugging
855 --disable-external-effects disable descriptions of external effects in XML
858 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
859 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
860 --with-plugins=list include external libfirm plugins list (space separated)
861 --with-includedir=add colon seperated list of directories to include search path
862 --with-libdir=add colon seperated list of directories to linker search path
863 --with-libxml2=prefix installation prefix of libxml2 (IPD: --with-libxml2=/usr/public/libxml2)
865 Some influential environment variables:
866 CC C compiler command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
869 nonstandard directory <lib dir>
870 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
871 headers in a nonstandard directory <include dir>
874 Use these variables to override the choices made by `configure' or to help
875 it to find libraries and programs with nonstandard names/locations.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix= ac_top_builddir=
896 .) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
911 # Do not use `cd foo && pwd` to compute absolute paths, because
912 # the directories may not exist.
914 .) ac_abs_builddir="$ac_dir";;
917 .) ac_abs_builddir=`pwd`;;
918 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
919 *) ac_abs_builddir=`pwd`/"$ac_dir";;
922 case $ac_abs_builddir in
923 .) ac_abs_top_builddir=${ac_top_builddir}.;;
925 case ${ac_top_builddir}. in
926 .) ac_abs_top_builddir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
928 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
931 case $ac_abs_builddir in
932 .) ac_abs_srcdir=$ac_srcdir;;
935 .) ac_abs_srcdir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
937 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
940 case $ac_abs_builddir in
941 .) ac_abs_top_srcdir=$ac_top_srcdir;;
943 case $ac_top_srcdir in
944 .) ac_abs_top_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
946 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
951 # Check for guested configure; otherwise get Cygnus style configure.
952 if test -f $ac_srcdir/configure.gnu; then
954 $SHELL $ac_srcdir/configure.gnu --help=recursive
955 elif test -f $ac_srcdir/configure; then
957 $SHELL $ac_srcdir/configure --help=recursive
958 elif test -f $ac_srcdir/configure.ac ||
959 test -f $ac_srcdir/configure.in; then
963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
969 test -n "$ac_init_help" && exit 0
970 if $ac_init_version; then
972 libfirm configure 0.3.0
973 generated by GNU Autoconf 2.59
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by libfirm $as_me 0.3.0, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
999 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1000 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1001 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1002 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1004 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1005 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1007 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1008 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1009 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1010 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1011 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1012 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1013 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close' the trap.
1093 trap 'exit_status=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var in $ac_subst_vars
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var in $ac_subst_files
1143 eval ac_val=$`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h; then
1156 sed "/^$/d" confdefs.h | sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core *.core &&
1164 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's/^/| /' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1261 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1286 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1325 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1326 ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
1327 ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
1329 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1332 ac_config_headers="$ac_config_headers config.h"
1335 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1338 CONF_DIR_NAME=`dirname $0`
1341 echo "$as_me:$LINENO: checking for external libfirm plugins" >&5
1342 echo $ECHO_N "checking for external libfirm plugins... $ECHO_C" >&6
1344 # Check whether --with-plugins or --without-plugins was given.
1345 if test "${with_plugins+set}" = set; then
1346 withval="$with_plugins"
1348 plugin_subdirs=$withval
1350 for i in $withval ; do
1351 plugin_files="$i/Makefile $plugin_files"
1353 ac_output_file="$ac_output_file $plugin_files"
1362 if test "$plugin_subdirs" == ""; then
1363 echo "$as_me:$LINENO: result: disabled" >&5
1364 echo "${ECHO_T}disabled" >&6
1366 echo "$as_me:$LINENO: result: $plugin_subdirs" >&5
1367 echo "${ECHO_T}$plugin_subdirs" >&6
1371 # Check whether --with-includedir or --without-includedir was given.
1372 if test "${with_includedir+set}" = set; then
1373 withval="$with_includedir"
1374 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1378 # Check whether --with-libdir or --without-libdir was given.
1379 if test "${with_libdir+set}" = set; then
1380 withval="$with_libdir"
1381 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1385 # Check whether --with-libxml2 or --without-libxml2 was given.
1386 if test "${with_libxml2+set}" = set; then
1387 withval="$with_libxml2"
1388 LDFLAGS=$LDFLAGS" -L"$withval"/lib";
1389 CPPFLAGS=$CPPFLAGS" -I"$withval"/include/libxml2"
1392 # Check whether --enable-debug or --disable-debug was given.
1393 if test "${enable_debug+set}" = set; then
1394 enableval="$enable_debug"
1395 if test "$enableval" = yes; then
1396 cat >>confdefs.h <<\_ACEOF
1397 #define DEBUG_libfirm 1
1401 cat >>confdefs.h <<\_ACEOF
1409 # Check whether --enable-inlining or --disable-inlining was given.
1410 if test "${enable_inlining+set}" = set; then
1411 enableval="$enable_inlining"
1412 if test "$enableval" = yes; then
1413 cat >>confdefs.h <<\_ACEOF
1414 #define USE_INLINING 1
1419 cat >>confdefs.h <<\_ACEOF
1420 #define USE_INLINING 1
1426 # Check whether --enable-profile or --disable-profile was given.
1427 if test "${enable_profile+set}" = set; then
1428 enableval="$enable_profile"
1429 if test "$enableval"=yes; then
1430 enable_profile_libfirm=yes
1433 enable_profile_libfirm=no
1437 # Check whether --enable-autodoc or --disable-autodoc was given.
1438 if test "${enable_autodoc+set}" = set; then
1439 enableval="$enable_autodoc"
1440 if test "$enableval"=yes; then
1441 enable_auto_documentation=yes
1444 enable_auto_documentation=no
1449 # Check whether --enable-firmjni or --disable-firmjni was given.
1450 if test "${enable_firmjni+set}" = set; then
1451 enableval="$enable_firmjni"
1452 if test "$enableval"=yes; then
1460 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1461 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1462 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1463 if test "${enable_heapanalysis+set}" = set; then
1464 enableval="$enable_heapanalysis"
1465 enable_heapanalysis=$enableval
1467 enable_heapanalysis="no"
1469 if test "$enable_heapanalysis" = "no"; then
1470 echo "$as_me:$LINENO: result: disabled" >&5
1471 echo "${ECHO_T}disabled" >&6
1473 cat >>confdefs.h <<\_ACEOF
1474 #define DO_HEAPANALYSIS 1
1477 echo "$as_me:$LINENO: result: enabled" >&5
1478 echo "${ECHO_T}enabled" >&6
1482 # Check whether --enable-libiberty or --disable-libiberty was given.
1483 if test "${enable_libiberty+set}" = set; then
1484 enableval="$enable_libiberty"
1485 if test "$enableval"=yes; then
1486 disable_libiberty=yes
1489 disable_libiberty=no
1493 # Check whether --enable-hooks or --disable-hooks was given.
1494 if test "${enable_hooks+set}" = set; then
1495 enableval="$enable_hooks"
1496 if test "$enableval" = yes; then
1497 cat >>confdefs.h <<\_ACEOF
1498 #define FIRM_ENABLE_HOOKS 1
1503 cat >>confdefs.h <<\_ACEOF
1504 #define FIRM_ENABLE_HOOKS 1
1510 # Check whether --enable-statistics or --disable-statistics was given.
1511 if test "${enable_statistics+set}" = set; then
1512 enableval="$enable_statistics"
1513 if test "$enableval"=yes; then
1514 cat >>confdefs.h <<\_ACEOF
1515 #define FIRM_STATISTICS 1
1522 # Check whether --enable-libcore or --disable-libcore was given.
1523 if test "${enable_libcore+set}" = set; then
1524 enableval="$enable_libcore"
1525 if test "$enableval"=yes; then
1526 cat >>confdefs.h <<\_ACEOF
1527 #define WITH_LIBCORE 1
1534 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1535 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1536 # Check whether --enable-external-effects or --disable-external-effects was given.
1537 if test "${enable_external_effects+set}" = set; then
1538 enableval="$enable_external_effects"
1539 if test "$enableval"="no"; then
1540 enable_external_effects=no
1543 enable_external_effects=yes
1546 if test "$enable_external_effects" == no; then
1547 echo "$as_me:$LINENO: result: disabled" >&5
1548 echo "${ECHO_T}disabled" >&6
1550 echo "$as_me:$LINENO: result: enabled" >&5
1551 echo "${ECHO_T}enabled" >&6
1556 ac_cpp='$CPP $CPPFLAGS'
1557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1560 if test -n "$ac_tool_prefix"; then
1561 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1562 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1563 echo "$as_me:$LINENO: checking for $ac_word" >&5
1564 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1565 if test "${ac_cv_prog_CC+set}" = set; then
1566 echo $ECHO_N "(cached) $ECHO_C" >&6
1568 if test -n "$CC"; then
1569 ac_cv_prog_CC="$CC" # Let the user override the test.
1571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1575 test -z "$as_dir" && as_dir=.
1576 for ac_exec_ext in '' $ac_executable_extensions; do
1577 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1578 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1579 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1588 if test -n "$CC"; then
1589 echo "$as_me:$LINENO: result: $CC" >&5
1590 echo "${ECHO_T}$CC" >&6
1592 echo "$as_me:$LINENO: result: no" >&5
1593 echo "${ECHO_T}no" >&6
1597 if test -z "$ac_cv_prog_CC"; then
1599 # Extract the first word of "gcc", so it can be a program name with args.
1600 set dummy gcc; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$ac_ct_CC"; then
1607 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 ac_cv_prog_ac_ct_CC="gcc"
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1626 if test -n "$ac_ct_CC"; then
1627 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1628 echo "${ECHO_T}$ac_ct_CC" >&6
1630 echo "$as_me:$LINENO: result: no" >&5
1631 echo "${ECHO_T}no" >&6
1639 if test -z "$CC"; then
1640 if test -n "$ac_tool_prefix"; then
1641 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1642 set dummy ${ac_tool_prefix}cc; ac_word=$2
1643 echo "$as_me:$LINENO: checking for $ac_word" >&5
1644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1645 if test "${ac_cv_prog_CC+set}" = set; then
1646 echo $ECHO_N "(cached) $ECHO_C" >&6
1648 if test -n "$CC"; then
1649 ac_cv_prog_CC="$CC" # Let the user override the test.
1651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1655 test -z "$as_dir" && as_dir=.
1656 for ac_exec_ext in '' $ac_executable_extensions; do
1657 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1658 ac_cv_prog_CC="${ac_tool_prefix}cc"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1668 if test -n "$CC"; then
1669 echo "$as_me:$LINENO: result: $CC" >&5
1670 echo "${ECHO_T}$CC" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1677 if test -z "$ac_cv_prog_CC"; then
1679 # Extract the first word of "cc", so it can be a program name with args.
1680 set dummy cc; ac_word=$2
1681 echo "$as_me:$LINENO: checking for $ac_word" >&5
1682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1683 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1684 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 if test -n "$ac_ct_CC"; then
1687 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 test -z "$as_dir" && as_dir=.
1694 for ac_exec_ext in '' $ac_executable_extensions; do
1695 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1696 ac_cv_prog_ac_ct_CC="cc"
1697 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1705 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1706 if test -n "$ac_ct_CC"; then
1707 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1708 echo "${ECHO_T}$ac_ct_CC" >&6
1710 echo "$as_me:$LINENO: result: no" >&5
1711 echo "${ECHO_T}no" >&6
1720 if test -z "$CC"; then
1721 # Extract the first word of "cc", so it can be a program name with args.
1722 set dummy cc; ac_word=$2
1723 echo "$as_me:$LINENO: checking for $ac_word" >&5
1724 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1725 if test "${ac_cv_prog_CC+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 if test -n "$CC"; then
1729 ac_cv_prog_CC="$CC" # Let the user override the test.
1732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1736 test -z "$as_dir" && as_dir=.
1737 for ac_exec_ext in '' $ac_executable_extensions; do
1738 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1739 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1740 ac_prog_rejected=yes
1744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1750 if test $ac_prog_rejected = yes; then
1751 # We found a bogon in the path, so make sure we never use it.
1752 set dummy $ac_cv_prog_CC
1754 if test $# != 0; then
1755 # We chose a different compiler from the bogus one.
1756 # However, it has the same basename, so the bogon will be chosen
1757 # first if we set CC to just the basename; use the full file name.
1759 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1765 if test -n "$CC"; then
1766 echo "$as_me:$LINENO: result: $CC" >&5
1767 echo "${ECHO_T}$CC" >&6
1769 echo "$as_me:$LINENO: result: no" >&5
1770 echo "${ECHO_T}no" >&6
1774 if test -z "$CC"; then
1775 if test -n "$ac_tool_prefix"; then
1778 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1779 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1780 echo "$as_me:$LINENO: checking for $ac_word" >&5
1781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1782 if test "${ac_cv_prog_CC+set}" = set; then
1783 echo $ECHO_N "(cached) $ECHO_C" >&6
1785 if test -n "$CC"; then
1786 ac_cv_prog_CC="$CC" # Let the user override the test.
1788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1792 test -z "$as_dir" && as_dir=.
1793 for ac_exec_ext in '' $ac_executable_extensions; do
1794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1795 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805 if test -n "$CC"; then
1806 echo "$as_me:$LINENO: result: $CC" >&5
1807 echo "${ECHO_T}$CC" >&6
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1813 test -n "$CC" && break
1816 if test -z "$CC"; then
1820 # Extract the first word of "$ac_prog", so it can be a program name with args.
1821 set dummy $ac_prog; ac_word=$2
1822 echo "$as_me:$LINENO: checking for $ac_word" >&5
1823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1824 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1825 echo $ECHO_N "(cached) $ECHO_C" >&6
1827 if test -n "$ac_ct_CC"; then
1828 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1834 test -z "$as_dir" && as_dir=.
1835 for ac_exec_ext in '' $ac_executable_extensions; do
1836 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1837 ac_cv_prog_ac_ct_CC="$ac_prog"
1838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1846 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1847 if test -n "$ac_ct_CC"; then
1848 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1849 echo "${ECHO_T}$ac_ct_CC" >&6
1851 echo "$as_me:$LINENO: result: no" >&5
1852 echo "${ECHO_T}no" >&6
1855 test -n "$ac_ct_CC" && break
1864 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1865 See \`config.log' for more details." >&5
1866 echo "$as_me: error: no acceptable C compiler found in \$PATH
1867 See \`config.log' for more details." >&2;}
1868 { (exit 1); exit 1; }; }
1870 # Provide some information about the compiler.
1871 echo "$as_me:$LINENO:" \
1872 "checking for C compiler version" >&5
1873 ac_compiler=`set X $ac_compile; echo $2`
1874 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1875 (eval $ac_compiler --version </dev/null >&5) 2>&5
1877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1878 (exit $ac_status); }
1879 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1880 (eval $ac_compiler -v </dev/null >&5) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); }
1884 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1885 (eval $ac_compiler -V </dev/null >&5) 2>&5
1887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1888 (exit $ac_status); }
1890 cat >conftest.$ac_ext <<_ACEOF
1893 cat confdefs.h >>conftest.$ac_ext
1894 cat >>conftest.$ac_ext <<_ACEOF
1895 /* end confdefs.h. */
1905 ac_clean_files_save=$ac_clean_files
1906 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1907 # Try to create an executable without -o first, disregard a.out.
1908 # It will help us diagnose broken compilers, and finding out an intuition
1910 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1911 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1912 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1913 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1914 (eval $ac_link_default) 2>&5
1916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1917 (exit $ac_status); }; then
1918 # Find the output, starting from the most likely. This scheme is
1919 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1922 # Be careful to initialize this variable, since it used to be cached.
1923 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1925 # b.out is created by i960 compilers.
1926 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1928 test -f "$ac_file" || continue
1930 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1933 # This is the source file.
1936 # We found the default executable, but exeext='' is most
1940 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1941 # FIXME: I believe we export ac_cv_exeext for Libtool,
1942 # but it would be cool to find out if it's true. Does anybody
1943 # maintain Libtool? --akim.
1951 echo "$as_me: failed program was:" >&5
1952 sed 's/^/| /' conftest.$ac_ext >&5
1954 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1955 See \`config.log' for more details." >&5
1956 echo "$as_me: error: C compiler cannot create executables
1957 See \`config.log' for more details." >&2;}
1958 { (exit 77); exit 77; }; }
1961 ac_exeext=$ac_cv_exeext
1962 echo "$as_me:$LINENO: result: $ac_file" >&5
1963 echo "${ECHO_T}$ac_file" >&6
1965 # Check the compiler produces executables we can run. If not, either
1966 # the compiler is broken, or we cross compile.
1967 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1968 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1969 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1970 # If not cross compiling, check that we can run a simple program.
1971 if test "$cross_compiling" != yes; then
1972 if { ac_try='./$ac_file'
1973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1977 (exit $ac_status); }; }; then
1980 if test "$cross_compiling" = maybe; then
1983 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1984 If you meant to cross compile, use \`--host'.
1985 See \`config.log' for more details." >&5
1986 echo "$as_me: error: cannot run C compiled programs.
1987 If you meant to cross compile, use \`--host'.
1988 See \`config.log' for more details." >&2;}
1989 { (exit 1); exit 1; }; }
1993 echo "$as_me:$LINENO: result: yes" >&5
1994 echo "${ECHO_T}yes" >&6
1996 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1997 ac_clean_files=$ac_clean_files_save
1998 # Check the compiler produces executables we can run. If not, either
1999 # the compiler is broken, or we cross compile.
2000 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2001 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2002 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2003 echo "${ECHO_T}$cross_compiling" >&6
2005 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2006 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2008 (eval $ac_link) 2>&5
2010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2011 (exit $ac_status); }; then
2012 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2013 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2014 # work properly (i.e., refer to `conftest.exe'), while it won't with
2016 for ac_file in conftest.exe conftest conftest.*; do
2017 test -f "$ac_file" || continue
2019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2027 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2028 See \`config.log' for more details." >&5
2029 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2030 See \`config.log' for more details." >&2;}
2031 { (exit 1); exit 1; }; }
2034 rm -f conftest$ac_cv_exeext
2035 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2036 echo "${ECHO_T}$ac_cv_exeext" >&6
2038 rm -f conftest.$ac_ext
2039 EXEEXT=$ac_cv_exeext
2041 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2042 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2043 if test "${ac_cv_objext+set}" = set; then
2044 echo $ECHO_N "(cached) $ECHO_C" >&6
2046 cat >conftest.$ac_ext <<_ACEOF
2049 cat confdefs.h >>conftest.$ac_ext
2050 cat >>conftest.$ac_ext <<_ACEOF
2051 /* end confdefs.h. */
2061 rm -f conftest.o conftest.obj
2062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2063 (eval $ac_compile) 2>&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; then
2067 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2070 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2075 echo "$as_me: failed program was:" >&5
2076 sed 's/^/| /' conftest.$ac_ext >&5
2078 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2079 See \`config.log' for more details." >&5
2080 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2081 See \`config.log' for more details." >&2;}
2082 { (exit 1); exit 1; }; }
2085 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2087 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2088 echo "${ECHO_T}$ac_cv_objext" >&6
2089 OBJEXT=$ac_cv_objext
2091 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2092 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2093 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2094 echo $ECHO_N "(cached) $ECHO_C" >&6
2096 cat >conftest.$ac_ext <<_ACEOF
2099 cat confdefs.h >>conftest.$ac_ext
2100 cat >>conftest.$ac_ext <<_ACEOF
2101 /* end confdefs.h. */
2114 rm -f conftest.$ac_objext
2115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2116 (eval $ac_compile) 2>conftest.er1
2118 grep -v '^ *+' conftest.er1 >conftest.err
2120 cat conftest.err >&5
2121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2122 (exit $ac_status); } &&
2123 { ac_try='test -z "$ac_c_werror_flag"
2124 || test ! -s conftest.err'
2125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2129 (exit $ac_status); }; } &&
2130 { ac_try='test -s conftest.$ac_objext'
2131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; }; then
2138 echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.$ac_ext >&5
2143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2144 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2147 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2148 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2149 GCC=`test $ac_compiler_gnu = yes && echo yes`
2150 ac_test_CFLAGS=${CFLAGS+set}
2151 ac_save_CFLAGS=$CFLAGS
2153 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2154 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2155 if test "${ac_cv_prog_cc_g+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 cat >conftest.$ac_ext <<_ACEOF
2161 cat confdefs.h >>conftest.$ac_ext
2162 cat >>conftest.$ac_ext <<_ACEOF
2163 /* end confdefs.h. */
2173 rm -f conftest.$ac_objext
2174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2175 (eval $ac_compile) 2>conftest.er1
2177 grep -v '^ *+' conftest.er1 >conftest.err
2179 cat conftest.err >&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); } &&
2182 { ac_try='test -z "$ac_c_werror_flag"
2183 || test ! -s conftest.err'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; } &&
2189 { ac_try='test -s conftest.$ac_objext'
2190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); }; }; then
2197 echo "$as_me: failed program was:" >&5
2198 sed 's/^/| /' conftest.$ac_ext >&5
2202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2204 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2205 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2206 if test "$ac_test_CFLAGS" = set; then
2207 CFLAGS=$ac_save_CFLAGS
2208 elif test $ac_cv_prog_cc_g = yes; then
2209 if test "$GCC" = yes; then
2215 if test "$GCC" = yes; then
2221 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2222 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2223 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2224 echo $ECHO_N "(cached) $ECHO_C" >&6
2226 ac_cv_prog_cc_stdc=no
2228 cat >conftest.$ac_ext <<_ACEOF
2231 cat confdefs.h >>conftest.$ac_ext
2232 cat >>conftest.$ac_ext <<_ACEOF
2233 /* end confdefs.h. */
2236 #include <sys/types.h>
2237 #include <sys/stat.h>
2238 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2239 struct buf { int x; };
2240 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2241 static char *e (p, i)
2247 static char *f (char * (*g) (char **, int), char **p, ...)
2252 s = g (p, va_arg (v,int));
2257 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2258 function prototypes and stuff, but not '\xHH' hex character constants.
2259 These don't provoke an error unfortunately, instead are silently treated
2260 as 'x'. The following induces an error, until -std1 is added to get
2261 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2262 array size at least. It's necessary to write '\x00'==0 to get something
2263 that's true only with -std1. */
2264 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2266 int test (int i, double x);
2267 struct s1 {int (*f) (int a);};
2268 struct s2 {int (*f) (double a);};
2269 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2275 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2280 # Don't try gcc -ansi; that turns off useful extensions and
2281 # breaks some systems' header files.
2282 # AIX -qlanglvl=ansi
2283 # Ultrix and OSF/1 -std1
2284 # HP-UX 10.20 and later -Ae
2285 # HP-UX older versions -Aa -D_HPUX_SOURCE
2286 # SVR4 -Xc -D__EXTENSIONS__
2287 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2289 CC="$ac_save_CC $ac_arg"
2290 rm -f conftest.$ac_objext
2291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2292 (eval $ac_compile) 2>conftest.er1
2294 grep -v '^ *+' conftest.er1 >conftest.err
2296 cat conftest.err >&5
2297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2298 (exit $ac_status); } &&
2299 { ac_try='test -z "$ac_c_werror_flag"
2300 || test ! -s conftest.err'
2301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2305 (exit $ac_status); }; } &&
2306 { ac_try='test -s conftest.$ac_objext'
2307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2311 (exit $ac_status); }; }; then
2312 ac_cv_prog_cc_stdc=$ac_arg
2315 echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.$ac_ext >&5
2319 rm -f conftest.err conftest.$ac_objext
2321 rm -f conftest.$ac_ext conftest.$ac_objext
2326 case "x$ac_cv_prog_cc_stdc" in
2328 echo "$as_me:$LINENO: result: none needed" >&5
2329 echo "${ECHO_T}none needed" >&6 ;;
2331 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2332 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2333 CC="$CC $ac_cv_prog_cc_stdc" ;;
2336 # Some people use a C++ compiler to compile C. Since we use `exit',
2337 # in C++ we need to declare it. In case someone uses the same compiler
2338 # for both compiling C and C++ we need to have the C++ compiler decide
2339 # the declaration of exit, since it's the most demanding environment.
2340 cat >conftest.$ac_ext <<_ACEOF
2345 rm -f conftest.$ac_objext
2346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2347 (eval $ac_compile) 2>conftest.er1
2349 grep -v '^ *+' conftest.er1 >conftest.err
2351 cat conftest.err >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); } &&
2354 { ac_try='test -z "$ac_c_werror_flag"
2355 || test ! -s conftest.err'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; } &&
2361 { ac_try='test -s conftest.$ac_objext'
2362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }; }; then
2367 for ac_declaration in \
2369 'extern "C" void std::exit (int) throw (); using std::exit;' \
2370 'extern "C" void std::exit (int); using std::exit;' \
2371 'extern "C" void exit (int) throw ();' \
2372 'extern "C" void exit (int);' \
2375 cat >conftest.$ac_ext <<_ACEOF
2378 cat confdefs.h >>conftest.$ac_ext
2379 cat >>conftest.$ac_ext <<_ACEOF
2380 /* end confdefs.h. */
2391 rm -f conftest.$ac_objext
2392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2393 (eval $ac_compile) 2>conftest.er1
2395 grep -v '^ *+' conftest.er1 >conftest.err
2397 cat conftest.err >&5
2398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2399 (exit $ac_status); } &&
2400 { ac_try='test -z "$ac_c_werror_flag"
2401 || test ! -s conftest.err'
2402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2406 (exit $ac_status); }; } &&
2407 { ac_try='test -s conftest.$ac_objext'
2408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; }; then
2415 echo "$as_me: failed program was:" >&5
2416 sed 's/^/| /' conftest.$ac_ext >&5
2420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2421 cat >conftest.$ac_ext <<_ACEOF
2424 cat confdefs.h >>conftest.$ac_ext
2425 cat >>conftest.$ac_ext <<_ACEOF
2426 /* end confdefs.h. */
2436 rm -f conftest.$ac_objext
2437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2438 (eval $ac_compile) 2>conftest.er1
2440 grep -v '^ *+' conftest.er1 >conftest.err
2442 cat conftest.err >&5
2443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2444 (exit $ac_status); } &&
2445 { ac_try='test -z "$ac_c_werror_flag"
2446 || test ! -s conftest.err'
2447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2451 (exit $ac_status); }; } &&
2452 { ac_try='test -s conftest.$ac_objext'
2453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); }; }; then
2460 echo "$as_me: failed program was:" >&5
2461 sed 's/^/| /' conftest.$ac_ext >&5
2464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2467 if test -n "$ac_declaration"; then
2468 echo '#ifdef __cplusplus' >>confdefs.h
2469 echo $ac_declaration >>confdefs.h
2470 echo '#endif' >>confdefs.h
2474 echo "$as_me: failed program was:" >&5
2475 sed 's/^/| /' conftest.$ac_ext >&5
2478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2480 ac_cpp='$CPP $CPPFLAGS'
2481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2487 if test -z "$LD"; then
2488 if test -n "$ac_tool_prefix"; then
2489 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2490 set dummy ${ac_tool_prefix}ld; ac_word=$2
2491 echo "$as_me:$LINENO: checking for $ac_word" >&5
2492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2493 if test "${ac_cv_prog_LD+set}" = set; then
2494 echo $ECHO_N "(cached) $ECHO_C" >&6
2496 if test -n "$LD"; then
2497 ac_cv_prog_LD="$LD" # Let the user override the test.
2499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2503 test -z "$as_dir" && as_dir=.
2504 for ac_exec_ext in '' $ac_executable_extensions; do
2505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2506 ac_cv_prog_LD="${ac_tool_prefix}ld"
2507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2516 if test -n "$LD"; then
2517 echo "$as_me:$LINENO: result: $LD" >&5
2518 echo "${ECHO_T}$LD" >&6
2520 echo "$as_me:$LINENO: result: no" >&5
2521 echo "${ECHO_T}no" >&6
2525 if test -z "$ac_cv_prog_LD"; then
2527 # Extract the first word of "ld", so it can be a program name with args.
2528 set dummy ld; ac_word=$2
2529 echo "$as_me:$LINENO: checking for $ac_word" >&5
2530 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2531 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2532 echo $ECHO_N "(cached) $ECHO_C" >&6
2534 if test -n "$ac_ct_LD"; then
2535 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2541 test -z "$as_dir" && as_dir=.
2542 for ac_exec_ext in '' $ac_executable_extensions; do
2543 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2544 ac_cv_prog_ac_ct_LD="ld"
2545 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2553 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2554 if test -n "$ac_ct_LD"; then
2555 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2556 echo "${ECHO_T}$ac_ct_LD" >&6
2558 echo "$as_me:$LINENO: result: no" >&5
2559 echo "${ECHO_T}no" >&6
2569 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2570 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2571 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2575 libfirm_cv_prog_ld_r=no
2577 cat > conftest.$ac_ext <<EOF
2578 int foo() { return 0; }
2580 if eval $ac_compile && mv conftest.o conftest2.o; then
2581 cat > conftest.$ac_ext <<EOF
2583 int main() { return foo(); }
2585 if eval $ac_compile; then
2586 if $LD -r -o conftest conftest.o conftest2.o; then
2587 libfirm_cv_prog_ld_r=yes
2594 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2595 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2598 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2599 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2600 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2601 { (exit 1); exit 1; }; }
2604 # Extract the first word of "ar", so it can be a program name with args.
2605 set dummy ar; 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_AR+set}" = set; then
2609 echo $ECHO_N "(cached) $ECHO_C" >&6
2611 if test -n "$AR"; then
2612 ac_cv_prog_AR="$AR" # 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_AR=""ar""
2622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2628 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2632 if test -n "$AR"; then
2633 echo "$as_me:$LINENO: result: $AR" >&5
2634 echo "${ECHO_T}$AR" >&6
2636 echo "$as_me:$LINENO: result: no" >&5
2637 echo "${ECHO_T}no" >&6
2640 if test "$AR" != "ar"; then
2641 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2642 echo "$as_me: error: need ar for creating archives" >&2;}
2643 { (exit 1); exit 1; }; }
2646 # Extract the first word of "tar", so it can be a program name with args.
2647 set dummy tar; ac_word=$2
2648 echo "$as_me:$LINENO: checking for $ac_word" >&5
2649 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2650 if test "${ac_cv_prog_TAR+set}" = set; then
2651 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 if test -n "$TAR"; then
2654 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2660 test -z "$as_dir" && as_dir=.
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2663 ac_cv_prog_TAR=""tar""
2664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2670 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2674 if test -n "$TAR"; then
2675 echo "$as_me:$LINENO: result: $TAR" >&5
2676 echo "${ECHO_T}$TAR" >&6
2678 echo "$as_me:$LINENO: result: no" >&5
2679 echo "${ECHO_T}no" >&6
2682 if test "$TAR" != "tar"; then
2683 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2684 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2685 { (exit 1); exit 1; }; }
2689 if test -n "$ac_tool_prefix"; then
2690 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2691 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2692 echo "$as_me:$LINENO: checking for $ac_word" >&5
2693 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2694 if test "${ac_cv_prog_RANLIB+set}" = set; then
2695 echo $ECHO_N "(cached) $ECHO_C" >&6
2697 if test -n "$RANLIB"; then
2698 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2704 test -z "$as_dir" && as_dir=.
2705 for ac_exec_ext in '' $ac_executable_extensions; do
2706 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2707 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2708 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2716 RANLIB=$ac_cv_prog_RANLIB
2717 if test -n "$RANLIB"; then
2718 echo "$as_me:$LINENO: result: $RANLIB" >&5
2719 echo "${ECHO_T}$RANLIB" >&6
2721 echo "$as_me:$LINENO: result: no" >&5
2722 echo "${ECHO_T}no" >&6
2726 if test -z "$ac_cv_prog_RANLIB"; then
2727 ac_ct_RANLIB=$RANLIB
2728 # Extract the first word of "ranlib", so it can be a program name with args.
2729 set dummy ranlib; ac_word=$2
2730 echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2732 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 if test -n "$ac_ct_RANLIB"; then
2736 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_ac_ct_RANLIB="ranlib"
2746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2755 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2756 if test -n "$ac_ct_RANLIB"; then
2757 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2758 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2760 echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6
2764 RANLIB=$ac_ct_RANLIB
2766 RANLIB="$ac_cv_prog_RANLIB"
2771 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2772 if test -f $ac_dir/install-sh; then
2774 ac_install_sh="$ac_aux_dir/install-sh -c"
2776 elif test -f $ac_dir/install.sh; then
2778 ac_install_sh="$ac_aux_dir/install.sh -c"
2780 elif test -f $ac_dir/shtool; then
2782 ac_install_sh="$ac_aux_dir/shtool install -c"
2786 if test -z "$ac_aux_dir"; then
2787 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2788 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2789 { (exit 1); exit 1; }; }
2791 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2792 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2793 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2795 # Find a good install program. We prefer a C program (faster),
2796 # so one script is as good as another. But avoid the broken or
2797 # incompatible versions:
2798 # SysV /etc/install, /usr/sbin/install
2799 # SunOS /usr/etc/install
2800 # IRIX /sbin/install
2802 # AmigaOS /C/install, which installs bootblocks on floppy discs
2803 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2804 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2805 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2806 # OS/2's system install, which has a completely different semantic
2807 # ./install, which can be erroneously created by make from ./install.sh.
2808 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2809 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2810 if test -z "$INSTALL"; then
2811 if test "${ac_cv_path_install+set}" = set; then
2812 echo $ECHO_N "(cached) $ECHO_C" >&6
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 # Account for people who put trailing slashes in PATH elements.
2821 ./ | .// | /cC/* | \
2822 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2823 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2826 # OSF1 and SCO ODT 3.0 have their own names for install.
2827 # Don't use installbsd from OSF since it installs stuff as root
2829 for ac_prog in ginstall scoinst install; do
2830 for ac_exec_ext in '' $ac_executable_extensions; do
2831 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2832 if test $ac_prog = install &&
2833 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2834 # AIX install. It has an incompatible calling convention.
2836 elif test $ac_prog = install &&
2837 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2838 # program-specific install script used by HP pwplus--don't use.
2841 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2853 if test "${ac_cv_path_install+set}" = set; then
2854 INSTALL=$ac_cv_path_install
2856 # As a last resort, use the slow shell script. We don't cache a
2857 # path for INSTALL within a source directory, because that will
2858 # break other packages using the cache if that directory is
2859 # removed, or if the path is relative.
2860 INSTALL=$ac_install_sh
2863 echo "$as_me:$LINENO: result: $INSTALL" >&5
2864 echo "${ECHO_T}$INSTALL" >&6
2866 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2867 # It thinks the first close brace ends the variable substitution.
2868 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2870 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2872 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2875 touch tmp-install.a tmp-install.b
2876 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
2879 rm tmp-install.a tmp-install.b
2882 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2883 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2885 if test "$LN_S" = "ln -s"; then
2886 echo "$as_me:$LINENO: result: yes" >&5
2887 echo "${ECHO_T}yes" >&6
2889 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2890 echo "${ECHO_T}no, using $LN_S" >&6
2894 if test "$enable_auto_documentation" = yes; then
2895 # Extract the first word of "doxygen", so it can be a program name with args.
2896 set dummy doxygen; ac_word=$2
2897 echo "$as_me:$LINENO: checking for $ac_word" >&5
2898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2899 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
2900 echo $ECHO_N "(cached) $ECHO_C" >&6
2902 if test -n "$DOXYGEN"; then
2903 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909 test -z "$as_dir" && as_dir=.
2910 for ac_exec_ext in '' $ac_executable_extensions; do
2911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2912 ac_cv_prog_DOXYGEN=""doxygen""
2913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2919 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
2922 DOXYGEN=$ac_cv_prog_DOXYGEN
2923 if test -n "$DOXYGEN"; then
2924 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2925 echo "${ECHO_T}$DOXYGEN" >&6
2927 echo "$as_me:$LINENO: result: no" >&5
2928 echo "${ECHO_T}no" >&6
2931 if test "$DOXYGEN" != "doxygen"; then
2932 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
2933 echo "$as_me: error: need doxygen for auto documentation" >&2;}
2934 { (exit 1); exit 1; }; }
2936 # Extract the first word of "dot", so it can be a program name with args.
2937 set dummy dot; ac_word=$2
2938 echo "$as_me:$LINENO: checking for $ac_word" >&5
2939 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2940 if test "${ac_cv_prog_DOT+set}" = set; then
2941 echo $ECHO_N "(cached) $ECHO_C" >&6
2943 if test -n "$DOT"; then
2944 ac_cv_prog_DOT="$DOT" # Let the user override the test.
2946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir=.
2951 for ac_exec_ext in '' $ac_executable_extensions; do
2952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2953 ac_cv_prog_DOT=""dot""
2954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
2964 if test -n "$DOT"; then
2965 echo "$as_me:$LINENO: result: $DOT" >&5
2966 echo "${ECHO_T}$DOT" >&6
2968 echo "$as_me:$LINENO: result: no" >&5
2969 echo "${ECHO_T}no" >&6
2972 if test "$DOT" != "dot"; then
2973 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
2974 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
2975 { (exit 1); exit 1; }; }
2979 if test "$enable_firm_jni" = yes; then
2980 # Extract the first word of "javac", so it can be a program name with args.
2981 set dummy javac; ac_word=$2
2982 echo "$as_me:$LINENO: checking for $ac_word" >&5
2983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2984 if test "${ac_cv_prog_JAVAC+set}" = set; then
2985 echo $ECHO_N "(cached) $ECHO_C" >&6
2987 if test -n "$JAVAC"; then
2988 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2994 test -z "$as_dir" && as_dir=.
2995 for ac_exec_ext in '' $ac_executable_extensions; do
2996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2997 ac_cv_prog_JAVAC=""javac""
2998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3004 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3007 JAVAC=$ac_cv_prog_JAVAC
3008 if test -n "$JAVAC"; then
3009 echo "$as_me:$LINENO: result: $JAVAC" >&5
3010 echo "${ECHO_T}$JAVAC" >&6
3012 echo "$as_me:$LINENO: result: no" >&5
3013 echo "${ECHO_T}no" >&6
3016 if test "$JAVAC" != "javac"; then
3017 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3018 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3019 { (exit 1); exit 1; }; }
3021 # Extract the first word of "javah", so it can be a program name with args.
3022 set dummy javah; ac_word=$2
3023 echo "$as_me:$LINENO: checking for $ac_word" >&5
3024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3025 if test "${ac_cv_prog_JAVAH+set}" = set; then
3026 echo $ECHO_N "(cached) $ECHO_C" >&6
3028 if test -n "$JAVAH"; then
3029 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir=.
3036 for ac_exec_ext in '' $ac_executable_extensions; do
3037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3038 ac_cv_prog_JAVAH=""javah""
3039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3048 JAVAH=$ac_cv_prog_JAVAH
3049 if test -n "$JAVAH"; then
3050 echo "$as_me:$LINENO: result: $JAVAH" >&5
3051 echo "${ECHO_T}$JAVAH" >&6
3053 echo "$as_me:$LINENO: result: no" >&5
3054 echo "${ECHO_T}no" >&6
3057 if test "$JAVAH" != "javah"; then
3058 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3059 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3060 { (exit 1); exit 1; }; }
3068 ac_cpp='$CPP $CPPFLAGS'
3069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3072 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3073 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3074 # On Suns, sometimes $CPP names a directory.
3075 if test -n "$CPP" && test -d "$CPP"; then
3078 if test -z "$CPP"; then
3079 if test "${ac_cv_prog_CPP+set}" = set; then
3080 echo $ECHO_N "(cached) $ECHO_C" >&6
3082 # Double quotes because CPP needs to be expanded
3083 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3086 for ac_c_preproc_warn_flag in '' yes
3088 # Use a header file that comes with gcc, so configuring glibc
3089 # with a fresh cross-compiler works.
3090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3091 # <limits.h> exists even on freestanding compilers.
3092 # On the NeXT, cc -E runs the code through the compiler's parser,
3093 # not just through cpp. "Syntax error" is here to catch this case.
3094 cat >conftest.$ac_ext <<_ACEOF
3097 cat confdefs.h >>conftest.$ac_ext
3098 cat >>conftest.$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3101 # include <limits.h>
3103 # include <assert.h>
3107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3108 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3110 grep -v '^ *+' conftest.er1 >conftest.err
3112 cat conftest.err >&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev/null; then
3115 if test -s conftest.err; then
3116 ac_cpp_err=$ac_c_preproc_warn_flag
3117 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3124 if test -z "$ac_cpp_err"; then
3127 echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3130 # Broken: fails on valid input.
3133 rm -f conftest.err conftest.$ac_ext
3135 # OK, works on sane cases. Now check whether non-existent headers
3136 # can be detected and how.
3137 cat >conftest.$ac_ext <<_ACEOF
3140 cat confdefs.h >>conftest.$ac_ext
3141 cat >>conftest.$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3143 #include <ac_nonexistent.h>
3145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3146 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3148 grep -v '^ *+' conftest.er1 >conftest.err
3150 cat conftest.err >&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } >/dev/null; then
3153 if test -s conftest.err; then
3154 ac_cpp_err=$ac_c_preproc_warn_flag
3155 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3162 if test -z "$ac_cpp_err"; then
3163 # Broken: success on invalid input.
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.$ac_ext >&5
3169 # Passes both tests.
3173 rm -f conftest.err conftest.$ac_ext
3176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3177 rm -f conftest.err conftest.$ac_ext
3178 if $ac_preproc_ok; then
3190 echo "$as_me:$LINENO: result: $CPP" >&5
3191 echo "${ECHO_T}$CPP" >&6
3193 for ac_c_preproc_warn_flag in '' yes
3195 # Use a header file that comes with gcc, so configuring glibc
3196 # with a fresh cross-compiler works.
3197 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3198 # <limits.h> exists even on freestanding compilers.
3199 # On the NeXT, cc -E runs the code through the compiler's parser,
3200 # not just through cpp. "Syntax error" is here to catch this case.
3201 cat >conftest.$ac_ext <<_ACEOF
3204 cat confdefs.h >>conftest.$ac_ext
3205 cat >>conftest.$ac_ext <<_ACEOF
3206 /* end confdefs.h. */
3208 # include <limits.h>
3210 # include <assert.h>
3214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3217 grep -v '^ *+' conftest.er1 >conftest.err
3219 cat conftest.err >&5
3220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3221 (exit $ac_status); } >/dev/null; then
3222 if test -s conftest.err; then
3223 ac_cpp_err=$ac_c_preproc_warn_flag
3224 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3231 if test -z "$ac_cpp_err"; then
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.$ac_ext >&5
3237 # Broken: fails on valid input.
3240 rm -f conftest.err conftest.$ac_ext
3242 # OK, works on sane cases. Now check whether non-existent headers
3243 # can be detected and how.
3244 cat >conftest.$ac_ext <<_ACEOF
3247 cat confdefs.h >>conftest.$ac_ext
3248 cat >>conftest.$ac_ext <<_ACEOF
3249 /* end confdefs.h. */
3250 #include <ac_nonexistent.h>
3252 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3253 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } >/dev/null; then
3260 if test -s conftest.err; then
3261 ac_cpp_err=$ac_c_preproc_warn_flag
3262 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3269 if test -z "$ac_cpp_err"; then
3270 # Broken: success on invalid input.
3273 echo "$as_me: failed program was:" >&5
3274 sed 's/^/| /' conftest.$ac_ext >&5
3276 # Passes both tests.
3280 rm -f conftest.err conftest.$ac_ext
3283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3284 rm -f conftest.err conftest.$ac_ext
3285 if $ac_preproc_ok; then
3288 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3289 See \`config.log' for more details." >&5
3290 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3291 See \`config.log' for more details." >&2;}
3292 { (exit 1); exit 1; }; }
3296 ac_cpp='$CPP $CPPFLAGS'
3297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3302 echo "$as_me:$LINENO: checking for egrep" >&5
3303 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3304 if test "${ac_cv_prog_egrep+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3307 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3308 then ac_cv_prog_egrep='grep -E'
3309 else ac_cv_prog_egrep='egrep'
3312 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3313 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3314 EGREP=$ac_cv_prog_egrep
3317 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3318 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3319 if test "${ac_cv_header_stdc+set}" = set; then
3320 echo $ECHO_N "(cached) $ECHO_C" >&6
3322 cat >conftest.$ac_ext <<_ACEOF
3325 cat confdefs.h >>conftest.$ac_ext
3326 cat >>conftest.$ac_ext <<_ACEOF
3327 /* end confdefs.h. */
3341 rm -f conftest.$ac_objext
3342 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3343 (eval $ac_compile) 2>conftest.er1
3345 grep -v '^ *+' conftest.er1 >conftest.err
3347 cat conftest.err >&5
3348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3349 (exit $ac_status); } &&
3350 { ac_try='test -z "$ac_c_werror_flag"
3351 || test ! -s conftest.err'
3352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3356 (exit $ac_status); }; } &&
3357 { ac_try='test -s conftest.$ac_objext'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; }; then
3363 ac_cv_header_stdc=yes
3365 echo "$as_me: failed program was:" >&5
3366 sed 's/^/| /' conftest.$ac_ext >&5
3368 ac_cv_header_stdc=no
3370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3372 if test $ac_cv_header_stdc = yes; then
3373 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3374 cat >conftest.$ac_ext <<_ACEOF
3377 cat confdefs.h >>conftest.$ac_ext
3378 cat >>conftest.$ac_ext <<_ACEOF
3379 /* end confdefs.h. */
3383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3384 $EGREP "memchr" >/dev/null 2>&1; then
3387 ac_cv_header_stdc=no
3393 if test $ac_cv_header_stdc = yes; then
3394 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3395 cat >conftest.$ac_ext <<_ACEOF
3398 cat confdefs.h >>conftest.$ac_ext
3399 cat >>conftest.$ac_ext <<_ACEOF
3400 /* end confdefs.h. */
3404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3405 $EGREP "free" >/dev/null 2>&1; then
3408 ac_cv_header_stdc=no
3414 if test $ac_cv_header_stdc = yes; then
3415 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3416 if test "$cross_compiling" = yes; then
3419 cat >conftest.$ac_ext <<_ACEOF
3422 cat confdefs.h >>conftest.$ac_ext
3423 cat >>conftest.$ac_ext <<_ACEOF
3424 /* end confdefs.h. */
3426 #if ((' ' & 0x0FF) == 0x020)
3427 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3428 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3430 # define ISLOWER(c) \
3431 (('a' <= (c) && (c) <= 'i') \
3432 || ('j' <= (c) && (c) <= 'r') \
3433 || ('s' <= (c) && (c) <= 'z'))
3434 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3437 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3442 for (i = 0; i < 256; i++)
3443 if (XOR (islower (i), ISLOWER (i))
3444 || toupper (i) != TOUPPER (i))
3449 rm -f conftest$ac_exeext
3450 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3451 (eval $ac_link) 2>&5
3453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3454 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; }; then
3462 echo "$as_me: program exited with status $ac_status" >&5
3463 echo "$as_me: failed program was:" >&5
3464 sed 's/^/| /' conftest.$ac_ext >&5
3467 ac_cv_header_stdc=no
3469 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3473 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3474 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3475 if test $ac_cv_header_stdc = yes; then
3477 cat >>confdefs.h <<\_ACEOF
3478 #define STDC_HEADERS 1
3485 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3495 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3496 inttypes.h stdint.h unistd.h
3498 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3499 echo "$as_me:$LINENO: checking for $ac_header" >&5
3500 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3501 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3502 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 cat >conftest.$ac_ext <<_ACEOF
3507 cat confdefs.h >>conftest.$ac_ext
3508 cat >>conftest.$ac_ext <<_ACEOF
3509 /* end confdefs.h. */
3510 $ac_includes_default
3512 #include <$ac_header>
3514 rm -f conftest.$ac_objext
3515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3516 (eval $ac_compile) 2>conftest.er1
3518 grep -v '^ *+' conftest.er1 >conftest.err
3520 cat conftest.err >&5
3521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3522 (exit $ac_status); } &&
3523 { ac_try='test -z "$ac_c_werror_flag"
3524 || test ! -s conftest.err'
3525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); }; } &&
3530 { ac_try='test -s conftest.$ac_objext'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; }; then
3536 eval "$as_ac_Header=yes"
3538 echo "$as_me: failed program was:" >&5
3539 sed 's/^/| /' conftest.$ac_ext >&5
3541 eval "$as_ac_Header=no"
3543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3546 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3547 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3548 cat >>confdefs.h <<_ACEOF
3549 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3558 for ac_header in math.h
3560 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3561 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3562 echo "$as_me:$LINENO: checking for $ac_header" >&5
3563 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3564 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6
3567 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3568 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3570 # Is the header compilable?
3571 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3572 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3573 cat >conftest.$ac_ext <<_ACEOF
3576 cat confdefs.h >>conftest.$ac_ext
3577 cat >>conftest.$ac_ext <<_ACEOF
3578 /* end confdefs.h. */
3579 $ac_includes_default
3580 #include <$ac_header>
3582 rm -f conftest.$ac_objext
3583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3584 (eval $ac_compile) 2>conftest.er1
3586 grep -v '^ *+' conftest.er1 >conftest.err
3588 cat conftest.err >&5
3589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3590 (exit $ac_status); } &&
3591 { ac_try='test -z "$ac_c_werror_flag"
3592 || test ! -s conftest.err'
3593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3597 (exit $ac_status); }; } &&
3598 { ac_try='test -s conftest.$ac_objext'
3599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); }; }; then
3604 ac_header_compiler=yes
3606 echo "$as_me: failed program was:" >&5
3607 sed 's/^/| /' conftest.$ac_ext >&5
3609 ac_header_compiler=no
3611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3613 echo "${ECHO_T}$ac_header_compiler" >&6
3615 # Is the header present?
3616 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3617 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3618 cat >conftest.$ac_ext <<_ACEOF
3621 cat confdefs.h >>conftest.$ac_ext
3622 cat >>conftest.$ac_ext <<_ACEOF
3623 /* end confdefs.h. */
3624 #include <$ac_header>
3626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3627 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3629 grep -v '^ *+' conftest.er1 >conftest.err
3631 cat conftest.err >&5
3632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3633 (exit $ac_status); } >/dev/null; then
3634 if test -s conftest.err; then
3635 ac_cpp_err=$ac_c_preproc_warn_flag
3636 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3643 if test -z "$ac_cpp_err"; then
3644 ac_header_preproc=yes
3646 echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.$ac_ext >&5
3649 ac_header_preproc=no
3651 rm -f conftest.err conftest.$ac_ext
3652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3653 echo "${ECHO_T}$ac_header_preproc" >&6
3655 # So? What about this header?
3656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3658 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3659 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3660 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3661 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3662 ac_header_preproc=yes
3665 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3666 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3667 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3668 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3669 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3670 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3671 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3672 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3673 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3674 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3675 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3676 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3679 ## ---------------------------------- ##
3680 ## Report this to the libfirm lists. ##
3681 ## ---------------------------------- ##
3684 sed "s/^/$as_me: WARNING: /" >&2
3687 echo "$as_me:$LINENO: checking for $ac_header" >&5
3688 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3689 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3690 echo $ECHO_N "(cached) $ECHO_C" >&6
3692 eval "$as_ac_Header=\$ac_header_preproc"
3694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3695 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3699 cat >>confdefs.h <<_ACEOF
3700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3702 ac_math_headers="yes"
3704 ac_math_headers="no"
3709 if test "$ac_math_headers" != yes; then
3710 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3711 echo "$as_me: error: \"math header file not found\"" >&2;}
3712 { (exit 1); exit 1; }; }
3716 #dnl check for the gnu multiprecission (gmp) header file
3718 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3719 #if test "$ac_gmp_headers" != yes; then
3720 # dnl gmp header not found.
3721 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3728 for ac_header in obstack.h
3730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3731 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3732 echo "$as_me:$LINENO: checking for $ac_header" >&5
3733 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3735 echo $ECHO_N "(cached) $ECHO_C" >&6
3737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3738 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3740 # Is the header compilable?
3741 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3742 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3743 cat >conftest.$ac_ext <<_ACEOF
3746 cat confdefs.h >>conftest.$ac_ext
3747 cat >>conftest.$ac_ext <<_ACEOF
3748 /* end confdefs.h. */
3749 $ac_includes_default
3750 #include <$ac_header>
3752 rm -f conftest.$ac_objext
3753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3754 (eval $ac_compile) 2>conftest.er1
3756 grep -v '^ *+' conftest.er1 >conftest.err
3758 cat conftest.err >&5
3759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3760 (exit $ac_status); } &&
3761 { ac_try='test -z "$ac_c_werror_flag"
3762 || test ! -s conftest.err'
3763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3767 (exit $ac_status); }; } &&
3768 { ac_try='test -s conftest.$ac_objext'
3769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3773 (exit $ac_status); }; }; then
3774 ac_header_compiler=yes
3776 echo "$as_me: failed program was:" >&5
3777 sed 's/^/| /' conftest.$ac_ext >&5
3779 ac_header_compiler=no
3781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3782 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3783 echo "${ECHO_T}$ac_header_compiler" >&6
3785 # Is the header present?
3786 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3787 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3788 cat >conftest.$ac_ext <<_ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3794 #include <$ac_header>
3796 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3797 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3799 grep -v '^ *+' conftest.er1 >conftest.err
3801 cat conftest.err >&5
3802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3803 (exit $ac_status); } >/dev/null; then
3804 if test -s conftest.err; then
3805 ac_cpp_err=$ac_c_preproc_warn_flag
3806 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3813 if test -z "$ac_cpp_err"; then
3814 ac_header_preproc=yes
3816 echo "$as_me: failed program was:" >&5
3817 sed 's/^/| /' conftest.$ac_ext >&5
3819 ac_header_preproc=no
3821 rm -f conftest.err conftest.$ac_ext
3822 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3823 echo "${ECHO_T}$ac_header_preproc" >&6
3825 # So? What about this header?
3826 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3828 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3829 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3830 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3831 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3832 ac_header_preproc=yes
3835 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3836 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3837 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3838 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3839 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3840 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3841 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3842 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3843 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3844 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3845 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3846 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3849 ## ---------------------------------- ##
3850 ## Report this to the libfirm lists. ##
3851 ## ---------------------------------- ##
3854 sed "s/^/$as_me: WARNING: /" >&2
3857 echo "$as_me:$LINENO: checking for $ac_header" >&5
3858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3860 echo $ECHO_N "(cached) $ECHO_C" >&6
3862 eval "$as_ac_Header=\$ac_header_preproc"
3864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3865 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3868 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3869 cat >>confdefs.h <<_ACEOF
3870 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3872 ac_obstack_headers="yes"
3874 ac_obstack_headers="no"
3879 if test "$ac_obstack_headers" != yes; then
3880 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3881 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3882 { (exit 1); exit 1; }; }
3887 for ac_header in alloca.h
3889 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3890 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3891 echo "$as_me:$LINENO: checking for $ac_header" >&5
3892 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3893 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3894 echo $ECHO_N "(cached) $ECHO_C" >&6
3896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3897 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3899 # Is the header compilable?
3900 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3901 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3902 cat >conftest.$ac_ext <<_ACEOF
3905 cat confdefs.h >>conftest.$ac_ext
3906 cat >>conftest.$ac_ext <<_ACEOF
3907 /* end confdefs.h. */
3908 $ac_includes_default
3909 #include <$ac_header>
3911 rm -f conftest.$ac_objext
3912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3913 (eval $ac_compile) 2>conftest.er1
3915 grep -v '^ *+' conftest.er1 >conftest.err
3917 cat conftest.err >&5
3918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919 (exit $ac_status); } &&
3920 { ac_try='test -z "$ac_c_werror_flag"
3921 || test ! -s conftest.err'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; } &&
3927 { ac_try='test -s conftest.$ac_objext'
3928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3932 (exit $ac_status); }; }; then
3933 ac_header_compiler=yes
3935 echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.$ac_ext >&5
3938 ac_header_compiler=no
3940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3942 echo "${ECHO_T}$ac_header_compiler" >&6
3944 # Is the header present?
3945 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3946 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3947 cat >conftest.$ac_ext <<_ACEOF
3950 cat confdefs.h >>conftest.$ac_ext
3951 cat >>conftest.$ac_ext <<_ACEOF
3952 /* end confdefs.h. */
3953 #include <$ac_header>
3955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3958 grep -v '^ *+' conftest.er1 >conftest.err
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } >/dev/null; then
3963 if test -s conftest.err; then
3964 ac_cpp_err=$ac_c_preproc_warn_flag
3965 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3972 if test -z "$ac_cpp_err"; then
3973 ac_header_preproc=yes
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.$ac_ext >&5
3978 ac_header_preproc=no
3980 rm -f conftest.err conftest.$ac_ext
3981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3982 echo "${ECHO_T}$ac_header_preproc" >&6
3984 # So? What about this header?
3985 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3987 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3988 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3990 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3991 ac_header_preproc=yes
3994 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3995 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3996 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3997 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3998 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3999 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4000 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4001 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4002 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4003 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4004 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4005 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4008 ## ---------------------------------- ##
4009 ## Report this to the libfirm lists. ##
4010 ## ---------------------------------- ##
4013 sed "s/^/$as_me: WARNING: /" >&2
4016 echo "$as_me:$LINENO: checking for $ac_header" >&5
4017 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4018 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4019 echo $ECHO_N "(cached) $ECHO_C" >&6
4021 eval "$as_ac_Header=\$ac_header_preproc"
4023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4024 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4027 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4028 cat >>confdefs.h <<_ACEOF
4029 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4031 ac_alloca_headers="yes"
4033 ac_alloca_headers="no"
4038 if test "$ac_alloca_headers" = "yes"; then
4039 cat >>confdefs.h <<\_ACEOF
4040 #define HAVE_ALLOCA_H 1
4044 if test "$ac_cv_header_stdc" = "no"; then
4045 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4046 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4047 { (exit 1); exit 1; }; }
4053 if test "$enable_firm_jni" = yes; then
4055 for ac_header in jni.h
4057 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4058 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4059 echo "$as_me:$LINENO: checking for $ac_header" >&5
4060 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4061 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4062 echo $ECHO_N "(cached) $ECHO_C" >&6
4064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4065 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4067 # Is the header compilable?
4068 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4069 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4070 cat >conftest.$ac_ext <<_ACEOF
4073 cat confdefs.h >>conftest.$ac_ext
4074 cat >>conftest.$ac_ext <<_ACEOF
4075 /* end confdefs.h. */
4076 $ac_includes_default
4077 #include <$ac_header>
4079 rm -f conftest.$ac_objext
4080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4081 (eval $ac_compile) 2>conftest.er1
4083 grep -v '^ *+' conftest.er1 >conftest.err
4085 cat conftest.err >&5
4086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4087 (exit $ac_status); } &&
4088 { ac_try='test -z "$ac_c_werror_flag"
4089 || test ! -s conftest.err'
4090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); }; } &&
4095 { ac_try='test -s conftest.$ac_objext'
4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }; }; then
4101 ac_header_compiler=yes
4103 echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4106 ac_header_compiler=no
4108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4109 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4110 echo "${ECHO_T}$ac_header_compiler" >&6
4112 # Is the header present?
4113 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4114 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4115 cat >conftest.$ac_ext <<_ACEOF
4118 cat confdefs.h >>conftest.$ac_ext
4119 cat >>conftest.$ac_ext <<_ACEOF
4120 /* end confdefs.h. */
4121 #include <$ac_header>
4123 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4124 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4126 grep -v '^ *+' conftest.er1 >conftest.err
4128 cat conftest.err >&5
4129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4130 (exit $ac_status); } >/dev/null; then
4131 if test -s conftest.err; then
4132 ac_cpp_err=$ac_c_preproc_warn_flag
4133 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4140 if test -z "$ac_cpp_err"; then
4141 ac_header_preproc=yes
4143 echo "$as_me: failed program was:" >&5
4144 sed 's/^/| /' conftest.$ac_ext >&5
4146 ac_header_preproc=no
4148 rm -f conftest.err conftest.$ac_ext
4149 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4150 echo "${ECHO_T}$ac_header_preproc" >&6
4152 # So? What about this header?
4153 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4155 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4156 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4157 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4158 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4159 ac_header_preproc=yes
4162 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4163 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4164 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4165 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4166 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4167 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4168 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4169 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4170 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4171 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4172 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4173 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4176 ## ---------------------------------- ##
4177 ## Report this to the libfirm lists. ##
4178 ## ---------------------------------- ##
4181 sed "s/^/$as_me: WARNING: /" >&2
4184 echo "$as_me:$LINENO: checking for $ac_header" >&5
4185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4187 echo $ECHO_N "(cached) $ECHO_C" >&6
4189 eval "$as_ac_Header=\$ac_header_preproc"
4191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4192 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4195 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4196 cat >>confdefs.h <<_ACEOF
4197 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4199 ac_jni_headers="yes"
4206 if test "$ac_jni_headers" != yes; then
4207 { { 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
4208 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;}
4209 { (exit 1); exit 1; }; }
4214 if test "$enable_external_effects" == "yes"; then
4216 for ac_header in libxml/parser.h
4218 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4220 echo "$as_me:$LINENO: checking for $ac_header" >&5
4221 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4223 echo $ECHO_N "(cached) $ECHO_C" >&6
4225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4228 # Is the header compilable?
4229 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4230 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4231 cat >conftest.$ac_ext <<_ACEOF
4234 cat confdefs.h >>conftest.$ac_ext
4235 cat >>conftest.$ac_ext <<_ACEOF
4236 /* end confdefs.h. */
4237 $ac_includes_default
4238 #include <$ac_header>
4240 rm -f conftest.$ac_objext
4241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4242 (eval $ac_compile) 2>conftest.er1
4244 grep -v '^ *+' conftest.er1 >conftest.err
4246 cat conftest.err >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); } &&
4249 { ac_try='test -z "$ac_c_werror_flag"
4250 || test ! -s conftest.err'
4251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); }; } &&
4256 { ac_try='test -s conftest.$ac_objext'
4257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4261 (exit $ac_status); }; }; then
4262 ac_header_compiler=yes
4264 echo "$as_me: failed program was:" >&5
4265 sed 's/^/| /' conftest.$ac_ext >&5
4267 ac_header_compiler=no
4269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4270 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4271 echo "${ECHO_T}$ac_header_compiler" >&6
4273 # Is the header present?
4274 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4275 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4276 cat >conftest.$ac_ext <<_ACEOF
4279 cat confdefs.h >>conftest.$ac_ext
4280 cat >>conftest.$ac_ext <<_ACEOF
4281 /* end confdefs.h. */
4282 #include <$ac_header>
4284 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4285 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4287 grep -v '^ *+' conftest.er1 >conftest.err
4289 cat conftest.err >&5
4290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4291 (exit $ac_status); } >/dev/null; then
4292 if test -s conftest.err; then
4293 ac_cpp_err=$ac_c_preproc_warn_flag
4294 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4301 if test -z "$ac_cpp_err"; then
4302 ac_header_preproc=yes
4304 echo "$as_me: failed program was:" >&5
4305 sed 's/^/| /' conftest.$ac_ext >&5
4307 ac_header_preproc=no
4309 rm -f conftest.err conftest.$ac_ext
4310 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4311 echo "${ECHO_T}$ac_header_preproc" >&6
4313 # So? What about this header?
4314 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4316 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4317 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4318 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4319 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4320 ac_header_preproc=yes
4323 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4324 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4325 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4326 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4327 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4328 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4329 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4330 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4332 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4333 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4334 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4337 ## ---------------------------------- ##
4338 ## Report this to the libfirm lists. ##
4339 ## ---------------------------------- ##
4342 sed "s/^/$as_me: WARNING: /" >&2
4345 echo "$as_me:$LINENO: checking for $ac_header" >&5
4346 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4348 echo $ECHO_N "(cached) $ECHO_C" >&6
4350 eval "$as_ac_Header=\$ac_header_preproc"
4352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4356 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4357 cat >>confdefs.h <<_ACEOF
4358 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4360 ac_xml_headers="yes"
4367 if test "$ac_xml_headers" != yes; then
4368 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4369 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4370 { (exit 1); exit 1; }; }
4375 #dnl check for the gnu multiprecission (gmp) library
4377 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4378 #if test "$ac_gmp_library" != yes; then
4379 # dnl gmp library not found.
4380 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4384 echo "$as_me:$LINENO: checking for main in -lm" >&5
4385 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4386 if test "${ac_cv_lib_m_main+set}" = set; then
4387 echo $ECHO_N "(cached) $ECHO_C" >&6
4389 ac_check_lib_save_LIBS=$LIBS
4391 cat >conftest.$ac_ext <<_ACEOF
4394 cat confdefs.h >>conftest.$ac_ext
4395 cat >>conftest.$ac_ext <<_ACEOF
4396 /* end confdefs.h. */
4407 rm -f conftest.$ac_objext conftest$ac_exeext
4408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4409 (eval $ac_link) 2>conftest.er1
4411 grep -v '^ *+' conftest.er1 >conftest.err
4413 cat conftest.err >&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } &&
4416 { ac_try='test -z "$ac_c_werror_flag"
4417 || test ! -s conftest.err'
4418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4422 (exit $ac_status); }; } &&
4423 { ac_try='test -s conftest$ac_exeext'
4424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); }; }; then
4429 ac_cv_lib_m_main=yes
4431 echo "$as_me: failed program was:" >&5
4432 sed 's/^/| /' conftest.$ac_ext >&5
4436 rm -f conftest.err conftest.$ac_objext \
4437 conftest$ac_exeext conftest.$ac_ext
4438 LIBS=$ac_check_lib_save_LIBS
4440 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4441 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4442 if test $ac_cv_lib_m_main = yes; then
4448 if test "$ac_m_library" != yes; then
4449 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4450 echo "$as_me: error: \"standard math library not found\"" >&2;}
4451 { (exit 1); exit 1; }; }
4455 if test "$enable_external_effects" == "yes"; then
4456 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4457 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4458 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4459 echo $ECHO_N "(cached) $ECHO_C" >&6
4461 ac_check_lib_save_LIBS=$LIBS
4463 cat >conftest.$ac_ext <<_ACEOF
4466 cat confdefs.h >>conftest.$ac_ext
4467 cat >>conftest.$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4470 /* Override any gcc2 internal prototype to avoid an error. */
4474 /* We use char because int might match the return type of a gcc2
4475 builtin and then its argument prototype would still apply. */
4476 char xmlParseFile ();
4485 rm -f conftest.$ac_objext conftest$ac_exeext
4486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4487 (eval $ac_link) 2>conftest.er1
4489 grep -v '^ *+' conftest.er1 >conftest.err
4491 cat conftest.err >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); } &&
4494 { ac_try='test -z "$ac_c_werror_flag"
4495 || test ! -s conftest.err'
4496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); }; } &&
4501 { ac_try='test -s conftest$ac_exeext'
4502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4506 (exit $ac_status); }; }; then
4507 ac_cv_lib_xml2_xmlParseFile=yes
4509 echo "$as_me: failed program was:" >&5
4510 sed 's/^/| /' conftest.$ac_ext >&5
4512 ac_cv_lib_xml2_xmlParseFile=no
4514 rm -f conftest.err conftest.$ac_objext \
4515 conftest$ac_exeext conftest.$ac_ext
4516 LIBS=$ac_check_lib_save_LIBS
4518 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4519 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4520 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4521 ac_xml_library="yes"
4526 if test "$ac_m_library" != yes; then
4527 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4528 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4529 { (exit 1); exit 1; }; }
4535 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4536 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4537 if test "${ac_cv_c_const+set}" = set; then
4538 echo $ECHO_N "(cached) $ECHO_C" >&6
4540 cat >conftest.$ac_ext <<_ACEOF
4543 cat confdefs.h >>conftest.$ac_ext
4544 cat >>conftest.$ac_ext <<_ACEOF
4545 /* end confdefs.h. */
4550 /* FIXME: Include the comments suggested by Paul. */
4552 /* Ultrix mips cc rejects this. */
4553 typedef int charset[2];
4555 /* SunOS 4.1.1 cc rejects this. */
4556 char const *const *ccp;
4558 /* NEC SVR4.0.2 mips cc rejects this. */
4559 struct point {int x, y;};
4560 static struct point const zero = {0,0};
4561 /* AIX XL C 1.02.0.0 rejects this.
4562 It does not let you subtract one const X* pointer from another in
4563 an arm of an if-expression whose if-part is not a constant
4565 const char *g = "string";
4566 ccp = &g + (g ? g-g : 0);
4567 /* HPUX 7.0 cc rejects these. */
4570 ccp = (char const *const *) p;
4571 { /* SCO 3.2v4 cc rejects this. */
4573 char const *s = 0 ? (char *) 0 : (char const *) 0;
4577 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4579 const int *foo = &x[0];
4582 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4583 typedef const int *iptr;
4587 { /* AIX XL C 1.02.0.0 rejects this saying
4588 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4589 struct s { int j; const int *ap[3]; };
4590 struct s *b; b->j = 5;
4592 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4601 rm -f conftest.$ac_objext
4602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4603 (eval $ac_compile) 2>conftest.er1
4605 grep -v '^ *+' conftest.er1 >conftest.err
4607 cat conftest.err >&5
4608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4609 (exit $ac_status); } &&
4610 { ac_try='test -z "$ac_c_werror_flag"
4611 || test ! -s conftest.err'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; } &&
4617 { ac_try='test -s conftest.$ac_objext'
4618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4622 (exit $ac_status); }; }; then
4625 echo "$as_me: failed program was:" >&5
4626 sed 's/^/| /' conftest.$ac_ext >&5
4630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4632 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4633 echo "${ECHO_T}$ac_cv_c_const" >&6
4634 if test $ac_cv_c_const = no; then
4636 cat >>confdefs.h <<\_ACEOF
4642 echo "$as_me:$LINENO: checking for working volatile" >&5
4643 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4644 if test "${ac_cv_c_volatile+set}" = set; then
4645 echo $ECHO_N "(cached) $ECHO_C" >&6
4647 cat >conftest.$ac_ext <<_ACEOF
4650 cat confdefs.h >>conftest.$ac_ext
4651 cat >>conftest.$ac_ext <<_ACEOF
4652 /* end confdefs.h. */
4664 rm -f conftest.$ac_objext
4665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4666 (eval $ac_compile) 2>conftest.er1
4668 grep -v '^ *+' conftest.er1 >conftest.err
4670 cat conftest.err >&5
4671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4672 (exit $ac_status); } &&
4673 { ac_try='test -z "$ac_c_werror_flag"
4674 || test ! -s conftest.err'
4675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4679 (exit $ac_status); }; } &&
4680 { ac_try='test -s conftest.$ac_objext'
4681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4685 (exit $ac_status); }; }; then
4686 ac_cv_c_volatile=yes
4688 echo "$as_me: failed program was:" >&5
4689 sed 's/^/| /' conftest.$ac_ext >&5
4693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4695 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4696 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4697 if test $ac_cv_c_volatile = no; then
4699 cat >>confdefs.h <<\_ACEOF
4705 echo "$as_me:$LINENO: checking for inline" >&5
4706 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4707 if test "${ac_cv_c_inline+set}" = set; then
4708 echo $ECHO_N "(cached) $ECHO_C" >&6
4711 for ac_kw in inline __inline__ __inline; do
4712 cat >conftest.$ac_ext <<_ACEOF
4715 cat confdefs.h >>conftest.$ac_ext
4716 cat >>conftest.$ac_ext <<_ACEOF
4717 /* end confdefs.h. */
4720 static $ac_kw foo_t static_foo () {return 0; }
4721 $ac_kw foo_t foo () {return 0; }
4725 rm -f conftest.$ac_objext
4726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4727 (eval $ac_compile) 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } &&
4734 { ac_try='test -z "$ac_c_werror_flag"
4735 || test ! -s conftest.err'
4736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try='test -s conftest.$ac_objext'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; }; then
4747 ac_cv_c_inline=$ac_kw; break
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4757 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4758 echo "${ECHO_T}$ac_cv_c_inline" >&6
4761 case $ac_cv_c_inline in
4764 case $ac_cv_c_inline in
4766 *) ac_val=$ac_cv_c_inline;;
4768 cat >>confdefs.h <<_ACEOF
4770 #define inline $ac_val
4776 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4777 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4778 if test "${ac_cv_c_bigendian+set}" = set; then
4779 echo $ECHO_N "(cached) $ECHO_C" >&6
4781 # See if sys/param.h defines the BYTE_ORDER macro.
4782 cat >conftest.$ac_ext <<_ACEOF
4785 cat confdefs.h >>conftest.$ac_ext
4786 cat >>conftest.$ac_ext <<_ACEOF
4787 /* end confdefs.h. */
4788 #include <sys/types.h>
4789 #include <sys/param.h>
4794 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4802 rm -f conftest.$ac_objext
4803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4804 (eval $ac_compile) 2>conftest.er1
4806 grep -v '^ *+' conftest.er1 >conftest.err
4808 cat conftest.err >&5
4809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4810 (exit $ac_status); } &&
4811 { ac_try='test -z "$ac_c_werror_flag"
4812 || test ! -s conftest.err'
4813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4817 (exit $ac_status); }; } &&
4818 { ac_try='test -s conftest.$ac_objext'
4819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4823 (exit $ac_status); }; }; then
4824 # It does; now see whether it defined to BIG_ENDIAN or not.
4825 cat >conftest.$ac_ext <<_ACEOF
4828 cat confdefs.h >>conftest.$ac_ext
4829 cat >>conftest.$ac_ext <<_ACEOF
4830 /* end confdefs.h. */
4831 #include <sys/types.h>
4832 #include <sys/param.h>
4837 #if BYTE_ORDER != BIG_ENDIAN
4845 rm -f conftest.$ac_objext
4846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4847 (eval $ac_compile) 2>conftest.er1
4849 grep -v '^ *+' conftest.er1 >conftest.err
4851 cat conftest.err >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } &&
4854 { ac_try='test -z "$ac_c_werror_flag"
4855 || test ! -s conftest.err'
4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; } &&
4861 { ac_try='test -s conftest.$ac_objext'
4862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); }; }; then
4867 ac_cv_c_bigendian=yes
4869 echo "$as_me: failed program was:" >&5
4870 sed 's/^/| /' conftest.$ac_ext >&5
4872 ac_cv_c_bigendian=no
4874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4876 echo "$as_me: failed program was:" >&5
4877 sed 's/^/| /' conftest.$ac_ext >&5
4879 # It does not; compile a test program.
4880 if test "$cross_compiling" = yes; then
4881 # try to guess the endianness by grepping values into an object file
4882 ac_cv_c_bigendian=unknown
4883 cat >conftest.$ac_ext <<_ACEOF
4886 cat confdefs.h >>conftest.$ac_ext
4887 cat >>conftest.$ac_ext <<_ACEOF
4888 /* end confdefs.h. */
4889 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4890 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4891 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4892 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4893 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4894 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4898 _ascii (); _ebcdic ();
4903 rm -f conftest.$ac_objext
4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4905 (eval $ac_compile) 2>conftest.er1
4907 grep -v '^ *+' conftest.er1 >conftest.err
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } &&
4912 { ac_try='test -z "$ac_c_werror_flag"
4913 || test ! -s conftest.err'
4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }; } &&
4919 { ac_try='test -s conftest.$ac_objext'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; }; then
4925 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4926 ac_cv_c_bigendian=yes
4928 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4929 if test "$ac_cv_c_bigendian" = unknown; then
4930 ac_cv_c_bigendian=no
4932 # finding both strings is unlikely to happen, but who knows?
4933 ac_cv_c_bigendian=unknown
4937 echo "$as_me: failed program was:" >&5
4938 sed 's/^/| /' conftest.$ac_ext >&5
4941 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4943 cat >conftest.$ac_ext <<_ACEOF
4946 cat confdefs.h >>conftest.$ac_ext
4947 cat >>conftest.$ac_ext <<_ACEOF
4948 /* end confdefs.h. */
4952 /* Are we little or big endian? From Harbison&Steele. */
4956 char c[sizeof (long)];
4959 exit (u.c[sizeof (long) - 1] == 1);
4962 rm -f conftest$ac_exeext
4963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4964 (eval $ac_link) 2>&5
4966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4967 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; }; then
4973 ac_cv_c_bigendian=no
4975 echo "$as_me: program exited with status $ac_status" >&5
4976 echo "$as_me: failed program was:" >&5
4977 sed 's/^/| /' conftest.$ac_ext >&5
4980 ac_cv_c_bigendian=yes
4982 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4987 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4988 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4989 case $ac_cv_c_bigendian in
4992 cat >>confdefs.h <<\_ACEOF
4993 #define WORDS_BIGENDIAN 1
4999 { { echo "$as_me:$LINENO: error: unknown endianness
5000 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5001 echo "$as_me: error: unknown endianness
5002 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5003 { (exit 1); exit 1; }; } ;;
5006 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5007 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5008 if test "${ac_cv_c_long_double+set}" = set; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 cat >conftest.$ac_ext <<_ACEOF
5014 cat confdefs.h >>conftest.$ac_ext
5015 cat >>conftest.$ac_ext <<_ACEOF
5016 /* end confdefs.h. */
5018 long double foo = 0.0;
5022 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5023 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5024 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5031 rm -f conftest.$ac_objext
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>conftest.er1
5035 grep -v '^ *+' conftest.er1 >conftest.err
5037 cat conftest.err >&5
5038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5039 (exit $ac_status); } &&
5040 { ac_try='test -z "$ac_c_werror_flag"
5041 || test ! -s conftest.err'
5042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5046 (exit $ac_status); }; } &&
5047 { ac_try='test -s conftest.$ac_objext'
5048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5052 (exit $ac_status); }; }; then
5053 ac_cv_c_long_double=yes
5055 echo "$as_me: failed program was:" >&5
5056 sed 's/^/| /' conftest.$ac_ext >&5
5058 ac_cv_c_long_double=no
5060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5062 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5063 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5064 if test $ac_cv_c_long_double = yes; then
5066 cat >>confdefs.h <<\_ACEOF
5067 #define HAVE_LONG_DOUBLE 1
5075 echo "$as_me:$LINENO: checking for strerror" >&5
5076 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5077 if test "${ac_cv_func_strerror+set}" = set; then
5078 echo $ECHO_N "(cached) $ECHO_C" >&6
5080 cat >conftest.$ac_ext <<_ACEOF
5083 cat confdefs.h >>conftest.$ac_ext
5084 cat >>conftest.$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5086 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5088 #define strerror innocuous_strerror
5090 /* System header to define __stub macros and hopefully few prototypes,
5091 which can conflict with char strerror (); below.
5092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5093 <limits.h> exists even on freestanding compilers. */
5096 # include <limits.h>
5098 # include <assert.h>
5103 /* Override any gcc2 internal prototype to avoid an error. */
5108 /* We use char because int might match the return type of a gcc2
5109 builtin and then its argument prototype would still apply. */
5111 /* The GNU C library defines this for functions which it implements
5112 to always fail with ENOSYS. Some functions are actually named
5113 something starting with __ and the normal name is an alias. */
5114 #if defined (__stub_strerror) || defined (__stub___strerror)
5117 char (*f) () = strerror;
5126 return f != strerror;
5131 rm -f conftest.$ac_objext conftest$ac_exeext
5132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5133 (eval $ac_link) 2>conftest.er1
5135 grep -v '^ *+' conftest.er1 >conftest.err
5137 cat conftest.err >&5
5138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5139 (exit $ac_status); } &&
5140 { ac_try='test -z "$ac_c_werror_flag"
5141 || test ! -s conftest.err'
5142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5146 (exit $ac_status); }; } &&
5147 { ac_try='test -s conftest$ac_exeext'
5148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); }; }; then
5153 ac_cv_func_strerror=yes
5155 echo "$as_me: failed program was:" >&5
5156 sed 's/^/| /' conftest.$ac_ext >&5
5158 ac_cv_func_strerror=no
5160 rm -f conftest.err conftest.$ac_objext \
5161 conftest$ac_exeext conftest.$ac_ext
5163 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5164 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5165 if test $ac_cv_func_strerror = yes; then
5168 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5169 echo "$as_me: error: \"need strerror function\"" >&2;}
5170 { (exit 1); exit 1; }; }
5178 ac_config_files="$ac_config_files $ac_output_file"
5179 ac_config_commands="$ac_config_commands default"
5180 cat >confcache <<\_ACEOF
5181 # This file is a shell script that caches the results of configure
5182 # tests run on this system so they can be shared between configure
5183 # scripts and configure runs, see configure's option --config-cache.
5184 # It is not useful on other systems. If it contains results you don't
5185 # want to keep, you may remove or edit it.
5187 # config.status only pays attention to the cache file if you give it
5188 # the --recheck option to rerun configure.
5190 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5191 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5196 # The following way of writing the cache mishandles newlines in values,
5197 # but we know of no workaround that is simple, portable, and efficient.
5198 # So, don't put newlines in cache variables' values.
5199 # Ultrix sh set writes to stderr and can't be redirected directly,
5200 # and sets the high bit in the cache file unless we assign to the vars.
5203 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5205 # `set' does not quote correctly, so add quotes (double-quote
5206 # substitution turns \\\\ into \\, and sed turns \\ into \).
5209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5212 # `set' quotes correctly as required by POSIX, so do not add quotes.
5214 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5221 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5223 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5225 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5226 if test -w $cache_file; then
5227 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5228 cat confcache >$cache_file
5230 echo "not updating unwritable cache $cache_file"
5235 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5236 # Let make expand exec_prefix.
5237 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5239 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5240 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5241 # trailing colons and then remove the whole line if VPATH becomes empty
5242 # (actually we leave an empty line to preserve line numbers).
5243 if test "x$srcdir" = x.; then
5244 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5245 s/:*\$(srcdir):*/:/;
5246 s/:*\${srcdir}:*/:/;
5248 s/^\([^=]*=[ ]*\):*/\1/;
5254 DEFS=-DHAVE_CONFIG_H
5258 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5259 # 1. Remove the extension, and $U if already installed.
5260 ac_i=`echo "$ac_i" |
5261 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5263 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5264 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5268 LTLIBOBJS=$ac_ltlibobjs
5272 : ${CONFIG_STATUS=./config.status}
5273 ac_clean_files_save=$ac_clean_files
5274 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5275 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5276 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5277 cat >$CONFIG_STATUS <<_ACEOF
5279 # Generated by $as_me.
5280 # Run this file to recreate the current configuration.
5281 # Compiler output produced by configure, useful for debugging
5282 # configure, is in config.log if it exists.
5287 SHELL=\${CONFIG_SHELL-$SHELL}
5290 cat >>$CONFIG_STATUS <<\_ACEOF
5291 ## --------------------- ##
5292 ## M4sh Initialization. ##
5293 ## --------------------- ##
5295 # Be Bourne compatible
5296 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5299 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5300 # is contrary to our usage. Disable this feature.
5301 alias -g '${1+"$@"}'='"$@"'
5302 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5305 DUALCASE=1; export DUALCASE # for MKS sh
5307 # Support unset when possible.
5308 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5315 # Work around bugs in pre-3.0 UWIN ksh.
5316 $as_unset ENV MAIL MAILPATH
5323 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5324 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5325 LC_TELEPHONE LC_TIME
5327 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5328 eval $as_var=C; export $as_var
5334 # Required to use basename.
5335 if expr a : '\(a\)' >/dev/null 2>&1; then
5341 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5342 as_basename=basename
5348 # Name of the executable.
5349 as_me=`$as_basename "$0" ||
5350 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5351 X"$0" : 'X\(//\)$' \| \
5352 X"$0" : 'X\(/\)$' \| \
5353 . : '\(.\)' 2>/dev/null ||
5355 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5356 /^X\/\(\/\/\)$/{ s//\1/; q; }
5357 /^X\/\(\/\).*/{ s//\1/; q; }
5361 # PATH needs CR, and LINENO needs CR and PATH.
5362 # Avoid depending upon Character Ranges.
5363 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5364 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5365 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5366 as_cr_digits='0123456789'
5367 as_cr_alnum=$as_cr_Letters$as_cr_digits
5369 # The user is always right.
5370 if test "${PATH_SEPARATOR+set}" != set; then
5371 echo "#! /bin/sh" >conf$$.sh
5372 echo "exit 0" >>conf$$.sh
5374 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5385 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5386 test "x$as_lineno_1" != "x$as_lineno_2" &&
5387 test "x$as_lineno_3" = "x$as_lineno_2" || {
5388 # Find who we are. Look in the path if we contain no path at all
5391 *[\\/]* ) as_myself=$0 ;;
5392 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5396 test -z "$as_dir" && as_dir=.
5397 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5402 # We did not find ourselves, most probably we were run as `sh COMMAND'
5403 # in which case we are not to be found in the path.
5404 if test "x$as_myself" = x; then
5407 if test ! -f "$as_myself"; then
5408 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5409 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5410 { (exit 1); exit 1; }; }
5412 case $CONFIG_SHELL in
5414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5415 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5418 test -z "$as_dir" && as_dir=.
5419 for as_base in sh bash ksh sh5; do
5422 if ("$as_dir/$as_base" -c '
5425 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5426 test "x$as_lineno_1" != "x$as_lineno_2" &&
5427 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5428 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5429 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5430 CONFIG_SHELL=$as_dir/$as_base
5432 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5440 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5441 # uniformly replaced by the line number. The first 'sed' inserts a
5442 # line-number line before each line; the second 'sed' does the real
5443 # work. The second script uses 'N' to pair each line-number line
5444 # with the numbered line, and appends trailing '-' during
5445 # substitution so that $LINENO is not a special case at line end.
5446 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5447 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5448 sed '=' <$as_myself |
5453 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5456 s,^['$as_cr_digits']*\n,,
5458 chmod +x $as_me.lineno ||
5459 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5460 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5461 { (exit 1); exit 1; }; }
5463 # Don't try to exec as it changes $[0], causing all sort of problems
5464 # (the dirname of $[0] is not the place where we might find the
5465 # original and so on. Autoconf is especially sensible to this).
5467 # Exit status is that of the last command.
5472 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5473 *c*,-n*) ECHO_N= ECHO_C='
5475 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5476 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5479 if expr a : '\(a\)' >/dev/null 2>&1; then
5485 rm -f conf$$ conf$$.exe conf$$.file
5487 if ln -s conf$$.file conf$$ 2>/dev/null; then
5488 # We could just check for DJGPP; but this test a) works b) is more generic
5489 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5490 if test -f conf$$.exe; then
5491 # Don't use ln at all; we don't have any links
5496 elif ln conf$$.file conf$$ 2>/dev/null; then
5501 rm -f conf$$ conf$$.exe conf$$.file
5503 if mkdir -p . 2>/dev/null; then
5506 test -d ./-p && rmdir ./-p
5510 as_executable_p="test -f"
5512 # Sed expression to map a string onto a valid CPP name.
5513 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5515 # Sed expression to map a string onto a valid variable name.
5516 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5520 # We need space, tab and new line, in precisely that order.
5530 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5531 # report actual input values of CONFIG_FILES etc. instead of their
5532 # values after options handling. Logging --version etc. is OK.
5536 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5537 ## Running $as_me. ##
5542 This file was extended by libfirm $as_me 0.3.0, which was
5543 generated by GNU Autoconf 2.59. Invocation command line was
5545 CONFIG_FILES = $CONFIG_FILES
5546 CONFIG_HEADERS = $CONFIG_HEADERS
5547 CONFIG_LINKS = $CONFIG_LINKS
5548 CONFIG_COMMANDS = $CONFIG_COMMANDS
5552 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5556 # Files that config.status was made for.
5557 if test -n "$ac_config_files"; then
5558 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5561 if test -n "$ac_config_headers"; then
5562 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5565 if test -n "$ac_config_links"; then
5566 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5569 if test -n "$ac_config_commands"; then
5570 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5573 cat >>$CONFIG_STATUS <<\_ACEOF
5576 \`$as_me' instantiates files from templates according to the
5577 current configuration.
5579 Usage: $0 [OPTIONS] [FILE]...
5581 -h, --help print this help, then exit
5582 -V, --version print version number, then exit
5583 -q, --quiet do not print progress messages
5584 -d, --debug don't remove temporary files
5585 --recheck update $as_me by reconfiguring in the same conditions
5586 --file=FILE[:TEMPLATE]
5587 instantiate the configuration file FILE
5588 --header=FILE[:TEMPLATE]
5589 instantiate the configuration header FILE
5591 Configuration files:
5594 Configuration headers:
5597 Configuration commands:
5600 Report bugs to <bug-autoconf@gnu.org>."
5603 cat >>$CONFIG_STATUS <<_ACEOF
5605 libfirm config.status 0.3.0
5606 configured by $0, generated by GNU Autoconf 2.59,
5607 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5609 Copyright (C) 2003 Free Software Foundation, Inc.
5610 This config.status script is free software; the Free Software Foundation
5611 gives unlimited permission to copy, distribute and modify it."
5616 cat >>$CONFIG_STATUS <<\_ACEOF
5617 # If no file are specified by the user, then we need to provide default
5618 # value. By we need to know if files were specified by the user.
5624 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5625 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5633 *) # This is not an option, so the user has probably given explicit
5636 ac_need_defaults=false;;
5640 # Handling of the options.
5642 cat >>$CONFIG_STATUS <<\_ACEOF
5643 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5645 --version | --vers* | -V )
5646 echo "$ac_cs_version"; exit 0 ;;
5648 # Conflict between --help and --header
5649 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5650 Try \`$0 --help' for more information." >&5
5651 echo "$as_me: error: ambiguous option: $1
5652 Try \`$0 --help' for more information." >&2;}
5653 { (exit 1); exit 1; }; };;
5654 --help | --hel | -h )
5655 echo "$ac_cs_usage"; exit 0 ;;
5656 --debug | --d* | -d )
5658 --file | --fil | --fi | --f )
5660 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5661 ac_need_defaults=false;;
5662 --header | --heade | --head | --hea )
5664 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5665 ac_need_defaults=false;;
5666 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5667 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5671 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5672 Try \`$0 --help' for more information." >&5
5673 echo "$as_me: error: unrecognized option: $1
5674 Try \`$0 --help' for more information." >&2;}
5675 { (exit 1); exit 1; }; } ;;
5677 *) ac_config_targets="$ac_config_targets $1" ;;
5683 ac_configure_extra_args=
5685 if $ac_cs_silent; then
5687 ac_configure_extra_args="$ac_configure_extra_args --silent"
5691 cat >>$CONFIG_STATUS <<_ACEOF
5692 if \$ac_cs_recheck; then
5693 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5694 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5703 cat >>$CONFIG_STATUS <<\_ACEOF
5704 for ac_config_target in $ac_config_targets
5706 case "$ac_config_target" in
5707 # Handling of arguments.
5708 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5709 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5710 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5711 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5712 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5713 { (exit 1); exit 1; }; };;
5717 # If the user did not use the arguments to specify the items to instantiate,
5718 # then the envvar interface is used. Set only those that are not.
5719 # We use the long form for the default assignment because of an extremely
5720 # bizarre bug on SunOS 4.1.3.
5721 if $ac_need_defaults; then
5722 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5723 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5724 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5727 # Have a temporary directory for convenience. Make it in the build tree
5728 # simply because there is no reason to put it here, and in addition,
5729 # creating and moving files from /tmp can sometimes cause problems.
5730 # Create a temporary directory, and hook for its removal unless debugging.
5733 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5734 trap '{ (exit 1); exit 1; }' 1 2 13 15
5737 # Create a (secure) tmp directory for tmp files.
5740 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5741 test -n "$tmp" && test -d "$tmp"
5744 tmp=./confstat$$-$RANDOM
5745 (umask 077 && mkdir $tmp)
5748 echo "$me: cannot create a temporary directory in ." >&2
5749 { (exit 1); exit 1; }
5754 cat >>$CONFIG_STATUS <<_ACEOF
5757 # CONFIG_FILES section.
5760 # No need to generate the scripts if there are no CONFIG_FILES.
5761 # This happens for instance when ./config.status config.h
5762 if test -n "\$CONFIG_FILES"; then
5763 # Protect against being on the right side of a sed subst in config.status.
5764 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5765 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5766 s,@SHELL@,$SHELL,;t t
5767 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5768 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5769 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5770 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5771 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5772 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5773 s,@exec_prefix@,$exec_prefix,;t t
5774 s,@prefix@,$prefix,;t t
5775 s,@program_transform_name@,$program_transform_name,;t t
5776 s,@bindir@,$bindir,;t t
5777 s,@sbindir@,$sbindir,;t t
5778 s,@libexecdir@,$libexecdir,;t t
5779 s,@datadir@,$datadir,;t t
5780 s,@sysconfdir@,$sysconfdir,;t t
5781 s,@sharedstatedir@,$sharedstatedir,;t t
5782 s,@localstatedir@,$localstatedir,;t t
5783 s,@libdir@,$libdir,;t t
5784 s,@includedir@,$includedir,;t t
5785 s,@oldincludedir@,$oldincludedir,;t t
5786 s,@infodir@,$infodir,;t t
5787 s,@mandir@,$mandir,;t t
5788 s,@build_alias@,$build_alias,;t t
5789 s,@host_alias@,$host_alias,;t t
5790 s,@target_alias@,$target_alias,;t t
5792 s,@ECHO_C@,$ECHO_C,;t t
5793 s,@ECHO_N@,$ECHO_N,;t t
5794 s,@ECHO_T@,$ECHO_T,;t t
5796 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5797 s,@plugin_subdirs@,$plugin_subdirs,;t t
5798 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5799 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5800 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5801 s,@enable_firm_jni@,$enable_firm_jni,;t t
5802 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5803 s,@disable_libiberty@,$disable_libiberty,;t t
5804 s,@enable_statistics@,$enable_statistics,;t t
5805 s,@enable_libcore@,$enable_libcore,;t t
5806 s,@enable_external_effects@,$enable_external_effects,;t t
5808 s,@CFLAGS@,$CFLAGS,;t t
5809 s,@LDFLAGS@,$LDFLAGS,;t t
5810 s,@CPPFLAGS@,$CPPFLAGS,;t t
5811 s,@ac_ct_CC@,$ac_ct_CC,;t t
5812 s,@EXEEXT@,$EXEEXT,;t t
5813 s,@OBJEXT@,$OBJEXT,;t t
5815 s,@ac_ct_LD@,$ac_ct_LD,;t t
5816 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5819 s,@RANLIB@,$RANLIB,;t t
5820 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5821 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5822 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5823 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5825 s,@DOXYGEN@,$DOXYGEN,;t t
5827 s,@JAVAC@,$JAVAC,;t t
5828 s,@JAVAH@,$JAVAH,;t t
5830 s,@EGREP@,$EGREP,;t t
5831 s,@LIBOBJS@,$LIBOBJS,;t t
5832 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5837 cat >>$CONFIG_STATUS <<\_ACEOF
5838 # Split the substitutions into bite-sized pieces for seds with
5839 # small command number limits, like on Digital OSF/1 and HP-UX.
5841 ac_sed_frag=1 # Number of current file.
5842 ac_beg=1 # First line for current file.
5843 ac_end=$ac_max_sed_lines # Line after last line for current file.
5846 while $ac_more_lines; do
5847 if test $ac_beg -gt 1; then
5848 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5850 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5852 if test ! -s $tmp/subs.frag; then
5855 # The purpose of the label and of the branching condition is to
5856 # speed up the sed processing (if there are no `@' at all, there
5857 # is no need to browse any of the substitutions).
5858 # These are the two extra sed commands mentioned above.
5860 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5861 if test -z "$ac_sed_cmds"; then
5862 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5864 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5866 ac_sed_frag=`expr $ac_sed_frag + 1`
5868 ac_end=`expr $ac_end + $ac_max_sed_lines`
5871 if test -z "$ac_sed_cmds"; then
5874 fi # test -n "$CONFIG_FILES"
5877 cat >>$CONFIG_STATUS <<\_ACEOF
5878 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5879 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5881 - | *:- | *:-:* ) # input from stdin
5883 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5884 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5885 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5886 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5887 * ) ac_file_in=$ac_file.in ;;
5890 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5891 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5892 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5893 X"$ac_file" : 'X\(//\)[^/]' \| \
5894 X"$ac_file" : 'X\(//\)$' \| \
5895 X"$ac_file" : 'X\(/\)' \| \
5896 . : '\(.\)' 2>/dev/null ||
5898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5899 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5900 /^X\(\/\/\)$/{ s//\1/; q; }
5901 /^X\(\/\).*/{ s//\1/; q; }
5903 { if $as_mkdir_p; then
5908 while test ! -d "$as_dir"; do
5909 as_dirs="$as_dir $as_dirs"
5910 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5911 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5912 X"$as_dir" : 'X\(//\)[^/]' \| \
5913 X"$as_dir" : 'X\(//\)$' \| \
5914 X"$as_dir" : 'X\(/\)' \| \
5915 . : '\(.\)' 2>/dev/null ||
5917 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5918 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5919 /^X\(\/\/\)$/{ s//\1/; q; }
5920 /^X\(\/\).*/{ s//\1/; q; }
5923 test ! -n "$as_dirs" || mkdir $as_dirs
5924 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5925 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5926 { (exit 1); exit 1; }; }; }
5930 if test "$ac_dir" != .; then
5931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5932 # A "../" for each directory in $ac_dir_suffix.
5933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5935 ac_dir_suffix= ac_top_builddir=
5939 .) # No --srcdir option. We are building in place.
5941 if test -z "$ac_top_builddir"; then
5944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5946 [\\/]* | ?:[\\/]* ) # Absolute path.
5947 ac_srcdir=$srcdir$ac_dir_suffix;
5948 ac_top_srcdir=$srcdir ;;
5950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5951 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5954 # Do not use `cd foo && pwd` to compute absolute paths, because
5955 # the directories may not exist.
5957 .) ac_abs_builddir="$ac_dir";;
5960 .) ac_abs_builddir=`pwd`;;
5961 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5962 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5965 case $ac_abs_builddir in
5966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5968 case ${ac_top_builddir}. in
5969 .) ac_abs_top_builddir=$ac_abs_builddir;;
5970 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5971 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5974 case $ac_abs_builddir in
5975 .) ac_abs_srcdir=$ac_srcdir;;
5978 .) ac_abs_srcdir=$ac_abs_builddir;;
5979 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5980 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
5983 case $ac_abs_builddir in
5984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
5986 case $ac_top_srcdir in
5987 .) ac_abs_top_srcdir=$ac_abs_builddir;;
5988 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
5989 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
5995 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5996 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5999 if test x"$ac_file" != x-; then
6000 { echo "$as_me:$LINENO: creating $ac_file" >&5
6001 echo "$as_me: creating $ac_file" >&6;}
6004 # Let's still pretend it is `configure' which instantiates (i.e., don't
6005 # use $as_me), people would be surprised to read:
6006 # /* config.h. Generated by config.status. */
6007 if test x"$ac_file" = x-; then
6010 configure_input="$ac_file. "
6012 configure_input=$configure_input"Generated from `echo $ac_file_in |
6013 sed 's,.*/,,'` by configure."
6015 # First look for the input files in the build tree, otherwise in the
6017 ac_file_inputs=`IFS=:
6018 for f in $ac_file_in; do
6020 -) echo $tmp/stdin ;;
6022 # Absolute (can't be DOS-style, as IFS=:)
6023 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6024 echo "$as_me: error: cannot find input file: $f" >&2;}
6025 { (exit 1); exit 1; }; }
6028 if test -f "$f"; then
6031 elif test -f "$srcdir/$f"; then
6036 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6037 echo "$as_me: error: cannot find input file: $f" >&2;}
6038 { (exit 1); exit 1; }; }
6041 done` || { (exit 1); exit 1; }
6043 cat >>$CONFIG_STATUS <<_ACEOF
6047 cat >>$CONFIG_STATUS <<\_ACEOF
6049 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6050 s,@configure_input@,$configure_input,;t t
6051 s,@srcdir@,$ac_srcdir,;t t
6052 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6053 s,@top_srcdir@,$ac_top_srcdir,;t t
6054 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6055 s,@builddir@,$ac_builddir,;t t
6056 s,@abs_builddir@,$ac_abs_builddir,;t t
6057 s,@top_builddir@,$ac_top_builddir,;t t
6058 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6059 s,@INSTALL@,$ac_INSTALL,;t t
6060 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6062 if test x"$ac_file" != x-; then
6063 mv $tmp/out $ac_file
6071 cat >>$CONFIG_STATUS <<\_ACEOF
6074 # CONFIG_HEADER section.
6077 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6078 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6080 # ac_d sets the value in "#define NAME VALUE" lines.
6081 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6082 ac_dB='[ ].*$,\1#\2'
6085 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6086 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6087 ac_uB='$,\1#\2define\3'
6091 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6092 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6094 - | *:- | *:-:* ) # input from stdin
6096 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6097 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6098 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6099 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6100 * ) ac_file_in=$ac_file.in ;;
6103 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6104 echo "$as_me: creating $ac_file" >&6;}
6106 # First look for the input files in the build tree, otherwise in the
6108 ac_file_inputs=`IFS=:
6109 for f in $ac_file_in; do
6111 -) echo $tmp/stdin ;;
6113 # Absolute (can't be DOS-style, as IFS=:)
6114 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6115 echo "$as_me: error: cannot find input file: $f" >&2;}
6116 { (exit 1); exit 1; }; }
6117 # Do quote $f, to prevent DOS paths from being IFS'd.
6120 if test -f "$f"; then
6123 elif test -f "$srcdir/$f"; then
6128 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6129 echo "$as_me: error: cannot find input file: $f" >&2;}
6130 { (exit 1); exit 1; }; }
6133 done` || { (exit 1); exit 1; }
6134 # Remove the trailing spaces.
6135 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6139 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6140 # `conftest.undefs', that substitutes the proper values into
6141 # config.h.in to produce config.h. The first handles `#define'
6142 # templates, and the second `#undef' templates.
6143 # And first: Protect against being on the right side of a sed subst in
6144 # config.status. Protect against being in an unquoted here document
6146 rm -f conftest.defines conftest.undefs
6147 # Using a here document instead of a string reduces the quoting nightmare.
6148 # Putting comments in sed scripts is not portable.
6150 # `end' is used to avoid that the second main sed command (meant for
6151 # 0-ary CPP macros) applies to n-ary macro definitions.
6152 # See the Autoconf documentation for `clear'.
6153 cat >confdef2sed.sed <<\_ACEOF
6158 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6160 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6163 # If some macros were called several times there might be several times
6164 # the same #defines, which is useless. Nevertheless, we may not want to
6165 # sort them, since we want the *last* AC-DEFINE to be honored.
6166 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6167 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6168 rm -f confdef2sed.sed
6170 # This sed command replaces #undef with comments. This is necessary, for
6171 # example, in the case of _POSIX_SOURCE, which is predefined and required
6172 # on some systems where configure will not decide to define it.
6173 cat >>conftest.undefs <<\_ACEOF
6174 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6177 # Break up conftest.defines because some shells have a limit on the size
6178 # of here documents, and old seds have small limits too (100 cmds).
6179 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6180 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6181 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6182 echo ' :' >>$CONFIG_STATUS
6184 while grep . conftest.defines >/dev/null
6186 # Write a limited-size here document to $tmp/defines.sed.
6187 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6188 # Speed up: don't consider the non `#define' lines.
6189 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6190 # Work around the forget-to-reset-the-flag bug.
6191 echo 't clr' >>$CONFIG_STATUS
6192 echo ': clr' >>$CONFIG_STATUS
6193 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6195 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6199 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6200 rm -f conftest.defines
6201 mv conftest.tail conftest.defines
6203 rm -f conftest.defines
6204 echo ' fi # grep' >>$CONFIG_STATUS
6205 echo >>$CONFIG_STATUS
6207 # Break up conftest.undefs because some shells have a limit on the size
6208 # of here documents, and old seds have small limits too (100 cmds).
6209 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6211 while grep . conftest.undefs >/dev/null
6213 # Write a limited-size here document to $tmp/undefs.sed.
6214 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6215 # Speed up: don't consider the non `#undef'
6216 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6217 # Work around the forget-to-reset-the-flag bug.
6218 echo 't clr' >>$CONFIG_STATUS
6219 echo ': clr' >>$CONFIG_STATUS
6220 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6222 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6226 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6227 rm -f conftest.undefs
6228 mv conftest.tail conftest.undefs
6230 rm -f conftest.undefs
6232 cat >>$CONFIG_STATUS <<\_ACEOF
6233 # Let's still pretend it is `configure' which instantiates (i.e., don't
6234 # use $as_me), people would be surprised to read:
6235 # /* config.h. Generated by config.status. */
6236 if test x"$ac_file" = x-; then
6237 echo "/* Generated by configure. */" >$tmp/config.h
6239 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6241 cat $tmp/in >>$tmp/config.h
6243 if test x"$ac_file" != x-; then
6244 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6245 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6246 echo "$as_me: $ac_file is unchanged" >&6;}
6248 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6249 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6250 X"$ac_file" : 'X\(//\)[^/]' \| \
6251 X"$ac_file" : 'X\(//\)$' \| \
6252 X"$ac_file" : 'X\(/\)' \| \
6253 . : '\(.\)' 2>/dev/null ||
6255 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6256 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6257 /^X\(\/\/\)$/{ s//\1/; q; }
6258 /^X\(\/\).*/{ s//\1/; q; }
6260 { if $as_mkdir_p; then
6265 while test ! -d "$as_dir"; do
6266 as_dirs="$as_dir $as_dirs"
6267 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6268 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6269 X"$as_dir" : 'X\(//\)[^/]' \| \
6270 X"$as_dir" : 'X\(//\)$' \| \
6271 X"$as_dir" : 'X\(/\)' \| \
6272 . : '\(.\)' 2>/dev/null ||
6274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6275 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6276 /^X\(\/\/\)$/{ s//\1/; q; }
6277 /^X\(\/\).*/{ s//\1/; q; }
6280 test ! -n "$as_dirs" || mkdir $as_dirs
6281 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6282 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6283 { (exit 1); exit 1; }; }; }
6286 mv $tmp/config.h $ac_file
6294 cat >>$CONFIG_STATUS <<\_ACEOF
6297 # CONFIG_COMMANDS section.
6299 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6300 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6301 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6302 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6303 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6304 X"$ac_dest" : 'X\(//\)[^/]' \| \
6305 X"$ac_dest" : 'X\(//\)$' \| \
6306 X"$ac_dest" : 'X\(/\)' \| \
6307 . : '\(.\)' 2>/dev/null ||
6309 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6310 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6311 /^X\(\/\/\)$/{ s//\1/; q; }
6312 /^X\(\/\).*/{ s//\1/; q; }
6314 { if $as_mkdir_p; then
6319 while test ! -d "$as_dir"; do
6320 as_dirs="$as_dir $as_dirs"
6321 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6322 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6323 X"$as_dir" : 'X\(//\)[^/]' \| \
6324 X"$as_dir" : 'X\(//\)$' \| \
6325 X"$as_dir" : 'X\(/\)' \| \
6326 . : '\(.\)' 2>/dev/null ||
6328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6330 /^X\(\/\/\)$/{ s//\1/; q; }
6331 /^X\(\/\).*/{ s//\1/; q; }
6334 test ! -n "$as_dirs" || mkdir $as_dirs
6335 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6336 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6337 { (exit 1); exit 1; }; }; }
6341 if test "$ac_dir" != .; then
6342 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6343 # A "../" for each directory in $ac_dir_suffix.
6344 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6346 ac_dir_suffix= ac_top_builddir=
6350 .) # No --srcdir option. We are building in place.
6352 if test -z "$ac_top_builddir"; then
6355 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6357 [\\/]* | ?:[\\/]* ) # Absolute path.
6358 ac_srcdir=$srcdir$ac_dir_suffix;
6359 ac_top_srcdir=$srcdir ;;
6361 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6362 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6365 # Do not use `cd foo && pwd` to compute absolute paths, because
6366 # the directories may not exist.
6368 .) ac_abs_builddir="$ac_dir";;
6371 .) ac_abs_builddir=`pwd`;;
6372 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6373 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6376 case $ac_abs_builddir in
6377 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6379 case ${ac_top_builddir}. in
6380 .) ac_abs_top_builddir=$ac_abs_builddir;;
6381 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6382 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6385 case $ac_abs_builddir in
6386 .) ac_abs_srcdir=$ac_srcdir;;
6389 .) ac_abs_srcdir=$ac_abs_builddir;;
6390 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6391 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6394 case $ac_abs_builddir in
6395 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6397 case $ac_top_srcdir in
6398 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6399 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6400 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6405 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6406 echo "$as_me: executing $ac_dest commands" >&6;}
6408 default ) touch stamp-h ;;
6413 cat >>$CONFIG_STATUS <<\_ACEOF
6415 { (exit 0); exit 0; }
6417 chmod +x $CONFIG_STATUS
6418 ac_clean_files=$ac_clean_files_save
6421 # configure is writing to config.log, and then calls config.status.
6422 # config.status does its own redirection, appending to config.log.
6423 # Unfortunately, on DOS this fails, as config.log is still kept open
6424 # by configure, so config.status won't be able to write to it; its
6425 # output is simply discarded. So we exec the FD to /dev/null,
6426 # effectively closing config.log, so it can be properly (re)opened and
6427 # appended to by config.status. When coming back to configure, we
6428 # need to make the FD available again.
6429 if test "$no_create" != yes; then
6431 ac_config_status_args=
6432 test "$silent" = yes &&
6433 ac_config_status_args="$ac_config_status_args --quiet"
6435 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6437 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6438 # would make configure fail if this is the last instruction.
6439 $ac_cs_success || { (exit 1); exit 1; }
6443 gawk -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h