2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for libfirm 1.3.0.
6 # Copyright (C) 2003 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be Bourne compatible
14 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
18 # is contrary to our usage. Disable this feature.
19 alias -g '${1+"$@"}'='"$@"'
20 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 DUALCASE=1; export DUALCASE # for MKS sh
25 # Support unset when possible.
26 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
33 # Work around bugs in pre-3.0 UWIN ksh.
34 $as_unset ENV MAIL MAILPATH
41 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
42 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
46 eval $as_var=C; export $as_var
52 # Required to use basename.
53 if expr a : '\(a\)' >/dev/null 2>&1; then
59 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
66 # Name of the executable.
67 as_me=`$as_basename "$0" ||
68 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
69 X"$0" : 'X\(//\)$' \| \
70 X"$0" : 'X\(/\)$' \| \
71 . : '\(.\)' 2>/dev/null ||
73 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
74 /^X\/\(\/\/\)$/{ s//\1/; q; }
75 /^X\/\(\/\).*/{ s//\1/; q; }
79 # PATH needs CR, and LINENO needs CR and PATH.
80 # Avoid depending upon Character Ranges.
81 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
84 as_cr_digits='0123456789'
85 as_cr_alnum=$as_cr_Letters$as_cr_digits
87 # The user is always right.
88 if test "${PATH_SEPARATOR+set}" != set; then
89 echo "#! /bin/sh" >conf$$.sh
90 echo "exit 0" >>conf$$.sh
92 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
103 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
104 test "x$as_lineno_1" != "x$as_lineno_2" &&
105 test "x$as_lineno_3" = "x$as_lineno_2" || {
106 # Find who we are. Look in the path if we contain no path at all
109 *[\\/]* ) as_myself=$0 ;;
110 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
114 test -z "$as_dir" && as_dir=.
115 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
120 # We did not find ourselves, most probably we were run as `sh COMMAND'
121 # in which case we are not to be found in the path.
122 if test "x$as_myself" = x; then
125 if test ! -f "$as_myself"; then
126 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
127 { (exit 1); exit 1; }; }
129 case $CONFIG_SHELL in
131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
132 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 test -z "$as_dir" && as_dir=.
136 for as_base in sh bash ksh sh5; do
139 if ("$as_dir/$as_base" -c '
142 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
143 test "x$as_lineno_1" != "x$as_lineno_2" &&
144 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
145 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
146 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
147 CONFIG_SHELL=$as_dir/$as_base
149 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
157 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
158 # uniformly replaced by the line number. The first 'sed' inserts a
159 # line-number line before each line; the second 'sed' does the real
160 # work. The second script uses 'N' to pair each line-number line
161 # with the numbered line, and appends trailing '-' during
162 # substitution so that $LINENO is not a special case at line end.
163 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
164 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
165 sed '=' <$as_myself |
170 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 s,^['$as_cr_digits']*\n,,
175 chmod +x $as_me.lineno ||
176 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
177 { (exit 1); exit 1; }; }
179 # Don't try to exec as it changes $[0], causing all sort of problems
180 # (the dirname of $[0] is not the place where we might find the
181 # original and so on. Autoconf is especially sensible to this).
183 # Exit status is that of the last command.
188 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
189 *c*,-n*) ECHO_N= ECHO_C='
191 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
192 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 if expr a : '\(a\)' >/dev/null 2>&1; then
201 rm -f conf$$ conf$$.exe conf$$.file
203 if ln -s conf$$.file conf$$ 2>/dev/null; then
204 # We could just check for DJGPP; but this test a) works b) is more generic
205 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
206 if test -f conf$$.exe; then
207 # Don't use ln at all; we don't have any links
212 elif ln conf$$.file conf$$ 2>/dev/null; then
217 rm -f conf$$ conf$$.exe conf$$.file
219 if mkdir -p . 2>/dev/null; then
222 test -d ./-p && rmdir ./-p
226 as_executable_p="test -f"
228 # Sed expression to map a string onto a valid CPP name.
229 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231 # Sed expression to map a string onto a valid variable name.
232 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
236 # We need space, tab and new line, in precisely that order.
246 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
247 # so uname gets run too.
248 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
255 ac_default_prefix=/usr/local
256 ac_config_libobj_dir=.
261 SHELL=${CONFIG_SHELL-/bin/sh}
263 # Maximum number of lines to put in a shell here document.
264 # This variable seems obsolete. It should probably be removed, and
265 # only ac_max_sed_lines should be used.
266 : ${ac_max_here_lines=38}
268 # Identity of this package.
269 PACKAGE_NAME='libfirm'
270 PACKAGE_TARNAME='libfirm'
271 PACKAGE_VERSION='1.3.0'
272 PACKAGE_STRING='libfirm 1.3.0'
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libfirm_conf_env plugin_subdirs XML2CONFIG enable_debug_libfirm enable_profile_libfirm enable_auto_documentation enable_firm_jni enable_heapanalysis disable_libiberty enable_statistics enable_libcore enable_ilp enable_jvm enable_wchar_support enable_external_effects CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT AWK LD ac_ct_LD libfirm_cv_prog_ld_r AR TAR RANLIB ac_ct_RANLIB INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S DOXYGEN DOT JAVAC JAVAH CPP EGREP LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures libfirm 1.3.0 to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
836 if test -n "$ac_init_help"; then
837 case $ac_init_help in
838 short | recursive ) echo "Configuration of libfirm 1.3.0:";;
843 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
844 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
845 --enable-debug enable assertions and additional debugging routines
846 --disable-inlining disable inline C-extension
847 --enable-profile enable profiling
848 --enable-autodoc enable auto documentation
849 --enable-firmjni check for tools necesarry to construct a java native interface for Firm
850 --enable-heapanalysis Compile with heap analysis.
851 --disable-libiberty disable own libiberty parts
852 --disable-hooks disable Firm hooks
853 --enable-statistics enable Firm statistics
854 --enable-libcore enable libcore debugging
855 --enable-ilp enable ilp solver
856 --enable-jvm enable to call the jvm
857 --enable-wchar-support enable wchar_t support for identifiers (needed for java)
858 --disable-external-effects disable descriptions of external effects in XML
861 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
862 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
863 --with-plugins=list include external libfirm plugins list (space separated)
864 --with-includedir=add colon seperated list of directories to include search path
865 --with-libdir=add colon seperated list of directories to linker search path
867 Some influential environment variables:
868 CC C compiler command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
871 nonstandard directory <lib dir>
872 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
873 headers in a nonstandard directory <include dir>
876 Use these variables to override the choices made by `configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
882 if test "$ac_init_help" = "recursive"; then
883 # If there are subdirs, report their specific --help.
885 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
886 test -d $ac_dir || continue
889 if test "$ac_dir" != .; then
890 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
891 # A "../" for each directory in $ac_dir_suffix.
892 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
894 ac_dir_suffix= ac_top_builddir=
898 .) # No --srcdir option. We are building in place.
900 if test -z "$ac_top_builddir"; then
903 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
905 [\\/]* | ?:[\\/]* ) # Absolute path.
906 ac_srcdir=$srcdir$ac_dir_suffix;
907 ac_top_srcdir=$srcdir ;;
909 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
910 ac_top_srcdir=$ac_top_builddir$srcdir ;;
913 # Do not use `cd foo && pwd` to compute absolute paths, because
914 # the directories may not exist.
916 .) ac_abs_builddir="$ac_dir";;
919 .) ac_abs_builddir=`pwd`;;
920 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
921 *) ac_abs_builddir=`pwd`/"$ac_dir";;
924 case $ac_abs_builddir in
925 .) ac_abs_top_builddir=${ac_top_builddir}.;;
927 case ${ac_top_builddir}. in
928 .) ac_abs_top_builddir=$ac_abs_builddir;;
929 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
930 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
933 case $ac_abs_builddir in
934 .) ac_abs_srcdir=$ac_srcdir;;
937 .) ac_abs_srcdir=$ac_abs_builddir;;
938 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
939 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
942 case $ac_abs_builddir in
943 .) ac_abs_top_srcdir=$ac_top_srcdir;;
945 case $ac_top_srcdir in
946 .) ac_abs_top_srcdir=$ac_abs_builddir;;
947 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
948 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
953 # Check for guested configure; otherwise get Cygnus style configure.
954 if test -f $ac_srcdir/configure.gnu; then
956 $SHELL $ac_srcdir/configure.gnu --help=recursive
957 elif test -f $ac_srcdir/configure; then
959 $SHELL $ac_srcdir/configure --help=recursive
960 elif test -f $ac_srcdir/configure.ac ||
961 test -f $ac_srcdir/configure.in; then
965 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
971 test -n "$ac_init_help" && exit 0
972 if $ac_init_version; then
974 libfirm configure 1.3.0
975 generated by GNU Autoconf 2.59
977 Copyright (C) 2003 Free Software Foundation, Inc.
978 This configure script is free software; the Free Software Foundation
979 gives unlimited permission to copy, distribute and modify it.
985 This file contains any messages produced by compilers while
986 running configure, to aid debugging if configure makes a mistake.
988 It was created by libfirm $as_me 1.3.0, which was
989 generated by GNU Autoconf 2.59. Invocation command line was
1000 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1001 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1002 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1003 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1004 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1006 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1007 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1009 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1010 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1011 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1012 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1013 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1014 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1015 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1023 test -z "$as_dir" && as_dir=.
1024 echo "PATH: $as_dir"
1039 # Keep a trace of the command line.
1040 # Strip out --no-create and --no-recursion so they do not pile up.
1041 # Strip out --silent because we don't want to record it for future runs.
1042 # Also quote any args containing shell meta-characters.
1043 # Make two passes to allow for proper duplicate-argument suppression.
1048 ac_must_keep_next=false
1054 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1055 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1056 | -silent | --silent | --silen | --sile | --sil)
1058 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1059 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1062 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1064 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1065 if test $ac_must_keep_next = true; then
1066 ac_must_keep_next=false # Got value, back to normal.
1069 *=* | --config-cache | -C | -disable-* | --disable-* \
1070 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1071 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1072 | -with-* | --with-* | -without-* | --without-* | --x)
1073 case "$ac_configure_args0 " in
1074 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1077 -* ) ac_must_keep_next=true ;;
1080 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1081 # Get rid of the leading space.
1087 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1088 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1090 # When interrupted or exit'd, cleanup temporary files, and complete
1091 # config.log. We remove comments because anyway the quotes in there
1092 # would cause problems or look ugly.
1093 # WARNING: Be sure not to use single quotes in there, as some shells,
1094 # such as our DU 5.0 friend, will then `close' the trap.
1095 trap 'exit_status=$?
1096 # Save into config.log some information that might help in debugging.
1101 ## ---------------- ##
1102 ## Cache variables. ##
1103 ## ---------------- ##
1106 # The following way of writing the cache mishandles newlines in values,
1109 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1112 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1113 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1117 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1124 ## ----------------- ##
1125 ## Output variables. ##
1126 ## ----------------- ##
1129 for ac_var in $ac_subst_vars
1131 eval ac_val=$`echo $ac_var`
1132 echo "$ac_var='"'"'$ac_val'"'"'"
1136 if test -n "$ac_subst_files"; then
1143 for ac_var in $ac_subst_files
1145 eval ac_val=$`echo $ac_var`
1146 echo "$ac_var='"'"'$ac_val'"'"'"
1151 if test -s confdefs.h; then
1158 sed "/^$/d" confdefs.h | sort
1161 test "$ac_signal" != 0 &&
1162 echo "$as_me: caught signal $ac_signal"
1163 echo "$as_me: exit $exit_status"
1165 rm -f core *.core &&
1166 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1169 for ac_signal in 1 2 13 15; do
1170 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1174 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1175 rm -rf conftest* confdefs.h
1176 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1179 # Predefined preprocessor variables.
1181 cat >>confdefs.h <<_ACEOF
1182 #define PACKAGE_NAME "$PACKAGE_NAME"
1186 cat >>confdefs.h <<_ACEOF
1187 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1191 cat >>confdefs.h <<_ACEOF
1192 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1196 cat >>confdefs.h <<_ACEOF
1197 #define PACKAGE_STRING "$PACKAGE_STRING"
1201 cat >>confdefs.h <<_ACEOF
1202 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1206 # Let the site file select an alternate cache file if it wants to.
1207 # Prefer explicitly selected file to automatically selected ones.
1208 if test -z "$CONFIG_SITE"; then
1209 if test "x$prefix" != xNONE; then
1210 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1212 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1215 for ac_site_file in $CONFIG_SITE; do
1216 if test -r "$ac_site_file"; then
1217 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1218 echo "$as_me: loading site script $ac_site_file" >&6;}
1219 sed 's/^/| /' "$ac_site_file" >&5
1224 if test -r "$cache_file"; then
1225 # Some versions of bash will fail to source /dev/null (special
1226 # files actually), so we avoid doing that.
1227 if test -f "$cache_file"; then
1228 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1229 echo "$as_me: loading cache $cache_file" >&6;}
1231 [\\/]* | ?:[\\/]* ) . $cache_file;;
1232 *) . ./$cache_file;;
1236 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1237 echo "$as_me: creating cache $cache_file" >&6;}
1241 # Check that the precious variables saved in the cache have kept the same
1243 ac_cache_corrupted=false
1244 for ac_var in `(set) 2>&1 |
1245 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1246 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1247 eval ac_new_set=\$ac_env_${ac_var}_set
1248 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1249 eval ac_new_val="\$ac_env_${ac_var}_value"
1250 case $ac_old_set,$ac_new_set in
1252 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1253 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1254 ac_cache_corrupted=: ;;
1256 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1257 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1258 ac_cache_corrupted=: ;;
1261 if test "x$ac_old_val" != "x$ac_new_val"; then
1262 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1263 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1264 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1265 echo "$as_me: former value: $ac_old_val" >&2;}
1266 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1267 echo "$as_me: current value: $ac_new_val" >&2;}
1268 ac_cache_corrupted=:
1271 # Pass precious variables to config.status.
1272 if test "$ac_new_set" = set; then
1274 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1275 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1276 *) ac_arg=$ac_var=$ac_new_val ;;
1278 case " $ac_configure_args " in
1279 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1280 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1284 if $ac_cache_corrupted; then
1285 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1286 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1287 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1288 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1289 { (exit 1); exit 1; }; }
1293 ac_cpp='$CPP $CPPFLAGS'
1294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1327 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1328 ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
1329 ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
1330 ir/arch/Makefile ir/lower/Makefile \
1331 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1334 ac_config_headers="$ac_config_headers config.h"
1337 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1340 CONF_DIR_NAME=`dirname $0`
1343 echo "$as_me:$LINENO: checking for external libfirm plugins" >&5
1344 echo $ECHO_N "checking for external libfirm plugins... $ECHO_C" >&6
1346 # Check whether --with-plugins or --without-plugins was given.
1347 if test "${with_plugins+set}" = set; then
1348 withval="$with_plugins"
1350 plugin_subdirs=$withval
1352 for i in $withval ; do
1353 plugin_files="$i/Makefile $plugin_files"
1355 ac_output_file="$ac_output_file $plugin_files"
1364 if test "$plugin_subdirs" == ""; then
1365 echo "$as_me:$LINENO: result: disabled" >&5
1366 echo "${ECHO_T}disabled" >&6
1368 echo "$as_me:$LINENO: result: $plugin_subdirs" >&5
1369 echo "${ECHO_T}$plugin_subdirs" >&6
1373 # Check whether --with-includedir or --without-includedir was given.
1374 if test "${with_includedir+set}" = set; then
1375 withval="$with_includedir"
1376 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1380 # Check whether --with-libdir or --without-libdir was given.
1381 if test "${with_libdir+set}" = set; then
1382 withval="$with_libdir"
1383 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1387 # Extract the first word of "xml2-config", so it can be a program name with args.
1388 set dummy xml2-config; ac_word=$2
1389 echo "$as_me:$LINENO: checking for $ac_word" >&5
1390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1391 if test "${ac_cv_prog_XML2CONFIG+set}" = set; then
1392 echo $ECHO_N "(cached) $ECHO_C" >&6
1394 if test -n "$XML2CONFIG"; then
1395 ac_cv_prog_XML2CONFIG="$XML2CONFIG" # Let the user override the test.
1397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1401 test -z "$as_dir" && as_dir=.
1402 for ac_exec_ext in '' $ac_executable_extensions; do
1403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1404 ac_cv_prog_XML2CONFIG=""xml2-config""
1405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1411 test -z "$ac_cv_prog_XML2CONFIG" && ac_cv_prog_XML2CONFIG=""echo""
1414 XML2CONFIG=$ac_cv_prog_XML2CONFIG
1415 if test -n "$XML2CONFIG"; then
1416 echo "$as_me:$LINENO: result: $XML2CONFIG" >&5
1417 echo "${ECHO_T}$XML2CONFIG" >&6
1419 echo "$as_me:$LINENO: result: no" >&5
1420 echo "${ECHO_T}no" >&6
1423 if test "$XML2CONFIG" != "xml2-config"; then
1424 { { echo "$as_me:$LINENO: error: xml2-config for detecting libxml2 not found" >&5
1425 echo "$as_me: error: xml2-config for detecting libxml2 not found" >&2;}
1426 { (exit 1); exit 1; }; }
1429 LDFLAGS=$LDFLAGS" -L/usr/lib `$XML2CONFIG --libs`";
1430 CPPFLAGS=$CPPFLAGS" `$XML2CONFIG --cflags`";
1432 # Check whether --enable-debug or --disable-debug was given.
1433 if test "${enable_debug+set}" = set; then
1434 enableval="$enable_debug"
1435 if test "$enableval" = yes; then
1436 cat >>confdefs.h <<\_ACEOF
1437 #define DEBUG_libfirm 1
1441 cat >>confdefs.h <<\_ACEOF
1449 # Check whether --enable-inlining or --disable-inlining was given.
1450 if test "${enable_inlining+set}" = set; then
1451 enableval="$enable_inlining"
1452 if test "$enableval" = yes; then
1453 cat >>confdefs.h <<\_ACEOF
1454 #define USE_INLINING 1
1459 cat >>confdefs.h <<\_ACEOF
1460 #define USE_INLINING 1
1466 # Check whether --enable-profile or --disable-profile was given.
1467 if test "${enable_profile+set}" = set; then
1468 enableval="$enable_profile"
1469 if test "$enableval"=yes; then
1470 enable_profile_libfirm=yes
1473 enable_profile_libfirm=no
1477 # Check whether --enable-autodoc or --disable-autodoc was given.
1478 if test "${enable_autodoc+set}" = set; then
1479 enableval="$enable_autodoc"
1480 if test "$enableval"=yes; then
1481 enable_auto_documentation=yes
1484 enable_auto_documentation=no
1489 # Check whether --enable-firmjni or --disable-firmjni was given.
1490 if test "${enable_firmjni+set}" = set; then
1491 enableval="$enable_firmjni"
1492 if test "$enableval"=yes; then
1500 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1501 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1502 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1503 if test "${enable_heapanalysis+set}" = set; then
1504 enableval="$enable_heapanalysis"
1505 enable_heapanalysis=$enableval
1507 enable_heapanalysis="no"
1509 if test "$enable_heapanalysis" = "no"; then
1510 echo "$as_me:$LINENO: result: disabled" >&5
1511 echo "${ECHO_T}disabled" >&6
1513 cat >>confdefs.h <<\_ACEOF
1514 #define DO_HEAPANALYSIS 1
1517 echo "$as_me:$LINENO: result: enabled" >&5
1518 echo "${ECHO_T}enabled" >&6
1522 # Check whether --enable-libiberty or --disable-libiberty was given.
1523 if test "${enable_libiberty+set}" = set; then
1524 enableval="$enable_libiberty"
1525 if test "$enableval"=yes; then
1526 disable_libiberty=yes
1529 disable_libiberty=no
1533 # Check whether --enable-hooks or --disable-hooks was given.
1534 if test "${enable_hooks+set}" = set; then
1535 enableval="$enable_hooks"
1536 if test "$enableval" = yes; then
1537 cat >>confdefs.h <<\_ACEOF
1538 #define FIRM_ENABLE_HOOKS 1
1543 cat >>confdefs.h <<\_ACEOF
1544 #define FIRM_ENABLE_HOOKS 1
1550 # Check whether --enable-statistics or --disable-statistics was given.
1551 if test "${enable_statistics+set}" = set; then
1552 enableval="$enable_statistics"
1553 if test "$enableval"=yes; then
1554 cat >>confdefs.h <<\_ACEOF
1555 #define FIRM_STATISTICS 1
1562 # Check whether --enable-libcore or --disable-libcore was given.
1563 if test "${enable_libcore+set}" = set; then
1564 enableval="$enable_libcore"
1565 if test "$enableval"=yes; then
1566 cat >>confdefs.h <<\_ACEOF
1567 #define WITH_LIBCORE 1
1574 # Check whether --enable-ilp or --disable-ilp was given.
1575 if test "${enable_ilp+set}" = set; then
1576 enableval="$enable_ilp"
1577 if test "$enableval"=yes; then
1578 cat >>confdefs.h <<\_ACEOF
1586 # Check whether --enable-jvm or --disable-jvm was given.
1587 if test "${enable_jvm+set}" = set; then
1588 enableval="$enable_jvm"
1589 if test "$enableval"=yes; then
1590 cat >>confdefs.h <<\_ACEOF
1600 # Check whether --enable-wchar_support or --disable-wchar_support was given.
1601 if test "${enable_wchar_support+set}" = set; then
1602 enableval="$enable_wchar_support"
1603 if test "$enableval"=yes; then
1604 cat >>confdefs.h <<\_ACEOF
1605 #define FIRM_ENABLE_WCHAR 1
1613 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1614 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1615 # Check whether --enable-external-effects or --disable-external-effects was given.
1616 if test "${enable_external_effects+set}" = set; then
1617 enableval="$enable_external_effects"
1618 if test "$enableval"="no"; then
1619 enable_external_effects=no
1622 enable_external_effects=yes
1625 if test "$enable_external_effects" == no; then
1626 echo "$as_me:$LINENO: result: disabled" >&5
1627 echo "${ECHO_T}disabled" >&6
1629 echo "$as_me:$LINENO: result: enabled" >&5
1630 echo "${ECHO_T}enabled" >&6
1635 ac_cpp='$CPP $CPPFLAGS'
1636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1639 if test -n "$ac_tool_prefix"; then
1640 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1641 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1642 echo "$as_me:$LINENO: checking for $ac_word" >&5
1643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1644 if test "${ac_cv_prog_CC+set}" = set; then
1645 echo $ECHO_N "(cached) $ECHO_C" >&6
1647 if test -n "$CC"; then
1648 ac_cv_prog_CC="$CC" # Let the user override the test.
1650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1654 test -z "$as_dir" && as_dir=.
1655 for ac_exec_ext in '' $ac_executable_extensions; do
1656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1657 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1667 if test -n "$CC"; then
1668 echo "$as_me:$LINENO: result: $CC" >&5
1669 echo "${ECHO_T}$CC" >&6
1671 echo "$as_me:$LINENO: result: no" >&5
1672 echo "${ECHO_T}no" >&6
1676 if test -z "$ac_cv_prog_CC"; then
1678 # Extract the first word of "gcc", so it can be a program name with args.
1679 set dummy gcc; ac_word=$2
1680 echo "$as_me:$LINENO: checking for $ac_word" >&5
1681 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1682 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1683 echo $ECHO_N "(cached) $ECHO_C" >&6
1685 if test -n "$ac_ct_CC"; then
1686 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692 test -z "$as_dir" && as_dir=.
1693 for ac_exec_ext in '' $ac_executable_extensions; do
1694 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1695 ac_cv_prog_ac_ct_CC="gcc"
1696 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1704 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1705 if test -n "$ac_ct_CC"; then
1706 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1707 echo "${ECHO_T}$ac_ct_CC" >&6
1709 echo "$as_me:$LINENO: result: no" >&5
1710 echo "${ECHO_T}no" >&6
1718 if test -z "$CC"; then
1719 if test -n "$ac_tool_prefix"; then
1720 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1721 set dummy ${ac_tool_prefix}cc; ac_word=$2
1722 echo "$as_me:$LINENO: checking for $ac_word" >&5
1723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724 if test "${ac_cv_prog_CC+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 if test -n "$CC"; then
1728 ac_cv_prog_CC="$CC" # Let the user override the test.
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1734 test -z "$as_dir" && as_dir=.
1735 for ac_exec_ext in '' $ac_executable_extensions; do
1736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737 ac_cv_prog_CC="${ac_tool_prefix}cc"
1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1747 if test -n "$CC"; then
1748 echo "$as_me:$LINENO: result: $CC" >&5
1749 echo "${ECHO_T}$CC" >&6
1751 echo "$as_me:$LINENO: result: no" >&5
1752 echo "${ECHO_T}no" >&6
1756 if test -z "$ac_cv_prog_CC"; then
1758 # Extract the first word of "cc", so it can be a program name with args.
1759 set dummy cc; ac_word=$2
1760 echo "$as_me:$LINENO: checking for $ac_word" >&5
1761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1762 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1763 echo $ECHO_N "(cached) $ECHO_C" >&6
1765 if test -n "$ac_ct_CC"; then
1766 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1772 test -z "$as_dir" && as_dir=.
1773 for ac_exec_ext in '' $ac_executable_extensions; do
1774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1775 ac_cv_prog_ac_ct_CC="cc"
1776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1784 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1785 if test -n "$ac_ct_CC"; then
1786 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1787 echo "${ECHO_T}$ac_ct_CC" >&6
1789 echo "$as_me:$LINENO: result: no" >&5
1790 echo "${ECHO_T}no" >&6
1799 if test -z "$CC"; then
1800 # Extract the first word of "cc", so it can be a program name with args.
1801 set dummy cc; ac_word=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_CC+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1807 if test -n "$CC"; then
1808 ac_cv_prog_CC="$CC" # Let the user override the test.
1811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1815 test -z "$as_dir" && as_dir=.
1816 for ac_exec_ext in '' $ac_executable_extensions; do
1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1819 ac_prog_rejected=yes
1823 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1829 if test $ac_prog_rejected = yes; then
1830 # We found a bogon in the path, so make sure we never use it.
1831 set dummy $ac_cv_prog_CC
1833 if test $# != 0; then
1834 # We chose a different compiler from the bogus one.
1835 # However, it has the same basename, so the bogon will be chosen
1836 # first if we set CC to just the basename; use the full file name.
1838 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1844 if test -n "$CC"; then
1845 echo "$as_me:$LINENO: result: $CC" >&5
1846 echo "${ECHO_T}$CC" >&6
1848 echo "$as_me:$LINENO: result: no" >&5
1849 echo "${ECHO_T}no" >&6
1853 if test -z "$CC"; then
1854 if test -n "$ac_tool_prefix"; then
1857 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1858 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1859 echo "$as_me:$LINENO: checking for $ac_word" >&5
1860 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1861 if test "${ac_cv_prog_CC+set}" = set; then
1862 echo $ECHO_N "(cached) $ECHO_C" >&6
1864 if test -n "$CC"; then
1865 ac_cv_prog_CC="$CC" # Let the user override the test.
1867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1871 test -z "$as_dir" && as_dir=.
1872 for ac_exec_ext in '' $ac_executable_extensions; do
1873 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1874 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1875 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 if test -n "$CC"; then
1885 echo "$as_me:$LINENO: result: $CC" >&5
1886 echo "${ECHO_T}$CC" >&6
1888 echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6
1892 test -n "$CC" && break
1895 if test -z "$CC"; then
1899 # Extract the first word of "$ac_prog", so it can be a program name with args.
1900 set dummy $ac_prog; ac_word=$2
1901 echo "$as_me:$LINENO: checking for $ac_word" >&5
1902 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1903 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1904 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 if test -n "$ac_ct_CC"; then
1907 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1913 test -z "$as_dir" && as_dir=.
1914 for ac_exec_ext in '' $ac_executable_extensions; do
1915 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1916 ac_cv_prog_ac_ct_CC="$ac_prog"
1917 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1925 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1926 if test -n "$ac_ct_CC"; then
1927 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1928 echo "${ECHO_T}$ac_ct_CC" >&6
1930 echo "$as_me:$LINENO: result: no" >&5
1931 echo "${ECHO_T}no" >&6
1934 test -n "$ac_ct_CC" && break
1943 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1944 See \`config.log' for more details." >&5
1945 echo "$as_me: error: no acceptable C compiler found in \$PATH
1946 See \`config.log' for more details." >&2;}
1947 { (exit 1); exit 1; }; }
1949 # Provide some information about the compiler.
1950 echo "$as_me:$LINENO:" \
1951 "checking for C compiler version" >&5
1952 ac_compiler=`set X $ac_compile; echo $2`
1953 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1954 (eval $ac_compiler --version </dev/null >&5) 2>&5
1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957 (exit $ac_status); }
1958 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1959 (eval $ac_compiler -v </dev/null >&5) 2>&5
1961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1962 (exit $ac_status); }
1963 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1964 (eval $ac_compiler -V </dev/null >&5) 2>&5
1966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1967 (exit $ac_status); }
1969 cat >conftest.$ac_ext <<_ACEOF
1972 cat confdefs.h >>conftest.$ac_ext
1973 cat >>conftest.$ac_ext <<_ACEOF
1974 /* end confdefs.h. */
1984 ac_clean_files_save=$ac_clean_files
1985 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1986 # Try to create an executable without -o first, disregard a.out.
1987 # It will help us diagnose broken compilers, and finding out an intuition
1989 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1990 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1991 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1992 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1993 (eval $ac_link_default) 2>&5
1995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1996 (exit $ac_status); }; then
1997 # Find the output, starting from the most likely. This scheme is
1998 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2001 # Be careful to initialize this variable, since it used to be cached.
2002 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2004 # b.out is created by i960 compilers.
2005 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2007 test -f "$ac_file" || continue
2009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2012 # This is the source file.
2015 # We found the default executable, but exeext='' is most
2019 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2020 # FIXME: I believe we export ac_cv_exeext for Libtool,
2021 # but it would be cool to find out if it's true. Does anybody
2022 # maintain Libtool? --akim.
2030 echo "$as_me: failed program was:" >&5
2031 sed 's/^/| /' conftest.$ac_ext >&5
2033 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2034 See \`config.log' for more details." >&5
2035 echo "$as_me: error: C compiler cannot create executables
2036 See \`config.log' for more details." >&2;}
2037 { (exit 77); exit 77; }; }
2040 ac_exeext=$ac_cv_exeext
2041 echo "$as_me:$LINENO: result: $ac_file" >&5
2042 echo "${ECHO_T}$ac_file" >&6
2044 # Check the compiler produces executables we can run. If not, either
2045 # the compiler is broken, or we cross compile.
2046 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2047 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2048 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2049 # If not cross compiling, check that we can run a simple program.
2050 if test "$cross_compiling" != yes; then
2051 if { ac_try='./$ac_file'
2052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; }; then
2059 if test "$cross_compiling" = maybe; then
2062 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2063 If you meant to cross compile, use \`--host'.
2064 See \`config.log' for more details." >&5
2065 echo "$as_me: error: cannot run C compiled programs.
2066 If you meant to cross compile, use \`--host'.
2067 See \`config.log' for more details." >&2;}
2068 { (exit 1); exit 1; }; }
2072 echo "$as_me:$LINENO: result: yes" >&5
2073 echo "${ECHO_T}yes" >&6
2075 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2076 ac_clean_files=$ac_clean_files_save
2077 # Check the compiler produces executables we can run. If not, either
2078 # the compiler is broken, or we cross compile.
2079 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2080 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2081 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2082 echo "${ECHO_T}$cross_compiling" >&6
2084 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2085 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2087 (eval $ac_link) 2>&5
2089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2090 (exit $ac_status); }; then
2091 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2092 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2093 # work properly (i.e., refer to `conftest.exe'), while it won't with
2095 for ac_file in conftest.exe conftest conftest.*; do
2096 test -f "$ac_file" || continue
2098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2099 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2106 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2107 See \`config.log' for more details." >&5
2108 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2109 See \`config.log' for more details." >&2;}
2110 { (exit 1); exit 1; }; }
2113 rm -f conftest$ac_cv_exeext
2114 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2115 echo "${ECHO_T}$ac_cv_exeext" >&6
2117 rm -f conftest.$ac_ext
2118 EXEEXT=$ac_cv_exeext
2120 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2121 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2122 if test "${ac_cv_objext+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 cat >conftest.$ac_ext <<_ACEOF
2128 cat confdefs.h >>conftest.$ac_ext
2129 cat >>conftest.$ac_ext <<_ACEOF
2130 /* end confdefs.h. */
2140 rm -f conftest.o conftest.obj
2141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2142 (eval $ac_compile) 2>&5
2144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2145 (exit $ac_status); }; then
2146 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2148 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2149 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2154 echo "$as_me: failed program was:" >&5
2155 sed 's/^/| /' conftest.$ac_ext >&5
2157 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2158 See \`config.log' for more details." >&5
2159 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2160 See \`config.log' for more details." >&2;}
2161 { (exit 1); exit 1; }; }
2164 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2166 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2167 echo "${ECHO_T}$ac_cv_objext" >&6
2168 OBJEXT=$ac_cv_objext
2170 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2171 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2172 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2173 echo $ECHO_N "(cached) $ECHO_C" >&6
2175 cat >conftest.$ac_ext <<_ACEOF
2178 cat confdefs.h >>conftest.$ac_ext
2179 cat >>conftest.$ac_ext <<_ACEOF
2180 /* end confdefs.h. */
2193 rm -f conftest.$ac_objext
2194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2195 (eval $ac_compile) 2>conftest.er1
2197 grep -v '^ *+' conftest.er1 >conftest.err
2199 cat conftest.err >&5
2200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2201 (exit $ac_status); } &&
2202 { ac_try='test -z "$ac_c_werror_flag"
2203 || test ! -s conftest.err'
2204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2208 (exit $ac_status); }; } &&
2209 { ac_try='test -s conftest.$ac_objext'
2210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2214 (exit $ac_status); }; }; then
2217 echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.$ac_ext >&5
2222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2223 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2226 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2227 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2228 GCC=`test $ac_compiler_gnu = yes && echo yes`
2229 ac_test_CFLAGS=${CFLAGS+set}
2230 ac_save_CFLAGS=$CFLAGS
2232 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2233 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2234 if test "${ac_cv_prog_cc_g+set}" = set; then
2235 echo $ECHO_N "(cached) $ECHO_C" >&6
2237 cat >conftest.$ac_ext <<_ACEOF
2240 cat confdefs.h >>conftest.$ac_ext
2241 cat >>conftest.$ac_ext <<_ACEOF
2242 /* end confdefs.h. */
2252 rm -f conftest.$ac_objext
2253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2254 (eval $ac_compile) 2>conftest.er1
2256 grep -v '^ *+' conftest.er1 >conftest.err
2258 cat conftest.err >&5
2259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2260 (exit $ac_status); } &&
2261 { ac_try='test -z "$ac_c_werror_flag"
2262 || test ! -s conftest.err'
2263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2267 (exit $ac_status); }; } &&
2268 { ac_try='test -s conftest.$ac_objext'
2269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); }; }; then
2276 echo "$as_me: failed program was:" >&5
2277 sed 's/^/| /' conftest.$ac_ext >&5
2281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2283 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2284 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2285 if test "$ac_test_CFLAGS" = set; then
2286 CFLAGS=$ac_save_CFLAGS
2287 elif test $ac_cv_prog_cc_g = yes; then
2288 if test "$GCC" = yes; then
2294 if test "$GCC" = yes; then
2300 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2301 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2302 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 ac_cv_prog_cc_stdc=no
2307 cat >conftest.$ac_ext <<_ACEOF
2310 cat confdefs.h >>conftest.$ac_ext
2311 cat >>conftest.$ac_ext <<_ACEOF
2312 /* end confdefs.h. */
2315 #include <sys/types.h>
2316 #include <sys/stat.h>
2317 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2318 struct buf { int x; };
2319 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2320 static char *e (p, i)
2326 static char *f (char * (*g) (char **, int), char **p, ...)
2331 s = g (p, va_arg (v,int));
2336 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2337 function prototypes and stuff, but not '\xHH' hex character constants.
2338 These don't provoke an error unfortunately, instead are silently treated
2339 as 'x'. The following induces an error, until -std1 is added to get
2340 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2341 array size at least. It's necessary to write '\x00'==0 to get something
2342 that's true only with -std1. */
2343 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2345 int test (int i, double x);
2346 struct s1 {int (*f) (int a);};
2347 struct s2 {int (*f) (double a);};
2348 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2354 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2359 # Don't try gcc -ansi; that turns off useful extensions and
2360 # breaks some systems' header files.
2361 # AIX -qlanglvl=ansi
2362 # Ultrix and OSF/1 -std1
2363 # HP-UX 10.20 and later -Ae
2364 # HP-UX older versions -Aa -D_HPUX_SOURCE
2365 # SVR4 -Xc -D__EXTENSIONS__
2366 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2368 CC="$ac_save_CC $ac_arg"
2369 rm -f conftest.$ac_objext
2370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2371 (eval $ac_compile) 2>conftest.er1
2373 grep -v '^ *+' conftest.er1 >conftest.err
2375 cat conftest.err >&5
2376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2377 (exit $ac_status); } &&
2378 { ac_try='test -z "$ac_c_werror_flag"
2379 || test ! -s conftest.err'
2380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2384 (exit $ac_status); }; } &&
2385 { ac_try='test -s conftest.$ac_objext'
2386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2390 (exit $ac_status); }; }; then
2391 ac_cv_prog_cc_stdc=$ac_arg
2394 echo "$as_me: failed program was:" >&5
2395 sed 's/^/| /' conftest.$ac_ext >&5
2398 rm -f conftest.err conftest.$ac_objext
2400 rm -f conftest.$ac_ext conftest.$ac_objext
2405 case "x$ac_cv_prog_cc_stdc" in
2407 echo "$as_me:$LINENO: result: none needed" >&5
2408 echo "${ECHO_T}none needed" >&6 ;;
2410 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2411 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2412 CC="$CC $ac_cv_prog_cc_stdc" ;;
2415 # Some people use a C++ compiler to compile C. Since we use `exit',
2416 # in C++ we need to declare it. In case someone uses the same compiler
2417 # for both compiling C and C++ we need to have the C++ compiler decide
2418 # the declaration of exit, since it's the most demanding environment.
2419 cat >conftest.$ac_ext <<_ACEOF
2424 rm -f conftest.$ac_objext
2425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2426 (eval $ac_compile) 2>conftest.er1
2428 grep -v '^ *+' conftest.er1 >conftest.err
2430 cat conftest.err >&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); } &&
2433 { ac_try='test -z "$ac_c_werror_flag"
2434 || test ! -s conftest.err'
2435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2439 (exit $ac_status); }; } &&
2440 { ac_try='test -s conftest.$ac_objext'
2441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2445 (exit $ac_status); }; }; then
2446 for ac_declaration in \
2448 'extern "C" void std::exit (int) throw (); using std::exit;' \
2449 'extern "C" void std::exit (int); using std::exit;' \
2450 'extern "C" void exit (int) throw ();' \
2451 'extern "C" void exit (int);' \
2454 cat >conftest.$ac_ext <<_ACEOF
2457 cat confdefs.h >>conftest.$ac_ext
2458 cat >>conftest.$ac_ext <<_ACEOF
2459 /* end confdefs.h. */
2470 rm -f conftest.$ac_objext
2471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2472 (eval $ac_compile) 2>conftest.er1
2474 grep -v '^ *+' conftest.er1 >conftest.err
2476 cat conftest.err >&5
2477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2478 (exit $ac_status); } &&
2479 { ac_try='test -z "$ac_c_werror_flag"
2480 || test ! -s conftest.err'
2481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }; } &&
2486 { ac_try='test -s conftest.$ac_objext'
2487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2491 (exit $ac_status); }; }; then
2494 echo "$as_me: failed program was:" >&5
2495 sed 's/^/| /' conftest.$ac_ext >&5
2499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2500 cat >conftest.$ac_ext <<_ACEOF
2503 cat confdefs.h >>conftest.$ac_ext
2504 cat >>conftest.$ac_ext <<_ACEOF
2505 /* end confdefs.h. */
2515 rm -f conftest.$ac_objext
2516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2517 (eval $ac_compile) 2>conftest.er1
2519 grep -v '^ *+' conftest.er1 >conftest.err
2521 cat conftest.err >&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); } &&
2524 { ac_try='test -z "$ac_c_werror_flag"
2525 || test ! -s conftest.err'
2526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2530 (exit $ac_status); }; } &&
2531 { ac_try='test -s conftest.$ac_objext'
2532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); }; }; then
2539 echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2546 if test -n "$ac_declaration"; then
2547 echo '#ifdef __cplusplus' >>confdefs.h
2548 echo $ac_declaration >>confdefs.h
2549 echo '#endif' >>confdefs.h
2553 echo "$as_me: failed program was:" >&5
2554 sed 's/^/| /' conftest.$ac_ext >&5
2557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2559 ac_cpp='$CPP $CPPFLAGS'
2560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2565 for ac_prog in gawk mawk nawk awk
2567 # Extract the first word of "$ac_prog", so it can be a program name with args.
2568 set dummy $ac_prog; ac_word=$2
2569 echo "$as_me:$LINENO: checking for $ac_word" >&5
2570 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2571 if test "${ac_cv_prog_AWK+set}" = set; then
2572 echo $ECHO_N "(cached) $ECHO_C" >&6
2574 if test -n "$AWK"; then
2575 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2577 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2581 test -z "$as_dir" && as_dir=.
2582 for ac_exec_ext in '' $ac_executable_extensions; do
2583 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2584 ac_cv_prog_AWK="$ac_prog"
2585 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2594 if test -n "$AWK"; then
2595 echo "$as_me:$LINENO: result: $AWK" >&5
2596 echo "${ECHO_T}$AWK" >&6
2598 echo "$as_me:$LINENO: result: no" >&5
2599 echo "${ECHO_T}no" >&6
2602 test -n "$AWK" && break
2607 if test -z "$LD"; then
2608 if test -n "$ac_tool_prefix"; then
2609 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2610 set dummy ${ac_tool_prefix}ld; ac_word=$2
2611 echo "$as_me:$LINENO: checking for $ac_word" >&5
2612 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2613 if test "${ac_cv_prog_LD+set}" = set; then
2614 echo $ECHO_N "(cached) $ECHO_C" >&6
2616 if test -n "$LD"; then
2617 ac_cv_prog_LD="$LD" # Let the user override the test.
2619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2623 test -z "$as_dir" && as_dir=.
2624 for ac_exec_ext in '' $ac_executable_extensions; do
2625 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2626 ac_cv_prog_LD="${ac_tool_prefix}ld"
2627 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2636 if test -n "$LD"; then
2637 echo "$as_me:$LINENO: result: $LD" >&5
2638 echo "${ECHO_T}$LD" >&6
2640 echo "$as_me:$LINENO: result: no" >&5
2641 echo "${ECHO_T}no" >&6
2645 if test -z "$ac_cv_prog_LD"; then
2647 # Extract the first word of "ld", so it can be a program name with args.
2648 set dummy ld; ac_word=$2
2649 echo "$as_me:$LINENO: checking for $ac_word" >&5
2650 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2651 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2654 if test -n "$ac_ct_LD"; then
2655 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2661 test -z "$as_dir" && as_dir=.
2662 for ac_exec_ext in '' $ac_executable_extensions; do
2663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2664 ac_cv_prog_ac_ct_LD="ld"
2665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2673 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2674 if test -n "$ac_ct_LD"; then
2675 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2676 echo "${ECHO_T}$ac_ct_LD" >&6
2678 echo "$as_me:$LINENO: result: no" >&5
2679 echo "${ECHO_T}no" >&6
2689 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2690 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2691 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2692 echo $ECHO_N "(cached) $ECHO_C" >&6
2695 libfirm_cv_prog_ld_r=no
2697 cat > conftest.$ac_ext <<EOF
2698 int foo() { return 0; }
2700 if eval $ac_compile && mv conftest.o conftest2.o; then
2701 cat > conftest.$ac_ext <<EOF
2703 int main() { return foo(); }
2705 if eval $ac_compile; then
2706 if $LD -r -o conftest conftest.o conftest2.o; then
2707 libfirm_cv_prog_ld_r=yes
2714 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2715 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2718 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2719 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2720 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2721 { (exit 1); exit 1; }; }
2724 # Extract the first word of "ar", so it can be a program name with args.
2725 set dummy ar; ac_word=$2
2726 echo "$as_me:$LINENO: checking for $ac_word" >&5
2727 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2728 if test "${ac_cv_prog_AR+set}" = set; then
2729 echo $ECHO_N "(cached) $ECHO_C" >&6
2731 if test -n "$AR"; then
2732 ac_cv_prog_AR="$AR" # Let the user override the test.
2734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2738 test -z "$as_dir" && as_dir=.
2739 for ac_exec_ext in '' $ac_executable_extensions; do
2740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2741 ac_cv_prog_AR=""ar""
2742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2752 if test -n "$AR"; then
2753 echo "$as_me:$LINENO: result: $AR" >&5
2754 echo "${ECHO_T}$AR" >&6
2756 echo "$as_me:$LINENO: result: no" >&5
2757 echo "${ECHO_T}no" >&6
2760 if test "$AR" != "ar"; then
2761 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2762 echo "$as_me: error: need ar for creating archives" >&2;}
2763 { (exit 1); exit 1; }; }
2766 # Extract the first word of "tar", so it can be a program name with args.
2767 set dummy tar; ac_word=$2
2768 echo "$as_me:$LINENO: checking for $ac_word" >&5
2769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2770 if test "${ac_cv_prog_TAR+set}" = set; then
2771 echo $ECHO_N "(cached) $ECHO_C" >&6
2773 if test -n "$TAR"; then
2774 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2783 ac_cv_prog_TAR=""tar""
2784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2790 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2794 if test -n "$TAR"; then
2795 echo "$as_me:$LINENO: result: $TAR" >&5
2796 echo "${ECHO_T}$TAR" >&6
2798 echo "$as_me:$LINENO: result: no" >&5
2799 echo "${ECHO_T}no" >&6
2802 if test "$TAR" != "tar"; then
2803 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2804 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2805 { (exit 1); exit 1; }; }
2809 if test -n "$ac_tool_prefix"; then
2810 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2811 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2812 echo "$as_me:$LINENO: checking for $ac_word" >&5
2813 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2814 if test "${ac_cv_prog_RANLIB+set}" = set; then
2815 echo $ECHO_N "(cached) $ECHO_C" >&6
2817 if test -n "$RANLIB"; then
2818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2824 test -z "$as_dir" && as_dir=.
2825 for ac_exec_ext in '' $ac_executable_extensions; do
2826 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2827 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2828 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2836 RANLIB=$ac_cv_prog_RANLIB
2837 if test -n "$RANLIB"; then
2838 echo "$as_me:$LINENO: result: $RANLIB" >&5
2839 echo "${ECHO_T}$RANLIB" >&6
2841 echo "$as_me:$LINENO: result: no" >&5
2842 echo "${ECHO_T}no" >&6
2846 if test -z "$ac_cv_prog_RANLIB"; then
2847 ac_ct_RANLIB=$RANLIB
2848 # Extract the first word of "ranlib", so it can be a program name with args.
2849 set dummy ranlib; ac_word=$2
2850 echo "$as_me:$LINENO: checking for $ac_word" >&5
2851 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2852 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2853 echo $ECHO_N "(cached) $ECHO_C" >&6
2855 if test -n "$ac_ct_RANLIB"; then
2856 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2858 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2862 test -z "$as_dir" && as_dir=.
2863 for ac_exec_ext in '' $ac_executable_extensions; do
2864 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2865 ac_cv_prog_ac_ct_RANLIB="ranlib"
2866 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2872 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2875 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2876 if test -n "$ac_ct_RANLIB"; then
2877 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2878 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2880 echo "$as_me:$LINENO: result: no" >&5
2881 echo "${ECHO_T}no" >&6
2884 RANLIB=$ac_ct_RANLIB
2886 RANLIB="$ac_cv_prog_RANLIB"
2891 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2892 if test -f $ac_dir/install-sh; then
2894 ac_install_sh="$ac_aux_dir/install-sh -c"
2896 elif test -f $ac_dir/install.sh; then
2898 ac_install_sh="$ac_aux_dir/install.sh -c"
2900 elif test -f $ac_dir/shtool; then
2902 ac_install_sh="$ac_aux_dir/shtool install -c"
2906 if test -z "$ac_aux_dir"; then
2907 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2908 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2909 { (exit 1); exit 1; }; }
2911 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2912 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2913 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2915 # Find a good install program. We prefer a C program (faster),
2916 # so one script is as good as another. But avoid the broken or
2917 # incompatible versions:
2918 # SysV /etc/install, /usr/sbin/install
2919 # SunOS /usr/etc/install
2920 # IRIX /sbin/install
2922 # AmigaOS /C/install, which installs bootblocks on floppy discs
2923 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2924 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2925 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2926 # OS/2's system install, which has a completely different semantic
2927 # ./install, which can be erroneously created by make from ./install.sh.
2928 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2929 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2930 if test -z "$INSTALL"; then
2931 if test "${ac_cv_path_install+set}" = set; then
2932 echo $ECHO_N "(cached) $ECHO_C" >&6
2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2938 test -z "$as_dir" && as_dir=.
2939 # Account for people who put trailing slashes in PATH elements.
2941 ./ | .// | /cC/* | \
2942 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2943 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2946 # OSF1 and SCO ODT 3.0 have their own names for install.
2947 # Don't use installbsd from OSF since it installs stuff as root
2949 for ac_prog in ginstall scoinst install; do
2950 for ac_exec_ext in '' $ac_executable_extensions; do
2951 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2952 if test $ac_prog = install &&
2953 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2954 # AIX install. It has an incompatible calling convention.
2956 elif test $ac_prog = install &&
2957 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2958 # program-specific install script used by HP pwplus--don't use.
2961 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2973 if test "${ac_cv_path_install+set}" = set; then
2974 INSTALL=$ac_cv_path_install
2976 # As a last resort, use the slow shell script. We don't cache a
2977 # path for INSTALL within a source directory, because that will
2978 # break other packages using the cache if that directory is
2979 # removed, or if the path is relative.
2980 INSTALL=$ac_install_sh
2983 echo "$as_me:$LINENO: result: $INSTALL" >&5
2984 echo "${ECHO_T}$INSTALL" >&6
2986 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2987 # It thinks the first close brace ends the variable substitution.
2988 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2990 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2992 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2995 touch tmp-install.a tmp-install.b
2996 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
2999 rm tmp-install.a tmp-install.b
3002 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3003 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3005 if test "$LN_S" = "ln -s"; then
3006 echo "$as_me:$LINENO: result: yes" >&5
3007 echo "${ECHO_T}yes" >&6
3009 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3010 echo "${ECHO_T}no, using $LN_S" >&6
3014 if test "$enable_auto_documentation" = yes; then
3015 # Extract the first word of "doxygen", so it can be a program name with args.
3016 set dummy doxygen; ac_word=$2
3017 echo "$as_me:$LINENO: checking for $ac_word" >&5
3018 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3019 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
3020 echo $ECHO_N "(cached) $ECHO_C" >&6
3022 if test -n "$DOXYGEN"; then
3023 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
3025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3029 test -z "$as_dir" && as_dir=.
3030 for ac_exec_ext in '' $ac_executable_extensions; do
3031 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3032 ac_cv_prog_DOXYGEN=""doxygen""
3033 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3039 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
3042 DOXYGEN=$ac_cv_prog_DOXYGEN
3043 if test -n "$DOXYGEN"; then
3044 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
3045 echo "${ECHO_T}$DOXYGEN" >&6
3047 echo "$as_me:$LINENO: result: no" >&5
3048 echo "${ECHO_T}no" >&6
3051 if test "$DOXYGEN" != "doxygen"; then
3052 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
3053 echo "$as_me: error: need doxygen for auto documentation" >&2;}
3054 { (exit 1); exit 1; }; }
3056 # Extract the first word of "dot", so it can be a program name with args.
3057 set dummy dot; ac_word=$2
3058 echo "$as_me:$LINENO: checking for $ac_word" >&5
3059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3060 if test "${ac_cv_prog_DOT+set}" = set; then
3061 echo $ECHO_N "(cached) $ECHO_C" >&6
3063 if test -n "$DOT"; then
3064 ac_cv_prog_DOT="$DOT" # Let the user override the test.
3066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3070 test -z "$as_dir" && as_dir=.
3071 for ac_exec_ext in '' $ac_executable_extensions; do
3072 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3073 ac_cv_prog_DOT=""dot""
3074 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3080 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
3084 if test -n "$DOT"; then
3085 echo "$as_me:$LINENO: result: $DOT" >&5
3086 echo "${ECHO_T}$DOT" >&6
3088 echo "$as_me:$LINENO: result: no" >&5
3089 echo "${ECHO_T}no" >&6
3092 if test "$DOT" != "dot"; then
3093 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
3094 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
3095 { (exit 1); exit 1; }; }
3099 if test "$enable_firm_jni" = yes; then
3100 # Extract the first word of "javac", so it can be a program name with args.
3101 set dummy javac; ac_word=$2
3102 echo "$as_me:$LINENO: checking for $ac_word" >&5
3103 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3104 if test "${ac_cv_prog_JAVAC+set}" = set; then
3105 echo $ECHO_N "(cached) $ECHO_C" >&6
3107 if test -n "$JAVAC"; then
3108 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir=.
3115 for ac_exec_ext in '' $ac_executable_extensions; do
3116 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_prog_JAVAC=""javac""
3118 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3124 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
3127 JAVAC=$ac_cv_prog_JAVAC
3128 if test -n "$JAVAC"; then
3129 echo "$as_me:$LINENO: result: $JAVAC" >&5
3130 echo "${ECHO_T}$JAVAC" >&6
3132 echo "$as_me:$LINENO: result: no" >&5
3133 echo "${ECHO_T}no" >&6
3136 if test "$JAVAC" != "javac"; then
3137 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
3138 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
3139 { (exit 1); exit 1; }; }
3141 # Extract the first word of "javah", so it can be a program name with args.
3142 set dummy javah; ac_word=$2
3143 echo "$as_me:$LINENO: checking for $ac_word" >&5
3144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3145 if test "${ac_cv_prog_JAVAH+set}" = set; then
3146 echo $ECHO_N "(cached) $ECHO_C" >&6
3148 if test -n "$JAVAH"; then
3149 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
3151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3155 test -z "$as_dir" && as_dir=.
3156 for ac_exec_ext in '' $ac_executable_extensions; do
3157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3158 ac_cv_prog_JAVAH=""javah""
3159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
3168 JAVAH=$ac_cv_prog_JAVAH
3169 if test -n "$JAVAH"; then
3170 echo "$as_me:$LINENO: result: $JAVAH" >&5
3171 echo "${ECHO_T}$JAVAH" >&6
3173 echo "$as_me:$LINENO: result: no" >&5
3174 echo "${ECHO_T}no" >&6
3177 if test "$JAVAH" != "javah"; then
3178 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
3179 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
3180 { (exit 1); exit 1; }; }
3188 ac_cpp='$CPP $CPPFLAGS'
3189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3192 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3193 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3194 # On Suns, sometimes $CPP names a directory.
3195 if test -n "$CPP" && test -d "$CPP"; then
3198 if test -z "$CPP"; then
3199 if test "${ac_cv_prog_CPP+set}" = set; then
3200 echo $ECHO_N "(cached) $ECHO_C" >&6
3202 # Double quotes because CPP needs to be expanded
3203 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3206 for ac_c_preproc_warn_flag in '' yes
3208 # Use a header file that comes with gcc, so configuring glibc
3209 # with a fresh cross-compiler works.
3210 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3211 # <limits.h> exists even on freestanding compilers.
3212 # On the NeXT, cc -E runs the code through the compiler's parser,
3213 # not just through cpp. "Syntax error" is here to catch this case.
3214 cat >conftest.$ac_ext <<_ACEOF
3217 cat confdefs.h >>conftest.$ac_ext
3218 cat >>conftest.$ac_ext <<_ACEOF
3219 /* end confdefs.h. */
3221 # include <limits.h>
3223 # include <assert.h>
3227 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3228 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3230 grep -v '^ *+' conftest.er1 >conftest.err
3232 cat conftest.err >&5
3233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3234 (exit $ac_status); } >/dev/null; then
3235 if test -s conftest.err; then
3236 ac_cpp_err=$ac_c_preproc_warn_flag
3237 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3244 if test -z "$ac_cpp_err"; then
3247 echo "$as_me: failed program was:" >&5
3248 sed 's/^/| /' conftest.$ac_ext >&5
3250 # Broken: fails on valid input.
3253 rm -f conftest.err conftest.$ac_ext
3255 # OK, works on sane cases. Now check whether non-existent headers
3256 # can be detected and how.
3257 cat >conftest.$ac_ext <<_ACEOF
3260 cat confdefs.h >>conftest.$ac_ext
3261 cat >>conftest.$ac_ext <<_ACEOF
3262 /* end confdefs.h. */
3263 #include <ac_nonexistent.h>
3265 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3266 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3268 grep -v '^ *+' conftest.er1 >conftest.err
3270 cat conftest.err >&5
3271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3272 (exit $ac_status); } >/dev/null; then
3273 if test -s conftest.err; then
3274 ac_cpp_err=$ac_c_preproc_warn_flag
3275 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3282 if test -z "$ac_cpp_err"; then
3283 # Broken: success on invalid input.
3286 echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.$ac_ext >&5
3289 # Passes both tests.
3293 rm -f conftest.err conftest.$ac_ext
3296 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3297 rm -f conftest.err conftest.$ac_ext
3298 if $ac_preproc_ok; then
3310 echo "$as_me:$LINENO: result: $CPP" >&5
3311 echo "${ECHO_T}$CPP" >&6
3313 for ac_c_preproc_warn_flag in '' yes
3315 # Use a header file that comes with gcc, so configuring glibc
3316 # with a fresh cross-compiler works.
3317 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3318 # <limits.h> exists even on freestanding compilers.
3319 # On the NeXT, cc -E runs the code through the compiler's parser,
3320 # not just through cpp. "Syntax error" is here to catch this case.
3321 cat >conftest.$ac_ext <<_ACEOF
3324 cat confdefs.h >>conftest.$ac_ext
3325 cat >>conftest.$ac_ext <<_ACEOF
3326 /* end confdefs.h. */
3328 # include <limits.h>
3330 # include <assert.h>
3334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3337 grep -v '^ *+' conftest.er1 >conftest.err
3339 cat conftest.err >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } >/dev/null; then
3342 if test -s conftest.err; then
3343 ac_cpp_err=$ac_c_preproc_warn_flag
3344 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3351 if test -z "$ac_cpp_err"; then
3354 echo "$as_me: failed program was:" >&5
3355 sed 's/^/| /' conftest.$ac_ext >&5
3357 # Broken: fails on valid input.
3360 rm -f conftest.err conftest.$ac_ext
3362 # OK, works on sane cases. Now check whether non-existent headers
3363 # can be detected and how.
3364 cat >conftest.$ac_ext <<_ACEOF
3367 cat confdefs.h >>conftest.$ac_ext
3368 cat >>conftest.$ac_ext <<_ACEOF
3369 /* end confdefs.h. */
3370 #include <ac_nonexistent.h>
3372 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3373 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3375 grep -v '^ *+' conftest.er1 >conftest.err
3377 cat conftest.err >&5
3378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3379 (exit $ac_status); } >/dev/null; then
3380 if test -s conftest.err; then
3381 ac_cpp_err=$ac_c_preproc_warn_flag
3382 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3389 if test -z "$ac_cpp_err"; then
3390 # Broken: success on invalid input.
3393 echo "$as_me: failed program was:" >&5
3394 sed 's/^/| /' conftest.$ac_ext >&5
3396 # Passes both tests.
3400 rm -f conftest.err conftest.$ac_ext
3403 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3404 rm -f conftest.err conftest.$ac_ext
3405 if $ac_preproc_ok; then
3408 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3409 See \`config.log' for more details." >&5
3410 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3411 See \`config.log' for more details." >&2;}
3412 { (exit 1); exit 1; }; }
3416 ac_cpp='$CPP $CPPFLAGS'
3417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3422 echo "$as_me:$LINENO: checking for egrep" >&5
3423 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3424 if test "${ac_cv_prog_egrep+set}" = set; then
3425 echo $ECHO_N "(cached) $ECHO_C" >&6
3427 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3428 then ac_cv_prog_egrep='grep -E'
3429 else ac_cv_prog_egrep='egrep'
3432 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3433 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3434 EGREP=$ac_cv_prog_egrep
3437 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3438 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3439 if test "${ac_cv_header_stdc+set}" = set; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 cat >conftest.$ac_ext <<_ACEOF
3445 cat confdefs.h >>conftest.$ac_ext
3446 cat >>conftest.$ac_ext <<_ACEOF
3447 /* end confdefs.h. */
3461 rm -f conftest.$ac_objext
3462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3463 (eval $ac_compile) 2>conftest.er1
3465 grep -v '^ *+' conftest.er1 >conftest.err
3467 cat conftest.err >&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); } &&
3470 { ac_try='test -z "$ac_c_werror_flag"
3471 || test ! -s conftest.err'
3472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3476 (exit $ac_status); }; } &&
3477 { ac_try='test -s conftest.$ac_objext'
3478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3482 (exit $ac_status); }; }; then
3483 ac_cv_header_stdc=yes
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.$ac_ext >&5
3488 ac_cv_header_stdc=no
3490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3492 if test $ac_cv_header_stdc = yes; then
3493 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3494 cat >conftest.$ac_ext <<_ACEOF
3497 cat confdefs.h >>conftest.$ac_ext
3498 cat >>conftest.$ac_ext <<_ACEOF
3499 /* end confdefs.h. */
3503 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3504 $EGREP "memchr" >/dev/null 2>&1; then
3507 ac_cv_header_stdc=no
3513 if test $ac_cv_header_stdc = yes; then
3514 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3515 cat >conftest.$ac_ext <<_ACEOF
3518 cat confdefs.h >>conftest.$ac_ext
3519 cat >>conftest.$ac_ext <<_ACEOF
3520 /* end confdefs.h. */
3524 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3525 $EGREP "free" >/dev/null 2>&1; then
3528 ac_cv_header_stdc=no
3534 if test $ac_cv_header_stdc = yes; then
3535 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3536 if test "$cross_compiling" = yes; then
3539 cat >conftest.$ac_ext <<_ACEOF
3542 cat confdefs.h >>conftest.$ac_ext
3543 cat >>conftest.$ac_ext <<_ACEOF
3544 /* end confdefs.h. */
3546 #if ((' ' & 0x0FF) == 0x020)
3547 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3548 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3550 # define ISLOWER(c) \
3551 (('a' <= (c) && (c) <= 'i') \
3552 || ('j' <= (c) && (c) <= 'r') \
3553 || ('s' <= (c) && (c) <= 'z'))
3554 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3557 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3562 for (i = 0; i < 256; i++)
3563 if (XOR (islower (i), ISLOWER (i))
3564 || toupper (i) != TOUPPER (i))
3569 rm -f conftest$ac_exeext
3570 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3571 (eval $ac_link) 2>&5
3573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; }; then
3582 echo "$as_me: program exited with status $ac_status" >&5
3583 echo "$as_me: failed program was:" >&5
3584 sed 's/^/| /' conftest.$ac_ext >&5
3587 ac_cv_header_stdc=no
3589 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3593 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3594 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3595 if test $ac_cv_header_stdc = yes; then
3597 cat >>confdefs.h <<\_ACEOF
3598 #define STDC_HEADERS 1
3605 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3615 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3616 inttypes.h stdint.h unistd.h
3618 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3619 echo "$as_me:$LINENO: checking for $ac_header" >&5
3620 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3621 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3622 echo $ECHO_N "(cached) $ECHO_C" >&6
3624 cat >conftest.$ac_ext <<_ACEOF
3627 cat confdefs.h >>conftest.$ac_ext
3628 cat >>conftest.$ac_ext <<_ACEOF
3629 /* end confdefs.h. */
3630 $ac_includes_default
3632 #include <$ac_header>
3634 rm -f conftest.$ac_objext
3635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3636 (eval $ac_compile) 2>conftest.er1
3638 grep -v '^ *+' conftest.er1 >conftest.err
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } &&
3643 { ac_try='test -z "$ac_c_werror_flag"
3644 || test ! -s conftest.err'
3645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3649 (exit $ac_status); }; } &&
3650 { ac_try='test -s conftest.$ac_objext'
3651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3655 (exit $ac_status); }; }; then
3656 eval "$as_ac_Header=yes"
3658 echo "$as_me: failed program was:" >&5
3659 sed 's/^/| /' conftest.$ac_ext >&5
3661 eval "$as_ac_Header=no"
3663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3667 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3668 cat >>confdefs.h <<_ACEOF
3669 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3678 for ac_header in math.h
3680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3682 echo "$as_me:$LINENO: checking for $ac_header" >&5
3683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3685 echo $ECHO_N "(cached) $ECHO_C" >&6
3687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3690 # Is the header compilable?
3691 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3693 cat >conftest.$ac_ext <<_ACEOF
3696 cat confdefs.h >>conftest.$ac_ext
3697 cat >>conftest.$ac_ext <<_ACEOF
3698 /* end confdefs.h. */
3699 $ac_includes_default
3700 #include <$ac_header>
3702 rm -f conftest.$ac_objext
3703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3704 (eval $ac_compile) 2>conftest.er1
3706 grep -v '^ *+' conftest.er1 >conftest.err
3708 cat conftest.err >&5
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } &&
3711 { ac_try='test -z "$ac_c_werror_flag"
3712 || test ! -s conftest.err'
3713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3717 (exit $ac_status); }; } &&
3718 { ac_try='test -s conftest.$ac_objext'
3719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3723 (exit $ac_status); }; }; then
3724 ac_header_compiler=yes
3726 echo "$as_me: failed program was:" >&5
3727 sed 's/^/| /' conftest.$ac_ext >&5
3729 ac_header_compiler=no
3731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3733 echo "${ECHO_T}$ac_header_compiler" >&6
3735 # Is the header present?
3736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3738 cat >conftest.$ac_ext <<_ACEOF
3741 cat confdefs.h >>conftest.$ac_ext
3742 cat >>conftest.$ac_ext <<_ACEOF
3743 /* end confdefs.h. */
3744 #include <$ac_header>
3746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3749 grep -v '^ *+' conftest.er1 >conftest.err
3751 cat conftest.err >&5
3752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3753 (exit $ac_status); } >/dev/null; then
3754 if test -s conftest.err; then
3755 ac_cpp_err=$ac_c_preproc_warn_flag
3756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3763 if test -z "$ac_cpp_err"; then
3764 ac_header_preproc=yes
3766 echo "$as_me: failed program was:" >&5
3767 sed 's/^/| /' conftest.$ac_ext >&5
3769 ac_header_preproc=no
3771 rm -f conftest.err conftest.$ac_ext
3772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3773 echo "${ECHO_T}$ac_header_preproc" >&6
3775 # So? What about this header?
3776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3782 ac_header_preproc=yes
3785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3799 ## ---------------------------------- ##
3800 ## Report this to the libfirm lists. ##
3801 ## ---------------------------------- ##
3804 sed "s/^/$as_me: WARNING: /" >&2
3807 echo "$as_me:$LINENO: checking for $ac_header" >&5
3808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3810 echo $ECHO_N "(cached) $ECHO_C" >&6
3812 eval "$as_ac_Header=\$ac_header_preproc"
3814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3819 cat >>confdefs.h <<_ACEOF
3820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3822 ac_math_headers="yes"
3824 ac_math_headers="no"
3829 if test "$ac_math_headers" != yes; then
3830 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3831 echo "$as_me: error: \"math header file not found\"" >&2;}
3832 { (exit 1); exit 1; }; }
3836 #dnl check for the gnu multiprecission (gmp) header file
3838 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3839 #if test "$ac_gmp_headers" != yes; then
3840 # dnl gmp header not found.
3841 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3848 for ac_header in obstack.h
3850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3852 echo "$as_me:$LINENO: checking for $ac_header" >&5
3853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3855 echo $ECHO_N "(cached) $ECHO_C" >&6
3857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3860 # Is the header compilable?
3861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3863 cat >conftest.$ac_ext <<_ACEOF
3866 cat confdefs.h >>conftest.$ac_ext
3867 cat >>conftest.$ac_ext <<_ACEOF
3868 /* end confdefs.h. */
3869 $ac_includes_default
3870 #include <$ac_header>
3872 rm -f conftest.$ac_objext
3873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3874 (eval $ac_compile) 2>conftest.er1
3876 grep -v '^ *+' conftest.er1 >conftest.err
3878 cat conftest.err >&5
3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3880 (exit $ac_status); } &&
3881 { ac_try='test -z "$ac_c_werror_flag"
3882 || test ! -s conftest.err'
3883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); }; } &&
3888 { ac_try='test -s conftest.$ac_objext'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3894 ac_header_compiler=yes
3896 echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.$ac_ext >&5
3899 ac_header_compiler=no
3901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3903 echo "${ECHO_T}$ac_header_compiler" >&6
3905 # Is the header present?
3906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3908 cat >conftest.$ac_ext <<_ACEOF
3911 cat confdefs.h >>conftest.$ac_ext
3912 cat >>conftest.$ac_ext <<_ACEOF
3913 /* end confdefs.h. */
3914 #include <$ac_header>
3916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3919 grep -v '^ *+' conftest.er1 >conftest.err
3921 cat conftest.err >&5
3922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3923 (exit $ac_status); } >/dev/null; then
3924 if test -s conftest.err; then
3925 ac_cpp_err=$ac_c_preproc_warn_flag
3926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3933 if test -z "$ac_cpp_err"; then
3934 ac_header_preproc=yes
3936 echo "$as_me: failed program was:" >&5
3937 sed 's/^/| /' conftest.$ac_ext >&5
3939 ac_header_preproc=no
3941 rm -f conftest.err conftest.$ac_ext
3942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3943 echo "${ECHO_T}$ac_header_preproc" >&6
3945 # So? What about this header?
3946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3952 ac_header_preproc=yes
3955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3969 ## ---------------------------------- ##
3970 ## Report this to the libfirm lists. ##
3971 ## ---------------------------------- ##
3974 sed "s/^/$as_me: WARNING: /" >&2
3977 echo "$as_me:$LINENO: checking for $ac_header" >&5
3978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3980 echo $ECHO_N "(cached) $ECHO_C" >&6
3982 eval "$as_ac_Header=\$ac_header_preproc"
3984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3989 cat >>confdefs.h <<_ACEOF
3990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3992 ac_obstack_headers="yes"
3994 ac_obstack_headers="no"
3999 if test "$ac_obstack_headers" != yes; then
4000 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
4001 echo "$as_me: error: \"obstack.h not found\"" >&2;}
4002 { (exit 1); exit 1; }; }
4007 for ac_header in alloca.h
4009 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4010 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4011 echo "$as_me:$LINENO: checking for $ac_header" >&5
4012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4014 echo $ECHO_N "(cached) $ECHO_C" >&6
4016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4017 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4019 # Is the header compilable?
4020 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4021 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4022 cat >conftest.$ac_ext <<_ACEOF
4025 cat confdefs.h >>conftest.$ac_ext
4026 cat >>conftest.$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4028 $ac_includes_default
4029 #include <$ac_header>
4031 rm -f conftest.$ac_objext
4032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4033 (eval $ac_compile) 2>conftest.er1
4035 grep -v '^ *+' conftest.er1 >conftest.err
4037 cat conftest.err >&5
4038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039 (exit $ac_status); } &&
4040 { ac_try='test -z "$ac_c_werror_flag"
4041 || test ! -s conftest.err'
4042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4046 (exit $ac_status); }; } &&
4047 { ac_try='test -s conftest.$ac_objext'
4048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4052 (exit $ac_status); }; }; then
4053 ac_header_compiler=yes
4055 echo "$as_me: failed program was:" >&5
4056 sed 's/^/| /' conftest.$ac_ext >&5
4058 ac_header_compiler=no
4060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4061 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4062 echo "${ECHO_T}$ac_header_compiler" >&6
4064 # Is the header present?
4065 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4066 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4067 cat >conftest.$ac_ext <<_ACEOF
4070 cat confdefs.h >>conftest.$ac_ext
4071 cat >>conftest.$ac_ext <<_ACEOF
4072 /* end confdefs.h. */
4073 #include <$ac_header>
4075 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4076 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4078 grep -v '^ *+' conftest.er1 >conftest.err
4080 cat conftest.err >&5
4081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4082 (exit $ac_status); } >/dev/null; then
4083 if test -s conftest.err; then
4084 ac_cpp_err=$ac_c_preproc_warn_flag
4085 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4092 if test -z "$ac_cpp_err"; then
4093 ac_header_preproc=yes
4095 echo "$as_me: failed program was:" >&5
4096 sed 's/^/| /' conftest.$ac_ext >&5
4098 ac_header_preproc=no
4100 rm -f conftest.err conftest.$ac_ext
4101 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4102 echo "${ECHO_T}$ac_header_preproc" >&6
4104 # So? What about this header?
4105 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4107 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4108 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4109 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4110 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4111 ac_header_preproc=yes
4114 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4115 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4116 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4117 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4118 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4119 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4120 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4121 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4122 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4123 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4124 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4125 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4128 ## ---------------------------------- ##
4129 ## Report this to the libfirm lists. ##
4130 ## ---------------------------------- ##
4133 sed "s/^/$as_me: WARNING: /" >&2
4136 echo "$as_me:$LINENO: checking for $ac_header" >&5
4137 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4138 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4139 echo $ECHO_N "(cached) $ECHO_C" >&6
4141 eval "$as_ac_Header=\$ac_header_preproc"
4143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4147 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4148 cat >>confdefs.h <<_ACEOF
4149 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4151 ac_alloca_headers="yes"
4153 ac_alloca_headers="no"
4158 if test "$ac_alloca_headers" = "yes"; then
4159 cat >>confdefs.h <<\_ACEOF
4160 #define HAVE_ALLOCA_H 1
4164 if test "$ac_cv_header_stdc" = "no"; then
4165 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
4166 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
4167 { (exit 1); exit 1; }; }
4173 if test "$enable_firm_jni" = yes; then
4175 for ac_header in jni.h
4177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4179 echo "$as_me:$LINENO: checking for $ac_header" >&5
4180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4182 echo $ECHO_N "(cached) $ECHO_C" >&6
4184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4187 # Is the header compilable?
4188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4190 cat >conftest.$ac_ext <<_ACEOF
4193 cat confdefs.h >>conftest.$ac_ext
4194 cat >>conftest.$ac_ext <<_ACEOF
4195 /* end confdefs.h. */
4196 $ac_includes_default
4197 #include <$ac_header>
4199 rm -f conftest.$ac_objext
4200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4201 (eval $ac_compile) 2>conftest.er1
4203 grep -v '^ *+' conftest.er1 >conftest.err
4205 cat conftest.err >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } &&
4208 { ac_try='test -z "$ac_c_werror_flag"
4209 || test ! -s conftest.err'
4210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4214 (exit $ac_status); }; } &&
4215 { ac_try='test -s conftest.$ac_objext'
4216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4220 (exit $ac_status); }; }; then
4221 ac_header_compiler=yes
4223 echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.$ac_ext >&5
4226 ac_header_compiler=no
4228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4230 echo "${ECHO_T}$ac_header_compiler" >&6
4232 # Is the header present?
4233 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4234 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4235 cat >conftest.$ac_ext <<_ACEOF
4238 cat confdefs.h >>conftest.$ac_ext
4239 cat >>conftest.$ac_ext <<_ACEOF
4240 /* end confdefs.h. */
4241 #include <$ac_header>
4243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4246 grep -v '^ *+' conftest.er1 >conftest.err
4248 cat conftest.err >&5
4249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4250 (exit $ac_status); } >/dev/null; then
4251 if test -s conftest.err; then
4252 ac_cpp_err=$ac_c_preproc_warn_flag
4253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4260 if test -z "$ac_cpp_err"; then
4261 ac_header_preproc=yes
4263 echo "$as_me: failed program was:" >&5
4264 sed 's/^/| /' conftest.$ac_ext >&5
4266 ac_header_preproc=no
4268 rm -f conftest.err conftest.$ac_ext
4269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4270 echo "${ECHO_T}$ac_header_preproc" >&6
4272 # So? What about this header?
4273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4279 ac_header_preproc=yes
4282 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4284 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4285 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4286 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4288 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4289 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4292 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4296 ## ---------------------------------- ##
4297 ## Report this to the libfirm lists. ##
4298 ## ---------------------------------- ##
4301 sed "s/^/$as_me: WARNING: /" >&2
4304 echo "$as_me:$LINENO: checking for $ac_header" >&5
4305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4307 echo $ECHO_N "(cached) $ECHO_C" >&6
4309 eval "$as_ac_Header=\$ac_header_preproc"
4311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4316 cat >>confdefs.h <<_ACEOF
4317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4319 ac_jni_headers="yes"
4326 if test "$ac_jni_headers" != yes; then
4327 { { 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
4328 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;}
4329 { (exit 1); exit 1; }; }
4334 if test "$enable_external_effects" == "yes"; then
4336 for ac_header in libxml/parser.h
4338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4339 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4340 echo "$as_me:$LINENO: checking for $ac_header" >&5
4341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4343 echo $ECHO_N "(cached) $ECHO_C" >&6
4345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4346 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4348 # Is the header compilable?
4349 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4350 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4351 cat >conftest.$ac_ext <<_ACEOF
4354 cat confdefs.h >>conftest.$ac_ext
4355 cat >>conftest.$ac_ext <<_ACEOF
4356 /* end confdefs.h. */
4357 $ac_includes_default
4358 #include <$ac_header>
4360 rm -f conftest.$ac_objext
4361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4362 (eval $ac_compile) 2>conftest.er1
4364 grep -v '^ *+' conftest.er1 >conftest.err
4366 cat conftest.err >&5
4367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4368 (exit $ac_status); } &&
4369 { ac_try='test -z "$ac_c_werror_flag"
4370 || test ! -s conftest.err'
4371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4375 (exit $ac_status); }; } &&
4376 { ac_try='test -s conftest.$ac_objext'
4377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; }; then
4382 ac_header_compiler=yes
4384 echo "$as_me: failed program was:" >&5
4385 sed 's/^/| /' conftest.$ac_ext >&5
4387 ac_header_compiler=no
4389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4390 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4391 echo "${ECHO_T}$ac_header_compiler" >&6
4393 # Is the header present?
4394 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4395 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4396 cat >conftest.$ac_ext <<_ACEOF
4399 cat confdefs.h >>conftest.$ac_ext
4400 cat >>conftest.$ac_ext <<_ACEOF
4401 /* end confdefs.h. */
4402 #include <$ac_header>
4404 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4405 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4407 grep -v '^ *+' conftest.er1 >conftest.err
4409 cat conftest.err >&5
4410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4411 (exit $ac_status); } >/dev/null; then
4412 if test -s conftest.err; then
4413 ac_cpp_err=$ac_c_preproc_warn_flag
4414 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4421 if test -z "$ac_cpp_err"; then
4422 ac_header_preproc=yes
4424 echo "$as_me: failed program was:" >&5
4425 sed 's/^/| /' conftest.$ac_ext >&5
4427 ac_header_preproc=no
4429 rm -f conftest.err conftest.$ac_ext
4430 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4431 echo "${ECHO_T}$ac_header_preproc" >&6
4433 # So? What about this header?
4434 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4436 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4437 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4438 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4439 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4440 ac_header_preproc=yes
4443 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4444 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4445 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4446 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4447 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4448 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4449 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4450 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4451 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4452 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4453 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4454 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4457 ## ---------------------------------- ##
4458 ## Report this to the libfirm lists. ##
4459 ## ---------------------------------- ##
4462 sed "s/^/$as_me: WARNING: /" >&2
4465 echo "$as_me:$LINENO: checking for $ac_header" >&5
4466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4468 echo $ECHO_N "(cached) $ECHO_C" >&6
4470 eval "$as_ac_Header=\$ac_header_preproc"
4472 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4473 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4477 cat >>confdefs.h <<_ACEOF
4478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4480 ac_xml_headers="yes"
4487 if test "$ac_xml_headers" != yes; then
4488 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
4489 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
4490 { (exit 1); exit 1; }; }
4495 #dnl check for the gnu multiprecission (gmp) library
4497 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
4498 #if test "$ac_gmp_library" != yes; then
4499 # dnl gmp library not found.
4500 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
4504 echo "$as_me:$LINENO: checking for main in -lm" >&5
4505 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
4506 if test "${ac_cv_lib_m_main+set}" = set; then
4507 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 ac_check_lib_save_LIBS=$LIBS
4511 cat >conftest.$ac_ext <<_ACEOF
4514 cat confdefs.h >>conftest.$ac_ext
4515 cat >>conftest.$ac_ext <<_ACEOF
4516 /* end confdefs.h. */
4527 rm -f conftest.$ac_objext conftest$ac_exeext
4528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4529 (eval $ac_link) 2>conftest.er1
4531 grep -v '^ *+' conftest.er1 >conftest.err
4533 cat conftest.err >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } &&
4536 { ac_try='test -z "$ac_c_werror_flag"
4537 || test ! -s conftest.err'
4538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4542 (exit $ac_status); }; } &&
4543 { ac_try='test -s conftest$ac_exeext'
4544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4548 (exit $ac_status); }; }; then
4549 ac_cv_lib_m_main=yes
4551 echo "$as_me: failed program was:" >&5
4552 sed 's/^/| /' conftest.$ac_ext >&5
4556 rm -f conftest.err conftest.$ac_objext \
4557 conftest$ac_exeext conftest.$ac_ext
4558 LIBS=$ac_check_lib_save_LIBS
4560 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
4561 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
4562 if test $ac_cv_lib_m_main = yes; then
4568 if test "$ac_m_library" != yes; then
4569 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
4570 echo "$as_me: error: \"standard math library not found\"" >&2;}
4571 { (exit 1); exit 1; }; }
4575 if test "$enable_external_effects" == "yes"; then
4576 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
4577 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
4578 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4581 ac_check_lib_save_LIBS=$LIBS
4583 cat >conftest.$ac_ext <<_ACEOF
4586 cat confdefs.h >>conftest.$ac_ext
4587 cat >>conftest.$ac_ext <<_ACEOF
4588 /* end confdefs.h. */
4590 /* Override any gcc2 internal prototype to avoid an error. */
4594 /* We use char because int might match the return type of a gcc2
4595 builtin and then its argument prototype would still apply. */
4596 char xmlParseFile ();
4605 rm -f conftest.$ac_objext conftest$ac_exeext
4606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4607 (eval $ac_link) 2>conftest.er1
4609 grep -v '^ *+' conftest.er1 >conftest.err
4611 cat conftest.err >&5
4612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); } &&
4614 { ac_try='test -z "$ac_c_werror_flag"
4615 || test ! -s conftest.err'
4616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); }; } &&
4621 { ac_try='test -s conftest$ac_exeext'
4622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4626 (exit $ac_status); }; }; then
4627 ac_cv_lib_xml2_xmlParseFile=yes
4629 echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.$ac_ext >&5
4632 ac_cv_lib_xml2_xmlParseFile=no
4634 rm -f conftest.err conftest.$ac_objext \
4635 conftest$ac_exeext conftest.$ac_ext
4636 LIBS=$ac_check_lib_save_LIBS
4638 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
4639 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
4640 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
4641 ac_xml_library="yes"
4646 if test "$ac_m_library" != yes; then
4647 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
4648 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
4649 { (exit 1); exit 1; }; }
4655 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4656 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4657 if test "${ac_cv_c_const+set}" = set; then
4658 echo $ECHO_N "(cached) $ECHO_C" >&6
4660 cat >conftest.$ac_ext <<_ACEOF
4663 cat confdefs.h >>conftest.$ac_ext
4664 cat >>conftest.$ac_ext <<_ACEOF
4665 /* end confdefs.h. */
4670 /* FIXME: Include the comments suggested by Paul. */
4672 /* Ultrix mips cc rejects this. */
4673 typedef int charset[2];
4675 /* SunOS 4.1.1 cc rejects this. */
4676 char const *const *ccp;
4678 /* NEC SVR4.0.2 mips cc rejects this. */
4679 struct point {int x, y;};
4680 static struct point const zero = {0,0};
4681 /* AIX XL C 1.02.0.0 rejects this.
4682 It does not let you subtract one const X* pointer from another in
4683 an arm of an if-expression whose if-part is not a constant
4685 const char *g = "string";
4686 ccp = &g + (g ? g-g : 0);
4687 /* HPUX 7.0 cc rejects these. */
4690 ccp = (char const *const *) p;
4691 { /* SCO 3.2v4 cc rejects this. */
4693 char const *s = 0 ? (char *) 0 : (char const *) 0;
4697 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4699 const int *foo = &x[0];
4702 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4703 typedef const int *iptr;
4707 { /* AIX XL C 1.02.0.0 rejects this saying
4708 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4709 struct s { int j; const int *ap[3]; };
4710 struct s *b; b->j = 5;
4712 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4721 rm -f conftest.$ac_objext
4722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4723 (eval $ac_compile) 2>conftest.er1
4725 grep -v '^ *+' conftest.er1 >conftest.err
4727 cat conftest.err >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } &&
4730 { ac_try='test -z "$ac_c_werror_flag"
4731 || test ! -s conftest.err'
4732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4736 (exit $ac_status); }; } &&
4737 { ac_try='test -s conftest.$ac_objext'
4738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; }; then
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4752 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4753 echo "${ECHO_T}$ac_cv_c_const" >&6
4754 if test $ac_cv_c_const = no; then
4756 cat >>confdefs.h <<\_ACEOF
4762 echo "$as_me:$LINENO: checking for working volatile" >&5
4763 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4764 if test "${ac_cv_c_volatile+set}" = set; then
4765 echo $ECHO_N "(cached) $ECHO_C" >&6
4767 cat >conftest.$ac_ext <<_ACEOF
4770 cat confdefs.h >>conftest.$ac_ext
4771 cat >>conftest.$ac_ext <<_ACEOF
4772 /* end confdefs.h. */
4784 rm -f conftest.$ac_objext
4785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4786 (eval $ac_compile) 2>conftest.er1
4788 grep -v '^ *+' conftest.er1 >conftest.err
4790 cat conftest.err >&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); } &&
4793 { ac_try='test -z "$ac_c_werror_flag"
4794 || test ! -s conftest.err'
4795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4799 (exit $ac_status); }; } &&
4800 { ac_try='test -s conftest.$ac_objext'
4801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4805 (exit $ac_status); }; }; then
4806 ac_cv_c_volatile=yes
4808 echo "$as_me: failed program was:" >&5
4809 sed 's/^/| /' conftest.$ac_ext >&5
4813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4815 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4816 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4817 if test $ac_cv_c_volatile = no; then
4819 cat >>confdefs.h <<\_ACEOF
4825 echo "$as_me:$LINENO: checking for inline" >&5
4826 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4827 if test "${ac_cv_c_inline+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4831 for ac_kw in inline __inline__ __inline; do
4832 cat >conftest.$ac_ext <<_ACEOF
4835 cat confdefs.h >>conftest.$ac_ext
4836 cat >>conftest.$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4840 static $ac_kw foo_t static_foo () {return 0; }
4841 $ac_kw foo_t foo () {return 0; }
4845 rm -f conftest.$ac_objext
4846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4847 (eval $ac_compile) 2>conftest.er1
4849 grep -v '^ *+' conftest.er1 >conftest.err
4851 cat conftest.err >&5
4852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4853 (exit $ac_status); } &&
4854 { ac_try='test -z "$ac_c_werror_flag"
4855 || test ! -s conftest.err'
4856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4860 (exit $ac_status); }; } &&
4861 { ac_try='test -s conftest.$ac_objext'
4862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4866 (exit $ac_status); }; }; then
4867 ac_cv_c_inline=$ac_kw; break
4869 echo "$as_me: failed program was:" >&5
4870 sed 's/^/| /' conftest.$ac_ext >&5
4873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4877 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4878 echo "${ECHO_T}$ac_cv_c_inline" >&6
4881 case $ac_cv_c_inline in
4884 case $ac_cv_c_inline in
4886 *) ac_val=$ac_cv_c_inline;;
4888 cat >>confdefs.h <<_ACEOF
4890 #define inline $ac_val
4896 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4897 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4898 if test "${ac_cv_c_bigendian+set}" = set; then
4899 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 # See if sys/param.h defines the BYTE_ORDER macro.
4902 cat >conftest.$ac_ext <<_ACEOF
4905 cat confdefs.h >>conftest.$ac_ext
4906 cat >>conftest.$ac_ext <<_ACEOF
4907 /* end confdefs.h. */
4908 #include <sys/types.h>
4909 #include <sys/param.h>
4914 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4922 rm -f conftest.$ac_objext
4923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4924 (eval $ac_compile) 2>conftest.er1
4926 grep -v '^ *+' conftest.er1 >conftest.err
4928 cat conftest.err >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); } &&
4931 { ac_try='test -z "$ac_c_werror_flag"
4932 || test ! -s conftest.err'
4933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4937 (exit $ac_status); }; } &&
4938 { ac_try='test -s conftest.$ac_objext'
4939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4943 (exit $ac_status); }; }; then
4944 # It does; now see whether it defined to BIG_ENDIAN or not.
4945 cat >conftest.$ac_ext <<_ACEOF
4948 cat confdefs.h >>conftest.$ac_ext
4949 cat >>conftest.$ac_ext <<_ACEOF
4950 /* end confdefs.h. */
4951 #include <sys/types.h>
4952 #include <sys/param.h>
4957 #if BYTE_ORDER != BIG_ENDIAN
4965 rm -f conftest.$ac_objext
4966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4967 (eval $ac_compile) 2>conftest.er1
4969 grep -v '^ *+' conftest.er1 >conftest.err
4971 cat conftest.err >&5
4972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4973 (exit $ac_status); } &&
4974 { ac_try='test -z "$ac_c_werror_flag"
4975 || test ! -s conftest.err'
4976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4980 (exit $ac_status); }; } &&
4981 { ac_try='test -s conftest.$ac_objext'
4982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4986 (exit $ac_status); }; }; then
4987 ac_cv_c_bigendian=yes
4989 echo "$as_me: failed program was:" >&5
4990 sed 's/^/| /' conftest.$ac_ext >&5
4992 ac_cv_c_bigendian=no
4994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4996 echo "$as_me: failed program was:" >&5
4997 sed 's/^/| /' conftest.$ac_ext >&5
4999 # It does not; compile a test program.
5000 if test "$cross_compiling" = yes; then
5001 # try to guess the endianness by grepping values into an object file
5002 ac_cv_c_bigendian=unknown
5003 cat >conftest.$ac_ext <<_ACEOF
5006 cat confdefs.h >>conftest.$ac_ext
5007 cat >>conftest.$ac_ext <<_ACEOF
5008 /* end confdefs.h. */
5009 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5010 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5011 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
5012 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5013 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5014 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
5018 _ascii (); _ebcdic ();
5023 rm -f conftest.$ac_objext
5024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5025 (eval $ac_compile) 2>conftest.er1
5027 grep -v '^ *+' conftest.er1 >conftest.err
5029 cat conftest.err >&5
5030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5031 (exit $ac_status); } &&
5032 { ac_try='test -z "$ac_c_werror_flag"
5033 || test ! -s conftest.err'
5034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5038 (exit $ac_status); }; } &&
5039 { ac_try='test -s conftest.$ac_objext'
5040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5044 (exit $ac_status); }; }; then
5045 if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
5046 ac_cv_c_bigendian=yes
5048 if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
5049 if test "$ac_cv_c_bigendian" = unknown; then
5050 ac_cv_c_bigendian=no
5052 # finding both strings is unlikely to happen, but who knows?
5053 ac_cv_c_bigendian=unknown
5057 echo "$as_me: failed program was:" >&5
5058 sed 's/^/| /' conftest.$ac_ext >&5
5061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5063 cat >conftest.$ac_ext <<_ACEOF
5066 cat confdefs.h >>conftest.$ac_ext
5067 cat >>conftest.$ac_ext <<_ACEOF
5068 /* end confdefs.h. */
5072 /* Are we little or big endian? From Harbison&Steele. */
5076 char c[sizeof (long)];
5079 exit (u.c[sizeof (long) - 1] == 1);
5082 rm -f conftest$ac_exeext
5083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5084 (eval $ac_link) 2>&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5092 (exit $ac_status); }; }; then
5093 ac_cv_c_bigendian=no
5095 echo "$as_me: program exited with status $ac_status" >&5
5096 echo "$as_me: failed program was:" >&5
5097 sed 's/^/| /' conftest.$ac_ext >&5
5100 ac_cv_c_bigendian=yes
5102 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5107 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
5108 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
5109 case $ac_cv_c_bigendian in
5112 cat >>confdefs.h <<\_ACEOF
5113 #define WORDS_BIGENDIAN 1
5119 { { echo "$as_me:$LINENO: error: unknown endianness
5120 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
5121 echo "$as_me: error: unknown endianness
5122 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
5123 { (exit 1); exit 1; }; } ;;
5126 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
5127 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
5128 if test "${ac_cv_c_long_double+set}" = set; then
5129 echo $ECHO_N "(cached) $ECHO_C" >&6
5131 cat >conftest.$ac_ext <<_ACEOF
5134 cat confdefs.h >>conftest.$ac_ext
5135 cat >>conftest.$ac_ext <<_ACEOF
5136 /* end confdefs.h. */
5138 long double foo = 0.0;
5142 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
5143 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
5144 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
5151 rm -f conftest.$ac_objext
5152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5153 (eval $ac_compile) 2>conftest.er1
5155 grep -v '^ *+' conftest.er1 >conftest.err
5157 cat conftest.err >&5
5158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5159 (exit $ac_status); } &&
5160 { ac_try='test -z "$ac_c_werror_flag"
5161 || test ! -s conftest.err'
5162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5166 (exit $ac_status); }; } &&
5167 { ac_try='test -s conftest.$ac_objext'
5168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172 (exit $ac_status); }; }; then
5173 ac_cv_c_long_double=yes
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.$ac_ext >&5
5178 ac_cv_c_long_double=no
5180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5182 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
5183 echo "${ECHO_T}$ac_cv_c_long_double" >&6
5184 if test $ac_cv_c_long_double = yes; then
5186 cat >>confdefs.h <<\_ACEOF
5187 #define HAVE_LONG_DOUBLE 1
5195 echo "$as_me:$LINENO: checking for strerror" >&5
5196 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
5197 if test "${ac_cv_func_strerror+set}" = set; then
5198 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 cat >conftest.$ac_ext <<_ACEOF
5203 cat confdefs.h >>conftest.$ac_ext
5204 cat >>conftest.$ac_ext <<_ACEOF
5205 /* end confdefs.h. */
5206 /* Define strerror to an innocuous variant, in case <limits.h> declares strerror.
5207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5208 #define strerror innocuous_strerror
5210 /* System header to define __stub macros and hopefully few prototypes,
5211 which can conflict with char strerror (); below.
5212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5213 <limits.h> exists even on freestanding compilers. */
5216 # include <limits.h>
5218 # include <assert.h>
5223 /* Override any gcc2 internal prototype to avoid an error. */
5228 /* We use char because int might match the return type of a gcc2
5229 builtin and then its argument prototype would still apply. */
5231 /* The GNU C library defines this for functions which it implements
5232 to always fail with ENOSYS. Some functions are actually named
5233 something starting with __ and the normal name is an alias. */
5234 #if defined (__stub_strerror) || defined (__stub___strerror)
5237 char (*f) () = strerror;
5246 return f != strerror;
5251 rm -f conftest.$ac_objext conftest$ac_exeext
5252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5253 (eval $ac_link) 2>conftest.er1
5255 grep -v '^ *+' conftest.er1 >conftest.err
5257 cat conftest.err >&5
5258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5259 (exit $ac_status); } &&
5260 { ac_try='test -z "$ac_c_werror_flag"
5261 || test ! -s conftest.err'
5262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5266 (exit $ac_status); }; } &&
5267 { ac_try='test -s conftest$ac_exeext'
5268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5272 (exit $ac_status); }; }; then
5273 ac_cv_func_strerror=yes
5275 echo "$as_me: failed program was:" >&5
5276 sed 's/^/| /' conftest.$ac_ext >&5
5278 ac_cv_func_strerror=no
5280 rm -f conftest.err conftest.$ac_objext \
5281 conftest$ac_exeext conftest.$ac_ext
5283 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
5284 echo "${ECHO_T}$ac_cv_func_strerror" >&6
5285 if test $ac_cv_func_strerror = yes; then
5288 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
5289 echo "$as_me: error: \"need strerror function\"" >&2;}
5290 { (exit 1); exit 1; }; }
5298 ac_config_files="$ac_config_files $ac_output_file"
5299 ac_config_commands="$ac_config_commands default"
5300 cat >confcache <<\_ACEOF
5301 # This file is a shell script that caches the results of configure
5302 # tests run on this system so they can be shared between configure
5303 # scripts and configure runs, see configure's option --config-cache.
5304 # It is not useful on other systems. If it contains results you don't
5305 # want to keep, you may remove or edit it.
5307 # config.status only pays attention to the cache file if you give it
5308 # the --recheck option to rerun configure.
5310 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5316 # The following way of writing the cache mishandles newlines in values,
5317 # but we know of no workaround that is simple, portable, and efficient.
5318 # So, don't put newlines in cache variables' values.
5319 # Ultrix sh set writes to stderr and can't be redirected directly,
5320 # and sets the high bit in the cache file unless we assign to the vars.
5323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5325 # `set' does not quote correctly, so add quotes (double-quote
5326 # substitution turns \\\\ into \\, and sed turns \\ into \).
5329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5332 # `set' quotes correctly as required by POSIX, so do not add quotes.
5334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5345 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5346 if test -w $cache_file; then
5347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5348 cat confcache >$cache_file
5350 echo "not updating unwritable cache $cache_file"
5355 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5356 # Let make expand exec_prefix.
5357 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
5360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
5361 # trailing colons and then remove the whole line if VPATH becomes empty
5362 # (actually we leave an empty line to preserve line numbers).
5363 if test "x$srcdir" = x.; then
5364 ac_vpsub='/^[ ]*VPATH[ ]*=/{
5365 s/:*\$(srcdir):*/:/;
5366 s/:*\${srcdir}:*/:/;
5368 s/^\([^=]*=[ ]*\):*/\1/;
5374 DEFS=-DHAVE_CONFIG_H
5378 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5379 # 1. Remove the extension, and $U if already installed.
5380 ac_i=`echo "$ac_i" |
5381 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
5383 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
5384 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
5388 LTLIBOBJS=$ac_ltlibobjs
5392 : ${CONFIG_STATUS=./config.status}
5393 ac_clean_files_save=$ac_clean_files
5394 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5395 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
5396 echo "$as_me: creating $CONFIG_STATUS" >&6;}
5397 cat >$CONFIG_STATUS <<_ACEOF
5399 # Generated by $as_me.
5400 # Run this file to recreate the current configuration.
5401 # Compiler output produced by configure, useful for debugging
5402 # configure, is in config.log if it exists.
5407 SHELL=\${CONFIG_SHELL-$SHELL}
5410 cat >>$CONFIG_STATUS <<\_ACEOF
5411 ## --------------------- ##
5412 ## M4sh Initialization. ##
5413 ## --------------------- ##
5415 # Be Bourne compatible
5416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
5419 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
5420 # is contrary to our usage. Disable this feature.
5421 alias -g '${1+"$@"}'='"$@"'
5422 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
5425 DUALCASE=1; export DUALCASE # for MKS sh
5427 # Support unset when possible.
5428 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5435 # Work around bugs in pre-3.0 UWIN ksh.
5436 $as_unset ENV MAIL MAILPATH
5443 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
5444 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
5445 LC_TELEPHONE LC_TIME
5447 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
5448 eval $as_var=C; export $as_var
5454 # Required to use basename.
5455 if expr a : '\(a\)' >/dev/null 2>&1; then
5461 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
5462 as_basename=basename
5468 # Name of the executable.
5469 as_me=`$as_basename "$0" ||
5470 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5471 X"$0" : 'X\(//\)$' \| \
5472 X"$0" : 'X\(/\)$' \| \
5473 . : '\(.\)' 2>/dev/null ||
5475 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5476 /^X\/\(\/\/\)$/{ s//\1/; q; }
5477 /^X\/\(\/\).*/{ s//\1/; q; }
5481 # PATH needs CR, and LINENO needs CR and PATH.
5482 # Avoid depending upon Character Ranges.
5483 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5484 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5485 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5486 as_cr_digits='0123456789'
5487 as_cr_alnum=$as_cr_Letters$as_cr_digits
5489 # The user is always right.
5490 if test "${PATH_SEPARATOR+set}" != set; then
5491 echo "#! /bin/sh" >conf$$.sh
5492 echo "exit 0" >>conf$$.sh
5494 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5505 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5506 test "x$as_lineno_1" != "x$as_lineno_2" &&
5507 test "x$as_lineno_3" = "x$as_lineno_2" || {
5508 # Find who we are. Look in the path if we contain no path at all
5511 *[\\/]* ) as_myself=$0 ;;
5512 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5516 test -z "$as_dir" && as_dir=.
5517 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5522 # We did not find ourselves, most probably we were run as `sh COMMAND'
5523 # in which case we are not to be found in the path.
5524 if test "x$as_myself" = x; then
5527 if test ! -f "$as_myself"; then
5528 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5529 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5530 { (exit 1); exit 1; }; }
5532 case $CONFIG_SHELL in
5534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5535 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5538 test -z "$as_dir" && as_dir=.
5539 for as_base in sh bash ksh sh5; do
5542 if ("$as_dir/$as_base" -c '
5545 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
5546 test "x$as_lineno_1" != "x$as_lineno_2" &&
5547 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5548 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5549 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5550 CONFIG_SHELL=$as_dir/$as_base
5552 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5560 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5561 # uniformly replaced by the line number. The first 'sed' inserts a
5562 # line-number line before each line; the second 'sed' does the real
5563 # work. The second script uses 'N' to pair each line-number line
5564 # with the numbered line, and appends trailing '-' during
5565 # substitution so that $LINENO is not a special case at line end.
5566 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5567 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5568 sed '=' <$as_myself |
5573 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5576 s,^['$as_cr_digits']*\n,,
5578 chmod +x $as_me.lineno ||
5579 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5580 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5581 { (exit 1); exit 1; }; }
5583 # Don't try to exec as it changes $[0], causing all sort of problems
5584 # (the dirname of $[0] is not the place where we might find the
5585 # original and so on. Autoconf is especially sensible to this).
5587 # Exit status is that of the last command.
5592 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5593 *c*,-n*) ECHO_N= ECHO_C='
5595 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5596 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5599 if expr a : '\(a\)' >/dev/null 2>&1; then
5605 rm -f conf$$ conf$$.exe conf$$.file
5607 if ln -s conf$$.file conf$$ 2>/dev/null; then
5608 # We could just check for DJGPP; but this test a) works b) is more generic
5609 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5610 if test -f conf$$.exe; then
5611 # Don't use ln at all; we don't have any links
5616 elif ln conf$$.file conf$$ 2>/dev/null; then
5621 rm -f conf$$ conf$$.exe conf$$.file
5623 if mkdir -p . 2>/dev/null; then
5626 test -d ./-p && rmdir ./-p
5630 as_executable_p="test -f"
5632 # Sed expression to map a string onto a valid CPP name.
5633 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5635 # Sed expression to map a string onto a valid variable name.
5636 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5640 # We need space, tab and new line, in precisely that order.
5650 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5651 # report actual input values of CONFIG_FILES etc. instead of their
5652 # values after options handling. Logging --version etc. is OK.
5656 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5657 ## Running $as_me. ##
5662 This file was extended by libfirm $as_me 1.3.0, which was
5663 generated by GNU Autoconf 2.59. Invocation command line was
5665 CONFIG_FILES = $CONFIG_FILES
5666 CONFIG_HEADERS = $CONFIG_HEADERS
5667 CONFIG_LINKS = $CONFIG_LINKS
5668 CONFIG_COMMANDS = $CONFIG_COMMANDS
5672 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5676 # Files that config.status was made for.
5677 if test -n "$ac_config_files"; then
5678 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5681 if test -n "$ac_config_headers"; then
5682 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5685 if test -n "$ac_config_links"; then
5686 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5689 if test -n "$ac_config_commands"; then
5690 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5693 cat >>$CONFIG_STATUS <<\_ACEOF
5696 \`$as_me' instantiates files from templates according to the
5697 current configuration.
5699 Usage: $0 [OPTIONS] [FILE]...
5701 -h, --help print this help, then exit
5702 -V, --version print version number, then exit
5703 -q, --quiet do not print progress messages
5704 -d, --debug don't remove temporary files
5705 --recheck update $as_me by reconfiguring in the same conditions
5706 --file=FILE[:TEMPLATE]
5707 instantiate the configuration file FILE
5708 --header=FILE[:TEMPLATE]
5709 instantiate the configuration header FILE
5711 Configuration files:
5714 Configuration headers:
5717 Configuration commands:
5720 Report bugs to <bug-autoconf@gnu.org>."
5723 cat >>$CONFIG_STATUS <<_ACEOF
5725 libfirm config.status 1.3.0
5726 configured by $0, generated by GNU Autoconf 2.59,
5727 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5729 Copyright (C) 2003 Free Software Foundation, Inc.
5730 This config.status script is free software; the Free Software Foundation
5731 gives unlimited permission to copy, distribute and modify it."
5736 cat >>$CONFIG_STATUS <<\_ACEOF
5737 # If no file are specified by the user, then we need to provide default
5738 # value. By we need to know if files were specified by the user.
5744 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5745 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5753 *) # This is not an option, so the user has probably given explicit
5756 ac_need_defaults=false;;
5760 # Handling of the options.
5762 cat >>$CONFIG_STATUS <<\_ACEOF
5763 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5765 --version | --vers* | -V )
5766 echo "$ac_cs_version"; exit 0 ;;
5768 # Conflict between --help and --header
5769 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5770 Try \`$0 --help' for more information." >&5
5771 echo "$as_me: error: ambiguous option: $1
5772 Try \`$0 --help' for more information." >&2;}
5773 { (exit 1); exit 1; }; };;
5774 --help | --hel | -h )
5775 echo "$ac_cs_usage"; exit 0 ;;
5776 --debug | --d* | -d )
5778 --file | --fil | --fi | --f )
5780 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
5781 ac_need_defaults=false;;
5782 --header | --heade | --head | --hea )
5784 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
5785 ac_need_defaults=false;;
5786 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5787 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5791 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5792 Try \`$0 --help' for more information." >&5
5793 echo "$as_me: error: unrecognized option: $1
5794 Try \`$0 --help' for more information." >&2;}
5795 { (exit 1); exit 1; }; } ;;
5797 *) ac_config_targets="$ac_config_targets $1" ;;
5803 ac_configure_extra_args=
5805 if $ac_cs_silent; then
5807 ac_configure_extra_args="$ac_configure_extra_args --silent"
5811 cat >>$CONFIG_STATUS <<_ACEOF
5812 if \$ac_cs_recheck; then
5813 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5814 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5823 cat >>$CONFIG_STATUS <<\_ACEOF
5824 for ac_config_target in $ac_config_targets
5826 case "$ac_config_target" in
5827 # Handling of arguments.
5828 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5829 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5830 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5831 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5832 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5833 { (exit 1); exit 1; }; };;
5837 # If the user did not use the arguments to specify the items to instantiate,
5838 # then the envvar interface is used. Set only those that are not.
5839 # We use the long form for the default assignment because of an extremely
5840 # bizarre bug on SunOS 4.1.3.
5841 if $ac_need_defaults; then
5842 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5843 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5844 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5847 # Have a temporary directory for convenience. Make it in the build tree
5848 # simply because there is no reason to put it here, and in addition,
5849 # creating and moving files from /tmp can sometimes cause problems.
5850 # Create a temporary directory, and hook for its removal unless debugging.
5853 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5854 trap '{ (exit 1); exit 1; }' 1 2 13 15
5857 # Create a (secure) tmp directory for tmp files.
5860 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5861 test -n "$tmp" && test -d "$tmp"
5864 tmp=./confstat$$-$RANDOM
5865 (umask 077 && mkdir $tmp)
5868 echo "$me: cannot create a temporary directory in ." >&2
5869 { (exit 1); exit 1; }
5874 cat >>$CONFIG_STATUS <<_ACEOF
5877 # CONFIG_FILES section.
5880 # No need to generate the scripts if there are no CONFIG_FILES.
5881 # This happens for instance when ./config.status config.h
5882 if test -n "\$CONFIG_FILES"; then
5883 # Protect against being on the right side of a sed subst in config.status.
5884 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5885 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5886 s,@SHELL@,$SHELL,;t t
5887 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5888 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5889 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5890 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5891 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5892 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5893 s,@exec_prefix@,$exec_prefix,;t t
5894 s,@prefix@,$prefix,;t t
5895 s,@program_transform_name@,$program_transform_name,;t t
5896 s,@bindir@,$bindir,;t t
5897 s,@sbindir@,$sbindir,;t t
5898 s,@libexecdir@,$libexecdir,;t t
5899 s,@datadir@,$datadir,;t t
5900 s,@sysconfdir@,$sysconfdir,;t t
5901 s,@sharedstatedir@,$sharedstatedir,;t t
5902 s,@localstatedir@,$localstatedir,;t t
5903 s,@libdir@,$libdir,;t t
5904 s,@includedir@,$includedir,;t t
5905 s,@oldincludedir@,$oldincludedir,;t t
5906 s,@infodir@,$infodir,;t t
5907 s,@mandir@,$mandir,;t t
5908 s,@build_alias@,$build_alias,;t t
5909 s,@host_alias@,$host_alias,;t t
5910 s,@target_alias@,$target_alias,;t t
5912 s,@ECHO_C@,$ECHO_C,;t t
5913 s,@ECHO_N@,$ECHO_N,;t t
5914 s,@ECHO_T@,$ECHO_T,;t t
5916 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5917 s,@plugin_subdirs@,$plugin_subdirs,;t t
5918 s,@XML2CONFIG@,$XML2CONFIG,;t t
5919 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5920 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5921 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5922 s,@enable_firm_jni@,$enable_firm_jni,;t t
5923 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5924 s,@disable_libiberty@,$disable_libiberty,;t t
5925 s,@enable_statistics@,$enable_statistics,;t t
5926 s,@enable_libcore@,$enable_libcore,;t t
5927 s,@enable_ilp@,$enable_ilp,;t t
5928 s,@enable_jvm@,$enable_jvm,;t t
5929 s,@enable_wchar_support@,$enable_wchar_support,;t t
5930 s,@enable_external_effects@,$enable_external_effects,;t t
5932 s,@CFLAGS@,$CFLAGS,;t t
5933 s,@LDFLAGS@,$LDFLAGS,;t t
5934 s,@CPPFLAGS@,$CPPFLAGS,;t t
5935 s,@ac_ct_CC@,$ac_ct_CC,;t t
5936 s,@EXEEXT@,$EXEEXT,;t t
5937 s,@OBJEXT@,$OBJEXT,;t t
5940 s,@ac_ct_LD@,$ac_ct_LD,;t t
5941 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5944 s,@RANLIB@,$RANLIB,;t t
5945 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5946 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5947 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5948 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5950 s,@DOXYGEN@,$DOXYGEN,;t t
5952 s,@JAVAC@,$JAVAC,;t t
5953 s,@JAVAH@,$JAVAH,;t t
5955 s,@EGREP@,$EGREP,;t t
5956 s,@LIBOBJS@,$LIBOBJS,;t t
5957 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5962 cat >>$CONFIG_STATUS <<\_ACEOF
5963 # Split the substitutions into bite-sized pieces for seds with
5964 # small command number limits, like on Digital OSF/1 and HP-UX.
5966 ac_sed_frag=1 # Number of current file.
5967 ac_beg=1 # First line for current file.
5968 ac_end=$ac_max_sed_lines # Line after last line for current file.
5971 while $ac_more_lines; do
5972 if test $ac_beg -gt 1; then
5973 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5975 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5977 if test ! -s $tmp/subs.frag; then
5980 # The purpose of the label and of the branching condition is to
5981 # speed up the sed processing (if there are no `@' at all, there
5982 # is no need to browse any of the substitutions).
5983 # These are the two extra sed commands mentioned above.
5985 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5986 if test -z "$ac_sed_cmds"; then
5987 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5989 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5991 ac_sed_frag=`expr $ac_sed_frag + 1`
5993 ac_end=`expr $ac_end + $ac_max_sed_lines`
5996 if test -z "$ac_sed_cmds"; then
5999 fi # test -n "$CONFIG_FILES"
6002 cat >>$CONFIG_STATUS <<\_ACEOF
6003 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6004 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6006 - | *:- | *:-:* ) # input from stdin
6008 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6009 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6010 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6011 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6012 * ) ac_file_in=$ac_file.in ;;
6015 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6016 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6017 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6018 X"$ac_file" : 'X\(//\)[^/]' \| \
6019 X"$ac_file" : 'X\(//\)$' \| \
6020 X"$ac_file" : 'X\(/\)' \| \
6021 . : '\(.\)' 2>/dev/null ||
6023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6024 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6025 /^X\(\/\/\)$/{ s//\1/; q; }
6026 /^X\(\/\).*/{ s//\1/; q; }
6028 { if $as_mkdir_p; then
6033 while test ! -d "$as_dir"; do
6034 as_dirs="$as_dir $as_dirs"
6035 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6036 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6037 X"$as_dir" : 'X\(//\)[^/]' \| \
6038 X"$as_dir" : 'X\(//\)$' \| \
6039 X"$as_dir" : 'X\(/\)' \| \
6040 . : '\(.\)' 2>/dev/null ||
6042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6043 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6044 /^X\(\/\/\)$/{ s//\1/; q; }
6045 /^X\(\/\).*/{ s//\1/; q; }
6048 test ! -n "$as_dirs" || mkdir $as_dirs
6049 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6050 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6051 { (exit 1); exit 1; }; }; }
6055 if test "$ac_dir" != .; then
6056 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6057 # A "../" for each directory in $ac_dir_suffix.
6058 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6060 ac_dir_suffix= ac_top_builddir=
6064 .) # No --srcdir option. We are building in place.
6066 if test -z "$ac_top_builddir"; then
6069 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6071 [\\/]* | ?:[\\/]* ) # Absolute path.
6072 ac_srcdir=$srcdir$ac_dir_suffix;
6073 ac_top_srcdir=$srcdir ;;
6075 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6076 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6079 # Do not use `cd foo && pwd` to compute absolute paths, because
6080 # the directories may not exist.
6082 .) ac_abs_builddir="$ac_dir";;
6085 .) ac_abs_builddir=`pwd`;;
6086 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6087 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6090 case $ac_abs_builddir in
6091 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6093 case ${ac_top_builddir}. in
6094 .) ac_abs_top_builddir=$ac_abs_builddir;;
6095 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6096 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6099 case $ac_abs_builddir in
6100 .) ac_abs_srcdir=$ac_srcdir;;
6103 .) ac_abs_srcdir=$ac_abs_builddir;;
6104 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6105 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6108 case $ac_abs_builddir in
6109 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6111 case $ac_top_srcdir in
6112 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6113 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6114 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6120 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6121 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6124 if test x"$ac_file" != x-; then
6125 { echo "$as_me:$LINENO: creating $ac_file" >&5
6126 echo "$as_me: creating $ac_file" >&6;}
6129 # Let's still pretend it is `configure' which instantiates (i.e., don't
6130 # use $as_me), people would be surprised to read:
6131 # /* config.h. Generated by config.status. */
6132 if test x"$ac_file" = x-; then
6135 configure_input="$ac_file. "
6137 configure_input=$configure_input"Generated from `echo $ac_file_in |
6138 sed 's,.*/,,'` by configure."
6140 # First look for the input files in the build tree, otherwise in the
6142 ac_file_inputs=`IFS=:
6143 for f in $ac_file_in; do
6145 -) echo $tmp/stdin ;;
6147 # Absolute (can't be DOS-style, as IFS=:)
6148 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6149 echo "$as_me: error: cannot find input file: $f" >&2;}
6150 { (exit 1); exit 1; }; }
6153 if test -f "$f"; then
6156 elif test -f "$srcdir/$f"; then
6161 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6162 echo "$as_me: error: cannot find input file: $f" >&2;}
6163 { (exit 1); exit 1; }; }
6166 done` || { (exit 1); exit 1; }
6168 cat >>$CONFIG_STATUS <<_ACEOF
6172 cat >>$CONFIG_STATUS <<\_ACEOF
6174 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6175 s,@configure_input@,$configure_input,;t t
6176 s,@srcdir@,$ac_srcdir,;t t
6177 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6178 s,@top_srcdir@,$ac_top_srcdir,;t t
6179 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6180 s,@builddir@,$ac_builddir,;t t
6181 s,@abs_builddir@,$ac_abs_builddir,;t t
6182 s,@top_builddir@,$ac_top_builddir,;t t
6183 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6184 s,@INSTALL@,$ac_INSTALL,;t t
6185 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6187 if test x"$ac_file" != x-; then
6188 mv $tmp/out $ac_file
6196 cat >>$CONFIG_STATUS <<\_ACEOF
6199 # CONFIG_HEADER section.
6202 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6203 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6205 # ac_d sets the value in "#define NAME VALUE" lines.
6206 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6207 ac_dB='[ ].*$,\1#\2'
6210 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6211 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6212 ac_uB='$,\1#\2define\3'
6216 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6217 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6219 - | *:- | *:-:* ) # input from stdin
6221 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6222 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6223 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6224 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6225 * ) ac_file_in=$ac_file.in ;;
6228 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6229 echo "$as_me: creating $ac_file" >&6;}
6231 # First look for the input files in the build tree, otherwise in the
6233 ac_file_inputs=`IFS=:
6234 for f in $ac_file_in; do
6236 -) echo $tmp/stdin ;;
6238 # Absolute (can't be DOS-style, as IFS=:)
6239 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6240 echo "$as_me: error: cannot find input file: $f" >&2;}
6241 { (exit 1); exit 1; }; }
6242 # Do quote $f, to prevent DOS paths from being IFS'd.
6245 if test -f "$f"; then
6248 elif test -f "$srcdir/$f"; then
6253 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6254 echo "$as_me: error: cannot find input file: $f" >&2;}
6255 { (exit 1); exit 1; }; }
6258 done` || { (exit 1); exit 1; }
6259 # Remove the trailing spaces.
6260 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6264 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6265 # `conftest.undefs', that substitutes the proper values into
6266 # config.h.in to produce config.h. The first handles `#define'
6267 # templates, and the second `#undef' templates.
6268 # And first: Protect against being on the right side of a sed subst in
6269 # config.status. Protect against being in an unquoted here document
6271 rm -f conftest.defines conftest.undefs
6272 # Using a here document instead of a string reduces the quoting nightmare.
6273 # Putting comments in sed scripts is not portable.
6275 # `end' is used to avoid that the second main sed command (meant for
6276 # 0-ary CPP macros) applies to n-ary macro definitions.
6277 # See the Autoconf documentation for `clear'.
6278 cat >confdef2sed.sed <<\_ACEOF
6283 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6285 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6288 # If some macros were called several times there might be several times
6289 # the same #defines, which is useless. Nevertheless, we may not want to
6290 # sort them, since we want the *last* AC-DEFINE to be honored.
6291 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
6292 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
6293 rm -f confdef2sed.sed
6295 # This sed command replaces #undef with comments. This is necessary, for
6296 # example, in the case of _POSIX_SOURCE, which is predefined and required
6297 # on some systems where configure will not decide to define it.
6298 cat >>conftest.undefs <<\_ACEOF
6299 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
6302 # Break up conftest.defines because some shells have a limit on the size
6303 # of here documents, and old seds have small limits too (100 cmds).
6304 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
6305 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
6306 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
6307 echo ' :' >>$CONFIG_STATUS
6309 while grep . conftest.defines >/dev/null
6311 # Write a limited-size here document to $tmp/defines.sed.
6312 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
6313 # Speed up: don't consider the non `#define' lines.
6314 echo '/^[ ]*#[ ]*define/!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.defines >>$CONFIG_STATUS
6320 sed -f $tmp/defines.sed $tmp/in >$tmp/out
6324 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
6325 rm -f conftest.defines
6326 mv conftest.tail conftest.defines
6328 rm -f conftest.defines
6329 echo ' fi # grep' >>$CONFIG_STATUS
6330 echo >>$CONFIG_STATUS
6332 # Break up conftest.undefs because some shells have a limit on the size
6333 # of here documents, and old seds have small limits too (100 cmds).
6334 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
6336 while grep . conftest.undefs >/dev/null
6338 # Write a limited-size here document to $tmp/undefs.sed.
6339 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
6340 # Speed up: don't consider the non `#undef'
6341 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
6342 # Work around the forget-to-reset-the-flag bug.
6343 echo 't clr' >>$CONFIG_STATUS
6344 echo ': clr' >>$CONFIG_STATUS
6345 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
6347 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
6351 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
6352 rm -f conftest.undefs
6353 mv conftest.tail conftest.undefs
6355 rm -f conftest.undefs
6357 cat >>$CONFIG_STATUS <<\_ACEOF
6358 # Let's still pretend it is `configure' which instantiates (i.e., don't
6359 # use $as_me), people would be surprised to read:
6360 # /* config.h. Generated by config.status. */
6361 if test x"$ac_file" = x-; then
6362 echo "/* Generated by configure. */" >$tmp/config.h
6364 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
6366 cat $tmp/in >>$tmp/config.h
6368 if test x"$ac_file" != x-; then
6369 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
6370 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
6371 echo "$as_me: $ac_file is unchanged" >&6;}
6373 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6374 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6375 X"$ac_file" : 'X\(//\)[^/]' \| \
6376 X"$ac_file" : 'X\(//\)$' \| \
6377 X"$ac_file" : 'X\(/\)' \| \
6378 . : '\(.\)' 2>/dev/null ||
6380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6381 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6382 /^X\(\/\/\)$/{ s//\1/; q; }
6383 /^X\(\/\).*/{ s//\1/; q; }
6385 { if $as_mkdir_p; then
6390 while test ! -d "$as_dir"; do
6391 as_dirs="$as_dir $as_dirs"
6392 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6393 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6394 X"$as_dir" : 'X\(//\)[^/]' \| \
6395 X"$as_dir" : 'X\(//\)$' \| \
6396 X"$as_dir" : 'X\(/\)' \| \
6397 . : '\(.\)' 2>/dev/null ||
6399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6400 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6401 /^X\(\/\/\)$/{ s//\1/; q; }
6402 /^X\(\/\).*/{ s//\1/; q; }
6405 test ! -n "$as_dirs" || mkdir $as_dirs
6406 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6407 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6408 { (exit 1); exit 1; }; }; }
6411 mv $tmp/config.h $ac_file
6419 cat >>$CONFIG_STATUS <<\_ACEOF
6422 # CONFIG_COMMANDS section.
6424 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
6425 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
6426 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
6427 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
6428 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6429 X"$ac_dest" : 'X\(//\)[^/]' \| \
6430 X"$ac_dest" : 'X\(//\)$' \| \
6431 X"$ac_dest" : 'X\(/\)' \| \
6432 . : '\(.\)' 2>/dev/null ||
6434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6435 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6436 /^X\(\/\/\)$/{ s//\1/; q; }
6437 /^X\(\/\).*/{ s//\1/; q; }
6439 { if $as_mkdir_p; then
6444 while test ! -d "$as_dir"; do
6445 as_dirs="$as_dir $as_dirs"
6446 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6448 X"$as_dir" : 'X\(//\)[^/]' \| \
6449 X"$as_dir" : 'X\(//\)$' \| \
6450 X"$as_dir" : 'X\(/\)' \| \
6451 . : '\(.\)' 2>/dev/null ||
6453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6454 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6455 /^X\(\/\/\)$/{ s//\1/; q; }
6456 /^X\(\/\).*/{ s//\1/; q; }
6459 test ! -n "$as_dirs" || mkdir $as_dirs
6460 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6461 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6462 { (exit 1); exit 1; }; }; }
6466 if test "$ac_dir" != .; then
6467 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6468 # A "../" for each directory in $ac_dir_suffix.
6469 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6471 ac_dir_suffix= ac_top_builddir=
6475 .) # No --srcdir option. We are building in place.
6477 if test -z "$ac_top_builddir"; then
6480 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6482 [\\/]* | ?:[\\/]* ) # Absolute path.
6483 ac_srcdir=$srcdir$ac_dir_suffix;
6484 ac_top_srcdir=$srcdir ;;
6486 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6487 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6490 # Do not use `cd foo && pwd` to compute absolute paths, because
6491 # the directories may not exist.
6493 .) ac_abs_builddir="$ac_dir";;
6496 .) ac_abs_builddir=`pwd`;;
6497 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6498 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6501 case $ac_abs_builddir in
6502 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6504 case ${ac_top_builddir}. in
6505 .) ac_abs_top_builddir=$ac_abs_builddir;;
6506 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6507 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6510 case $ac_abs_builddir in
6511 .) ac_abs_srcdir=$ac_srcdir;;
6514 .) ac_abs_srcdir=$ac_abs_builddir;;
6515 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6516 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6519 case $ac_abs_builddir in
6520 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6522 case $ac_top_srcdir in
6523 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6524 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6525 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6530 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
6531 echo "$as_me: executing $ac_dest commands" >&6;}
6533 default ) touch stamp-h ;;
6538 cat >>$CONFIG_STATUS <<\_ACEOF
6540 { (exit 0); exit 0; }
6542 chmod +x $CONFIG_STATUS
6543 ac_clean_files=$ac_clean_files_save
6546 # configure is writing to config.log, and then calls config.status.
6547 # config.status does its own redirection, appending to config.log.
6548 # Unfortunately, on DOS this fails, as config.log is still kept open
6549 # by configure, so config.status won't be able to write to it; its
6550 # output is simply discarded. So we exec the FD to /dev/null,
6551 # effectively closing config.log, so it can be properly (re)opened and
6552 # appended to by config.status. When coming back to configure, we
6553 # need to make the FD available again.
6554 if test "$no_create" != yes; then
6556 ac_config_status_args=
6557 test "$silent" = yes &&
6558 ac_config_status_args="$ac_config_status_args --quiet"
6560 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
6562 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
6563 # would make configure fail if this is the last instruction.
6564 $ac_cs_success || { (exit 1); exit 1; }
6568 for i in $plugin_subdirs
6570 suffix=`echo $i | tr /a-z _A-Z`
6571 echo "/* enabled plugin: $i */" >> config.h
6572 echo "#define PLUGIN_$suffix 1" >> config.h
6575 $AWK -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h