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 --disable-inplace-edges disable Firm inplace edges
854 --enable-statistics enable Firm statistics
855 --enable-libcore enable libcore debugging
856 --disable-external-effects disable descriptions of external effects in XML
859 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
860 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
861 --with-plugins=list include external libfirm plugins list (space separated)
862 --with-includedir=add colon seperated list of directories to include search path
863 --with-libdir=add colon seperated list of directories to linker search path
864 --with-libxml2=prefix installation prefix of libxml2 (IPD: --with-libxml2=/usr/public/libxml2)
866 Some influential environment variables:
867 CC C compiler command
868 CFLAGS C compiler flags
869 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
870 nonstandard directory <lib dir>
871 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
872 headers in a nonstandard directory <include dir>
875 Use these variables to override the choices made by `configure' or to help
876 it to find libraries and programs with nonstandard names/locations.
881 if test "$ac_init_help" = "recursive"; then
882 # If there are subdirs, report their specific --help.
884 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
885 test -d $ac_dir || continue
888 if test "$ac_dir" != .; then
889 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
890 # A "../" for each directory in $ac_dir_suffix.
891 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893 ac_dir_suffix= ac_top_builddir=
897 .) # No --srcdir option. We are building in place.
899 if test -z "$ac_top_builddir"; then
902 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
904 [\\/]* | ?:[\\/]* ) # Absolute path.
905 ac_srcdir=$srcdir$ac_dir_suffix;
906 ac_top_srcdir=$srcdir ;;
908 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
909 ac_top_srcdir=$ac_top_builddir$srcdir ;;
912 # Do not use `cd foo && pwd` to compute absolute paths, because
913 # the directories may not exist.
915 .) ac_abs_builddir="$ac_dir";;
918 .) ac_abs_builddir=`pwd`;;
919 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
920 *) ac_abs_builddir=`pwd`/"$ac_dir";;
923 case $ac_abs_builddir in
924 .) ac_abs_top_builddir=${ac_top_builddir}.;;
926 case ${ac_top_builddir}. in
927 .) ac_abs_top_builddir=$ac_abs_builddir;;
928 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
929 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
932 case $ac_abs_builddir in
933 .) ac_abs_srcdir=$ac_srcdir;;
936 .) ac_abs_srcdir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
938 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941 case $ac_abs_builddir in
942 .) ac_abs_top_srcdir=$ac_top_srcdir;;
944 case $ac_top_srcdir in
945 .) ac_abs_top_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
947 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
952 # Check for guested configure; otherwise get Cygnus style configure.
953 if test -f $ac_srcdir/configure.gnu; then
955 $SHELL $ac_srcdir/configure.gnu --help=recursive
956 elif test -f $ac_srcdir/configure; then
958 $SHELL $ac_srcdir/configure --help=recursive
959 elif test -f $ac_srcdir/configure.ac ||
960 test -f $ac_srcdir/configure.in; then
964 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970 test -n "$ac_init_help" && exit 0
971 if $ac_init_version; then
973 libfirm configure 0.3.0
974 generated by GNU Autoconf 2.59
976 Copyright (C) 2003 Free Software Foundation, Inc.
977 This configure script is free software; the Free Software Foundation
978 gives unlimited permission to copy, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by libfirm $as_me 0.3.0, which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1000 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1001 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1002 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1003 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1006 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1008 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1009 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1011 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1012 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1013 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1014 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next=false
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true; then
1065 ac_must_keep_next=false # Got value, back to normal.
1068 *=* | --config-cache | -C | -disable-* | --disable-* \
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071 | -with-* | --with-* | -without-* | --without-* | --x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next=true ;;
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close' the trap.
1094 trap 'exit_status=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var in $ac_subst_vars
1130 eval ac_val=$`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var in $ac_subst_files
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h; then
1157 sed "/^$/d" confdefs.h | sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core *.core &&
1165 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1168 for ac_signal in 1 2 13 15; do
1169 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE; then
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's/^/| /' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?:[\\/]* ) . $cache_file;;
1231 *) . ./$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted=false
1243 for ac_var in `(set) 2>&1 |
1244 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246 eval ac_new_set=\$ac_env_${ac_var}_set
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1253 ac_cache_corrupted=: ;;
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1262 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1263 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1264 echo "$as_me: former value: $ac_old_val" >&2;}
1265 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1266 echo "$as_me: current value: $ac_new_val" >&2;}
1267 ac_cache_corrupted=:
1270 # Pass precious variables to config.status.
1271 if test "$ac_new_set" = set; then
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 *) ac_arg=$ac_var=$ac_new_val ;;
1277 case " $ac_configure_args " in
1278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1279 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1283 if $ac_cache_corrupted; then
1284 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1286 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1287 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1288 { (exit 1); exit 1; }; }
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1325 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1326 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1327 ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
1328 ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
1330 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1333 ac_config_headers="$ac_config_headers config.h"
1336 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1339 CONF_DIR_NAME=`dirname $0`
1342 echo "$as_me:$LINENO: checking for external libfirm plugins" >&5
1343 echo $ECHO_N "checking for external libfirm plugins... $ECHO_C" >&6
1345 # Check whether --with-plugins or --without-plugins was given.
1346 if test "${with_plugins+set}" = set; then
1347 withval="$with_plugins"
1349 plugin_subdirs=$withval
1351 for i in $withval ; do
1352 plugin_files="$i/Makefile $plugin_files"
1354 ac_output_file="$ac_output_file $plugin_files"
1363 if test "$plugin_subdirs" == ""; then
1364 echo "$as_me:$LINENO: result: disabled" >&5
1365 echo "${ECHO_T}disabled" >&6
1367 echo "$as_me:$LINENO: result: $plugin_subdirs" >&5
1368 echo "${ECHO_T}$plugin_subdirs" >&6
1372 # Check whether --with-includedir or --without-includedir was given.
1373 if test "${with_includedir+set}" = set; then
1374 withval="$with_includedir"
1375 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1379 # Check whether --with-libdir or --without-libdir was given.
1380 if test "${with_libdir+set}" = set; then
1381 withval="$with_libdir"
1382 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1386 # Check whether --with-libxml2 or --without-libxml2 was given.
1387 if test "${with_libxml2+set}" = set; then
1388 withval="$with_libxml2"
1389 LDFLAGS=$LDFLAGS" -L"$withval"/lib";
1390 CPPFLAGS=$CPPFLAGS" -I"$withval"/include/libxml2"
1393 # Check whether --enable-debug or --disable-debug was given.
1394 if test "${enable_debug+set}" = set; then
1395 enableval="$enable_debug"
1396 if test "$enableval" = yes; then
1397 cat >>confdefs.h <<\_ACEOF
1398 #define DEBUG_libfirm 1
1402 cat >>confdefs.h <<\_ACEOF
1410 # Check whether --enable-inlining or --disable-inlining was given.
1411 if test "${enable_inlining+set}" = set; then
1412 enableval="$enable_inlining"
1413 if test "$enableval" = yes; then
1414 cat >>confdefs.h <<\_ACEOF
1415 #define USE_INLINING 1
1420 cat >>confdefs.h <<\_ACEOF
1421 #define USE_INLINING 1
1427 # Check whether --enable-profile or --disable-profile was given.
1428 if test "${enable_profile+set}" = set; then
1429 enableval="$enable_profile"
1430 if test "$enableval"=yes; then
1431 enable_profile_libfirm=yes
1434 enable_profile_libfirm=no
1438 # Check whether --enable-autodoc or --disable-autodoc was given.
1439 if test "${enable_autodoc+set}" = set; then
1440 enableval="$enable_autodoc"
1441 if test "$enableval"=yes; then
1442 enable_auto_documentation=yes
1445 enable_auto_documentation=no
1450 # Check whether --enable-firmjni or --disable-firmjni was given.
1451 if test "${enable_firmjni+set}" = set; then
1452 enableval="$enable_firmjni"
1453 if test "$enableval"=yes; then
1461 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1462 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1463 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1464 if test "${enable_heapanalysis+set}" = set; then
1465 enableval="$enable_heapanalysis"
1466 enable_heapanalysis=$enableval
1468 enable_heapanalysis="no"
1470 if test "$enable_heapanalysis" = "no"; then
1471 echo "$as_me:$LINENO: result: disabled" >&5
1472 echo "${ECHO_T}disabled" >&6
1474 cat >>confdefs.h <<\_ACEOF
1475 #define DO_HEAPANALYSIS 1
1478 echo "$as_me:$LINENO: result: enabled" >&5
1479 echo "${ECHO_T}enabled" >&6
1483 # Check whether --enable-libiberty or --disable-libiberty was given.
1484 if test "${enable_libiberty+set}" = set; then
1485 enableval="$enable_libiberty"
1486 if test "$enableval"=yes; then
1487 disable_libiberty=yes
1490 disable_libiberty=no
1494 # Check whether --enable-hooks or --disable-hooks was given.
1495 if test "${enable_hooks+set}" = set; then
1496 enableval="$enable_hooks"
1497 if test "$enableval" = yes; then
1498 cat >>confdefs.h <<\_ACEOF
1499 #define FIRM_ENABLE_HOOKS 1
1504 cat >>confdefs.h <<\_ACEOF
1505 #define FIRM_ENABLE_HOOKS 1
1511 # Check whether --enable-inplace_edges or --disable-inplace_edges was given.
1512 if test "${enable_inplace_edges+set}" = set; then
1513 enableval="$enable_inplace_edges"
1514 if test "$enableval" = yes; then
1515 cat >>confdefs.h <<\_ACEOF
1516 #define FIRM_EDGES_INPLACE 1
1521 cat >>confdefs.h <<\_ACEOF
1522 #define FIRM_EDGES_INPLACE 1
1528 # Check whether --enable-statistics or --disable-statistics was given.
1529 if test "${enable_statistics+set}" = set; then
1530 enableval="$enable_statistics"
1531 if test "$enableval"=yes; then
1532 cat >>confdefs.h <<\_ACEOF
1533 #define FIRM_STATISTICS 1
1540 # Check whether --enable-libcore or --disable-libcore was given.
1541 if test "${enable_libcore+set}" = set; then
1542 enableval="$enable_libcore"
1543 if test "$enableval"=yes; then
1544 cat >>confdefs.h <<\_ACEOF
1545 #define WITH_LIBCORE 1
1552 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1553 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1554 # Check whether --enable-external-effects or --disable-external-effects was given.
1555 if test "${enable_external_effects+set}" = set; then
1556 enableval="$enable_external_effects"
1557 if test "$enableval"="no"; then
1558 enable_external_effects=no
1561 enable_external_effects=yes
1564 if test "$enable_external_effects" == no; then
1565 echo "$as_me:$LINENO: result: disabled" >&5
1566 echo "${ECHO_T}disabled" >&6
1568 echo "$as_me:$LINENO: result: enabled" >&5
1569 echo "${ECHO_T}enabled" >&6
1574 ac_cpp='$CPP $CPPFLAGS'
1575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1578 if test -n "$ac_tool_prefix"; then
1579 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1580 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1581 echo "$as_me:$LINENO: checking for $ac_word" >&5
1582 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1583 if test "${ac_cv_prog_CC+set}" = set; then
1584 echo $ECHO_N "(cached) $ECHO_C" >&6
1586 if test -n "$CC"; then
1587 ac_cv_prog_CC="$CC" # Let the user override the test.
1589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir=.
1594 for ac_exec_ext in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1596 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1597 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1606 if test -n "$CC"; then
1607 echo "$as_me:$LINENO: result: $CC" >&5
1608 echo "${ECHO_T}$CC" >&6
1610 echo "$as_me:$LINENO: result: no" >&5
1611 echo "${ECHO_T}no" >&6
1615 if test -z "$ac_cv_prog_CC"; then
1617 # Extract the first word of "gcc", so it can be a program name with args.
1618 set dummy gcc; ac_word=$2
1619 echo "$as_me:$LINENO: checking for $ac_word" >&5
1620 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1621 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1622 echo $ECHO_N "(cached) $ECHO_C" >&6
1624 if test -n "$ac_ct_CC"; then
1625 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1631 test -z "$as_dir" && as_dir=.
1632 for ac_exec_ext in '' $ac_executable_extensions; do
1633 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1634 ac_cv_prog_ac_ct_CC="gcc"
1635 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1643 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1644 if test -n "$ac_ct_CC"; then
1645 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1646 echo "${ECHO_T}$ac_ct_CC" >&6
1648 echo "$as_me:$LINENO: result: no" >&5
1649 echo "${ECHO_T}no" >&6
1657 if test -z "$CC"; then
1658 if test -n "$ac_tool_prefix"; then
1659 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1660 set dummy ${ac_tool_prefix}cc; ac_word=$2
1661 echo "$as_me:$LINENO: checking for $ac_word" >&5
1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1663 if test "${ac_cv_prog_CC+set}" = set; then
1664 echo $ECHO_N "(cached) $ECHO_C" >&6
1666 if test -n "$CC"; then
1667 ac_cv_prog_CC="$CC" # Let the user override the test.
1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1673 test -z "$as_dir" && as_dir=.
1674 for ac_exec_ext in '' $ac_executable_extensions; do
1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1676 ac_cv_prog_CC="${ac_tool_prefix}cc"
1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1686 if test -n "$CC"; then
1687 echo "$as_me:$LINENO: result: $CC" >&5
1688 echo "${ECHO_T}$CC" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1695 if test -z "$ac_cv_prog_CC"; then
1697 # Extract the first word of "cc", so it can be a program name with args.
1698 set dummy cc; ac_word=$2
1699 echo "$as_me:$LINENO: checking for $ac_word" >&5
1700 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1701 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1702 echo $ECHO_N "(cached) $ECHO_C" >&6
1704 if test -n "$ac_ct_CC"; then
1705 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1711 test -z "$as_dir" && as_dir=.
1712 for ac_exec_ext in '' $ac_executable_extensions; do
1713 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1714 ac_cv_prog_ac_ct_CC="cc"
1715 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1724 if test -n "$ac_ct_CC"; then
1725 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1726 echo "${ECHO_T}$ac_ct_CC" >&6
1728 echo "$as_me:$LINENO: result: no" >&5
1729 echo "${ECHO_T}no" >&6
1738 if test -z "$CC"; then
1739 # Extract the first word of "cc", so it can be a program name with args.
1740 set dummy cc; ac_word=$2
1741 echo "$as_me:$LINENO: checking for $ac_word" >&5
1742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1743 if test "${ac_cv_prog_CC+set}" = set; then
1744 echo $ECHO_N "(cached) $ECHO_C" >&6
1746 if test -n "$CC"; then
1747 ac_cv_prog_CC="$CC" # Let the user override the test.
1750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1754 test -z "$as_dir" && as_dir=.
1755 for ac_exec_ext in '' $ac_executable_extensions; do
1756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1757 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1758 ac_prog_rejected=yes
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1768 if test $ac_prog_rejected = yes; then
1769 # We found a bogon in the path, so make sure we never use it.
1770 set dummy $ac_cv_prog_CC
1772 if test $# != 0; then
1773 # We chose a different compiler from the bogus one.
1774 # However, it has the same basename, so the bogon will be chosen
1775 # first if we set CC to just the basename; use the full file name.
1777 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1783 if test -n "$CC"; then
1784 echo "$as_me:$LINENO: result: $CC" >&5
1785 echo "${ECHO_T}$CC" >&6
1787 echo "$as_me:$LINENO: result: no" >&5
1788 echo "${ECHO_T}no" >&6
1792 if test -z "$CC"; then
1793 if test -n "$ac_tool_prefix"; then
1796 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1797 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1798 echo "$as_me:$LINENO: checking for $ac_word" >&5
1799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1800 if test "${ac_cv_prog_CC+set}" = set; then
1801 echo $ECHO_N "(cached) $ECHO_C" >&6
1803 if test -n "$CC"; then
1804 ac_cv_prog_CC="$CC" # Let the user override the test.
1806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1810 test -z "$as_dir" && as_dir=.
1811 for ac_exec_ext in '' $ac_executable_extensions; do
1812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1813 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1823 if test -n "$CC"; then
1824 echo "$as_me:$LINENO: result: $CC" >&5
1825 echo "${ECHO_T}$CC" >&6
1827 echo "$as_me:$LINENO: result: no" >&5
1828 echo "${ECHO_T}no" >&6
1831 test -n "$CC" && break
1834 if test -z "$CC"; then
1838 # Extract the first word of "$ac_prog", so it can be a program name with args.
1839 set dummy $ac_prog; ac_word=$2
1840 echo "$as_me:$LINENO: checking for $ac_word" >&5
1841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1842 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1843 echo $ECHO_N "(cached) $ECHO_C" >&6
1845 if test -n "$ac_ct_CC"; then
1846 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1852 test -z "$as_dir" && as_dir=.
1853 for ac_exec_ext in '' $ac_executable_extensions; do
1854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1855 ac_cv_prog_ac_ct_CC="$ac_prog"
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1864 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1865 if test -n "$ac_ct_CC"; then
1866 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1867 echo "${ECHO_T}$ac_ct_CC" >&6
1869 echo "$as_me:$LINENO: result: no" >&5
1870 echo "${ECHO_T}no" >&6
1873 test -n "$ac_ct_CC" && break
1882 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1883 See \`config.log' for more details." >&5
1884 echo "$as_me: error: no acceptable C compiler found in \$PATH
1885 See \`config.log' for more details." >&2;}
1886 { (exit 1); exit 1; }; }
1888 # Provide some information about the compiler.
1889 echo "$as_me:$LINENO:" \
1890 "checking for C compiler version" >&5
1891 ac_compiler=`set X $ac_compile; echo $2`
1892 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1893 (eval $ac_compiler --version </dev/null >&5) 2>&5
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); }
1897 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1898 (eval $ac_compiler -v </dev/null >&5) 2>&5
1900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1901 (exit $ac_status); }
1902 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1903 (eval $ac_compiler -V </dev/null >&5) 2>&5
1905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1906 (exit $ac_status); }
1908 cat >conftest.$ac_ext <<_ACEOF
1911 cat confdefs.h >>conftest.$ac_ext
1912 cat >>conftest.$ac_ext <<_ACEOF
1913 /* end confdefs.h. */
1923 ac_clean_files_save=$ac_clean_files
1924 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1925 # Try to create an executable without -o first, disregard a.out.
1926 # It will help us diagnose broken compilers, and finding out an intuition
1928 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1929 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1930 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1931 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1932 (eval $ac_link_default) 2>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }; then
1936 # Find the output, starting from the most likely. This scheme is
1937 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1940 # Be careful to initialize this variable, since it used to be cached.
1941 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1943 # b.out is created by i960 compilers.
1944 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1946 test -f "$ac_file" || continue
1948 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1951 # This is the source file.
1954 # We found the default executable, but exeext='' is most
1958 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1959 # FIXME: I believe we export ac_cv_exeext for Libtool,
1960 # but it would be cool to find out if it's true. Does anybody
1961 # maintain Libtool? --akim.
1969 echo "$as_me: failed program was:" >&5
1970 sed 's/^/| /' conftest.$ac_ext >&5
1972 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1973 See \`config.log' for more details." >&5
1974 echo "$as_me: error: C compiler cannot create executables
1975 See \`config.log' for more details." >&2;}
1976 { (exit 77); exit 77; }; }
1979 ac_exeext=$ac_cv_exeext
1980 echo "$as_me:$LINENO: result: $ac_file" >&5
1981 echo "${ECHO_T}$ac_file" >&6
1983 # Check the compiler produces executables we can run. If not, either
1984 # the compiler is broken, or we cross compile.
1985 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1986 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1987 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1988 # If not cross compiling, check that we can run a simple program.
1989 if test "$cross_compiling" != yes; then
1990 if { ac_try='./$ac_file'
1991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); }; }; then
1998 if test "$cross_compiling" = maybe; then
2001 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2002 If you meant to cross compile, use \`--host'.
2003 See \`config.log' for more details." >&5
2004 echo "$as_me: error: cannot run C compiled programs.
2005 If you meant to cross compile, use \`--host'.
2006 See \`config.log' for more details." >&2;}
2007 { (exit 1); exit 1; }; }
2011 echo "$as_me:$LINENO: result: yes" >&5
2012 echo "${ECHO_T}yes" >&6
2014 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2015 ac_clean_files=$ac_clean_files_save
2016 # Check the compiler produces executables we can run. If not, either
2017 # the compiler is broken, or we cross compile.
2018 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2019 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2020 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2021 echo "${ECHO_T}$cross_compiling" >&6
2023 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2024 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2026 (eval $ac_link) 2>&5
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }; then
2030 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2031 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2032 # work properly (i.e., refer to `conftest.exe'), while it won't with
2034 for ac_file in conftest.exe conftest conftest.*; do
2035 test -f "$ac_file" || continue
2037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2038 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2045 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2046 See \`config.log' for more details." >&5
2047 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2048 See \`config.log' for more details." >&2;}
2049 { (exit 1); exit 1; }; }
2052 rm -f conftest$ac_cv_exeext
2053 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2054 echo "${ECHO_T}$ac_cv_exeext" >&6
2056 rm -f conftest.$ac_ext
2057 EXEEXT=$ac_cv_exeext
2059 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2060 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2061 if test "${ac_cv_objext+set}" = set; then
2062 echo $ECHO_N "(cached) $ECHO_C" >&6
2064 cat >conftest.$ac_ext <<_ACEOF
2067 cat confdefs.h >>conftest.$ac_ext
2068 cat >>conftest.$ac_ext <<_ACEOF
2069 /* end confdefs.h. */
2079 rm -f conftest.o conftest.obj
2080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2081 (eval $ac_compile) 2>&5
2083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2084 (exit $ac_status); }; then
2085 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2087 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2088 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2093 echo "$as_me: failed program was:" >&5
2094 sed 's/^/| /' conftest.$ac_ext >&5
2096 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2097 See \`config.log' for more details." >&5
2098 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2099 See \`config.log' for more details." >&2;}
2100 { (exit 1); exit 1; }; }
2103 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2105 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2106 echo "${ECHO_T}$ac_cv_objext" >&6
2107 OBJEXT=$ac_cv_objext
2109 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2110 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2111 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2112 echo $ECHO_N "(cached) $ECHO_C" >&6
2114 cat >conftest.$ac_ext <<_ACEOF
2117 cat confdefs.h >>conftest.$ac_ext
2118 cat >>conftest.$ac_ext <<_ACEOF
2119 /* end confdefs.h. */
2132 rm -f conftest.$ac_objext
2133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2134 (eval $ac_compile) 2>conftest.er1
2136 grep -v '^ *+' conftest.er1 >conftest.err
2138 cat conftest.err >&5
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); } &&
2141 { ac_try='test -z "$ac_c_werror_flag"
2142 || test ! -s conftest.err'
2143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2147 (exit $ac_status); }; } &&
2148 { ac_try='test -s conftest.$ac_objext'
2149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2153 (exit $ac_status); }; }; then
2156 echo "$as_me: failed program was:" >&5
2157 sed 's/^/| /' conftest.$ac_ext >&5
2161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2162 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2165 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2166 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2167 GCC=`test $ac_compiler_gnu = yes && echo yes`
2168 ac_test_CFLAGS=${CFLAGS+set}
2169 ac_save_CFLAGS=$CFLAGS
2171 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2172 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2173 if test "${ac_cv_prog_cc_g+set}" = set; then
2174 echo $ECHO_N "(cached) $ECHO_C" >&6
2176 cat >conftest.$ac_ext <<_ACEOF
2179 cat confdefs.h >>conftest.$ac_ext
2180 cat >>conftest.$ac_ext <<_ACEOF
2181 /* end confdefs.h. */
2191 rm -f conftest.$ac_objext
2192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2193 (eval $ac_compile) 2>conftest.er1
2195 grep -v '^ *+' conftest.er1 >conftest.err
2197 cat conftest.err >&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); } &&
2200 { ac_try='test -z "$ac_c_werror_flag"
2201 || test ! -s conftest.err'
2202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2206 (exit $ac_status); }; } &&
2207 { ac_try='test -s conftest.$ac_objext'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; }; then
2215 echo "$as_me: failed program was:" >&5
2216 sed 's/^/| /' conftest.$ac_ext >&5
2220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2222 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2223 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2224 if test "$ac_test_CFLAGS" = set; then
2225 CFLAGS=$ac_save_CFLAGS
2226 elif test $ac_cv_prog_cc_g = yes; then
2227 if test "$GCC" = yes; then
2233 if test "$GCC" = yes; then
2239 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2240 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2241 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2242 echo $ECHO_N "(cached) $ECHO_C" >&6
2244 ac_cv_prog_cc_stdc=no
2246 cat >conftest.$ac_ext <<_ACEOF
2249 cat confdefs.h >>conftest.$ac_ext
2250 cat >>conftest.$ac_ext <<_ACEOF
2251 /* end confdefs.h. */
2254 #include <sys/types.h>
2255 #include <sys/stat.h>
2256 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2257 struct buf { int x; };
2258 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2259 static char *e (p, i)
2265 static char *f (char * (*g) (char **, int), char **p, ...)
2270 s = g (p, va_arg (v,int));
2275 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2276 function prototypes and stuff, but not '\xHH' hex character constants.
2277 These don't provoke an error unfortunately, instead are silently treated
2278 as 'x'. The following induces an error, until -std1 is added to get
2279 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2280 array size at least. It's necessary to write '\x00'==0 to get something
2281 that's true only with -std1. */
2282 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2284 int test (int i, double x);
2285 struct s1 {int (*f) (int a);};
2286 struct s2 {int (*f) (double a);};
2287 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2293 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2298 # Don't try gcc -ansi; that turns off useful extensions and
2299 # breaks some systems' header files.
2300 # AIX -qlanglvl=ansi
2301 # Ultrix and OSF/1 -std1
2302 # HP-UX 10.20 and later -Ae
2303 # HP-UX older versions -Aa -D_HPUX_SOURCE
2304 # SVR4 -Xc -D__EXTENSIONS__
2305 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2307 CC="$ac_save_CC $ac_arg"
2308 rm -f conftest.$ac_objext
2309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2310 (eval $ac_compile) 2>conftest.er1
2312 grep -v '^ *+' conftest.er1 >conftest.err
2314 cat conftest.err >&5
2315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2316 (exit $ac_status); } &&
2317 { ac_try='test -z "$ac_c_werror_flag"
2318 || test ! -s conftest.err'
2319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2323 (exit $ac_status); }; } &&
2324 { ac_try='test -s conftest.$ac_objext'
2325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2329 (exit $ac_status); }; }; then
2330 ac_cv_prog_cc_stdc=$ac_arg
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.$ac_ext >&5
2337 rm -f conftest.err conftest.$ac_objext
2339 rm -f conftest.$ac_ext conftest.$ac_objext
2344 case "x$ac_cv_prog_cc_stdc" in
2346 echo "$as_me:$LINENO: result: none needed" >&5
2347 echo "${ECHO_T}none needed" >&6 ;;
2349 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2350 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2351 CC="$CC $ac_cv_prog_cc_stdc" ;;
2354 # Some people use a C++ compiler to compile C. Since we use `exit',
2355 # in C++ we need to declare it. In case someone uses the same compiler
2356 # for both compiling C and C++ we need to have the C++ compiler decide
2357 # the declaration of exit, since it's the most demanding environment.
2358 cat >conftest.$ac_ext <<_ACEOF
2363 rm -f conftest.$ac_objext
2364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2365 (eval $ac_compile) 2>conftest.er1
2367 grep -v '^ *+' conftest.er1 >conftest.err
2369 cat conftest.err >&5
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); } &&
2372 { ac_try='test -z "$ac_c_werror_flag"
2373 || test ! -s conftest.err'
2374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2378 (exit $ac_status); }; } &&
2379 { ac_try='test -s conftest.$ac_objext'
2380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; }; then
2385 for ac_declaration in \
2387 'extern "C" void std::exit (int) throw (); using std::exit;' \
2388 'extern "C" void std::exit (int); using std::exit;' \
2389 'extern "C" void exit (int) throw ();' \
2390 'extern "C" void exit (int);' \
2393 cat >conftest.$ac_ext <<_ACEOF
2396 cat confdefs.h >>conftest.$ac_ext
2397 cat >>conftest.$ac_ext <<_ACEOF
2398 /* end confdefs.h. */
2409 rm -f conftest.$ac_objext
2410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2413 grep -v '^ *+' conftest.er1 >conftest.err
2415 cat conftest.err >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try='test -z "$ac_c_werror_flag"
2419 || test ! -s conftest.err'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; } &&
2425 { ac_try='test -s conftest.$ac_objext'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; }; then
2433 echo "$as_me: failed program was:" >&5
2434 sed 's/^/| /' conftest.$ac_ext >&5
2438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2439 cat >conftest.$ac_ext <<_ACEOF
2442 cat confdefs.h >>conftest.$ac_ext
2443 cat >>conftest.$ac_ext <<_ACEOF
2444 /* end confdefs.h. */
2454 rm -f conftest.$ac_objext
2455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2456 (eval $ac_compile) 2>conftest.er1
2458 grep -v '^ *+' conftest.er1 >conftest.err
2460 cat conftest.err >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); } &&
2463 { ac_try='test -z "$ac_c_werror_flag"
2464 || test ! -s conftest.err'
2465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2469 (exit $ac_status); }; } &&
2470 { ac_try='test -s conftest.$ac_objext'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; }; then
2478 echo "$as_me: failed program was:" >&5
2479 sed 's/^/| /' conftest.$ac_ext >&5
2482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2485 if test -n "$ac_declaration"; then
2486 echo '#ifdef __cplusplus' >>confdefs.h
2487 echo $ac_declaration >>confdefs.h
2488 echo '#endif' >>confdefs.h
2492 echo "$as_me: failed program was:" >&5
2493 sed 's/^/| /' conftest.$ac_ext >&5
2496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2498 ac_cpp='$CPP $CPPFLAGS'
2499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2505 if test -z "$LD"; then
2506 if test -n "$ac_tool_prefix"; then
2507 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2508 set dummy ${ac_tool_prefix}ld; ac_word=$2
2509 echo "$as_me:$LINENO: checking for $ac_word" >&5
2510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2511 if test "${ac_cv_prog_LD+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2514 if test -n "$LD"; then
2515 ac_cv_prog_LD="$LD" # Let the user override the test.
2517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2521 test -z "$as_dir" && as_dir=.
2522 for ac_exec_ext in '' $ac_executable_extensions; do
2523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2524 ac_cv_prog_LD="${ac_tool_prefix}ld"
2525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2534 if test -n "$LD"; then
2535 echo "$as_me:$LINENO: result: $LD" >&5
2536 echo "${ECHO_T}$LD" >&6
2538 echo "$as_me:$LINENO: result: no" >&5
2539 echo "${ECHO_T}no" >&6
2543 if test -z "$ac_cv_prog_LD"; then
2545 # Extract the first word of "ld", so it can be a program name with args.
2546 set dummy ld; ac_word=$2
2547 echo "$as_me:$LINENO: checking for $ac_word" >&5
2548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2549 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 if test -n "$ac_ct_LD"; then
2553 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2559 test -z "$as_dir" && as_dir=.
2560 for ac_exec_ext in '' $ac_executable_extensions; do
2561 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2562 ac_cv_prog_ac_ct_LD="ld"
2563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2571 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2572 if test -n "$ac_ct_LD"; then
2573 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2574 echo "${ECHO_T}$ac_ct_LD" >&6
2576 echo "$as_me:$LINENO: result: no" >&5
2577 echo "${ECHO_T}no" >&6
2587 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2588 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2589 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 libfirm_cv_prog_ld_r=no
2595 cat > conftest.$ac_ext <<EOF
2596 int foo() { return 0; }
2598 if eval $ac_compile && mv conftest.o conftest2.o; then
2599 cat > conftest.$ac_ext <<EOF
2601 int main() { return foo(); }
2603 if eval $ac_compile; then
2604 if $LD -r -o conftest conftest.o conftest2.o; then
2605 libfirm_cv_prog_ld_r=yes
2612 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2613 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2616 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2617 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2618 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2619 { (exit 1); exit 1; }; }
2622 # Extract the first word of "ar", so it can be a program name with args.
2623 set dummy ar; ac_word=$2
2624 echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2626 if test "${ac_cv_prog_AR+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 if test -n "$AR"; then
2630 ac_cv_prog_AR="$AR" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2639 ac_cv_prog_AR=""ar""
2640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2646 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2650 if test -n "$AR"; then
2651 echo "$as_me:$LINENO: result: $AR" >&5
2652 echo "${ECHO_T}$AR" >&6
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2658 if test "$AR" != "ar"; then
2659 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2660 echo "$as_me: error: need ar for creating archives" >&2;}
2661 { (exit 1); exit 1; }; }
2664 # Extract the first word of "tar", so it can be a program name with args.
2665 set dummy tar; ac_word=$2
2666 echo "$as_me:$LINENO: checking for $ac_word" >&5
2667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2668 if test "${ac_cv_prog_TAR+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 if test -n "$TAR"; then
2672 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2681 ac_cv_prog_TAR=""tar""
2682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2688 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2692 if test -n "$TAR"; then
2693 echo "$as_me:$LINENO: result: $TAR" >&5
2694 echo "${ECHO_T}$TAR" >&6
2696 echo "$as_me:$LINENO: result: no" >&5
2697 echo "${ECHO_T}no" >&6
2700 if test "$TAR" != "tar"; then
2701 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2702 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2703 { (exit 1); exit 1; }; }
2707 if test -n "$ac_tool_prefix"; then
2708 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2709 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2710 echo "$as_me:$LINENO: checking for $ac_word" >&5
2711 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2712 if test "${ac_cv_prog_RANLIB+set}" = set; then
2713 echo $ECHO_N "(cached) $ECHO_C" >&6
2715 if test -n "$RANLIB"; then
2716 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 test -z "$as_dir" && as_dir=.
2723 for ac_exec_ext in '' $ac_executable_extensions; do
2724 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2725 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2726 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 RANLIB=$ac_cv_prog_RANLIB
2735 if test -n "$RANLIB"; then
2736 echo "$as_me:$LINENO: result: $RANLIB" >&5
2737 echo "${ECHO_T}$RANLIB" >&6
2739 echo "$as_me:$LINENO: result: no" >&5
2740 echo "${ECHO_T}no" >&6
2744 if test -z "$ac_cv_prog_RANLIB"; then
2745 ac_ct_RANLIB=$RANLIB
2746 # Extract the first word of "ranlib", so it can be a program name with args.
2747 set dummy ranlib; ac_word=$2
2748 echo "$as_me:$LINENO: checking for $ac_word" >&5
2749 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2750 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2751 echo $ECHO_N "(cached) $ECHO_C" >&6
2753 if test -n "$ac_ct_RANLIB"; then
2754 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2760 test -z "$as_dir" && as_dir=.
2761 for ac_exec_ext in '' $ac_executable_extensions; do
2762 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2763 ac_cv_prog_ac_ct_RANLIB="ranlib"
2764 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2770 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2773 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2774 if test -n "$ac_ct_RANLIB"; then
2775 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2776 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2782 RANLIB=$ac_ct_RANLIB
2784 RANLIB="$ac_cv_prog_RANLIB"
2789 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2790 if test -f $ac_dir/install-sh; then
2792 ac_install_sh="$ac_aux_dir/install-sh -c"
2794 elif test -f $ac_dir/install.sh; then
2796 ac_install_sh="$ac_aux_dir/install.sh -c"
2798 elif test -f $ac_dir/shtool; then
2800 ac_install_sh="$ac_aux_dir/shtool install -c"
2804 if test -z "$ac_aux_dir"; then
2805 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2806 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2807 { (exit 1); exit 1; }; }
2809 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2810 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2811 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2813 # Find a good install program. We prefer a C program (faster),
2814 # so one script is as good as another. But avoid the broken or
2815 # incompatible versions:
2816 # SysV /etc/install, /usr/sbin/install
2817 # SunOS /usr/etc/install
2818 # IRIX /sbin/install
2820 # AmigaOS /C/install, which installs bootblocks on floppy discs
2821 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2822 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2823 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2824 # OS/2's system install, which has a completely different semantic
2825 # ./install, which can be erroneously created by make from ./install.sh.
2826 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2827 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2828 if test -z "$INSTALL"; then
2829 if test "${ac_cv_path_install+set}" = set; then
2830 echo $ECHO_N "(cached) $ECHO_C" >&6
2832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2836 test -z "$as_dir" && as_dir=.
2837 # Account for people who put trailing slashes in PATH elements.
2839 ./ | .// | /cC/* | \
2840 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2841 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2844 # OSF1 and SCO ODT 3.0 have their own names for install.
2845 # Don't use installbsd from OSF since it installs stuff as root
2847 for ac_prog in ginstall scoinst install; do
2848 for ac_exec_ext in '' $ac_executable_extensions; do
2849 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2850 if test $ac_prog = install &&
2851 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2852 # AIX install. It has an incompatible calling convention.
2854 elif test $ac_prog = install &&
2855 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2856 # program-specific install script used by HP pwplus--don't use.
2859 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2871 if test "${ac_cv_path_install+set}" = set; then
2872 INSTALL=$ac_cv_path_install
2874 # As a last resort, use the slow shell script. We don't cache a
2875 # path for INSTALL within a source directory, because that will
2876 # break other packages using the cache if that directory is
2877 # removed, or if the path is relative.
2878 INSTALL=$ac_install_sh
2881 echo "$as_me:$LINENO: result: $INSTALL" >&5
2882 echo "${ECHO_T}$INSTALL" >&6
2884 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2885 # It thinks the first close brace ends the variable substitution.
2886 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2888 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2890 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2893 touch tmp-install.a tmp-install.b
2894 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
2897 rm tmp-install.a tmp-install.b
2900 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2901 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2903 if test "$LN_S" = "ln -s"; then
2904 echo "$as_me:$LINENO: result: yes" >&5
2905 echo "${ECHO_T}yes" >&6
2907 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2908 echo "${ECHO_T}no, using $LN_S" >&6
2912 if test "$enable_auto_documentation" = yes; then
2913 # Extract the first word of "doxygen", so it can be a program name with args.
2914 set dummy doxygen; ac_word=$2
2915 echo "$as_me:$LINENO: checking for $ac_word" >&5
2916 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2917 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2920 if test -n "$DOXYGEN"; then
2921 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2927 test -z "$as_dir" && as_dir=.
2928 for ac_exec_ext in '' $ac_executable_extensions; do
2929 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2930 ac_cv_prog_DOXYGEN=""doxygen""
2931 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2937 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
2940 DOXYGEN=$ac_cv_prog_DOXYGEN
2941 if test -n "$DOXYGEN"; then
2942 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2943 echo "${ECHO_T}$DOXYGEN" >&6
2945 echo "$as_me:$LINENO: result: no" >&5
2946 echo "${ECHO_T}no" >&6
2949 if test "$DOXYGEN" != "doxygen"; then
2950 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
2951 echo "$as_me: error: need doxygen for auto documentation" >&2;}
2952 { (exit 1); exit 1; }; }
2954 # Extract the first word of "dot", so it can be a program name with args.
2955 set dummy dot; ac_word=$2
2956 echo "$as_me:$LINENO: checking for $ac_word" >&5
2957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2958 if test "${ac_cv_prog_DOT+set}" = set; then
2959 echo $ECHO_N "(cached) $ECHO_C" >&6
2961 if test -n "$DOT"; then
2962 ac_cv_prog_DOT="$DOT" # Let the user override the test.
2964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2968 test -z "$as_dir" && as_dir=.
2969 for ac_exec_ext in '' $ac_executable_extensions; do
2970 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2971 ac_cv_prog_DOT=""dot""
2972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2978 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
2982 if test -n "$DOT"; then
2983 echo "$as_me:$LINENO: result: $DOT" >&5
2984 echo "${ECHO_T}$DOT" >&6
2986 echo "$as_me:$LINENO: result: no" >&5
2987 echo "${ECHO_T}no" >&6
2990 if test "$DOT" != "dot"; then
2991 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
2992 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
2993 { (exit 1); exit 1; }; }
2997 if test "$enable_firm_jni" = yes; then
2998 # Extract the first word of "javac", so it can be a program name with args.
2999 set dummy javac; ac_word=$2
3000 echo "$as_me:$LINENO: checking for $ac_word" >&5
3001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3002 if test "${ac_cv_prog_JAVAC+set}" = set; then
3003 echo $ECHO_N "(cached) $ECHO_C" >&6
3005 if test -n "$JAVAC"; then
3006 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3012 test -z "$as_dir" && as_dir=.
3013 for ac_exec_ext in '' $ac_executable_extensions; do
3014 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3015 ac_cv_prog_JAVAC=""javac""
3016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3025 JAVAC=$ac_cv_prog_JAVAC
3026 if test -n "$JAVAC"; then
3027 echo "$as_me:$LINENO: result: $JAVAC" >&5
3028 echo "${ECHO_T}$JAVAC" >&6
3030 echo "$as_me:$LINENO: result: no" >&5
3031 echo "${ECHO_T}no" >&6
3034 if test "$JAVAC" != "javac"; then
3035 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3036 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3037 { (exit 1); exit 1; }; }
3039 # Extract the first word of "javah", so it can be a program name with args.
3040 set dummy javah; ac_word=$2
3041 echo "$as_me:$LINENO: checking for $ac_word" >&5
3042 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3043 if test "${ac_cv_prog_JAVAH+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3046 if test -n "$JAVAH"; then
3047 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_JAVAH=""javah""
3057 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3063 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3066 JAVAH=$ac_cv_prog_JAVAH
3067 if test -n "$JAVAH"; then
3068 echo "$as_me:$LINENO: result: $JAVAH" >&5
3069 echo "${ECHO_T}$JAVAH" >&6
3071 echo "$as_me:$LINENO: result: no" >&5
3072 echo "${ECHO_T}no" >&6
3075 if test "$JAVAH" != "javah"; then
3076 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3077 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3078 { (exit 1); exit 1; }; }
3086 ac_cpp='$CPP $CPPFLAGS'
3087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3090 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3091 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3092 # On Suns, sometimes $CPP names a directory.
3093 if test -n "$CPP" && test -d "$CPP"; then
3096 if test -z "$CPP"; then
3097 if test "${ac_cv_prog_CPP+set}" = set; then
3098 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 # Double quotes because CPP needs to be expanded
3101 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3104 for ac_c_preproc_warn_flag in '' yes
3106 # Use a header file that comes with gcc, so configuring glibc
3107 # with a fresh cross-compiler works.
3108 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3109 # <limits.h> exists even on freestanding compilers.
3110 # On the NeXT, cc -E runs the code through the compiler's parser,
3111 # not just through cpp. "Syntax error" is here to catch this case.
3112 cat >conftest.$ac_ext <<_ACEOF
3115 cat confdefs.h >>conftest.$ac_ext
3116 cat >>conftest.$ac_ext <<_ACEOF
3117 /* end confdefs.h. */
3119 # include <limits.h>
3121 # include <assert.h>
3125 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3126 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3128 grep -v '^ *+' conftest.er1 >conftest.err
3130 cat conftest.err >&5
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); } >/dev/null; then
3133 if test -s conftest.err; then
3134 ac_cpp_err=$ac_c_preproc_warn_flag
3135 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3142 if test -z "$ac_cpp_err"; then
3145 echo "$as_me: failed program was:" >&5
3146 sed 's/^/| /' conftest.$ac_ext >&5
3148 # Broken: fails on valid input.
3151 rm -f conftest.err conftest.$ac_ext
3153 # OK, works on sane cases. Now check whether non-existent headers
3154 # can be detected and how.
3155 cat >conftest.$ac_ext <<_ACEOF
3158 cat confdefs.h >>conftest.$ac_ext
3159 cat >>conftest.$ac_ext <<_ACEOF
3160 /* end confdefs.h. */
3161 #include <ac_nonexistent.h>
3163 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3164 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1 >conftest.err
3168 cat conftest.err >&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } >/dev/null; then
3171 if test -s conftest.err; then
3172 ac_cpp_err=$ac_c_preproc_warn_flag
3173 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3180 if test -z "$ac_cpp_err"; then
3181 # Broken: success on invalid input.
3184 echo "$as_me: failed program was:" >&5
3185 sed 's/^/| /' conftest.$ac_ext >&5
3187 # Passes both tests.
3191 rm -f conftest.err conftest.$ac_ext
3194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3195 rm -f conftest.err conftest.$ac_ext
3196 if $ac_preproc_ok; then
3208 echo "$as_me:$LINENO: result: $CPP" >&5
3209 echo "${ECHO_T}$CPP" >&6
3211 for ac_c_preproc_warn_flag in '' yes
3213 # Use a header file that comes with gcc, so configuring glibc
3214 # with a fresh cross-compiler works.
3215 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3216 # <limits.h> exists even on freestanding compilers.
3217 # On the NeXT, cc -E runs the code through the compiler's parser,
3218 # not just through cpp. "Syntax error" is here to catch this case.
3219 cat >conftest.$ac_ext <<_ACEOF
3222 cat confdefs.h >>conftest.$ac_ext
3223 cat >>conftest.$ac_ext <<_ACEOF
3224 /* end confdefs.h. */
3226 # include <limits.h>
3228 # include <assert.h>
3232 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3233 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3235 grep -v '^ *+' conftest.er1 >conftest.err
3237 cat conftest.err >&5
3238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3239 (exit $ac_status); } >/dev/null; then
3240 if test -s conftest.err; then
3241 ac_cpp_err=$ac_c_preproc_warn_flag
3242 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3249 if test -z "$ac_cpp_err"; then
3252 echo "$as_me: failed program was:" >&5
3253 sed 's/^/| /' conftest.$ac_ext >&5
3255 # Broken: fails on valid input.
3258 rm -f conftest.err conftest.$ac_ext
3260 # OK, works on sane cases. Now check whether non-existent headers
3261 # can be detected and how.
3262 cat >conftest.$ac_ext <<_ACEOF
3265 cat confdefs.h >>conftest.$ac_ext
3266 cat >>conftest.$ac_ext <<_ACEOF
3267 /* end confdefs.h. */
3268 #include <ac_nonexistent.h>
3270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3273 grep -v '^ *+' conftest.er1 >conftest.err
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } >/dev/null; then
3278 if test -s conftest.err; then
3279 ac_cpp_err=$ac_c_preproc_warn_flag
3280 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3287 if test -z "$ac_cpp_err"; then
3288 # Broken: success on invalid input.
3291 echo "$as_me: failed program was:" >&5
3292 sed 's/^/| /' conftest.$ac_ext >&5
3294 # Passes both tests.
3298 rm -f conftest.err conftest.$ac_ext
3301 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3302 rm -f conftest.err conftest.$ac_ext
3303 if $ac_preproc_ok; then
3306 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3307 See \`config.log' for more details." >&5
3308 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3309 See \`config.log' for more details." >&2;}
3310 { (exit 1); exit 1; }; }
3314 ac_cpp='$CPP $CPPFLAGS'
3315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3320 echo "$as_me:$LINENO: checking for egrep" >&5
3321 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3322 if test "${ac_cv_prog_egrep+set}" = set; then
3323 echo $ECHO_N "(cached) $ECHO_C" >&6
3325 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3326 then ac_cv_prog_egrep='grep -E'
3327 else ac_cv_prog_egrep='egrep'
3330 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3331 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3332 EGREP=$ac_cv_prog_egrep
3335 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3336 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3337 if test "${ac_cv_header_stdc+set}" = set; then
3338 echo $ECHO_N "(cached) $ECHO_C" >&6
3340 cat >conftest.$ac_ext <<_ACEOF
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3359 rm -f conftest.$ac_objext
3360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3361 (eval $ac_compile) 2>conftest.er1
3363 grep -v '^ *+' conftest.er1 >conftest.err
3365 cat conftest.err >&5
3366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3367 (exit $ac_status); } &&
3368 { ac_try='test -z "$ac_c_werror_flag"
3369 || test ! -s conftest.err'
3370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); }; } &&
3375 { ac_try='test -s conftest.$ac_objext'
3376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3380 (exit $ac_status); }; }; then
3381 ac_cv_header_stdc=yes
3383 echo "$as_me: failed program was:" >&5
3384 sed 's/^/| /' conftest.$ac_ext >&5
3386 ac_cv_header_stdc=no
3388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3390 if test $ac_cv_header_stdc = yes; then
3391 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3392 cat >conftest.$ac_ext <<_ACEOF
3395 cat confdefs.h >>conftest.$ac_ext
3396 cat >>conftest.$ac_ext <<_ACEOF
3397 /* end confdefs.h. */
3401 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3402 $EGREP "memchr" >/dev/null 2>&1; then
3405 ac_cv_header_stdc=no
3411 if test $ac_cv_header_stdc = yes; then
3412 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3413 cat >conftest.$ac_ext <<_ACEOF
3416 cat confdefs.h >>conftest.$ac_ext
3417 cat >>conftest.$ac_ext <<_ACEOF
3418 /* end confdefs.h. */
3422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3423 $EGREP "free" >/dev/null 2>&1; then
3426 ac_cv_header_stdc=no
3432 if test $ac_cv_header_stdc = yes; then
3433 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3434 if test "$cross_compiling" = yes; then
3437 cat >conftest.$ac_ext <<_ACEOF
3440 cat confdefs.h >>conftest.$ac_ext
3441 cat >>conftest.$ac_ext <<_ACEOF
3442 /* end confdefs.h. */
3444 #if ((' ' & 0x0FF) == 0x020)
3445 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3446 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3448 # define ISLOWER(c) \
3449 (('a' <= (c) && (c) <= 'i') \
3450 || ('j' <= (c) && (c) <= 'r') \
3451 || ('s' <= (c) && (c) <= 'z'))
3452 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3455 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3460 for (i = 0; i < 256; i++)
3461 if (XOR (islower (i), ISLOWER (i))
3462 || toupper (i) != TOUPPER (i))
3467 rm -f conftest$ac_exeext
3468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3469 (eval $ac_link) 2>&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3477 (exit $ac_status); }; }; then
3480 echo "$as_me: program exited with status $ac_status" >&5
3481 echo "$as_me: failed program was:" >&5
3482 sed 's/^/| /' conftest.$ac_ext >&5
3485 ac_cv_header_stdc=no
3487 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3491 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3492 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3493 if test $ac_cv_header_stdc = yes; then
3495 cat >>confdefs.h <<\_ACEOF
3496 #define STDC_HEADERS 1
3503 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3513 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3514 inttypes.h stdint.h unistd.h
3516 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3517 echo "$as_me:$LINENO: checking for $ac_header" >&5
3518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3520 echo $ECHO_N "(cached) $ECHO_C" >&6
3522 cat >conftest.$ac_ext <<_ACEOF
3525 cat confdefs.h >>conftest.$ac_ext
3526 cat >>conftest.$ac_ext <<_ACEOF
3527 /* end confdefs.h. */
3528 $ac_includes_default
3530 #include <$ac_header>
3532 rm -f conftest.$ac_objext
3533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3534 (eval $ac_compile) 2>conftest.er1
3536 grep -v '^ *+' conftest.er1 >conftest.err
3538 cat conftest.err >&5
3539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3540 (exit $ac_status); } &&
3541 { ac_try='test -z "$ac_c_werror_flag"
3542 || test ! -s conftest.err'
3543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3547 (exit $ac_status); }; } &&
3548 { ac_try='test -s conftest.$ac_objext'
3549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3553 (exit $ac_status); }; }; then
3554 eval "$as_ac_Header=yes"
3556 echo "$as_me: failed program was:" >&5
3557 sed 's/^/| /' conftest.$ac_ext >&5
3559 eval "$as_ac_Header=no"
3561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3564 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3565 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3566 cat >>confdefs.h <<_ACEOF
3567 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3576 for ac_header in math.h
3578 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3580 echo "$as_me:$LINENO: checking for $ac_header" >&5
3581 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3582 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3583 echo $ECHO_N "(cached) $ECHO_C" >&6
3585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3586 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3588 # Is the header compilable?
3589 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3590 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3591 cat >conftest.$ac_ext <<_ACEOF
3594 cat confdefs.h >>conftest.$ac_ext
3595 cat >>conftest.$ac_ext <<_ACEOF
3596 /* end confdefs.h. */
3597 $ac_includes_default
3598 #include <$ac_header>
3600 rm -f conftest.$ac_objext
3601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3602 (eval $ac_compile) 2>conftest.er1
3604 grep -v '^ *+' conftest.er1 >conftest.err
3606 cat conftest.err >&5
3607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3608 (exit $ac_status); } &&
3609 { ac_try='test -z "$ac_c_werror_flag"
3610 || test ! -s conftest.err'
3611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3615 (exit $ac_status); }; } &&
3616 { ac_try='test -s conftest.$ac_objext'
3617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; }; then
3622 ac_header_compiler=yes
3624 echo "$as_me: failed program was:" >&5
3625 sed 's/^/| /' conftest.$ac_ext >&5
3627 ac_header_compiler=no
3629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3630 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3631 echo "${ECHO_T}$ac_header_compiler" >&6
3633 # Is the header present?
3634 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3635 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3636 cat >conftest.$ac_ext <<_ACEOF
3639 cat confdefs.h >>conftest.$ac_ext
3640 cat >>conftest.$ac_ext <<_ACEOF
3641 /* end confdefs.h. */
3642 #include <$ac_header>
3644 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3645 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3647 grep -v '^ *+' conftest.er1 >conftest.err
3649 cat conftest.err >&5
3650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3651 (exit $ac_status); } >/dev/null; then
3652 if test -s conftest.err; then
3653 ac_cpp_err=$ac_c_preproc_warn_flag
3654 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3661 if test -z "$ac_cpp_err"; then
3662 ac_header_preproc=yes
3664 echo "$as_me: failed program was:" >&5
3665 sed 's/^/| /' conftest.$ac_ext >&5
3667 ac_header_preproc=no
3669 rm -f conftest.err conftest.$ac_ext
3670 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3671 echo "${ECHO_T}$ac_header_preproc" >&6
3673 # So? What about this header?
3674 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3676 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3677 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3679 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3680 ac_header_preproc=yes
3683 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3684 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3685 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3686 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3687 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3688 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3689 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3690 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3692 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3693 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3694 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3697 ## ---------------------------------- ##
3698 ## Report this to the libfirm lists. ##
3699 ## ---------------------------------- ##
3702 sed "s/^/$as_me: WARNING: /" >&2
3705 echo "$as_me:$LINENO: checking for $ac_header" >&5
3706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3708 echo $ECHO_N "(cached) $ECHO_C" >&6
3710 eval "$as_ac_Header=\$ac_header_preproc"
3712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3716 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3717 cat >>confdefs.h <<_ACEOF
3718 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3720 ac_math_headers="yes"
3722 ac_math_headers="no"
3727 if test "$ac_math_headers" != yes; then
3728 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3729 echo "$as_me: error: \"math header file not found\"" >&2;}
3730 { (exit 1); exit 1; }; }
3734 #dnl check for the gnu multiprecission (gmp) header file
3736 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3737 #if test "$ac_gmp_headers" != yes; then
3738 # dnl gmp header not found.
3739 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3746 for ac_header in obstack.h
3748 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3750 echo "$as_me:$LINENO: checking for $ac_header" >&5
3751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3752 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3753 echo $ECHO_N "(cached) $ECHO_C" >&6
3755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3758 # Is the header compilable?
3759 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3760 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3761 cat >conftest.$ac_ext <<_ACEOF
3764 cat confdefs.h >>conftest.$ac_ext
3765 cat >>conftest.$ac_ext <<_ACEOF
3766 /* end confdefs.h. */
3767 $ac_includes_default
3768 #include <$ac_header>
3770 rm -f conftest.$ac_objext
3771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3772 (eval $ac_compile) 2>conftest.er1
3774 grep -v '^ *+' conftest.er1 >conftest.err
3776 cat conftest.err >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); } &&
3779 { ac_try='test -z "$ac_c_werror_flag"
3780 || test ! -s conftest.err'
3781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3785 (exit $ac_status); }; } &&
3786 { ac_try='test -s conftest.$ac_objext'
3787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); }; }; then
3792 ac_header_compiler=yes
3794 echo "$as_me: failed program was:" >&5
3795 sed 's/^/| /' conftest.$ac_ext >&5
3797 ac_header_compiler=no
3799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3800 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3801 echo "${ECHO_T}$ac_header_compiler" >&6
3803 # Is the header present?
3804 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3805 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3806 cat >conftest.$ac_ext <<_ACEOF
3809 cat confdefs.h >>conftest.$ac_ext
3810 cat >>conftest.$ac_ext <<_ACEOF
3811 /* end confdefs.h. */
3812 #include <$ac_header>
3814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3817 grep -v '^ *+' conftest.er1 >conftest.err
3819 cat conftest.err >&5
3820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3821 (exit $ac_status); } >/dev/null; then
3822 if test -s conftest.err; then
3823 ac_cpp_err=$ac_c_preproc_warn_flag
3824 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3831 if test -z "$ac_cpp_err"; then
3832 ac_header_preproc=yes
3834 echo "$as_me: failed program was:" >&5
3835 sed 's/^/| /' conftest.$ac_ext >&5
3837 ac_header_preproc=no
3839 rm -f conftest.err conftest.$ac_ext
3840 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3841 echo "${ECHO_T}$ac_header_preproc" >&6
3843 # So? What about this header?
3844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3846 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3847 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3848 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3849 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3850 ac_header_preproc=yes
3853 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3854 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3855 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3856 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3857 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3858 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3859 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3860 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3861 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3862 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3863 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3864 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3867 ## ---------------------------------- ##
3868 ## Report this to the libfirm lists. ##
3869 ## ---------------------------------- ##
3872 sed "s/^/$as_me: WARNING: /" >&2
3875 echo "$as_me:$LINENO: checking for $ac_header" >&5
3876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3878 echo $ECHO_N "(cached) $ECHO_C" >&6
3880 eval "$as_ac_Header=\$ac_header_preproc"
3882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3883 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3886 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3887 cat >>confdefs.h <<_ACEOF
3888 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3890 ac_obstack_headers="yes"
3892 ac_obstack_headers="no"
3897 if test "$ac_obstack_headers" != yes; then
3898 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3899 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3900 { (exit 1); exit 1; }; }
3905 for ac_header in alloca.h
3907 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3909 echo "$as_me:$LINENO: checking for $ac_header" >&5
3910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3915 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3917 # Is the header compilable?
3918 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3919 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3920 cat >conftest.$ac_ext <<_ACEOF
3923 cat confdefs.h >>conftest.$ac_ext
3924 cat >>conftest.$ac_ext <<_ACEOF
3925 /* end confdefs.h. */
3926 $ac_includes_default
3927 #include <$ac_header>
3929 rm -f conftest.$ac_objext
3930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3931 (eval $ac_compile) 2>conftest.er1
3933 grep -v '^ *+' conftest.er1 >conftest.err
3935 cat conftest.err >&5
3936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3937 (exit $ac_status); } &&
3938 { ac_try='test -z "$ac_c_werror_flag"
3939 || test ! -s conftest.err'
3940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3944 (exit $ac_status); }; } &&
3945 { ac_try='test -s conftest.$ac_objext'
3946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3950 (exit $ac_status); }; }; then
3951 ac_header_compiler=yes
3953 echo "$as_me: failed program was:" >&5
3954 sed 's/^/| /' conftest.$ac_ext >&5
3956 ac_header_compiler=no
3958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3959 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3960 echo "${ECHO_T}$ac_header_compiler" >&6
3962 # Is the header present?
3963 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3964 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3965 cat >conftest.$ac_ext <<_ACEOF
3968 cat confdefs.h >>conftest.$ac_ext
3969 cat >>conftest.$ac_ext <<_ACEOF
3970 /* end confdefs.h. */
3971 #include <$ac_header>
3973 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3974 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3976 grep -v '^ *+' conftest.er1 >conftest.err
3978 cat conftest.err >&5
3979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3980 (exit $ac_status); } >/dev/null; then
3981 if test -s conftest.err; then
3982 ac_cpp_err=$ac_c_preproc_warn_flag
3983 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3990 if test -z "$ac_cpp_err"; then
3991 ac_header_preproc=yes
3993 echo "$as_me: failed program was:" >&5
3994 sed 's/^/| /' conftest.$ac_ext >&5
3996 ac_header_preproc=no
3998 rm -f conftest.err conftest.$ac_ext
3999 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4000 echo "${ECHO_T}$ac_header_preproc" >&6
4002 # So? What about this header?
4003 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4005 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4006 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4007 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4008 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4009 ac_header_preproc=yes
4012 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4013 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4014 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4015 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4016 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4017 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4018 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4019 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4020 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4021 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4022 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4023 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4026 ## ---------------------------------- ##
4027 ## Report this to the libfirm lists. ##
4028 ## ---------------------------------- ##
4031 sed "s/^/$as_me: WARNING: /" >&2
4034 echo "$as_me:$LINENO: checking for $ac_header" >&5
4035 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4036 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4037 echo $ECHO_N "(cached) $ECHO_C" >&6
4039 eval "$as_ac_Header=\$ac_header_preproc"
4041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4042 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4045 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4046 cat >>confdefs.h <<_ACEOF
4047 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4049 ac_alloca_headers="yes"
4051 ac_alloca_headers="no"
4056 if test "$ac_alloca_headers" = "yes"; then
4057 cat >>confdefs.h <<\_ACEOF
4058 #define HAVE_ALLOCA_H 1
4062 if test "$ac_cv_header_stdc" = "no"; then
4063 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4064 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4065 { (exit 1); exit 1; }; }
4071 if test "$enable_firm_jni" = yes; then
4073 for ac_header in jni.h
4075 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4077 echo "$as_me:$LINENO: checking for $ac_header" >&5
4078 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4079 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4080 echo $ECHO_N "(cached) $ECHO_C" >&6
4082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4083 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4085 # Is the header compilable?
4086 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4087 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4088 cat >conftest.$ac_ext <<_ACEOF
4091 cat confdefs.h >>conftest.$ac_ext
4092 cat >>conftest.$ac_ext <<_ACEOF
4093 /* end confdefs.h. */
4094 $ac_includes_default
4095 #include <$ac_header>
4097 rm -f conftest.$ac_objext
4098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4099 (eval $ac_compile) 2>conftest.er1
4101 grep -v '^ *+' conftest.er1 >conftest.err
4103 cat conftest.err >&5
4104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } &&
4106 { ac_try='test -z "$ac_c_werror_flag"
4107 || test ! -s conftest.err'
4108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); }; } &&
4113 { ac_try='test -s conftest.$ac_objext'
4114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); }; }; then
4119 ac_header_compiler=yes
4121 echo "$as_me: failed program was:" >&5
4122 sed 's/^/| /' conftest.$ac_ext >&5
4124 ac_header_compiler=no
4126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4127 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4128 echo "${ECHO_T}$ac_header_compiler" >&6
4130 # Is the header present?
4131 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4132 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4133 cat >conftest.$ac_ext <<_ACEOF
4136 cat confdefs.h >>conftest.$ac_ext
4137 cat >>conftest.$ac_ext <<_ACEOF
4138 /* end confdefs.h. */
4139 #include <$ac_header>
4141 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4142 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4144 grep -v '^ *+' conftest.er1 >conftest.err
4146 cat conftest.err >&5
4147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4148 (exit $ac_status); } >/dev/null; then
4149 if test -s conftest.err; then
4150 ac_cpp_err=$ac_c_preproc_warn_flag
4151 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4158 if test -z "$ac_cpp_err"; then
4159 ac_header_preproc=yes
4161 echo "$as_me: failed program was:" >&5
4162 sed 's/^/| /' conftest.$ac_ext >&5
4164 ac_header_preproc=no
4166 rm -f conftest.err conftest.$ac_ext
4167 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4168 echo "${ECHO_T}$ac_header_preproc" >&6
4170 # So? What about this header?
4171 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4173 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4174 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4175 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4176 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4177 ac_header_preproc=yes
4180 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4181 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4182 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4183 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4184 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4185 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4186 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4187 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4188 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4189 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4190 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4191 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4194 ## ---------------------------------- ##
4195 ## Report this to the libfirm lists. ##
4196 ## ---------------------------------- ##
4199 sed "s/^/$as_me: WARNING: /" >&2
4202 echo "$as_me:$LINENO: checking for $ac_header" >&5
4203 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4204 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4205 echo $ECHO_N "(cached) $ECHO_C" >&6
4207 eval "$as_ac_Header=\$ac_header_preproc"
4209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4210 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4213 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4214 cat >>confdefs.h <<_ACEOF
4215 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4217 ac_jni_headers="yes"
4224 if test "$ac_jni_headers" != yes; then
4225 { { 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
4226 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;}
4227 { (exit 1); exit 1; }; }
4232 if test "$enable_external_effects" == "yes"; then
4234 for ac_header in libxml/parser.h
4236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4238 echo "$as_me:$LINENO: checking for $ac_header" >&5
4239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4241 echo $ECHO_N "(cached) $ECHO_C" >&6
4243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4246 # Is the header compilable?
4247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4249 cat >conftest.$ac_ext <<_ACEOF
4252 cat confdefs.h >>conftest.$ac_ext
4253 cat >>conftest.$ac_ext <<_ACEOF
4254 /* end confdefs.h. */
4255 $ac_includes_default
4256 #include <$ac_header>
4258 rm -f conftest.$ac_objext
4259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4260 (eval $ac_compile) 2>conftest.er1
4262 grep -v '^ *+' conftest.er1 >conftest.err
4264 cat conftest.err >&5
4265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4266 (exit $ac_status); } &&
4267 { ac_try='test -z "$ac_c_werror_flag"
4268 || test ! -s conftest.err'
4269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4273 (exit $ac_status); }; } &&
4274 { ac_try='test -s conftest.$ac_objext'
4275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4279 (exit $ac_status); }; }; then
4280 ac_header_compiler=yes
4282 echo "$as_me: failed program was:" >&5
4283 sed 's/^/| /' conftest.$ac_ext >&5
4285 ac_header_compiler=no
4287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4289 echo "${ECHO_T}$ac_header_compiler" >&6
4291 # Is the header present?
4292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4294 cat >conftest.$ac_ext <<_ACEOF
4297 cat confdefs.h >>conftest.$ac_ext
4298 cat >>conftest.$ac_ext <<_ACEOF
4299 /* end confdefs.h. */
4300 #include <$ac_header>
4302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4305 grep -v '^ *+' conftest.er1 >conftest.err
4307 cat conftest.err >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); } >/dev/null; then
4310 if test -s conftest.err; then
4311 ac_cpp_err=$ac_c_preproc_warn_flag
4312 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4319 if test -z "$ac_cpp_err"; then
4320 ac_header_preproc=yes
4322 echo "$as_me: failed program was:" >&5
4323 sed 's/^/| /' conftest.$ac_ext >&5
4325 ac_header_preproc=no
4327 rm -f conftest.err conftest.$ac_ext
4328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4329 echo "${ECHO_T}$ac_header_preproc" >&6
4331 # So? What about this header?
4332 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4338 ac_header_preproc=yes
4341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4355 ## ---------------------------------- ##
4356 ## Report this to the libfirm lists. ##
4357 ## ---------------------------------- ##
4360 sed "s/^/$as_me: WARNING: /" >&2
4363 echo "$as_me:$LINENO: checking for $ac_header" >&5
4364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4366 echo $ECHO_N "(cached) $ECHO_C" >&6
4368 eval "$as_ac_Header=\$ac_header_preproc"
4370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4375 cat >>confdefs.h <<_ACEOF
4376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4378 ac_xml_headers="yes"
4385 if test "$ac_xml_headers" != yes; then
4386 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4387 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4388 { (exit 1); exit 1; }; }
4393 #dnl check for the gnu multiprecission (gmp) library
4395 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4396 #if test "$ac_gmp_library" != yes; then
4397 # dnl gmp library not found.
4398 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4402 echo "$as_me:$LINENO: checking for main in -lm" >&5
4403 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4404 if test "${ac_cv_lib_m_main+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 ac_check_lib_save_LIBS=$LIBS
4409 cat >conftest.$ac_ext <<_ACEOF
4412 cat confdefs.h >>conftest.$ac_ext
4413 cat >>conftest.$ac_ext <<_ACEOF
4414 /* end confdefs.h. */
4425 rm -f conftest.$ac_objext conftest$ac_exeext
4426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4427 (eval $ac_link) 2>conftest.er1
4429 grep -v '^ *+' conftest.er1 >conftest.err
4431 cat conftest.err >&5
4432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4433 (exit $ac_status); } &&
4434 { ac_try='test -z "$ac_c_werror_flag"
4435 || test ! -s conftest.err'
4436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4440 (exit $ac_status); }; } &&
4441 { ac_try='test -s conftest$ac_exeext'
4442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4446 (exit $ac_status); }; }; then
4447 ac_cv_lib_m_main=yes
4449 echo "$as_me: failed program was:" >&5
4450 sed 's/^/| /' conftest.$ac_ext >&5
4454 rm -f conftest.err conftest.$ac_objext \
4455 conftest$ac_exeext conftest.$ac_ext
4456 LIBS=$ac_check_lib_save_LIBS
4458 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4459 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4460 if test $ac_cv_lib_m_main = yes; then
4466 if test "$ac_m_library" != yes; then
4467 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4468 echo "$as_me: error: \"standard math library not found\"" >&2;}
4469 { (exit 1); exit 1; }; }
4473 if test "$enable_external_effects" == "yes"; then
4474 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4475 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4476 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4477 echo $ECHO_N "(cached) $ECHO_C" >&6
4479 ac_check_lib_save_LIBS=$LIBS
4481 cat >conftest.$ac_ext <<_ACEOF
4484 cat confdefs.h >>conftest.$ac_ext
4485 cat >>conftest.$ac_ext <<_ACEOF
4486 /* end confdefs.h. */
4488 /* Override any gcc2 internal prototype to avoid an error. */
4492 /* We use char because int might match the return type of a gcc2
4493 builtin and then its argument prototype would still apply. */
4494 char xmlParseFile ();
4503 rm -f conftest.$ac_objext conftest$ac_exeext
4504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4505 (eval $ac_link) 2>conftest.er1
4507 grep -v '^ *+' conftest.er1 >conftest.err
4509 cat conftest.err >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } &&
4512 { ac_try='test -z "$ac_c_werror_flag"
4513 || test ! -s conftest.err'
4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; } &&
4519 { ac_try='test -s conftest$ac_exeext'
4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; }; then
4525 ac_cv_lib_xml2_xmlParseFile=yes
4527 echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.$ac_ext >&5
4530 ac_cv_lib_xml2_xmlParseFile=no
4532 rm -f conftest.err conftest.$ac_objext \
4533 conftest$ac_exeext conftest.$ac_ext
4534 LIBS=$ac_check_lib_save_LIBS
4536 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4537 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4538 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4539 ac_xml_library="yes"
4544 if test "$ac_m_library" != yes; then
4545 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4546 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4547 { (exit 1); exit 1; }; }
4553 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4554 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4555 if test "${ac_cv_c_const+set}" = set; then
4556 echo $ECHO_N "(cached) $ECHO_C" >&6
4558 cat >conftest.$ac_ext <<_ACEOF
4561 cat confdefs.h >>conftest.$ac_ext
4562 cat >>conftest.$ac_ext <<_ACEOF
4563 /* end confdefs.h. */
4568 /* FIXME: Include the comments suggested by Paul. */
4570 /* Ultrix mips cc rejects this. */
4571 typedef int charset[2];
4573 /* SunOS 4.1.1 cc rejects this. */
4574 char const *const *ccp;
4576 /* NEC SVR4.0.2 mips cc rejects this. */
4577 struct point {int x, y;};
4578 static struct point const zero = {0,0};
4579 /* AIX XL C 1.02.0.0 rejects this.
4580 It does not let you subtract one const X* pointer from another in
4581 an arm of an if-expression whose if-part is not a constant
4583 const char *g = "string";
4584 ccp = &g + (g ? g-g : 0);
4585 /* HPUX 7.0 cc rejects these. */
4588 ccp = (char const *const *) p;
4589 { /* SCO 3.2v4 cc rejects this. */
4591 char const *s = 0 ? (char *) 0 : (char const *) 0;
4595 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4597 const int *foo = &x[0];
4600 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4601 typedef const int *iptr;
4605 { /* AIX XL C 1.02.0.0 rejects this saying
4606 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4607 struct s { int j; const int *ap[3]; };
4608 struct s *b; b->j = 5;
4610 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4619 rm -f conftest.$ac_objext
4620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4621 (eval $ac_compile) 2>conftest.er1
4623 grep -v '^ *+' conftest.er1 >conftest.err
4625 cat conftest.err >&5
4626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4627 (exit $ac_status); } &&
4628 { ac_try='test -z "$ac_c_werror_flag"
4629 || test ! -s conftest.err'
4630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4634 (exit $ac_status); }; } &&
4635 { ac_try='test -s conftest.$ac_objext'
4636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); }; }; then
4643 echo "$as_me: failed program was:" >&5
4644 sed 's/^/| /' conftest.$ac_ext >&5
4648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4650 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4651 echo "${ECHO_T}$ac_cv_c_const" >&6
4652 if test $ac_cv_c_const = no; then
4654 cat >>confdefs.h <<\_ACEOF
4660 echo "$as_me:$LINENO: checking for working volatile" >&5
4661 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4662 if test "${ac_cv_c_volatile+set}" = set; then
4663 echo $ECHO_N "(cached) $ECHO_C" >&6
4665 cat >conftest.$ac_ext <<_ACEOF
4668 cat confdefs.h >>conftest.$ac_ext
4669 cat >>conftest.$ac_ext <<_ACEOF
4670 /* end confdefs.h. */
4682 rm -f conftest.$ac_objext
4683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4684 (eval $ac_compile) 2>conftest.er1
4686 grep -v '^ *+' conftest.er1 >conftest.err
4688 cat conftest.err >&5
4689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4690 (exit $ac_status); } &&
4691 { ac_try='test -z "$ac_c_werror_flag"
4692 || test ! -s conftest.err'
4693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4697 (exit $ac_status); }; } &&
4698 { ac_try='test -s conftest.$ac_objext'
4699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4703 (exit $ac_status); }; }; then
4704 ac_cv_c_volatile=yes
4706 echo "$as_me: failed program was:" >&5
4707 sed 's/^/| /' conftest.$ac_ext >&5
4711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4713 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4714 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4715 if test $ac_cv_c_volatile = no; then
4717 cat >>confdefs.h <<\_ACEOF
4723 echo "$as_me:$LINENO: checking for inline" >&5
4724 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4725 if test "${ac_cv_c_inline+set}" = set; then
4726 echo $ECHO_N "(cached) $ECHO_C" >&6
4729 for ac_kw in inline __inline__ __inline; do
4730 cat >conftest.$ac_ext <<_ACEOF
4733 cat confdefs.h >>conftest.$ac_ext
4734 cat >>conftest.$ac_ext <<_ACEOF
4735 /* end confdefs.h. */
4738 static $ac_kw foo_t static_foo () {return 0; }
4739 $ac_kw foo_t foo () {return 0; }
4743 rm -f conftest.$ac_objext
4744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4745 (eval $ac_compile) 2>conftest.er1
4747 grep -v '^ *+' conftest.er1 >conftest.err
4749 cat conftest.err >&5
4750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4751 (exit $ac_status); } &&
4752 { ac_try='test -z "$ac_c_werror_flag"
4753 || test ! -s conftest.err'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; } &&
4759 { ac_try='test -s conftest.$ac_objext'
4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then
4765 ac_cv_c_inline=$ac_kw; break
4767 echo "$as_me: failed program was:" >&5
4768 sed 's/^/| /' conftest.$ac_ext >&5
4771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4775 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4776 echo "${ECHO_T}$ac_cv_c_inline" >&6
4779 case $ac_cv_c_inline in
4782 case $ac_cv_c_inline in
4784 *) ac_val=$ac_cv_c_inline;;
4786 cat >>confdefs.h <<_ACEOF
4788 #define inline $ac_val
4794 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4795 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4796 if test "${ac_cv_c_bigendian+set}" = set; then
4797 echo $ECHO_N "(cached) $ECHO_C" >&6
4799 # See if sys/param.h defines the BYTE_ORDER macro.
4800 cat >conftest.$ac_ext <<_ACEOF
4803 cat confdefs.h >>conftest.$ac_ext
4804 cat >>conftest.$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4806 #include <sys/types.h>
4807 #include <sys/param.h>
4812 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4820 rm -f conftest.$ac_objext
4821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4822 (eval $ac_compile) 2>conftest.er1
4824 grep -v '^ *+' conftest.er1 >conftest.err
4826 cat conftest.err >&5
4827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4828 (exit $ac_status); } &&
4829 { ac_try='test -z "$ac_c_werror_flag"
4830 || test ! -s conftest.err'
4831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4835 (exit $ac_status); }; } &&
4836 { ac_try='test -s conftest.$ac_objext'
4837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4841 (exit $ac_status); }; }; then
4842 # It does; now see whether it defined to BIG_ENDIAN or not.
4843 cat >conftest.$ac_ext <<_ACEOF
4846 cat confdefs.h >>conftest.$ac_ext
4847 cat >>conftest.$ac_ext <<_ACEOF
4848 /* end confdefs.h. */
4849 #include <sys/types.h>
4850 #include <sys/param.h>
4855 #if BYTE_ORDER != BIG_ENDIAN
4863 rm -f conftest.$ac_objext
4864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4865 (eval $ac_compile) 2>conftest.er1
4867 grep -v '^ *+' conftest.er1 >conftest.err
4869 cat conftest.err >&5
4870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4871 (exit $ac_status); } &&
4872 { ac_try='test -z "$ac_c_werror_flag"
4873 || test ! -s conftest.err'
4874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4878 (exit $ac_status); }; } &&
4879 { ac_try='test -s conftest.$ac_objext'
4880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4884 (exit $ac_status); }; }; then
4885 ac_cv_c_bigendian=yes
4887 echo "$as_me: failed program was:" >&5
4888 sed 's/^/| /' conftest.$ac_ext >&5
4890 ac_cv_c_bigendian=no
4892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4894 echo "$as_me: failed program was:" >&5
4895 sed 's/^/| /' conftest.$ac_ext >&5
4897 # It does not; compile a test program.
4898 if test "$cross_compiling" = yes; then
4899 # try to guess the endianness by grepping values into an object file
4900 ac_cv_c_bigendian=unknown
4901 cat >conftest.$ac_ext <<_ACEOF
4904 cat confdefs.h >>conftest.$ac_ext
4905 cat >>conftest.$ac_ext <<_ACEOF
4906 /* end confdefs.h. */
4907 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4908 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4909 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4910 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4911 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4912 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4916 _ascii (); _ebcdic ();
4921 rm -f conftest.$ac_objext
4922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4923 (eval $ac_compile) 2>conftest.er1
4925 grep -v '^ *+' conftest.er1 >conftest.err
4927 cat conftest.err >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); } &&
4930 { ac_try='test -z "$ac_c_werror_flag"
4931 || test ! -s conftest.err'
4932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; } &&
4937 { ac_try='test -s conftest.$ac_objext'
4938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4942 (exit $ac_status); }; }; then
4943 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4944 ac_cv_c_bigendian=yes
4946 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4947 if test "$ac_cv_c_bigendian" = unknown; then
4948 ac_cv_c_bigendian=no
4950 # finding both strings is unlikely to happen, but who knows?
4951 ac_cv_c_bigendian=unknown
4955 echo "$as_me: failed program was:" >&5
4956 sed 's/^/| /' conftest.$ac_ext >&5
4959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4961 cat >conftest.$ac_ext <<_ACEOF
4964 cat confdefs.h >>conftest.$ac_ext
4965 cat >>conftest.$ac_ext <<_ACEOF
4966 /* end confdefs.h. */
4970 /* Are we little or big endian? From Harbison&Steele. */
4974 char c[sizeof (long)];
4977 exit (u.c[sizeof (long) - 1] == 1);
4980 rm -f conftest$ac_exeext
4981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4982 (eval $ac_link) 2>&5
4984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4991 ac_cv_c_bigendian=no
4993 echo "$as_me: program exited with status $ac_status" >&5
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4998 ac_cv_c_bigendian=yes
5000 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5005 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5006 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5007 case $ac_cv_c_bigendian in
5010 cat >>confdefs.h <<\_ACEOF
5011 #define WORDS_BIGENDIAN 1
5017 { { echo "$as_me:$LINENO: error: unknown endianness
5018 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5019 echo "$as_me: error: unknown endianness
5020 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5021 { (exit 1); exit 1; }; } ;;
5024 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5025 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5026 if test "${ac_cv_c_long_double+set}" = set; then
5027 echo $ECHO_N "(cached) $ECHO_C" >&6
5029 cat >conftest.$ac_ext <<_ACEOF
5032 cat confdefs.h >>conftest.$ac_ext
5033 cat >>conftest.$ac_ext <<_ACEOF
5034 /* end confdefs.h. */
5036 long double foo = 0.0;
5040 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5041 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5042 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5049 rm -f conftest.$ac_objext
5050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5051 (eval $ac_compile) 2>conftest.er1
5053 grep -v '^ *+' conftest.er1 >conftest.err
5055 cat conftest.err >&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); } &&
5058 { ac_try='test -z "$ac_c_werror_flag"
5059 || test ! -s conftest.err'
5060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); }; } &&
5065 { ac_try='test -s conftest.$ac_objext'
5066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5070 (exit $ac_status); }; }; then
5071 ac_cv_c_long_double=yes
5073 echo "$as_me: failed program was:" >&5
5074 sed 's/^/| /' conftest.$ac_ext >&5
5076 ac_cv_c_long_double=no
5078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5080 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5081 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5082 if test $ac_cv_c_long_double = yes; then
5084 cat >>confdefs.h <<\_ACEOF
5085 #define HAVE_LONG_DOUBLE 1
5093 echo "$as_me:$LINENO: checking for strerror" >&5
5094 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5095 if test "${ac_cv_func_strerror+set}" = set; then
5096 echo $ECHO_N "(cached) $ECHO_C" >&6
5098 cat >conftest.$ac_ext <<_ACEOF
5101 cat confdefs.h >>conftest.$ac_ext
5102 cat >>conftest.$ac_ext <<_ACEOF
5103 /* end confdefs.h. */
5104 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5106 #define strerror innocuous_strerror
5108 /* System header to define __stub macros and hopefully few prototypes,
5109 which can conflict with char strerror (); below.
5110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5111 <limits.h> exists even on freestanding compilers. */
5114 # include <limits.h>
5116 # include <assert.h>
5121 /* Override any gcc2 internal prototype to avoid an error. */
5126 /* We use char because int might match the return type of a gcc2
5127 builtin and then its argument prototype would still apply. */
5129 /* The GNU C library defines this for functions which it implements
5130 to always fail with ENOSYS. Some functions are actually named
5131 something starting with __ and the normal name is an alias. */
5132 #if defined (__stub_strerror) || defined (__stub___strerror)
5135 char (*f) () = strerror;
5144 return f != strerror;
5149 rm -f conftest.$ac_objext conftest$ac_exeext
5150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5151 (eval $ac_link) 2>conftest.er1
5153 grep -v '^ *+' conftest.er1 >conftest.err
5155 cat conftest.err >&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); } &&
5158 { ac_try='test -z "$ac_c_werror_flag"
5159 || test ! -s conftest.err'
5160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5164 (exit $ac_status); }; } &&
5165 { ac_try='test -s conftest$ac_exeext'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; }; then
5171 ac_cv_func_strerror=yes
5173 echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.$ac_ext >&5
5176 ac_cv_func_strerror=no
5178 rm -f conftest.err conftest.$ac_objext \
5179 conftest$ac_exeext conftest.$ac_ext
5181 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5182 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5183 if test $ac_cv_func_strerror = yes; then
5186 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5187 echo "$as_me: error: \"need strerror function\"" >&2;}
5188 { (exit 1); exit 1; }; }
5196 ac_config_files="$ac_config_files $ac_output_file"
5197 ac_config_commands="$ac_config_commands default"
5198 cat >confcache <<\_ACEOF
5199 # This file is a shell script that caches the results of configure
5200 # tests run on this system so they can be shared between configure
5201 # scripts and configure runs, see configure's option --config-cache.
5202 # It is not useful on other systems. If it contains results you don't
5203 # want to keep, you may remove or edit it.
5205 # config.status only pays attention to the cache file if you give it
5206 # the --recheck option to rerun configure.
5208 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5209 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5214 # The following way of writing the cache mishandles newlines in values,
5215 # but we know of no workaround that is simple, portable, and efficient.
5216 # So, don't put newlines in cache variables' values.
5217 # Ultrix sh set writes to stderr and can't be redirected directly,
5218 # and sets the high bit in the cache file unless we assign to the vars.
5221 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5223 # `set' does not quote correctly, so add quotes (double-quote
5224 # substitution turns \\\\ into \\, and sed turns \\ into \).
5227 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5230 # `set' quotes correctly as required by POSIX, so do not add quotes.
5232 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5239 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5241 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5243 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5244 if test -w $cache_file; then
5245 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5246 cat confcache >$cache_file
5248 echo "not updating unwritable cache $cache_file"
5253 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5254 # Let make expand exec_prefix.
5255 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5257 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5258 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5259 # trailing colons and then remove the whole line if VPATH becomes empty
5260 # (actually we leave an empty line to preserve line numbers).
5261 if test "x$srcdir" = x.; then
5262 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5263 s/:*\$(srcdir):*/:/;
5264 s/:*\${srcdir}:*/:/;
5266 s/^\([^=]*=[ ]*\):*/\1/;
5272 DEFS=-DHAVE_CONFIG_H
5276 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5277 # 1. Remove the extension, and $U if already installed.
5278 ac_i=`echo "$ac_i" |
5279 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5281 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5282 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5286 LTLIBOBJS=$ac_ltlibobjs
5290 : ${CONFIG_STATUS=./config.status}
5291 ac_clean_files_save=$ac_clean_files
5292 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5293 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5294 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5295 cat >$CONFIG_STATUS <<_ACEOF
5297 # Generated by $as_me.
5298 # Run this file to recreate the current configuration.
5299 # Compiler output produced by configure, useful for debugging
5300 # configure, is in config.log if it exists.
5305 SHELL=\${CONFIG_SHELL-$SHELL}
5308 cat >>$CONFIG_STATUS <<\_ACEOF
5309 ## --------------------- ##
5310 ## M4sh Initialization. ##
5311 ## --------------------- ##
5313 # Be Bourne compatible
5314 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5317 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5318 # is contrary to our usage. Disable this feature.
5319 alias -g '${1+"$@"}'='"$@"'
5320 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5323 DUALCASE=1; export DUALCASE # for MKS sh
5325 # Support unset when possible.
5326 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5333 # Work around bugs in pre-3.0 UWIN ksh.
5334 $as_unset ENV MAIL MAILPATH
5341 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5342 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5343 LC_TELEPHONE LC_TIME
5345 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5346 eval $as_var=C; export $as_var
5352 # Required to use basename.
5353 if expr a : '\(a\)' >/dev/null 2>&1; then
5359 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5360 as_basename=basename
5366 # Name of the executable.
5367 as_me=`$as_basename "$0" ||
5368 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5369 X"$0" : 'X\(//\)$' \| \
5370 X"$0" : 'X\(/\)$' \| \
5371 . : '\(.\)' 2>/dev/null ||
5373 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5374 /^X\/\(\/\/\)$/{ s//\1/; q; }
5375 /^X\/\(\/\).*/{ s//\1/; q; }
5379 # PATH needs CR, and LINENO needs CR and PATH.
5380 # Avoid depending upon Character Ranges.
5381 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5382 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5383 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5384 as_cr_digits='0123456789'
5385 as_cr_alnum=$as_cr_Letters$as_cr_digits
5387 # The user is always right.
5388 if test "${PATH_SEPARATOR+set}" != set; then
5389 echo "#! /bin/sh" >conf$$.sh
5390 echo "exit 0" >>conf$$.sh
5392 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5403 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5404 test "x$as_lineno_1" != "x$as_lineno_2" &&
5405 test "x$as_lineno_3" = "x$as_lineno_2" || {
5406 # Find who we are. Look in the path if we contain no path at all
5409 *[\\/]* ) as_myself=$0 ;;
5410 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 test -z "$as_dir" && as_dir=.
5415 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5420 # We did not find ourselves, most probably we were run as `sh COMMAND'
5421 # in which case we are not to be found in the path.
5422 if test "x$as_myself" = x; then
5425 if test ! -f "$as_myself"; then
5426 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5427 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5428 { (exit 1); exit 1; }; }
5430 case $CONFIG_SHELL in
5432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5433 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5436 test -z "$as_dir" && as_dir=.
5437 for as_base in sh bash ksh sh5; do
5440 if ("$as_dir/$as_base" -c '
5443 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5444 test "x$as_lineno_1" != "x$as_lineno_2" &&
5445 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5446 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5447 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5448 CONFIG_SHELL=$as_dir/$as_base
5450 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5458 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5459 # uniformly replaced by the line number. The first 'sed' inserts a
5460 # line-number line before each line; the second 'sed' does the real
5461 # work. The second script uses 'N' to pair each line-number line
5462 # with the numbered line, and appends trailing '-' during
5463 # substitution so that $LINENO is not a special case at line end.
5464 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5465 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5466 sed '=' <$as_myself |
5471 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5474 s,^['$as_cr_digits']*\n,,
5476 chmod +x $as_me.lineno ||
5477 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5478 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5479 { (exit 1); exit 1; }; }
5481 # Don't try to exec as it changes $[0], causing all sort of problems
5482 # (the dirname of $[0] is not the place where we might find the
5483 # original and so on. Autoconf is especially sensible to this).
5485 # Exit status is that of the last command.
5490 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5491 *c*,-n*) ECHO_N= ECHO_C='
5493 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5494 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5497 if expr a : '\(a\)' >/dev/null 2>&1; then
5503 rm -f conf$$ conf$$.exe conf$$.file
5505 if ln -s conf$$.file conf$$ 2>/dev/null; then
5506 # We could just check for DJGPP; but this test a) works b) is more generic
5507 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5508 if test -f conf$$.exe; then
5509 # Don't use ln at all; we don't have any links
5514 elif ln conf$$.file conf$$ 2>/dev/null; then
5519 rm -f conf$$ conf$$.exe conf$$.file
5521 if mkdir -p . 2>/dev/null; then
5524 test -d ./-p && rmdir ./-p
5528 as_executable_p="test -f"
5530 # Sed expression to map a string onto a valid CPP name.
5531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5533 # Sed expression to map a string onto a valid variable name.
5534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5538 # We need space, tab and new line, in precisely that order.
5548 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5549 # report actual input values of CONFIG_FILES etc. instead of their
5550 # values after options handling. Logging --version etc. is OK.
5554 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5555 ## Running $as_me. ##
5560 This file was extended by libfirm $as_me 0.3.0, which was
5561 generated by GNU Autoconf 2.59. Invocation command line was
5563 CONFIG_FILES = $CONFIG_FILES
5564 CONFIG_HEADERS = $CONFIG_HEADERS
5565 CONFIG_LINKS = $CONFIG_LINKS
5566 CONFIG_COMMANDS = $CONFIG_COMMANDS
5570 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5574 # Files that config.status was made for.
5575 if test -n "$ac_config_files"; then
5576 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5579 if test -n "$ac_config_headers"; then
5580 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5583 if test -n "$ac_config_links"; then
5584 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5587 if test -n "$ac_config_commands"; then
5588 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5591 cat >>$CONFIG_STATUS <<\_ACEOF
5594 \`$as_me' instantiates files from templates according to the
5595 current configuration.
5597 Usage: $0 [OPTIONS] [FILE]...
5599 -h, --help print this help, then exit
5600 -V, --version print version number, then exit
5601 -q, --quiet do not print progress messages
5602 -d, --debug don't remove temporary files
5603 --recheck update $as_me by reconfiguring in the same conditions
5604 --file=FILE[:TEMPLATE]
5605 instantiate the configuration file FILE
5606 --header=FILE[:TEMPLATE]
5607 instantiate the configuration header FILE
5609 Configuration files:
5612 Configuration headers:
5615 Configuration commands:
5618 Report bugs to <bug-autoconf@gnu.org>."
5621 cat >>$CONFIG_STATUS <<_ACEOF
5623 libfirm config.status 0.3.0
5624 configured by $0, generated by GNU Autoconf 2.59,
5625 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5627 Copyright (C) 2003 Free Software Foundation, Inc.
5628 This config.status script is free software; the Free Software Foundation
5629 gives unlimited permission to copy, distribute and modify it."
5634 cat >>$CONFIG_STATUS <<\_ACEOF
5635 # If no file are specified by the user, then we need to provide default
5636 # value. By we need to know if files were specified by the user.
5642 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5643 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5651 *) # This is not an option, so the user has probably given explicit
5654 ac_need_defaults=false;;
5658 # Handling of the options.
5660 cat >>$CONFIG_STATUS <<\_ACEOF
5661 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5663 --version | --vers* | -V )
5664 echo "$ac_cs_version"; exit 0 ;;
5666 # Conflict between --help and --header
5667 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5668 Try \`$0 --help' for more information." >&5
5669 echo "$as_me: error: ambiguous option: $1
5670 Try \`$0 --help' for more information." >&2;}
5671 { (exit 1); exit 1; }; };;
5672 --help | --hel | -h )
5673 echo "$ac_cs_usage"; exit 0 ;;
5674 --debug | --d* | -d )
5676 --file | --fil | --fi | --f )
5678 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5679 ac_need_defaults=false;;
5680 --header | --heade | --head | --hea )
5682 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5683 ac_need_defaults=false;;
5684 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5685 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5689 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5690 Try \`$0 --help' for more information." >&5
5691 echo "$as_me: error: unrecognized option: $1
5692 Try \`$0 --help' for more information." >&2;}
5693 { (exit 1); exit 1; }; } ;;
5695 *) ac_config_targets="$ac_config_targets $1" ;;
5701 ac_configure_extra_args=
5703 if $ac_cs_silent; then
5705 ac_configure_extra_args="$ac_configure_extra_args --silent"
5709 cat >>$CONFIG_STATUS <<_ACEOF
5710 if \$ac_cs_recheck; then
5711 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5712 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5721 cat >>$CONFIG_STATUS <<\_ACEOF
5722 for ac_config_target in $ac_config_targets
5724 case "$ac_config_target" in
5725 # Handling of arguments.
5726 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5727 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5728 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5729 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5730 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5731 { (exit 1); exit 1; }; };;
5735 # If the user did not use the arguments to specify the items to instantiate,
5736 # then the envvar interface is used. Set only those that are not.
5737 # We use the long form for the default assignment because of an extremely
5738 # bizarre bug on SunOS 4.1.3.
5739 if $ac_need_defaults; then
5740 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5741 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5742 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5745 # Have a temporary directory for convenience. Make it in the build tree
5746 # simply because there is no reason to put it here, and in addition,
5747 # creating and moving files from /tmp can sometimes cause problems.
5748 # Create a temporary directory, and hook for its removal unless debugging.
5751 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5752 trap '{ (exit 1); exit 1; }' 1 2 13 15
5755 # Create a (secure) tmp directory for tmp files.
5758 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5759 test -n "$tmp" && test -d "$tmp"
5762 tmp=./confstat$$-$RANDOM
5763 (umask 077 && mkdir $tmp)
5766 echo "$me: cannot create a temporary directory in ." >&2
5767 { (exit 1); exit 1; }
5772 cat >>$CONFIG_STATUS <<_ACEOF
5775 # CONFIG_FILES section.
5778 # No need to generate the scripts if there are no CONFIG_FILES.
5779 # This happens for instance when ./config.status config.h
5780 if test -n "\$CONFIG_FILES"; then
5781 # Protect against being on the right side of a sed subst in config.status.
5782 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5783 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5784 s,@SHELL@,$SHELL,;t t
5785 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5786 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5787 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5788 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5789 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5790 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5791 s,@exec_prefix@,$exec_prefix,;t t
5792 s,@prefix@,$prefix,;t t
5793 s,@program_transform_name@,$program_transform_name,;t t
5794 s,@bindir@,$bindir,;t t
5795 s,@sbindir@,$sbindir,;t t
5796 s,@libexecdir@,$libexecdir,;t t
5797 s,@datadir@,$datadir,;t t
5798 s,@sysconfdir@,$sysconfdir,;t t
5799 s,@sharedstatedir@,$sharedstatedir,;t t
5800 s,@localstatedir@,$localstatedir,;t t
5801 s,@libdir@,$libdir,;t t
5802 s,@includedir@,$includedir,;t t
5803 s,@oldincludedir@,$oldincludedir,;t t
5804 s,@infodir@,$infodir,;t t
5805 s,@mandir@,$mandir,;t t
5806 s,@build_alias@,$build_alias,;t t
5807 s,@host_alias@,$host_alias,;t t
5808 s,@target_alias@,$target_alias,;t t
5810 s,@ECHO_C@,$ECHO_C,;t t
5811 s,@ECHO_N@,$ECHO_N,;t t
5812 s,@ECHO_T@,$ECHO_T,;t t
5814 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5815 s,@plugin_subdirs@,$plugin_subdirs,;t t
5816 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5817 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5818 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5819 s,@enable_firm_jni@,$enable_firm_jni,;t t
5820 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5821 s,@disable_libiberty@,$disable_libiberty,;t t
5822 s,@enable_statistics@,$enable_statistics,;t t
5823 s,@enable_libcore@,$enable_libcore,;t t
5824 s,@enable_external_effects@,$enable_external_effects,;t t
5826 s,@CFLAGS@,$CFLAGS,;t t
5827 s,@LDFLAGS@,$LDFLAGS,;t t
5828 s,@CPPFLAGS@,$CPPFLAGS,;t t
5829 s,@ac_ct_CC@,$ac_ct_CC,;t t
5830 s,@EXEEXT@,$EXEEXT,;t t
5831 s,@OBJEXT@,$OBJEXT,;t t
5833 s,@ac_ct_LD@,$ac_ct_LD,;t t
5834 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5837 s,@RANLIB@,$RANLIB,;t t
5838 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5839 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5840 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5841 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5843 s,@DOXYGEN@,$DOXYGEN,;t t
5845 s,@JAVAC@,$JAVAC,;t t
5846 s,@JAVAH@,$JAVAH,;t t
5848 s,@EGREP@,$EGREP,;t t
5849 s,@LIBOBJS@,$LIBOBJS,;t t
5850 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5855 cat >>$CONFIG_STATUS <<\_ACEOF
5856 # Split the substitutions into bite-sized pieces for seds with
5857 # small command number limits, like on Digital OSF/1 and HP-UX.
5859 ac_sed_frag=1 # Number of current file.
5860 ac_beg=1 # First line for current file.
5861 ac_end=$ac_max_sed_lines # Line after last line for current file.
5864 while $ac_more_lines; do
5865 if test $ac_beg -gt 1; then
5866 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5868 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5870 if test ! -s $tmp/subs.frag; then
5873 # The purpose of the label and of the branching condition is to
5874 # speed up the sed processing (if there are no `@' at all, there
5875 # is no need to browse any of the substitutions).
5876 # These are the two extra sed commands mentioned above.
5878 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5879 if test -z "$ac_sed_cmds"; then
5880 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5882 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5884 ac_sed_frag=`expr $ac_sed_frag + 1`
5886 ac_end=`expr $ac_end + $ac_max_sed_lines`
5889 if test -z "$ac_sed_cmds"; then
5892 fi # test -n "$CONFIG_FILES"
5895 cat >>$CONFIG_STATUS <<\_ACEOF
5896 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5897 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5899 - | *:- | *:-:* ) # input from stdin
5901 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5902 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5903 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5904 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5905 * ) ac_file_in=$ac_file.in ;;
5908 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5909 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5910 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5911 X"$ac_file" : 'X\(//\)[^/]' \| \
5912 X"$ac_file" : 'X\(//\)$' \| \
5913 X"$ac_file" : 'X\(/\)' \| \
5914 . : '\(.\)' 2>/dev/null ||
5916 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5917 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5918 /^X\(\/\/\)$/{ s//\1/; q; }
5919 /^X\(\/\).*/{ s//\1/; q; }
5921 { if $as_mkdir_p; then
5926 while test ! -d "$as_dir"; do
5927 as_dirs="$as_dir $as_dirs"
5928 as_dir=`(dirname "$as_dir") 2>/dev/null ||
5929 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5930 X"$as_dir" : 'X\(//\)[^/]' \| \
5931 X"$as_dir" : 'X\(//\)$' \| \
5932 X"$as_dir" : 'X\(/\)' \| \
5933 . : '\(.\)' 2>/dev/null ||
5935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5936 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5937 /^X\(\/\/\)$/{ s//\1/; q; }
5938 /^X\(\/\).*/{ s//\1/; q; }
5941 test ! -n "$as_dirs" || mkdir $as_dirs
5942 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5943 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5944 { (exit 1); exit 1; }; }; }
5948 if test "$ac_dir" != .; then
5949 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5950 # A "../" for each directory in $ac_dir_suffix.
5951 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5953 ac_dir_suffix= ac_top_builddir=
5957 .) # No --srcdir option. We are building in place.
5959 if test -z "$ac_top_builddir"; then
5962 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5964 [\\/]* | ?:[\\/]* ) # Absolute path.
5965 ac_srcdir=$srcdir$ac_dir_suffix;
5966 ac_top_srcdir=$srcdir ;;
5968 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5969 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5972 # Do not use `cd foo && pwd` to compute absolute paths, because
5973 # the directories may not exist.
5975 .) ac_abs_builddir="$ac_dir";;
5978 .) ac_abs_builddir=`pwd`;;
5979 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
5980 *) ac_abs_builddir=`pwd`/"$ac_dir";;
5983 case $ac_abs_builddir in
5984 .) ac_abs_top_builddir=${ac_top_builddir}.;;
5986 case ${ac_top_builddir}. in
5987 .) ac_abs_top_builddir=$ac_abs_builddir;;
5988 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
5989 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
5992 case $ac_abs_builddir in
5993 .) ac_abs_srcdir=$ac_srcdir;;
5996 .) ac_abs_srcdir=$ac_abs_builddir;;
5997 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
5998 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6001 case $ac_abs_builddir in
6002 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6004 case $ac_top_srcdir in
6005 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6006 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6007 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6013 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6014 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6017 if test x"$ac_file" != x-; then
6018 { echo "$as_me:$LINENO: creating $ac_file" >&5
6019 echo "$as_me: creating $ac_file" >&6;}
6022 # Let's still pretend it is `configure' which instantiates (i.e., don't
6023 # use $as_me), people would be surprised to read:
6024 # /* config.h. Generated by config.status. */
6025 if test x"$ac_file" = x-; then
6028 configure_input="$ac_file. "
6030 configure_input=$configure_input"Generated from `echo $ac_file_in |
6031 sed 's,.*/,,'` by configure."
6033 # First look for the input files in the build tree, otherwise in the
6035 ac_file_inputs=`IFS=:
6036 for f in $ac_file_in; do
6038 -) echo $tmp/stdin ;;
6040 # Absolute (can't be DOS-style, as IFS=:)
6041 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6042 echo "$as_me: error: cannot find input file: $f" >&2;}
6043 { (exit 1); exit 1; }; }
6046 if test -f "$f"; then
6049 elif test -f "$srcdir/$f"; then
6054 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6055 echo "$as_me: error: cannot find input file: $f" >&2;}
6056 { (exit 1); exit 1; }; }
6059 done` || { (exit 1); exit 1; }
6061 cat >>$CONFIG_STATUS <<_ACEOF
6065 cat >>$CONFIG_STATUS <<\_ACEOF
6067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6068 s,@configure_input@,$configure_input,;t t
6069 s,@srcdir@,$ac_srcdir,;t t
6070 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6071 s,@top_srcdir@,$ac_top_srcdir,;t t
6072 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6073 s,@builddir@,$ac_builddir,;t t
6074 s,@abs_builddir@,$ac_abs_builddir,;t t
6075 s,@top_builddir@,$ac_top_builddir,;t t
6076 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6077 s,@INSTALL@,$ac_INSTALL,;t t
6078 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6080 if test x"$ac_file" != x-; then
6081 mv $tmp/out $ac_file
6089 cat >>$CONFIG_STATUS <<\_ACEOF
6092 # CONFIG_HEADER section.
6095 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6096 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6098 # ac_d sets the value in "#define NAME VALUE" lines.
6099 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6100 ac_dB='[ ].*$,\1#\2'
6103 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6104 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6105 ac_uB='$,\1#\2define\3'
6109 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6110 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6112 - | *:- | *:-:* ) # input from stdin
6114 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6115 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6116 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6117 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6118 * ) ac_file_in=$ac_file.in ;;
6121 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6122 echo "$as_me: creating $ac_file" >&6;}
6124 # First look for the input files in the build tree, otherwise in the
6126 ac_file_inputs=`IFS=:
6127 for f in $ac_file_in; do
6129 -) echo $tmp/stdin ;;
6131 # Absolute (can't be DOS-style, as IFS=:)
6132 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6133 echo "$as_me: error: cannot find input file: $f" >&2;}
6134 { (exit 1); exit 1; }; }
6135 # Do quote $f, to prevent DOS paths from being IFS'd.
6138 if test -f "$f"; then
6141 elif test -f "$srcdir/$f"; then
6146 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6147 echo "$as_me: error: cannot find input file: $f" >&2;}
6148 { (exit 1); exit 1; }; }
6151 done` || { (exit 1); exit 1; }
6152 # Remove the trailing spaces.
6153 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6157 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6158 # `conftest.undefs', that substitutes the proper values into
6159 # config.h.in to produce config.h. The first handles `#define'
6160 # templates, and the second `#undef' templates.
6161 # And first: Protect against being on the right side of a sed subst in
6162 # config.status. Protect against being in an unquoted here document
6164 rm -f conftest.defines conftest.undefs
6165 # Using a here document instead of a string reduces the quoting nightmare.
6166 # Putting comments in sed scripts is not portable.
6168 # `end' is used to avoid that the second main sed command (meant for
6169 # 0-ary CPP macros) applies to n-ary macro definitions.
6170 # See the Autoconf documentation for `clear'.
6171 cat >confdef2sed.sed <<\_ACEOF
6176 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6178 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6181 # If some macros were called several times there might be several times
6182 # the same #defines, which is useless. Nevertheless, we may not want to
6183 # sort them, since we want the *last* AC-DEFINE to be honored.
6184 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6185 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6186 rm -f confdef2sed.sed
6188 # This sed command replaces #undef with comments. This is necessary, for
6189 # example, in the case of _POSIX_SOURCE, which is predefined and required
6190 # on some systems where configure will not decide to define it.
6191 cat >>conftest.undefs <<\_ACEOF
6192 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6195 # Break up conftest.defines because some shells have a limit on the size
6196 # of here documents, and old seds have small limits too (100 cmds).
6197 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6198 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6199 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6200 echo ' :' >>$CONFIG_STATUS
6202 while grep . conftest.defines >/dev/null
6204 # Write a limited-size here document to $tmp/defines.sed.
6205 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6206 # Speed up: don't consider the non `#define' lines.
6207 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6208 # Work around the forget-to-reset-the-flag bug.
6209 echo 't clr' >>$CONFIG_STATUS
6210 echo ': clr' >>$CONFIG_STATUS
6211 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6213 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6217 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6218 rm -f conftest.defines
6219 mv conftest.tail conftest.defines
6221 rm -f conftest.defines
6222 echo ' fi # grep' >>$CONFIG_STATUS
6223 echo >>$CONFIG_STATUS
6225 # Break up conftest.undefs because some shells have a limit on the size
6226 # of here documents, and old seds have small limits too (100 cmds).
6227 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6229 while grep . conftest.undefs >/dev/null
6231 # Write a limited-size here document to $tmp/undefs.sed.
6232 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6233 # Speed up: don't consider the non `#undef'
6234 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6235 # Work around the forget-to-reset-the-flag bug.
6236 echo 't clr' >>$CONFIG_STATUS
6237 echo ': clr' >>$CONFIG_STATUS
6238 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6240 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6244 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6245 rm -f conftest.undefs
6246 mv conftest.tail conftest.undefs
6248 rm -f conftest.undefs
6250 cat >>$CONFIG_STATUS <<\_ACEOF
6251 # Let's still pretend it is `configure' which instantiates (i.e., don't
6252 # use $as_me), people would be surprised to read:
6253 # /* config.h. Generated by config.status. */
6254 if test x"$ac_file" = x-; then
6255 echo "/* Generated by configure. */" >$tmp/config.h
6257 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6259 cat $tmp/in >>$tmp/config.h
6261 if test x"$ac_file" != x-; then
6262 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6263 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6264 echo "$as_me: $ac_file is unchanged" >&6;}
6266 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6267 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6268 X"$ac_file" : 'X\(//\)[^/]' \| \
6269 X"$ac_file" : 'X\(//\)$' \| \
6270 X"$ac_file" : 'X\(/\)' \| \
6271 . : '\(.\)' 2>/dev/null ||
6273 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6274 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6275 /^X\(\/\/\)$/{ s//\1/; q; }
6276 /^X\(\/\).*/{ s//\1/; q; }
6278 { if $as_mkdir_p; then
6283 while test ! -d "$as_dir"; do
6284 as_dirs="$as_dir $as_dirs"
6285 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6286 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6287 X"$as_dir" : 'X\(//\)[^/]' \| \
6288 X"$as_dir" : 'X\(//\)$' \| \
6289 X"$as_dir" : 'X\(/\)' \| \
6290 . : '\(.\)' 2>/dev/null ||
6292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6293 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6294 /^X\(\/\/\)$/{ s//\1/; q; }
6295 /^X\(\/\).*/{ s//\1/; q; }
6298 test ! -n "$as_dirs" || mkdir $as_dirs
6299 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6300 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6301 { (exit 1); exit 1; }; }; }
6304 mv $tmp/config.h $ac_file
6312 cat >>$CONFIG_STATUS <<\_ACEOF
6315 # CONFIG_COMMANDS section.
6317 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6318 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6319 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6320 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6321 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6322 X"$ac_dest" : 'X\(//\)[^/]' \| \
6323 X"$ac_dest" : 'X\(//\)$' \| \
6324 X"$ac_dest" : 'X\(/\)' \| \
6325 . : '\(.\)' 2>/dev/null ||
6327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6328 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6329 /^X\(\/\/\)$/{ s//\1/; q; }
6330 /^X\(\/\).*/{ s//\1/; q; }
6332 { if $as_mkdir_p; then
6337 while test ! -d "$as_dir"; do
6338 as_dirs="$as_dir $as_dirs"
6339 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6341 X"$as_dir" : 'X\(//\)[^/]' \| \
6342 X"$as_dir" : 'X\(//\)$' \| \
6343 X"$as_dir" : 'X\(/\)' \| \
6344 . : '\(.\)' 2>/dev/null ||
6346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6347 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6348 /^X\(\/\/\)$/{ s//\1/; q; }
6349 /^X\(\/\).*/{ s//\1/; q; }
6352 test ! -n "$as_dirs" || mkdir $as_dirs
6353 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6354 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6355 { (exit 1); exit 1; }; }; }
6359 if test "$ac_dir" != .; then
6360 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6361 # A "../" for each directory in $ac_dir_suffix.
6362 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6364 ac_dir_suffix= ac_top_builddir=
6368 .) # No --srcdir option. We are building in place.
6370 if test -z "$ac_top_builddir"; then
6373 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6375 [\\/]* | ?:[\\/]* ) # Absolute path.
6376 ac_srcdir=$srcdir$ac_dir_suffix;
6377 ac_top_srcdir=$srcdir ;;
6379 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6380 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6383 # Do not use `cd foo && pwd` to compute absolute paths, because
6384 # the directories may not exist.
6386 .) ac_abs_builddir="$ac_dir";;
6389 .) ac_abs_builddir=`pwd`;;
6390 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6391 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6394 case $ac_abs_builddir in
6395 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6397 case ${ac_top_builddir}. in
6398 .) ac_abs_top_builddir=$ac_abs_builddir;;
6399 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6400 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6403 case $ac_abs_builddir in
6404 .) ac_abs_srcdir=$ac_srcdir;;
6407 .) ac_abs_srcdir=$ac_abs_builddir;;
6408 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6409 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6412 case $ac_abs_builddir in
6413 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6415 case $ac_top_srcdir in
6416 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6417 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6418 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6423 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6424 echo "$as_me: executing $ac_dest commands" >&6;}
6426 default ) touch stamp-h ;;
6431 cat >>$CONFIG_STATUS <<\_ACEOF
6433 { (exit 0); exit 0; }
6435 chmod +x $CONFIG_STATUS
6436 ac_clean_files=$ac_clean_files_save
6439 # configure is writing to config.log, and then calls config.status.
6440 # config.status does its own redirection, appending to config.log.
6441 # Unfortunately, on DOS this fails, as config.log is still kept open
6442 # by configure, so config.status won't be able to write to it; its
6443 # output is simply discarded. So we exec the FD to /dev/null,
6444 # effectively closing config.log, so it can be properly (re)opened and
6445 # appended to by config.status. When coming back to configure, we
6446 # need to make the FD available again.
6447 if test "$no_create" != yes; then
6449 ac_config_status_args=
6450 test "$silent" = yes &&
6451 ac_config_status_args="$ac_config_status_args --quiet"
6453 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6455 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6456 # would make configure fail if this is the last instruction.
6457 $ac_cs_success || { (exit 1); exit 1; }
6461 gawk -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h