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_wchar_support enable_external_effects CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT AWK LD ac_ct_LD libfirm_cv_prog_ld_r AR TAR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S DOXYGEN DOT JAVAC JAVAH CPP EGREP LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures libfirm 1.3.0 to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
837 case $ac_init_help in
838 short | recursive ) echo "Configuration of libfirm 1.3.0:";;
843 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
844 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
845 --enable-debug enable assertions and additional debugging routines
846 --disable-inlining disable inline C-extension
847 --enable-profile enable profiling
848 --enable-autodoc enable auto documentation
849 --enable-firmjni check for tools necesarry to construct a java native interface for Firm
850 --enable-heapanalysis Compile with heap analysis.
851 --disable-libiberty disable own libiberty parts
852 --disable-hooks disable Firm hooks
853 --disable-inplace-edges disable Firm inplace edges
854 --enable-statistics enable Firm statistics
855 --enable-libcore enable libcore debugging
856 --enable-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-inplace_edges or --disable-inplace_edges was given.
1550 if test "${enable_inplace_edges+set}" = set; then
1551 enableval="$enable_inplace_edges"
1552 if test "$enableval" = yes; then
1553 cat >>confdefs.h <<\_ACEOF
1554 #define FIRM_EDGES_INPLACE 1
1559 cat >>confdefs.h <<\_ACEOF
1560 #define FIRM_EDGES_INPLACE 1
1566 # Check whether --enable-statistics or --disable-statistics was given.
1567 if test "${enable_statistics+set}" = set; then
1568 enableval="$enable_statistics"
1569 if test "$enableval"=yes; then
1570 cat >>confdefs.h <<\_ACEOF
1571 #define FIRM_STATISTICS 1
1578 # Check whether --enable-libcore or --disable-libcore was given.
1579 if test "${enable_libcore+set}" = set; then
1580 enableval="$enable_libcore"
1581 if test "$enableval"=yes; then
1582 cat >>confdefs.h <<\_ACEOF
1583 #define WITH_LIBCORE 1
1590 # Check whether --enable-wchar_support or --disable-wchar_support was given.
1591 if test "${enable_wchar_support+set}" = set; then
1592 enableval="$enable_wchar_support"
1593 if test "$enableval"=yes; then
1594 cat >>confdefs.h <<\_ACEOF
1595 #define FIRM_ENABLE_WCHAR 1
1603 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1604 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1605 # Check whether --enable-external-effects or --disable-external-effects was given.
1606 if test "${enable_external_effects+set}" = set; then
1607 enableval="$enable_external_effects"
1608 if test "$enableval"="no"; then
1609 enable_external_effects=no
1612 enable_external_effects=yes
1615 if test "$enable_external_effects" == no; then
1616 echo "$as_me:$LINENO: result: disabled" >&5
1617 echo "${ECHO_T}disabled" >&6
1619 echo "$as_me:$LINENO: result: enabled" >&5
1620 echo "${ECHO_T}enabled" >&6
1625 ac_cpp='$CPP $CPPFLAGS'
1626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1629 if test -n "$ac_tool_prefix"; then
1630 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1631 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1632 echo "$as_me:$LINENO: checking for $ac_word" >&5
1633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1634 if test "${ac_cv_prog_CC+set}" = set; then
1635 echo $ECHO_N "(cached) $ECHO_C" >&6
1637 if test -n "$CC"; then
1638 ac_cv_prog_CC="$CC" # Let the user override the test.
1640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1644 test -z "$as_dir" && as_dir=.
1645 for ac_exec_ext in '' $ac_executable_extensions; do
1646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1647 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1657 if test -n "$CC"; then
1658 echo "$as_me:$LINENO: result: $CC" >&5
1659 echo "${ECHO_T}$CC" >&6
1661 echo "$as_me:$LINENO: result: no" >&5
1662 echo "${ECHO_T}no" >&6
1666 if test -z "$ac_cv_prog_CC"; then
1668 # Extract the first word of "gcc", so it can be a program name with args.
1669 set dummy gcc; ac_word=$2
1670 echo "$as_me:$LINENO: checking for $ac_word" >&5
1671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1672 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1673 echo $ECHO_N "(cached) $ECHO_C" >&6
1675 if test -n "$ac_ct_CC"; then
1676 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1682 test -z "$as_dir" && as_dir=.
1683 for ac_exec_ext in '' $ac_executable_extensions; do
1684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1685 ac_cv_prog_ac_ct_CC="gcc"
1686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1695 if test -n "$ac_ct_CC"; then
1696 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1697 echo "${ECHO_T}$ac_ct_CC" >&6
1699 echo "$as_me:$LINENO: result: no" >&5
1700 echo "${ECHO_T}no" >&6
1708 if test -z "$CC"; then
1709 if test -n "$ac_tool_prefix"; then
1710 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1711 set dummy ${ac_tool_prefix}cc; ac_word=$2
1712 echo "$as_me:$LINENO: checking for $ac_word" >&5
1713 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1714 if test "${ac_cv_prog_CC+set}" = set; then
1715 echo $ECHO_N "(cached) $ECHO_C" >&6
1717 if test -n "$CC"; then
1718 ac_cv_prog_CC="$CC" # Let the user override the test.
1720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1724 test -z "$as_dir" && as_dir=.
1725 for ac_exec_ext in '' $ac_executable_extensions; do
1726 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1727 ac_cv_prog_CC="${ac_tool_prefix}cc"
1728 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1737 if test -n "$CC"; then
1738 echo "$as_me:$LINENO: result: $CC" >&5
1739 echo "${ECHO_T}$CC" >&6
1741 echo "$as_me:$LINENO: result: no" >&5
1742 echo "${ECHO_T}no" >&6
1746 if test -z "$ac_cv_prog_CC"; then
1748 # Extract the first word of "cc", so it can be a program name with args.
1749 set dummy cc; ac_word=$2
1750 echo "$as_me:$LINENO: checking for $ac_word" >&5
1751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1752 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1755 if test -n "$ac_ct_CC"; then
1756 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1762 test -z "$as_dir" && as_dir=.
1763 for ac_exec_ext in '' $ac_executable_extensions; do
1764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1765 ac_cv_prog_ac_ct_CC="cc"
1766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1775 if test -n "$ac_ct_CC"; then
1776 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1777 echo "${ECHO_T}$ac_ct_CC" >&6
1779 echo "$as_me:$LINENO: result: no" >&5
1780 echo "${ECHO_T}no" >&6
1789 if test -z "$CC"; then
1790 # Extract the first word of "cc", so it can be a program name with args.
1791 set dummy cc; ac_word=$2
1792 echo "$as_me:$LINENO: checking for $ac_word" >&5
1793 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1794 if test "${ac_cv_prog_CC+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1797 if test -n "$CC"; then
1798 ac_cv_prog_CC="$CC" # Let the user override the test.
1801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1805 test -z "$as_dir" && as_dir=.
1806 for ac_exec_ext in '' $ac_executable_extensions; do
1807 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1808 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1809 ac_prog_rejected=yes
1813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 if test $ac_prog_rejected = yes; then
1820 # We found a bogon in the path, so make sure we never use it.
1821 set dummy $ac_cv_prog_CC
1823 if test $# != 0; then
1824 # We chose a different compiler from the bogus one.
1825 # However, it has the same basename, so the bogon will be chosen
1826 # first if we set CC to just the basename; use the full file name.
1828 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1834 if test -n "$CC"; then
1835 echo "$as_me:$LINENO: result: $CC" >&5
1836 echo "${ECHO_T}$CC" >&6
1838 echo "$as_me:$LINENO: result: no" >&5
1839 echo "${ECHO_T}no" >&6
1843 if test -z "$CC"; then
1844 if test -n "$ac_tool_prefix"; then
1847 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1848 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1849 echo "$as_me:$LINENO: checking for $ac_word" >&5
1850 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1851 if test "${ac_cv_prog_CC+set}" = set; then
1852 echo $ECHO_N "(cached) $ECHO_C" >&6
1854 if test -n "$CC"; then
1855 ac_cv_prog_CC="$CC" # Let the user override the test.
1857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1861 test -z "$as_dir" && as_dir=.
1862 for ac_exec_ext in '' $ac_executable_extensions; do
1863 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1864 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1874 if test -n "$CC"; then
1875 echo "$as_me:$LINENO: result: $CC" >&5
1876 echo "${ECHO_T}$CC" >&6
1878 echo "$as_me:$LINENO: result: no" >&5
1879 echo "${ECHO_T}no" >&6
1882 test -n "$CC" && break
1885 if test -z "$CC"; then
1889 # Extract the first word of "$ac_prog", so it can be a program name with args.
1890 set dummy $ac_prog; ac_word=$2
1891 echo "$as_me:$LINENO: checking for $ac_word" >&5
1892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1893 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1894 echo $ECHO_N "(cached) $ECHO_C" >&6
1896 if test -n "$ac_ct_CC"; then
1897 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1903 test -z "$as_dir" && as_dir=.
1904 for ac_exec_ext in '' $ac_executable_extensions; do
1905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1906 ac_cv_prog_ac_ct_CC="$ac_prog"
1907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1915 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1916 if test -n "$ac_ct_CC"; then
1917 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1918 echo "${ECHO_T}$ac_ct_CC" >&6
1920 echo "$as_me:$LINENO: result: no" >&5
1921 echo "${ECHO_T}no" >&6
1924 test -n "$ac_ct_CC" && break
1933 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1934 See \`config.log' for more details." >&5
1935 echo "$as_me: error: no acceptable C compiler found in \$PATH
1936 See \`config.log' for more details." >&2;}
1937 { (exit 1); exit 1; }; }
1939 # Provide some information about the compiler.
1940 echo "$as_me:$LINENO:" \
1941 "checking for C compiler version" >&5
1942 ac_compiler=`set X $ac_compile; echo $2`
1943 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1944 (eval $ac_compiler --version </dev/null >&5) 2>&5
1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1947 (exit $ac_status); }
1948 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1949 (eval $ac_compiler -v </dev/null >&5) 2>&5
1951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1952 (exit $ac_status); }
1953 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1954 (eval $ac_compiler -V </dev/null >&5) 2>&5
1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957 (exit $ac_status); }
1959 cat >conftest.$ac_ext <<_ACEOF
1962 cat confdefs.h >>conftest.$ac_ext
1963 cat >>conftest.$ac_ext <<_ACEOF
1964 /* end confdefs.h. */
1974 ac_clean_files_save=$ac_clean_files
1975 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1976 # Try to create an executable without -o first, disregard a.out.
1977 # It will help us diagnose broken compilers, and finding out an intuition
1979 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1980 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1981 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1982 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1983 (eval $ac_link_default) 2>&5
1985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1986 (exit $ac_status); }; then
1987 # Find the output, starting from the most likely. This scheme is
1988 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1991 # Be careful to initialize this variable, since it used to be cached.
1992 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1994 # b.out is created by i960 compilers.
1995 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1997 test -f "$ac_file" || continue
1999 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2002 # This is the source file.
2005 # We found the default executable, but exeext='' is most
2009 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2010 # FIXME: I believe we export ac_cv_exeext for Libtool,
2011 # but it would be cool to find out if it's true. Does anybody
2012 # maintain Libtool? --akim.
2020 echo "$as_me: failed program was:" >&5
2021 sed 's/^/| /' conftest.$ac_ext >&5
2023 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2024 See \`config.log' for more details." >&5
2025 echo "$as_me: error: C compiler cannot create executables
2026 See \`config.log' for more details." >&2;}
2027 { (exit 77); exit 77; }; }
2030 ac_exeext=$ac_cv_exeext
2031 echo "$as_me:$LINENO: result: $ac_file" >&5
2032 echo "${ECHO_T}$ac_file" >&6
2034 # Check the compiler produces executables we can run. If not, either
2035 # the compiler is broken, or we cross compile.
2036 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2037 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2038 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2039 # If not cross compiling, check that we can run a simple program.
2040 if test "$cross_compiling" != yes; then
2041 if { ac_try='./$ac_file'
2042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); }; }; then
2049 if test "$cross_compiling" = maybe; then
2052 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2053 If you meant to cross compile, use \`--host'.
2054 See \`config.log' for more details." >&5
2055 echo "$as_me: error: cannot run C compiled programs.
2056 If you meant to cross compile, use \`--host'.
2057 See \`config.log' for more details." >&2;}
2058 { (exit 1); exit 1; }; }
2062 echo "$as_me:$LINENO: result: yes" >&5
2063 echo "${ECHO_T}yes" >&6
2065 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2066 ac_clean_files=$ac_clean_files_save
2067 # Check the compiler produces executables we can run. If not, either
2068 # the compiler is broken, or we cross compile.
2069 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2070 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2071 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2072 echo "${ECHO_T}$cross_compiling" >&6
2074 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2075 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2077 (eval $ac_link) 2>&5
2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080 (exit $ac_status); }; then
2081 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2082 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2083 # work properly (i.e., refer to `conftest.exe'), while it won't with
2085 for ac_file in conftest.exe conftest conftest.*; do
2086 test -f "$ac_file" || continue
2088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2089 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2096 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2097 See \`config.log' for more details." >&5
2098 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2099 See \`config.log' for more details." >&2;}
2100 { (exit 1); exit 1; }; }
2103 rm -f conftest$ac_cv_exeext
2104 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2105 echo "${ECHO_T}$ac_cv_exeext" >&6
2107 rm -f conftest.$ac_ext
2108 EXEEXT=$ac_cv_exeext
2110 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2111 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2112 if test "${ac_cv_objext+set}" = set; then
2113 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 cat >conftest.$ac_ext <<_ACEOF
2118 cat confdefs.h >>conftest.$ac_ext
2119 cat >>conftest.$ac_ext <<_ACEOF
2120 /* end confdefs.h. */
2130 rm -f conftest.o conftest.obj
2131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2132 (eval $ac_compile) 2>&5
2134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2135 (exit $ac_status); }; then
2136 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2138 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2139 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2144 echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5
2147 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2148 See \`config.log' for more details." >&5
2149 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2150 See \`config.log' for more details." >&2;}
2151 { (exit 1); exit 1; }; }
2154 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2156 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2157 echo "${ECHO_T}$ac_cv_objext" >&6
2158 OBJEXT=$ac_cv_objext
2160 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2161 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2162 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 cat >conftest.$ac_ext <<_ACEOF
2168 cat confdefs.h >>conftest.$ac_ext
2169 cat >>conftest.$ac_ext <<_ACEOF
2170 /* end confdefs.h. */
2183 rm -f conftest.$ac_objext
2184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2185 (eval $ac_compile) 2>conftest.er1
2187 grep -v '^ *+' conftest.er1 >conftest.err
2189 cat conftest.err >&5
2190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2191 (exit $ac_status); } &&
2192 { ac_try='test -z "$ac_c_werror_flag"
2193 || test ! -s conftest.err'
2194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2198 (exit $ac_status); }; } &&
2199 { ac_try='test -s conftest.$ac_objext'
2200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2204 (exit $ac_status); }; }; then
2207 echo "$as_me: failed program was:" >&5
2208 sed 's/^/| /' conftest.$ac_ext >&5
2212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2213 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2216 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2217 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2218 GCC=`test $ac_compiler_gnu = yes && echo yes`
2219 ac_test_CFLAGS=${CFLAGS+set}
2220 ac_save_CFLAGS=$CFLAGS
2222 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2223 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2224 if test "${ac_cv_prog_cc_g+set}" = set; then
2225 echo $ECHO_N "(cached) $ECHO_C" >&6
2227 cat >conftest.$ac_ext <<_ACEOF
2230 cat confdefs.h >>conftest.$ac_ext
2231 cat >>conftest.$ac_ext <<_ACEOF
2232 /* end confdefs.h. */
2242 rm -f conftest.$ac_objext
2243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2244 (eval $ac_compile) 2>conftest.er1
2246 grep -v '^ *+' conftest.er1 >conftest.err
2248 cat conftest.err >&5
2249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2250 (exit $ac_status); } &&
2251 { ac_try='test -z "$ac_c_werror_flag"
2252 || test ! -s conftest.err'
2253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2257 (exit $ac_status); }; } &&
2258 { ac_try='test -s conftest.$ac_objext'
2259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2263 (exit $ac_status); }; }; then
2266 echo "$as_me: failed program was:" >&5
2267 sed 's/^/| /' conftest.$ac_ext >&5
2271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2273 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2274 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2275 if test "$ac_test_CFLAGS" = set; then
2276 CFLAGS=$ac_save_CFLAGS
2277 elif test $ac_cv_prog_cc_g = yes; then
2278 if test "$GCC" = yes; then
2284 if test "$GCC" = yes; then
2290 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2291 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2292 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2293 echo $ECHO_N "(cached) $ECHO_C" >&6
2295 ac_cv_prog_cc_stdc=no
2297 cat >conftest.$ac_ext <<_ACEOF
2300 cat confdefs.h >>conftest.$ac_ext
2301 cat >>conftest.$ac_ext <<_ACEOF
2302 /* end confdefs.h. */
2305 #include <sys/types.h>
2306 #include <sys/stat.h>
2307 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2308 struct buf { int x; };
2309 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2310 static char *e (p, i)
2316 static char *f (char * (*g) (char **, int), char **p, ...)
2321 s = g (p, va_arg (v,int));
2326 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2327 function prototypes and stuff, but not '\xHH' hex character constants.
2328 These don't provoke an error unfortunately, instead are silently treated
2329 as 'x'. The following induces an error, until -std1 is added to get
2330 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2331 array size at least. It's necessary to write '\x00'==0 to get something
2332 that's true only with -std1. */
2333 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2335 int test (int i, double x);
2336 struct s1 {int (*f) (int a);};
2337 struct s2 {int (*f) (double a);};
2338 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2344 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2349 # Don't try gcc -ansi; that turns off useful extensions and
2350 # breaks some systems' header files.
2351 # AIX -qlanglvl=ansi
2352 # Ultrix and OSF/1 -std1
2353 # HP-UX 10.20 and later -Ae
2354 # HP-UX older versions -Aa -D_HPUX_SOURCE
2355 # SVR4 -Xc -D__EXTENSIONS__
2356 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2358 CC="$ac_save_CC $ac_arg"
2359 rm -f conftest.$ac_objext
2360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2361 (eval $ac_compile) 2>conftest.er1
2363 grep -v '^ *+' conftest.er1 >conftest.err
2365 cat conftest.err >&5
2366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2367 (exit $ac_status); } &&
2368 { ac_try='test -z "$ac_c_werror_flag"
2369 || test ! -s conftest.err'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; } &&
2375 { ac_try='test -s conftest.$ac_objext'
2376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2380 (exit $ac_status); }; }; then
2381 ac_cv_prog_cc_stdc=$ac_arg
2384 echo "$as_me: failed program was:" >&5
2385 sed 's/^/| /' conftest.$ac_ext >&5
2388 rm -f conftest.err conftest.$ac_objext
2390 rm -f conftest.$ac_ext conftest.$ac_objext
2395 case "x$ac_cv_prog_cc_stdc" in
2397 echo "$as_me:$LINENO: result: none needed" >&5
2398 echo "${ECHO_T}none needed" >&6 ;;
2400 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2401 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2402 CC="$CC $ac_cv_prog_cc_stdc" ;;
2405 # Some people use a C++ compiler to compile C. Since we use `exit',
2406 # in C++ we need to declare it. In case someone uses the same compiler
2407 # for both compiling C and C++ we need to have the C++ compiler decide
2408 # the declaration of exit, since it's the most demanding environment.
2409 cat >conftest.$ac_ext <<_ACEOF
2414 rm -f conftest.$ac_objext
2415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2416 (eval $ac_compile) 2>conftest.er1
2418 grep -v '^ *+' conftest.er1 >conftest.err
2420 cat conftest.err >&5
2421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2422 (exit $ac_status); } &&
2423 { ac_try='test -z "$ac_c_werror_flag"
2424 || test ! -s conftest.err'
2425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2429 (exit $ac_status); }; } &&
2430 { ac_try='test -s conftest.$ac_objext'
2431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435 (exit $ac_status); }; }; then
2436 for ac_declaration in \
2438 'extern "C" void std::exit (int) throw (); using std::exit;' \
2439 'extern "C" void std::exit (int); using std::exit;' \
2440 'extern "C" void exit (int) throw ();' \
2441 'extern "C" void exit (int);' \
2444 cat >conftest.$ac_ext <<_ACEOF
2447 cat confdefs.h >>conftest.$ac_ext
2448 cat >>conftest.$ac_ext <<_ACEOF
2449 /* end confdefs.h. */
2460 rm -f conftest.$ac_objext
2461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2462 (eval $ac_compile) 2>conftest.er1
2464 grep -v '^ *+' conftest.er1 >conftest.err
2466 cat conftest.err >&5
2467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2468 (exit $ac_status); } &&
2469 { ac_try='test -z "$ac_c_werror_flag"
2470 || test ! -s conftest.err'
2471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }; } &&
2476 { ac_try='test -s conftest.$ac_objext'
2477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2481 (exit $ac_status); }; }; then
2484 echo "$as_me: failed program was:" >&5
2485 sed 's/^/| /' conftest.$ac_ext >&5
2489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2490 cat >conftest.$ac_ext <<_ACEOF
2493 cat confdefs.h >>conftest.$ac_ext
2494 cat >>conftest.$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2505 rm -f conftest.$ac_objext
2506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2507 (eval $ac_compile) 2>conftest.er1
2509 grep -v '^ *+' conftest.er1 >conftest.err
2511 cat conftest.err >&5
2512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2513 (exit $ac_status); } &&
2514 { ac_try='test -z "$ac_c_werror_flag"
2515 || test ! -s conftest.err'
2516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2520 (exit $ac_status); }; } &&
2521 { ac_try='test -s conftest.$ac_objext'
2522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2526 (exit $ac_status); }; }; then
2529 echo "$as_me: failed program was:" >&5
2530 sed 's/^/| /' conftest.$ac_ext >&5
2533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2536 if test -n "$ac_declaration"; then
2537 echo '#ifdef __cplusplus' >>confdefs.h
2538 echo $ac_declaration >>confdefs.h
2539 echo '#endif' >>confdefs.h
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.$ac_ext >&5
2547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2549 ac_cpp='$CPP $CPPFLAGS'
2550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2555 for ac_prog in gawk mawk nawk awk
2557 # Extract the first word of "$ac_prog", so it can be a program name with args.
2558 set dummy $ac_prog; ac_word=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_AWK+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$AWK"; then
2565 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_AWK="$ac_prog"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2584 if test -n "$AWK"; then
2585 echo "$as_me:$LINENO: result: $AWK" >&5
2586 echo "${ECHO_T}$AWK" >&6
2588 echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2592 test -n "$AWK" && break
2597 if test -z "$LD"; then
2598 if test -n "$ac_tool_prefix"; then
2599 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2600 set dummy ${ac_tool_prefix}ld; ac_word=$2
2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 if test "${ac_cv_prog_LD+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 if test -n "$LD"; then
2607 ac_cv_prog_LD="$LD" # Let the user override the test.
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616 ac_cv_prog_LD="${ac_tool_prefix}ld"
2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2626 if test -n "$LD"; then
2627 echo "$as_me:$LINENO: result: $LD" >&5
2628 echo "${ECHO_T}$LD" >&6
2630 echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2635 if test -z "$ac_cv_prog_LD"; then
2637 # Extract the first word of "ld", so it can be a program name with args.
2638 set dummy ld; ac_word=$2
2639 echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2641 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2644 if test -n "$ac_ct_LD"; then
2645 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 test -z "$as_dir" && as_dir=.
2652 for ac_exec_ext in '' $ac_executable_extensions; do
2653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654 ac_cv_prog_ac_ct_LD="ld"
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2663 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2664 if test -n "$ac_ct_LD"; then
2665 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2666 echo "${ECHO_T}$ac_ct_LD" >&6
2668 echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2679 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2680 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2681 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2682 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 libfirm_cv_prog_ld_r=no
2687 cat > conftest.$ac_ext <<EOF
2688 int foo() { return 0; }
2690 if eval $ac_compile && mv conftest.o conftest2.o; then
2691 cat > conftest.$ac_ext <<EOF
2693 int main() { return foo(); }
2695 if eval $ac_compile; then
2696 if $LD -r -o conftest conftest.o conftest2.o; then
2697 libfirm_cv_prog_ld_r=yes
2704 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2705 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2708 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2709 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2710 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2711 { (exit 1); exit 1; }; }
2714 # Extract the first word of "ar", so it can be a program name with args.
2715 set dummy ar; ac_word=$2
2716 echo "$as_me:$LINENO: checking for $ac_word" >&5
2717 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2718 if test "${ac_cv_prog_AR+set}" = set; then
2719 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 if test -n "$AR"; then
2722 ac_cv_prog_AR="$AR" # Let the user override the test.
2724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2728 test -z "$as_dir" && as_dir=.
2729 for ac_exec_ext in '' $ac_executable_extensions; do
2730 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2731 ac_cv_prog_AR=""ar""
2732 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2738 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2742 if test -n "$AR"; then
2743 echo "$as_me:$LINENO: result: $AR" >&5
2744 echo "${ECHO_T}$AR" >&6
2746 echo "$as_me:$LINENO: result: no" >&5
2747 echo "${ECHO_T}no" >&6
2750 if test "$AR" != "ar"; then
2751 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2752 echo "$as_me: error: need ar for creating archives" >&2;}
2753 { (exit 1); exit 1; }; }
2756 # Extract the first word of "tar", so it can be a program name with args.
2757 set dummy tar; ac_word=$2
2758 echo "$as_me:$LINENO: checking for $ac_word" >&5
2759 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2760 if test "${ac_cv_prog_TAR+set}" = set; then
2761 echo $ECHO_N "(cached) $ECHO_C" >&6
2763 if test -n "$TAR"; then
2764 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2770 test -z "$as_dir" && as_dir=.
2771 for ac_exec_ext in '' $ac_executable_extensions; do
2772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2773 ac_cv_prog_TAR=""tar""
2774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2784 if test -n "$TAR"; then
2785 echo "$as_me:$LINENO: result: $TAR" >&5
2786 echo "${ECHO_T}$TAR" >&6
2788 echo "$as_me:$LINENO: result: no" >&5
2789 echo "${ECHO_T}no" >&6
2792 if test "$TAR" != "tar"; then
2793 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2794 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2795 { (exit 1); exit 1; }; }
2799 if test -n "$ac_tool_prefix"; then
2800 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2801 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2802 echo "$as_me:$LINENO: checking for $ac_word" >&5
2803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2804 if test "${ac_cv_prog_RANLIB+set}" = set; then
2805 echo $ECHO_N "(cached) $ECHO_C" >&6
2807 if test -n "$RANLIB"; then
2808 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2814 test -z "$as_dir" && as_dir=.
2815 for ac_exec_ext in '' $ac_executable_extensions; do
2816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2817 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2826 RANLIB=$ac_cv_prog_RANLIB
2827 if test -n "$RANLIB"; then
2828 echo "$as_me:$LINENO: result: $RANLIB" >&5
2829 echo "${ECHO_T}$RANLIB" >&6
2831 echo "$as_me:$LINENO: result: no" >&5
2832 echo "${ECHO_T}no" >&6
2836 if test -z "$ac_cv_prog_RANLIB"; then
2837 ac_ct_RANLIB=$RANLIB
2838 # Extract the first word of "ranlib", so it can be a program name with args.
2839 set dummy ranlib; ac_word=$2
2840 echo "$as_me:$LINENO: checking for $ac_word" >&5
2841 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2842 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2843 echo $ECHO_N "(cached) $ECHO_C" >&6
2845 if test -n "$ac_ct_RANLIB"; then
2846 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 test -z "$as_dir" && as_dir=.
2853 for ac_exec_ext in '' $ac_executable_extensions; do
2854 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2855 ac_cv_prog_ac_ct_RANLIB="ranlib"
2856 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2862 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2865 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2866 if test -n "$ac_ct_RANLIB"; then
2867 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2868 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2870 echo "$as_me:$LINENO: result: no" >&5
2871 echo "${ECHO_T}no" >&6
2874 RANLIB=$ac_ct_RANLIB
2876 RANLIB="$ac_cv_prog_RANLIB"
2881 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2882 if test -f $ac_dir/install-sh; then
2884 ac_install_sh="$ac_aux_dir/install-sh -c"
2886 elif test -f $ac_dir/install.sh; then
2888 ac_install_sh="$ac_aux_dir/install.sh -c"
2890 elif test -f $ac_dir/shtool; then
2892 ac_install_sh="$ac_aux_dir/shtool install -c"
2896 if test -z "$ac_aux_dir"; then
2897 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2898 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2899 { (exit 1); exit 1; }; }
2901 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2902 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2903 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2905 # Find a good install program. We prefer a C program (faster),
2906 # so one script is as good as another. But avoid the broken or
2907 # incompatible versions:
2908 # SysV /etc/install, /usr/sbin/install
2909 # SunOS /usr/etc/install
2910 # IRIX /sbin/install
2912 # AmigaOS /C/install, which installs bootblocks on floppy discs
2913 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2914 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2916 # OS/2's system install, which has a completely different semantic
2917 # ./install, which can be erroneously created by make from ./install.sh.
2918 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2919 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2920 if test -z "$INSTALL"; then
2921 if test "${ac_cv_path_install+set}" = set; then
2922 echo $ECHO_N "(cached) $ECHO_C" >&6
2924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2928 test -z "$as_dir" && as_dir=.
2929 # Account for people who put trailing slashes in PATH elements.
2931 ./ | .// | /cC/* | \
2932 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2933 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2936 # OSF1 and SCO ODT 3.0 have their own names for install.
2937 # Don't use installbsd from OSF since it installs stuff as root
2939 for ac_prog in ginstall scoinst install; do
2940 for ac_exec_ext in '' $ac_executable_extensions; do
2941 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2942 if test $ac_prog = install &&
2943 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2944 # AIX install. It has an incompatible calling convention.
2946 elif test $ac_prog = install &&
2947 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2948 # program-specific install script used by HP pwplus--don't use.
2951 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2963 if test "${ac_cv_path_install+set}" = set; then
2964 INSTALL=$ac_cv_path_install
2966 # As a last resort, use the slow shell script. We don't cache a
2967 # path for INSTALL within a source directory, because that will
2968 # break other packages using the cache if that directory is
2969 # removed, or if the path is relative.
2970 INSTALL=$ac_install_sh
2973 echo "$as_me:$LINENO: result: $INSTALL" >&5
2974 echo "${ECHO_T}$INSTALL" >&6
2976 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2977 # It thinks the first close brace ends the variable substitution.
2978 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2980 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2982 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2985 touch tmp-install.a tmp-install.b
2986 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
2989 rm tmp-install.a tmp-install.b
2992 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2993 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2995 if test "$LN_S" = "ln -s"; then
2996 echo "$as_me:$LINENO: result: yes" >&5
2997 echo "${ECHO_T}yes" >&6
2999 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3000 echo "${ECHO_T}no, using $LN_S" >&6
3004 if test "$enable_auto_documentation" = yes; then
3005 # Extract the first word of "doxygen", so it can be a program name with args.
3006 set dummy doxygen; ac_word=$2
3007 echo "$as_me:$LINENO: checking for $ac_word" >&5
3008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3009 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
3010 echo $ECHO_N "(cached) $ECHO_C" >&6
3012 if test -n "$DOXYGEN"; then
3013 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
3015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3019 test -z "$as_dir" && as_dir=.
3020 for ac_exec_ext in '' $ac_executable_extensions; do
3021 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3022 ac_cv_prog_DOXYGEN=""doxygen""
3023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3029 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
3032 DOXYGEN=$ac_cv_prog_DOXYGEN
3033 if test -n "$DOXYGEN"; then
3034 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
3035 echo "${ECHO_T}$DOXYGEN" >&6
3037 echo "$as_me:$LINENO: result: no" >&5
3038 echo "${ECHO_T}no" >&6
3041 if test "$DOXYGEN" != "doxygen"; then
3042 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
3043 echo "$as_me: error: need doxygen for auto documentation" >&2;}
3044 { (exit 1); exit 1; }; }
3046 # Extract the first word of "dot", so it can be a program name with args.
3047 set dummy dot; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_DOT+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3053 if test -n "$DOT"; then
3054 ac_cv_prog_DOT="$DOT" # Let the user override the test.
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_DOT=""dot""
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3070 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
3074 if test -n "$DOT"; then
3075 echo "$as_me:$LINENO: result: $DOT" >&5
3076 echo "${ECHO_T}$DOT" >&6
3078 echo "$as_me:$LINENO: result: no" >&5
3079 echo "${ECHO_T}no" >&6
3082 if test "$DOT" != "dot"; then
3083 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
3084 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
3085 { (exit 1); exit 1; }; }
3089 if test "$enable_firm_jni" = yes; then
3090 # Extract the first word of "javac", so it can be a program name with args.
3091 set dummy javac; ac_word=$2
3092 echo "$as_me:$LINENO: checking for $ac_word" >&5
3093 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3094 if test "${ac_cv_prog_JAVAC+set}" = set; then
3095 echo $ECHO_N "(cached) $ECHO_C" >&6
3097 if test -n "$JAVAC"; then
3098 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 test -z "$as_dir" && as_dir=.
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3107 ac_cv_prog_JAVAC=""javac""
3108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3114 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3117 JAVAC=$ac_cv_prog_JAVAC
3118 if test -n "$JAVAC"; then
3119 echo "$as_me:$LINENO: result: $JAVAC" >&5
3120 echo "${ECHO_T}$JAVAC" >&6
3122 echo "$as_me:$LINENO: result: no" >&5
3123 echo "${ECHO_T}no" >&6
3126 if test "$JAVAC" != "javac"; then
3127 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3128 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3129 { (exit 1); exit 1; }; }
3131 # Extract the first word of "javah", so it can be a program name with args.
3132 set dummy javah; ac_word=$2
3133 echo "$as_me:$LINENO: checking for $ac_word" >&5
3134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3135 if test "${ac_cv_prog_JAVAH+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 if test -n "$JAVAH"; then
3139 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir=.
3146 for ac_exec_ext in '' $ac_executable_extensions; do
3147 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3148 ac_cv_prog_JAVAH=""javah""
3149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3158 JAVAH=$ac_cv_prog_JAVAH
3159 if test -n "$JAVAH"; then
3160 echo "$as_me:$LINENO: result: $JAVAH" >&5
3161 echo "${ECHO_T}$JAVAH" >&6
3163 echo "$as_me:$LINENO: result: no" >&5
3164 echo "${ECHO_T}no" >&6
3167 if test "$JAVAH" != "javah"; then
3168 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3169 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3170 { (exit 1); exit 1; }; }
3178 ac_cpp='$CPP $CPPFLAGS'
3179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3182 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3183 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3184 # On Suns, sometimes $CPP names a directory.
3185 if test -n "$CPP" && test -d "$CPP"; then
3188 if test -z "$CPP"; then
3189 if test "${ac_cv_prog_CPP+set}" = set; then
3190 echo $ECHO_N "(cached) $ECHO_C" >&6
3192 # Double quotes because CPP needs to be expanded
3193 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3196 for ac_c_preproc_warn_flag in '' yes
3198 # Use a header file that comes with gcc, so configuring glibc
3199 # with a fresh cross-compiler works.
3200 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3201 # <limits.h> exists even on freestanding compilers.
3202 # On the NeXT, cc -E runs the code through the compiler's parser,
3203 # not just through cpp. "Syntax error" is here to catch this case.
3204 cat >conftest.$ac_ext <<_ACEOF
3207 cat confdefs.h >>conftest.$ac_ext
3208 cat >>conftest.$ac_ext <<_ACEOF
3209 /* end confdefs.h. */
3211 # include <limits.h>
3213 # include <assert.h>
3217 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3218 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3220 grep -v '^ *+' conftest.er1 >conftest.err
3222 cat conftest.err >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); } >/dev/null; then
3225 if test -s conftest.err; then
3226 ac_cpp_err=$ac_c_preproc_warn_flag
3227 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3234 if test -z "$ac_cpp_err"; then
3237 echo "$as_me: failed program was:" >&5
3238 sed 's/^/| /' conftest.$ac_ext >&5
3240 # Broken: fails on valid input.
3243 rm -f conftest.err conftest.$ac_ext
3245 # OK, works on sane cases. Now check whether non-existent headers
3246 # can be detected and how.
3247 cat >conftest.$ac_ext <<_ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3253 #include <ac_nonexistent.h>
3255 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3256 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3258 grep -v '^ *+' conftest.er1 >conftest.err
3260 cat conftest.err >&5
3261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3262 (exit $ac_status); } >/dev/null; then
3263 if test -s conftest.err; then
3264 ac_cpp_err=$ac_c_preproc_warn_flag
3265 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3272 if test -z "$ac_cpp_err"; then
3273 # Broken: success on invalid input.
3276 echo "$as_me: failed program was:" >&5
3277 sed 's/^/| /' conftest.$ac_ext >&5
3279 # Passes both tests.
3283 rm -f conftest.err conftest.$ac_ext
3286 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3287 rm -f conftest.err conftest.$ac_ext
3288 if $ac_preproc_ok; then
3300 echo "$as_me:$LINENO: result: $CPP" >&5
3301 echo "${ECHO_T}$CPP" >&6
3303 for ac_c_preproc_warn_flag in '' yes
3305 # Use a header file that comes with gcc, so configuring glibc
3306 # with a fresh cross-compiler works.
3307 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3308 # <limits.h> exists even on freestanding compilers.
3309 # On the NeXT, cc -E runs the code through the compiler's parser,
3310 # not just through cpp. "Syntax error" is here to catch this case.
3311 cat >conftest.$ac_ext <<_ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3318 # include <limits.h>
3320 # include <assert.h>
3324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3327 grep -v '^ *+' conftest.er1 >conftest.err
3329 cat conftest.err >&5
3330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3331 (exit $ac_status); } >/dev/null; then
3332 if test -s conftest.err; then
3333 ac_cpp_err=$ac_c_preproc_warn_flag
3334 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3341 if test -z "$ac_cpp_err"; then
3344 echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.$ac_ext >&5
3347 # Broken: fails on valid input.
3350 rm -f conftest.err conftest.$ac_ext
3352 # OK, works on sane cases. Now check whether non-existent headers
3353 # can be detected and how.
3354 cat >conftest.$ac_ext <<_ACEOF
3357 cat confdefs.h >>conftest.$ac_ext
3358 cat >>conftest.$ac_ext <<_ACEOF
3359 /* end confdefs.h. */
3360 #include <ac_nonexistent.h>
3362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3365 grep -v '^ *+' conftest.er1 >conftest.err
3367 cat conftest.err >&5
3368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3369 (exit $ac_status); } >/dev/null; then
3370 if test -s conftest.err; then
3371 ac_cpp_err=$ac_c_preproc_warn_flag
3372 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3379 if test -z "$ac_cpp_err"; then
3380 # Broken: success on invalid input.
3383 echo "$as_me: failed program was:" >&5
3384 sed 's/^/| /' conftest.$ac_ext >&5
3386 # Passes both tests.
3390 rm -f conftest.err conftest.$ac_ext
3393 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3394 rm -f conftest.err conftest.$ac_ext
3395 if $ac_preproc_ok; then
3398 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3399 See \`config.log' for more details." >&5
3400 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3401 See \`config.log' for more details." >&2;}
3402 { (exit 1); exit 1; }; }
3406 ac_cpp='$CPP $CPPFLAGS'
3407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3412 echo "$as_me:$LINENO: checking for egrep" >&5
3413 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3414 if test "${ac_cv_prog_egrep+set}" = set; then
3415 echo $ECHO_N "(cached) $ECHO_C" >&6
3417 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3418 then ac_cv_prog_egrep='grep -E'
3419 else ac_cv_prog_egrep='egrep'
3422 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3423 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3424 EGREP=$ac_cv_prog_egrep
3427 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3428 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3429 if test "${ac_cv_header_stdc+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3432 cat >conftest.$ac_ext <<_ACEOF
3435 cat confdefs.h >>conftest.$ac_ext
3436 cat >>conftest.$ac_ext <<_ACEOF
3437 /* end confdefs.h. */
3451 rm -f conftest.$ac_objext
3452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3453 (eval $ac_compile) 2>conftest.er1
3455 grep -v '^ *+' conftest.er1 >conftest.err
3457 cat conftest.err >&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); } &&
3460 { ac_try='test -z "$ac_c_werror_flag"
3461 || test ! -s conftest.err'
3462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3466 (exit $ac_status); }; } &&
3467 { ac_try='test -s conftest.$ac_objext'
3468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); }; }; then
3473 ac_cv_header_stdc=yes
3475 echo "$as_me: failed program was:" >&5
3476 sed 's/^/| /' conftest.$ac_ext >&5
3478 ac_cv_header_stdc=no
3480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3482 if test $ac_cv_header_stdc = yes; then
3483 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3484 cat >conftest.$ac_ext <<_ACEOF
3487 cat confdefs.h >>conftest.$ac_ext
3488 cat >>conftest.$ac_ext <<_ACEOF
3489 /* end confdefs.h. */
3493 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3494 $EGREP "memchr" >/dev/null 2>&1; then
3497 ac_cv_header_stdc=no
3503 if test $ac_cv_header_stdc = yes; then
3504 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3505 cat >conftest.$ac_ext <<_ACEOF
3508 cat confdefs.h >>conftest.$ac_ext
3509 cat >>conftest.$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3514 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3515 $EGREP "free" >/dev/null 2>&1; then
3518 ac_cv_header_stdc=no
3524 if test $ac_cv_header_stdc = yes; then
3525 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3526 if test "$cross_compiling" = yes; then
3529 cat >conftest.$ac_ext <<_ACEOF
3532 cat confdefs.h >>conftest.$ac_ext
3533 cat >>conftest.$ac_ext <<_ACEOF
3534 /* end confdefs.h. */
3536 #if ((' ' & 0x0FF) == 0x020)
3537 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3538 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3540 # define ISLOWER(c) \
3541 (('a' <= (c) && (c) <= 'i') \
3542 || ('j' <= (c) && (c) <= 'r') \
3543 || ('s' <= (c) && (c) <= 'z'))
3544 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3547 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3552 for (i = 0; i < 256; i++)
3553 if (XOR (islower (i), ISLOWER (i))
3554 || toupper (i) != TOUPPER (i))
3559 rm -f conftest$ac_exeext
3560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3561 (eval $ac_link) 2>&5
3563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3564 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3569 (exit $ac_status); }; }; then
3572 echo "$as_me: program exited with status $ac_status" >&5
3573 echo "$as_me: failed program was:" >&5
3574 sed 's/^/| /' conftest.$ac_ext >&5
3577 ac_cv_header_stdc=no
3579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3583 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3584 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3585 if test $ac_cv_header_stdc = yes; then
3587 cat >>confdefs.h <<\_ACEOF
3588 #define STDC_HEADERS 1
3595 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3606 inttypes.h stdint.h unistd.h
3608 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3609 echo "$as_me:$LINENO: checking for $ac_header" >&5
3610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3612 echo $ECHO_N "(cached) $ECHO_C" >&6
3614 cat >conftest.$ac_ext <<_ACEOF
3617 cat confdefs.h >>conftest.$ac_ext
3618 cat >>conftest.$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3620 $ac_includes_default
3622 #include <$ac_header>
3624 rm -f conftest.$ac_objext
3625 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3626 (eval $ac_compile) 2>conftest.er1
3628 grep -v '^ *+' conftest.er1 >conftest.err
3630 cat conftest.err >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } &&
3633 { ac_try='test -z "$ac_c_werror_flag"
3634 || test ! -s conftest.err'
3635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3639 (exit $ac_status); }; } &&
3640 { ac_try='test -s conftest.$ac_objext'
3641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3645 (exit $ac_status); }; }; then
3646 eval "$as_ac_Header=yes"
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.$ac_ext >&5
3651 eval "$as_ac_Header=no"
3653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3655 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3656 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3658 cat >>confdefs.h <<_ACEOF
3659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3668 for ac_header in math.h
3670 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3672 echo "$as_me:$LINENO: checking for $ac_header" >&5
3673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3675 echo $ECHO_N "(cached) $ECHO_C" >&6
3677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3680 # Is the header compilable?
3681 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3682 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3683 cat >conftest.$ac_ext <<_ACEOF
3686 cat confdefs.h >>conftest.$ac_ext
3687 cat >>conftest.$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3689 $ac_includes_default
3690 #include <$ac_header>
3692 rm -f conftest.$ac_objext
3693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3694 (eval $ac_compile) 2>conftest.er1
3696 grep -v '^ *+' conftest.er1 >conftest.err
3698 cat conftest.err >&5
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); } &&
3701 { ac_try='test -z "$ac_c_werror_flag"
3702 || test ! -s conftest.err'
3703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3707 (exit $ac_status); }; } &&
3708 { ac_try='test -s conftest.$ac_objext'
3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); }; }; then
3714 ac_header_compiler=yes
3716 echo "$as_me: failed program was:" >&5
3717 sed 's/^/| /' conftest.$ac_ext >&5
3719 ac_header_compiler=no
3721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3723 echo "${ECHO_T}$ac_header_compiler" >&6
3725 # Is the header present?
3726 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3728 cat >conftest.$ac_ext <<_ACEOF
3731 cat confdefs.h >>conftest.$ac_ext
3732 cat >>conftest.$ac_ext <<_ACEOF
3733 /* end confdefs.h. */
3734 #include <$ac_header>
3736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3737 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3739 grep -v '^ *+' conftest.er1 >conftest.err
3741 cat conftest.err >&5
3742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3743 (exit $ac_status); } >/dev/null; then
3744 if test -s conftest.err; then
3745 ac_cpp_err=$ac_c_preproc_warn_flag
3746 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3753 if test -z "$ac_cpp_err"; then
3754 ac_header_preproc=yes
3756 echo "$as_me: failed program was:" >&5
3757 sed 's/^/| /' conftest.$ac_ext >&5
3759 ac_header_preproc=no
3761 rm -f conftest.err conftest.$ac_ext
3762 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3763 echo "${ECHO_T}$ac_header_preproc" >&6
3765 # So? What about this header?
3766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3772 ac_header_preproc=yes
3775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3789 ## ---------------------------------- ##
3790 ## Report this to the libfirm lists. ##
3791 ## ---------------------------------- ##
3794 sed "s/^/$as_me: WARNING: /" >&2
3797 echo "$as_me:$LINENO: checking for $ac_header" >&5
3798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3800 echo $ECHO_N "(cached) $ECHO_C" >&6
3802 eval "$as_ac_Header=\$ac_header_preproc"
3804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3809 cat >>confdefs.h <<_ACEOF
3810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3812 ac_math_headers="yes"
3814 ac_math_headers="no"
3819 if test "$ac_math_headers" != yes; then
3820 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3821 echo "$as_me: error: \"math header file not found\"" >&2;}
3822 { (exit 1); exit 1; }; }
3826 #dnl check for the gnu multiprecission (gmp) header file
3828 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3829 #if test "$ac_gmp_headers" != yes; then
3830 # dnl gmp header not found.
3831 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3838 for ac_header in obstack.h
3840 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3841 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3842 echo "$as_me:$LINENO: checking for $ac_header" >&5
3843 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3844 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3845 echo $ECHO_N "(cached) $ECHO_C" >&6
3847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3850 # Is the header compilable?
3851 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3852 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3853 cat >conftest.$ac_ext <<_ACEOF
3856 cat confdefs.h >>conftest.$ac_ext
3857 cat >>conftest.$ac_ext <<_ACEOF
3858 /* end confdefs.h. */
3859 $ac_includes_default
3860 #include <$ac_header>
3862 rm -f conftest.$ac_objext
3863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3864 (eval $ac_compile) 2>conftest.er1
3866 grep -v '^ *+' conftest.er1 >conftest.err
3868 cat conftest.err >&5
3869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3870 (exit $ac_status); } &&
3871 { ac_try='test -z "$ac_c_werror_flag"
3872 || test ! -s conftest.err'
3873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3877 (exit $ac_status); }; } &&
3878 { ac_try='test -s conftest.$ac_objext'
3879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3883 (exit $ac_status); }; }; then
3884 ac_header_compiler=yes
3886 echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.$ac_ext >&5
3889 ac_header_compiler=no
3891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3892 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3893 echo "${ECHO_T}$ac_header_compiler" >&6
3895 # Is the header present?
3896 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3897 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3898 cat >conftest.$ac_ext <<_ACEOF
3901 cat confdefs.h >>conftest.$ac_ext
3902 cat >>conftest.$ac_ext <<_ACEOF
3903 /* end confdefs.h. */
3904 #include <$ac_header>
3906 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3907 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3909 grep -v '^ *+' conftest.er1 >conftest.err
3911 cat conftest.err >&5
3912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3913 (exit $ac_status); } >/dev/null; then
3914 if test -s conftest.err; then
3915 ac_cpp_err=$ac_c_preproc_warn_flag
3916 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3923 if test -z "$ac_cpp_err"; then
3924 ac_header_preproc=yes
3926 echo "$as_me: failed program was:" >&5
3927 sed 's/^/| /' conftest.$ac_ext >&5
3929 ac_header_preproc=no
3931 rm -f conftest.err conftest.$ac_ext
3932 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3933 echo "${ECHO_T}$ac_header_preproc" >&6
3935 # So? What about this header?
3936 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3938 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3939 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3940 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3941 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3942 ac_header_preproc=yes
3945 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3946 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3947 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3948 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3949 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3950 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3951 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3952 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3953 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3954 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3955 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3956 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3959 ## ---------------------------------- ##
3960 ## Report this to the libfirm lists. ##
3961 ## ---------------------------------- ##
3964 sed "s/^/$as_me: WARNING: /" >&2
3967 echo "$as_me:$LINENO: checking for $ac_header" >&5
3968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3970 echo $ECHO_N "(cached) $ECHO_C" >&6
3972 eval "$as_ac_Header=\$ac_header_preproc"
3974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3978 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3979 cat >>confdefs.h <<_ACEOF
3980 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3982 ac_obstack_headers="yes"
3984 ac_obstack_headers="no"
3989 if test "$ac_obstack_headers" != yes; then
3990 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3991 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3992 { (exit 1); exit 1; }; }
3997 for ac_header in alloca.h
3999 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4000 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4001 echo "$as_me:$LINENO: checking for $ac_header" >&5
4002 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4003 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4006 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4007 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4009 # Is the header compilable?
4010 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4011 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4012 cat >conftest.$ac_ext <<_ACEOF
4015 cat confdefs.h >>conftest.$ac_ext
4016 cat >>conftest.$ac_ext <<_ACEOF
4017 /* end confdefs.h. */
4018 $ac_includes_default
4019 #include <$ac_header>
4021 rm -f conftest.$ac_objext
4022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4023 (eval $ac_compile) 2>conftest.er1
4025 grep -v '^ *+' conftest.er1 >conftest.err
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -z "$ac_c_werror_flag"
4031 || test ! -s conftest.err'
4032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }; } &&
4037 { ac_try='test -s conftest.$ac_objext'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; }; then
4043 ac_header_compiler=yes
4045 echo "$as_me: failed program was:" >&5
4046 sed 's/^/| /' conftest.$ac_ext >&5
4048 ac_header_compiler=no
4050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4051 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4052 echo "${ECHO_T}$ac_header_compiler" >&6
4054 # Is the header present?
4055 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4056 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4057 cat >conftest.$ac_ext <<_ACEOF
4060 cat confdefs.h >>conftest.$ac_ext
4061 cat >>conftest.$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4063 #include <$ac_header>
4065 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4068 grep -v '^ *+' conftest.er1 >conftest.err
4070 cat conftest.err >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } >/dev/null; then
4073 if test -s conftest.err; then
4074 ac_cpp_err=$ac_c_preproc_warn_flag
4075 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4082 if test -z "$ac_cpp_err"; then
4083 ac_header_preproc=yes
4085 echo "$as_me: failed program was:" >&5
4086 sed 's/^/| /' conftest.$ac_ext >&5
4088 ac_header_preproc=no
4090 rm -f conftest.err conftest.$ac_ext
4091 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4092 echo "${ECHO_T}$ac_header_preproc" >&6
4094 # So? What about this header?
4095 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4098 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4100 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4101 ac_header_preproc=yes
4104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4105 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4107 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4108 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4109 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4110 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4111 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4113 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4115 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4118 ## ---------------------------------- ##
4119 ## Report this to the libfirm lists. ##
4120 ## ---------------------------------- ##
4123 sed "s/^/$as_me: WARNING: /" >&2
4126 echo "$as_me:$LINENO: checking for $ac_header" >&5
4127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4131 eval "$as_ac_Header=\$ac_header_preproc"
4133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4134 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4138 cat >>confdefs.h <<_ACEOF
4139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4141 ac_alloca_headers="yes"
4143 ac_alloca_headers="no"
4148 if test "$ac_alloca_headers" = "yes"; then
4149 cat >>confdefs.h <<\_ACEOF
4150 #define HAVE_ALLOCA_H 1
4154 if test "$ac_cv_header_stdc" = "no"; then
4155 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4156 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4157 { (exit 1); exit 1; }; }
4163 if test "$enable_firm_jni" = yes; then
4165 for ac_header in jni.h
4167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4168 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4169 echo "$as_me:$LINENO: checking for $ac_header" >&5
4170 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4172 echo $ECHO_N "(cached) $ECHO_C" >&6
4174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4175 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4177 # Is the header compilable?
4178 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4179 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4180 cat >conftest.$ac_ext <<_ACEOF
4183 cat confdefs.h >>conftest.$ac_ext
4184 cat >>conftest.$ac_ext <<_ACEOF
4185 /* end confdefs.h. */
4186 $ac_includes_default
4187 #include <$ac_header>
4189 rm -f conftest.$ac_objext
4190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4191 (eval $ac_compile) 2>conftest.er1
4193 grep -v '^ *+' conftest.er1 >conftest.err
4195 cat conftest.err >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); } &&
4198 { ac_try='test -z "$ac_c_werror_flag"
4199 || test ! -s conftest.err'
4200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4204 (exit $ac_status); }; } &&
4205 { ac_try='test -s conftest.$ac_objext'
4206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4210 (exit $ac_status); }; }; then
4211 ac_header_compiler=yes
4213 echo "$as_me: failed program was:" >&5
4214 sed 's/^/| /' conftest.$ac_ext >&5
4216 ac_header_compiler=no
4218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4219 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4220 echo "${ECHO_T}$ac_header_compiler" >&6
4222 # Is the header present?
4223 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4224 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4225 cat >conftest.$ac_ext <<_ACEOF
4228 cat confdefs.h >>conftest.$ac_ext
4229 cat >>conftest.$ac_ext <<_ACEOF
4230 /* end confdefs.h. */
4231 #include <$ac_header>
4233 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4234 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4236 grep -v '^ *+' conftest.er1 >conftest.err
4238 cat conftest.err >&5
4239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4240 (exit $ac_status); } >/dev/null; then
4241 if test -s conftest.err; then
4242 ac_cpp_err=$ac_c_preproc_warn_flag
4243 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4250 if test -z "$ac_cpp_err"; then
4251 ac_header_preproc=yes
4253 echo "$as_me: failed program was:" >&5
4254 sed 's/^/| /' conftest.$ac_ext >&5
4256 ac_header_preproc=no
4258 rm -f conftest.err conftest.$ac_ext
4259 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4260 echo "${ECHO_T}$ac_header_preproc" >&6
4262 # So? What about this header?
4263 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4265 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4266 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4267 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4268 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4269 ac_header_preproc=yes
4272 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4273 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4274 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4275 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4276 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4277 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4278 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4279 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4280 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4281 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4282 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4283 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4286 ## ---------------------------------- ##
4287 ## Report this to the libfirm lists. ##
4288 ## ---------------------------------- ##
4291 sed "s/^/$as_me: WARNING: /" >&2
4294 echo "$as_me:$LINENO: checking for $ac_header" >&5
4295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4297 echo $ECHO_N "(cached) $ECHO_C" >&6
4299 eval "$as_ac_Header=\$ac_header_preproc"
4301 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4302 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4305 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4306 cat >>confdefs.h <<_ACEOF
4307 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4309 ac_jni_headers="yes"
4316 if test "$ac_jni_headers" != yes; then
4317 { { 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
4318 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;}
4319 { (exit 1); exit 1; }; }
4324 if test "$enable_external_effects" == "yes"; then
4326 for ac_header in libxml/parser.h
4328 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4330 echo "$as_me:$LINENO: checking for $ac_header" >&5
4331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4338 # Is the header compilable?
4339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4341 cat >conftest.$ac_ext <<_ACEOF
4344 cat confdefs.h >>conftest.$ac_ext
4345 cat >>conftest.$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4347 $ac_includes_default
4348 #include <$ac_header>
4350 rm -f conftest.$ac_objext
4351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4352 (eval $ac_compile) 2>conftest.er1
4354 grep -v '^ *+' conftest.er1 >conftest.err
4356 cat conftest.err >&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } &&
4359 { ac_try='test -z "$ac_c_werror_flag"
4360 || test ! -s conftest.err'
4361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4365 (exit $ac_status); }; } &&
4366 { ac_try='test -s conftest.$ac_objext'
4367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); }; }; then
4372 ac_header_compiler=yes
4374 echo "$as_me: failed program was:" >&5
4375 sed 's/^/| /' conftest.$ac_ext >&5
4377 ac_header_compiler=no
4379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4380 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4381 echo "${ECHO_T}$ac_header_compiler" >&6
4383 # Is the header present?
4384 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4385 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4386 cat >conftest.$ac_ext <<_ACEOF
4389 cat confdefs.h >>conftest.$ac_ext
4390 cat >>conftest.$ac_ext <<_ACEOF
4391 /* end confdefs.h. */
4392 #include <$ac_header>
4394 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4395 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4397 grep -v '^ *+' conftest.er1 >conftest.err
4399 cat conftest.err >&5
4400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4401 (exit $ac_status); } >/dev/null; then
4402 if test -s conftest.err; then
4403 ac_cpp_err=$ac_c_preproc_warn_flag
4404 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4411 if test -z "$ac_cpp_err"; then
4412 ac_header_preproc=yes
4414 echo "$as_me: failed program was:" >&5
4415 sed 's/^/| /' conftest.$ac_ext >&5
4417 ac_header_preproc=no
4419 rm -f conftest.err conftest.$ac_ext
4420 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4421 echo "${ECHO_T}$ac_header_preproc" >&6
4423 # So? What about this header?
4424 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4426 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4427 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4428 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4429 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4430 ac_header_preproc=yes
4433 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4434 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4435 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4436 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4437 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4438 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4439 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4440 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4441 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4442 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4443 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4444 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4447 ## ---------------------------------- ##
4448 ## Report this to the libfirm lists. ##
4449 ## ---------------------------------- ##
4452 sed "s/^/$as_me: WARNING: /" >&2
4455 echo "$as_me:$LINENO: checking for $ac_header" >&5
4456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4457 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4458 echo $ECHO_N "(cached) $ECHO_C" >&6
4460 eval "$as_ac_Header=\$ac_header_preproc"
4462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4466 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4467 cat >>confdefs.h <<_ACEOF
4468 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4470 ac_xml_headers="yes"
4477 if test "$ac_xml_headers" != yes; then
4478 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4479 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4480 { (exit 1); exit 1; }; }
4485 #dnl check for the gnu multiprecission (gmp) library
4487 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4488 #if test "$ac_gmp_library" != yes; then
4489 # dnl gmp library not found.
4490 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4494 echo "$as_me:$LINENO: checking for main in -lm" >&5
4495 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4496 if test "${ac_cv_lib_m_main+set}" = set; then
4497 echo $ECHO_N "(cached) $ECHO_C" >&6
4499 ac_check_lib_save_LIBS=$LIBS
4501 cat >conftest.$ac_ext <<_ACEOF
4504 cat confdefs.h >>conftest.$ac_ext
4505 cat >>conftest.$ac_ext <<_ACEOF
4506 /* end confdefs.h. */
4517 rm -f conftest.$ac_objext conftest$ac_exeext
4518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4519 (eval $ac_link) 2>conftest.er1
4521 grep -v '^ *+' conftest.er1 >conftest.err
4523 cat conftest.err >&5
4524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4525 (exit $ac_status); } &&
4526 { ac_try='test -z "$ac_c_werror_flag"
4527 || test ! -s conftest.err'
4528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }; } &&
4533 { ac_try='test -s conftest$ac_exeext'
4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); }; }; then
4539 ac_cv_lib_m_main=yes
4541 echo "$as_me: failed program was:" >&5
4542 sed 's/^/| /' conftest.$ac_ext >&5
4546 rm -f conftest.err conftest.$ac_objext \
4547 conftest$ac_exeext conftest.$ac_ext
4548 LIBS=$ac_check_lib_save_LIBS
4550 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4551 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4552 if test $ac_cv_lib_m_main = yes; then
4558 if test "$ac_m_library" != yes; then
4559 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4560 echo "$as_me: error: \"standard math library not found\"" >&2;}
4561 { (exit 1); exit 1; }; }
4565 if test "$enable_external_effects" == "yes"; then
4566 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4567 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4568 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4569 echo $ECHO_N "(cached) $ECHO_C" >&6
4571 ac_check_lib_save_LIBS=$LIBS
4573 cat >conftest.$ac_ext <<_ACEOF
4576 cat confdefs.h >>conftest.$ac_ext
4577 cat >>conftest.$ac_ext <<_ACEOF
4578 /* end confdefs.h. */
4580 /* Override any gcc2 internal prototype to avoid an error. */
4584 /* We use char because int might match the return type of a gcc2
4585 builtin and then its argument prototype would still apply. */
4586 char xmlParseFile ();
4595 rm -f conftest.$ac_objext conftest$ac_exeext
4596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4597 (eval $ac_link) 2>conftest.er1
4599 grep -v '^ *+' conftest.er1 >conftest.err
4601 cat conftest.err >&5
4602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); } &&
4604 { ac_try='test -z "$ac_c_werror_flag"
4605 || test ! -s conftest.err'
4606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4610 (exit $ac_status); }; } &&
4611 { ac_try='test -s conftest$ac_exeext'
4612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4616 (exit $ac_status); }; }; then
4617 ac_cv_lib_xml2_xmlParseFile=yes
4619 echo "$as_me: failed program was:" >&5
4620 sed 's/^/| /' conftest.$ac_ext >&5
4622 ac_cv_lib_xml2_xmlParseFile=no
4624 rm -f conftest.err conftest.$ac_objext \
4625 conftest$ac_exeext conftest.$ac_ext
4626 LIBS=$ac_check_lib_save_LIBS
4628 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4629 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4630 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4631 ac_xml_library="yes"
4636 if test "$ac_m_library" != yes; then
4637 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4638 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4639 { (exit 1); exit 1; }; }
4645 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4646 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4647 if test "${ac_cv_c_const+set}" = set; then
4648 echo $ECHO_N "(cached) $ECHO_C" >&6
4650 cat >conftest.$ac_ext <<_ACEOF
4653 cat confdefs.h >>conftest.$ac_ext
4654 cat >>conftest.$ac_ext <<_ACEOF
4655 /* end confdefs.h. */
4660 /* FIXME: Include the comments suggested by Paul. */
4662 /* Ultrix mips cc rejects this. */
4663 typedef int charset[2];
4665 /* SunOS 4.1.1 cc rejects this. */
4666 char const *const *ccp;
4668 /* NEC SVR4.0.2 mips cc rejects this. */
4669 struct point {int x, y;};
4670 static struct point const zero = {0,0};
4671 /* AIX XL C 1.02.0.0 rejects this.
4672 It does not let you subtract one const X* pointer from another in
4673 an arm of an if-expression whose if-part is not a constant
4675 const char *g = "string";
4676 ccp = &g + (g ? g-g : 0);
4677 /* HPUX 7.0 cc rejects these. */
4680 ccp = (char const *const *) p;
4681 { /* SCO 3.2v4 cc rejects this. */
4683 char const *s = 0 ? (char *) 0 : (char const *) 0;
4687 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4689 const int *foo = &x[0];
4692 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4693 typedef const int *iptr;
4697 { /* AIX XL C 1.02.0.0 rejects this saying
4698 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4699 struct s { int j; const int *ap[3]; };
4700 struct s *b; b->j = 5;
4702 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4711 rm -f conftest.$ac_objext
4712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4713 (eval $ac_compile) 2>conftest.er1
4715 grep -v '^ *+' conftest.er1 >conftest.err
4717 cat conftest.err >&5
4718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4719 (exit $ac_status); } &&
4720 { ac_try='test -z "$ac_c_werror_flag"
4721 || test ! -s conftest.err'
4722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4726 (exit $ac_status); }; } &&
4727 { ac_try='test -s conftest.$ac_objext'
4728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; }; then
4735 echo "$as_me: failed program was:" >&5
4736 sed 's/^/| /' conftest.$ac_ext >&5
4740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4742 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4743 echo "${ECHO_T}$ac_cv_c_const" >&6
4744 if test $ac_cv_c_const = no; then
4746 cat >>confdefs.h <<\_ACEOF
4752 echo "$as_me:$LINENO: checking for working volatile" >&5
4753 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4754 if test "${ac_cv_c_volatile+set}" = set; then
4755 echo $ECHO_N "(cached) $ECHO_C" >&6
4757 cat >conftest.$ac_ext <<_ACEOF
4760 cat confdefs.h >>conftest.$ac_ext
4761 cat >>conftest.$ac_ext <<_ACEOF
4762 /* end confdefs.h. */
4774 rm -f conftest.$ac_objext
4775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4776 (eval $ac_compile) 2>conftest.er1
4778 grep -v '^ *+' conftest.er1 >conftest.err
4780 cat conftest.err >&5
4781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4782 (exit $ac_status); } &&
4783 { ac_try='test -z "$ac_c_werror_flag"
4784 || test ! -s conftest.err'
4785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); }; } &&
4790 { ac_try='test -s conftest.$ac_objext'
4791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); }; }; then
4796 ac_cv_c_volatile=yes
4798 echo "$as_me: failed program was:" >&5
4799 sed 's/^/| /' conftest.$ac_ext >&5
4803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4805 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4806 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4807 if test $ac_cv_c_volatile = no; then
4809 cat >>confdefs.h <<\_ACEOF
4815 echo "$as_me:$LINENO: checking for inline" >&5
4816 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4817 if test "${ac_cv_c_inline+set}" = set; then
4818 echo $ECHO_N "(cached) $ECHO_C" >&6
4821 for ac_kw in inline __inline__ __inline; do
4822 cat >conftest.$ac_ext <<_ACEOF
4825 cat confdefs.h >>conftest.$ac_ext
4826 cat >>conftest.$ac_ext <<_ACEOF
4827 /* end confdefs.h. */
4830 static $ac_kw foo_t static_foo () {return 0; }
4831 $ac_kw foo_t foo () {return 0; }
4835 rm -f conftest.$ac_objext
4836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4837 (eval $ac_compile) 2>conftest.er1
4839 grep -v '^ *+' conftest.er1 >conftest.err
4841 cat conftest.err >&5
4842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4843 (exit $ac_status); } &&
4844 { ac_try='test -z "$ac_c_werror_flag"
4845 || test ! -s conftest.err'
4846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4850 (exit $ac_status); }; } &&
4851 { ac_try='test -s conftest.$ac_objext'
4852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4856 (exit $ac_status); }; }; then
4857 ac_cv_c_inline=$ac_kw; break
4859 echo "$as_me: failed program was:" >&5
4860 sed 's/^/| /' conftest.$ac_ext >&5
4863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4867 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4868 echo "${ECHO_T}$ac_cv_c_inline" >&6
4871 case $ac_cv_c_inline in
4874 case $ac_cv_c_inline in
4876 *) ac_val=$ac_cv_c_inline;;
4878 cat >>confdefs.h <<_ACEOF
4880 #define inline $ac_val
4886 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4887 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4888 if test "${ac_cv_c_bigendian+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 # See if sys/param.h defines the BYTE_ORDER macro.
4892 cat >conftest.$ac_ext <<_ACEOF
4895 cat confdefs.h >>conftest.$ac_ext
4896 cat >>conftest.$ac_ext <<_ACEOF
4897 /* end confdefs.h. */
4898 #include <sys/types.h>
4899 #include <sys/param.h>
4904 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4912 rm -f conftest.$ac_objext
4913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4914 (eval $ac_compile) 2>conftest.er1
4916 grep -v '^ *+' conftest.er1 >conftest.err
4918 cat conftest.err >&5
4919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4920 (exit $ac_status); } &&
4921 { ac_try='test -z "$ac_c_werror_flag"
4922 || test ! -s conftest.err'
4923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4927 (exit $ac_status); }; } &&
4928 { ac_try='test -s conftest.$ac_objext'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; }; then
4934 # It does; now see whether it defined to BIG_ENDIAN or not.
4935 cat >conftest.$ac_ext <<_ACEOF
4938 cat confdefs.h >>conftest.$ac_ext
4939 cat >>conftest.$ac_ext <<_ACEOF
4940 /* end confdefs.h. */
4941 #include <sys/types.h>
4942 #include <sys/param.h>
4947 #if BYTE_ORDER != BIG_ENDIAN
4955 rm -f conftest.$ac_objext
4956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4957 (eval $ac_compile) 2>conftest.er1
4959 grep -v '^ *+' conftest.er1 >conftest.err
4961 cat conftest.err >&5
4962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4963 (exit $ac_status); } &&
4964 { ac_try='test -z "$ac_c_werror_flag"
4965 || test ! -s conftest.err'
4966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4970 (exit $ac_status); }; } &&
4971 { ac_try='test -s conftest.$ac_objext'
4972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4976 (exit $ac_status); }; }; then
4977 ac_cv_c_bigendian=yes
4979 echo "$as_me: failed program was:" >&5
4980 sed 's/^/| /' conftest.$ac_ext >&5
4982 ac_cv_c_bigendian=no
4984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4986 echo "$as_me: failed program was:" >&5
4987 sed 's/^/| /' conftest.$ac_ext >&5
4989 # It does not; compile a test program.
4990 if test "$cross_compiling" = yes; then
4991 # try to guess the endianness by grepping values into an object file
4992 ac_cv_c_bigendian=unknown
4993 cat >conftest.$ac_ext <<_ACEOF
4996 cat confdefs.h >>conftest.$ac_ext
4997 cat >>conftest.$ac_ext <<_ACEOF
4998 /* end confdefs.h. */
4999 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5000 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5001 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5002 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5003 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5004 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5008 _ascii (); _ebcdic ();
5013 rm -f conftest.$ac_objext
5014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5015 (eval $ac_compile) 2>conftest.er1
5017 grep -v '^ *+' conftest.er1 >conftest.err
5019 cat conftest.err >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); } &&
5022 { ac_try='test -z "$ac_c_werror_flag"
5023 || test ! -s conftest.err'
5024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5028 (exit $ac_status); }; } &&
5029 { ac_try='test -s conftest.$ac_objext'
5030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5034 (exit $ac_status); }; }; then
5035 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5036 ac_cv_c_bigendian=yes
5038 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5039 if test "$ac_cv_c_bigendian" = unknown; then
5040 ac_cv_c_bigendian=no
5042 # finding both strings is unlikely to happen, but who knows?
5043 ac_cv_c_bigendian=unknown
5047 echo "$as_me: failed program was:" >&5
5048 sed 's/^/| /' conftest.$ac_ext >&5
5051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5053 cat >conftest.$ac_ext <<_ACEOF
5056 cat confdefs.h >>conftest.$ac_ext
5057 cat >>conftest.$ac_ext <<_ACEOF
5058 /* end confdefs.h. */
5062 /* Are we little or big endian? From Harbison&Steele. */
5066 char c[sizeof (long)];
5069 exit (u.c[sizeof (long) - 1] == 1);
5072 rm -f conftest$ac_exeext
5073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5074 (eval $ac_link) 2>&5
5076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; }; then
5083 ac_cv_c_bigendian=no
5085 echo "$as_me: program exited with status $ac_status" >&5
5086 echo "$as_me: failed program was:" >&5
5087 sed 's/^/| /' conftest.$ac_ext >&5
5090 ac_cv_c_bigendian=yes
5092 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5097 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5098 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5099 case $ac_cv_c_bigendian in
5102 cat >>confdefs.h <<\_ACEOF
5103 #define WORDS_BIGENDIAN 1
5109 { { echo "$as_me:$LINENO: error: unknown endianness
5110 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5111 echo "$as_me: error: unknown endianness
5112 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5113 { (exit 1); exit 1; }; } ;;
5116 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5117 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5118 if test "${ac_cv_c_long_double+set}" = set; then
5119 echo $ECHO_N "(cached) $ECHO_C" >&6
5121 cat >conftest.$ac_ext <<_ACEOF
5124 cat confdefs.h >>conftest.$ac_ext
5125 cat >>conftest.$ac_ext <<_ACEOF
5126 /* end confdefs.h. */
5128 long double foo = 0.0;
5132 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5133 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5134 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5141 rm -f conftest.$ac_objext
5142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5143 (eval $ac_compile) 2>conftest.er1
5145 grep -v '^ *+' conftest.er1 >conftest.err
5147 cat conftest.err >&5
5148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5149 (exit $ac_status); } &&
5150 { ac_try='test -z "$ac_c_werror_flag"
5151 || test ! -s conftest.err'
5152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5156 (exit $ac_status); }; } &&
5157 { ac_try='test -s conftest.$ac_objext'
5158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162 (exit $ac_status); }; }; then
5163 ac_cv_c_long_double=yes
5165 echo "$as_me: failed program was:" >&5
5166 sed 's/^/| /' conftest.$ac_ext >&5
5168 ac_cv_c_long_double=no
5170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5172 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5173 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5174 if test $ac_cv_c_long_double = yes; then
5176 cat >>confdefs.h <<\_ACEOF
5177 #define HAVE_LONG_DOUBLE 1
5185 echo "$as_me:$LINENO: checking for strerror" >&5
5186 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5187 if test "${ac_cv_func_strerror+set}" = set; then
5188 echo $ECHO_N "(cached) $ECHO_C" >&6
5190 cat >conftest.$ac_ext <<_ACEOF
5193 cat confdefs.h >>conftest.$ac_ext
5194 cat >>conftest.$ac_ext <<_ACEOF
5195 /* end confdefs.h. */
5196 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5198 #define strerror innocuous_strerror
5200 /* System header to define __stub macros and hopefully few prototypes,
5201 which can conflict with char strerror (); below.
5202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5203 <limits.h> exists even on freestanding compilers. */
5206 # include <limits.h>
5208 # include <assert.h>
5213 /* Override any gcc2 internal prototype to avoid an error. */
5218 /* We use char because int might match the return type of a gcc2
5219 builtin and then its argument prototype would still apply. */
5221 /* The GNU C library defines this for functions which it implements
5222 to always fail with ENOSYS. Some functions are actually named
5223 something starting with __ and the normal name is an alias. */
5224 #if defined (__stub_strerror) || defined (__stub___strerror)
5227 char (*f) () = strerror;
5236 return f != strerror;
5241 rm -f conftest.$ac_objext conftest$ac_exeext
5242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5243 (eval $ac_link) 2>conftest.er1
5245 grep -v '^ *+' conftest.er1 >conftest.err
5247 cat conftest.err >&5
5248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5249 (exit $ac_status); } &&
5250 { ac_try='test -z "$ac_c_werror_flag"
5251 || test ! -s conftest.err'
5252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); }; } &&
5257 { ac_try='test -s conftest$ac_exeext'
5258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5262 (exit $ac_status); }; }; then
5263 ac_cv_func_strerror=yes
5265 echo "$as_me: failed program was:" >&5
5266 sed 's/^/| /' conftest.$ac_ext >&5
5268 ac_cv_func_strerror=no
5270 rm -f conftest.err conftest.$ac_objext \
5271 conftest$ac_exeext conftest.$ac_ext
5273 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5274 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5275 if test $ac_cv_func_strerror = yes; then
5278 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5279 echo "$as_me: error: \"need strerror function\"" >&2;}
5280 { (exit 1); exit 1; }; }
5288 ac_config_files="$ac_config_files $ac_output_file"
5289 ac_config_commands="$ac_config_commands default"
5290 cat >confcache <<\_ACEOF
5291 # This file is a shell script that caches the results of configure
5292 # tests run on this system so they can be shared between configure
5293 # scripts and configure runs, see configure's option --config-cache.
5294 # It is not useful on other systems. If it contains results you don't
5295 # want to keep, you may remove or edit it.
5297 # config.status only pays attention to the cache file if you give it
5298 # the --recheck option to rerun configure.
5300 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5301 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5306 # The following way of writing the cache mishandles newlines in values,
5307 # but we know of no workaround that is simple, portable, and efficient.
5308 # So, don't put newlines in cache variables' values.
5309 # Ultrix sh set writes to stderr and can't be redirected directly,
5310 # and sets the high bit in the cache file unless we assign to the vars.
5313 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5315 # `set' does not quote correctly, so add quotes (double-quote
5316 # substitution turns \\\\ into \\, and sed turns \\ into \).
5319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5322 # `set' quotes correctly as required by POSIX, so do not add quotes.
5324 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5331 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5333 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5335 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5336 if test -w $cache_file; then
5337 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5338 cat confcache >$cache_file
5340 echo "not updating unwritable cache $cache_file"
5345 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5346 # Let make expand exec_prefix.
5347 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5349 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5350 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5351 # trailing colons and then remove the whole line if VPATH becomes empty
5352 # (actually we leave an empty line to preserve line numbers).
5353 if test "x$srcdir" = x.; then
5354 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5355 s/:*\$(srcdir):*/:/;
5356 s/:*\${srcdir}:*/:/;
5358 s/^\([^=]*=[ ]*\):*/\1/;
5364 DEFS=-DHAVE_CONFIG_H
5368 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5369 # 1. Remove the extension, and $U if already installed.
5370 ac_i=`echo "$ac_i" |
5371 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5373 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5374 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5378 LTLIBOBJS=$ac_ltlibobjs
5382 : ${CONFIG_STATUS=./config.status}
5383 ac_clean_files_save=$ac_clean_files
5384 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5385 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5386 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5387 cat >$CONFIG_STATUS <<_ACEOF
5389 # Generated by $as_me.
5390 # Run this file to recreate the current configuration.
5391 # Compiler output produced by configure, useful for debugging
5392 # configure, is in config.log if it exists.
5397 SHELL=\${CONFIG_SHELL-$SHELL}
5400 cat >>$CONFIG_STATUS <<\_ACEOF
5401 ## --------------------- ##
5402 ## M4sh Initialization. ##
5403 ## --------------------- ##
5405 # Be Bourne compatible
5406 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5409 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5410 # is contrary to our usage. Disable this feature.
5411 alias -g '${1+"$@"}'='"$@"'
5412 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5415 DUALCASE=1; export DUALCASE # for MKS sh
5417 # Support unset when possible.
5418 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5425 # Work around bugs in pre-3.0 UWIN ksh.
5426 $as_unset ENV MAIL MAILPATH
5433 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5434 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5435 LC_TELEPHONE LC_TIME
5437 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5438 eval $as_var=C; export $as_var
5444 # Required to use basename.
5445 if expr a : '\(a\)' >/dev/null 2>&1; then
5451 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5452 as_basename=basename
5458 # Name of the executable.
5459 as_me=`$as_basename "$0" ||
5460 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5461 X"$0" : 'X\(//\)$' \| \
5462 X"$0" : 'X\(/\)$' \| \
5463 . : '\(.\)' 2>/dev/null ||
5465 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5466 /^X\/\(\/\/\)$/{ s//\1/; q; }
5467 /^X\/\(\/\).*/{ s//\1/; q; }
5471 # PATH needs CR, and LINENO needs CR and PATH.
5472 # Avoid depending upon Character Ranges.
5473 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5474 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5475 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5476 as_cr_digits='0123456789'
5477 as_cr_alnum=$as_cr_Letters$as_cr_digits
5479 # The user is always right.
5480 if test "${PATH_SEPARATOR+set}" != set; then
5481 echo "#! /bin/sh" >conf$$.sh
5482 echo "exit 0" >>conf$$.sh
5484 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5495 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5496 test "x$as_lineno_1" != "x$as_lineno_2" &&
5497 test "x$as_lineno_3" = "x$as_lineno_2" || {
5498 # Find who we are. Look in the path if we contain no path at all
5501 *[\\/]* ) as_myself=$0 ;;
5502 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5506 test -z "$as_dir" && as_dir=.
5507 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5512 # We did not find ourselves, most probably we were run as `sh COMMAND'
5513 # in which case we are not to be found in the path.
5514 if test "x$as_myself" = x; then
5517 if test ! -f "$as_myself"; then
5518 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5519 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5520 { (exit 1); exit 1; }; }
5522 case $CONFIG_SHELL in
5524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5525 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5528 test -z "$as_dir" && as_dir=.
5529 for as_base in sh bash ksh sh5; do
5532 if ("$as_dir/$as_base" -c '
5535 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5536 test "x$as_lineno_1" != "x$as_lineno_2" &&
5537 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5538 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5539 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5540 CONFIG_SHELL=$as_dir/$as_base
5542 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5550 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5551 # uniformly replaced by the line number. The first 'sed' inserts a
5552 # line-number line before each line; the second 'sed' does the real
5553 # work. The second script uses 'N' to pair each line-number line
5554 # with the numbered line, and appends trailing '-' during
5555 # substitution so that $LINENO is not a special case at line end.
5556 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5557 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5558 sed '=' <$as_myself |
5563 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5566 s,^['$as_cr_digits']*\n,,
5568 chmod +x $as_me.lineno ||
5569 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5570 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5571 { (exit 1); exit 1; }; }
5573 # Don't try to exec as it changes $[0], causing all sort of problems
5574 # (the dirname of $[0] is not the place where we might find the
5575 # original and so on. Autoconf is especially sensible to this).
5577 # Exit status is that of the last command.
5582 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5583 *c*,-n*) ECHO_N= ECHO_C='
5585 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5586 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5589 if expr a : '\(a\)' >/dev/null 2>&1; then
5595 rm -f conf$$ conf$$.exe conf$$.file
5597 if ln -s conf$$.file conf$$ 2>/dev/null; then
5598 # We could just check for DJGPP; but this test a) works b) is more generic
5599 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5600 if test -f conf$$.exe; then
5601 # Don't use ln at all; we don't have any links
5606 elif ln conf$$.file conf$$ 2>/dev/null; then
5611 rm -f conf$$ conf$$.exe conf$$.file
5613 if mkdir -p . 2>/dev/null; then
5616 test -d ./-p && rmdir ./-p
5620 as_executable_p="test -f"
5622 # Sed expression to map a string onto a valid CPP name.
5623 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5625 # Sed expression to map a string onto a valid variable name.
5626 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5630 # We need space, tab and new line, in precisely that order.
5640 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5641 # report actual input values of CONFIG_FILES etc. instead of their
5642 # values after options handling. Logging --version etc. is OK.
5646 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5647 ## Running $as_me. ##
5652 This file was extended by libfirm $as_me 1.3.0, which was
5653 generated by GNU Autoconf 2.59. Invocation command line was
5655 CONFIG_FILES = $CONFIG_FILES
5656 CONFIG_HEADERS = $CONFIG_HEADERS
5657 CONFIG_LINKS = $CONFIG_LINKS
5658 CONFIG_COMMANDS = $CONFIG_COMMANDS
5662 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5666 # Files that config.status was made for.
5667 if test -n "$ac_config_files"; then
5668 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5671 if test -n "$ac_config_headers"; then
5672 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5675 if test -n "$ac_config_links"; then
5676 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5679 if test -n "$ac_config_commands"; then
5680 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5683 cat >>$CONFIG_STATUS <<\_ACEOF
5686 \`$as_me' instantiates files from templates according to the
5687 current configuration.
5689 Usage: $0 [OPTIONS] [FILE]...
5691 -h, --help print this help, then exit
5692 -V, --version print version number, then exit
5693 -q, --quiet do not print progress messages
5694 -d, --debug don't remove temporary files
5695 --recheck update $as_me by reconfiguring in the same conditions
5696 --file=FILE[:TEMPLATE]
5697 instantiate the configuration file FILE
5698 --header=FILE[:TEMPLATE]
5699 instantiate the configuration header FILE
5701 Configuration files:
5704 Configuration headers:
5707 Configuration commands:
5710 Report bugs to <bug-autoconf@gnu.org>."
5713 cat >>$CONFIG_STATUS <<_ACEOF
5715 libfirm config.status 1.3.0
5716 configured by $0, generated by GNU Autoconf 2.59,
5717 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5719 Copyright (C) 2003 Free Software Foundation, Inc.
5720 This config.status script is free software; the Free Software Foundation
5721 gives unlimited permission to copy, distribute and modify it."
5726 cat >>$CONFIG_STATUS <<\_ACEOF
5727 # If no file are specified by the user, then we need to provide default
5728 # value. By we need to know if files were specified by the user.
5734 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5735 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5743 *) # This is not an option, so the user has probably given explicit
5746 ac_need_defaults=false;;
5750 # Handling of the options.
5752 cat >>$CONFIG_STATUS <<\_ACEOF
5753 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5755 --version | --vers* | -V )
5756 echo "$ac_cs_version"; exit 0 ;;
5758 # Conflict between --help and --header
5759 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5760 Try \`$0 --help' for more information." >&5
5761 echo "$as_me: error: ambiguous option: $1
5762 Try \`$0 --help' for more information." >&2;}
5763 { (exit 1); exit 1; }; };;
5764 --help | --hel | -h )
5765 echo "$ac_cs_usage"; exit 0 ;;
5766 --debug | --d* | -d )
5768 --file | --fil | --fi | --f )
5770 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5771 ac_need_defaults=false;;
5772 --header | --heade | --head | --hea )
5774 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5775 ac_need_defaults=false;;
5776 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5777 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5781 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5782 Try \`$0 --help' for more information." >&5
5783 echo "$as_me: error: unrecognized option: $1
5784 Try \`$0 --help' for more information." >&2;}
5785 { (exit 1); exit 1; }; } ;;
5787 *) ac_config_targets="$ac_config_targets $1" ;;
5793 ac_configure_extra_args=
5795 if $ac_cs_silent; then
5797 ac_configure_extra_args="$ac_configure_extra_args --silent"
5801 cat >>$CONFIG_STATUS <<_ACEOF
5802 if \$ac_cs_recheck; then
5803 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5804 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5813 cat >>$CONFIG_STATUS <<\_ACEOF
5814 for ac_config_target in $ac_config_targets
5816 case "$ac_config_target" in
5817 # Handling of arguments.
5818 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5819 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5820 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5821 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5822 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5823 { (exit 1); exit 1; }; };;
5827 # If the user did not use the arguments to specify the items to instantiate,
5828 # then the envvar interface is used. Set only those that are not.
5829 # We use the long form for the default assignment because of an extremely
5830 # bizarre bug on SunOS 4.1.3.
5831 if $ac_need_defaults; then
5832 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5833 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5834 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5837 # Have a temporary directory for convenience. Make it in the build tree
5838 # simply because there is no reason to put it here, and in addition,
5839 # creating and moving files from /tmp can sometimes cause problems.
5840 # Create a temporary directory, and hook for its removal unless debugging.
5843 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5844 trap '{ (exit 1); exit 1; }' 1 2 13 15
5847 # Create a (secure) tmp directory for tmp files.
5850 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5851 test -n "$tmp" && test -d "$tmp"
5854 tmp=./confstat$$-$RANDOM
5855 (umask 077 && mkdir $tmp)
5858 echo "$me: cannot create a temporary directory in ." >&2
5859 { (exit 1); exit 1; }
5864 cat >>$CONFIG_STATUS <<_ACEOF
5867 # CONFIG_FILES section.
5870 # No need to generate the scripts if there are no CONFIG_FILES.
5871 # This happens for instance when ./config.status config.h
5872 if test -n "\$CONFIG_FILES"; then
5873 # Protect against being on the right side of a sed subst in config.status.
5874 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5875 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5876 s,@SHELL@,$SHELL,;t t
5877 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5878 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5879 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5880 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5881 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5882 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5883 s,@exec_prefix@,$exec_prefix,;t t
5884 s,@prefix@,$prefix,;t t
5885 s,@program_transform_name@,$program_transform_name,;t t
5886 s,@bindir@,$bindir,;t t
5887 s,@sbindir@,$sbindir,;t t
5888 s,@libexecdir@,$libexecdir,;t t
5889 s,@datadir@,$datadir,;t t
5890 s,@sysconfdir@,$sysconfdir,;t t
5891 s,@sharedstatedir@,$sharedstatedir,;t t
5892 s,@localstatedir@,$localstatedir,;t t
5893 s,@libdir@,$libdir,;t t
5894 s,@includedir@,$includedir,;t t
5895 s,@oldincludedir@,$oldincludedir,;t t
5896 s,@infodir@,$infodir,;t t
5897 s,@mandir@,$mandir,;t t
5898 s,@build_alias@,$build_alias,;t t
5899 s,@host_alias@,$host_alias,;t t
5900 s,@target_alias@,$target_alias,;t t
5902 s,@ECHO_C@,$ECHO_C,;t t
5903 s,@ECHO_N@,$ECHO_N,;t t
5904 s,@ECHO_T@,$ECHO_T,;t t
5906 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5907 s,@plugin_subdirs@,$plugin_subdirs,;t t
5908 s,@XML2CONFIG@,$XML2CONFIG,;t t
5909 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5910 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5911 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5912 s,@enable_firm_jni@,$enable_firm_jni,;t t
5913 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5914 s,@disable_libiberty@,$disable_libiberty,;t t
5915 s,@enable_statistics@,$enable_statistics,;t t
5916 s,@enable_libcore@,$enable_libcore,;t t
5917 s,@enable_wchar_support@,$enable_wchar_support,;t t
5918 s,@enable_external_effects@,$enable_external_effects,;t t
5920 s,@CFLAGS@,$CFLAGS,;t t
5921 s,@LDFLAGS@,$LDFLAGS,;t t
5922 s,@CPPFLAGS@,$CPPFLAGS,;t t
5923 s,@ac_ct_CC@,$ac_ct_CC,;t t
5924 s,@EXEEXT@,$EXEEXT,;t t
5925 s,@OBJEXT@,$OBJEXT,;t t
5928 s,@ac_ct_LD@,$ac_ct_LD,;t t
5929 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5932 s,@RANLIB@,$RANLIB,;t t
5933 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5934 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5935 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5936 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5938 s,@DOXYGEN@,$DOXYGEN,;t t
5940 s,@JAVAC@,$JAVAC,;t t
5941 s,@JAVAH@,$JAVAH,;t t
5943 s,@EGREP@,$EGREP,;t t
5944 s,@LIBOBJS@,$LIBOBJS,;t t
5945 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5950 cat >>$CONFIG_STATUS <<\_ACEOF
5951 # Split the substitutions into bite-sized pieces for seds with
5952 # small command number limits, like on Digital OSF/1 and HP-UX.
5954 ac_sed_frag=1 # Number of current file.
5955 ac_beg=1 # First line for current file.
5956 ac_end=$ac_max_sed_lines # Line after last line for current file.
5959 while $ac_more_lines; do
5960 if test $ac_beg -gt 1; then
5961 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5963 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5965 if test ! -s $tmp/subs.frag; then
5968 # The purpose of the label and of the branching condition is to
5969 # speed up the sed processing (if there are no `@' at all, there
5970 # is no need to browse any of the substitutions).
5971 # These are the two extra sed commands mentioned above.
5973 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5974 if test -z "$ac_sed_cmds"; then
5975 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5977 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5979 ac_sed_frag=`expr $ac_sed_frag + 1`
5981 ac_end=`expr $ac_end + $ac_max_sed_lines`
5984 if test -z "$ac_sed_cmds"; then
5987 fi # test -n "$CONFIG_FILES"
5990 cat >>$CONFIG_STATUS <<\_ACEOF
5991 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5992 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5994 - | *:- | *:-:* ) # input from stdin
5996 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5997 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5998 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5999 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6000 * ) ac_file_in=$ac_file.in ;;
6003 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6004 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6005 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6006 X"$ac_file" : 'X\(//\)[^/]' \| \
6007 X"$ac_file" : 'X\(//\)$' \| \
6008 X"$ac_file" : 'X\(/\)' \| \
6009 . : '\(.\)' 2>/dev/null ||
6011 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6012 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6013 /^X\(\/\/\)$/{ s//\1/; q; }
6014 /^X\(\/\).*/{ s//\1/; q; }
6016 { if $as_mkdir_p; then
6021 while test ! -d "$as_dir"; do
6022 as_dirs="$as_dir $as_dirs"
6023 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6024 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6025 X"$as_dir" : 'X\(//\)[^/]' \| \
6026 X"$as_dir" : 'X\(//\)$' \| \
6027 X"$as_dir" : 'X\(/\)' \| \
6028 . : '\(.\)' 2>/dev/null ||
6030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6031 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6032 /^X\(\/\/\)$/{ s//\1/; q; }
6033 /^X\(\/\).*/{ s//\1/; q; }
6036 test ! -n "$as_dirs" || mkdir $as_dirs
6037 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6038 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6039 { (exit 1); exit 1; }; }; }
6043 if test "$ac_dir" != .; then
6044 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6045 # A "../" for each directory in $ac_dir_suffix.
6046 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6048 ac_dir_suffix= ac_top_builddir=
6052 .) # No --srcdir option. We are building in place.
6054 if test -z "$ac_top_builddir"; then
6057 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6059 [\\/]* | ?:[\\/]* ) # Absolute path.
6060 ac_srcdir=$srcdir$ac_dir_suffix;
6061 ac_top_srcdir=$srcdir ;;
6063 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6064 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6067 # Do not use `cd foo && pwd` to compute absolute paths, because
6068 # the directories may not exist.
6070 .) ac_abs_builddir="$ac_dir";;
6073 .) ac_abs_builddir=`pwd`;;
6074 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6075 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6078 case $ac_abs_builddir in
6079 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6081 case ${ac_top_builddir}. in
6082 .) ac_abs_top_builddir=$ac_abs_builddir;;
6083 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6084 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6087 case $ac_abs_builddir in
6088 .) ac_abs_srcdir=$ac_srcdir;;
6091 .) ac_abs_srcdir=$ac_abs_builddir;;
6092 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6093 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6096 case $ac_abs_builddir in
6097 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6099 case $ac_top_srcdir in
6100 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6101 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6102 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6108 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6109 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6112 if test x"$ac_file" != x-; then
6113 { echo "$as_me:$LINENO: creating $ac_file" >&5
6114 echo "$as_me: creating $ac_file" >&6;}
6117 # Let's still pretend it is `configure' which instantiates (i.e., don't
6118 # use $as_me), people would be surprised to read:
6119 # /* config.h. Generated by config.status. */
6120 if test x"$ac_file" = x-; then
6123 configure_input="$ac_file. "
6125 configure_input=$configure_input"Generated from `echo $ac_file_in |
6126 sed 's,.*/,,'` by configure."
6128 # First look for the input files in the build tree, otherwise in the
6130 ac_file_inputs=`IFS=:
6131 for f in $ac_file_in; do
6133 -) echo $tmp/stdin ;;
6135 # Absolute (can't be DOS-style, as IFS=:)
6136 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6137 echo "$as_me: error: cannot find input file: $f" >&2;}
6138 { (exit 1); exit 1; }; }
6141 if test -f "$f"; then
6144 elif test -f "$srcdir/$f"; then
6149 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6150 echo "$as_me: error: cannot find input file: $f" >&2;}
6151 { (exit 1); exit 1; }; }
6154 done` || { (exit 1); exit 1; }
6156 cat >>$CONFIG_STATUS <<_ACEOF
6160 cat >>$CONFIG_STATUS <<\_ACEOF
6162 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6163 s,@configure_input@,$configure_input,;t t
6164 s,@srcdir@,$ac_srcdir,;t t
6165 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6166 s,@top_srcdir@,$ac_top_srcdir,;t t
6167 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6168 s,@builddir@,$ac_builddir,;t t
6169 s,@abs_builddir@,$ac_abs_builddir,;t t
6170 s,@top_builddir@,$ac_top_builddir,;t t
6171 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6172 s,@INSTALL@,$ac_INSTALL,;t t
6173 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6175 if test x"$ac_file" != x-; then
6176 mv $tmp/out $ac_file
6184 cat >>$CONFIG_STATUS <<\_ACEOF
6187 # CONFIG_HEADER section.
6190 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6191 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6193 # ac_d sets the value in "#define NAME VALUE" lines.
6194 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6195 ac_dB='[ ].*$,\1#\2'
6198 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6199 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6200 ac_uB='$,\1#\2define\3'
6204 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6205 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6207 - | *:- | *:-:* ) # input from stdin
6209 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6210 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6211 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6212 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6213 * ) ac_file_in=$ac_file.in ;;
6216 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6217 echo "$as_me: creating $ac_file" >&6;}
6219 # First look for the input files in the build tree, otherwise in the
6221 ac_file_inputs=`IFS=:
6222 for f in $ac_file_in; do
6224 -) echo $tmp/stdin ;;
6226 # Absolute (can't be DOS-style, as IFS=:)
6227 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6228 echo "$as_me: error: cannot find input file: $f" >&2;}
6229 { (exit 1); exit 1; }; }
6230 # Do quote $f, to prevent DOS paths from being IFS'd.
6233 if test -f "$f"; then
6236 elif test -f "$srcdir/$f"; then
6241 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6242 echo "$as_me: error: cannot find input file: $f" >&2;}
6243 { (exit 1); exit 1; }; }
6246 done` || { (exit 1); exit 1; }
6247 # Remove the trailing spaces.
6248 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6252 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6253 # `conftest.undefs', that substitutes the proper values into
6254 # config.h.in to produce config.h. The first handles `#define'
6255 # templates, and the second `#undef' templates.
6256 # And first: Protect against being on the right side of a sed subst in
6257 # config.status. Protect against being in an unquoted here document
6259 rm -f conftest.defines conftest.undefs
6260 # Using a here document instead of a string reduces the quoting nightmare.
6261 # Putting comments in sed scripts is not portable.
6263 # `end' is used to avoid that the second main sed command (meant for
6264 # 0-ary CPP macros) applies to n-ary macro definitions.
6265 # See the Autoconf documentation for `clear'.
6266 cat >confdef2sed.sed <<\_ACEOF
6271 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6273 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6276 # If some macros were called several times there might be several times
6277 # the same #defines, which is useless. Nevertheless, we may not want to
6278 # sort them, since we want the *last* AC-DEFINE to be honored.
6279 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6280 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6281 rm -f confdef2sed.sed
6283 # This sed command replaces #undef with comments. This is necessary, for
6284 # example, in the case of _POSIX_SOURCE, which is predefined and required
6285 # on some systems where configure will not decide to define it.
6286 cat >>conftest.undefs <<\_ACEOF
6287 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6290 # Break up conftest.defines because some shells have a limit on the size
6291 # of here documents, and old seds have small limits too (100 cmds).
6292 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6293 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6294 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6295 echo ' :' >>$CONFIG_STATUS
6297 while grep . conftest.defines >/dev/null
6299 # Write a limited-size here document to $tmp/defines.sed.
6300 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6301 # Speed up: don't consider the non `#define' lines.
6302 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6303 # Work around the forget-to-reset-the-flag bug.
6304 echo 't clr' >>$CONFIG_STATUS
6305 echo ': clr' >>$CONFIG_STATUS
6306 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6308 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6312 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6313 rm -f conftest.defines
6314 mv conftest.tail conftest.defines
6316 rm -f conftest.defines
6317 echo ' fi # grep' >>$CONFIG_STATUS
6318 echo >>$CONFIG_STATUS
6320 # Break up conftest.undefs because some shells have a limit on the size
6321 # of here documents, and old seds have small limits too (100 cmds).
6322 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6324 while grep . conftest.undefs >/dev/null
6326 # Write a limited-size here document to $tmp/undefs.sed.
6327 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6328 # Speed up: don't consider the non `#undef'
6329 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6330 # Work around the forget-to-reset-the-flag bug.
6331 echo 't clr' >>$CONFIG_STATUS
6332 echo ': clr' >>$CONFIG_STATUS
6333 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6335 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6339 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6340 rm -f conftest.undefs
6341 mv conftest.tail conftest.undefs
6343 rm -f conftest.undefs
6345 cat >>$CONFIG_STATUS <<\_ACEOF
6346 # Let's still pretend it is `configure' which instantiates (i.e., don't
6347 # use $as_me), people would be surprised to read:
6348 # /* config.h. Generated by config.status. */
6349 if test x"$ac_file" = x-; then
6350 echo "/* Generated by configure. */" >$tmp/config.h
6352 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6354 cat $tmp/in >>$tmp/config.h
6356 if test x"$ac_file" != x-; then
6357 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6358 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6359 echo "$as_me: $ac_file is unchanged" >&6;}
6361 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6362 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6363 X"$ac_file" : 'X\(//\)[^/]' \| \
6364 X"$ac_file" : 'X\(//\)$' \| \
6365 X"$ac_file" : 'X\(/\)' \| \
6366 . : '\(.\)' 2>/dev/null ||
6368 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6369 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6370 /^X\(\/\/\)$/{ s//\1/; q; }
6371 /^X\(\/\).*/{ s//\1/; q; }
6373 { if $as_mkdir_p; then
6378 while test ! -d "$as_dir"; do
6379 as_dirs="$as_dir $as_dirs"
6380 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6381 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6382 X"$as_dir" : 'X\(//\)[^/]' \| \
6383 X"$as_dir" : 'X\(//\)$' \| \
6384 X"$as_dir" : 'X\(/\)' \| \
6385 . : '\(.\)' 2>/dev/null ||
6387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6388 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6389 /^X\(\/\/\)$/{ s//\1/; q; }
6390 /^X\(\/\).*/{ s//\1/; q; }
6393 test ! -n "$as_dirs" || mkdir $as_dirs
6394 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6395 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6396 { (exit 1); exit 1; }; }; }
6399 mv $tmp/config.h $ac_file
6407 cat >>$CONFIG_STATUS <<\_ACEOF
6410 # CONFIG_COMMANDS section.
6412 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6413 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6414 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6415 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6416 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6417 X"$ac_dest" : 'X\(//\)[^/]' \| \
6418 X"$ac_dest" : 'X\(//\)$' \| \
6419 X"$ac_dest" : 'X\(/\)' \| \
6420 . : '\(.\)' 2>/dev/null ||
6422 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6423 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6424 /^X\(\/\/\)$/{ s//\1/; q; }
6425 /^X\(\/\).*/{ s//\1/; q; }
6427 { if $as_mkdir_p; then
6432 while test ! -d "$as_dir"; do
6433 as_dirs="$as_dir $as_dirs"
6434 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6435 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6436 X"$as_dir" : 'X\(//\)[^/]' \| \
6437 X"$as_dir" : 'X\(//\)$' \| \
6438 X"$as_dir" : 'X\(/\)' \| \
6439 . : '\(.\)' 2>/dev/null ||
6441 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6442 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6443 /^X\(\/\/\)$/{ s//\1/; q; }
6444 /^X\(\/\).*/{ s//\1/; q; }
6447 test ! -n "$as_dirs" || mkdir $as_dirs
6448 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6449 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6450 { (exit 1); exit 1; }; }; }
6454 if test "$ac_dir" != .; then
6455 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6456 # A "../" for each directory in $ac_dir_suffix.
6457 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6459 ac_dir_suffix= ac_top_builddir=
6463 .) # No --srcdir option. We are building in place.
6465 if test -z "$ac_top_builddir"; then
6468 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6470 [\\/]* | ?:[\\/]* ) # Absolute path.
6471 ac_srcdir=$srcdir$ac_dir_suffix;
6472 ac_top_srcdir=$srcdir ;;
6474 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6475 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6478 # Do not use `cd foo && pwd` to compute absolute paths, because
6479 # the directories may not exist.
6481 .) ac_abs_builddir="$ac_dir";;
6484 .) ac_abs_builddir=`pwd`;;
6485 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6486 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6489 case $ac_abs_builddir in
6490 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6492 case ${ac_top_builddir}. in
6493 .) ac_abs_top_builddir=$ac_abs_builddir;;
6494 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6495 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6498 case $ac_abs_builddir in
6499 .) ac_abs_srcdir=$ac_srcdir;;
6502 .) ac_abs_srcdir=$ac_abs_builddir;;
6503 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6504 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6507 case $ac_abs_builddir in
6508 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6510 case $ac_top_srcdir in
6511 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6512 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6513 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6518 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6519 echo "$as_me: executing $ac_dest commands" >&6;}
6521 default ) touch stamp-h ;;
6526 cat >>$CONFIG_STATUS <<\_ACEOF
6528 { (exit 0); exit 0; }
6530 chmod +x $CONFIG_STATUS
6531 ac_clean_files=$ac_clean_files_save
6534 # configure is writing to config.log, and then calls config.status.
6535 # config.status does its own redirection, appending to config.log.
6536 # Unfortunately, on DOS this fails, as config.log is still kept open
6537 # by configure, so config.status won't be able to write to it; its
6538 # output is simply discarded. So we exec the FD to /dev/null,
6539 # effectively closing config.log, so it can be properly (re)opened and
6540 # appended to by config.status. When coming back to configure, we
6541 # need to make the FD available again.
6542 if test "$no_create" != yes; then
6544 ac_config_status_args=
6545 test "$silent" = yes &&
6546 ac_config_status_args="$ac_config_status_args --quiet"
6548 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6550 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6551 # would make configure fail if this is the last instruction.
6552 $ac_cs_success || { (exit 1); exit 1; }
6556 $AWK -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h