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_jvm 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 --enable-statistics enable Firm statistics
854 --enable-libcore enable libcore debugging
855 --enable-ilp enable ilp solver
856 --enable-jvm enable to call the jvm
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/net/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"
1343 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1346 CONF_DIR_NAME=`dirname $0`
1349 echo "$as_me:$LINENO: checking for external libfirm plugins" >&5
1350 echo $ECHO_N "checking for external libfirm plugins... $ECHO_C" >&6
1352 # Check whether --with-plugins or --without-plugins was given.
1353 if test "${with_plugins+set}" = set; then
1354 withval="$with_plugins"
1356 plugin_subdirs=$withval
1358 for i in $withval ; do
1359 plugin_files="$i/Makefile $plugin_files"
1361 ac_output_file="$ac_output_file $plugin_files"
1370 if test "$plugin_subdirs" == ""; then
1371 echo "$as_me:$LINENO: result: disabled" >&5
1372 echo "${ECHO_T}disabled" >&6
1374 echo "$as_me:$LINENO: result: $plugin_subdirs" >&5
1375 echo "${ECHO_T}$plugin_subdirs" >&6
1379 # Check whether --with-includedir or --without-includedir was given.
1380 if test "${with_includedir+set}" = set; then
1381 withval="$with_includedir"
1382 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1386 # Check whether --with-libdir or --without-libdir was given.
1387 if test "${with_libdir+set}" = set; then
1388 withval="$with_libdir"
1389 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1393 # Extract the first word of "xml2-config", so it can be a program name with args.
1394 set dummy xml2-config; ac_word=$2
1395 echo "$as_me:$LINENO: checking for $ac_word" >&5
1396 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1397 if test "${ac_cv_prog_XML2CONFIG+set}" = set; then
1398 echo $ECHO_N "(cached) $ECHO_C" >&6
1400 if test -n "$XML2CONFIG"; then
1401 ac_cv_prog_XML2CONFIG="$XML2CONFIG" # Let the user override the test.
1403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1407 test -z "$as_dir" && as_dir=.
1408 for ac_exec_ext in '' $ac_executable_extensions; do
1409 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1410 ac_cv_prog_XML2CONFIG=""xml2-config""
1411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1417 test -z "$ac_cv_prog_XML2CONFIG" && ac_cv_prog_XML2CONFIG=""echo""
1420 XML2CONFIG=$ac_cv_prog_XML2CONFIG
1421 if test -n "$XML2CONFIG"; then
1422 echo "$as_me:$LINENO: result: $XML2CONFIG" >&5
1423 echo "${ECHO_T}$XML2CONFIG" >&6
1425 echo "$as_me:$LINENO: result: no" >&5
1426 echo "${ECHO_T}no" >&6
1429 if test "$XML2CONFIG" != "xml2-config"; then
1430 { { echo "$as_me:$LINENO: error: xml2-config for detecting libxml2 not found" >&5
1431 echo "$as_me: error: xml2-config for detecting libxml2 not found" >&2;}
1432 { (exit 1); exit 1; }; }
1435 LDFLAGS=$LDFLAGS" -L/usr/lib `$XML2CONFIG --libs`";
1436 CPPFLAGS=$CPPFLAGS" `$XML2CONFIG --cflags`";
1438 # Check whether --enable-debug or --disable-debug was given.
1439 if test "${enable_debug+set}" = set; then
1440 enableval="$enable_debug"
1441 if test "$enableval" = yes; then
1443 cat >>confdefs.h <<\_ACEOF
1444 #define DEBUG_libfirm
1449 cat >>confdefs.h <<\_ACEOF
1457 # Check whether --enable-inlining or --disable-inlining was given.
1458 if test "${enable_inlining+set}" = set; then
1459 enableval="$enable_inlining"
1460 if test "$enableval" = yes; then
1462 cat >>confdefs.h <<\_ACEOF
1463 #define USE_INLINING
1468 cat >>confdefs.h <<\_ACEOF
1469 #define USE_INLINING 1
1475 # Check whether --enable-profile or --disable-profile was given.
1476 if test "${enable_profile+set}" = set; then
1477 enableval="$enable_profile"
1478 if test "$enableval"=yes; then
1479 enable_profile_libfirm=yes
1482 enable_profile_libfirm=no
1486 # Check whether --enable-autodoc or --disable-autodoc was given.
1487 if test "${enable_autodoc+set}" = set; then
1488 enableval="$enable_autodoc"
1489 if test "$enableval"=yes; then
1490 enable_auto_documentation=yes
1493 enable_auto_documentation=no
1498 # Check whether --enable-firmjni or --disable-firmjni was given.
1499 if test "${enable_firmjni+set}" = set; then
1500 enableval="$enable_firmjni"
1501 if test "$enableval"=yes; then
1509 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1510 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1511 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1512 if test "${enable_heapanalysis+set}" = set; then
1513 enableval="$enable_heapanalysis"
1514 enable_heapanalysis=$enableval
1516 enable_heapanalysis="no"
1518 if test "$enable_heapanalysis" = "no"; then
1519 echo "$as_me:$LINENO: result: disabled" >&5
1520 echo "${ECHO_T}disabled" >&6
1523 cat >>confdefs.h <<\_ACEOF
1524 #define DO_HEAPANALYSIS
1527 echo "$as_me:$LINENO: result: enabled" >&5
1528 echo "${ECHO_T}enabled" >&6
1532 # Check whether --enable-libiberty or --disable-libiberty was given.
1533 if test "${enable_libiberty+set}" = set; then
1534 enableval="$enable_libiberty"
1535 if test "$enableval"=yes; then
1536 disable_libiberty=yes
1539 disable_libiberty=no
1543 # Check whether --enable-hooks or --disable-hooks was given.
1544 if test "${enable_hooks+set}" = set; then
1545 enableval="$enable_hooks"
1546 if test "$enableval" = yes; then
1548 cat >>confdefs.h <<\_ACEOF
1549 #define FIRM_ENABLE_HOOKS
1554 cat >>confdefs.h <<\_ACEOF
1555 #define FIRM_ENABLE_HOOKS 1
1561 # Check whether --enable-statistics or --disable-statistics was given.
1562 if test "${enable_statistics+set}" = set; then
1563 enableval="$enable_statistics"
1564 if test "$enableval"=yes; then
1566 cat >>confdefs.h <<\_ACEOF
1567 #define FIRM_STATISTICS
1574 # Check whether --enable-libcore or --disable-libcore was given.
1575 if test "${enable_libcore+set}" = set; then
1576 enableval="$enable_libcore"
1577 if test "$enableval"=yes; then
1579 cat >>confdefs.h <<\_ACEOF
1580 #define WITH_LIBCORE
1587 echo "$as_me:$LINENO: checking for ilp solver support" >&5
1588 echo $ECHO_N "checking for ilp solver support... $ECHO_C" >&6
1589 # Check whether --enable-ilp or --disable-ilp was given.
1590 if test "${enable_ilp+set}" = set; then
1591 enableval="$enable_ilp"
1592 if test "$enableval"=yes; then
1594 cat >>confdefs.h <<\_ACEOF
1601 if test "$enable_ilp" == yes; then
1602 echo "$as_me:$LINENO: result: enabled" >&5
1603 echo "${ECHO_T}enabled" >&6
1605 echo "$as_me:$LINENO: result: disabled" >&5
1606 echo "${ECHO_T}disabled" >&6
1609 echo "$as_me:$LINENO: checking for jvm support" >&5
1610 echo $ECHO_N "checking for jvm support... $ECHO_C" >&6
1611 # Check whether --enable-jvm or --disable-jvm was given.
1612 if test "${enable_jvm+set}" = set; then
1613 enableval="$enable_jvm"
1614 if test "$enableval"=yes; then
1616 cat >>confdefs.h <<\_ACEOF
1623 if test "$enable_jvm" == yes; then
1624 echo "$as_me:$LINENO: result: enabled" >&5
1625 echo "${ECHO_T}enabled" >&6
1627 echo "$as_me:$LINENO: result: disabled" >&5
1628 echo "${ECHO_T}disabled" >&6
1632 # Check whether --enable-wchar_support or --disable-wchar_support was given.
1633 if test "${enable_wchar_support+set}" = set; then
1634 enableval="$enable_wchar_support"
1635 if test "$enableval"=yes; then
1637 cat >>confdefs.h <<\_ACEOF
1638 #define FIRM_ENABLE_WCHAR
1646 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1647 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1648 # Check whether --enable-external-effects or --disable-external-effects was given.
1649 if test "${enable_external_effects+set}" = set; then
1650 enableval="$enable_external_effects"
1651 if test "$enableval"="no"; then
1652 enable_external_effects=no
1655 enable_external_effects=yes
1658 if test "$enable_external_effects" == no; then
1659 echo "$as_me:$LINENO: result: disabled" >&5
1660 echo "${ECHO_T}disabled" >&6
1662 echo "$as_me:$LINENO: result: enabled" >&5
1663 echo "${ECHO_T}enabled" >&6
1668 ac_cpp='$CPP $CPPFLAGS'
1669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1672 if test -n "$ac_tool_prefix"; then
1673 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1674 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1675 echo "$as_me:$LINENO: checking for $ac_word" >&5
1676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1677 if test "${ac_cv_prog_CC+set}" = set; then
1678 echo $ECHO_N "(cached) $ECHO_C" >&6
1680 if test -n "$CC"; then
1681 ac_cv_prog_CC="$CC" # Let the user override the test.
1683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1687 test -z "$as_dir" && as_dir=.
1688 for ac_exec_ext in '' $ac_executable_extensions; do
1689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1690 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 if test -n "$CC"; then
1701 echo "$as_me:$LINENO: result: $CC" >&5
1702 echo "${ECHO_T}$CC" >&6
1704 echo "$as_me:$LINENO: result: no" >&5
1705 echo "${ECHO_T}no" >&6
1709 if test -z "$ac_cv_prog_CC"; then
1711 # Extract the first word of "gcc", so it can be a program name with args.
1712 set dummy gcc; ac_word=$2
1713 echo "$as_me:$LINENO: checking for $ac_word" >&5
1714 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1715 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1716 echo $ECHO_N "(cached) $ECHO_C" >&6
1718 if test -n "$ac_ct_CC"; then
1719 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1725 test -z "$as_dir" && as_dir=.
1726 for ac_exec_ext in '' $ac_executable_extensions; do
1727 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1728 ac_cv_prog_ac_ct_CC="gcc"
1729 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1737 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1738 if test -n "$ac_ct_CC"; then
1739 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1740 echo "${ECHO_T}$ac_ct_CC" >&6
1742 echo "$as_me:$LINENO: result: no" >&5
1743 echo "${ECHO_T}no" >&6
1751 if test -z "$CC"; then
1752 if test -n "$ac_tool_prefix"; then
1753 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1754 set dummy ${ac_tool_prefix}cc; ac_word=$2
1755 echo "$as_me:$LINENO: checking for $ac_word" >&5
1756 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1757 if test "${ac_cv_prog_CC+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1760 if test -n "$CC"; then
1761 ac_cv_prog_CC="$CC" # Let the user override the test.
1763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1767 test -z "$as_dir" && as_dir=.
1768 for ac_exec_ext in '' $ac_executable_extensions; do
1769 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1770 ac_cv_prog_CC="${ac_tool_prefix}cc"
1771 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1780 if test -n "$CC"; then
1781 echo "$as_me:$LINENO: result: $CC" >&5
1782 echo "${ECHO_T}$CC" >&6
1784 echo "$as_me:$LINENO: result: no" >&5
1785 echo "${ECHO_T}no" >&6
1789 if test -z "$ac_cv_prog_CC"; then
1791 # Extract the first word of "cc", so it can be a program name with args.
1792 set dummy cc; ac_word=$2
1793 echo "$as_me:$LINENO: checking for $ac_word" >&5
1794 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1795 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1796 echo $ECHO_N "(cached) $ECHO_C" >&6
1798 if test -n "$ac_ct_CC"; then
1799 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1805 test -z "$as_dir" && as_dir=.
1806 for ac_exec_ext in '' $ac_executable_extensions; do
1807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1808 ac_cv_prog_ac_ct_CC="cc"
1809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1817 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1818 if test -n "$ac_ct_CC"; then
1819 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1820 echo "${ECHO_T}$ac_ct_CC" >&6
1822 echo "$as_me:$LINENO: result: no" >&5
1823 echo "${ECHO_T}no" >&6
1832 if test -z "$CC"; then
1833 # Extract the first word of "cc", so it can be a program name with args.
1834 set dummy cc; ac_word=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$CC"; then
1841 ac_cv_prog_CC="$CC" # Let the user override the test.
1844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848 test -z "$as_dir" && as_dir=.
1849 for ac_exec_ext in '' $ac_executable_extensions; do
1850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1851 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1852 ac_prog_rejected=yes
1856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1862 if test $ac_prog_rejected = yes; then
1863 # We found a bogon in the path, so make sure we never use it.
1864 set dummy $ac_cv_prog_CC
1866 if test $# != 0; then
1867 # We chose a different compiler from the bogus one.
1868 # However, it has the same basename, so the bogon will be chosen
1869 # first if we set CC to just the basename; use the full file name.
1871 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1877 if test -n "$CC"; then
1878 echo "$as_me:$LINENO: result: $CC" >&5
1879 echo "${ECHO_T}$CC" >&6
1881 echo "$as_me:$LINENO: result: no" >&5
1882 echo "${ECHO_T}no" >&6
1886 if test -z "$CC"; then
1887 if test -n "$ac_tool_prefix"; then
1890 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1891 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1892 echo "$as_me:$LINENO: checking for $ac_word" >&5
1893 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1894 if test "${ac_cv_prog_CC+set}" = set; then
1895 echo $ECHO_N "(cached) $ECHO_C" >&6
1897 if test -n "$CC"; then
1898 ac_cv_prog_CC="$CC" # Let the user override the test.
1900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1904 test -z "$as_dir" && as_dir=.
1905 for ac_exec_ext in '' $ac_executable_extensions; do
1906 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1907 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1908 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1917 if test -n "$CC"; then
1918 echo "$as_me:$LINENO: result: $CC" >&5
1919 echo "${ECHO_T}$CC" >&6
1921 echo "$as_me:$LINENO: result: no" >&5
1922 echo "${ECHO_T}no" >&6
1925 test -n "$CC" && break
1928 if test -z "$CC"; then
1932 # Extract the first word of "$ac_prog", so it can be a program name with args.
1933 set dummy $ac_prog; ac_word=$2
1934 echo "$as_me:$LINENO: checking for $ac_word" >&5
1935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1936 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1937 echo $ECHO_N "(cached) $ECHO_C" >&6
1939 if test -n "$ac_ct_CC"; then
1940 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1946 test -z "$as_dir" && as_dir=.
1947 for ac_exec_ext in '' $ac_executable_extensions; do
1948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1949 ac_cv_prog_ac_ct_CC="$ac_prog"
1950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1958 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1959 if test -n "$ac_ct_CC"; then
1960 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1961 echo "${ECHO_T}$ac_ct_CC" >&6
1963 echo "$as_me:$LINENO: result: no" >&5
1964 echo "${ECHO_T}no" >&6
1967 test -n "$ac_ct_CC" && break
1976 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1977 See \`config.log' for more details." >&5
1978 echo "$as_me: error: no acceptable C compiler found in \$PATH
1979 See \`config.log' for more details." >&2;}
1980 { (exit 1); exit 1; }; }
1982 # Provide some information about the compiler.
1983 echo "$as_me:$LINENO:" \
1984 "checking for C compiler version" >&5
1985 ac_compiler=`set X $ac_compile; echo $2`
1986 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1987 (eval $ac_compiler --version </dev/null >&5) 2>&5
1989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1990 (exit $ac_status); }
1991 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1992 (eval $ac_compiler -v </dev/null >&5) 2>&5
1994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1995 (exit $ac_status); }
1996 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1997 (eval $ac_compiler -V </dev/null >&5) 2>&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); }
2002 cat >conftest.$ac_ext <<_ACEOF
2005 cat confdefs.h >>conftest.$ac_ext
2006 cat >>conftest.$ac_ext <<_ACEOF
2007 /* end confdefs.h. */
2017 ac_clean_files_save=$ac_clean_files
2018 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2019 # Try to create an executable without -o first, disregard a.out.
2020 # It will help us diagnose broken compilers, and finding out an intuition
2022 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2023 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2024 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2025 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2026 (eval $ac_link_default) 2>&5
2028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2029 (exit $ac_status); }; then
2030 # Find the output, starting from the most likely. This scheme is
2031 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2034 # Be careful to initialize this variable, since it used to be cached.
2035 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2037 # b.out is created by i960 compilers.
2038 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2040 test -f "$ac_file" || continue
2042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2045 # This is the source file.
2048 # We found the default executable, but exeext='' is most
2052 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2053 # FIXME: I believe we export ac_cv_exeext for Libtool,
2054 # but it would be cool to find out if it's true. Does anybody
2055 # maintain Libtool? --akim.
2063 echo "$as_me: failed program was:" >&5
2064 sed 's/^/| /' conftest.$ac_ext >&5
2066 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2067 See \`config.log' for more details." >&5
2068 echo "$as_me: error: C compiler cannot create executables
2069 See \`config.log' for more details." >&2;}
2070 { (exit 77); exit 77; }; }
2073 ac_exeext=$ac_cv_exeext
2074 echo "$as_me:$LINENO: result: $ac_file" >&5
2075 echo "${ECHO_T}$ac_file" >&6
2077 # Check the compiler produces executables we can run. If not, either
2078 # the compiler is broken, or we cross compile.
2079 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2080 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2081 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2082 # If not cross compiling, check that we can run a simple program.
2083 if test "$cross_compiling" != yes; then
2084 if { ac_try='./$ac_file'
2085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2089 (exit $ac_status); }; }; then
2092 if test "$cross_compiling" = maybe; then
2095 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2096 If you meant to cross compile, use \`--host'.
2097 See \`config.log' for more details." >&5
2098 echo "$as_me: error: cannot run C compiled programs.
2099 If you meant to cross compile, use \`--host'.
2100 See \`config.log' for more details." >&2;}
2101 { (exit 1); exit 1; }; }
2105 echo "$as_me:$LINENO: result: yes" >&5
2106 echo "${ECHO_T}yes" >&6
2108 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2109 ac_clean_files=$ac_clean_files_save
2110 # Check the compiler produces executables we can run. If not, either
2111 # the compiler is broken, or we cross compile.
2112 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2113 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2114 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2115 echo "${ECHO_T}$cross_compiling" >&6
2117 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2118 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2120 (eval $ac_link) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; then
2124 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2125 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2126 # work properly (i.e., refer to `conftest.exe'), while it won't with
2128 for ac_file in conftest.exe conftest conftest.*; do
2129 test -f "$ac_file" || continue
2131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2132 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2139 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2140 See \`config.log' for more details." >&5
2141 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2142 See \`config.log' for more details." >&2;}
2143 { (exit 1); exit 1; }; }
2146 rm -f conftest$ac_cv_exeext
2147 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2148 echo "${ECHO_T}$ac_cv_exeext" >&6
2150 rm -f conftest.$ac_ext
2151 EXEEXT=$ac_cv_exeext
2153 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2154 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2155 if test "${ac_cv_objext+set}" = set; then
2156 echo $ECHO_N "(cached) $ECHO_C" >&6
2158 cat >conftest.$ac_ext <<_ACEOF
2161 cat confdefs.h >>conftest.$ac_ext
2162 cat >>conftest.$ac_ext <<_ACEOF
2163 /* end confdefs.h. */
2173 rm -f conftest.o conftest.obj
2174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2175 (eval $ac_compile) 2>&5
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }; then
2179 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2181 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2182 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2187 echo "$as_me: failed program was:" >&5
2188 sed 's/^/| /' conftest.$ac_ext >&5
2190 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2191 See \`config.log' for more details." >&5
2192 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2193 See \`config.log' for more details." >&2;}
2194 { (exit 1); exit 1; }; }
2197 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2199 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2200 echo "${ECHO_T}$ac_cv_objext" >&6
2201 OBJEXT=$ac_cv_objext
2203 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2204 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2205 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2206 echo $ECHO_N "(cached) $ECHO_C" >&6
2208 cat >conftest.$ac_ext <<_ACEOF
2211 cat confdefs.h >>conftest.$ac_ext
2212 cat >>conftest.$ac_ext <<_ACEOF
2213 /* end confdefs.h. */
2226 rm -f conftest.$ac_objext
2227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2228 (eval $ac_compile) 2>conftest.er1
2230 grep -v '^ *+' conftest.er1 >conftest.err
2232 cat conftest.err >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); } &&
2235 { ac_try='test -z "$ac_c_werror_flag"
2236 || test ! -s conftest.err'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; } &&
2242 { ac_try='test -s conftest.$ac_objext'
2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2247 (exit $ac_status); }; }; then
2250 echo "$as_me: failed program was:" >&5
2251 sed 's/^/| /' conftest.$ac_ext >&5
2255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2256 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2259 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2260 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2261 GCC=`test $ac_compiler_gnu = yes && echo yes`
2262 ac_test_CFLAGS=${CFLAGS+set}
2263 ac_save_CFLAGS=$CFLAGS
2265 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2266 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2267 if test "${ac_cv_prog_cc_g+set}" = set; then
2268 echo $ECHO_N "(cached) $ECHO_C" >&6
2270 cat >conftest.$ac_ext <<_ACEOF
2273 cat confdefs.h >>conftest.$ac_ext
2274 cat >>conftest.$ac_ext <<_ACEOF
2275 /* end confdefs.h. */
2285 rm -f conftest.$ac_objext
2286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2287 (eval $ac_compile) 2>conftest.er1
2289 grep -v '^ *+' conftest.er1 >conftest.err
2291 cat conftest.err >&5
2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2293 (exit $ac_status); } &&
2294 { ac_try='test -z "$ac_c_werror_flag"
2295 || test ! -s conftest.err'
2296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2300 (exit $ac_status); }; } &&
2301 { ac_try='test -s conftest.$ac_objext'
2302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; }; then
2309 echo "$as_me: failed program was:" >&5
2310 sed 's/^/| /' conftest.$ac_ext >&5
2314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2316 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2317 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2318 if test "$ac_test_CFLAGS" = set; then
2319 CFLAGS=$ac_save_CFLAGS
2320 elif test $ac_cv_prog_cc_g = yes; then
2321 if test "$GCC" = yes; then
2327 if test "$GCC" = yes; then
2333 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2334 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2335 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2336 echo $ECHO_N "(cached) $ECHO_C" >&6
2338 ac_cv_prog_cc_stdc=no
2340 cat >conftest.$ac_ext <<_ACEOF
2343 cat confdefs.h >>conftest.$ac_ext
2344 cat >>conftest.$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2348 #include <sys/types.h>
2349 #include <sys/stat.h>
2350 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2351 struct buf { int x; };
2352 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2353 static char *e (p, i)
2359 static char *f (char * (*g) (char **, int), char **p, ...)
2364 s = g (p, va_arg (v,int));
2369 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2370 function prototypes and stuff, but not '\xHH' hex character constants.
2371 These don't provoke an error unfortunately, instead are silently treated
2372 as 'x'. The following induces an error, until -std1 is added to get
2373 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2374 array size at least. It's necessary to write '\x00'==0 to get something
2375 that's true only with -std1. */
2376 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2378 int test (int i, double x);
2379 struct s1 {int (*f) (int a);};
2380 struct s2 {int (*f) (double a);};
2381 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2387 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2392 # Don't try gcc -ansi; that turns off useful extensions and
2393 # breaks some systems' header files.
2394 # AIX -qlanglvl=ansi
2395 # Ultrix and OSF/1 -std1
2396 # HP-UX 10.20 and later -Ae
2397 # HP-UX older versions -Aa -D_HPUX_SOURCE
2398 # SVR4 -Xc -D__EXTENSIONS__
2399 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2401 CC="$ac_save_CC $ac_arg"
2402 rm -f conftest.$ac_objext
2403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2404 (eval $ac_compile) 2>conftest.er1
2406 grep -v '^ *+' conftest.er1 >conftest.err
2408 cat conftest.err >&5
2409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2410 (exit $ac_status); } &&
2411 { ac_try='test -z "$ac_c_werror_flag"
2412 || test ! -s conftest.err'
2413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); }; } &&
2418 { ac_try='test -s conftest.$ac_objext'
2419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2423 (exit $ac_status); }; }; then
2424 ac_cv_prog_cc_stdc=$ac_arg
2427 echo "$as_me: failed program was:" >&5
2428 sed 's/^/| /' conftest.$ac_ext >&5
2431 rm -f conftest.err conftest.$ac_objext
2433 rm -f conftest.$ac_ext conftest.$ac_objext
2438 case "x$ac_cv_prog_cc_stdc" in
2440 echo "$as_me:$LINENO: result: none needed" >&5
2441 echo "${ECHO_T}none needed" >&6 ;;
2443 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2444 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2445 CC="$CC $ac_cv_prog_cc_stdc" ;;
2448 # Some people use a C++ compiler to compile C. Since we use `exit',
2449 # in C++ we need to declare it. In case someone uses the same compiler
2450 # for both compiling C and C++ we need to have the C++ compiler decide
2451 # the declaration of exit, since it's the most demanding environment.
2452 cat >conftest.$ac_ext <<_ACEOF
2457 rm -f conftest.$ac_objext
2458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2459 (eval $ac_compile) 2>conftest.er1
2461 grep -v '^ *+' conftest.er1 >conftest.err
2463 cat conftest.err >&5
2464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2465 (exit $ac_status); } &&
2466 { ac_try='test -z "$ac_c_werror_flag"
2467 || test ! -s conftest.err'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; } &&
2473 { ac_try='test -s conftest.$ac_objext'
2474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); }; }; then
2479 for ac_declaration in \
2481 'extern "C" void std::exit (int) throw (); using std::exit;' \
2482 'extern "C" void std::exit (int); using std::exit;' \
2483 'extern "C" void exit (int) throw ();' \
2484 'extern "C" void exit (int);' \
2487 cat >conftest.$ac_ext <<_ACEOF
2490 cat confdefs.h >>conftest.$ac_ext
2491 cat >>conftest.$ac_ext <<_ACEOF
2492 /* end confdefs.h. */
2503 rm -f conftest.$ac_objext
2504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2505 (eval $ac_compile) 2>conftest.er1
2507 grep -v '^ *+' conftest.er1 >conftest.err
2509 cat conftest.err >&5
2510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2511 (exit $ac_status); } &&
2512 { ac_try='test -z "$ac_c_werror_flag"
2513 || test ! -s conftest.err'
2514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2518 (exit $ac_status); }; } &&
2519 { ac_try='test -s conftest.$ac_objext'
2520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2524 (exit $ac_status); }; }; then
2527 echo "$as_me: failed program was:" >&5
2528 sed 's/^/| /' conftest.$ac_ext >&5
2532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2533 cat >conftest.$ac_ext <<_ACEOF
2536 cat confdefs.h >>conftest.$ac_ext
2537 cat >>conftest.$ac_ext <<_ACEOF
2538 /* end confdefs.h. */
2548 rm -f conftest.$ac_objext
2549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2550 (eval $ac_compile) 2>conftest.er1
2552 grep -v '^ *+' conftest.er1 >conftest.err
2554 cat conftest.err >&5
2555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2556 (exit $ac_status); } &&
2557 { ac_try='test -z "$ac_c_werror_flag"
2558 || test ! -s conftest.err'
2559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2563 (exit $ac_status); }; } &&
2564 { ac_try='test -s conftest.$ac_objext'
2565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2569 (exit $ac_status); }; }; then
2572 echo "$as_me: failed program was:" >&5
2573 sed 's/^/| /' conftest.$ac_ext >&5
2576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2579 if test -n "$ac_declaration"; then
2580 echo '#ifdef __cplusplus' >>confdefs.h
2581 echo $ac_declaration >>confdefs.h
2582 echo '#endif' >>confdefs.h
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2590 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2592 ac_cpp='$CPP $CPPFLAGS'
2593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2598 for ac_prog in gawk mawk nawk awk
2600 # Extract the first word of "$ac_prog", so it can be a program name with args.
2601 set dummy $ac_prog; ac_word=$2
2602 echo "$as_me:$LINENO: checking for $ac_word" >&5
2603 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2604 if test "${ac_cv_prog_AWK+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2607 if test -n "$AWK"; then
2608 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2614 test -z "$as_dir" && as_dir=.
2615 for ac_exec_ext in '' $ac_executable_extensions; do
2616 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2617 ac_cv_prog_AWK="$ac_prog"
2618 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2627 if test -n "$AWK"; then
2628 echo "$as_me:$LINENO: result: $AWK" >&5
2629 echo "${ECHO_T}$AWK" >&6
2631 echo "$as_me:$LINENO: result: no" >&5
2632 echo "${ECHO_T}no" >&6
2635 test -n "$AWK" && break
2640 if test -z "$LD"; then
2641 if test -n "$ac_tool_prefix"; then
2642 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2643 set dummy ${ac_tool_prefix}ld; ac_word=$2
2644 echo "$as_me:$LINENO: checking for $ac_word" >&5
2645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2646 if test "${ac_cv_prog_LD+set}" = set; then
2647 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 if test -n "$LD"; then
2650 ac_cv_prog_LD="$LD" # Let the user override the test.
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2659 ac_cv_prog_LD="${ac_tool_prefix}ld"
2660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2669 if test -n "$LD"; then
2670 echo "$as_me:$LINENO: result: $LD" >&5
2671 echo "${ECHO_T}$LD" >&6
2673 echo "$as_me:$LINENO: result: no" >&5
2674 echo "${ECHO_T}no" >&6
2678 if test -z "$ac_cv_prog_LD"; then
2680 # Extract the first word of "ld", so it can be a program name with args.
2681 set dummy ld; ac_word=$2
2682 echo "$as_me:$LINENO: checking for $ac_word" >&5
2683 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2684 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2685 echo $ECHO_N "(cached) $ECHO_C" >&6
2687 if test -n "$ac_ct_LD"; then
2688 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 ac_cv_prog_ac_ct_LD="ld"
2698 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2707 if test -n "$ac_ct_LD"; then
2708 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2709 echo "${ECHO_T}$ac_ct_LD" >&6
2711 echo "$as_me:$LINENO: result: no" >&5
2712 echo "${ECHO_T}no" >&6
2722 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2723 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2724 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2725 echo $ECHO_N "(cached) $ECHO_C" >&6
2728 libfirm_cv_prog_ld_r=no
2730 cat > conftest.$ac_ext <<EOF
2731 int foo() { return 0; }
2733 if eval $ac_compile && mv conftest.o conftest2.o; then
2734 cat > conftest.$ac_ext <<EOF
2736 int main() { return foo(); }
2738 if eval $ac_compile; then
2739 if $LD -r -o conftest conftest.o conftest2.o; then
2740 libfirm_cv_prog_ld_r=yes
2747 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2748 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2751 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2752 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2753 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2754 { (exit 1); exit 1; }; }
2757 # Extract the first word of "ar", so it can be a program name with args.
2758 set dummy ar; ac_word=$2
2759 echo "$as_me:$LINENO: checking for $ac_word" >&5
2760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2761 if test "${ac_cv_prog_AR+set}" = set; then
2762 echo $ECHO_N "(cached) $ECHO_C" >&6
2764 if test -n "$AR"; then
2765 ac_cv_prog_AR="$AR" # Let the user override the test.
2767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 test -z "$as_dir" && as_dir=.
2772 for ac_exec_ext in '' $ac_executable_extensions; do
2773 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2774 ac_cv_prog_AR=""ar""
2775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2781 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2785 if test -n "$AR"; then
2786 echo "$as_me:$LINENO: result: $AR" >&5
2787 echo "${ECHO_T}$AR" >&6
2789 echo "$as_me:$LINENO: result: no" >&5
2790 echo "${ECHO_T}no" >&6
2793 if test "$AR" != "ar"; then
2794 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2795 echo "$as_me: error: need ar for creating archives" >&2;}
2796 { (exit 1); exit 1; }; }
2799 # Extract the first word of "tar", so it can be a program name with args.
2800 set dummy tar; ac_word=$2
2801 echo "$as_me:$LINENO: checking for $ac_word" >&5
2802 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2803 if test "${ac_cv_prog_TAR+set}" = set; then
2804 echo $ECHO_N "(cached) $ECHO_C" >&6
2806 if test -n "$TAR"; then
2807 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2809 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2813 test -z "$as_dir" && as_dir=.
2814 for ac_exec_ext in '' $ac_executable_extensions; do
2815 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2816 ac_cv_prog_TAR=""tar""
2817 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2823 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2827 if test -n "$TAR"; then
2828 echo "$as_me:$LINENO: result: $TAR" >&5
2829 echo "${ECHO_T}$TAR" >&6
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2835 if test "$TAR" != "tar"; then
2836 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2837 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2838 { (exit 1); exit 1; }; }
2842 if test -n "$ac_tool_prefix"; then
2843 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2844 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2845 echo "$as_me:$LINENO: checking for $ac_word" >&5
2846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2847 if test "${ac_cv_prog_RANLIB+set}" = set; then
2848 echo $ECHO_N "(cached) $ECHO_C" >&6
2850 if test -n "$RANLIB"; then
2851 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2857 test -z "$as_dir" && as_dir=.
2858 for ac_exec_ext in '' $ac_executable_extensions; do
2859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2860 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2869 RANLIB=$ac_cv_prog_RANLIB
2870 if test -n "$RANLIB"; then
2871 echo "$as_me:$LINENO: result: $RANLIB" >&5
2872 echo "${ECHO_T}$RANLIB" >&6
2874 echo "$as_me:$LINENO: result: no" >&5
2875 echo "${ECHO_T}no" >&6
2879 if test -z "$ac_cv_prog_RANLIB"; then
2880 ac_ct_RANLIB=$RANLIB
2881 # Extract the first word of "ranlib", so it can be a program name with args.
2882 set dummy ranlib; ac_word=$2
2883 echo "$as_me:$LINENO: checking for $ac_word" >&5
2884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2885 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2886 echo $ECHO_N "(cached) $ECHO_C" >&6
2888 if test -n "$ac_ct_RANLIB"; then
2889 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2895 test -z "$as_dir" && as_dir=.
2896 for ac_exec_ext in '' $ac_executable_extensions; do
2897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2898 ac_cv_prog_ac_ct_RANLIB="ranlib"
2899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2905 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2908 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2909 if test -n "$ac_ct_RANLIB"; then
2910 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2911 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2913 echo "$as_me:$LINENO: result: no" >&5
2914 echo "${ECHO_T}no" >&6
2917 RANLIB=$ac_ct_RANLIB
2919 RANLIB="$ac_cv_prog_RANLIB"
2924 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2925 if test -f $ac_dir/install-sh; then
2927 ac_install_sh="$ac_aux_dir/install-sh -c"
2929 elif test -f $ac_dir/install.sh; then
2931 ac_install_sh="$ac_aux_dir/install.sh -c"
2933 elif test -f $ac_dir/shtool; then
2935 ac_install_sh="$ac_aux_dir/shtool install -c"
2939 if test -z "$ac_aux_dir"; then
2940 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2941 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2942 { (exit 1); exit 1; }; }
2944 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2945 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2946 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2948 # Find a good install program. We prefer a C program (faster),
2949 # so one script is as good as another. But avoid the broken or
2950 # incompatible versions:
2951 # SysV /etc/install, /usr/sbin/install
2952 # SunOS /usr/etc/install
2953 # IRIX /sbin/install
2955 # AmigaOS /C/install, which installs bootblocks on floppy discs
2956 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2957 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2958 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2959 # OS/2's system install, which has a completely different semantic
2960 # ./install, which can be erroneously created by make from ./install.sh.
2961 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2962 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2963 if test -z "$INSTALL"; then
2964 if test "${ac_cv_path_install+set}" = set; then
2965 echo $ECHO_N "(cached) $ECHO_C" >&6
2967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2971 test -z "$as_dir" && as_dir=.
2972 # Account for people who put trailing slashes in PATH elements.
2974 ./ | .// | /cC/* | \
2975 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2976 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2979 # OSF1 and SCO ODT 3.0 have their own names for install.
2980 # Don't use installbsd from OSF since it installs stuff as root
2982 for ac_prog in ginstall scoinst install; do
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2985 if test $ac_prog = install &&
2986 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2987 # AIX install. It has an incompatible calling convention.
2989 elif test $ac_prog = install &&
2990 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2991 # program-specific install script used by HP pwplus--don't use.
2994 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3006 if test "${ac_cv_path_install+set}" = set; then
3007 INSTALL=$ac_cv_path_install
3009 # As a last resort, use the slow shell script. We don't cache a
3010 # path for INSTALL within a source directory, because that will
3011 # break other packages using the cache if that directory is
3012 # removed, or if the path is relative.
3013 INSTALL=$ac_install_sh
3016 echo "$as_me:$LINENO: result: $INSTALL" >&5
3017 echo "${ECHO_T}$INSTALL" >&6
3019 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3020 # It thinks the first close brace ends the variable substitution.
3021 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3023 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3025 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3028 touch tmp-install.a tmp-install.b
3029 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
3032 rm tmp-install.a tmp-install.b
3035 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3036 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3038 if test "$LN_S" = "ln -s"; then
3039 echo "$as_me:$LINENO: result: yes" >&5
3040 echo "${ECHO_T}yes" >&6
3042 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3043 echo "${ECHO_T}no, using $LN_S" >&6
3047 if test "$enable_auto_documentation" = yes; then
3048 # Extract the first word of "doxygen", so it can be a program name with args.
3049 set dummy doxygen; ac_word=$2
3050 echo "$as_me:$LINENO: checking for $ac_word" >&5
3051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3052 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
3053 echo $ECHO_N "(cached) $ECHO_C" >&6
3055 if test -n "$DOXYGEN"; then
3056 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
3058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062 test -z "$as_dir" && as_dir=.
3063 for ac_exec_ext in '' $ac_executable_extensions; do
3064 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3065 ac_cv_prog_DOXYGEN=""doxygen""
3066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3072 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
3075 DOXYGEN=$ac_cv_prog_DOXYGEN
3076 if test -n "$DOXYGEN"; then
3077 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
3078 echo "${ECHO_T}$DOXYGEN" >&6
3080 echo "$as_me:$LINENO: result: no" >&5
3081 echo "${ECHO_T}no" >&6
3084 if test "$DOXYGEN" != "doxygen"; then
3085 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
3086 echo "$as_me: error: need doxygen for auto documentation" >&2;}
3087 { (exit 1); exit 1; }; }
3089 # Extract the first word of "dot", so it can be a program name with args.
3090 set dummy dot; ac_word=$2
3091 echo "$as_me:$LINENO: checking for $ac_word" >&5
3092 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3093 if test "${ac_cv_prog_DOT+set}" = set; then
3094 echo $ECHO_N "(cached) $ECHO_C" >&6
3096 if test -n "$DOT"; then
3097 ac_cv_prog_DOT="$DOT" # Let the user override the test.
3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 test -z "$as_dir" && as_dir=.
3104 for ac_exec_ext in '' $ac_executable_extensions; do
3105 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3106 ac_cv_prog_DOT=""dot""
3107 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
3117 if test -n "$DOT"; then
3118 echo "$as_me:$LINENO: result: $DOT" >&5
3119 echo "${ECHO_T}$DOT" >&6
3121 echo "$as_me:$LINENO: result: no" >&5
3122 echo "${ECHO_T}no" >&6
3125 if test "$DOT" != "dot"; then
3126 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
3127 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
3128 { (exit 1); exit 1; }; }
3132 if test "$enable_firm_jni" = yes; then
3133 # Extract the first word of "javac", so it can be a program name with args.
3134 set dummy javac; ac_word=$2
3135 echo "$as_me:$LINENO: checking for $ac_word" >&5
3136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3137 if test "${ac_cv_prog_JAVAC+set}" = set; then
3138 echo $ECHO_N "(cached) $ECHO_C" >&6
3140 if test -n "$JAVAC"; then
3141 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 test -z "$as_dir" && as_dir=.
3148 for ac_exec_ext in '' $ac_executable_extensions; do
3149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3150 ac_cv_prog_JAVAC=""javac""
3151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3160 JAVAC=$ac_cv_prog_JAVAC
3161 if test -n "$JAVAC"; then
3162 echo "$as_me:$LINENO: result: $JAVAC" >&5
3163 echo "${ECHO_T}$JAVAC" >&6
3165 echo "$as_me:$LINENO: result: no" >&5
3166 echo "${ECHO_T}no" >&6
3169 if test "$JAVAC" != "javac"; then
3170 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3171 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3172 { (exit 1); exit 1; }; }
3174 # Extract the first word of "javah", so it can be a program name with args.
3175 set dummy javah; ac_word=$2
3176 echo "$as_me:$LINENO: checking for $ac_word" >&5
3177 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3178 if test "${ac_cv_prog_JAVAH+set}" = set; then
3179 echo $ECHO_N "(cached) $ECHO_C" >&6
3181 if test -n "$JAVAH"; then
3182 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3188 test -z "$as_dir" && as_dir=.
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3191 ac_cv_prog_JAVAH=""javah""
3192 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3201 JAVAH=$ac_cv_prog_JAVAH
3202 if test -n "$JAVAH"; then
3203 echo "$as_me:$LINENO: result: $JAVAH" >&5
3204 echo "${ECHO_T}$JAVAH" >&6
3206 echo "$as_me:$LINENO: result: no" >&5
3207 echo "${ECHO_T}no" >&6
3210 if test "$JAVAH" != "javah"; then
3211 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3212 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3213 { (exit 1); exit 1; }; }
3221 ac_cpp='$CPP $CPPFLAGS'
3222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3225 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3226 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3227 # On Suns, sometimes $CPP names a directory.
3228 if test -n "$CPP" && test -d "$CPP"; then
3231 if test -z "$CPP"; then
3232 if test "${ac_cv_prog_CPP+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 # Double quotes because CPP needs to be expanded
3236 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3239 for ac_c_preproc_warn_flag in '' yes
3241 # Use a header file that comes with gcc, so configuring glibc
3242 # with a fresh cross-compiler works.
3243 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3244 # <limits.h> exists even on freestanding compilers.
3245 # On the NeXT, cc -E runs the code through the compiler's parser,
3246 # not just through cpp. "Syntax error" is here to catch this case.
3247 cat >conftest.$ac_ext <<_ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3254 # include <limits.h>
3256 # include <assert.h>
3260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3263 grep -v '^ *+' conftest.er1 >conftest.err
3265 cat conftest.err >&5
3266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3267 (exit $ac_status); } >/dev/null; then
3268 if test -s conftest.err; then
3269 ac_cpp_err=$ac_c_preproc_warn_flag
3270 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3277 if test -z "$ac_cpp_err"; then
3280 echo "$as_me: failed program was:" >&5
3281 sed 's/^/| /' conftest.$ac_ext >&5
3283 # Broken: fails on valid input.
3286 rm -f conftest.err conftest.$ac_ext
3288 # OK, works on sane cases. Now check whether non-existent headers
3289 # can be detected and how.
3290 cat >conftest.$ac_ext <<_ACEOF
3293 cat confdefs.h >>conftest.$ac_ext
3294 cat >>conftest.$ac_ext <<_ACEOF
3295 /* end confdefs.h. */
3296 #include <ac_nonexistent.h>
3298 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3299 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3301 grep -v '^ *+' conftest.er1 >conftest.err
3303 cat conftest.err >&5
3304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3305 (exit $ac_status); } >/dev/null; then
3306 if test -s conftest.err; then
3307 ac_cpp_err=$ac_c_preproc_warn_flag
3308 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3315 if test -z "$ac_cpp_err"; then
3316 # Broken: success on invalid input.
3319 echo "$as_me: failed program was:" >&5
3320 sed 's/^/| /' conftest.$ac_ext >&5
3322 # Passes both tests.
3326 rm -f conftest.err conftest.$ac_ext
3329 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3330 rm -f conftest.err conftest.$ac_ext
3331 if $ac_preproc_ok; then
3343 echo "$as_me:$LINENO: result: $CPP" >&5
3344 echo "${ECHO_T}$CPP" >&6
3346 for ac_c_preproc_warn_flag in '' yes
3348 # Use a header file that comes with gcc, so configuring glibc
3349 # with a fresh cross-compiler works.
3350 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3351 # <limits.h> exists even on freestanding compilers.
3352 # On the NeXT, cc -E runs the code through the compiler's parser,
3353 # not just through cpp. "Syntax error" is here to catch this case.
3354 cat >conftest.$ac_ext <<_ACEOF
3357 cat confdefs.h >>conftest.$ac_ext
3358 cat >>conftest.$ac_ext <<_ACEOF
3359 /* end confdefs.h. */
3361 # include <limits.h>
3363 # include <assert.h>
3367 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3368 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3370 grep -v '^ *+' conftest.er1 >conftest.err
3372 cat conftest.err >&5
3373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3374 (exit $ac_status); } >/dev/null; then
3375 if test -s conftest.err; then
3376 ac_cpp_err=$ac_c_preproc_warn_flag
3377 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3384 if test -z "$ac_cpp_err"; then
3387 echo "$as_me: failed program was:" >&5
3388 sed 's/^/| /' conftest.$ac_ext >&5
3390 # Broken: fails on valid input.
3393 rm -f conftest.err conftest.$ac_ext
3395 # OK, works on sane cases. Now check whether non-existent headers
3396 # can be detected and how.
3397 cat >conftest.$ac_ext <<_ACEOF
3400 cat confdefs.h >>conftest.$ac_ext
3401 cat >>conftest.$ac_ext <<_ACEOF
3402 /* end confdefs.h. */
3403 #include <ac_nonexistent.h>
3405 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3406 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3408 grep -v '^ *+' conftest.er1 >conftest.err
3410 cat conftest.err >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } >/dev/null; then
3413 if test -s conftest.err; then
3414 ac_cpp_err=$ac_c_preproc_warn_flag
3415 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3422 if test -z "$ac_cpp_err"; then
3423 # Broken: success on invalid input.
3426 echo "$as_me: failed program was:" >&5
3427 sed 's/^/| /' conftest.$ac_ext >&5
3429 # Passes both tests.
3433 rm -f conftest.err conftest.$ac_ext
3436 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3437 rm -f conftest.err conftest.$ac_ext
3438 if $ac_preproc_ok; then
3441 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3442 See \`config.log' for more details." >&5
3443 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3444 See \`config.log' for more details." >&2;}
3445 { (exit 1); exit 1; }; }
3449 ac_cpp='$CPP $CPPFLAGS'
3450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3455 echo "$as_me:$LINENO: checking for egrep" >&5
3456 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3457 if test "${ac_cv_prog_egrep+set}" = set; then
3458 echo $ECHO_N "(cached) $ECHO_C" >&6
3460 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3461 then ac_cv_prog_egrep='grep -E'
3462 else ac_cv_prog_egrep='egrep'
3465 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3466 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3467 EGREP=$ac_cv_prog_egrep
3470 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3471 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3472 if test "${ac_cv_header_stdc+set}" = set; then
3473 echo $ECHO_N "(cached) $ECHO_C" >&6
3475 cat >conftest.$ac_ext <<_ACEOF
3478 cat confdefs.h >>conftest.$ac_ext
3479 cat >>conftest.$ac_ext <<_ACEOF
3480 /* end confdefs.h. */
3494 rm -f conftest.$ac_objext
3495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3496 (eval $ac_compile) 2>conftest.er1
3498 grep -v '^ *+' conftest.er1 >conftest.err
3500 cat conftest.err >&5
3501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3502 (exit $ac_status); } &&
3503 { ac_try='test -z "$ac_c_werror_flag"
3504 || test ! -s conftest.err'
3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }; } &&
3510 { ac_try='test -s conftest.$ac_objext'
3511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); }; }; then
3516 ac_cv_header_stdc=yes
3518 echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.$ac_ext >&5
3521 ac_cv_header_stdc=no
3523 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3525 if test $ac_cv_header_stdc = yes; then
3526 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3527 cat >conftest.$ac_ext <<_ACEOF
3530 cat confdefs.h >>conftest.$ac_ext
3531 cat >>conftest.$ac_ext <<_ACEOF
3532 /* end confdefs.h. */
3536 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3537 $EGREP "memchr" >/dev/null 2>&1; then
3540 ac_cv_header_stdc=no
3546 if test $ac_cv_header_stdc = yes; then
3547 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3548 cat >conftest.$ac_ext <<_ACEOF
3551 cat confdefs.h >>conftest.$ac_ext
3552 cat >>conftest.$ac_ext <<_ACEOF
3553 /* end confdefs.h. */
3557 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3558 $EGREP "free" >/dev/null 2>&1; then
3561 ac_cv_header_stdc=no
3567 if test $ac_cv_header_stdc = yes; then
3568 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3569 if test "$cross_compiling" = yes; then
3572 cat >conftest.$ac_ext <<_ACEOF
3575 cat confdefs.h >>conftest.$ac_ext
3576 cat >>conftest.$ac_ext <<_ACEOF
3577 /* end confdefs.h. */
3579 #if ((' ' & 0x0FF) == 0x020)
3580 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3581 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3583 # define ISLOWER(c) \
3584 (('a' <= (c) && (c) <= 'i') \
3585 || ('j' <= (c) && (c) <= 'r') \
3586 || ('s' <= (c) && (c) <= 'z'))
3587 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3590 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3595 for (i = 0; i < 256; i++)
3596 if (XOR (islower (i), ISLOWER (i))
3597 || toupper (i) != TOUPPER (i))
3602 rm -f conftest$ac_exeext
3603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3604 (eval $ac_link) 2>&5
3606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3607 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3612 (exit $ac_status); }; }; then
3615 echo "$as_me: program exited with status $ac_status" >&5
3616 echo "$as_me: failed program was:" >&5
3617 sed 's/^/| /' conftest.$ac_ext >&5
3620 ac_cv_header_stdc=no
3622 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3626 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3627 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3628 if test $ac_cv_header_stdc = yes; then
3630 cat >>confdefs.h <<\_ACEOF
3631 #define STDC_HEADERS 1
3638 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3648 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3649 inttypes.h stdint.h unistd.h
3651 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3652 echo "$as_me:$LINENO: checking for $ac_header" >&5
3653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3655 echo $ECHO_N "(cached) $ECHO_C" >&6
3657 cat >conftest.$ac_ext <<_ACEOF
3660 cat confdefs.h >>conftest.$ac_ext
3661 cat >>conftest.$ac_ext <<_ACEOF
3662 /* end confdefs.h. */
3663 $ac_includes_default
3665 #include <$ac_header>
3667 rm -f conftest.$ac_objext
3668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3669 (eval $ac_compile) 2>conftest.er1
3671 grep -v '^ *+' conftest.er1 >conftest.err
3673 cat conftest.err >&5
3674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3675 (exit $ac_status); } &&
3676 { ac_try='test -z "$ac_c_werror_flag"
3677 || test ! -s conftest.err'
3678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3682 (exit $ac_status); }; } &&
3683 { ac_try='test -s conftest.$ac_objext'
3684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); }; }; then
3689 eval "$as_ac_Header=yes"
3691 echo "$as_me: failed program was:" >&5
3692 sed 's/^/| /' conftest.$ac_ext >&5
3694 eval "$as_ac_Header=no"
3696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3698 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3699 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3700 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3701 cat >>confdefs.h <<_ACEOF
3702 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3711 for ac_header in math.h
3713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3714 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3715 echo "$as_me:$LINENO: checking for $ac_header" >&5
3716 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3717 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3718 echo $ECHO_N "(cached) $ECHO_C" >&6
3720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3721 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3723 # Is the header compilable?
3724 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3725 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3726 cat >conftest.$ac_ext <<_ACEOF
3729 cat confdefs.h >>conftest.$ac_ext
3730 cat >>conftest.$ac_ext <<_ACEOF
3731 /* end confdefs.h. */
3732 $ac_includes_default
3733 #include <$ac_header>
3735 rm -f conftest.$ac_objext
3736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3737 (eval $ac_compile) 2>conftest.er1
3739 grep -v '^ *+' conftest.er1 >conftest.err
3741 cat conftest.err >&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); } &&
3744 { ac_try='test -z "$ac_c_werror_flag"
3745 || test ! -s conftest.err'
3746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }; } &&
3751 { ac_try='test -s conftest.$ac_objext'
3752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3756 (exit $ac_status); }; }; then
3757 ac_header_compiler=yes
3759 echo "$as_me: failed program was:" >&5
3760 sed 's/^/| /' conftest.$ac_ext >&5
3762 ac_header_compiler=no
3764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3766 echo "${ECHO_T}$ac_header_compiler" >&6
3768 # Is the header present?
3769 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3770 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3771 cat >conftest.$ac_ext <<_ACEOF
3774 cat confdefs.h >>conftest.$ac_ext
3775 cat >>conftest.$ac_ext <<_ACEOF
3776 /* end confdefs.h. */
3777 #include <$ac_header>
3779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3782 grep -v '^ *+' conftest.er1 >conftest.err
3784 cat conftest.err >&5
3785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3786 (exit $ac_status); } >/dev/null; then
3787 if test -s conftest.err; then
3788 ac_cpp_err=$ac_c_preproc_warn_flag
3789 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3796 if test -z "$ac_cpp_err"; then
3797 ac_header_preproc=yes
3799 echo "$as_me: failed program was:" >&5
3800 sed 's/^/| /' conftest.$ac_ext >&5
3802 ac_header_preproc=no
3804 rm -f conftest.err conftest.$ac_ext
3805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3806 echo "${ECHO_T}$ac_header_preproc" >&6
3808 # So? What about this header?
3809 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3811 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3812 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3813 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3814 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3815 ac_header_preproc=yes
3818 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3819 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3820 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3821 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3822 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3823 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3824 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3825 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3827 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3828 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3829 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3832 ## ---------------------------------- ##
3833 ## Report this to the libfirm lists. ##
3834 ## ---------------------------------- ##
3837 sed "s/^/$as_me: WARNING: /" >&2
3840 echo "$as_me:$LINENO: checking for $ac_header" >&5
3841 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3842 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3843 echo $ECHO_N "(cached) $ECHO_C" >&6
3845 eval "$as_ac_Header=\$ac_header_preproc"
3847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3851 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3852 cat >>confdefs.h <<_ACEOF
3853 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3855 ac_math_headers="yes"
3857 ac_math_headers="no"
3862 if test "$ac_math_headers" != yes; then
3863 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3864 echo "$as_me: error: \"math header file not found\"" >&2;}
3865 { (exit 1); exit 1; }; }
3869 #dnl check for the gnu multiprecission (gmp) header file
3871 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3872 #if test "$ac_gmp_headers" != yes; then
3873 # dnl gmp header not found.
3874 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3881 for ac_header in obstack.h
3883 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3884 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3885 echo "$as_me:$LINENO: checking for $ac_header" >&5
3886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3887 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3888 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3893 # Is the header compilable?
3894 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3895 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3896 cat >conftest.$ac_ext <<_ACEOF
3899 cat confdefs.h >>conftest.$ac_ext
3900 cat >>conftest.$ac_ext <<_ACEOF
3901 /* end confdefs.h. */
3902 $ac_includes_default
3903 #include <$ac_header>
3905 rm -f conftest.$ac_objext
3906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3907 (eval $ac_compile) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1 >conftest.err
3911 cat conftest.err >&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } &&
3914 { ac_try='test -z "$ac_c_werror_flag"
3915 || test ! -s conftest.err'
3916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3920 (exit $ac_status); }; } &&
3921 { ac_try='test -s conftest.$ac_objext'
3922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3926 (exit $ac_status); }; }; then
3927 ac_header_compiler=yes
3929 echo "$as_me: failed program was:" >&5
3930 sed 's/^/| /' conftest.$ac_ext >&5
3932 ac_header_compiler=no
3934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3935 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3936 echo "${ECHO_T}$ac_header_compiler" >&6
3938 # Is the header present?
3939 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3940 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3941 cat >conftest.$ac_ext <<_ACEOF
3944 cat confdefs.h >>conftest.$ac_ext
3945 cat >>conftest.$ac_ext <<_ACEOF
3946 /* end confdefs.h. */
3947 #include <$ac_header>
3949 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3950 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3952 grep -v '^ *+' conftest.er1 >conftest.err
3954 cat conftest.err >&5
3955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3956 (exit $ac_status); } >/dev/null; then
3957 if test -s conftest.err; then
3958 ac_cpp_err=$ac_c_preproc_warn_flag
3959 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3966 if test -z "$ac_cpp_err"; then
3967 ac_header_preproc=yes
3969 echo "$as_me: failed program was:" >&5
3970 sed 's/^/| /' conftest.$ac_ext >&5
3972 ac_header_preproc=no
3974 rm -f conftest.err conftest.$ac_ext
3975 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3976 echo "${ECHO_T}$ac_header_preproc" >&6
3978 # So? What about this header?
3979 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3981 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3982 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3984 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3985 ac_header_preproc=yes
3988 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3989 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3990 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3991 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3992 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3993 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3994 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3995 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3997 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3998 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3999 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4002 ## ---------------------------------- ##
4003 ## Report this to the libfirm lists. ##
4004 ## ---------------------------------- ##
4007 sed "s/^/$as_me: WARNING: /" >&2
4010 echo "$as_me:$LINENO: checking for $ac_header" >&5
4011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4013 echo $ECHO_N "(cached) $ECHO_C" >&6
4015 eval "$as_ac_Header=\$ac_header_preproc"
4017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4021 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4022 cat >>confdefs.h <<_ACEOF
4023 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4025 ac_obstack_headers="yes"
4027 ac_obstack_headers="no"
4032 if test "$ac_obstack_headers" != yes; then
4033 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
4034 echo "$as_me: error: \"obstack.h not found\"" >&2;}
4035 { (exit 1); exit 1; }; }
4040 for ac_header in alloca.h
4042 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4044 echo "$as_me:$LINENO: checking for $ac_header" >&5
4045 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4046 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4047 echo $ECHO_N "(cached) $ECHO_C" >&6
4049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4050 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4052 # Is the header compilable?
4053 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4054 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4055 cat >conftest.$ac_ext <<_ACEOF
4058 cat confdefs.h >>conftest.$ac_ext
4059 cat >>conftest.$ac_ext <<_ACEOF
4060 /* end confdefs.h. */
4061 $ac_includes_default
4062 #include <$ac_header>
4064 rm -f conftest.$ac_objext
4065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4066 (eval $ac_compile) 2>conftest.er1
4068 grep -v '^ *+' conftest.er1 >conftest.err
4070 cat conftest.err >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } &&
4073 { ac_try='test -z "$ac_c_werror_flag"
4074 || test ! -s conftest.err'
4075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4079 (exit $ac_status); }; } &&
4080 { ac_try='test -s conftest.$ac_objext'
4081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4085 (exit $ac_status); }; }; then
4086 ac_header_compiler=yes
4088 echo "$as_me: failed program was:" >&5
4089 sed 's/^/| /' conftest.$ac_ext >&5
4091 ac_header_compiler=no
4093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4094 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4095 echo "${ECHO_T}$ac_header_compiler" >&6
4097 # Is the header present?
4098 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4099 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4100 cat >conftest.$ac_ext <<_ACEOF
4103 cat confdefs.h >>conftest.$ac_ext
4104 cat >>conftest.$ac_ext <<_ACEOF
4105 /* end confdefs.h. */
4106 #include <$ac_header>
4108 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4109 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4111 grep -v '^ *+' conftest.er1 >conftest.err
4113 cat conftest.err >&5
4114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115 (exit $ac_status); } >/dev/null; then
4116 if test -s conftest.err; then
4117 ac_cpp_err=$ac_c_preproc_warn_flag
4118 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4125 if test -z "$ac_cpp_err"; then
4126 ac_header_preproc=yes
4128 echo "$as_me: failed program was:" >&5
4129 sed 's/^/| /' conftest.$ac_ext >&5
4131 ac_header_preproc=no
4133 rm -f conftest.err conftest.$ac_ext
4134 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4135 echo "${ECHO_T}$ac_header_preproc" >&6
4137 # So? What about this header?
4138 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4140 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4141 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4143 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4144 ac_header_preproc=yes
4147 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4148 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4149 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4150 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4151 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4152 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4153 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4154 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4155 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4156 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4157 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4158 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4161 ## ---------------------------------- ##
4162 ## Report this to the libfirm lists. ##
4163 ## ---------------------------------- ##
4166 sed "s/^/$as_me: WARNING: /" >&2
4169 echo "$as_me:$LINENO: checking for $ac_header" >&5
4170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 eval "$as_ac_Header=\$ac_header_preproc"
4176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4180 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4181 cat >>confdefs.h <<_ACEOF
4182 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4184 ac_alloca_headers="yes"
4186 ac_alloca_headers="no"
4191 if test "$ac_alloca_headers" = "yes"; then
4192 cat >>confdefs.h <<\_ACEOF
4193 #define HAVE_ALLOCA_H 1
4197 if test "$ac_cv_header_stdc" = "no"; then
4198 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4199 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4200 { (exit 1); exit 1; }; }
4206 if test "$enable_firm_jni" = yes; then
4208 for ac_header in jni.h
4210 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4212 echo "$as_me:$LINENO: checking for $ac_header" >&5
4213 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4220 # Is the header compilable?
4221 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4222 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4223 cat >conftest.$ac_ext <<_ACEOF
4226 cat confdefs.h >>conftest.$ac_ext
4227 cat >>conftest.$ac_ext <<_ACEOF
4228 /* end confdefs.h. */
4229 $ac_includes_default
4230 #include <$ac_header>
4232 rm -f conftest.$ac_objext
4233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4234 (eval $ac_compile) 2>conftest.er1
4236 grep -v '^ *+' conftest.er1 >conftest.err
4238 cat conftest.err >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } &&
4241 { ac_try='test -z "$ac_c_werror_flag"
4242 || test ! -s conftest.err'
4243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4247 (exit $ac_status); }; } &&
4248 { ac_try='test -s conftest.$ac_objext'
4249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4253 (exit $ac_status); }; }; then
4254 ac_header_compiler=yes
4256 echo "$as_me: failed program was:" >&5
4257 sed 's/^/| /' conftest.$ac_ext >&5
4259 ac_header_compiler=no
4261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4263 echo "${ECHO_T}$ac_header_compiler" >&6
4265 # Is the header present?
4266 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4267 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4268 cat >conftest.$ac_ext <<_ACEOF
4271 cat confdefs.h >>conftest.$ac_ext
4272 cat >>conftest.$ac_ext <<_ACEOF
4273 /* end confdefs.h. */
4274 #include <$ac_header>
4276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4279 grep -v '^ *+' conftest.er1 >conftest.err
4281 cat conftest.err >&5
4282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4283 (exit $ac_status); } >/dev/null; then
4284 if test -s conftest.err; then
4285 ac_cpp_err=$ac_c_preproc_warn_flag
4286 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4293 if test -z "$ac_cpp_err"; then
4294 ac_header_preproc=yes
4296 echo "$as_me: failed program was:" >&5
4297 sed 's/^/| /' conftest.$ac_ext >&5
4299 ac_header_preproc=no
4301 rm -f conftest.err conftest.$ac_ext
4302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4303 echo "${ECHO_T}$ac_header_preproc" >&6
4305 # So? What about this header?
4306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4308 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4309 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4310 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4311 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4312 ac_header_preproc=yes
4315 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4316 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4317 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4318 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4319 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4320 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4321 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4322 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4323 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4324 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4325 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4326 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4329 ## ---------------------------------- ##
4330 ## Report this to the libfirm lists. ##
4331 ## ---------------------------------- ##
4334 sed "s/^/$as_me: WARNING: /" >&2
4337 echo "$as_me:$LINENO: checking for $ac_header" >&5
4338 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4340 echo $ECHO_N "(cached) $ECHO_C" >&6
4342 eval "$as_ac_Header=\$ac_header_preproc"
4344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4348 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4349 cat >>confdefs.h <<_ACEOF
4350 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4352 ac_jni_headers="yes"
4359 if test "$ac_jni_headers" != yes; then
4360 { { 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
4361 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;}
4362 { (exit 1); exit 1; }; }
4367 if test "$enable_external_effects" == "yes"; then
4369 for ac_header in libxml/parser.h
4371 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4372 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4373 echo "$as_me:$LINENO: checking for $ac_header" >&5
4374 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4375 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4378 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4379 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4381 # Is the header compilable?
4382 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4383 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4384 cat >conftest.$ac_ext <<_ACEOF
4387 cat confdefs.h >>conftest.$ac_ext
4388 cat >>conftest.$ac_ext <<_ACEOF
4389 /* end confdefs.h. */
4390 $ac_includes_default
4391 #include <$ac_header>
4393 rm -f conftest.$ac_objext
4394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4395 (eval $ac_compile) 2>conftest.er1
4397 grep -v '^ *+' conftest.er1 >conftest.err
4399 cat conftest.err >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } &&
4402 { ac_try='test -z "$ac_c_werror_flag"
4403 || test ! -s conftest.err'
4404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4408 (exit $ac_status); }; } &&
4409 { ac_try='test -s conftest.$ac_objext'
4410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4414 (exit $ac_status); }; }; then
4415 ac_header_compiler=yes
4417 echo "$as_me: failed program was:" >&5
4418 sed 's/^/| /' conftest.$ac_ext >&5
4420 ac_header_compiler=no
4422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4423 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4424 echo "${ECHO_T}$ac_header_compiler" >&6
4426 # Is the header present?
4427 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4428 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4429 cat >conftest.$ac_ext <<_ACEOF
4432 cat confdefs.h >>conftest.$ac_ext
4433 cat >>conftest.$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4435 #include <$ac_header>
4437 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4438 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4440 grep -v '^ *+' conftest.er1 >conftest.err
4442 cat conftest.err >&5
4443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4444 (exit $ac_status); } >/dev/null; then
4445 if test -s conftest.err; then
4446 ac_cpp_err=$ac_c_preproc_warn_flag
4447 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4454 if test -z "$ac_cpp_err"; then
4455 ac_header_preproc=yes
4457 echo "$as_me: failed program was:" >&5
4458 sed 's/^/| /' conftest.$ac_ext >&5
4460 ac_header_preproc=no
4462 rm -f conftest.err conftest.$ac_ext
4463 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4464 echo "${ECHO_T}$ac_header_preproc" >&6
4466 # So? What about this header?
4467 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4469 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4470 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4471 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4472 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4473 ac_header_preproc=yes
4476 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4477 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4478 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4479 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4480 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4481 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4482 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4483 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4485 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4486 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4487 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4490 ## ---------------------------------- ##
4491 ## Report this to the libfirm lists. ##
4492 ## ---------------------------------- ##
4495 sed "s/^/$as_me: WARNING: /" >&2
4498 echo "$as_me:$LINENO: checking for $ac_header" >&5
4499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4501 echo $ECHO_N "(cached) $ECHO_C" >&6
4503 eval "$as_ac_Header=\$ac_header_preproc"
4505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4506 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4509 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4510 cat >>confdefs.h <<_ACEOF
4511 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4513 ac_xml_headers="yes"
4520 if test "$ac_xml_headers" != yes; then
4521 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4522 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4523 { (exit 1); exit 1; }; }
4528 #dnl check for the gnu multiprecission (gmp) library
4530 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4531 #if test "$ac_gmp_library" != yes; then
4532 # dnl gmp library not found.
4533 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4537 echo "$as_me:$LINENO: checking for main in -lm" >&5
4538 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4539 if test "${ac_cv_lib_m_main+set}" = set; then
4540 echo $ECHO_N "(cached) $ECHO_C" >&6
4542 ac_check_lib_save_LIBS=$LIBS
4544 cat >conftest.$ac_ext <<_ACEOF
4547 cat confdefs.h >>conftest.$ac_ext
4548 cat >>conftest.$ac_ext <<_ACEOF
4549 /* end confdefs.h. */
4560 rm -f conftest.$ac_objext conftest$ac_exeext
4561 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4562 (eval $ac_link) 2>conftest.er1
4564 grep -v '^ *+' conftest.er1 >conftest.err
4566 cat conftest.err >&5
4567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4568 (exit $ac_status); } &&
4569 { ac_try='test -z "$ac_c_werror_flag"
4570 || test ! -s conftest.err'
4571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); }; } &&
4576 { ac_try='test -s conftest$ac_exeext'
4577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4581 (exit $ac_status); }; }; then
4582 ac_cv_lib_m_main=yes
4584 echo "$as_me: failed program was:" >&5
4585 sed 's/^/| /' conftest.$ac_ext >&5
4589 rm -f conftest.err conftest.$ac_objext \
4590 conftest$ac_exeext conftest.$ac_ext
4591 LIBS=$ac_check_lib_save_LIBS
4593 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4594 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4595 if test $ac_cv_lib_m_main = yes; then
4601 if test "$ac_m_library" != yes; then
4602 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4603 echo "$as_me: error: \"standard math library not found\"" >&2;}
4604 { (exit 1); exit 1; }; }
4608 if test "$enable_external_effects" == "yes"; then
4609 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4610 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4611 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4612 echo $ECHO_N "(cached) $ECHO_C" >&6
4614 ac_check_lib_save_LIBS=$LIBS
4616 cat >conftest.$ac_ext <<_ACEOF
4619 cat confdefs.h >>conftest.$ac_ext
4620 cat >>conftest.$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4623 /* Override any gcc2 internal prototype to avoid an error. */
4627 /* We use char because int might match the return type of a gcc2
4628 builtin and then its argument prototype would still apply. */
4629 char xmlParseFile ();
4638 rm -f conftest.$ac_objext conftest$ac_exeext
4639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4640 (eval $ac_link) 2>conftest.er1
4642 grep -v '^ *+' conftest.er1 >conftest.err
4644 cat conftest.err >&5
4645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4646 (exit $ac_status); } &&
4647 { ac_try='test -z "$ac_c_werror_flag"
4648 || test ! -s conftest.err'
4649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4653 (exit $ac_status); }; } &&
4654 { ac_try='test -s conftest$ac_exeext'
4655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4659 (exit $ac_status); }; }; then
4660 ac_cv_lib_xml2_xmlParseFile=yes
4662 echo "$as_me: failed program was:" >&5
4663 sed 's/^/| /' conftest.$ac_ext >&5
4665 ac_cv_lib_xml2_xmlParseFile=no
4667 rm -f conftest.err conftest.$ac_objext \
4668 conftest$ac_exeext conftest.$ac_ext
4669 LIBS=$ac_check_lib_save_LIBS
4671 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4672 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4673 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4674 ac_xml_library="yes"
4679 if test "$ac_m_library" != yes; then
4680 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4681 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4682 { (exit 1); exit 1; }; }
4688 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4689 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4690 if test "${ac_cv_c_const+set}" = set; then
4691 echo $ECHO_N "(cached) $ECHO_C" >&6
4693 cat >conftest.$ac_ext <<_ACEOF
4696 cat confdefs.h >>conftest.$ac_ext
4697 cat >>conftest.$ac_ext <<_ACEOF
4698 /* end confdefs.h. */
4703 /* FIXME: Include the comments suggested by Paul. */
4705 /* Ultrix mips cc rejects this. */
4706 typedef int charset[2];
4708 /* SunOS 4.1.1 cc rejects this. */
4709 char const *const *ccp;
4711 /* NEC SVR4.0.2 mips cc rejects this. */
4712 struct point {int x, y;};
4713 static struct point const zero = {0,0};
4714 /* AIX XL C 1.02.0.0 rejects this.
4715 It does not let you subtract one const X* pointer from another in
4716 an arm of an if-expression whose if-part is not a constant
4718 const char *g = "string";
4719 ccp = &g + (g ? g-g : 0);
4720 /* HPUX 7.0 cc rejects these. */
4723 ccp = (char const *const *) p;
4724 { /* SCO 3.2v4 cc rejects this. */
4726 char const *s = 0 ? (char *) 0 : (char const *) 0;
4730 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4732 const int *foo = &x[0];
4735 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4736 typedef const int *iptr;
4740 { /* AIX XL C 1.02.0.0 rejects this saying
4741 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4742 struct s { int j; const int *ap[3]; };
4743 struct s *b; b->j = 5;
4745 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4754 rm -f conftest.$ac_objext
4755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4756 (eval $ac_compile) 2>conftest.er1
4758 grep -v '^ *+' conftest.er1 >conftest.err
4760 cat conftest.err >&5
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } &&
4763 { ac_try='test -z "$ac_c_werror_flag"
4764 || test ! -s conftest.err'
4765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4769 (exit $ac_status); }; } &&
4770 { ac_try='test -s conftest.$ac_objext'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; }; then
4778 echo "$as_me: failed program was:" >&5
4779 sed 's/^/| /' conftest.$ac_ext >&5
4783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4785 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4786 echo "${ECHO_T}$ac_cv_c_const" >&6
4787 if test $ac_cv_c_const = no; then
4789 cat >>confdefs.h <<\_ACEOF
4795 echo "$as_me:$LINENO: checking for working volatile" >&5
4796 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4797 if test "${ac_cv_c_volatile+set}" = set; then
4798 echo $ECHO_N "(cached) $ECHO_C" >&6
4800 cat >conftest.$ac_ext <<_ACEOF
4803 cat confdefs.h >>conftest.$ac_ext
4804 cat >>conftest.$ac_ext <<_ACEOF
4805 /* end confdefs.h. */
4817 rm -f conftest.$ac_objext
4818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4819 (eval $ac_compile) 2>conftest.er1
4821 grep -v '^ *+' conftest.er1 >conftest.err
4823 cat conftest.err >&5
4824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4825 (exit $ac_status); } &&
4826 { ac_try='test -z "$ac_c_werror_flag"
4827 || test ! -s conftest.err'
4828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4832 (exit $ac_status); }; } &&
4833 { ac_try='test -s conftest.$ac_objext'
4834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4838 (exit $ac_status); }; }; then
4839 ac_cv_c_volatile=yes
4841 echo "$as_me: failed program was:" >&5
4842 sed 's/^/| /' conftest.$ac_ext >&5
4846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4848 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4849 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4850 if test $ac_cv_c_volatile = no; then
4852 cat >>confdefs.h <<\_ACEOF
4858 echo "$as_me:$LINENO: checking for inline" >&5
4859 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4860 if test "${ac_cv_c_inline+set}" = set; then
4861 echo $ECHO_N "(cached) $ECHO_C" >&6
4864 for ac_kw in inline __inline__ __inline; do
4865 cat >conftest.$ac_ext <<_ACEOF
4868 cat confdefs.h >>conftest.$ac_ext
4869 cat >>conftest.$ac_ext <<_ACEOF
4870 /* end confdefs.h. */
4873 static $ac_kw foo_t static_foo () {return 0; }
4874 $ac_kw foo_t foo () {return 0; }
4878 rm -f conftest.$ac_objext
4879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4880 (eval $ac_compile) 2>conftest.er1
4882 grep -v '^ *+' conftest.er1 >conftest.err
4884 cat conftest.err >&5
4885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4886 (exit $ac_status); } &&
4887 { ac_try='test -z "$ac_c_werror_flag"
4888 || test ! -s conftest.err'
4889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4893 (exit $ac_status); }; } &&
4894 { ac_try='test -s conftest.$ac_objext'
4895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4899 (exit $ac_status); }; }; then
4900 ac_cv_c_inline=$ac_kw; break
4902 echo "$as_me: failed program was:" >&5
4903 sed 's/^/| /' conftest.$ac_ext >&5
4906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4910 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4911 echo "${ECHO_T}$ac_cv_c_inline" >&6
4914 case $ac_cv_c_inline in
4917 case $ac_cv_c_inline in
4919 *) ac_val=$ac_cv_c_inline;;
4921 cat >>confdefs.h <<_ACEOF
4923 #define inline $ac_val
4929 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4930 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4931 if test "${ac_cv_c_bigendian+set}" = set; then
4932 echo $ECHO_N "(cached) $ECHO_C" >&6
4934 # See if sys/param.h defines the BYTE_ORDER macro.
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4941 #include <sys/types.h>
4942 #include <sys/param.h>
4947 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4955 rm -f conftest.$ac_objext
4956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4957 (eval $ac_compile) 2>conftest.er1
4959 grep -v '^ *+' conftest.er1 >conftest.err
4961 cat conftest.err >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } &&
4964 { ac_try='test -z "$ac_c_werror_flag"
4965 || test ! -s conftest.err'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; } &&
4971 { ac_try='test -s conftest.$ac_objext'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; }; then
4977 # It does; now see whether it defined to BIG_ENDIAN or not.
4978 cat >conftest.$ac_ext <<_ACEOF
4981 cat confdefs.h >>conftest.$ac_ext
4982 cat >>conftest.$ac_ext <<_ACEOF
4983 /* end confdefs.h. */
4984 #include <sys/types.h>
4985 #include <sys/param.h>
4990 #if BYTE_ORDER != BIG_ENDIAN
4998 rm -f conftest.$ac_objext
4999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5000 (eval $ac_compile) 2>conftest.er1
5002 grep -v '^ *+' conftest.er1 >conftest.err
5004 cat conftest.err >&5
5005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5006 (exit $ac_status); } &&
5007 { ac_try='test -z "$ac_c_werror_flag"
5008 || test ! -s conftest.err'
5009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5013 (exit $ac_status); }; } &&
5014 { ac_try='test -s conftest.$ac_objext'
5015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5019 (exit $ac_status); }; }; then
5020 ac_cv_c_bigendian=yes
5022 echo "$as_me: failed program was:" >&5
5023 sed 's/^/| /' conftest.$ac_ext >&5
5025 ac_cv_c_bigendian=no
5027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5029 echo "$as_me: failed program was:" >&5
5030 sed 's/^/| /' conftest.$ac_ext >&5
5032 # It does not; compile a test program.
5033 if test "$cross_compiling" = yes; then
5034 # try to guess the endianness by grepping values into an object file
5035 ac_cv_c_bigendian=unknown
5036 cat >conftest.$ac_ext <<_ACEOF
5039 cat confdefs.h >>conftest.$ac_ext
5040 cat >>conftest.$ac_ext <<_ACEOF
5041 /* end confdefs.h. */
5042 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5043 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5044 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5045 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5046 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5047 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5051 _ascii (); _ebcdic ();
5056 rm -f conftest.$ac_objext
5057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5058 (eval $ac_compile) 2>conftest.er1
5060 grep -v '^ *+' conftest.er1 >conftest.err
5062 cat conftest.err >&5
5063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5064 (exit $ac_status); } &&
5065 { ac_try='test -z "$ac_c_werror_flag"
5066 || test ! -s conftest.err'
5067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5071 (exit $ac_status); }; } &&
5072 { ac_try='test -s conftest.$ac_objext'
5073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); }; }; then
5078 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5079 ac_cv_c_bigendian=yes
5081 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5082 if test "$ac_cv_c_bigendian" = unknown; then
5083 ac_cv_c_bigendian=no
5085 # finding both strings is unlikely to happen, but who knows?
5086 ac_cv_c_bigendian=unknown
5090 echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.$ac_ext >&5
5094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5096 cat >conftest.$ac_ext <<_ACEOF
5099 cat confdefs.h >>conftest.$ac_ext
5100 cat >>conftest.$ac_ext <<_ACEOF
5101 /* end confdefs.h. */
5105 /* Are we little or big endian? From Harbison&Steele. */
5109 char c[sizeof (long)];
5112 exit (u.c[sizeof (long) - 1] == 1);
5115 rm -f conftest$ac_exeext
5116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5117 (eval $ac_link) 2>&5
5119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5120 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5125 (exit $ac_status); }; }; then
5126 ac_cv_c_bigendian=no
5128 echo "$as_me: program exited with status $ac_status" >&5
5129 echo "$as_me: failed program was:" >&5
5130 sed 's/^/| /' conftest.$ac_ext >&5
5133 ac_cv_c_bigendian=yes
5135 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5140 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5141 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5142 case $ac_cv_c_bigendian in
5145 cat >>confdefs.h <<\_ACEOF
5146 #define WORDS_BIGENDIAN 1
5152 { { echo "$as_me:$LINENO: error: unknown endianness
5153 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5154 echo "$as_me: error: unknown endianness
5155 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5156 { (exit 1); exit 1; }; } ;;
5159 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5160 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5161 if test "${ac_cv_c_long_double+set}" = set; then
5162 echo $ECHO_N "(cached) $ECHO_C" >&6
5164 cat >conftest.$ac_ext <<_ACEOF
5167 cat confdefs.h >>conftest.$ac_ext
5168 cat >>conftest.$ac_ext <<_ACEOF
5169 /* end confdefs.h. */
5171 long double foo = 0.0;
5175 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5176 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5177 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5184 rm -f conftest.$ac_objext
5185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5186 (eval $ac_compile) 2>conftest.er1
5188 grep -v '^ *+' conftest.er1 >conftest.err
5190 cat conftest.err >&5
5191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5192 (exit $ac_status); } &&
5193 { ac_try='test -z "$ac_c_werror_flag"
5194 || test ! -s conftest.err'
5195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); }; } &&
5200 { ac_try='test -s conftest.$ac_objext'
5201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5205 (exit $ac_status); }; }; then
5206 ac_cv_c_long_double=yes
5208 echo "$as_me: failed program was:" >&5
5209 sed 's/^/| /' conftest.$ac_ext >&5
5211 ac_cv_c_long_double=no
5213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5215 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5216 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5217 if test $ac_cv_c_long_double = yes; then
5219 cat >>confdefs.h <<\_ACEOF
5220 #define HAVE_LONG_DOUBLE 1
5228 echo "$as_me:$LINENO: checking for strerror" >&5
5229 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5230 if test "${ac_cv_func_strerror+set}" = set; then
5231 echo $ECHO_N "(cached) $ECHO_C" >&6
5233 cat >conftest.$ac_ext <<_ACEOF
5236 cat confdefs.h >>conftest.$ac_ext
5237 cat >>conftest.$ac_ext <<_ACEOF
5238 /* end confdefs.h. */
5239 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5241 #define strerror innocuous_strerror
5243 /* System header to define __stub macros and hopefully few prototypes,
5244 which can conflict with char strerror (); below.
5245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5246 <limits.h> exists even on freestanding compilers. */
5249 # include <limits.h>
5251 # include <assert.h>
5256 /* Override any gcc2 internal prototype to avoid an error. */
5261 /* We use char because int might match the return type of a gcc2
5262 builtin and then its argument prototype would still apply. */
5264 /* The GNU C library defines this for functions which it implements
5265 to always fail with ENOSYS. Some functions are actually named
5266 something starting with __ and the normal name is an alias. */
5267 #if defined (__stub_strerror) || defined (__stub___strerror)
5270 char (*f) () = strerror;
5279 return f != strerror;
5284 rm -f conftest.$ac_objext conftest$ac_exeext
5285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5286 (eval $ac_link) 2>conftest.er1
5288 grep -v '^ *+' conftest.er1 >conftest.err
5290 cat conftest.err >&5
5291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5292 (exit $ac_status); } &&
5293 { ac_try='test -z "$ac_c_werror_flag"
5294 || test ! -s conftest.err'
5295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5299 (exit $ac_status); }; } &&
5300 { ac_try='test -s conftest$ac_exeext'
5301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5305 (exit $ac_status); }; }; then
5306 ac_cv_func_strerror=yes
5308 echo "$as_me: failed program was:" >&5
5309 sed 's/^/| /' conftest.$ac_ext >&5
5311 ac_cv_func_strerror=no
5313 rm -f conftest.err conftest.$ac_objext \
5314 conftest$ac_exeext conftest.$ac_ext
5316 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5317 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5318 if test $ac_cv_func_strerror = yes; then
5321 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5322 echo "$as_me: error: \"need strerror function\"" >&2;}
5323 { (exit 1); exit 1; }; }
5329 cat >>confdefs.h <<\_ACEOF
5333 echo "$as_me:$LINENO: checking for strerror" >&5
5334 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5335 if test "${ac_cv_func_strerror+set}" = set; then
5336 echo $ECHO_N "(cached) $ECHO_C" >&6
5338 cat >conftest.$ac_ext <<_ACEOF
5341 cat confdefs.h >>conftest.$ac_ext
5342 cat >>conftest.$ac_ext <<_ACEOF
5343 /* end confdefs.h. */
5344 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5346 #define strerror innocuous_strerror
5348 /* System header to define __stub macros and hopefully few prototypes,
5349 which can conflict with char strerror (); below.
5350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5351 <limits.h> exists even on freestanding compilers. */
5354 # include <limits.h>
5356 # include <assert.h>
5361 /* Override any gcc2 internal prototype to avoid an error. */
5366 /* We use char because int might match the return type of a gcc2
5367 builtin and then its argument prototype would still apply. */
5369 /* The GNU C library defines this for functions which it implements
5370 to always fail with ENOSYS. Some functions are actually named
5371 something starting with __ and the normal name is an alias. */
5372 #if defined (__stub_strerror) || defined (__stub___strerror)
5375 char (*f) () = strerror;
5384 return f != strerror;
5389 rm -f conftest.$ac_objext conftest$ac_exeext
5390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5391 (eval $ac_link) 2>conftest.er1
5393 grep -v '^ *+' conftest.er1 >conftest.err
5395 cat conftest.err >&5
5396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5397 (exit $ac_status); } &&
5398 { ac_try='test -z "$ac_c_werror_flag"
5399 || test ! -s conftest.err'
5400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404 (exit $ac_status); }; } &&
5405 { ac_try='test -s conftest$ac_exeext'
5406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5410 (exit $ac_status); }; }; then
5411 ac_cv_func_strerror=yes
5413 echo "$as_me: failed program was:" >&5
5414 sed 's/^/| /' conftest.$ac_ext >&5
5416 ac_cv_func_strerror=no
5418 rm -f conftest.err conftest.$ac_objext \
5419 conftest$ac_exeext conftest.$ac_ext
5421 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5422 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5423 if test $ac_cv_func_strerror = yes; then
5426 { { echo "$as_me:$LINENO: error: \"need obstack_printf function\"" >&5
5427 echo "$as_me: error: \"need obstack_printf function\"" >&2;}
5428 { (exit 1); exit 1; }; }
5435 ac_config_files="$ac_config_files $ac_output_file"
5436 ac_config_commands="$ac_config_commands default"
5437 cat >confcache <<\_ACEOF
5438 # This file is a shell script that caches the results of configure
5439 # tests run on this system so they can be shared between configure
5440 # scripts and configure runs, see configure's option --config-cache.
5441 # It is not useful on other systems. If it contains results you don't
5442 # want to keep, you may remove or edit it.
5444 # config.status only pays attention to the cache file if you give it
5445 # the --recheck option to rerun configure.
5447 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5448 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5453 # The following way of writing the cache mishandles newlines in values,
5454 # but we know of no workaround that is simple, portable, and efficient.
5455 # So, don't put newlines in cache variables' values.
5456 # Ultrix sh set writes to stderr and can't be redirected directly,
5457 # and sets the high bit in the cache file unless we assign to the vars.
5460 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5462 # `set' does not quote correctly, so add quotes (double-quote
5463 # substitution turns \\\\ into \\, and sed turns \\ into \).
5466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5469 # `set' quotes correctly as required by POSIX, so do not add quotes.
5471 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5478 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5480 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5482 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5483 if test -w $cache_file; then
5484 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5485 cat confcache >$cache_file
5487 echo "not updating unwritable cache $cache_file"
5492 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5493 # Let make expand exec_prefix.
5494 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5496 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5497 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5498 # trailing colons and then remove the whole line if VPATH becomes empty
5499 # (actually we leave an empty line to preserve line numbers).
5500 if test "x$srcdir" = x.; then
5501 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5502 s/:*\$(srcdir):*/:/;
5503 s/:*\${srcdir}:*/:/;
5505 s/^\([^=]*=[ ]*\):*/\1/;
5511 DEFS=-DHAVE_CONFIG_H
5515 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5516 # 1. Remove the extension, and $U if already installed.
5517 ac_i=`echo "$ac_i" |
5518 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5520 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5521 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5525 LTLIBOBJS=$ac_ltlibobjs
5529 : ${CONFIG_STATUS=./config.status}
5530 ac_clean_files_save=$ac_clean_files
5531 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5532 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5533 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5534 cat >$CONFIG_STATUS <<_ACEOF
5536 # Generated by $as_me.
5537 # Run this file to recreate the current configuration.
5538 # Compiler output produced by configure, useful for debugging
5539 # configure, is in config.log if it exists.
5544 SHELL=\${CONFIG_SHELL-$SHELL}
5547 cat >>$CONFIG_STATUS <<\_ACEOF
5548 ## --------------------- ##
5549 ## M4sh Initialization. ##
5550 ## --------------------- ##
5552 # Be Bourne compatible
5553 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5556 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5557 # is contrary to our usage. Disable this feature.
5558 alias -g '${1+"$@"}'='"$@"'
5559 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5562 DUALCASE=1; export DUALCASE # for MKS sh
5564 # Support unset when possible.
5565 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5572 # Work around bugs in pre-3.0 UWIN ksh.
5573 $as_unset ENV MAIL MAILPATH
5580 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5581 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5582 LC_TELEPHONE LC_TIME
5584 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5585 eval $as_var=C; export $as_var
5591 # Required to use basename.
5592 if expr a : '\(a\)' >/dev/null 2>&1; then
5598 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5599 as_basename=basename
5605 # Name of the executable.
5606 as_me=`$as_basename "$0" ||
5607 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5608 X"$0" : 'X\(//\)$' \| \
5609 X"$0" : 'X\(/\)$' \| \
5610 . : '\(.\)' 2>/dev/null ||
5612 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5613 /^X\/\(\/\/\)$/{ s//\1/; q; }
5614 /^X\/\(\/\).*/{ s//\1/; q; }
5618 # PATH needs CR, and LINENO needs CR and PATH.
5619 # Avoid depending upon Character Ranges.
5620 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5621 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5622 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5623 as_cr_digits='0123456789'
5624 as_cr_alnum=$as_cr_Letters$as_cr_digits
5626 # The user is always right.
5627 if test "${PATH_SEPARATOR+set}" != set; then
5628 echo "#! /bin/sh" >conf$$.sh
5629 echo "exit 0" >>conf$$.sh
5631 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5642 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5643 test "x$as_lineno_1" != "x$as_lineno_2" &&
5644 test "x$as_lineno_3" = "x$as_lineno_2" || {
5645 # Find who we are. Look in the path if we contain no path at all
5648 *[\\/]* ) as_myself=$0 ;;
5649 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5653 test -z "$as_dir" && as_dir=.
5654 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5659 # We did not find ourselves, most probably we were run as `sh COMMAND'
5660 # in which case we are not to be found in the path.
5661 if test "x$as_myself" = x; then
5664 if test ! -f "$as_myself"; then
5665 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5666 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5667 { (exit 1); exit 1; }; }
5669 case $CONFIG_SHELL in
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5672 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5675 test -z "$as_dir" && as_dir=.
5676 for as_base in sh bash ksh sh5; do
5679 if ("$as_dir/$as_base" -c '
5682 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5683 test "x$as_lineno_1" != "x$as_lineno_2" &&
5684 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5685 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5686 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5687 CONFIG_SHELL=$as_dir/$as_base
5689 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5697 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5698 # uniformly replaced by the line number. The first 'sed' inserts a
5699 # line-number line before each line; the second 'sed' does the real
5700 # work. The second script uses 'N' to pair each line-number line
5701 # with the numbered line, and appends trailing '-' during
5702 # substitution so that $LINENO is not a special case at line end.
5703 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5704 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5705 sed '=' <$as_myself |
5710 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5713 s,^['$as_cr_digits']*\n,,
5715 chmod +x $as_me.lineno ||
5716 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5717 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5718 { (exit 1); exit 1; }; }
5720 # Don't try to exec as it changes $[0], causing all sort of problems
5721 # (the dirname of $[0] is not the place where we might find the
5722 # original and so on. Autoconf is especially sensible to this).
5724 # Exit status is that of the last command.
5729 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5730 *c*,-n*) ECHO_N= ECHO_C='
5732 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5733 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5736 if expr a : '\(a\)' >/dev/null 2>&1; then
5742 rm -f conf$$ conf$$.exe conf$$.file
5744 if ln -s conf$$.file conf$$ 2>/dev/null; then
5745 # We could just check for DJGPP; but this test a) works b) is more generic
5746 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5747 if test -f conf$$.exe; then
5748 # Don't use ln at all; we don't have any links
5753 elif ln conf$$.file conf$$ 2>/dev/null; then
5758 rm -f conf$$ conf$$.exe conf$$.file
5760 if mkdir -p . 2>/dev/null; then
5763 test -d ./-p && rmdir ./-p
5767 as_executable_p="test -f"
5769 # Sed expression to map a string onto a valid CPP name.
5770 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5772 # Sed expression to map a string onto a valid variable name.
5773 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5777 # We need space, tab and new line, in precisely that order.
5787 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5788 # report actual input values of CONFIG_FILES etc. instead of their
5789 # values after options handling. Logging --version etc. is OK.
5793 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5794 ## Running $as_me. ##
5799 This file was extended by libfirm $as_me 1.3.0, which was
5800 generated by GNU Autoconf 2.59. Invocation command line was
5802 CONFIG_FILES = $CONFIG_FILES
5803 CONFIG_HEADERS = $CONFIG_HEADERS
5804 CONFIG_LINKS = $CONFIG_LINKS
5805 CONFIG_COMMANDS = $CONFIG_COMMANDS
5809 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5813 # Files that config.status was made for.
5814 if test -n "$ac_config_files"; then
5815 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5818 if test -n "$ac_config_headers"; then
5819 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5822 if test -n "$ac_config_links"; then
5823 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5826 if test -n "$ac_config_commands"; then
5827 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5830 cat >>$CONFIG_STATUS <<\_ACEOF
5833 \`$as_me' instantiates files from templates according to the
5834 current configuration.
5836 Usage: $0 [OPTIONS] [FILE]...
5838 -h, --help print this help, then exit
5839 -V, --version print version number, then exit
5840 -q, --quiet do not print progress messages
5841 -d, --debug don't remove temporary files
5842 --recheck update $as_me by reconfiguring in the same conditions
5843 --file=FILE[:TEMPLATE]
5844 instantiate the configuration file FILE
5845 --header=FILE[:TEMPLATE]
5846 instantiate the configuration header FILE
5848 Configuration files:
5851 Configuration headers:
5854 Configuration commands:
5857 Report bugs to <bug-autoconf@gnu.org>."
5860 cat >>$CONFIG_STATUS <<_ACEOF
5862 libfirm config.status 1.3.0
5863 configured by $0, generated by GNU Autoconf 2.59,
5864 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5866 Copyright (C) 2003 Free Software Foundation, Inc.
5867 This config.status script is free software; the Free Software Foundation
5868 gives unlimited permission to copy, distribute and modify it."
5873 cat >>$CONFIG_STATUS <<\_ACEOF
5874 # If no file are specified by the user, then we need to provide default
5875 # value. By we need to know if files were specified by the user.
5881 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5882 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5890 *) # This is not an option, so the user has probably given explicit
5893 ac_need_defaults=false;;
5897 # Handling of the options.
5899 cat >>$CONFIG_STATUS <<\_ACEOF
5900 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5902 --version | --vers* | -V )
5903 echo "$ac_cs_version"; exit 0 ;;
5905 # Conflict between --help and --header
5906 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5907 Try \`$0 --help' for more information." >&5
5908 echo "$as_me: error: ambiguous option: $1
5909 Try \`$0 --help' for more information." >&2;}
5910 { (exit 1); exit 1; }; };;
5911 --help | --hel | -h )
5912 echo "$ac_cs_usage"; exit 0 ;;
5913 --debug | --d* | -d )
5915 --file | --fil | --fi | --f )
5917 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5918 ac_need_defaults=false;;
5919 --header | --heade | --head | --hea )
5921 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5922 ac_need_defaults=false;;
5923 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5924 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5928 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5929 Try \`$0 --help' for more information." >&5
5930 echo "$as_me: error: unrecognized option: $1
5931 Try \`$0 --help' for more information." >&2;}
5932 { (exit 1); exit 1; }; } ;;
5934 *) ac_config_targets="$ac_config_targets $1" ;;
5940 ac_configure_extra_args=
5942 if $ac_cs_silent; then
5944 ac_configure_extra_args="$ac_configure_extra_args --silent"
5948 cat >>$CONFIG_STATUS <<_ACEOF
5949 if \$ac_cs_recheck; then
5950 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5951 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5960 cat >>$CONFIG_STATUS <<\_ACEOF
5961 for ac_config_target in $ac_config_targets
5963 case "$ac_config_target" in
5964 # Handling of arguments.
5965 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5966 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5967 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5968 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5969 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5970 { (exit 1); exit 1; }; };;
5974 # If the user did not use the arguments to specify the items to instantiate,
5975 # then the envvar interface is used. Set only those that are not.
5976 # We use the long form for the default assignment because of an extremely
5977 # bizarre bug on SunOS 4.1.3.
5978 if $ac_need_defaults; then
5979 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5980 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5981 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5984 # Have a temporary directory for convenience. Make it in the build tree
5985 # simply because there is no reason to put it here, and in addition,
5986 # creating and moving files from /tmp can sometimes cause problems.
5987 # Create a temporary directory, and hook for its removal unless debugging.
5990 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5991 trap '{ (exit 1); exit 1; }' 1 2 13 15
5994 # Create a (secure) tmp directory for tmp files.
5997 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5998 test -n "$tmp" && test -d "$tmp"
6001 tmp=./confstat$$-$RANDOM
6002 (umask 077 && mkdir $tmp)
6005 echo "$me: cannot create a temporary directory in ." >&2
6006 { (exit 1); exit 1; }
6011 cat >>$CONFIG_STATUS <<_ACEOF
6014 # CONFIG_FILES section.
6017 # No need to generate the scripts if there are no CONFIG_FILES.
6018 # This happens for instance when ./config.status config.h
6019 if test -n "\$CONFIG_FILES"; then
6020 # Protect against being on the right side of a sed subst in config.status.
6021 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6022 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6023 s,@SHELL@,$SHELL,;t t
6024 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6025 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6026 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6027 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6028 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6029 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6030 s,@exec_prefix@,$exec_prefix,;t t
6031 s,@prefix@,$prefix,;t t
6032 s,@program_transform_name@,$program_transform_name,;t t
6033 s,@bindir@,$bindir,;t t
6034 s,@sbindir@,$sbindir,;t t
6035 s,@libexecdir@,$libexecdir,;t t
6036 s,@datadir@,$datadir,;t t
6037 s,@sysconfdir@,$sysconfdir,;t t
6038 s,@sharedstatedir@,$sharedstatedir,;t t
6039 s,@localstatedir@,$localstatedir,;t t
6040 s,@libdir@,$libdir,;t t
6041 s,@includedir@,$includedir,;t t
6042 s,@oldincludedir@,$oldincludedir,;t t
6043 s,@infodir@,$infodir,;t t
6044 s,@mandir@,$mandir,;t t
6045 s,@build_alias@,$build_alias,;t t
6046 s,@host_alias@,$host_alias,;t t
6047 s,@target_alias@,$target_alias,;t t
6049 s,@ECHO_C@,$ECHO_C,;t t
6050 s,@ECHO_N@,$ECHO_N,;t t
6051 s,@ECHO_T@,$ECHO_T,;t t
6053 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
6054 s,@plugin_subdirs@,$plugin_subdirs,;t t
6055 s,@XML2CONFIG@,$XML2CONFIG,;t t
6056 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
6057 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
6058 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
6059 s,@enable_firm_jni@,$enable_firm_jni,;t t
6060 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
6061 s,@disable_libiberty@,$disable_libiberty,;t t
6062 s,@enable_statistics@,$enable_statistics,;t t
6063 s,@enable_libcore@,$enable_libcore,;t t
6064 s,@enable_ilp@,$enable_ilp,;t t
6065 s,@enable_jvm@,$enable_jvm,;t t
6066 s,@enable_wchar_support@,$enable_wchar_support,;t t
6067 s,@enable_external_effects@,$enable_external_effects,;t t
6069 s,@CFLAGS@,$CFLAGS,;t t
6070 s,@LDFLAGS@,$LDFLAGS,;t t
6071 s,@CPPFLAGS@,$CPPFLAGS,;t t
6072 s,@ac_ct_CC@,$ac_ct_CC,;t t
6073 s,@EXEEXT@,$EXEEXT,;t t
6074 s,@OBJEXT@,$OBJEXT,;t t
6077 s,@ac_ct_LD@,$ac_ct_LD,;t t
6078 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
6081 s,@RANLIB@,$RANLIB,;t t
6082 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6083 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6084 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6085 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6087 s,@DOXYGEN@,$DOXYGEN,;t t
6089 s,@JAVAC@,$JAVAC,;t t
6090 s,@JAVAH@,$JAVAH,;t t
6092 s,@EGREP@,$EGREP,;t t
6093 s,@LIBOBJS@,$LIBOBJS,;t t
6094 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6099 cat >>$CONFIG_STATUS <<\_ACEOF
6100 # Split the substitutions into bite-sized pieces for seds with
6101 # small command number limits, like on Digital OSF/1 and HP-UX.
6103 ac_sed_frag=1 # Number of current file.
6104 ac_beg=1 # First line for current file.
6105 ac_end=$ac_max_sed_lines # Line after last line for current file.
6108 while $ac_more_lines; do
6109 if test $ac_beg -gt 1; then
6110 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6112 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6114 if test ! -s $tmp/subs.frag; then
6117 # The purpose of the label and of the branching condition is to
6118 # speed up the sed processing (if there are no `@' at all, there
6119 # is no need to browse any of the substitutions).
6120 # These are the two extra sed commands mentioned above.
6122 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6123 if test -z "$ac_sed_cmds"; then
6124 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6126 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6128 ac_sed_frag=`expr $ac_sed_frag + 1`
6130 ac_end=`expr $ac_end + $ac_max_sed_lines`
6133 if test -z "$ac_sed_cmds"; then
6136 fi # test -n "$CONFIG_FILES"
6139 cat >>$CONFIG_STATUS <<\_ACEOF
6140 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6141 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6143 - | *:- | *:-:* ) # input from stdin
6145 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6146 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6147 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6148 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6149 * ) ac_file_in=$ac_file.in ;;
6152 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6153 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6154 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6155 X"$ac_file" : 'X\(//\)[^/]' \| \
6156 X"$ac_file" : 'X\(//\)$' \| \
6157 X"$ac_file" : 'X\(/\)' \| \
6158 . : '\(.\)' 2>/dev/null ||
6160 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6161 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6162 /^X\(\/\/\)$/{ s//\1/; q; }
6163 /^X\(\/\).*/{ s//\1/; q; }
6165 { if $as_mkdir_p; then
6170 while test ! -d "$as_dir"; do
6171 as_dirs="$as_dir $as_dirs"
6172 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6173 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6174 X"$as_dir" : 'X\(//\)[^/]' \| \
6175 X"$as_dir" : 'X\(//\)$' \| \
6176 X"$as_dir" : 'X\(/\)' \| \
6177 . : '\(.\)' 2>/dev/null ||
6179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6181 /^X\(\/\/\)$/{ s//\1/; q; }
6182 /^X\(\/\).*/{ s//\1/; q; }
6185 test ! -n "$as_dirs" || mkdir $as_dirs
6186 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6187 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6188 { (exit 1); exit 1; }; }; }
6192 if test "$ac_dir" != .; then
6193 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6194 # A "../" for each directory in $ac_dir_suffix.
6195 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6197 ac_dir_suffix= ac_top_builddir=
6201 .) # No --srcdir option. We are building in place.
6203 if test -z "$ac_top_builddir"; then
6206 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6208 [\\/]* | ?:[\\/]* ) # Absolute path.
6209 ac_srcdir=$srcdir$ac_dir_suffix;
6210 ac_top_srcdir=$srcdir ;;
6212 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6213 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6216 # Do not use `cd foo && pwd` to compute absolute paths, because
6217 # the directories may not exist.
6219 .) ac_abs_builddir="$ac_dir";;
6222 .) ac_abs_builddir=`pwd`;;
6223 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6224 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6227 case $ac_abs_builddir in
6228 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6230 case ${ac_top_builddir}. in
6231 .) ac_abs_top_builddir=$ac_abs_builddir;;
6232 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6233 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6236 case $ac_abs_builddir in
6237 .) ac_abs_srcdir=$ac_srcdir;;
6240 .) ac_abs_srcdir=$ac_abs_builddir;;
6241 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6242 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6245 case $ac_abs_builddir in
6246 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6248 case $ac_top_srcdir in
6249 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6250 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6251 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6257 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6258 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6261 if test x"$ac_file" != x-; then
6262 { echo "$as_me:$LINENO: creating $ac_file" >&5
6263 echo "$as_me: creating $ac_file" >&6;}
6266 # Let's still pretend it is `configure' which instantiates (i.e., don't
6267 # use $as_me), people would be surprised to read:
6268 # /* config.h. Generated by config.status. */
6269 if test x"$ac_file" = x-; then
6272 configure_input="$ac_file. "
6274 configure_input=$configure_input"Generated from `echo $ac_file_in |
6275 sed 's,.*/,,'` by configure."
6277 # First look for the input files in the build tree, otherwise in the
6279 ac_file_inputs=`IFS=:
6280 for f in $ac_file_in; do
6282 -) echo $tmp/stdin ;;
6284 # Absolute (can't be DOS-style, as IFS=:)
6285 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6286 echo "$as_me: error: cannot find input file: $f" >&2;}
6287 { (exit 1); exit 1; }; }
6290 if test -f "$f"; then
6293 elif test -f "$srcdir/$f"; then
6298 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6299 echo "$as_me: error: cannot find input file: $f" >&2;}
6300 { (exit 1); exit 1; }; }
6303 done` || { (exit 1); exit 1; }
6305 cat >>$CONFIG_STATUS <<_ACEOF
6309 cat >>$CONFIG_STATUS <<\_ACEOF
6311 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6312 s,@configure_input@,$configure_input,;t t
6313 s,@srcdir@,$ac_srcdir,;t t
6314 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6315 s,@top_srcdir@,$ac_top_srcdir,;t t
6316 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6317 s,@builddir@,$ac_builddir,;t t
6318 s,@abs_builddir@,$ac_abs_builddir,;t t
6319 s,@top_builddir@,$ac_top_builddir,;t t
6320 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6321 s,@INSTALL@,$ac_INSTALL,;t t
6322 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6324 if test x"$ac_file" != x-; then
6325 mv $tmp/out $ac_file
6333 cat >>$CONFIG_STATUS <<\_ACEOF
6336 # CONFIG_HEADER section.
6339 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6340 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6342 # ac_d sets the value in "#define NAME VALUE" lines.
6343 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6344 ac_dB='[ ].*$,\1#\2'
6347 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6348 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6349 ac_uB='$,\1#\2define\3'
6353 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6354 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6356 - | *:- | *:-:* ) # input from stdin
6358 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6359 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6360 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6361 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6362 * ) ac_file_in=$ac_file.in ;;
6365 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6366 echo "$as_me: creating $ac_file" >&6;}
6368 # First look for the input files in the build tree, otherwise in the
6370 ac_file_inputs=`IFS=:
6371 for f in $ac_file_in; do
6373 -) echo $tmp/stdin ;;
6375 # Absolute (can't be DOS-style, as IFS=:)
6376 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6377 echo "$as_me: error: cannot find input file: $f" >&2;}
6378 { (exit 1); exit 1; }; }
6379 # Do quote $f, to prevent DOS paths from being IFS'd.
6382 if test -f "$f"; then
6385 elif test -f "$srcdir/$f"; then
6390 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6391 echo "$as_me: error: cannot find input file: $f" >&2;}
6392 { (exit 1); exit 1; }; }
6395 done` || { (exit 1); exit 1; }
6396 # Remove the trailing spaces.
6397 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6401 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6402 # `conftest.undefs', that substitutes the proper values into
6403 # config.h.in to produce config.h. The first handles `#define'
6404 # templates, and the second `#undef' templates.
6405 # And first: Protect against being on the right side of a sed subst in
6406 # config.status. Protect against being in an unquoted here document
6408 rm -f conftest.defines conftest.undefs
6409 # Using a here document instead of a string reduces the quoting nightmare.
6410 # Putting comments in sed scripts is not portable.
6412 # `end' is used to avoid that the second main sed command (meant for
6413 # 0-ary CPP macros) applies to n-ary macro definitions.
6414 # See the Autoconf documentation for `clear'.
6415 cat >confdef2sed.sed <<\_ACEOF
6420 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6422 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6425 # If some macros were called several times there might be several times
6426 # the same #defines, which is useless. Nevertheless, we may not want to
6427 # sort them, since we want the *last* AC-DEFINE to be honored.
6428 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6429 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6430 rm -f confdef2sed.sed
6432 # This sed command replaces #undef with comments. This is necessary, for
6433 # example, in the case of _POSIX_SOURCE, which is predefined and required
6434 # on some systems where configure will not decide to define it.
6435 cat >>conftest.undefs <<\_ACEOF
6436 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6439 # Break up conftest.defines because some shells have a limit on the size
6440 # of here documents, and old seds have small limits too (100 cmds).
6441 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6442 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6443 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6444 echo ' :' >>$CONFIG_STATUS
6446 while grep . conftest.defines >/dev/null
6448 # Write a limited-size here document to $tmp/defines.sed.
6449 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6450 # Speed up: don't consider the non `#define' lines.
6451 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6452 # Work around the forget-to-reset-the-flag bug.
6453 echo 't clr' >>$CONFIG_STATUS
6454 echo ': clr' >>$CONFIG_STATUS
6455 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6457 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6461 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6462 rm -f conftest.defines
6463 mv conftest.tail conftest.defines
6465 rm -f conftest.defines
6466 echo ' fi # grep' >>$CONFIG_STATUS
6467 echo >>$CONFIG_STATUS
6469 # Break up conftest.undefs because some shells have a limit on the size
6470 # of here documents, and old seds have small limits too (100 cmds).
6471 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6473 while grep . conftest.undefs >/dev/null
6475 # Write a limited-size here document to $tmp/undefs.sed.
6476 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6477 # Speed up: don't consider the non `#undef'
6478 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6479 # Work around the forget-to-reset-the-flag bug.
6480 echo 't clr' >>$CONFIG_STATUS
6481 echo ': clr' >>$CONFIG_STATUS
6482 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6484 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6488 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6489 rm -f conftest.undefs
6490 mv conftest.tail conftest.undefs
6492 rm -f conftest.undefs
6494 cat >>$CONFIG_STATUS <<\_ACEOF
6495 # Let's still pretend it is `configure' which instantiates (i.e., don't
6496 # use $as_me), people would be surprised to read:
6497 # /* config.h. Generated by config.status. */
6498 if test x"$ac_file" = x-; then
6499 echo "/* Generated by configure. */" >$tmp/config.h
6501 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6503 cat $tmp/in >>$tmp/config.h
6505 if test x"$ac_file" != x-; then
6506 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6507 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6508 echo "$as_me: $ac_file is unchanged" >&6;}
6510 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6511 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6512 X"$ac_file" : 'X\(//\)[^/]' \| \
6513 X"$ac_file" : 'X\(//\)$' \| \
6514 X"$ac_file" : 'X\(/\)' \| \
6515 . : '\(.\)' 2>/dev/null ||
6517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6518 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6519 /^X\(\/\/\)$/{ s//\1/; q; }
6520 /^X\(\/\).*/{ s//\1/; q; }
6522 { if $as_mkdir_p; then
6527 while test ! -d "$as_dir"; do
6528 as_dirs="$as_dir $as_dirs"
6529 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6530 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6531 X"$as_dir" : 'X\(//\)[^/]' \| \
6532 X"$as_dir" : 'X\(//\)$' \| \
6533 X"$as_dir" : 'X\(/\)' \| \
6534 . : '\(.\)' 2>/dev/null ||
6536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6537 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6538 /^X\(\/\/\)$/{ s//\1/; q; }
6539 /^X\(\/\).*/{ s//\1/; q; }
6542 test ! -n "$as_dirs" || mkdir $as_dirs
6543 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6544 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6545 { (exit 1); exit 1; }; }; }
6548 mv $tmp/config.h $ac_file
6556 cat >>$CONFIG_STATUS <<\_ACEOF
6559 # CONFIG_COMMANDS section.
6561 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6562 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6563 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6564 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6565 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6566 X"$ac_dest" : 'X\(//\)[^/]' \| \
6567 X"$ac_dest" : 'X\(//\)$' \| \
6568 X"$ac_dest" : 'X\(/\)' \| \
6569 . : '\(.\)' 2>/dev/null ||
6571 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6572 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6573 /^X\(\/\/\)$/{ s//\1/; q; }
6574 /^X\(\/\).*/{ s//\1/; q; }
6576 { if $as_mkdir_p; then
6581 while test ! -d "$as_dir"; do
6582 as_dirs="$as_dir $as_dirs"
6583 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6584 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6585 X"$as_dir" : 'X\(//\)[^/]' \| \
6586 X"$as_dir" : 'X\(//\)$' \| \
6587 X"$as_dir" : 'X\(/\)' \| \
6588 . : '\(.\)' 2>/dev/null ||
6590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6591 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6592 /^X\(\/\/\)$/{ s//\1/; q; }
6593 /^X\(\/\).*/{ s//\1/; q; }
6596 test ! -n "$as_dirs" || mkdir $as_dirs
6597 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6598 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6599 { (exit 1); exit 1; }; }; }
6603 if test "$ac_dir" != .; then
6604 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6605 # A "../" for each directory in $ac_dir_suffix.
6606 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6608 ac_dir_suffix= ac_top_builddir=
6612 .) # No --srcdir option. We are building in place.
6614 if test -z "$ac_top_builddir"; then
6617 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6619 [\\/]* | ?:[\\/]* ) # Absolute path.
6620 ac_srcdir=$srcdir$ac_dir_suffix;
6621 ac_top_srcdir=$srcdir ;;
6623 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6624 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6627 # Do not use `cd foo && pwd` to compute absolute paths, because
6628 # the directories may not exist.
6630 .) ac_abs_builddir="$ac_dir";;
6633 .) ac_abs_builddir=`pwd`;;
6634 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6635 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6638 case $ac_abs_builddir in
6639 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6641 case ${ac_top_builddir}. in
6642 .) ac_abs_top_builddir=$ac_abs_builddir;;
6643 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6644 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6647 case $ac_abs_builddir in
6648 .) ac_abs_srcdir=$ac_srcdir;;
6651 .) ac_abs_srcdir=$ac_abs_builddir;;
6652 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6653 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6656 case $ac_abs_builddir in
6657 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6659 case $ac_top_srcdir in
6660 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6661 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6662 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6667 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6668 echo "$as_me: executing $ac_dest commands" >&6;}
6670 default ) touch stamp-h ;;
6675 cat >>$CONFIG_STATUS <<\_ACEOF
6677 { (exit 0); exit 0; }
6679 chmod +x $CONFIG_STATUS
6680 ac_clean_files=$ac_clean_files_save
6683 # configure is writing to config.log, and then calls config.status.
6684 # config.status does its own redirection, appending to config.log.
6685 # Unfortunately, on DOS this fails, as config.log is still kept open
6686 # by configure, so config.status won't be able to write to it; its
6687 # output is simply discarded. So we exec the FD to /dev/null,
6688 # effectively closing config.log, so it can be properly (re)opened and
6689 # appended to by config.status. When coming back to configure, we
6690 # need to make the FD available again.
6691 if test "$no_create" != yes; then
6693 ac_config_status_args=
6694 test "$silent" = yes &&
6695 ac_config_status_args="$ac_config_status_args --quiet"
6697 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6699 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6700 # would make configure fail if this is the last instruction.
6701 $ac_cs_success || { (exit 1); exit 1; }
6705 for i in $plugin_subdirs
6707 suffix=`echo $i | tr /a-z _A-Z`
6708 echo "/* enabled plugin: $i */" >> config.h
6709 echo "#define PLUGIN_$suffix 1" >> config.h
6712 $AWK -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h