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/debug/Makefile \
1327 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1328 ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
1329 ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
1330 ir/arch/Makefile ir/lower/Makefile \
1331 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1334 ac_config_headers="$ac_config_headers config.h"
1337 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1340 CONF_DIR_NAME=`dirname $0`
1343 echo "$as_me:$LINENO: checking for external libfirm plugins" >&5
1344 echo $ECHO_N "checking for external libfirm plugins... $ECHO_C" >&6
1346 # Check whether --with-plugins or --without-plugins was given.
1347 if test "${with_plugins+set}" = set; then
1348 withval="$with_plugins"
1350 plugin_subdirs=$withval
1352 for i in $withval ; do
1353 plugin_files="$i/Makefile $plugin_files"
1355 ac_output_file="$ac_output_file $plugin_files"
1364 if test "$plugin_subdirs" == ""; then
1365 echo "$as_me:$LINENO: result: disabled" >&5
1366 echo "${ECHO_T}disabled" >&6
1368 echo "$as_me:$LINENO: result: $plugin_subdirs" >&5
1369 echo "${ECHO_T}$plugin_subdirs" >&6
1373 # Check whether --with-includedir or --without-includedir was given.
1374 if test "${with_includedir+set}" = set; then
1375 withval="$with_includedir"
1376 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1380 # Check whether --with-libdir or --without-libdir was given.
1381 if test "${with_libdir+set}" = set; then
1382 withval="$with_libdir"
1383 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1387 # Extract the first word of "xml2-config", so it can be a program name with args.
1388 set dummy xml2-config; ac_word=$2
1389 echo "$as_me:$LINENO: checking for $ac_word" >&5
1390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1391 if test "${ac_cv_prog_XML2CONFIG+set}" = set; then
1392 echo $ECHO_N "(cached) $ECHO_C" >&6
1394 if test -n "$XML2CONFIG"; then
1395 ac_cv_prog_XML2CONFIG="$XML2CONFIG" # Let the user override the test.
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1401 test -z "$as_dir" && as_dir=.
1402 for ac_exec_ext in '' $ac_executable_extensions; do
1403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1404 ac_cv_prog_XML2CONFIG=""xml2-config""
1405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1411 test -z "$ac_cv_prog_XML2CONFIG" && ac_cv_prog_XML2CONFIG=""echo""
1414 XML2CONFIG=$ac_cv_prog_XML2CONFIG
1415 if test -n "$XML2CONFIG"; then
1416 echo "$as_me:$LINENO: result: $XML2CONFIG" >&5
1417 echo "${ECHO_T}$XML2CONFIG" >&6
1419 echo "$as_me:$LINENO: result: no" >&5
1420 echo "${ECHO_T}no" >&6
1423 if test "$XML2CONFIG" != "xml2-config"; then
1424 { { echo "$as_me:$LINENO: error: xml2-config for detecting libxml2 not found" >&5
1425 echo "$as_me: error: xml2-config for detecting libxml2 not found" >&2;}
1426 { (exit 1); exit 1; }; }
1429 LDFLAGS=$LDFLAGS" -L/usr/lib `$XML2CONFIG --libs`";
1430 CPPFLAGS=$CPPFLAGS" `$XML2CONFIG --cflags`";
1432 # Check whether --enable-debug or --disable-debug was given.
1433 if test "${enable_debug+set}" = set; then
1434 enableval="$enable_debug"
1435 if test "$enableval" = yes; then
1436 cat >>confdefs.h <<\_ACEOF
1437 #define DEBUG_libfirm 1
1441 cat >>confdefs.h <<\_ACEOF
1449 # Check whether --enable-inlining or --disable-inlining was given.
1450 if test "${enable_inlining+set}" = set; then
1451 enableval="$enable_inlining"
1452 if test "$enableval" = yes; then
1453 cat >>confdefs.h <<\_ACEOF
1454 #define USE_INLINING 1
1459 cat >>confdefs.h <<\_ACEOF
1460 #define USE_INLINING 1
1466 # Check whether --enable-profile or --disable-profile was given.
1467 if test "${enable_profile+set}" = set; then
1468 enableval="$enable_profile"
1469 if test "$enableval"=yes; then
1470 enable_profile_libfirm=yes
1473 enable_profile_libfirm=no
1477 # Check whether --enable-autodoc or --disable-autodoc was given.
1478 if test "${enable_autodoc+set}" = set; then
1479 enableval="$enable_autodoc"
1480 if test "$enableval"=yes; then
1481 enable_auto_documentation=yes
1484 enable_auto_documentation=no
1489 # Check whether --enable-firmjni or --disable-firmjni was given.
1490 if test "${enable_firmjni+set}" = set; then
1491 enableval="$enable_firmjni"
1492 if test "$enableval"=yes; then
1500 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1501 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1502 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1503 if test "${enable_heapanalysis+set}" = set; then
1504 enableval="$enable_heapanalysis"
1505 enable_heapanalysis=$enableval
1507 enable_heapanalysis="no"
1509 if test "$enable_heapanalysis" = "no"; then
1510 echo "$as_me:$LINENO: result: disabled" >&5
1511 echo "${ECHO_T}disabled" >&6
1513 cat >>confdefs.h <<\_ACEOF
1514 #define DO_HEAPANALYSIS 1
1517 echo "$as_me:$LINENO: result: enabled" >&5
1518 echo "${ECHO_T}enabled" >&6
1522 # Check whether --enable-libiberty or --disable-libiberty was given.
1523 if test "${enable_libiberty+set}" = set; then
1524 enableval="$enable_libiberty"
1525 if test "$enableval"=yes; then
1526 disable_libiberty=yes
1529 disable_libiberty=no
1533 # Check whether --enable-hooks or --disable-hooks was given.
1534 if test "${enable_hooks+set}" = set; then
1535 enableval="$enable_hooks"
1536 if test "$enableval" = yes; then
1537 cat >>confdefs.h <<\_ACEOF
1538 #define FIRM_ENABLE_HOOKS 1
1543 cat >>confdefs.h <<\_ACEOF
1544 #define FIRM_ENABLE_HOOKS 1
1550 # Check whether --enable-statistics or --disable-statistics was given.
1551 if test "${enable_statistics+set}" = set; then
1552 enableval="$enable_statistics"
1553 if test "$enableval"=yes; then
1554 cat >>confdefs.h <<\_ACEOF
1555 #define FIRM_STATISTICS 1
1562 # Check whether --enable-libcore or --disable-libcore was given.
1563 if test "${enable_libcore+set}" = set; then
1564 enableval="$enable_libcore"
1565 if test "$enableval"=yes; then
1566 cat >>confdefs.h <<\_ACEOF
1567 #define WITH_LIBCORE 1
1574 echo "$as_me:$LINENO: checking for ilp solver support" >&5
1575 echo $ECHO_N "checking for ilp solver support... $ECHO_C" >&6
1576 # Check whether --enable-ilp or --disable-ilp was given.
1577 if test "${enable_ilp+set}" = set; then
1578 enableval="$enable_ilp"
1579 if test "$enableval"=yes; then
1580 cat >>confdefs.h <<\_ACEOF
1587 if test "$enable_ilp" == yes; then
1588 echo "$as_me:$LINENO: result: enabled" >&5
1589 echo "${ECHO_T}enabled" >&6
1591 echo "$as_me:$LINENO: result: disabled" >&5
1592 echo "${ECHO_T}disabled" >&6
1595 echo "$as_me:$LINENO: checking for jvm support" >&5
1596 echo $ECHO_N "checking for jvm support... $ECHO_C" >&6
1597 # Check whether --enable-jvm or --disable-jvm was given.
1598 if test "${enable_jvm+set}" = set; then
1599 enableval="$enable_jvm"
1600 if test "$enableval"=yes; then
1601 cat >>confdefs.h <<\_ACEOF
1608 if test "$enable_jvm" == yes; then
1609 echo "$as_me:$LINENO: result: enabled" >&5
1610 echo "${ECHO_T}enabled" >&6
1612 echo "$as_me:$LINENO: result: disabled" >&5
1613 echo "${ECHO_T}disabled" >&6
1617 # Check whether --enable-wchar_support or --disable-wchar_support was given.
1618 if test "${enable_wchar_support+set}" = set; then
1619 enableval="$enable_wchar_support"
1620 if test "$enableval"=yes; then
1621 cat >>confdefs.h <<\_ACEOF
1622 #define FIRM_ENABLE_WCHAR 1
1630 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1631 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1632 # Check whether --enable-external-effects or --disable-external-effects was given.
1633 if test "${enable_external_effects+set}" = set; then
1634 enableval="$enable_external_effects"
1635 if test "$enableval"="no"; then
1636 enable_external_effects=no
1639 enable_external_effects=yes
1642 if test "$enable_external_effects" == no; then
1643 echo "$as_me:$LINENO: result: disabled" >&5
1644 echo "${ECHO_T}disabled" >&6
1646 echo "$as_me:$LINENO: result: enabled" >&5
1647 echo "${ECHO_T}enabled" >&6
1652 ac_cpp='$CPP $CPPFLAGS'
1653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1656 if test -n "$ac_tool_prefix"; then
1657 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1658 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1659 echo "$as_me:$LINENO: checking for $ac_word" >&5
1660 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1661 if test "${ac_cv_prog_CC+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1664 if test -n "$CC"; then
1665 ac_cv_prog_CC="$CC" # Let the user override the test.
1667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1671 test -z "$as_dir" && as_dir=.
1672 for ac_exec_ext in '' $ac_executable_extensions; do
1673 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1674 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1675 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1684 if test -n "$CC"; then
1685 echo "$as_me:$LINENO: result: $CC" >&5
1686 echo "${ECHO_T}$CC" >&6
1688 echo "$as_me:$LINENO: result: no" >&5
1689 echo "${ECHO_T}no" >&6
1693 if test -z "$ac_cv_prog_CC"; then
1695 # Extract the first word of "gcc", so it can be a program name with args.
1696 set dummy gcc; ac_word=$2
1697 echo "$as_me:$LINENO: checking for $ac_word" >&5
1698 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1699 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1700 echo $ECHO_N "(cached) $ECHO_C" >&6
1702 if test -n "$ac_ct_CC"; then
1703 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1705 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1709 test -z "$as_dir" && as_dir=.
1710 for ac_exec_ext in '' $ac_executable_extensions; do
1711 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1712 ac_cv_prog_ac_ct_CC="gcc"
1713 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1721 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1722 if test -n "$ac_ct_CC"; then
1723 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1724 echo "${ECHO_T}$ac_ct_CC" >&6
1726 echo "$as_me:$LINENO: result: no" >&5
1727 echo "${ECHO_T}no" >&6
1735 if test -z "$CC"; then
1736 if test -n "$ac_tool_prefix"; then
1737 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1738 set dummy ${ac_tool_prefix}cc; ac_word=$2
1739 echo "$as_me:$LINENO: checking for $ac_word" >&5
1740 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1741 if test "${ac_cv_prog_CC+set}" = set; then
1742 echo $ECHO_N "(cached) $ECHO_C" >&6
1744 if test -n "$CC"; then
1745 ac_cv_prog_CC="$CC" # Let the user override the test.
1747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1751 test -z "$as_dir" && as_dir=.
1752 for ac_exec_ext in '' $ac_executable_extensions; do
1753 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1754 ac_cv_prog_CC="${ac_tool_prefix}cc"
1755 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1764 if test -n "$CC"; then
1765 echo "$as_me:$LINENO: result: $CC" >&5
1766 echo "${ECHO_T}$CC" >&6
1768 echo "$as_me:$LINENO: result: no" >&5
1769 echo "${ECHO_T}no" >&6
1773 if test -z "$ac_cv_prog_CC"; then
1775 # Extract the first word of "cc", so it can be a program name with args.
1776 set dummy cc; ac_word=$2
1777 echo "$as_me:$LINENO: checking for $ac_word" >&5
1778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1779 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1780 echo $ECHO_N "(cached) $ECHO_C" >&6
1782 if test -n "$ac_ct_CC"; then
1783 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1789 test -z "$as_dir" && as_dir=.
1790 for ac_exec_ext in '' $ac_executable_extensions; do
1791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1792 ac_cv_prog_ac_ct_CC="cc"
1793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1801 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1802 if test -n "$ac_ct_CC"; then
1803 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1804 echo "${ECHO_T}$ac_ct_CC" >&6
1806 echo "$as_me:$LINENO: result: no" >&5
1807 echo "${ECHO_T}no" >&6
1816 if test -z "$CC"; then
1817 # Extract the first word of "cc", so it can be a program name with args.
1818 set dummy cc; ac_word=$2
1819 echo "$as_me:$LINENO: checking for $ac_word" >&5
1820 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1821 if test "${ac_cv_prog_CC+set}" = set; then
1822 echo $ECHO_N "(cached) $ECHO_C" >&6
1824 if test -n "$CC"; then
1825 ac_cv_prog_CC="$CC" # Let the user override the test.
1828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1832 test -z "$as_dir" && as_dir=.
1833 for ac_exec_ext in '' $ac_executable_extensions; do
1834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1835 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1836 ac_prog_rejected=yes
1840 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1846 if test $ac_prog_rejected = yes; then
1847 # We found a bogon in the path, so make sure we never use it.
1848 set dummy $ac_cv_prog_CC
1850 if test $# != 0; then
1851 # We chose a different compiler from the bogus one.
1852 # However, it has the same basename, so the bogon will be chosen
1853 # first if we set CC to just the basename; use the full file name.
1855 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1861 if test -n "$CC"; then
1862 echo "$as_me:$LINENO: result: $CC" >&5
1863 echo "${ECHO_T}$CC" >&6
1865 echo "$as_me:$LINENO: result: no" >&5
1866 echo "${ECHO_T}no" >&6
1870 if test -z "$CC"; then
1871 if test -n "$ac_tool_prefix"; then
1874 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1875 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1876 echo "$as_me:$LINENO: checking for $ac_word" >&5
1877 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1878 if test "${ac_cv_prog_CC+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 if test -n "$CC"; then
1882 ac_cv_prog_CC="$CC" # Let the user override the test.
1884 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1888 test -z "$as_dir" && as_dir=.
1889 for ac_exec_ext in '' $ac_executable_extensions; do
1890 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1891 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1892 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 if test -n "$CC"; then
1902 echo "$as_me:$LINENO: result: $CC" >&5
1903 echo "${ECHO_T}$CC" >&6
1905 echo "$as_me:$LINENO: result: no" >&5
1906 echo "${ECHO_T}no" >&6
1909 test -n "$CC" && break
1912 if test -z "$CC"; then
1916 # Extract the first word of "$ac_prog", so it can be a program name with args.
1917 set dummy $ac_prog; ac_word=$2
1918 echo "$as_me:$LINENO: checking for $ac_word" >&5
1919 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1920 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1921 echo $ECHO_N "(cached) $ECHO_C" >&6
1923 if test -n "$ac_ct_CC"; then
1924 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1930 test -z "$as_dir" && as_dir=.
1931 for ac_exec_ext in '' $ac_executable_extensions; do
1932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1933 ac_cv_prog_ac_ct_CC="$ac_prog"
1934 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1942 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1943 if test -n "$ac_ct_CC"; then
1944 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1945 echo "${ECHO_T}$ac_ct_CC" >&6
1947 echo "$as_me:$LINENO: result: no" >&5
1948 echo "${ECHO_T}no" >&6
1951 test -n "$ac_ct_CC" && break
1960 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1961 See \`config.log' for more details." >&5
1962 echo "$as_me: error: no acceptable C compiler found in \$PATH
1963 See \`config.log' for more details." >&2;}
1964 { (exit 1); exit 1; }; }
1966 # Provide some information about the compiler.
1967 echo "$as_me:$LINENO:" \
1968 "checking for C compiler version" >&5
1969 ac_compiler=`set X $ac_compile; echo $2`
1970 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1971 (eval $ac_compiler --version </dev/null >&5) 2>&5
1973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1974 (exit $ac_status); }
1975 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1976 (eval $ac_compiler -v </dev/null >&5) 2>&5
1978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1979 (exit $ac_status); }
1980 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1981 (eval $ac_compiler -V </dev/null >&5) 2>&5
1983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1984 (exit $ac_status); }
1986 cat >conftest.$ac_ext <<_ACEOF
1989 cat confdefs.h >>conftest.$ac_ext
1990 cat >>conftest.$ac_ext <<_ACEOF
1991 /* end confdefs.h. */
2001 ac_clean_files_save=$ac_clean_files
2002 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2003 # Try to create an executable without -o first, disregard a.out.
2004 # It will help us diagnose broken compilers, and finding out an intuition
2006 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2007 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2008 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2009 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2010 (eval $ac_link_default) 2>&5
2012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2013 (exit $ac_status); }; then
2014 # Find the output, starting from the most likely. This scheme is
2015 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2018 # Be careful to initialize this variable, since it used to be cached.
2019 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2021 # b.out is created by i960 compilers.
2022 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2024 test -f "$ac_file" || continue
2026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2029 # This is the source file.
2032 # We found the default executable, but exeext='' is most
2036 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2037 # FIXME: I believe we export ac_cv_exeext for Libtool,
2038 # but it would be cool to find out if it's true. Does anybody
2039 # maintain Libtool? --akim.
2047 echo "$as_me: failed program was:" >&5
2048 sed 's/^/| /' conftest.$ac_ext >&5
2050 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2051 See \`config.log' for more details." >&5
2052 echo "$as_me: error: C compiler cannot create executables
2053 See \`config.log' for more details." >&2;}
2054 { (exit 77); exit 77; }; }
2057 ac_exeext=$ac_cv_exeext
2058 echo "$as_me:$LINENO: result: $ac_file" >&5
2059 echo "${ECHO_T}$ac_file" >&6
2061 # Check the compiler produces executables we can run. If not, either
2062 # the compiler is broken, or we cross compile.
2063 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2064 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2065 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2066 # If not cross compiling, check that we can run a simple program.
2067 if test "$cross_compiling" != yes; then
2068 if { ac_try='./$ac_file'
2069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2073 (exit $ac_status); }; }; then
2076 if test "$cross_compiling" = maybe; then
2079 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2080 If you meant to cross compile, use \`--host'.
2081 See \`config.log' for more details." >&5
2082 echo "$as_me: error: cannot run C compiled programs.
2083 If you meant to cross compile, use \`--host'.
2084 See \`config.log' for more details." >&2;}
2085 { (exit 1); exit 1; }; }
2089 echo "$as_me:$LINENO: result: yes" >&5
2090 echo "${ECHO_T}yes" >&6
2092 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2093 ac_clean_files=$ac_clean_files_save
2094 # Check the compiler produces executables we can run. If not, either
2095 # the compiler is broken, or we cross compile.
2096 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2097 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2098 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2099 echo "${ECHO_T}$cross_compiling" >&6
2101 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2102 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2104 (eval $ac_link) 2>&5
2106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2107 (exit $ac_status); }; then
2108 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2109 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2110 # work properly (i.e., refer to `conftest.exe'), while it won't with
2112 for ac_file in conftest.exe conftest conftest.*; do
2113 test -f "$ac_file" || continue
2115 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2116 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2123 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2124 See \`config.log' for more details." >&5
2125 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2126 See \`config.log' for more details." >&2;}
2127 { (exit 1); exit 1; }; }
2130 rm -f conftest$ac_cv_exeext
2131 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2132 echo "${ECHO_T}$ac_cv_exeext" >&6
2134 rm -f conftest.$ac_ext
2135 EXEEXT=$ac_cv_exeext
2137 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2138 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2139 if test "${ac_cv_objext+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2142 cat >conftest.$ac_ext <<_ACEOF
2145 cat confdefs.h >>conftest.$ac_ext
2146 cat >>conftest.$ac_ext <<_ACEOF
2147 /* end confdefs.h. */
2157 rm -f conftest.o conftest.obj
2158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2159 (eval $ac_compile) 2>&5
2161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2162 (exit $ac_status); }; then
2163 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2165 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2166 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2171 echo "$as_me: failed program was:" >&5
2172 sed 's/^/| /' conftest.$ac_ext >&5
2174 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2175 See \`config.log' for more details." >&5
2176 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2177 See \`config.log' for more details." >&2;}
2178 { (exit 1); exit 1; }; }
2181 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2183 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2184 echo "${ECHO_T}$ac_cv_objext" >&6
2185 OBJEXT=$ac_cv_objext
2187 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2188 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2189 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 cat >conftest.$ac_ext <<_ACEOF
2195 cat confdefs.h >>conftest.$ac_ext
2196 cat >>conftest.$ac_ext <<_ACEOF
2197 /* end confdefs.h. */
2210 rm -f conftest.$ac_objext
2211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2212 (eval $ac_compile) 2>conftest.er1
2214 grep -v '^ *+' conftest.er1 >conftest.err
2216 cat conftest.err >&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); } &&
2219 { ac_try='test -z "$ac_c_werror_flag"
2220 || test ! -s conftest.err'
2221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2225 (exit $ac_status); }; } &&
2226 { ac_try='test -s conftest.$ac_objext'
2227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2231 (exit $ac_status); }; }; then
2234 echo "$as_me: failed program was:" >&5
2235 sed 's/^/| /' conftest.$ac_ext >&5
2239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2240 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2243 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2244 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2245 GCC=`test $ac_compiler_gnu = yes && echo yes`
2246 ac_test_CFLAGS=${CFLAGS+set}
2247 ac_save_CFLAGS=$CFLAGS
2249 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2250 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2251 if test "${ac_cv_prog_cc_g+set}" = set; then
2252 echo $ECHO_N "(cached) $ECHO_C" >&6
2254 cat >conftest.$ac_ext <<_ACEOF
2257 cat confdefs.h >>conftest.$ac_ext
2258 cat >>conftest.$ac_ext <<_ACEOF
2259 /* end confdefs.h. */
2269 rm -f conftest.$ac_objext
2270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2271 (eval $ac_compile) 2>conftest.er1
2273 grep -v '^ *+' conftest.er1 >conftest.err
2275 cat conftest.err >&5
2276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2277 (exit $ac_status); } &&
2278 { ac_try='test -z "$ac_c_werror_flag"
2279 || test ! -s conftest.err'
2280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); }; } &&
2285 { ac_try='test -s conftest.$ac_objext'
2286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2290 (exit $ac_status); }; }; then
2293 echo "$as_me: failed program was:" >&5
2294 sed 's/^/| /' conftest.$ac_ext >&5
2298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2300 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2301 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2302 if test "$ac_test_CFLAGS" = set; then
2303 CFLAGS=$ac_save_CFLAGS
2304 elif test $ac_cv_prog_cc_g = yes; then
2305 if test "$GCC" = yes; then
2311 if test "$GCC" = yes; then
2317 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2318 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2319 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2320 echo $ECHO_N "(cached) $ECHO_C" >&6
2322 ac_cv_prog_cc_stdc=no
2324 cat >conftest.$ac_ext <<_ACEOF
2327 cat confdefs.h >>conftest.$ac_ext
2328 cat >>conftest.$ac_ext <<_ACEOF
2329 /* end confdefs.h. */
2332 #include <sys/types.h>
2333 #include <sys/stat.h>
2334 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2335 struct buf { int x; };
2336 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2337 static char *e (p, i)
2343 static char *f (char * (*g) (char **, int), char **p, ...)
2348 s = g (p, va_arg (v,int));
2353 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2354 function prototypes and stuff, but not '\xHH' hex character constants.
2355 These don't provoke an error unfortunately, instead are silently treated
2356 as 'x'. The following induces an error, until -std1 is added to get
2357 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2358 array size at least. It's necessary to write '\x00'==0 to get something
2359 that's true only with -std1. */
2360 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2362 int test (int i, double x);
2363 struct s1 {int (*f) (int a);};
2364 struct s2 {int (*f) (double a);};
2365 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2371 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2376 # Don't try gcc -ansi; that turns off useful extensions and
2377 # breaks some systems' header files.
2378 # AIX -qlanglvl=ansi
2379 # Ultrix and OSF/1 -std1
2380 # HP-UX 10.20 and later -Ae
2381 # HP-UX older versions -Aa -D_HPUX_SOURCE
2382 # SVR4 -Xc -D__EXTENSIONS__
2383 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2385 CC="$ac_save_CC $ac_arg"
2386 rm -f conftest.$ac_objext
2387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2388 (eval $ac_compile) 2>conftest.er1
2390 grep -v '^ *+' conftest.er1 >conftest.err
2392 cat conftest.err >&5
2393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2394 (exit $ac_status); } &&
2395 { ac_try='test -z "$ac_c_werror_flag"
2396 || test ! -s conftest.err'
2397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; } &&
2402 { ac_try='test -s conftest.$ac_objext'
2403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2407 (exit $ac_status); }; }; then
2408 ac_cv_prog_cc_stdc=$ac_arg
2411 echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.$ac_ext >&5
2415 rm -f conftest.err conftest.$ac_objext
2417 rm -f conftest.$ac_ext conftest.$ac_objext
2422 case "x$ac_cv_prog_cc_stdc" in
2424 echo "$as_me:$LINENO: result: none needed" >&5
2425 echo "${ECHO_T}none needed" >&6 ;;
2427 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2428 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2429 CC="$CC $ac_cv_prog_cc_stdc" ;;
2432 # Some people use a C++ compiler to compile C. Since we use `exit',
2433 # in C++ we need to declare it. In case someone uses the same compiler
2434 # for both compiling C and C++ we need to have the C++ compiler decide
2435 # the declaration of exit, since it's the most demanding environment.
2436 cat >conftest.$ac_ext <<_ACEOF
2441 rm -f conftest.$ac_objext
2442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2443 (eval $ac_compile) 2>conftest.er1
2445 grep -v '^ *+' conftest.er1 >conftest.err
2447 cat conftest.err >&5
2448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2449 (exit $ac_status); } &&
2450 { ac_try='test -z "$ac_c_werror_flag"
2451 || test ! -s conftest.err'
2452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }; } &&
2457 { ac_try='test -s conftest.$ac_objext'
2458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2462 (exit $ac_status); }; }; then
2463 for ac_declaration in \
2465 'extern "C" void std::exit (int) throw (); using std::exit;' \
2466 'extern "C" void std::exit (int); using std::exit;' \
2467 'extern "C" void exit (int) throw ();' \
2468 'extern "C" void exit (int);' \
2471 cat >conftest.$ac_ext <<_ACEOF
2474 cat confdefs.h >>conftest.$ac_ext
2475 cat >>conftest.$ac_ext <<_ACEOF
2476 /* end confdefs.h. */
2487 rm -f conftest.$ac_objext
2488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2489 (eval $ac_compile) 2>conftest.er1
2491 grep -v '^ *+' conftest.er1 >conftest.err
2493 cat conftest.err >&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); } &&
2496 { ac_try='test -z "$ac_c_werror_flag"
2497 || test ! -s conftest.err'
2498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2502 (exit $ac_status); }; } &&
2503 { ac_try='test -s conftest.$ac_objext'
2504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2508 (exit $ac_status); }; }; then
2511 echo "$as_me: failed program was:" >&5
2512 sed 's/^/| /' conftest.$ac_ext >&5
2516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2517 cat >conftest.$ac_ext <<_ACEOF
2520 cat confdefs.h >>conftest.$ac_ext
2521 cat >>conftest.$ac_ext <<_ACEOF
2522 /* end confdefs.h. */
2532 rm -f conftest.$ac_objext
2533 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2534 (eval $ac_compile) 2>conftest.er1
2536 grep -v '^ *+' conftest.er1 >conftest.err
2538 cat conftest.err >&5
2539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2540 (exit $ac_status); } &&
2541 { ac_try='test -z "$ac_c_werror_flag"
2542 || test ! -s conftest.err'
2543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2547 (exit $ac_status); }; } &&
2548 { ac_try='test -s conftest.$ac_objext'
2549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2553 (exit $ac_status); }; }; then
2556 echo "$as_me: failed program was:" >&5
2557 sed 's/^/| /' conftest.$ac_ext >&5
2560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2563 if test -n "$ac_declaration"; then
2564 echo '#ifdef __cplusplus' >>confdefs.h
2565 echo $ac_declaration >>confdefs.h
2566 echo '#endif' >>confdefs.h
2570 echo "$as_me: failed program was:" >&5
2571 sed 's/^/| /' conftest.$ac_ext >&5
2574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2576 ac_cpp='$CPP $CPPFLAGS'
2577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2582 for ac_prog in gawk mawk nawk awk
2584 # Extract the first word of "$ac_prog", so it can be a program name with args.
2585 set dummy $ac_prog; ac_word=$2
2586 echo "$as_me:$LINENO: checking for $ac_word" >&5
2587 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2588 if test "${ac_cv_prog_AWK+set}" = set; then
2589 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 if test -n "$AWK"; then
2592 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2598 test -z "$as_dir" && as_dir=.
2599 for ac_exec_ext in '' $ac_executable_extensions; do
2600 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2601 ac_cv_prog_AWK="$ac_prog"
2602 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2611 if test -n "$AWK"; then
2612 echo "$as_me:$LINENO: result: $AWK" >&5
2613 echo "${ECHO_T}$AWK" >&6
2615 echo "$as_me:$LINENO: result: no" >&5
2616 echo "${ECHO_T}no" >&6
2619 test -n "$AWK" && break
2624 if test -z "$LD"; then
2625 if test -n "$ac_tool_prefix"; then
2626 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2627 set dummy ${ac_tool_prefix}ld; ac_word=$2
2628 echo "$as_me:$LINENO: checking for $ac_word" >&5
2629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2630 if test "${ac_cv_prog_LD+set}" = set; then
2631 echo $ECHO_N "(cached) $ECHO_C" >&6
2633 if test -n "$LD"; then
2634 ac_cv_prog_LD="$LD" # Let the user override the test.
2636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2640 test -z "$as_dir" && as_dir=.
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2643 ac_cv_prog_LD="${ac_tool_prefix}ld"
2644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2653 if test -n "$LD"; then
2654 echo "$as_me:$LINENO: result: $LD" >&5
2655 echo "${ECHO_T}$LD" >&6
2657 echo "$as_me:$LINENO: result: no" >&5
2658 echo "${ECHO_T}no" >&6
2662 if test -z "$ac_cv_prog_LD"; then
2664 # Extract the first word of "ld", so it can be a program name with args.
2665 set dummy ld; ac_word=$2
2666 echo "$as_me:$LINENO: checking for $ac_word" >&5
2667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2668 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2669 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 if test -n "$ac_ct_LD"; then
2672 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2678 test -z "$as_dir" && as_dir=.
2679 for ac_exec_ext in '' $ac_executable_extensions; do
2680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2681 ac_cv_prog_ac_ct_LD="ld"
2682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2690 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2691 if test -n "$ac_ct_LD"; then
2692 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2693 echo "${ECHO_T}$ac_ct_LD" >&6
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2706 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2707 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2708 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2709 echo $ECHO_N "(cached) $ECHO_C" >&6
2712 libfirm_cv_prog_ld_r=no
2714 cat > conftest.$ac_ext <<EOF
2715 int foo() { return 0; }
2717 if eval $ac_compile && mv conftest.o conftest2.o; then
2718 cat > conftest.$ac_ext <<EOF
2720 int main() { return foo(); }
2722 if eval $ac_compile; then
2723 if $LD -r -o conftest conftest.o conftest2.o; then
2724 libfirm_cv_prog_ld_r=yes
2731 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2732 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2735 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2736 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2737 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2738 { (exit 1); exit 1; }; }
2741 # Extract the first word of "ar", so it can be a program name with args.
2742 set dummy ar; ac_word=$2
2743 echo "$as_me:$LINENO: checking for $ac_word" >&5
2744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2745 if test "${ac_cv_prog_AR+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 if test -n "$AR"; then
2749 ac_cv_prog_AR="$AR" # Let the user override the test.
2751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir=.
2756 for ac_exec_ext in '' $ac_executable_extensions; do
2757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2758 ac_cv_prog_AR=""ar""
2759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2769 if test -n "$AR"; then
2770 echo "$as_me:$LINENO: result: $AR" >&5
2771 echo "${ECHO_T}$AR" >&6
2773 echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6
2777 if test "$AR" != "ar"; then
2778 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2779 echo "$as_me: error: need ar for creating archives" >&2;}
2780 { (exit 1); exit 1; }; }
2783 # Extract the first word of "tar", so it can be a program name with args.
2784 set dummy tar; ac_word=$2
2785 echo "$as_me:$LINENO: checking for $ac_word" >&5
2786 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2787 if test "${ac_cv_prog_TAR+set}" = set; then
2788 echo $ECHO_N "(cached) $ECHO_C" >&6
2790 if test -n "$TAR"; then
2791 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2797 test -z "$as_dir" && as_dir=.
2798 for ac_exec_ext in '' $ac_executable_extensions; do
2799 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2800 ac_cv_prog_TAR=""tar""
2801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2807 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2811 if test -n "$TAR"; then
2812 echo "$as_me:$LINENO: result: $TAR" >&5
2813 echo "${ECHO_T}$TAR" >&6
2815 echo "$as_me:$LINENO: result: no" >&5
2816 echo "${ECHO_T}no" >&6
2819 if test "$TAR" != "tar"; then
2820 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2821 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2822 { (exit 1); exit 1; }; }
2826 if test -n "$ac_tool_prefix"; then
2827 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2828 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2829 echo "$as_me:$LINENO: checking for $ac_word" >&5
2830 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2831 if test "${ac_cv_prog_RANLIB+set}" = set; then
2832 echo $ECHO_N "(cached) $ECHO_C" >&6
2834 if test -n "$RANLIB"; then
2835 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2841 test -z "$as_dir" && as_dir=.
2842 for ac_exec_ext in '' $ac_executable_extensions; do
2843 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2844 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2845 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2853 RANLIB=$ac_cv_prog_RANLIB
2854 if test -n "$RANLIB"; then
2855 echo "$as_me:$LINENO: result: $RANLIB" >&5
2856 echo "${ECHO_T}$RANLIB" >&6
2858 echo "$as_me:$LINENO: result: no" >&5
2859 echo "${ECHO_T}no" >&6
2863 if test -z "$ac_cv_prog_RANLIB"; then
2864 ac_ct_RANLIB=$RANLIB
2865 # Extract the first word of "ranlib", so it can be a program name with args.
2866 set dummy ranlib; ac_word=$2
2867 echo "$as_me:$LINENO: checking for $ac_word" >&5
2868 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2869 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2870 echo $ECHO_N "(cached) $ECHO_C" >&6
2872 if test -n "$ac_ct_RANLIB"; then
2873 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2879 test -z "$as_dir" && as_dir=.
2880 for ac_exec_ext in '' $ac_executable_extensions; do
2881 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2882 ac_cv_prog_ac_ct_RANLIB="ranlib"
2883 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2892 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2893 if test -n "$ac_ct_RANLIB"; then
2894 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2895 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2897 echo "$as_me:$LINENO: result: no" >&5
2898 echo "${ECHO_T}no" >&6
2901 RANLIB=$ac_ct_RANLIB
2903 RANLIB="$ac_cv_prog_RANLIB"
2908 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2909 if test -f $ac_dir/install-sh; then
2911 ac_install_sh="$ac_aux_dir/install-sh -c"
2913 elif test -f $ac_dir/install.sh; then
2915 ac_install_sh="$ac_aux_dir/install.sh -c"
2917 elif test -f $ac_dir/shtool; then
2919 ac_install_sh="$ac_aux_dir/shtool install -c"
2923 if test -z "$ac_aux_dir"; then
2924 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2925 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2926 { (exit 1); exit 1; }; }
2928 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2929 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2930 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2932 # Find a good install program. We prefer a C program (faster),
2933 # so one script is as good as another. But avoid the broken or
2934 # incompatible versions:
2935 # SysV /etc/install, /usr/sbin/install
2936 # SunOS /usr/etc/install
2937 # IRIX /sbin/install
2939 # AmigaOS /C/install, which installs bootblocks on floppy discs
2940 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2941 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2942 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2943 # OS/2's system install, which has a completely different semantic
2944 # ./install, which can be erroneously created by make from ./install.sh.
2945 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2946 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2947 if test -z "$INSTALL"; then
2948 if test "${ac_cv_path_install+set}" = set; then
2949 echo $ECHO_N "(cached) $ECHO_C" >&6
2951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir=.
2956 # Account for people who put trailing slashes in PATH elements.
2958 ./ | .// | /cC/* | \
2959 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2960 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2963 # OSF1 and SCO ODT 3.0 have their own names for install.
2964 # Don't use installbsd from OSF since it installs stuff as root
2966 for ac_prog in ginstall scoinst install; do
2967 for ac_exec_ext in '' $ac_executable_extensions; do
2968 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2969 if test $ac_prog = install &&
2970 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2971 # AIX install. It has an incompatible calling convention.
2973 elif test $ac_prog = install &&
2974 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2975 # program-specific install script used by HP pwplus--don't use.
2978 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2990 if test "${ac_cv_path_install+set}" = set; then
2991 INSTALL=$ac_cv_path_install
2993 # As a last resort, use the slow shell script. We don't cache a
2994 # path for INSTALL within a source directory, because that will
2995 # break other packages using the cache if that directory is
2996 # removed, or if the path is relative.
2997 INSTALL=$ac_install_sh
3000 echo "$as_me:$LINENO: result: $INSTALL" >&5
3001 echo "${ECHO_T}$INSTALL" >&6
3003 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3004 # It thinks the first close brace ends the variable substitution.
3005 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3007 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3009 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3012 touch tmp-install.a tmp-install.b
3013 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
3016 rm tmp-install.a tmp-install.b
3019 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3020 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3022 if test "$LN_S" = "ln -s"; then
3023 echo "$as_me:$LINENO: result: yes" >&5
3024 echo "${ECHO_T}yes" >&6
3026 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3027 echo "${ECHO_T}no, using $LN_S" >&6
3031 if test "$enable_auto_documentation" = yes; then
3032 # Extract the first word of "doxygen", so it can be a program name with args.
3033 set dummy doxygen; ac_word=$2
3034 echo "$as_me:$LINENO: checking for $ac_word" >&5
3035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3036 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 if test -n "$DOXYGEN"; then
3040 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_DOXYGEN=""doxygen""
3050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
3059 DOXYGEN=$ac_cv_prog_DOXYGEN
3060 if test -n "$DOXYGEN"; then
3061 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
3062 echo "${ECHO_T}$DOXYGEN" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3068 if test "$DOXYGEN" != "doxygen"; then
3069 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
3070 echo "$as_me: error: need doxygen for auto documentation" >&2;}
3071 { (exit 1); exit 1; }; }
3073 # Extract the first word of "dot", so it can be a program name with args.
3074 set dummy dot; ac_word=$2
3075 echo "$as_me:$LINENO: checking for $ac_word" >&5
3076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3077 if test "${ac_cv_prog_DOT+set}" = set; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 if test -n "$DOT"; then
3081 ac_cv_prog_DOT="$DOT" # Let the user override the test.
3083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3087 test -z "$as_dir" && as_dir=.
3088 for ac_exec_ext in '' $ac_executable_extensions; do
3089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3090 ac_cv_prog_DOT=""dot""
3091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3097 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
3101 if test -n "$DOT"; then
3102 echo "$as_me:$LINENO: result: $DOT" >&5
3103 echo "${ECHO_T}$DOT" >&6
3105 echo "$as_me:$LINENO: result: no" >&5
3106 echo "${ECHO_T}no" >&6
3109 if test "$DOT" != "dot"; then
3110 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
3111 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
3112 { (exit 1); exit 1; }; }
3116 if test "$enable_firm_jni" = yes; then
3117 # Extract the first word of "javac", so it can be a program name with args.
3118 set dummy javac; ac_word=$2
3119 echo "$as_me:$LINENO: checking for $ac_word" >&5
3120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3121 if test "${ac_cv_prog_JAVAC+set}" = set; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 if test -n "$JAVAC"; then
3125 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir=.
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134 ac_cv_prog_JAVAC=""javac""
3135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3144 JAVAC=$ac_cv_prog_JAVAC
3145 if test -n "$JAVAC"; then
3146 echo "$as_me:$LINENO: result: $JAVAC" >&5
3147 echo "${ECHO_T}$JAVAC" >&6
3149 echo "$as_me:$LINENO: result: no" >&5
3150 echo "${ECHO_T}no" >&6
3153 if test "$JAVAC" != "javac"; then
3154 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3155 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3156 { (exit 1); exit 1; }; }
3158 # Extract the first word of "javah", so it can be a program name with args.
3159 set dummy javah; ac_word=$2
3160 echo "$as_me:$LINENO: checking for $ac_word" >&5
3161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3162 if test "${ac_cv_prog_JAVAH+set}" = set; then
3163 echo $ECHO_N "(cached) $ECHO_C" >&6
3165 if test -n "$JAVAH"; then
3166 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3168 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 test -z "$as_dir" && as_dir=.
3173 for ac_exec_ext in '' $ac_executable_extensions; do
3174 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3175 ac_cv_prog_JAVAH=""javah""
3176 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3182 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3185 JAVAH=$ac_cv_prog_JAVAH
3186 if test -n "$JAVAH"; then
3187 echo "$as_me:$LINENO: result: $JAVAH" >&5
3188 echo "${ECHO_T}$JAVAH" >&6
3190 echo "$as_me:$LINENO: result: no" >&5
3191 echo "${ECHO_T}no" >&6
3194 if test "$JAVAH" != "javah"; then
3195 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3196 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3197 { (exit 1); exit 1; }; }
3205 ac_cpp='$CPP $CPPFLAGS'
3206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3209 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3210 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3211 # On Suns, sometimes $CPP names a directory.
3212 if test -n "$CPP" && test -d "$CPP"; then
3215 if test -z "$CPP"; then
3216 if test "${ac_cv_prog_CPP+set}" = set; then
3217 echo $ECHO_N "(cached) $ECHO_C" >&6
3219 # Double quotes because CPP needs to be expanded
3220 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3223 for ac_c_preproc_warn_flag in '' yes
3225 # Use a header file that comes with gcc, so configuring glibc
3226 # with a fresh cross-compiler works.
3227 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3228 # <limits.h> exists even on freestanding compilers.
3229 # On the NeXT, cc -E runs the code through the compiler's parser,
3230 # not just through cpp. "Syntax error" is here to catch this case.
3231 cat >conftest.$ac_ext <<_ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3238 # include <limits.h>
3240 # include <assert.h>
3244 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3245 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3247 grep -v '^ *+' conftest.er1 >conftest.err
3249 cat conftest.err >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); } >/dev/null; then
3252 if test -s conftest.err; then
3253 ac_cpp_err=$ac_c_preproc_warn_flag
3254 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3261 if test -z "$ac_cpp_err"; then
3264 echo "$as_me: failed program was:" >&5
3265 sed 's/^/| /' conftest.$ac_ext >&5
3267 # Broken: fails on valid input.
3270 rm -f conftest.err conftest.$ac_ext
3272 # OK, works on sane cases. Now check whether non-existent headers
3273 # can be detected and how.
3274 cat >conftest.$ac_ext <<_ACEOF
3277 cat confdefs.h >>conftest.$ac_ext
3278 cat >>conftest.$ac_ext <<_ACEOF
3279 /* end confdefs.h. */
3280 #include <ac_nonexistent.h>
3282 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3283 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3285 grep -v '^ *+' conftest.er1 >conftest.err
3287 cat conftest.err >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); } >/dev/null; then
3290 if test -s conftest.err; then
3291 ac_cpp_err=$ac_c_preproc_warn_flag
3292 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3299 if test -z "$ac_cpp_err"; then
3300 # Broken: success on invalid input.
3303 echo "$as_me: failed program was:" >&5
3304 sed 's/^/| /' conftest.$ac_ext >&5
3306 # Passes both tests.
3310 rm -f conftest.err conftest.$ac_ext
3313 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3314 rm -f conftest.err conftest.$ac_ext
3315 if $ac_preproc_ok; then
3327 echo "$as_me:$LINENO: result: $CPP" >&5
3328 echo "${ECHO_T}$CPP" >&6
3330 for ac_c_preproc_warn_flag in '' yes
3332 # Use a header file that comes with gcc, so configuring glibc
3333 # with a fresh cross-compiler works.
3334 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3335 # <limits.h> exists even on freestanding compilers.
3336 # On the NeXT, cc -E runs the code through the compiler's parser,
3337 # not just through cpp. "Syntax error" is here to catch this case.
3338 cat >conftest.$ac_ext <<_ACEOF
3341 cat confdefs.h >>conftest.$ac_ext
3342 cat >>conftest.$ac_ext <<_ACEOF
3343 /* end confdefs.h. */
3345 # include <limits.h>
3347 # include <assert.h>
3351 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3354 grep -v '^ *+' conftest.er1 >conftest.err
3356 cat conftest.err >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } >/dev/null; then
3359 if test -s conftest.err; then
3360 ac_cpp_err=$ac_c_preproc_warn_flag
3361 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3368 if test -z "$ac_cpp_err"; then
3371 echo "$as_me: failed program was:" >&5
3372 sed 's/^/| /' conftest.$ac_ext >&5
3374 # Broken: fails on valid input.
3377 rm -f conftest.err conftest.$ac_ext
3379 # OK, works on sane cases. Now check whether non-existent headers
3380 # can be detected and how.
3381 cat >conftest.$ac_ext <<_ACEOF
3384 cat confdefs.h >>conftest.$ac_ext
3385 cat >>conftest.$ac_ext <<_ACEOF
3386 /* end confdefs.h. */
3387 #include <ac_nonexistent.h>
3389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3392 grep -v '^ *+' conftest.er1 >conftest.err
3394 cat conftest.err >&5
3395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3396 (exit $ac_status); } >/dev/null; then
3397 if test -s conftest.err; then
3398 ac_cpp_err=$ac_c_preproc_warn_flag
3399 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3406 if test -z "$ac_cpp_err"; then
3407 # Broken: success on invalid input.
3410 echo "$as_me: failed program was:" >&5
3411 sed 's/^/| /' conftest.$ac_ext >&5
3413 # Passes both tests.
3417 rm -f conftest.err conftest.$ac_ext
3420 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3421 rm -f conftest.err conftest.$ac_ext
3422 if $ac_preproc_ok; then
3425 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3426 See \`config.log' for more details." >&5
3427 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3428 See \`config.log' for more details." >&2;}
3429 { (exit 1); exit 1; }; }
3433 ac_cpp='$CPP $CPPFLAGS'
3434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3439 echo "$as_me:$LINENO: checking for egrep" >&5
3440 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3441 if test "${ac_cv_prog_egrep+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3445 then ac_cv_prog_egrep='grep -E'
3446 else ac_cv_prog_egrep='egrep'
3449 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3450 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3451 EGREP=$ac_cv_prog_egrep
3454 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3455 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3456 if test "${ac_cv_header_stdc+set}" = set; then
3457 echo $ECHO_N "(cached) $ECHO_C" >&6
3459 cat >conftest.$ac_ext <<_ACEOF
3462 cat confdefs.h >>conftest.$ac_ext
3463 cat >>conftest.$ac_ext <<_ACEOF
3464 /* end confdefs.h. */
3478 rm -f conftest.$ac_objext
3479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3480 (eval $ac_compile) 2>conftest.er1
3482 grep -v '^ *+' conftest.er1 >conftest.err
3484 cat conftest.err >&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } &&
3487 { ac_try='test -z "$ac_c_werror_flag"
3488 || test ! -s conftest.err'
3489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3493 (exit $ac_status); }; } &&
3494 { ac_try='test -s conftest.$ac_objext'
3495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3499 (exit $ac_status); }; }; then
3500 ac_cv_header_stdc=yes
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3505 ac_cv_header_stdc=no
3507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3509 if test $ac_cv_header_stdc = yes; then
3510 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3511 cat >conftest.$ac_ext <<_ACEOF
3514 cat confdefs.h >>conftest.$ac_ext
3515 cat >>conftest.$ac_ext <<_ACEOF
3516 /* end confdefs.h. */
3520 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3521 $EGREP "memchr" >/dev/null 2>&1; then
3524 ac_cv_header_stdc=no
3530 if test $ac_cv_header_stdc = yes; then
3531 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3532 cat >conftest.$ac_ext <<_ACEOF
3535 cat confdefs.h >>conftest.$ac_ext
3536 cat >>conftest.$ac_ext <<_ACEOF
3537 /* end confdefs.h. */
3541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3542 $EGREP "free" >/dev/null 2>&1; then
3545 ac_cv_header_stdc=no
3551 if test $ac_cv_header_stdc = yes; then
3552 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3553 if test "$cross_compiling" = yes; then
3556 cat >conftest.$ac_ext <<_ACEOF
3559 cat confdefs.h >>conftest.$ac_ext
3560 cat >>conftest.$ac_ext <<_ACEOF
3561 /* end confdefs.h. */
3563 #if ((' ' & 0x0FF) == 0x020)
3564 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3565 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3567 # define ISLOWER(c) \
3568 (('a' <= (c) && (c) <= 'i') \
3569 || ('j' <= (c) && (c) <= 'r') \
3570 || ('s' <= (c) && (c) <= 'z'))
3571 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3574 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3579 for (i = 0; i < 256; i++)
3580 if (XOR (islower (i), ISLOWER (i))
3581 || toupper (i) != TOUPPER (i))
3586 rm -f conftest$ac_exeext
3587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3588 (eval $ac_link) 2>&5
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }; }; then
3599 echo "$as_me: program exited with status $ac_status" >&5
3600 echo "$as_me: failed program was:" >&5
3601 sed 's/^/| /' conftest.$ac_ext >&5
3604 ac_cv_header_stdc=no
3606 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3610 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3611 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3612 if test $ac_cv_header_stdc = yes; then
3614 cat >>confdefs.h <<\_ACEOF
3615 #define STDC_HEADERS 1
3622 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3632 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3633 inttypes.h stdint.h unistd.h
3635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3636 echo "$as_me:$LINENO: checking for $ac_header" >&5
3637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3639 echo $ECHO_N "(cached) $ECHO_C" >&6
3641 cat >conftest.$ac_ext <<_ACEOF
3644 cat confdefs.h >>conftest.$ac_ext
3645 cat >>conftest.$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3647 $ac_includes_default
3649 #include <$ac_header>
3651 rm -f conftest.$ac_objext
3652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3653 (eval $ac_compile) 2>conftest.er1
3655 grep -v '^ *+' conftest.er1 >conftest.err
3657 cat conftest.err >&5
3658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3659 (exit $ac_status); } &&
3660 { ac_try='test -z "$ac_c_werror_flag"
3661 || test ! -s conftest.err'
3662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); }; } &&
3667 { ac_try='test -s conftest.$ac_objext'
3668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3672 (exit $ac_status); }; }; then
3673 eval "$as_ac_Header=yes"
3675 echo "$as_me: failed program was:" >&5
3676 sed 's/^/| /' conftest.$ac_ext >&5
3678 eval "$as_ac_Header=no"
3680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3684 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3685 cat >>confdefs.h <<_ACEOF
3686 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3695 for ac_header in math.h
3697 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3698 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3699 echo "$as_me:$LINENO: checking for $ac_header" >&5
3700 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3701 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3702 echo $ECHO_N "(cached) $ECHO_C" >&6
3704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3705 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3707 # Is the header compilable?
3708 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3709 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3710 cat >conftest.$ac_ext <<_ACEOF
3713 cat confdefs.h >>conftest.$ac_ext
3714 cat >>conftest.$ac_ext <<_ACEOF
3715 /* end confdefs.h. */
3716 $ac_includes_default
3717 #include <$ac_header>
3719 rm -f conftest.$ac_objext
3720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3721 (eval $ac_compile) 2>conftest.er1
3723 grep -v '^ *+' conftest.er1 >conftest.err
3725 cat conftest.err >&5
3726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3727 (exit $ac_status); } &&
3728 { ac_try='test -z "$ac_c_werror_flag"
3729 || test ! -s conftest.err'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; } &&
3735 { ac_try='test -s conftest.$ac_objext'
3736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); }; }; then
3741 ac_header_compiler=yes
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.$ac_ext >&5
3746 ac_header_compiler=no
3748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3750 echo "${ECHO_T}$ac_header_compiler" >&6
3752 # Is the header present?
3753 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3754 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3755 cat >conftest.$ac_ext <<_ACEOF
3758 cat confdefs.h >>conftest.$ac_ext
3759 cat >>conftest.$ac_ext <<_ACEOF
3760 /* end confdefs.h. */
3761 #include <$ac_header>
3763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3766 grep -v '^ *+' conftest.er1 >conftest.err
3768 cat conftest.err >&5
3769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3770 (exit $ac_status); } >/dev/null; then
3771 if test -s conftest.err; then
3772 ac_cpp_err=$ac_c_preproc_warn_flag
3773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3780 if test -z "$ac_cpp_err"; then
3781 ac_header_preproc=yes
3783 echo "$as_me: failed program was:" >&5
3784 sed 's/^/| /' conftest.$ac_ext >&5
3786 ac_header_preproc=no
3788 rm -f conftest.err conftest.$ac_ext
3789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3790 echo "${ECHO_T}$ac_header_preproc" >&6
3792 # So? What about this header?
3793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3795 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3796 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3797 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3798 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3799 ac_header_preproc=yes
3802 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3803 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3804 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3805 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3806 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3807 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3808 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3809 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3810 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3811 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3812 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3813 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3816 ## ---------------------------------- ##
3817 ## Report this to the libfirm lists. ##
3818 ## ---------------------------------- ##
3821 sed "s/^/$as_me: WARNING: /" >&2
3824 echo "$as_me:$LINENO: checking for $ac_header" >&5
3825 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3826 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3827 echo $ECHO_N "(cached) $ECHO_C" >&6
3829 eval "$as_ac_Header=\$ac_header_preproc"
3831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3836 cat >>confdefs.h <<_ACEOF
3837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3839 ac_math_headers="yes"
3841 ac_math_headers="no"
3846 if test "$ac_math_headers" != yes; then
3847 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3848 echo "$as_me: error: \"math header file not found\"" >&2;}
3849 { (exit 1); exit 1; }; }
3853 #dnl check for the gnu multiprecission (gmp) header file
3855 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3856 #if test "$ac_gmp_headers" != yes; then
3857 # dnl gmp header not found.
3858 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3865 for ac_header in obstack.h
3867 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3868 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3869 echo "$as_me:$LINENO: checking for $ac_header" >&5
3870 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3871 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3872 echo $ECHO_N "(cached) $ECHO_C" >&6
3874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3877 # Is the header compilable?
3878 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3879 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3880 cat >conftest.$ac_ext <<_ACEOF
3883 cat confdefs.h >>conftest.$ac_ext
3884 cat >>conftest.$ac_ext <<_ACEOF
3885 /* end confdefs.h. */
3886 $ac_includes_default
3887 #include <$ac_header>
3889 rm -f conftest.$ac_objext
3890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3891 (eval $ac_compile) 2>conftest.er1
3893 grep -v '^ *+' conftest.er1 >conftest.err
3895 cat conftest.err >&5
3896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3897 (exit $ac_status); } &&
3898 { ac_try='test -z "$ac_c_werror_flag"
3899 || test ! -s conftest.err'
3900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3904 (exit $ac_status); }; } &&
3905 { ac_try='test -s conftest.$ac_objext'
3906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3910 (exit $ac_status); }; }; then
3911 ac_header_compiler=yes
3913 echo "$as_me: failed program was:" >&5
3914 sed 's/^/| /' conftest.$ac_ext >&5
3916 ac_header_compiler=no
3918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3919 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3920 echo "${ECHO_T}$ac_header_compiler" >&6
3922 # Is the header present?
3923 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3924 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3925 cat >conftest.$ac_ext <<_ACEOF
3928 cat confdefs.h >>conftest.$ac_ext
3929 cat >>conftest.$ac_ext <<_ACEOF
3930 /* end confdefs.h. */
3931 #include <$ac_header>
3933 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3934 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3936 grep -v '^ *+' conftest.er1 >conftest.err
3938 cat conftest.err >&5
3939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3940 (exit $ac_status); } >/dev/null; then
3941 if test -s conftest.err; then
3942 ac_cpp_err=$ac_c_preproc_warn_flag
3943 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3950 if test -z "$ac_cpp_err"; then
3951 ac_header_preproc=yes
3953 echo "$as_me: failed program was:" >&5
3954 sed 's/^/| /' conftest.$ac_ext >&5
3956 ac_header_preproc=no
3958 rm -f conftest.err conftest.$ac_ext
3959 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3960 echo "${ECHO_T}$ac_header_preproc" >&6
3962 # So? What about this header?
3963 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3965 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3966 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3967 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3968 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3969 ac_header_preproc=yes
3972 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3973 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3974 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3975 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3976 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3977 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3978 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3979 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3980 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3981 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3982 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3983 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3986 ## ---------------------------------- ##
3987 ## Report this to the libfirm lists. ##
3988 ## ---------------------------------- ##
3991 sed "s/^/$as_me: WARNING: /" >&2
3994 echo "$as_me:$LINENO: checking for $ac_header" >&5
3995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3997 echo $ECHO_N "(cached) $ECHO_C" >&6
3999 eval "$as_ac_Header=\$ac_header_preproc"
4001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4002 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4006 cat >>confdefs.h <<_ACEOF
4007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4009 ac_obstack_headers="yes"
4011 ac_obstack_headers="no"
4016 if test "$ac_obstack_headers" != yes; then
4017 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
4018 echo "$as_me: error: \"obstack.h not found\"" >&2;}
4019 { (exit 1); exit 1; }; }
4024 for ac_header in alloca.h
4026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4028 echo "$as_me:$LINENO: checking for $ac_header" >&5
4029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4031 echo $ECHO_N "(cached) $ECHO_C" >&6
4033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4036 # Is the header compilable?
4037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4039 cat >conftest.$ac_ext <<_ACEOF
4042 cat confdefs.h >>conftest.$ac_ext
4043 cat >>conftest.$ac_ext <<_ACEOF
4044 /* end confdefs.h. */
4045 $ac_includes_default
4046 #include <$ac_header>
4048 rm -f conftest.$ac_objext
4049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4050 (eval $ac_compile) 2>conftest.er1
4052 grep -v '^ *+' conftest.er1 >conftest.err
4054 cat conftest.err >&5
4055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4056 (exit $ac_status); } &&
4057 { ac_try='test -z "$ac_c_werror_flag"
4058 || test ! -s conftest.err'
4059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4063 (exit $ac_status); }; } &&
4064 { ac_try='test -s conftest.$ac_objext'
4065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4069 (exit $ac_status); }; }; then
4070 ac_header_compiler=yes
4072 echo "$as_me: failed program was:" >&5
4073 sed 's/^/| /' conftest.$ac_ext >&5
4075 ac_header_compiler=no
4077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4078 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4079 echo "${ECHO_T}$ac_header_compiler" >&6
4081 # Is the header present?
4082 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4083 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4084 cat >conftest.$ac_ext <<_ACEOF
4087 cat confdefs.h >>conftest.$ac_ext
4088 cat >>conftest.$ac_ext <<_ACEOF
4089 /* end confdefs.h. */
4090 #include <$ac_header>
4092 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4093 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4095 grep -v '^ *+' conftest.er1 >conftest.err
4097 cat conftest.err >&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } >/dev/null; then
4100 if test -s conftest.err; then
4101 ac_cpp_err=$ac_c_preproc_warn_flag
4102 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4109 if test -z "$ac_cpp_err"; then
4110 ac_header_preproc=yes
4112 echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4115 ac_header_preproc=no
4117 rm -f conftest.err conftest.$ac_ext
4118 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4119 echo "${ECHO_T}$ac_header_preproc" >&6
4121 # So? What about this header?
4122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4124 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4125 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4126 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4127 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4128 ac_header_preproc=yes
4131 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4132 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4133 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4134 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4135 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4136 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4137 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4138 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4139 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4140 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4141 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4142 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4145 ## ---------------------------------- ##
4146 ## Report this to the libfirm lists. ##
4147 ## ---------------------------------- ##
4150 sed "s/^/$as_me: WARNING: /" >&2
4153 echo "$as_me:$LINENO: checking for $ac_header" >&5
4154 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4155 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4156 echo $ECHO_N "(cached) $ECHO_C" >&6
4158 eval "$as_ac_Header=\$ac_header_preproc"
4160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4164 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4165 cat >>confdefs.h <<_ACEOF
4166 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4168 ac_alloca_headers="yes"
4170 ac_alloca_headers="no"
4175 if test "$ac_alloca_headers" = "yes"; then
4176 cat >>confdefs.h <<\_ACEOF
4177 #define HAVE_ALLOCA_H 1
4181 if test "$ac_cv_header_stdc" = "no"; then
4182 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4183 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4184 { (exit 1); exit 1; }; }
4190 if test "$enable_firm_jni" = yes; then
4192 for ac_header in jni.h
4194 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4195 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4196 echo "$as_me:$LINENO: checking for $ac_header" >&5
4197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4202 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4204 # Is the header compilable?
4205 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4206 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4207 cat >conftest.$ac_ext <<_ACEOF
4210 cat confdefs.h >>conftest.$ac_ext
4211 cat >>conftest.$ac_ext <<_ACEOF
4212 /* end confdefs.h. */
4213 $ac_includes_default
4214 #include <$ac_header>
4216 rm -f conftest.$ac_objext
4217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4218 (eval $ac_compile) 2>conftest.er1
4220 grep -v '^ *+' conftest.er1 >conftest.err
4222 cat conftest.err >&5
4223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4224 (exit $ac_status); } &&
4225 { ac_try='test -z "$ac_c_werror_flag"
4226 || test ! -s conftest.err'
4227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); }; } &&
4232 { ac_try='test -s conftest.$ac_objext'
4233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4237 (exit $ac_status); }; }; then
4238 ac_header_compiler=yes
4240 echo "$as_me: failed program was:" >&5
4241 sed 's/^/| /' conftest.$ac_ext >&5
4243 ac_header_compiler=no
4245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4247 echo "${ECHO_T}$ac_header_compiler" >&6
4249 # Is the header present?
4250 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4251 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4252 cat >conftest.$ac_ext <<_ACEOF
4255 cat confdefs.h >>conftest.$ac_ext
4256 cat >>conftest.$ac_ext <<_ACEOF
4257 /* end confdefs.h. */
4258 #include <$ac_header>
4260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4263 grep -v '^ *+' conftest.er1 >conftest.err
4265 cat conftest.err >&5
4266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4267 (exit $ac_status); } >/dev/null; then
4268 if test -s conftest.err; then
4269 ac_cpp_err=$ac_c_preproc_warn_flag
4270 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4277 if test -z "$ac_cpp_err"; then
4278 ac_header_preproc=yes
4280 echo "$as_me: failed program was:" >&5
4281 sed 's/^/| /' conftest.$ac_ext >&5
4283 ac_header_preproc=no
4285 rm -f conftest.err conftest.$ac_ext
4286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4287 echo "${ECHO_T}$ac_header_preproc" >&6
4289 # So? What about this header?
4290 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4292 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4293 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4294 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4295 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4296 ac_header_preproc=yes
4299 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4300 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4301 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4302 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4303 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4304 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4305 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4306 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4307 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4308 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4309 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4310 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4313 ## ---------------------------------- ##
4314 ## Report this to the libfirm lists. ##
4315 ## ---------------------------------- ##
4318 sed "s/^/$as_me: WARNING: /" >&2
4321 echo "$as_me:$LINENO: checking for $ac_header" >&5
4322 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 eval "$as_ac_Header=\$ac_header_preproc"
4328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4329 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4332 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4333 cat >>confdefs.h <<_ACEOF
4334 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4336 ac_jni_headers="yes"
4343 if test "$ac_jni_headers" != yes; then
4344 { { 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
4345 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;}
4346 { (exit 1); exit 1; }; }
4351 if test "$enable_external_effects" == "yes"; then
4353 for ac_header in libxml/parser.h
4355 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4356 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4357 echo "$as_me:$LINENO: checking for $ac_header" >&5
4358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4360 echo $ECHO_N "(cached) $ECHO_C" >&6
4362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4363 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4365 # Is the header compilable?
4366 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4367 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4368 cat >conftest.$ac_ext <<_ACEOF
4371 cat confdefs.h >>conftest.$ac_ext
4372 cat >>conftest.$ac_ext <<_ACEOF
4373 /* end confdefs.h. */
4374 $ac_includes_default
4375 #include <$ac_header>
4377 rm -f conftest.$ac_objext
4378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4379 (eval $ac_compile) 2>conftest.er1
4381 grep -v '^ *+' conftest.er1 >conftest.err
4383 cat conftest.err >&5
4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4385 (exit $ac_status); } &&
4386 { ac_try='test -z "$ac_c_werror_flag"
4387 || test ! -s conftest.err'
4388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4392 (exit $ac_status); }; } &&
4393 { ac_try='test -s conftest.$ac_objext'
4394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4398 (exit $ac_status); }; }; then
4399 ac_header_compiler=yes
4401 echo "$as_me: failed program was:" >&5
4402 sed 's/^/| /' conftest.$ac_ext >&5
4404 ac_header_compiler=no
4406 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4407 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4408 echo "${ECHO_T}$ac_header_compiler" >&6
4410 # Is the header present?
4411 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4412 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4413 cat >conftest.$ac_ext <<_ACEOF
4416 cat confdefs.h >>conftest.$ac_ext
4417 cat >>conftest.$ac_ext <<_ACEOF
4418 /* end confdefs.h. */
4419 #include <$ac_header>
4421 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4422 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4424 grep -v '^ *+' conftest.er1 >conftest.err
4426 cat conftest.err >&5
4427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4428 (exit $ac_status); } >/dev/null; then
4429 if test -s conftest.err; then
4430 ac_cpp_err=$ac_c_preproc_warn_flag
4431 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4438 if test -z "$ac_cpp_err"; then
4439 ac_header_preproc=yes
4441 echo "$as_me: failed program was:" >&5
4442 sed 's/^/| /' conftest.$ac_ext >&5
4444 ac_header_preproc=no
4446 rm -f conftest.err conftest.$ac_ext
4447 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4448 echo "${ECHO_T}$ac_header_preproc" >&6
4450 # So? What about this header?
4451 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4453 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4454 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4455 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4456 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4457 ac_header_preproc=yes
4460 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4461 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4462 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4463 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4464 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4465 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4466 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4467 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4468 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4469 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4470 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4471 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4474 ## ---------------------------------- ##
4475 ## Report this to the libfirm lists. ##
4476 ## ---------------------------------- ##
4479 sed "s/^/$as_me: WARNING: /" >&2
4482 echo "$as_me:$LINENO: checking for $ac_header" >&5
4483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4485 echo $ECHO_N "(cached) $ECHO_C" >&6
4487 eval "$as_ac_Header=\$ac_header_preproc"
4489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4493 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4494 cat >>confdefs.h <<_ACEOF
4495 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4497 ac_xml_headers="yes"
4504 if test "$ac_xml_headers" != yes; then
4505 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4506 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4507 { (exit 1); exit 1; }; }
4512 #dnl check for the gnu multiprecission (gmp) library
4514 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4515 #if test "$ac_gmp_library" != yes; then
4516 # dnl gmp library not found.
4517 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4521 echo "$as_me:$LINENO: checking for main in -lm" >&5
4522 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4523 if test "${ac_cv_lib_m_main+set}" = set; then
4524 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 ac_check_lib_save_LIBS=$LIBS
4528 cat >conftest.$ac_ext <<_ACEOF
4531 cat confdefs.h >>conftest.$ac_ext
4532 cat >>conftest.$ac_ext <<_ACEOF
4533 /* end confdefs.h. */
4544 rm -f conftest.$ac_objext conftest$ac_exeext
4545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4546 (eval $ac_link) 2>conftest.er1
4548 grep -v '^ *+' conftest.er1 >conftest.err
4550 cat conftest.err >&5
4551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4552 (exit $ac_status); } &&
4553 { ac_try='test -z "$ac_c_werror_flag"
4554 || test ! -s conftest.err'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; } &&
4560 { ac_try='test -s conftest$ac_exeext'
4561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4565 (exit $ac_status); }; }; then
4566 ac_cv_lib_m_main=yes
4568 echo "$as_me: failed program was:" >&5
4569 sed 's/^/| /' conftest.$ac_ext >&5
4573 rm -f conftest.err conftest.$ac_objext \
4574 conftest$ac_exeext conftest.$ac_ext
4575 LIBS=$ac_check_lib_save_LIBS
4577 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4578 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4579 if test $ac_cv_lib_m_main = yes; then
4585 if test "$ac_m_library" != yes; then
4586 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4587 echo "$as_me: error: \"standard math library not found\"" >&2;}
4588 { (exit 1); exit 1; }; }
4592 if test "$enable_external_effects" == "yes"; then
4593 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4594 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4595 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4596 echo $ECHO_N "(cached) $ECHO_C" >&6
4598 ac_check_lib_save_LIBS=$LIBS
4600 cat >conftest.$ac_ext <<_ACEOF
4603 cat confdefs.h >>conftest.$ac_ext
4604 cat >>conftest.$ac_ext <<_ACEOF
4605 /* end confdefs.h. */
4607 /* Override any gcc2 internal prototype to avoid an error. */
4611 /* We use char because int might match the return type of a gcc2
4612 builtin and then its argument prototype would still apply. */
4613 char xmlParseFile ();
4622 rm -f conftest.$ac_objext conftest$ac_exeext
4623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4624 (eval $ac_link) 2>conftest.er1
4626 grep -v '^ *+' conftest.er1 >conftest.err
4628 cat conftest.err >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } &&
4631 { ac_try='test -z "$ac_c_werror_flag"
4632 || test ! -s conftest.err'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; } &&
4638 { ac_try='test -s conftest$ac_exeext'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; }; then
4644 ac_cv_lib_xml2_xmlParseFile=yes
4646 echo "$as_me: failed program was:" >&5
4647 sed 's/^/| /' conftest.$ac_ext >&5
4649 ac_cv_lib_xml2_xmlParseFile=no
4651 rm -f conftest.err conftest.$ac_objext \
4652 conftest$ac_exeext conftest.$ac_ext
4653 LIBS=$ac_check_lib_save_LIBS
4655 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4656 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4657 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4658 ac_xml_library="yes"
4663 if test "$ac_m_library" != yes; then
4664 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4665 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4666 { (exit 1); exit 1; }; }
4672 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4673 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4674 if test "${ac_cv_c_const+set}" = set; then
4675 echo $ECHO_N "(cached) $ECHO_C" >&6
4677 cat >conftest.$ac_ext <<_ACEOF
4680 cat confdefs.h >>conftest.$ac_ext
4681 cat >>conftest.$ac_ext <<_ACEOF
4682 /* end confdefs.h. */
4687 /* FIXME: Include the comments suggested by Paul. */
4689 /* Ultrix mips cc rejects this. */
4690 typedef int charset[2];
4692 /* SunOS 4.1.1 cc rejects this. */
4693 char const *const *ccp;
4695 /* NEC SVR4.0.2 mips cc rejects this. */
4696 struct point {int x, y;};
4697 static struct point const zero = {0,0};
4698 /* AIX XL C 1.02.0.0 rejects this.
4699 It does not let you subtract one const X* pointer from another in
4700 an arm of an if-expression whose if-part is not a constant
4702 const char *g = "string";
4703 ccp = &g + (g ? g-g : 0);
4704 /* HPUX 7.0 cc rejects these. */
4707 ccp = (char const *const *) p;
4708 { /* SCO 3.2v4 cc rejects this. */
4710 char const *s = 0 ? (char *) 0 : (char const *) 0;
4714 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4716 const int *foo = &x[0];
4719 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4720 typedef const int *iptr;
4724 { /* AIX XL C 1.02.0.0 rejects this saying
4725 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4726 struct s { int j; const int *ap[3]; };
4727 struct s *b; b->j = 5;
4729 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4738 rm -f conftest.$ac_objext
4739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4740 (eval $ac_compile) 2>conftest.er1
4742 grep -v '^ *+' conftest.er1 >conftest.err
4744 cat conftest.err >&5
4745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4746 (exit $ac_status); } &&
4747 { ac_try='test -z "$ac_c_werror_flag"
4748 || test ! -s conftest.err'
4749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4753 (exit $ac_status); }; } &&
4754 { ac_try='test -s conftest.$ac_objext'
4755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4759 (exit $ac_status); }; }; then
4762 echo "$as_me: failed program was:" >&5
4763 sed 's/^/| /' conftest.$ac_ext >&5
4767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4769 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4770 echo "${ECHO_T}$ac_cv_c_const" >&6
4771 if test $ac_cv_c_const = no; then
4773 cat >>confdefs.h <<\_ACEOF
4779 echo "$as_me:$LINENO: checking for working volatile" >&5
4780 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4781 if test "${ac_cv_c_volatile+set}" = set; then
4782 echo $ECHO_N "(cached) $ECHO_C" >&6
4784 cat >conftest.$ac_ext <<_ACEOF
4787 cat confdefs.h >>conftest.$ac_ext
4788 cat >>conftest.$ac_ext <<_ACEOF
4789 /* end confdefs.h. */
4801 rm -f conftest.$ac_objext
4802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4803 (eval $ac_compile) 2>conftest.er1
4805 grep -v '^ *+' conftest.er1 >conftest.err
4807 cat conftest.err >&5
4808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4809 (exit $ac_status); } &&
4810 { ac_try='test -z "$ac_c_werror_flag"
4811 || test ! -s conftest.err'
4812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4816 (exit $ac_status); }; } &&
4817 { ac_try='test -s conftest.$ac_objext'
4818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4822 (exit $ac_status); }; }; then
4823 ac_cv_c_volatile=yes
4825 echo "$as_me: failed program was:" >&5
4826 sed 's/^/| /' conftest.$ac_ext >&5
4830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4832 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4833 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4834 if test $ac_cv_c_volatile = no; then
4836 cat >>confdefs.h <<\_ACEOF
4842 echo "$as_me:$LINENO: checking for inline" >&5
4843 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4844 if test "${ac_cv_c_inline+set}" = set; then
4845 echo $ECHO_N "(cached) $ECHO_C" >&6
4848 for ac_kw in inline __inline__ __inline; do
4849 cat >conftest.$ac_ext <<_ACEOF
4852 cat confdefs.h >>conftest.$ac_ext
4853 cat >>conftest.$ac_ext <<_ACEOF
4854 /* end confdefs.h. */
4857 static $ac_kw foo_t static_foo () {return 0; }
4858 $ac_kw foo_t foo () {return 0; }
4862 rm -f conftest.$ac_objext
4863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4864 (eval $ac_compile) 2>conftest.er1
4866 grep -v '^ *+' conftest.er1 >conftest.err
4868 cat conftest.err >&5
4869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4870 (exit $ac_status); } &&
4871 { ac_try='test -z "$ac_c_werror_flag"
4872 || test ! -s conftest.err'
4873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4877 (exit $ac_status); }; } &&
4878 { ac_try='test -s conftest.$ac_objext'
4879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4883 (exit $ac_status); }; }; then
4884 ac_cv_c_inline=$ac_kw; break
4886 echo "$as_me: failed program was:" >&5
4887 sed 's/^/| /' conftest.$ac_ext >&5
4890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4894 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4895 echo "${ECHO_T}$ac_cv_c_inline" >&6
4898 case $ac_cv_c_inline in
4901 case $ac_cv_c_inline in
4903 *) ac_val=$ac_cv_c_inline;;
4905 cat >>confdefs.h <<_ACEOF
4907 #define inline $ac_val
4913 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4914 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4915 if test "${ac_cv_c_bigendian+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4918 # See if sys/param.h defines the BYTE_ORDER macro.
4919 cat >conftest.$ac_ext <<_ACEOF
4922 cat confdefs.h >>conftest.$ac_ext
4923 cat >>conftest.$ac_ext <<_ACEOF
4924 /* end confdefs.h. */
4925 #include <sys/types.h>
4926 #include <sys/param.h>
4931 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4939 rm -f conftest.$ac_objext
4940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4941 (eval $ac_compile) 2>conftest.er1
4943 grep -v '^ *+' conftest.er1 >conftest.err
4945 cat conftest.err >&5
4946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4947 (exit $ac_status); } &&
4948 { ac_try='test -z "$ac_c_werror_flag"
4949 || test ! -s conftest.err'
4950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4954 (exit $ac_status); }; } &&
4955 { ac_try='test -s conftest.$ac_objext'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; }; then
4961 # It does; now see whether it defined to BIG_ENDIAN or not.
4962 cat >conftest.$ac_ext <<_ACEOF
4965 cat confdefs.h >>conftest.$ac_ext
4966 cat >>conftest.$ac_ext <<_ACEOF
4967 /* end confdefs.h. */
4968 #include <sys/types.h>
4969 #include <sys/param.h>
4974 #if BYTE_ORDER != BIG_ENDIAN
4982 rm -f conftest.$ac_objext
4983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4984 (eval $ac_compile) 2>conftest.er1
4986 grep -v '^ *+' conftest.er1 >conftest.err
4988 cat conftest.err >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); } &&
4991 { ac_try='test -z "$ac_c_werror_flag"
4992 || test ! -s conftest.err'
4993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); }; } &&
4998 { ac_try='test -s conftest.$ac_objext'
4999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5003 (exit $ac_status); }; }; then
5004 ac_cv_c_bigendian=yes
5006 echo "$as_me: failed program was:" >&5
5007 sed 's/^/| /' conftest.$ac_ext >&5
5009 ac_cv_c_bigendian=no
5011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5013 echo "$as_me: failed program was:" >&5
5014 sed 's/^/| /' conftest.$ac_ext >&5
5016 # It does not; compile a test program.
5017 if test "$cross_compiling" = yes; then
5018 # try to guess the endianness by grepping values into an object file
5019 ac_cv_c_bigendian=unknown
5020 cat >conftest.$ac_ext <<_ACEOF
5023 cat confdefs.h >>conftest.$ac_ext
5024 cat >>conftest.$ac_ext <<_ACEOF
5025 /* end confdefs.h. */
5026 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5027 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5028 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5029 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5030 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5031 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5035 _ascii (); _ebcdic ();
5040 rm -f conftest.$ac_objext
5041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5042 (eval $ac_compile) 2>conftest.er1
5044 grep -v '^ *+' conftest.er1 >conftest.err
5046 cat conftest.err >&5
5047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5048 (exit $ac_status); } &&
5049 { ac_try='test -z "$ac_c_werror_flag"
5050 || test ! -s conftest.err'
5051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5055 (exit $ac_status); }; } &&
5056 { ac_try='test -s conftest.$ac_objext'
5057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); }; }; then
5062 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5063 ac_cv_c_bigendian=yes
5065 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5066 if test "$ac_cv_c_bigendian" = unknown; then
5067 ac_cv_c_bigendian=no
5069 # finding both strings is unlikely to happen, but who knows?
5070 ac_cv_c_bigendian=unknown
5074 echo "$as_me: failed program was:" >&5
5075 sed 's/^/| /' conftest.$ac_ext >&5
5078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5080 cat >conftest.$ac_ext <<_ACEOF
5083 cat confdefs.h >>conftest.$ac_ext
5084 cat >>conftest.$ac_ext <<_ACEOF
5085 /* end confdefs.h. */
5089 /* Are we little or big endian? From Harbison&Steele. */
5093 char c[sizeof (long)];
5096 exit (u.c[sizeof (long) - 1] == 1);
5099 rm -f conftest$ac_exeext
5100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5101 (eval $ac_link) 2>&5
5103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5104 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5109 (exit $ac_status); }; }; then
5110 ac_cv_c_bigendian=no
5112 echo "$as_me: program exited with status $ac_status" >&5
5113 echo "$as_me: failed program was:" >&5
5114 sed 's/^/| /' conftest.$ac_ext >&5
5117 ac_cv_c_bigendian=yes
5119 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5124 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5125 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5126 case $ac_cv_c_bigendian in
5129 cat >>confdefs.h <<\_ACEOF
5130 #define WORDS_BIGENDIAN 1
5136 { { echo "$as_me:$LINENO: error: unknown endianness
5137 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5138 echo "$as_me: error: unknown endianness
5139 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5140 { (exit 1); exit 1; }; } ;;
5143 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5144 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5145 if test "${ac_cv_c_long_double+set}" = set; then
5146 echo $ECHO_N "(cached) $ECHO_C" >&6
5148 cat >conftest.$ac_ext <<_ACEOF
5151 cat confdefs.h >>conftest.$ac_ext
5152 cat >>conftest.$ac_ext <<_ACEOF
5153 /* end confdefs.h. */
5155 long double foo = 0.0;
5159 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5160 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5161 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5168 rm -f conftest.$ac_objext
5169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5170 (eval $ac_compile) 2>conftest.er1
5172 grep -v '^ *+' conftest.er1 >conftest.err
5174 cat conftest.err >&5
5175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5176 (exit $ac_status); } &&
5177 { ac_try='test -z "$ac_c_werror_flag"
5178 || test ! -s conftest.err'
5179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5183 (exit $ac_status); }; } &&
5184 { ac_try='test -s conftest.$ac_objext'
5185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5189 (exit $ac_status); }; }; then
5190 ac_cv_c_long_double=yes
5192 echo "$as_me: failed program was:" >&5
5193 sed 's/^/| /' conftest.$ac_ext >&5
5195 ac_cv_c_long_double=no
5197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5199 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5200 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5201 if test $ac_cv_c_long_double = yes; then
5203 cat >>confdefs.h <<\_ACEOF
5204 #define HAVE_LONG_DOUBLE 1
5212 echo "$as_me:$LINENO: checking for strerror" >&5
5213 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5214 if test "${ac_cv_func_strerror+set}" = set; then
5215 echo $ECHO_N "(cached) $ECHO_C" >&6
5217 cat >conftest.$ac_ext <<_ACEOF
5220 cat confdefs.h >>conftest.$ac_ext
5221 cat >>conftest.$ac_ext <<_ACEOF
5222 /* end confdefs.h. */
5223 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5225 #define strerror innocuous_strerror
5227 /* System header to define __stub macros and hopefully few prototypes,
5228 which can conflict with char strerror (); below.
5229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5230 <limits.h> exists even on freestanding compilers. */
5233 # include <limits.h>
5235 # include <assert.h>
5240 /* Override any gcc2 internal prototype to avoid an error. */
5245 /* We use char because int might match the return type of a gcc2
5246 builtin and then its argument prototype would still apply. */
5248 /* The GNU C library defines this for functions which it implements
5249 to always fail with ENOSYS. Some functions are actually named
5250 something starting with __ and the normal name is an alias. */
5251 #if defined (__stub_strerror) || defined (__stub___strerror)
5254 char (*f) () = strerror;
5263 return f != strerror;
5268 rm -f conftest.$ac_objext conftest$ac_exeext
5269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5270 (eval $ac_link) 2>conftest.er1
5272 grep -v '^ *+' conftest.er1 >conftest.err
5274 cat conftest.err >&5
5275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5276 (exit $ac_status); } &&
5277 { ac_try='test -z "$ac_c_werror_flag"
5278 || test ! -s conftest.err'
5279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); }; } &&
5284 { ac_try='test -s conftest$ac_exeext'
5285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5289 (exit $ac_status); }; }; then
5290 ac_cv_func_strerror=yes
5292 echo "$as_me: failed program was:" >&5
5293 sed 's/^/| /' conftest.$ac_ext >&5
5295 ac_cv_func_strerror=no
5297 rm -f conftest.err conftest.$ac_objext \
5298 conftest$ac_exeext conftest.$ac_ext
5300 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5301 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5302 if test $ac_cv_func_strerror = yes; then
5305 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5306 echo "$as_me: error: \"need strerror function\"" >&2;}
5307 { (exit 1); exit 1; }; }
5315 ac_config_files="$ac_config_files $ac_output_file"
5316 ac_config_commands="$ac_config_commands default"
5317 cat >confcache <<\_ACEOF
5318 # This file is a shell script that caches the results of configure
5319 # tests run on this system so they can be shared between configure
5320 # scripts and configure runs, see configure's option --config-cache.
5321 # It is not useful on other systems. If it contains results you don't
5322 # want to keep, you may remove or edit it.
5324 # config.status only pays attention to the cache file if you give it
5325 # the --recheck option to rerun configure.
5327 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5328 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5333 # The following way of writing the cache mishandles newlines in values,
5334 # but we know of no workaround that is simple, portable, and efficient.
5335 # So, don't put newlines in cache variables' values.
5336 # Ultrix sh set writes to stderr and can't be redirected directly,
5337 # and sets the high bit in the cache file unless we assign to the vars.
5340 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5342 # `set' does not quote correctly, so add quotes (double-quote
5343 # substitution turns \\\\ into \\, and sed turns \\ into \).
5346 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5349 # `set' quotes correctly as required by POSIX, so do not add quotes.
5351 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5358 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5360 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5362 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5363 if test -w $cache_file; then
5364 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5365 cat confcache >$cache_file
5367 echo "not updating unwritable cache $cache_file"
5372 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5373 # Let make expand exec_prefix.
5374 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5376 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5377 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5378 # trailing colons and then remove the whole line if VPATH becomes empty
5379 # (actually we leave an empty line to preserve line numbers).
5380 if test "x$srcdir" = x.; then
5381 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5382 s/:*\$(srcdir):*/:/;
5383 s/:*\${srcdir}:*/:/;
5385 s/^\([^=]*=[ ]*\):*/\1/;
5391 DEFS=-DHAVE_CONFIG_H
5395 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5396 # 1. Remove the extension, and $U if already installed.
5397 ac_i=`echo "$ac_i" |
5398 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5400 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5401 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5405 LTLIBOBJS=$ac_ltlibobjs
5409 : ${CONFIG_STATUS=./config.status}
5410 ac_clean_files_save=$ac_clean_files
5411 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5412 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5413 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5414 cat >$CONFIG_STATUS <<_ACEOF
5416 # Generated by $as_me.
5417 # Run this file to recreate the current configuration.
5418 # Compiler output produced by configure, useful for debugging
5419 # configure, is in config.log if it exists.
5424 SHELL=\${CONFIG_SHELL-$SHELL}
5427 cat >>$CONFIG_STATUS <<\_ACEOF
5428 ## --------------------- ##
5429 ## M4sh Initialization. ##
5430 ## --------------------- ##
5432 # Be Bourne compatible
5433 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5436 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5437 # is contrary to our usage. Disable this feature.
5438 alias -g '${1+"$@"}'='"$@"'
5439 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5442 DUALCASE=1; export DUALCASE # for MKS sh
5444 # Support unset when possible.
5445 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5452 # Work around bugs in pre-3.0 UWIN ksh.
5453 $as_unset ENV MAIL MAILPATH
5460 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5461 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5462 LC_TELEPHONE LC_TIME
5464 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5465 eval $as_var=C; export $as_var
5471 # Required to use basename.
5472 if expr a : '\(a\)' >/dev/null 2>&1; then
5478 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5479 as_basename=basename
5485 # Name of the executable.
5486 as_me=`$as_basename "$0" ||
5487 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5488 X"$0" : 'X\(//\)$' \| \
5489 X"$0" : 'X\(/\)$' \| \
5490 . : '\(.\)' 2>/dev/null ||
5492 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5493 /^X\/\(\/\/\)$/{ s//\1/; q; }
5494 /^X\/\(\/\).*/{ s//\1/; q; }
5498 # PATH needs CR, and LINENO needs CR and PATH.
5499 # Avoid depending upon Character Ranges.
5500 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5501 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5502 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5503 as_cr_digits='0123456789'
5504 as_cr_alnum=$as_cr_Letters$as_cr_digits
5506 # The user is always right.
5507 if test "${PATH_SEPARATOR+set}" != set; then
5508 echo "#! /bin/sh" >conf$$.sh
5509 echo "exit 0" >>conf$$.sh
5511 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5522 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5523 test "x$as_lineno_1" != "x$as_lineno_2" &&
5524 test "x$as_lineno_3" = "x$as_lineno_2" || {
5525 # Find who we are. Look in the path if we contain no path at all
5528 *[\\/]* ) as_myself=$0 ;;
5529 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5533 test -z "$as_dir" && as_dir=.
5534 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5539 # We did not find ourselves, most probably we were run as `sh COMMAND'
5540 # in which case we are not to be found in the path.
5541 if test "x$as_myself" = x; then
5544 if test ! -f "$as_myself"; then
5545 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5546 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5547 { (exit 1); exit 1; }; }
5549 case $CONFIG_SHELL in
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5555 test -z "$as_dir" && as_dir=.
5556 for as_base in sh bash ksh sh5; do
5559 if ("$as_dir/$as_base" -c '
5562 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5563 test "x$as_lineno_1" != "x$as_lineno_2" &&
5564 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5565 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5566 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5567 CONFIG_SHELL=$as_dir/$as_base
5569 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5577 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5578 # uniformly replaced by the line number. The first 'sed' inserts a
5579 # line-number line before each line; the second 'sed' does the real
5580 # work. The second script uses 'N' to pair each line-number line
5581 # with the numbered line, and appends trailing '-' during
5582 # substitution so that $LINENO is not a special case at line end.
5583 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5584 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5585 sed '=' <$as_myself |
5590 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5593 s,^['$as_cr_digits']*\n,,
5595 chmod +x $as_me.lineno ||
5596 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5597 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5598 { (exit 1); exit 1; }; }
5600 # Don't try to exec as it changes $[0], causing all sort of problems
5601 # (the dirname of $[0] is not the place where we might find the
5602 # original and so on. Autoconf is especially sensible to this).
5604 # Exit status is that of the last command.
5609 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5610 *c*,-n*) ECHO_N= ECHO_C='
5612 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5613 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5616 if expr a : '\(a\)' >/dev/null 2>&1; then
5622 rm -f conf$$ conf$$.exe conf$$.file
5624 if ln -s conf$$.file conf$$ 2>/dev/null; then
5625 # We could just check for DJGPP; but this test a) works b) is more generic
5626 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5627 if test -f conf$$.exe; then
5628 # Don't use ln at all; we don't have any links
5633 elif ln conf$$.file conf$$ 2>/dev/null; then
5638 rm -f conf$$ conf$$.exe conf$$.file
5640 if mkdir -p . 2>/dev/null; then
5643 test -d ./-p && rmdir ./-p
5647 as_executable_p="test -f"
5649 # Sed expression to map a string onto a valid CPP name.
5650 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5652 # Sed expression to map a string onto a valid variable name.
5653 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5657 # We need space, tab and new line, in precisely that order.
5667 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5668 # report actual input values of CONFIG_FILES etc. instead of their
5669 # values after options handling. Logging --version etc. is OK.
5673 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5674 ## Running $as_me. ##
5679 This file was extended by libfirm $as_me 1.3.0, which was
5680 generated by GNU Autoconf 2.59. Invocation command line was
5682 CONFIG_FILES = $CONFIG_FILES
5683 CONFIG_HEADERS = $CONFIG_HEADERS
5684 CONFIG_LINKS = $CONFIG_LINKS
5685 CONFIG_COMMANDS = $CONFIG_COMMANDS
5689 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5693 # Files that config.status was made for.
5694 if test -n "$ac_config_files"; then
5695 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5698 if test -n "$ac_config_headers"; then
5699 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5702 if test -n "$ac_config_links"; then
5703 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5706 if test -n "$ac_config_commands"; then
5707 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5710 cat >>$CONFIG_STATUS <<\_ACEOF
5713 \`$as_me' instantiates files from templates according to the
5714 current configuration.
5716 Usage: $0 [OPTIONS] [FILE]...
5718 -h, --help print this help, then exit
5719 -V, --version print version number, then exit
5720 -q, --quiet do not print progress messages
5721 -d, --debug don't remove temporary files
5722 --recheck update $as_me by reconfiguring in the same conditions
5723 --file=FILE[:TEMPLATE]
5724 instantiate the configuration file FILE
5725 --header=FILE[:TEMPLATE]
5726 instantiate the configuration header FILE
5728 Configuration files:
5731 Configuration headers:
5734 Configuration commands:
5737 Report bugs to <bug-autoconf@gnu.org>."
5740 cat >>$CONFIG_STATUS <<_ACEOF
5742 libfirm config.status 1.3.0
5743 configured by $0, generated by GNU Autoconf 2.59,
5744 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5746 Copyright (C) 2003 Free Software Foundation, Inc.
5747 This config.status script is free software; the Free Software Foundation
5748 gives unlimited permission to copy, distribute and modify it."
5753 cat >>$CONFIG_STATUS <<\_ACEOF
5754 # If no file are specified by the user, then we need to provide default
5755 # value. By we need to know if files were specified by the user.
5761 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5762 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5770 *) # This is not an option, so the user has probably given explicit
5773 ac_need_defaults=false;;
5777 # Handling of the options.
5779 cat >>$CONFIG_STATUS <<\_ACEOF
5780 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5782 --version | --vers* | -V )
5783 echo "$ac_cs_version"; exit 0 ;;
5785 # Conflict between --help and --header
5786 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5787 Try \`$0 --help' for more information." >&5
5788 echo "$as_me: error: ambiguous option: $1
5789 Try \`$0 --help' for more information." >&2;}
5790 { (exit 1); exit 1; }; };;
5791 --help | --hel | -h )
5792 echo "$ac_cs_usage"; exit 0 ;;
5793 --debug | --d* | -d )
5795 --file | --fil | --fi | --f )
5797 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5798 ac_need_defaults=false;;
5799 --header | --heade | --head | --hea )
5801 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5802 ac_need_defaults=false;;
5803 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5804 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5808 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5809 Try \`$0 --help' for more information." >&5
5810 echo "$as_me: error: unrecognized option: $1
5811 Try \`$0 --help' for more information." >&2;}
5812 { (exit 1); exit 1; }; } ;;
5814 *) ac_config_targets="$ac_config_targets $1" ;;
5820 ac_configure_extra_args=
5822 if $ac_cs_silent; then
5824 ac_configure_extra_args="$ac_configure_extra_args --silent"
5828 cat >>$CONFIG_STATUS <<_ACEOF
5829 if \$ac_cs_recheck; then
5830 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5831 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5840 cat >>$CONFIG_STATUS <<\_ACEOF
5841 for ac_config_target in $ac_config_targets
5843 case "$ac_config_target" in
5844 # Handling of arguments.
5845 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5846 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5847 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5848 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5849 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5850 { (exit 1); exit 1; }; };;
5854 # If the user did not use the arguments to specify the items to instantiate,
5855 # then the envvar interface is used. Set only those that are not.
5856 # We use the long form for the default assignment because of an extremely
5857 # bizarre bug on SunOS 4.1.3.
5858 if $ac_need_defaults; then
5859 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5860 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5861 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5864 # Have a temporary directory for convenience. Make it in the build tree
5865 # simply because there is no reason to put it here, and in addition,
5866 # creating and moving files from /tmp can sometimes cause problems.
5867 # Create a temporary directory, and hook for its removal unless debugging.
5870 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5871 trap '{ (exit 1); exit 1; }' 1 2 13 15
5874 # Create a (secure) tmp directory for tmp files.
5877 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5878 test -n "$tmp" && test -d "$tmp"
5881 tmp=./confstat$$-$RANDOM
5882 (umask 077 && mkdir $tmp)
5885 echo "$me: cannot create a temporary directory in ." >&2
5886 { (exit 1); exit 1; }
5891 cat >>$CONFIG_STATUS <<_ACEOF
5894 # CONFIG_FILES section.
5897 # No need to generate the scripts if there are no CONFIG_FILES.
5898 # This happens for instance when ./config.status config.h
5899 if test -n "\$CONFIG_FILES"; then
5900 # Protect against being on the right side of a sed subst in config.status.
5901 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5902 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5903 s,@SHELL@,$SHELL,;t t
5904 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5905 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5906 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5907 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5908 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5909 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5910 s,@exec_prefix@,$exec_prefix,;t t
5911 s,@prefix@,$prefix,;t t
5912 s,@program_transform_name@,$program_transform_name,;t t
5913 s,@bindir@,$bindir,;t t
5914 s,@sbindir@,$sbindir,;t t
5915 s,@libexecdir@,$libexecdir,;t t
5916 s,@datadir@,$datadir,;t t
5917 s,@sysconfdir@,$sysconfdir,;t t
5918 s,@sharedstatedir@,$sharedstatedir,;t t
5919 s,@localstatedir@,$localstatedir,;t t
5920 s,@libdir@,$libdir,;t t
5921 s,@includedir@,$includedir,;t t
5922 s,@oldincludedir@,$oldincludedir,;t t
5923 s,@infodir@,$infodir,;t t
5924 s,@mandir@,$mandir,;t t
5925 s,@build_alias@,$build_alias,;t t
5926 s,@host_alias@,$host_alias,;t t
5927 s,@target_alias@,$target_alias,;t t
5929 s,@ECHO_C@,$ECHO_C,;t t
5930 s,@ECHO_N@,$ECHO_N,;t t
5931 s,@ECHO_T@,$ECHO_T,;t t
5933 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5934 s,@plugin_subdirs@,$plugin_subdirs,;t t
5935 s,@XML2CONFIG@,$XML2CONFIG,;t t
5936 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5937 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5938 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5939 s,@enable_firm_jni@,$enable_firm_jni,;t t
5940 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5941 s,@disable_libiberty@,$disable_libiberty,;t t
5942 s,@enable_statistics@,$enable_statistics,;t t
5943 s,@enable_libcore@,$enable_libcore,;t t
5944 s,@enable_ilp@,$enable_ilp,;t t
5945 s,@enable_jvm@,$enable_jvm,;t t
5946 s,@enable_wchar_support@,$enable_wchar_support,;t t
5947 s,@enable_external_effects@,$enable_external_effects,;t t
5949 s,@CFLAGS@,$CFLAGS,;t t
5950 s,@LDFLAGS@,$LDFLAGS,;t t
5951 s,@CPPFLAGS@,$CPPFLAGS,;t t
5952 s,@ac_ct_CC@,$ac_ct_CC,;t t
5953 s,@EXEEXT@,$EXEEXT,;t t
5954 s,@OBJEXT@,$OBJEXT,;t t
5957 s,@ac_ct_LD@,$ac_ct_LD,;t t
5958 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5961 s,@RANLIB@,$RANLIB,;t t
5962 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5963 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5964 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5965 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5967 s,@DOXYGEN@,$DOXYGEN,;t t
5969 s,@JAVAC@,$JAVAC,;t t
5970 s,@JAVAH@,$JAVAH,;t t
5972 s,@EGREP@,$EGREP,;t t
5973 s,@LIBOBJS@,$LIBOBJS,;t t
5974 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5979 cat >>$CONFIG_STATUS <<\_ACEOF
5980 # Split the substitutions into bite-sized pieces for seds with
5981 # small command number limits, like on Digital OSF/1 and HP-UX.
5983 ac_sed_frag=1 # Number of current file.
5984 ac_beg=1 # First line for current file.
5985 ac_end=$ac_max_sed_lines # Line after last line for current file.
5988 while $ac_more_lines; do
5989 if test $ac_beg -gt 1; then
5990 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5992 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5994 if test ! -s $tmp/subs.frag; then
5997 # The purpose of the label and of the branching condition is to
5998 # speed up the sed processing (if there are no `@' at all, there
5999 # is no need to browse any of the substitutions).
6000 # These are the two extra sed commands mentioned above.
6002 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6003 if test -z "$ac_sed_cmds"; then
6004 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6006 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6008 ac_sed_frag=`expr $ac_sed_frag + 1`
6010 ac_end=`expr $ac_end + $ac_max_sed_lines`
6013 if test -z "$ac_sed_cmds"; then
6016 fi # test -n "$CONFIG_FILES"
6019 cat >>$CONFIG_STATUS <<\_ACEOF
6020 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6021 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6023 - | *:- | *:-:* ) # input from stdin
6025 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6026 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6027 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6028 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6029 * ) ac_file_in=$ac_file.in ;;
6032 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6033 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6034 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6035 X"$ac_file" : 'X\(//\)[^/]' \| \
6036 X"$ac_file" : 'X\(//\)$' \| \
6037 X"$ac_file" : 'X\(/\)' \| \
6038 . : '\(.\)' 2>/dev/null ||
6040 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6041 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6042 /^X\(\/\/\)$/{ s//\1/; q; }
6043 /^X\(\/\).*/{ s//\1/; q; }
6045 { if $as_mkdir_p; then
6050 while test ! -d "$as_dir"; do
6051 as_dirs="$as_dir $as_dirs"
6052 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6054 X"$as_dir" : 'X\(//\)[^/]' \| \
6055 X"$as_dir" : 'X\(//\)$' \| \
6056 X"$as_dir" : 'X\(/\)' \| \
6057 . : '\(.\)' 2>/dev/null ||
6059 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6060 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6061 /^X\(\/\/\)$/{ s//\1/; q; }
6062 /^X\(\/\).*/{ s//\1/; q; }
6065 test ! -n "$as_dirs" || mkdir $as_dirs
6066 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6067 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6068 { (exit 1); exit 1; }; }; }
6072 if test "$ac_dir" != .; then
6073 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6074 # A "../" for each directory in $ac_dir_suffix.
6075 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6077 ac_dir_suffix= ac_top_builddir=
6081 .) # No --srcdir option. We are building in place.
6083 if test -z "$ac_top_builddir"; then
6086 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6088 [\\/]* | ?:[\\/]* ) # Absolute path.
6089 ac_srcdir=$srcdir$ac_dir_suffix;
6090 ac_top_srcdir=$srcdir ;;
6092 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6093 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6096 # Do not use `cd foo && pwd` to compute absolute paths, because
6097 # the directories may not exist.
6099 .) ac_abs_builddir="$ac_dir";;
6102 .) ac_abs_builddir=`pwd`;;
6103 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6104 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6107 case $ac_abs_builddir in
6108 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6110 case ${ac_top_builddir}. in
6111 .) ac_abs_top_builddir=$ac_abs_builddir;;
6112 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6113 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6116 case $ac_abs_builddir in
6117 .) ac_abs_srcdir=$ac_srcdir;;
6120 .) ac_abs_srcdir=$ac_abs_builddir;;
6121 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6122 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6125 case $ac_abs_builddir in
6126 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6128 case $ac_top_srcdir in
6129 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6130 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6131 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6137 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6138 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6141 if test x"$ac_file" != x-; then
6142 { echo "$as_me:$LINENO: creating $ac_file" >&5
6143 echo "$as_me: creating $ac_file" >&6;}
6146 # Let's still pretend it is `configure' which instantiates (i.e., don't
6147 # use $as_me), people would be surprised to read:
6148 # /* config.h. Generated by config.status. */
6149 if test x"$ac_file" = x-; then
6152 configure_input="$ac_file. "
6154 configure_input=$configure_input"Generated from `echo $ac_file_in |
6155 sed 's,.*/,,'` by configure."
6157 # First look for the input files in the build tree, otherwise in the
6159 ac_file_inputs=`IFS=:
6160 for f in $ac_file_in; do
6162 -) echo $tmp/stdin ;;
6164 # Absolute (can't be DOS-style, as IFS=:)
6165 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6166 echo "$as_me: error: cannot find input file: $f" >&2;}
6167 { (exit 1); exit 1; }; }
6170 if test -f "$f"; then
6173 elif test -f "$srcdir/$f"; then
6178 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6179 echo "$as_me: error: cannot find input file: $f" >&2;}
6180 { (exit 1); exit 1; }; }
6183 done` || { (exit 1); exit 1; }
6185 cat >>$CONFIG_STATUS <<_ACEOF
6189 cat >>$CONFIG_STATUS <<\_ACEOF
6191 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6192 s,@configure_input@,$configure_input,;t t
6193 s,@srcdir@,$ac_srcdir,;t t
6194 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6195 s,@top_srcdir@,$ac_top_srcdir,;t t
6196 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6197 s,@builddir@,$ac_builddir,;t t
6198 s,@abs_builddir@,$ac_abs_builddir,;t t
6199 s,@top_builddir@,$ac_top_builddir,;t t
6200 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6201 s,@INSTALL@,$ac_INSTALL,;t t
6202 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6204 if test x"$ac_file" != x-; then
6205 mv $tmp/out $ac_file
6213 cat >>$CONFIG_STATUS <<\_ACEOF
6216 # CONFIG_HEADER section.
6219 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6220 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6222 # ac_d sets the value in "#define NAME VALUE" lines.
6223 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6224 ac_dB='[ ].*$,\1#\2'
6227 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6228 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6229 ac_uB='$,\1#\2define\3'
6233 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6234 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6236 - | *:- | *:-:* ) # input from stdin
6238 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6239 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6240 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6241 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6242 * ) ac_file_in=$ac_file.in ;;
6245 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6246 echo "$as_me: creating $ac_file" >&6;}
6248 # First look for the input files in the build tree, otherwise in the
6250 ac_file_inputs=`IFS=:
6251 for f in $ac_file_in; do
6253 -) echo $tmp/stdin ;;
6255 # Absolute (can't be DOS-style, as IFS=:)
6256 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6257 echo "$as_me: error: cannot find input file: $f" >&2;}
6258 { (exit 1); exit 1; }; }
6259 # Do quote $f, to prevent DOS paths from being IFS'd.
6262 if test -f "$f"; then
6265 elif test -f "$srcdir/$f"; then
6270 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6271 echo "$as_me: error: cannot find input file: $f" >&2;}
6272 { (exit 1); exit 1; }; }
6275 done` || { (exit 1); exit 1; }
6276 # Remove the trailing spaces.
6277 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6281 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6282 # `conftest.undefs', that substitutes the proper values into
6283 # config.h.in to produce config.h. The first handles `#define'
6284 # templates, and the second `#undef' templates.
6285 # And first: Protect against being on the right side of a sed subst in
6286 # config.status. Protect against being in an unquoted here document
6288 rm -f conftest.defines conftest.undefs
6289 # Using a here document instead of a string reduces the quoting nightmare.
6290 # Putting comments in sed scripts is not portable.
6292 # `end' is used to avoid that the second main sed command (meant for
6293 # 0-ary CPP macros) applies to n-ary macro definitions.
6294 # See the Autoconf documentation for `clear'.
6295 cat >confdef2sed.sed <<\_ACEOF
6300 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6302 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6305 # If some macros were called several times there might be several times
6306 # the same #defines, which is useless. Nevertheless, we may not want to
6307 # sort them, since we want the *last* AC-DEFINE to be honored.
6308 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6309 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6310 rm -f confdef2sed.sed
6312 # This sed command replaces #undef with comments. This is necessary, for
6313 # example, in the case of _POSIX_SOURCE, which is predefined and required
6314 # on some systems where configure will not decide to define it.
6315 cat >>conftest.undefs <<\_ACEOF
6316 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6319 # Break up conftest.defines because some shells have a limit on the size
6320 # of here documents, and old seds have small limits too (100 cmds).
6321 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6322 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6323 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6324 echo ' :' >>$CONFIG_STATUS
6326 while grep . conftest.defines >/dev/null
6328 # Write a limited-size here document to $tmp/defines.sed.
6329 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6330 # Speed up: don't consider the non `#define' lines.
6331 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6332 # Work around the forget-to-reset-the-flag bug.
6333 echo 't clr' >>$CONFIG_STATUS
6334 echo ': clr' >>$CONFIG_STATUS
6335 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6337 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6341 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6342 rm -f conftest.defines
6343 mv conftest.tail conftest.defines
6345 rm -f conftest.defines
6346 echo ' fi # grep' >>$CONFIG_STATUS
6347 echo >>$CONFIG_STATUS
6349 # Break up conftest.undefs because some shells have a limit on the size
6350 # of here documents, and old seds have small limits too (100 cmds).
6351 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6353 while grep . conftest.undefs >/dev/null
6355 # Write a limited-size here document to $tmp/undefs.sed.
6356 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6357 # Speed up: don't consider the non `#undef'
6358 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6359 # Work around the forget-to-reset-the-flag bug.
6360 echo 't clr' >>$CONFIG_STATUS
6361 echo ': clr' >>$CONFIG_STATUS
6362 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6364 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6368 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6369 rm -f conftest.undefs
6370 mv conftest.tail conftest.undefs
6372 rm -f conftest.undefs
6374 cat >>$CONFIG_STATUS <<\_ACEOF
6375 # Let's still pretend it is `configure' which instantiates (i.e., don't
6376 # use $as_me), people would be surprised to read:
6377 # /* config.h. Generated by config.status. */
6378 if test x"$ac_file" = x-; then
6379 echo "/* Generated by configure. */" >$tmp/config.h
6381 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6383 cat $tmp/in >>$tmp/config.h
6385 if test x"$ac_file" != x-; then
6386 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6387 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6388 echo "$as_me: $ac_file is unchanged" >&6;}
6390 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6391 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6392 X"$ac_file" : 'X\(//\)[^/]' \| \
6393 X"$ac_file" : 'X\(//\)$' \| \
6394 X"$ac_file" : 'X\(/\)' \| \
6395 . : '\(.\)' 2>/dev/null ||
6397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6399 /^X\(\/\/\)$/{ s//\1/; q; }
6400 /^X\(\/\).*/{ s//\1/; q; }
6402 { if $as_mkdir_p; then
6407 while test ! -d "$as_dir"; do
6408 as_dirs="$as_dir $as_dirs"
6409 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6410 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6411 X"$as_dir" : 'X\(//\)[^/]' \| \
6412 X"$as_dir" : 'X\(//\)$' \| \
6413 X"$as_dir" : 'X\(/\)' \| \
6414 . : '\(.\)' 2>/dev/null ||
6416 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6417 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6418 /^X\(\/\/\)$/{ s//\1/; q; }
6419 /^X\(\/\).*/{ s//\1/; q; }
6422 test ! -n "$as_dirs" || mkdir $as_dirs
6423 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6424 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6425 { (exit 1); exit 1; }; }; }
6428 mv $tmp/config.h $ac_file
6436 cat >>$CONFIG_STATUS <<\_ACEOF
6439 # CONFIG_COMMANDS section.
6441 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6442 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6443 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6444 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6445 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6446 X"$ac_dest" : 'X\(//\)[^/]' \| \
6447 X"$ac_dest" : 'X\(//\)$' \| \
6448 X"$ac_dest" : 'X\(/\)' \| \
6449 . : '\(.\)' 2>/dev/null ||
6451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6452 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6453 /^X\(\/\/\)$/{ s//\1/; q; }
6454 /^X\(\/\).*/{ s//\1/; q; }
6456 { if $as_mkdir_p; then
6461 while test ! -d "$as_dir"; do
6462 as_dirs="$as_dir $as_dirs"
6463 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6464 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6465 X"$as_dir" : 'X\(//\)[^/]' \| \
6466 X"$as_dir" : 'X\(//\)$' \| \
6467 X"$as_dir" : 'X\(/\)' \| \
6468 . : '\(.\)' 2>/dev/null ||
6470 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6471 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6472 /^X\(\/\/\)$/{ s//\1/; q; }
6473 /^X\(\/\).*/{ s//\1/; q; }
6476 test ! -n "$as_dirs" || mkdir $as_dirs
6477 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6478 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6479 { (exit 1); exit 1; }; }; }
6483 if test "$ac_dir" != .; then
6484 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6485 # A "../" for each directory in $ac_dir_suffix.
6486 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6488 ac_dir_suffix= ac_top_builddir=
6492 .) # No --srcdir option. We are building in place.
6494 if test -z "$ac_top_builddir"; then
6497 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6499 [\\/]* | ?:[\\/]* ) # Absolute path.
6500 ac_srcdir=$srcdir$ac_dir_suffix;
6501 ac_top_srcdir=$srcdir ;;
6503 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6504 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6507 # Do not use `cd foo && pwd` to compute absolute paths, because
6508 # the directories may not exist.
6510 .) ac_abs_builddir="$ac_dir";;
6513 .) ac_abs_builddir=`pwd`;;
6514 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6515 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6518 case $ac_abs_builddir in
6519 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6521 case ${ac_top_builddir}. in
6522 .) ac_abs_top_builddir=$ac_abs_builddir;;
6523 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6524 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6527 case $ac_abs_builddir in
6528 .) ac_abs_srcdir=$ac_srcdir;;
6531 .) ac_abs_srcdir=$ac_abs_builddir;;
6532 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6533 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6536 case $ac_abs_builddir in
6537 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6539 case $ac_top_srcdir in
6540 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6541 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6542 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6547 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6548 echo "$as_me: executing $ac_dest commands" >&6;}
6550 default ) touch stamp-h ;;
6555 cat >>$CONFIG_STATUS <<\_ACEOF
6557 { (exit 0); exit 0; }
6559 chmod +x $CONFIG_STATUS
6560 ac_clean_files=$ac_clean_files_save
6563 # configure is writing to config.log, and then calls config.status.
6564 # config.status does its own redirection, appending to config.log.
6565 # Unfortunately, on DOS this fails, as config.log is still kept open
6566 # by configure, so config.status won't be able to write to it; its
6567 # output is simply discarded. So we exec the FD to /dev/null,
6568 # effectively closing config.log, so it can be properly (re)opened and
6569 # appended to by config.status. When coming back to configure, we
6570 # need to make the FD available again.
6571 if test "$no_create" != yes; then
6573 ac_config_status_args=
6574 test "$silent" = yes &&
6575 ac_config_status_args="$ac_config_status_args --quiet"
6577 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6579 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6580 # would make configure fail if this is the last instruction.
6581 $ac_cs_success || { (exit 1); exit 1; }
6585 for i in $plugin_subdirs
6587 suffix=`echo $i | tr /a-z _A-Z`
6588 echo "/* enabled plugin: $i */" >> config.h
6589 echo "#define PLUGIN_$suffix 1" >> config.h
6592 $AWK -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h