2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for libfirm 1.3.0.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 DUALCASE=1; export DUALCASE # for MKS sh
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 if expr a : '\(a\)' >/dev/null 2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.file conf$$ 2>/dev/null; then
217 rm -f conf$$ conf$$.exe conf$$.file
219 if mkdir -p . 2>/dev/null; then
222 test -d ./-p && rmdir ./-p
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
269 PACKAGE_NAME='libfirm'
270 PACKAGE_TARNAME='libfirm'
271 PACKAGE_VERSION='1.3.0'
272 PACKAGE_STRING='libfirm 1.3.0'
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libfirm_conf_env plugin_subdirs XML2CONFIG enable_debug_libfirm enable_profile_libfirm enable_auto_documentation enable_firm_jni enable_heapanalysis disable_libiberty enable_statistics enable_libcore enable_ilp enable_wchar_support enable_external_effects CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT AWK LD ac_ct_LD libfirm_cv_prog_ld_r AR TAR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S DOXYGEN DOT JAVAC JAVAH CPP EGREP LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures libfirm 1.3.0 to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
837 case $ac_init_help in
838 short | recursive ) echo "Configuration of libfirm 1.3.0:";;
843 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
844 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
845 --enable-debug enable assertions and additional debugging routines
846 --disable-inlining disable inline C-extension
847 --enable-profile enable profiling
848 --enable-autodoc enable auto documentation
849 --enable-firmjni check for tools necesarry to construct a java native interface for Firm
850 --enable-heapanalysis Compile with heap analysis.
851 --disable-libiberty disable own libiberty parts
852 --disable-hooks disable Firm hooks
853 --enable-statistics enable Firm statistics
854 --enable-libcore enable libcore debugging
855 --enable-ilp enable ilp solver
856 --enable-wchar-support enable wchar_t support for identifiers (needed for java)
857 --disable-external-effects disable descriptions of external effects in XML
860 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
861 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
862 --with-plugins=list include external libfirm plugins list (space separated)
863 --with-includedir=add colon seperated list of directories to include search path
864 --with-libdir=add colon seperated list of directories to linker search path
866 Some influential environment variables:
867 CC C compiler command
868 CFLAGS C compiler flags
869 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
870 nonstandard directory <lib dir>
871 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
872 headers in a nonstandard directory <include dir>
875 Use these variables to override the choices made by `configure' or to help
876 it to find libraries and programs with nonstandard names/locations.
881 if test "$ac_init_help" = "recursive"; then
882 # If there are subdirs, report their specific --help.
884 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
885 test -d $ac_dir || continue
888 if test "$ac_dir" != .; then
889 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
890 # A "../" for each directory in $ac_dir_suffix.
891 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
893 ac_dir_suffix= ac_top_builddir=
897 .) # No --srcdir option. We are building in place.
899 if test -z "$ac_top_builddir"; then
902 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
904 [\\/]* | ?:[\\/]* ) # Absolute path.
905 ac_srcdir=$srcdir$ac_dir_suffix;
906 ac_top_srcdir=$srcdir ;;
908 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
909 ac_top_srcdir=$ac_top_builddir$srcdir ;;
912 # Do not use `cd foo && pwd` to compute absolute paths, because
913 # the directories may not exist.
915 .) ac_abs_builddir="$ac_dir";;
918 .) ac_abs_builddir=`pwd`;;
919 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
920 *) ac_abs_builddir=`pwd`/"$ac_dir";;
923 case $ac_abs_builddir in
924 .) ac_abs_top_builddir=${ac_top_builddir}.;;
926 case ${ac_top_builddir}. in
927 .) ac_abs_top_builddir=$ac_abs_builddir;;
928 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
929 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
932 case $ac_abs_builddir in
933 .) ac_abs_srcdir=$ac_srcdir;;
936 .) ac_abs_srcdir=$ac_abs_builddir;;
937 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
938 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
941 case $ac_abs_builddir in
942 .) ac_abs_top_srcdir=$ac_top_srcdir;;
944 case $ac_top_srcdir in
945 .) ac_abs_top_srcdir=$ac_abs_builddir;;
946 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
947 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
952 # Check for guested configure; otherwise get Cygnus style configure.
953 if test -f $ac_srcdir/configure.gnu; then
955 $SHELL $ac_srcdir/configure.gnu --help=recursive
956 elif test -f $ac_srcdir/configure; then
958 $SHELL $ac_srcdir/configure --help=recursive
959 elif test -f $ac_srcdir/configure.ac ||
960 test -f $ac_srcdir/configure.in; then
964 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
970 test -n "$ac_init_help" && exit 0
971 if $ac_init_version; then
973 libfirm configure 1.3.0
974 generated by GNU Autoconf 2.59
976 Copyright (C) 2003 Free Software Foundation, Inc.
977 This configure script is free software; the Free Software Foundation
978 gives unlimited permission to copy, distribute and modify it.
984 This file contains any messages produced by compilers while
985 running configure, to aid debugging if configure makes a mistake.
987 It was created by libfirm $as_me 1.3.0, which was
988 generated by GNU Autoconf 2.59. Invocation command line was
999 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1000 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1001 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1002 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1003 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1005 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1006 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1008 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1009 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1010 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1011 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1012 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1013 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1014 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1022 test -z "$as_dir" && as_dir=.
1023 echo "PATH: $as_dir"
1038 # Keep a trace of the command line.
1039 # Strip out --no-create and --no-recursion so they do not pile up.
1040 # Strip out --silent because we don't want to record it for future runs.
1041 # Also quote any args containing shell meta-characters.
1042 # Make two passes to allow for proper duplicate-argument suppression.
1047 ac_must_keep_next=false
1053 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1054 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1055 | -silent | --silent | --silen | --sile | --sil)
1057 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1058 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1061 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1063 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1064 if test $ac_must_keep_next = true; then
1065 ac_must_keep_next=false # Got value, back to normal.
1068 *=* | --config-cache | -C | -disable-* | --disable-* \
1069 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1070 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1071 | -with-* | --with-* | -without-* | --without-* | --x)
1072 case "$ac_configure_args0 " in
1073 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1076 -* ) ac_must_keep_next=true ;;
1079 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1080 # Get rid of the leading space.
1086 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1087 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1089 # When interrupted or exit'd, cleanup temporary files, and complete
1090 # config.log. We remove comments because anyway the quotes in there
1091 # would cause problems or look ugly.
1092 # WARNING: Be sure not to use single quotes in there, as some shells,
1093 # such as our DU 5.0 friend, will then `close' the trap.
1094 trap 'exit_status=$?
1095 # Save into config.log some information that might help in debugging.
1100 ## ---------------- ##
1101 ## Cache variables. ##
1102 ## ---------------- ##
1105 # The following way of writing the cache mishandles newlines in values,
1108 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1111 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1116 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1123 ## ----------------- ##
1124 ## Output variables. ##
1125 ## ----------------- ##
1128 for ac_var in $ac_subst_vars
1130 eval ac_val=$`echo $ac_var`
1131 echo "$ac_var='"'"'$ac_val'"'"'"
1135 if test -n "$ac_subst_files"; then
1142 for ac_var in $ac_subst_files
1144 eval ac_val=$`echo $ac_var`
1145 echo "$ac_var='"'"'$ac_val'"'"'"
1150 if test -s confdefs.h; then
1157 sed "/^$/d" confdefs.h | sort
1160 test "$ac_signal" != 0 &&
1161 echo "$as_me: caught signal $ac_signal"
1162 echo "$as_me: exit $exit_status"
1164 rm -f core *.core &&
1165 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1168 for ac_signal in 1 2 13 15; do
1169 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1174 rm -rf conftest* confdefs.h
1175 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1178 # Predefined preprocessor variables.
1180 cat >>confdefs.h <<_ACEOF
1181 #define PACKAGE_NAME "$PACKAGE_NAME"
1185 cat >>confdefs.h <<_ACEOF
1186 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1190 cat >>confdefs.h <<_ACEOF
1191 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1195 cat >>confdefs.h <<_ACEOF
1196 #define PACKAGE_STRING "$PACKAGE_STRING"
1200 cat >>confdefs.h <<_ACEOF
1201 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1205 # Let the site file select an alternate cache file if it wants to.
1206 # Prefer explicitly selected file to automatically selected ones.
1207 if test -z "$CONFIG_SITE"; then
1208 if test "x$prefix" != xNONE; then
1209 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1211 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1214 for ac_site_file in $CONFIG_SITE; do
1215 if test -r "$ac_site_file"; then
1216 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1217 echo "$as_me: loading site script $ac_site_file" >&6;}
1218 sed 's/^/| /' "$ac_site_file" >&5
1223 if test -r "$cache_file"; then
1224 # Some versions of bash will fail to source /dev/null (special
1225 # files actually), so we avoid doing that.
1226 if test -f "$cache_file"; then
1227 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1228 echo "$as_me: loading cache $cache_file" >&6;}
1230 [\\/]* | ?:[\\/]* ) . $cache_file;;
1231 *) . ./$cache_file;;
1235 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1236 echo "$as_me: creating cache $cache_file" >&6;}
1240 # Check that the precious variables saved in the cache have kept the same
1242 ac_cache_corrupted=false
1243 for ac_var in `(set) 2>&1 |
1244 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1245 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1246 eval ac_new_set=\$ac_env_${ac_var}_set
1247 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1248 eval ac_new_val="\$ac_env_${ac_var}_value"
1249 case $ac_old_set,$ac_new_set in
1251 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1252 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1253 ac_cache_corrupted=: ;;
1255 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1256 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1257 ac_cache_corrupted=: ;;
1260 if test "x$ac_old_val" != "x$ac_new_val"; then
1261 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1262 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1263 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1264 echo "$as_me: former value: $ac_old_val" >&2;}
1265 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1266 echo "$as_me: current value: $ac_new_val" >&2;}
1267 ac_cache_corrupted=:
1270 # Pass precious variables to config.status.
1271 if test "$ac_new_set" = set; then
1273 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1274 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1275 *) ac_arg=$ac_var=$ac_new_val ;;
1277 case " $ac_configure_args " in
1278 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1279 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1283 if $ac_cache_corrupted; then
1284 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1285 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1286 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1287 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1288 { (exit 1); exit 1; }; }
1292 ac_cpp='$CPP $CPPFLAGS'
1293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1325 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1326 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1327 ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
1328 ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
1329 ir/arch/Makefile ir/lower/Makefile \
1330 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1333 ac_config_headers="$ac_config_headers config.h"
1336 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1339 CONF_DIR_NAME=`dirname $0`
1342 echo "$as_me:$LINENO: checking for external libfirm plugins" >&5
1343 echo $ECHO_N "checking for external libfirm plugins... $ECHO_C" >&6
1345 # Check whether --with-plugins or --without-plugins was given.
1346 if test "${with_plugins+set}" = set; then
1347 withval="$with_plugins"
1349 plugin_subdirs=$withval
1351 for i in $withval ; do
1352 plugin_files="$i/Makefile $plugin_files"
1354 ac_output_file="$ac_output_file $plugin_files"
1363 if test "$plugin_subdirs" == ""; then
1364 echo "$as_me:$LINENO: result: disabled" >&5
1365 echo "${ECHO_T}disabled" >&6
1367 echo "$as_me:$LINENO: result: $plugin_subdirs" >&5
1368 echo "${ECHO_T}$plugin_subdirs" >&6
1372 # Check whether --with-includedir or --without-includedir was given.
1373 if test "${with_includedir+set}" = set; then
1374 withval="$with_includedir"
1375 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1379 # Check whether --with-libdir or --without-libdir was given.
1380 if test "${with_libdir+set}" = set; then
1381 withval="$with_libdir"
1382 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1386 # Extract the first word of "xml2-config", so it can be a program name with args.
1387 set dummy xml2-config; ac_word=$2
1388 echo "$as_me:$LINENO: checking for $ac_word" >&5
1389 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1390 if test "${ac_cv_prog_XML2CONFIG+set}" = set; then
1391 echo $ECHO_N "(cached) $ECHO_C" >&6
1393 if test -n "$XML2CONFIG"; then
1394 ac_cv_prog_XML2CONFIG="$XML2CONFIG" # Let the user override the test.
1396 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1400 test -z "$as_dir" && as_dir=.
1401 for ac_exec_ext in '' $ac_executable_extensions; do
1402 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1403 ac_cv_prog_XML2CONFIG=""xml2-config""
1404 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1410 test -z "$ac_cv_prog_XML2CONFIG" && ac_cv_prog_XML2CONFIG=""echo""
1413 XML2CONFIG=$ac_cv_prog_XML2CONFIG
1414 if test -n "$XML2CONFIG"; then
1415 echo "$as_me:$LINENO: result: $XML2CONFIG" >&5
1416 echo "${ECHO_T}$XML2CONFIG" >&6
1418 echo "$as_me:$LINENO: result: no" >&5
1419 echo "${ECHO_T}no" >&6
1422 if test "$XML2CONFIG" != "xml2-config"; then
1423 { { echo "$as_me:$LINENO: error: xml2-config for detecting libxml2 not found" >&5
1424 echo "$as_me: error: xml2-config for detecting libxml2 not found" >&2;}
1425 { (exit 1); exit 1; }; }
1428 LDFLAGS=$LDFLAGS" -L/usr/lib `$XML2CONFIG --libs`";
1429 CPPFLAGS=$CPPFLAGS" `$XML2CONFIG --cflags`";
1431 # Check whether --enable-debug or --disable-debug was given.
1432 if test "${enable_debug+set}" = set; then
1433 enableval="$enable_debug"
1434 if test "$enableval" = yes; then
1435 cat >>confdefs.h <<\_ACEOF
1436 #define DEBUG_libfirm 1
1440 cat >>confdefs.h <<\_ACEOF
1448 # Check whether --enable-inlining or --disable-inlining was given.
1449 if test "${enable_inlining+set}" = set; then
1450 enableval="$enable_inlining"
1451 if test "$enableval" = yes; then
1452 cat >>confdefs.h <<\_ACEOF
1453 #define USE_INLINING 1
1458 cat >>confdefs.h <<\_ACEOF
1459 #define USE_INLINING 1
1465 # Check whether --enable-profile or --disable-profile was given.
1466 if test "${enable_profile+set}" = set; then
1467 enableval="$enable_profile"
1468 if test "$enableval"=yes; then
1469 enable_profile_libfirm=yes
1472 enable_profile_libfirm=no
1476 # Check whether --enable-autodoc or --disable-autodoc was given.
1477 if test "${enable_autodoc+set}" = set; then
1478 enableval="$enable_autodoc"
1479 if test "$enableval"=yes; then
1480 enable_auto_documentation=yes
1483 enable_auto_documentation=no
1488 # Check whether --enable-firmjni or --disable-firmjni was given.
1489 if test "${enable_firmjni+set}" = set; then
1490 enableval="$enable_firmjni"
1491 if test "$enableval"=yes; then
1499 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1500 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1501 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1502 if test "${enable_heapanalysis+set}" = set; then
1503 enableval="$enable_heapanalysis"
1504 enable_heapanalysis=$enableval
1506 enable_heapanalysis="no"
1508 if test "$enable_heapanalysis" = "no"; then
1509 echo "$as_me:$LINENO: result: disabled" >&5
1510 echo "${ECHO_T}disabled" >&6
1512 cat >>confdefs.h <<\_ACEOF
1513 #define DO_HEAPANALYSIS 1
1516 echo "$as_me:$LINENO: result: enabled" >&5
1517 echo "${ECHO_T}enabled" >&6
1521 # Check whether --enable-libiberty or --disable-libiberty was given.
1522 if test "${enable_libiberty+set}" = set; then
1523 enableval="$enable_libiberty"
1524 if test "$enableval"=yes; then
1525 disable_libiberty=yes
1528 disable_libiberty=no
1532 # Check whether --enable-hooks or --disable-hooks was given.
1533 if test "${enable_hooks+set}" = set; then
1534 enableval="$enable_hooks"
1535 if test "$enableval" = yes; then
1536 cat >>confdefs.h <<\_ACEOF
1537 #define FIRM_ENABLE_HOOKS 1
1542 cat >>confdefs.h <<\_ACEOF
1543 #define FIRM_ENABLE_HOOKS 1
1549 # Check whether --enable-statistics or --disable-statistics was given.
1550 if test "${enable_statistics+set}" = set; then
1551 enableval="$enable_statistics"
1552 if test "$enableval"=yes; then
1553 cat >>confdefs.h <<\_ACEOF
1554 #define FIRM_STATISTICS 1
1561 # Check whether --enable-libcore or --disable-libcore was given.
1562 if test "${enable_libcore+set}" = set; then
1563 enableval="$enable_libcore"
1564 if test "$enableval"=yes; then
1565 cat >>confdefs.h <<\_ACEOF
1566 #define WITH_LIBCORE 1
1573 # Check whether --enable-ilp or --disable-ilp was given.
1574 if test "${enable_ilp+set}" = set; then
1575 enableval="$enable_ilp"
1576 if test "$enableval"=yes; then
1577 cat >>confdefs.h <<\_ACEOF
1586 # Check whether --enable-wchar_support or --disable-wchar_support was given.
1587 if test "${enable_wchar_support+set}" = set; then
1588 enableval="$enable_wchar_support"
1589 if test "$enableval"=yes; then
1590 cat >>confdefs.h <<\_ACEOF
1591 #define FIRM_ENABLE_WCHAR 1
1599 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1600 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1601 # Check whether --enable-external-effects or --disable-external-effects was given.
1602 if test "${enable_external_effects+set}" = set; then
1603 enableval="$enable_external_effects"
1604 if test "$enableval"="no"; then
1605 enable_external_effects=no
1608 enable_external_effects=yes
1611 if test "$enable_external_effects" == no; then
1612 echo "$as_me:$LINENO: result: disabled" >&5
1613 echo "${ECHO_T}disabled" >&6
1615 echo "$as_me:$LINENO: result: enabled" >&5
1616 echo "${ECHO_T}enabled" >&6
1621 ac_cpp='$CPP $CPPFLAGS'
1622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1625 if test -n "$ac_tool_prefix"; then
1626 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1627 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1628 echo "$as_me:$LINENO: checking for $ac_word" >&5
1629 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1630 if test "${ac_cv_prog_CC+set}" = set; then
1631 echo $ECHO_N "(cached) $ECHO_C" >&6
1633 if test -n "$CC"; then
1634 ac_cv_prog_CC="$CC" # Let the user override the test.
1636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1640 test -z "$as_dir" && as_dir=.
1641 for ac_exec_ext in '' $ac_executable_extensions; do
1642 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1643 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1644 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1653 if test -n "$CC"; then
1654 echo "$as_me:$LINENO: result: $CC" >&5
1655 echo "${ECHO_T}$CC" >&6
1657 echo "$as_me:$LINENO: result: no" >&5
1658 echo "${ECHO_T}no" >&6
1662 if test -z "$ac_cv_prog_CC"; then
1664 # Extract the first word of "gcc", so it can be a program name with args.
1665 set dummy gcc; ac_word=$2
1666 echo "$as_me:$LINENO: checking for $ac_word" >&5
1667 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1668 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1669 echo $ECHO_N "(cached) $ECHO_C" >&6
1671 if test -n "$ac_ct_CC"; then
1672 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1678 test -z "$as_dir" && as_dir=.
1679 for ac_exec_ext in '' $ac_executable_extensions; do
1680 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1681 ac_cv_prog_ac_ct_CC="gcc"
1682 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1690 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1691 if test -n "$ac_ct_CC"; then
1692 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1693 echo "${ECHO_T}$ac_ct_CC" >&6
1695 echo "$as_me:$LINENO: result: no" >&5
1696 echo "${ECHO_T}no" >&6
1704 if test -z "$CC"; then
1705 if test -n "$ac_tool_prefix"; then
1706 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1707 set dummy ${ac_tool_prefix}cc; ac_word=$2
1708 echo "$as_me:$LINENO: checking for $ac_word" >&5
1709 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1710 if test "${ac_cv_prog_CC+set}" = set; then
1711 echo $ECHO_N "(cached) $ECHO_C" >&6
1713 if test -n "$CC"; then
1714 ac_cv_prog_CC="$CC" # Let the user override the test.
1716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1720 test -z "$as_dir" && as_dir=.
1721 for ac_exec_ext in '' $ac_executable_extensions; do
1722 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1723 ac_cv_prog_CC="${ac_tool_prefix}cc"
1724 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1733 if test -n "$CC"; then
1734 echo "$as_me:$LINENO: result: $CC" >&5
1735 echo "${ECHO_T}$CC" >&6
1737 echo "$as_me:$LINENO: result: no" >&5
1738 echo "${ECHO_T}no" >&6
1742 if test -z "$ac_cv_prog_CC"; then
1744 # Extract the first word of "cc", so it can be a program name with args.
1745 set dummy cc; ac_word=$2
1746 echo "$as_me:$LINENO: checking for $ac_word" >&5
1747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1748 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1749 echo $ECHO_N "(cached) $ECHO_C" >&6
1751 if test -n "$ac_ct_CC"; then
1752 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 test -z "$as_dir" && as_dir=.
1759 for ac_exec_ext in '' $ac_executable_extensions; do
1760 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1761 ac_cv_prog_ac_ct_CC="cc"
1762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1770 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1771 if test -n "$ac_ct_CC"; then
1772 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1773 echo "${ECHO_T}$ac_ct_CC" >&6
1775 echo "$as_me:$LINENO: result: no" >&5
1776 echo "${ECHO_T}no" >&6
1785 if test -z "$CC"; then
1786 # Extract the first word of "cc", so it can be a program name with args.
1787 set dummy cc; ac_word=$2
1788 echo "$as_me:$LINENO: checking for $ac_word" >&5
1789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1790 if test "${ac_cv_prog_CC+set}" = set; then
1791 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 if test -n "$CC"; then
1794 ac_cv_prog_CC="$CC" # Let the user override the test.
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1801 test -z "$as_dir" && as_dir=.
1802 for ac_exec_ext in '' $ac_executable_extensions; do
1803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1804 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1805 ac_prog_rejected=yes
1809 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1815 if test $ac_prog_rejected = yes; then
1816 # We found a bogon in the path, so make sure we never use it.
1817 set dummy $ac_cv_prog_CC
1819 if test $# != 0; then
1820 # We chose a different compiler from the bogus one.
1821 # However, it has the same basename, so the bogon will be chosen
1822 # first if we set CC to just the basename; use the full file name.
1824 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1830 if test -n "$CC"; then
1831 echo "$as_me:$LINENO: result: $CC" >&5
1832 echo "${ECHO_T}$CC" >&6
1834 echo "$as_me:$LINENO: result: no" >&5
1835 echo "${ECHO_T}no" >&6
1839 if test -z "$CC"; then
1840 if test -n "$ac_tool_prefix"; then
1843 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1844 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1845 echo "$as_me:$LINENO: checking for $ac_word" >&5
1846 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1847 if test "${ac_cv_prog_CC+set}" = set; then
1848 echo $ECHO_N "(cached) $ECHO_C" >&6
1850 if test -n "$CC"; then
1851 ac_cv_prog_CC="$CC" # Let the user override the test.
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1857 test -z "$as_dir" && as_dir=.
1858 for ac_exec_ext in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1861 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1870 if test -n "$CC"; then
1871 echo "$as_me:$LINENO: result: $CC" >&5
1872 echo "${ECHO_T}$CC" >&6
1874 echo "$as_me:$LINENO: result: no" >&5
1875 echo "${ECHO_T}no" >&6
1878 test -n "$CC" && break
1881 if test -z "$CC"; then
1885 # Extract the first word of "$ac_prog", so it can be a program name with args.
1886 set dummy $ac_prog; ac_word=$2
1887 echo "$as_me:$LINENO: checking for $ac_word" >&5
1888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1889 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1890 echo $ECHO_N "(cached) $ECHO_C" >&6
1892 if test -n "$ac_ct_CC"; then
1893 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir=.
1900 for ac_exec_ext in '' $ac_executable_extensions; do
1901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1902 ac_cv_prog_ac_ct_CC="$ac_prog"
1903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1911 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1912 if test -n "$ac_ct_CC"; then
1913 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1914 echo "${ECHO_T}$ac_ct_CC" >&6
1916 echo "$as_me:$LINENO: result: no" >&5
1917 echo "${ECHO_T}no" >&6
1920 test -n "$ac_ct_CC" && break
1929 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1930 See \`config.log' for more details." >&5
1931 echo "$as_me: error: no acceptable C compiler found in \$PATH
1932 See \`config.log' for more details." >&2;}
1933 { (exit 1); exit 1; }; }
1935 # Provide some information about the compiler.
1936 echo "$as_me:$LINENO:" \
1937 "checking for C compiler version" >&5
1938 ac_compiler=`set X $ac_compile; echo $2`
1939 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1940 (eval $ac_compiler --version </dev/null >&5) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }
1944 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1945 (eval $ac_compiler -v </dev/null >&5) 2>&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }
1949 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1950 (eval $ac_compiler -V </dev/null >&5) 2>&5
1952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1953 (exit $ac_status); }
1955 cat >conftest.$ac_ext <<_ACEOF
1958 cat confdefs.h >>conftest.$ac_ext
1959 cat >>conftest.$ac_ext <<_ACEOF
1960 /* end confdefs.h. */
1970 ac_clean_files_save=$ac_clean_files
1971 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1972 # Try to create an executable without -o first, disregard a.out.
1973 # It will help us diagnose broken compilers, and finding out an intuition
1975 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1976 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1977 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1978 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1979 (eval $ac_link_default) 2>&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); }; then
1983 # Find the output, starting from the most likely. This scheme is
1984 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1987 # Be careful to initialize this variable, since it used to be cached.
1988 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1990 # b.out is created by i960 compilers.
1991 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1993 test -f "$ac_file" || continue
1995 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1998 # This is the source file.
2001 # We found the default executable, but exeext='' is most
2005 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2006 # FIXME: I believe we export ac_cv_exeext for Libtool,
2007 # but it would be cool to find out if it's true. Does anybody
2008 # maintain Libtool? --akim.
2016 echo "$as_me: failed program was:" >&5
2017 sed 's/^/| /' conftest.$ac_ext >&5
2019 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2020 See \`config.log' for more details." >&5
2021 echo "$as_me: error: C compiler cannot create executables
2022 See \`config.log' for more details." >&2;}
2023 { (exit 77); exit 77; }; }
2026 ac_exeext=$ac_cv_exeext
2027 echo "$as_me:$LINENO: result: $ac_file" >&5
2028 echo "${ECHO_T}$ac_file" >&6
2030 # Check the compiler produces executables we can run. If not, either
2031 # the compiler is broken, or we cross compile.
2032 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2033 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2034 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2035 # If not cross compiling, check that we can run a simple program.
2036 if test "$cross_compiling" != yes; then
2037 if { ac_try='./$ac_file'
2038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2042 (exit $ac_status); }; }; then
2045 if test "$cross_compiling" = maybe; then
2048 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2049 If you meant to cross compile, use \`--host'.
2050 See \`config.log' for more details." >&5
2051 echo "$as_me: error: cannot run C compiled programs.
2052 If you meant to cross compile, use \`--host'.
2053 See \`config.log' for more details." >&2;}
2054 { (exit 1); exit 1; }; }
2058 echo "$as_me:$LINENO: result: yes" >&5
2059 echo "${ECHO_T}yes" >&6
2061 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2062 ac_clean_files=$ac_clean_files_save
2063 # Check the compiler produces executables we can run. If not, either
2064 # the compiler is broken, or we cross compile.
2065 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2066 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2067 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2068 echo "${ECHO_T}$cross_compiling" >&6
2070 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2071 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2073 (eval $ac_link) 2>&5
2075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2076 (exit $ac_status); }; then
2077 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2078 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2079 # work properly (i.e., refer to `conftest.exe'), while it won't with
2081 for ac_file in conftest.exe conftest conftest.*; do
2082 test -f "$ac_file" || continue
2084 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2085 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2092 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2093 See \`config.log' for more details." >&5
2094 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2095 See \`config.log' for more details." >&2;}
2096 { (exit 1); exit 1; }; }
2099 rm -f conftest$ac_cv_exeext
2100 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2101 echo "${ECHO_T}$ac_cv_exeext" >&6
2103 rm -f conftest.$ac_ext
2104 EXEEXT=$ac_cv_exeext
2106 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2107 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2108 if test "${ac_cv_objext+set}" = set; then
2109 echo $ECHO_N "(cached) $ECHO_C" >&6
2111 cat >conftest.$ac_ext <<_ACEOF
2114 cat confdefs.h >>conftest.$ac_ext
2115 cat >>conftest.$ac_ext <<_ACEOF
2116 /* end confdefs.h. */
2126 rm -f conftest.o conftest.obj
2127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2128 (eval $ac_compile) 2>&5
2130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2131 (exit $ac_status); }; then
2132 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2135 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2140 echo "$as_me: failed program was:" >&5
2141 sed 's/^/| /' conftest.$ac_ext >&5
2143 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2144 See \`config.log' for more details." >&5
2145 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2146 See \`config.log' for more details." >&2;}
2147 { (exit 1); exit 1; }; }
2150 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2152 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2153 echo "${ECHO_T}$ac_cv_objext" >&6
2154 OBJEXT=$ac_cv_objext
2156 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2157 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2158 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2159 echo $ECHO_N "(cached) $ECHO_C" >&6
2161 cat >conftest.$ac_ext <<_ACEOF
2164 cat confdefs.h >>conftest.$ac_ext
2165 cat >>conftest.$ac_ext <<_ACEOF
2166 /* end confdefs.h. */
2179 rm -f conftest.$ac_objext
2180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2181 (eval $ac_compile) 2>conftest.er1
2183 grep -v '^ *+' conftest.er1 >conftest.err
2185 cat conftest.err >&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); } &&
2188 { ac_try='test -z "$ac_c_werror_flag"
2189 || test ! -s conftest.err'
2190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); }; } &&
2195 { ac_try='test -s conftest.$ac_objext'
2196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2200 (exit $ac_status); }; }; then
2203 echo "$as_me: failed program was:" >&5
2204 sed 's/^/| /' conftest.$ac_ext >&5
2208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2209 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2212 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2213 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2214 GCC=`test $ac_compiler_gnu = yes && echo yes`
2215 ac_test_CFLAGS=${CFLAGS+set}
2216 ac_save_CFLAGS=$CFLAGS
2218 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2219 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2220 if test "${ac_cv_prog_cc_g+set}" = set; then
2221 echo $ECHO_N "(cached) $ECHO_C" >&6
2223 cat >conftest.$ac_ext <<_ACEOF
2226 cat confdefs.h >>conftest.$ac_ext
2227 cat >>conftest.$ac_ext <<_ACEOF
2228 /* end confdefs.h. */
2238 rm -f conftest.$ac_objext
2239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2240 (eval $ac_compile) 2>conftest.er1
2242 grep -v '^ *+' conftest.er1 >conftest.err
2244 cat conftest.err >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); } &&
2247 { ac_try='test -z "$ac_c_werror_flag"
2248 || test ! -s conftest.err'
2249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2253 (exit $ac_status); }; } &&
2254 { ac_try='test -s conftest.$ac_objext'
2255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2259 (exit $ac_status); }; }; then
2262 echo "$as_me: failed program was:" >&5
2263 sed 's/^/| /' conftest.$ac_ext >&5
2267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2269 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2270 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2271 if test "$ac_test_CFLAGS" = set; then
2272 CFLAGS=$ac_save_CFLAGS
2273 elif test $ac_cv_prog_cc_g = yes; then
2274 if test "$GCC" = yes; then
2280 if test "$GCC" = yes; then
2286 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2287 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2288 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2289 echo $ECHO_N "(cached) $ECHO_C" >&6
2291 ac_cv_prog_cc_stdc=no
2293 cat >conftest.$ac_ext <<_ACEOF
2296 cat confdefs.h >>conftest.$ac_ext
2297 cat >>conftest.$ac_ext <<_ACEOF
2298 /* end confdefs.h. */
2301 #include <sys/types.h>
2302 #include <sys/stat.h>
2303 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2304 struct buf { int x; };
2305 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2306 static char *e (p, i)
2312 static char *f (char * (*g) (char **, int), char **p, ...)
2317 s = g (p, va_arg (v,int));
2322 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2323 function prototypes and stuff, but not '\xHH' hex character constants.
2324 These don't provoke an error unfortunately, instead are silently treated
2325 as 'x'. The following induces an error, until -std1 is added to get
2326 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2327 array size at least. It's necessary to write '\x00'==0 to get something
2328 that's true only with -std1. */
2329 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2331 int test (int i, double x);
2332 struct s1 {int (*f) (int a);};
2333 struct s2 {int (*f) (double a);};
2334 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2340 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2345 # Don't try gcc -ansi; that turns off useful extensions and
2346 # breaks some systems' header files.
2347 # AIX -qlanglvl=ansi
2348 # Ultrix and OSF/1 -std1
2349 # HP-UX 10.20 and later -Ae
2350 # HP-UX older versions -Aa -D_HPUX_SOURCE
2351 # SVR4 -Xc -D__EXTENSIONS__
2352 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2354 CC="$ac_save_CC $ac_arg"
2355 rm -f conftest.$ac_objext
2356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2357 (eval $ac_compile) 2>conftest.er1
2359 grep -v '^ *+' conftest.er1 >conftest.err
2361 cat conftest.err >&5
2362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2363 (exit $ac_status); } &&
2364 { ac_try='test -z "$ac_c_werror_flag"
2365 || test ! -s conftest.err'
2366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2370 (exit $ac_status); }; } &&
2371 { ac_try='test -s conftest.$ac_objext'
2372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2376 (exit $ac_status); }; }; then
2377 ac_cv_prog_cc_stdc=$ac_arg
2380 echo "$as_me: failed program was:" >&5
2381 sed 's/^/| /' conftest.$ac_ext >&5
2384 rm -f conftest.err conftest.$ac_objext
2386 rm -f conftest.$ac_ext conftest.$ac_objext
2391 case "x$ac_cv_prog_cc_stdc" in
2393 echo "$as_me:$LINENO: result: none needed" >&5
2394 echo "${ECHO_T}none needed" >&6 ;;
2396 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2397 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2398 CC="$CC $ac_cv_prog_cc_stdc" ;;
2401 # Some people use a C++ compiler to compile C. Since we use `exit',
2402 # in C++ we need to declare it. In case someone uses the same compiler
2403 # for both compiling C and C++ we need to have the C++ compiler decide
2404 # the declaration of exit, since it's the most demanding environment.
2405 cat >conftest.$ac_ext <<_ACEOF
2410 rm -f conftest.$ac_objext
2411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2412 (eval $ac_compile) 2>conftest.er1
2414 grep -v '^ *+' conftest.er1 >conftest.err
2416 cat conftest.err >&5
2417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2418 (exit $ac_status); } &&
2419 { ac_try='test -z "$ac_c_werror_flag"
2420 || test ! -s conftest.err'
2421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2425 (exit $ac_status); }; } &&
2426 { ac_try='test -s conftest.$ac_objext'
2427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2431 (exit $ac_status); }; }; then
2432 for ac_declaration in \
2434 'extern "C" void std::exit (int) throw (); using std::exit;' \
2435 'extern "C" void std::exit (int); using std::exit;' \
2436 'extern "C" void exit (int) throw ();' \
2437 'extern "C" void exit (int);' \
2440 cat >conftest.$ac_ext <<_ACEOF
2443 cat confdefs.h >>conftest.$ac_ext
2444 cat >>conftest.$ac_ext <<_ACEOF
2445 /* end confdefs.h. */
2456 rm -f conftest.$ac_objext
2457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2458 (eval $ac_compile) 2>conftest.er1
2460 grep -v '^ *+' conftest.er1 >conftest.err
2462 cat conftest.err >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); } &&
2465 { ac_try='test -z "$ac_c_werror_flag"
2466 || test ! -s conftest.err'
2467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2471 (exit $ac_status); }; } &&
2472 { ac_try='test -s conftest.$ac_objext'
2473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2477 (exit $ac_status); }; }; then
2480 echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.$ac_ext >&5
2485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2486 cat >conftest.$ac_ext <<_ACEOF
2489 cat confdefs.h >>conftest.$ac_ext
2490 cat >>conftest.$ac_ext <<_ACEOF
2491 /* end confdefs.h. */
2501 rm -f conftest.$ac_objext
2502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2503 (eval $ac_compile) 2>conftest.er1
2505 grep -v '^ *+' conftest.er1 >conftest.err
2507 cat conftest.err >&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); } &&
2510 { ac_try='test -z "$ac_c_werror_flag"
2511 || test ! -s conftest.err'
2512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); }; } &&
2517 { ac_try='test -s conftest.$ac_objext'
2518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2522 (exit $ac_status); }; }; then
2525 echo "$as_me: failed program was:" >&5
2526 sed 's/^/| /' conftest.$ac_ext >&5
2529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2532 if test -n "$ac_declaration"; then
2533 echo '#ifdef __cplusplus' >>confdefs.h
2534 echo $ac_declaration >>confdefs.h
2535 echo '#endif' >>confdefs.h
2539 echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2545 ac_cpp='$CPP $CPPFLAGS'
2546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2551 for ac_prog in gawk mawk nawk awk
2553 # Extract the first word of "$ac_prog", so it can be a program name with args.
2554 set dummy $ac_prog; ac_word=$2
2555 echo "$as_me:$LINENO: checking for $ac_word" >&5
2556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2557 if test "${ac_cv_prog_AWK+set}" = set; then
2558 echo $ECHO_N "(cached) $ECHO_C" >&6
2560 if test -n "$AWK"; then
2561 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 test -z "$as_dir" && as_dir=.
2568 for ac_exec_ext in '' $ac_executable_extensions; do
2569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2570 ac_cv_prog_AWK="$ac_prog"
2571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2580 if test -n "$AWK"; then
2581 echo "$as_me:$LINENO: result: $AWK" >&5
2582 echo "${ECHO_T}$AWK" >&6
2584 echo "$as_me:$LINENO: result: no" >&5
2585 echo "${ECHO_T}no" >&6
2588 test -n "$AWK" && break
2593 if test -z "$LD"; then
2594 if test -n "$ac_tool_prefix"; then
2595 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2596 set dummy ${ac_tool_prefix}ld; ac_word=$2
2597 echo "$as_me:$LINENO: checking for $ac_word" >&5
2598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2599 if test "${ac_cv_prog_LD+set}" = set; then
2600 echo $ECHO_N "(cached) $ECHO_C" >&6
2602 if test -n "$LD"; then
2603 ac_cv_prog_LD="$LD" # Let the user override the test.
2605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609 test -z "$as_dir" && as_dir=.
2610 for ac_exec_ext in '' $ac_executable_extensions; do
2611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2612 ac_cv_prog_LD="${ac_tool_prefix}ld"
2613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 if test -n "$LD"; then
2623 echo "$as_me:$LINENO: result: $LD" >&5
2624 echo "${ECHO_T}$LD" >&6
2626 echo "$as_me:$LINENO: result: no" >&5
2627 echo "${ECHO_T}no" >&6
2631 if test -z "$ac_cv_prog_LD"; then
2633 # Extract the first word of "ld", so it can be a program name with args.
2634 set dummy ld; ac_word=$2
2635 echo "$as_me:$LINENO: checking for $ac_word" >&5
2636 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2637 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2638 echo $ECHO_N "(cached) $ECHO_C" >&6
2640 if test -n "$ac_ct_LD"; then
2641 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2647 test -z "$as_dir" && as_dir=.
2648 for ac_exec_ext in '' $ac_executable_extensions; do
2649 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2650 ac_cv_prog_ac_ct_LD="ld"
2651 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2660 if test -n "$ac_ct_LD"; then
2661 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2662 echo "${ECHO_T}$ac_ct_LD" >&6
2664 echo "$as_me:$LINENO: result: no" >&5
2665 echo "${ECHO_T}no" >&6
2675 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2676 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2677 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2678 echo $ECHO_N "(cached) $ECHO_C" >&6
2681 libfirm_cv_prog_ld_r=no
2683 cat > conftest.$ac_ext <<EOF
2684 int foo() { return 0; }
2686 if eval $ac_compile && mv conftest.o conftest2.o; then
2687 cat > conftest.$ac_ext <<EOF
2689 int main() { return foo(); }
2691 if eval $ac_compile; then
2692 if $LD -r -o conftest conftest.o conftest2.o; then
2693 libfirm_cv_prog_ld_r=yes
2700 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2701 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2704 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2705 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2706 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2707 { (exit 1); exit 1; }; }
2710 # Extract the first word of "ar", so it can be a program name with args.
2711 set dummy ar; ac_word=$2
2712 echo "$as_me:$LINENO: checking for $ac_word" >&5
2713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2714 if test "${ac_cv_prog_AR+set}" = set; then
2715 echo $ECHO_N "(cached) $ECHO_C" >&6
2717 if test -n "$AR"; then
2718 ac_cv_prog_AR="$AR" # Let the user override the test.
2720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2724 test -z "$as_dir" && as_dir=.
2725 for ac_exec_ext in '' $ac_executable_extensions; do
2726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2727 ac_cv_prog_AR=""ar""
2728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2734 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2738 if test -n "$AR"; then
2739 echo "$as_me:$LINENO: result: $AR" >&5
2740 echo "${ECHO_T}$AR" >&6
2742 echo "$as_me:$LINENO: result: no" >&5
2743 echo "${ECHO_T}no" >&6
2746 if test "$AR" != "ar"; then
2747 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2748 echo "$as_me: error: need ar for creating archives" >&2;}
2749 { (exit 1); exit 1; }; }
2752 # Extract the first word of "tar", so it can be a program name with args.
2753 set dummy tar; ac_word=$2
2754 echo "$as_me:$LINENO: checking for $ac_word" >&5
2755 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2756 if test "${ac_cv_prog_TAR+set}" = set; then
2757 echo $ECHO_N "(cached) $ECHO_C" >&6
2759 if test -n "$TAR"; then
2760 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2766 test -z "$as_dir" && as_dir=.
2767 for ac_exec_ext in '' $ac_executable_extensions; do
2768 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2769 ac_cv_prog_TAR=""tar""
2770 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2776 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2780 if test -n "$TAR"; then
2781 echo "$as_me:$LINENO: result: $TAR" >&5
2782 echo "${ECHO_T}$TAR" >&6
2784 echo "$as_me:$LINENO: result: no" >&5
2785 echo "${ECHO_T}no" >&6
2788 if test "$TAR" != "tar"; then
2789 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2790 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2791 { (exit 1); exit 1; }; }
2795 if test -n "$ac_tool_prefix"; then
2796 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2797 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2798 echo "$as_me:$LINENO: checking for $ac_word" >&5
2799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2800 if test "${ac_cv_prog_RANLIB+set}" = set; then
2801 echo $ECHO_N "(cached) $ECHO_C" >&6
2803 if test -n "$RANLIB"; then
2804 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2810 test -z "$as_dir" && as_dir=.
2811 for ac_exec_ext in '' $ac_executable_extensions; do
2812 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2813 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2814 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2822 RANLIB=$ac_cv_prog_RANLIB
2823 if test -n "$RANLIB"; then
2824 echo "$as_me:$LINENO: result: $RANLIB" >&5
2825 echo "${ECHO_T}$RANLIB" >&6
2827 echo "$as_me:$LINENO: result: no" >&5
2828 echo "${ECHO_T}no" >&6
2832 if test -z "$ac_cv_prog_RANLIB"; then
2833 ac_ct_RANLIB=$RANLIB
2834 # Extract the first word of "ranlib", so it can be a program name with args.
2835 set dummy ranlib; ac_word=$2
2836 echo "$as_me:$LINENO: checking for $ac_word" >&5
2837 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2838 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2839 echo $ECHO_N "(cached) $ECHO_C" >&6
2841 if test -n "$ac_ct_RANLIB"; then
2842 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2844 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2848 test -z "$as_dir" && as_dir=.
2849 for ac_exec_ext in '' $ac_executable_extensions; do
2850 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851 ac_cv_prog_ac_ct_RANLIB="ranlib"
2852 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2858 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2861 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2862 if test -n "$ac_ct_RANLIB"; then
2863 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2864 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2866 echo "$as_me:$LINENO: result: no" >&5
2867 echo "${ECHO_T}no" >&6
2870 RANLIB=$ac_ct_RANLIB
2872 RANLIB="$ac_cv_prog_RANLIB"
2877 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2878 if test -f $ac_dir/install-sh; then
2880 ac_install_sh="$ac_aux_dir/install-sh -c"
2882 elif test -f $ac_dir/install.sh; then
2884 ac_install_sh="$ac_aux_dir/install.sh -c"
2886 elif test -f $ac_dir/shtool; then
2888 ac_install_sh="$ac_aux_dir/shtool install -c"
2892 if test -z "$ac_aux_dir"; then
2893 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2894 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2895 { (exit 1); exit 1; }; }
2897 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2898 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2899 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2901 # Find a good install program. We prefer a C program (faster),
2902 # so one script is as good as another. But avoid the broken or
2903 # incompatible versions:
2904 # SysV /etc/install, /usr/sbin/install
2905 # SunOS /usr/etc/install
2906 # IRIX /sbin/install
2908 # AmigaOS /C/install, which installs bootblocks on floppy discs
2909 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2910 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2911 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2912 # OS/2's system install, which has a completely different semantic
2913 # ./install, which can be erroneously created by make from ./install.sh.
2914 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2915 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2916 if test -z "$INSTALL"; then
2917 if test "${ac_cv_path_install+set}" = set; then
2918 echo $ECHO_N "(cached) $ECHO_C" >&6
2920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2924 test -z "$as_dir" && as_dir=.
2925 # Account for people who put trailing slashes in PATH elements.
2927 ./ | .// | /cC/* | \
2928 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2929 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2932 # OSF1 and SCO ODT 3.0 have their own names for install.
2933 # Don't use installbsd from OSF since it installs stuff as root
2935 for ac_prog in ginstall scoinst install; do
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2938 if test $ac_prog = install &&
2939 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2940 # AIX install. It has an incompatible calling convention.
2942 elif test $ac_prog = install &&
2943 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2944 # program-specific install script used by HP pwplus--don't use.
2947 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2959 if test "${ac_cv_path_install+set}" = set; then
2960 INSTALL=$ac_cv_path_install
2962 # As a last resort, use the slow shell script. We don't cache a
2963 # path for INSTALL within a source directory, because that will
2964 # break other packages using the cache if that directory is
2965 # removed, or if the path is relative.
2966 INSTALL=$ac_install_sh
2969 echo "$as_me:$LINENO: result: $INSTALL" >&5
2970 echo "${ECHO_T}$INSTALL" >&6
2972 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2973 # It thinks the first close brace ends the variable substitution.
2974 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2976 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2978 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2981 touch tmp-install.a tmp-install.b
2982 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
2985 rm tmp-install.a tmp-install.b
2988 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2989 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2991 if test "$LN_S" = "ln -s"; then
2992 echo "$as_me:$LINENO: result: yes" >&5
2993 echo "${ECHO_T}yes" >&6
2995 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2996 echo "${ECHO_T}no, using $LN_S" >&6
3000 if test "$enable_auto_documentation" = yes; then
3001 # Extract the first word of "doxygen", so it can be a program name with args.
3002 set dummy doxygen; ac_word=$2
3003 echo "$as_me:$LINENO: checking for $ac_word" >&5
3004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3005 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
3006 echo $ECHO_N "(cached) $ECHO_C" >&6
3008 if test -n "$DOXYGEN"; then
3009 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
3011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 test -z "$as_dir" && as_dir=.
3016 for ac_exec_ext in '' $ac_executable_extensions; do
3017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3018 ac_cv_prog_DOXYGEN=""doxygen""
3019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3025 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
3028 DOXYGEN=$ac_cv_prog_DOXYGEN
3029 if test -n "$DOXYGEN"; then
3030 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
3031 echo "${ECHO_T}$DOXYGEN" >&6
3033 echo "$as_me:$LINENO: result: no" >&5
3034 echo "${ECHO_T}no" >&6
3037 if test "$DOXYGEN" != "doxygen"; then
3038 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
3039 echo "$as_me: error: need doxygen for auto documentation" >&2;}
3040 { (exit 1); exit 1; }; }
3042 # Extract the first word of "dot", so it can be a program name with args.
3043 set dummy dot; ac_word=$2
3044 echo "$as_me:$LINENO: checking for $ac_word" >&5
3045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3046 if test "${ac_cv_prog_DOT+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3049 if test -n "$DOT"; then
3050 ac_cv_prog_DOT="$DOT" # Let the user override the test.
3052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3056 test -z "$as_dir" && as_dir=.
3057 for ac_exec_ext in '' $ac_executable_extensions; do
3058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3059 ac_cv_prog_DOT=""dot""
3060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
3070 if test -n "$DOT"; then
3071 echo "$as_me:$LINENO: result: $DOT" >&5
3072 echo "${ECHO_T}$DOT" >&6
3074 echo "$as_me:$LINENO: result: no" >&5
3075 echo "${ECHO_T}no" >&6
3078 if test "$DOT" != "dot"; then
3079 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
3080 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
3081 { (exit 1); exit 1; }; }
3085 if test "$enable_firm_jni" = yes; then
3086 # Extract the first word of "javac", so it can be a program name with args.
3087 set dummy javac; ac_word=$2
3088 echo "$as_me:$LINENO: checking for $ac_word" >&5
3089 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3090 if test "${ac_cv_prog_JAVAC+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 if test -n "$JAVAC"; then
3094 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 test -z "$as_dir" && as_dir=.
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3103 ac_cv_prog_JAVAC=""javac""
3104 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3110 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3113 JAVAC=$ac_cv_prog_JAVAC
3114 if test -n "$JAVAC"; then
3115 echo "$as_me:$LINENO: result: $JAVAC" >&5
3116 echo "${ECHO_T}$JAVAC" >&6
3118 echo "$as_me:$LINENO: result: no" >&5
3119 echo "${ECHO_T}no" >&6
3122 if test "$JAVAC" != "javac"; then
3123 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3124 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3125 { (exit 1); exit 1; }; }
3127 # Extract the first word of "javah", so it can be a program name with args.
3128 set dummy javah; ac_word=$2
3129 echo "$as_me:$LINENO: checking for $ac_word" >&5
3130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3131 if test "${ac_cv_prog_JAVAH+set}" = set; then
3132 echo $ECHO_N "(cached) $ECHO_C" >&6
3134 if test -n "$JAVAH"; then
3135 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3141 test -z "$as_dir" && as_dir=.
3142 for ac_exec_ext in '' $ac_executable_extensions; do
3143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3144 ac_cv_prog_JAVAH=""javah""
3145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3154 JAVAH=$ac_cv_prog_JAVAH
3155 if test -n "$JAVAH"; then
3156 echo "$as_me:$LINENO: result: $JAVAH" >&5
3157 echo "${ECHO_T}$JAVAH" >&6
3159 echo "$as_me:$LINENO: result: no" >&5
3160 echo "${ECHO_T}no" >&6
3163 if test "$JAVAH" != "javah"; then
3164 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3165 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3166 { (exit 1); exit 1; }; }
3174 ac_cpp='$CPP $CPPFLAGS'
3175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3178 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3179 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3180 # On Suns, sometimes $CPP names a directory.
3181 if test -n "$CPP" && test -d "$CPP"; then
3184 if test -z "$CPP"; then
3185 if test "${ac_cv_prog_CPP+set}" = set; then
3186 echo $ECHO_N "(cached) $ECHO_C" >&6
3188 # Double quotes because CPP needs to be expanded
3189 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3192 for ac_c_preproc_warn_flag in '' yes
3194 # Use a header file that comes with gcc, so configuring glibc
3195 # with a fresh cross-compiler works.
3196 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3197 # <limits.h> exists even on freestanding compilers.
3198 # On the NeXT, cc -E runs the code through the compiler's parser,
3199 # not just through cpp. "Syntax error" is here to catch this case.
3200 cat >conftest.$ac_ext <<_ACEOF
3203 cat confdefs.h >>conftest.$ac_ext
3204 cat >>conftest.$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3207 # include <limits.h>
3209 # include <assert.h>
3213 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3214 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3216 grep -v '^ *+' conftest.er1 >conftest.err
3218 cat conftest.err >&5
3219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3220 (exit $ac_status); } >/dev/null; then
3221 if test -s conftest.err; then
3222 ac_cpp_err=$ac_c_preproc_warn_flag
3223 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3230 if test -z "$ac_cpp_err"; then
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.$ac_ext >&5
3236 # Broken: fails on valid input.
3239 rm -f conftest.err conftest.$ac_ext
3241 # OK, works on sane cases. Now check whether non-existent headers
3242 # can be detected and how.
3243 cat >conftest.$ac_ext <<_ACEOF
3246 cat confdefs.h >>conftest.$ac_ext
3247 cat >>conftest.$ac_ext <<_ACEOF
3248 /* end confdefs.h. */
3249 #include <ac_nonexistent.h>
3251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3254 grep -v '^ *+' conftest.er1 >conftest.err
3256 cat conftest.err >&5
3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3258 (exit $ac_status); } >/dev/null; then
3259 if test -s conftest.err; then
3260 ac_cpp_err=$ac_c_preproc_warn_flag
3261 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3268 if test -z "$ac_cpp_err"; then
3269 # Broken: success on invalid input.
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3275 # Passes both tests.
3279 rm -f conftest.err conftest.$ac_ext
3282 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3283 rm -f conftest.err conftest.$ac_ext
3284 if $ac_preproc_ok; then
3296 echo "$as_me:$LINENO: result: $CPP" >&5
3297 echo "${ECHO_T}$CPP" >&6
3299 for ac_c_preproc_warn_flag in '' yes
3301 # Use a header file that comes with gcc, so configuring glibc
3302 # with a fresh cross-compiler works.
3303 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3304 # <limits.h> exists even on freestanding compilers.
3305 # On the NeXT, cc -E runs the code through the compiler's parser,
3306 # not just through cpp. "Syntax error" is here to catch this case.
3307 cat >conftest.$ac_ext <<_ACEOF
3310 cat confdefs.h >>conftest.$ac_ext
3311 cat >>conftest.$ac_ext <<_ACEOF
3312 /* end confdefs.h. */
3314 # include <limits.h>
3316 # include <assert.h>
3320 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3321 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3323 grep -v '^ *+' conftest.er1 >conftest.err
3325 cat conftest.err >&5
3326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3327 (exit $ac_status); } >/dev/null; then
3328 if test -s conftest.err; then
3329 ac_cpp_err=$ac_c_preproc_warn_flag
3330 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3337 if test -z "$ac_cpp_err"; then
3340 echo "$as_me: failed program was:" >&5
3341 sed 's/^/| /' conftest.$ac_ext >&5
3343 # Broken: fails on valid input.
3346 rm -f conftest.err conftest.$ac_ext
3348 # OK, works on sane cases. Now check whether non-existent headers
3349 # can be detected and how.
3350 cat >conftest.$ac_ext <<_ACEOF
3353 cat confdefs.h >>conftest.$ac_ext
3354 cat >>conftest.$ac_ext <<_ACEOF
3355 /* end confdefs.h. */
3356 #include <ac_nonexistent.h>
3358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3361 grep -v '^ *+' conftest.er1 >conftest.err
3363 cat conftest.err >&5
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); } >/dev/null; then
3366 if test -s conftest.err; then
3367 ac_cpp_err=$ac_c_preproc_warn_flag
3368 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3375 if test -z "$ac_cpp_err"; then
3376 # Broken: success on invalid input.
3379 echo "$as_me: failed program was:" >&5
3380 sed 's/^/| /' conftest.$ac_ext >&5
3382 # Passes both tests.
3386 rm -f conftest.err conftest.$ac_ext
3389 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3390 rm -f conftest.err conftest.$ac_ext
3391 if $ac_preproc_ok; then
3394 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3395 See \`config.log' for more details." >&5
3396 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3397 See \`config.log' for more details." >&2;}
3398 { (exit 1); exit 1; }; }
3402 ac_cpp='$CPP $CPPFLAGS'
3403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3408 echo "$as_me:$LINENO: checking for egrep" >&5
3409 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3410 if test "${ac_cv_prog_egrep+set}" = set; then
3411 echo $ECHO_N "(cached) $ECHO_C" >&6
3413 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3414 then ac_cv_prog_egrep='grep -E'
3415 else ac_cv_prog_egrep='egrep'
3418 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3419 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3420 EGREP=$ac_cv_prog_egrep
3423 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3424 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3425 if test "${ac_cv_header_stdc+set}" = set; then
3426 echo $ECHO_N "(cached) $ECHO_C" >&6
3428 cat >conftest.$ac_ext <<_ACEOF
3431 cat confdefs.h >>conftest.$ac_ext
3432 cat >>conftest.$ac_ext <<_ACEOF
3433 /* end confdefs.h. */
3447 rm -f conftest.$ac_objext
3448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3449 (eval $ac_compile) 2>conftest.er1
3451 grep -v '^ *+' conftest.er1 >conftest.err
3453 cat conftest.err >&5
3454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3455 (exit $ac_status); } &&
3456 { ac_try='test -z "$ac_c_werror_flag"
3457 || test ! -s conftest.err'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; } &&
3463 { ac_try='test -s conftest.$ac_objext'
3464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3468 (exit $ac_status); }; }; then
3469 ac_cv_header_stdc=yes
3471 echo "$as_me: failed program was:" >&5
3472 sed 's/^/| /' conftest.$ac_ext >&5
3474 ac_cv_header_stdc=no
3476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3478 if test $ac_cv_header_stdc = yes; then
3479 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3480 cat >conftest.$ac_ext <<_ACEOF
3483 cat confdefs.h >>conftest.$ac_ext
3484 cat >>conftest.$ac_ext <<_ACEOF
3485 /* end confdefs.h. */
3489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3490 $EGREP "memchr" >/dev/null 2>&1; then
3493 ac_cv_header_stdc=no
3499 if test $ac_cv_header_stdc = yes; then
3500 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3501 cat >conftest.$ac_ext <<_ACEOF
3504 cat confdefs.h >>conftest.$ac_ext
3505 cat >>conftest.$ac_ext <<_ACEOF
3506 /* end confdefs.h. */
3510 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3511 $EGREP "free" >/dev/null 2>&1; then
3514 ac_cv_header_stdc=no
3520 if test $ac_cv_header_stdc = yes; then
3521 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3522 if test "$cross_compiling" = yes; then
3525 cat >conftest.$ac_ext <<_ACEOF
3528 cat confdefs.h >>conftest.$ac_ext
3529 cat >>conftest.$ac_ext <<_ACEOF
3530 /* end confdefs.h. */
3532 #if ((' ' & 0x0FF) == 0x020)
3533 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3534 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3536 # define ISLOWER(c) \
3537 (('a' <= (c) && (c) <= 'i') \
3538 || ('j' <= (c) && (c) <= 'r') \
3539 || ('s' <= (c) && (c) <= 'z'))
3540 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3543 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3548 for (i = 0; i < 256; i++)
3549 if (XOR (islower (i), ISLOWER (i))
3550 || toupper (i) != TOUPPER (i))
3555 rm -f conftest$ac_exeext
3556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3557 (eval $ac_link) 2>&5
3559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3560 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); }; }; then
3568 echo "$as_me: program exited with status $ac_status" >&5
3569 echo "$as_me: failed program was:" >&5
3570 sed 's/^/| /' conftest.$ac_ext >&5
3573 ac_cv_header_stdc=no
3575 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3579 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3580 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3581 if test $ac_cv_header_stdc = yes; then
3583 cat >>confdefs.h <<\_ACEOF
3584 #define STDC_HEADERS 1
3591 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3601 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3602 inttypes.h stdint.h unistd.h
3604 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3605 echo "$as_me:$LINENO: checking for $ac_header" >&5
3606 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3607 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3608 echo $ECHO_N "(cached) $ECHO_C" >&6
3610 cat >conftest.$ac_ext <<_ACEOF
3613 cat confdefs.h >>conftest.$ac_ext
3614 cat >>conftest.$ac_ext <<_ACEOF
3615 /* end confdefs.h. */
3616 $ac_includes_default
3618 #include <$ac_header>
3620 rm -f conftest.$ac_objext
3621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3622 (eval $ac_compile) 2>conftest.er1
3624 grep -v '^ *+' conftest.er1 >conftest.err
3626 cat conftest.err >&5
3627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); } &&
3629 { ac_try='test -z "$ac_c_werror_flag"
3630 || test ! -s conftest.err'
3631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3635 (exit $ac_status); }; } &&
3636 { ac_try='test -s conftest.$ac_objext'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; }; then
3642 eval "$as_ac_Header=yes"
3644 echo "$as_me: failed program was:" >&5
3645 sed 's/^/| /' conftest.$ac_ext >&5
3647 eval "$as_ac_Header=no"
3649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3652 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3654 cat >>confdefs.h <<_ACEOF
3655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3664 for ac_header in math.h
3666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3668 echo "$as_me:$LINENO: checking for $ac_header" >&5
3669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3671 echo $ECHO_N "(cached) $ECHO_C" >&6
3673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3676 # Is the header compilable?
3677 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3679 cat >conftest.$ac_ext <<_ACEOF
3682 cat confdefs.h >>conftest.$ac_ext
3683 cat >>conftest.$ac_ext <<_ACEOF
3684 /* end confdefs.h. */
3685 $ac_includes_default
3686 #include <$ac_header>
3688 rm -f conftest.$ac_objext
3689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3690 (eval $ac_compile) 2>conftest.er1
3692 grep -v '^ *+' conftest.er1 >conftest.err
3694 cat conftest.err >&5
3695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3696 (exit $ac_status); } &&
3697 { ac_try='test -z "$ac_c_werror_flag"
3698 || test ! -s conftest.err'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; } &&
3704 { ac_try='test -s conftest.$ac_objext'
3705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3709 (exit $ac_status); }; }; then
3710 ac_header_compiler=yes
3712 echo "$as_me: failed program was:" >&5
3713 sed 's/^/| /' conftest.$ac_ext >&5
3715 ac_header_compiler=no
3717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3719 echo "${ECHO_T}$ac_header_compiler" >&6
3721 # Is the header present?
3722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3724 cat >conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3730 #include <$ac_header>
3732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3735 grep -v '^ *+' conftest.er1 >conftest.err
3737 cat conftest.err >&5
3738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739 (exit $ac_status); } >/dev/null; then
3740 if test -s conftest.err; then
3741 ac_cpp_err=$ac_c_preproc_warn_flag
3742 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3749 if test -z "$ac_cpp_err"; then
3750 ac_header_preproc=yes
3752 echo "$as_me: failed program was:" >&5
3753 sed 's/^/| /' conftest.$ac_ext >&5
3755 ac_header_preproc=no
3757 rm -f conftest.err conftest.$ac_ext
3758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3759 echo "${ECHO_T}$ac_header_preproc" >&6
3761 # So? What about this header?
3762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3768 ac_header_preproc=yes
3771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3785 ## ---------------------------------- ##
3786 ## Report this to the libfirm lists. ##
3787 ## ---------------------------------- ##
3790 sed "s/^/$as_me: WARNING: /" >&2
3793 echo "$as_me:$LINENO: checking for $ac_header" >&5
3794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3796 echo $ECHO_N "(cached) $ECHO_C" >&6
3798 eval "$as_ac_Header=\$ac_header_preproc"
3800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3805 cat >>confdefs.h <<_ACEOF
3806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3808 ac_math_headers="yes"
3810 ac_math_headers="no"
3815 if test "$ac_math_headers" != yes; then
3816 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3817 echo "$as_me: error: \"math header file not found\"" >&2;}
3818 { (exit 1); exit 1; }; }
3822 #dnl check for the gnu multiprecission (gmp) header file
3824 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3825 #if test "$ac_gmp_headers" != yes; then
3826 # dnl gmp header not found.
3827 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3834 for ac_header in obstack.h
3836 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3838 echo "$as_me:$LINENO: checking for $ac_header" >&5
3839 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3841 echo $ECHO_N "(cached) $ECHO_C" >&6
3843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3844 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3846 # Is the header compilable?
3847 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3849 cat >conftest.$ac_ext <<_ACEOF
3852 cat confdefs.h >>conftest.$ac_ext
3853 cat >>conftest.$ac_ext <<_ACEOF
3854 /* end confdefs.h. */
3855 $ac_includes_default
3856 #include <$ac_header>
3858 rm -f conftest.$ac_objext
3859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3860 (eval $ac_compile) 2>conftest.er1
3862 grep -v '^ *+' conftest.er1 >conftest.err
3864 cat conftest.err >&5
3865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3866 (exit $ac_status); } &&
3867 { ac_try='test -z "$ac_c_werror_flag"
3868 || test ! -s conftest.err'
3869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3873 (exit $ac_status); }; } &&
3874 { ac_try='test -s conftest.$ac_objext'
3875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); }; }; then
3880 ac_header_compiler=yes
3882 echo "$as_me: failed program was:" >&5
3883 sed 's/^/| /' conftest.$ac_ext >&5
3885 ac_header_compiler=no
3887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3888 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3889 echo "${ECHO_T}$ac_header_compiler" >&6
3891 # Is the header present?
3892 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3893 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3894 cat >conftest.$ac_ext <<_ACEOF
3897 cat confdefs.h >>conftest.$ac_ext
3898 cat >>conftest.$ac_ext <<_ACEOF
3899 /* end confdefs.h. */
3900 #include <$ac_header>
3902 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3903 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3905 grep -v '^ *+' conftest.er1 >conftest.err
3907 cat conftest.err >&5
3908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909 (exit $ac_status); } >/dev/null; then
3910 if test -s conftest.err; then
3911 ac_cpp_err=$ac_c_preproc_warn_flag
3912 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3919 if test -z "$ac_cpp_err"; then
3920 ac_header_preproc=yes
3922 echo "$as_me: failed program was:" >&5
3923 sed 's/^/| /' conftest.$ac_ext >&5
3925 ac_header_preproc=no
3927 rm -f conftest.err conftest.$ac_ext
3928 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3929 echo "${ECHO_T}$ac_header_preproc" >&6
3931 # So? What about this header?
3932 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3934 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3935 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3936 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3937 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3938 ac_header_preproc=yes
3941 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3942 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3943 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3944 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3945 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3946 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3947 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3948 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3950 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3951 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3952 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3955 ## ---------------------------------- ##
3956 ## Report this to the libfirm lists. ##
3957 ## ---------------------------------- ##
3960 sed "s/^/$as_me: WARNING: /" >&2
3963 echo "$as_me:$LINENO: checking for $ac_header" >&5
3964 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3965 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3968 eval "$as_ac_Header=\$ac_header_preproc"
3970 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3971 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3975 cat >>confdefs.h <<_ACEOF
3976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3978 ac_obstack_headers="yes"
3980 ac_obstack_headers="no"
3985 if test "$ac_obstack_headers" != yes; then
3986 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3987 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3988 { (exit 1); exit 1; }; }
3993 for ac_header in alloca.h
3995 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3997 echo "$as_me:$LINENO: checking for $ac_header" >&5
3998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4000 echo $ECHO_N "(cached) $ECHO_C" >&6
4002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4003 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4005 # Is the header compilable?
4006 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4007 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4008 cat >conftest.$ac_ext <<_ACEOF
4011 cat confdefs.h >>conftest.$ac_ext
4012 cat >>conftest.$ac_ext <<_ACEOF
4013 /* end confdefs.h. */
4014 $ac_includes_default
4015 #include <$ac_header>
4017 rm -f conftest.$ac_objext
4018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4019 (eval $ac_compile) 2>conftest.er1
4021 grep -v '^ *+' conftest.er1 >conftest.err
4023 cat conftest.err >&5
4024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4025 (exit $ac_status); } &&
4026 { ac_try='test -z "$ac_c_werror_flag"
4027 || test ! -s conftest.err'
4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4032 (exit $ac_status); }; } &&
4033 { ac_try='test -s conftest.$ac_objext'
4034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4038 (exit $ac_status); }; }; then
4039 ac_header_compiler=yes
4041 echo "$as_me: failed program was:" >&5
4042 sed 's/^/| /' conftest.$ac_ext >&5
4044 ac_header_compiler=no
4046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4047 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4048 echo "${ECHO_T}$ac_header_compiler" >&6
4050 # Is the header present?
4051 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4052 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4053 cat >conftest.$ac_ext <<_ACEOF
4056 cat confdefs.h >>conftest.$ac_ext
4057 cat >>conftest.$ac_ext <<_ACEOF
4058 /* end confdefs.h. */
4059 #include <$ac_header>
4061 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4062 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4064 grep -v '^ *+' conftest.er1 >conftest.err
4066 cat conftest.err >&5
4067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4068 (exit $ac_status); } >/dev/null; then
4069 if test -s conftest.err; then
4070 ac_cpp_err=$ac_c_preproc_warn_flag
4071 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4078 if test -z "$ac_cpp_err"; then
4079 ac_header_preproc=yes
4081 echo "$as_me: failed program was:" >&5
4082 sed 's/^/| /' conftest.$ac_ext >&5
4084 ac_header_preproc=no
4086 rm -f conftest.err conftest.$ac_ext
4087 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4088 echo "${ECHO_T}$ac_header_preproc" >&6
4090 # So? What about this header?
4091 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4093 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4094 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4095 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4096 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4097 ac_header_preproc=yes
4100 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4101 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4102 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4103 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4104 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4105 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4106 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4107 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4110 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4111 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4114 ## ---------------------------------- ##
4115 ## Report this to the libfirm lists. ##
4116 ## ---------------------------------- ##
4119 sed "s/^/$as_me: WARNING: /" >&2
4122 echo "$as_me:$LINENO: checking for $ac_header" >&5
4123 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4124 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4125 echo $ECHO_N "(cached) $ECHO_C" >&6
4127 eval "$as_ac_Header=\$ac_header_preproc"
4129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4130 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4133 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4134 cat >>confdefs.h <<_ACEOF
4135 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4137 ac_alloca_headers="yes"
4139 ac_alloca_headers="no"
4144 if test "$ac_alloca_headers" = "yes"; then
4145 cat >>confdefs.h <<\_ACEOF
4146 #define HAVE_ALLOCA_H 1
4150 if test "$ac_cv_header_stdc" = "no"; then
4151 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4152 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4153 { (exit 1); exit 1; }; }
4159 if test "$enable_firm_jni" = yes; then
4161 for ac_header in jni.h
4163 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4165 echo "$as_me:$LINENO: checking for $ac_header" >&5
4166 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4167 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4168 echo $ECHO_N "(cached) $ECHO_C" >&6
4170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4171 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4173 # Is the header compilable?
4174 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4175 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4176 cat >conftest.$ac_ext <<_ACEOF
4179 cat confdefs.h >>conftest.$ac_ext
4180 cat >>conftest.$ac_ext <<_ACEOF
4181 /* end confdefs.h. */
4182 $ac_includes_default
4183 #include <$ac_header>
4185 rm -f conftest.$ac_objext
4186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4187 (eval $ac_compile) 2>conftest.er1
4189 grep -v '^ *+' conftest.er1 >conftest.err
4191 cat conftest.err >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); } &&
4194 { ac_try='test -z "$ac_c_werror_flag"
4195 || test ! -s conftest.err'
4196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4200 (exit $ac_status); }; } &&
4201 { ac_try='test -s conftest.$ac_objext'
4202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4206 (exit $ac_status); }; }; then
4207 ac_header_compiler=yes
4209 echo "$as_me: failed program was:" >&5
4210 sed 's/^/| /' conftest.$ac_ext >&5
4212 ac_header_compiler=no
4214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4215 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4216 echo "${ECHO_T}$ac_header_compiler" >&6
4218 # Is the header present?
4219 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4220 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4221 cat >conftest.$ac_ext <<_ACEOF
4224 cat confdefs.h >>conftest.$ac_ext
4225 cat >>conftest.$ac_ext <<_ACEOF
4226 /* end confdefs.h. */
4227 #include <$ac_header>
4229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4230 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4232 grep -v '^ *+' conftest.er1 >conftest.err
4234 cat conftest.err >&5
4235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4236 (exit $ac_status); } >/dev/null; then
4237 if test -s conftest.err; then
4238 ac_cpp_err=$ac_c_preproc_warn_flag
4239 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4246 if test -z "$ac_cpp_err"; then
4247 ac_header_preproc=yes
4249 echo "$as_me: failed program was:" >&5
4250 sed 's/^/| /' conftest.$ac_ext >&5
4252 ac_header_preproc=no
4254 rm -f conftest.err conftest.$ac_ext
4255 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4256 echo "${ECHO_T}$ac_header_preproc" >&6
4258 # So? What about this header?
4259 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4261 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4262 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4264 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4265 ac_header_preproc=yes
4268 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4269 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4270 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4271 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4272 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4273 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4274 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4275 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4276 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4277 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4278 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4279 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4282 ## ---------------------------------- ##
4283 ## Report this to the libfirm lists. ##
4284 ## ---------------------------------- ##
4287 sed "s/^/$as_me: WARNING: /" >&2
4290 echo "$as_me:$LINENO: checking for $ac_header" >&5
4291 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4292 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4293 echo $ECHO_N "(cached) $ECHO_C" >&6
4295 eval "$as_ac_Header=\$ac_header_preproc"
4297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4298 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4301 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4302 cat >>confdefs.h <<_ACEOF
4303 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4305 ac_jni_headers="yes"
4312 if test "$ac_jni_headers" != yes; then
4313 { { 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
4314 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;}
4315 { (exit 1); exit 1; }; }
4320 if test "$enable_external_effects" == "yes"; then
4322 for ac_header in libxml/parser.h
4324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4326 echo "$as_me:$LINENO: checking for $ac_header" >&5
4327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4329 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4334 # Is the header compilable?
4335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4337 cat >conftest.$ac_ext <<_ACEOF
4340 cat confdefs.h >>conftest.$ac_ext
4341 cat >>conftest.$ac_ext <<_ACEOF
4342 /* end confdefs.h. */
4343 $ac_includes_default
4344 #include <$ac_header>
4346 rm -f conftest.$ac_objext
4347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4348 (eval $ac_compile) 2>conftest.er1
4350 grep -v '^ *+' conftest.er1 >conftest.err
4352 cat conftest.err >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); } &&
4355 { ac_try='test -z "$ac_c_werror_flag"
4356 || test ! -s conftest.err'
4357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4361 (exit $ac_status); }; } &&
4362 { ac_try='test -s conftest.$ac_objext'
4363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4367 (exit $ac_status); }; }; then
4368 ac_header_compiler=yes
4370 echo "$as_me: failed program was:" >&5
4371 sed 's/^/| /' conftest.$ac_ext >&5
4373 ac_header_compiler=no
4375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4376 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4377 echo "${ECHO_T}$ac_header_compiler" >&6
4379 # Is the header present?
4380 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4381 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4382 cat >conftest.$ac_ext <<_ACEOF
4385 cat confdefs.h >>conftest.$ac_ext
4386 cat >>conftest.$ac_ext <<_ACEOF
4387 /* end confdefs.h. */
4388 #include <$ac_header>
4390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4391 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4393 grep -v '^ *+' conftest.er1 >conftest.err
4395 cat conftest.err >&5
4396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4397 (exit $ac_status); } >/dev/null; then
4398 if test -s conftest.err; then
4399 ac_cpp_err=$ac_c_preproc_warn_flag
4400 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4407 if test -z "$ac_cpp_err"; then
4408 ac_header_preproc=yes
4410 echo "$as_me: failed program was:" >&5
4411 sed 's/^/| /' conftest.$ac_ext >&5
4413 ac_header_preproc=no
4415 rm -f conftest.err conftest.$ac_ext
4416 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4417 echo "${ECHO_T}$ac_header_preproc" >&6
4419 # So? What about this header?
4420 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4422 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4423 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4425 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4426 ac_header_preproc=yes
4429 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4430 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4431 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4432 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4433 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4434 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4435 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4436 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4438 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4439 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4440 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4443 ## ---------------------------------- ##
4444 ## Report this to the libfirm lists. ##
4445 ## ---------------------------------- ##
4448 sed "s/^/$as_me: WARNING: /" >&2
4451 echo "$as_me:$LINENO: checking for $ac_header" >&5
4452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4456 eval "$as_ac_Header=\$ac_header_preproc"
4458 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4459 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4462 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4463 cat >>confdefs.h <<_ACEOF
4464 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4466 ac_xml_headers="yes"
4473 if test "$ac_xml_headers" != yes; then
4474 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4475 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4476 { (exit 1); exit 1; }; }
4481 #dnl check for the gnu multiprecission (gmp) library
4483 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4484 #if test "$ac_gmp_library" != yes; then
4485 # dnl gmp library not found.
4486 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4490 echo "$as_me:$LINENO: checking for main in -lm" >&5
4491 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4492 if test "${ac_cv_lib_m_main+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4495 ac_check_lib_save_LIBS=$LIBS
4497 cat >conftest.$ac_ext <<_ACEOF
4500 cat confdefs.h >>conftest.$ac_ext
4501 cat >>conftest.$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4513 rm -f conftest.$ac_objext conftest$ac_exeext
4514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4515 (eval $ac_link) 2>conftest.er1
4517 grep -v '^ *+' conftest.er1 >conftest.err
4519 cat conftest.err >&5
4520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4521 (exit $ac_status); } &&
4522 { ac_try='test -z "$ac_c_werror_flag"
4523 || test ! -s conftest.err'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; } &&
4529 { ac_try='test -s conftest$ac_exeext'
4530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); }; }; then
4535 ac_cv_lib_m_main=yes
4537 echo "$as_me: failed program was:" >&5
4538 sed 's/^/| /' conftest.$ac_ext >&5
4542 rm -f conftest.err conftest.$ac_objext \
4543 conftest$ac_exeext conftest.$ac_ext
4544 LIBS=$ac_check_lib_save_LIBS
4546 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4547 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4548 if test $ac_cv_lib_m_main = yes; then
4554 if test "$ac_m_library" != yes; then
4555 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4556 echo "$as_me: error: \"standard math library not found\"" >&2;}
4557 { (exit 1); exit 1; }; }
4561 if test "$enable_external_effects" == "yes"; then
4562 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4563 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4564 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4565 echo $ECHO_N "(cached) $ECHO_C" >&6
4567 ac_check_lib_save_LIBS=$LIBS
4569 cat >conftest.$ac_ext <<_ACEOF
4572 cat confdefs.h >>conftest.$ac_ext
4573 cat >>conftest.$ac_ext <<_ACEOF
4574 /* end confdefs.h. */
4576 /* Override any gcc2 internal prototype to avoid an error. */
4580 /* We use char because int might match the return type of a gcc2
4581 builtin and then its argument prototype would still apply. */
4582 char xmlParseFile ();
4591 rm -f conftest.$ac_objext conftest$ac_exeext
4592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4593 (eval $ac_link) 2>conftest.er1
4595 grep -v '^ *+' conftest.er1 >conftest.err
4597 cat conftest.err >&5
4598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4599 (exit $ac_status); } &&
4600 { ac_try='test -z "$ac_c_werror_flag"
4601 || test ! -s conftest.err'
4602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4606 (exit $ac_status); }; } &&
4607 { ac_try='test -s conftest$ac_exeext'
4608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4612 (exit $ac_status); }; }; then
4613 ac_cv_lib_xml2_xmlParseFile=yes
4615 echo "$as_me: failed program was:" >&5
4616 sed 's/^/| /' conftest.$ac_ext >&5
4618 ac_cv_lib_xml2_xmlParseFile=no
4620 rm -f conftest.err conftest.$ac_objext \
4621 conftest$ac_exeext conftest.$ac_ext
4622 LIBS=$ac_check_lib_save_LIBS
4624 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4625 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4626 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4627 ac_xml_library="yes"
4632 if test "$ac_m_library" != yes; then
4633 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4634 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4635 { (exit 1); exit 1; }; }
4641 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4642 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4643 if test "${ac_cv_c_const+set}" = set; then
4644 echo $ECHO_N "(cached) $ECHO_C" >&6
4646 cat >conftest.$ac_ext <<_ACEOF
4649 cat confdefs.h >>conftest.$ac_ext
4650 cat >>conftest.$ac_ext <<_ACEOF
4651 /* end confdefs.h. */
4656 /* FIXME: Include the comments suggested by Paul. */
4658 /* Ultrix mips cc rejects this. */
4659 typedef int charset[2];
4661 /* SunOS 4.1.1 cc rejects this. */
4662 char const *const *ccp;
4664 /* NEC SVR4.0.2 mips cc rejects this. */
4665 struct point {int x, y;};
4666 static struct point const zero = {0,0};
4667 /* AIX XL C 1.02.0.0 rejects this.
4668 It does not let you subtract one const X* pointer from another in
4669 an arm of an if-expression whose if-part is not a constant
4671 const char *g = "string";
4672 ccp = &g + (g ? g-g : 0);
4673 /* HPUX 7.0 cc rejects these. */
4676 ccp = (char const *const *) p;
4677 { /* SCO 3.2v4 cc rejects this. */
4679 char const *s = 0 ? (char *) 0 : (char const *) 0;
4683 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4685 const int *foo = &x[0];
4688 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4689 typedef const int *iptr;
4693 { /* AIX XL C 1.02.0.0 rejects this saying
4694 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4695 struct s { int j; const int *ap[3]; };
4696 struct s *b; b->j = 5;
4698 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4707 rm -f conftest.$ac_objext
4708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4709 (eval $ac_compile) 2>conftest.er1
4711 grep -v '^ *+' conftest.er1 >conftest.err
4713 cat conftest.err >&5
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); } &&
4716 { ac_try='test -z "$ac_c_werror_flag"
4717 || test ! -s conftest.err'
4718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); }; } &&
4723 { ac_try='test -s conftest.$ac_objext'
4724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4728 (exit $ac_status); }; }; then
4731 echo "$as_me: failed program was:" >&5
4732 sed 's/^/| /' conftest.$ac_ext >&5
4736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4738 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4739 echo "${ECHO_T}$ac_cv_c_const" >&6
4740 if test $ac_cv_c_const = no; then
4742 cat >>confdefs.h <<\_ACEOF
4748 echo "$as_me:$LINENO: checking for working volatile" >&5
4749 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4750 if test "${ac_cv_c_volatile+set}" = set; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6
4753 cat >conftest.$ac_ext <<_ACEOF
4756 cat confdefs.h >>conftest.$ac_ext
4757 cat >>conftest.$ac_ext <<_ACEOF
4758 /* end confdefs.h. */
4770 rm -f conftest.$ac_objext
4771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4772 (eval $ac_compile) 2>conftest.er1
4774 grep -v '^ *+' conftest.er1 >conftest.err
4776 cat conftest.err >&5
4777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4778 (exit $ac_status); } &&
4779 { ac_try='test -z "$ac_c_werror_flag"
4780 || test ! -s conftest.err'
4781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4785 (exit $ac_status); }; } &&
4786 { ac_try='test -s conftest.$ac_objext'
4787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4791 (exit $ac_status); }; }; then
4792 ac_cv_c_volatile=yes
4794 echo "$as_me: failed program was:" >&5
4795 sed 's/^/| /' conftest.$ac_ext >&5
4799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4801 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4802 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4803 if test $ac_cv_c_volatile = no; then
4805 cat >>confdefs.h <<\_ACEOF
4811 echo "$as_me:$LINENO: checking for inline" >&5
4812 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4813 if test "${ac_cv_c_inline+set}" = set; then
4814 echo $ECHO_N "(cached) $ECHO_C" >&6
4817 for ac_kw in inline __inline__ __inline; do
4818 cat >conftest.$ac_ext <<_ACEOF
4821 cat confdefs.h >>conftest.$ac_ext
4822 cat >>conftest.$ac_ext <<_ACEOF
4823 /* end confdefs.h. */
4826 static $ac_kw foo_t static_foo () {return 0; }
4827 $ac_kw foo_t foo () {return 0; }
4831 rm -f conftest.$ac_objext
4832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4833 (eval $ac_compile) 2>conftest.er1
4835 grep -v '^ *+' conftest.er1 >conftest.err
4837 cat conftest.err >&5
4838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4839 (exit $ac_status); } &&
4840 { ac_try='test -z "$ac_c_werror_flag"
4841 || test ! -s conftest.err'
4842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4846 (exit $ac_status); }; } &&
4847 { ac_try='test -s conftest.$ac_objext'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; }; then
4853 ac_cv_c_inline=$ac_kw; break
4855 echo "$as_me: failed program was:" >&5
4856 sed 's/^/| /' conftest.$ac_ext >&5
4859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4863 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4864 echo "${ECHO_T}$ac_cv_c_inline" >&6
4867 case $ac_cv_c_inline in
4870 case $ac_cv_c_inline in
4872 *) ac_val=$ac_cv_c_inline;;
4874 cat >>confdefs.h <<_ACEOF
4876 #define inline $ac_val
4882 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4883 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4884 if test "${ac_cv_c_bigendian+set}" = set; then
4885 echo $ECHO_N "(cached) $ECHO_C" >&6
4887 # See if sys/param.h defines the BYTE_ORDER macro.
4888 cat >conftest.$ac_ext <<_ACEOF
4891 cat confdefs.h >>conftest.$ac_ext
4892 cat >>conftest.$ac_ext <<_ACEOF
4893 /* end confdefs.h. */
4894 #include <sys/types.h>
4895 #include <sys/param.h>
4900 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4908 rm -f conftest.$ac_objext
4909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4910 (eval $ac_compile) 2>conftest.er1
4912 grep -v '^ *+' conftest.er1 >conftest.err
4914 cat conftest.err >&5
4915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4916 (exit $ac_status); } &&
4917 { ac_try='test -z "$ac_c_werror_flag"
4918 || test ! -s conftest.err'
4919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); }; } &&
4924 { ac_try='test -s conftest.$ac_objext'
4925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4929 (exit $ac_status); }; }; then
4930 # It does; now see whether it defined to BIG_ENDIAN or not.
4931 cat >conftest.$ac_ext <<_ACEOF
4934 cat confdefs.h >>conftest.$ac_ext
4935 cat >>conftest.$ac_ext <<_ACEOF
4936 /* end confdefs.h. */
4937 #include <sys/types.h>
4938 #include <sys/param.h>
4943 #if BYTE_ORDER != BIG_ENDIAN
4951 rm -f conftest.$ac_objext
4952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4953 (eval $ac_compile) 2>conftest.er1
4955 grep -v '^ *+' conftest.er1 >conftest.err
4957 cat conftest.err >&5
4958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4959 (exit $ac_status); } &&
4960 { ac_try='test -z "$ac_c_werror_flag"
4961 || test ! -s conftest.err'
4962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4966 (exit $ac_status); }; } &&
4967 { ac_try='test -s conftest.$ac_objext'
4968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4972 (exit $ac_status); }; }; then
4973 ac_cv_c_bigendian=yes
4975 echo "$as_me: failed program was:" >&5
4976 sed 's/^/| /' conftest.$ac_ext >&5
4978 ac_cv_c_bigendian=no
4980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4982 echo "$as_me: failed program was:" >&5
4983 sed 's/^/| /' conftest.$ac_ext >&5
4985 # It does not; compile a test program.
4986 if test "$cross_compiling" = yes; then
4987 # try to guess the endianness by grepping values into an object file
4988 ac_cv_c_bigendian=unknown
4989 cat >conftest.$ac_ext <<_ACEOF
4992 cat confdefs.h >>conftest.$ac_ext
4993 cat >>conftest.$ac_ext <<_ACEOF
4994 /* end confdefs.h. */
4995 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4996 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4997 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4998 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4999 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5000 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5004 _ascii (); _ebcdic ();
5009 rm -f conftest.$ac_objext
5010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5011 (eval $ac_compile) 2>conftest.er1
5013 grep -v '^ *+' conftest.er1 >conftest.err
5015 cat conftest.err >&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } &&
5018 { ac_try='test -z "$ac_c_werror_flag"
5019 || test ! -s conftest.err'
5020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5024 (exit $ac_status); }; } &&
5025 { ac_try='test -s conftest.$ac_objext'
5026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5030 (exit $ac_status); }; }; then
5031 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5032 ac_cv_c_bigendian=yes
5034 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5035 if test "$ac_cv_c_bigendian" = unknown; then
5036 ac_cv_c_bigendian=no
5038 # finding both strings is unlikely to happen, but who knows?
5039 ac_cv_c_bigendian=unknown
5043 echo "$as_me: failed program was:" >&5
5044 sed 's/^/| /' conftest.$ac_ext >&5
5047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5049 cat >conftest.$ac_ext <<_ACEOF
5052 cat confdefs.h >>conftest.$ac_ext
5053 cat >>conftest.$ac_ext <<_ACEOF
5054 /* end confdefs.h. */
5058 /* Are we little or big endian? From Harbison&Steele. */
5062 char c[sizeof (long)];
5065 exit (u.c[sizeof (long) - 1] == 1);
5068 rm -f conftest$ac_exeext
5069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5070 (eval $ac_link) 2>&5
5072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5073 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; }; then
5079 ac_cv_c_bigendian=no
5081 echo "$as_me: program exited with status $ac_status" >&5
5082 echo "$as_me: failed program was:" >&5
5083 sed 's/^/| /' conftest.$ac_ext >&5
5086 ac_cv_c_bigendian=yes
5088 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5093 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5094 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5095 case $ac_cv_c_bigendian in
5098 cat >>confdefs.h <<\_ACEOF
5099 #define WORDS_BIGENDIAN 1
5105 { { echo "$as_me:$LINENO: error: unknown endianness
5106 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5107 echo "$as_me: error: unknown endianness
5108 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5109 { (exit 1); exit 1; }; } ;;
5112 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5113 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5114 if test "${ac_cv_c_long_double+set}" = set; then
5115 echo $ECHO_N "(cached) $ECHO_C" >&6
5117 cat >conftest.$ac_ext <<_ACEOF
5120 cat confdefs.h >>conftest.$ac_ext
5121 cat >>conftest.$ac_ext <<_ACEOF
5122 /* end confdefs.h. */
5124 long double foo = 0.0;
5128 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5129 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5130 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5137 rm -f conftest.$ac_objext
5138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5139 (eval $ac_compile) 2>conftest.er1
5141 grep -v '^ *+' conftest.er1 >conftest.err
5143 cat conftest.err >&5
5144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5145 (exit $ac_status); } &&
5146 { ac_try='test -z "$ac_c_werror_flag"
5147 || test ! -s conftest.err'
5148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5152 (exit $ac_status); }; } &&
5153 { ac_try='test -s conftest.$ac_objext'
5154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5158 (exit $ac_status); }; }; then
5159 ac_cv_c_long_double=yes
5161 echo "$as_me: failed program was:" >&5
5162 sed 's/^/| /' conftest.$ac_ext >&5
5164 ac_cv_c_long_double=no
5166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5168 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5169 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5170 if test $ac_cv_c_long_double = yes; then
5172 cat >>confdefs.h <<\_ACEOF
5173 #define HAVE_LONG_DOUBLE 1
5181 echo "$as_me:$LINENO: checking for strerror" >&5
5182 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5183 if test "${ac_cv_func_strerror+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5186 cat >conftest.$ac_ext <<_ACEOF
5189 cat confdefs.h >>conftest.$ac_ext
5190 cat >>conftest.$ac_ext <<_ACEOF
5191 /* end confdefs.h. */
5192 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5194 #define strerror innocuous_strerror
5196 /* System header to define __stub macros and hopefully few prototypes,
5197 which can conflict with char strerror (); below.
5198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5199 <limits.h> exists even on freestanding compilers. */
5202 # include <limits.h>
5204 # include <assert.h>
5209 /* Override any gcc2 internal prototype to avoid an error. */
5214 /* We use char because int might match the return type of a gcc2
5215 builtin and then its argument prototype would still apply. */
5217 /* The GNU C library defines this for functions which it implements
5218 to always fail with ENOSYS. Some functions are actually named
5219 something starting with __ and the normal name is an alias. */
5220 #if defined (__stub_strerror) || defined (__stub___strerror)
5223 char (*f) () = strerror;
5232 return f != strerror;
5237 rm -f conftest.$ac_objext conftest$ac_exeext
5238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5239 (eval $ac_link) 2>conftest.er1
5241 grep -v '^ *+' conftest.er1 >conftest.err
5243 cat conftest.err >&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); } &&
5246 { ac_try='test -z "$ac_c_werror_flag"
5247 || test ! -s conftest.err'
5248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5252 (exit $ac_status); }; } &&
5253 { ac_try='test -s conftest$ac_exeext'
5254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5258 (exit $ac_status); }; }; then
5259 ac_cv_func_strerror=yes
5261 echo "$as_me: failed program was:" >&5
5262 sed 's/^/| /' conftest.$ac_ext >&5
5264 ac_cv_func_strerror=no
5266 rm -f conftest.err conftest.$ac_objext \
5267 conftest$ac_exeext conftest.$ac_ext
5269 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5270 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5271 if test $ac_cv_func_strerror = yes; then
5274 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5275 echo "$as_me: error: \"need strerror function\"" >&2;}
5276 { (exit 1); exit 1; }; }
5284 ac_config_files="$ac_config_files $ac_output_file"
5285 ac_config_commands="$ac_config_commands default"
5286 cat >confcache <<\_ACEOF
5287 # This file is a shell script that caches the results of configure
5288 # tests run on this system so they can be shared between configure
5289 # scripts and configure runs, see configure's option --config-cache.
5290 # It is not useful on other systems. If it contains results you don't
5291 # want to keep, you may remove or edit it.
5293 # config.status only pays attention to the cache file if you give it
5294 # the --recheck option to rerun configure.
5296 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5297 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5302 # The following way of writing the cache mishandles newlines in values,
5303 # but we know of no workaround that is simple, portable, and efficient.
5304 # So, don't put newlines in cache variables' values.
5305 # Ultrix sh set writes to stderr and can't be redirected directly,
5306 # and sets the high bit in the cache file unless we assign to the vars.
5309 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5311 # `set' does not quote correctly, so add quotes (double-quote
5312 # substitution turns \\\\ into \\, and sed turns \\ into \).
5315 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5318 # `set' quotes correctly as required by POSIX, so do not add quotes.
5320 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5327 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5329 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5331 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5332 if test -w $cache_file; then
5333 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5334 cat confcache >$cache_file
5336 echo "not updating unwritable cache $cache_file"
5341 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5342 # Let make expand exec_prefix.
5343 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5345 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5346 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5347 # trailing colons and then remove the whole line if VPATH becomes empty
5348 # (actually we leave an empty line to preserve line numbers).
5349 if test "x$srcdir" = x.; then
5350 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5351 s/:*\$(srcdir):*/:/;
5352 s/:*\${srcdir}:*/:/;
5354 s/^\([^=]*=[ ]*\):*/\1/;
5360 DEFS=-DHAVE_CONFIG_H
5364 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5365 # 1. Remove the extension, and $U if already installed.
5366 ac_i=`echo "$ac_i" |
5367 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5369 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5370 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5374 LTLIBOBJS=$ac_ltlibobjs
5378 : ${CONFIG_STATUS=./config.status}
5379 ac_clean_files_save=$ac_clean_files
5380 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5381 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5382 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5383 cat >$CONFIG_STATUS <<_ACEOF
5385 # Generated by $as_me.
5386 # Run this file to recreate the current configuration.
5387 # Compiler output produced by configure, useful for debugging
5388 # configure, is in config.log if it exists.
5393 SHELL=\${CONFIG_SHELL-$SHELL}
5396 cat >>$CONFIG_STATUS <<\_ACEOF
5397 ## --------------------- ##
5398 ## M4sh Initialization. ##
5399 ## --------------------- ##
5401 # Be Bourne compatible
5402 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5405 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5406 # is contrary to our usage. Disable this feature.
5407 alias -g '${1+"$@"}'='"$@"'
5408 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5411 DUALCASE=1; export DUALCASE # for MKS sh
5413 # Support unset when possible.
5414 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5421 # Work around bugs in pre-3.0 UWIN ksh.
5422 $as_unset ENV MAIL MAILPATH
5429 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5430 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5431 LC_TELEPHONE LC_TIME
5433 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5434 eval $as_var=C; export $as_var
5440 # Required to use basename.
5441 if expr a : '\(a\)' >/dev/null 2>&1; then
5447 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5448 as_basename=basename
5454 # Name of the executable.
5455 as_me=`$as_basename "$0" ||
5456 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5457 X"$0" : 'X\(//\)$' \| \
5458 X"$0" : 'X\(/\)$' \| \
5459 . : '\(.\)' 2>/dev/null ||
5461 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5462 /^X\/\(\/\/\)$/{ s//\1/; q; }
5463 /^X\/\(\/\).*/{ s//\1/; q; }
5467 # PATH needs CR, and LINENO needs CR and PATH.
5468 # Avoid depending upon Character Ranges.
5469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5472 as_cr_digits='0123456789'
5473 as_cr_alnum=$as_cr_Letters$as_cr_digits
5475 # The user is always right.
5476 if test "${PATH_SEPARATOR+set}" != set; then
5477 echo "#! /bin/sh" >conf$$.sh
5478 echo "exit 0" >>conf$$.sh
5480 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5491 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5492 test "x$as_lineno_1" != "x$as_lineno_2" &&
5493 test "x$as_lineno_3" = "x$as_lineno_2" || {
5494 # Find who we are. Look in the path if we contain no path at all
5497 *[\\/]* ) as_myself=$0 ;;
5498 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5502 test -z "$as_dir" && as_dir=.
5503 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5508 # We did not find ourselves, most probably we were run as `sh COMMAND'
5509 # in which case we are not to be found in the path.
5510 if test "x$as_myself" = x; then
5513 if test ! -f "$as_myself"; then
5514 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5515 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5516 { (exit 1); exit 1; }; }
5518 case $CONFIG_SHELL in
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5524 test -z "$as_dir" && as_dir=.
5525 for as_base in sh bash ksh sh5; do
5528 if ("$as_dir/$as_base" -c '
5531 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5532 test "x$as_lineno_1" != "x$as_lineno_2" &&
5533 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5534 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5535 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5536 CONFIG_SHELL=$as_dir/$as_base
5538 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5546 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5547 # uniformly replaced by the line number. The first 'sed' inserts a
5548 # line-number line before each line; the second 'sed' does the real
5549 # work. The second script uses 'N' to pair each line-number line
5550 # with the numbered line, and appends trailing '-' during
5551 # substitution so that $LINENO is not a special case at line end.
5552 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5553 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5554 sed '=' <$as_myself |
5559 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5562 s,^['$as_cr_digits']*\n,,
5564 chmod +x $as_me.lineno ||
5565 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5566 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5567 { (exit 1); exit 1; }; }
5569 # Don't try to exec as it changes $[0], causing all sort of problems
5570 # (the dirname of $[0] is not the place where we might find the
5571 # original and so on. Autoconf is especially sensible to this).
5573 # Exit status is that of the last command.
5578 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5579 *c*,-n*) ECHO_N= ECHO_C='
5581 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5582 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5585 if expr a : '\(a\)' >/dev/null 2>&1; then
5591 rm -f conf$$ conf$$.exe conf$$.file
5593 if ln -s conf$$.file conf$$ 2>/dev/null; then
5594 # We could just check for DJGPP; but this test a) works b) is more generic
5595 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5596 if test -f conf$$.exe; then
5597 # Don't use ln at all; we don't have any links
5602 elif ln conf$$.file conf$$ 2>/dev/null; then
5607 rm -f conf$$ conf$$.exe conf$$.file
5609 if mkdir -p . 2>/dev/null; then
5612 test -d ./-p && rmdir ./-p
5616 as_executable_p="test -f"
5618 # Sed expression to map a string onto a valid CPP name.
5619 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5621 # Sed expression to map a string onto a valid variable name.
5622 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5626 # We need space, tab and new line, in precisely that order.
5636 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5637 # report actual input values of CONFIG_FILES etc. instead of their
5638 # values after options handling. Logging --version etc. is OK.
5642 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5643 ## Running $as_me. ##
5648 This file was extended by libfirm $as_me 1.3.0, which was
5649 generated by GNU Autoconf 2.59. Invocation command line was
5651 CONFIG_FILES = $CONFIG_FILES
5652 CONFIG_HEADERS = $CONFIG_HEADERS
5653 CONFIG_LINKS = $CONFIG_LINKS
5654 CONFIG_COMMANDS = $CONFIG_COMMANDS
5658 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5662 # Files that config.status was made for.
5663 if test -n "$ac_config_files"; then
5664 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5667 if test -n "$ac_config_headers"; then
5668 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5671 if test -n "$ac_config_links"; then
5672 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5675 if test -n "$ac_config_commands"; then
5676 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5679 cat >>$CONFIG_STATUS <<\_ACEOF
5682 \`$as_me' instantiates files from templates according to the
5683 current configuration.
5685 Usage: $0 [OPTIONS] [FILE]...
5687 -h, --help print this help, then exit
5688 -V, --version print version number, then exit
5689 -q, --quiet do not print progress messages
5690 -d, --debug don't remove temporary files
5691 --recheck update $as_me by reconfiguring in the same conditions
5692 --file=FILE[:TEMPLATE]
5693 instantiate the configuration file FILE
5694 --header=FILE[:TEMPLATE]
5695 instantiate the configuration header FILE
5697 Configuration files:
5700 Configuration headers:
5703 Configuration commands:
5706 Report bugs to <bug-autoconf@gnu.org>."
5709 cat >>$CONFIG_STATUS <<_ACEOF
5711 libfirm config.status 1.3.0
5712 configured by $0, generated by GNU Autoconf 2.59,
5713 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5715 Copyright (C) 2003 Free Software Foundation, Inc.
5716 This config.status script is free software; the Free Software Foundation
5717 gives unlimited permission to copy, distribute and modify it."
5722 cat >>$CONFIG_STATUS <<\_ACEOF
5723 # If no file are specified by the user, then we need to provide default
5724 # value. By we need to know if files were specified by the user.
5730 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5731 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5739 *) # This is not an option, so the user has probably given explicit
5742 ac_need_defaults=false;;
5746 # Handling of the options.
5748 cat >>$CONFIG_STATUS <<\_ACEOF
5749 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5751 --version | --vers* | -V )
5752 echo "$ac_cs_version"; exit 0 ;;
5754 # Conflict between --help and --header
5755 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5756 Try \`$0 --help' for more information." >&5
5757 echo "$as_me: error: ambiguous option: $1
5758 Try \`$0 --help' for more information." >&2;}
5759 { (exit 1); exit 1; }; };;
5760 --help | --hel | -h )
5761 echo "$ac_cs_usage"; exit 0 ;;
5762 --debug | --d* | -d )
5764 --file | --fil | --fi | --f )
5766 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5767 ac_need_defaults=false;;
5768 --header | --heade | --head | --hea )
5770 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5771 ac_need_defaults=false;;
5772 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5773 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5777 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5778 Try \`$0 --help' for more information." >&5
5779 echo "$as_me: error: unrecognized option: $1
5780 Try \`$0 --help' for more information." >&2;}
5781 { (exit 1); exit 1; }; } ;;
5783 *) ac_config_targets="$ac_config_targets $1" ;;
5789 ac_configure_extra_args=
5791 if $ac_cs_silent; then
5793 ac_configure_extra_args="$ac_configure_extra_args --silent"
5797 cat >>$CONFIG_STATUS <<_ACEOF
5798 if \$ac_cs_recheck; then
5799 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5800 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5809 cat >>$CONFIG_STATUS <<\_ACEOF
5810 for ac_config_target in $ac_config_targets
5812 case "$ac_config_target" in
5813 # Handling of arguments.
5814 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5815 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5816 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5817 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5818 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5819 { (exit 1); exit 1; }; };;
5823 # If the user did not use the arguments to specify the items to instantiate,
5824 # then the envvar interface is used. Set only those that are not.
5825 # We use the long form for the default assignment because of an extremely
5826 # bizarre bug on SunOS 4.1.3.
5827 if $ac_need_defaults; then
5828 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5829 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5830 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5833 # Have a temporary directory for convenience. Make it in the build tree
5834 # simply because there is no reason to put it here, and in addition,
5835 # creating and moving files from /tmp can sometimes cause problems.
5836 # Create a temporary directory, and hook for its removal unless debugging.
5839 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5840 trap '{ (exit 1); exit 1; }' 1 2 13 15
5843 # Create a (secure) tmp directory for tmp files.
5846 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5847 test -n "$tmp" && test -d "$tmp"
5850 tmp=./confstat$$-$RANDOM
5851 (umask 077 && mkdir $tmp)
5854 echo "$me: cannot create a temporary directory in ." >&2
5855 { (exit 1); exit 1; }
5860 cat >>$CONFIG_STATUS <<_ACEOF
5863 # CONFIG_FILES section.
5866 # No need to generate the scripts if there are no CONFIG_FILES.
5867 # This happens for instance when ./config.status config.h
5868 if test -n "\$CONFIG_FILES"; then
5869 # Protect against being on the right side of a sed subst in config.status.
5870 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5871 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5872 s,@SHELL@,$SHELL,;t t
5873 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5874 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5875 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5876 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5877 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5878 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5879 s,@exec_prefix@,$exec_prefix,;t t
5880 s,@prefix@,$prefix,;t t
5881 s,@program_transform_name@,$program_transform_name,;t t
5882 s,@bindir@,$bindir,;t t
5883 s,@sbindir@,$sbindir,;t t
5884 s,@libexecdir@,$libexecdir,;t t
5885 s,@datadir@,$datadir,;t t
5886 s,@sysconfdir@,$sysconfdir,;t t
5887 s,@sharedstatedir@,$sharedstatedir,;t t
5888 s,@localstatedir@,$localstatedir,;t t
5889 s,@libdir@,$libdir,;t t
5890 s,@includedir@,$includedir,;t t
5891 s,@oldincludedir@,$oldincludedir,;t t
5892 s,@infodir@,$infodir,;t t
5893 s,@mandir@,$mandir,;t t
5894 s,@build_alias@,$build_alias,;t t
5895 s,@host_alias@,$host_alias,;t t
5896 s,@target_alias@,$target_alias,;t t
5898 s,@ECHO_C@,$ECHO_C,;t t
5899 s,@ECHO_N@,$ECHO_N,;t t
5900 s,@ECHO_T@,$ECHO_T,;t t
5902 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5903 s,@plugin_subdirs@,$plugin_subdirs,;t t
5904 s,@XML2CONFIG@,$XML2CONFIG,;t t
5905 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5906 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5907 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5908 s,@enable_firm_jni@,$enable_firm_jni,;t t
5909 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5910 s,@disable_libiberty@,$disable_libiberty,;t t
5911 s,@enable_statistics@,$enable_statistics,;t t
5912 s,@enable_libcore@,$enable_libcore,;t t
5913 s,@enable_ilp@,$enable_ilp,;t t
5914 s,@enable_wchar_support@,$enable_wchar_support,;t t
5915 s,@enable_external_effects@,$enable_external_effects,;t t
5917 s,@CFLAGS@,$CFLAGS,;t t
5918 s,@LDFLAGS@,$LDFLAGS,;t t
5919 s,@CPPFLAGS@,$CPPFLAGS,;t t
5920 s,@ac_ct_CC@,$ac_ct_CC,;t t
5921 s,@EXEEXT@,$EXEEXT,;t t
5922 s,@OBJEXT@,$OBJEXT,;t t
5925 s,@ac_ct_LD@,$ac_ct_LD,;t t
5926 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5929 s,@RANLIB@,$RANLIB,;t t
5930 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5931 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5932 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5933 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5935 s,@DOXYGEN@,$DOXYGEN,;t t
5937 s,@JAVAC@,$JAVAC,;t t
5938 s,@JAVAH@,$JAVAH,;t t
5940 s,@EGREP@,$EGREP,;t t
5941 s,@LIBOBJS@,$LIBOBJS,;t t
5942 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5947 cat >>$CONFIG_STATUS <<\_ACEOF
5948 # Split the substitutions into bite-sized pieces for seds with
5949 # small command number limits, like on Digital OSF/1 and HP-UX.
5951 ac_sed_frag=1 # Number of current file.
5952 ac_beg=1 # First line for current file.
5953 ac_end=$ac_max_sed_lines # Line after last line for current file.
5956 while $ac_more_lines; do
5957 if test $ac_beg -gt 1; then
5958 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5960 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5962 if test ! -s $tmp/subs.frag; then
5965 # The purpose of the label and of the branching condition is to
5966 # speed up the sed processing (if there are no `@' at all, there
5967 # is no need to browse any of the substitutions).
5968 # These are the two extra sed commands mentioned above.
5970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5971 if test -z "$ac_sed_cmds"; then
5972 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5974 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5976 ac_sed_frag=`expr $ac_sed_frag + 1`
5978 ac_end=`expr $ac_end + $ac_max_sed_lines`
5981 if test -z "$ac_sed_cmds"; then
5984 fi # test -n "$CONFIG_FILES"
5987 cat >>$CONFIG_STATUS <<\_ACEOF
5988 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5989 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5991 - | *:- | *:-:* ) # input from stdin
5993 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5994 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5995 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5996 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5997 * ) ac_file_in=$ac_file.in ;;
6000 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6001 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6002 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6003 X"$ac_file" : 'X\(//\)[^/]' \| \
6004 X"$ac_file" : 'X\(//\)$' \| \
6005 X"$ac_file" : 'X\(/\)' \| \
6006 . : '\(.\)' 2>/dev/null ||
6008 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6009 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6010 /^X\(\/\/\)$/{ s//\1/; q; }
6011 /^X\(\/\).*/{ s//\1/; q; }
6013 { if $as_mkdir_p; then
6018 while test ! -d "$as_dir"; do
6019 as_dirs="$as_dir $as_dirs"
6020 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6021 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6022 X"$as_dir" : 'X\(//\)[^/]' \| \
6023 X"$as_dir" : 'X\(//\)$' \| \
6024 X"$as_dir" : 'X\(/\)' \| \
6025 . : '\(.\)' 2>/dev/null ||
6027 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6028 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6029 /^X\(\/\/\)$/{ s//\1/; q; }
6030 /^X\(\/\).*/{ s//\1/; q; }
6033 test ! -n "$as_dirs" || mkdir $as_dirs
6034 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6035 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6036 { (exit 1); exit 1; }; }; }
6040 if test "$ac_dir" != .; then
6041 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6042 # A "../" for each directory in $ac_dir_suffix.
6043 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6045 ac_dir_suffix= ac_top_builddir=
6049 .) # No --srcdir option. We are building in place.
6051 if test -z "$ac_top_builddir"; then
6054 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6056 [\\/]* | ?:[\\/]* ) # Absolute path.
6057 ac_srcdir=$srcdir$ac_dir_suffix;
6058 ac_top_srcdir=$srcdir ;;
6060 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6061 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6064 # Do not use `cd foo && pwd` to compute absolute paths, because
6065 # the directories may not exist.
6067 .) ac_abs_builddir="$ac_dir";;
6070 .) ac_abs_builddir=`pwd`;;
6071 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6072 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6075 case $ac_abs_builddir in
6076 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6078 case ${ac_top_builddir}. in
6079 .) ac_abs_top_builddir=$ac_abs_builddir;;
6080 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6081 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6084 case $ac_abs_builddir in
6085 .) ac_abs_srcdir=$ac_srcdir;;
6088 .) ac_abs_srcdir=$ac_abs_builddir;;
6089 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6090 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6093 case $ac_abs_builddir in
6094 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6096 case $ac_top_srcdir in
6097 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6098 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6099 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6105 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6106 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6109 if test x"$ac_file" != x-; then
6110 { echo "$as_me:$LINENO: creating $ac_file" >&5
6111 echo "$as_me: creating $ac_file" >&6;}
6114 # Let's still pretend it is `configure' which instantiates (i.e., don't
6115 # use $as_me), people would be surprised to read:
6116 # /* config.h. Generated by config.status. */
6117 if test x"$ac_file" = x-; then
6120 configure_input="$ac_file. "
6122 configure_input=$configure_input"Generated from `echo $ac_file_in |
6123 sed 's,.*/,,'` by configure."
6125 # First look for the input files in the build tree, otherwise in the
6127 ac_file_inputs=`IFS=:
6128 for f in $ac_file_in; do
6130 -) echo $tmp/stdin ;;
6132 # Absolute (can't be DOS-style, as IFS=:)
6133 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6134 echo "$as_me: error: cannot find input file: $f" >&2;}
6135 { (exit 1); exit 1; }; }
6138 if test -f "$f"; then
6141 elif test -f "$srcdir/$f"; then
6146 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6147 echo "$as_me: error: cannot find input file: $f" >&2;}
6148 { (exit 1); exit 1; }; }
6151 done` || { (exit 1); exit 1; }
6153 cat >>$CONFIG_STATUS <<_ACEOF
6157 cat >>$CONFIG_STATUS <<\_ACEOF
6159 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6160 s,@configure_input@,$configure_input,;t t
6161 s,@srcdir@,$ac_srcdir,;t t
6162 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6163 s,@top_srcdir@,$ac_top_srcdir,;t t
6164 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6165 s,@builddir@,$ac_builddir,;t t
6166 s,@abs_builddir@,$ac_abs_builddir,;t t
6167 s,@top_builddir@,$ac_top_builddir,;t t
6168 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6169 s,@INSTALL@,$ac_INSTALL,;t t
6170 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6172 if test x"$ac_file" != x-; then
6173 mv $tmp/out $ac_file
6181 cat >>$CONFIG_STATUS <<\_ACEOF
6184 # CONFIG_HEADER section.
6187 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6188 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6190 # ac_d sets the value in "#define NAME VALUE" lines.
6191 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6192 ac_dB='[ ].*$,\1#\2'
6195 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6196 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6197 ac_uB='$,\1#\2define\3'
6201 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6202 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6204 - | *:- | *:-:* ) # input from stdin
6206 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6207 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6208 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6209 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6210 * ) ac_file_in=$ac_file.in ;;
6213 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6214 echo "$as_me: creating $ac_file" >&6;}
6216 # First look for the input files in the build tree, otherwise in the
6218 ac_file_inputs=`IFS=:
6219 for f in $ac_file_in; do
6221 -) echo $tmp/stdin ;;
6223 # Absolute (can't be DOS-style, as IFS=:)
6224 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6225 echo "$as_me: error: cannot find input file: $f" >&2;}
6226 { (exit 1); exit 1; }; }
6227 # Do quote $f, to prevent DOS paths from being IFS'd.
6230 if test -f "$f"; then
6233 elif test -f "$srcdir/$f"; then
6238 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6239 echo "$as_me: error: cannot find input file: $f" >&2;}
6240 { (exit 1); exit 1; }; }
6243 done` || { (exit 1); exit 1; }
6244 # Remove the trailing spaces.
6245 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6249 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6250 # `conftest.undefs', that substitutes the proper values into
6251 # config.h.in to produce config.h. The first handles `#define'
6252 # templates, and the second `#undef' templates.
6253 # And first: Protect against being on the right side of a sed subst in
6254 # config.status. Protect against being in an unquoted here document
6256 rm -f conftest.defines conftest.undefs
6257 # Using a here document instead of a string reduces the quoting nightmare.
6258 # Putting comments in sed scripts is not portable.
6260 # `end' is used to avoid that the second main sed command (meant for
6261 # 0-ary CPP macros) applies to n-ary macro definitions.
6262 # See the Autoconf documentation for `clear'.
6263 cat >confdef2sed.sed <<\_ACEOF
6268 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6270 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6273 # If some macros were called several times there might be several times
6274 # the same #defines, which is useless. Nevertheless, we may not want to
6275 # sort them, since we want the *last* AC-DEFINE to be honored.
6276 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6277 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6278 rm -f confdef2sed.sed
6280 # This sed command replaces #undef with comments. This is necessary, for
6281 # example, in the case of _POSIX_SOURCE, which is predefined and required
6282 # on some systems where configure will not decide to define it.
6283 cat >>conftest.undefs <<\_ACEOF
6284 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6287 # Break up conftest.defines because some shells have a limit on the size
6288 # of here documents, and old seds have small limits too (100 cmds).
6289 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6290 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6291 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6292 echo ' :' >>$CONFIG_STATUS
6294 while grep . conftest.defines >/dev/null
6296 # Write a limited-size here document to $tmp/defines.sed.
6297 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6298 # Speed up: don't consider the non `#define' lines.
6299 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6300 # Work around the forget-to-reset-the-flag bug.
6301 echo 't clr' >>$CONFIG_STATUS
6302 echo ': clr' >>$CONFIG_STATUS
6303 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6305 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6309 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6310 rm -f conftest.defines
6311 mv conftest.tail conftest.defines
6313 rm -f conftest.defines
6314 echo ' fi # grep' >>$CONFIG_STATUS
6315 echo >>$CONFIG_STATUS
6317 # Break up conftest.undefs because some shells have a limit on the size
6318 # of here documents, and old seds have small limits too (100 cmds).
6319 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6321 while grep . conftest.undefs >/dev/null
6323 # Write a limited-size here document to $tmp/undefs.sed.
6324 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6325 # Speed up: don't consider the non `#undef'
6326 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6327 # Work around the forget-to-reset-the-flag bug.
6328 echo 't clr' >>$CONFIG_STATUS
6329 echo ': clr' >>$CONFIG_STATUS
6330 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6332 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6336 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6337 rm -f conftest.undefs
6338 mv conftest.tail conftest.undefs
6340 rm -f conftest.undefs
6342 cat >>$CONFIG_STATUS <<\_ACEOF
6343 # Let's still pretend it is `configure' which instantiates (i.e., don't
6344 # use $as_me), people would be surprised to read:
6345 # /* config.h. Generated by config.status. */
6346 if test x"$ac_file" = x-; then
6347 echo "/* Generated by configure. */" >$tmp/config.h
6349 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6351 cat $tmp/in >>$tmp/config.h
6353 if test x"$ac_file" != x-; then
6354 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6355 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6356 echo "$as_me: $ac_file is unchanged" >&6;}
6358 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6359 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6360 X"$ac_file" : 'X\(//\)[^/]' \| \
6361 X"$ac_file" : 'X\(//\)$' \| \
6362 X"$ac_file" : 'X\(/\)' \| \
6363 . : '\(.\)' 2>/dev/null ||
6365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6366 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6367 /^X\(\/\/\)$/{ s//\1/; q; }
6368 /^X\(\/\).*/{ s//\1/; q; }
6370 { if $as_mkdir_p; then
6375 while test ! -d "$as_dir"; do
6376 as_dirs="$as_dir $as_dirs"
6377 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6378 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6379 X"$as_dir" : 'X\(//\)[^/]' \| \
6380 X"$as_dir" : 'X\(//\)$' \| \
6381 X"$as_dir" : 'X\(/\)' \| \
6382 . : '\(.\)' 2>/dev/null ||
6384 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6385 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6386 /^X\(\/\/\)$/{ s//\1/; q; }
6387 /^X\(\/\).*/{ s//\1/; q; }
6390 test ! -n "$as_dirs" || mkdir $as_dirs
6391 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6392 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6393 { (exit 1); exit 1; }; }; }
6396 mv $tmp/config.h $ac_file
6404 cat >>$CONFIG_STATUS <<\_ACEOF
6407 # CONFIG_COMMANDS section.
6409 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6410 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6411 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6412 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6413 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6414 X"$ac_dest" : 'X\(//\)[^/]' \| \
6415 X"$ac_dest" : 'X\(//\)$' \| \
6416 X"$ac_dest" : 'X\(/\)' \| \
6417 . : '\(.\)' 2>/dev/null ||
6419 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6420 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6421 /^X\(\/\/\)$/{ s//\1/; q; }
6422 /^X\(\/\).*/{ s//\1/; q; }
6424 { if $as_mkdir_p; then
6429 while test ! -d "$as_dir"; do
6430 as_dirs="$as_dir $as_dirs"
6431 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6432 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6433 X"$as_dir" : 'X\(//\)[^/]' \| \
6434 X"$as_dir" : 'X\(//\)$' \| \
6435 X"$as_dir" : 'X\(/\)' \| \
6436 . : '\(.\)' 2>/dev/null ||
6438 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6439 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6440 /^X\(\/\/\)$/{ s//\1/; q; }
6441 /^X\(\/\).*/{ s//\1/; q; }
6444 test ! -n "$as_dirs" || mkdir $as_dirs
6445 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6446 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6447 { (exit 1); exit 1; }; }; }
6451 if test "$ac_dir" != .; then
6452 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6453 # A "../" for each directory in $ac_dir_suffix.
6454 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6456 ac_dir_suffix= ac_top_builddir=
6460 .) # No --srcdir option. We are building in place.
6462 if test -z "$ac_top_builddir"; then
6465 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6467 [\\/]* | ?:[\\/]* ) # Absolute path.
6468 ac_srcdir=$srcdir$ac_dir_suffix;
6469 ac_top_srcdir=$srcdir ;;
6471 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6472 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6475 # Do not use `cd foo && pwd` to compute absolute paths, because
6476 # the directories may not exist.
6478 .) ac_abs_builddir="$ac_dir";;
6481 .) ac_abs_builddir=`pwd`;;
6482 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6483 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6486 case $ac_abs_builddir in
6487 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6489 case ${ac_top_builddir}. in
6490 .) ac_abs_top_builddir=$ac_abs_builddir;;
6491 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6492 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6495 case $ac_abs_builddir in
6496 .) ac_abs_srcdir=$ac_srcdir;;
6499 .) ac_abs_srcdir=$ac_abs_builddir;;
6500 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6501 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6504 case $ac_abs_builddir in
6505 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6507 case $ac_top_srcdir in
6508 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6509 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6510 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6515 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6516 echo "$as_me: executing $ac_dest commands" >&6;}
6518 default ) touch stamp-h ;;
6523 cat >>$CONFIG_STATUS <<\_ACEOF
6525 { (exit 0); exit 0; }
6527 chmod +x $CONFIG_STATUS
6528 ac_clean_files=$ac_clean_files_save
6531 # configure is writing to config.log, and then calls config.status.
6532 # config.status does its own redirection, appending to config.log.
6533 # Unfortunately, on DOS this fails, as config.log is still kept open
6534 # by configure, so config.status won't be able to write to it; its
6535 # output is simply discarded. So we exec the FD to /dev/null,
6536 # effectively closing config.log, so it can be properly (re)opened and
6537 # appended to by config.status. When coming back to configure, we
6538 # need to make the FD available again.
6539 if test "$no_create" != yes; then
6541 ac_config_status_args=
6542 test "$silent" = yes &&
6543 ac_config_status_args="$ac_config_status_args --quiet"
6545 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6547 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6548 # would make configure fail if this is the last instruction.
6549 $ac_cs_success || { (exit 1); exit 1; }
6553 $AWK -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h