2 # From configure.in Id: configure.in 2 2005-10-20 14:40:41Z boesler .
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_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 --disable-external-effects disable descriptions of external effects in XML
859 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
860 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
861 --with-plugins=list include external libfirm plugins list (space separated)
862 --with-includedir=add colon seperated list of directories to include search path
863 --with-libdir=add colon seperated list of directories to linker search path
865 Some influential environment variables:
866 CC C compiler command
867 CFLAGS C compiler flags
868 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
869 nonstandard directory <lib dir>
870 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
871 headers in a nonstandard directory <include dir>
874 Use these variables to override the choices made by `configure' or to help
875 it to find libraries and programs with nonstandard names/locations.
880 if test "$ac_init_help" = "recursive"; then
881 # If there are subdirs, report their specific --help.
883 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
884 test -d $ac_dir || continue
887 if test "$ac_dir" != .; then
888 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
889 # A "../" for each directory in $ac_dir_suffix.
890 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
892 ac_dir_suffix= ac_top_builddir=
896 .) # No --srcdir option. We are building in place.
898 if test -z "$ac_top_builddir"; then
901 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
903 [\\/]* | ?:[\\/]* ) # Absolute path.
904 ac_srcdir=$srcdir$ac_dir_suffix;
905 ac_top_srcdir=$srcdir ;;
907 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
908 ac_top_srcdir=$ac_top_builddir$srcdir ;;
911 # Do not use `cd foo && pwd` to compute absolute paths, because
912 # the directories may not exist.
914 .) ac_abs_builddir="$ac_dir";;
917 .) ac_abs_builddir=`pwd`;;
918 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
919 *) ac_abs_builddir=`pwd`/"$ac_dir";;
922 case $ac_abs_builddir in
923 .) ac_abs_top_builddir=${ac_top_builddir}.;;
925 case ${ac_top_builddir}. in
926 .) ac_abs_top_builddir=$ac_abs_builddir;;
927 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
928 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
931 case $ac_abs_builddir in
932 .) ac_abs_srcdir=$ac_srcdir;;
935 .) ac_abs_srcdir=$ac_abs_builddir;;
936 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
937 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
940 case $ac_abs_builddir in
941 .) ac_abs_top_srcdir=$ac_top_srcdir;;
943 case $ac_top_srcdir in
944 .) ac_abs_top_srcdir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
946 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
951 # Check for guested configure; otherwise get Cygnus style configure.
952 if test -f $ac_srcdir/configure.gnu; then
954 $SHELL $ac_srcdir/configure.gnu --help=recursive
955 elif test -f $ac_srcdir/configure; then
957 $SHELL $ac_srcdir/configure --help=recursive
958 elif test -f $ac_srcdir/configure.ac ||
959 test -f $ac_srcdir/configure.in; then
963 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
969 test -n "$ac_init_help" && exit 0
970 if $ac_init_version; then
972 libfirm configure 1.3.0
973 generated by GNU Autoconf 2.59
975 Copyright (C) 2003 Free Software Foundation, Inc.
976 This configure script is free software; the Free Software Foundation
977 gives unlimited permission to copy, distribute and modify it.
983 This file contains any messages produced by compilers while
984 running configure, to aid debugging if configure makes a mistake.
986 It was created by libfirm $as_me 1.3.0, which was
987 generated by GNU Autoconf 2.59. Invocation command line was
998 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
999 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1000 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1001 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1002 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1004 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1005 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1007 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1008 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1009 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1010 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1011 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1012 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1013 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1017 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1021 test -z "$as_dir" && as_dir=.
1022 echo "PATH: $as_dir"
1037 # Keep a trace of the command line.
1038 # Strip out --no-create and --no-recursion so they do not pile up.
1039 # Strip out --silent because we don't want to record it for future runs.
1040 # Also quote any args containing shell meta-characters.
1041 # Make two passes to allow for proper duplicate-argument suppression.
1046 ac_must_keep_next=false
1052 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1053 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1054 | -silent | --silent | --silen | --sile | --sil)
1056 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1057 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1060 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1062 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1063 if test $ac_must_keep_next = true; then
1064 ac_must_keep_next=false # Got value, back to normal.
1067 *=* | --config-cache | -C | -disable-* | --disable-* \
1068 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1069 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1070 | -with-* | --with-* | -without-* | --without-* | --x)
1071 case "$ac_configure_args0 " in
1072 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1075 -* ) ac_must_keep_next=true ;;
1078 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1079 # Get rid of the leading space.
1085 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1086 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1088 # When interrupted or exit'd, cleanup temporary files, and complete
1089 # config.log. We remove comments because anyway the quotes in there
1090 # would cause problems or look ugly.
1091 # WARNING: Be sure not to use single quotes in there, as some shells,
1092 # such as our DU 5.0 friend, will then `close' the trap.
1093 trap 'exit_status=$?
1094 # Save into config.log some information that might help in debugging.
1099 ## ---------------- ##
1100 ## Cache variables. ##
1101 ## ---------------- ##
1104 # The following way of writing the cache mishandles newlines in values,
1107 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1110 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1111 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1115 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1122 ## ----------------- ##
1123 ## Output variables. ##
1124 ## ----------------- ##
1127 for ac_var in $ac_subst_vars
1129 eval ac_val=$`echo $ac_var`
1130 echo "$ac_var='"'"'$ac_val'"'"'"
1134 if test -n "$ac_subst_files"; then
1141 for ac_var in $ac_subst_files
1143 eval ac_val=$`echo $ac_var`
1144 echo "$ac_var='"'"'$ac_val'"'"'"
1149 if test -s confdefs.h; then
1156 sed "/^$/d" confdefs.h | sort
1159 test "$ac_signal" != 0 &&
1160 echo "$as_me: caught signal $ac_signal"
1161 echo "$as_me: exit $exit_status"
1163 rm -f core *.core &&
1164 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1167 for ac_signal in 1 2 13 15; do
1168 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1172 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1173 rm -rf conftest* confdefs.h
1174 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1177 # Predefined preprocessor variables.
1179 cat >>confdefs.h <<_ACEOF
1180 #define PACKAGE_NAME "$PACKAGE_NAME"
1184 cat >>confdefs.h <<_ACEOF
1185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1189 cat >>confdefs.h <<_ACEOF
1190 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1194 cat >>confdefs.h <<_ACEOF
1195 #define PACKAGE_STRING "$PACKAGE_STRING"
1199 cat >>confdefs.h <<_ACEOF
1200 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1204 # Let the site file select an alternate cache file if it wants to.
1205 # Prefer explicitly selected file to automatically selected ones.
1206 if test -z "$CONFIG_SITE"; then
1207 if test "x$prefix" != xNONE; then
1208 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1210 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1213 for ac_site_file in $CONFIG_SITE; do
1214 if test -r "$ac_site_file"; then
1215 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1216 echo "$as_me: loading site script $ac_site_file" >&6;}
1217 sed 's/^/| /' "$ac_site_file" >&5
1222 if test -r "$cache_file"; then
1223 # Some versions of bash will fail to source /dev/null (special
1224 # files actually), so we avoid doing that.
1225 if test -f "$cache_file"; then
1226 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1227 echo "$as_me: loading cache $cache_file" >&6;}
1229 [\\/]* | ?:[\\/]* ) . $cache_file;;
1230 *) . ./$cache_file;;
1234 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1235 echo "$as_me: creating cache $cache_file" >&6;}
1239 # Check that the precious variables saved in the cache have kept the same
1241 ac_cache_corrupted=false
1242 for ac_var in `(set) 2>&1 |
1243 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1244 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1245 eval ac_new_set=\$ac_env_${ac_var}_set
1246 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1247 eval ac_new_val="\$ac_env_${ac_var}_value"
1248 case $ac_old_set,$ac_new_set in
1250 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1251 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1252 ac_cache_corrupted=: ;;
1254 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1255 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1256 ac_cache_corrupted=: ;;
1259 if test "x$ac_old_val" != "x$ac_new_val"; then
1260 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1261 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1262 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1263 echo "$as_me: former value: $ac_old_val" >&2;}
1264 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1265 echo "$as_me: current value: $ac_new_val" >&2;}
1266 ac_cache_corrupted=:
1269 # Pass precious variables to config.status.
1270 if test "$ac_new_set" = set; then
1272 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1273 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1274 *) ac_arg=$ac_var=$ac_new_val ;;
1276 case " $ac_configure_args " in
1277 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1278 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1282 if $ac_cache_corrupted; then
1283 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1284 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1285 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1286 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1287 { (exit 1); exit 1; }; }
1291 ac_cpp='$CPP $CPPFLAGS'
1292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1324 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1325 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1326 ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
1327 ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
1328 ir/arch/Makefile ir/lower/Makefile \
1329 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1332 ac_config_headers="$ac_config_headers config.h"
1335 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1338 CONF_DIR_NAME=`dirname $0`
1341 echo "$as_me:$LINENO: checking for external libfirm plugins" >&5
1342 echo $ECHO_N "checking for external libfirm plugins... $ECHO_C" >&6
1344 # Check whether --with-plugins or --without-plugins was given.
1345 if test "${with_plugins+set}" = set; then
1346 withval="$with_plugins"
1348 plugin_subdirs=$withval
1350 for i in $withval ; do
1351 plugin_files="$i/Makefile $plugin_files"
1353 ac_output_file="$ac_output_file $plugin_files"
1362 if test "$plugin_subdirs" == ""; then
1363 echo "$as_me:$LINENO: result: disabled" >&5
1364 echo "${ECHO_T}disabled" >&6
1366 echo "$as_me:$LINENO: result: $plugin_subdirs" >&5
1367 echo "${ECHO_T}$plugin_subdirs" >&6
1371 # Check whether --with-includedir or --without-includedir was given.
1372 if test "${with_includedir+set}" = set; then
1373 withval="$with_includedir"
1374 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1378 # Check whether --with-libdir or --without-libdir was given.
1379 if test "${with_libdir+set}" = set; then
1380 withval="$with_libdir"
1381 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1385 # Extract the first word of "xml2-config", so it can be a program name with args.
1386 set dummy xml2-config; ac_word=$2
1387 echo "$as_me:$LINENO: checking for $ac_word" >&5
1388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1389 if test "${ac_cv_prog_XML2CONFIG+set}" = set; then
1390 echo $ECHO_N "(cached) $ECHO_C" >&6
1392 if test -n "$XML2CONFIG"; then
1393 ac_cv_prog_XML2CONFIG="$XML2CONFIG" # Let the user override the test.
1395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1399 test -z "$as_dir" && as_dir=.
1400 for ac_exec_ext in '' $ac_executable_extensions; do
1401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1402 ac_cv_prog_XML2CONFIG=""xml2-config""
1403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1409 test -z "$ac_cv_prog_XML2CONFIG" && ac_cv_prog_XML2CONFIG=""echo""
1412 XML2CONFIG=$ac_cv_prog_XML2CONFIG
1413 if test -n "$XML2CONFIG"; then
1414 echo "$as_me:$LINENO: result: $XML2CONFIG" >&5
1415 echo "${ECHO_T}$XML2CONFIG" >&6
1417 echo "$as_me:$LINENO: result: no" >&5
1418 echo "${ECHO_T}no" >&6
1421 if test "$XML2CONFIG" != "xml2-config"; then
1422 { { echo "$as_me:$LINENO: error: xml2-config for detecting libxml2 not found" >&5
1423 echo "$as_me: error: xml2-config for detecting libxml2 not found" >&2;}
1424 { (exit 1); exit 1; }; }
1427 LDFLAGS=$LDFLAGS" -L/usr/lib `$XML2CONFIG --libs`";
1428 CPPFLAGS=$CPPFLAGS" `$XML2CONFIG --cflags`";
1430 # Check whether --enable-debug or --disable-debug was given.
1431 if test "${enable_debug+set}" = set; then
1432 enableval="$enable_debug"
1433 if test "$enableval" = yes; then
1434 cat >>confdefs.h <<\_ACEOF
1435 #define DEBUG_libfirm 1
1439 cat >>confdefs.h <<\_ACEOF
1447 # Check whether --enable-inlining or --disable-inlining was given.
1448 if test "${enable_inlining+set}" = set; then
1449 enableval="$enable_inlining"
1450 if test "$enableval" = yes; then
1451 cat >>confdefs.h <<\_ACEOF
1452 #define USE_INLINING 1
1457 cat >>confdefs.h <<\_ACEOF
1458 #define USE_INLINING 1
1464 # Check whether --enable-profile or --disable-profile was given.
1465 if test "${enable_profile+set}" = set; then
1466 enableval="$enable_profile"
1467 if test "$enableval"=yes; then
1468 enable_profile_libfirm=yes
1471 enable_profile_libfirm=no
1475 # Check whether --enable-autodoc or --disable-autodoc was given.
1476 if test "${enable_autodoc+set}" = set; then
1477 enableval="$enable_autodoc"
1478 if test "$enableval"=yes; then
1479 enable_auto_documentation=yes
1482 enable_auto_documentation=no
1487 # Check whether --enable-firmjni or --disable-firmjni was given.
1488 if test "${enable_firmjni+set}" = set; then
1489 enableval="$enable_firmjni"
1490 if test "$enableval"=yes; then
1498 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1499 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1500 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1501 if test "${enable_heapanalysis+set}" = set; then
1502 enableval="$enable_heapanalysis"
1503 enable_heapanalysis=$enableval
1505 enable_heapanalysis="no"
1507 if test "$enable_heapanalysis" = "no"; then
1508 echo "$as_me:$LINENO: result: disabled" >&5
1509 echo "${ECHO_T}disabled" >&6
1511 cat >>confdefs.h <<\_ACEOF
1512 #define DO_HEAPANALYSIS 1
1515 echo "$as_me:$LINENO: result: enabled" >&5
1516 echo "${ECHO_T}enabled" >&6
1520 # Check whether --enable-libiberty or --disable-libiberty was given.
1521 if test "${enable_libiberty+set}" = set; then
1522 enableval="$enable_libiberty"
1523 if test "$enableval"=yes; then
1524 disable_libiberty=yes
1527 disable_libiberty=no
1531 # Check whether --enable-hooks or --disable-hooks was given.
1532 if test "${enable_hooks+set}" = set; then
1533 enableval="$enable_hooks"
1534 if test "$enableval" = yes; then
1535 cat >>confdefs.h <<\_ACEOF
1536 #define FIRM_ENABLE_HOOKS 1
1541 cat >>confdefs.h <<\_ACEOF
1542 #define FIRM_ENABLE_HOOKS 1
1548 # Check whether --enable-inplace_edges or --disable-inplace_edges was given.
1549 if test "${enable_inplace_edges+set}" = set; then
1550 enableval="$enable_inplace_edges"
1551 if test "$enableval" = yes; then
1552 cat >>confdefs.h <<\_ACEOF
1553 #define FIRM_EDGES_INPLACE 1
1558 cat >>confdefs.h <<\_ACEOF
1559 #define FIRM_EDGES_INPLACE 1
1565 # Check whether --enable-statistics or --disable-statistics was given.
1566 if test "${enable_statistics+set}" = set; then
1567 enableval="$enable_statistics"
1568 if test "$enableval"=yes; then
1569 cat >>confdefs.h <<\_ACEOF
1570 #define FIRM_STATISTICS 1
1577 # Check whether --enable-libcore or --disable-libcore was given.
1578 if test "${enable_libcore+set}" = set; then
1579 enableval="$enable_libcore"
1580 if test "$enableval"=yes; then
1581 cat >>confdefs.h <<\_ACEOF
1582 #define WITH_LIBCORE 1
1589 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1590 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1591 # Check whether --enable-external-effects or --disable-external-effects was given.
1592 if test "${enable_external_effects+set}" = set; then
1593 enableval="$enable_external_effects"
1594 if test "$enableval"="no"; then
1595 enable_external_effects=no
1598 enable_external_effects=yes
1601 if test "$enable_external_effects" == no; then
1602 echo "$as_me:$LINENO: result: disabled" >&5
1603 echo "${ECHO_T}disabled" >&6
1605 echo "$as_me:$LINENO: result: enabled" >&5
1606 echo "${ECHO_T}enabled" >&6
1611 ac_cpp='$CPP $CPPFLAGS'
1612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1615 if test -n "$ac_tool_prefix"; then
1616 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1617 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1618 echo "$as_me:$LINENO: checking for $ac_word" >&5
1619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1620 if test "${ac_cv_prog_CC+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 if test -n "$CC"; then
1624 ac_cv_prog_CC="$CC" # Let the user override the test.
1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 test -z "$as_dir" && as_dir=.
1631 for ac_exec_ext in '' $ac_executable_extensions; do
1632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1633 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1643 if test -n "$CC"; then
1644 echo "$as_me:$LINENO: result: $CC" >&5
1645 echo "${ECHO_T}$CC" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1652 if test -z "$ac_cv_prog_CC"; then
1654 # Extract the first word of "gcc", so it can be a program name with args.
1655 set dummy gcc; ac_word=$2
1656 echo "$as_me:$LINENO: checking for $ac_word" >&5
1657 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1658 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1659 echo $ECHO_N "(cached) $ECHO_C" >&6
1661 if test -n "$ac_ct_CC"; then
1662 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1668 test -z "$as_dir" && as_dir=.
1669 for ac_exec_ext in '' $ac_executable_extensions; do
1670 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1671 ac_cv_prog_ac_ct_CC="gcc"
1672 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1680 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1681 if test -n "$ac_ct_CC"; then
1682 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1683 echo "${ECHO_T}$ac_ct_CC" >&6
1685 echo "$as_me:$LINENO: result: no" >&5
1686 echo "${ECHO_T}no" >&6
1694 if test -z "$CC"; then
1695 if test -n "$ac_tool_prefix"; then
1696 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1697 set dummy ${ac_tool_prefix}cc; ac_word=$2
1698 echo "$as_me:$LINENO: checking for $ac_word" >&5
1699 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1700 if test "${ac_cv_prog_CC+set}" = set; then
1701 echo $ECHO_N "(cached) $ECHO_C" >&6
1703 if test -n "$CC"; then
1704 ac_cv_prog_CC="$CC" # Let the user override the test.
1706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1710 test -z "$as_dir" && as_dir=.
1711 for ac_exec_ext in '' $ac_executable_extensions; do
1712 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1713 ac_cv_prog_CC="${ac_tool_prefix}cc"
1714 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1723 if test -n "$CC"; then
1724 echo "$as_me:$LINENO: result: $CC" >&5
1725 echo "${ECHO_T}$CC" >&6
1727 echo "$as_me:$LINENO: result: no" >&5
1728 echo "${ECHO_T}no" >&6
1732 if test -z "$ac_cv_prog_CC"; then
1734 # Extract the first word of "cc", so it can be a program name with args.
1735 set dummy cc; ac_word=$2
1736 echo "$as_me:$LINENO: checking for $ac_word" >&5
1737 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1738 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1739 echo $ECHO_N "(cached) $ECHO_C" >&6
1741 if test -n "$ac_ct_CC"; then
1742 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1748 test -z "$as_dir" && as_dir=.
1749 for ac_exec_ext in '' $ac_executable_extensions; do
1750 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1751 ac_cv_prog_ac_ct_CC="cc"
1752 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1760 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1761 if test -n "$ac_ct_CC"; then
1762 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1763 echo "${ECHO_T}$ac_ct_CC" >&6
1765 echo "$as_me:$LINENO: result: no" >&5
1766 echo "${ECHO_T}no" >&6
1775 if test -z "$CC"; then
1776 # Extract the first word of "cc", so it can be a program name with args.
1777 set dummy cc; ac_word=$2
1778 echo "$as_me:$LINENO: checking for $ac_word" >&5
1779 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1780 if test "${ac_cv_prog_CC+set}" = set; then
1781 echo $ECHO_N "(cached) $ECHO_C" >&6
1783 if test -n "$CC"; then
1784 ac_cv_prog_CC="$CC" # Let the user override the test.
1787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1791 test -z "$as_dir" && as_dir=.
1792 for ac_exec_ext in '' $ac_executable_extensions; do
1793 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1794 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1795 ac_prog_rejected=yes
1799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1805 if test $ac_prog_rejected = yes; then
1806 # We found a bogon in the path, so make sure we never use it.
1807 set dummy $ac_cv_prog_CC
1809 if test $# != 0; then
1810 # We chose a different compiler from the bogus one.
1811 # However, it has the same basename, so the bogon will be chosen
1812 # first if we set CC to just the basename; use the full file name.
1814 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1820 if test -n "$CC"; then
1821 echo "$as_me:$LINENO: result: $CC" >&5
1822 echo "${ECHO_T}$CC" >&6
1824 echo "$as_me:$LINENO: result: no" >&5
1825 echo "${ECHO_T}no" >&6
1829 if test -z "$CC"; then
1830 if test -n "$ac_tool_prefix"; then
1833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1834 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1835 echo "$as_me:$LINENO: checking for $ac_word" >&5
1836 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1837 if test "${ac_cv_prog_CC+set}" = set; then
1838 echo $ECHO_N "(cached) $ECHO_C" >&6
1840 if test -n "$CC"; then
1841 ac_cv_prog_CC="$CC" # Let the user override the test.
1843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1847 test -z "$as_dir" && as_dir=.
1848 for ac_exec_ext in '' $ac_executable_extensions; do
1849 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1850 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1851 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1860 if test -n "$CC"; then
1861 echo "$as_me:$LINENO: result: $CC" >&5
1862 echo "${ECHO_T}$CC" >&6
1864 echo "$as_me:$LINENO: result: no" >&5
1865 echo "${ECHO_T}no" >&6
1868 test -n "$CC" && break
1871 if test -z "$CC"; then
1875 # Extract the first word of "$ac_prog", so it can be a program name with args.
1876 set dummy $ac_prog; ac_word=$2
1877 echo "$as_me:$LINENO: checking for $ac_word" >&5
1878 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1879 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test -n "$ac_ct_CC"; then
1883 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1889 test -z "$as_dir" && as_dir=.
1890 for ac_exec_ext in '' $ac_executable_extensions; do
1891 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1892 ac_cv_prog_ac_ct_CC="$ac_prog"
1893 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1901 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1902 if test -n "$ac_ct_CC"; then
1903 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1904 echo "${ECHO_T}$ac_ct_CC" >&6
1906 echo "$as_me:$LINENO: result: no" >&5
1907 echo "${ECHO_T}no" >&6
1910 test -n "$ac_ct_CC" && break
1919 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1920 See \`config.log' for more details." >&5
1921 echo "$as_me: error: no acceptable C compiler found in \$PATH
1922 See \`config.log' for more details." >&2;}
1923 { (exit 1); exit 1; }; }
1925 # Provide some information about the compiler.
1926 echo "$as_me:$LINENO:" \
1927 "checking for C compiler version" >&5
1928 ac_compiler=`set X $ac_compile; echo $2`
1929 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1930 (eval $ac_compiler --version </dev/null >&5) 2>&5
1932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1933 (exit $ac_status); }
1934 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1935 (eval $ac_compiler -v </dev/null >&5) 2>&5
1937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1938 (exit $ac_status); }
1939 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1940 (eval $ac_compiler -V </dev/null >&5) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); }
1945 cat >conftest.$ac_ext <<_ACEOF
1948 cat confdefs.h >>conftest.$ac_ext
1949 cat >>conftest.$ac_ext <<_ACEOF
1950 /* end confdefs.h. */
1960 ac_clean_files_save=$ac_clean_files
1961 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1962 # Try to create an executable without -o first, disregard a.out.
1963 # It will help us diagnose broken compilers, and finding out an intuition
1965 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1966 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1967 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1968 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1969 (eval $ac_link_default) 2>&5
1971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1972 (exit $ac_status); }; then
1973 # Find the output, starting from the most likely. This scheme is
1974 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1977 # Be careful to initialize this variable, since it used to be cached.
1978 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1980 # b.out is created by i960 compilers.
1981 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1983 test -f "$ac_file" || continue
1985 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1988 # This is the source file.
1991 # We found the default executable, but exeext='' is most
1995 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1996 # FIXME: I believe we export ac_cv_exeext for Libtool,
1997 # but it would be cool to find out if it's true. Does anybody
1998 # maintain Libtool? --akim.
2006 echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2009 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2010 See \`config.log' for more details." >&5
2011 echo "$as_me: error: C compiler cannot create executables
2012 See \`config.log' for more details." >&2;}
2013 { (exit 77); exit 77; }; }
2016 ac_exeext=$ac_cv_exeext
2017 echo "$as_me:$LINENO: result: $ac_file" >&5
2018 echo "${ECHO_T}$ac_file" >&6
2020 # Check the compiler produces executables we can run. If not, either
2021 # the compiler is broken, or we cross compile.
2022 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2023 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2024 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2025 # If not cross compiling, check that we can run a simple program.
2026 if test "$cross_compiling" != yes; then
2027 if { ac_try='./$ac_file'
2028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2032 (exit $ac_status); }; }; then
2035 if test "$cross_compiling" = maybe; then
2038 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2039 If you meant to cross compile, use \`--host'.
2040 See \`config.log' for more details." >&5
2041 echo "$as_me: error: cannot run C compiled programs.
2042 If you meant to cross compile, use \`--host'.
2043 See \`config.log' for more details." >&2;}
2044 { (exit 1); exit 1; }; }
2048 echo "$as_me:$LINENO: result: yes" >&5
2049 echo "${ECHO_T}yes" >&6
2051 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2052 ac_clean_files=$ac_clean_files_save
2053 # Check the compiler produces executables we can run. If not, either
2054 # the compiler is broken, or we cross compile.
2055 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2056 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2057 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2058 echo "${ECHO_T}$cross_compiling" >&6
2060 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2061 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2063 (eval $ac_link) 2>&5
2065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2066 (exit $ac_status); }; then
2067 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2068 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2069 # work properly (i.e., refer to `conftest.exe'), while it won't with
2071 for ac_file in conftest.exe conftest conftest.*; do
2072 test -f "$ac_file" || continue
2074 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2075 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2082 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2083 See \`config.log' for more details." >&5
2084 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2085 See \`config.log' for more details." >&2;}
2086 { (exit 1); exit 1; }; }
2089 rm -f conftest$ac_cv_exeext
2090 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2091 echo "${ECHO_T}$ac_cv_exeext" >&6
2093 rm -f conftest.$ac_ext
2094 EXEEXT=$ac_cv_exeext
2096 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2097 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2098 if test "${ac_cv_objext+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 cat >conftest.$ac_ext <<_ACEOF
2104 cat confdefs.h >>conftest.$ac_ext
2105 cat >>conftest.$ac_ext <<_ACEOF
2106 /* end confdefs.h. */
2116 rm -f conftest.o conftest.obj
2117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2118 (eval $ac_compile) 2>&5
2120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2121 (exit $ac_status); }; then
2122 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2125 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2130 echo "$as_me: failed program was:" >&5
2131 sed 's/^/| /' conftest.$ac_ext >&5
2133 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2134 See \`config.log' for more details." >&5
2135 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2136 See \`config.log' for more details." >&2;}
2137 { (exit 1); exit 1; }; }
2140 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2142 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2143 echo "${ECHO_T}$ac_cv_objext" >&6
2144 OBJEXT=$ac_cv_objext
2146 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2147 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2148 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2149 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 cat >conftest.$ac_ext <<_ACEOF
2154 cat confdefs.h >>conftest.$ac_ext
2155 cat >>conftest.$ac_ext <<_ACEOF
2156 /* end confdefs.h. */
2169 rm -f conftest.$ac_objext
2170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2171 (eval $ac_compile) 2>conftest.er1
2173 grep -v '^ *+' conftest.er1 >conftest.err
2175 cat conftest.err >&5
2176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2177 (exit $ac_status); } &&
2178 { ac_try='test -z "$ac_c_werror_flag"
2179 || test ! -s conftest.err'
2180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2184 (exit $ac_status); }; } &&
2185 { ac_try='test -s conftest.$ac_objext'
2186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2190 (exit $ac_status); }; }; then
2193 echo "$as_me: failed program was:" >&5
2194 sed 's/^/| /' conftest.$ac_ext >&5
2198 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2199 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2202 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2203 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2204 GCC=`test $ac_compiler_gnu = yes && echo yes`
2205 ac_test_CFLAGS=${CFLAGS+set}
2206 ac_save_CFLAGS=$CFLAGS
2208 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2209 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2210 if test "${ac_cv_prog_cc_g+set}" = set; then
2211 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 cat >conftest.$ac_ext <<_ACEOF
2216 cat confdefs.h >>conftest.$ac_ext
2217 cat >>conftest.$ac_ext <<_ACEOF
2218 /* end confdefs.h. */
2228 rm -f conftest.$ac_objext
2229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2230 (eval $ac_compile) 2>conftest.er1
2232 grep -v '^ *+' conftest.er1 >conftest.err
2234 cat conftest.err >&5
2235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2236 (exit $ac_status); } &&
2237 { ac_try='test -z "$ac_c_werror_flag"
2238 || test ! -s conftest.err'
2239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); }; } &&
2244 { ac_try='test -s conftest.$ac_objext'
2245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2249 (exit $ac_status); }; }; then
2252 echo "$as_me: failed program was:" >&5
2253 sed 's/^/| /' conftest.$ac_ext >&5
2257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2259 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2260 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2261 if test "$ac_test_CFLAGS" = set; then
2262 CFLAGS=$ac_save_CFLAGS
2263 elif test $ac_cv_prog_cc_g = yes; then
2264 if test "$GCC" = yes; then
2270 if test "$GCC" = yes; then
2276 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2277 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2278 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2279 echo $ECHO_N "(cached) $ECHO_C" >&6
2281 ac_cv_prog_cc_stdc=no
2283 cat >conftest.$ac_ext <<_ACEOF
2286 cat confdefs.h >>conftest.$ac_ext
2287 cat >>conftest.$ac_ext <<_ACEOF
2288 /* end confdefs.h. */
2291 #include <sys/types.h>
2292 #include <sys/stat.h>
2293 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2294 struct buf { int x; };
2295 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2296 static char *e (p, i)
2302 static char *f (char * (*g) (char **, int), char **p, ...)
2307 s = g (p, va_arg (v,int));
2312 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2313 function prototypes and stuff, but not '\xHH' hex character constants.
2314 These don't provoke an error unfortunately, instead are silently treated
2315 as 'x'. The following induces an error, until -std1 is added to get
2316 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2317 array size at least. It's necessary to write '\x00'==0 to get something
2318 that's true only with -std1. */
2319 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2321 int test (int i, double x);
2322 struct s1 {int (*f) (int a);};
2323 struct s2 {int (*f) (double a);};
2324 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2330 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2335 # Don't try gcc -ansi; that turns off useful extensions and
2336 # breaks some systems' header files.
2337 # AIX -qlanglvl=ansi
2338 # Ultrix and OSF/1 -std1
2339 # HP-UX 10.20 and later -Ae
2340 # HP-UX older versions -Aa -D_HPUX_SOURCE
2341 # SVR4 -Xc -D__EXTENSIONS__
2342 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2344 CC="$ac_save_CC $ac_arg"
2345 rm -f conftest.$ac_objext
2346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2347 (eval $ac_compile) 2>conftest.er1
2349 grep -v '^ *+' conftest.er1 >conftest.err
2351 cat conftest.err >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); } &&
2354 { ac_try='test -z "$ac_c_werror_flag"
2355 || test ! -s conftest.err'
2356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }; } &&
2361 { ac_try='test -s conftest.$ac_objext'
2362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2366 (exit $ac_status); }; }; then
2367 ac_cv_prog_cc_stdc=$ac_arg
2370 echo "$as_me: failed program was:" >&5
2371 sed 's/^/| /' conftest.$ac_ext >&5
2374 rm -f conftest.err conftest.$ac_objext
2376 rm -f conftest.$ac_ext conftest.$ac_objext
2381 case "x$ac_cv_prog_cc_stdc" in
2383 echo "$as_me:$LINENO: result: none needed" >&5
2384 echo "${ECHO_T}none needed" >&6 ;;
2386 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2387 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2388 CC="$CC $ac_cv_prog_cc_stdc" ;;
2391 # Some people use a C++ compiler to compile C. Since we use `exit',
2392 # in C++ we need to declare it. In case someone uses the same compiler
2393 # for both compiling C and C++ we need to have the C++ compiler decide
2394 # the declaration of exit, since it's the most demanding environment.
2395 cat >conftest.$ac_ext <<_ACEOF
2400 rm -f conftest.$ac_objext
2401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2402 (eval $ac_compile) 2>conftest.er1
2404 grep -v '^ *+' conftest.er1 >conftest.err
2406 cat conftest.err >&5
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); } &&
2409 { ac_try='test -z "$ac_c_werror_flag"
2410 || test ! -s conftest.err'
2411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2415 (exit $ac_status); }; } &&
2416 { ac_try='test -s conftest.$ac_objext'
2417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2421 (exit $ac_status); }; }; then
2422 for ac_declaration in \
2424 'extern "C" void std::exit (int) throw (); using std::exit;' \
2425 'extern "C" void std::exit (int); using std::exit;' \
2426 'extern "C" void exit (int) throw ();' \
2427 'extern "C" void exit (int);' \
2430 cat >conftest.$ac_ext <<_ACEOF
2433 cat confdefs.h >>conftest.$ac_ext
2434 cat >>conftest.$ac_ext <<_ACEOF
2435 /* end confdefs.h. */
2446 rm -f conftest.$ac_objext
2447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2448 (eval $ac_compile) 2>conftest.er1
2450 grep -v '^ *+' conftest.er1 >conftest.err
2452 cat conftest.err >&5
2453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2454 (exit $ac_status); } &&
2455 { ac_try='test -z "$ac_c_werror_flag"
2456 || test ! -s conftest.err'
2457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2461 (exit $ac_status); }; } &&
2462 { ac_try='test -s conftest.$ac_objext'
2463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); }; }; then
2470 echo "$as_me: failed program was:" >&5
2471 sed 's/^/| /' conftest.$ac_ext >&5
2475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2476 cat >conftest.$ac_ext <<_ACEOF
2479 cat confdefs.h >>conftest.$ac_ext
2480 cat >>conftest.$ac_ext <<_ACEOF
2481 /* end confdefs.h. */
2491 rm -f conftest.$ac_objext
2492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2493 (eval $ac_compile) 2>conftest.er1
2495 grep -v '^ *+' conftest.er1 >conftest.err
2497 cat conftest.err >&5
2498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2499 (exit $ac_status); } &&
2500 { ac_try='test -z "$ac_c_werror_flag"
2501 || test ! -s conftest.err'
2502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; } &&
2507 { ac_try='test -s conftest.$ac_objext'
2508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2512 (exit $ac_status); }; }; then
2515 echo "$as_me: failed program was:" >&5
2516 sed 's/^/| /' conftest.$ac_ext >&5
2519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2522 if test -n "$ac_declaration"; then
2523 echo '#ifdef __cplusplus' >>confdefs.h
2524 echo $ac_declaration >>confdefs.h
2525 echo '#endif' >>confdefs.h
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
2535 ac_cpp='$CPP $CPPFLAGS'
2536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2541 for ac_prog in gawk mawk nawk awk
2543 # Extract the first word of "$ac_prog", so it can be a program name with args.
2544 set dummy $ac_prog; ac_word=$2
2545 echo "$as_me:$LINENO: checking for $ac_word" >&5
2546 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2547 if test "${ac_cv_prog_AWK+set}" = set; then
2548 echo $ECHO_N "(cached) $ECHO_C" >&6
2550 if test -n "$AWK"; then
2551 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2557 test -z "$as_dir" && as_dir=.
2558 for ac_exec_ext in '' $ac_executable_extensions; do
2559 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2560 ac_cv_prog_AWK="$ac_prog"
2561 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2570 if test -n "$AWK"; then
2571 echo "$as_me:$LINENO: result: $AWK" >&5
2572 echo "${ECHO_T}$AWK" >&6
2574 echo "$as_me:$LINENO: result: no" >&5
2575 echo "${ECHO_T}no" >&6
2578 test -n "$AWK" && break
2583 if test -z "$LD"; then
2584 if test -n "$ac_tool_prefix"; then
2585 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2586 set dummy ${ac_tool_prefix}ld; ac_word=$2
2587 echo "$as_me:$LINENO: checking for $ac_word" >&5
2588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2589 if test "${ac_cv_prog_LD+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2592 if test -n "$LD"; then
2593 ac_cv_prog_LD="$LD" # Let the user override the test.
2595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2599 test -z "$as_dir" && as_dir=.
2600 for ac_exec_ext in '' $ac_executable_extensions; do
2601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2602 ac_cv_prog_LD="${ac_tool_prefix}ld"
2603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2612 if test -n "$LD"; then
2613 echo "$as_me:$LINENO: result: $LD" >&5
2614 echo "${ECHO_T}$LD" >&6
2616 echo "$as_me:$LINENO: result: no" >&5
2617 echo "${ECHO_T}no" >&6
2621 if test -z "$ac_cv_prog_LD"; then
2623 # Extract the first word of "ld", so it can be a program name with args.
2624 set dummy ld; ac_word=$2
2625 echo "$as_me:$LINENO: checking for $ac_word" >&5
2626 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2627 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2628 echo $ECHO_N "(cached) $ECHO_C" >&6
2630 if test -n "$ac_ct_LD"; then
2631 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2637 test -z "$as_dir" && as_dir=.
2638 for ac_exec_ext in '' $ac_executable_extensions; do
2639 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2640 ac_cv_prog_ac_ct_LD="ld"
2641 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2649 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2650 if test -n "$ac_ct_LD"; then
2651 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2652 echo "${ECHO_T}$ac_ct_LD" >&6
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2665 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2666 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2667 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2668 echo $ECHO_N "(cached) $ECHO_C" >&6
2671 libfirm_cv_prog_ld_r=no
2673 cat > conftest.$ac_ext <<EOF
2674 int foo() { return 0; }
2676 if eval $ac_compile && mv conftest.o conftest2.o; then
2677 cat > conftest.$ac_ext <<EOF
2679 int main() { return foo(); }
2681 if eval $ac_compile; then
2682 if $LD -r -o conftest conftest.o conftest2.o; then
2683 libfirm_cv_prog_ld_r=yes
2690 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2691 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2694 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2695 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2696 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2697 { (exit 1); exit 1; }; }
2700 # Extract the first word of "ar", so it can be a program name with args.
2701 set dummy ar; ac_word=$2
2702 echo "$as_me:$LINENO: checking for $ac_word" >&5
2703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2704 if test "${ac_cv_prog_AR+set}" = set; then
2705 echo $ECHO_N "(cached) $ECHO_C" >&6
2707 if test -n "$AR"; then
2708 ac_cv_prog_AR="$AR" # Let the user override the test.
2710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2714 test -z "$as_dir" && as_dir=.
2715 for ac_exec_ext in '' $ac_executable_extensions; do
2716 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2717 ac_cv_prog_AR=""ar""
2718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2724 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2728 if test -n "$AR"; then
2729 echo "$as_me:$LINENO: result: $AR" >&5
2730 echo "${ECHO_T}$AR" >&6
2732 echo "$as_me:$LINENO: result: no" >&5
2733 echo "${ECHO_T}no" >&6
2736 if test "$AR" != "ar"; then
2737 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2738 echo "$as_me: error: need ar for creating archives" >&2;}
2739 { (exit 1); exit 1; }; }
2742 # Extract the first word of "tar", so it can be a program name with args.
2743 set dummy tar; ac_word=$2
2744 echo "$as_me:$LINENO: checking for $ac_word" >&5
2745 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2746 if test "${ac_cv_prog_TAR+set}" = set; then
2747 echo $ECHO_N "(cached) $ECHO_C" >&6
2749 if test -n "$TAR"; then
2750 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2756 test -z "$as_dir" && as_dir=.
2757 for ac_exec_ext in '' $ac_executable_extensions; do
2758 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2759 ac_cv_prog_TAR=""tar""
2760 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2766 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2770 if test -n "$TAR"; then
2771 echo "$as_me:$LINENO: result: $TAR" >&5
2772 echo "${ECHO_T}$TAR" >&6
2774 echo "$as_me:$LINENO: result: no" >&5
2775 echo "${ECHO_T}no" >&6
2778 if test "$TAR" != "tar"; then
2779 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2780 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2781 { (exit 1); exit 1; }; }
2785 if test -n "$ac_tool_prefix"; then
2786 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2787 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2788 echo "$as_me:$LINENO: checking for $ac_word" >&5
2789 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2790 if test "${ac_cv_prog_RANLIB+set}" = set; then
2791 echo $ECHO_N "(cached) $ECHO_C" >&6
2793 if test -n "$RANLIB"; then
2794 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 test -z "$as_dir" && as_dir=.
2801 for ac_exec_ext in '' $ac_executable_extensions; do
2802 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2803 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2804 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2812 RANLIB=$ac_cv_prog_RANLIB
2813 if test -n "$RANLIB"; then
2814 echo "$as_me:$LINENO: result: $RANLIB" >&5
2815 echo "${ECHO_T}$RANLIB" >&6
2817 echo "$as_me:$LINENO: result: no" >&5
2818 echo "${ECHO_T}no" >&6
2822 if test -z "$ac_cv_prog_RANLIB"; then
2823 ac_ct_RANLIB=$RANLIB
2824 # Extract the first word of "ranlib", so it can be a program name with args.
2825 set dummy ranlib; ac_word=$2
2826 echo "$as_me:$LINENO: checking for $ac_word" >&5
2827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2828 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2829 echo $ECHO_N "(cached) $ECHO_C" >&6
2831 if test -n "$ac_ct_RANLIB"; then
2832 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir=.
2839 for ac_exec_ext in '' $ac_executable_extensions; do
2840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_ac_ct_RANLIB="ranlib"
2842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2848 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2851 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2852 if test -n "$ac_ct_RANLIB"; then
2853 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2854 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2856 echo "$as_me:$LINENO: result: no" >&5
2857 echo "${ECHO_T}no" >&6
2860 RANLIB=$ac_ct_RANLIB
2862 RANLIB="$ac_cv_prog_RANLIB"
2867 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2868 if test -f $ac_dir/install-sh; then
2870 ac_install_sh="$ac_aux_dir/install-sh -c"
2872 elif test -f $ac_dir/install.sh; then
2874 ac_install_sh="$ac_aux_dir/install.sh -c"
2876 elif test -f $ac_dir/shtool; then
2878 ac_install_sh="$ac_aux_dir/shtool install -c"
2882 if test -z "$ac_aux_dir"; then
2883 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2884 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2885 { (exit 1); exit 1; }; }
2887 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2888 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2889 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2891 # Find a good install program. We prefer a C program (faster),
2892 # so one script is as good as another. But avoid the broken or
2893 # incompatible versions:
2894 # SysV /etc/install, /usr/sbin/install
2895 # SunOS /usr/etc/install
2896 # IRIX /sbin/install
2898 # AmigaOS /C/install, which installs bootblocks on floppy discs
2899 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2900 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2901 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2902 # OS/2's system install, which has a completely different semantic
2903 # ./install, which can be erroneously created by make from ./install.sh.
2904 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2905 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2906 if test -z "$INSTALL"; then
2907 if test "${ac_cv_path_install+set}" = set; then
2908 echo $ECHO_N "(cached) $ECHO_C" >&6
2910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir=.
2915 # Account for people who put trailing slashes in PATH elements.
2917 ./ | .// | /cC/* | \
2918 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2919 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2922 # OSF1 and SCO ODT 3.0 have their own names for install.
2923 # Don't use installbsd from OSF since it installs stuff as root
2925 for ac_prog in ginstall scoinst install; do
2926 for ac_exec_ext in '' $ac_executable_extensions; do
2927 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2928 if test $ac_prog = install &&
2929 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2930 # AIX install. It has an incompatible calling convention.
2932 elif test $ac_prog = install &&
2933 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2934 # program-specific install script used by HP pwplus--don't use.
2937 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2949 if test "${ac_cv_path_install+set}" = set; then
2950 INSTALL=$ac_cv_path_install
2952 # As a last resort, use the slow shell script. We don't cache a
2953 # path for INSTALL within a source directory, because that will
2954 # break other packages using the cache if that directory is
2955 # removed, or if the path is relative.
2956 INSTALL=$ac_install_sh
2959 echo "$as_me:$LINENO: result: $INSTALL" >&5
2960 echo "${ECHO_T}$INSTALL" >&6
2962 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2963 # It thinks the first close brace ends the variable substitution.
2964 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2966 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2968 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2971 touch tmp-install.a tmp-install.b
2972 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
2975 rm tmp-install.a tmp-install.b
2978 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2979 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2981 if test "$LN_S" = "ln -s"; then
2982 echo "$as_me:$LINENO: result: yes" >&5
2983 echo "${ECHO_T}yes" >&6
2985 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2986 echo "${ECHO_T}no, using $LN_S" >&6
2990 if test "$enable_auto_documentation" = yes; then
2991 # Extract the first word of "doxygen", so it can be a program name with args.
2992 set dummy doxygen; ac_word=$2
2993 echo "$as_me:$LINENO: checking for $ac_word" >&5
2994 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2995 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
2996 echo $ECHO_N "(cached) $ECHO_C" >&6
2998 if test -n "$DOXYGEN"; then
2999 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
3001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3005 test -z "$as_dir" && as_dir=.
3006 for ac_exec_ext in '' $ac_executable_extensions; do
3007 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3008 ac_cv_prog_DOXYGEN=""doxygen""
3009 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3015 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
3018 DOXYGEN=$ac_cv_prog_DOXYGEN
3019 if test -n "$DOXYGEN"; then
3020 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
3021 echo "${ECHO_T}$DOXYGEN" >&6
3023 echo "$as_me:$LINENO: result: no" >&5
3024 echo "${ECHO_T}no" >&6
3027 if test "$DOXYGEN" != "doxygen"; then
3028 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
3029 echo "$as_me: error: need doxygen for auto documentation" >&2;}
3030 { (exit 1); exit 1; }; }
3032 # Extract the first word of "dot", so it can be a program name with args.
3033 set dummy dot; ac_word=$2
3034 echo "$as_me:$LINENO: checking for $ac_word" >&5
3035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3036 if test "${ac_cv_prog_DOT+set}" = set; then
3037 echo $ECHO_N "(cached) $ECHO_C" >&6
3039 if test -n "$DOT"; then
3040 ac_cv_prog_DOT="$DOT" # Let the user override the test.
3042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3046 test -z "$as_dir" && as_dir=.
3047 for ac_exec_ext in '' $ac_executable_extensions; do
3048 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3049 ac_cv_prog_DOT=""dot""
3050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
3060 if test -n "$DOT"; then
3061 echo "$as_me:$LINENO: result: $DOT" >&5
3062 echo "${ECHO_T}$DOT" >&6
3064 echo "$as_me:$LINENO: result: no" >&5
3065 echo "${ECHO_T}no" >&6
3068 if test "$DOT" != "dot"; then
3069 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
3070 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
3071 { (exit 1); exit 1; }; }
3075 if test "$enable_firm_jni" = yes; then
3076 # Extract the first word of "javac", so it can be a program name with args.
3077 set dummy javac; ac_word=$2
3078 echo "$as_me:$LINENO: checking for $ac_word" >&5
3079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3080 if test "${ac_cv_prog_JAVAC+set}" = set; then
3081 echo $ECHO_N "(cached) $ECHO_C" >&6
3083 if test -n "$JAVAC"; then
3084 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 test -z "$as_dir" && as_dir=.
3091 for ac_exec_ext in '' $ac_executable_extensions; do
3092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3093 ac_cv_prog_JAVAC=""javac""
3094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3100 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3103 JAVAC=$ac_cv_prog_JAVAC
3104 if test -n "$JAVAC"; then
3105 echo "$as_me:$LINENO: result: $JAVAC" >&5
3106 echo "${ECHO_T}$JAVAC" >&6
3108 echo "$as_me:$LINENO: result: no" >&5
3109 echo "${ECHO_T}no" >&6
3112 if test "$JAVAC" != "javac"; then
3113 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3114 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3115 { (exit 1); exit 1; }; }
3117 # Extract the first word of "javah", so it can be a program name with args.
3118 set dummy javah; ac_word=$2
3119 echo "$as_me:$LINENO: checking for $ac_word" >&5
3120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3121 if test "${ac_cv_prog_JAVAH+set}" = set; then
3122 echo $ECHO_N "(cached) $ECHO_C" >&6
3124 if test -n "$JAVAH"; then
3125 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3131 test -z "$as_dir" && as_dir=.
3132 for ac_exec_ext in '' $ac_executable_extensions; do
3133 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3134 ac_cv_prog_JAVAH=""javah""
3135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3144 JAVAH=$ac_cv_prog_JAVAH
3145 if test -n "$JAVAH"; then
3146 echo "$as_me:$LINENO: result: $JAVAH" >&5
3147 echo "${ECHO_T}$JAVAH" >&6
3149 echo "$as_me:$LINENO: result: no" >&5
3150 echo "${ECHO_T}no" >&6
3153 if test "$JAVAH" != "javah"; then
3154 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3155 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3156 { (exit 1); exit 1; }; }
3164 ac_cpp='$CPP $CPPFLAGS'
3165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3168 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3169 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3170 # On Suns, sometimes $CPP names a directory.
3171 if test -n "$CPP" && test -d "$CPP"; then
3174 if test -z "$CPP"; then
3175 if test "${ac_cv_prog_CPP+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 # Double quotes because CPP needs to be expanded
3179 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3182 for ac_c_preproc_warn_flag in '' yes
3184 # Use a header file that comes with gcc, so configuring glibc
3185 # with a fresh cross-compiler works.
3186 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3187 # <limits.h> exists even on freestanding compilers.
3188 # On the NeXT, cc -E runs the code through the compiler's parser,
3189 # not just through cpp. "Syntax error" is here to catch this case.
3190 cat >conftest.$ac_ext <<_ACEOF
3193 cat confdefs.h >>conftest.$ac_ext
3194 cat >>conftest.$ac_ext <<_ACEOF
3195 /* end confdefs.h. */
3197 # include <limits.h>
3199 # include <assert.h>
3203 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3204 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3206 grep -v '^ *+' conftest.er1 >conftest.err
3208 cat conftest.err >&5
3209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210 (exit $ac_status); } >/dev/null; then
3211 if test -s conftest.err; then
3212 ac_cpp_err=$ac_c_preproc_warn_flag
3213 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3220 if test -z "$ac_cpp_err"; then
3223 echo "$as_me: failed program was:" >&5
3224 sed 's/^/| /' conftest.$ac_ext >&5
3226 # Broken: fails on valid input.
3229 rm -f conftest.err conftest.$ac_ext
3231 # OK, works on sane cases. Now check whether non-existent headers
3232 # can be detected and how.
3233 cat >conftest.$ac_ext <<_ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3239 #include <ac_nonexistent.h>
3241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3244 grep -v '^ *+' conftest.er1 >conftest.err
3246 cat conftest.err >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); } >/dev/null; then
3249 if test -s conftest.err; then
3250 ac_cpp_err=$ac_c_preproc_warn_flag
3251 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3258 if test -z "$ac_cpp_err"; then
3259 # Broken: success on invalid input.
3262 echo "$as_me: failed program was:" >&5
3263 sed 's/^/| /' conftest.$ac_ext >&5
3265 # Passes both tests.
3269 rm -f conftest.err conftest.$ac_ext
3272 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3273 rm -f conftest.err conftest.$ac_ext
3274 if $ac_preproc_ok; then
3286 echo "$as_me:$LINENO: result: $CPP" >&5
3287 echo "${ECHO_T}$CPP" >&6
3289 for ac_c_preproc_warn_flag in '' yes
3291 # Use a header file that comes with gcc, so configuring glibc
3292 # with a fresh cross-compiler works.
3293 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3294 # <limits.h> exists even on freestanding compilers.
3295 # On the NeXT, cc -E runs the code through the compiler's parser,
3296 # not just through cpp. "Syntax error" is here to catch this case.
3297 cat >conftest.$ac_ext <<_ACEOF
3300 cat confdefs.h >>conftest.$ac_ext
3301 cat >>conftest.$ac_ext <<_ACEOF
3302 /* end confdefs.h. */
3304 # include <limits.h>
3306 # include <assert.h>
3310 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3311 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3313 grep -v '^ *+' conftest.er1 >conftest.err
3315 cat conftest.err >&5
3316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3317 (exit $ac_status); } >/dev/null; then
3318 if test -s conftest.err; then
3319 ac_cpp_err=$ac_c_preproc_warn_flag
3320 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3327 if test -z "$ac_cpp_err"; then
3330 echo "$as_me: failed program was:" >&5
3331 sed 's/^/| /' conftest.$ac_ext >&5
3333 # Broken: fails on valid input.
3336 rm -f conftest.err conftest.$ac_ext
3338 # OK, works on sane cases. Now check whether non-existent headers
3339 # can be detected and how.
3340 cat >conftest.$ac_ext <<_ACEOF
3343 cat confdefs.h >>conftest.$ac_ext
3344 cat >>conftest.$ac_ext <<_ACEOF
3345 /* end confdefs.h. */
3346 #include <ac_nonexistent.h>
3348 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3349 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3351 grep -v '^ *+' conftest.er1 >conftest.err
3353 cat conftest.err >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } >/dev/null; then
3356 if test -s conftest.err; then
3357 ac_cpp_err=$ac_c_preproc_warn_flag
3358 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3365 if test -z "$ac_cpp_err"; then
3366 # Broken: success on invalid input.
3369 echo "$as_me: failed program was:" >&5
3370 sed 's/^/| /' conftest.$ac_ext >&5
3372 # Passes both tests.
3376 rm -f conftest.err conftest.$ac_ext
3379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3380 rm -f conftest.err conftest.$ac_ext
3381 if $ac_preproc_ok; then
3384 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3385 See \`config.log' for more details." >&5
3386 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3387 See \`config.log' for more details." >&2;}
3388 { (exit 1); exit 1; }; }
3392 ac_cpp='$CPP $CPPFLAGS'
3393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3398 echo "$as_me:$LINENO: checking for egrep" >&5
3399 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3400 if test "${ac_cv_prog_egrep+set}" = set; then
3401 echo $ECHO_N "(cached) $ECHO_C" >&6
3403 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3404 then ac_cv_prog_egrep='grep -E'
3405 else ac_cv_prog_egrep='egrep'
3408 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3409 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3410 EGREP=$ac_cv_prog_egrep
3413 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3414 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3415 if test "${ac_cv_header_stdc+set}" = set; then
3416 echo $ECHO_N "(cached) $ECHO_C" >&6
3418 cat >conftest.$ac_ext <<_ACEOF
3421 cat confdefs.h >>conftest.$ac_ext
3422 cat >>conftest.$ac_ext <<_ACEOF
3423 /* end confdefs.h. */
3437 rm -f conftest.$ac_objext
3438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3439 (eval $ac_compile) 2>conftest.er1
3441 grep -v '^ *+' conftest.er1 >conftest.err
3443 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } &&
3446 { ac_try='test -z "$ac_c_werror_flag"
3447 || test ! -s conftest.err'
3448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3452 (exit $ac_status); }; } &&
3453 { ac_try='test -s conftest.$ac_objext'
3454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); }; }; then
3459 ac_cv_header_stdc=yes
3461 echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 ac_cv_header_stdc=no
3466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3468 if test $ac_cv_header_stdc = yes; then
3469 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3470 cat >conftest.$ac_ext <<_ACEOF
3473 cat confdefs.h >>conftest.$ac_ext
3474 cat >>conftest.$ac_ext <<_ACEOF
3475 /* end confdefs.h. */
3479 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3480 $EGREP "memchr" >/dev/null 2>&1; then
3483 ac_cv_header_stdc=no
3489 if test $ac_cv_header_stdc = yes; then
3490 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3491 cat >conftest.$ac_ext <<_ACEOF
3494 cat confdefs.h >>conftest.$ac_ext
3495 cat >>conftest.$ac_ext <<_ACEOF
3496 /* end confdefs.h. */
3500 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3501 $EGREP "free" >/dev/null 2>&1; then
3504 ac_cv_header_stdc=no
3510 if test $ac_cv_header_stdc = yes; then
3511 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3512 if test "$cross_compiling" = yes; then
3515 cat >conftest.$ac_ext <<_ACEOF
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3522 #if ((' ' & 0x0FF) == 0x020)
3523 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3524 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3526 # define ISLOWER(c) \
3527 (('a' <= (c) && (c) <= 'i') \
3528 || ('j' <= (c) && (c) <= 'r') \
3529 || ('s' <= (c) && (c) <= 'z'))
3530 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3533 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3538 for (i = 0; i < 256; i++)
3539 if (XOR (islower (i), ISLOWER (i))
3540 || toupper (i) != TOUPPER (i))
3545 rm -f conftest$ac_exeext
3546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3547 (eval $ac_link) 2>&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3555 (exit $ac_status); }; }; then
3558 echo "$as_me: program exited with status $ac_status" >&5
3559 echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.$ac_ext >&5
3563 ac_cv_header_stdc=no
3565 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3569 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3570 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3571 if test $ac_cv_header_stdc = yes; then
3573 cat >>confdefs.h <<\_ACEOF
3574 #define STDC_HEADERS 1
3581 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3591 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3592 inttypes.h stdint.h unistd.h
3594 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3595 echo "$as_me:$LINENO: checking for $ac_header" >&5
3596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3598 echo $ECHO_N "(cached) $ECHO_C" >&6
3600 cat >conftest.$ac_ext <<_ACEOF
3603 cat confdefs.h >>conftest.$ac_ext
3604 cat >>conftest.$ac_ext <<_ACEOF
3605 /* end confdefs.h. */
3606 $ac_includes_default
3608 #include <$ac_header>
3610 rm -f conftest.$ac_objext
3611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3612 (eval $ac_compile) 2>conftest.er1
3614 grep -v '^ *+' conftest.er1 >conftest.err
3616 cat conftest.err >&5
3617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } &&
3619 { ac_try='test -z "$ac_c_werror_flag"
3620 || test ! -s conftest.err'
3621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3625 (exit $ac_status); }; } &&
3626 { ac_try='test -s conftest.$ac_objext'
3627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3632 eval "$as_ac_Header=yes"
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.$ac_ext >&5
3637 eval "$as_ac_Header=no"
3639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3643 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3644 cat >>confdefs.h <<_ACEOF
3645 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3654 for ac_header in math.h
3656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3658 echo "$as_me:$LINENO: checking for $ac_header" >&5
3659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3661 echo $ECHO_N "(cached) $ECHO_C" >&6
3663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3666 # Is the header compilable?
3667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3669 cat >conftest.$ac_ext <<_ACEOF
3672 cat confdefs.h >>conftest.$ac_ext
3673 cat >>conftest.$ac_ext <<_ACEOF
3674 /* end confdefs.h. */
3675 $ac_includes_default
3676 #include <$ac_header>
3678 rm -f conftest.$ac_objext
3679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3680 (eval $ac_compile) 2>conftest.er1
3682 grep -v '^ *+' conftest.er1 >conftest.err
3684 cat conftest.err >&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); } &&
3687 { ac_try='test -z "$ac_c_werror_flag"
3688 || test ! -s conftest.err'
3689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); }; } &&
3694 { ac_try='test -s conftest.$ac_objext'
3695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); }; }; then
3700 ac_header_compiler=yes
3702 echo "$as_me: failed program was:" >&5
3703 sed 's/^/| /' conftest.$ac_ext >&5
3705 ac_header_compiler=no
3707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3709 echo "${ECHO_T}$ac_header_compiler" >&6
3711 # Is the header present?
3712 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3714 cat >conftest.$ac_ext <<_ACEOF
3717 cat confdefs.h >>conftest.$ac_ext
3718 cat >>conftest.$ac_ext <<_ACEOF
3719 /* end confdefs.h. */
3720 #include <$ac_header>
3722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3725 grep -v '^ *+' conftest.er1 >conftest.err
3727 cat conftest.err >&5
3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3729 (exit $ac_status); } >/dev/null; then
3730 if test -s conftest.err; then
3731 ac_cpp_err=$ac_c_preproc_warn_flag
3732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3739 if test -z "$ac_cpp_err"; then
3740 ac_header_preproc=yes
3742 echo "$as_me: failed program was:" >&5
3743 sed 's/^/| /' conftest.$ac_ext >&5
3745 ac_header_preproc=no
3747 rm -f conftest.err conftest.$ac_ext
3748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3749 echo "${ECHO_T}$ac_header_preproc" >&6
3751 # So? What about this header?
3752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3757 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3758 ac_header_preproc=yes
3761 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3762 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3763 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3764 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3765 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3766 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3767 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3768 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3771 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3775 ## ---------------------------------- ##
3776 ## Report this to the libfirm lists. ##
3777 ## ---------------------------------- ##
3780 sed "s/^/$as_me: WARNING: /" >&2
3783 echo "$as_me:$LINENO: checking for $ac_header" >&5
3784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3786 echo $ECHO_N "(cached) $ECHO_C" >&6
3788 eval "$as_ac_Header=\$ac_header_preproc"
3790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3795 cat >>confdefs.h <<_ACEOF
3796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3798 ac_math_headers="yes"
3800 ac_math_headers="no"
3805 if test "$ac_math_headers" != yes; then
3806 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3807 echo "$as_me: error: \"math header file not found\"" >&2;}
3808 { (exit 1); exit 1; }; }
3812 #dnl check for the gnu multiprecission (gmp) header file
3814 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3815 #if test "$ac_gmp_headers" != yes; then
3816 # dnl gmp header not found.
3817 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3824 for ac_header in obstack.h
3826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3828 echo "$as_me:$LINENO: checking for $ac_header" >&5
3829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3831 echo $ECHO_N "(cached) $ECHO_C" >&6
3833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3836 # Is the header compilable?
3837 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3838 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3839 cat >conftest.$ac_ext <<_ACEOF
3842 cat confdefs.h >>conftest.$ac_ext
3843 cat >>conftest.$ac_ext <<_ACEOF
3844 /* end confdefs.h. */
3845 $ac_includes_default
3846 #include <$ac_header>
3848 rm -f conftest.$ac_objext
3849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3850 (eval $ac_compile) 2>conftest.er1
3852 grep -v '^ *+' conftest.er1 >conftest.err
3854 cat conftest.err >&5
3855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3856 (exit $ac_status); } &&
3857 { ac_try='test -z "$ac_c_werror_flag"
3858 || test ! -s conftest.err'
3859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3863 (exit $ac_status); }; } &&
3864 { ac_try='test -s conftest.$ac_objext'
3865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); }; }; then
3870 ac_header_compiler=yes
3872 echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.$ac_ext >&5
3875 ac_header_compiler=no
3877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3879 echo "${ECHO_T}$ac_header_compiler" >&6
3881 # Is the header present?
3882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3884 cat >conftest.$ac_ext <<_ACEOF
3887 cat confdefs.h >>conftest.$ac_ext
3888 cat >>conftest.$ac_ext <<_ACEOF
3889 /* end confdefs.h. */
3890 #include <$ac_header>
3892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3895 grep -v '^ *+' conftest.er1 >conftest.err
3897 cat conftest.err >&5
3898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3899 (exit $ac_status); } >/dev/null; then
3900 if test -s conftest.err; then
3901 ac_cpp_err=$ac_c_preproc_warn_flag
3902 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3909 if test -z "$ac_cpp_err"; then
3910 ac_header_preproc=yes
3912 echo "$as_me: failed program was:" >&5
3913 sed 's/^/| /' conftest.$ac_ext >&5
3915 ac_header_preproc=no
3917 rm -f conftest.err conftest.$ac_ext
3918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3919 echo "${ECHO_T}$ac_header_preproc" >&6
3921 # So? What about this header?
3922 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3928 ac_header_preproc=yes
3931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3945 ## ---------------------------------- ##
3946 ## Report this to the libfirm lists. ##
3947 ## ---------------------------------- ##
3950 sed "s/^/$as_me: WARNING: /" >&2
3953 echo "$as_me:$LINENO: checking for $ac_header" >&5
3954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 eval "$as_ac_Header=\$ac_header_preproc"
3960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3965 cat >>confdefs.h <<_ACEOF
3966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3968 ac_obstack_headers="yes"
3970 ac_obstack_headers="no"
3975 if test "$ac_obstack_headers" != yes; then
3976 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3977 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3978 { (exit 1); exit 1; }; }
3983 for ac_header in alloca.h
3985 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3987 echo "$as_me:$LINENO: checking for $ac_header" >&5
3988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3990 echo $ECHO_N "(cached) $ECHO_C" >&6
3992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3995 # Is the header compilable?
3996 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3998 cat >conftest.$ac_ext <<_ACEOF
4001 cat confdefs.h >>conftest.$ac_ext
4002 cat >>conftest.$ac_ext <<_ACEOF
4003 /* end confdefs.h. */
4004 $ac_includes_default
4005 #include <$ac_header>
4007 rm -f conftest.$ac_objext
4008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4009 (eval $ac_compile) 2>conftest.er1
4011 grep -v '^ *+' conftest.er1 >conftest.err
4013 cat conftest.err >&5
4014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } &&
4016 { ac_try='test -z "$ac_c_werror_flag"
4017 || test ! -s conftest.err'
4018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4022 (exit $ac_status); }; } &&
4023 { ac_try='test -s conftest.$ac_objext'
4024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); }; }; then
4029 ac_header_compiler=yes
4031 echo "$as_me: failed program was:" >&5
4032 sed 's/^/| /' conftest.$ac_ext >&5
4034 ac_header_compiler=no
4036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4037 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4038 echo "${ECHO_T}$ac_header_compiler" >&6
4040 # Is the header present?
4041 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4042 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4043 cat >conftest.$ac_ext <<_ACEOF
4046 cat confdefs.h >>conftest.$ac_ext
4047 cat >>conftest.$ac_ext <<_ACEOF
4048 /* end confdefs.h. */
4049 #include <$ac_header>
4051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4054 grep -v '^ *+' conftest.er1 >conftest.err
4056 cat conftest.err >&5
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); } >/dev/null; then
4059 if test -s conftest.err; then
4060 ac_cpp_err=$ac_c_preproc_warn_flag
4061 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4068 if test -z "$ac_cpp_err"; then
4069 ac_header_preproc=yes
4071 echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.$ac_ext >&5
4074 ac_header_preproc=no
4076 rm -f conftest.err conftest.$ac_ext
4077 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4078 echo "${ECHO_T}$ac_header_preproc" >&6
4080 # So? What about this header?
4081 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4083 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4084 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4086 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4087 ac_header_preproc=yes
4090 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4091 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4092 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4093 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4094 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4095 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4096 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4097 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4100 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4101 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4104 ## ---------------------------------- ##
4105 ## Report this to the libfirm lists. ##
4106 ## ---------------------------------- ##
4109 sed "s/^/$as_me: WARNING: /" >&2
4112 echo "$as_me:$LINENO: checking for $ac_header" >&5
4113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4115 echo $ECHO_N "(cached) $ECHO_C" >&6
4117 eval "$as_ac_Header=\$ac_header_preproc"
4119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4124 cat >>confdefs.h <<_ACEOF
4125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4127 ac_alloca_headers="yes"
4129 ac_alloca_headers="no"
4134 if test "$ac_alloca_headers" = "yes"; then
4135 cat >>confdefs.h <<\_ACEOF
4136 #define HAVE_ALLOCA_H 1
4140 if test "$ac_cv_header_stdc" = "no"; then
4141 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4142 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4143 { (exit 1); exit 1; }; }
4149 if test "$enable_firm_jni" = yes; then
4151 for ac_header in jni.h
4153 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4155 echo "$as_me:$LINENO: checking for $ac_header" >&5
4156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4158 echo $ECHO_N "(cached) $ECHO_C" >&6
4160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4161 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4163 # Is the header compilable?
4164 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4165 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4166 cat >conftest.$ac_ext <<_ACEOF
4169 cat confdefs.h >>conftest.$ac_ext
4170 cat >>conftest.$ac_ext <<_ACEOF
4171 /* end confdefs.h. */
4172 $ac_includes_default
4173 #include <$ac_header>
4175 rm -f conftest.$ac_objext
4176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4177 (eval $ac_compile) 2>conftest.er1
4179 grep -v '^ *+' conftest.er1 >conftest.err
4181 cat conftest.err >&5
4182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4183 (exit $ac_status); } &&
4184 { ac_try='test -z "$ac_c_werror_flag"
4185 || test ! -s conftest.err'
4186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4190 (exit $ac_status); }; } &&
4191 { ac_try='test -s conftest.$ac_objext'
4192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4196 (exit $ac_status); }; }; then
4197 ac_header_compiler=yes
4199 echo "$as_me: failed program was:" >&5
4200 sed 's/^/| /' conftest.$ac_ext >&5
4202 ac_header_compiler=no
4204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4205 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4206 echo "${ECHO_T}$ac_header_compiler" >&6
4208 # Is the header present?
4209 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4210 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4211 cat >conftest.$ac_ext <<_ACEOF
4214 cat confdefs.h >>conftest.$ac_ext
4215 cat >>conftest.$ac_ext <<_ACEOF
4216 /* end confdefs.h. */
4217 #include <$ac_header>
4219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4222 grep -v '^ *+' conftest.er1 >conftest.err
4224 cat conftest.err >&5
4225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4226 (exit $ac_status); } >/dev/null; then
4227 if test -s conftest.err; then
4228 ac_cpp_err=$ac_c_preproc_warn_flag
4229 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4236 if test -z "$ac_cpp_err"; then
4237 ac_header_preproc=yes
4239 echo "$as_me: failed program was:" >&5
4240 sed 's/^/| /' conftest.$ac_ext >&5
4242 ac_header_preproc=no
4244 rm -f conftest.err conftest.$ac_ext
4245 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4246 echo "${ECHO_T}$ac_header_preproc" >&6
4248 # So? What about this header?
4249 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4251 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4252 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4254 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4255 ac_header_preproc=yes
4258 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4259 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4260 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4261 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4262 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4263 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4265 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4266 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4267 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4268 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4269 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4272 ## ---------------------------------- ##
4273 ## Report this to the libfirm lists. ##
4274 ## ---------------------------------- ##
4277 sed "s/^/$as_me: WARNING: /" >&2
4280 echo "$as_me:$LINENO: checking for $ac_header" >&5
4281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4283 echo $ECHO_N "(cached) $ECHO_C" >&6
4285 eval "$as_ac_Header=\$ac_header_preproc"
4287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4288 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4292 cat >>confdefs.h <<_ACEOF
4293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4295 ac_jni_headers="yes"
4302 if test "$ac_jni_headers" != yes; then
4303 { { 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
4304 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;}
4305 { (exit 1); exit 1; }; }
4310 if test "$enable_external_effects" == "yes"; then
4312 for ac_header in libxml/parser.h
4314 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4316 echo "$as_me:$LINENO: checking for $ac_header" >&5
4317 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4318 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4319 echo $ECHO_N "(cached) $ECHO_C" >&6
4321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4322 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4324 # Is the header compilable?
4325 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4326 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4327 cat >conftest.$ac_ext <<_ACEOF
4330 cat confdefs.h >>conftest.$ac_ext
4331 cat >>conftest.$ac_ext <<_ACEOF
4332 /* end confdefs.h. */
4333 $ac_includes_default
4334 #include <$ac_header>
4336 rm -f conftest.$ac_objext
4337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4338 (eval $ac_compile) 2>conftest.er1
4340 grep -v '^ *+' conftest.er1 >conftest.err
4342 cat conftest.err >&5
4343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4344 (exit $ac_status); } &&
4345 { ac_try='test -z "$ac_c_werror_flag"
4346 || test ! -s conftest.err'
4347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4351 (exit $ac_status); }; } &&
4352 { ac_try='test -s conftest.$ac_objext'
4353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4357 (exit $ac_status); }; }; then
4358 ac_header_compiler=yes
4360 echo "$as_me: failed program was:" >&5
4361 sed 's/^/| /' conftest.$ac_ext >&5
4363 ac_header_compiler=no
4365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4366 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4367 echo "${ECHO_T}$ac_header_compiler" >&6
4369 # Is the header present?
4370 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4371 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4372 cat >conftest.$ac_ext <<_ACEOF
4375 cat confdefs.h >>conftest.$ac_ext
4376 cat >>conftest.$ac_ext <<_ACEOF
4377 /* end confdefs.h. */
4378 #include <$ac_header>
4380 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4381 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4383 grep -v '^ *+' conftest.er1 >conftest.err
4385 cat conftest.err >&5
4386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4387 (exit $ac_status); } >/dev/null; then
4388 if test -s conftest.err; then
4389 ac_cpp_err=$ac_c_preproc_warn_flag
4390 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4397 if test -z "$ac_cpp_err"; then
4398 ac_header_preproc=yes
4400 echo "$as_me: failed program was:" >&5
4401 sed 's/^/| /' conftest.$ac_ext >&5
4403 ac_header_preproc=no
4405 rm -f conftest.err conftest.$ac_ext
4406 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4407 echo "${ECHO_T}$ac_header_preproc" >&6
4409 # So? What about this header?
4410 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4412 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4413 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4415 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4416 ac_header_preproc=yes
4419 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4420 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4421 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4422 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4423 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4424 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4425 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4426 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4429 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4430 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4433 ## ---------------------------------- ##
4434 ## Report this to the libfirm lists. ##
4435 ## ---------------------------------- ##
4438 sed "s/^/$as_me: WARNING: /" >&2
4441 echo "$as_me:$LINENO: checking for $ac_header" >&5
4442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4443 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4444 echo $ECHO_N "(cached) $ECHO_C" >&6
4446 eval "$as_ac_Header=\$ac_header_preproc"
4448 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4449 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4452 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4453 cat >>confdefs.h <<_ACEOF
4454 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4456 ac_xml_headers="yes"
4463 if test "$ac_xml_headers" != yes; then
4464 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4465 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4466 { (exit 1); exit 1; }; }
4471 #dnl check for the gnu multiprecission (gmp) library
4473 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4474 #if test "$ac_gmp_library" != yes; then
4475 # dnl gmp library not found.
4476 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4480 echo "$as_me:$LINENO: checking for main in -lm" >&5
4481 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4482 if test "${ac_cv_lib_m_main+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4485 ac_check_lib_save_LIBS=$LIBS
4487 cat >conftest.$ac_ext <<_ACEOF
4490 cat confdefs.h >>conftest.$ac_ext
4491 cat >>conftest.$ac_ext <<_ACEOF
4492 /* end confdefs.h. */
4503 rm -f conftest.$ac_objext conftest$ac_exeext
4504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4505 (eval $ac_link) 2>conftest.er1
4507 grep -v '^ *+' conftest.er1 >conftest.err
4509 cat conftest.err >&5
4510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4511 (exit $ac_status); } &&
4512 { ac_try='test -z "$ac_c_werror_flag"
4513 || test ! -s conftest.err'
4514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4518 (exit $ac_status); }; } &&
4519 { ac_try='test -s conftest$ac_exeext'
4520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4524 (exit $ac_status); }; }; then
4525 ac_cv_lib_m_main=yes
4527 echo "$as_me: failed program was:" >&5
4528 sed 's/^/| /' conftest.$ac_ext >&5
4532 rm -f conftest.err conftest.$ac_objext \
4533 conftest$ac_exeext conftest.$ac_ext
4534 LIBS=$ac_check_lib_save_LIBS
4536 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4537 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4538 if test $ac_cv_lib_m_main = yes; then
4544 if test "$ac_m_library" != yes; then
4545 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4546 echo "$as_me: error: \"standard math library not found\"" >&2;}
4547 { (exit 1); exit 1; }; }
4551 if test "$enable_external_effects" == "yes"; then
4552 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4553 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4554 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4555 echo $ECHO_N "(cached) $ECHO_C" >&6
4557 ac_check_lib_save_LIBS=$LIBS
4559 cat >conftest.$ac_ext <<_ACEOF
4562 cat confdefs.h >>conftest.$ac_ext
4563 cat >>conftest.$ac_ext <<_ACEOF
4564 /* end confdefs.h. */
4566 /* Override any gcc2 internal prototype to avoid an error. */
4570 /* We use char because int might match the return type of a gcc2
4571 builtin and then its argument prototype would still apply. */
4572 char xmlParseFile ();
4581 rm -f conftest.$ac_objext conftest$ac_exeext
4582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4583 (eval $ac_link) 2>conftest.er1
4585 grep -v '^ *+' conftest.er1 >conftest.err
4587 cat conftest.err >&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } &&
4590 { ac_try='test -z "$ac_c_werror_flag"
4591 || test ! -s conftest.err'
4592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); }; } &&
4597 { ac_try='test -s conftest$ac_exeext'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; }; then
4603 ac_cv_lib_xml2_xmlParseFile=yes
4605 echo "$as_me: failed program was:" >&5
4606 sed 's/^/| /' conftest.$ac_ext >&5
4608 ac_cv_lib_xml2_xmlParseFile=no
4610 rm -f conftest.err conftest.$ac_objext \
4611 conftest$ac_exeext conftest.$ac_ext
4612 LIBS=$ac_check_lib_save_LIBS
4614 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4615 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4616 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4617 ac_xml_library="yes"
4622 if test "$ac_m_library" != yes; then
4623 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4624 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4625 { (exit 1); exit 1; }; }
4631 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4632 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4633 if test "${ac_cv_c_const+set}" = set; then
4634 echo $ECHO_N "(cached) $ECHO_C" >&6
4636 cat >conftest.$ac_ext <<_ACEOF
4639 cat confdefs.h >>conftest.$ac_ext
4640 cat >>conftest.$ac_ext <<_ACEOF
4641 /* end confdefs.h. */
4646 /* FIXME: Include the comments suggested by Paul. */
4648 /* Ultrix mips cc rejects this. */
4649 typedef int charset[2];
4651 /* SunOS 4.1.1 cc rejects this. */
4652 char const *const *ccp;
4654 /* NEC SVR4.0.2 mips cc rejects this. */
4655 struct point {int x, y;};
4656 static struct point const zero = {0,0};
4657 /* AIX XL C 1.02.0.0 rejects this.
4658 It does not let you subtract one const X* pointer from another in
4659 an arm of an if-expression whose if-part is not a constant
4661 const char *g = "string";
4662 ccp = &g + (g ? g-g : 0);
4663 /* HPUX 7.0 cc rejects these. */
4666 ccp = (char const *const *) p;
4667 { /* SCO 3.2v4 cc rejects this. */
4669 char const *s = 0 ? (char *) 0 : (char const *) 0;
4673 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4675 const int *foo = &x[0];
4678 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4679 typedef const int *iptr;
4683 { /* AIX XL C 1.02.0.0 rejects this saying
4684 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4685 struct s { int j; const int *ap[3]; };
4686 struct s *b; b->j = 5;
4688 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4697 rm -f conftest.$ac_objext
4698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4699 (eval $ac_compile) 2>conftest.er1
4701 grep -v '^ *+' conftest.er1 >conftest.err
4703 cat conftest.err >&5
4704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4705 (exit $ac_status); } &&
4706 { ac_try='test -z "$ac_c_werror_flag"
4707 || test ! -s conftest.err'
4708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4712 (exit $ac_status); }; } &&
4713 { ac_try='test -s conftest.$ac_objext'
4714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4718 (exit $ac_status); }; }; then
4721 echo "$as_me: failed program was:" >&5
4722 sed 's/^/| /' conftest.$ac_ext >&5
4726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4728 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4729 echo "${ECHO_T}$ac_cv_c_const" >&6
4730 if test $ac_cv_c_const = no; then
4732 cat >>confdefs.h <<\_ACEOF
4738 echo "$as_me:$LINENO: checking for working volatile" >&5
4739 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4740 if test "${ac_cv_c_volatile+set}" = set; then
4741 echo $ECHO_N "(cached) $ECHO_C" >&6
4743 cat >conftest.$ac_ext <<_ACEOF
4746 cat confdefs.h >>conftest.$ac_ext
4747 cat >>conftest.$ac_ext <<_ACEOF
4748 /* end confdefs.h. */
4760 rm -f conftest.$ac_objext
4761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4762 (eval $ac_compile) 2>conftest.er1
4764 grep -v '^ *+' conftest.er1 >conftest.err
4766 cat conftest.err >&5
4767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4768 (exit $ac_status); } &&
4769 { ac_try='test -z "$ac_c_werror_flag"
4770 || test ! -s conftest.err'
4771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4775 (exit $ac_status); }; } &&
4776 { ac_try='test -s conftest.$ac_objext'
4777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4781 (exit $ac_status); }; }; then
4782 ac_cv_c_volatile=yes
4784 echo "$as_me: failed program was:" >&5
4785 sed 's/^/| /' conftest.$ac_ext >&5
4789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4791 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4792 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4793 if test $ac_cv_c_volatile = no; then
4795 cat >>confdefs.h <<\_ACEOF
4801 echo "$as_me:$LINENO: checking for inline" >&5
4802 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4803 if test "${ac_cv_c_inline+set}" = set; then
4804 echo $ECHO_N "(cached) $ECHO_C" >&6
4807 for ac_kw in inline __inline__ __inline; do
4808 cat >conftest.$ac_ext <<_ACEOF
4811 cat confdefs.h >>conftest.$ac_ext
4812 cat >>conftest.$ac_ext <<_ACEOF
4813 /* end confdefs.h. */
4816 static $ac_kw foo_t static_foo () {return 0; }
4817 $ac_kw foo_t foo () {return 0; }
4821 rm -f conftest.$ac_objext
4822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4823 (eval $ac_compile) 2>conftest.er1
4825 grep -v '^ *+' conftest.er1 >conftest.err
4827 cat conftest.err >&5
4828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4829 (exit $ac_status); } &&
4830 { ac_try='test -z "$ac_c_werror_flag"
4831 || test ! -s conftest.err'
4832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); }; } &&
4837 { ac_try='test -s conftest.$ac_objext'
4838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4842 (exit $ac_status); }; }; then
4843 ac_cv_c_inline=$ac_kw; break
4845 echo "$as_me: failed program was:" >&5
4846 sed 's/^/| /' conftest.$ac_ext >&5
4849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4853 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4854 echo "${ECHO_T}$ac_cv_c_inline" >&6
4857 case $ac_cv_c_inline in
4860 case $ac_cv_c_inline in
4862 *) ac_val=$ac_cv_c_inline;;
4864 cat >>confdefs.h <<_ACEOF
4866 #define inline $ac_val
4872 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4873 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4874 if test "${ac_cv_c_bigendian+set}" = set; then
4875 echo $ECHO_N "(cached) $ECHO_C" >&6
4877 # See if sys/param.h defines the BYTE_ORDER macro.
4878 cat >conftest.$ac_ext <<_ACEOF
4881 cat confdefs.h >>conftest.$ac_ext
4882 cat >>conftest.$ac_ext <<_ACEOF
4883 /* end confdefs.h. */
4884 #include <sys/types.h>
4885 #include <sys/param.h>
4890 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4898 rm -f conftest.$ac_objext
4899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4900 (eval $ac_compile) 2>conftest.er1
4902 grep -v '^ *+' conftest.er1 >conftest.err
4904 cat conftest.err >&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); } &&
4907 { ac_try='test -z "$ac_c_werror_flag"
4908 || test ! -s conftest.err'
4909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4913 (exit $ac_status); }; } &&
4914 { ac_try='test -s conftest.$ac_objext'
4915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); }; }; then
4920 # It does; now see whether it defined to BIG_ENDIAN or not.
4921 cat >conftest.$ac_ext <<_ACEOF
4924 cat confdefs.h >>conftest.$ac_ext
4925 cat >>conftest.$ac_ext <<_ACEOF
4926 /* end confdefs.h. */
4927 #include <sys/types.h>
4928 #include <sys/param.h>
4933 #if BYTE_ORDER != BIG_ENDIAN
4941 rm -f conftest.$ac_objext
4942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4943 (eval $ac_compile) 2>conftest.er1
4945 grep -v '^ *+' conftest.er1 >conftest.err
4947 cat conftest.err >&5
4948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4949 (exit $ac_status); } &&
4950 { ac_try='test -z "$ac_c_werror_flag"
4951 || test ! -s conftest.err'
4952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4956 (exit $ac_status); }; } &&
4957 { ac_try='test -s conftest.$ac_objext'
4958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4962 (exit $ac_status); }; }; then
4963 ac_cv_c_bigendian=yes
4965 echo "$as_me: failed program was:" >&5
4966 sed 's/^/| /' conftest.$ac_ext >&5
4968 ac_cv_c_bigendian=no
4970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4972 echo "$as_me: failed program was:" >&5
4973 sed 's/^/| /' conftest.$ac_ext >&5
4975 # It does not; compile a test program.
4976 if test "$cross_compiling" = yes; then
4977 # try to guess the endianness by grepping values into an object file
4978 ac_cv_c_bigendian=unknown
4979 cat >conftest.$ac_ext <<_ACEOF
4982 cat confdefs.h >>conftest.$ac_ext
4983 cat >>conftest.$ac_ext <<_ACEOF
4984 /* end confdefs.h. */
4985 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4986 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4987 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4988 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4989 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4990 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4994 _ascii (); _ebcdic ();
4999 rm -f conftest.$ac_objext
5000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5001 (eval $ac_compile) 2>conftest.er1
5003 grep -v '^ *+' conftest.er1 >conftest.err
5005 cat conftest.err >&5
5006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5007 (exit $ac_status); } &&
5008 { ac_try='test -z "$ac_c_werror_flag"
5009 || test ! -s conftest.err'
5010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5014 (exit $ac_status); }; } &&
5015 { ac_try='test -s conftest.$ac_objext'
5016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5020 (exit $ac_status); }; }; then
5021 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5022 ac_cv_c_bigendian=yes
5024 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5025 if test "$ac_cv_c_bigendian" = unknown; then
5026 ac_cv_c_bigendian=no
5028 # finding both strings is unlikely to happen, but who knows?
5029 ac_cv_c_bigendian=unknown
5033 echo "$as_me: failed program was:" >&5
5034 sed 's/^/| /' conftest.$ac_ext >&5
5037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5039 cat >conftest.$ac_ext <<_ACEOF
5042 cat confdefs.h >>conftest.$ac_ext
5043 cat >>conftest.$ac_ext <<_ACEOF
5044 /* end confdefs.h. */
5048 /* Are we little or big endian? From Harbison&Steele. */
5052 char c[sizeof (long)];
5055 exit (u.c[sizeof (long) - 1] == 1);
5058 rm -f conftest$ac_exeext
5059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5060 (eval $ac_link) 2>&5
5062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5063 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); }; }; then
5069 ac_cv_c_bigendian=no
5071 echo "$as_me: program exited with status $ac_status" >&5
5072 echo "$as_me: failed program was:" >&5
5073 sed 's/^/| /' conftest.$ac_ext >&5
5076 ac_cv_c_bigendian=yes
5078 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5081 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5083 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5084 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5085 case $ac_cv_c_bigendian in
5088 cat >>confdefs.h <<\_ACEOF
5089 #define WORDS_BIGENDIAN 1
5095 { { echo "$as_me:$LINENO: error: unknown endianness
5096 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5097 echo "$as_me: error: unknown endianness
5098 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5099 { (exit 1); exit 1; }; } ;;
5102 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5103 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5104 if test "${ac_cv_c_long_double+set}" = set; then
5105 echo $ECHO_N "(cached) $ECHO_C" >&6
5107 cat >conftest.$ac_ext <<_ACEOF
5110 cat confdefs.h >>conftest.$ac_ext
5111 cat >>conftest.$ac_ext <<_ACEOF
5112 /* end confdefs.h. */
5114 long double foo = 0.0;
5118 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5119 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5120 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5127 rm -f conftest.$ac_objext
5128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5129 (eval $ac_compile) 2>conftest.er1
5131 grep -v '^ *+' conftest.er1 >conftest.err
5133 cat conftest.err >&5
5134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5135 (exit $ac_status); } &&
5136 { ac_try='test -z "$ac_c_werror_flag"
5137 || test ! -s conftest.err'
5138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5142 (exit $ac_status); }; } &&
5143 { ac_try='test -s conftest.$ac_objext'
5144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); }; }; then
5149 ac_cv_c_long_double=yes
5151 echo "$as_me: failed program was:" >&5
5152 sed 's/^/| /' conftest.$ac_ext >&5
5154 ac_cv_c_long_double=no
5156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5158 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5159 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5160 if test $ac_cv_c_long_double = yes; then
5162 cat >>confdefs.h <<\_ACEOF
5163 #define HAVE_LONG_DOUBLE 1
5171 echo "$as_me:$LINENO: checking for strerror" >&5
5172 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5173 if test "${ac_cv_func_strerror+set}" = set; then
5174 echo $ECHO_N "(cached) $ECHO_C" >&6
5176 cat >conftest.$ac_ext <<_ACEOF
5179 cat confdefs.h >>conftest.$ac_ext
5180 cat >>conftest.$ac_ext <<_ACEOF
5181 /* end confdefs.h. */
5182 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5184 #define strerror innocuous_strerror
5186 /* System header to define __stub macros and hopefully few prototypes,
5187 which can conflict with char strerror (); below.
5188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5189 <limits.h> exists even on freestanding compilers. */
5192 # include <limits.h>
5194 # include <assert.h>
5199 /* Override any gcc2 internal prototype to avoid an error. */
5204 /* We use char because int might match the return type of a gcc2
5205 builtin and then its argument prototype would still apply. */
5207 /* The GNU C library defines this for functions which it implements
5208 to always fail with ENOSYS. Some functions are actually named
5209 something starting with __ and the normal name is an alias. */
5210 #if defined (__stub_strerror) || defined (__stub___strerror)
5213 char (*f) () = strerror;
5222 return f != strerror;
5227 rm -f conftest.$ac_objext conftest$ac_exeext
5228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5229 (eval $ac_link) 2>conftest.er1
5231 grep -v '^ *+' conftest.er1 >conftest.err
5233 cat conftest.err >&5
5234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5235 (exit $ac_status); } &&
5236 { ac_try='test -z "$ac_c_werror_flag"
5237 || test ! -s conftest.err'
5238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5242 (exit $ac_status); }; } &&
5243 { ac_try='test -s conftest$ac_exeext'
5244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5248 (exit $ac_status); }; }; then
5249 ac_cv_func_strerror=yes
5251 echo "$as_me: failed program was:" >&5
5252 sed 's/^/| /' conftest.$ac_ext >&5
5254 ac_cv_func_strerror=no
5256 rm -f conftest.err conftest.$ac_objext \
5257 conftest$ac_exeext conftest.$ac_ext
5259 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5260 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5261 if test $ac_cv_func_strerror = yes; then
5264 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5265 echo "$as_me: error: \"need strerror function\"" >&2;}
5266 { (exit 1); exit 1; }; }
5274 ac_config_files="$ac_config_files $ac_output_file"
5275 ac_config_commands="$ac_config_commands default"
5276 cat >confcache <<\_ACEOF
5277 # This file is a shell script that caches the results of configure
5278 # tests run on this system so they can be shared between configure
5279 # scripts and configure runs, see configure's option --config-cache.
5280 # It is not useful on other systems. If it contains results you don't
5281 # want to keep, you may remove or edit it.
5283 # config.status only pays attention to the cache file if you give it
5284 # the --recheck option to rerun configure.
5286 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5287 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5292 # The following way of writing the cache mishandles newlines in values,
5293 # but we know of no workaround that is simple, portable, and efficient.
5294 # So, don't put newlines in cache variables' values.
5295 # Ultrix sh set writes to stderr and can't be redirected directly,
5296 # and sets the high bit in the cache file unless we assign to the vars.
5299 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5301 # `set' does not quote correctly, so add quotes (double-quote
5302 # substitution turns \\\\ into \\, and sed turns \\ into \).
5305 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5308 # `set' quotes correctly as required by POSIX, so do not add quotes.
5310 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5317 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5319 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5321 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5322 if test -w $cache_file; then
5323 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5324 cat confcache >$cache_file
5326 echo "not updating unwritable cache $cache_file"
5331 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5332 # Let make expand exec_prefix.
5333 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5335 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5336 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5337 # trailing colons and then remove the whole line if VPATH becomes empty
5338 # (actually we leave an empty line to preserve line numbers).
5339 if test "x$srcdir" = x.; then
5340 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5341 s/:*\$(srcdir):*/:/;
5342 s/:*\${srcdir}:*/:/;
5344 s/^\([^=]*=[ ]*\):*/\1/;
5350 DEFS=-DHAVE_CONFIG_H
5354 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5355 # 1. Remove the extension, and $U if already installed.
5356 ac_i=`echo "$ac_i" |
5357 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5359 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5360 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5364 LTLIBOBJS=$ac_ltlibobjs
5368 : ${CONFIG_STATUS=./config.status}
5369 ac_clean_files_save=$ac_clean_files
5370 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5371 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5372 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5373 cat >$CONFIG_STATUS <<_ACEOF
5375 # Generated by $as_me.
5376 # Run this file to recreate the current configuration.
5377 # Compiler output produced by configure, useful for debugging
5378 # configure, is in config.log if it exists.
5383 SHELL=\${CONFIG_SHELL-$SHELL}
5386 cat >>$CONFIG_STATUS <<\_ACEOF
5387 ## --------------------- ##
5388 ## M4sh Initialization. ##
5389 ## --------------------- ##
5391 # Be Bourne compatible
5392 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5395 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5396 # is contrary to our usage. Disable this feature.
5397 alias -g '${1+"$@"}'='"$@"'
5398 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5401 DUALCASE=1; export DUALCASE # for MKS sh
5403 # Support unset when possible.
5404 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5411 # Work around bugs in pre-3.0 UWIN ksh.
5412 $as_unset ENV MAIL MAILPATH
5419 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5420 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5421 LC_TELEPHONE LC_TIME
5423 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5424 eval $as_var=C; export $as_var
5430 # Required to use basename.
5431 if expr a : '\(a\)' >/dev/null 2>&1; then
5437 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5438 as_basename=basename
5444 # Name of the executable.
5445 as_me=`$as_basename "$0" ||
5446 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5447 X"$0" : 'X\(//\)$' \| \
5448 X"$0" : 'X\(/\)$' \| \
5449 . : '\(.\)' 2>/dev/null ||
5451 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5452 /^X\/\(\/\/\)$/{ s//\1/; q; }
5453 /^X\/\(\/\).*/{ s//\1/; q; }
5457 # PATH needs CR, and LINENO needs CR and PATH.
5458 # Avoid depending upon Character Ranges.
5459 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5460 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5461 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5462 as_cr_digits='0123456789'
5463 as_cr_alnum=$as_cr_Letters$as_cr_digits
5465 # The user is always right.
5466 if test "${PATH_SEPARATOR+set}" != set; then
5467 echo "#! /bin/sh" >conf$$.sh
5468 echo "exit 0" >>conf$$.sh
5470 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5481 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5482 test "x$as_lineno_1" != "x$as_lineno_2" &&
5483 test "x$as_lineno_3" = "x$as_lineno_2" || {
5484 # Find who we are. Look in the path if we contain no path at all
5487 *[\\/]* ) as_myself=$0 ;;
5488 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 test -z "$as_dir" && as_dir=.
5493 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5498 # We did not find ourselves, most probably we were run as `sh COMMAND'
5499 # in which case we are not to be found in the path.
5500 if test "x$as_myself" = x; then
5503 if test ! -f "$as_myself"; then
5504 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5505 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5506 { (exit 1); exit 1; }; }
5508 case $CONFIG_SHELL in
5510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5511 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5514 test -z "$as_dir" && as_dir=.
5515 for as_base in sh bash ksh sh5; do
5518 if ("$as_dir/$as_base" -c '
5521 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5522 test "x$as_lineno_1" != "x$as_lineno_2" &&
5523 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5524 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5525 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5526 CONFIG_SHELL=$as_dir/$as_base
5528 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5536 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5537 # uniformly replaced by the line number. The first 'sed' inserts a
5538 # line-number line before each line; the second 'sed' does the real
5539 # work. The second script uses 'N' to pair each line-number line
5540 # with the numbered line, and appends trailing '-' during
5541 # substitution so that $LINENO is not a special case at line end.
5542 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5543 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5544 sed '=' <$as_myself |
5549 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5552 s,^['$as_cr_digits']*\n,,
5554 chmod +x $as_me.lineno ||
5555 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5556 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5557 { (exit 1); exit 1; }; }
5559 # Don't try to exec as it changes $[0], causing all sort of problems
5560 # (the dirname of $[0] is not the place where we might find the
5561 # original and so on. Autoconf is especially sensible to this).
5563 # Exit status is that of the last command.
5568 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5569 *c*,-n*) ECHO_N= ECHO_C='
5571 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5572 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5575 if expr a : '\(a\)' >/dev/null 2>&1; then
5581 rm -f conf$$ conf$$.exe conf$$.file
5583 if ln -s conf$$.file conf$$ 2>/dev/null; then
5584 # We could just check for DJGPP; but this test a) works b) is more generic
5585 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5586 if test -f conf$$.exe; then
5587 # Don't use ln at all; we don't have any links
5592 elif ln conf$$.file conf$$ 2>/dev/null; then
5597 rm -f conf$$ conf$$.exe conf$$.file
5599 if mkdir -p . 2>/dev/null; then
5602 test -d ./-p && rmdir ./-p
5606 as_executable_p="test -f"
5608 # Sed expression to map a string onto a valid CPP name.
5609 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5611 # Sed expression to map a string onto a valid variable name.
5612 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5616 # We need space, tab and new line, in precisely that order.
5626 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5627 # report actual input values of CONFIG_FILES etc. instead of their
5628 # values after options handling. Logging --version etc. is OK.
5632 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5633 ## Running $as_me. ##
5638 This file was extended by libfirm $as_me 1.3.0, which was
5639 generated by GNU Autoconf 2.59. Invocation command line was
5641 CONFIG_FILES = $CONFIG_FILES
5642 CONFIG_HEADERS = $CONFIG_HEADERS
5643 CONFIG_LINKS = $CONFIG_LINKS
5644 CONFIG_COMMANDS = $CONFIG_COMMANDS
5648 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5652 # Files that config.status was made for.
5653 if test -n "$ac_config_files"; then
5654 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5657 if test -n "$ac_config_headers"; then
5658 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5661 if test -n "$ac_config_links"; then
5662 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5665 if test -n "$ac_config_commands"; then
5666 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5669 cat >>$CONFIG_STATUS <<\_ACEOF
5672 \`$as_me' instantiates files from templates according to the
5673 current configuration.
5675 Usage: $0 [OPTIONS] [FILE]...
5677 -h, --help print this help, then exit
5678 -V, --version print version number, then exit
5679 -q, --quiet do not print progress messages
5680 -d, --debug don't remove temporary files
5681 --recheck update $as_me by reconfiguring in the same conditions
5682 --file=FILE[:TEMPLATE]
5683 instantiate the configuration file FILE
5684 --header=FILE[:TEMPLATE]
5685 instantiate the configuration header FILE
5687 Configuration files:
5690 Configuration headers:
5693 Configuration commands:
5696 Report bugs to <bug-autoconf@gnu.org>."
5699 cat >>$CONFIG_STATUS <<_ACEOF
5701 libfirm config.status 1.3.0
5702 configured by $0, generated by GNU Autoconf 2.59,
5703 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5705 Copyright (C) 2003 Free Software Foundation, Inc.
5706 This config.status script is free software; the Free Software Foundation
5707 gives unlimited permission to copy, distribute and modify it."
5712 cat >>$CONFIG_STATUS <<\_ACEOF
5713 # If no file are specified by the user, then we need to provide default
5714 # value. By we need to know if files were specified by the user.
5720 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5721 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5729 *) # This is not an option, so the user has probably given explicit
5732 ac_need_defaults=false;;
5736 # Handling of the options.
5738 cat >>$CONFIG_STATUS <<\_ACEOF
5739 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5741 --version | --vers* | -V )
5742 echo "$ac_cs_version"; exit 0 ;;
5744 # Conflict between --help and --header
5745 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5746 Try \`$0 --help' for more information." >&5
5747 echo "$as_me: error: ambiguous option: $1
5748 Try \`$0 --help' for more information." >&2;}
5749 { (exit 1); exit 1; }; };;
5750 --help | --hel | -h )
5751 echo "$ac_cs_usage"; exit 0 ;;
5752 --debug | --d* | -d )
5754 --file | --fil | --fi | --f )
5756 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5757 ac_need_defaults=false;;
5758 --header | --heade | --head | --hea )
5760 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5761 ac_need_defaults=false;;
5762 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5763 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5767 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5768 Try \`$0 --help' for more information." >&5
5769 echo "$as_me: error: unrecognized option: $1
5770 Try \`$0 --help' for more information." >&2;}
5771 { (exit 1); exit 1; }; } ;;
5773 *) ac_config_targets="$ac_config_targets $1" ;;
5779 ac_configure_extra_args=
5781 if $ac_cs_silent; then
5783 ac_configure_extra_args="$ac_configure_extra_args --silent"
5787 cat >>$CONFIG_STATUS <<_ACEOF
5788 if \$ac_cs_recheck; then
5789 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5790 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5799 cat >>$CONFIG_STATUS <<\_ACEOF
5800 for ac_config_target in $ac_config_targets
5802 case "$ac_config_target" in
5803 # Handling of arguments.
5804 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5805 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5806 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5807 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5808 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5809 { (exit 1); exit 1; }; };;
5813 # If the user did not use the arguments to specify the items to instantiate,
5814 # then the envvar interface is used. Set only those that are not.
5815 # We use the long form for the default assignment because of an extremely
5816 # bizarre bug on SunOS 4.1.3.
5817 if $ac_need_defaults; then
5818 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5819 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5820 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5823 # Have a temporary directory for convenience. Make it in the build tree
5824 # simply because there is no reason to put it here, and in addition,
5825 # creating and moving files from /tmp can sometimes cause problems.
5826 # Create a temporary directory, and hook for its removal unless debugging.
5829 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5830 trap '{ (exit 1); exit 1; }' 1 2 13 15
5833 # Create a (secure) tmp directory for tmp files.
5836 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5837 test -n "$tmp" && test -d "$tmp"
5840 tmp=./confstat$$-$RANDOM
5841 (umask 077 && mkdir $tmp)
5844 echo "$me: cannot create a temporary directory in ." >&2
5845 { (exit 1); exit 1; }
5850 cat >>$CONFIG_STATUS <<_ACEOF
5853 # CONFIG_FILES section.
5856 # No need to generate the scripts if there are no CONFIG_FILES.
5857 # This happens for instance when ./config.status config.h
5858 if test -n "\$CONFIG_FILES"; then
5859 # Protect against being on the right side of a sed subst in config.status.
5860 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5861 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5862 s,@SHELL@,$SHELL,;t t
5863 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5864 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5865 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5866 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5867 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5868 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5869 s,@exec_prefix@,$exec_prefix,;t t
5870 s,@prefix@,$prefix,;t t
5871 s,@program_transform_name@,$program_transform_name,;t t
5872 s,@bindir@,$bindir,;t t
5873 s,@sbindir@,$sbindir,;t t
5874 s,@libexecdir@,$libexecdir,;t t
5875 s,@datadir@,$datadir,;t t
5876 s,@sysconfdir@,$sysconfdir,;t t
5877 s,@sharedstatedir@,$sharedstatedir,;t t
5878 s,@localstatedir@,$localstatedir,;t t
5879 s,@libdir@,$libdir,;t t
5880 s,@includedir@,$includedir,;t t
5881 s,@oldincludedir@,$oldincludedir,;t t
5882 s,@infodir@,$infodir,;t t
5883 s,@mandir@,$mandir,;t t
5884 s,@build_alias@,$build_alias,;t t
5885 s,@host_alias@,$host_alias,;t t
5886 s,@target_alias@,$target_alias,;t t
5888 s,@ECHO_C@,$ECHO_C,;t t
5889 s,@ECHO_N@,$ECHO_N,;t t
5890 s,@ECHO_T@,$ECHO_T,;t t
5892 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5893 s,@plugin_subdirs@,$plugin_subdirs,;t t
5894 s,@XML2CONFIG@,$XML2CONFIG,;t t
5895 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5896 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5897 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5898 s,@enable_firm_jni@,$enable_firm_jni,;t t
5899 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5900 s,@disable_libiberty@,$disable_libiberty,;t t
5901 s,@enable_statistics@,$enable_statistics,;t t
5902 s,@enable_libcore@,$enable_libcore,;t t
5903 s,@enable_external_effects@,$enable_external_effects,;t t
5905 s,@CFLAGS@,$CFLAGS,;t t
5906 s,@LDFLAGS@,$LDFLAGS,;t t
5907 s,@CPPFLAGS@,$CPPFLAGS,;t t
5908 s,@ac_ct_CC@,$ac_ct_CC,;t t
5909 s,@EXEEXT@,$EXEEXT,;t t
5910 s,@OBJEXT@,$OBJEXT,;t t
5913 s,@ac_ct_LD@,$ac_ct_LD,;t t
5914 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5917 s,@RANLIB@,$RANLIB,;t t
5918 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5919 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5920 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5921 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5923 s,@DOXYGEN@,$DOXYGEN,;t t
5925 s,@JAVAC@,$JAVAC,;t t
5926 s,@JAVAH@,$JAVAH,;t t
5928 s,@EGREP@,$EGREP,;t t
5929 s,@LIBOBJS@,$LIBOBJS,;t t
5930 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5935 cat >>$CONFIG_STATUS <<\_ACEOF
5936 # Split the substitutions into bite-sized pieces for seds with
5937 # small command number limits, like on Digital OSF/1 and HP-UX.
5939 ac_sed_frag=1 # Number of current file.
5940 ac_beg=1 # First line for current file.
5941 ac_end=$ac_max_sed_lines # Line after last line for current file.
5944 while $ac_more_lines; do
5945 if test $ac_beg -gt 1; then
5946 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5948 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5950 if test ! -s $tmp/subs.frag; then
5953 # The purpose of the label and of the branching condition is to
5954 # speed up the sed processing (if there are no `@' at all, there
5955 # is no need to browse any of the substitutions).
5956 # These are the two extra sed commands mentioned above.
5958 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5959 if test -z "$ac_sed_cmds"; then
5960 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5962 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5964 ac_sed_frag=`expr $ac_sed_frag + 1`
5966 ac_end=`expr $ac_end + $ac_max_sed_lines`
5969 if test -z "$ac_sed_cmds"; then
5972 fi # test -n "$CONFIG_FILES"
5975 cat >>$CONFIG_STATUS <<\_ACEOF
5976 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5977 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5979 - | *:- | *:-:* ) # input from stdin
5981 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5982 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5983 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5984 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5985 * ) ac_file_in=$ac_file.in ;;
5988 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5989 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5990 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5991 X"$ac_file" : 'X\(//\)[^/]' \| \
5992 X"$ac_file" : 'X\(//\)$' \| \
5993 X"$ac_file" : 'X\(/\)' \| \
5994 . : '\(.\)' 2>/dev/null ||
5996 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5997 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5998 /^X\(\/\/\)$/{ s//\1/; q; }
5999 /^X\(\/\).*/{ s//\1/; q; }
6001 { if $as_mkdir_p; then
6006 while test ! -d "$as_dir"; do
6007 as_dirs="$as_dir $as_dirs"
6008 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6009 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6010 X"$as_dir" : 'X\(//\)[^/]' \| \
6011 X"$as_dir" : 'X\(//\)$' \| \
6012 X"$as_dir" : 'X\(/\)' \| \
6013 . : '\(.\)' 2>/dev/null ||
6015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6016 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6017 /^X\(\/\/\)$/{ s//\1/; q; }
6018 /^X\(\/\).*/{ s//\1/; q; }
6021 test ! -n "$as_dirs" || mkdir $as_dirs
6022 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6023 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6024 { (exit 1); exit 1; }; }; }
6028 if test "$ac_dir" != .; then
6029 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6030 # A "../" for each directory in $ac_dir_suffix.
6031 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6033 ac_dir_suffix= ac_top_builddir=
6037 .) # No --srcdir option. We are building in place.
6039 if test -z "$ac_top_builddir"; then
6042 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6044 [\\/]* | ?:[\\/]* ) # Absolute path.
6045 ac_srcdir=$srcdir$ac_dir_suffix;
6046 ac_top_srcdir=$srcdir ;;
6048 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6049 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6052 # Do not use `cd foo && pwd` to compute absolute paths, because
6053 # the directories may not exist.
6055 .) ac_abs_builddir="$ac_dir";;
6058 .) ac_abs_builddir=`pwd`;;
6059 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6060 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6063 case $ac_abs_builddir in
6064 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6066 case ${ac_top_builddir}. in
6067 .) ac_abs_top_builddir=$ac_abs_builddir;;
6068 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6069 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6072 case $ac_abs_builddir in
6073 .) ac_abs_srcdir=$ac_srcdir;;
6076 .) ac_abs_srcdir=$ac_abs_builddir;;
6077 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6078 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6081 case $ac_abs_builddir in
6082 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6084 case $ac_top_srcdir in
6085 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6086 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6087 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6093 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6094 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6097 if test x"$ac_file" != x-; then
6098 { echo "$as_me:$LINENO: creating $ac_file" >&5
6099 echo "$as_me: creating $ac_file" >&6;}
6102 # Let's still pretend it is `configure' which instantiates (i.e., don't
6103 # use $as_me), people would be surprised to read:
6104 # /* config.h. Generated by config.status. */
6105 if test x"$ac_file" = x-; then
6108 configure_input="$ac_file. "
6110 configure_input=$configure_input"Generated from `echo $ac_file_in |
6111 sed 's,.*/,,'` by configure."
6113 # First look for the input files in the build tree, otherwise in the
6115 ac_file_inputs=`IFS=:
6116 for f in $ac_file_in; do
6118 -) echo $tmp/stdin ;;
6120 # Absolute (can't be DOS-style, as IFS=:)
6121 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6122 echo "$as_me: error: cannot find input file: $f" >&2;}
6123 { (exit 1); exit 1; }; }
6126 if test -f "$f"; then
6129 elif test -f "$srcdir/$f"; then
6134 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6135 echo "$as_me: error: cannot find input file: $f" >&2;}
6136 { (exit 1); exit 1; }; }
6139 done` || { (exit 1); exit 1; }
6141 cat >>$CONFIG_STATUS <<_ACEOF
6145 cat >>$CONFIG_STATUS <<\_ACEOF
6147 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6148 s,@configure_input@,$configure_input,;t t
6149 s,@srcdir@,$ac_srcdir,;t t
6150 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6151 s,@top_srcdir@,$ac_top_srcdir,;t t
6152 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6153 s,@builddir@,$ac_builddir,;t t
6154 s,@abs_builddir@,$ac_abs_builddir,;t t
6155 s,@top_builddir@,$ac_top_builddir,;t t
6156 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6157 s,@INSTALL@,$ac_INSTALL,;t t
6158 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6160 if test x"$ac_file" != x-; then
6161 mv $tmp/out $ac_file
6169 cat >>$CONFIG_STATUS <<\_ACEOF
6172 # CONFIG_HEADER section.
6175 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6176 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6178 # ac_d sets the value in "#define NAME VALUE" lines.
6179 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6180 ac_dB='[ ].*$,\1#\2'
6183 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6184 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6185 ac_uB='$,\1#\2define\3'
6189 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6190 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6192 - | *:- | *:-:* ) # input from stdin
6194 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6195 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6196 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6197 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6198 * ) ac_file_in=$ac_file.in ;;
6201 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6202 echo "$as_me: creating $ac_file" >&6;}
6204 # First look for the input files in the build tree, otherwise in the
6206 ac_file_inputs=`IFS=:
6207 for f in $ac_file_in; do
6209 -) echo $tmp/stdin ;;
6211 # Absolute (can't be DOS-style, as IFS=:)
6212 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6213 echo "$as_me: error: cannot find input file: $f" >&2;}
6214 { (exit 1); exit 1; }; }
6215 # Do quote $f, to prevent DOS paths from being IFS'd.
6218 if test -f "$f"; then
6221 elif test -f "$srcdir/$f"; then
6226 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6227 echo "$as_me: error: cannot find input file: $f" >&2;}
6228 { (exit 1); exit 1; }; }
6231 done` || { (exit 1); exit 1; }
6232 # Remove the trailing spaces.
6233 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6237 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6238 # `conftest.undefs', that substitutes the proper values into
6239 # config.h.in to produce config.h. The first handles `#define'
6240 # templates, and the second `#undef' templates.
6241 # And first: Protect against being on the right side of a sed subst in
6242 # config.status. Protect against being in an unquoted here document
6244 rm -f conftest.defines conftest.undefs
6245 # Using a here document instead of a string reduces the quoting nightmare.
6246 # Putting comments in sed scripts is not portable.
6248 # `end' is used to avoid that the second main sed command (meant for
6249 # 0-ary CPP macros) applies to n-ary macro definitions.
6250 # See the Autoconf documentation for `clear'.
6251 cat >confdef2sed.sed <<\_ACEOF
6256 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6258 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6261 # If some macros were called several times there might be several times
6262 # the same #defines, which is useless. Nevertheless, we may not want to
6263 # sort them, since we want the *last* AC-DEFINE to be honored.
6264 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6265 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6266 rm -f confdef2sed.sed
6268 # This sed command replaces #undef with comments. This is necessary, for
6269 # example, in the case of _POSIX_SOURCE, which is predefined and required
6270 # on some systems where configure will not decide to define it.
6271 cat >>conftest.undefs <<\_ACEOF
6272 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6275 # Break up conftest.defines because some shells have a limit on the size
6276 # of here documents, and old seds have small limits too (100 cmds).
6277 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6278 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6279 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6280 echo ' :' >>$CONFIG_STATUS
6282 while grep . conftest.defines >/dev/null
6284 # Write a limited-size here document to $tmp/defines.sed.
6285 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6286 # Speed up: don't consider the non `#define' lines.
6287 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
6288 # Work around the forget-to-reset-the-flag bug.
6289 echo 't clr' >>$CONFIG_STATUS
6290 echo ': clr' >>$CONFIG_STATUS
6291 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
6293 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6297 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6298 rm -f conftest.defines
6299 mv conftest.tail conftest.defines
6301 rm -f conftest.defines
6302 echo ' fi # grep' >>$CONFIG_STATUS
6303 echo >>$CONFIG_STATUS
6305 # Break up conftest.undefs because some shells have a limit on the size
6306 # of here documents, and old seds have small limits too (100 cmds).
6307 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6309 while grep . conftest.undefs >/dev/null
6311 # Write a limited-size here document to $tmp/undefs.sed.
6312 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6313 # Speed up: don't consider the non `#undef'
6314 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6315 # Work around the forget-to-reset-the-flag bug.
6316 echo 't clr' >>$CONFIG_STATUS
6317 echo ': clr' >>$CONFIG_STATUS
6318 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6320 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6324 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6325 rm -f conftest.undefs
6326 mv conftest.tail conftest.undefs
6328 rm -f conftest.undefs
6330 cat >>$CONFIG_STATUS <<\_ACEOF
6331 # Let's still pretend it is `configure' which instantiates (i.e., don't
6332 # use $as_me), people would be surprised to read:
6333 # /* config.h. Generated by config.status. */
6334 if test x"$ac_file" = x-; then
6335 echo "/* Generated by configure. */" >$tmp/config.h
6337 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6339 cat $tmp/in >>$tmp/config.h
6341 if test x"$ac_file" != x-; then
6342 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6343 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6344 echo "$as_me: $ac_file is unchanged" >&6;}
6346 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6347 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6348 X"$ac_file" : 'X\(//\)[^/]' \| \
6349 X"$ac_file" : 'X\(//\)$' \| \
6350 X"$ac_file" : 'X\(/\)' \| \
6351 . : '\(.\)' 2>/dev/null ||
6353 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6354 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6355 /^X\(\/\/\)$/{ s//\1/; q; }
6356 /^X\(\/\).*/{ s//\1/; q; }
6358 { if $as_mkdir_p; then
6363 while test ! -d "$as_dir"; do
6364 as_dirs="$as_dir $as_dirs"
6365 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6366 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6367 X"$as_dir" : 'X\(//\)[^/]' \| \
6368 X"$as_dir" : 'X\(//\)$' \| \
6369 X"$as_dir" : 'X\(/\)' \| \
6370 . : '\(.\)' 2>/dev/null ||
6372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6373 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6374 /^X\(\/\/\)$/{ s//\1/; q; }
6375 /^X\(\/\).*/{ s//\1/; q; }
6378 test ! -n "$as_dirs" || mkdir $as_dirs
6379 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6380 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6381 { (exit 1); exit 1; }; }; }
6384 mv $tmp/config.h $ac_file
6392 cat >>$CONFIG_STATUS <<\_ACEOF
6395 # CONFIG_COMMANDS section.
6397 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6398 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6399 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6400 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6401 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6402 X"$ac_dest" : 'X\(//\)[^/]' \| \
6403 X"$ac_dest" : 'X\(//\)$' \| \
6404 X"$ac_dest" : 'X\(/\)' \| \
6405 . : '\(.\)' 2>/dev/null ||
6407 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6408 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6409 /^X\(\/\/\)$/{ s//\1/; q; }
6410 /^X\(\/\).*/{ s//\1/; q; }
6412 { if $as_mkdir_p; then
6417 while test ! -d "$as_dir"; do
6418 as_dirs="$as_dir $as_dirs"
6419 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6420 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6421 X"$as_dir" : 'X\(//\)[^/]' \| \
6422 X"$as_dir" : 'X\(//\)$' \| \
6423 X"$as_dir" : 'X\(/\)' \| \
6424 . : '\(.\)' 2>/dev/null ||
6426 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6427 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6428 /^X\(\/\/\)$/{ s//\1/; q; }
6429 /^X\(\/\).*/{ s//\1/; q; }
6432 test ! -n "$as_dirs" || mkdir $as_dirs
6433 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6434 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6435 { (exit 1); exit 1; }; }; }
6439 if test "$ac_dir" != .; then
6440 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6441 # A "../" for each directory in $ac_dir_suffix.
6442 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6444 ac_dir_suffix= ac_top_builddir=
6448 .) # No --srcdir option. We are building in place.
6450 if test -z "$ac_top_builddir"; then
6453 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6455 [\\/]* | ?:[\\/]* ) # Absolute path.
6456 ac_srcdir=$srcdir$ac_dir_suffix;
6457 ac_top_srcdir=$srcdir ;;
6459 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6460 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6463 # Do not use `cd foo && pwd` to compute absolute paths, because
6464 # the directories may not exist.
6466 .) ac_abs_builddir="$ac_dir";;
6469 .) ac_abs_builddir=`pwd`;;
6470 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6471 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6474 case $ac_abs_builddir in
6475 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6477 case ${ac_top_builddir}. in
6478 .) ac_abs_top_builddir=$ac_abs_builddir;;
6479 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6480 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6483 case $ac_abs_builddir in
6484 .) ac_abs_srcdir=$ac_srcdir;;
6487 .) ac_abs_srcdir=$ac_abs_builddir;;
6488 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6489 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6492 case $ac_abs_builddir in
6493 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6495 case $ac_top_srcdir in
6496 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6497 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6498 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6503 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6504 echo "$as_me: executing $ac_dest commands" >&6;}
6506 default ) touch stamp-h ;;
6511 cat >>$CONFIG_STATUS <<\_ACEOF
6513 { (exit 0); exit 0; }
6515 chmod +x $CONFIG_STATUS
6516 ac_clean_files=$ac_clean_files_save
6519 # configure is writing to config.log, and then calls config.status.
6520 # config.status does its own redirection, appending to config.log.
6521 # Unfortunately, on DOS this fails, as config.log is still kept open
6522 # by configure, so config.status won't be able to write to it; its
6523 # output is simply discarded. So we exec the FD to /dev/null,
6524 # effectively closing config.log, so it can be properly (re)opened and
6525 # appended to by config.status. When coming back to configure, we
6526 # need to make the FD available again.
6527 if test "$no_create" != yes; then
6529 ac_config_status_args=
6530 test "$silent" = yes &&
6531 ac_config_status_args="$ac_config_status_args --quiet"
6533 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6535 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6536 # would make configure fail if this is the last instruction.
6537 $ac_cs_success || { (exit 1); exit 1; }
6541 $AWK -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h