2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.53 for libfirm 0.3.0.
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
11 if expr a : '\(a\)' >/dev/null 2>&1; then
18 ## --------------------- ##
19 ## M4sh Initialization. ##
20 ## --------------------- ##
22 # Be Bourne compatible
23 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31 # Support unset when possible.
32 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
38 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
39 { $as_unset LANG || test "${LANG+set}" != set; } ||
40 { LANG=C; export LANG; }
41 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
42 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
43 { LC_ALL=C; export LC_ALL; }
44 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
45 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
46 { LC_TIME=C; export LC_TIME; }
47 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
48 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
49 { LC_CTYPE=C; export LC_CTYPE; }
50 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
51 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
52 { LANGUAGE=C; export LANGUAGE; }
53 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
54 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
55 { LC_COLLATE=C; export LC_COLLATE; }
56 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
57 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
58 { LC_NUMERIC=C; export LC_NUMERIC; }
59 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
60 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
61 { LC_MESSAGES=C; export LC_MESSAGES; }
64 # Name of the executable.
65 as_me=`(basename "$0") 2>/dev/null ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
76 # PATH needs CR, and LINENO needs CR and PATH.
77 # Avoid depending upon Character Ranges.
78 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81 as_cr_digits='0123456789'
82 as_cr_alnum=$as_cr_Letters$as_cr_digits
84 # The user is always right.
85 if test "${PATH_SEPARATOR+set}" != set; then
86 echo "#! /bin/sh" >conftest.sh
87 echo "exit 0" >>conftest.sh
89 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
100 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
101 test "x$as_lineno_1" != "x$as_lineno_2" &&
102 test "x$as_lineno_3" = "x$as_lineno_2" || {
103 # Find who we are. Look in the path if we contain no path at all
106 *[\\/]* ) as_myself=$0 ;;
107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 test -z "$as_dir" && as_dir=.
112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 # We did not find ourselves, most probably we were run as `sh COMMAND'
118 # in which case we are not to be found in the path.
119 if test "x$as_myself" = x; then
122 if test ! -f "$as_myself"; then
123 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
124 { (exit 1); exit 1; }; }
126 case $CONFIG_SHELL in
128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
129 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 test -z "$as_dir" && as_dir=.
133 for as_base in sh bash ksh sh5; do
136 if ("$as_dir/$as_base" -c '
139 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
140 test "x$as_lineno_1" != "x$as_lineno_2" &&
141 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
142 CONFIG_SHELL=$as_dir/$as_base
144 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
153 # uniformly replaced by the line number. The first 'sed' inserts a
154 # line-number line before each line; the second 'sed' does the real
155 # work. The second script uses 'N' to pair each line-number line
156 # with the numbered line, and appends trailing '-' during
157 # substitution so that $LINENO is not a special case at line end.
158 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
159 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
160 sed '=' <$as_myself |
165 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
168 s,^['$as_cr_digits']*\n,,
170 chmod +x $as_me.lineno ||
171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
172 { (exit 1); exit 1; }; }
174 # Don't try to exec as it changes $[0], causing all sort of problems
175 # (the dirname of $[0] is not the place where we might find the
176 # original and so on. Autoconf is especially sensible to this).
178 # Exit status is that of the last command.
183 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
184 *c*,-n*) ECHO_N= ECHO_C='
186 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
187 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
190 if expr a : '\(a\)' >/dev/null 2>&1; then
196 rm -f conf$$ conf$$.exe conf$$.file
198 if ln -s conf$$.file conf$$ 2>/dev/null; then
199 # We could just check for DJGPP; but this test a) works b) is more generic
200 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
201 if test -f conf$$.exe; then
202 # Don't use ln at all; we don't have any links
207 elif ln conf$$.file conf$$ 2>/dev/null; then
212 rm -f conf$$ conf$$.exe conf$$.file
214 as_executable_p="test -f"
216 # Sed expression to map a string onto a valid CPP name.
217 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
219 # Sed expression to map a string onto a valid variable name.
220 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
224 # We need space, tab and new line, in precisely that order.
230 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
234 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
235 # so uname gets run too.
236 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
243 ac_default_prefix=/usr/local
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Maximum number of lines to put in a shell here document.
251 # This variable seems obsolete. It should probably be removed, and
252 # only ac_max_sed_lines should be used.
253 : ${ac_max_here_lines=38}
255 # Identity of this package.
256 PACKAGE_NAME='libfirm'
257 PACKAGE_TARNAME='libfirm'
258 PACKAGE_VERSION='0.3.0'
259 PACKAGE_STRING='libfirm 0.3.0'
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures libfirm 0.3.0 to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
818 if test -n "$ac_init_help"; then
819 case $ac_init_help in
820 short | recursive ) echo "Configuration of libfirm 0.3.0:";;
825 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
826 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
827 --enable-debug enable assertions and additional debugging routines
828 --disable-inlining disable inline C-extension
829 --enable-profile enable profiling
830 --enable-autodoc enable auto documentation
831 --enable-firmjni check for tools necesarry to construct a java native interface for Firm
832 --enable-heapanalysis Compile with heap analysis.
833 --enable-backend Compile with backend facility.
834 --disable-libiberty disable own libiberty parts
835 --enable-statistics enable Firm statistics
836 --disable-external-effects disable descriptions of external effects in XML
839 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
840 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
841 --with-includedir=add colon seperated list of directories to include search path
842 --with-libdir=add colon seperated list of directories to linker search path
844 Some influential environment variables:
845 CC C compiler command
846 CFLAGS C compiler flags
847 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
848 nonstandard directory <lib dir>
849 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
850 headers in a nonstandard directory <include dir>
853 Use these variables to override the choices made by `configure' or to help
854 it to find libraries and programs with nonstandard names/locations.
859 if test "$ac_init_help" = "recursive"; then
860 # If there are subdirs, report their specific --help.
862 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
863 test -d $ac_dir || continue
866 if test "$ac_dir" != .; then
867 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
868 # A "../" for each directory in $ac_dir_suffix.
869 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
871 ac_dir_suffix= ac_top_builddir=
875 .) # No --srcdir option. We are building in place.
877 if test -z "$ac_top_builddir"; then
880 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
882 [\\/]* | ?:[\\/]* ) # Absolute path.
883 ac_srcdir=$srcdir$ac_dir_suffix;
884 ac_top_srcdir=$srcdir ;;
886 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
887 ac_top_srcdir=$ac_top_builddir$srcdir ;;
889 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
891 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
892 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
893 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
894 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
897 # Check for guested configure; otherwise get Cygnus style configure.
898 if test -f $ac_srcdir/configure.gnu; then
900 $SHELL $ac_srcdir/configure.gnu --help=recursive
901 elif test -f $ac_srcdir/configure; then
903 $SHELL $ac_srcdir/configure --help=recursive
904 elif test -f $ac_srcdir/configure.ac ||
905 test -f $ac_srcdir/configure.in; then
909 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
915 test -n "$ac_init_help" && exit 0
916 if $ac_init_version; then
918 libfirm configure 0.3.0
919 generated by GNU Autoconf 2.53
921 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
922 Free Software Foundation, Inc.
923 This configure script is free software; the Free Software Foundation
924 gives unlimited permission to copy, distribute and modify it.
930 This file contains any messages produced by compilers while
931 running configure, to aid debugging if configure makes a mistake.
933 It was created by libfirm $as_me 0.3.0, which was
934 generated by GNU Autoconf 2.53. Invocation command line was
945 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
946 uname -m = `(uname -m) 2>/dev/null || echo unknown`
947 uname -r = `(uname -r) 2>/dev/null || echo unknown`
948 uname -s = `(uname -s) 2>/dev/null || echo unknown`
949 uname -v = `(uname -v) 2>/dev/null || echo unknown`
951 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
952 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
954 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
955 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
956 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
957 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
958 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
959 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
960 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
968 test -z "$as_dir" && as_dir=.
984 # Keep a trace of the command line.
985 # Strip out --no-create and --no-recursion so they do not pile up.
986 # Also quote any args containing shell meta-characters.
992 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
993 | --no-cr | --no-c | -n ) continue ;;
994 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
995 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
997 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
998 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1000 case " $ac_configure_args " in
1001 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1002 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1005 # Get rid of the leading space.
1008 # When interrupted or exit'd, cleanup temporary files, and complete
1009 # config.log. We remove comments because anyway the quotes in there
1010 # would cause problems or look ugly.
1011 # WARNING: Be sure not to use single quotes in there, as some shells,
1012 # such as our DU 5.0 friend, will then `close' the trap.
1013 trap 'exit_status=$?
1014 # Save into config.log some information that might help in debugging.
1018 ## ---------------- ##
1019 ## Cache variables. ##
1020 ## ---------------- ##
1023 # The following way of writing the cache mishandles newlines in values,
1026 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1029 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1030 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1034 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1039 if test -s confdefs.h; then
1046 sed "/^$/d" confdefs.h
1049 test "$ac_signal" != 0 &&
1050 echo "$as_me: caught signal $ac_signal"
1051 echo "$as_me: exit $exit_status"
1053 rm -f core core.* *.core &&
1054 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1057 for ac_signal in 1 2 13 15; do
1058 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1062 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1063 rm -rf conftest* confdefs.h
1064 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1067 # Predefined preprocessor variables.
1069 cat >>confdefs.h <<_ACEOF
1070 #define PACKAGE_NAME "$PACKAGE_NAME"
1074 cat >>confdefs.h <<_ACEOF
1075 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1079 cat >>confdefs.h <<_ACEOF
1080 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1084 cat >>confdefs.h <<_ACEOF
1085 #define PACKAGE_STRING "$PACKAGE_STRING"
1089 cat >>confdefs.h <<_ACEOF
1090 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1094 # Let the site file select an alternate cache file if it wants to.
1095 # Prefer explicitly selected file to automatically selected ones.
1096 if test -z "$CONFIG_SITE"; then
1097 if test "x$prefix" != xNONE; then
1098 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1100 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1103 for ac_site_file in $CONFIG_SITE; do
1104 if test -r "$ac_site_file"; then
1105 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1106 echo "$as_me: loading site script $ac_site_file" >&6;}
1107 sed 's/^/| /' "$ac_site_file" >&5
1112 if test -r "$cache_file"; then
1113 # Some versions of bash will fail to source /dev/null (special
1114 # files actually), so we avoid doing that.
1115 if test -f "$cache_file"; then
1116 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1117 echo "$as_me: loading cache $cache_file" >&6;}
1119 [\\/]* | ?:[\\/]* ) . $cache_file;;
1120 *) . ./$cache_file;;
1124 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1125 echo "$as_me: creating cache $cache_file" >&6;}
1129 # Check that the precious variables saved in the cache have kept the same
1131 ac_cache_corrupted=false
1132 for ac_var in `(set) 2>&1 |
1133 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1134 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1135 eval ac_new_set=\$ac_env_${ac_var}_set
1136 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1137 eval ac_new_val="\$ac_env_${ac_var}_value"
1138 case $ac_old_set,$ac_new_set in
1140 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1141 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1142 ac_cache_corrupted=: ;;
1144 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1145 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1146 ac_cache_corrupted=: ;;
1149 if test "x$ac_old_val" != "x$ac_new_val"; then
1150 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1151 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1152 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1153 echo "$as_me: former value: $ac_old_val" >&2;}
1154 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1155 echo "$as_me: current value: $ac_new_val" >&2;}
1156 ac_cache_corrupted=:
1159 # Pass precious variables to config.status.
1160 if test "$ac_new_set" = set; then
1162 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1163 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1164 *) ac_arg=$ac_var=$ac_new_val ;;
1166 case " $ac_configure_args " in
1167 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1168 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1172 if $ac_cache_corrupted; then
1173 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1174 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1175 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1176 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1177 { (exit 1); exit 1; }; }
1181 ac_cpp='$CPP $CPPFLAGS'
1182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1212 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1213 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1214 ir/ana/Makefile ir/tr/Makefile ir/ana2/Makefile ir/stat/Makefile \
1215 ir/opt/Makefile ir/external/Makefile ir/config/Makefile \
1216 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1220 ac_config_headers="$ac_config_headers config.h"
1223 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1226 CONF_DIR_NAME=`dirname $0`
1229 # Check whether --with-includedir or --without-includedir was given.
1230 if test "${with_includedir+set}" = set; then
1231 withval="$with_includedir"
1232 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1236 # Check whether --with-libdir or --without-libdir was given.
1237 if test "${with_libdir+set}" = set; then
1238 withval="$with_libdir"
1239 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1243 # Check whether --enable-debug or --disable-debug was given.
1244 if test "${enable_debug+set}" = set; then
1245 enableval="$enable_debug"
1246 if test "$enableval" = yes; then
1247 cat >>confdefs.h <<\_ACEOF
1248 #define DEBUG_libfirm 1
1252 cat >>confdefs.h <<\_ACEOF
1260 # Check whether --enable-inlining or --disable-inlining was given.
1261 if test "${enable_inlining+set}" = set; then
1262 enableval="$enable_inlining"
1263 if test "$enableval" = yes; then
1264 cat >>confdefs.h <<\_ACEOF
1265 #define USE_INLINING 1
1270 cat >>confdefs.h <<\_ACEOF
1271 #define USE_INLINING 1
1277 # Check whether --enable-profile or --disable-profile was given.
1278 if test "${enable_profile+set}" = set; then
1279 enableval="$enable_profile"
1280 if test "$enableval"=yes; then
1281 enable_profile_libfirm=yes
1284 enable_profile_libfirm=no
1288 # Check whether --enable-autodoc or --disable-autodoc was given.
1289 if test "${enable_autodoc+set}" = set; then
1290 enableval="$enable_autodoc"
1291 if test "$enableval"=yes; then
1292 enable_auto_documentation=yes
1295 enable_auto_documentation=no
1300 # Check whether --enable-firmjni or --disable-firmjni was given.
1301 if test "${enable_firmjni+set}" = set; then
1302 enableval="$enable_firmjni"
1303 if test "$enableval"=yes; then
1311 echo "$as_me:$LINENO: checking for heapanalysis" >&5
1312 echo $ECHO_N "checking for heapanalysis... $ECHO_C" >&6
1313 # Check whether --enable-heapanalysis or --disable-heapanalysis was given.
1314 if test "${enable_heapanalysis+set}" = set; then
1315 enableval="$enable_heapanalysis"
1316 enable_heapanalysis=$enableval
1318 enable_heapanalysis="no"
1320 if test "$enable_heapanalysis" = "no"; then
1321 echo "$as_me:$LINENO: result: disabled" >&5
1322 echo "${ECHO_T}disabled" >&6
1324 cat >>confdefs.h <<\_ACEOF
1325 #define DO_HEAPANALYSIS 1
1328 echo "$as_me:$LINENO: result: enabled" >&5
1329 echo "${ECHO_T}enabled" >&6
1333 # Check whether --enable-backend or --disable-backend was given.
1334 if test "${enable_backend+set}" = set; then
1335 enableval="$enable_backend"
1336 if test "$enableval" = "yes"; then
1337 cat >>confdefs.h <<\_ACEOF
1338 #define FIRM_BACKEND 1
1343 enable_backend="yes"
1347 # Check whether --enable-libiberty or --disable-libiberty was given.
1348 if test "${enable_libiberty+set}" = set; then
1349 enableval="$enable_libiberty"
1350 if test "$enableval"=yes; then
1351 disable_libiberty_=yes
1354 disable_libiberty=no
1358 # Check whether --enable-statistics or --disable-statistics was given.
1359 if test "${enable_statistics+set}" = set; then
1360 enableval="$enable_statistics"
1361 if test "$enableval"=yes; then
1362 cat >>confdefs.h <<\_ACEOF
1363 #define FIRM_STATISTICS 1
1370 echo "$as_me:$LINENO: checking for using external effects in xml2" >&5
1371 echo $ECHO_N "checking for using external effects in xml2... $ECHO_C" >&6
1372 # Check whether --enable-external-effects or --disable-external-effects was given.
1373 if test "${enable_external_effects+set}" = set; then
1374 enableval="$enable_external_effects"
1375 if test "$enableval"="no"; then
1376 enable_external_effects=no
1379 enable_external_effects=yes
1382 if test "$enable_external_effects" == no; then
1383 echo "$as_me:$LINENO: result: disabled" >&5
1384 echo "${ECHO_T}disabled" >&6
1386 echo "$as_me:$LINENO: result: enabled" >&5
1387 echo "${ECHO_T}enabled" >&6
1392 ac_cpp='$CPP $CPPFLAGS'
1393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1396 if test -n "$ac_tool_prefix"; then
1397 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1398 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1399 echo "$as_me:$LINENO: checking for $ac_word" >&5
1400 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1401 if test "${ac_cv_prog_CC+set}" = set; then
1402 echo $ECHO_N "(cached) $ECHO_C" >&6
1404 if test -n "$CC"; then
1405 ac_cv_prog_CC="$CC" # Let the user override the test.
1407 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1411 test -z "$as_dir" && as_dir=.
1412 for ac_exec_ext in '' $ac_executable_extensions; do
1413 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1414 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1415 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1424 if test -n "$CC"; then
1425 echo "$as_me:$LINENO: result: $CC" >&5
1426 echo "${ECHO_T}$CC" >&6
1428 echo "$as_me:$LINENO: result: no" >&5
1429 echo "${ECHO_T}no" >&6
1433 if test -z "$ac_cv_prog_CC"; then
1435 # Extract the first word of "gcc", so it can be a program name with args.
1436 set dummy gcc; ac_word=$2
1437 echo "$as_me:$LINENO: checking for $ac_word" >&5
1438 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1439 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1440 echo $ECHO_N "(cached) $ECHO_C" >&6
1442 if test -n "$ac_ct_CC"; then
1443 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1445 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1449 test -z "$as_dir" && as_dir=.
1450 for ac_exec_ext in '' $ac_executable_extensions; do
1451 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1452 ac_cv_prog_ac_ct_CC="gcc"
1453 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1461 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1462 if test -n "$ac_ct_CC"; then
1463 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1464 echo "${ECHO_T}$ac_ct_CC" >&6
1466 echo "$as_me:$LINENO: result: no" >&5
1467 echo "${ECHO_T}no" >&6
1475 if test -z "$CC"; then
1476 if test -n "$ac_tool_prefix"; then
1477 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1478 set dummy ${ac_tool_prefix}cc; ac_word=$2
1479 echo "$as_me:$LINENO: checking for $ac_word" >&5
1480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1481 if test "${ac_cv_prog_CC+set}" = set; then
1482 echo $ECHO_N "(cached) $ECHO_C" >&6
1484 if test -n "$CC"; then
1485 ac_cv_prog_CC="$CC" # Let the user override the test.
1487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1491 test -z "$as_dir" && as_dir=.
1492 for ac_exec_ext in '' $ac_executable_extensions; do
1493 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1494 ac_cv_prog_CC="${ac_tool_prefix}cc"
1495 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1504 if test -n "$CC"; then
1505 echo "$as_me:$LINENO: result: $CC" >&5
1506 echo "${ECHO_T}$CC" >&6
1508 echo "$as_me:$LINENO: result: no" >&5
1509 echo "${ECHO_T}no" >&6
1513 if test -z "$ac_cv_prog_CC"; then
1515 # Extract the first word of "cc", so it can be a program name with args.
1516 set dummy cc; ac_word=$2
1517 echo "$as_me:$LINENO: checking for $ac_word" >&5
1518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1519 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1522 if test -n "$ac_ct_CC"; then
1523 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1529 test -z "$as_dir" && as_dir=.
1530 for ac_exec_ext in '' $ac_executable_extensions; do
1531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1532 ac_cv_prog_ac_ct_CC="cc"
1533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1541 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1542 if test -n "$ac_ct_CC"; then
1543 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1544 echo "${ECHO_T}$ac_ct_CC" >&6
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1556 if test -z "$CC"; then
1557 # Extract the first word of "cc", so it can be a program name with args.
1558 set dummy cc; ac_word=$2
1559 echo "$as_me:$LINENO: checking for $ac_word" >&5
1560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1561 if test "${ac_cv_prog_CC+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 if test -n "$CC"; then
1565 ac_cv_prog_CC="$CC" # Let the user override the test.
1568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1572 test -z "$as_dir" && as_dir=.
1573 for ac_exec_ext in '' $ac_executable_extensions; do
1574 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1575 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1576 ac_prog_rejected=yes
1580 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 if test $ac_prog_rejected = yes; then
1587 # We found a bogon in the path, so make sure we never use it.
1588 set dummy $ac_cv_prog_CC
1590 if test $# != 0; then
1591 # We chose a different compiler from the bogus one.
1592 # However, it has the same basename, so the bogon will be chosen
1593 # first if we set CC to just the basename; use the full file name.
1595 set dummy "$as_dir/$ac_word" ${1+"$@"}
1603 if test -n "$CC"; then
1604 echo "$as_me:$LINENO: result: $CC" >&5
1605 echo "${ECHO_T}$CC" >&6
1607 echo "$as_me:$LINENO: result: no" >&5
1608 echo "${ECHO_T}no" >&6
1612 if test -z "$CC"; then
1613 if test -n "$ac_tool_prefix"; then
1616 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1617 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1618 echo "$as_me:$LINENO: checking for $ac_word" >&5
1619 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1620 if test "${ac_cv_prog_CC+set}" = set; then
1621 echo $ECHO_N "(cached) $ECHO_C" >&6
1623 if test -n "$CC"; then
1624 ac_cv_prog_CC="$CC" # Let the user override the test.
1626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1630 test -z "$as_dir" && as_dir=.
1631 for ac_exec_ext in '' $ac_executable_extensions; do
1632 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1633 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1634 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1643 if test -n "$CC"; then
1644 echo "$as_me:$LINENO: result: $CC" >&5
1645 echo "${ECHO_T}$CC" >&6
1647 echo "$as_me:$LINENO: result: no" >&5
1648 echo "${ECHO_T}no" >&6
1651 test -n "$CC" && break
1654 if test -z "$CC"; then
1658 # Extract the first word of "$ac_prog", so it can be a program name with args.
1659 set dummy $ac_prog; ac_word=$2
1660 echo "$as_me:$LINENO: checking for $ac_word" >&5
1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 if test -n "$ac_ct_CC"; then
1666 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir=.
1673 for ac_exec_ext in '' $ac_executable_extensions; do
1674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675 ac_cv_prog_ac_ct_CC="$ac_prog"
1676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1684 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1685 if test -n "$ac_ct_CC"; then
1686 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1687 echo "${ECHO_T}$ac_ct_CC" >&6
1689 echo "$as_me:$LINENO: result: no" >&5
1690 echo "${ECHO_T}no" >&6
1693 test -n "$ac_ct_CC" && break
1702 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1703 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1704 { (exit 1); exit 1; }; }
1706 # Provide some information about the compiler.
1707 echo "$as_me:$LINENO:" \
1708 "checking for C compiler version" >&5
1709 ac_compiler=`set X $ac_compile; echo $2`
1710 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1711 (eval $ac_compiler --version </dev/null >&5) 2>&5
1713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1714 (exit $ac_status); }
1715 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1716 (eval $ac_compiler -v </dev/null >&5) 2>&5
1718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1719 (exit $ac_status); }
1720 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1721 (eval $ac_compiler -V </dev/null >&5) 2>&5
1723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1724 (exit $ac_status); }
1726 cat >conftest.$ac_ext <<_ACEOF
1727 #line $LINENO "configure"
1728 #include "confdefs.h"
1730 #ifdef F77_DUMMY_MAIN
1734 int F77_DUMMY_MAIN() { return 1; }
1744 ac_clean_files_save=$ac_clean_files
1745 ac_clean_files="$ac_clean_files a.out a.exe"
1746 # Try to create an executable without -o first, disregard a.out.
1747 # It will help us diagnose broken compilers, and finding out an intuition
1749 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1750 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1751 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1752 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1753 (eval $ac_link_default) 2>&5
1755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1756 (exit $ac_status); }; then
1757 # Find the output, starting from the most likely. This scheme is
1758 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1761 # Be careful to initialize this variable, since it used to be cached.
1762 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1764 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1765 ls a.out conftest 2>/dev/null;
1766 ls a.* conftest.* 2>/dev/null`; do
1768 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1769 a.out ) # We found the default executable, but exeext='' is most
1772 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1773 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1780 echo "$as_me: failed program was:" >&5
1781 cat conftest.$ac_ext >&5
1782 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1783 echo "$as_me: error: C compiler cannot create executables" >&2;}
1784 { (exit 77); exit 77; }; }
1787 ac_exeext=$ac_cv_exeext
1788 echo "$as_me:$LINENO: result: $ac_file" >&5
1789 echo "${ECHO_T}$ac_file" >&6
1791 # Check the compiler produces executables we can run. If not, either
1792 # the compiler is broken, or we cross compile.
1793 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1794 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1795 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1796 # If not cross compiling, check that we can run a simple program.
1797 if test "$cross_compiling" != yes; then
1798 if { ac_try='./$ac_file'
1799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1803 (exit $ac_status); }; }; then
1806 if test "$cross_compiling" = maybe; then
1809 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1810 If you meant to cross compile, use \`--host'." >&5
1811 echo "$as_me: error: cannot run C compiled programs.
1812 If you meant to cross compile, use \`--host'." >&2;}
1813 { (exit 1); exit 1; }; }
1817 echo "$as_me:$LINENO: result: yes" >&5
1818 echo "${ECHO_T}yes" >&6
1820 rm -f a.out a.exe conftest$ac_cv_exeext
1821 ac_clean_files=$ac_clean_files_save
1822 # Check the compiler produces executables we can run. If not, either
1823 # the compiler is broken, or we cross compile.
1824 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1825 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1826 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1827 echo "${ECHO_T}$cross_compiling" >&6
1829 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1830 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1832 (eval $ac_link) 2>&5
1834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1835 (exit $ac_status); }; then
1836 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1837 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1838 # work properly (i.e., refer to `conftest.exe'), while it won't with
1840 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1842 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1843 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1850 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1851 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1852 { (exit 1); exit 1; }; }
1855 rm -f conftest$ac_cv_exeext
1856 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1857 echo "${ECHO_T}$ac_cv_exeext" >&6
1859 rm -f conftest.$ac_ext
1860 EXEEXT=$ac_cv_exeext
1862 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1863 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1864 if test "${ac_cv_objext+set}" = set; then
1865 echo $ECHO_N "(cached) $ECHO_C" >&6
1867 cat >conftest.$ac_ext <<_ACEOF
1868 #line $LINENO "configure"
1869 #include "confdefs.h"
1871 #ifdef F77_DUMMY_MAIN
1875 int F77_DUMMY_MAIN() { return 1; }
1885 rm -f conftest.o conftest.obj
1886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1887 (eval $ac_compile) 2>&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; then
1891 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1894 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1899 echo "$as_me: failed program was:" >&5
1900 cat conftest.$ac_ext >&5
1901 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1902 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1903 { (exit 1); exit 1; }; }
1906 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1908 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1909 echo "${ECHO_T}$ac_cv_objext" >&6
1910 OBJEXT=$ac_cv_objext
1912 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1913 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1914 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1915 echo $ECHO_N "(cached) $ECHO_C" >&6
1917 cat >conftest.$ac_ext <<_ACEOF
1918 #line $LINENO "configure"
1919 #include "confdefs.h"
1921 #ifdef F77_DUMMY_MAIN
1925 int F77_DUMMY_MAIN() { return 1; }
1938 rm -f conftest.$ac_objext
1939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1940 (eval $ac_compile) 2>&5
1942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1943 (exit $ac_status); } &&
1944 { ac_try='test -s conftest.$ac_objext'
1945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1949 (exit $ac_status); }; }; then
1952 echo "$as_me: failed program was:" >&5
1953 cat conftest.$ac_ext >&5
1956 rm -f conftest.$ac_objext conftest.$ac_ext
1957 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1960 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1961 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1962 GCC=`test $ac_compiler_gnu = yes && echo yes`
1963 ac_test_CFLAGS=${CFLAGS+set}
1964 ac_save_CFLAGS=$CFLAGS
1966 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1967 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1968 if test "${ac_cv_prog_cc_g+set}" = set; then
1969 echo $ECHO_N "(cached) $ECHO_C" >&6
1971 cat >conftest.$ac_ext <<_ACEOF
1972 #line $LINENO "configure"
1973 #include "confdefs.h"
1975 #ifdef F77_DUMMY_MAIN
1979 int F77_DUMMY_MAIN() { return 1; }
1989 rm -f conftest.$ac_objext
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991 (eval $ac_compile) 2>&5
1993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994 (exit $ac_status); } &&
1995 { ac_try='test -s conftest.$ac_objext'
1996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000 (exit $ac_status); }; }; then
2003 echo "$as_me: failed program was:" >&5
2004 cat conftest.$ac_ext >&5
2007 rm -f conftest.$ac_objext conftest.$ac_ext
2009 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2010 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2011 if test "$ac_test_CFLAGS" = set; then
2012 CFLAGS=$ac_save_CFLAGS
2013 elif test $ac_cv_prog_cc_g = yes; then
2014 if test "$GCC" = yes; then
2020 if test "$GCC" = yes; then
2026 # Some people use a C++ compiler to compile C. Since we use `exit',
2027 # in C++ we need to declare it. In case someone uses the same compiler
2028 # for both compiling C and C++ we need to have the C++ compiler decide
2029 # the declaration of exit, since it's the most demanding environment.
2030 cat >conftest.$ac_ext <<_ACEOF
2035 rm -f conftest.$ac_objext
2036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2037 (eval $ac_compile) 2>&5
2039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2040 (exit $ac_status); } &&
2041 { ac_try='test -s conftest.$ac_objext'
2042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2046 (exit $ac_status); }; }; then
2047 for ac_declaration in \
2049 '#include <stdlib.h>' \
2050 'extern "C" void std::exit (int) throw (); using std::exit;' \
2051 'extern "C" void std::exit (int); using std::exit;' \
2052 'extern "C" void exit (int) throw ();' \
2053 'extern "C" void exit (int);' \
2056 cat >conftest.$ac_ext <<_ACEOF
2057 #line $LINENO "configure"
2058 #include "confdefs.h"
2061 #ifdef F77_DUMMY_MAIN
2065 int F77_DUMMY_MAIN() { return 1; }
2075 rm -f conftest.$ac_objext
2076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2077 (eval $ac_compile) 2>&5
2079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2080 (exit $ac_status); } &&
2081 { ac_try='test -s conftest.$ac_objext'
2082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2086 (exit $ac_status); }; }; then
2089 echo "$as_me: failed program was:" >&5
2090 cat conftest.$ac_ext >&5
2093 rm -f conftest.$ac_objext conftest.$ac_ext
2094 cat >conftest.$ac_ext <<_ACEOF
2095 #line $LINENO "configure"
2096 #include "confdefs.h"
2098 #ifdef F77_DUMMY_MAIN
2102 int F77_DUMMY_MAIN() { return 1; }
2112 rm -f conftest.$ac_objext
2113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2114 (eval $ac_compile) 2>&5
2116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2117 (exit $ac_status); } &&
2118 { ac_try='test -s conftest.$ac_objext'
2119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }; }; then
2126 echo "$as_me: failed program was:" >&5
2127 cat conftest.$ac_ext >&5
2129 rm -f conftest.$ac_objext conftest.$ac_ext
2132 if test -n "$ac_declaration"; then
2133 echo '#ifdef __cplusplus' >>confdefs.h
2134 echo $ac_declaration >>confdefs.h
2135 echo '#endif' >>confdefs.h
2139 echo "$as_me: failed program was:" >&5
2140 cat conftest.$ac_ext >&5
2142 rm -f conftest.$ac_objext conftest.$ac_ext
2144 ac_cpp='$CPP $CPPFLAGS'
2145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2151 if test -z "$LD"; then
2152 if test -n "$ac_tool_prefix"; then
2153 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2154 set dummy ${ac_tool_prefix}ld; ac_word=$2
2155 echo "$as_me:$LINENO: checking for $ac_word" >&5
2156 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2157 if test "${ac_cv_prog_LD+set}" = set; then
2158 echo $ECHO_N "(cached) $ECHO_C" >&6
2160 if test -n "$LD"; then
2161 ac_cv_prog_LD="$LD" # Let the user override the test.
2163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 test -z "$as_dir" && as_dir=.
2168 for ac_exec_ext in '' $ac_executable_extensions; do
2169 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2170 ac_cv_prog_LD="${ac_tool_prefix}ld"
2171 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 if test -n "$LD"; then
2181 echo "$as_me:$LINENO: result: $LD" >&5
2182 echo "${ECHO_T}$LD" >&6
2184 echo "$as_me:$LINENO: result: no" >&5
2185 echo "${ECHO_T}no" >&6
2189 if test -z "$ac_cv_prog_LD"; then
2191 # Extract the first word of "ld", so it can be a program name with args.
2192 set dummy ld; ac_word=$2
2193 echo "$as_me:$LINENO: checking for $ac_word" >&5
2194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2195 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2196 echo $ECHO_N "(cached) $ECHO_C" >&6
2198 if test -n "$ac_ct_LD"; then
2199 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2201 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2205 test -z "$as_dir" && as_dir=.
2206 for ac_exec_ext in '' $ac_executable_extensions; do
2207 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2208 ac_cv_prog_ac_ct_LD="ld"
2209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2217 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2218 if test -n "$ac_ct_LD"; then
2219 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2220 echo "${ECHO_T}$ac_ct_LD" >&6
2222 echo "$as_me:$LINENO: result: no" >&5
2223 echo "${ECHO_T}no" >&6
2233 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2234 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2235 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2236 echo $ECHO_N "(cached) $ECHO_C" >&6
2239 libfirm_cv_prog_ld_r=no
2241 cat > conftest.$ac_ext <<EOF
2242 int foo() { return 0; }
2244 if eval $ac_compile && mv conftest.o conftest2.o; then
2245 cat > conftest.$ac_ext <<EOF
2247 int main() { return foo(); }
2249 if eval $ac_compile; then
2250 if $LD -r -o conftest conftest.o conftest2.o; then
2251 libfirm_cv_prog_ld_r=yes
2258 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2259 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2262 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2263 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2264 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2265 { (exit 1); exit 1; }; }
2268 # Extract the first word of "ar", so it can be a program name with args.
2269 set dummy ar; ac_word=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_AR+set}" = set; then
2273 echo $ECHO_N "(cached) $ECHO_C" >&6
2275 if test -n "$AR"; then
2276 ac_cv_prog_AR="$AR" # Let the user override the test.
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2282 test -z "$as_dir" && as_dir=.
2283 for ac_exec_ext in '' $ac_executable_extensions; do
2284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285 ac_cv_prog_AR=""ar""
2286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2296 if test -n "$AR"; then
2297 echo "$as_me:$LINENO: result: $AR" >&5
2298 echo "${ECHO_T}$AR" >&6
2300 echo "$as_me:$LINENO: result: no" >&5
2301 echo "${ECHO_T}no" >&6
2304 if test "$AR" != "ar"; then
2305 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2306 echo "$as_me: error: need ar for creating archives" >&2;}
2307 { (exit 1); exit 1; }; }
2310 # Extract the first word of "tar", so it can be a program name with args.
2311 set dummy tar; ac_word=$2
2312 echo "$as_me:$LINENO: checking for $ac_word" >&5
2313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2314 if test "${ac_cv_prog_TAR+set}" = set; then
2315 echo $ECHO_N "(cached) $ECHO_C" >&6
2317 if test -n "$TAR"; then
2318 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2324 test -z "$as_dir" && as_dir=.
2325 for ac_exec_ext in '' $ac_executable_extensions; do
2326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2327 ac_cv_prog_TAR=""tar""
2328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2334 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2338 if test -n "$TAR"; then
2339 echo "$as_me:$LINENO: result: $TAR" >&5
2340 echo "${ECHO_T}$TAR" >&6
2342 echo "$as_me:$LINENO: result: no" >&5
2343 echo "${ECHO_T}no" >&6
2346 if test "$TAR" != "tar"; then
2347 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2348 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2349 { (exit 1); exit 1; }; }
2353 if test -n "$ac_tool_prefix"; then
2354 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2355 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2356 echo "$as_me:$LINENO: checking for $ac_word" >&5
2357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2358 if test "${ac_cv_prog_RANLIB+set}" = set; then
2359 echo $ECHO_N "(cached) $ECHO_C" >&6
2361 if test -n "$RANLIB"; then
2362 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2368 test -z "$as_dir" && as_dir=.
2369 for ac_exec_ext in '' $ac_executable_extensions; do
2370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2371 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2380 RANLIB=$ac_cv_prog_RANLIB
2381 if test -n "$RANLIB"; then
2382 echo "$as_me:$LINENO: result: $RANLIB" >&5
2383 echo "${ECHO_T}$RANLIB" >&6
2385 echo "$as_me:$LINENO: result: no" >&5
2386 echo "${ECHO_T}no" >&6
2390 if test -z "$ac_cv_prog_RANLIB"; then
2391 ac_ct_RANLIB=$RANLIB
2392 # Extract the first word of "ranlib", so it can be a program name with args.
2393 set dummy ranlib; ac_word=$2
2394 echo "$as_me:$LINENO: checking for $ac_word" >&5
2395 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2396 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2397 echo $ECHO_N "(cached) $ECHO_C" >&6
2399 if test -n "$ac_ct_RANLIB"; then
2400 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2406 test -z "$as_dir" && as_dir=.
2407 for ac_exec_ext in '' $ac_executable_extensions; do
2408 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2409 ac_cv_prog_ac_ct_RANLIB="ranlib"
2410 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2416 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2419 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2420 if test -n "$ac_ct_RANLIB"; then
2421 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2422 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2424 echo "$as_me:$LINENO: result: no" >&5
2425 echo "${ECHO_T}no" >&6
2428 RANLIB=$ac_ct_RANLIB
2430 RANLIB="$ac_cv_prog_RANLIB"
2435 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2436 if test -f $ac_dir/install-sh; then
2438 ac_install_sh="$ac_aux_dir/install-sh -c"
2440 elif test -f $ac_dir/install.sh; then
2442 ac_install_sh="$ac_aux_dir/install.sh -c"
2444 elif test -f $ac_dir/shtool; then
2446 ac_install_sh="$ac_aux_dir/shtool install -c"
2450 if test -z "$ac_aux_dir"; then
2451 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2452 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2453 { (exit 1); exit 1; }; }
2455 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2456 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2457 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2459 # Find a good install program. We prefer a C program (faster),
2460 # so one script is as good as another. But avoid the broken or
2461 # incompatible versions:
2462 # SysV /etc/install, /usr/sbin/install
2463 # SunOS /usr/etc/install
2464 # IRIX /sbin/install
2466 # AmigaOS /C/install, which installs bootblocks on floppy discs
2467 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2468 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2469 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2470 # ./install, which can be erroneously created by make from ./install.sh.
2471 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2472 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2473 if test -z "$INSTALL"; then
2474 if test "${ac_cv_path_install+set}" = set; then
2475 echo $ECHO_N "(cached) $ECHO_C" >&6
2477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2481 test -z "$as_dir" && as_dir=.
2482 # Account for people who put trailing slashes in PATH elements.
2484 ./ | .// | /cC/* | \
2485 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2488 # OSF1 and SCO ODT 3.0 have their own names for install.
2489 # Don't use installbsd from OSF since it installs stuff as root
2491 for ac_prog in ginstall scoinst install; do
2492 for ac_exec_ext in '' $ac_executable_extensions; do
2493 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2494 if test $ac_prog = install &&
2495 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2496 # AIX install. It has an incompatible calling convention.
2498 elif test $ac_prog = install &&
2499 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2500 # program-specific install script used by HP pwplus--don't use.
2503 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2515 if test "${ac_cv_path_install+set}" = set; then
2516 INSTALL=$ac_cv_path_install
2518 # As a last resort, use the slow shell script. We don't cache a
2519 # path for INSTALL within a source directory, because that will
2520 # break other packages using the cache if that directory is
2521 # removed, or if the path is relative.
2522 INSTALL=$ac_install_sh
2525 echo "$as_me:$LINENO: result: $INSTALL" >&5
2526 echo "${ECHO_T}$INSTALL" >&6
2528 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2529 # It thinks the first close brace ends the variable substitution.
2530 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2532 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2534 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2537 touch tmp-install.a tmp-install.b
2538 if eval "$INSTALL tmp-install.a tmp-install.b" ; then
2541 rm tmp-install.a tmp-install.b
2544 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2545 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2547 if test "$LN_S" = "ln -s"; then
2548 echo "$as_me:$LINENO: result: yes" >&5
2549 echo "${ECHO_T}yes" >&6
2551 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2552 echo "${ECHO_T}no, using $LN_S" >&6
2556 if test "$enable_auto_documentation" = yes; then
2557 # Extract the first word of "doxygen", so it can be a program name with args.
2558 set dummy doxygen; ac_word=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2564 if test -n "$DOXYGEN"; then
2565 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_DOXYGEN=""doxygen""
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2581 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
2584 DOXYGEN=$ac_cv_prog_DOXYGEN
2585 if test -n "$DOXYGEN"; then
2586 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2587 echo "${ECHO_T}$DOXYGEN" >&6
2589 echo "$as_me:$LINENO: result: no" >&5
2590 echo "${ECHO_T}no" >&6
2593 if test "$DOXYGEN" != "doxygen"; then
2594 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
2595 echo "$as_me: error: need doxygen for auto documentation" >&2;}
2596 { (exit 1); exit 1; }; }
2598 # Extract the first word of "dot", so it can be a program name with args.
2599 set dummy dot; ac_word=$2
2600 echo "$as_me:$LINENO: checking for $ac_word" >&5
2601 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2602 if test "${ac_cv_prog_DOT+set}" = set; then
2603 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 if test -n "$DOT"; then
2606 ac_cv_prog_DOT="$DOT" # Let the user override the test.
2608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2612 test -z "$as_dir" && as_dir=.
2613 for ac_exec_ext in '' $ac_executable_extensions; do
2614 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2615 ac_cv_prog_DOT=""dot""
2616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2622 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
2626 if test -n "$DOT"; then
2627 echo "$as_me:$LINENO: result: $DOT" >&5
2628 echo "${ECHO_T}$DOT" >&6
2630 echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2634 if test "$DOT" != "dot"; then
2635 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
2636 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
2637 { (exit 1); exit 1; }; }
2641 if test "$enable_firm_jni" = yes; then
2642 # Extract the first word of "javac", so it can be a program name with args.
2643 set dummy javac; ac_word=$2
2644 echo "$as_me:$LINENO: checking for $ac_word" >&5
2645 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2646 if test "${ac_cv_prog_JAVAC+set}" = set; then
2647 echo $ECHO_N "(cached) $ECHO_C" >&6
2649 if test -n "$JAVAC"; then
2650 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2656 test -z "$as_dir" && as_dir=.
2657 for ac_exec_ext in '' $ac_executable_extensions; do
2658 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2659 ac_cv_prog_JAVAC=""javac""
2660 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2666 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
2669 JAVAC=$ac_cv_prog_JAVAC
2670 if test -n "$JAVAC"; then
2671 echo "$as_me:$LINENO: result: $JAVAC" >&5
2672 echo "${ECHO_T}$JAVAC" >&6
2674 echo "$as_me:$LINENO: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2678 if test "$JAVAC" != "javac"; then
2679 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
2680 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
2681 { (exit 1); exit 1; }; }
2683 # Extract the first word of "javah", so it can be a program name with args.
2684 set dummy javah; ac_word=$2
2685 echo "$as_me:$LINENO: checking for $ac_word" >&5
2686 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2687 if test "${ac_cv_prog_JAVAH+set}" = set; then
2688 echo $ECHO_N "(cached) $ECHO_C" >&6
2690 if test -n "$JAVAH"; then
2691 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700 ac_cv_prog_JAVAH=""javah""
2701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2707 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
2710 JAVAH=$ac_cv_prog_JAVAH
2711 if test -n "$JAVAH"; then
2712 echo "$as_me:$LINENO: result: $JAVAH" >&5
2713 echo "${ECHO_T}$JAVAH" >&6
2715 echo "$as_me:$LINENO: result: no" >&5
2716 echo "${ECHO_T}no" >&6
2719 if test "$JAVAH" != "javah"; then
2720 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
2721 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
2722 { (exit 1); exit 1; }; }
2730 ac_cpp='$CPP $CPPFLAGS'
2731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2734 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2735 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2736 # On Suns, sometimes $CPP names a directory.
2737 if test -n "$CPP" && test -d "$CPP"; then
2740 if test -z "$CPP"; then
2741 if test "${ac_cv_prog_CPP+set}" = set; then
2742 echo $ECHO_N "(cached) $ECHO_C" >&6
2744 # Double quotes because CPP needs to be expanded
2745 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2748 for ac_c_preproc_warn_flag in '' yes
2750 # Use a header file that comes with gcc, so configuring glibc
2751 # with a fresh cross-compiler works.
2752 # On the NeXT, cc -E runs the code through the compiler's parser,
2753 # not just through cpp. "Syntax error" is here to catch this case.
2754 cat >conftest.$ac_ext <<_ACEOF
2755 #line $LINENO "configure"
2756 #include "confdefs.h"
2760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2763 egrep -v '^ *\+' conftest.er1 >conftest.err
2765 cat conftest.err >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); } >/dev/null; then
2768 if test -s conftest.err; then
2769 ac_cpp_err=$ac_c_preproc_warn_flag
2776 if test -z "$ac_cpp_err"; then
2779 echo "$as_me: failed program was:" >&5
2780 cat conftest.$ac_ext >&5
2781 # Broken: fails on valid input.
2784 rm -f conftest.err conftest.$ac_ext
2786 # OK, works on sane cases. Now check whether non-existent headers
2787 # can be detected and how.
2788 cat >conftest.$ac_ext <<_ACEOF
2789 #line $LINENO "configure"
2790 #include "confdefs.h"
2791 #include <ac_nonexistent.h>
2793 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2794 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2796 egrep -v '^ *\+' conftest.er1 >conftest.err
2798 cat conftest.err >&5
2799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2800 (exit $ac_status); } >/dev/null; then
2801 if test -s conftest.err; then
2802 ac_cpp_err=$ac_c_preproc_warn_flag
2809 if test -z "$ac_cpp_err"; then
2810 # Broken: success on invalid input.
2813 echo "$as_me: failed program was:" >&5
2814 cat conftest.$ac_ext >&5
2815 # Passes both tests.
2819 rm -f conftest.err conftest.$ac_ext
2822 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2823 rm -f conftest.err conftest.$ac_ext
2824 if $ac_preproc_ok; then
2836 echo "$as_me:$LINENO: result: $CPP" >&5
2837 echo "${ECHO_T}$CPP" >&6
2839 for ac_c_preproc_warn_flag in '' yes
2841 # Use a header file that comes with gcc, so configuring glibc
2842 # with a fresh cross-compiler works.
2843 # On the NeXT, cc -E runs the code through the compiler's parser,
2844 # not just through cpp. "Syntax error" is here to catch this case.
2845 cat >conftest.$ac_ext <<_ACEOF
2846 #line $LINENO "configure"
2847 #include "confdefs.h"
2851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2854 egrep -v '^ *\+' conftest.er1 >conftest.err
2856 cat conftest.err >&5
2857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2858 (exit $ac_status); } >/dev/null; then
2859 if test -s conftest.err; then
2860 ac_cpp_err=$ac_c_preproc_warn_flag
2867 if test -z "$ac_cpp_err"; then
2870 echo "$as_me: failed program was:" >&5
2871 cat conftest.$ac_ext >&5
2872 # Broken: fails on valid input.
2875 rm -f conftest.err conftest.$ac_ext
2877 # OK, works on sane cases. Now check whether non-existent headers
2878 # can be detected and how.
2879 cat >conftest.$ac_ext <<_ACEOF
2880 #line $LINENO "configure"
2881 #include "confdefs.h"
2882 #include <ac_nonexistent.h>
2884 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2885 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2887 egrep -v '^ *\+' conftest.er1 >conftest.err
2889 cat conftest.err >&5
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } >/dev/null; then
2892 if test -s conftest.err; then
2893 ac_cpp_err=$ac_c_preproc_warn_flag
2900 if test -z "$ac_cpp_err"; then
2901 # Broken: success on invalid input.
2904 echo "$as_me: failed program was:" >&5
2905 cat conftest.$ac_ext >&5
2906 # Passes both tests.
2910 rm -f conftest.err conftest.$ac_ext
2913 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2914 rm -f conftest.err conftest.$ac_ext
2915 if $ac_preproc_ok; then
2918 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2919 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2920 { (exit 1); exit 1; }; }
2924 ac_cpp='$CPP $CPPFLAGS'
2925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2930 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2931 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2932 if test "${ac_cv_header_stdc+set}" = set; then
2933 echo $ECHO_N "(cached) $ECHO_C" >&6
2935 cat >conftest.$ac_ext <<_ACEOF
2936 #line $LINENO "configure"
2937 #include "confdefs.h"
2944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2945 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2947 egrep -v '^ *\+' conftest.er1 >conftest.err
2949 cat conftest.err >&5
2950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2951 (exit $ac_status); } >/dev/null; then
2952 if test -s conftest.err; then
2953 ac_cpp_err=$ac_c_preproc_warn_flag
2960 if test -z "$ac_cpp_err"; then
2961 ac_cv_header_stdc=yes
2963 echo "$as_me: failed program was:" >&5
2964 cat conftest.$ac_ext >&5
2965 ac_cv_header_stdc=no
2967 rm -f conftest.err conftest.$ac_ext
2969 if test $ac_cv_header_stdc = yes; then
2970 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2971 cat >conftest.$ac_ext <<_ACEOF
2972 #line $LINENO "configure"
2973 #include "confdefs.h"
2977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2978 egrep "memchr" >/dev/null 2>&1; then
2981 ac_cv_header_stdc=no
2987 if test $ac_cv_header_stdc = yes; then
2988 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2989 cat >conftest.$ac_ext <<_ACEOF
2990 #line $LINENO "configure"
2991 #include "confdefs.h"
2995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2996 egrep "free" >/dev/null 2>&1; then
2999 ac_cv_header_stdc=no
3005 if test $ac_cv_header_stdc = yes; then
3006 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3007 if test "$cross_compiling" = yes; then
3010 cat >conftest.$ac_ext <<_ACEOF
3011 #line $LINENO "configure"
3012 #include "confdefs.h"
3014 #if ((' ' & 0x0FF) == 0x020)
3015 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3016 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3018 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
3019 || ('j' <= (c) && (c) <= 'r') \
3020 || ('s' <= (c) && (c) <= 'z'))
3021 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3024 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3029 for (i = 0; i < 256; i++)
3030 if (XOR (islower (i), ISLOWER (i))
3031 || toupper (i) != TOUPPER (i))
3036 rm -f conftest$ac_exeext
3037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3038 (eval $ac_link) 2>&5
3040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3041 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); }; }; then
3049 echo "$as_me: program exited with status $ac_status" >&5
3050 echo "$as_me: failed program was:" >&5
3051 cat conftest.$ac_ext >&5
3053 ac_cv_header_stdc=no
3055 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3059 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3060 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3061 if test $ac_cv_header_stdc = yes; then
3063 cat >>confdefs.h <<\_ACEOF
3064 #define STDC_HEADERS 1
3071 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3081 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3082 inttypes.h stdint.h unistd.h
3084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3085 echo "$as_me:$LINENO: checking for $ac_header" >&5
3086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3087 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3088 echo $ECHO_N "(cached) $ECHO_C" >&6
3090 cat >conftest.$ac_ext <<_ACEOF
3091 #line $LINENO "configure"
3092 #include "confdefs.h"
3093 $ac_includes_default
3095 #include <$ac_header>
3097 rm -f conftest.$ac_objext
3098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3099 (eval $ac_compile) 2>&5
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } &&
3103 { ac_try='test -s conftest.$ac_objext'
3104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3108 (exit $ac_status); }; }; then
3109 eval "$as_ac_Header=yes"
3111 echo "$as_me: failed program was:" >&5
3112 cat conftest.$ac_ext >&5
3113 eval "$as_ac_Header=no"
3115 rm -f conftest.$ac_objext conftest.$ac_ext
3117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3118 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3119 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3120 cat >>confdefs.h <<_ACEOF
3121 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3130 for ac_header in math.h
3132 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3133 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3134 echo "$as_me:$LINENO: checking for $ac_header" >&5
3135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3137 echo $ECHO_N "(cached) $ECHO_C" >&6
3139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3140 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3142 # Is the header compilable?
3143 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3145 cat >conftest.$ac_ext <<_ACEOF
3146 #line $LINENO "configure"
3147 #include "confdefs.h"
3148 $ac_includes_default
3149 #include <$ac_header>
3151 rm -f conftest.$ac_objext
3152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3153 (eval $ac_compile) 2>&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); } &&
3157 { ac_try='test -s conftest.$ac_objext'
3158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3162 (exit $ac_status); }; }; then
3163 ac_header_compiler=yes
3165 echo "$as_me: failed program was:" >&5
3166 cat conftest.$ac_ext >&5
3167 ac_header_compiler=no
3169 rm -f conftest.$ac_objext conftest.$ac_ext
3170 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3171 echo "${ECHO_T}$ac_header_compiler" >&6
3173 # Is the header present?
3174 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3175 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3176 cat >conftest.$ac_ext <<_ACEOF
3177 #line $LINENO "configure"
3178 #include "confdefs.h"
3179 #include <$ac_header>
3181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3184 egrep -v '^ *\+' conftest.er1 >conftest.err
3186 cat conftest.err >&5
3187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3188 (exit $ac_status); } >/dev/null; then
3189 if test -s conftest.err; then
3190 ac_cpp_err=$ac_c_preproc_warn_flag
3197 if test -z "$ac_cpp_err"; then
3198 ac_header_preproc=yes
3200 echo "$as_me: failed program was:" >&5
3201 cat conftest.$ac_ext >&5
3202 ac_header_preproc=no
3204 rm -f conftest.err conftest.$ac_ext
3205 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3206 echo "${ECHO_T}$ac_header_preproc" >&6
3208 # So? What about this header?
3209 case $ac_header_compiler:$ac_header_preproc in
3211 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3212 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3213 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3214 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3216 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3217 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3218 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3219 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3220 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3221 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3223 echo "$as_me:$LINENO: checking for $ac_header" >&5
3224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 eval "$as_ac_Header=$ac_header_preproc"
3230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3231 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3234 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3235 cat >>confdefs.h <<_ACEOF
3236 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3238 ac_math_headers="yes"
3240 ac_math_headers="no"
3245 if test "$ac_math_headers" != yes; then
3246 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3247 echo "$as_me: error: \"math header file not found\"" >&2;}
3248 { (exit 1); exit 1; }; }
3252 #dnl check for the gnu multiprecission (gmp) header file
3254 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3255 #if test "$ac_gmp_headers" != yes; then
3256 # dnl gmp header not found.
3257 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3264 for ac_header in obstack.h
3266 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3268 echo "$as_me:$LINENO: checking for $ac_header" >&5
3269 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3271 echo $ECHO_N "(cached) $ECHO_C" >&6
3273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3274 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3276 # Is the header compilable?
3277 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3278 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3279 cat >conftest.$ac_ext <<_ACEOF
3280 #line $LINENO "configure"
3281 #include "confdefs.h"
3282 $ac_includes_default
3283 #include <$ac_header>
3285 rm -f conftest.$ac_objext
3286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3287 (eval $ac_compile) 2>&5
3289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); } &&
3291 { ac_try='test -s conftest.$ac_objext'
3292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3296 (exit $ac_status); }; }; then
3297 ac_header_compiler=yes
3299 echo "$as_me: failed program was:" >&5
3300 cat conftest.$ac_ext >&5
3301 ac_header_compiler=no
3303 rm -f conftest.$ac_objext conftest.$ac_ext
3304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3305 echo "${ECHO_T}$ac_header_compiler" >&6
3307 # Is the header present?
3308 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3309 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3310 cat >conftest.$ac_ext <<_ACEOF
3311 #line $LINENO "configure"
3312 #include "confdefs.h"
3313 #include <$ac_header>
3315 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3316 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3318 egrep -v '^ *\+' conftest.er1 >conftest.err
3320 cat conftest.err >&5
3321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3322 (exit $ac_status); } >/dev/null; then
3323 if test -s conftest.err; then
3324 ac_cpp_err=$ac_c_preproc_warn_flag
3331 if test -z "$ac_cpp_err"; then
3332 ac_header_preproc=yes
3334 echo "$as_me: failed program was:" >&5
3335 cat conftest.$ac_ext >&5
3336 ac_header_preproc=no
3338 rm -f conftest.err conftest.$ac_ext
3339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3340 echo "${ECHO_T}$ac_header_preproc" >&6
3342 # So? What about this header?
3343 case $ac_header_compiler:$ac_header_preproc in
3345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3348 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3354 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3355 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3357 echo "$as_me:$LINENO: checking for $ac_header" >&5
3358 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3359 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3360 echo $ECHO_N "(cached) $ECHO_C" >&6
3362 eval "$as_ac_Header=$ac_header_preproc"
3364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3368 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3369 cat >>confdefs.h <<_ACEOF
3370 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3372 ac_obstack_headers="yes"
3374 ac_obstack_headers="no"
3379 if test "$ac_obstack_headers" != yes; then
3380 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3381 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3382 { (exit 1); exit 1; }; }
3387 for ac_header in alloca.h
3389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3390 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3391 echo "$as_me:$LINENO: checking for $ac_header" >&5
3392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3394 echo $ECHO_N "(cached) $ECHO_C" >&6
3396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3397 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3399 # Is the header compilable?
3400 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3401 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3402 cat >conftest.$ac_ext <<_ACEOF
3403 #line $LINENO "configure"
3404 #include "confdefs.h"
3405 $ac_includes_default
3406 #include <$ac_header>
3408 rm -f conftest.$ac_objext
3409 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3410 (eval $ac_compile) 2>&5
3412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3413 (exit $ac_status); } &&
3414 { ac_try='test -s conftest.$ac_objext'
3415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3419 (exit $ac_status); }; }; then
3420 ac_header_compiler=yes
3422 echo "$as_me: failed program was:" >&5
3423 cat conftest.$ac_ext >&5
3424 ac_header_compiler=no
3426 rm -f conftest.$ac_objext conftest.$ac_ext
3427 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3428 echo "${ECHO_T}$ac_header_compiler" >&6
3430 # Is the header present?
3431 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3432 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3433 cat >conftest.$ac_ext <<_ACEOF
3434 #line $LINENO "configure"
3435 #include "confdefs.h"
3436 #include <$ac_header>
3438 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3439 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3441 egrep -v '^ *\+' conftest.er1 >conftest.err
3443 cat conftest.err >&5
3444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3445 (exit $ac_status); } >/dev/null; then
3446 if test -s conftest.err; then
3447 ac_cpp_err=$ac_c_preproc_warn_flag
3454 if test -z "$ac_cpp_err"; then
3455 ac_header_preproc=yes
3457 echo "$as_me: failed program was:" >&5
3458 cat conftest.$ac_ext >&5
3459 ac_header_preproc=no
3461 rm -f conftest.err conftest.$ac_ext
3462 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3463 echo "${ECHO_T}$ac_header_preproc" >&6
3465 # So? What about this header?
3466 case $ac_header_compiler:$ac_header_preproc in
3468 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3469 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3470 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3471 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3473 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3474 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3475 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3476 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3478 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3480 echo "$as_me:$LINENO: checking for $ac_header" >&5
3481 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3482 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3483 echo $ECHO_N "(cached) $ECHO_C" >&6
3485 eval "$as_ac_Header=$ac_header_preproc"
3487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3491 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3492 cat >>confdefs.h <<_ACEOF
3493 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3495 ac_alloca_headers="yes"
3497 ac_alloca_headers="no"
3502 if test "$ac_alloca_headers" = "yes"; then
3503 cat >>confdefs.h <<\_ACEOF
3504 #define HAVE_ALLOCA_H 1
3508 if test "$ac_cv_header_stdc" = "no"; then
3509 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
3510 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
3511 { (exit 1); exit 1; }; }
3517 if test "$enable_firm_jni" = yes; then
3519 for ac_header in jni.h
3521 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3522 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3523 echo "$as_me:$LINENO: checking for $ac_header" >&5
3524 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3526 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3529 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3531 # Is the header compilable?
3532 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3533 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3534 cat >conftest.$ac_ext <<_ACEOF
3535 #line $LINENO "configure"
3536 #include "confdefs.h"
3537 $ac_includes_default
3538 #include <$ac_header>
3540 rm -f conftest.$ac_objext
3541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3542 (eval $ac_compile) 2>&5
3544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3545 (exit $ac_status); } &&
3546 { ac_try='test -s conftest.$ac_objext'
3547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3551 (exit $ac_status); }; }; then
3552 ac_header_compiler=yes
3554 echo "$as_me: failed program was:" >&5
3555 cat conftest.$ac_ext >&5
3556 ac_header_compiler=no
3558 rm -f conftest.$ac_objext conftest.$ac_ext
3559 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3560 echo "${ECHO_T}$ac_header_compiler" >&6
3562 # Is the header present?
3563 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3564 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3565 cat >conftest.$ac_ext <<_ACEOF
3566 #line $LINENO "configure"
3567 #include "confdefs.h"
3568 #include <$ac_header>
3570 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3571 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3573 egrep -v '^ *\+' conftest.er1 >conftest.err
3575 cat conftest.err >&5
3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3577 (exit $ac_status); } >/dev/null; then
3578 if test -s conftest.err; then
3579 ac_cpp_err=$ac_c_preproc_warn_flag
3586 if test -z "$ac_cpp_err"; then
3587 ac_header_preproc=yes
3589 echo "$as_me: failed program was:" >&5
3590 cat conftest.$ac_ext >&5
3591 ac_header_preproc=no
3593 rm -f conftest.err conftest.$ac_ext
3594 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3595 echo "${ECHO_T}$ac_header_preproc" >&6
3597 # So? What about this header?
3598 case $ac_header_compiler:$ac_header_preproc in
3600 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3601 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3602 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3603 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3605 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3606 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3607 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3608 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3610 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3612 echo "$as_me:$LINENO: checking for $ac_header" >&5
3613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3615 echo $ECHO_N "(cached) $ECHO_C" >&6
3617 eval "$as_ac_Header=$ac_header_preproc"
3619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3624 cat >>confdefs.h <<_ACEOF
3625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3627 ac_jni_headers="yes"
3634 if test "$ac_jni_headers" != yes; then
3635 { { 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
3636 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;}
3637 { (exit 1); exit 1; }; }
3642 if test "$enable_external_effects" == "yes"; then
3644 for ac_header in libxml/parser.h
3646 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3647 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3648 echo "$as_me:$LINENO: checking for $ac_header" >&5
3649 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3650 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3651 echo $ECHO_N "(cached) $ECHO_C" >&6
3653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3656 # Is the header compilable?
3657 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3658 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3659 cat >conftest.$ac_ext <<_ACEOF
3660 #line $LINENO "configure"
3661 #include "confdefs.h"
3662 $ac_includes_default
3663 #include <$ac_header>
3665 rm -f conftest.$ac_objext
3666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3667 (eval $ac_compile) 2>&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); } &&
3671 { ac_try='test -s conftest.$ac_objext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 ac_header_compiler=yes
3679 echo "$as_me: failed program was:" >&5
3680 cat conftest.$ac_ext >&5
3681 ac_header_compiler=no
3683 rm -f conftest.$ac_objext conftest.$ac_ext
3684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3685 echo "${ECHO_T}$ac_header_compiler" >&6
3687 # Is the header present?
3688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3690 cat >conftest.$ac_ext <<_ACEOF
3691 #line $LINENO "configure"
3692 #include "confdefs.h"
3693 #include <$ac_header>
3695 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3696 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3698 egrep -v '^ *\+' conftest.er1 >conftest.err
3700 cat conftest.err >&5
3701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3702 (exit $ac_status); } >/dev/null; then
3703 if test -s conftest.err; then
3704 ac_cpp_err=$ac_c_preproc_warn_flag
3711 if test -z "$ac_cpp_err"; then
3712 ac_header_preproc=yes
3714 echo "$as_me: failed program was:" >&5
3715 cat conftest.$ac_ext >&5
3716 ac_header_preproc=no
3718 rm -f conftest.err conftest.$ac_ext
3719 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3720 echo "${ECHO_T}$ac_header_preproc" >&6
3722 # So? What about this header?
3723 case $ac_header_compiler:$ac_header_preproc in
3725 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3726 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3728 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3737 echo "$as_me:$LINENO: checking for $ac_header" >&5
3738 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3739 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3740 echo $ECHO_N "(cached) $ECHO_C" >&6
3742 eval "$as_ac_Header=$ac_header_preproc"
3744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3745 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3748 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3749 cat >>confdefs.h <<_ACEOF
3750 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3752 ac_xml_headers="yes"
3759 if test "$ac_xml_headers" != yes; then
3760 { { echo "$as_me:$LINENO: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&5
3761 echo "$as_me: error: xml header files not found. (IPD: add --with-includedir=/usr/public/libxml2/include/libxml2/ to configure flags)" >&2;}
3762 { (exit 1); exit 1; }; }
3767 #dnl check for the gnu multiprecission (gmp) library
3769 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
3770 #if test "$ac_gmp_library" != yes; then
3771 # dnl gmp library not found.
3772 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
3776 echo "$as_me:$LINENO: checking for main in -lm" >&5
3777 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3778 if test "${ac_cv_lib_m_main+set}" = set; then
3779 echo $ECHO_N "(cached) $ECHO_C" >&6
3781 ac_check_lib_save_LIBS=$LIBS
3783 cat >conftest.$ac_ext <<_ACEOF
3784 #line $LINENO "configure"
3785 #include "confdefs.h"
3788 #ifdef F77_DUMMY_MAIN
3792 int F77_DUMMY_MAIN() { return 1; }
3802 rm -f conftest.$ac_objext conftest$ac_exeext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3804 (eval $ac_link) 2>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try='test -s conftest$ac_exeext'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; }; then
3814 ac_cv_lib_m_main=yes
3816 echo "$as_me: failed program was:" >&5
3817 cat conftest.$ac_ext >&5
3820 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3821 LIBS=$ac_check_lib_save_LIBS
3823 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3824 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3825 if test $ac_cv_lib_m_main = yes; then
3831 if test "$ac_m_library" != yes; then
3832 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
3833 echo "$as_me: error: \"standard math library not found\"" >&2;}
3834 { (exit 1); exit 1; }; }
3838 if test "$enable_external_effects" == "yes"; then
3839 echo "$as_me:$LINENO: checking for xmlParseFile in -lxml2" >&5
3840 echo $ECHO_N "checking for xmlParseFile in -lxml2... $ECHO_C" >&6
3841 if test "${ac_cv_lib_xml2_xmlParseFile+set}" = set; then
3842 echo $ECHO_N "(cached) $ECHO_C" >&6
3844 ac_check_lib_save_LIBS=$LIBS
3846 cat >conftest.$ac_ext <<_ACEOF
3847 #line $LINENO "configure"
3848 #include "confdefs.h"
3850 /* Override any gcc2 internal prototype to avoid an error. */
3854 /* We use char because int might match the return type of a gcc2
3855 builtin and then its argument prototype would still apply. */
3856 char xmlParseFile ();
3857 #ifdef F77_DUMMY_MAIN
3861 int F77_DUMMY_MAIN() { return 1; }
3871 rm -f conftest.$ac_objext conftest$ac_exeext
3872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3873 (eval $ac_link) 2>&5
3875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } &&
3877 { ac_try='test -s conftest$ac_exeext'
3878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3882 (exit $ac_status); }; }; then
3883 ac_cv_lib_xml2_xmlParseFile=yes
3885 echo "$as_me: failed program was:" >&5
3886 cat conftest.$ac_ext >&5
3887 ac_cv_lib_xml2_xmlParseFile=no
3889 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3890 LIBS=$ac_check_lib_save_LIBS
3892 echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseFile" >&5
3893 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseFile" >&6
3894 if test $ac_cv_lib_xml2_xmlParseFile = yes; then
3895 ac_xml_library="yes"
3900 if test "$ac_m_library" != yes; then
3901 { { echo "$as_me:$LINENO: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&5
3902 echo "$as_me: error: \"xml2 library not found (IPD: add --with-libdir=/usr/public/libxml2/lib/ to configure flags)\"" >&2;}
3903 { (exit 1); exit 1; }; }
3909 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3910 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3911 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3912 echo $ECHO_N "(cached) $ECHO_C" >&6
3914 ac_cv_prog_cc_stdc=no
3916 cat >conftest.$ac_ext <<_ACEOF
3917 #line $LINENO "configure"
3918 #include "confdefs.h"
3921 #include <sys/types.h>
3922 #include <sys/stat.h>
3923 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3924 struct buf { int x; };
3925 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3926 static char *e (p, i)
3932 static char *f (char * (*g) (char **, int), char **p, ...)
3937 s = g (p, va_arg (v,int));
3941 int test (int i, double x);
3942 struct s1 {int (*f) (int a);};
3943 struct s2 {int (*f) (double a);};
3944 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3947 #ifdef F77_DUMMY_MAIN
3951 int F77_DUMMY_MAIN() { return 1; }
3956 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3961 # Don't try gcc -ansi; that turns off useful extensions and
3962 # breaks some systems' header files.
3963 # AIX -qlanglvl=ansi
3964 # Ultrix and OSF/1 -std1
3965 # HP-UX 10.20 and later -Ae
3966 # HP-UX older versions -Aa -D_HPUX_SOURCE
3967 # SVR4 -Xc -D__EXTENSIONS__
3968 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3970 CC="$ac_save_CC $ac_arg"
3971 rm -f conftest.$ac_objext
3972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3973 (eval $ac_compile) 2>&5
3975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3976 (exit $ac_status); } &&
3977 { ac_try='test -s conftest.$ac_objext'
3978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3982 (exit $ac_status); }; }; then
3983 ac_cv_prog_cc_stdc=$ac_arg
3986 echo "$as_me: failed program was:" >&5
3987 cat conftest.$ac_ext >&5
3989 rm -f conftest.$ac_objext
3991 rm -f conftest.$ac_ext conftest.$ac_objext
3996 case "x$ac_cv_prog_cc_stdc" in
3998 echo "$as_me:$LINENO: result: none needed" >&5
3999 echo "${ECHO_T}none needed" >&6 ;;
4001 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
4002 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
4003 CC="$CC $ac_cv_prog_cc_stdc" ;;
4006 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
4007 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
4008 if test "${ac_cv_c_const+set}" = set; then
4009 echo $ECHO_N "(cached) $ECHO_C" >&6
4011 cat >conftest.$ac_ext <<_ACEOF
4012 #line $LINENO "configure"
4013 #include "confdefs.h"
4015 #ifdef F77_DUMMY_MAIN
4019 int F77_DUMMY_MAIN() { return 1; }
4024 /* FIXME: Include the comments suggested by Paul. */
4026 /* Ultrix mips cc rejects this. */
4027 typedef int charset[2];
4029 /* SunOS 4.1.1 cc rejects this. */
4030 char const *const *ccp;
4032 /* NEC SVR4.0.2 mips cc rejects this. */
4033 struct point {int x, y;};
4034 static struct point const zero = {0,0};
4035 /* AIX XL C 1.02.0.0 rejects this.
4036 It does not let you subtract one const X* pointer from another in
4037 an arm of an if-expression whose if-part is not a constant
4039 const char *g = "string";
4040 ccp = &g + (g ? g-g : 0);
4041 /* HPUX 7.0 cc rejects these. */
4044 ccp = (char const *const *) p;
4045 { /* SCO 3.2v4 cc rejects this. */
4047 char const *s = 0 ? (char *) 0 : (char const *) 0;
4051 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
4053 const int *foo = &x[0];
4056 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4057 typedef const int *iptr;
4061 { /* AIX XL C 1.02.0.0 rejects this saying
4062 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4063 struct s { int j; const int *ap[3]; };
4064 struct s *b; b->j = 5;
4066 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4075 rm -f conftest.$ac_objext
4076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4077 (eval $ac_compile) 2>&5
4079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); } &&
4081 { ac_try='test -s conftest.$ac_objext'
4082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4086 (exit $ac_status); }; }; then
4089 echo "$as_me: failed program was:" >&5
4090 cat conftest.$ac_ext >&5
4093 rm -f conftest.$ac_objext conftest.$ac_ext
4095 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
4096 echo "${ECHO_T}$ac_cv_c_const" >&6
4097 if test $ac_cv_c_const = no; then
4099 cat >>confdefs.h <<\_ACEOF
4105 echo "$as_me:$LINENO: checking for working volatile" >&5
4106 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
4107 if test "${ac_cv_c_volatile+set}" = set; then
4108 echo $ECHO_N "(cached) $ECHO_C" >&6
4110 cat >conftest.$ac_ext <<_ACEOF
4111 #line $LINENO "configure"
4112 #include "confdefs.h"
4114 #ifdef F77_DUMMY_MAIN
4118 int F77_DUMMY_MAIN() { return 1; }
4130 rm -f conftest.$ac_objext
4131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4132 (eval $ac_compile) 2>&5
4134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4135 (exit $ac_status); } &&
4136 { ac_try='test -s conftest.$ac_objext'
4137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4141 (exit $ac_status); }; }; then
4142 ac_cv_c_volatile=yes
4144 echo "$as_me: failed program was:" >&5
4145 cat conftest.$ac_ext >&5
4148 rm -f conftest.$ac_objext conftest.$ac_ext
4150 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
4151 echo "${ECHO_T}$ac_cv_c_volatile" >&6
4152 if test $ac_cv_c_volatile = no; then
4154 cat >>confdefs.h <<\_ACEOF
4160 echo "$as_me:$LINENO: checking for inline" >&5
4161 echo $ECHO_N "checking for inline... $ECHO_C" >&6
4162 if test "${ac_cv_c_inline+set}" = set; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4166 for ac_kw in inline __inline__ __inline; do
4167 cat >conftest.$ac_ext <<_ACEOF
4168 #line $LINENO "configure"
4169 #include "confdefs.h"
4171 static $ac_kw int static_foo () {return 0; }
4172 $ac_kw int foo () {return 0; }
4176 rm -f conftest.$ac_objext
4177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4178 (eval $ac_compile) 2>&5
4180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4181 (exit $ac_status); } &&
4182 { ac_try='test -s conftest.$ac_objext'
4183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; }; then
4188 ac_cv_c_inline=$ac_kw; break
4190 echo "$as_me: failed program was:" >&5
4191 cat conftest.$ac_ext >&5
4193 rm -f conftest.$ac_objext conftest.$ac_ext
4197 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
4198 echo "${ECHO_T}$ac_cv_c_inline" >&6
4199 case $ac_cv_c_inline in
4202 cat >>confdefs.h <<\_ACEOF
4206 *) cat >>confdefs.h <<_ACEOF
4207 #define inline $ac_cv_c_inline
4212 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4213 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4214 if test "${ac_cv_c_bigendian+set}" = set; then
4215 echo $ECHO_N "(cached) $ECHO_C" >&6
4217 # See if sys/param.h defines the BYTE_ORDER macro.
4218 cat >conftest.$ac_ext <<_ACEOF
4219 #line $LINENO "configure"
4220 #include "confdefs.h"
4221 #include <sys/types.h>
4222 #include <sys/param.h>
4224 #ifdef F77_DUMMY_MAIN
4228 int F77_DUMMY_MAIN() { return 1; }
4233 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4241 rm -f conftest.$ac_objext
4242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4243 (eval $ac_compile) 2>&5
4245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4246 (exit $ac_status); } &&
4247 { ac_try='test -s conftest.$ac_objext'
4248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4252 (exit $ac_status); }; }; then
4253 # It does; now see whether it defined to BIG_ENDIAN or not.
4254 cat >conftest.$ac_ext <<_ACEOF
4255 #line $LINENO "configure"
4256 #include "confdefs.h"
4257 #include <sys/types.h>
4258 #include <sys/param.h>
4260 #ifdef F77_DUMMY_MAIN
4264 int F77_DUMMY_MAIN() { return 1; }
4269 #if BYTE_ORDER != BIG_ENDIAN
4277 rm -f conftest.$ac_objext
4278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4279 (eval $ac_compile) 2>&5
4281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4282 (exit $ac_status); } &&
4283 { ac_try='test -s conftest.$ac_objext'
4284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4288 (exit $ac_status); }; }; then
4289 ac_cv_c_bigendian=yes
4291 echo "$as_me: failed program was:" >&5
4292 cat conftest.$ac_ext >&5
4293 ac_cv_c_bigendian=no
4295 rm -f conftest.$ac_objext conftest.$ac_ext
4297 echo "$as_me: failed program was:" >&5
4298 cat conftest.$ac_ext >&5
4299 # It does not; compile a test program.
4300 if test "$cross_compiling" = yes; then
4301 # try to guess the endianess by grep'ing values into an object file
4302 ac_cv_c_bigendian=unknown
4303 cat >conftest.$ac_ext <<_ACEOF
4304 #line $LINENO "configure"
4305 #include "confdefs.h"
4306 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4307 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4308 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4309 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4310 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4311 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4312 #ifdef F77_DUMMY_MAIN
4316 int F77_DUMMY_MAIN() { return 1; }
4321 _ascii (); _ebcdic ();
4326 rm -f conftest.$ac_objext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4328 (eval $ac_compile) 2>&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } &&
4332 { ac_try='test -s conftest.$ac_objext'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; }; then
4338 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4339 ac_cv_c_bigendian=yes
4341 if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4342 if test "$ac_cv_c_bigendian" = unknown; then
4343 ac_cv_c_bigendian=no
4345 # finding both strings is unlikely to happen, but who knows?
4346 ac_cv_c_bigendian=unknown
4350 echo "$as_me: failed program was:" >&5
4351 cat conftest.$ac_ext >&5
4353 rm -f conftest.$ac_objext conftest.$ac_ext
4355 cat >conftest.$ac_ext <<_ACEOF
4356 #line $LINENO "configure"
4357 #include "confdefs.h"
4361 /* Are we little or big endian? From Harbison&Steele. */
4365 char c[sizeof (long)];
4368 exit (u.c[sizeof (long) - 1] == 1);
4371 rm -f conftest$ac_exeext
4372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4373 (eval $ac_link) 2>&5
4375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4376 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4381 (exit $ac_status); }; }; then
4382 ac_cv_c_bigendian=no
4384 echo "$as_me: program exited with status $ac_status" >&5
4385 echo "$as_me: failed program was:" >&5
4386 cat conftest.$ac_ext >&5
4388 ac_cv_c_bigendian=yes
4390 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4393 rm -f conftest.$ac_objext conftest.$ac_ext
4395 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4396 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4397 case $ac_cv_c_bigendian in
4400 cat >>confdefs.h <<\_ACEOF
4401 #define WORDS_BIGENDIAN 1
4407 { { echo "$as_me:$LINENO: error: unknown endianess
4408 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4409 echo "$as_me: error: unknown endianess
4410 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4411 { (exit 1); exit 1; }; } ;;
4414 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
4415 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
4416 if test "${ac_cv_c_long_double+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 cat >conftest.$ac_ext <<_ACEOF
4420 #line $LINENO "configure"
4421 #include "confdefs.h"
4423 long double foo = 0.0;
4424 #ifdef F77_DUMMY_MAIN
4428 int F77_DUMMY_MAIN() { return 1; }
4433 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
4434 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
4435 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
4442 rm -f conftest.$ac_objext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); } &&
4448 { ac_try='test -s conftest.$ac_objext'
4449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4453 (exit $ac_status); }; }; then
4454 ac_cv_c_long_double=yes
4456 echo "$as_me: failed program was:" >&5
4457 cat conftest.$ac_ext >&5
4458 ac_cv_c_long_double=no
4460 rm -f conftest.$ac_objext conftest.$ac_ext
4462 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
4463 echo "${ECHO_T}$ac_cv_c_long_double" >&6
4464 if test $ac_cv_c_long_double = yes; then
4466 cat >>confdefs.h <<\_ACEOF
4467 #define HAVE_LONG_DOUBLE 1
4475 echo "$as_me:$LINENO: checking for strerror" >&5
4476 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
4477 if test "${ac_cv_func_strerror+set}" = set; then
4478 echo $ECHO_N "(cached) $ECHO_C" >&6
4480 cat >conftest.$ac_ext <<_ACEOF
4481 #line $LINENO "configure"
4482 #include "confdefs.h"
4483 /* System header to define __stub macros and hopefully few prototypes,
4484 which can conflict with char strerror (); below. */
4486 /* Override any gcc2 internal prototype to avoid an error. */
4490 /* We use char because int might match the return type of a gcc2
4491 builtin and then its argument prototype would still apply. */
4495 #ifdef F77_DUMMY_MAIN
4499 int F77_DUMMY_MAIN() { return 1; }
4504 /* The GNU C library defines this for functions which it implements
4505 to always fail with ENOSYS. Some functions are actually named
4506 something starting with __ and the normal name is an alias. */
4507 #if defined (__stub_strerror) || defined (__stub___strerror)
4517 rm -f conftest.$ac_objext conftest$ac_exeext
4518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4519 (eval $ac_link) 2>&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); } &&
4523 { ac_try='test -s conftest$ac_exeext'
4524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4528 (exit $ac_status); }; }; then
4529 ac_cv_func_strerror=yes
4531 echo "$as_me: failed program was:" >&5
4532 cat conftest.$ac_ext >&5
4533 ac_cv_func_strerror=no
4535 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4537 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
4538 echo "${ECHO_T}$ac_cv_func_strerror" >&6
4539 if test $ac_cv_func_strerror = yes; then
4542 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
4543 echo "$as_me: error: \"need strerror function\"" >&2;}
4544 { (exit 1); exit 1; }; }
4552 ac_config_files="$ac_config_files $ac_output_file"
4553 ac_config_commands="$ac_config_commands default"
4554 cat >confcache <<\_ACEOF
4555 # This file is a shell script that caches the results of configure
4556 # tests run on this system so they can be shared between configure
4557 # scripts and configure runs, see configure's option --config-cache.
4558 # It is not useful on other systems. If it contains results you don't
4559 # want to keep, you may remove or edit it.
4561 # config.status only pays attention to the cache file if you give it
4562 # the --recheck option to rerun configure.
4564 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4565 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4570 # The following way of writing the cache mishandles newlines in values,
4571 # but we know of no workaround that is simple, portable, and efficient.
4572 # So, don't put newlines in cache variables' values.
4573 # Ultrix sh set writes to stderr and can't be redirected directly,
4574 # and sets the high bit in the cache file unless we assign to the vars.
4577 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4579 # `set' does not quote correctly, so add quotes (double-quote
4580 # substitution turns \\\\ into \\, and sed turns \\ into \).
4583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4586 # `set' quotes correctly as required by POSIX, so do not add quotes.
4588 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4595 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4597 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4599 if cmp -s $cache_file confcache; then :; else
4600 if test -w $cache_file; then
4601 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4602 cat confcache >$cache_file
4604 echo "not updating unwritable cache $cache_file"
4609 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4610 # Let make expand exec_prefix.
4611 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4613 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4614 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4615 # trailing colons and then remove the whole line if VPATH becomes empty
4616 # (actually we leave an empty line to preserve line numbers).
4617 if test "x$srcdir" = x.; then
4618 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4619 s/:*\$(srcdir):*/:/;
4620 s/:*\${srcdir}:*/:/;
4622 s/^\([^=]*=[ ]*\):*/\1/;
4628 DEFS=-DHAVE_CONFIG_H
4631 : ${CONFIG_STATUS=./config.status}
4632 ac_clean_files_save=$ac_clean_files
4633 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4634 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4635 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4636 cat >$CONFIG_STATUS <<_ACEOF
4638 # Generated by $as_me.
4639 # Run this file to recreate the current configuration.
4640 # Compiler output produced by configure, useful for debugging
4641 # configure, is in config.log if it exists.
4644 SHELL=\${CONFIG_SHELL-$SHELL}
4647 cat >>$CONFIG_STATUS <<\_ACEOF
4649 ## --------------------- ##
4650 ## M4sh Initialization. ##
4651 ## --------------------- ##
4653 # Be Bourne compatible
4654 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4657 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4662 # Support unset when possible.
4663 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4669 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
4670 { $as_unset LANG || test "${LANG+set}" != set; } ||
4671 { LANG=C; export LANG; }
4672 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
4673 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4674 { LC_ALL=C; export LC_ALL; }
4675 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
4676 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4677 { LC_TIME=C; export LC_TIME; }
4678 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
4679 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4680 { LC_CTYPE=C; export LC_CTYPE; }
4681 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
4682 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4683 { LANGUAGE=C; export LANGUAGE; }
4684 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
4685 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4686 { LC_COLLATE=C; export LC_COLLATE; }
4687 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4688 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4689 { LC_NUMERIC=C; export LC_NUMERIC; }
4690 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4691 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4692 { LC_MESSAGES=C; export LC_MESSAGES; }
4695 # Name of the executable.
4696 as_me=`(basename "$0") 2>/dev/null ||
4697 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4698 X"$0" : 'X\(//\)$' \| \
4699 X"$0" : 'X\(/\)$' \| \
4700 . : '\(.\)' 2>/dev/null ||
4702 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4703 /^X\/\(\/\/\)$/{ s//\1/; q; }
4704 /^X\/\(\/\).*/{ s//\1/; q; }
4707 # PATH needs CR, and LINENO needs CR and PATH.
4708 # Avoid depending upon Character Ranges.
4709 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4710 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4711 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4712 as_cr_digits='0123456789'
4713 as_cr_alnum=$as_cr_Letters$as_cr_digits
4715 # The user is always right.
4716 if test "${PATH_SEPARATOR+set}" != set; then
4717 echo "#! /bin/sh" >conftest.sh
4718 echo "exit 0" >>conftest.sh
4719 chmod +x conftest.sh
4720 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4731 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4732 test "x$as_lineno_1" != "x$as_lineno_2" &&
4733 test "x$as_lineno_3" = "x$as_lineno_2" || {
4734 # Find who we are. Look in the path if we contain no path at all
4737 *[\\/]* ) as_myself=$0 ;;
4738 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4742 test -z "$as_dir" && as_dir=.
4743 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4748 # We did not find ourselves, most probably we were run as `sh COMMAND'
4749 # in which case we are not to be found in the path.
4750 if test "x$as_myself" = x; then
4753 if test ! -f "$as_myself"; then
4754 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4755 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4756 { (exit 1); exit 1; }; }
4758 case $CONFIG_SHELL in
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4764 test -z "$as_dir" && as_dir=.
4765 for as_base in sh bash ksh sh5; do
4768 if ("$as_dir/$as_base" -c '
4771 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4772 test "x$as_lineno_1" != "x$as_lineno_2" &&
4773 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4774 CONFIG_SHELL=$as_dir/$as_base
4776 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4784 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4785 # uniformly replaced by the line number. The first 'sed' inserts a
4786 # line-number line before each line; the second 'sed' does the real
4787 # work. The second script uses 'N' to pair each line-number line
4788 # with the numbered line, and appends trailing '-' during
4789 # substitution so that $LINENO is not a special case at line end.
4790 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4791 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4792 sed '=' <$as_myself |
4797 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4800 s,^['$as_cr_digits']*\n,,
4802 chmod +x $as_me.lineno ||
4803 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4804 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4805 { (exit 1); exit 1; }; }
4807 # Don't try to exec as it changes $[0], causing all sort of problems
4808 # (the dirname of $[0] is not the place where we might find the
4809 # original and so on. Autoconf is especially sensible to this).
4811 # Exit status is that of the last command.
4816 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4817 *c*,-n*) ECHO_N= ECHO_C='
4819 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4820 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4823 if expr a : '\(a\)' >/dev/null 2>&1; then
4829 rm -f conf$$ conf$$.exe conf$$.file
4831 if ln -s conf$$.file conf$$ 2>/dev/null; then
4832 # We could just check for DJGPP; but this test a) works b) is more generic
4833 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4834 if test -f conf$$.exe; then
4835 # Don't use ln at all; we don't have any links
4840 elif ln conf$$.file conf$$ 2>/dev/null; then
4845 rm -f conf$$ conf$$.exe conf$$.file
4847 as_executable_p="test -f"
4849 # Sed expression to map a string onto a valid CPP name.
4850 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4852 # Sed expression to map a string onto a valid variable name.
4853 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4857 # We need space, tab and new line, in precisely that order.
4863 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4867 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4868 # report actual input values of CONFIG_FILES etc. instead of their
4869 # values after options handling. Logging --version etc. is OK.
4873 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4874 ## Running $as_me. ##
4879 This file was extended by libfirm $as_me 0.3.0, which was
4880 generated by GNU Autoconf 2.53. Invocation command line was
4882 CONFIG_FILES = $CONFIG_FILES
4883 CONFIG_HEADERS = $CONFIG_HEADERS
4884 CONFIG_LINKS = $CONFIG_LINKS
4885 CONFIG_COMMANDS = $CONFIG_COMMANDS
4889 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4893 # Files that config.status was made for.
4894 if test -n "$ac_config_files"; then
4895 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4898 if test -n "$ac_config_headers"; then
4899 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4902 if test -n "$ac_config_links"; then
4903 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4906 if test -n "$ac_config_commands"; then
4907 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4910 cat >>$CONFIG_STATUS <<\_ACEOF
4913 \`$as_me' instantiates files from templates according to the
4914 current configuration.
4916 Usage: $0 [OPTIONS] [FILE]...
4918 -h, --help print this help, then exit
4919 -V, --version print version number, then exit
4920 -d, --debug don't remove temporary files
4921 --recheck update $as_me by reconfiguring in the same conditions
4922 --file=FILE[:TEMPLATE]
4923 instantiate the configuration file FILE
4924 --header=FILE[:TEMPLATE]
4925 instantiate the configuration header FILE
4927 Configuration files:
4930 Configuration headers:
4933 Configuration commands:
4936 Report bugs to <bug-autoconf@gnu.org>."
4939 cat >>$CONFIG_STATUS <<_ACEOF
4941 libfirm config.status 0.3.0
4942 configured by $0, generated by GNU Autoconf 2.53,
4943 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4945 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4946 Free Software Foundation, Inc.
4947 This config.status script is free software; the Free Software Foundation
4948 gives unlimited permission to copy, distribute and modify it."
4953 cat >>$CONFIG_STATUS <<\_ACEOF
4954 # If no file are specified by the user, then we need to provide default
4955 # value. By we need to know if files were specified by the user.
4961 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4962 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4964 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4968 *) # This is not an option, so the user has probably given explicit
4970 ac_need_defaults=false;;
4974 # Handling of the options.
4976 cat >>$CONFIG_STATUS <<_ACEOF
4977 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4978 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4979 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4981 cat >>$CONFIG_STATUS <<\_ACEOF
4982 --version | --vers* | -V )
4983 echo "$ac_cs_version"; exit 0 ;;
4985 # Conflict between --help and --header
4986 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4987 Try \`$0 --help' for more information." >&5
4988 echo "$as_me: error: ambiguous option: $1
4989 Try \`$0 --help' for more information." >&2;}
4990 { (exit 1); exit 1; }; };;
4991 --help | --hel | -h )
4992 echo "$ac_cs_usage"; exit 0 ;;
4993 --debug | --d* | -d )
4995 --file | --fil | --fi | --f )
4997 CONFIG_FILES="$CONFIG_FILES $1"
4998 ac_need_defaults=false;;
4999 --header | --heade | --head | --hea )
5001 CONFIG_HEADERS="$CONFIG_HEADERS $1"
5002 ac_need_defaults=false;;
5005 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5006 Try \`$0 --help' for more information." >&5
5007 echo "$as_me: error: unrecognized option: $1
5008 Try \`$0 --help' for more information." >&2;}
5009 { (exit 1); exit 1; }; } ;;
5011 *) ac_config_targets="$ac_config_targets $1" ;;
5023 cat >>$CONFIG_STATUS <<\_ACEOF
5024 for ac_config_target in $ac_config_targets
5026 case "$ac_config_target" in
5027 # Handling of arguments.
5028 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
5029 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
5030 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5031 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5032 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5033 { (exit 1); exit 1; }; };;
5037 # If the user did not use the arguments to specify the items to instantiate,
5038 # then the envvar interface is used. Set only those that are not.
5039 # We use the long form for the default assignment because of an extremely
5040 # bizarre bug on SunOS 4.1.3.
5041 if $ac_need_defaults; then
5042 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5043 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5044 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5047 # Create a temporary directory, and hook for its removal unless debugging.
5050 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5051 trap '{ (exit 1); exit 1; }' 1 2 13 15
5054 # Create a (secure) tmp directory for tmp files.
5057 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5058 test -n "$tmp" && test -d "$tmp"
5061 tmp=$TMPDIR/cs$$-$RANDOM
5062 (umask 077 && mkdir $tmp)
5065 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5066 { (exit 1); exit 1; }
5071 cat >>$CONFIG_STATUS <<_ACEOF
5074 # CONFIG_FILES section.
5077 # No need to generate the scripts if there are no CONFIG_FILES.
5078 # This happens for instance when ./config.status config.h
5079 if test -n "\$CONFIG_FILES"; then
5080 # Protect against being on the right side of a sed subst in config.status.
5081 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5082 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5083 s,@SHELL@,$SHELL,;t t
5084 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5085 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5086 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5087 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5088 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5089 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5090 s,@exec_prefix@,$exec_prefix,;t t
5091 s,@prefix@,$prefix,;t t
5092 s,@program_transform_name@,$program_transform_name,;t t
5093 s,@bindir@,$bindir,;t t
5094 s,@sbindir@,$sbindir,;t t
5095 s,@libexecdir@,$libexecdir,;t t
5096 s,@datadir@,$datadir,;t t
5097 s,@sysconfdir@,$sysconfdir,;t t
5098 s,@sharedstatedir@,$sharedstatedir,;t t
5099 s,@localstatedir@,$localstatedir,;t t
5100 s,@libdir@,$libdir,;t t
5101 s,@includedir@,$includedir,;t t
5102 s,@oldincludedir@,$oldincludedir,;t t
5103 s,@infodir@,$infodir,;t t
5104 s,@mandir@,$mandir,;t t
5105 s,@build_alias@,$build_alias,;t t
5106 s,@host_alias@,$host_alias,;t t
5107 s,@target_alias@,$target_alias,;t t
5109 s,@ECHO_C@,$ECHO_C,;t t
5110 s,@ECHO_N@,$ECHO_N,;t t
5111 s,@ECHO_T@,$ECHO_T,;t t
5113 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
5114 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
5115 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
5116 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
5117 s,@enable_firm_jni@,$enable_firm_jni,;t t
5118 s,@enable_heapanalysis@,$enable_heapanalysis,;t t
5119 s,@enable_backend@,$enable_backend,;t t
5120 s,@disable_libiberty@,$disable_libiberty,;t t
5121 s,@enable_statistics@,$enable_statistics,;t t
5122 s,@enable_external_effects@,$enable_external_effects,;t t
5124 s,@CFLAGS@,$CFLAGS,;t t
5125 s,@LDFLAGS@,$LDFLAGS,;t t
5126 s,@CPPFLAGS@,$CPPFLAGS,;t t
5127 s,@ac_ct_CC@,$ac_ct_CC,;t t
5128 s,@EXEEXT@,$EXEEXT,;t t
5129 s,@OBJEXT@,$OBJEXT,;t t
5131 s,@ac_ct_LD@,$ac_ct_LD,;t t
5132 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
5135 s,@RANLIB@,$RANLIB,;t t
5136 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
5137 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5138 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5139 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5141 s,@DOXYGEN@,$DOXYGEN,;t t
5143 s,@JAVAC@,$JAVAC,;t t
5144 s,@JAVAH@,$JAVAH,;t t
5150 cat >>$CONFIG_STATUS <<\_ACEOF
5151 # Split the substitutions into bite-sized pieces for seds with
5152 # small command number limits, like on Digital OSF/1 and HP-UX.
5154 ac_sed_frag=1 # Number of current file.
5155 ac_beg=1 # First line for current file.
5156 ac_end=$ac_max_sed_lines # Line after last line for current file.
5159 while $ac_more_lines; do
5160 if test $ac_beg -gt 1; then
5161 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5163 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5165 if test ! -s $tmp/subs.frag; then
5168 # The purpose of the label and of the branching condition is to
5169 # speed up the sed processing (if there are no `@' at all, there
5170 # is no need to browse any of the substitutions).
5171 # These are the two extra sed commands mentioned above.
5173 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5174 if test -z "$ac_sed_cmds"; then
5175 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5177 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5179 ac_sed_frag=`expr $ac_sed_frag + 1`
5181 ac_end=`expr $ac_end + $ac_max_sed_lines`
5184 if test -z "$ac_sed_cmds"; then
5187 fi # test -n "$CONFIG_FILES"
5190 cat >>$CONFIG_STATUS <<\_ACEOF
5191 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5192 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5194 - | *:- | *:-:* ) # input from stdin
5196 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5197 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5198 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5199 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5200 * ) ac_file_in=$ac_file.in ;;
5203 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5204 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5205 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5206 X"$ac_file" : 'X\(//\)[^/]' \| \
5207 X"$ac_file" : 'X\(//\)$' \| \
5208 X"$ac_file" : 'X\(/\)' \| \
5209 . : '\(.\)' 2>/dev/null ||
5211 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5212 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5213 /^X\(\/\/\)$/{ s//\1/; q; }
5214 /^X\(\/\).*/{ s//\1/; q; }
5217 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5221 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5222 case $as_mkdir_dir in
5223 # Skip DOS drivespec
5224 ?:) as_incr_dir=$as_mkdir_dir ;;
5226 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5227 test -d "$as_incr_dir" ||
5228 mkdir "$as_incr_dir" ||
5229 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5230 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5231 { (exit 1); exit 1; }; }
5238 if test "$ac_dir" != .; then
5239 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5240 # A "../" for each directory in $ac_dir_suffix.
5241 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5243 ac_dir_suffix= ac_top_builddir=
5247 .) # No --srcdir option. We are building in place.
5249 if test -z "$ac_top_builddir"; then
5252 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5254 [\\/]* | ?:[\\/]* ) # Absolute path.
5255 ac_srcdir=$srcdir$ac_dir_suffix;
5256 ac_top_srcdir=$srcdir ;;
5258 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5259 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5261 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5263 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5264 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5265 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5266 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5270 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5271 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5274 if test x"$ac_file" != x-; then
5275 { echo "$as_me:$LINENO: creating $ac_file" >&5
5276 echo "$as_me: creating $ac_file" >&6;}
5279 # Let's still pretend it is `configure' which instantiates (i.e., don't
5280 # use $as_me), people would be surprised to read:
5281 # /* config.h. Generated by config.status. */
5282 if test x"$ac_file" = x-; then
5285 configure_input="$ac_file. "
5287 configure_input=$configure_input"Generated from `echo $ac_file_in |
5288 sed 's,.*/,,'` by configure."
5290 # First look for the input files in the build tree, otherwise in the
5292 ac_file_inputs=`IFS=:
5293 for f in $ac_file_in; do
5295 -) echo $tmp/stdin ;;
5297 # Absolute (can't be DOS-style, as IFS=:)
5298 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5299 echo "$as_me: error: cannot find input file: $f" >&2;}
5300 { (exit 1); exit 1; }; }
5303 if test -f "$f"; then
5306 elif test -f "$srcdir/$f"; then
5311 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5312 echo "$as_me: error: cannot find input file: $f" >&2;}
5313 { (exit 1); exit 1; }; }
5316 done` || { (exit 1); exit 1; }
5318 cat >>$CONFIG_STATUS <<_ACEOF
5322 cat >>$CONFIG_STATUS <<\_ACEOF
5324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5325 s,@configure_input@,$configure_input,;t t
5326 s,@srcdir@,$ac_srcdir,;t t
5327 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5328 s,@top_srcdir@,$ac_top_srcdir,;t t
5329 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5330 s,@builddir@,$ac_builddir,;t t
5331 s,@abs_builddir@,$ac_abs_builddir,;t t
5332 s,@top_builddir@,$ac_top_builddir,;t t
5333 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5334 s,@INSTALL@,$ac_INSTALL,;t t
5335 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5337 if test x"$ac_file" != x-; then
5338 mv $tmp/out $ac_file
5346 cat >>$CONFIG_STATUS <<\_ACEOF
5349 # CONFIG_HEADER section.
5352 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5353 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5355 # ac_d sets the value in "#define NAME VALUE" lines.
5356 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5357 ac_dB='[ ].*$,\1#\2'
5360 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5361 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5362 ac_uB='$,\1#\2define\3'
5366 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5367 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5369 - | *:- | *:-:* ) # input from stdin
5371 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5372 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5373 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5374 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5375 * ) ac_file_in=$ac_file.in ;;
5378 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5379 echo "$as_me: creating $ac_file" >&6;}
5381 # First look for the input files in the build tree, otherwise in the
5383 ac_file_inputs=`IFS=:
5384 for f in $ac_file_in; do
5386 -) echo $tmp/stdin ;;
5388 # Absolute (can't be DOS-style, as IFS=:)
5389 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5390 echo "$as_me: error: cannot find input file: $f" >&2;}
5391 { (exit 1); exit 1; }; }
5394 if test -f "$f"; then
5397 elif test -f "$srcdir/$f"; then
5402 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5403 echo "$as_me: error: cannot find input file: $f" >&2;}
5404 { (exit 1); exit 1; }; }
5407 done` || { (exit 1); exit 1; }
5408 # Remove the trailing spaces.
5409 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5413 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5414 # `conftest.undefs', that substitutes the proper values into
5415 # config.h.in to produce config.h. The first handles `#define'
5416 # templates, and the second `#undef' templates.
5417 # And first: Protect against being on the right side of a sed subst in
5418 # config.status. Protect against being in an unquoted here document
5420 rm -f conftest.defines conftest.undefs
5421 # Using a here document instead of a string reduces the quoting nightmare.
5422 # Putting comments in sed scripts is not portable.
5424 # `end' is used to avoid that the second main sed command (meant for
5425 # 0-ary CPP macros) applies to n-ary macro definitions.
5426 # See the Autoconf documentation for `clear'.
5427 cat >confdef2sed.sed <<\_ACEOF
5432 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5434 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5437 # If some macros were called several times there might be several times
5438 # the same #defines, which is useless. Nevertheless, we may not want to
5439 # sort them, since we want the *last* AC-DEFINE to be honored.
5440 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5441 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5442 rm -f confdef2sed.sed
5444 # This sed command replaces #undef with comments. This is necessary, for
5445 # example, in the case of _POSIX_SOURCE, which is predefined and required
5446 # on some systems where configure will not decide to define it.
5447 cat >>conftest.undefs <<\_ACEOF
5448 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5451 # Break up conftest.defines because some shells have a limit on the size
5452 # of here documents, and old seds have small limits too (100 cmds).
5453 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5454 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5455 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5456 echo ' :' >>$CONFIG_STATUS
5458 while grep . conftest.defines >/dev/null
5460 # Write a limited-size here document to $tmp/defines.sed.
5461 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5462 # Speed up: don't consider the non `#define' lines.
5463 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5464 # Work around the forget-to-reset-the-flag bug.
5465 echo 't clr' >>$CONFIG_STATUS
5466 echo ': clr' >>$CONFIG_STATUS
5467 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5469 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5473 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5474 rm -f conftest.defines
5475 mv conftest.tail conftest.defines
5477 rm -f conftest.defines
5478 echo ' fi # egrep' >>$CONFIG_STATUS
5479 echo >>$CONFIG_STATUS
5481 # Break up conftest.undefs because some shells have a limit on the size
5482 # of here documents, and old seds have small limits too (100 cmds).
5483 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5485 while grep . conftest.undefs >/dev/null
5487 # Write a limited-size here document to $tmp/undefs.sed.
5488 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5489 # Speed up: don't consider the non `#undef'
5490 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5491 # Work around the forget-to-reset-the-flag bug.
5492 echo 't clr' >>$CONFIG_STATUS
5493 echo ': clr' >>$CONFIG_STATUS
5494 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5496 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5500 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5501 rm -f conftest.undefs
5502 mv conftest.tail conftest.undefs
5504 rm -f conftest.undefs
5506 cat >>$CONFIG_STATUS <<\_ACEOF
5507 # Let's still pretend it is `configure' which instantiates (i.e., don't
5508 # use $as_me), people would be surprised to read:
5509 # /* config.h. Generated by config.status. */
5510 if test x"$ac_file" = x-; then
5511 echo "/* Generated by configure. */" >$tmp/config.h
5513 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5515 cat $tmp/in >>$tmp/config.h
5517 if test x"$ac_file" != x-; then
5518 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5519 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5520 echo "$as_me: $ac_file is unchanged" >&6;}
5522 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5523 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5524 X"$ac_file" : 'X\(//\)[^/]' \| \
5525 X"$ac_file" : 'X\(//\)$' \| \
5526 X"$ac_file" : 'X\(/\)' \| \
5527 . : '\(.\)' 2>/dev/null ||
5529 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5530 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5531 /^X\(\/\/\)$/{ s//\1/; q; }
5532 /^X\(\/\).*/{ s//\1/; q; }
5535 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5539 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5540 case $as_mkdir_dir in
5541 # Skip DOS drivespec
5542 ?:) as_incr_dir=$as_mkdir_dir ;;
5544 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5545 test -d "$as_incr_dir" ||
5546 mkdir "$as_incr_dir" ||
5547 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5548 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5549 { (exit 1); exit 1; }; }
5555 mv $tmp/config.h $ac_file
5563 cat >>$CONFIG_STATUS <<\_ACEOF
5566 # CONFIG_COMMANDS section.
5568 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5569 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5570 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5571 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5572 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5573 X"$ac_dest" : 'X\(//\)[^/]' \| \
5574 X"$ac_dest" : 'X\(//\)$' \| \
5575 X"$ac_dest" : 'X\(/\)' \| \
5576 . : '\(.\)' 2>/dev/null ||
5578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5579 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5580 /^X\(\/\/\)$/{ s//\1/; q; }
5581 /^X\(\/\).*/{ s//\1/; q; }
5585 if test "$ac_dir" != .; then
5586 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5587 # A "../" for each directory in $ac_dir_suffix.
5588 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5590 ac_dir_suffix= ac_top_builddir=
5594 .) # No --srcdir option. We are building in place.
5596 if test -z "$ac_top_builddir"; then
5599 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5601 [\\/]* | ?:[\\/]* ) # Absolute path.
5602 ac_srcdir=$srcdir$ac_dir_suffix;
5603 ac_top_srcdir=$srcdir ;;
5605 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5606 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5608 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5610 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5611 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5612 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5613 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5616 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5617 echo "$as_me: executing $ac_dest commands" >&6;}
5619 default ) touch stamp-h ;;
5624 cat >>$CONFIG_STATUS <<\_ACEOF
5626 { (exit 0); exit 0; }
5628 chmod +x $CONFIG_STATUS
5629 ac_clean_files=$ac_clean_files_save
5632 # configure is writing to config.log, and then calls config.status.
5633 # config.status does its own redirection, appending to config.log.
5634 # Unfortunately, on DOS this fails, as config.log is still kept open
5635 # by configure, so config.status won't be able to write to it; its
5636 # output is simply discarded. So we exec the FD to /dev/null,
5637 # effectively closing config.log, so it can be properly (re)opened and
5638 # appended to by config.status. When coming back to configure, we
5639 # need to make the FD available again.
5640 if test "$no_create" != yes; then
5643 $SHELL $CONFIG_STATUS || ac_cs_success=false
5645 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5646 # would make configure fail if this is the last instruction.
5647 $ac_cs_success || { (exit 1); exit 1; }
5651 gawk -f $CONF_DIR_NAME/filter.awk < config.h | sed -f $CONF_DIR_NAME/filter.sed > ir/config/firm_config.h