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 1.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='1.3.0'
272 PACKAGE_STRING='libfirm 1.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 XML2CONFIG enable_debug_libfirm enable_profile_libfirm enable_auto_documentation enable_firm_jni enable_heapanalysis disable_libiberty enable_statistics enable_libcore enable_ilp enable_wchar_support enable_external_effects CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT AWK 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 1.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 1.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 --enable-ilp enable ilp solver
857 --enable-wchar-support enable wchar_t support for identifiers (needed for java)
858 --disable-external-effects disable descriptions of external effects in XML
861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
863 --with-plugins=list include external libfirm plugins list (space separated)
864 --with-includedir=add colon seperated list of directories to include search path
865 --with-libdir=add colon seperated list of directories to linker search path
867 Some influential environment variables:
868 CC C compiler command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
871 nonstandard directory <lib dir>
872 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
873 headers in a nonstandard directory <include dir>
876 Use these variables to override the choices made by `configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo && pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
974 libfirm configure 1.3.0
975 generated by GNU Autoconf 2.59
977 Copyright (C) 2003 Free Software Foundation, Inc.
978 This configure script is free software; the Free Software Foundation
979 gives unlimited permission to copy, distribute and modify it.
985 This file contains any messages produced by compilers while
986 running configure, to aid debugging if configure makes a mistake.
988 It was created by libfirm $as_me 1.3.0, which was
989 generated by GNU Autoconf 2.59. Invocation command line was
1000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1007 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1009 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1010 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1012 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1013 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1014 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1015 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023 test -z "$as_dir" && as_dir=.
1024 echo "PATH: $as_dir"
1039 # Keep a trace of the command line.
1040 # Strip out --no-create and --no-recursion so they do not pile up.
1041 # Strip out --silent because we don't want to record it for future runs.
1042 # Also quote any args containing shell meta-characters.
1043 # Make two passes to allow for proper duplicate-argument suppression.
1048 ac_must_keep_next=false
1054 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1058 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1062 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1064 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1065 if test $ac_must_keep_next = true; then
1066 ac_must_keep_next=false # Got value, back to normal.
1069 *=* | --config-cache | -C | -disable-* | --disable-* \
1070 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1071 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1072 | -with-* | --with-* | -without-* | --without-* | --x)
1073 case "$ac_configure_args0 " in
1074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1077 -* ) ac_must_keep_next=true ;;
1080 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1081 # Get rid of the leading space.
1087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1090 # When interrupted or exit'd, cleanup temporary files, and complete
1091 # config.log. We remove comments because anyway the quotes in there
1092 # would cause problems or look ugly.
1093 # WARNING: Be sure not to use single quotes in there, as some shells,
1094 # such as our DU 5.0 friend, will then `close' the trap.
1095 trap 'exit_status=$?
1096 # Save into config.log some information that might help in debugging.
1101 ## ---------------- ##
1102 ## Cache variables. ##
1103 ## ---------------- ##
1106 # The following way of writing the cache mishandles newlines in values,
1109 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1112 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ## ----------------- ##
1125 ## Output variables. ##
1126 ## ----------------- ##
1129 for ac_var in $ac_subst_vars
1131 eval ac_val=$`echo $ac_var`
1132 echo "$ac_var='"'"'$ac_val'"'"'"
1136 if test -n "$ac_subst_files"; then
1143 for ac_var in $ac_subst_files
1145 eval ac_val=$`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -s confdefs.h; then
1158 sed "/^$/d" confdefs.h | sort
1161 test "$ac_signal" != 0 &&
1162 echo "$as_me: caught signal $ac_signal"
1163 echo "$as_me: exit $exit_status"
1165 rm -f core *.core &&
1166 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1169 for ac_signal in 1 2 13 15; do
1170 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1175 rm -rf conftest* confdefs.h
1176 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1179 # Predefined preprocessor variables.
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_NAME "$PACKAGE_NAME"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_STRING "$PACKAGE_STRING"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206 # Let the site file select an alternate cache file if it wants to.
1207 # Prefer explicitly selected file to automatically selected ones.
1208 if test -z "$CONFIG_SITE"; then
1209 if test "x$prefix" != xNONE; then
1210 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1215 for ac_site_file in $CONFIG_SITE; do
1216 if test -r "$ac_site_file"; then
1217 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218 echo "$as_me: loading site script $ac_site_file" >&6;}
1219 sed 's/^/| /' "$ac_site_file" >&5
1224 if test -r "$cache_file"; then
1225 # Some versions of bash will fail to source /dev/null (special
1226 # files actually), so we avoid doing that.
1227 if test -f "$cache_file"; then
1228 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229 echo "$as_me: loading cache $cache_file" >&6;}
1231 [\\/]* | ?:[\\/]* ) . $cache_file;;
1232 *) . ./$cache_file;;
1236 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237 echo "$as_me: creating cache $cache_file" >&6;}
1241 # Check that the precious variables saved in the cache have kept the same
1243 ac_cache_corrupted=false
1244 for ac_var in `(set) 2>&1 |
1245 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247 eval ac_new_set=\$ac_env_${ac_var}_set
1248 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249 eval ac_new_val="\$ac_env_${ac_var}_value"
1250 case $ac_old_set,$ac_new_set in
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1254 ac_cache_corrupted=: ;;
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258 ac_cache_corrupted=: ;;
1261 if test "x$ac_old_val" != "x$ac_new_val"; then
1262 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1263 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1264 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1265 echo "$as_me: former value: $ac_old_val" >&2;}
1266 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1267 echo "$as_me: current value: $ac_new_val" >&2;}
1268 ac_cache_corrupted=:
1271 # Pass precious variables to config.status.
1272 if test "$ac_new_set" = set; then
1274 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1275 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1276 *) ac_arg=$ac_var=$ac_new_val ;;
1278 case " $ac_configure_args " in
1279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1280 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284 if $ac_cache_corrupted; then
1285 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1286 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1287 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1288 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1289 { (exit 1); exit 1; }; }
1293 ac_cpp='$CPP $CPPFLAGS'
1294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1327 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1328 ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
1329 ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
1330 ir/arch/Makefile ir/lower/Makefile \
1331 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1334 ac_config_headers="$ac_config_headers config.h"
1337 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1340 CONF_DIR_NAME=`dirname $0`
1343 echo "$as_me:$LINENO: checking for external libfirm plugins" >&5
1344 echo $ECHO_N "checking for external libfirm plugins... $ECHO_C" >&6
1346 # Check whether --with-plugins or --without-plugins was given.
1347 if test "${with_plugins+set}" = set; then
1348 withval="$with_plugins"
1350 plugin_subdirs=$withval
1352 for i in $withval ; do
1353 plugin_files="$i/Makefile $plugin_files"
1355 ac_output_file="$ac_output_file $plugin_files"
1364 if test "$plugin_subdirs" == ""; then
1365 echo "$as_me:$LINENO: result: disabled" >&5
1366 echo "${ECHO_T}disabled" >&6
1368 echo "$as_me:$LINENO: result: $plugin_subdirs" >&5
1369 echo "${ECHO_T}$plugin_subdirs" >&6
1373 # Check whether --with-includedir or --without-includedir was given.
1374 if test "${with_includedir+set}" = set; then
1375 withval="$with_includedir"
1376 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1380 # Check whether --with-libdir or --without-libdir was given.
1381 if test "${with_libdir+set}" = set; then
1382 withval="$with_libdir"
1383 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1387 # Extract the first word of "xml2-config", so it can be a program name with args.
1388 set dummy xml2-config; ac_word=$2
1389 echo "$as_me:$LINENO: checking for $ac_word" >&5
1390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1391 if test "${ac_cv_prog_XML2CONFIG+set}" = set; then
1392 echo $ECHO_N "(cached) $ECHO_C" >&6
1394 if test -n "$XML2CONFIG"; then
1395 ac_cv_prog_XML2CONFIG="$XML2CONFIG" # Let the user override the test.
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1401 test -z "$as_dir" && as_dir=.
1402 for ac_exec_ext in '' $ac_executable_extensions; do
1403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1404 ac_cv_prog_XML2CONFIG=""xml2-config""
1405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1411 test -z "$ac_cv_prog_XML2CONFIG" && ac_cv_prog_XML2CONFIG=""echo""
1414 XML2CONFIG=$ac_cv_prog_XML2CONFIG
1415 if test -n "$XML2CONFIG"; then
1416 echo "$as_me:$LINENO: result: $XML2CONFIG" >&5
1417 echo "${ECHO_T}$XML2CONFIG" >&6
1419 echo "$as_me:$LINENO: result: no" >&5
1420 echo "${ECHO_T}no" >&6
1423 if test "$XML2CONFIG" != "xml2-config"; then
1424 { { echo "$as_me:$LINENO: error: xml2-config for detecting libxml2 not found" >&5
1425 echo "$as_me: error: xml2-config for detecting libxml2 not found" >&2;}
1426 { (exit 1); exit 1; }; }
1429 LDFLAGS=$LDFLAGS" -L/usr/lib `$XML2CONFIG --libs`";
1430 CPPFLAGS=$CPPFLAGS" `$XML2CONFIG --cflags`";
1432 # Check whether --enable-debug or --disable-debug was given.
1433 if test "${enable_debug+set}" = set; then
1434 enableval="$enable_debug"
1435 if test "$enableval" = yes; then
1436 cat >>confdefs.h <<\_ACEOF
1437 #define DEBUG_libfirm 1
1441 cat >>confdefs.h <<\_ACEOF
1449 # Check whether --enable-inlining or --disable-inlining was given.
1450 if test "${enable_inlining+set}" = set; then
1451 enableval="$enable_inlining"
1452 if test "$enableval" = yes; then
1453 cat >>confdefs.h <<\_ACEOF
1454 #define USE_INLINING 1
1459 cat >>confdefs.h <<\_ACEOF
1460 #define USE_INLINING 1
1466 # Check whether --enable-profile or --disable-profile was given.
1467 if test "${enable_profile+set}" = set; then
1468 enableval="$enable_profile"
1469 if test "$enableval"=yes; then
1470 enable_profile_libfirm=yes
1473 enable_profile_libfirm=no
1477 # Check whether --enable-autodoc or --disable-autodoc was given.
1478 if test "${enable_autodoc+set}" = set; then
1479 enableval="$enable_autodoc"
1480 if test "$enableval"=yes; then
1481 enable_auto_documentation=yes
1484 enable_auto_documentation=no
1489 # Check whether --enable-firmjni or --disable-firmjni was given.
1490 if test "${enable_firmjni+set}" = set; then
1491 enableval="$enable_firmjni"
1492 if test "$enableval"=yes; then
1500 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1501 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1502 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1503 if test "${enable_heapanalysis+set}" = set; then
1504 enableval="$enable_heapanalysis"
1505 enable_heapanalysis=$enableval
1507 enable_heapanalysis="no"
1509 if test "$enable_heapanalysis" = "no"; then
1510 echo "$as_me:$LINENO: result: disabled" >&5
1511 echo "${ECHO_T}disabled" >&6
1513 cat >>confdefs.h <<\_ACEOF
1514 #define DO_HEAPANALYSIS 1
1517 echo "$as_me:$LINENO: result: enabled" >&5
1518 echo "${ECHO_T}enabled" >&6
1522 # Check whether --enable-libiberty or --disable-libiberty was given.
1523 if test "${enable_libiberty+set}" = set; then
1524 enableval="$enable_libiberty"
1525 if test "$enableval"=yes; then
1526 disable_libiberty=yes
1529 disable_libiberty=no
1533 # Check whether --enable-hooks or --disable-hooks was given.
1534 if test "${enable_hooks+set}" = set; then
1535 enableval="$enable_hooks"
1536 if test "$enableval" = yes; then
1537 cat >>confdefs.h <<\_ACEOF
1538 #define FIRM_ENABLE_HOOKS 1
1543 cat >>confdefs.h <<\_ACEOF
1544 #define FIRM_ENABLE_HOOKS 1
1550 # Check whether --enable-inplace_edges or --disable-inplace_edges was given.
1551 if test "${enable_inplace_edges+set}" = set; then
1552 enableval="$enable_inplace_edges"
1553 if test "$enableval" = yes; then
1554 cat >>confdefs.h <<\_ACEOF
1555 #define FIRM_EDGES_INPLACE 1
1560 cat >>confdefs.h <<\_ACEOF
1561 #define FIRM_EDGES_INPLACE 1
1567 # Check whether --enable-statistics or --disable-statistics was given.
1568 if test "${enable_statistics+set}" = set; then
1569 enableval="$enable_statistics"
1570 if test "$enableval"=yes; then
1571 cat >>confdefs.h <<\_ACEOF
1572 #define FIRM_STATISTICS 1
1579 # Check whether --enable-libcore or --disable-libcore was given.
1580 if test "${enable_libcore+set}" = set; then
1581 enableval="$enable_libcore"
1582 if test "$enableval"=yes; then
1583 cat >>confdefs.h <<\_ACEOF
1584 #define WITH_LIBCORE 1
1591 # Check whether --enable-ilp or --disable-ilp was given.
1592 if test "${enable_ilp+set}" = set; then
1593 enableval="$enable_ilp"
1594 if test "$enableval"=yes; then
1595 cat >>confdefs.h <<\_ACEOF
1604 # Check whether --enable-wchar_support or --disable-wchar_support was given.
1605 if test "${enable_wchar_support+set}" = set; then
1606 enableval="$enable_wchar_support"
1607 if test "$enableval"=yes; then
1608 cat >>confdefs.h <<\_ACEOF
1609 #define FIRM_ENABLE_WCHAR 1
1617 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1618 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1619 # Check whether --enable-external-effects or --disable-external-effects was given.
1620 if test "${enable_external_effects+set}" = set; then
1621 enableval="$enable_external_effects"
1622 if test "$enableval"="no"; then
1623 enable_external_effects=no
1626 enable_external_effects=yes
1629 if test "$enable_external_effects" == no; then
1630 echo "$as_me:$LINENO: result: disabled" >&5
1631 echo "${ECHO_T}disabled" >&6
1633 echo "$as_me:$LINENO: result: enabled" >&5
1634 echo "${ECHO_T}enabled" >&6
1639 ac_cpp='$CPP $CPPFLAGS'
1640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1643 if test -n "$ac_tool_prefix"; then
1644 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1645 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1646 echo "$as_me:$LINENO: checking for $ac_word" >&5
1647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1648 if test "${ac_cv_prog_CC+set}" = set; then
1649 echo $ECHO_N "(cached) $ECHO_C" >&6
1651 if test -n "$CC"; then
1652 ac_cv_prog_CC="$CC" # Let the user override the test.
1654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1658 test -z "$as_dir" && as_dir=.
1659 for ac_exec_ext in '' $ac_executable_extensions; do
1660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1661 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1671 if test -n "$CC"; then
1672 echo "$as_me:$LINENO: result: $CC" >&5
1673 echo "${ECHO_T}$CC" >&6
1675 echo "$as_me:$LINENO: result: no" >&5
1676 echo "${ECHO_T}no" >&6
1680 if test -z "$ac_cv_prog_CC"; then
1682 # Extract the first word of "gcc", so it can be a program name with args.
1683 set dummy gcc; ac_word=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 if test -n "$ac_ct_CC"; then
1690 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1696 test -z "$as_dir" && as_dir=.
1697 for ac_exec_ext in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_ac_ct_CC="gcc"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1708 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1709 if test -n "$ac_ct_CC"; then
1710 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1711 echo "${ECHO_T}$ac_ct_CC" >&6
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1722 if test -z "$CC"; then
1723 if test -n "$ac_tool_prefix"; then
1724 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1725 set dummy ${ac_tool_prefix}cc; ac_word=$2
1726 echo "$as_me:$LINENO: checking for $ac_word" >&5
1727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1728 if test "${ac_cv_prog_CC+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1731 if test -n "$CC"; then
1732 ac_cv_prog_CC="$CC" # Let the user override the test.
1734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1738 test -z "$as_dir" && as_dir=.
1739 for ac_exec_ext in '' $ac_executable_extensions; do
1740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1741 ac_cv_prog_CC="${ac_tool_prefix}cc"
1742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1751 if test -n "$CC"; then
1752 echo "$as_me:$LINENO: result: $CC" >&5
1753 echo "${ECHO_T}$CC" >&6
1755 echo "$as_me:$LINENO: result: no" >&5
1756 echo "${ECHO_T}no" >&6
1760 if test -z "$ac_cv_prog_CC"; then
1762 # Extract the first word of "cc", so it can be a program name with args.
1763 set dummy cc; ac_word=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 if test -n "$ac_ct_CC"; then
1770 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_ac_ct_CC="cc"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1788 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1789 if test -n "$ac_ct_CC"; then
1790 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1791 echo "${ECHO_T}$ac_ct_CC" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1803 if test -z "$CC"; then
1804 # Extract the first word of "cc", so it can be a program name with args.
1805 set dummy cc; ac_word=$2
1806 echo "$as_me:$LINENO: checking for $ac_word" >&5
1807 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1808 if test "${ac_cv_prog_CC+set}" = set; then
1809 echo $ECHO_N "(cached) $ECHO_C" >&6
1811 if test -n "$CC"; then
1812 ac_cv_prog_CC="$CC" # Let the user override the test.
1815 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1819 test -z "$as_dir" && as_dir=.
1820 for ac_exec_ext in '' $ac_executable_extensions; do
1821 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1822 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1823 ac_prog_rejected=yes
1827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1833 if test $ac_prog_rejected = yes; then
1834 # We found a bogon in the path, so make sure we never use it.
1835 set dummy $ac_cv_prog_CC
1837 if test $# != 0; then
1838 # We chose a different compiler from the bogus one.
1839 # However, it has the same basename, so the bogon will be chosen
1840 # first if we set CC to just the basename; use the full file name.
1842 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1848 if test -n "$CC"; then
1849 echo "$as_me:$LINENO: result: $CC" >&5
1850 echo "${ECHO_T}$CC" >&6
1852 echo "$as_me:$LINENO: result: no" >&5
1853 echo "${ECHO_T}no" >&6
1857 if test -z "$CC"; then
1858 if test -n "$ac_tool_prefix"; then
1861 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1862 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1863 echo "$as_me:$LINENO: checking for $ac_word" >&5
1864 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1865 if test "${ac_cv_prog_CC+set}" = set; then
1866 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 if test -n "$CC"; then
1869 ac_cv_prog_CC="$CC" # Let the user override the test.
1871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1875 test -z "$as_dir" && as_dir=.
1876 for ac_exec_ext in '' $ac_executable_extensions; do
1877 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1878 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1879 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 if test -n "$CC"; then
1889 echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1896 test -n "$CC" && break
1899 if test -z "$CC"; then
1903 # Extract the first word of "$ac_prog", so it can be a program name with args.
1904 set dummy $ac_prog; ac_word=$2
1905 echo "$as_me:$LINENO: checking for $ac_word" >&5
1906 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1907 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1908 echo $ECHO_N "(cached) $ECHO_C" >&6
1910 if test -n "$ac_ct_CC"; then
1911 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1917 test -z "$as_dir" && as_dir=.
1918 for ac_exec_ext in '' $ac_executable_extensions; do
1919 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1920 ac_cv_prog_ac_ct_CC="$ac_prog"
1921 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1929 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1930 if test -n "$ac_ct_CC"; then
1931 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1932 echo "${ECHO_T}$ac_ct_CC" >&6
1934 echo "$as_me:$LINENO: result: no" >&5
1935 echo "${ECHO_T}no" >&6
1938 test -n "$ac_ct_CC" && break
1947 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1948 See \`config.log' for more details." >&5
1949 echo "$as_me: error: no acceptable C compiler found in \$PATH
1950 See \`config.log' for more details." >&2;}
1951 { (exit 1); exit 1; }; }
1953 # Provide some information about the compiler.
1954 echo "$as_me:$LINENO:" \
1955 "checking for C compiler version" >&5
1956 ac_compiler=`set X $ac_compile; echo $2`
1957 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1958 (eval $ac_compiler --version </dev/null >&5) 2>&5
1960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1961 (exit $ac_status); }
1962 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1963 (eval $ac_compiler -v </dev/null >&5) 2>&5
1965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1966 (exit $ac_status); }
1967 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1968 (eval $ac_compiler -V </dev/null >&5) 2>&5
1970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1971 (exit $ac_status); }
1973 cat >conftest.$ac_ext <<_ACEOF
1976 cat confdefs.h >>conftest.$ac_ext
1977 cat >>conftest.$ac_ext <<_ACEOF
1978 /* end confdefs.h. */
1988 ac_clean_files_save=$ac_clean_files
1989 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1990 # Try to create an executable without -o first, disregard a.out.
1991 # It will help us diagnose broken compilers, and finding out an intuition
1993 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1994 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1995 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1996 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1997 (eval $ac_link_default) 2>&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); }; then
2001 # Find the output, starting from the most likely. This scheme is
2002 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2005 # Be careful to initialize this variable, since it used to be cached.
2006 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2008 # b.out is created by i960 compilers.
2009 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2011 test -f "$ac_file" || continue
2013 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2016 # This is the source file.
2019 # We found the default executable, but exeext='' is most
2023 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2024 # FIXME: I believe we export ac_cv_exeext for Libtool,
2025 # but it would be cool to find out if it's true. Does anybody
2026 # maintain Libtool? --akim.
2034 echo "$as_me: failed program was:" >&5
2035 sed 's/^/| /' conftest.$ac_ext >&5
2037 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2038 See \`config.log' for more details." >&5
2039 echo "$as_me: error: C compiler cannot create executables
2040 See \`config.log' for more details." >&2;}
2041 { (exit 77); exit 77; }; }
2044 ac_exeext=$ac_cv_exeext
2045 echo "$as_me:$LINENO: result: $ac_file" >&5
2046 echo "${ECHO_T}$ac_file" >&6
2048 # Check the compiler produces executables we can run. If not, either
2049 # the compiler is broken, or we cross compile.
2050 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2051 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2052 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2053 # If not cross compiling, check that we can run a simple program.
2054 if test "$cross_compiling" != yes; then
2055 if { ac_try='./$ac_file'
2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2060 (exit $ac_status); }; }; then
2063 if test "$cross_compiling" = maybe; then
2066 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2067 If you meant to cross compile, use \`--host'.
2068 See \`config.log' for more details." >&5
2069 echo "$as_me: error: cannot run C compiled programs.
2070 If you meant to cross compile, use \`--host'.
2071 See \`config.log' for more details." >&2;}
2072 { (exit 1); exit 1; }; }
2076 echo "$as_me:$LINENO: result: yes" >&5
2077 echo "${ECHO_T}yes" >&6
2079 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2080 ac_clean_files=$ac_clean_files_save
2081 # Check the compiler produces executables we can run. If not, either
2082 # the compiler is broken, or we cross compile.
2083 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2084 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2085 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2086 echo "${ECHO_T}$cross_compiling" >&6
2088 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2089 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2091 (eval $ac_link) 2>&5
2093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2094 (exit $ac_status); }; then
2095 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2096 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2097 # work properly (i.e., refer to `conftest.exe'), while it won't with
2099 for ac_file in conftest.exe conftest conftest.*; do
2100 test -f "$ac_file" || continue
2102 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2103 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2110 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2111 See \`config.log' for more details." >&5
2112 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2113 See \`config.log' for more details." >&2;}
2114 { (exit 1); exit 1; }; }
2117 rm -f conftest$ac_cv_exeext
2118 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2119 echo "${ECHO_T}$ac_cv_exeext" >&6
2121 rm -f conftest.$ac_ext
2122 EXEEXT=$ac_cv_exeext
2124 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2125 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2126 if test "${ac_cv_objext+set}" = set; then
2127 echo $ECHO_N "(cached) $ECHO_C" >&6
2129 cat >conftest.$ac_ext <<_ACEOF
2132 cat confdefs.h >>conftest.$ac_ext
2133 cat >>conftest.$ac_ext <<_ACEOF
2134 /* end confdefs.h. */
2144 rm -f conftest.o conftest.obj
2145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2146 (eval $ac_compile) 2>&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); }; then
2150 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2152 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2153 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2158 echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.$ac_ext >&5
2161 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2162 See \`config.log' for more details." >&5
2163 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2164 See \`config.log' for more details." >&2;}
2165 { (exit 1); exit 1; }; }
2168 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2170 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2171 echo "${ECHO_T}$ac_cv_objext" >&6
2172 OBJEXT=$ac_cv_objext
2174 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2175 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2176 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2179 cat >conftest.$ac_ext <<_ACEOF
2182 cat confdefs.h >>conftest.$ac_ext
2183 cat >>conftest.$ac_ext <<_ACEOF
2184 /* end confdefs.h. */
2197 rm -f conftest.$ac_objext
2198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2199 (eval $ac_compile) 2>conftest.er1
2201 grep -v '^ *+' conftest.er1 >conftest.err
2203 cat conftest.err >&5
2204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2205 (exit $ac_status); } &&
2206 { ac_try='test -z "$ac_c_werror_flag"
2207 || test ! -s conftest.err'
2208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; } &&
2213 { ac_try='test -s conftest.$ac_objext'
2214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }; }; then
2221 echo "$as_me: failed program was:" >&5
2222 sed 's/^/| /' conftest.$ac_ext >&5
2226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2227 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2230 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2231 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2232 GCC=`test $ac_compiler_gnu = yes && echo yes`
2233 ac_test_CFLAGS=${CFLAGS+set}
2234 ac_save_CFLAGS=$CFLAGS
2236 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2237 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2238 if test "${ac_cv_prog_cc_g+set}" = set; then
2239 echo $ECHO_N "(cached) $ECHO_C" >&6
2241 cat >conftest.$ac_ext <<_ACEOF
2244 cat confdefs.h >>conftest.$ac_ext
2245 cat >>conftest.$ac_ext <<_ACEOF
2246 /* end confdefs.h. */
2256 rm -f conftest.$ac_objext
2257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2258 (eval $ac_compile) 2>conftest.er1
2260 grep -v '^ *+' conftest.er1 >conftest.err
2262 cat conftest.err >&5
2263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2264 (exit $ac_status); } &&
2265 { ac_try='test -z "$ac_c_werror_flag"
2266 || test ! -s conftest.err'
2267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2271 (exit $ac_status); }; } &&
2272 { ac_try='test -s conftest.$ac_objext'
2273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); }; }; then
2280 echo "$as_me: failed program was:" >&5
2281 sed 's/^/| /' conftest.$ac_ext >&5
2285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2287 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2288 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2289 if test "$ac_test_CFLAGS" = set; then
2290 CFLAGS=$ac_save_CFLAGS
2291 elif test $ac_cv_prog_cc_g = yes; then
2292 if test "$GCC" = yes; then
2298 if test "$GCC" = yes; then
2304 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2305 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2306 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2307 echo $ECHO_N "(cached) $ECHO_C" >&6
2309 ac_cv_prog_cc_stdc=no
2311 cat >conftest.$ac_ext <<_ACEOF
2314 cat confdefs.h >>conftest.$ac_ext
2315 cat >>conftest.$ac_ext <<_ACEOF
2316 /* end confdefs.h. */
2319 #include <sys/types.h>
2320 #include <sys/stat.h>
2321 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2322 struct buf { int x; };
2323 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2324 static char *e (p, i)
2330 static char *f (char * (*g) (char **, int), char **p, ...)
2335 s = g (p, va_arg (v,int));
2340 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2341 function prototypes and stuff, but not '\xHH' hex character constants.
2342 These don't provoke an error unfortunately, instead are silently treated
2343 as 'x'. The following induces an error, until -std1 is added to get
2344 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2345 array size at least. It's necessary to write '\x00'==0 to get something
2346 that's true only with -std1. */
2347 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2349 int test (int i, double x);
2350 struct s1 {int (*f) (int a);};
2351 struct s2 {int (*f) (double a);};
2352 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2358 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2363 # Don't try gcc -ansi; that turns off useful extensions and
2364 # breaks some systems' header files.
2365 # AIX -qlanglvl=ansi
2366 # Ultrix and OSF/1 -std1
2367 # HP-UX 10.20 and later -Ae
2368 # HP-UX older versions -Aa -D_HPUX_SOURCE
2369 # SVR4 -Xc -D__EXTENSIONS__
2370 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2372 CC="$ac_save_CC $ac_arg"
2373 rm -f conftest.$ac_objext
2374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2375 (eval $ac_compile) 2>conftest.er1
2377 grep -v '^ *+' conftest.er1 >conftest.err
2379 cat conftest.err >&5
2380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2381 (exit $ac_status); } &&
2382 { ac_try='test -z "$ac_c_werror_flag"
2383 || test ! -s conftest.err'
2384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); }; } &&
2389 { ac_try='test -s conftest.$ac_objext'
2390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); }; }; then
2395 ac_cv_prog_cc_stdc=$ac_arg
2398 echo "$as_me: failed program was:" >&5
2399 sed 's/^/| /' conftest.$ac_ext >&5
2402 rm -f conftest.err conftest.$ac_objext
2404 rm -f conftest.$ac_ext conftest.$ac_objext
2409 case "x$ac_cv_prog_cc_stdc" in
2411 echo "$as_me:$LINENO: result: none needed" >&5
2412 echo "${ECHO_T}none needed" >&6 ;;
2414 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2415 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2416 CC="$CC $ac_cv_prog_cc_stdc" ;;
2419 # Some people use a C++ compiler to compile C. Since we use `exit',
2420 # in C++ we need to declare it. In case someone uses the same compiler
2421 # for both compiling C and C++ we need to have the C++ compiler decide
2422 # the declaration of exit, since it's the most demanding environment.
2423 cat >conftest.$ac_ext <<_ACEOF
2428 rm -f conftest.$ac_objext
2429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2430 (eval $ac_compile) 2>conftest.er1
2432 grep -v '^ *+' conftest.er1 >conftest.err
2434 cat conftest.err >&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); } &&
2437 { ac_try='test -z "$ac_c_werror_flag"
2438 || test ! -s conftest.err'
2439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2443 (exit $ac_status); }; } &&
2444 { ac_try='test -s conftest.$ac_objext'
2445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); }; }; then
2450 for ac_declaration in \
2452 'extern "C" void std::exit (int) throw (); using std::exit;' \
2453 'extern "C" void std::exit (int); using std::exit;' \
2454 'extern "C" void exit (int) throw ();' \
2455 'extern "C" void exit (int);' \
2458 cat >conftest.$ac_ext <<_ACEOF
2461 cat confdefs.h >>conftest.$ac_ext
2462 cat >>conftest.$ac_ext <<_ACEOF
2463 /* end confdefs.h. */
2474 rm -f conftest.$ac_objext
2475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2476 (eval $ac_compile) 2>conftest.er1
2478 grep -v '^ *+' conftest.er1 >conftest.err
2480 cat conftest.err >&5
2481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2482 (exit $ac_status); } &&
2483 { ac_try='test -z "$ac_c_werror_flag"
2484 || test ! -s conftest.err'
2485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; } &&
2490 { ac_try='test -s conftest.$ac_objext'
2491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }; }; then
2498 echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2504 cat >conftest.$ac_ext <<_ACEOF
2507 cat confdefs.h >>conftest.$ac_ext
2508 cat >>conftest.$ac_ext <<_ACEOF
2509 /* end confdefs.h. */
2519 rm -f conftest.$ac_objext
2520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2521 (eval $ac_compile) 2>conftest.er1
2523 grep -v '^ *+' conftest.er1 >conftest.err
2525 cat conftest.err >&5
2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2527 (exit $ac_status); } &&
2528 { ac_try='test -z "$ac_c_werror_flag"
2529 || test ! -s conftest.err'
2530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2534 (exit $ac_status); }; } &&
2535 { ac_try='test -s conftest.$ac_objext'
2536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); }; }; then
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.$ac_ext >&5
2547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2550 if test -n "$ac_declaration"; then
2551 echo '#ifdef __cplusplus' >>confdefs.h
2552 echo $ac_declaration >>confdefs.h
2553 echo '#endif' >>confdefs.h
2557 echo "$as_me: failed program was:" >&5
2558 sed 's/^/| /' conftest.$ac_ext >&5
2561 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2563 ac_cpp='$CPP $CPPFLAGS'
2564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2569 for ac_prog in gawk mawk nawk awk
2571 # Extract the first word of "$ac_prog", so it can be a program name with args.
2572 set dummy $ac_prog; ac_word=$2
2573 echo "$as_me:$LINENO: checking for $ac_word" >&5
2574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2575 if test "${ac_cv_prog_AWK+set}" = set; then
2576 echo $ECHO_N "(cached) $ECHO_C" >&6
2578 if test -n "$AWK"; then
2579 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2585 test -z "$as_dir" && as_dir=.
2586 for ac_exec_ext in '' $ac_executable_extensions; do
2587 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2588 ac_cv_prog_AWK="$ac_prog"
2589 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2598 if test -n "$AWK"; then
2599 echo "$as_me:$LINENO: result: $AWK" >&5
2600 echo "${ECHO_T}$AWK" >&6
2602 echo "$as_me:$LINENO: result: no" >&5
2603 echo "${ECHO_T}no" >&6
2606 test -n "$AWK" && break
2611 if test -z "$LD"; then
2612 if test -n "$ac_tool_prefix"; then
2613 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}ld; ac_word=$2
2615 echo "$as_me:$LINENO: checking for $ac_word" >&5
2616 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2617 if test "${ac_cv_prog_LD+set}" = set; then
2618 echo $ECHO_N "(cached) $ECHO_C" >&6
2620 if test -n "$LD"; then
2621 ac_cv_prog_LD="$LD" # Let the user override the test.
2623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2627 test -z "$as_dir" && as_dir=.
2628 for ac_exec_ext in '' $ac_executable_extensions; do
2629 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2630 ac_cv_prog_LD="${ac_tool_prefix}ld"
2631 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2640 if test -n "$LD"; then
2641 echo "$as_me:$LINENO: result: $LD" >&5
2642 echo "${ECHO_T}$LD" >&6
2644 echo "$as_me:$LINENO: result: no" >&5
2645 echo "${ECHO_T}no" >&6
2649 if test -z "$ac_cv_prog_LD"; then
2651 # Extract the first word of "ld", so it can be a program name with args.
2652 set dummy ld; ac_word=$2
2653 echo "$as_me:$LINENO: checking for $ac_word" >&5
2654 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2655 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2656 echo $ECHO_N "(cached) $ECHO_C" >&6
2658 if test -n "$ac_ct_LD"; then
2659 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2665 test -z "$as_dir" && as_dir=.
2666 for ac_exec_ext in '' $ac_executable_extensions; do
2667 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2668 ac_cv_prog_ac_ct_LD="ld"
2669 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2677 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2678 if test -n "$ac_ct_LD"; then
2679 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2680 echo "${ECHO_T}$ac_ct_LD" >&6
2682 echo "$as_me:$LINENO: result: no" >&5
2683 echo "${ECHO_T}no" >&6
2693 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2694 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2695 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2696 echo $ECHO_N "(cached) $ECHO_C" >&6
2699 libfirm_cv_prog_ld_r=no
2701 cat > conftest.$ac_ext <<EOF
2702 int foo() { return 0; }
2704 if eval $ac_compile && mv conftest.o conftest2.o; then
2705 cat > conftest.$ac_ext <<EOF
2707 int main() { return foo(); }
2709 if eval $ac_compile; then
2710 if $LD -r -o conftest conftest.o conftest2.o; then
2711 libfirm_cv_prog_ld_r=yes
2718 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2719 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2722 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2723 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2724 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2725 { (exit 1); exit 1; }; }
2728 # Extract the first word of "ar", so it can be a program name with args.
2729 set dummy ar; ac_word=$2
2730 echo "$as_me:$LINENO: checking for $ac_word" >&5
2731 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2732 if test "${ac_cv_prog_AR+set}" = set; then
2733 echo $ECHO_N "(cached) $ECHO_C" >&6
2735 if test -n "$AR"; then
2736 ac_cv_prog_AR="$AR" # Let the user override the test.
2738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 test -z "$as_dir" && as_dir=.
2743 for ac_exec_ext in '' $ac_executable_extensions; do
2744 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2745 ac_cv_prog_AR=""ar""
2746 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2752 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2756 if test -n "$AR"; then
2757 echo "$as_me:$LINENO: result: $AR" >&5
2758 echo "${ECHO_T}$AR" >&6
2760 echo "$as_me:$LINENO: result: no" >&5
2761 echo "${ECHO_T}no" >&6
2764 if test "$AR" != "ar"; then
2765 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2766 echo "$as_me: error: need ar for creating archives" >&2;}
2767 { (exit 1); exit 1; }; }
2770 # Extract the first word of "tar", so it can be a program name with args.
2771 set dummy tar; ac_word=$2
2772 echo "$as_me:$LINENO: checking for $ac_word" >&5
2773 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2774 if test "${ac_cv_prog_TAR+set}" = set; then
2775 echo $ECHO_N "(cached) $ECHO_C" >&6
2777 if test -n "$TAR"; then
2778 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2784 test -z "$as_dir" && as_dir=.
2785 for ac_exec_ext in '' $ac_executable_extensions; do
2786 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2787 ac_cv_prog_TAR=""tar""
2788 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2794 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2798 if test -n "$TAR"; then
2799 echo "$as_me:$LINENO: result: $TAR" >&5
2800 echo "${ECHO_T}$TAR" >&6
2802 echo "$as_me:$LINENO: result: no" >&5
2803 echo "${ECHO_T}no" >&6
2806 if test "$TAR" != "tar"; then
2807 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2808 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2809 { (exit 1); exit 1; }; }
2813 if test -n "$ac_tool_prefix"; then
2814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2816 echo "$as_me:$LINENO: checking for $ac_word" >&5
2817 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2818 if test "${ac_cv_prog_RANLIB+set}" = set; then
2819 echo $ECHO_N "(cached) $ECHO_C" >&6
2821 if test -n "$RANLIB"; then
2822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2828 test -z "$as_dir" && as_dir=.
2829 for ac_exec_ext in '' $ac_executable_extensions; do
2830 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2832 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2840 RANLIB=$ac_cv_prog_RANLIB
2841 if test -n "$RANLIB"; then
2842 echo "$as_me:$LINENO: result: $RANLIB" >&5
2843 echo "${ECHO_T}$RANLIB" >&6
2845 echo "$as_me:$LINENO: result: no" >&5
2846 echo "${ECHO_T}no" >&6
2850 if test -z "$ac_cv_prog_RANLIB"; then
2851 ac_ct_RANLIB=$RANLIB
2852 # Extract the first word of "ranlib", so it can be a program name with args.
2853 set dummy ranlib; ac_word=$2
2854 echo "$as_me:$LINENO: checking for $ac_word" >&5
2855 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2856 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2857 echo $ECHO_N "(cached) $ECHO_C" >&6
2859 if test -n "$ac_ct_RANLIB"; then
2860 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2862 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2866 test -z "$as_dir" && as_dir=.
2867 for ac_exec_ext in '' $ac_executable_extensions; do
2868 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2869 ac_cv_prog_ac_ct_RANLIB="ranlib"
2870 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2879 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2880 if test -n "$ac_ct_RANLIB"; then
2881 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2882 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2884 echo "$as_me:$LINENO: result: no" >&5
2885 echo "${ECHO_T}no" >&6
2888 RANLIB=$ac_ct_RANLIB
2890 RANLIB="$ac_cv_prog_RANLIB"
2895 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2896 if test -f $ac_dir/install-sh; then
2898 ac_install_sh="$ac_aux_dir/install-sh -c"
2900 elif test -f $ac_dir/install.sh; then
2902 ac_install_sh="$ac_aux_dir/install.sh -c"
2904 elif test -f $ac_dir/shtool; then
2906 ac_install_sh="$ac_aux_dir/shtool install -c"
2910 if test -z "$ac_aux_dir"; then
2911 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2912 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2913 { (exit 1); exit 1; }; }
2915 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2916 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2917 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2919 # Find a good install program. We prefer a C program (faster),
2920 # so one script is as good as another. But avoid the broken or
2921 # incompatible versions:
2922 # SysV /etc/install, /usr/sbin/install
2923 # SunOS /usr/etc/install
2924 # IRIX /sbin/install
2926 # AmigaOS /C/install, which installs bootblocks on floppy discs
2927 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2928 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2929 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2930 # OS/2's system install, which has a completely different semantic
2931 # ./install, which can be erroneously created by make from ./install.sh.
2932 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2933 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2934 if test -z "$INSTALL"; then
2935 if test "${ac_cv_path_install+set}" = set; then
2936 echo $ECHO_N "(cached) $ECHO_C" >&6
2938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2942 test -z "$as_dir" && as_dir=.
2943 # Account for people who put trailing slashes in PATH elements.
2945 ./ | .// | /cC/* | \
2946 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2947 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2950 # OSF1 and SCO ODT 3.0 have their own names for install.
2951 # Don't use installbsd from OSF since it installs stuff as root
2953 for ac_prog in ginstall scoinst install; do
2954 for ac_exec_ext in '' $ac_executable_extensions; do
2955 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2956 if test $ac_prog = install &&
2957 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2958 # AIX install. It has an incompatible calling convention.
2960 elif test $ac_prog = install &&
2961 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2962 # program-specific install script used by HP pwplus--don't use.
2965 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2977 if test "${ac_cv_path_install+set}" = set; then
2978 INSTALL=$ac_cv_path_install
2980 # As a last resort, use the slow shell script. We don't cache a
2981 # path for INSTALL within a source directory, because that will
2982 # break other packages using the cache if that directory is
2983 # removed, or if the path is relative.
2984 INSTALL=$ac_install_sh
2987 echo "$as_me:$LINENO: result: $INSTALL" >&5
2988 echo "${ECHO_T}$INSTALL" >&6
2990 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2991 # It thinks the first close brace ends the variable substitution.
2992 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2994 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2996 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2999 touch tmp-install.a tmp-install.b
3000 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
3003 rm tmp-install.a tmp-install.b
3006 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3007 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3009 if test "$LN_S" = "ln -s"; then
3010 echo "$as_me:$LINENO: result: yes" >&5
3011 echo "${ECHO_T}yes" >&6
3013 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3014 echo "${ECHO_T}no, using $LN_S" >&6
3018 if test "$enable_auto_documentation" = yes; then
3019 # Extract the first word of "doxygen", so it can be a program name with args.
3020 set dummy doxygen; ac_word=$2
3021 echo "$as_me:$LINENO: checking for $ac_word" >&5
3022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3023 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
3024 echo $ECHO_N "(cached) $ECHO_C" >&6
3026 if test -n "$DOXYGEN"; then
3027 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
3029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3033 test -z "$as_dir" && as_dir=.
3034 for ac_exec_ext in '' $ac_executable_extensions; do
3035 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3036 ac_cv_prog_DOXYGEN=""doxygen""
3037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3043 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
3046 DOXYGEN=$ac_cv_prog_DOXYGEN
3047 if test -n "$DOXYGEN"; then
3048 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
3049 echo "${ECHO_T}$DOXYGEN" >&6
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3055 if test "$DOXYGEN" != "doxygen"; then
3056 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
3057 echo "$as_me: error: need doxygen for auto documentation" >&2;}
3058 { (exit 1); exit 1; }; }
3060 # Extract the first word of "dot", so it can be a program name with args.
3061 set dummy dot; ac_word=$2
3062 echo "$as_me:$LINENO: checking for $ac_word" >&5
3063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3064 if test "${ac_cv_prog_DOT+set}" = set; then
3065 echo $ECHO_N "(cached) $ECHO_C" >&6
3067 if test -n "$DOT"; then
3068 ac_cv_prog_DOT="$DOT" # Let the user override the test.
3070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3074 test -z "$as_dir" && as_dir=.
3075 for ac_exec_ext in '' $ac_executable_extensions; do
3076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3077 ac_cv_prog_DOT=""dot""
3078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3084 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
3088 if test -n "$DOT"; then
3089 echo "$as_me:$LINENO: result: $DOT" >&5
3090 echo "${ECHO_T}$DOT" >&6
3092 echo "$as_me:$LINENO: result: no" >&5
3093 echo "${ECHO_T}no" >&6
3096 if test "$DOT" != "dot"; then
3097 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
3098 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
3099 { (exit 1); exit 1; }; }
3103 if test "$enable_firm_jni" = yes; then
3104 # Extract the first word of "javac", so it can be a program name with args.
3105 set dummy javac; ac_word=$2
3106 echo "$as_me:$LINENO: checking for $ac_word" >&5
3107 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3108 if test "${ac_cv_prog_JAVAC+set}" = set; then
3109 echo $ECHO_N "(cached) $ECHO_C" >&6
3111 if test -n "$JAVAC"; then
3112 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3118 test -z "$as_dir" && as_dir=.
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3121 ac_cv_prog_JAVAC=""javac""
3122 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3128 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3131 JAVAC=$ac_cv_prog_JAVAC
3132 if test -n "$JAVAC"; then
3133 echo "$as_me:$LINENO: result: $JAVAC" >&5
3134 echo "${ECHO_T}$JAVAC" >&6
3136 echo "$as_me:$LINENO: result: no" >&5
3137 echo "${ECHO_T}no" >&6
3140 if test "$JAVAC" != "javac"; then
3141 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3142 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3143 { (exit 1); exit 1; }; }
3145 # Extract the first word of "javah", so it can be a program name with args.
3146 set dummy javah; ac_word=$2
3147 echo "$as_me:$LINENO: checking for $ac_word" >&5
3148 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3149 if test "${ac_cv_prog_JAVAH+set}" = set; then
3150 echo $ECHO_N "(cached) $ECHO_C" >&6
3152 if test -n "$JAVAH"; then
3153 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3159 test -z "$as_dir" && as_dir=.
3160 for ac_exec_ext in '' $ac_executable_extensions; do
3161 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3162 ac_cv_prog_JAVAH=""javah""
3163 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3169 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3172 JAVAH=$ac_cv_prog_JAVAH
3173 if test -n "$JAVAH"; then
3174 echo "$as_me:$LINENO: result: $JAVAH" >&5
3175 echo "${ECHO_T}$JAVAH" >&6
3177 echo "$as_me:$LINENO: result: no" >&5
3178 echo "${ECHO_T}no" >&6
3181 if test "$JAVAH" != "javah"; then
3182 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3183 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3184 { (exit 1); exit 1; }; }
3192 ac_cpp='$CPP $CPPFLAGS'
3193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3196 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3197 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3198 # On Suns, sometimes $CPP names a directory.
3199 if test -n "$CPP" && test -d "$CPP"; then
3202 if test -z "$CPP"; then
3203 if test "${ac_cv_prog_CPP+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 # Double quotes because CPP needs to be expanded
3207 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3210 for ac_c_preproc_warn_flag in '' yes
3212 # Use a header file that comes with gcc, so configuring glibc
3213 # with a fresh cross-compiler works.
3214 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3215 # <limits.h> exists even on freestanding compilers.
3216 # On the NeXT, cc -E runs the code through the compiler's parser,
3217 # not just through cpp. "Syntax error" is here to catch this case.
3218 cat >conftest.$ac_ext <<_ACEOF
3221 cat confdefs.h >>conftest.$ac_ext
3222 cat >>conftest.$ac_ext <<_ACEOF
3223 /* end confdefs.h. */
3225 # include <limits.h>
3227 # include <assert.h>
3231 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3232 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3234 grep -v '^ *+' conftest.er1 >conftest.err
3236 cat conftest.err >&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } >/dev/null; then
3239 if test -s conftest.err; then
3240 ac_cpp_err=$ac_c_preproc_warn_flag
3241 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3248 if test -z "$ac_cpp_err"; then
3251 echo "$as_me: failed program was:" >&5
3252 sed 's/^/| /' conftest.$ac_ext >&5
3254 # Broken: fails on valid input.
3257 rm -f conftest.err conftest.$ac_ext
3259 # OK, works on sane cases. Now check whether non-existent headers
3260 # can be detected and how.
3261 cat >conftest.$ac_ext <<_ACEOF
3264 cat confdefs.h >>conftest.$ac_ext
3265 cat >>conftest.$ac_ext <<_ACEOF
3266 /* end confdefs.h. */
3267 #include <ac_nonexistent.h>
3269 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3270 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3272 grep -v '^ *+' conftest.er1 >conftest.err
3274 cat conftest.err >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); } >/dev/null; then
3277 if test -s conftest.err; then
3278 ac_cpp_err=$ac_c_preproc_warn_flag
3279 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3286 if test -z "$ac_cpp_err"; then
3287 # Broken: success on invalid input.
3290 echo "$as_me: failed program was:" >&5
3291 sed 's/^/| /' conftest.$ac_ext >&5
3293 # Passes both tests.
3297 rm -f conftest.err conftest.$ac_ext
3300 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3301 rm -f conftest.err conftest.$ac_ext
3302 if $ac_preproc_ok; then
3314 echo "$as_me:$LINENO: result: $CPP" >&5
3315 echo "${ECHO_T}$CPP" >&6
3317 for ac_c_preproc_warn_flag in '' yes
3319 # Use a header file that comes with gcc, so configuring glibc
3320 # with a fresh cross-compiler works.
3321 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3322 # <limits.h> exists even on freestanding compilers.
3323 # On the NeXT, cc -E runs the code through the compiler's parser,
3324 # not just through cpp. "Syntax error" is here to catch this case.
3325 cat >conftest.$ac_ext <<_ACEOF
3328 cat confdefs.h >>conftest.$ac_ext
3329 cat >>conftest.$ac_ext <<_ACEOF
3330 /* end confdefs.h. */
3332 # include <limits.h>
3334 # include <assert.h>
3338 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3339 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3341 grep -v '^ *+' conftest.er1 >conftest.err
3343 cat conftest.err >&5
3344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3345 (exit $ac_status); } >/dev/null; then
3346 if test -s conftest.err; then
3347 ac_cpp_err=$ac_c_preproc_warn_flag
3348 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3355 if test -z "$ac_cpp_err"; then
3358 echo "$as_me: failed program was:" >&5
3359 sed 's/^/| /' conftest.$ac_ext >&5
3361 # Broken: fails on valid input.
3364 rm -f conftest.err conftest.$ac_ext
3366 # OK, works on sane cases. Now check whether non-existent headers
3367 # can be detected and how.
3368 cat >conftest.$ac_ext <<_ACEOF
3371 cat confdefs.h >>conftest.$ac_ext
3372 cat >>conftest.$ac_ext <<_ACEOF
3373 /* end confdefs.h. */
3374 #include <ac_nonexistent.h>
3376 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3377 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3379 grep -v '^ *+' conftest.er1 >conftest.err
3381 cat conftest.err >&5
3382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3383 (exit $ac_status); } >/dev/null; then
3384 if test -s conftest.err; then
3385 ac_cpp_err=$ac_c_preproc_warn_flag
3386 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3393 if test -z "$ac_cpp_err"; then
3394 # Broken: success on invalid input.
3397 echo "$as_me: failed program was:" >&5
3398 sed 's/^/| /' conftest.$ac_ext >&5
3400 # Passes both tests.
3404 rm -f conftest.err conftest.$ac_ext
3407 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3408 rm -f conftest.err conftest.$ac_ext
3409 if $ac_preproc_ok; then
3412 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3413 See \`config.log' for more details." >&5
3414 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3415 See \`config.log' for more details." >&2;}
3416 { (exit 1); exit 1; }; }
3420 ac_cpp='$CPP $CPPFLAGS'
3421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3426 echo "$as_me:$LINENO: checking for egrep" >&5
3427 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3428 if test "${ac_cv_prog_egrep+set}" = set; then
3429 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3432 then ac_cv_prog_egrep='grep -E'
3433 else ac_cv_prog_egrep='egrep'
3436 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3437 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3438 EGREP=$ac_cv_prog_egrep
3441 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3442 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3443 if test "${ac_cv_header_stdc+set}" = set; then
3444 echo $ECHO_N "(cached) $ECHO_C" >&6
3446 cat >conftest.$ac_ext <<_ACEOF
3449 cat confdefs.h >>conftest.$ac_ext
3450 cat >>conftest.$ac_ext <<_ACEOF
3451 /* end confdefs.h. */
3465 rm -f conftest.$ac_objext
3466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3467 (eval $ac_compile) 2>conftest.er1
3469 grep -v '^ *+' conftest.er1 >conftest.err
3471 cat conftest.err >&5
3472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473 (exit $ac_status); } &&
3474 { ac_try='test -z "$ac_c_werror_flag"
3475 || test ! -s conftest.err'
3476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); }; } &&
3481 { ac_try='test -s conftest.$ac_objext'
3482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); }; }; then
3487 ac_cv_header_stdc=yes
3489 echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 ac_cv_header_stdc=no
3494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3496 if test $ac_cv_header_stdc = yes; then
3497 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3498 cat >conftest.$ac_ext <<_ACEOF
3501 cat confdefs.h >>conftest.$ac_ext
3502 cat >>conftest.$ac_ext <<_ACEOF
3503 /* end confdefs.h. */
3507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3508 $EGREP "memchr" >/dev/null 2>&1; then
3511 ac_cv_header_stdc=no
3517 if test $ac_cv_header_stdc = yes; then
3518 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3519 cat >conftest.$ac_ext <<_ACEOF
3522 cat confdefs.h >>conftest.$ac_ext
3523 cat >>conftest.$ac_ext <<_ACEOF
3524 /* end confdefs.h. */
3528 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3529 $EGREP "free" >/dev/null 2>&1; then
3532 ac_cv_header_stdc=no
3538 if test $ac_cv_header_stdc = yes; then
3539 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3540 if test "$cross_compiling" = yes; then
3543 cat >conftest.$ac_ext <<_ACEOF
3546 cat confdefs.h >>conftest.$ac_ext
3547 cat >>conftest.$ac_ext <<_ACEOF
3548 /* end confdefs.h. */
3550 #if ((' ' & 0x0FF) == 0x020)
3551 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3552 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3554 # define ISLOWER(c) \
3555 (('a' <= (c) && (c) <= 'i') \
3556 || ('j' <= (c) && (c) <= 'r') \
3557 || ('s' <= (c) && (c) <= 'z'))
3558 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3561 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3566 for (i = 0; i < 256; i++)
3567 if (XOR (islower (i), ISLOWER (i))
3568 || toupper (i) != TOUPPER (i))
3573 rm -f conftest$ac_exeext
3574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3575 (eval $ac_link) 2>&5
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3583 (exit $ac_status); }; }; then
3586 echo "$as_me: program exited with status $ac_status" >&5
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.$ac_ext >&5
3591 ac_cv_header_stdc=no
3593 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3597 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3598 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3599 if test $ac_cv_header_stdc = yes; then
3601 cat >>confdefs.h <<\_ACEOF
3602 #define STDC_HEADERS 1
3609 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3619 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3620 inttypes.h stdint.h unistd.h
3622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3623 echo "$as_me:$LINENO: checking for $ac_header" >&5
3624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3626 echo $ECHO_N "(cached) $ECHO_C" >&6
3628 cat >conftest.$ac_ext <<_ACEOF
3631 cat confdefs.h >>conftest.$ac_ext
3632 cat >>conftest.$ac_ext <<_ACEOF
3633 /* end confdefs.h. */
3634 $ac_includes_default
3636 #include <$ac_header>
3638 rm -f conftest.$ac_objext
3639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3640 (eval $ac_compile) 2>conftest.er1
3642 grep -v '^ *+' conftest.er1 >conftest.err
3644 cat conftest.err >&5
3645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3646 (exit $ac_status); } &&
3647 { ac_try='test -z "$ac_c_werror_flag"
3648 || test ! -s conftest.err'
3649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }; } &&
3654 { ac_try='test -s conftest.$ac_objext'
3655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); }; }; then
3660 eval "$as_ac_Header=yes"
3662 echo "$as_me: failed program was:" >&5
3663 sed 's/^/| /' conftest.$ac_ext >&5
3665 eval "$as_ac_Header=no"
3667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3670 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3671 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3672 cat >>confdefs.h <<_ACEOF
3673 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3682 for ac_header in math.h
3684 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3686 echo "$as_me:$LINENO: checking for $ac_header" >&5
3687 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3688 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3689 echo $ECHO_N "(cached) $ECHO_C" >&6
3691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3692 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3694 # Is the header compilable?
3695 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3696 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3697 cat >conftest.$ac_ext <<_ACEOF
3700 cat confdefs.h >>conftest.$ac_ext
3701 cat >>conftest.$ac_ext <<_ACEOF
3702 /* end confdefs.h. */
3703 $ac_includes_default
3704 #include <$ac_header>
3706 rm -f conftest.$ac_objext
3707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3708 (eval $ac_compile) 2>conftest.er1
3710 grep -v '^ *+' conftest.er1 >conftest.err
3712 cat conftest.err >&5
3713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3714 (exit $ac_status); } &&
3715 { ac_try='test -z "$ac_c_werror_flag"
3716 || test ! -s conftest.err'
3717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3721 (exit $ac_status); }; } &&
3722 { ac_try='test -s conftest.$ac_objext'
3723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); }; }; then
3728 ac_header_compiler=yes
3730 echo "$as_me: failed program was:" >&5
3731 sed 's/^/| /' conftest.$ac_ext >&5
3733 ac_header_compiler=no
3735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3736 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3737 echo "${ECHO_T}$ac_header_compiler" >&6
3739 # Is the header present?
3740 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3741 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3742 cat >conftest.$ac_ext <<_ACEOF
3745 cat confdefs.h >>conftest.$ac_ext
3746 cat >>conftest.$ac_ext <<_ACEOF
3747 /* end confdefs.h. */
3748 #include <$ac_header>
3750 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3751 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3753 grep -v '^ *+' conftest.er1 >conftest.err
3755 cat conftest.err >&5
3756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3757 (exit $ac_status); } >/dev/null; then
3758 if test -s conftest.err; then
3759 ac_cpp_err=$ac_c_preproc_warn_flag
3760 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3767 if test -z "$ac_cpp_err"; then
3768 ac_header_preproc=yes
3770 echo "$as_me: failed program was:" >&5
3771 sed 's/^/| /' conftest.$ac_ext >&5
3773 ac_header_preproc=no
3775 rm -f conftest.err conftest.$ac_ext
3776 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3777 echo "${ECHO_T}$ac_header_preproc" >&6
3779 # So? What about this header?
3780 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3782 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3783 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3784 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3785 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3786 ac_header_preproc=yes
3789 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3790 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3791 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3792 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3793 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3794 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3795 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3796 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3798 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3799 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3800 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3803 ## ---------------------------------- ##
3804 ## Report this to the libfirm lists. ##
3805 ## ---------------------------------- ##
3808 sed "s/^/$as_me: WARNING: /" >&2
3811 echo "$as_me:$LINENO: checking for $ac_header" >&5
3812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3813 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3814 echo $ECHO_N "(cached) $ECHO_C" >&6
3816 eval "$as_ac_Header=\$ac_header_preproc"
3818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3819 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3822 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3823 cat >>confdefs.h <<_ACEOF
3824 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3826 ac_math_headers="yes"
3828 ac_math_headers="no"
3833 if test "$ac_math_headers" != yes; then
3834 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3835 echo "$as_me: error: \"math header file not found\"" >&2;}
3836 { (exit 1); exit 1; }; }
3840 #dnl check for the gnu multiprecission (gmp) header file
3842 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3843 #if test "$ac_gmp_headers" != yes; then
3844 # dnl gmp header not found.
3845 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3852 for ac_header in obstack.h
3854 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3856 echo "$as_me:$LINENO: checking for $ac_header" >&5
3857 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3858 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3859 echo $ECHO_N "(cached) $ECHO_C" >&6
3861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3862 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3864 # Is the header compilable?
3865 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3866 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3867 cat >conftest.$ac_ext <<_ACEOF
3870 cat confdefs.h >>conftest.$ac_ext
3871 cat >>conftest.$ac_ext <<_ACEOF
3872 /* end confdefs.h. */
3873 $ac_includes_default
3874 #include <$ac_header>
3876 rm -f conftest.$ac_objext
3877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3878 (eval $ac_compile) 2>conftest.er1
3880 grep -v '^ *+' conftest.er1 >conftest.err
3882 cat conftest.err >&5
3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3884 (exit $ac_status); } &&
3885 { ac_try='test -z "$ac_c_werror_flag"
3886 || test ! -s conftest.err'
3887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3891 (exit $ac_status); }; } &&
3892 { ac_try='test -s conftest.$ac_objext'
3893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); }; }; then
3898 ac_header_compiler=yes
3900 echo "$as_me: failed program was:" >&5
3901 sed 's/^/| /' conftest.$ac_ext >&5
3903 ac_header_compiler=no
3905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3906 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3907 echo "${ECHO_T}$ac_header_compiler" >&6
3909 # Is the header present?
3910 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3911 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3912 cat >conftest.$ac_ext <<_ACEOF
3915 cat confdefs.h >>conftest.$ac_ext
3916 cat >>conftest.$ac_ext <<_ACEOF
3917 /* end confdefs.h. */
3918 #include <$ac_header>
3920 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3921 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3923 grep -v '^ *+' conftest.er1 >conftest.err
3925 cat conftest.err >&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); } >/dev/null; then
3928 if test -s conftest.err; then
3929 ac_cpp_err=$ac_c_preproc_warn_flag
3930 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3937 if test -z "$ac_cpp_err"; then
3938 ac_header_preproc=yes
3940 echo "$as_me: failed program was:" >&5
3941 sed 's/^/| /' conftest.$ac_ext >&5
3943 ac_header_preproc=no
3945 rm -f conftest.err conftest.$ac_ext
3946 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3947 echo "${ECHO_T}$ac_header_preproc" >&6
3949 # So? What about this header?
3950 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3952 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3953 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3954 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3955 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3956 ac_header_preproc=yes
3959 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3960 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3961 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3962 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3963 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3964 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3965 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3966 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3968 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3969 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3970 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3973 ## ---------------------------------- ##
3974 ## Report this to the libfirm lists. ##
3975 ## ---------------------------------- ##
3978 sed "s/^/$as_me: WARNING: /" >&2
3981 echo "$as_me:$LINENO: checking for $ac_header" >&5
3982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3984 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 eval "$as_ac_Header=\$ac_header_preproc"
3988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3989 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3992 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3993 cat >>confdefs.h <<_ACEOF
3994 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3996 ac_obstack_headers="yes"
3998 ac_obstack_headers="no"
4003 if test "$ac_obstack_headers" != yes; then
4004 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
4005 echo "$as_me: error: \"obstack.h not found\"" >&2;}
4006 { (exit 1); exit 1; }; }
4011 for ac_header in alloca.h
4013 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4015 echo "$as_me:$LINENO: checking for $ac_header" >&5
4016 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4017 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4018 echo $ECHO_N "(cached) $ECHO_C" >&6
4020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4021 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4023 # Is the header compilable?
4024 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4025 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4026 cat >conftest.$ac_ext <<_ACEOF
4029 cat confdefs.h >>conftest.$ac_ext
4030 cat >>conftest.$ac_ext <<_ACEOF
4031 /* end confdefs.h. */
4032 $ac_includes_default
4033 #include <$ac_header>
4035 rm -f conftest.$ac_objext
4036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4037 (eval $ac_compile) 2>conftest.er1
4039 grep -v '^ *+' conftest.er1 >conftest.err
4041 cat conftest.err >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } &&
4044 { ac_try='test -z "$ac_c_werror_flag"
4045 || test ! -s conftest.err'
4046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4050 (exit $ac_status); }; } &&
4051 { ac_try='test -s conftest.$ac_objext'
4052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); }; }; then
4057 ac_header_compiler=yes
4059 echo "$as_me: failed program was:" >&5
4060 sed 's/^/| /' conftest.$ac_ext >&5
4062 ac_header_compiler=no
4064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4066 echo "${ECHO_T}$ac_header_compiler" >&6
4068 # Is the header present?
4069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4071 cat >conftest.$ac_ext <<_ACEOF
4074 cat confdefs.h >>conftest.$ac_ext
4075 cat >>conftest.$ac_ext <<_ACEOF
4076 /* end confdefs.h. */
4077 #include <$ac_header>
4079 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4080 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4082 grep -v '^ *+' conftest.er1 >conftest.err
4084 cat conftest.err >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); } >/dev/null; then
4087 if test -s conftest.err; then
4088 ac_cpp_err=$ac_c_preproc_warn_flag
4089 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4096 if test -z "$ac_cpp_err"; then
4097 ac_header_preproc=yes
4099 echo "$as_me: failed program was:" >&5
4100 sed 's/^/| /' conftest.$ac_ext >&5
4102 ac_header_preproc=no
4104 rm -f conftest.err conftest.$ac_ext
4105 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4106 echo "${ECHO_T}$ac_header_preproc" >&6
4108 # So? What about this header?
4109 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4111 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4112 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4114 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4115 ac_header_preproc=yes
4118 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4119 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4120 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4121 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4122 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4123 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4124 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4125 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4127 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4128 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4129 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4132 ## ---------------------------------- ##
4133 ## Report this to the libfirm lists. ##
4134 ## ---------------------------------- ##
4137 sed "s/^/$as_me: WARNING: /" >&2
4140 echo "$as_me:$LINENO: checking for $ac_header" >&5
4141 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4142 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4143 echo $ECHO_N "(cached) $ECHO_C" >&6
4145 eval "$as_ac_Header=\$ac_header_preproc"
4147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4151 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4152 cat >>confdefs.h <<_ACEOF
4153 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4155 ac_alloca_headers="yes"
4157 ac_alloca_headers="no"
4162 if test "$ac_alloca_headers" = "yes"; then
4163 cat >>confdefs.h <<\_ACEOF
4164 #define HAVE_ALLOCA_H 1
4168 if test "$ac_cv_header_stdc" = "no"; then
4169 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4170 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4171 { (exit 1); exit 1; }; }
4177 if test "$enable_firm_jni" = yes; then
4179 for ac_header in jni.h
4181 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4183 echo "$as_me:$LINENO: checking for $ac_header" >&5
4184 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4185 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4186 echo $ECHO_N "(cached) $ECHO_C" >&6
4188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4189 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4191 # Is the header compilable?
4192 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4193 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4194 cat >conftest.$ac_ext <<_ACEOF
4197 cat confdefs.h >>conftest.$ac_ext
4198 cat >>conftest.$ac_ext <<_ACEOF
4199 /* end confdefs.h. */
4200 $ac_includes_default
4201 #include <$ac_header>
4203 rm -f conftest.$ac_objext
4204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4205 (eval $ac_compile) 2>conftest.er1
4207 grep -v '^ *+' conftest.er1 >conftest.err
4209 cat conftest.err >&5
4210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4211 (exit $ac_status); } &&
4212 { ac_try='test -z "$ac_c_werror_flag"
4213 || test ! -s conftest.err'
4214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4218 (exit $ac_status); }; } &&
4219 { ac_try='test -s conftest.$ac_objext'
4220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); }; }; then
4225 ac_header_compiler=yes
4227 echo "$as_me: failed program was:" >&5
4228 sed 's/^/| /' conftest.$ac_ext >&5
4230 ac_header_compiler=no
4232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4233 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4234 echo "${ECHO_T}$ac_header_compiler" >&6
4236 # Is the header present?
4237 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4238 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4239 cat >conftest.$ac_ext <<_ACEOF
4242 cat confdefs.h >>conftest.$ac_ext
4243 cat >>conftest.$ac_ext <<_ACEOF
4244 /* end confdefs.h. */
4245 #include <$ac_header>
4247 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4248 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4250 grep -v '^ *+' conftest.er1 >conftest.err
4252 cat conftest.err >&5
4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4254 (exit $ac_status); } >/dev/null; then
4255 if test -s conftest.err; then
4256 ac_cpp_err=$ac_c_preproc_warn_flag
4257 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4264 if test -z "$ac_cpp_err"; then
4265 ac_header_preproc=yes
4267 echo "$as_me: failed program was:" >&5
4268 sed 's/^/| /' conftest.$ac_ext >&5
4270 ac_header_preproc=no
4272 rm -f conftest.err conftest.$ac_ext
4273 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4274 echo "${ECHO_T}$ac_header_preproc" >&6
4276 # So? What about this header?
4277 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4279 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4280 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4282 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4283 ac_header_preproc=yes
4286 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4287 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4288 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4289 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4290 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4291 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4292 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4293 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4295 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4296 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4297 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4300 ## ---------------------------------- ##
4301 ## Report this to the libfirm lists. ##
4302 ## ---------------------------------- ##
4305 sed "s/^/$as_me: WARNING: /" >&2
4308 echo "$as_me:$LINENO: checking for $ac_header" >&5
4309 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4310 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4311 echo $ECHO_N "(cached) $ECHO_C" >&6
4313 eval "$as_ac_Header=\$ac_header_preproc"
4315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4316 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4319 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4320 cat >>confdefs.h <<_ACEOF
4321 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4323 ac_jni_headers="yes"
4330 if test "$ac_jni_headers" != yes; then
4331 { { 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
4332 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;}
4333 { (exit 1); exit 1; }; }
4338 if test "$enable_external_effects" == "yes"; then
4340 for ac_header in libxml/parser.h
4342 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4344 echo "$as_me:$LINENO: checking for $ac_header" >&5
4345 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4346 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4347 echo $ECHO_N "(cached) $ECHO_C" >&6
4349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4350 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4352 # Is the header compilable?
4353 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4354 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4355 cat >conftest.$ac_ext <<_ACEOF
4358 cat confdefs.h >>conftest.$ac_ext
4359 cat >>conftest.$ac_ext <<_ACEOF
4360 /* end confdefs.h. */
4361 $ac_includes_default
4362 #include <$ac_header>
4364 rm -f conftest.$ac_objext
4365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4366 (eval $ac_compile) 2>conftest.er1
4368 grep -v '^ *+' conftest.er1 >conftest.err
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } &&
4373 { ac_try='test -z "$ac_c_werror_flag"
4374 || test ! -s conftest.err'
4375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); }; } &&
4380 { ac_try='test -s conftest.$ac_objext'
4381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); }; }; then
4386 ac_header_compiler=yes
4388 echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.$ac_ext >&5
4391 ac_header_compiler=no
4393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4394 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4395 echo "${ECHO_T}$ac_header_compiler" >&6
4397 # Is the header present?
4398 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4399 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4400 cat >conftest.$ac_ext <<_ACEOF
4403 cat confdefs.h >>conftest.$ac_ext
4404 cat >>conftest.$ac_ext <<_ACEOF
4405 /* end confdefs.h. */
4406 #include <$ac_header>
4408 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4409 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4411 grep -v '^ *+' conftest.er1 >conftest.err
4413 cat conftest.err >&5
4414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4415 (exit $ac_status); } >/dev/null; then
4416 if test -s conftest.err; then
4417 ac_cpp_err=$ac_c_preproc_warn_flag
4418 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4425 if test -z "$ac_cpp_err"; then
4426 ac_header_preproc=yes
4428 echo "$as_me: failed program was:" >&5
4429 sed 's/^/| /' conftest.$ac_ext >&5
4431 ac_header_preproc=no
4433 rm -f conftest.err conftest.$ac_ext
4434 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4435 echo "${ECHO_T}$ac_header_preproc" >&6
4437 # So? What about this header?
4438 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4440 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4441 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4442 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4443 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4444 ac_header_preproc=yes
4447 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4448 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4449 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4450 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4451 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4452 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4453 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4454 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4456 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4457 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4458 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4461 ## ---------------------------------- ##
4462 ## Report this to the libfirm lists. ##
4463 ## ---------------------------------- ##
4466 sed "s/^/$as_me: WARNING: /" >&2
4469 echo "$as_me:$LINENO: checking for $ac_header" >&5
4470 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4471 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4472 echo $ECHO_N "(cached) $ECHO_C" >&6
4474 eval "$as_ac_Header=\$ac_header_preproc"
4476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4480 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4481 cat >>confdefs.h <<_ACEOF
4482 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4484 ac_xml_headers="yes"
4491 if test "$ac_xml_headers" != yes; then
4492 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4493 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4494 { (exit 1); exit 1; }; }
4499 #dnl check for the gnu multiprecission (gmp) library
4501 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4502 #if test "$ac_gmp_library" != yes; then
4503 # dnl gmp library not found.
4504 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4508 echo "$as_me:$LINENO: checking for main in -lm" >&5
4509 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4510 if test "${ac_cv_lib_m_main+set}" = set; then
4511 echo $ECHO_N "(cached) $ECHO_C" >&6
4513 ac_check_lib_save_LIBS=$LIBS
4515 cat >conftest.$ac_ext <<_ACEOF
4518 cat confdefs.h >>conftest.$ac_ext
4519 cat >>conftest.$ac_ext <<_ACEOF
4520 /* end confdefs.h. */
4531 rm -f conftest.$ac_objext conftest$ac_exeext
4532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4533 (eval $ac_link) 2>conftest.er1
4535 grep -v '^ *+' conftest.er1 >conftest.err
4537 cat conftest.err >&5
4538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4539 (exit $ac_status); } &&
4540 { ac_try='test -z "$ac_c_werror_flag"
4541 || test ! -s conftest.err'
4542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); }; } &&
4547 { ac_try='test -s conftest$ac_exeext'
4548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); }; }; then
4553 ac_cv_lib_m_main=yes
4555 echo "$as_me: failed program was:" >&5
4556 sed 's/^/| /' conftest.$ac_ext >&5
4560 rm -f conftest.err conftest.$ac_objext \
4561 conftest$ac_exeext conftest.$ac_ext
4562 LIBS=$ac_check_lib_save_LIBS
4564 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4565 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4566 if test $ac_cv_lib_m_main = yes; then
4572 if test "$ac_m_library" != yes; then
4573 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4574 echo "$as_me: error: \"standard math library not found\"" >&2;}
4575 { (exit 1); exit 1; }; }
4579 if test "$enable_external_effects" == "yes"; then
4580 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4581 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4582 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 ac_check_lib_save_LIBS=$LIBS
4587 cat >conftest.$ac_ext <<_ACEOF
4590 cat confdefs.h >>conftest.$ac_ext
4591 cat >>conftest.$ac_ext <<_ACEOF
4592 /* end confdefs.h. */
4594 /* Override any gcc2 internal prototype to avoid an error. */
4598 /* We use char because int might match the return type of a gcc2
4599 builtin and then its argument prototype would still apply. */
4600 char xmlParseFile ();
4609 rm -f conftest.$ac_objext conftest$ac_exeext
4610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4611 (eval $ac_link) 2>conftest.er1
4613 grep -v '^ *+' conftest.er1 >conftest.err
4615 cat conftest.err >&5
4616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4617 (exit $ac_status); } &&
4618 { ac_try='test -z "$ac_c_werror_flag"
4619 || test ! -s conftest.err'
4620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4624 (exit $ac_status); }; } &&
4625 { ac_try='test -s conftest$ac_exeext'
4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); }; }; then
4631 ac_cv_lib_xml2_xmlParseFile=yes
4633 echo "$as_me: failed program was:" >&5
4634 sed 's/^/| /' conftest.$ac_ext >&5
4636 ac_cv_lib_xml2_xmlParseFile=no
4638 rm -f conftest.err conftest.$ac_objext \
4639 conftest$ac_exeext conftest.$ac_ext
4640 LIBS=$ac_check_lib_save_LIBS
4642 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4643 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4644 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4645 ac_xml_library="yes"
4650 if test "$ac_m_library" != yes; then
4651 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4652 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4653 { (exit 1); exit 1; }; }
4659 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4660 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4661 if test "${ac_cv_c_const+set}" = set; then
4662 echo $ECHO_N "(cached) $ECHO_C" >&6
4664 cat >conftest.$ac_ext <<_ACEOF
4667 cat confdefs.h >>conftest.$ac_ext
4668 cat >>conftest.$ac_ext <<_ACEOF
4669 /* end confdefs.h. */
4674 /* FIXME: Include the comments suggested by Paul. */
4676 /* Ultrix mips cc rejects this. */
4677 typedef int charset[2];
4679 /* SunOS 4.1.1 cc rejects this. */
4680 char const *const *ccp;
4682 /* NEC SVR4.0.2 mips cc rejects this. */
4683 struct point {int x, y;};
4684 static struct point const zero = {0,0};
4685 /* AIX XL C 1.02.0.0 rejects this.
4686 It does not let you subtract one const X* pointer from another in
4687 an arm of an if-expression whose if-part is not a constant
4689 const char *g = "string";
4690 ccp = &g + (g ? g-g : 0);
4691 /* HPUX 7.0 cc rejects these. */
4694 ccp = (char const *const *) p;
4695 { /* SCO 3.2v4 cc rejects this. */
4697 char const *s = 0 ? (char *) 0 : (char const *) 0;
4701 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4703 const int *foo = &x[0];
4706 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4707 typedef const int *iptr;
4711 { /* AIX XL C 1.02.0.0 rejects this saying
4712 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4713 struct s { int j; const int *ap[3]; };
4714 struct s *b; b->j = 5;
4716 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4725 rm -f conftest.$ac_objext
4726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4727 (eval $ac_compile) 2>conftest.er1
4729 grep -v '^ *+' conftest.er1 >conftest.err
4731 cat conftest.err >&5
4732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4733 (exit $ac_status); } &&
4734 { ac_try='test -z "$ac_c_werror_flag"
4735 || test ! -s conftest.err'
4736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4740 (exit $ac_status); }; } &&
4741 { ac_try='test -s conftest.$ac_objext'
4742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); }; }; then
4749 echo "$as_me: failed program was:" >&5
4750 sed 's/^/| /' conftest.$ac_ext >&5
4754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4756 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4757 echo "${ECHO_T}$ac_cv_c_const" >&6
4758 if test $ac_cv_c_const = no; then
4760 cat >>confdefs.h <<\_ACEOF
4766 echo "$as_me:$LINENO: checking for working volatile" >&5
4767 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4768 if test "${ac_cv_c_volatile+set}" = set; then
4769 echo $ECHO_N "(cached) $ECHO_C" >&6
4771 cat >conftest.$ac_ext <<_ACEOF
4774 cat confdefs.h >>conftest.$ac_ext
4775 cat >>conftest.$ac_ext <<_ACEOF
4776 /* end confdefs.h. */
4788 rm -f conftest.$ac_objext
4789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4790 (eval $ac_compile) 2>conftest.er1
4792 grep -v '^ *+' conftest.er1 >conftest.err
4794 cat conftest.err >&5
4795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4796 (exit $ac_status); } &&
4797 { ac_try='test -z "$ac_c_werror_flag"
4798 || test ! -s conftest.err'
4799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4803 (exit $ac_status); }; } &&
4804 { ac_try='test -s conftest.$ac_objext'
4805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); }; }; then
4810 ac_cv_c_volatile=yes
4812 echo "$as_me: failed program was:" >&5
4813 sed 's/^/| /' conftest.$ac_ext >&5
4817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4819 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4820 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4821 if test $ac_cv_c_volatile = no; then
4823 cat >>confdefs.h <<\_ACEOF
4829 echo "$as_me:$LINENO: checking for inline" >&5
4830 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4831 if test "${ac_cv_c_inline+set}" = set; then
4832 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 for ac_kw in inline __inline__ __inline; do
4836 cat >conftest.$ac_ext <<_ACEOF
4839 cat confdefs.h >>conftest.$ac_ext
4840 cat >>conftest.$ac_ext <<_ACEOF
4841 /* end confdefs.h. */
4844 static $ac_kw foo_t static_foo () {return 0; }
4845 $ac_kw foo_t foo () {return 0; }
4849 rm -f conftest.$ac_objext
4850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4851 (eval $ac_compile) 2>conftest.er1
4853 grep -v '^ *+' conftest.er1 >conftest.err
4855 cat conftest.err >&5
4856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4857 (exit $ac_status); } &&
4858 { ac_try='test -z "$ac_c_werror_flag"
4859 || test ! -s conftest.err'
4860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4864 (exit $ac_status); }; } &&
4865 { ac_try='test -s conftest.$ac_objext'
4866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); }; }; then
4871 ac_cv_c_inline=$ac_kw; break
4873 echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4881 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4882 echo "${ECHO_T}$ac_cv_c_inline" >&6
4885 case $ac_cv_c_inline in
4888 case $ac_cv_c_inline in
4890 *) ac_val=$ac_cv_c_inline;;
4892 cat >>confdefs.h <<_ACEOF
4894 #define inline $ac_val
4900 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4901 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4902 if test "${ac_cv_c_bigendian+set}" = set; then
4903 echo $ECHO_N "(cached) $ECHO_C" >&6
4905 # See if sys/param.h defines the BYTE_ORDER macro.
4906 cat >conftest.$ac_ext <<_ACEOF
4909 cat confdefs.h >>conftest.$ac_ext
4910 cat >>conftest.$ac_ext <<_ACEOF
4911 /* end confdefs.h. */
4912 #include <sys/types.h>
4913 #include <sys/param.h>
4918 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4926 rm -f conftest.$ac_objext
4927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4928 (eval $ac_compile) 2>conftest.er1
4930 grep -v '^ *+' conftest.er1 >conftest.err
4932 cat conftest.err >&5
4933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4934 (exit $ac_status); } &&
4935 { ac_try='test -z "$ac_c_werror_flag"
4936 || test ! -s conftest.err'
4937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4941 (exit $ac_status); }; } &&
4942 { ac_try='test -s conftest.$ac_objext'
4943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); }; }; then
4948 # It does; now see whether it defined to BIG_ENDIAN or not.
4949 cat >conftest.$ac_ext <<_ACEOF
4952 cat confdefs.h >>conftest.$ac_ext
4953 cat >>conftest.$ac_ext <<_ACEOF
4954 /* end confdefs.h. */
4955 #include <sys/types.h>
4956 #include <sys/param.h>
4961 #if BYTE_ORDER != BIG_ENDIAN
4969 rm -f conftest.$ac_objext
4970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4971 (eval $ac_compile) 2>conftest.er1
4973 grep -v '^ *+' conftest.er1 >conftest.err
4975 cat conftest.err >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); } &&
4978 { ac_try='test -z "$ac_c_werror_flag"
4979 || test ! -s conftest.err'
4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }; } &&
4985 { ac_try='test -s conftest.$ac_objext'
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=yes
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_cv_c_bigendian=no
4998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5000 echo "$as_me: failed program was:" >&5
5001 sed 's/^/| /' conftest.$ac_ext >&5
5003 # It does not; compile a test program.
5004 if test "$cross_compiling" = yes; then
5005 # try to guess the endianness by grepping values into an object file
5006 ac_cv_c_bigendian=unknown
5007 cat >conftest.$ac_ext <<_ACEOF
5010 cat confdefs.h >>conftest.$ac_ext
5011 cat >>conftest.$ac_ext <<_ACEOF
5012 /* end confdefs.h. */
5013 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5014 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5015 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5016 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5017 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5018 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5022 _ascii (); _ebcdic ();
5027 rm -f conftest.$ac_objext
5028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5029 (eval $ac_compile) 2>conftest.er1
5031 grep -v '^ *+' conftest.er1 >conftest.err
5033 cat conftest.err >&5
5034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5035 (exit $ac_status); } &&
5036 { ac_try='test -z "$ac_c_werror_flag"
5037 || test ! -s conftest.err'
5038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5042 (exit $ac_status); }; } &&
5043 { ac_try='test -s conftest.$ac_objext'
5044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); }; }; then
5049 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5050 ac_cv_c_bigendian=yes
5052 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5053 if test "$ac_cv_c_bigendian" = unknown; then
5054 ac_cv_c_bigendian=no
5056 # finding both strings is unlikely to happen, but who knows?
5057 ac_cv_c_bigendian=unknown
5061 echo "$as_me: failed program was:" >&5
5062 sed 's/^/| /' conftest.$ac_ext >&5
5065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5067 cat >conftest.$ac_ext <<_ACEOF
5070 cat confdefs.h >>conftest.$ac_ext
5071 cat >>conftest.$ac_ext <<_ACEOF
5072 /* end confdefs.h. */
5076 /* Are we little or big endian? From Harbison&Steele. */
5080 char c[sizeof (long)];
5083 exit (u.c[sizeof (long) - 1] == 1);
5086 rm -f conftest$ac_exeext
5087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5088 (eval $ac_link) 2>&5
5090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5091 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5096 (exit $ac_status); }; }; then
5097 ac_cv_c_bigendian=no
5099 echo "$as_me: program exited with status $ac_status" >&5
5100 echo "$as_me: failed program was:" >&5
5101 sed 's/^/| /' conftest.$ac_ext >&5
5104 ac_cv_c_bigendian=yes
5106 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5111 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5112 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5113 case $ac_cv_c_bigendian in
5116 cat >>confdefs.h <<\_ACEOF
5117 #define WORDS_BIGENDIAN 1
5123 { { echo "$as_me:$LINENO: error: unknown endianness
5124 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5125 echo "$as_me: error: unknown endianness
5126 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5127 { (exit 1); exit 1; }; } ;;
5130 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5131 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5132 if test "${ac_cv_c_long_double+set}" = set; then
5133 echo $ECHO_N "(cached) $ECHO_C" >&6
5135 cat >conftest.$ac_ext <<_ACEOF
5138 cat confdefs.h >>conftest.$ac_ext
5139 cat >>conftest.$ac_ext <<_ACEOF
5140 /* end confdefs.h. */
5142 long double foo = 0.0;
5146 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5147 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5148 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5155 rm -f conftest.$ac_objext
5156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5157 (eval $ac_compile) 2>conftest.er1
5159 grep -v '^ *+' conftest.er1 >conftest.err
5161 cat conftest.err >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); } &&
5164 { ac_try='test -z "$ac_c_werror_flag"
5165 || test ! -s conftest.err'
5166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5170 (exit $ac_status); }; } &&
5171 { ac_try='test -s conftest.$ac_objext'
5172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); }; }; then
5177 ac_cv_c_long_double=yes
5179 echo "$as_me: failed program was:" >&5
5180 sed 's/^/| /' conftest.$ac_ext >&5
5182 ac_cv_c_long_double=no
5184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5186 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5187 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5188 if test $ac_cv_c_long_double = yes; then
5190 cat >>confdefs.h <<\_ACEOF
5191 #define HAVE_LONG_DOUBLE 1
5199 echo "$as_me:$LINENO: checking for strerror" >&5
5200 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5201 if test "${ac_cv_func_strerror+set}" = set; then
5202 echo $ECHO_N "(cached) $ECHO_C" >&6
5204 cat >conftest.$ac_ext <<_ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5212 #define strerror innocuous_strerror
5214 /* System header to define __stub macros and hopefully few prototypes,
5215 which can conflict with char strerror (); below.
5216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5217 <limits.h> exists even on freestanding compilers. */
5220 # include <limits.h>
5222 # include <assert.h>
5227 /* Override any gcc2 internal prototype to avoid an error. */
5232 /* We use char because int might match the return type of a gcc2
5233 builtin and then its argument prototype would still apply. */
5235 /* The GNU C library defines this for functions which it implements
5236 to always fail with ENOSYS. Some functions are actually named
5237 something starting with __ and the normal name is an alias. */
5238 #if defined (__stub_strerror) || defined (__stub___strerror)
5241 char (*f) () = strerror;
5250 return f != strerror;
5255 rm -f conftest.$ac_objext conftest$ac_exeext
5256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5257 (eval $ac_link) 2>conftest.er1
5259 grep -v '^ *+' conftest.er1 >conftest.err
5261 cat conftest.err >&5
5262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5263 (exit $ac_status); } &&
5264 { ac_try='test -z "$ac_c_werror_flag"
5265 || test ! -s conftest.err'
5266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5270 (exit $ac_status); }; } &&
5271 { ac_try='test -s conftest$ac_exeext'
5272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); }; }; then
5277 ac_cv_func_strerror=yes
5279 echo "$as_me: failed program was:" >&5
5280 sed 's/^/| /' conftest.$ac_ext >&5
5282 ac_cv_func_strerror=no
5284 rm -f conftest.err conftest.$ac_objext \
5285 conftest$ac_exeext conftest.$ac_ext
5287 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5288 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5289 if test $ac_cv_func_strerror = yes; then
5292 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5293 echo "$as_me: error: \"need strerror function\"" >&2;}
5294 { (exit 1); exit 1; }; }
5302 ac_config_files="$ac_config_files $ac_output_file"
5303 ac_config_commands="$ac_config_commands default"
5304 cat >confcache <<\_ACEOF
5305 # This file is a shell script that caches the results of configure
5306 # tests run on this system so they can be shared between configure
5307 # scripts and configure runs, see configure's option --config-cache.
5308 # It is not useful on other systems. If it contains results you don't
5309 # want to keep, you may remove or edit it.
5311 # config.status only pays attention to the cache file if you give it
5312 # the --recheck option to rerun configure.
5314 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5315 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5320 # The following way of writing the cache mishandles newlines in values,
5321 # but we know of no workaround that is simple, portable, and efficient.
5322 # So, don't put newlines in cache variables' values.
5323 # Ultrix sh set writes to stderr and can't be redirected directly,
5324 # and sets the high bit in the cache file unless we assign to the vars.
5327 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5329 # `set' does not quote correctly, so add quotes (double-quote
5330 # substitution turns \\\\ into \\, and sed turns \\ into \).
5333 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5336 # `set' quotes correctly as required by POSIX, so do not add quotes.
5338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5345 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5347 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5349 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5350 if test -w $cache_file; then
5351 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5352 cat confcache >$cache_file
5354 echo "not updating unwritable cache $cache_file"
5359 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5360 # Let make expand exec_prefix.
5361 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5363 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5364 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5365 # trailing colons and then remove the whole line if VPATH becomes empty
5366 # (actually we leave an empty line to preserve line numbers).
5367 if test "x$srcdir" = x.; then
5368 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5369 s/:*\$(srcdir):*/:/;
5370 s/:*\${srcdir}:*/:/;
5372 s/^\([^=]*=[ ]*\):*/\1/;
5378 DEFS=-DHAVE_CONFIG_H
5382 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5383 # 1. Remove the extension, and $U if already installed.
5384 ac_i=`echo "$ac_i" |
5385 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5387 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5388 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5392 LTLIBOBJS=$ac_ltlibobjs
5396 : ${CONFIG_STATUS=./config.status}
5397 ac_clean_files_save=$ac_clean_files
5398 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5399 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5400 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5401 cat >$CONFIG_STATUS <<_ACEOF
5403 # Generated by $as_me.
5404 # Run this file to recreate the current configuration.
5405 # Compiler output produced by configure, useful for debugging
5406 # configure, is in config.log if it exists.
5411 SHELL=\${CONFIG_SHELL-$SHELL}
5414 cat >>$CONFIG_STATUS <<\_ACEOF
5415 ## --------------------- ##
5416 ## M4sh Initialization. ##
5417 ## --------------------- ##
5419 # Be Bourne compatible
5420 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5423 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5424 # is contrary to our usage. Disable this feature.
5425 alias -g '${1+"$@"}'='"$@"'
5426 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5429 DUALCASE=1; export DUALCASE # for MKS sh
5431 # Support unset when possible.
5432 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5439 # Work around bugs in pre-3.0 UWIN ksh.
5440 $as_unset ENV MAIL MAILPATH
5447 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5448 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5449 LC_TELEPHONE LC_TIME
5451 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5452 eval $as_var=C; export $as_var
5458 # Required to use basename.
5459 if expr a : '\(a\)' >/dev/null 2>&1; then
5465 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5466 as_basename=basename
5472 # Name of the executable.
5473 as_me=`$as_basename "$0" ||
5474 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5475 X"$0" : 'X\(//\)$' \| \
5476 X"$0" : 'X\(/\)$' \| \
5477 . : '\(.\)' 2>/dev/null ||
5479 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5480 /^X\/\(\/\/\)$/{ s//\1/; q; }
5481 /^X\/\(\/\).*/{ s//\1/; q; }
5485 # PATH needs CR, and LINENO needs CR and PATH.
5486 # Avoid depending upon Character Ranges.
5487 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5488 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5489 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5490 as_cr_digits='0123456789'
5491 as_cr_alnum=$as_cr_Letters$as_cr_digits
5493 # The user is always right.
5494 if test "${PATH_SEPARATOR+set}" != set; then
5495 echo "#! /bin/sh" >conf$$.sh
5496 echo "exit 0" >>conf$$.sh
5498 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5509 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5510 test "x$as_lineno_1" != "x$as_lineno_2" &&
5511 test "x$as_lineno_3" = "x$as_lineno_2" || {
5512 # Find who we are. Look in the path if we contain no path at all
5515 *[\\/]* ) as_myself=$0 ;;
5516 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5520 test -z "$as_dir" && as_dir=.
5521 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5526 # We did not find ourselves, most probably we were run as `sh COMMAND'
5527 # in which case we are not to be found in the path.
5528 if test "x$as_myself" = x; then
5531 if test ! -f "$as_myself"; then
5532 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5533 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5534 { (exit 1); exit 1; }; }
5536 case $CONFIG_SHELL in
5538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5539 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5542 test -z "$as_dir" && as_dir=.
5543 for as_base in sh bash ksh sh5; do
5546 if ("$as_dir/$as_base" -c '
5549 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5550 test "x$as_lineno_1" != "x$as_lineno_2" &&
5551 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5552 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5553 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5554 CONFIG_SHELL=$as_dir/$as_base
5556 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5564 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5565 # uniformly replaced by the line number. The first 'sed' inserts a
5566 # line-number line before each line; the second 'sed' does the real
5567 # work. The second script uses 'N' to pair each line-number line
5568 # with the numbered line, and appends trailing '-' during
5569 # substitution so that $LINENO is not a special case at line end.
5570 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5571 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5572 sed '=' <$as_myself |
5577 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5580 s,^['$as_cr_digits']*\n,,
5582 chmod +x $as_me.lineno ||
5583 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5584 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5585 { (exit 1); exit 1; }; }
5587 # Don't try to exec as it changes $[0], causing all sort of problems
5588 # (the dirname of $[0] is not the place where we might find the
5589 # original and so on. Autoconf is especially sensible to this).
5591 # Exit status is that of the last command.
5596 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5597 *c*,-n*) ECHO_N= ECHO_C='
5599 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5600 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5603 if expr a : '\(a\)' >/dev/null 2>&1; then
5609 rm -f conf$$ conf$$.exe conf$$.file
5611 if ln -s conf$$.file conf$$ 2>/dev/null; then
5612 # We could just check for DJGPP; but this test a) works b) is more generic
5613 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5614 if test -f conf$$.exe; then
5615 # Don't use ln at all; we don't have any links
5620 elif ln conf$$.file conf$$ 2>/dev/null; then
5625 rm -f conf$$ conf$$.exe conf$$.file
5627 if mkdir -p . 2>/dev/null; then
5630 test -d ./-p && rmdir ./-p
5634 as_executable_p="test -f"
5636 # Sed expression to map a string onto a valid CPP name.
5637 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5639 # Sed expression to map a string onto a valid variable name.
5640 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5644 # We need space, tab and new line, in precisely that order.
5654 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5655 # report actual input values of CONFIG_FILES etc. instead of their
5656 # values after options handling. Logging --version etc. is OK.
5660 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5661 ## Running $as_me. ##
5666 This file was extended by libfirm $as_me 1.3.0, which was
5667 generated by GNU Autoconf 2.59. Invocation command line was
5669 CONFIG_FILES = $CONFIG_FILES
5670 CONFIG_HEADERS = $CONFIG_HEADERS
5671 CONFIG_LINKS = $CONFIG_LINKS
5672 CONFIG_COMMANDS = $CONFIG_COMMANDS
5676 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5680 # Files that config.status was made for.
5681 if test -n "$ac_config_files"; then
5682 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5685 if test -n "$ac_config_headers"; then
5686 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5689 if test -n "$ac_config_links"; then
5690 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5693 if test -n "$ac_config_commands"; then
5694 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5697 cat >>$CONFIG_STATUS <<\_ACEOF
5700 \`$as_me' instantiates files from templates according to the
5701 current configuration.
5703 Usage: $0 [OPTIONS] [FILE]...
5705 -h, --help print this help, then exit
5706 -V, --version print version number, then exit
5707 -q, --quiet do not print progress messages
5708 -d, --debug don't remove temporary files
5709 --recheck update $as_me by reconfiguring in the same conditions
5710 --file=FILE[:TEMPLATE]
5711 instantiate the configuration file FILE
5712 --header=FILE[:TEMPLATE]
5713 instantiate the configuration header FILE
5715 Configuration files:
5718 Configuration headers:
5721 Configuration commands:
5724 Report bugs to <bug-autoconf@gnu.org>."
5727 cat >>$CONFIG_STATUS <<_ACEOF
5729 libfirm config.status 1.3.0
5730 configured by $0, generated by GNU Autoconf 2.59,
5731 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5733 Copyright (C) 2003 Free Software Foundation, Inc.
5734 This config.status script is free software; the Free Software Foundation
5735 gives unlimited permission to copy, distribute and modify it."
5740 cat >>$CONFIG_STATUS <<\_ACEOF
5741 # If no file are specified by the user, then we need to provide default
5742 # value. By we need to know if files were specified by the user.
5748 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5749 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5757 *) # This is not an option, so the user has probably given explicit
5760 ac_need_defaults=false;;
5764 # Handling of the options.
5766 cat >>$CONFIG_STATUS <<\_ACEOF
5767 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5769 --version | --vers* | -V )
5770 echo "$ac_cs_version"; exit 0 ;;
5772 # Conflict between --help and --header
5773 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5774 Try \`$0 --help' for more information." >&5
5775 echo "$as_me: error: ambiguous option: $1
5776 Try \`$0 --help' for more information." >&2;}
5777 { (exit 1); exit 1; }; };;
5778 --help | --hel | -h )
5779 echo "$ac_cs_usage"; exit 0 ;;
5780 --debug | --d* | -d )
5782 --file | --fil | --fi | --f )
5784 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5785 ac_need_defaults=false;;
5786 --header | --heade | --head | --hea )
5788 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5789 ac_need_defaults=false;;
5790 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5791 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5795 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5796 Try \`$0 --help' for more information." >&5
5797 echo "$as_me: error: unrecognized option: $1
5798 Try \`$0 --help' for more information." >&2;}
5799 { (exit 1); exit 1; }; } ;;
5801 *) ac_config_targets="$ac_config_targets $1" ;;
5807 ac_configure_extra_args=
5809 if $ac_cs_silent; then
5811 ac_configure_extra_args="$ac_configure_extra_args --silent"
5815 cat >>$CONFIG_STATUS <<_ACEOF
5816 if \$ac_cs_recheck; then
5817 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5818 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5827 cat >>$CONFIG_STATUS <<\_ACEOF
5828 for ac_config_target in $ac_config_targets
5830 case "$ac_config_target" in
5831 # Handling of arguments.
5832 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5833 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5834 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5835 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5836 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5837 { (exit 1); exit 1; }; };;
5841 # If the user did not use the arguments to specify the items to instantiate,
5842 # then the envvar interface is used. Set only those that are not.
5843 # We use the long form for the default assignment because of an extremely
5844 # bizarre bug on SunOS 4.1.3.
5845 if $ac_need_defaults; then
5846 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5847 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5848 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5851 # Have a temporary directory for convenience. Make it in the build tree
5852 # simply because there is no reason to put it here, and in addition,
5853 # creating and moving files from /tmp can sometimes cause problems.
5854 # Create a temporary directory, and hook for its removal unless debugging.
5857 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5858 trap '{ (exit 1); exit 1; }' 1 2 13 15
5861 # Create a (secure) tmp directory for tmp files.
5864 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5865 test -n "$tmp" && test -d "$tmp"
5868 tmp=./confstat$$-$RANDOM
5869 (umask 077 && mkdir $tmp)
5872 echo "$me: cannot create a temporary directory in ." >&2
5873 { (exit 1); exit 1; }
5878 cat >>$CONFIG_STATUS <<_ACEOF
5881 # CONFIG_FILES section.
5884 # No need to generate the scripts if there are no CONFIG_FILES.
5885 # This happens for instance when ./config.status config.h
5886 if test -n "\$CONFIG_FILES"; then
5887 # Protect against being on the right side of a sed subst in config.status.
5888 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5889 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5890 s,@SHELL@,$SHELL,;t t
5891 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5892 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5893 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5894 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5895 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5896 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5897 s,@exec_prefix@,$exec_prefix,;t t
5898 s,@prefix@,$prefix,;t t
5899 s,@program_transform_name@,$program_transform_name,;t t
5900 s,@bindir@,$bindir,;t t
5901 s,@sbindir@,$sbindir,;t t
5902 s,@libexecdir@,$libexecdir,;t t
5903 s,@datadir@,$datadir,;t t
5904 s,@sysconfdir@,$sysconfdir,;t t
5905 s,@sharedstatedir@,$sharedstatedir,;t t
5906 s,@localstatedir@,$localstatedir,;t t
5907 s,@libdir@,$libdir,;t t
5908 s,@includedir@,$includedir,;t t
5909 s,@oldincludedir@,$oldincludedir,;t t
5910 s,@infodir@,$infodir,;t t
5911 s,@mandir@,$mandir,;t t
5912 s,@build_alias@,$build_alias,;t t
5913 s,@host_alias@,$host_alias,;t t
5914 s,@target_alias@,$target_alias,;t t
5916 s,@ECHO_C@,$ECHO_C,;t t
5917 s,@ECHO_N@,$ECHO_N,;t t
5918 s,@ECHO_T@,$ECHO_T,;t t
5920 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5921 s,@plugin_subdirs@,$plugin_subdirs,;t t
5922 s,@XML2CONFIG@,$XML2CONFIG,;t t
5923 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5924 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5925 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5926 s,@enable_firm_jni@,$enable_firm_jni,;t t
5927 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5928 s,@disable_libiberty@,$disable_libiberty,;t t
5929 s,@enable_statistics@,$enable_statistics,;t t
5930 s,@enable_libcore@,$enable_libcore,;t t
5931 s,@enable_ilp@,$enable_ilp,;t t
5932 s,@enable_wchar_support@,$enable_wchar_support,;t t
5933 s,@enable_external_effects@,$enable_external_effects,;t t
5935 s,@CFLAGS@,$CFLAGS,;t t
5936 s,@LDFLAGS@,$LDFLAGS,;t t
5937 s,@CPPFLAGS@,$CPPFLAGS,;t t
5938 s,@ac_ct_CC@,$ac_ct_CC,;t t
5939 s,@EXEEXT@,$EXEEXT,;t t
5940 s,@OBJEXT@,$OBJEXT,;t t
5943 s,@ac_ct_LD@,$ac_ct_LD,;t t
5944 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5947 s,@RANLIB@,$RANLIB,;t t
5948 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5949 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5950 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5951 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5953 s,@DOXYGEN@,$DOXYGEN,;t t
5955 s,@JAVAC@,$JAVAC,;t t
5956 s,@JAVAH@,$JAVAH,;t t
5958 s,@EGREP@,$EGREP,;t t
5959 s,@LIBOBJS@,$LIBOBJS,;t t
5960 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5965 cat >>$CONFIG_STATUS <<\_ACEOF
5966 # Split the substitutions into bite-sized pieces for seds with
5967 # small command number limits, like on Digital OSF/1 and HP-UX.
5969 ac_sed_frag=1 # Number of current file.
5970 ac_beg=1 # First line for current file.
5971 ac_end=$ac_max_sed_lines # Line after last line for current file.
5974 while $ac_more_lines; do
5975 if test $ac_beg -gt 1; then
5976 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5978 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5980 if test ! -s $tmp/subs.frag; then
5983 # The purpose of the label and of the branching condition is to
5984 # speed up the sed processing (if there are no `@' at all, there
5985 # is no need to browse any of the substitutions).
5986 # These are the two extra sed commands mentioned above.
5988 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5989 if test -z "$ac_sed_cmds"; then
5990 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5992 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5994 ac_sed_frag=`expr $ac_sed_frag + 1`
5996 ac_end=`expr $ac_end + $ac_max_sed_lines`
5999 if test -z "$ac_sed_cmds"; then
6002 fi # test -n "$CONFIG_FILES"
6005 cat >>$CONFIG_STATUS <<\_ACEOF
6006 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6007 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6009 - | *:- | *:-:* ) # input from stdin
6011 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6012 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6013 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6014 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6015 * ) ac_file_in=$ac_file.in ;;
6018 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6019 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6020 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6021 X"$ac_file" : 'X\(//\)[^/]' \| \
6022 X"$ac_file" : 'X\(//\)$' \| \
6023 X"$ac_file" : 'X\(/\)' \| \
6024 . : '\(.\)' 2>/dev/null ||
6026 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6027 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6028 /^X\(\/\/\)$/{ s//\1/; q; }
6029 /^X\(\/\).*/{ s//\1/; q; }
6031 { if $as_mkdir_p; then
6036 while test ! -d "$as_dir"; do
6037 as_dirs="$as_dir $as_dirs"
6038 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6039 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6040 X"$as_dir" : 'X\(//\)[^/]' \| \
6041 X"$as_dir" : 'X\(//\)$' \| \
6042 X"$as_dir" : 'X\(/\)' \| \
6043 . : '\(.\)' 2>/dev/null ||
6045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6046 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6047 /^X\(\/\/\)$/{ s//\1/; q; }
6048 /^X\(\/\).*/{ s//\1/; q; }
6051 test ! -n "$as_dirs" || mkdir $as_dirs
6052 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6053 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6054 { (exit 1); exit 1; }; }; }
6058 if test "$ac_dir" != .; then
6059 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6060 # A "../" for each directory in $ac_dir_suffix.
6061 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6063 ac_dir_suffix= ac_top_builddir=
6067 .) # No --srcdir option. We are building in place.
6069 if test -z "$ac_top_builddir"; then
6072 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6074 [\\/]* | ?:[\\/]* ) # Absolute path.
6075 ac_srcdir=$srcdir$ac_dir_suffix;
6076 ac_top_srcdir=$srcdir ;;
6078 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6079 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6082 # Do not use `cd foo && pwd` to compute absolute paths, because
6083 # the directories may not exist.
6085 .) ac_abs_builddir="$ac_dir";;
6088 .) ac_abs_builddir=`pwd`;;
6089 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6090 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6093 case $ac_abs_builddir in
6094 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6096 case ${ac_top_builddir}. in
6097 .) ac_abs_top_builddir=$ac_abs_builddir;;
6098 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6099 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6102 case $ac_abs_builddir in
6103 .) ac_abs_srcdir=$ac_srcdir;;
6106 .) ac_abs_srcdir=$ac_abs_builddir;;
6107 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6108 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6111 case $ac_abs_builddir in
6112 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6114 case $ac_top_srcdir in
6115 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6116 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6117 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6123 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6124 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6127 if test x"$ac_file" != x-; then
6128 { echo "$as_me:$LINENO: creating $ac_file" >&5
6129 echo "$as_me: creating $ac_file" >&6;}
6132 # Let's still pretend it is `configure' which instantiates (i.e., don't
6133 # use $as_me), people would be surprised to read:
6134 # /* config.h. Generated by config.status. */
6135 if test x"$ac_file" = x-; then
6138 configure_input="$ac_file. "
6140 configure_input=$configure_input"Generated from `echo $ac_file_in |
6141 sed 's,.*/,,'` by configure."
6143 # First look for the input files in the build tree, otherwise in the
6145 ac_file_inputs=`IFS=:
6146 for f in $ac_file_in; do
6148 -) echo $tmp/stdin ;;
6150 # Absolute (can't be DOS-style, as IFS=:)
6151 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6152 echo "$as_me: error: cannot find input file: $f" >&2;}
6153 { (exit 1); exit 1; }; }
6156 if test -f "$f"; then
6159 elif test -f "$srcdir/$f"; then
6164 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6165 echo "$as_me: error: cannot find input file: $f" >&2;}
6166 { (exit 1); exit 1; }; }
6169 done` || { (exit 1); exit 1; }
6171 cat >>$CONFIG_STATUS <<_ACEOF
6175 cat >>$CONFIG_STATUS <<\_ACEOF
6177 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6178 s,@configure_input@,$configure_input,;t t
6179 s,@srcdir@,$ac_srcdir,;t t
6180 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6181 s,@top_srcdir@,$ac_top_srcdir,;t t
6182 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6183 s,@builddir@,$ac_builddir,;t t
6184 s,@abs_builddir@,$ac_abs_builddir,;t t
6185 s,@top_builddir@,$ac_top_builddir,;t t
6186 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6187 s,@INSTALL@,$ac_INSTALL,;t t
6188 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6190 if test x"$ac_file" != x-; then
6191 mv $tmp/out $ac_file
6199 cat >>$CONFIG_STATUS <<\_ACEOF
6202 # CONFIG_HEADER section.
6205 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6206 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6208 # ac_d sets the value in "#define NAME VALUE" lines.
6209 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6210 ac_dB='[ ].*$,\1#\2'
6213 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6214 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6215 ac_uB='$,\1#\2define\3'
6219 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6220 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6222 - | *:- | *:-:* ) # input from stdin
6224 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6225 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6226 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6227 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6228 * ) ac_file_in=$ac_file.in ;;
6231 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6232 echo "$as_me: creating $ac_file" >&6;}
6234 # First look for the input files in the build tree, otherwise in the
6236 ac_file_inputs=`IFS=:
6237 for f in $ac_file_in; do
6239 -) echo $tmp/stdin ;;
6241 # Absolute (can't be DOS-style, as IFS=:)
6242 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6243 echo "$as_me: error: cannot find input file: $f" >&2;}
6244 { (exit 1); exit 1; }; }
6245 # Do quote $f, to prevent DOS paths from being IFS'd.
6248 if test -f "$f"; then
6251 elif test -f "$srcdir/$f"; then
6256 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6257 echo "$as_me: error: cannot find input file: $f" >&2;}
6258 { (exit 1); exit 1; }; }
6261 done` || { (exit 1); exit 1; }
6262 # Remove the trailing spaces.
6263 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6267 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6268 # `conftest.undefs', that substitutes the proper values into
6269 # config.h.in to produce config.h. The first handles `#define'
6270 # templates, and the second `#undef' templates.
6271 # And first: Protect against being on the right side of a sed subst in
6272 # config.status. Protect against being in an unquoted here document
6274 rm -f conftest.defines conftest.undefs
6275 # Using a here document instead of a string reduces the quoting nightmare.
6276 # Putting comments in sed scripts is not portable.
6278 # `end' is used to avoid that the second main sed command (meant for
6279 # 0-ary CPP macros) applies to n-ary macro definitions.
6280 # See the Autoconf documentation for `clear'.
6281 cat >confdef2sed.sed <<\_ACEOF
6286 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6288 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6291 # If some macros were called several times there might be several times
6292 # the same #defines, which is useless. Nevertheless, we may not want to
6293 # sort them, since we want the *last* AC-DEFINE to be honored.
6294 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6295 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6296 rm -f confdef2sed.sed
6298 # This sed command replaces #undef with comments. This is necessary, for
6299 # example, in the case of _POSIX_SOURCE, which is predefined and required
6300 # on some systems where configure will not decide to define it.
6301 cat >>conftest.undefs <<\_ACEOF
6302 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6305 # Break up conftest.defines because some shells have a limit on the size
6306 # of here documents, and old seds have small limits too (100 cmds).
6307 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6308 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6309 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6310 echo ' :' >>$CONFIG_STATUS
6312 while grep . conftest.defines >/dev/null
6314 # Write a limited-size here document to $tmp/defines.sed.
6315 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6316 # Speed up: don't consider the non `#define' lines.
6317 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6318 # Work around the forget-to-reset-the-flag bug.
6319 echo 't clr' >>$CONFIG_STATUS
6320 echo ': clr' >>$CONFIG_STATUS
6321 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6323 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6327 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6328 rm -f conftest.defines
6329 mv conftest.tail conftest.defines
6331 rm -f conftest.defines
6332 echo ' fi # grep' >>$CONFIG_STATUS
6333 echo >>$CONFIG_STATUS
6335 # Break up conftest.undefs because some shells have a limit on the size
6336 # of here documents, and old seds have small limits too (100 cmds).
6337 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6339 while grep . conftest.undefs >/dev/null
6341 # Write a limited-size here document to $tmp/undefs.sed.
6342 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6343 # Speed up: don't consider the non `#undef'
6344 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6345 # Work around the forget-to-reset-the-flag bug.
6346 echo 't clr' >>$CONFIG_STATUS
6347 echo ': clr' >>$CONFIG_STATUS
6348 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6350 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6354 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6355 rm -f conftest.undefs
6356 mv conftest.tail conftest.undefs
6358 rm -f conftest.undefs
6360 cat >>$CONFIG_STATUS <<\_ACEOF
6361 # Let's still pretend it is `configure' which instantiates (i.e., don't
6362 # use $as_me), people would be surprised to read:
6363 # /* config.h. Generated by config.status. */
6364 if test x"$ac_file" = x-; then
6365 echo "/* Generated by configure. */" >$tmp/config.h
6367 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6369 cat $tmp/in >>$tmp/config.h
6371 if test x"$ac_file" != x-; then
6372 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6373 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6374 echo "$as_me: $ac_file is unchanged" >&6;}
6376 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6377 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6378 X"$ac_file" : 'X\(//\)[^/]' \| \
6379 X"$ac_file" : 'X\(//\)$' \| \
6380 X"$ac_file" : 'X\(/\)' \| \
6381 . : '\(.\)' 2>/dev/null ||
6383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6385 /^X\(\/\/\)$/{ s//\1/; q; }
6386 /^X\(\/\).*/{ s//\1/; q; }
6388 { if $as_mkdir_p; then
6393 while test ! -d "$as_dir"; do
6394 as_dirs="$as_dir $as_dirs"
6395 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6396 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6397 X"$as_dir" : 'X\(//\)[^/]' \| \
6398 X"$as_dir" : 'X\(//\)$' \| \
6399 X"$as_dir" : 'X\(/\)' \| \
6400 . : '\(.\)' 2>/dev/null ||
6402 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6403 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6404 /^X\(\/\/\)$/{ s//\1/; q; }
6405 /^X\(\/\).*/{ s//\1/; q; }
6408 test ! -n "$as_dirs" || mkdir $as_dirs
6409 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6410 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6411 { (exit 1); exit 1; }; }; }
6414 mv $tmp/config.h $ac_file
6422 cat >>$CONFIG_STATUS <<\_ACEOF
6425 # CONFIG_COMMANDS section.
6427 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6428 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6429 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6430 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6431 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6432 X"$ac_dest" : 'X\(//\)[^/]' \| \
6433 X"$ac_dest" : 'X\(//\)$' \| \
6434 X"$ac_dest" : 'X\(/\)' \| \
6435 . : '\(.\)' 2>/dev/null ||
6437 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6438 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6439 /^X\(\/\/\)$/{ s//\1/; q; }
6440 /^X\(\/\).*/{ s//\1/; q; }
6442 { if $as_mkdir_p; then
6447 while test ! -d "$as_dir"; do
6448 as_dirs="$as_dir $as_dirs"
6449 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6450 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6451 X"$as_dir" : 'X\(//\)[^/]' \| \
6452 X"$as_dir" : 'X\(//\)$' \| \
6453 X"$as_dir" : 'X\(/\)' \| \
6454 . : '\(.\)' 2>/dev/null ||
6456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6457 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6458 /^X\(\/\/\)$/{ s//\1/; q; }
6459 /^X\(\/\).*/{ s//\1/; q; }
6462 test ! -n "$as_dirs" || mkdir $as_dirs
6463 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6464 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6465 { (exit 1); exit 1; }; }; }
6469 if test "$ac_dir" != .; then
6470 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6471 # A "../" for each directory in $ac_dir_suffix.
6472 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6474 ac_dir_suffix= ac_top_builddir=
6478 .) # No --srcdir option. We are building in place.
6480 if test -z "$ac_top_builddir"; then
6483 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6485 [\\/]* | ?:[\\/]* ) # Absolute path.
6486 ac_srcdir=$srcdir$ac_dir_suffix;
6487 ac_top_srcdir=$srcdir ;;
6489 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6490 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6493 # Do not use `cd foo && pwd` to compute absolute paths, because
6494 # the directories may not exist.
6496 .) ac_abs_builddir="$ac_dir";;
6499 .) ac_abs_builddir=`pwd`;;
6500 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6501 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6504 case $ac_abs_builddir in
6505 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6507 case ${ac_top_builddir}. in
6508 .) ac_abs_top_builddir=$ac_abs_builddir;;
6509 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6510 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6513 case $ac_abs_builddir in
6514 .) ac_abs_srcdir=$ac_srcdir;;
6517 .) ac_abs_srcdir=$ac_abs_builddir;;
6518 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6519 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6522 case $ac_abs_builddir in
6523 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6525 case $ac_top_srcdir in
6526 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6527 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6528 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6533 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6534 echo "$as_me: executing $ac_dest commands" >&6;}
6536 default ) touch stamp-h ;;
6541 cat >>$CONFIG_STATUS <<\_ACEOF
6543 { (exit 0); exit 0; }
6545 chmod +x $CONFIG_STATUS
6546 ac_clean_files=$ac_clean_files_save
6549 # configure is writing to config.log, and then calls config.status.
6550 # config.status does its own redirection, appending to config.log.
6551 # Unfortunately, on DOS this fails, as config.log is still kept open
6552 # by configure, so config.status won't be able to write to it; its
6553 # output is simply discarded. So we exec the FD to /dev/null,
6554 # effectively closing config.log, so it can be properly (re)opened and
6555 # appended to by config.status. When coming back to configure, we
6556 # need to make the FD available again.
6557 if test "$no_create" != yes; then
6559 ac_config_status_args=
6560 test "$silent" = yes &&
6561 ac_config_status_args="$ac_config_status_args --quiet"
6563 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6565 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6566 # would make configure fail if this is the last instruction.
6567 $ac_cs_success || { (exit 1); exit 1; }
6571 $AWK -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h