2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.53 for libfirm 0.3.0.
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
11 if expr a : '\(a\)' >/dev/null 2>&1; then
18 ## --------------------- ##
19 ## M4sh Initialization. ##
20 ## --------------------- ##
22 # Be Bourne compatible
23 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31 # Support unset when possible.
32 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
38 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
39 { $as_unset LANG || test "${LANG+set}" != set; } ||
40 { LANG=C; export LANG; }
41 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
42 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
43 { LC_ALL=C; export LC_ALL; }
44 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
45 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
46 { LC_TIME=C; export LC_TIME; }
47 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
48 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
49 { LC_CTYPE=C; export LC_CTYPE; }
50 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
51 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
52 { LANGUAGE=C; export LANGUAGE; }
53 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
54 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
55 { LC_COLLATE=C; export LC_COLLATE; }
56 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
57 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
58 { LC_NUMERIC=C; export LC_NUMERIC; }
59 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
60 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
61 { LC_MESSAGES=C; export LC_MESSAGES; }
64 # Name of the executable.
65 as_me=`(basename "$0") 2>/dev/null ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
76 # PATH needs CR, and LINENO needs CR and PATH.
77 # Avoid depending upon Character Ranges.
78 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81 as_cr_digits='0123456789'
82 as_cr_alnum=$as_cr_Letters$as_cr_digits
84 # The user is always right.
85 if test "${PATH_SEPARATOR+set}" != set; then
86 echo "#! /bin/sh" >conftest.sh
87 echo "exit 0" >>conftest.sh
89 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
100 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
101 test "x$as_lineno_1" != "x$as_lineno_2" &&
102 test "x$as_lineno_3" = "x$as_lineno_2" || {
103 # Find who we are. Look in the path if we contain no path at all
106 *[\\/]* ) as_myself=$0 ;;
107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 test -z "$as_dir" && as_dir=.
112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 # We did not find ourselves, most probably we were run as `sh COMMAND'
118 # in which case we are not to be found in the path.
119 if test "x$as_myself" = x; then
122 if test ! -f "$as_myself"; then
123 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
124 { (exit 1); exit 1; }; }
126 case $CONFIG_SHELL in
128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
129 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 test -z "$as_dir" && as_dir=.
133 for as_base in sh bash ksh sh5; do
136 if ("$as_dir/$as_base" -c '
139 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
140 test "x$as_lineno_1" != "x$as_lineno_2" &&
141 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
142 CONFIG_SHELL=$as_dir/$as_base
144 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
153 # uniformly replaced by the line number. The first 'sed' inserts a
154 # line-number line before each line; the second 'sed' does the real
155 # work. The second script uses 'N' to pair each line-number line
156 # with the numbered line, and appends trailing '-' during
157 # substitution so that $LINENO is not a special case at line end.
158 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
159 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
160 sed '=' <$as_myself |
165 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
168 s,^['$as_cr_digits']*\n,,
170 chmod +x $as_me.lineno ||
171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
172 { (exit 1); exit 1; }; }
174 # Don't try to exec as it changes $[0], causing all sort of problems
175 # (the dirname of $[0] is not the place where we might find the
176 # original and so on. Autoconf is especially sensible to this).
178 # Exit status is that of the last command.
183 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
184 *c*,-n*) ECHO_N= ECHO_C='
186 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
187 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
190 if expr a : '\(a\)' >/dev/null 2>&1; then
196 rm -f conf$$ conf$$.exe conf$$.file
198 if ln -s conf$$.file conf$$ 2>/dev/null; then
199 # We could just check for DJGPP; but this test a) works b) is more generic
200 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
201 if test -f conf$$.exe; then
202 # Don't use ln at all; we don't have any links
207 elif ln conf$$.file conf$$ 2>/dev/null; then
212 rm -f conf$$ conf$$.exe conf$$.file
214 as_executable_p="test -f"
216 # Sed expression to map a string onto a valid CPP name.
217 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
219 # Sed expression to map a string onto a valid variable name.
220 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
224 # We need space, tab and new line, in precisely that order.
230 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
234 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
235 # so uname gets run too.
236 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
243 ac_default_prefix=/usr/local
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Maximum number of lines to put in a shell here document.
251 # This variable seems obsolete. It should probably be removed, and
252 # only ac_max_sed_lines should be used.
253 : ${ac_max_here_lines=38}
255 # Identity of this package.
256 PACKAGE_NAME='libfirm'
257 PACKAGE_TARNAME='libfirm'
258 PACKAGE_VERSION='0.3.0'
259 PACKAGE_STRING='libfirm 0.3.0'
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures libfirm 0.3.0 to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
818 if test -n "$ac_init_help"; then
819 case $ac_init_help in
820 short | recursive ) echo "Configuration of libfirm 0.3.0:";;
825 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
826 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
827 --enable-debug enable assertions and additional debugging routines
828 --disable-inlining disable inline C-extension
829 --enable-profile enable profiling
830 --enable-autodoc enable auto documentation
831 --enable-firmjni check for tools necesarry to construct a java native interface for Firm
832 --disable-libiberty disable own libiberty parts
833 --enable-statistics enable Firm statistics
836 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
837 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
838 --with-includedir=add colon seperated list of directories to include search path
839 --with-libdir=add colon seperated list of directories to linker search path
841 Some influential environment variables:
842 CC C compiler command
843 CFLAGS C compiler flags
844 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
845 nonstandard directory <lib dir>
846 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
847 headers in a nonstandard directory <include dir>
850 Use these variables to override the choices made by `configure' or to help
851 it to find libraries and programs with nonstandard names/locations.
856 if test "$ac_init_help" = "recursive"; then
857 # If there are subdirs, report their specific --help.
859 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
860 test -d $ac_dir || continue
863 if test "$ac_dir" != .; then
864 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
865 # A "../" for each directory in $ac_dir_suffix.
866 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
868 ac_dir_suffix= ac_top_builddir=
872 .) # No --srcdir option. We are building in place.
874 if test -z "$ac_top_builddir"; then
877 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
879 [\\/]* | ?:[\\/]* ) # Absolute path.
880 ac_srcdir=$srcdir$ac_dir_suffix;
881 ac_top_srcdir=$srcdir ;;
883 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
884 ac_top_srcdir=$ac_top_builddir$srcdir ;;
886 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
888 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
889 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
890 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
891 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
894 # Check for guested configure; otherwise get Cygnus style configure.
895 if test -f $ac_srcdir/configure.gnu; then
897 $SHELL $ac_srcdir/configure.gnu --help=recursive
898 elif test -f $ac_srcdir/configure; then
900 $SHELL $ac_srcdir/configure --help=recursive
901 elif test -f $ac_srcdir/configure.ac ||
902 test -f $ac_srcdir/configure.in; then
906 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
912 test -n "$ac_init_help" && exit 0
913 if $ac_init_version; then
915 libfirm configure 0.3.0
916 generated by GNU Autoconf 2.53
918 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
919 Free Software Foundation, Inc.
920 This configure script is free software; the Free Software Foundation
921 gives unlimited permission to copy, distribute and modify it.
927 This file contains any messages produced by compilers while
928 running configure, to aid debugging if configure makes a mistake.
930 It was created by libfirm $as_me 0.3.0, which was
931 generated by GNU Autoconf 2.53. Invocation command line was
942 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
943 uname -m = `(uname -m) 2>/dev/null || echo unknown`
944 uname -r = `(uname -r) 2>/dev/null || echo unknown`
945 uname -s = `(uname -s) 2>/dev/null || echo unknown`
946 uname -v = `(uname -v) 2>/dev/null || echo unknown`
948 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
949 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
951 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
952 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
953 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
954 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
955 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
956 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
957 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
965 test -z "$as_dir" && as_dir=.
981 # Keep a trace of the command line.
982 # Strip out --no-create and --no-recursion so they do not pile up.
983 # Also quote any args containing shell meta-characters.
989 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
990 | --no-cr | --no-c | -n ) continue ;;
991 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
992 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
994 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
995 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
997 case " $ac_configure_args " in
998 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
999 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1002 # Get rid of the leading space.
1005 # When interrupted or exit'd, cleanup temporary files, and complete
1006 # config.log. We remove comments because anyway the quotes in there
1007 # would cause problems or look ugly.
1008 # WARNING: Be sure not to use single quotes in there, as some shells,
1009 # such as our DU 5.0 friend, will then `close' the trap.
1010 trap 'exit_status=$?
1011 # Save into config.log some information that might help in debugging.
1015 ## ---------------- ##
1016 ## Cache variables. ##
1017 ## ---------------- ##
1020 # The following way of writing the cache mishandles newlines in values,
1023 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1026 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1027 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1031 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1036 if test -s confdefs.h; then
1043 sed "/^$/d" confdefs.h
1046 test "$ac_signal" != 0 &&
1047 echo "$as_me: caught signal $ac_signal"
1048 echo "$as_me: exit $exit_status"
1050 rm -f core core.* *.core &&
1051 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1054 for ac_signal in 1 2 13 15; do
1055 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1059 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1060 rm -rf conftest* confdefs.h
1061 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1064 # Predefined preprocessor variables.
1066 cat >>confdefs.h <<_ACEOF
1067 #define PACKAGE_NAME "$PACKAGE_NAME"
1071 cat >>confdefs.h <<_ACEOF
1072 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1076 cat >>confdefs.h <<_ACEOF
1077 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1081 cat >>confdefs.h <<_ACEOF
1082 #define PACKAGE_STRING "$PACKAGE_STRING"
1086 cat >>confdefs.h <<_ACEOF
1087 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1091 # Let the site file select an alternate cache file if it wants to.
1092 # Prefer explicitly selected file to automatically selected ones.
1093 if test -z "$CONFIG_SITE"; then
1094 if test "x$prefix" != xNONE; then
1095 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1097 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1100 for ac_site_file in $CONFIG_SITE; do
1101 if test -r "$ac_site_file"; then
1102 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1103 echo "$as_me: loading site script $ac_site_file" >&6;}
1104 sed 's/^/| /' "$ac_site_file" >&5
1109 if test -r "$cache_file"; then
1110 # Some versions of bash will fail to source /dev/null (special
1111 # files actually), so we avoid doing that.
1112 if test -f "$cache_file"; then
1113 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1114 echo "$as_me: loading cache $cache_file" >&6;}
1116 [\\/]* | ?:[\\/]* ) . $cache_file;;
1117 *) . ./$cache_file;;
1121 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1122 echo "$as_me: creating cache $cache_file" >&6;}
1126 # Check that the precious variables saved in the cache have kept the same
1128 ac_cache_corrupted=false
1129 for ac_var in `(set) 2>&1 |
1130 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1131 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1132 eval ac_new_set=\$ac_env_${ac_var}_set
1133 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1134 eval ac_new_val="\$ac_env_${ac_var}_value"
1135 case $ac_old_set,$ac_new_set in
1137 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1138 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1139 ac_cache_corrupted=: ;;
1141 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1142 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1143 ac_cache_corrupted=: ;;
1146 if test "x$ac_old_val" != "x$ac_new_val"; then
1147 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1148 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1149 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1150 echo "$as_me: former value: $ac_old_val" >&2;}
1151 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1152 echo "$as_me: current value: $ac_new_val" >&2;}
1153 ac_cache_corrupted=:
1156 # Pass precious variables to config.status.
1157 if test "$ac_new_set" = set; then
1159 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1160 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1161 *) ac_arg=$ac_var=$ac_new_val ;;
1163 case " $ac_configure_args " in
1164 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1165 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1169 if $ac_cache_corrupted; then
1170 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1171 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1172 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1173 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1174 { (exit 1); exit 1; }; }
1178 ac_cpp='$CPP $CPPFLAGS'
1179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1209 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1210 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1211 ir/ana/Makefile ir/tr/Makefile ir/st/Makefile ir/stat/Makefile \
1212 testprograms/Makefile firmjni/Makefile firmjni/testprograms/Makefile \
1215 ac_config_headers="$ac_config_headers config.h"
1218 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1222 # Check whether --with-includedir or --without-includedir was given.
1223 if test "${with_includedir+set}" = set; then
1224 withval="$with_includedir"
1225 CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1231 # Check whether --with-libdir or --without-libdir was given.
1232 if test "${with_libdir+set}" = set; then
1233 withval="$with_libdir"
1234 LDFLAGS=$LDFLAGS" -L"`echo $withval|sed 's;\:; -L;g'`
1240 # Check whether --enable-debug or --disable-debug was given.
1241 if test "${enable_debug+set}" = set; then
1242 enableval="$enable_debug"
1243 if test "$enableval" = yes; then
1244 cat >>confdefs.h <<\_ACEOF
1245 #define DEBUG_libfirm 1
1249 cat >>confdefs.h <<\_ACEOF
1257 # Check whether --enable-inlining or --disable-inlining was given.
1258 if test "${enable_inlining+set}" = set; then
1259 enableval="$enable_inlining"
1260 if test "$enableval" = yes; then
1261 cat >>confdefs.h <<\_ACEOF
1262 #define USE_INLINING 1
1267 cat >>confdefs.h <<\_ACEOF
1268 #define USE_INLINING 1
1274 # Check whether --enable-profile or --disable-profile was given.
1275 if test "${enable_profile+set}" = set; then
1276 enableval="$enable_profile"
1277 if test "$enableval"=yes; then
1278 enable_profile_libfirm=yes
1281 enable_profile_libfirm=no
1285 # Check whether --enable-autodoc or --disable-autodoc was given.
1286 if test "${enable_autodoc+set}" = set; then
1287 enableval="$enable_autodoc"
1288 if test "$enableval"=yes; then
1289 enable_auto_documentation=yes
1292 enable_auto_documentation=no
1297 # Check whether --enable-firmjni or --disable-firmjni was given.
1298 if test "${enable_firmjni+set}" = set; then
1299 enableval="$enable_firmjni"
1300 if test "$enableval"=yes; then
1308 # Check whether --enable-libiberty or --disable-libiberty was given.
1309 if test "${enable_libiberty+set}" = set; then
1310 enableval="$enable_libiberty"
1311 if test "$enableval"=yes; then
1312 disable_libiberty_=yes
1315 disable_libiberty=no
1319 # Check whether --enable-statistics or --disable-statistics was given.
1320 if test "${enable_statistics+set}" = set; then
1321 enableval="$enable_statistics"
1322 if test "$enableval"=yes; then
1323 cat >>confdefs.h <<\_ACEOF
1324 #define FIRM_STATISTICS 1
1333 ac_cpp='$CPP $CPPFLAGS'
1334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1337 if test -n "$ac_tool_prefix"; then
1338 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1339 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1340 echo "$as_me:$LINENO: checking for $ac_word" >&5
1341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1342 if test "${ac_cv_prog_CC+set}" = set; then
1343 echo $ECHO_N "(cached) $ECHO_C" >&6
1345 if test -n "$CC"; then
1346 ac_cv_prog_CC="$CC" # Let the user override the test.
1348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1352 test -z "$as_dir" && as_dir=.
1353 for ac_exec_ext in '' $ac_executable_extensions; do
1354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1355 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1365 if test -n "$CC"; then
1366 echo "$as_me:$LINENO: result: $CC" >&5
1367 echo "${ECHO_T}$CC" >&6
1369 echo "$as_me:$LINENO: result: no" >&5
1370 echo "${ECHO_T}no" >&6
1374 if test -z "$ac_cv_prog_CC"; then
1376 # Extract the first word of "gcc", so it can be a program name with args.
1377 set dummy gcc; ac_word=$2
1378 echo "$as_me:$LINENO: checking for $ac_word" >&5
1379 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1380 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1381 echo $ECHO_N "(cached) $ECHO_C" >&6
1383 if test -n "$ac_ct_CC"; then
1384 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1390 test -z "$as_dir" && as_dir=.
1391 for ac_exec_ext in '' $ac_executable_extensions; do
1392 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1393 ac_cv_prog_ac_ct_CC="gcc"
1394 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1402 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1403 if test -n "$ac_ct_CC"; then
1404 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1405 echo "${ECHO_T}$ac_ct_CC" >&6
1407 echo "$as_me:$LINENO: result: no" >&5
1408 echo "${ECHO_T}no" >&6
1416 if test -z "$CC"; then
1417 if test -n "$ac_tool_prefix"; then
1418 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1419 set dummy ${ac_tool_prefix}cc; ac_word=$2
1420 echo "$as_me:$LINENO: checking for $ac_word" >&5
1421 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1422 if test "${ac_cv_prog_CC+set}" = set; then
1423 echo $ECHO_N "(cached) $ECHO_C" >&6
1425 if test -n "$CC"; then
1426 ac_cv_prog_CC="$CC" # Let the user override the test.
1428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1432 test -z "$as_dir" && as_dir=.
1433 for ac_exec_ext in '' $ac_executable_extensions; do
1434 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1435 ac_cv_prog_CC="${ac_tool_prefix}cc"
1436 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1445 if test -n "$CC"; then
1446 echo "$as_me:$LINENO: result: $CC" >&5
1447 echo "${ECHO_T}$CC" >&6
1449 echo "$as_me:$LINENO: result: no" >&5
1450 echo "${ECHO_T}no" >&6
1454 if test -z "$ac_cv_prog_CC"; then
1456 # Extract the first word of "cc", so it can be a program name with args.
1457 set dummy cc; ac_word=$2
1458 echo "$as_me:$LINENO: checking for $ac_word" >&5
1459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1460 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1463 if test -n "$ac_ct_CC"; then
1464 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1470 test -z "$as_dir" && as_dir=.
1471 for ac_exec_ext in '' $ac_executable_extensions; do
1472 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1473 ac_cv_prog_ac_ct_CC="cc"
1474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1482 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1483 if test -n "$ac_ct_CC"; then
1484 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1485 echo "${ECHO_T}$ac_ct_CC" >&6
1487 echo "$as_me:$LINENO: result: no" >&5
1488 echo "${ECHO_T}no" >&6
1497 if test -z "$CC"; then
1498 # Extract the first word of "cc", so it can be a program name with args.
1499 set dummy cc; ac_word=$2
1500 echo "$as_me:$LINENO: checking for $ac_word" >&5
1501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1502 if test "${ac_cv_prog_CC+set}" = set; then
1503 echo $ECHO_N "(cached) $ECHO_C" >&6
1505 if test -n "$CC"; then
1506 ac_cv_prog_CC="$CC" # Let the user override the test.
1509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1513 test -z "$as_dir" && as_dir=.
1514 for ac_exec_ext in '' $ac_executable_extensions; do
1515 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1516 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1517 ac_prog_rejected=yes
1521 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1527 if test $ac_prog_rejected = yes; then
1528 # We found a bogon in the path, so make sure we never use it.
1529 set dummy $ac_cv_prog_CC
1531 if test $# != 0; then
1532 # We chose a different compiler from the bogus one.
1533 # However, it has the same basename, so the bogon will be chosen
1534 # first if we set CC to just the basename; use the full file name.
1536 set dummy "$as_dir/$ac_word" ${1+"$@"}
1544 if test -n "$CC"; then
1545 echo "$as_me:$LINENO: result: $CC" >&5
1546 echo "${ECHO_T}$CC" >&6
1548 echo "$as_me:$LINENO: result: no" >&5
1549 echo "${ECHO_T}no" >&6
1553 if test -z "$CC"; then
1554 if test -n "$ac_tool_prefix"; then
1557 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1558 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1559 echo "$as_me:$LINENO: checking for $ac_word" >&5
1560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1561 if test "${ac_cv_prog_CC+set}" = set; then
1562 echo $ECHO_N "(cached) $ECHO_C" >&6
1564 if test -n "$CC"; then
1565 ac_cv_prog_CC="$CC" # Let the user override the test.
1567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1571 test -z "$as_dir" && as_dir=.
1572 for ac_exec_ext in '' $ac_executable_extensions; do
1573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1574 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1584 if test -n "$CC"; then
1585 echo "$as_me:$LINENO: result: $CC" >&5
1586 echo "${ECHO_T}$CC" >&6
1588 echo "$as_me:$LINENO: result: no" >&5
1589 echo "${ECHO_T}no" >&6
1592 test -n "$CC" && break
1595 if test -z "$CC"; then
1599 # Extract the first word of "$ac_prog", so it can be a program name with args.
1600 set dummy $ac_prog; ac_word=$2
1601 echo "$as_me:$LINENO: checking for $ac_word" >&5
1602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1603 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1604 echo $ECHO_N "(cached) $ECHO_C" >&6
1606 if test -n "$ac_ct_CC"; then
1607 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1613 test -z "$as_dir" && as_dir=.
1614 for ac_exec_ext in '' $ac_executable_extensions; do
1615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1616 ac_cv_prog_ac_ct_CC="$ac_prog"
1617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1626 if test -n "$ac_ct_CC"; then
1627 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1628 echo "${ECHO_T}$ac_ct_CC" >&6
1630 echo "$as_me:$LINENO: result: no" >&5
1631 echo "${ECHO_T}no" >&6
1634 test -n "$ac_ct_CC" && break
1643 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1644 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1645 { (exit 1); exit 1; }; }
1647 # Provide some information about the compiler.
1648 echo "$as_me:$LINENO:" \
1649 "checking for C compiler version" >&5
1650 ac_compiler=`set X $ac_compile; echo $2`
1651 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1652 (eval $ac_compiler --version </dev/null >&5) 2>&5
1654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1655 (exit $ac_status); }
1656 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1657 (eval $ac_compiler -v </dev/null >&5) 2>&5
1659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1660 (exit $ac_status); }
1661 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1662 (eval $ac_compiler -V </dev/null >&5) 2>&5
1664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1665 (exit $ac_status); }
1667 cat >conftest.$ac_ext <<_ACEOF
1668 #line $LINENO "configure"
1669 #include "confdefs.h"
1671 #ifdef F77_DUMMY_MAIN
1675 int F77_DUMMY_MAIN() { return 1; }
1685 ac_clean_files_save=$ac_clean_files
1686 ac_clean_files="$ac_clean_files a.out a.exe"
1687 # Try to create an executable without -o first, disregard a.out.
1688 # It will help us diagnose broken compilers, and finding out an intuition
1690 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1691 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1692 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1693 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1694 (eval $ac_link_default) 2>&5
1696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1697 (exit $ac_status); }; then
1698 # Find the output, starting from the most likely. This scheme is
1699 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1702 # Be careful to initialize this variable, since it used to be cached.
1703 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1705 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1706 ls a.out conftest 2>/dev/null;
1707 ls a.* conftest.* 2>/dev/null`; do
1709 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1710 a.out ) # We found the default executable, but exeext='' is most
1713 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1714 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1721 echo "$as_me: failed program was:" >&5
1722 cat conftest.$ac_ext >&5
1723 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1724 echo "$as_me: error: C compiler cannot create executables" >&2;}
1725 { (exit 77); exit 77; }; }
1728 ac_exeext=$ac_cv_exeext
1729 echo "$as_me:$LINENO: result: $ac_file" >&5
1730 echo "${ECHO_T}$ac_file" >&6
1732 # Check the compiler produces executables we can run. If not, either
1733 # the compiler is broken, or we cross compile.
1734 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1735 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1736 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1737 # If not cross compiling, check that we can run a simple program.
1738 if test "$cross_compiling" != yes; then
1739 if { ac_try='./$ac_file'
1740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1744 (exit $ac_status); }; }; then
1747 if test "$cross_compiling" = maybe; then
1750 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1751 If you meant to cross compile, use \`--host'." >&5
1752 echo "$as_me: error: cannot run C compiled programs.
1753 If you meant to cross compile, use \`--host'." >&2;}
1754 { (exit 1); exit 1; }; }
1758 echo "$as_me:$LINENO: result: yes" >&5
1759 echo "${ECHO_T}yes" >&6
1761 rm -f a.out a.exe conftest$ac_cv_exeext
1762 ac_clean_files=$ac_clean_files_save
1763 # Check the compiler produces executables we can run. If not, either
1764 # the compiler is broken, or we cross compile.
1765 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1766 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1767 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1768 echo "${ECHO_T}$cross_compiling" >&6
1770 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1771 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1773 (eval $ac_link) 2>&5
1775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1776 (exit $ac_status); }; then
1777 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1778 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1779 # work properly (i.e., refer to `conftest.exe'), while it won't with
1781 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1783 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1784 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1791 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1792 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1793 { (exit 1); exit 1; }; }
1796 rm -f conftest$ac_cv_exeext
1797 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1798 echo "${ECHO_T}$ac_cv_exeext" >&6
1800 rm -f conftest.$ac_ext
1801 EXEEXT=$ac_cv_exeext
1803 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1804 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1805 if test "${ac_cv_objext+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 cat >conftest.$ac_ext <<_ACEOF
1809 #line $LINENO "configure"
1810 #include "confdefs.h"
1812 #ifdef F77_DUMMY_MAIN
1816 int F77_DUMMY_MAIN() { return 1; }
1826 rm -f conftest.o conftest.obj
1827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1828 (eval $ac_compile) 2>&5
1830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1831 (exit $ac_status); }; then
1832 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1834 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1835 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1840 echo "$as_me: failed program was:" >&5
1841 cat conftest.$ac_ext >&5
1842 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1843 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1844 { (exit 1); exit 1; }; }
1847 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1849 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1850 echo "${ECHO_T}$ac_cv_objext" >&6
1851 OBJEXT=$ac_cv_objext
1853 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1854 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1855 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1856 echo $ECHO_N "(cached) $ECHO_C" >&6
1858 cat >conftest.$ac_ext <<_ACEOF
1859 #line $LINENO "configure"
1860 #include "confdefs.h"
1862 #ifdef F77_DUMMY_MAIN
1866 int F77_DUMMY_MAIN() { return 1; }
1879 rm -f conftest.$ac_objext
1880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1881 (eval $ac_compile) 2>&5
1883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1884 (exit $ac_status); } &&
1885 { ac_try='test -s conftest.$ac_objext'
1886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1890 (exit $ac_status); }; }; then
1893 echo "$as_me: failed program was:" >&5
1894 cat conftest.$ac_ext >&5
1897 rm -f conftest.$ac_objext conftest.$ac_ext
1898 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1901 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1902 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1903 GCC=`test $ac_compiler_gnu = yes && echo yes`
1904 ac_test_CFLAGS=${CFLAGS+set}
1905 ac_save_CFLAGS=$CFLAGS
1907 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1908 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1909 if test "${ac_cv_prog_cc_g+set}" = set; then
1910 echo $ECHO_N "(cached) $ECHO_C" >&6
1912 cat >conftest.$ac_ext <<_ACEOF
1913 #line $LINENO "configure"
1914 #include "confdefs.h"
1916 #ifdef F77_DUMMY_MAIN
1920 int F77_DUMMY_MAIN() { return 1; }
1930 rm -f conftest.$ac_objext
1931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1932 (eval $ac_compile) 2>&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); } &&
1936 { ac_try='test -s conftest.$ac_objext'
1937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1941 (exit $ac_status); }; }; then
1944 echo "$as_me: failed program was:" >&5
1945 cat conftest.$ac_ext >&5
1948 rm -f conftest.$ac_objext conftest.$ac_ext
1950 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1951 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1952 if test "$ac_test_CFLAGS" = set; then
1953 CFLAGS=$ac_save_CFLAGS
1954 elif test $ac_cv_prog_cc_g = yes; then
1955 if test "$GCC" = yes; then
1961 if test "$GCC" = yes; then
1967 # Some people use a C++ compiler to compile C. Since we use `exit',
1968 # in C++ we need to declare it. In case someone uses the same compiler
1969 # for both compiling C and C++ we need to have the C++ compiler decide
1970 # the declaration of exit, since it's the most demanding environment.
1971 cat >conftest.$ac_ext <<_ACEOF
1976 rm -f conftest.$ac_objext
1977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1978 (eval $ac_compile) 2>&5
1980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1981 (exit $ac_status); } &&
1982 { ac_try='test -s conftest.$ac_objext'
1983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1987 (exit $ac_status); }; }; then
1988 for ac_declaration in \
1990 '#include <stdlib.h>' \
1991 'extern "C" void std::exit (int) throw (); using std::exit;' \
1992 'extern "C" void std::exit (int); using std::exit;' \
1993 'extern "C" void exit (int) throw ();' \
1994 'extern "C" void exit (int);' \
1997 cat >conftest.$ac_ext <<_ACEOF
1998 #line $LINENO "configure"
1999 #include "confdefs.h"
2002 #ifdef F77_DUMMY_MAIN
2006 int F77_DUMMY_MAIN() { return 1; }
2016 rm -f conftest.$ac_objext
2017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2018 (eval $ac_compile) 2>&5
2020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2021 (exit $ac_status); } &&
2022 { ac_try='test -s conftest.$ac_objext'
2023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2027 (exit $ac_status); }; }; then
2030 echo "$as_me: failed program was:" >&5
2031 cat conftest.$ac_ext >&5
2034 rm -f conftest.$ac_objext conftest.$ac_ext
2035 cat >conftest.$ac_ext <<_ACEOF
2036 #line $LINENO "configure"
2037 #include "confdefs.h"
2039 #ifdef F77_DUMMY_MAIN
2043 int F77_DUMMY_MAIN() { return 1; }
2053 rm -f conftest.$ac_objext
2054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2055 (eval $ac_compile) 2>&5
2057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2058 (exit $ac_status); } &&
2059 { ac_try='test -s conftest.$ac_objext'
2060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2064 (exit $ac_status); }; }; then
2067 echo "$as_me: failed program was:" >&5
2068 cat conftest.$ac_ext >&5
2070 rm -f conftest.$ac_objext conftest.$ac_ext
2073 if test -n "$ac_declaration"; then
2074 echo '#ifdef __cplusplus' >>confdefs.h
2075 echo $ac_declaration >>confdefs.h
2076 echo '#endif' >>confdefs.h
2080 echo "$as_me: failed program was:" >&5
2081 cat conftest.$ac_ext >&5
2083 rm -f conftest.$ac_objext conftest.$ac_ext
2085 ac_cpp='$CPP $CPPFLAGS'
2086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2092 if test -z "$LD"; then
2093 if test -n "$ac_tool_prefix"; then
2094 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2095 set dummy ${ac_tool_prefix}ld; ac_word=$2
2096 echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2098 if test "${ac_cv_prog_LD+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2101 if test -n "$LD"; then
2102 ac_cv_prog_LD="$LD" # Let the user override the test.
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111 ac_cv_prog_LD="${ac_tool_prefix}ld"
2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2121 if test -n "$LD"; then
2122 echo "$as_me:$LINENO: result: $LD" >&5
2123 echo "${ECHO_T}$LD" >&6
2125 echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6
2130 if test -z "$ac_cv_prog_LD"; then
2132 # Extract the first word of "ld", so it can be a program name with args.
2133 set dummy ld; ac_word=$2
2134 echo "$as_me:$LINENO: checking for $ac_word" >&5
2135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2136 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2139 if test -n "$ac_ct_LD"; then
2140 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 test -z "$as_dir" && as_dir=.
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149 ac_cv_prog_ac_ct_LD="ld"
2150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2158 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2159 if test -n "$ac_ct_LD"; then
2160 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2161 echo "${ECHO_T}$ac_ct_LD" >&6
2163 echo "$as_me:$LINENO: result: no" >&5
2164 echo "${ECHO_T}no" >&6
2174 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2175 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2176 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2177 echo $ECHO_N "(cached) $ECHO_C" >&6
2180 libfirm_cv_prog_ld_r=no
2182 cat > conftest.$ac_ext <<EOF
2183 int foo() { return 0; }
2185 if eval $ac_compile && mv conftest.o conftest2.o; then
2186 cat > conftest.$ac_ext <<EOF
2188 int main() { return foo(); }
2190 if eval $ac_compile; then
2191 if $LD -r -o conftest conftest.o conftest2.o; then
2192 libfirm_cv_prog_ld_r=yes
2199 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2200 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2203 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2204 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2205 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2206 { (exit 1); exit 1; }; }
2209 # Extract the first word of "ar", so it can be a program name with args.
2210 set dummy ar; ac_word=$2
2211 echo "$as_me:$LINENO: checking for $ac_word" >&5
2212 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2213 if test "${ac_cv_prog_AR+set}" = set; then
2214 echo $ECHO_N "(cached) $ECHO_C" >&6
2216 if test -n "$AR"; then
2217 ac_cv_prog_AR="$AR" # Let the user override the test.
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2226 ac_cv_prog_AR=""ar""
2227 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2233 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2237 if test -n "$AR"; then
2238 echo "$as_me:$LINENO: result: $AR" >&5
2239 echo "${ECHO_T}$AR" >&6
2241 echo "$as_me:$LINENO: result: no" >&5
2242 echo "${ECHO_T}no" >&6
2245 if test "$AR" != "ar"; then
2246 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2247 echo "$as_me: error: need ar for creating archives" >&2;}
2248 { (exit 1); exit 1; }; }
2251 # Extract the first word of "tar", so it can be a program name with args.
2252 set dummy tar; ac_word=$2
2253 echo "$as_me:$LINENO: checking for $ac_word" >&5
2254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2255 if test "${ac_cv_prog_TAR+set}" = set; then
2256 echo $ECHO_N "(cached) $ECHO_C" >&6
2258 if test -n "$TAR"; then
2259 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2265 test -z "$as_dir" && as_dir=.
2266 for ac_exec_ext in '' $ac_executable_extensions; do
2267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2268 ac_cv_prog_TAR=""tar""
2269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2279 if test -n "$TAR"; then
2280 echo "$as_me:$LINENO: result: $TAR" >&5
2281 echo "${ECHO_T}$TAR" >&6
2283 echo "$as_me:$LINENO: result: no" >&5
2284 echo "${ECHO_T}no" >&6
2287 if test "$TAR" != "tar"; then
2288 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2289 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2290 { (exit 1); exit 1; }; }
2294 if test -n "$ac_tool_prefix"; then
2295 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2296 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2297 echo "$as_me:$LINENO: checking for $ac_word" >&5
2298 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2299 if test "${ac_cv_prog_RANLIB+set}" = set; then
2300 echo $ECHO_N "(cached) $ECHO_C" >&6
2302 if test -n "$RANLIB"; then
2303 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2309 test -z "$as_dir" && as_dir=.
2310 for ac_exec_ext in '' $ac_executable_extensions; do
2311 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2312 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2313 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2321 RANLIB=$ac_cv_prog_RANLIB
2322 if test -n "$RANLIB"; then
2323 echo "$as_me:$LINENO: result: $RANLIB" >&5
2324 echo "${ECHO_T}$RANLIB" >&6
2326 echo "$as_me:$LINENO: result: no" >&5
2327 echo "${ECHO_T}no" >&6
2331 if test -z "$ac_cv_prog_RANLIB"; then
2332 ac_ct_RANLIB=$RANLIB
2333 # Extract the first word of "ranlib", so it can be a program name with args.
2334 set dummy ranlib; ac_word=$2
2335 echo "$as_me:$LINENO: checking for $ac_word" >&5
2336 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2337 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2338 echo $ECHO_N "(cached) $ECHO_C" >&6
2340 if test -n "$ac_ct_RANLIB"; then
2341 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2347 test -z "$as_dir" && as_dir=.
2348 for ac_exec_ext in '' $ac_executable_extensions; do
2349 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2350 ac_cv_prog_ac_ct_RANLIB="ranlib"
2351 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2357 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2360 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2361 if test -n "$ac_ct_RANLIB"; then
2362 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2363 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2365 echo "$as_me:$LINENO: result: no" >&5
2366 echo "${ECHO_T}no" >&6
2369 RANLIB=$ac_ct_RANLIB
2371 RANLIB="$ac_cv_prog_RANLIB"
2376 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2377 if test -f $ac_dir/install-sh; then
2379 ac_install_sh="$ac_aux_dir/install-sh -c"
2381 elif test -f $ac_dir/install.sh; then
2383 ac_install_sh="$ac_aux_dir/install.sh -c"
2385 elif test -f $ac_dir/shtool; then
2387 ac_install_sh="$ac_aux_dir/shtool install -c"
2391 if test -z "$ac_aux_dir"; then
2392 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2393 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2394 { (exit 1); exit 1; }; }
2396 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2397 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2398 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2400 # Find a good install program. We prefer a C program (faster),
2401 # so one script is as good as another. But avoid the broken or
2402 # incompatible versions:
2403 # SysV /etc/install, /usr/sbin/install
2404 # SunOS /usr/etc/install
2405 # IRIX /sbin/install
2407 # AmigaOS /C/install, which installs bootblocks on floppy discs
2408 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2409 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2410 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2411 # ./install, which can be erroneously created by make from ./install.sh.
2412 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2413 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2414 if test -z "$INSTALL"; then
2415 if test "${ac_cv_path_install+set}" = set; then
2416 echo $ECHO_N "(cached) $ECHO_C" >&6
2418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2422 test -z "$as_dir" && as_dir=.
2423 # Account for people who put trailing slashes in PATH elements.
2425 ./ | .// | /cC/* | \
2426 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2429 # OSF1 and SCO ODT 3.0 have their own names for install.
2430 # Don't use installbsd from OSF since it installs stuff as root
2432 for ac_prog in ginstall scoinst install; do
2433 for ac_exec_ext in '' $ac_executable_extensions; do
2434 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2435 if test $ac_prog = install &&
2436 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2437 # AIX install. It has an incompatible calling convention.
2439 elif test $ac_prog = install &&
2440 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2441 # program-specific install script used by HP pwplus--don't use.
2444 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2456 if test "${ac_cv_path_install+set}" = set; then
2457 INSTALL=$ac_cv_path_install
2459 # As a last resort, use the slow shell script. We don't cache a
2460 # path for INSTALL within a source directory, because that will
2461 # break other packages using the cache if that directory is
2462 # removed, or if the path is relative.
2463 INSTALL=$ac_install_sh
2466 echo "$as_me:$LINENO: result: $INSTALL" >&5
2467 echo "${ECHO_T}$INSTALL" >&6
2469 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2470 # It thinks the first close brace ends the variable substitution.
2471 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2473 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2475 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2478 touch tmp-install.a tmp-install.b
2479 if eval "$INSTALL -C tmp-install.a tmp-install.b" ; then
2480 INSTALL="$INSTALL -C"
2482 rm tmp-install.a tmp-install.b
2485 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2486 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2488 if test "$LN_S" = "ln -s"; then
2489 echo "$as_me:$LINENO: result: yes" >&5
2490 echo "${ECHO_T}yes" >&6
2492 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2493 echo "${ECHO_T}no, using $LN_S" >&6
2497 if test "$enable_auto_documentation" = yes; then
2498 # Extract the first word of "doxygen", so it can be a program name with args.
2499 set dummy doxygen; ac_word=$2
2500 echo "$as_me:$LINENO: checking for $ac_word" >&5
2501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2502 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
2503 echo $ECHO_N "(cached) $ECHO_C" >&6
2505 if test -n "$DOXYGEN"; then
2506 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2512 test -z "$as_dir" && as_dir=.
2513 for ac_exec_ext in '' $ac_executable_extensions; do
2514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2515 ac_cv_prog_DOXYGEN=""doxygen""
2516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2522 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
2525 DOXYGEN=$ac_cv_prog_DOXYGEN
2526 if test -n "$DOXYGEN"; then
2527 echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2528 echo "${ECHO_T}$DOXYGEN" >&6
2530 echo "$as_me:$LINENO: result: no" >&5
2531 echo "${ECHO_T}no" >&6
2534 if test "$DOXYGEN" != "doxygen"; then
2535 { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
2536 echo "$as_me: error: need doxygen for auto documentation" >&2;}
2537 { (exit 1); exit 1; }; }
2539 # Extract the first word of "dot", so it can be a program name with args.
2540 set dummy dot; ac_word=$2
2541 echo "$as_me:$LINENO: checking for $ac_word" >&5
2542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2543 if test "${ac_cv_prog_DOT+set}" = set; then
2544 echo $ECHO_N "(cached) $ECHO_C" >&6
2546 if test -n "$DOT"; then
2547 ac_cv_prog_DOT="$DOT" # Let the user override the test.
2549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2553 test -z "$as_dir" && as_dir=.
2554 for ac_exec_ext in '' $ac_executable_extensions; do
2555 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2556 ac_cv_prog_DOT=""dot""
2557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2563 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
2567 if test -n "$DOT"; then
2568 echo "$as_me:$LINENO: result: $DOT" >&5
2569 echo "${ECHO_T}$DOT" >&6
2571 echo "$as_me:$LINENO: result: no" >&5
2572 echo "${ECHO_T}no" >&6
2575 if test "$DOT" != "dot"; then
2576 { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
2577 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
2578 { (exit 1); exit 1; }; }
2582 if test "$enable_firm_jni" = yes; then
2583 # Extract the first word of "javac", so it can be a program name with args.
2584 set dummy javac; ac_word=$2
2585 echo "$as_me:$LINENO: checking for $ac_word" >&5
2586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2587 if test "${ac_cv_prog_JAVAC+set}" = set; then
2588 echo $ECHO_N "(cached) $ECHO_C" >&6
2590 if test -n "$JAVAC"; then
2591 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2597 test -z "$as_dir" && as_dir=.
2598 for ac_exec_ext in '' $ac_executable_extensions; do
2599 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2600 ac_cv_prog_JAVAC=""javac""
2601 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2607 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
2610 JAVAC=$ac_cv_prog_JAVAC
2611 if test -n "$JAVAC"; then
2612 echo "$as_me:$LINENO: result: $JAVAC" >&5
2613 echo "${ECHO_T}$JAVAC" >&6
2615 echo "$as_me:$LINENO: result: no" >&5
2616 echo "${ECHO_T}no" >&6
2619 if test "$JAVAC" != "javac"; then
2620 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
2621 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
2622 { (exit 1); exit 1; }; }
2624 # Extract the first word of "javah", so it can be a program name with args.
2625 set dummy javah; ac_word=$2
2626 echo "$as_me:$LINENO: checking for $ac_word" >&5
2627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2628 if test "${ac_cv_prog_JAVAH+set}" = set; then
2629 echo $ECHO_N "(cached) $ECHO_C" >&6
2631 if test -n "$JAVAH"; then
2632 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
2634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2638 test -z "$as_dir" && as_dir=.
2639 for ac_exec_ext in '' $ac_executable_extensions; do
2640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2641 ac_cv_prog_JAVAH=""javah""
2642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2648 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
2651 JAVAH=$ac_cv_prog_JAVAH
2652 if test -n "$JAVAH"; then
2653 echo "$as_me:$LINENO: result: $JAVAH" >&5
2654 echo "${ECHO_T}$JAVAH" >&6
2656 echo "$as_me:$LINENO: result: no" >&5
2657 echo "${ECHO_T}no" >&6
2660 if test "$JAVAH" != "javah"; then
2661 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
2662 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
2663 { (exit 1); exit 1; }; }
2671 ac_cpp='$CPP $CPPFLAGS'
2672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2675 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2676 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2677 # On Suns, sometimes $CPP names a directory.
2678 if test -n "$CPP" && test -d "$CPP"; then
2681 if test -z "$CPP"; then
2682 if test "${ac_cv_prog_CPP+set}" = set; then
2683 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 # Double quotes because CPP needs to be expanded
2686 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2689 for ac_c_preproc_warn_flag in '' yes
2691 # Use a header file that comes with gcc, so configuring glibc
2692 # with a fresh cross-compiler works.
2693 # On the NeXT, cc -E runs the code through the compiler's parser,
2694 # not just through cpp. "Syntax error" is here to catch this case.
2695 cat >conftest.$ac_ext <<_ACEOF
2696 #line $LINENO "configure"
2697 #include "confdefs.h"
2701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2704 egrep -v '^ *\+' conftest.er1 >conftest.err
2706 cat conftest.err >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } >/dev/null; then
2709 if test -s conftest.err; then
2710 ac_cpp_err=$ac_c_preproc_warn_flag
2717 if test -z "$ac_cpp_err"; then
2720 echo "$as_me: failed program was:" >&5
2721 cat conftest.$ac_ext >&5
2722 # Broken: fails on valid input.
2725 rm -f conftest.err conftest.$ac_ext
2727 # OK, works on sane cases. Now check whether non-existent headers
2728 # can be detected and how.
2729 cat >conftest.$ac_ext <<_ACEOF
2730 #line $LINENO "configure"
2731 #include "confdefs.h"
2732 #include <ac_nonexistent.h>
2734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2737 egrep -v '^ *\+' conftest.er1 >conftest.err
2739 cat conftest.err >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } >/dev/null; then
2742 if test -s conftest.err; then
2743 ac_cpp_err=$ac_c_preproc_warn_flag
2750 if test -z "$ac_cpp_err"; then
2751 # Broken: success on invalid input.
2754 echo "$as_me: failed program was:" >&5
2755 cat conftest.$ac_ext >&5
2756 # Passes both tests.
2760 rm -f conftest.err conftest.$ac_ext
2763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2764 rm -f conftest.err conftest.$ac_ext
2765 if $ac_preproc_ok; then
2777 echo "$as_me:$LINENO: result: $CPP" >&5
2778 echo "${ECHO_T}$CPP" >&6
2780 for ac_c_preproc_warn_flag in '' yes
2782 # Use a header file that comes with gcc, so configuring glibc
2783 # with a fresh cross-compiler works.
2784 # On the NeXT, cc -E runs the code through the compiler's parser,
2785 # not just through cpp. "Syntax error" is here to catch this case.
2786 cat >conftest.$ac_ext <<_ACEOF
2787 #line $LINENO "configure"
2788 #include "confdefs.h"
2792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2795 egrep -v '^ *\+' conftest.er1 >conftest.err
2797 cat conftest.err >&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } >/dev/null; then
2800 if test -s conftest.err; then
2801 ac_cpp_err=$ac_c_preproc_warn_flag
2808 if test -z "$ac_cpp_err"; then
2811 echo "$as_me: failed program was:" >&5
2812 cat conftest.$ac_ext >&5
2813 # Broken: fails on valid input.
2816 rm -f conftest.err conftest.$ac_ext
2818 # OK, works on sane cases. Now check whether non-existent headers
2819 # can be detected and how.
2820 cat >conftest.$ac_ext <<_ACEOF
2821 #line $LINENO "configure"
2822 #include "confdefs.h"
2823 #include <ac_nonexistent.h>
2825 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2826 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2828 egrep -v '^ *\+' conftest.er1 >conftest.err
2830 cat conftest.err >&5
2831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2832 (exit $ac_status); } >/dev/null; then
2833 if test -s conftest.err; then
2834 ac_cpp_err=$ac_c_preproc_warn_flag
2841 if test -z "$ac_cpp_err"; then
2842 # Broken: success on invalid input.
2845 echo "$as_me: failed program was:" >&5
2846 cat conftest.$ac_ext >&5
2847 # Passes both tests.
2851 rm -f conftest.err conftest.$ac_ext
2854 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2855 rm -f conftest.err conftest.$ac_ext
2856 if $ac_preproc_ok; then
2859 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2860 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2861 { (exit 1); exit 1; }; }
2865 ac_cpp='$CPP $CPPFLAGS'
2866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2871 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2872 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2873 if test "${ac_cv_header_stdc+set}" = set; then
2874 echo $ECHO_N "(cached) $ECHO_C" >&6
2876 cat >conftest.$ac_ext <<_ACEOF
2877 #line $LINENO "configure"
2878 #include "confdefs.h"
2885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2888 egrep -v '^ *\+' conftest.er1 >conftest.err
2890 cat conftest.err >&5
2891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2892 (exit $ac_status); } >/dev/null; then
2893 if test -s conftest.err; then
2894 ac_cpp_err=$ac_c_preproc_warn_flag
2901 if test -z "$ac_cpp_err"; then
2902 ac_cv_header_stdc=yes
2904 echo "$as_me: failed program was:" >&5
2905 cat conftest.$ac_ext >&5
2906 ac_cv_header_stdc=no
2908 rm -f conftest.err conftest.$ac_ext
2910 if test $ac_cv_header_stdc = yes; then
2911 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2912 cat >conftest.$ac_ext <<_ACEOF
2913 #line $LINENO "configure"
2914 #include "confdefs.h"
2918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2919 egrep "memchr" >/dev/null 2>&1; then
2922 ac_cv_header_stdc=no
2928 if test $ac_cv_header_stdc = yes; then
2929 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2930 cat >conftest.$ac_ext <<_ACEOF
2931 #line $LINENO "configure"
2932 #include "confdefs.h"
2936 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2937 egrep "free" >/dev/null 2>&1; then
2940 ac_cv_header_stdc=no
2946 if test $ac_cv_header_stdc = yes; then
2947 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2948 if test "$cross_compiling" = yes; then
2951 cat >conftest.$ac_ext <<_ACEOF
2952 #line $LINENO "configure"
2953 #include "confdefs.h"
2955 #if ((' ' & 0x0FF) == 0x020)
2956 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2957 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2959 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2960 || ('j' <= (c) && (c) <= 'r') \
2961 || ('s' <= (c) && (c) <= 'z'))
2962 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2965 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2970 for (i = 0; i < 256; i++)
2971 if (XOR (islower (i), ISLOWER (i))
2972 || toupper (i) != TOUPPER (i))
2977 rm -f conftest$ac_exeext
2978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2979 (eval $ac_link) 2>&5
2981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2987 (exit $ac_status); }; }; then
2990 echo "$as_me: program exited with status $ac_status" >&5
2991 echo "$as_me: failed program was:" >&5
2992 cat conftest.$ac_ext >&5
2994 ac_cv_header_stdc=no
2996 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3000 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3001 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3002 if test $ac_cv_header_stdc = yes; then
3004 cat >>confdefs.h <<\_ACEOF
3005 #define STDC_HEADERS 1
3012 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3022 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3023 inttypes.h stdint.h unistd.h
3025 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3026 echo "$as_me:$LINENO: checking for $ac_header" >&5
3027 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3028 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3029 echo $ECHO_N "(cached) $ECHO_C" >&6
3031 cat >conftest.$ac_ext <<_ACEOF
3032 #line $LINENO "configure"
3033 #include "confdefs.h"
3034 $ac_includes_default
3036 #include <$ac_header>
3038 rm -f conftest.$ac_objext
3039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3040 (eval $ac_compile) 2>&5
3042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3043 (exit $ac_status); } &&
3044 { ac_try='test -s conftest.$ac_objext'
3045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049 (exit $ac_status); }; }; then
3050 eval "$as_ac_Header=yes"
3052 echo "$as_me: failed program was:" >&5
3053 cat conftest.$ac_ext >&5
3054 eval "$as_ac_Header=no"
3056 rm -f conftest.$ac_objext conftest.$ac_ext
3058 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3059 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3061 cat >>confdefs.h <<_ACEOF
3062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3071 for ac_header in math.h
3073 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3074 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3075 echo "$as_me:$LINENO: checking for $ac_header" >&5
3076 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3077 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3078 echo $ECHO_N "(cached) $ECHO_C" >&6
3080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3081 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3083 # Is the header compilable?
3084 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3085 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3086 cat >conftest.$ac_ext <<_ACEOF
3087 #line $LINENO "configure"
3088 #include "confdefs.h"
3089 $ac_includes_default
3090 #include <$ac_header>
3092 rm -f conftest.$ac_objext
3093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3094 (eval $ac_compile) 2>&5
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); } &&
3098 { ac_try='test -s conftest.$ac_objext'
3099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); }; }; then
3104 ac_header_compiler=yes
3106 echo "$as_me: failed program was:" >&5
3107 cat conftest.$ac_ext >&5
3108 ac_header_compiler=no
3110 rm -f conftest.$ac_objext conftest.$ac_ext
3111 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3112 echo "${ECHO_T}$ac_header_compiler" >&6
3114 # Is the header present?
3115 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3116 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3117 cat >conftest.$ac_ext <<_ACEOF
3118 #line $LINENO "configure"
3119 #include "confdefs.h"
3120 #include <$ac_header>
3122 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3123 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3125 egrep -v '^ *\+' conftest.er1 >conftest.err
3127 cat conftest.err >&5
3128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3129 (exit $ac_status); } >/dev/null; then
3130 if test -s conftest.err; then
3131 ac_cpp_err=$ac_c_preproc_warn_flag
3138 if test -z "$ac_cpp_err"; then
3139 ac_header_preproc=yes
3141 echo "$as_me: failed program was:" >&5
3142 cat conftest.$ac_ext >&5
3143 ac_header_preproc=no
3145 rm -f conftest.err conftest.$ac_ext
3146 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3147 echo "${ECHO_T}$ac_header_preproc" >&6
3149 # So? What about this header?
3150 case $ac_header_compiler:$ac_header_preproc in
3152 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3153 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3154 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3155 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3161 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3162 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3164 echo "$as_me:$LINENO: checking for $ac_header" >&5
3165 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3166 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3167 echo $ECHO_N "(cached) $ECHO_C" >&6
3169 eval "$as_ac_Header=$ac_header_preproc"
3171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3172 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3175 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3176 cat >>confdefs.h <<_ACEOF
3177 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3179 ac_math_headers="yes"
3181 ac_math_headers="no"
3186 if test "$ac_math_headers" != yes; then
3187 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3188 echo "$as_me: error: \"math header file not found\"" >&2;}
3189 { (exit 1); exit 1; }; }
3193 #dnl check for the gnu multiprecission (gmp) header file
3195 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3196 #if test "$ac_gmp_headers" != yes; then
3197 # dnl gmp header not found.
3198 # AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3205 for ac_header in obstack.h
3207 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3208 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3209 echo "$as_me:$LINENO: checking for $ac_header" >&5
3210 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3211 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3212 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3215 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3217 # Is the header compilable?
3218 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3219 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3220 cat >conftest.$ac_ext <<_ACEOF
3221 #line $LINENO "configure"
3222 #include "confdefs.h"
3223 $ac_includes_default
3224 #include <$ac_header>
3226 rm -f conftest.$ac_objext
3227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3228 (eval $ac_compile) 2>&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); } &&
3232 { ac_try='test -s conftest.$ac_objext'
3233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3237 (exit $ac_status); }; }; then
3238 ac_header_compiler=yes
3240 echo "$as_me: failed program was:" >&5
3241 cat conftest.$ac_ext >&5
3242 ac_header_compiler=no
3244 rm -f conftest.$ac_objext conftest.$ac_ext
3245 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3246 echo "${ECHO_T}$ac_header_compiler" >&6
3248 # Is the header present?
3249 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3250 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3251 cat >conftest.$ac_ext <<_ACEOF
3252 #line $LINENO "configure"
3253 #include "confdefs.h"
3254 #include <$ac_header>
3256 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3257 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3259 egrep -v '^ *\+' conftest.er1 >conftest.err
3261 cat conftest.err >&5
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); } >/dev/null; then
3264 if test -s conftest.err; then
3265 ac_cpp_err=$ac_c_preproc_warn_flag
3272 if test -z "$ac_cpp_err"; then
3273 ac_header_preproc=yes
3275 echo "$as_me: failed program was:" >&5
3276 cat conftest.$ac_ext >&5
3277 ac_header_preproc=no
3279 rm -f conftest.err conftest.$ac_ext
3280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3281 echo "${ECHO_T}$ac_header_preproc" >&6
3283 # So? What about this header?
3284 case $ac_header_compiler:$ac_header_preproc in
3286 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3287 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3288 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3289 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3291 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3292 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3293 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3294 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3296 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3298 echo "$as_me:$LINENO: checking for $ac_header" >&5
3299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3301 echo $ECHO_N "(cached) $ECHO_C" >&6
3303 eval "$as_ac_Header=$ac_header_preproc"
3305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3309 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3310 cat >>confdefs.h <<_ACEOF
3311 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3313 ac_obstack_headers="yes"
3315 ac_obstack_headers="no"
3320 if test "$ac_obstack_headers" != yes; then
3321 { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3322 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3323 { (exit 1); exit 1; }; }
3328 for ac_header in alloca.h
3330 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3331 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3332 echo "$as_me:$LINENO: checking for $ac_header" >&5
3333 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3334 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3335 echo $ECHO_N "(cached) $ECHO_C" >&6
3337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3338 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3340 # Is the header compilable?
3341 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3342 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3343 cat >conftest.$ac_ext <<_ACEOF
3344 #line $LINENO "configure"
3345 #include "confdefs.h"
3346 $ac_includes_default
3347 #include <$ac_header>
3349 rm -f conftest.$ac_objext
3350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3351 (eval $ac_compile) 2>&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); } &&
3355 { ac_try='test -s conftest.$ac_objext'
3356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3360 (exit $ac_status); }; }; then
3361 ac_header_compiler=yes
3363 echo "$as_me: failed program was:" >&5
3364 cat conftest.$ac_ext >&5
3365 ac_header_compiler=no
3367 rm -f conftest.$ac_objext conftest.$ac_ext
3368 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3369 echo "${ECHO_T}$ac_header_compiler" >&6
3371 # Is the header present?
3372 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3373 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3374 cat >conftest.$ac_ext <<_ACEOF
3375 #line $LINENO "configure"
3376 #include "confdefs.h"
3377 #include <$ac_header>
3379 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3380 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3382 egrep -v '^ *\+' conftest.er1 >conftest.err
3384 cat conftest.err >&5
3385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3386 (exit $ac_status); } >/dev/null; then
3387 if test -s conftest.err; then
3388 ac_cpp_err=$ac_c_preproc_warn_flag
3395 if test -z "$ac_cpp_err"; then
3396 ac_header_preproc=yes
3398 echo "$as_me: failed program was:" >&5
3399 cat conftest.$ac_ext >&5
3400 ac_header_preproc=no
3402 rm -f conftest.err conftest.$ac_ext
3403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3404 echo "${ECHO_T}$ac_header_preproc" >&6
3406 # So? What about this header?
3407 case $ac_header_compiler:$ac_header_preproc in
3409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3414 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3415 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3416 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3417 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3421 echo "$as_me:$LINENO: checking for $ac_header" >&5
3422 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3424 echo $ECHO_N "(cached) $ECHO_C" >&6
3426 eval "$as_ac_Header=$ac_header_preproc"
3428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3432 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3433 cat >>confdefs.h <<_ACEOF
3434 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3436 ac_alloca_headers="yes"
3438 ac_alloca_headers="no"
3443 if test "$ac_alloca_headers" = "yes"; then
3444 cat >>confdefs.h <<\_ACEOF
3445 #define HAVE_ALLOCA_H 1
3449 if test "$ac_cv_header_stdc" = "no"; then
3450 { { echo "$as_me:$LINENO: error: \"alloca.h and stdlib.h not found\"" >&5
3451 echo "$as_me: error: \"alloca.h and stdlib.h not found\"" >&2;}
3452 { (exit 1); exit 1; }; }
3458 if test "$enable_firm_jni" = yes; then
3460 for ac_header in jni.h
3462 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3463 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3464 echo "$as_me:$LINENO: checking for $ac_header" >&5
3465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3467 echo $ECHO_N "(cached) $ECHO_C" >&6
3469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3470 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3472 # Is the header compilable?
3473 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3474 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3475 cat >conftest.$ac_ext <<_ACEOF
3476 #line $LINENO "configure"
3477 #include "confdefs.h"
3478 $ac_includes_default
3479 #include <$ac_header>
3481 rm -f conftest.$ac_objext
3482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3483 (eval $ac_compile) 2>&5
3485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3486 (exit $ac_status); } &&
3487 { ac_try='test -s conftest.$ac_objext'
3488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3492 (exit $ac_status); }; }; then
3493 ac_header_compiler=yes
3495 echo "$as_me: failed program was:" >&5
3496 cat conftest.$ac_ext >&5
3497 ac_header_compiler=no
3499 rm -f conftest.$ac_objext conftest.$ac_ext
3500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3501 echo "${ECHO_T}$ac_header_compiler" >&6
3503 # Is the header present?
3504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3506 cat >conftest.$ac_ext <<_ACEOF
3507 #line $LINENO "configure"
3508 #include "confdefs.h"
3509 #include <$ac_header>
3511 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3512 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3514 egrep -v '^ *\+' conftest.er1 >conftest.err
3516 cat conftest.err >&5
3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3518 (exit $ac_status); } >/dev/null; then
3519 if test -s conftest.err; then
3520 ac_cpp_err=$ac_c_preproc_warn_flag
3527 if test -z "$ac_cpp_err"; then
3528 ac_header_preproc=yes
3530 echo "$as_me: failed program was:" >&5
3531 cat conftest.$ac_ext >&5
3532 ac_header_preproc=no
3534 rm -f conftest.err conftest.$ac_ext
3535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3536 echo "${ECHO_T}$ac_header_preproc" >&6
3538 # So? What about this header?
3539 case $ac_header_compiler:$ac_header_preproc in
3541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3546 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3547 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3548 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3549 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3551 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3553 echo "$as_me:$LINENO: checking for $ac_header" >&5
3554 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3555 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3556 echo $ECHO_N "(cached) $ECHO_C" >&6
3558 eval "$as_ac_Header=$ac_header_preproc"
3560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3561 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3564 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3565 cat >>confdefs.h <<_ACEOF
3566 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3568 ac_jni_headers="yes"
3575 if test "$ac_jni_headers" != yes; then
3576 { { echo "$as_me:$LINENO: error: jni header file not found. (IPD: add --with-includedir=/usr/public2/java/jdk1.3.1-sun/include/:/usr/public2/java/jdk1.3.1-sun/include/linux/ to configure flags)" >&5
3577 echo "$as_me: error: jni header file not found. (IPD: add --with-includedir=/usr/public2/java/jdk1.3.1-sun/include/:/usr/public2/java/jdk1.3.1-sun/include/linux/ to configure flags)" >&2;}
3578 { (exit 1); exit 1; }; }
3584 #dnl check for the gnu multiprecission (gmp) library
3586 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
3587 #if test "$ac_gmp_library" != yes; then
3588 # dnl gmp library not found.
3589 # AC_MSG_ERROR("GNU multiprecission gmp library not found")
3593 echo "$as_me:$LINENO: checking for main in -lm" >&5
3594 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3595 if test "${ac_cv_lib_m_main+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3598 ac_check_lib_save_LIBS=$LIBS
3600 cat >conftest.$ac_ext <<_ACEOF
3601 #line $LINENO "configure"
3602 #include "confdefs.h"
3605 #ifdef F77_DUMMY_MAIN
3609 int F77_DUMMY_MAIN() { return 1; }
3619 rm -f conftest.$ac_objext conftest$ac_exeext
3620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3621 (eval $ac_link) 2>&5
3623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3624 (exit $ac_status); } &&
3625 { ac_try='test -s conftest$ac_exeext'
3626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3630 (exit $ac_status); }; }; then
3631 ac_cv_lib_m_main=yes
3633 echo "$as_me: failed program was:" >&5
3634 cat conftest.$ac_ext >&5
3637 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3638 LIBS=$ac_check_lib_save_LIBS
3640 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3641 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3642 if test $ac_cv_lib_m_main = yes; then
3648 if test "$ac_m_library" != yes; then
3649 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
3650 echo "$as_me: error: \"standard math library not found\"" >&2;}
3651 { (exit 1); exit 1; }; }
3655 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3656 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3657 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3658 echo $ECHO_N "(cached) $ECHO_C" >&6
3660 ac_cv_prog_cc_stdc=no
3662 cat >conftest.$ac_ext <<_ACEOF
3663 #line $LINENO "configure"
3664 #include "confdefs.h"
3667 #include <sys/types.h>
3668 #include <sys/stat.h>
3669 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3670 struct buf { int x; };
3671 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3672 static char *e (p, i)
3678 static char *f (char * (*g) (char **, int), char **p, ...)
3683 s = g (p, va_arg (v,int));
3687 int test (int i, double x);
3688 struct s1 {int (*f) (int a);};
3689 struct s2 {int (*f) (double a);};
3690 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3693 #ifdef F77_DUMMY_MAIN
3697 int F77_DUMMY_MAIN() { return 1; }
3702 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3707 # Don't try gcc -ansi; that turns off useful extensions and
3708 # breaks some systems' header files.
3709 # AIX -qlanglvl=ansi
3710 # Ultrix and OSF/1 -std1
3711 # HP-UX 10.20 and later -Ae
3712 # HP-UX older versions -Aa -D_HPUX_SOURCE
3713 # SVR4 -Xc -D__EXTENSIONS__
3714 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3716 CC="$ac_save_CC $ac_arg"
3717 rm -f conftest.$ac_objext
3718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3719 (eval $ac_compile) 2>&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } &&
3723 { ac_try='test -s conftest.$ac_objext'
3724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); }; }; then
3729 ac_cv_prog_cc_stdc=$ac_arg
3732 echo "$as_me: failed program was:" >&5
3733 cat conftest.$ac_ext >&5
3735 rm -f conftest.$ac_objext
3737 rm -f conftest.$ac_ext conftest.$ac_objext
3742 case "x$ac_cv_prog_cc_stdc" in
3744 echo "$as_me:$LINENO: result: none needed" >&5
3745 echo "${ECHO_T}none needed" >&6 ;;
3747 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3748 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3749 CC="$CC $ac_cv_prog_cc_stdc" ;;
3752 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3753 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3754 if test "${ac_cv_c_const+set}" = set; then
3755 echo $ECHO_N "(cached) $ECHO_C" >&6
3757 cat >conftest.$ac_ext <<_ACEOF
3758 #line $LINENO "configure"
3759 #include "confdefs.h"
3761 #ifdef F77_DUMMY_MAIN
3765 int F77_DUMMY_MAIN() { return 1; }
3770 /* FIXME: Include the comments suggested by Paul. */
3772 /* Ultrix mips cc rejects this. */
3773 typedef int charset[2];
3775 /* SunOS 4.1.1 cc rejects this. */
3776 char const *const *ccp;
3778 /* NEC SVR4.0.2 mips cc rejects this. */
3779 struct point {int x, y;};
3780 static struct point const zero = {0,0};
3781 /* AIX XL C 1.02.0.0 rejects this.
3782 It does not let you subtract one const X* pointer from another in
3783 an arm of an if-expression whose if-part is not a constant
3785 const char *g = "string";
3786 ccp = &g + (g ? g-g : 0);
3787 /* HPUX 7.0 cc rejects these. */
3790 ccp = (char const *const *) p;
3791 { /* SCO 3.2v4 cc rejects this. */
3793 char const *s = 0 ? (char *) 0 : (char const *) 0;
3797 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3799 const int *foo = &x[0];
3802 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3803 typedef const int *iptr;
3807 { /* AIX XL C 1.02.0.0 rejects this saying
3808 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3809 struct s { int j; const int *ap[3]; };
3810 struct s *b; b->j = 5;
3812 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3821 rm -f conftest.$ac_objext
3822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3823 (eval $ac_compile) 2>&5
3825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3826 (exit $ac_status); } &&
3827 { ac_try='test -s conftest.$ac_objext'
3828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3832 (exit $ac_status); }; }; then
3835 echo "$as_me: failed program was:" >&5
3836 cat conftest.$ac_ext >&5
3839 rm -f conftest.$ac_objext conftest.$ac_ext
3841 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3842 echo "${ECHO_T}$ac_cv_c_const" >&6
3843 if test $ac_cv_c_const = no; then
3845 cat >>confdefs.h <<\_ACEOF
3851 echo "$as_me:$LINENO: checking for working volatile" >&5
3852 echo $ECHO_N "checking for working volatile... $ECHO_C" >&6
3853 if test "${ac_cv_c_volatile+set}" = set; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3856 cat >conftest.$ac_ext <<_ACEOF
3857 #line $LINENO "configure"
3858 #include "confdefs.h"
3860 #ifdef F77_DUMMY_MAIN
3864 int F77_DUMMY_MAIN() { return 1; }
3876 rm -f conftest.$ac_objext
3877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3878 (eval $ac_compile) 2>&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); } &&
3882 { ac_try='test -s conftest.$ac_objext'
3883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); }; }; then
3888 ac_cv_c_volatile=yes
3890 echo "$as_me: failed program was:" >&5
3891 cat conftest.$ac_ext >&5
3894 rm -f conftest.$ac_objext conftest.$ac_ext
3896 echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
3897 echo "${ECHO_T}$ac_cv_c_volatile" >&6
3898 if test $ac_cv_c_volatile = no; then
3900 cat >>confdefs.h <<\_ACEOF
3906 echo "$as_me:$LINENO: checking for inline" >&5
3907 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3908 if test "${ac_cv_c_inline+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 for ac_kw in inline __inline__ __inline; do
3913 cat >conftest.$ac_ext <<_ACEOF
3914 #line $LINENO "configure"
3915 #include "confdefs.h"
3917 static $ac_kw int static_foo () {return 0; }
3918 $ac_kw int foo () {return 0; }
3922 rm -f conftest.$ac_objext
3923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3924 (eval $ac_compile) 2>&5
3926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3927 (exit $ac_status); } &&
3928 { ac_try='test -s conftest.$ac_objext'
3929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3933 (exit $ac_status); }; }; then
3934 ac_cv_c_inline=$ac_kw; break
3936 echo "$as_me: failed program was:" >&5
3937 cat conftest.$ac_ext >&5
3939 rm -f conftest.$ac_objext conftest.$ac_ext
3943 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3944 echo "${ECHO_T}$ac_cv_c_inline" >&6
3945 case $ac_cv_c_inline in
3948 cat >>confdefs.h <<\_ACEOF
3952 *) cat >>confdefs.h <<_ACEOF
3953 #define inline $ac_cv_c_inline
3958 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3959 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3960 if test "${ac_cv_c_bigendian+set}" = set; then
3961 echo $ECHO_N "(cached) $ECHO_C" >&6
3963 # See if sys/param.h defines the BYTE_ORDER macro.
3964 cat >conftest.$ac_ext <<_ACEOF
3965 #line $LINENO "configure"
3966 #include "confdefs.h"
3967 #include <sys/types.h>
3968 #include <sys/param.h>
3970 #ifdef F77_DUMMY_MAIN
3974 int F77_DUMMY_MAIN() { return 1; }
3979 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3987 rm -f conftest.$ac_objext
3988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3989 (eval $ac_compile) 2>&5
3991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3992 (exit $ac_status); } &&
3993 { ac_try='test -s conftest.$ac_objext'
3994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); }; }; then
3999 # It does; now see whether it defined to BIG_ENDIAN or not.
4000 cat >conftest.$ac_ext <<_ACEOF
4001 #line $LINENO "configure"
4002 #include "confdefs.h"
4003 #include <sys/types.h>
4004 #include <sys/param.h>
4006 #ifdef F77_DUMMY_MAIN
4010 int F77_DUMMY_MAIN() { return 1; }
4015 #if BYTE_ORDER != BIG_ENDIAN
4023 rm -f conftest.$ac_objext
4024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4025 (eval $ac_compile) 2>&5
4027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4028 (exit $ac_status); } &&
4029 { ac_try='test -s conftest.$ac_objext'
4030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4034 (exit $ac_status); }; }; then
4035 ac_cv_c_bigendian=yes
4037 echo "$as_me: failed program was:" >&5
4038 cat conftest.$ac_ext >&5
4039 ac_cv_c_bigendian=no
4041 rm -f conftest.$ac_objext conftest.$ac_ext
4043 echo "$as_me: failed program was:" >&5
4044 cat conftest.$ac_ext >&5
4045 # It does not; compile a test program.
4046 if test "$cross_compiling" = yes; then
4047 # try to guess the endianess by grep'ing values into an object file
4048 ac_cv_c_bigendian=unknown
4049 cat >conftest.$ac_ext <<_ACEOF
4050 #line $LINENO "configure"
4051 #include "confdefs.h"
4052 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4053 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4054 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4055 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4056 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4057 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4058 #ifdef F77_DUMMY_MAIN
4062 int F77_DUMMY_MAIN() { return 1; }
4067 _ascii (); _ebcdic ();
4072 rm -f conftest.$ac_objext
4073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4074 (eval $ac_compile) 2>&5
4076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4077 (exit $ac_status); } &&
4078 { ac_try='test -s conftest.$ac_objext'
4079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4083 (exit $ac_status); }; }; then
4084 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4085 ac_cv_c_bigendian=yes
4087 if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4088 if test "$ac_cv_c_bigendian" = unknown; then
4089 ac_cv_c_bigendian=no
4091 # finding both strings is unlikely to happen, but who knows?
4092 ac_cv_c_bigendian=unknown
4096 echo "$as_me: failed program was:" >&5
4097 cat conftest.$ac_ext >&5
4099 rm -f conftest.$ac_objext conftest.$ac_ext
4101 cat >conftest.$ac_ext <<_ACEOF
4102 #line $LINENO "configure"
4103 #include "confdefs.h"
4107 /* Are we little or big endian? From Harbison&Steele. */
4111 char c[sizeof (long)];
4114 exit (u.c[sizeof (long) - 1] == 1);
4117 rm -f conftest$ac_exeext
4118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4119 (eval $ac_link) 2>&5
4121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4122 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4127 (exit $ac_status); }; }; then
4128 ac_cv_c_bigendian=no
4130 echo "$as_me: program exited with status $ac_status" >&5
4131 echo "$as_me: failed program was:" >&5
4132 cat conftest.$ac_ext >&5
4134 ac_cv_c_bigendian=yes
4136 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4139 rm -f conftest.$ac_objext conftest.$ac_ext
4141 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4142 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4143 case $ac_cv_c_bigendian in
4146 cat >>confdefs.h <<\_ACEOF
4147 #define WORDS_BIGENDIAN 1
4153 { { echo "$as_me:$LINENO: error: unknown endianess
4154 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4155 echo "$as_me: error: unknown endianess
4156 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4157 { (exit 1); exit 1; }; } ;;
4160 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
4161 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
4162 if test "${ac_cv_c_long_double+set}" = set; then
4163 echo $ECHO_N "(cached) $ECHO_C" >&6
4165 cat >conftest.$ac_ext <<_ACEOF
4166 #line $LINENO "configure"
4167 #include "confdefs.h"
4169 long double foo = 0.0;
4170 #ifdef F77_DUMMY_MAIN
4174 int F77_DUMMY_MAIN() { return 1; }
4179 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug. */
4180 (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
4181 | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
4188 rm -f conftest.$ac_objext
4189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4190 (eval $ac_compile) 2>&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); } &&
4194 { ac_try='test -s conftest.$ac_objext'
4195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4199 (exit $ac_status); }; }; then
4200 ac_cv_c_long_double=yes
4202 echo "$as_me: failed program was:" >&5
4203 cat conftest.$ac_ext >&5
4204 ac_cv_c_long_double=no
4206 rm -f conftest.$ac_objext conftest.$ac_ext
4208 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
4209 echo "${ECHO_T}$ac_cv_c_long_double" >&6
4210 if test $ac_cv_c_long_double = yes; then
4212 cat >>confdefs.h <<\_ACEOF
4213 #define HAVE_LONG_DOUBLE 1
4221 echo "$as_me:$LINENO: checking for strerror" >&5
4222 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
4223 if test "${ac_cv_func_strerror+set}" = set; then
4224 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 cat >conftest.$ac_ext <<_ACEOF
4227 #line $LINENO "configure"
4228 #include "confdefs.h"
4229 /* System header to define __stub macros and hopefully few prototypes,
4230 which can conflict with char strerror (); below. */
4232 /* Override any gcc2 internal prototype to avoid an error. */
4236 /* We use char because int might match the return type of a gcc2
4237 builtin and then its argument prototype would still apply. */
4241 #ifdef F77_DUMMY_MAIN
4245 int F77_DUMMY_MAIN() { return 1; }
4250 /* The GNU C library defines this for functions which it implements
4251 to always fail with ENOSYS. Some functions are actually named
4252 something starting with __ and the normal name is an alias. */
4253 #if defined (__stub_strerror) || defined (__stub___strerror)
4263 rm -f conftest.$ac_objext conftest$ac_exeext
4264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4265 (eval $ac_link) 2>&5
4267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4268 (exit $ac_status); } &&
4269 { ac_try='test -s conftest$ac_exeext'
4270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4274 (exit $ac_status); }; }; then
4275 ac_cv_func_strerror=yes
4277 echo "$as_me: failed program was:" >&5
4278 cat conftest.$ac_ext >&5
4279 ac_cv_func_strerror=no
4281 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4283 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
4284 echo "${ECHO_T}$ac_cv_func_strerror" >&6
4285 if test $ac_cv_func_strerror = yes; then
4288 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
4289 echo "$as_me: error: \"need strerror function\"" >&2;}
4290 { (exit 1); exit 1; }; }
4298 ac_config_files="$ac_config_files $ac_output_file"
4299 ac_config_commands="$ac_config_commands default"
4300 cat >confcache <<\_ACEOF
4301 # This file is a shell script that caches the results of configure
4302 # tests run on this system so they can be shared between configure
4303 # scripts and configure runs, see configure's option --config-cache.
4304 # It is not useful on other systems. If it contains results you don't
4305 # want to keep, you may remove or edit it.
4307 # config.status only pays attention to the cache file if you give it
4308 # the --recheck option to rerun configure.
4310 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4311 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4316 # The following way of writing the cache mishandles newlines in values,
4317 # but we know of no workaround that is simple, portable, and efficient.
4318 # So, don't put newlines in cache variables' values.
4319 # Ultrix sh set writes to stderr and can't be redirected directly,
4320 # and sets the high bit in the cache file unless we assign to the vars.
4323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4325 # `set' does not quote correctly, so add quotes (double-quote
4326 # substitution turns \\\\ into \\, and sed turns \\ into \).
4329 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4332 # `set' quotes correctly as required by POSIX, so do not add quotes.
4334 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4341 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4343 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4345 if cmp -s $cache_file confcache; then :; else
4346 if test -w $cache_file; then
4347 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4348 cat confcache >$cache_file
4350 echo "not updating unwritable cache $cache_file"
4355 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4356 # Let make expand exec_prefix.
4357 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4359 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4360 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4361 # trailing colons and then remove the whole line if VPATH becomes empty
4362 # (actually we leave an empty line to preserve line numbers).
4363 if test "x$srcdir" = x.; then
4364 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4365 s/:*\$(srcdir):*/:/;
4366 s/:*\${srcdir}:*/:/;
4368 s/^\([^=]*=[ ]*\):*/\1/;
4374 DEFS=-DHAVE_CONFIG_H
4377 : ${CONFIG_STATUS=./config.status}
4378 ac_clean_files_save=$ac_clean_files
4379 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4380 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4381 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4382 cat >$CONFIG_STATUS <<_ACEOF
4384 # Generated by $as_me.
4385 # Run this file to recreate the current configuration.
4386 # Compiler output produced by configure, useful for debugging
4387 # configure, is in config.log if it exists.
4390 SHELL=\${CONFIG_SHELL-$SHELL}
4393 cat >>$CONFIG_STATUS <<\_ACEOF
4395 ## --------------------- ##
4396 ## M4sh Initialization. ##
4397 ## --------------------- ##
4399 # Be Bourne compatible
4400 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4403 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4408 # Support unset when possible.
4409 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4415 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
4416 { $as_unset LANG || test "${LANG+set}" != set; } ||
4417 { LANG=C; export LANG; }
4418 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
4419 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4420 { LC_ALL=C; export LC_ALL; }
4421 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
4422 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4423 { LC_TIME=C; export LC_TIME; }
4424 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
4425 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4426 { LC_CTYPE=C; export LC_CTYPE; }
4427 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
4428 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4429 { LANGUAGE=C; export LANGUAGE; }
4430 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
4431 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4432 { LC_COLLATE=C; export LC_COLLATE; }
4433 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4434 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4435 { LC_NUMERIC=C; export LC_NUMERIC; }
4436 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4437 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4438 { LC_MESSAGES=C; export LC_MESSAGES; }
4441 # Name of the executable.
4442 as_me=`(basename "$0") 2>/dev/null ||
4443 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4444 X"$0" : 'X\(//\)$' \| \
4445 X"$0" : 'X\(/\)$' \| \
4446 . : '\(.\)' 2>/dev/null ||
4448 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4449 /^X\/\(\/\/\)$/{ s//\1/; q; }
4450 /^X\/\(\/\).*/{ s//\1/; q; }
4453 # PATH needs CR, and LINENO needs CR and PATH.
4454 # Avoid depending upon Character Ranges.
4455 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4456 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4457 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4458 as_cr_digits='0123456789'
4459 as_cr_alnum=$as_cr_Letters$as_cr_digits
4461 # The user is always right.
4462 if test "${PATH_SEPARATOR+set}" != set; then
4463 echo "#! /bin/sh" >conftest.sh
4464 echo "exit 0" >>conftest.sh
4465 chmod +x conftest.sh
4466 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4477 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4478 test "x$as_lineno_1" != "x$as_lineno_2" &&
4479 test "x$as_lineno_3" = "x$as_lineno_2" || {
4480 # Find who we are. Look in the path if we contain no path at all
4483 *[\\/]* ) as_myself=$0 ;;
4484 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4488 test -z "$as_dir" && as_dir=.
4489 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4494 # We did not find ourselves, most probably we were run as `sh COMMAND'
4495 # in which case we are not to be found in the path.
4496 if test "x$as_myself" = x; then
4499 if test ! -f "$as_myself"; then
4500 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4501 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4502 { (exit 1); exit 1; }; }
4504 case $CONFIG_SHELL in
4506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4507 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4510 test -z "$as_dir" && as_dir=.
4511 for as_base in sh bash ksh sh5; do
4514 if ("$as_dir/$as_base" -c '
4517 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4518 test "x$as_lineno_1" != "x$as_lineno_2" &&
4519 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4520 CONFIG_SHELL=$as_dir/$as_base
4522 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4530 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4531 # uniformly replaced by the line number. The first 'sed' inserts a
4532 # line-number line before each line; the second 'sed' does the real
4533 # work. The second script uses 'N' to pair each line-number line
4534 # with the numbered line, and appends trailing '-' during
4535 # substitution so that $LINENO is not a special case at line end.
4536 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4537 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
4538 sed '=' <$as_myself |
4543 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4546 s,^['$as_cr_digits']*\n,,
4548 chmod +x $as_me.lineno ||
4549 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4550 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4551 { (exit 1); exit 1; }; }
4553 # Don't try to exec as it changes $[0], causing all sort of problems
4554 # (the dirname of $[0] is not the place where we might find the
4555 # original and so on. Autoconf is especially sensible to this).
4557 # Exit status is that of the last command.
4562 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4563 *c*,-n*) ECHO_N= ECHO_C='
4565 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4566 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
4569 if expr a : '\(a\)' >/dev/null 2>&1; then
4575 rm -f conf$$ conf$$.exe conf$$.file
4577 if ln -s conf$$.file conf$$ 2>/dev/null; then
4578 # We could just check for DJGPP; but this test a) works b) is more generic
4579 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4580 if test -f conf$$.exe; then
4581 # Don't use ln at all; we don't have any links
4586 elif ln conf$$.file conf$$ 2>/dev/null; then
4591 rm -f conf$$ conf$$.exe conf$$.file
4593 as_executable_p="test -f"
4595 # Sed expression to map a string onto a valid CPP name.
4596 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4598 # Sed expression to map a string onto a valid variable name.
4599 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4603 # We need space, tab and new line, in precisely that order.
4609 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4613 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4614 # report actual input values of CONFIG_FILES etc. instead of their
4615 # values after options handling. Logging --version etc. is OK.
4619 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4620 ## Running $as_me. ##
4625 This file was extended by libfirm $as_me 0.3.0, which was
4626 generated by GNU Autoconf 2.53. Invocation command line was
4628 CONFIG_FILES = $CONFIG_FILES
4629 CONFIG_HEADERS = $CONFIG_HEADERS
4630 CONFIG_LINKS = $CONFIG_LINKS
4631 CONFIG_COMMANDS = $CONFIG_COMMANDS
4635 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4639 # Files that config.status was made for.
4640 if test -n "$ac_config_files"; then
4641 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4644 if test -n "$ac_config_headers"; then
4645 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4648 if test -n "$ac_config_links"; then
4649 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4652 if test -n "$ac_config_commands"; then
4653 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4656 cat >>$CONFIG_STATUS <<\_ACEOF
4659 \`$as_me' instantiates files from templates according to the
4660 current configuration.
4662 Usage: $0 [OPTIONS] [FILE]...
4664 -h, --help print this help, then exit
4665 -V, --version print version number, then exit
4666 -d, --debug don't remove temporary files
4667 --recheck update $as_me by reconfiguring in the same conditions
4668 --file=FILE[:TEMPLATE]
4669 instantiate the configuration file FILE
4670 --header=FILE[:TEMPLATE]
4671 instantiate the configuration header FILE
4673 Configuration files:
4676 Configuration headers:
4679 Configuration commands:
4682 Report bugs to <bug-autoconf@gnu.org>."
4685 cat >>$CONFIG_STATUS <<_ACEOF
4687 libfirm config.status 0.3.0
4688 configured by $0, generated by GNU Autoconf 2.53,
4689 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4691 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4692 Free Software Foundation, Inc.
4693 This config.status script is free software; the Free Software Foundation
4694 gives unlimited permission to copy, distribute and modify it."
4699 cat >>$CONFIG_STATUS <<\_ACEOF
4700 # If no file are specified by the user, then we need to provide default
4701 # value. By we need to know if files were specified by the user.
4707 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4708 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4710 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4714 *) # This is not an option, so the user has probably given explicit
4716 ac_need_defaults=false;;
4720 # Handling of the options.
4722 cat >>$CONFIG_STATUS <<_ACEOF
4723 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4724 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4725 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4727 cat >>$CONFIG_STATUS <<\_ACEOF
4728 --version | --vers* | -V )
4729 echo "$ac_cs_version"; exit 0 ;;
4731 # Conflict between --help and --header
4732 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4733 Try \`$0 --help' for more information." >&5
4734 echo "$as_me: error: ambiguous option: $1
4735 Try \`$0 --help' for more information." >&2;}
4736 { (exit 1); exit 1; }; };;
4737 --help | --hel | -h )
4738 echo "$ac_cs_usage"; exit 0 ;;
4739 --debug | --d* | -d )
4741 --file | --fil | --fi | --f )
4743 CONFIG_FILES="$CONFIG_FILES $1"
4744 ac_need_defaults=false;;
4745 --header | --heade | --head | --hea )
4747 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4748 ac_need_defaults=false;;
4751 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4752 Try \`$0 --help' for more information." >&5
4753 echo "$as_me: error: unrecognized option: $1
4754 Try \`$0 --help' for more information." >&2;}
4755 { (exit 1); exit 1; }; } ;;
4757 *) ac_config_targets="$ac_config_targets $1" ;;
4769 cat >>$CONFIG_STATUS <<\_ACEOF
4770 for ac_config_target in $ac_config_targets
4772 case "$ac_config_target" in
4773 # Handling of arguments.
4774 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
4775 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4776 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4777 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4778 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4779 { (exit 1); exit 1; }; };;
4783 # If the user did not use the arguments to specify the items to instantiate,
4784 # then the envvar interface is used. Set only those that are not.
4785 # We use the long form for the default assignment because of an extremely
4786 # bizarre bug on SunOS 4.1.3.
4787 if $ac_need_defaults; then
4788 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4789 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4790 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4793 # Create a temporary directory, and hook for its removal unless debugging.
4796 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4797 trap '{ (exit 1); exit 1; }' 1 2 13 15
4800 # Create a (secure) tmp directory for tmp files.
4803 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4804 test -n "$tmp" && test -d "$tmp"
4807 tmp=$TMPDIR/cs$$-$RANDOM
4808 (umask 077 && mkdir $tmp)
4811 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4812 { (exit 1); exit 1; }
4817 cat >>$CONFIG_STATUS <<_ACEOF
4820 # CONFIG_FILES section.
4823 # No need to generate the scripts if there are no CONFIG_FILES.
4824 # This happens for instance when ./config.status config.h
4825 if test -n "\$CONFIG_FILES"; then
4826 # Protect against being on the right side of a sed subst in config.status.
4827 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4828 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4829 s,@SHELL@,$SHELL,;t t
4830 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4831 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4832 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4833 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4834 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4835 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4836 s,@exec_prefix@,$exec_prefix,;t t
4837 s,@prefix@,$prefix,;t t
4838 s,@program_transform_name@,$program_transform_name,;t t
4839 s,@bindir@,$bindir,;t t
4840 s,@sbindir@,$sbindir,;t t
4841 s,@libexecdir@,$libexecdir,;t t
4842 s,@datadir@,$datadir,;t t
4843 s,@sysconfdir@,$sysconfdir,;t t
4844 s,@sharedstatedir@,$sharedstatedir,;t t
4845 s,@localstatedir@,$localstatedir,;t t
4846 s,@libdir@,$libdir,;t t
4847 s,@includedir@,$includedir,;t t
4848 s,@oldincludedir@,$oldincludedir,;t t
4849 s,@infodir@,$infodir,;t t
4850 s,@mandir@,$mandir,;t t
4851 s,@build_alias@,$build_alias,;t t
4852 s,@host_alias@,$host_alias,;t t
4853 s,@target_alias@,$target_alias,;t t
4855 s,@ECHO_C@,$ECHO_C,;t t
4856 s,@ECHO_N@,$ECHO_N,;t t
4857 s,@ECHO_T@,$ECHO_T,;t t
4859 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
4860 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
4861 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
4862 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
4863 s,@enable_firm_jni@,$enable_firm_jni,;t t
4864 s,@disable_libiberty@,$disable_libiberty,;t t
4865 s,@enable_statistics@,$enable_statistics,;t t
4867 s,@CFLAGS@,$CFLAGS,;t t
4868 s,@LDFLAGS@,$LDFLAGS,;t t
4869 s,@CPPFLAGS@,$CPPFLAGS,;t t
4870 s,@ac_ct_CC@,$ac_ct_CC,;t t
4871 s,@EXEEXT@,$EXEEXT,;t t
4872 s,@OBJEXT@,$OBJEXT,;t t
4874 s,@ac_ct_LD@,$ac_ct_LD,;t t
4875 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
4878 s,@RANLIB@,$RANLIB,;t t
4879 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4880 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4881 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4882 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4884 s,@DOXYGEN@,$DOXYGEN,;t t
4886 s,@JAVAC@,$JAVAC,;t t
4887 s,@JAVAH@,$JAVAH,;t t
4893 cat >>$CONFIG_STATUS <<\_ACEOF
4894 # Split the substitutions into bite-sized pieces for seds with
4895 # small command number limits, like on Digital OSF/1 and HP-UX.
4897 ac_sed_frag=1 # Number of current file.
4898 ac_beg=1 # First line for current file.
4899 ac_end=$ac_max_sed_lines # Line after last line for current file.
4902 while $ac_more_lines; do
4903 if test $ac_beg -gt 1; then
4904 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4906 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4908 if test ! -s $tmp/subs.frag; then
4911 # The purpose of the label and of the branching condition is to
4912 # speed up the sed processing (if there are no `@' at all, there
4913 # is no need to browse any of the substitutions).
4914 # These are the two extra sed commands mentioned above.
4916 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4917 if test -z "$ac_sed_cmds"; then
4918 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4920 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4922 ac_sed_frag=`expr $ac_sed_frag + 1`
4924 ac_end=`expr $ac_end + $ac_max_sed_lines`
4927 if test -z "$ac_sed_cmds"; then
4930 fi # test -n "$CONFIG_FILES"
4933 cat >>$CONFIG_STATUS <<\_ACEOF
4934 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4935 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4937 - | *:- | *:-:* ) # input from stdin
4939 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4940 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4941 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4942 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4943 * ) ac_file_in=$ac_file.in ;;
4946 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4947 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4948 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4949 X"$ac_file" : 'X\(//\)[^/]' \| \
4950 X"$ac_file" : 'X\(//\)$' \| \
4951 X"$ac_file" : 'X\(/\)' \| \
4952 . : '\(.\)' 2>/dev/null ||
4954 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4955 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4956 /^X\(\/\/\)$/{ s//\1/; q; }
4957 /^X\(\/\).*/{ s//\1/; q; }
4960 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4964 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4965 case $as_mkdir_dir in
4966 # Skip DOS drivespec
4967 ?:) as_incr_dir=$as_mkdir_dir ;;
4969 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4970 test -d "$as_incr_dir" ||
4971 mkdir "$as_incr_dir" ||
4972 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4973 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4974 { (exit 1); exit 1; }; }
4981 if test "$ac_dir" != .; then
4982 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4983 # A "../" for each directory in $ac_dir_suffix.
4984 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4986 ac_dir_suffix= ac_top_builddir=
4990 .) # No --srcdir option. We are building in place.
4992 if test -z "$ac_top_builddir"; then
4995 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4997 [\\/]* | ?:[\\/]* ) # Absolute path.
4998 ac_srcdir=$srcdir$ac_dir_suffix;
4999 ac_top_srcdir=$srcdir ;;
5001 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5002 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5004 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5006 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5007 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5008 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5009 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5013 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5014 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5017 if test x"$ac_file" != x-; then
5018 { echo "$as_me:$LINENO: creating $ac_file" >&5
5019 echo "$as_me: creating $ac_file" >&6;}
5022 # Let's still pretend it is `configure' which instantiates (i.e., don't
5023 # use $as_me), people would be surprised to read:
5024 # /* config.h. Generated by config.status. */
5025 if test x"$ac_file" = x-; then
5028 configure_input="$ac_file. "
5030 configure_input=$configure_input"Generated from `echo $ac_file_in |
5031 sed 's,.*/,,'` by configure."
5033 # First look for the input files in the build tree, otherwise in the
5035 ac_file_inputs=`IFS=:
5036 for f in $ac_file_in; do
5038 -) echo $tmp/stdin ;;
5040 # Absolute (can't be DOS-style, as IFS=:)
5041 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5042 echo "$as_me: error: cannot find input file: $f" >&2;}
5043 { (exit 1); exit 1; }; }
5046 if test -f "$f"; then
5049 elif test -f "$srcdir/$f"; then
5054 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5055 echo "$as_me: error: cannot find input file: $f" >&2;}
5056 { (exit 1); exit 1; }; }
5059 done` || { (exit 1); exit 1; }
5061 cat >>$CONFIG_STATUS <<_ACEOF
5065 cat >>$CONFIG_STATUS <<\_ACEOF
5067 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5068 s,@configure_input@,$configure_input,;t t
5069 s,@srcdir@,$ac_srcdir,;t t
5070 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5071 s,@top_srcdir@,$ac_top_srcdir,;t t
5072 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5073 s,@builddir@,$ac_builddir,;t t
5074 s,@abs_builddir@,$ac_abs_builddir,;t t
5075 s,@top_builddir@,$ac_top_builddir,;t t
5076 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5077 s,@INSTALL@,$ac_INSTALL,;t t
5078 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5080 if test x"$ac_file" != x-; then
5081 mv $tmp/out $ac_file
5089 cat >>$CONFIG_STATUS <<\_ACEOF
5092 # CONFIG_HEADER section.
5095 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5096 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5098 # ac_d sets the value in "#define NAME VALUE" lines.
5099 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5100 ac_dB='[ ].*$,\1#\2'
5103 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5104 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5105 ac_uB='$,\1#\2define\3'
5109 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5110 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5112 - | *:- | *:-:* ) # input from stdin
5114 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5115 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5116 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5117 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5118 * ) ac_file_in=$ac_file.in ;;
5121 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5122 echo "$as_me: creating $ac_file" >&6;}
5124 # First look for the input files in the build tree, otherwise in the
5126 ac_file_inputs=`IFS=:
5127 for f in $ac_file_in; do
5129 -) echo $tmp/stdin ;;
5131 # Absolute (can't be DOS-style, as IFS=:)
5132 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5133 echo "$as_me: error: cannot find input file: $f" >&2;}
5134 { (exit 1); exit 1; }; }
5137 if test -f "$f"; then
5140 elif test -f "$srcdir/$f"; then
5145 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5146 echo "$as_me: error: cannot find input file: $f" >&2;}
5147 { (exit 1); exit 1; }; }
5150 done` || { (exit 1); exit 1; }
5151 # Remove the trailing spaces.
5152 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5156 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5157 # `conftest.undefs', that substitutes the proper values into
5158 # config.h.in to produce config.h. The first handles `#define'
5159 # templates, and the second `#undef' templates.
5160 # And first: Protect against being on the right side of a sed subst in
5161 # config.status. Protect against being in an unquoted here document
5163 rm -f conftest.defines conftest.undefs
5164 # Using a here document instead of a string reduces the quoting nightmare.
5165 # Putting comments in sed scripts is not portable.
5167 # `end' is used to avoid that the second main sed command (meant for
5168 # 0-ary CPP macros) applies to n-ary macro definitions.
5169 # See the Autoconf documentation for `clear'.
5170 cat >confdef2sed.sed <<\_ACEOF
5175 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5177 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5180 # If some macros were called several times there might be several times
5181 # the same #defines, which is useless. Nevertheless, we may not want to
5182 # sort them, since we want the *last* AC-DEFINE to be honored.
5183 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5184 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5185 rm -f confdef2sed.sed
5187 # This sed command replaces #undef with comments. This is necessary, for
5188 # example, in the case of _POSIX_SOURCE, which is predefined and required
5189 # on some systems where configure will not decide to define it.
5190 cat >>conftest.undefs <<\_ACEOF
5191 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5194 # Break up conftest.defines because some shells have a limit on the size
5195 # of here documents, and old seds have small limits too (100 cmds).
5196 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5197 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5198 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5199 echo ' :' >>$CONFIG_STATUS
5201 while grep . conftest.defines >/dev/null
5203 # Write a limited-size here document to $tmp/defines.sed.
5204 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5205 # Speed up: don't consider the non `#define' lines.
5206 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5207 # Work around the forget-to-reset-the-flag bug.
5208 echo 't clr' >>$CONFIG_STATUS
5209 echo ': clr' >>$CONFIG_STATUS
5210 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5212 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5216 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5217 rm -f conftest.defines
5218 mv conftest.tail conftest.defines
5220 rm -f conftest.defines
5221 echo ' fi # egrep' >>$CONFIG_STATUS
5222 echo >>$CONFIG_STATUS
5224 # Break up conftest.undefs because some shells have a limit on the size
5225 # of here documents, and old seds have small limits too (100 cmds).
5226 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5228 while grep . conftest.undefs >/dev/null
5230 # Write a limited-size here document to $tmp/undefs.sed.
5231 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5232 # Speed up: don't consider the non `#undef'
5233 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5234 # Work around the forget-to-reset-the-flag bug.
5235 echo 't clr' >>$CONFIG_STATUS
5236 echo ': clr' >>$CONFIG_STATUS
5237 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5239 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5243 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5244 rm -f conftest.undefs
5245 mv conftest.tail conftest.undefs
5247 rm -f conftest.undefs
5249 cat >>$CONFIG_STATUS <<\_ACEOF
5250 # Let's still pretend it is `configure' which instantiates (i.e., don't
5251 # use $as_me), people would be surprised to read:
5252 # /* config.h. Generated by config.status. */
5253 if test x"$ac_file" = x-; then
5254 echo "/* Generated by configure. */" >$tmp/config.h
5256 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5258 cat $tmp/in >>$tmp/config.h
5260 if test x"$ac_file" != x-; then
5261 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5262 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5263 echo "$as_me: $ac_file is unchanged" >&6;}
5265 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5266 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5267 X"$ac_file" : 'X\(//\)[^/]' \| \
5268 X"$ac_file" : 'X\(//\)$' \| \
5269 X"$ac_file" : 'X\(/\)' \| \
5270 . : '\(.\)' 2>/dev/null ||
5272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5273 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5274 /^X\(\/\/\)$/{ s//\1/; q; }
5275 /^X\(\/\).*/{ s//\1/; q; }
5278 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5282 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5283 case $as_mkdir_dir in
5284 # Skip DOS drivespec
5285 ?:) as_incr_dir=$as_mkdir_dir ;;
5287 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5288 test -d "$as_incr_dir" ||
5289 mkdir "$as_incr_dir" ||
5290 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5291 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5292 { (exit 1); exit 1; }; }
5298 mv $tmp/config.h $ac_file
5306 cat >>$CONFIG_STATUS <<\_ACEOF
5309 # CONFIG_COMMANDS section.
5311 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5312 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5313 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5314 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5315 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5316 X"$ac_dest" : 'X\(//\)[^/]' \| \
5317 X"$ac_dest" : 'X\(//\)$' \| \
5318 X"$ac_dest" : 'X\(/\)' \| \
5319 . : '\(.\)' 2>/dev/null ||
5321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5323 /^X\(\/\/\)$/{ s//\1/; q; }
5324 /^X\(\/\).*/{ s//\1/; q; }
5328 if test "$ac_dir" != .; then
5329 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5330 # A "../" for each directory in $ac_dir_suffix.
5331 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5333 ac_dir_suffix= ac_top_builddir=
5337 .) # No --srcdir option. We are building in place.
5339 if test -z "$ac_top_builddir"; then
5342 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5344 [\\/]* | ?:[\\/]* ) # Absolute path.
5345 ac_srcdir=$srcdir$ac_dir_suffix;
5346 ac_top_srcdir=$srcdir ;;
5348 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5349 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5351 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5353 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5354 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5355 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5356 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5359 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5360 echo "$as_me: executing $ac_dest commands" >&6;}
5362 default ) touch stamp-h ;;
5367 cat >>$CONFIG_STATUS <<\_ACEOF
5369 { (exit 0); exit 0; }
5371 chmod +x $CONFIG_STATUS
5372 ac_clean_files=$ac_clean_files_save
5375 # configure is writing to config.log, and then calls config.status.
5376 # config.status does its own redirection, appending to config.log.
5377 # Unfortunately, on DOS this fails, as config.log is still kept open
5378 # by configure, so config.status won't be able to write to it; its
5379 # output is simply discarded. So we exec the FD to /dev/null,
5380 # effectively closing config.log, so it can be properly (re)opened and
5381 # appended to by config.status. When coming back to configure, we
5382 # need to make the FD available again.
5383 if test "$no_create" != yes; then
5386 $SHELL $CONFIG_STATUS || ac_cs_success=false
5388 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5389 # would make configure fail if this is the last instruction.
5390 $ac_cs_success || { (exit 1); exit 1; }