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 --enable-gcc_inline enable gcc 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
834 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
835 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
836 --with-includedir=dir add directory to include search path
838 Some influential environment variables:
839 CC C compiler command
840 CFLAGS C compiler flags
841 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
842 nonstandard directory <lib dir>
843 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
844 headers in a nonstandard directory <include dir>
847 Use these variables to override the choices made by `configure' or to help
848 it to find libraries and programs with nonstandard names/locations.
853 if test "$ac_init_help" = "recursive"; then
854 # If there are subdirs, report their specific --help.
856 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
857 test -d $ac_dir || continue
860 if test "$ac_dir" != .; then
861 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
862 # A "../" for each directory in $ac_dir_suffix.
863 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
865 ac_dir_suffix= ac_top_builddir=
869 .) # No --srcdir option. We are building in place.
871 if test -z "$ac_top_builddir"; then
874 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
876 [\\/]* | ?:[\\/]* ) # Absolute path.
877 ac_srcdir=$srcdir$ac_dir_suffix;
878 ac_top_srcdir=$srcdir ;;
880 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
881 ac_top_srcdir=$ac_top_builddir$srcdir ;;
883 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
885 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
886 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
887 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
888 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
891 # Check for guested configure; otherwise get Cygnus style configure.
892 if test -f $ac_srcdir/configure.gnu; then
894 $SHELL $ac_srcdir/configure.gnu --help=recursive
895 elif test -f $ac_srcdir/configure; then
897 $SHELL $ac_srcdir/configure --help=recursive
898 elif test -f $ac_srcdir/configure.ac ||
899 test -f $ac_srcdir/configure.in; then
903 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
909 test -n "$ac_init_help" && exit 0
910 if $ac_init_version; then
912 libfirm configure 0.3.0
913 generated by GNU Autoconf 2.53
915 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
916 Free Software Foundation, Inc.
917 This configure script is free software; the Free Software Foundation
918 gives unlimited permission to copy, distribute and modify it.
924 This file contains any messages produced by compilers while
925 running configure, to aid debugging if configure makes a mistake.
927 It was created by libfirm $as_me 0.3.0, which was
928 generated by GNU Autoconf 2.53. Invocation command line was
939 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
940 uname -m = `(uname -m) 2>/dev/null || echo unknown`
941 uname -r = `(uname -r) 2>/dev/null || echo unknown`
942 uname -s = `(uname -s) 2>/dev/null || echo unknown`
943 uname -v = `(uname -v) 2>/dev/null || echo unknown`
945 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
946 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
948 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
949 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
950 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
951 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
952 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
953 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
954 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
962 test -z "$as_dir" && as_dir=.
978 # Keep a trace of the command line.
979 # Strip out --no-create and --no-recursion so they do not pile up.
980 # Also quote any args containing shell meta-characters.
986 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
987 | --no-cr | --no-c | -n ) continue ;;
988 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
989 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
992 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
994 case " $ac_configure_args " in
995 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
996 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
999 # Get rid of the leading space.
1002 # When interrupted or exit'd, cleanup temporary files, and complete
1003 # config.log. We remove comments because anyway the quotes in there
1004 # would cause problems or look ugly.
1005 # WARNING: Be sure not to use single quotes in there, as some shells,
1006 # such as our DU 5.0 friend, will then `close' the trap.
1007 trap 'exit_status=$?
1008 # Save into config.log some information that might help in debugging.
1012 ## ---------------- ##
1013 ## Cache variables. ##
1014 ## ---------------- ##
1017 # The following way of writing the cache mishandles newlines in values,
1020 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1023 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1024 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1028 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1033 if test -s confdefs.h; then
1040 sed "/^$/d" confdefs.h
1043 test "$ac_signal" != 0 &&
1044 echo "$as_me: caught signal $ac_signal"
1045 echo "$as_me: exit $exit_status"
1047 rm -f core core.* *.core &&
1048 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1051 for ac_signal in 1 2 13 15; do
1052 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1056 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1057 rm -rf conftest* confdefs.h
1058 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1061 # Predefined preprocessor variables.
1063 cat >>confdefs.h <<_ACEOF
1064 #define PACKAGE_NAME "$PACKAGE_NAME"
1068 cat >>confdefs.h <<_ACEOF
1069 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_STRING "$PACKAGE_STRING"
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1088 # Let the site file select an alternate cache file if it wants to.
1089 # Prefer explicitly selected file to automatically selected ones.
1090 if test -z "$CONFIG_SITE"; then
1091 if test "x$prefix" != xNONE; then
1092 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1094 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1097 for ac_site_file in $CONFIG_SITE; do
1098 if test -r "$ac_site_file"; then
1099 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1100 echo "$as_me: loading site script $ac_site_file" >&6;}
1101 sed 's/^/| /' "$ac_site_file" >&5
1106 if test -r "$cache_file"; then
1107 # Some versions of bash will fail to source /dev/null (special
1108 # files actually), so we avoid doing that.
1109 if test -f "$cache_file"; then
1110 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1111 echo "$as_me: loading cache $cache_file" >&6;}
1113 [\\/]* | ?:[\\/]* ) . $cache_file;;
1114 *) . ./$cache_file;;
1118 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1119 echo "$as_me: creating cache $cache_file" >&6;}
1123 # Check that the precious variables saved in the cache have kept the same
1125 ac_cache_corrupted=false
1126 for ac_var in `(set) 2>&1 |
1127 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1128 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1129 eval ac_new_set=\$ac_env_${ac_var}_set
1130 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1131 eval ac_new_val="\$ac_env_${ac_var}_value"
1132 case $ac_old_set,$ac_new_set in
1134 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1135 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1136 ac_cache_corrupted=: ;;
1138 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1139 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1140 ac_cache_corrupted=: ;;
1143 if test "x$ac_old_val" != "x$ac_new_val"; then
1144 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1145 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1146 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1147 echo "$as_me: former value: $ac_old_val" >&2;}
1148 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1149 echo "$as_me: current value: $ac_new_val" >&2;}
1150 ac_cache_corrupted=:
1153 # Pass precious variables to config.status.
1154 if test "$ac_new_set" = set; then
1156 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1157 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1158 *) ac_arg=$ac_var=$ac_new_val ;;
1160 case " $ac_configure_args " in
1161 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1162 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1166 if $ac_cache_corrupted; then
1167 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1168 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1169 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1170 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1171 { (exit 1); exit 1; }; }
1175 ac_cpp='$CPP $CPPFLAGS'
1176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1206 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1207 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1208 ir/ana/Makefile ir/tr/Makefile ir/st/Makefile testprograms/Makefile \
1209 firmjni/Makefile firmjni/build_firm_jni firmjni/testprograms/Makefile"
1211 ac_config_headers="$ac_config_headers config.h"
1214 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1218 # Check whether --with-includedir or --without-includedir was given.
1219 if test "${with_includedir+set}" = set; then
1220 withval="$with_includedir"
1221 CPPFLAGS=$CPPFLAGS" -I"$withval
1227 # Check whether --enable-debug or --disable-debug was given.
1228 if test "${enable_debug+set}" = set; then
1229 enableval="$enable_debug"
1230 if test "$enableval" = yes; then
1231 cat >>confdefs.h <<\_ACEOF
1232 #define DEBUG_libfirm 1
1236 cat >>confdefs.h <<\_ACEOF
1244 # Check whether --enable-gcc_inline or --disable-gcc_inline was given.
1245 if test "${enable_gcc_inline+set}" = set; then
1246 enableval="$enable_gcc_inline"
1247 if test "$enableval" = yes; then
1248 cat >>confdefs.h <<\_ACEOF
1249 #define USE_GCC_INLINE 1
1257 # Check whether --enable-profile or --disable-profile was given.
1258 if test "${enable_profile+set}" = set; then
1259 enableval="$enable_profile"
1260 if test "$enableval"=yes; then
1261 enable_profile_libfirm=yes
1264 enable_profile_libfirm=no
1268 # Check whether --enable-autodoc or --disable-autodoc was given.
1269 if test "${enable_autodoc+set}" = set; then
1270 enableval="$enable_autodoc"
1271 if test "$enableval"=yes; then
1272 enable_auto_documentation=yes
1275 enable_auto_documentation=no
1280 # Check whether --enable-firmjni or --disable-firmjni was given.
1281 if test "${enable_firmjni+set}" = set; then
1282 enableval="$enable_firmjni"
1283 if test "$enableval"=yes; then
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1298 if test -n "$ac_tool_prefix"; then
1299 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1300 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1301 echo "$as_me:$LINENO: checking for $ac_word" >&5
1302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1303 if test "${ac_cv_prog_CC+set}" = set; then
1304 echo $ECHO_N "(cached) $ECHO_C" >&6
1306 if test -n "$CC"; then
1307 ac_cv_prog_CC="$CC" # Let the user override the test.
1309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1313 test -z "$as_dir" && as_dir=.
1314 for ac_exec_ext in '' $ac_executable_extensions; do
1315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1316 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1326 if test -n "$CC"; then
1327 echo "$as_me:$LINENO: result: $CC" >&5
1328 echo "${ECHO_T}$CC" >&6
1330 echo "$as_me:$LINENO: result: no" >&5
1331 echo "${ECHO_T}no" >&6
1335 if test -z "$ac_cv_prog_CC"; then
1337 # Extract the first word of "gcc", so it can be a program name with args.
1338 set dummy gcc; ac_word=$2
1339 echo "$as_me:$LINENO: checking for $ac_word" >&5
1340 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1341 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1342 echo $ECHO_N "(cached) $ECHO_C" >&6
1344 if test -n "$ac_ct_CC"; then
1345 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1347 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1351 test -z "$as_dir" && as_dir=.
1352 for ac_exec_ext in '' $ac_executable_extensions; do
1353 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1354 ac_cv_prog_ac_ct_CC="gcc"
1355 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1363 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1364 if test -n "$ac_ct_CC"; then
1365 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1366 echo "${ECHO_T}$ac_ct_CC" >&6
1368 echo "$as_me:$LINENO: result: no" >&5
1369 echo "${ECHO_T}no" >&6
1377 if test -z "$CC"; then
1378 if test -n "$ac_tool_prefix"; then
1379 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1380 set dummy ${ac_tool_prefix}cc; ac_word=$2
1381 echo "$as_me:$LINENO: checking for $ac_word" >&5
1382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1383 if test "${ac_cv_prog_CC+set}" = set; then
1384 echo $ECHO_N "(cached) $ECHO_C" >&6
1386 if test -n "$CC"; then
1387 ac_cv_prog_CC="$CC" # Let the user override the test.
1389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1393 test -z "$as_dir" && as_dir=.
1394 for ac_exec_ext in '' $ac_executable_extensions; do
1395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1396 ac_cv_prog_CC="${ac_tool_prefix}cc"
1397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1406 if test -n "$CC"; then
1407 echo "$as_me:$LINENO: result: $CC" >&5
1408 echo "${ECHO_T}$CC" >&6
1410 echo "$as_me:$LINENO: result: no" >&5
1411 echo "${ECHO_T}no" >&6
1415 if test -z "$ac_cv_prog_CC"; then
1417 # Extract the first word of "cc", so it can be a program name with args.
1418 set dummy cc; ac_word=$2
1419 echo "$as_me:$LINENO: checking for $ac_word" >&5
1420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1421 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1422 echo $ECHO_N "(cached) $ECHO_C" >&6
1424 if test -n "$ac_ct_CC"; then
1425 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1431 test -z "$as_dir" && as_dir=.
1432 for ac_exec_ext in '' $ac_executable_extensions; do
1433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1434 ac_cv_prog_ac_ct_CC="cc"
1435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1443 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1444 if test -n "$ac_ct_CC"; then
1445 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1446 echo "${ECHO_T}$ac_ct_CC" >&6
1448 echo "$as_me:$LINENO: result: no" >&5
1449 echo "${ECHO_T}no" >&6
1458 if test -z "$CC"; then
1459 # Extract the first word of "cc", so it can be a program name with args.
1460 set dummy cc; ac_word=$2
1461 echo "$as_me:$LINENO: checking for $ac_word" >&5
1462 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1463 if test "${ac_cv_prog_CC+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1466 if test -n "$CC"; then
1467 ac_cv_prog_CC="$CC" # Let the user override the test.
1470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1474 test -z "$as_dir" && as_dir=.
1475 for ac_exec_ext in '' $ac_executable_extensions; do
1476 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1477 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1478 ac_prog_rejected=yes
1482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1488 if test $ac_prog_rejected = yes; then
1489 # We found a bogon in the path, so make sure we never use it.
1490 set dummy $ac_cv_prog_CC
1492 if test $# != 0; then
1493 # We chose a different compiler from the bogus one.
1494 # However, it has the same basename, so the bogon will be chosen
1495 # first if we set CC to just the basename; use the full file name.
1497 set dummy "$as_dir/$ac_word" ${1+"$@"}
1505 if test -n "$CC"; then
1506 echo "$as_me:$LINENO: result: $CC" >&5
1507 echo "${ECHO_T}$CC" >&6
1509 echo "$as_me:$LINENO: result: no" >&5
1510 echo "${ECHO_T}no" >&6
1514 if test -z "$CC"; then
1515 if test -n "$ac_tool_prefix"; then
1518 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1519 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1520 echo "$as_me:$LINENO: checking for $ac_word" >&5
1521 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1522 if test "${ac_cv_prog_CC+set}" = set; then
1523 echo $ECHO_N "(cached) $ECHO_C" >&6
1525 if test -n "$CC"; then
1526 ac_cv_prog_CC="$CC" # Let the user override the test.
1528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1532 test -z "$as_dir" && as_dir=.
1533 for ac_exec_ext in '' $ac_executable_extensions; do
1534 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1535 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1536 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1545 if test -n "$CC"; then
1546 echo "$as_me:$LINENO: result: $CC" >&5
1547 echo "${ECHO_T}$CC" >&6
1549 echo "$as_me:$LINENO: result: no" >&5
1550 echo "${ECHO_T}no" >&6
1553 test -n "$CC" && break
1556 if test -z "$CC"; then
1560 # Extract the first word of "$ac_prog", so it can be a program name with args.
1561 set dummy $ac_prog; ac_word=$2
1562 echo "$as_me:$LINENO: checking for $ac_word" >&5
1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1565 echo $ECHO_N "(cached) $ECHO_C" >&6
1567 if test -n "$ac_ct_CC"; then
1568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1574 test -z "$as_dir" && as_dir=.
1575 for ac_exec_ext in '' $ac_executable_extensions; do
1576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1577 ac_cv_prog_ac_ct_CC="$ac_prog"
1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1587 if test -n "$ac_ct_CC"; then
1588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1589 echo "${ECHO_T}$ac_ct_CC" >&6
1591 echo "$as_me:$LINENO: result: no" >&5
1592 echo "${ECHO_T}no" >&6
1595 test -n "$ac_ct_CC" && break
1604 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1605 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1606 { (exit 1); exit 1; }; }
1608 # Provide some information about the compiler.
1609 echo "$as_me:$LINENO:" \
1610 "checking for C compiler version" >&5
1611 ac_compiler=`set X $ac_compile; echo $2`
1612 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1613 (eval $ac_compiler --version </dev/null >&5) 2>&5
1615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1616 (exit $ac_status); }
1617 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1618 (eval $ac_compiler -v </dev/null >&5) 2>&5
1620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1621 (exit $ac_status); }
1622 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1623 (eval $ac_compiler -V </dev/null >&5) 2>&5
1625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1626 (exit $ac_status); }
1628 cat >conftest.$ac_ext <<_ACEOF
1629 #line $LINENO "configure"
1630 #include "confdefs.h"
1632 #ifdef F77_DUMMY_MAIN
1636 int F77_DUMMY_MAIN() { return 1; }
1646 ac_clean_files_save=$ac_clean_files
1647 ac_clean_files="$ac_clean_files a.out a.exe"
1648 # Try to create an executable without -o first, disregard a.out.
1649 # It will help us diagnose broken compilers, and finding out an intuition
1651 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1652 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1653 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1654 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1655 (eval $ac_link_default) 2>&5
1657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1658 (exit $ac_status); }; then
1659 # Find the output, starting from the most likely. This scheme is
1660 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1663 # Be careful to initialize this variable, since it used to be cached.
1664 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1666 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1667 ls a.out conftest 2>/dev/null;
1668 ls a.* conftest.* 2>/dev/null`; do
1670 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1671 a.out ) # We found the default executable, but exeext='' is most
1674 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1675 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1682 echo "$as_me: failed program was:" >&5
1683 cat conftest.$ac_ext >&5
1684 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1685 echo "$as_me: error: C compiler cannot create executables" >&2;}
1686 { (exit 77); exit 77; }; }
1689 ac_exeext=$ac_cv_exeext
1690 echo "$as_me:$LINENO: result: $ac_file" >&5
1691 echo "${ECHO_T}$ac_file" >&6
1693 # Check the compiler produces executables we can run. If not, either
1694 # the compiler is broken, or we cross compile.
1695 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1696 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1697 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1698 # If not cross compiling, check that we can run a simple program.
1699 if test "$cross_compiling" != yes; then
1700 if { ac_try='./$ac_file'
1701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1705 (exit $ac_status); }; }; then
1708 if test "$cross_compiling" = maybe; then
1711 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1712 If you meant to cross compile, use \`--host'." >&5
1713 echo "$as_me: error: cannot run C compiled programs.
1714 If you meant to cross compile, use \`--host'." >&2;}
1715 { (exit 1); exit 1; }; }
1719 echo "$as_me:$LINENO: result: yes" >&5
1720 echo "${ECHO_T}yes" >&6
1722 rm -f a.out a.exe conftest$ac_cv_exeext
1723 ac_clean_files=$ac_clean_files_save
1724 # Check the compiler produces executables we can run. If not, either
1725 # the compiler is broken, or we cross compile.
1726 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1727 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1728 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1729 echo "${ECHO_T}$cross_compiling" >&6
1731 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1732 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1734 (eval $ac_link) 2>&5
1736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1737 (exit $ac_status); }; then
1738 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1739 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1740 # work properly (i.e., refer to `conftest.exe'), while it won't with
1742 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1744 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1745 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1752 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1753 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1754 { (exit 1); exit 1; }; }
1757 rm -f conftest$ac_cv_exeext
1758 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1759 echo "${ECHO_T}$ac_cv_exeext" >&6
1761 rm -f conftest.$ac_ext
1762 EXEEXT=$ac_cv_exeext
1764 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1765 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1766 if test "${ac_cv_objext+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1769 cat >conftest.$ac_ext <<_ACEOF
1770 #line $LINENO "configure"
1771 #include "confdefs.h"
1773 #ifdef F77_DUMMY_MAIN
1777 int F77_DUMMY_MAIN() { return 1; }
1787 rm -f conftest.o conftest.obj
1788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1789 (eval $ac_compile) 2>&5
1791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1792 (exit $ac_status); }; then
1793 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1795 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1796 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1801 echo "$as_me: failed program was:" >&5
1802 cat conftest.$ac_ext >&5
1803 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1804 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1805 { (exit 1); exit 1; }; }
1808 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1810 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1811 echo "${ECHO_T}$ac_cv_objext" >&6
1812 OBJEXT=$ac_cv_objext
1814 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1815 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1816 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1817 echo $ECHO_N "(cached) $ECHO_C" >&6
1819 cat >conftest.$ac_ext <<_ACEOF
1820 #line $LINENO "configure"
1821 #include "confdefs.h"
1823 #ifdef F77_DUMMY_MAIN
1827 int F77_DUMMY_MAIN() { return 1; }
1840 rm -f conftest.$ac_objext
1841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1842 (eval $ac_compile) 2>&5
1844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1845 (exit $ac_status); } &&
1846 { ac_try='test -s conftest.$ac_objext'
1847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1851 (exit $ac_status); }; }; then
1854 echo "$as_me: failed program was:" >&5
1855 cat conftest.$ac_ext >&5
1858 rm -f conftest.$ac_objext conftest.$ac_ext
1859 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1862 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1863 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1864 GCC=`test $ac_compiler_gnu = yes && echo yes`
1865 ac_test_CFLAGS=${CFLAGS+set}
1866 ac_save_CFLAGS=$CFLAGS
1868 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1869 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1870 if test "${ac_cv_prog_cc_g+set}" = set; then
1871 echo $ECHO_N "(cached) $ECHO_C" >&6
1873 cat >conftest.$ac_ext <<_ACEOF
1874 #line $LINENO "configure"
1875 #include "confdefs.h"
1877 #ifdef F77_DUMMY_MAIN
1881 int F77_DUMMY_MAIN() { return 1; }
1891 rm -f conftest.$ac_objext
1892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1893 (eval $ac_compile) 2>&5
1895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1896 (exit $ac_status); } &&
1897 { ac_try='test -s conftest.$ac_objext'
1898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1902 (exit $ac_status); }; }; then
1905 echo "$as_me: failed program was:" >&5
1906 cat conftest.$ac_ext >&5
1909 rm -f conftest.$ac_objext conftest.$ac_ext
1911 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1912 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1913 if test "$ac_test_CFLAGS" = set; then
1914 CFLAGS=$ac_save_CFLAGS
1915 elif test $ac_cv_prog_cc_g = yes; then
1916 if test "$GCC" = yes; then
1922 if test "$GCC" = yes; then
1928 # Some people use a C++ compiler to compile C. Since we use `exit',
1929 # in C++ we need to declare it. In case someone uses the same compiler
1930 # for both compiling C and C++ we need to have the C++ compiler decide
1931 # the declaration of exit, since it's the most demanding environment.
1932 cat >conftest.$ac_ext <<_ACEOF
1937 rm -f conftest.$ac_objext
1938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1939 (eval $ac_compile) 2>&5
1941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1942 (exit $ac_status); } &&
1943 { ac_try='test -s conftest.$ac_objext'
1944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1948 (exit $ac_status); }; }; then
1949 for ac_declaration in \
1951 '#include <stdlib.h>' \
1952 'extern "C" void std::exit (int) throw (); using std::exit;' \
1953 'extern "C" void std::exit (int); using std::exit;' \
1954 'extern "C" void exit (int) throw ();' \
1955 'extern "C" void exit (int);' \
1958 cat >conftest.$ac_ext <<_ACEOF
1959 #line $LINENO "configure"
1960 #include "confdefs.h"
1963 #ifdef F77_DUMMY_MAIN
1967 int F77_DUMMY_MAIN() { return 1; }
1977 rm -f conftest.$ac_objext
1978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1979 (eval $ac_compile) 2>&5
1981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1982 (exit $ac_status); } &&
1983 { ac_try='test -s conftest.$ac_objext'
1984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }; }; then
1991 echo "$as_me: failed program was:" >&5
1992 cat conftest.$ac_ext >&5
1995 rm -f conftest.$ac_objext conftest.$ac_ext
1996 cat >conftest.$ac_ext <<_ACEOF
1997 #line $LINENO "configure"
1998 #include "confdefs.h"
2000 #ifdef F77_DUMMY_MAIN
2004 int F77_DUMMY_MAIN() { return 1; }
2014 rm -f conftest.$ac_objext
2015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2016 (eval $ac_compile) 2>&5
2018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2019 (exit $ac_status); } &&
2020 { ac_try='test -s conftest.$ac_objext'
2021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2025 (exit $ac_status); }; }; then
2028 echo "$as_me: failed program was:" >&5
2029 cat conftest.$ac_ext >&5
2031 rm -f conftest.$ac_objext conftest.$ac_ext
2034 if test -n "$ac_declaration"; then
2035 echo '#ifdef __cplusplus' >>confdefs.h
2036 echo $ac_declaration >>confdefs.h
2037 echo '#endif' >>confdefs.h
2041 echo "$as_me: failed program was:" >&5
2042 cat conftest.$ac_ext >&5
2044 rm -f conftest.$ac_objext conftest.$ac_ext
2046 ac_cpp='$CPP $CPPFLAGS'
2047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2053 if test -z "$LD"; then
2054 if test -n "$ac_tool_prefix"; then
2055 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2056 set dummy ${ac_tool_prefix}ld; ac_word=$2
2057 echo "$as_me:$LINENO: checking for $ac_word" >&5
2058 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2059 if test "${ac_cv_prog_LD+set}" = set; then
2060 echo $ECHO_N "(cached) $ECHO_C" >&6
2062 if test -n "$LD"; then
2063 ac_cv_prog_LD="$LD" # Let the user override the test.
2065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2069 test -z "$as_dir" && as_dir=.
2070 for ac_exec_ext in '' $ac_executable_extensions; do
2071 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2072 ac_cv_prog_LD="${ac_tool_prefix}ld"
2073 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2082 if test -n "$LD"; then
2083 echo "$as_me:$LINENO: result: $LD" >&5
2084 echo "${ECHO_T}$LD" >&6
2086 echo "$as_me:$LINENO: result: no" >&5
2087 echo "${ECHO_T}no" >&6
2091 if test -z "$ac_cv_prog_LD"; then
2093 # Extract the first word of "ld", so it can be a program name with args.
2094 set dummy ld; ac_word=$2
2095 echo "$as_me:$LINENO: checking for $ac_word" >&5
2096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2097 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2098 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 if test -n "$ac_ct_LD"; then
2101 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2107 test -z "$as_dir" && as_dir=.
2108 for ac_exec_ext in '' $ac_executable_extensions; do
2109 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2110 ac_cv_prog_ac_ct_LD="ld"
2111 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2119 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2120 if test -n "$ac_ct_LD"; then
2121 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2122 echo "${ECHO_T}$ac_ct_LD" >&6
2124 echo "$as_me:$LINENO: result: no" >&5
2125 echo "${ECHO_T}no" >&6
2135 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2136 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2137 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2138 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 libfirm_cv_prog_ld_r=no
2143 cat > conftest.$ac_ext <<EOF
2144 int foo() { return 0; }
2146 if eval $ac_compile && mv conftest.o conftest2.o; then
2147 cat > conftest.$ac_ext <<EOF
2149 int main() { return foo(); }
2151 if eval $ac_compile; then
2152 if $LD -r -o conftest conftest.o conftest2.o; then
2153 libfirm_cv_prog_ld_r=yes
2160 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2161 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2164 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2165 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2166 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2167 { (exit 1); exit 1; }; }
2170 # Extract the first word of "ar", so it can be a program name with args.
2171 set dummy ar; ac_word=$2
2172 echo "$as_me:$LINENO: checking for $ac_word" >&5
2173 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2174 if test "${ac_cv_prog_AR+set}" = set; then
2175 echo $ECHO_N "(cached) $ECHO_C" >&6
2177 if test -n "$AR"; then
2178 ac_cv_prog_AR="$AR" # Let the user override the test.
2180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2184 test -z "$as_dir" && as_dir=.
2185 for ac_exec_ext in '' $ac_executable_extensions; do
2186 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2187 ac_cv_prog_AR=""ar""
2188 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2198 if test -n "$AR"; then
2199 echo "$as_me:$LINENO: result: $AR" >&5
2200 echo "${ECHO_T}$AR" >&6
2202 echo "$as_me:$LINENO: result: no" >&5
2203 echo "${ECHO_T}no" >&6
2206 if test "$AR" != "ar"; then
2207 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2208 echo "$as_me: error: need ar for creating archives" >&2;}
2209 { (exit 1); exit 1; }; }
2212 # Extract the first word of "tar", so it can be a program name with args.
2213 set dummy tar; ac_word=$2
2214 echo "$as_me:$LINENO: checking for $ac_word" >&5
2215 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2216 if test "${ac_cv_prog_TAR+set}" = set; then
2217 echo $ECHO_N "(cached) $ECHO_C" >&6
2219 if test -n "$TAR"; then
2220 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2226 test -z "$as_dir" && as_dir=.
2227 for ac_exec_ext in '' $ac_executable_extensions; do
2228 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2229 ac_cv_prog_TAR=""tar""
2230 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2236 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2240 if test -n "$TAR"; then
2241 echo "$as_me:$LINENO: result: $TAR" >&5
2242 echo "${ECHO_T}$TAR" >&6
2244 echo "$as_me:$LINENO: result: no" >&5
2245 echo "${ECHO_T}no" >&6
2248 if test "$TAR" != "tar"; then
2249 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2250 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2251 { (exit 1); exit 1; }; }
2255 if test -n "$ac_tool_prefix"; then
2256 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2257 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2258 echo "$as_me:$LINENO: checking for $ac_word" >&5
2259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2260 if test "${ac_cv_prog_RANLIB+set}" = set; then
2261 echo $ECHO_N "(cached) $ECHO_C" >&6
2263 if test -n "$RANLIB"; then
2264 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir=.
2271 for ac_exec_ext in '' $ac_executable_extensions; do
2272 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2273 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2282 RANLIB=$ac_cv_prog_RANLIB
2283 if test -n "$RANLIB"; then
2284 echo "$as_me:$LINENO: result: $RANLIB" >&5
2285 echo "${ECHO_T}$RANLIB" >&6
2287 echo "$as_me:$LINENO: result: no" >&5
2288 echo "${ECHO_T}no" >&6
2292 if test -z "$ac_cv_prog_RANLIB"; then
2293 ac_ct_RANLIB=$RANLIB
2294 # Extract the first word of "ranlib", so it can be a program name with args.
2295 set dummy ranlib; ac_word=$2
2296 echo "$as_me:$LINENO: checking for $ac_word" >&5
2297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2298 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2299 echo $ECHO_N "(cached) $ECHO_C" >&6
2301 if test -n "$ac_ct_RANLIB"; then
2302 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 test -z "$as_dir" && as_dir=.
2309 for ac_exec_ext in '' $ac_executable_extensions; do
2310 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2311 ac_cv_prog_ac_ct_RANLIB="ranlib"
2312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2318 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2321 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2322 if test -n "$ac_ct_RANLIB"; then
2323 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2324 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2326 echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2330 RANLIB=$ac_ct_RANLIB
2332 RANLIB="$ac_cv_prog_RANLIB"
2337 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2338 if test -f $ac_dir/install-sh; then
2340 ac_install_sh="$ac_aux_dir/install-sh -c"
2342 elif test -f $ac_dir/install.sh; then
2344 ac_install_sh="$ac_aux_dir/install.sh -c"
2346 elif test -f $ac_dir/shtool; then
2348 ac_install_sh="$ac_aux_dir/shtool install -c"
2352 if test -z "$ac_aux_dir"; then
2353 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2354 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2355 { (exit 1); exit 1; }; }
2357 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2358 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2359 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2361 # Find a good install program. We prefer a C program (faster),
2362 # so one script is as good as another. But avoid the broken or
2363 # incompatible versions:
2364 # SysV /etc/install, /usr/sbin/install
2365 # SunOS /usr/etc/install
2366 # IRIX /sbin/install
2368 # AmigaOS /C/install, which installs bootblocks on floppy discs
2369 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2370 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2371 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2372 # ./install, which can be erroneously created by make from ./install.sh.
2373 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2374 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2375 if test -z "$INSTALL"; then
2376 if test "${ac_cv_path_install+set}" = set; then
2377 echo $ECHO_N "(cached) $ECHO_C" >&6
2379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2383 test -z "$as_dir" && as_dir=.
2384 # Account for people who put trailing slashes in PATH elements.
2386 ./ | .// | /cC/* | \
2387 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2390 # OSF1 and SCO ODT 3.0 have their own names for install.
2391 # Don't use installbsd from OSF since it installs stuff as root
2393 for ac_prog in ginstall scoinst install; do
2394 for ac_exec_ext in '' $ac_executable_extensions; do
2395 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2396 if test $ac_prog = install &&
2397 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2398 # AIX install. It has an incompatible calling convention.
2400 elif test $ac_prog = install &&
2401 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2402 # program-specific install script used by HP pwplus--don't use.
2405 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2417 if test "${ac_cv_path_install+set}" = set; then
2418 INSTALL=$ac_cv_path_install
2420 # As a last resort, use the slow shell script. We don't cache a
2421 # path for INSTALL within a source directory, because that will
2422 # break other packages using the cache if that directory is
2423 # removed, or if the path is relative.
2424 INSTALL=$ac_install_sh
2427 echo "$as_me:$LINENO: result: $INSTALL" >&5
2428 echo "${ECHO_T}$INSTALL" >&6
2430 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2431 # It thinks the first close brace ends the variable substitution.
2432 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2434 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2436 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2439 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2440 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2442 if test "$LN_S" = "ln -s"; then
2443 echo "$as_me:$LINENO: result: yes" >&5
2444 echo "${ECHO_T}yes" >&6
2446 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2447 echo "${ECHO_T}no, using $LN_S" >&6
2451 if test "$enable_auto_documentation" = yes; then
2452 # Extract the first word of "doxygen", so it can be a program name with args.
2453 set dummy doxygen; ac_word=$2
2454 echo "$as_me:$LINENO: checking for $ac_word" >&5
2455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2456 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
2457 echo $ECHO_N "(cached) $ECHO_C" >&6
2459 if test -n "$DOXYGEN"; then
2460 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2466 test -z "$as_dir" && as_dir=.
2467 for ac_exec_ext in '' $ac_executable_extensions; do
2468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2469 ac_cv_prog_DOXYGEN=""doxygen""
2470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
2479 DOXYGEN=$ac_cv_prog_DOXYGEN
2480 if test -n "$DOXYGEN"; then
2481 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2482 echo "${ECHO_T}$DOXYGEN" >&6
2484 echo "$as_me:$LINENO: result: no" >&5
2485 echo "${ECHO_T}no" >&6
2488 if test "$DOXYGEN" != "doxygen"; then
2489 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
2490 echo "$as_me: error: need doxygen for auto documentation" >&2;}
2491 { (exit 1); exit 1; }; }
2493 # Extract the first word of "dot", so it can be a program name with args.
2494 set dummy dot; ac_word=$2
2495 echo "$as_me:$LINENO: checking for $ac_word" >&5
2496 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2497 if test "${ac_cv_prog_DOT+set}" = set; then
2498 echo $ECHO_N "(cached) $ECHO_C" >&6
2500 if test -n "$DOT"; then
2501 ac_cv_prog_DOT="$DOT" # Let the user override the test.
2503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2507 test -z "$as_dir" && as_dir=.
2508 for ac_exec_ext in '' $ac_executable_extensions; do
2509 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2510 ac_cv_prog_DOT=""dot""
2511 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
2521 if test -n "$DOT"; then
2522 echo "$as_me:$LINENO: result: $DOT" >&5
2523 echo "${ECHO_T}$DOT" >&6
2525 echo "$as_me:$LINENO: result: no" >&5
2526 echo "${ECHO_T}no" >&6
2529 if test "$DOT" != "dot"; then
2530 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs)" >&5
2531 echo "$as_me: error: need dot for doxygen documentation (for class graphs)" >&2;}
2532 { (exit 1); exit 1; }; }
2536 if test "$enable_firm_jni" = yes; then
2537 # Extract the first word of "javac", so it can be a program name with args.
2538 set dummy javac; ac_word=$2
2539 echo "$as_me:$LINENO: checking for $ac_word" >&5
2540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2541 if test "${ac_cv_prog_JAVAC+set}" = set; then
2542 echo $ECHO_N "(cached) $ECHO_C" >&6
2544 if test -n "$JAVAC"; then
2545 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 test -z "$as_dir" && as_dir=.
2552 for ac_exec_ext in '' $ac_executable_extensions; do
2553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2554 ac_cv_prog_JAVAC=""javac""
2555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2561 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
2564 JAVAC=$ac_cv_prog_JAVAC
2565 if test -n "$JAVAC"; then
2566 echo "$as_me:$LINENO: result: $JAVAC" >&5
2567 echo "${ECHO_T}$JAVAC" >&6
2569 echo "$as_me:$LINENO: result: no" >&5
2570 echo "${ECHO_T}no" >&6
2573 if test "$JAVAC" != "javac"; then
2574 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
2575 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
2576 { (exit 1); exit 1; }; }
2578 # Extract the first word of "javah", so it can be a program name with args.
2579 set dummy javah; ac_word=$2
2580 echo "$as_me:$LINENO: checking for $ac_word" >&5
2581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2582 if test "${ac_cv_prog_JAVAH+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 if test -n "$JAVAH"; then
2586 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
2588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2592 test -z "$as_dir" && as_dir=.
2593 for ac_exec_ext in '' $ac_executable_extensions; do
2594 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2595 ac_cv_prog_JAVAH=""javah""
2596 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2602 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
2605 JAVAH=$ac_cv_prog_JAVAH
2606 if test -n "$JAVAH"; then
2607 echo "$as_me:$LINENO: result: $JAVAH" >&5
2608 echo "${ECHO_T}$JAVAH" >&6
2610 echo "$as_me:$LINENO: result: no" >&5
2611 echo "${ECHO_T}no" >&6
2614 if test "$JAVAH" != "javah"; then
2615 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
2616 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
2617 { (exit 1); exit 1; }; }
2625 ac_cpp='$CPP $CPPFLAGS'
2626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2629 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2630 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2631 # On Suns, sometimes $CPP names a directory.
2632 if test -n "$CPP" && test -d "$CPP"; then
2635 if test -z "$CPP"; then
2636 if test "${ac_cv_prog_CPP+set}" = set; then
2637 echo $ECHO_N "(cached) $ECHO_C" >&6
2639 # Double quotes because CPP needs to be expanded
2640 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2643 for ac_c_preproc_warn_flag in '' yes
2645 # Use a header file that comes with gcc, so configuring glibc
2646 # with a fresh cross-compiler works.
2647 # On the NeXT, cc -E runs the code through the compiler's parser,
2648 # not just through cpp. "Syntax error" is here to catch this case.
2649 cat >conftest.$ac_ext <<_ACEOF
2650 #line $LINENO "configure"
2651 #include "confdefs.h"
2655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2658 egrep -v '^ *\+' conftest.er1 >conftest.err
2660 cat conftest.err >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } >/dev/null; then
2663 if test -s conftest.err; then
2664 ac_cpp_err=$ac_c_preproc_warn_flag
2671 if test -z "$ac_cpp_err"; then
2674 echo "$as_me: failed program was:" >&5
2675 cat conftest.$ac_ext >&5
2676 # Broken: fails on valid input.
2679 rm -f conftest.err conftest.$ac_ext
2681 # OK, works on sane cases. Now check whether non-existent headers
2682 # can be detected and how.
2683 cat >conftest.$ac_ext <<_ACEOF
2684 #line $LINENO "configure"
2685 #include "confdefs.h"
2686 #include <ac_nonexistent.h>
2688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2691 egrep -v '^ *\+' conftest.er1 >conftest.err
2693 cat conftest.err >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); } >/dev/null; then
2696 if test -s conftest.err; then
2697 ac_cpp_err=$ac_c_preproc_warn_flag
2704 if test -z "$ac_cpp_err"; then
2705 # Broken: success on invalid input.
2708 echo "$as_me: failed program was:" >&5
2709 cat conftest.$ac_ext >&5
2710 # Passes both tests.
2714 rm -f conftest.err conftest.$ac_ext
2717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2718 rm -f conftest.err conftest.$ac_ext
2719 if $ac_preproc_ok; then
2731 echo "$as_me:$LINENO: result: $CPP" >&5
2732 echo "${ECHO_T}$CPP" >&6
2734 for ac_c_preproc_warn_flag in '' yes
2736 # Use a header file that comes with gcc, so configuring glibc
2737 # with a fresh cross-compiler works.
2738 # On the NeXT, cc -E runs the code through the compiler's parser,
2739 # not just through cpp. "Syntax error" is here to catch this case.
2740 cat >conftest.$ac_ext <<_ACEOF
2741 #line $LINENO "configure"
2742 #include "confdefs.h"
2746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2749 egrep -v '^ *\+' conftest.er1 >conftest.err
2751 cat conftest.err >&5
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); } >/dev/null; then
2754 if test -s conftest.err; then
2755 ac_cpp_err=$ac_c_preproc_warn_flag
2762 if test -z "$ac_cpp_err"; then
2765 echo "$as_me: failed program was:" >&5
2766 cat conftest.$ac_ext >&5
2767 # Broken: fails on valid input.
2770 rm -f conftest.err conftest.$ac_ext
2772 # OK, works on sane cases. Now check whether non-existent headers
2773 # can be detected and how.
2774 cat >conftest.$ac_ext <<_ACEOF
2775 #line $LINENO "configure"
2776 #include "confdefs.h"
2777 #include <ac_nonexistent.h>
2779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2782 egrep -v '^ *\+' conftest.er1 >conftest.err
2784 cat conftest.err >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } >/dev/null; then
2787 if test -s conftest.err; then
2788 ac_cpp_err=$ac_c_preproc_warn_flag
2795 if test -z "$ac_cpp_err"; then
2796 # Broken: success on invalid input.
2799 echo "$as_me: failed program was:" >&5
2800 cat conftest.$ac_ext >&5
2801 # Passes both tests.
2805 rm -f conftest.err conftest.$ac_ext
2808 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2809 rm -f conftest.err conftest.$ac_ext
2810 if $ac_preproc_ok; then
2813 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2814 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2815 { (exit 1); exit 1; }; }
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2825 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2826 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2827 if test "${ac_cv_header_stdc+set}" = set; then
2828 echo $ECHO_N "(cached) $ECHO_C" >&6
2830 cat >conftest.$ac_ext <<_ACEOF
2831 #line $LINENO "configure"
2832 #include "confdefs.h"
2839 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2840 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2842 egrep -v '^ *\+' conftest.er1 >conftest.err
2844 cat conftest.err >&5
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); } >/dev/null; then
2847 if test -s conftest.err; then
2848 ac_cpp_err=$ac_c_preproc_warn_flag
2855 if test -z "$ac_cpp_err"; then
2856 ac_cv_header_stdc=yes
2858 echo "$as_me: failed program was:" >&5
2859 cat conftest.$ac_ext >&5
2860 ac_cv_header_stdc=no
2862 rm -f conftest.err conftest.$ac_ext
2864 if test $ac_cv_header_stdc = yes; then
2865 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2866 cat >conftest.$ac_ext <<_ACEOF
2867 #line $LINENO "configure"
2868 #include "confdefs.h"
2872 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2873 egrep "memchr" >/dev/null 2>&1; then
2876 ac_cv_header_stdc=no
2882 if test $ac_cv_header_stdc = yes; then
2883 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2884 cat >conftest.$ac_ext <<_ACEOF
2885 #line $LINENO "configure"
2886 #include "confdefs.h"
2890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2891 egrep "free" >/dev/null 2>&1; then
2894 ac_cv_header_stdc=no
2900 if test $ac_cv_header_stdc = yes; then
2901 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2902 if test "$cross_compiling" = yes; then
2905 cat >conftest.$ac_ext <<_ACEOF
2906 #line $LINENO "configure"
2907 #include "confdefs.h"
2909 #if ((' ' & 0x0FF) == 0x020)
2910 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2911 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2913 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2914 || ('j' <= (c) && (c) <= 'r') \
2915 || ('s' <= (c) && (c) <= 'z'))
2916 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2919 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2924 for (i = 0; i < 256; i++)
2925 if (XOR (islower (i), ISLOWER (i))
2926 || toupper (i) != TOUPPER (i))
2931 rm -f conftest$ac_exeext
2932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2933 (eval $ac_link) 2>&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2941 (exit $ac_status); }; }; then
2944 echo "$as_me: program exited with status $ac_status" >&5
2945 echo "$as_me: failed program was:" >&5
2946 cat conftest.$ac_ext >&5
2948 ac_cv_header_stdc=no
2950 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2954 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2955 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2956 if test $ac_cv_header_stdc = yes; then
2958 cat >>confdefs.h <<\_ACEOF
2959 #define STDC_HEADERS 1
2966 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2976 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2977 inttypes.h stdint.h unistd.h
2979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2980 echo "$as_me:$LINENO: checking for $ac_header" >&5
2981 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2982 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2983 echo $ECHO_N "(cached) $ECHO_C" >&6
2985 cat >conftest.$ac_ext <<_ACEOF
2986 #line $LINENO "configure"
2987 #include "confdefs.h"
2988 $ac_includes_default
2990 #include <$ac_header>
2992 rm -f conftest.$ac_objext
2993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2994 (eval $ac_compile) 2>&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } &&
2998 { ac_try='test -s conftest.$ac_objext'
2999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }; }; then
3004 eval "$as_ac_Header=yes"
3006 echo "$as_me: failed program was:" >&5
3007 cat conftest.$ac_ext >&5
3008 eval "$as_ac_Header=no"
3010 rm -f conftest.$ac_objext conftest.$ac_ext
3012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3015 cat >>confdefs.h <<_ACEOF
3016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3025 for ac_header in math.h
3027 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3029 echo "$as_me:$LINENO: checking for $ac_header" >&5
3030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3031 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3032 echo $ECHO_N "(cached) $ECHO_C" >&6
3034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3037 # Is the header compilable?
3038 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3039 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3040 cat >conftest.$ac_ext <<_ACEOF
3041 #line $LINENO "configure"
3042 #include "confdefs.h"
3043 $ac_includes_default
3044 #include <$ac_header>
3046 rm -f conftest.$ac_objext
3047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3048 (eval $ac_compile) 2>&5
3050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3051 (exit $ac_status); } &&
3052 { ac_try='test -s conftest.$ac_objext'
3053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3057 (exit $ac_status); }; }; then
3058 ac_header_compiler=yes
3060 echo "$as_me: failed program was:" >&5
3061 cat conftest.$ac_ext >&5
3062 ac_header_compiler=no
3064 rm -f conftest.$ac_objext conftest.$ac_ext
3065 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3066 echo "${ECHO_T}$ac_header_compiler" >&6
3068 # Is the header present?
3069 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3071 cat >conftest.$ac_ext <<_ACEOF
3072 #line $LINENO "configure"
3073 #include "confdefs.h"
3074 #include <$ac_header>
3076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3077 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3079 egrep -v '^ *\+' conftest.er1 >conftest.err
3081 cat conftest.err >&5
3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3083 (exit $ac_status); } >/dev/null; then
3084 if test -s conftest.err; then
3085 ac_cpp_err=$ac_c_preproc_warn_flag
3092 if test -z "$ac_cpp_err"; then
3093 ac_header_preproc=yes
3095 echo "$as_me: failed program was:" >&5
3096 cat conftest.$ac_ext >&5
3097 ac_header_preproc=no
3099 rm -f conftest.err conftest.$ac_ext
3100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3101 echo "${ECHO_T}$ac_header_preproc" >&6
3103 # So? What about this header?
3104 case $ac_header_compiler:$ac_header_preproc in
3106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3109 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3111 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3112 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3113 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3114 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3115 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3116 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3118 echo "$as_me:$LINENO: checking for $ac_header" >&5
3119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3121 echo $ECHO_N "(cached) $ECHO_C" >&6
3123 eval "$as_ac_Header=$ac_header_preproc"
3125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3130 cat >>confdefs.h <<_ACEOF
3131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3133 ac_math_headers="yes"
3135 ac_math_headers="no"
3140 if test "$ac_math_headers" != yes; then
3141 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3142 echo "$as_me: error: \"math header file not found\"" >&2;}
3143 { (exit 1); exit 1; }; }
3147 #dnl check for the gnu multiprecission (gmp) header file
3149 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3150 #if test "$ac_gmp_headers" != yes; then
3151 # dnl gmp header not found.
3152 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3158 for ac_header in obstack.h
3160 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3161 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3162 echo "$as_me:$LINENO: checking for $ac_header" >&5
3163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3168 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3170 # Is the header compilable?
3171 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3172 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3173 cat >conftest.$ac_ext <<_ACEOF
3174 #line $LINENO "configure"
3175 #include "confdefs.h"
3176 $ac_includes_default
3177 #include <$ac_header>
3179 rm -f conftest.$ac_objext
3180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3181 (eval $ac_compile) 2>&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -s conftest.$ac_objext'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; }; then
3191 ac_header_compiler=yes
3193 echo "$as_me: failed program was:" >&5
3194 cat conftest.$ac_ext >&5
3195 ac_header_compiler=no
3197 rm -f conftest.$ac_objext conftest.$ac_ext
3198 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3199 echo "${ECHO_T}$ac_header_compiler" >&6
3201 # Is the header present?
3202 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3203 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3204 cat >conftest.$ac_ext <<_ACEOF
3205 #line $LINENO "configure"
3206 #include "confdefs.h"
3207 #include <$ac_header>
3209 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3210 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3212 egrep -v '^ *\+' conftest.er1 >conftest.err
3214 cat conftest.err >&5
3215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3216 (exit $ac_status); } >/dev/null; then
3217 if test -s conftest.err; then
3218 ac_cpp_err=$ac_c_preproc_warn_flag
3225 if test -z "$ac_cpp_err"; then
3226 ac_header_preproc=yes
3228 echo "$as_me: failed program was:" >&5
3229 cat conftest.$ac_ext >&5
3230 ac_header_preproc=no
3232 rm -f conftest.err conftest.$ac_ext
3233 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3234 echo "${ECHO_T}$ac_header_preproc" >&6
3236 # So? What about this header?
3237 case $ac_header_compiler:$ac_header_preproc in
3239 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3240 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3241 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3242 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3244 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3245 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3246 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3247 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3251 echo "$as_me:$LINENO: checking for $ac_header" >&5
3252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3254 echo $ECHO_N "(cached) $ECHO_C" >&6
3256 eval "$as_ac_Header=$ac_header_preproc"
3258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3263 cat >>confdefs.h <<_ACEOF
3264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3266 ac_obstack_headers="yes"
3268 ac_obstack_headers="no"
3273 if test "$ac_obstack_headers" != yes; then
3274 { { echo "$as_me:$LINENO: error: \"obstack header file not found\"" >&5
3275 echo "$as_me: error: \"obstack header file not found\"" >&2;}
3276 { (exit 1); exit 1; }; }
3281 if test "$enable_firm_jni" = yes; then
3283 for ac_header in jni.h
3285 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3286 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3287 echo "$as_me:$LINENO: checking for $ac_header" >&5
3288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3289 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3290 echo $ECHO_N "(cached) $ECHO_C" >&6
3292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3293 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3295 # Is the header compilable?
3296 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3297 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3298 cat >conftest.$ac_ext <<_ACEOF
3299 #line $LINENO "configure"
3300 #include "confdefs.h"
3301 $ac_includes_default
3302 #include <$ac_header>
3304 rm -f conftest.$ac_objext
3305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3306 (eval $ac_compile) 2>&5
3308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3309 (exit $ac_status); } &&
3310 { ac_try='test -s conftest.$ac_objext'
3311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3315 (exit $ac_status); }; }; then
3316 ac_header_compiler=yes
3318 echo "$as_me: failed program was:" >&5
3319 cat conftest.$ac_ext >&5
3320 ac_header_compiler=no
3322 rm -f conftest.$ac_objext conftest.$ac_ext
3323 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3324 echo "${ECHO_T}$ac_header_compiler" >&6
3326 # Is the header present?
3327 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3328 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3329 cat >conftest.$ac_ext <<_ACEOF
3330 #line $LINENO "configure"
3331 #include "confdefs.h"
3332 #include <$ac_header>
3334 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3335 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3337 egrep -v '^ *\+' conftest.er1 >conftest.err
3339 cat conftest.err >&5
3340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3341 (exit $ac_status); } >/dev/null; then
3342 if test -s conftest.err; then
3343 ac_cpp_err=$ac_c_preproc_warn_flag
3350 if test -z "$ac_cpp_err"; then
3351 ac_header_preproc=yes
3353 echo "$as_me: failed program was:" >&5
3354 cat conftest.$ac_ext >&5
3355 ac_header_preproc=no
3357 rm -f conftest.err conftest.$ac_ext
3358 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3359 echo "${ECHO_T}$ac_header_preproc" >&6
3361 # So? What about this header?
3362 case $ac_header_compiler:$ac_header_preproc in
3364 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3365 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3366 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3367 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3369 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3370 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3371 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3372 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3373 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3374 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3376 echo "$as_me:$LINENO: checking for $ac_header" >&5
3377 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3381 eval "$as_ac_Header=$ac_header_preproc"
3383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3388 cat >>confdefs.h <<_ACEOF
3389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3391 ac_jni_headers="yes"
3398 if test "$ac_jni_headers" != yes; then
3399 { { echo "$as_me:$LINENO: error: jni header file not found. (IPD: add -I/usr/public2/java/jdk1.3.1-sun/include/ -I/usr/public2/java/jdk1.3.1-sun/include/linux/ to CPPFLAGS)" >&5
3400 echo "$as_me: error: jni header file not found. (IPD: add -I/usr/public2/java/jdk1.3.1-sun/include/ -I/usr/public2/java/jdk1.3.1-sun/include/linux/ to CPPFLAGS)" >&2;}
3401 { (exit 1); exit 1; }; }
3407 #dnl check for the gnu multiprecission (gmp) library
3409 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
3410 #if test "$ac_gmp_library" != yes; then
3411 # dnl gmp library not found.
3412 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
3416 echo "$as_me:$LINENO: checking for main in -lm" >&5
3417 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3418 if test "${ac_cv_lib_m_main+set}" = set; then
3419 echo $ECHO_N "(cached) $ECHO_C" >&6
3421 ac_check_lib_save_LIBS=$LIBS
3423 cat >conftest.$ac_ext <<_ACEOF
3424 #line $LINENO "configure"
3425 #include "confdefs.h"
3428 #ifdef F77_DUMMY_MAIN
3432 int F77_DUMMY_MAIN() { return 1; }
3442 rm -f conftest.$ac_objext conftest$ac_exeext
3443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3444 (eval $ac_link) 2>&5
3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3447 (exit $ac_status); } &&
3448 { ac_try='test -s conftest$ac_exeext'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; }; then
3454 ac_cv_lib_m_main=yes
3456 echo "$as_me: failed program was:" >&5
3457 cat conftest.$ac_ext >&5
3460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3461 LIBS=$ac_check_lib_save_LIBS
3463 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3464 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3465 if test $ac_cv_lib_m_main = yes; then
3471 if test "$ac_m_library" != yes; then
3472 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
3473 echo "$as_me: error: \"standard math library not found\"" >&2;}
3474 { (exit 1); exit 1; }; }
3482 echo "$as_me:$LINENO: checking for strerror" >&5
3483 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
3484 if test "${ac_cv_func_strerror+set}" = set; then
3485 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 cat >conftest.$ac_ext <<_ACEOF
3488 #line $LINENO "configure"
3489 #include "confdefs.h"
3490 /* System header to define __stub macros and hopefully few prototypes,
3491 which can conflict with char strerror (); below. */
3493 /* Override any gcc2 internal prototype to avoid an error. */
3497 /* We use char because int might match the return type of a gcc2
3498 builtin and then its argument prototype would still apply. */
3502 #ifdef F77_DUMMY_MAIN
3506 int F77_DUMMY_MAIN() { return 1; }
3511 /* The GNU C library defines this for functions which it implements
3512 to always fail with ENOSYS. Some functions are actually named
3513 something starting with __ and the normal name is an alias. */
3514 #if defined (__stub_strerror) || defined (__stub___strerror)
3524 rm -f conftest.$ac_objext conftest$ac_exeext
3525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3526 (eval $ac_link) 2>&5
3528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } &&
3530 { ac_try='test -s conftest$ac_exeext'
3531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3535 (exit $ac_status); }; }; then
3536 ac_cv_func_strerror=yes
3538 echo "$as_me: failed program was:" >&5
3539 cat conftest.$ac_ext >&5
3540 ac_cv_func_strerror=no
3542 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3544 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
3545 echo "${ECHO_T}$ac_cv_func_strerror" >&6
3546 if test $ac_cv_func_strerror = yes; then
3549 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
3550 echo "$as_me: error: \"need strerror function\"" >&2;}
3551 { (exit 1); exit 1; }; }
3559 ac_config_files="$ac_config_files $ac_output_file"
3560 ac_config_commands="$ac_config_commands default"
3561 cat >confcache <<\_ACEOF
3562 # This file is a shell script that caches the results of configure
3563 # tests run on this system so they can be shared between configure
3564 # scripts and configure runs, see configure's option --config-cache.
3565 # It is not useful on other systems. If it contains results you don't
3566 # want to keep, you may remove or edit it.
3568 # config.status only pays attention to the cache file if you give it
3569 # the --recheck option to rerun configure.
3571 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3572 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3577 # The following way of writing the cache mishandles newlines in values,
3578 # but we know of no workaround that is simple, portable, and efficient.
3579 # So, don't put newlines in cache variables' values.
3580 # Ultrix sh set writes to stderr and can't be redirected directly,
3581 # and sets the high bit in the cache file unless we assign to the vars.
3584 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3586 # `set' does not quote correctly, so add quotes (double-quote
3587 # substitution turns \\\\ into \\, and sed turns \\ into \).
3590 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3593 # `set' quotes correctly as required by POSIX, so do not add quotes.
3595 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3602 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3604 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3606 if cmp -s $cache_file confcache; then :; else
3607 if test -w $cache_file; then
3608 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3609 cat confcache >$cache_file
3611 echo "not updating unwritable cache $cache_file"
3616 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3617 # Let make expand exec_prefix.
3618 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3620 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3621 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3622 # trailing colons and then remove the whole line if VPATH becomes empty
3623 # (actually we leave an empty line to preserve line numbers).
3624 if test "x$srcdir" = x.; then
3625 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3626 s/:*\$(srcdir):*/:/;
3627 s/:*\${srcdir}:*/:/;
3629 s/^\([^=]*=[ ]*\):*/\1/;
3635 DEFS=-DHAVE_CONFIG_H
3638 : ${CONFIG_STATUS=./config.status}
3639 ac_clean_files_save=$ac_clean_files
3640 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3641 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3642 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3643 cat >$CONFIG_STATUS <<_ACEOF
3645 # Generated by $as_me.
3646 # Run this file to recreate the current configuration.
3647 # Compiler output produced by configure, useful for debugging
3648 # configure, is in config.log if it exists.
3651 SHELL=\${CONFIG_SHELL-$SHELL}
3654 cat >>$CONFIG_STATUS <<\_ACEOF
3656 ## --------------------- ##
3657 ## M4sh Initialization. ##
3658 ## --------------------- ##
3660 # Be Bourne compatible
3661 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3664 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3669 # Support unset when possible.
3670 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3676 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3677 { $as_unset LANG || test "${LANG+set}" != set; } ||
3678 { LANG=C; export LANG; }
3679 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3680 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3681 { LC_ALL=C; export LC_ALL; }
3682 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3683 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3684 { LC_TIME=C; export LC_TIME; }
3685 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3686 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3687 { LC_CTYPE=C; export LC_CTYPE; }
3688 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3689 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3690 { LANGUAGE=C; export LANGUAGE; }
3691 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3692 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3693 { LC_COLLATE=C; export LC_COLLATE; }
3694 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3695 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3696 { LC_NUMERIC=C; export LC_NUMERIC; }
3697 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3698 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3699 { LC_MESSAGES=C; export LC_MESSAGES; }
3702 # Name of the executable.
3703 as_me=`(basename "$0") 2>/dev/null ||
3704 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3705 X"$0" : 'X\(//\)$' \| \
3706 X"$0" : 'X\(/\)$' \| \
3707 . : '\(.\)' 2>/dev/null ||
3709 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3710 /^X\/\(\/\/\)$/{ s//\1/; q; }
3711 /^X\/\(\/\).*/{ s//\1/; q; }
3714 # PATH needs CR, and LINENO needs CR and PATH.
3715 # Avoid depending upon Character Ranges.
3716 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3717 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3718 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3719 as_cr_digits='0123456789'
3720 as_cr_alnum=$as_cr_Letters$as_cr_digits
3722 # The user is always right.
3723 if test "${PATH_SEPARATOR+set}" != set; then
3724 echo "#! /bin/sh" >conftest.sh
3725 echo "exit 0" >>conftest.sh
3726 chmod +x conftest.sh
3727 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3738 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3739 test "x$as_lineno_1" != "x$as_lineno_2" &&
3740 test "x$as_lineno_3" = "x$as_lineno_2" || {
3741 # Find who we are. Look in the path if we contain no path at all
3744 *[\\/]* ) as_myself=$0 ;;
3745 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3749 test -z "$as_dir" && as_dir=.
3750 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3755 # We did not find ourselves, most probably we were run as `sh COMMAND'
3756 # in which case we are not to be found in the path.
3757 if test "x$as_myself" = x; then
3760 if test ! -f "$as_myself"; then
3761 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3762 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3763 { (exit 1); exit 1; }; }
3765 case $CONFIG_SHELL in
3767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3768 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3771 test -z "$as_dir" && as_dir=.
3772 for as_base in sh bash ksh sh5; do
3775 if ("$as_dir/$as_base" -c '
3778 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3779 test "x$as_lineno_1" != "x$as_lineno_2" &&
3780 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3781 CONFIG_SHELL=$as_dir/$as_base
3783 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3791 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3792 # uniformly replaced by the line number. The first 'sed' inserts a
3793 # line-number line before each line; the second 'sed' does the real
3794 # work. The second script uses 'N' to pair each line-number line
3795 # with the numbered line, and appends trailing '-' during
3796 # substitution so that $LINENO is not a special case at line end.
3797 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3798 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3799 sed '=' <$as_myself |
3804 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3807 s,^['$as_cr_digits']*\n,,
3809 chmod +x $as_me.lineno ||
3810 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3811 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3812 { (exit 1); exit 1; }; }
3814 # Don't try to exec as it changes $[0], causing all sort of problems
3815 # (the dirname of $[0] is not the place where we might find the
3816 # original and so on. Autoconf is especially sensible to this).
3818 # Exit status is that of the last command.
3823 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3824 *c*,-n*) ECHO_N= ECHO_C='
3826 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3827 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3830 if expr a : '\(a\)' >/dev/null 2>&1; then
3836 rm -f conf$$ conf$$.exe conf$$.file
3838 if ln -s conf$$.file conf$$ 2>/dev/null; then
3839 # We could just check for DJGPP; but this test a) works b) is more generic
3840 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3841 if test -f conf$$.exe; then
3842 # Don't use ln at all; we don't have any links
3847 elif ln conf$$.file conf$$ 2>/dev/null; then
3852 rm -f conf$$ conf$$.exe conf$$.file
3854 as_executable_p="test -f"
3856 # Sed expression to map a string onto a valid CPP name.
3857 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3859 # Sed expression to map a string onto a valid variable name.
3860 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3864 # We need space, tab and new line, in precisely that order.
3870 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
3874 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3875 # report actual input values of CONFIG_FILES etc. instead of their
3876 # values after options handling. Logging --version etc. is OK.
3880 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3881 ## Running $as_me. ##
3886 This file was extended by libfirm $as_me 0.3.0, which was
3887 generated by GNU Autoconf 2.53. Invocation command line was
3889 CONFIG_FILES = $CONFIG_FILES
3890 CONFIG_HEADERS = $CONFIG_HEADERS
3891 CONFIG_LINKS = $CONFIG_LINKS
3892 CONFIG_COMMANDS = $CONFIG_COMMANDS
3896 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
3900 # Files that config.status was made for.
3901 if test -n "$ac_config_files"; then
3902 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
3905 if test -n "$ac_config_headers"; then
3906 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
3909 if test -n "$ac_config_links"; then
3910 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
3913 if test -n "$ac_config_commands"; then
3914 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
3917 cat >>$CONFIG_STATUS <<\_ACEOF
3920 \`$as_me' instantiates files from templates according to the
3921 current configuration.
3923 Usage: $0 [OPTIONS] [FILE]...
3925 -h, --help print this help, then exit
3926 -V, --version print version number, then exit
3927 -d, --debug don't remove temporary files
3928 --recheck update $as_me by reconfiguring in the same conditions
3929 --file=FILE[:TEMPLATE]
3930 instantiate the configuration file FILE
3931 --header=FILE[:TEMPLATE]
3932 instantiate the configuration header FILE
3934 Configuration files:
3937 Configuration headers:
3940 Configuration commands:
3943 Report bugs to <bug-autoconf@gnu.org>."
3946 cat >>$CONFIG_STATUS <<_ACEOF
3948 libfirm config.status 0.3.0
3949 configured by $0, generated by GNU Autoconf 2.53,
3950 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
3952 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
3953 Free Software Foundation, Inc.
3954 This config.status script is free software; the Free Software Foundation
3955 gives unlimited permission to copy, distribute and modify it."
3960 cat >>$CONFIG_STATUS <<\_ACEOF
3961 # If no file are specified by the user, then we need to provide default
3962 # value. By we need to know if files were specified by the user.
3968 ac_option=`expr "x$1" : 'x\([^=]*\)='`
3969 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
3971 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
3975 *) # This is not an option, so the user has probably given explicit
3977 ac_need_defaults=false;;
3981 # Handling of the options.
3983 cat >>$CONFIG_STATUS <<_ACEOF
3984 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3985 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
3986 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
3988 cat >>$CONFIG_STATUS <<\_ACEOF
3989 --version | --vers* | -V )
3990 echo "$ac_cs_version"; exit 0 ;;
3992 # Conflict between --help and --header
3993 { { echo "$as_me:$LINENO: error: ambiguous option: $1
3994 Try \`$0 --help' for more information." >&5
3995 echo "$as_me: error: ambiguous option: $1
3996 Try \`$0 --help' for more information." >&2;}
3997 { (exit 1); exit 1; }; };;
3998 --help | --hel | -h )
3999 echo "$ac_cs_usage"; exit 0 ;;
4000 --debug | --d* | -d )
4002 --file | --fil | --fi | --f )
4004 CONFIG_FILES="$CONFIG_FILES $1"
4005 ac_need_defaults=false;;
4006 --header | --heade | --head | --hea )
4008 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4009 ac_need_defaults=false;;
4012 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4013 Try \`$0 --help' for more information." >&5
4014 echo "$as_me: error: unrecognized option: $1
4015 Try \`$0 --help' for more information." >&2;}
4016 { (exit 1); exit 1; }; } ;;
4018 *) ac_config_targets="$ac_config_targets $1" ;;
4030 cat >>$CONFIG_STATUS <<\_ACEOF
4031 for ac_config_target in $ac_config_targets
4033 case "$ac_config_target" in
4034 # Handling of arguments.
4035 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
4036 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4037 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4038 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4039 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4040 { (exit 1); exit 1; }; };;
4044 # If the user did not use the arguments to specify the items to instantiate,
4045 # then the envvar interface is used. Set only those that are not.
4046 # We use the long form for the default assignment because of an extremely
4047 # bizarre bug on SunOS 4.1.3.
4048 if $ac_need_defaults; then
4049 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4050 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4051 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4054 # Create a temporary directory, and hook for its removal unless debugging.
4057 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4058 trap '{ (exit 1); exit 1; }' 1 2 13 15
4061 # Create a (secure) tmp directory for tmp files.
4064 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4065 test -n "$tmp" && test -d "$tmp"
4068 tmp=$TMPDIR/cs$$-$RANDOM
4069 (umask 077 && mkdir $tmp)
4072 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4073 { (exit 1); exit 1; }
4078 cat >>$CONFIG_STATUS <<_ACEOF
4081 # CONFIG_FILES section.
4084 # No need to generate the scripts if there are no CONFIG_FILES.
4085 # This happens for instance when ./config.status config.h
4086 if test -n "\$CONFIG_FILES"; then
4087 # Protect against being on the right side of a sed subst in config.status.
4088 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4089 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4090 s,@SHELL@,$SHELL,;t t
4091 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4092 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4093 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4094 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4095 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4096 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4097 s,@exec_prefix@,$exec_prefix,;t t
4098 s,@prefix@,$prefix,;t t
4099 s,@program_transform_name@,$program_transform_name,;t t
4100 s,@bindir@,$bindir,;t t
4101 s,@sbindir@,$sbindir,;t t
4102 s,@libexecdir@,$libexecdir,;t t
4103 s,@datadir@,$datadir,;t t
4104 s,@sysconfdir@,$sysconfdir,;t t
4105 s,@sharedstatedir@,$sharedstatedir,;t t
4106 s,@localstatedir@,$localstatedir,;t t
4107 s,@libdir@,$libdir,;t t
4108 s,@includedir@,$includedir,;t t
4109 s,@oldincludedir@,$oldincludedir,;t t
4110 s,@infodir@,$infodir,;t t
4111 s,@mandir@,$mandir,;t t
4112 s,@build_alias@,$build_alias,;t t
4113 s,@host_alias@,$host_alias,;t t
4114 s,@target_alias@,$target_alias,;t t
4116 s,@ECHO_C@,$ECHO_C,;t t
4117 s,@ECHO_N@,$ECHO_N,;t t
4118 s,@ECHO_T@,$ECHO_T,;t t
4120 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
4121 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
4122 s,@enable_gcc_inline@,$enable_gcc_inline,;t t
4123 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
4124 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
4125 s,@enable_firm_jni@,$enable_firm_jni,;t t
4127 s,@CFLAGS@,$CFLAGS,;t t
4128 s,@LDFLAGS@,$LDFLAGS,;t t
4129 s,@CPPFLAGS@,$CPPFLAGS,;t t
4130 s,@ac_ct_CC@,$ac_ct_CC,;t t
4131 s,@EXEEXT@,$EXEEXT,;t t
4132 s,@OBJEXT@,$OBJEXT,;t t
4134 s,@ac_ct_LD@,$ac_ct_LD,;t t
4135 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
4138 s,@RANLIB@,$RANLIB,;t t
4139 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4140 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4141 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4142 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4144 s,@DOXYGEN@,$DOXYGEN,;t t
4146 s,@JAVAC@,$JAVAC,;t t
4147 s,@JAVAH@,$JAVAH,;t t
4153 cat >>$CONFIG_STATUS <<\_ACEOF
4154 # Split the substitutions into bite-sized pieces for seds with
4155 # small command number limits, like on Digital OSF/1 and HP-UX.
4157 ac_sed_frag=1 # Number of current file.
4158 ac_beg=1 # First line for current file.
4159 ac_end=$ac_max_sed_lines # Line after last line for current file.
4162 while $ac_more_lines; do
4163 if test $ac_beg -gt 1; then
4164 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4166 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4168 if test ! -s $tmp/subs.frag; then
4171 # The purpose of the label and of the branching condition is to
4172 # speed up the sed processing (if there are no `@' at all, there
4173 # is no need to browse any of the substitutions).
4174 # These are the two extra sed commands mentioned above.
4176 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4177 if test -z "$ac_sed_cmds"; then
4178 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4180 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4182 ac_sed_frag=`expr $ac_sed_frag + 1`
4184 ac_end=`expr $ac_end + $ac_max_sed_lines`
4187 if test -z "$ac_sed_cmds"; then
4190 fi # test -n "$CONFIG_FILES"
4193 cat >>$CONFIG_STATUS <<\_ACEOF
4194 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4195 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4197 - | *:- | *:-:* ) # input from stdin
4199 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4200 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4201 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4202 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4203 * ) ac_file_in=$ac_file.in ;;
4206 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4207 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4208 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4209 X"$ac_file" : 'X\(//\)[^/]' \| \
4210 X"$ac_file" : 'X\(//\)$' \| \
4211 X"$ac_file" : 'X\(/\)' \| \
4212 . : '\(.\)' 2>/dev/null ||
4214 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4215 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4216 /^X\(\/\/\)$/{ s//\1/; q; }
4217 /^X\(\/\).*/{ s//\1/; q; }
4220 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4224 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4225 case $as_mkdir_dir in
4226 # Skip DOS drivespec
4227 ?:) as_incr_dir=$as_mkdir_dir ;;
4229 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4230 test -d "$as_incr_dir" ||
4231 mkdir "$as_incr_dir" ||
4232 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4233 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4234 { (exit 1); exit 1; }; }
4241 if test "$ac_dir" != .; then
4242 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4243 # A "../" for each directory in $ac_dir_suffix.
4244 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4246 ac_dir_suffix= ac_top_builddir=
4250 .) # No --srcdir option. We are building in place.
4252 if test -z "$ac_top_builddir"; then
4255 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4257 [\\/]* | ?:[\\/]* ) # Absolute path.
4258 ac_srcdir=$srcdir$ac_dir_suffix;
4259 ac_top_srcdir=$srcdir ;;
4261 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4262 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4264 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4266 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4267 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4268 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4269 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4273 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4274 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4277 if test x"$ac_file" != x-; then
4278 { echo "$as_me:$LINENO: creating $ac_file" >&5
4279 echo "$as_me: creating $ac_file" >&6;}
4282 # Let's still pretend it is `configure' which instantiates (i.e., don't
4283 # use $as_me), people would be surprised to read:
4284 # /* config.h. Generated by config.status. */
4285 if test x"$ac_file" = x-; then
4288 configure_input="$ac_file. "
4290 configure_input=$configure_input"Generated from `echo $ac_file_in |
4291 sed 's,.*/,,'` by configure."
4293 # First look for the input files in the build tree, otherwise in the
4295 ac_file_inputs=`IFS=:
4296 for f in $ac_file_in; do
4298 -) echo $tmp/stdin ;;
4300 # Absolute (can't be DOS-style, as IFS=:)
4301 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4302 echo "$as_me: error: cannot find input file: $f" >&2;}
4303 { (exit 1); exit 1; }; }
4306 if test -f "$f"; then
4309 elif test -f "$srcdir/$f"; then
4314 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4315 echo "$as_me: error: cannot find input file: $f" >&2;}
4316 { (exit 1); exit 1; }; }
4319 done` || { (exit 1); exit 1; }
4321 cat >>$CONFIG_STATUS <<_ACEOF
4325 cat >>$CONFIG_STATUS <<\_ACEOF
4327 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4328 s,@configure_input@,$configure_input,;t t
4329 s,@srcdir@,$ac_srcdir,;t t
4330 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4331 s,@top_srcdir@,$ac_top_srcdir,;t t
4332 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4333 s,@builddir@,$ac_builddir,;t t
4334 s,@abs_builddir@,$ac_abs_builddir,;t t
4335 s,@top_builddir@,$ac_top_builddir,;t t
4336 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4337 s,@INSTALL@,$ac_INSTALL,;t t
4338 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4340 if test x"$ac_file" != x-; then
4341 mv $tmp/out $ac_file
4349 cat >>$CONFIG_STATUS <<\_ACEOF
4352 # CONFIG_HEADER section.
4355 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4356 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4358 # ac_d sets the value in "#define NAME VALUE" lines.
4359 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4360 ac_dB='[ ].*$,\1#\2'
4363 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4364 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4365 ac_uB='$,\1#\2define\3'
4369 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4370 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4372 - | *:- | *:-:* ) # input from stdin
4374 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4375 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4376 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4377 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4378 * ) ac_file_in=$ac_file.in ;;
4381 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4382 echo "$as_me: creating $ac_file" >&6;}
4384 # First look for the input files in the build tree, otherwise in the
4386 ac_file_inputs=`IFS=:
4387 for f in $ac_file_in; do
4389 -) echo $tmp/stdin ;;
4391 # Absolute (can't be DOS-style, as IFS=:)
4392 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4393 echo "$as_me: error: cannot find input file: $f" >&2;}
4394 { (exit 1); exit 1; }; }
4397 if test -f "$f"; then
4400 elif test -f "$srcdir/$f"; then
4405 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4406 echo "$as_me: error: cannot find input file: $f" >&2;}
4407 { (exit 1); exit 1; }; }
4410 done` || { (exit 1); exit 1; }
4411 # Remove the trailing spaces.
4412 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4416 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4417 # `conftest.undefs', that substitutes the proper values into
4418 # config.h.in to produce config.h. The first handles `#define'
4419 # templates, and the second `#undef' templates.
4420 # And first: Protect against being on the right side of a sed subst in
4421 # config.status. Protect against being in an unquoted here document
4423 rm -f conftest.defines conftest.undefs
4424 # Using a here document instead of a string reduces the quoting nightmare.
4425 # Putting comments in sed scripts is not portable.
4427 # `end' is used to avoid that the second main sed command (meant for
4428 # 0-ary CPP macros) applies to n-ary macro definitions.
4429 # See the Autoconf documentation for `clear'.
4430 cat >confdef2sed.sed <<\_ACEOF
4435 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4437 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4440 # If some macros were called several times there might be several times
4441 # the same #defines, which is useless. Nevertheless, we may not want to
4442 # sort them, since we want the *last* AC-DEFINE to be honored.
4443 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4444 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4445 rm -f confdef2sed.sed
4447 # This sed command replaces #undef with comments. This is necessary, for
4448 # example, in the case of _POSIX_SOURCE, which is predefined and required
4449 # on some systems where configure will not decide to define it.
4450 cat >>conftest.undefs <<\_ACEOF
4451 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4454 # Break up conftest.defines because some shells have a limit on the size
4455 # of here documents, and old seds have small limits too (100 cmds).
4456 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4457 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4458 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4459 echo ' :' >>$CONFIG_STATUS
4461 while grep . conftest.defines >/dev/null
4463 # Write a limited-size here document to $tmp/defines.sed.
4464 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4465 # Speed up: don't consider the non `#define' lines.
4466 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4467 # Work around the forget-to-reset-the-flag bug.
4468 echo 't clr' >>$CONFIG_STATUS
4469 echo ': clr' >>$CONFIG_STATUS
4470 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4472 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4476 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4477 rm -f conftest.defines
4478 mv conftest.tail conftest.defines
4480 rm -f conftest.defines
4481 echo ' fi # egrep' >>$CONFIG_STATUS
4482 echo >>$CONFIG_STATUS
4484 # Break up conftest.undefs because some shells have a limit on the size
4485 # of here documents, and old seds have small limits too (100 cmds).
4486 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4488 while grep . conftest.undefs >/dev/null
4490 # Write a limited-size here document to $tmp/undefs.sed.
4491 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4492 # Speed up: don't consider the non `#undef'
4493 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4494 # Work around the forget-to-reset-the-flag bug.
4495 echo 't clr' >>$CONFIG_STATUS
4496 echo ': clr' >>$CONFIG_STATUS
4497 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4499 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4503 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4504 rm -f conftest.undefs
4505 mv conftest.tail conftest.undefs
4507 rm -f conftest.undefs
4509 cat >>$CONFIG_STATUS <<\_ACEOF
4510 # Let's still pretend it is `configure' which instantiates (i.e., don't
4511 # use $as_me), people would be surprised to read:
4512 # /* config.h. Generated by config.status. */
4513 if test x"$ac_file" = x-; then
4514 echo "/* Generated by configure. */" >$tmp/config.h
4516 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4518 cat $tmp/in >>$tmp/config.h
4520 if test x"$ac_file" != x-; then
4521 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4522 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4523 echo "$as_me: $ac_file is unchanged" >&6;}
4525 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4526 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4527 X"$ac_file" : 'X\(//\)[^/]' \| \
4528 X"$ac_file" : 'X\(//\)$' \| \
4529 X"$ac_file" : 'X\(/\)' \| \
4530 . : '\(.\)' 2>/dev/null ||
4532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4533 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4534 /^X\(\/\/\)$/{ s//\1/; q; }
4535 /^X\(\/\).*/{ s//\1/; q; }
4538 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4542 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4543 case $as_mkdir_dir in
4544 # Skip DOS drivespec
4545 ?:) as_incr_dir=$as_mkdir_dir ;;
4547 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4548 test -d "$as_incr_dir" ||
4549 mkdir "$as_incr_dir" ||
4550 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4551 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4552 { (exit 1); exit 1; }; }
4558 mv $tmp/config.h $ac_file
4566 cat >>$CONFIG_STATUS <<\_ACEOF
4569 # CONFIG_COMMANDS section.
4571 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4572 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4573 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4574 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4575 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4576 X"$ac_dest" : 'X\(//\)[^/]' \| \
4577 X"$ac_dest" : 'X\(//\)$' \| \
4578 X"$ac_dest" : 'X\(/\)' \| \
4579 . : '\(.\)' 2>/dev/null ||
4581 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4582 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4583 /^X\(\/\/\)$/{ s//\1/; q; }
4584 /^X\(\/\).*/{ s//\1/; q; }
4588 if test "$ac_dir" != .; then
4589 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4590 # A "../" for each directory in $ac_dir_suffix.
4591 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4593 ac_dir_suffix= ac_top_builddir=
4597 .) # No --srcdir option. We are building in place.
4599 if test -z "$ac_top_builddir"; then
4602 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4604 [\\/]* | ?:[\\/]* ) # Absolute path.
4605 ac_srcdir=$srcdir$ac_dir_suffix;
4606 ac_top_srcdir=$srcdir ;;
4608 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4609 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4611 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4613 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4614 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4615 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4616 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4619 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4620 echo "$as_me: executing $ac_dest commands" >&6;}
4622 default ) touch stamp-h ;;
4627 cat >>$CONFIG_STATUS <<\_ACEOF
4629 { (exit 0); exit 0; }
4631 chmod +x $CONFIG_STATUS
4632 ac_clean_files=$ac_clean_files_save
4635 # configure is writing to config.log, and then calls config.status.
4636 # config.status does its own redirection, appending to config.log.
4637 # Unfortunately, on DOS this fails, as config.log is still kept open
4638 # by configure, so config.status won't be able to write to it; its
4639 # output is simply discarded. So we exec the FD to /dev/null,
4640 # effectively closing config.log, so it can be properly (re)opened and
4641 # appended to by config.status. When coming back to configure, we
4642 # need to make the FD available again.
4643 if test "$no_create" != yes; then
4646 $SHELL $CONFIG_STATUS || ac_cs_success=false
4648 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4649 # would make configure fail if this is the last instruction.
4650 $ac_cs_success || { (exit 1); exit 1; }