2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.53 for libfirm 0.3.0.
6 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
7 # Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
11 if expr a : '\(a\)' >/dev/null 2>&1; then
18 ## --------------------- ##
19 ## M4sh Initialization. ##
20 ## --------------------- ##
22 # Be Bourne compatible
23 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
26 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31 # Support unset when possible.
32 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
38 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
39 { $as_unset LANG || test "${LANG+set}" != set; } ||
40 { LANG=C; export LANG; }
41 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
42 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
43 { LC_ALL=C; export LC_ALL; }
44 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
45 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
46 { LC_TIME=C; export LC_TIME; }
47 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
48 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
49 { LC_CTYPE=C; export LC_CTYPE; }
50 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
51 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
52 { LANGUAGE=C; export LANGUAGE; }
53 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
54 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
55 { LC_COLLATE=C; export LC_COLLATE; }
56 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
57 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
58 { LC_NUMERIC=C; export LC_NUMERIC; }
59 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
60 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
61 { LC_MESSAGES=C; export LC_MESSAGES; }
64 # Name of the executable.
65 as_me=`(basename "$0") 2>/dev/null ||
66 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
67 X"$0" : 'X\(//\)$' \| \
68 X"$0" : 'X\(/\)$' \| \
69 . : '\(.\)' 2>/dev/null ||
71 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72 /^X\/\(\/\/\)$/{ s//\1/; q; }
73 /^X\/\(\/\).*/{ s//\1/; q; }
76 # PATH needs CR, and LINENO needs CR and PATH.
77 # Avoid depending upon Character Ranges.
78 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
79 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81 as_cr_digits='0123456789'
82 as_cr_alnum=$as_cr_Letters$as_cr_digits
84 # The user is always right.
85 if test "${PATH_SEPARATOR+set}" != set; then
86 echo "#! /bin/sh" >conftest.sh
87 echo "exit 0" >>conftest.sh
89 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
100 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
101 test "x$as_lineno_1" != "x$as_lineno_2" &&
102 test "x$as_lineno_3" = "x$as_lineno_2" || {
103 # Find who we are. Look in the path if we contain no path at all
106 *[\\/]* ) as_myself=$0 ;;
107 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
111 test -z "$as_dir" && as_dir=.
112 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117 # We did not find ourselves, most probably we were run as `sh COMMAND'
118 # in which case we are not to be found in the path.
119 if test "x$as_myself" = x; then
122 if test ! -f "$as_myself"; then
123 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
124 { (exit 1); exit 1; }; }
126 case $CONFIG_SHELL in
128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
129 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
132 test -z "$as_dir" && as_dir=.
133 for as_base in sh bash ksh sh5; do
136 if ("$as_dir/$as_base" -c '
139 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
140 test "x$as_lineno_1" != "x$as_lineno_2" &&
141 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
142 CONFIG_SHELL=$as_dir/$as_base
144 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
153 # uniformly replaced by the line number. The first 'sed' inserts a
154 # line-number line before each line; the second 'sed' does the real
155 # work. The second script uses 'N' to pair each line-number line
156 # with the numbered line, and appends trailing '-' during
157 # substitution so that $LINENO is not a special case at line end.
158 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
159 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
160 sed '=' <$as_myself |
165 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
168 s,^['$as_cr_digits']*\n,,
170 chmod +x $as_me.lineno ||
171 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
172 { (exit 1); exit 1; }; }
174 # Don't try to exec as it changes $[0], causing all sort of problems
175 # (the dirname of $[0] is not the place where we might find the
176 # original and so on. Autoconf is especially sensible to this).
178 # Exit status is that of the last command.
183 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
184 *c*,-n*) ECHO_N= ECHO_C='
186 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
187 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
190 if expr a : '\(a\)' >/dev/null 2>&1; then
196 rm -f conf$$ conf$$.exe conf$$.file
198 if ln -s conf$$.file conf$$ 2>/dev/null; then
199 # We could just check for DJGPP; but this test a) works b) is more generic
200 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
201 if test -f conf$$.exe; then
202 # Don't use ln at all; we don't have any links
207 elif ln conf$$.file conf$$ 2>/dev/null; then
212 rm -f conf$$ conf$$.exe conf$$.file
214 as_executable_p="test -f"
216 # Sed expression to map a string onto a valid CPP name.
217 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
219 # Sed expression to map a string onto a valid variable name.
220 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
224 # We need space, tab and new line, in precisely that order.
230 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
234 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
235 # so uname gets run too.
236 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
243 ac_default_prefix=/usr/local
248 SHELL=${CONFIG_SHELL-/bin/sh}
250 # Maximum number of lines to put in a shell here document.
251 # This variable seems obsolete. It should probably be removed, and
252 # only ac_max_sed_lines should be used.
253 : ${ac_max_here_lines=38}
255 # Identity of this package.
256 PACKAGE_NAME='libfirm'
257 PACKAGE_TARNAME='libfirm'
258 PACKAGE_VERSION='0.3.0'
259 PACKAGE_STRING='libfirm 0.3.0'
262 # Factoring default headers for most tests.
263 ac_includes_default="\
266 # include <sys/types.h>
269 # include <sys/stat.h>
280 # if !STDC_HEADERS && HAVE_MEMORY_H
286 # include <strings.h>
289 # include <inttypes.h>
300 # Initialize some variables set by options.
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
312 program_transform_name=s,x,x,
320 # Installation directory options.
321 # These are left unexpanded so users can "make install exec_prefix=/foo"
322 # and all the variables that are supposed to be based on exec_prefix
323 # by default will actually change.
324 # Use braces instead of parens because sh, perl, etc. also accept them.
325 bindir='${exec_prefix}/bin'
326 sbindir='${exec_prefix}/sbin'
327 libexecdir='${exec_prefix}/libexec'
328 datadir='${prefix}/share'
329 sysconfdir='${prefix}/etc'
330 sharedstatedir='${prefix}/com'
331 localstatedir='${prefix}/var'
332 libdir='${exec_prefix}/lib'
333 includedir='${prefix}/include'
334 oldincludedir='/usr/include'
335 infodir='${prefix}/info'
336 mandir='${prefix}/man'
341 # If the previous option needs an argument, assign it.
342 if test -n "$ac_prev"; then
343 eval "$ac_prev=\$ac_option"
348 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
350 # Accept the important Cygnus configure options, so we can diagnose typos.
354 -bindir | --bindir | --bindi | --bind | --bin | --bi)
356 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 -build | --build | --buil | --bui | --bu)
360 ac_prev=build_alias ;;
361 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362 build_alias=$ac_optarg ;;
364 -cache-file | --cache-file | --cache-fil | --cache-fi \
365 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
366 ac_prev=cache_file ;;
367 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
368 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
369 cache_file=$ac_optarg ;;
372 cache_file=config.cache ;;
374 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
376 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
378 datadir=$ac_optarg ;;
380 -disable-* | --disable-*)
381 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
382 # Reject names that are not valid shell variable names.
383 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
384 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
385 { (exit 1); exit 1; }; }
386 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
387 eval "enable_$ac_feature=no" ;;
389 -enable-* | --enable-*)
390 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
391 # Reject names that are not valid shell variable names.
392 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
393 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
394 { (exit 1); exit 1; }; }
395 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
397 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 eval "enable_$ac_feature='$ac_optarg'" ;;
402 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
403 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
404 | --exec | --exe | --ex)
405 ac_prev=exec_prefix ;;
406 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
407 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
408 | --exec=* | --exe=* | --ex=*)
409 exec_prefix=$ac_optarg ;;
411 -gas | --gas | --ga | --g)
412 # Obsolete; use --with-gas.
415 -help | --help | --hel | --he | -h)
417 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
418 ac_init_help=recursive ;;
419 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
420 ac_init_help=short ;;
422 -host | --host | --hos | --ho)
423 ac_prev=host_alias ;;
424 -host=* | --host=* | --hos=* | --ho=*)
425 host_alias=$ac_optarg ;;
427 -includedir | --includedir | --includedi | --included | --include \
428 | --includ | --inclu | --incl | --inc)
429 ac_prev=includedir ;;
430 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
431 | --includ=* | --inclu=* | --incl=* | --inc=*)
432 includedir=$ac_optarg ;;
434 -infodir | --infodir | --infodi | --infod | --info | --inf)
436 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437 infodir=$ac_optarg ;;
439 -libdir | --libdir | --libdi | --libd)
441 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
445 | --libexe | --libex | --libe)
446 ac_prev=libexecdir ;;
447 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
448 | --libexe=* | --libex=* | --libe=*)
449 libexecdir=$ac_optarg ;;
451 -localstatedir | --localstatedir | --localstatedi | --localstated \
452 | --localstate | --localstat | --localsta | --localst \
453 | --locals | --local | --loca | --loc | --lo)
454 ac_prev=localstatedir ;;
455 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
456 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
457 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
458 localstatedir=$ac_optarg ;;
460 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
462 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
466 # Obsolete; use --without-fp.
469 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470 | --no-cr | --no-c | -n)
473 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
478 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
479 | --oldin | --oldi | --old | --ol | --o)
480 ac_prev=oldincludedir ;;
481 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
482 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
483 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
484 oldincludedir=$ac_optarg ;;
486 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
488 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 -program-prefix | --program-prefix | --program-prefi | --program-pref \
492 | --program-pre | --program-pr | --program-p)
493 ac_prev=program_prefix ;;
494 -program-prefix=* | --program-prefix=* | --program-prefi=* \
495 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
496 program_prefix=$ac_optarg ;;
498 -program-suffix | --program-suffix | --program-suffi | --program-suff \
499 | --program-suf | --program-su | --program-s)
500 ac_prev=program_suffix ;;
501 -program-suffix=* | --program-suffix=* | --program-suffi=* \
502 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
503 program_suffix=$ac_optarg ;;
505 -program-transform-name | --program-transform-name \
506 | --program-transform-nam | --program-transform-na \
507 | --program-transform-n | --program-transform- \
508 | --program-transform | --program-transfor \
509 | --program-transfo | --program-transf \
510 | --program-trans | --program-tran \
511 | --progr-tra | --program-tr | --program-t)
512 ac_prev=program_transform_name ;;
513 -program-transform-name=* | --program-transform-name=* \
514 | --program-transform-nam=* | --program-transform-na=* \
515 | --program-transform-n=* | --program-transform-=* \
516 | --program-transform=* | --program-transfor=* \
517 | --program-transfo=* | --program-transf=* \
518 | --program-trans=* | --program-tran=* \
519 | --progr-tra=* | --program-tr=* | --program-t=*)
520 program_transform_name=$ac_optarg ;;
522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523 | -silent | --silent | --silen | --sile | --sil)
526 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
528 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
530 sbindir=$ac_optarg ;;
532 -sharedstatedir | --sharedstatedir | --sharedstatedi \
533 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534 | --sharedst | --shareds | --shared | --share | --shar \
536 ac_prev=sharedstatedir ;;
537 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
541 sharedstatedir=$ac_optarg ;;
543 -site | --site | --sit)
545 -site=* | --site=* | --sit=*)
548 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
550 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
554 | --syscon | --sysco | --sysc | --sys | --sy)
555 ac_prev=sysconfdir ;;
556 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
557 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
558 sysconfdir=$ac_optarg ;;
560 -target | --target | --targe | --targ | --tar | --ta | --t)
561 ac_prev=target_alias ;;
562 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
563 target_alias=$ac_optarg ;;
565 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 -version | --version | --versio | --versi | --vers | -V)
572 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
573 # Reject names that are not valid shell variable names.
574 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
575 { echo "$as_me: error: invalid package name: $ac_package" >&2
576 { (exit 1); exit 1; }; }
577 ac_package=`echo $ac_package| sed 's/-/_/g'`
579 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 eval "with_$ac_package='$ac_optarg'" ;;
584 -without-* | --without-*)
585 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
586 # Reject names that are not valid shell variable names.
587 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
588 { echo "$as_me: error: invalid package name: $ac_package" >&2
589 { (exit 1); exit 1; }; }
590 ac_package=`echo $ac_package | sed 's/-/_/g'`
591 eval "with_$ac_package=no" ;;
594 # Obsolete; use --with-x.
597 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
598 | --x-incl | --x-inc | --x-in | --x-i)
599 ac_prev=x_includes ;;
600 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
601 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
602 x_includes=$ac_optarg ;;
604 -x-libraries | --x-libraries | --x-librarie | --x-librari \
605 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
606 ac_prev=x_libraries ;;
607 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
608 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
609 x_libraries=$ac_optarg ;;
611 -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613 { (exit 1); exit 1; }; }
617 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
618 # Reject names that are not valid shell variable names.
619 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
620 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
621 { (exit 1); exit 1; }; }
622 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
623 eval "$ac_envvar='$ac_optarg'"
627 # FIXME: should be removed in autoconf 3.0.
628 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
629 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
630 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
631 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
637 if test -n "$ac_prev"; then
638 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
639 { echo "$as_me: error: missing argument to $ac_option" >&2
640 { (exit 1); exit 1; }; }
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
646 eval ac_val=$`echo $ac_var`
648 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650 { (exit 1); exit 1; }; };;
654 # Be sure to have absolute paths.
655 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
656 localstatedir libdir includedir oldincludedir infodir mandir
658 eval ac_val=$`echo $ac_var`
660 [\\/$]* | ?:[\\/]* ) ;;
661 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662 { (exit 1); exit 1; }; };;
666 # There might be people who depend on the old broken behavior: `$host'
667 # used to hold the argument of --host etc.
668 # FIXME: To remove some day.
673 # FIXME: To remove some day.
674 if test "x$host_alias" != x; then
675 if test "x$build_alias" = x; then
676 cross_compiling=maybe
677 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
678 If a cross compiler is detected then cross compile mode will be used." >&2
679 elif test "x$build_alias" != "x$host_alias"; then
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
687 test "$silent" = yes && exec 6>/dev/null
690 # Find the source files, if location was not specified.
691 if test -z "$srcdir"; then
692 ac_srcdir_defaulted=yes
693 # Try the directory containing this script, then its parent.
694 ac_confdir=`(dirname "$0") 2>/dev/null ||
695 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
696 X"$0" : 'X\(//\)[^/]' \| \
697 X"$0" : 'X\(//\)$' \| \
698 X"$0" : 'X\(/\)' \| \
699 . : '\(.\)' 2>/dev/null ||
701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703 /^X\(\/\/\)$/{ s//\1/; q; }
704 /^X\(\/\).*/{ s//\1/; q; }
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
716 { (exit 1); exit 1; }; }
718 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719 { (exit 1); exit 1; }; }
722 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
723 ac_env_build_alias_set=${build_alias+set}
724 ac_env_build_alias_value=$build_alias
725 ac_cv_env_build_alias_set=${build_alias+set}
726 ac_cv_env_build_alias_value=$build_alias
727 ac_env_host_alias_set=${host_alias+set}
728 ac_env_host_alias_value=$host_alias
729 ac_cv_env_host_alias_set=${host_alias+set}
730 ac_cv_env_host_alias_value=$host_alias
731 ac_env_target_alias_set=${target_alias+set}
732 ac_env_target_alias_value=$target_alias
733 ac_cv_env_target_alias_set=${target_alias+set}
734 ac_cv_env_target_alias_value=$target_alias
735 ac_env_CC_set=${CC+set}
737 ac_cv_env_CC_set=${CC+set}
738 ac_cv_env_CC_value=$CC
739 ac_env_CFLAGS_set=${CFLAGS+set}
740 ac_env_CFLAGS_value=$CFLAGS
741 ac_cv_env_CFLAGS_set=${CFLAGS+set}
742 ac_cv_env_CFLAGS_value=$CFLAGS
743 ac_env_LDFLAGS_set=${LDFLAGS+set}
744 ac_env_LDFLAGS_value=$LDFLAGS
745 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_cv_env_LDFLAGS_value=$LDFLAGS
747 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
748 ac_env_CPPFLAGS_value=$CPPFLAGS
749 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
751 ac_env_CPP_set=${CPP+set}
752 ac_env_CPP_value=$CPP
753 ac_cv_env_CPP_set=${CPP+set}
754 ac_cv_env_CPP_value=$CPP
757 # Report the --help message.
759 if test "$ac_init_help" = "long"; then
760 # Omit some internal or obsolete options to make the list less imposing.
761 # This message is too long to be a string in the A/UX 3.1 sh.
763 \`configure' configures libfirm 0.3.0 to adapt to many kinds of systems.
765 Usage: $0 [OPTION]... [VAR=VALUE]...
767 To assign environment variables (e.g., CC, CFLAGS...), specify them as
768 VAR=VALUE. See below for descriptions of some of the useful variables.
770 Defaults for the options are specified in brackets.
773 -h, --help display this help and exit
774 --help=short display options specific to this package
775 --help=recursive display the short help of all the included packages
776 -V, --version display version information and exit
777 -q, --quiet, --silent do not print \`checking...' messages
778 --cache-file=FILE cache test results in FILE [disabled]
779 -C, --config-cache alias for \`--cache-file=config.cache'
780 -n, --no-create do not create output files
781 --srcdir=DIR find the sources in DIR [configure dir or \`..']
786 Installation directories:
787 --prefix=PREFIX install architecture-independent files in PREFIX
789 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 By default, \`make install' will install all the files in
793 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
794 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
795 for instance \`--prefix=\$HOME'.
797 For better control, use the options below.
799 Fine tuning of the installation directories:
800 --bindir=DIR user executables [EPREFIX/bin]
801 --sbindir=DIR system admin executables [EPREFIX/sbin]
802 --libexecdir=DIR program executables [EPREFIX/libexec]
803 --datadir=DIR read-only architecture-independent data [PREFIX/share]
804 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
805 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
806 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
807 --libdir=DIR object code libraries [EPREFIX/lib]
808 --includedir=DIR C header files [PREFIX/include]
809 --oldincludedir=DIR C header files for non-gcc [/usr/include]
810 --infodir=DIR info documentation [PREFIX/info]
811 --mandir=DIR man documentation [PREFIX/man]
818 if test -n "$ac_init_help"; then
819 case $ac_init_help in
820 short | recursive ) echo "Configuration of libfirm 0.3.0:";;
825 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
826 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
827 --enable-debug enable assertions and additional debugging routines
828 --enable-gcc_inline enable gcc inline C-extension
829 --enable-profile enable profiling
830 --enable-autodoc enable auto documentation
831 --enable-firmjni check for tools necesarry to construct a java native interface for Firm
833 Some influential environment variables:
834 CC C compiler command
835 CFLAGS C compiler flags
836 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
837 nonstandard directory <lib dir>
838 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
839 headers in a nonstandard directory <include dir>
842 Use these variables to override the choices made by `configure' or to help
843 it to find libraries and programs with nonstandard names/locations.
848 if test "$ac_init_help" = "recursive"; then
849 # If there are subdirs, report their specific --help.
851 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
852 test -d $ac_dir || continue
855 if test "$ac_dir" != .; then
856 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
857 # A "../" for each directory in $ac_dir_suffix.
858 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
860 ac_dir_suffix= ac_top_builddir=
864 .) # No --srcdir option. We are building in place.
866 if test -z "$ac_top_builddir"; then
869 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
871 [\\/]* | ?:[\\/]* ) # Absolute path.
872 ac_srcdir=$srcdir$ac_dir_suffix;
873 ac_top_srcdir=$srcdir ;;
875 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
876 ac_top_srcdir=$ac_top_builddir$srcdir ;;
878 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
880 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
881 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
882 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
883 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
886 # Check for guested configure; otherwise get Cygnus style configure.
887 if test -f $ac_srcdir/configure.gnu; then
889 $SHELL $ac_srcdir/configure.gnu --help=recursive
890 elif test -f $ac_srcdir/configure; then
892 $SHELL $ac_srcdir/configure --help=recursive
893 elif test -f $ac_srcdir/configure.ac ||
894 test -f $ac_srcdir/configure.in; then
898 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
904 test -n "$ac_init_help" && exit 0
905 if $ac_init_version; then
907 libfirm configure 0.3.0
908 generated by GNU Autoconf 2.53
910 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
911 Free Software Foundation, Inc.
912 This configure script is free software; the Free Software Foundation
913 gives unlimited permission to copy, distribute and modify it.
919 This file contains any messages produced by compilers while
920 running configure, to aid debugging if configure makes a mistake.
922 It was created by libfirm $as_me 0.3.0, which was
923 generated by GNU Autoconf 2.53. Invocation command line was
934 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
935 uname -m = `(uname -m) 2>/dev/null || echo unknown`
936 uname -r = `(uname -r) 2>/dev/null || echo unknown`
937 uname -s = `(uname -s) 2>/dev/null || echo unknown`
938 uname -v = `(uname -v) 2>/dev/null || echo unknown`
940 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
941 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
943 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
944 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
945 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
946 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
947 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
948 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
949 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
957 test -z "$as_dir" && as_dir=.
973 # Keep a trace of the command line.
974 # Strip out --no-create and --no-recursion so they do not pile up.
975 # Also quote any args containing shell meta-characters.
981 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
982 | --no-cr | --no-c | -n ) continue ;;
983 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
984 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
986 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
987 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
989 case " $ac_configure_args " in
990 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
991 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
994 # Get rid of the leading space.
997 # When interrupted or exit'd, cleanup temporary files, and complete
998 # config.log. We remove comments because anyway the quotes in there
999 # would cause problems or look ugly.
1000 # WARNING: Be sure not to use single quotes in there, as some shells,
1001 # such as our DU 5.0 friend, will then `close' the trap.
1002 trap 'exit_status=$?
1003 # Save into config.log some information that might help in debugging.
1007 ## ---------------- ##
1008 ## Cache variables. ##
1009 ## ---------------- ##
1012 # The following way of writing the cache mishandles newlines in values,
1015 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1018 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1019 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1023 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1028 if test -s confdefs.h; then
1035 sed "/^$/d" confdefs.h
1038 test "$ac_signal" != 0 &&
1039 echo "$as_me: caught signal $ac_signal"
1040 echo "$as_me: exit $exit_status"
1042 rm -f core core.* *.core &&
1043 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1046 for ac_signal in 1 2 13 15; do
1047 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1051 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1052 rm -rf conftest* confdefs.h
1053 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1056 # Predefined preprocessor variables.
1058 cat >>confdefs.h <<_ACEOF
1059 #define PACKAGE_NAME "$PACKAGE_NAME"
1063 cat >>confdefs.h <<_ACEOF
1064 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1068 cat >>confdefs.h <<_ACEOF
1069 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_STRING "$PACKAGE_STRING"
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1083 # Let the site file select an alternate cache file if it wants to.
1084 # Prefer explicitly selected file to automatically selected ones.
1085 if test -z "$CONFIG_SITE"; then
1086 if test "x$prefix" != xNONE; then
1087 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1089 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1092 for ac_site_file in $CONFIG_SITE; do
1093 if test -r "$ac_site_file"; then
1094 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1095 echo "$as_me: loading site script $ac_site_file" >&6;}
1096 sed 's/^/| /' "$ac_site_file" >&5
1101 if test -r "$cache_file"; then
1102 # Some versions of bash will fail to source /dev/null (special
1103 # files actually), so we avoid doing that.
1104 if test -f "$cache_file"; then
1105 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1106 echo "$as_me: loading cache $cache_file" >&6;}
1108 [\\/]* | ?:[\\/]* ) . $cache_file;;
1109 *) . ./$cache_file;;
1113 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1114 echo "$as_me: creating cache $cache_file" >&6;}
1118 # Check that the precious variables saved in the cache have kept the same
1120 ac_cache_corrupted=false
1121 for ac_var in `(set) 2>&1 |
1122 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1123 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1124 eval ac_new_set=\$ac_env_${ac_var}_set
1125 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1126 eval ac_new_val="\$ac_env_${ac_var}_value"
1127 case $ac_old_set,$ac_new_set in
1129 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1130 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1131 ac_cache_corrupted=: ;;
1133 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1134 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1135 ac_cache_corrupted=: ;;
1138 if test "x$ac_old_val" != "x$ac_new_val"; then
1139 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1140 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1141 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1142 echo "$as_me: former value: $ac_old_val" >&2;}
1143 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1144 echo "$as_me: current value: $ac_new_val" >&2;}
1145 ac_cache_corrupted=:
1148 # Pass precious variables to config.status.
1149 if test "$ac_new_set" = set; then
1151 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1152 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1153 *) ac_arg=$ac_var=$ac_new_val ;;
1155 case " $ac_configure_args " in
1156 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1157 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1161 if $ac_cache_corrupted; then
1162 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1163 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1164 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1165 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1166 { (exit 1); exit 1; }; }
1170 ac_cpp='$CPP $CPPFLAGS'
1171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1201 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1202 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1203 ir/ana/Makefile ir/tr/Makefile ir/st/Makefile testprograms/Makefile \
1204 firmjni/Makefile firmjni/build_firm_jni firmjni/testprograms/Makefile"
1206 ac_config_headers="$ac_config_headers config.h"
1209 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1214 # Check whether --enable-debug or --disable-debug was given.
1215 if test "${enable_debug+set}" = set; then
1216 enableval="$enable_debug"
1217 if test "$enableval" = yes; then
1218 cat >>confdefs.h <<\_ACEOF
1219 #define DEBUG_libfirm 1
1223 cat >>confdefs.h <<\_ACEOF
1231 # Check whether --enable-gcc_inline or --disable-gcc_inline was given.
1232 if test "${enable_gcc_inline+set}" = set; then
1233 enableval="$enable_gcc_inline"
1234 if test "$enableval" = yes; then
1235 cat >>confdefs.h <<\_ACEOF
1236 #define USE_GCC_INLINE 1
1244 # Check whether --enable-profile or --disable-profile was given.
1245 if test "${enable_profile+set}" = set; then
1246 enableval="$enable_profile"
1247 if test "$enableval"=yes; then
1248 enable_profile_libfirm=yes
1251 enable_profile_libfirm=no
1255 # Check whether --enable-autodoc or --disable-autodoc was given.
1256 if test "${enable_autodoc+set}" = set; then
1257 enableval="$enable_autodoc"
1258 if test "$enableval"=yes; then
1259 enable_auto_documentation=yes
1262 enable_auto_documentation=no
1267 # Check whether --enable-firmjni or --disable-firmjni was given.
1268 if test "${enable_firmjni+set}" = set; then
1269 enableval="$enable_firmjni"
1270 if test "$enableval"=yes; then
1281 ac_cpp='$CPP $CPPFLAGS'
1282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1285 if test -n "$ac_tool_prefix"; then
1286 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1287 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1288 echo "$as_me:$LINENO: checking for $ac_word" >&5
1289 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1290 if test "${ac_cv_prog_CC+set}" = set; then
1291 echo $ECHO_N "(cached) $ECHO_C" >&6
1293 if test -n "$CC"; then
1294 ac_cv_prog_CC="$CC" # Let the user override the test.
1296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1300 test -z "$as_dir" && as_dir=.
1301 for ac_exec_ext in '' $ac_executable_extensions; do
1302 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1303 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1304 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1313 if test -n "$CC"; then
1314 echo "$as_me:$LINENO: result: $CC" >&5
1315 echo "${ECHO_T}$CC" >&6
1317 echo "$as_me:$LINENO: result: no" >&5
1318 echo "${ECHO_T}no" >&6
1322 if test -z "$ac_cv_prog_CC"; then
1324 # Extract the first word of "gcc", so it can be a program name with args.
1325 set dummy gcc; ac_word=$2
1326 echo "$as_me:$LINENO: checking for $ac_word" >&5
1327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1328 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1329 echo $ECHO_N "(cached) $ECHO_C" >&6
1331 if test -n "$ac_ct_CC"; then
1332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1338 test -z "$as_dir" && as_dir=.
1339 for ac_exec_ext in '' $ac_executable_extensions; do
1340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1341 ac_cv_prog_ac_ct_CC="gcc"
1342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1350 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1351 if test -n "$ac_ct_CC"; then
1352 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1353 echo "${ECHO_T}$ac_ct_CC" >&6
1355 echo "$as_me:$LINENO: result: no" >&5
1356 echo "${ECHO_T}no" >&6
1364 if test -z "$CC"; then
1365 if test -n "$ac_tool_prefix"; then
1366 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1367 set dummy ${ac_tool_prefix}cc; ac_word=$2
1368 echo "$as_me:$LINENO: checking for $ac_word" >&5
1369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1370 if test "${ac_cv_prog_CC+set}" = set; then
1371 echo $ECHO_N "(cached) $ECHO_C" >&6
1373 if test -n "$CC"; then
1374 ac_cv_prog_CC="$CC" # Let the user override the test.
1376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1380 test -z "$as_dir" && as_dir=.
1381 for ac_exec_ext in '' $ac_executable_extensions; do
1382 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1383 ac_cv_prog_CC="${ac_tool_prefix}cc"
1384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1393 if test -n "$CC"; then
1394 echo "$as_me:$LINENO: result: $CC" >&5
1395 echo "${ECHO_T}$CC" >&6
1397 echo "$as_me:$LINENO: result: no" >&5
1398 echo "${ECHO_T}no" >&6
1402 if test -z "$ac_cv_prog_CC"; then
1404 # Extract the first word of "cc", so it can be a program name with args.
1405 set dummy cc; ac_word=$2
1406 echo "$as_me:$LINENO: checking for $ac_word" >&5
1407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1408 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1409 echo $ECHO_N "(cached) $ECHO_C" >&6
1411 if test -n "$ac_ct_CC"; then
1412 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1418 test -z "$as_dir" && as_dir=.
1419 for ac_exec_ext in '' $ac_executable_extensions; do
1420 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1421 ac_cv_prog_ac_ct_CC="cc"
1422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1430 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1431 if test -n "$ac_ct_CC"; then
1432 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1433 echo "${ECHO_T}$ac_ct_CC" >&6
1435 echo "$as_me:$LINENO: result: no" >&5
1436 echo "${ECHO_T}no" >&6
1445 if test -z "$CC"; then
1446 # Extract the first word of "cc", so it can be a program name with args.
1447 set dummy cc; ac_word=$2
1448 echo "$as_me:$LINENO: checking for $ac_word" >&5
1449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1450 if test "${ac_cv_prog_CC+set}" = set; then
1451 echo $ECHO_N "(cached) $ECHO_C" >&6
1453 if test -n "$CC"; then
1454 ac_cv_prog_CC="$CC" # Let the user override the test.
1457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1461 test -z "$as_dir" && as_dir=.
1462 for ac_exec_ext in '' $ac_executable_extensions; do
1463 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1464 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1465 ac_prog_rejected=yes
1469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1475 if test $ac_prog_rejected = yes; then
1476 # We found a bogon in the path, so make sure we never use it.
1477 set dummy $ac_cv_prog_CC
1479 if test $# != 0; then
1480 # We chose a different compiler from the bogus one.
1481 # However, it has the same basename, so the bogon will be chosen
1482 # first if we set CC to just the basename; use the full file name.
1484 set dummy "$as_dir/$ac_word" ${1+"$@"}
1492 if test -n "$CC"; then
1493 echo "$as_me:$LINENO: result: $CC" >&5
1494 echo "${ECHO_T}$CC" >&6
1496 echo "$as_me:$LINENO: result: no" >&5
1497 echo "${ECHO_T}no" >&6
1501 if test -z "$CC"; then
1502 if test -n "$ac_tool_prefix"; then
1505 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1506 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1507 echo "$as_me:$LINENO: checking for $ac_word" >&5
1508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1509 if test "${ac_cv_prog_CC+set}" = set; then
1510 echo $ECHO_N "(cached) $ECHO_C" >&6
1512 if test -n "$CC"; then
1513 ac_cv_prog_CC="$CC" # Let the user override the test.
1515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1519 test -z "$as_dir" && as_dir=.
1520 for ac_exec_ext in '' $ac_executable_extensions; do
1521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1522 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1532 if test -n "$CC"; then
1533 echo "$as_me:$LINENO: result: $CC" >&5
1534 echo "${ECHO_T}$CC" >&6
1536 echo "$as_me:$LINENO: result: no" >&5
1537 echo "${ECHO_T}no" >&6
1540 test -n "$CC" && break
1543 if test -z "$CC"; then
1547 # Extract the first word of "$ac_prog", so it can be a program name with args.
1548 set dummy $ac_prog; ac_word=$2
1549 echo "$as_me:$LINENO: checking for $ac_word" >&5
1550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1551 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1552 echo $ECHO_N "(cached) $ECHO_C" >&6
1554 if test -n "$ac_ct_CC"; then
1555 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1561 test -z "$as_dir" && as_dir=.
1562 for ac_exec_ext in '' $ac_executable_extensions; do
1563 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1564 ac_cv_prog_ac_ct_CC="$ac_prog"
1565 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1573 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1574 if test -n "$ac_ct_CC"; then
1575 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1576 echo "${ECHO_T}$ac_ct_CC" >&6
1578 echo "$as_me:$LINENO: result: no" >&5
1579 echo "${ECHO_T}no" >&6
1582 test -n "$ac_ct_CC" && break
1591 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1592 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1593 { (exit 1); exit 1; }; }
1595 # Provide some information about the compiler.
1596 echo "$as_me:$LINENO:" \
1597 "checking for C compiler version" >&5
1598 ac_compiler=`set X $ac_compile; echo $2`
1599 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1600 (eval $ac_compiler --version </dev/null >&5) 2>&5
1602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1603 (exit $ac_status); }
1604 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1605 (eval $ac_compiler -v </dev/null >&5) 2>&5
1607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1608 (exit $ac_status); }
1609 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1610 (eval $ac_compiler -V </dev/null >&5) 2>&5
1612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1613 (exit $ac_status); }
1615 cat >conftest.$ac_ext <<_ACEOF
1616 #line $LINENO "configure"
1617 #include "confdefs.h"
1619 #ifdef F77_DUMMY_MAIN
1623 int F77_DUMMY_MAIN() { return 1; }
1633 ac_clean_files_save=$ac_clean_files
1634 ac_clean_files="$ac_clean_files a.out a.exe"
1635 # Try to create an executable without -o first, disregard a.out.
1636 # It will help us diagnose broken compilers, and finding out an intuition
1638 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1639 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1640 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1641 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1642 (eval $ac_link_default) 2>&5
1644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1645 (exit $ac_status); }; then
1646 # Find the output, starting from the most likely. This scheme is
1647 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1650 # Be careful to initialize this variable, since it used to be cached.
1651 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1653 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1654 ls a.out conftest 2>/dev/null;
1655 ls a.* conftest.* 2>/dev/null`; do
1657 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1658 a.out ) # We found the default executable, but exeext='' is most
1661 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1662 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1669 echo "$as_me: failed program was:" >&5
1670 cat conftest.$ac_ext >&5
1671 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1672 echo "$as_me: error: C compiler cannot create executables" >&2;}
1673 { (exit 77); exit 77; }; }
1676 ac_exeext=$ac_cv_exeext
1677 echo "$as_me:$LINENO: result: $ac_file" >&5
1678 echo "${ECHO_T}$ac_file" >&6
1680 # Check the compiler produces executables we can run. If not, either
1681 # the compiler is broken, or we cross compile.
1682 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1683 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1684 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1685 # If not cross compiling, check that we can run a simple program.
1686 if test "$cross_compiling" != yes; then
1687 if { ac_try='./$ac_file'
1688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1692 (exit $ac_status); }; }; then
1695 if test "$cross_compiling" = maybe; then
1698 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1699 If you meant to cross compile, use \`--host'." >&5
1700 echo "$as_me: error: cannot run C compiled programs.
1701 If you meant to cross compile, use \`--host'." >&2;}
1702 { (exit 1); exit 1; }; }
1706 echo "$as_me:$LINENO: result: yes" >&5
1707 echo "${ECHO_T}yes" >&6
1709 rm -f a.out a.exe conftest$ac_cv_exeext
1710 ac_clean_files=$ac_clean_files_save
1711 # Check the compiler produces executables we can run. If not, either
1712 # the compiler is broken, or we cross compile.
1713 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1714 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1715 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1716 echo "${ECHO_T}$cross_compiling" >&6
1718 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1719 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1721 (eval $ac_link) 2>&5
1723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1724 (exit $ac_status); }; then
1725 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1726 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1727 # work properly (i.e., refer to `conftest.exe'), while it won't with
1729 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1731 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1732 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1739 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1740 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1741 { (exit 1); exit 1; }; }
1744 rm -f conftest$ac_cv_exeext
1745 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1746 echo "${ECHO_T}$ac_cv_exeext" >&6
1748 rm -f conftest.$ac_ext
1749 EXEEXT=$ac_cv_exeext
1751 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1752 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1753 if test "${ac_cv_objext+set}" = set; then
1754 echo $ECHO_N "(cached) $ECHO_C" >&6
1756 cat >conftest.$ac_ext <<_ACEOF
1757 #line $LINENO "configure"
1758 #include "confdefs.h"
1760 #ifdef F77_DUMMY_MAIN
1764 int F77_DUMMY_MAIN() { return 1; }
1774 rm -f conftest.o conftest.obj
1775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1776 (eval $ac_compile) 2>&5
1778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1779 (exit $ac_status); }; then
1780 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1782 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1783 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1788 echo "$as_me: failed program was:" >&5
1789 cat conftest.$ac_ext >&5
1790 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1791 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1792 { (exit 1); exit 1; }; }
1795 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1797 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1798 echo "${ECHO_T}$ac_cv_objext" >&6
1799 OBJEXT=$ac_cv_objext
1801 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1802 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1803 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1804 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 cat >conftest.$ac_ext <<_ACEOF
1807 #line $LINENO "configure"
1808 #include "confdefs.h"
1810 #ifdef F77_DUMMY_MAIN
1814 int F77_DUMMY_MAIN() { return 1; }
1827 rm -f conftest.$ac_objext
1828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1829 (eval $ac_compile) 2>&5
1831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1832 (exit $ac_status); } &&
1833 { ac_try='test -s conftest.$ac_objext'
1834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1838 (exit $ac_status); }; }; then
1841 echo "$as_me: failed program was:" >&5
1842 cat conftest.$ac_ext >&5
1845 rm -f conftest.$ac_objext conftest.$ac_ext
1846 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1849 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1850 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1851 GCC=`test $ac_compiler_gnu = yes && echo yes`
1852 ac_test_CFLAGS=${CFLAGS+set}
1853 ac_save_CFLAGS=$CFLAGS
1855 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1856 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1857 if test "${ac_cv_prog_cc_g+set}" = set; then
1858 echo $ECHO_N "(cached) $ECHO_C" >&6
1860 cat >conftest.$ac_ext <<_ACEOF
1861 #line $LINENO "configure"
1862 #include "confdefs.h"
1864 #ifdef F77_DUMMY_MAIN
1868 int F77_DUMMY_MAIN() { return 1; }
1878 rm -f conftest.$ac_objext
1879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1880 (eval $ac_compile) 2>&5
1882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1883 (exit $ac_status); } &&
1884 { ac_try='test -s conftest.$ac_objext'
1885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1889 (exit $ac_status); }; }; then
1892 echo "$as_me: failed program was:" >&5
1893 cat conftest.$ac_ext >&5
1896 rm -f conftest.$ac_objext conftest.$ac_ext
1898 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1899 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1900 if test "$ac_test_CFLAGS" = set; then
1901 CFLAGS=$ac_save_CFLAGS
1902 elif test $ac_cv_prog_cc_g = yes; then
1903 if test "$GCC" = yes; then
1909 if test "$GCC" = yes; then
1915 # Some people use a C++ compiler to compile C. Since we use `exit',
1916 # in C++ we need to declare it. In case someone uses the same compiler
1917 # for both compiling C and C++ we need to have the C++ compiler decide
1918 # the declaration of exit, since it's the most demanding environment.
1919 cat >conftest.$ac_ext <<_ACEOF
1924 rm -f conftest.$ac_objext
1925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1926 (eval $ac_compile) 2>&5
1928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1929 (exit $ac_status); } &&
1930 { ac_try='test -s conftest.$ac_objext'
1931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1935 (exit $ac_status); }; }; then
1936 for ac_declaration in \
1938 '#include <stdlib.h>' \
1939 'extern "C" void std::exit (int) throw (); using std::exit;' \
1940 'extern "C" void std::exit (int); using std::exit;' \
1941 'extern "C" void exit (int) throw ();' \
1942 'extern "C" void exit (int);' \
1945 cat >conftest.$ac_ext <<_ACEOF
1946 #line $LINENO "configure"
1947 #include "confdefs.h"
1950 #ifdef F77_DUMMY_MAIN
1954 int F77_DUMMY_MAIN() { return 1; }
1964 rm -f conftest.$ac_objext
1965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1966 (eval $ac_compile) 2>&5
1968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1969 (exit $ac_status); } &&
1970 { ac_try='test -s conftest.$ac_objext'
1971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1975 (exit $ac_status); }; }; then
1978 echo "$as_me: failed program was:" >&5
1979 cat conftest.$ac_ext >&5
1982 rm -f conftest.$ac_objext conftest.$ac_ext
1983 cat >conftest.$ac_ext <<_ACEOF
1984 #line $LINENO "configure"
1985 #include "confdefs.h"
1987 #ifdef F77_DUMMY_MAIN
1991 int F77_DUMMY_MAIN() { return 1; }
2001 rm -f conftest.$ac_objext
2002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2003 (eval $ac_compile) 2>&5
2005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2006 (exit $ac_status); } &&
2007 { ac_try='test -s conftest.$ac_objext'
2008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2012 (exit $ac_status); }; }; then
2015 echo "$as_me: failed program was:" >&5
2016 cat conftest.$ac_ext >&5
2018 rm -f conftest.$ac_objext conftest.$ac_ext
2021 if test -n "$ac_declaration"; then
2022 echo '#ifdef __cplusplus' >>confdefs.h
2023 echo $ac_declaration >>confdefs.h
2024 echo '#endif' >>confdefs.h
2028 echo "$as_me: failed program was:" >&5
2029 cat conftest.$ac_ext >&5
2031 rm -f conftest.$ac_objext conftest.$ac_ext
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2040 if test -z "$LD"; then
2041 if test -n "$ac_tool_prefix"; then
2042 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2043 set dummy ${ac_tool_prefix}ld; ac_word=$2
2044 echo "$as_me:$LINENO: checking for $ac_word" >&5
2045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2046 if test "${ac_cv_prog_LD+set}" = set; then
2047 echo $ECHO_N "(cached) $ECHO_C" >&6
2049 if test -n "$LD"; then
2050 ac_cv_prog_LD="$LD" # Let the user override the test.
2052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2056 test -z "$as_dir" && as_dir=.
2057 for ac_exec_ext in '' $ac_executable_extensions; do
2058 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2059 ac_cv_prog_LD="${ac_tool_prefix}ld"
2060 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2069 if test -n "$LD"; then
2070 echo "$as_me:$LINENO: result: $LD" >&5
2071 echo "${ECHO_T}$LD" >&6
2073 echo "$as_me:$LINENO: result: no" >&5
2074 echo "${ECHO_T}no" >&6
2078 if test -z "$ac_cv_prog_LD"; then
2080 # Extract the first word of "ld", so it can be a program name with args.
2081 set dummy ld; ac_word=$2
2082 echo "$as_me:$LINENO: checking for $ac_word" >&5
2083 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2084 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2085 echo $ECHO_N "(cached) $ECHO_C" >&6
2087 if test -n "$ac_ct_LD"; then
2088 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2094 test -z "$as_dir" && as_dir=.
2095 for ac_exec_ext in '' $ac_executable_extensions; do
2096 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2097 ac_cv_prog_ac_ct_LD="ld"
2098 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2106 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2107 if test -n "$ac_ct_LD"; then
2108 echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2109 echo "${ECHO_T}$ac_ct_LD" >&6
2111 echo "$as_me:$LINENO: result: no" >&5
2112 echo "${ECHO_T}no" >&6
2122 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2123 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2124 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2125 echo $ECHO_N "(cached) $ECHO_C" >&6
2128 libfirm_cv_prog_ld_r=no
2130 cat > conftest.$ac_ext <<EOF
2131 int foo() { return 0; }
2133 if eval $ac_compile && mv conftest.o conftest2.o; then
2134 cat > conftest.$ac_ext <<EOF
2135 int main() { return foo(); }
2137 if eval $ac_compile; then
2138 if $LD -r -o conftest conftest.o conftest2.o; then
2139 libfirm_cv_prog_ld_r=yes
2146 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2147 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2150 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2151 { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2152 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2153 { (exit 1); exit 1; }; }
2156 # Extract the first word of "ar", so it can be a program name with args.
2157 set dummy ar; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_AR+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2163 if test -n "$AR"; then
2164 ac_cv_prog_AR="$AR" # Let the user override the test.
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_AR=""ar""
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2184 if test -n "$AR"; then
2185 echo "$as_me:$LINENO: result: $AR" >&5
2186 echo "${ECHO_T}$AR" >&6
2188 echo "$as_me:$LINENO: result: no" >&5
2189 echo "${ECHO_T}no" >&6
2192 if test "$AR" != "ar"; then
2193 { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2194 echo "$as_me: error: need ar for creating archives" >&2;}
2195 { (exit 1); exit 1; }; }
2198 # Extract the first word of "tar", so it can be a program name with args.
2199 set dummy tar; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_TAR+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2205 if test -n "$TAR"; then
2206 ac_cv_prog_TAR="$TAR" # Let the user override the test.
2208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2212 test -z "$as_dir" && as_dir=.
2213 for ac_exec_ext in '' $ac_executable_extensions; do
2214 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2215 ac_cv_prog_TAR=""tar""
2216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2226 if test -n "$TAR"; then
2227 echo "$as_me:$LINENO: result: $TAR" >&5
2228 echo "${ECHO_T}$TAR" >&6
2230 echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6
2234 if test "$TAR" != "tar"; then
2235 { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2236 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2237 { (exit 1); exit 1; }; }
2241 if test -n "$ac_tool_prefix"; then
2242 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2243 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2244 echo "$as_me:$LINENO: checking for $ac_word" >&5
2245 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2246 if test "${ac_cv_prog_RANLIB+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 if test -n "$RANLIB"; then
2250 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2252 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2256 test -z "$as_dir" && as_dir=.
2257 for ac_exec_ext in '' $ac_executable_extensions; do
2258 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2259 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2260 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2268 RANLIB=$ac_cv_prog_RANLIB
2269 if test -n "$RANLIB"; then
2270 echo "$as_me:$LINENO: result: $RANLIB" >&5
2271 echo "${ECHO_T}$RANLIB" >&6
2273 echo "$as_me:$LINENO: result: no" >&5
2274 echo "${ECHO_T}no" >&6
2278 if test -z "$ac_cv_prog_RANLIB"; then
2279 ac_ct_RANLIB=$RANLIB
2280 # Extract the first word of "ranlib", so it can be a program name with args.
2281 set dummy ranlib; ac_word=$2
2282 echo "$as_me:$LINENO: checking for $ac_word" >&5
2283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2284 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2285 echo $ECHO_N "(cached) $ECHO_C" >&6
2287 if test -n "$ac_ct_RANLIB"; then
2288 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 test -z "$as_dir" && as_dir=.
2295 for ac_exec_ext in '' $ac_executable_extensions; do
2296 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2297 ac_cv_prog_ac_ct_RANLIB="ranlib"
2298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2307 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2308 if test -n "$ac_ct_RANLIB"; then
2309 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2310 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2312 echo "$as_me:$LINENO: result: no" >&5
2313 echo "${ECHO_T}no" >&6
2316 RANLIB=$ac_ct_RANLIB
2318 RANLIB="$ac_cv_prog_RANLIB"
2323 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2324 if test -f $ac_dir/install-sh; then
2326 ac_install_sh="$ac_aux_dir/install-sh -c"
2328 elif test -f $ac_dir/install.sh; then
2330 ac_install_sh="$ac_aux_dir/install.sh -c"
2332 elif test -f $ac_dir/shtool; then
2334 ac_install_sh="$ac_aux_dir/shtool install -c"
2338 if test -z "$ac_aux_dir"; then
2339 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2340 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2341 { (exit 1); exit 1; }; }
2343 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2344 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2345 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2347 # Find a good install program. We prefer a C program (faster),
2348 # so one script is as good as another. But avoid the broken or
2349 # incompatible versions:
2350 # SysV /etc/install, /usr/sbin/install
2351 # SunOS /usr/etc/install
2352 # IRIX /sbin/install
2354 # AmigaOS /C/install, which installs bootblocks on floppy discs
2355 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2356 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2357 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2358 # ./install, which can be erroneously created by make from ./install.sh.
2359 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2360 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2361 if test -z "$INSTALL"; then
2362 if test "${ac_cv_path_install+set}" = set; then
2363 echo $ECHO_N "(cached) $ECHO_C" >&6
2365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2369 test -z "$as_dir" && as_dir=.
2370 # Account for people who put trailing slashes in PATH elements.
2372 ./ | .// | /cC/* | \
2373 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2376 # OSF1 and SCO ODT 3.0 have their own names for install.
2377 # Don't use installbsd from OSF since it installs stuff as root
2379 for ac_prog in ginstall scoinst install; do
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2381 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2382 if test $ac_prog = install &&
2383 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2384 # AIX install. It has an incompatible calling convention.
2386 elif test $ac_prog = install &&
2387 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2388 # program-specific install script used by HP pwplus--don't use.
2391 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2403 if test "${ac_cv_path_install+set}" = set; then
2404 INSTALL=$ac_cv_path_install
2406 # As a last resort, use the slow shell script. We don't cache a
2407 # path for INSTALL within a source directory, because that will
2408 # break other packages using the cache if that directory is
2409 # removed, or if the path is relative.
2410 INSTALL=$ac_install_sh
2413 echo "$as_me:$LINENO: result: $INSTALL" >&5
2414 echo "${ECHO_T}$INSTALL" >&6
2416 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2417 # It thinks the first close brace ends the variable substitution.
2418 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2420 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2422 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2425 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2426 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2428 if test "$LN_S" = "ln -s"; then
2429 echo "$as_me:$LINENO: result: yes" >&5
2430 echo "${ECHO_T}yes" >&6
2432 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2433 echo "${ECHO_T}no, using $LN_S" >&6
2437 if test "$enable_auto_documentation" = yes; then
2438 # Extract the first word of "robodoc", so it can be a program name with args.
2439 set dummy robodoc; ac_word=$2
2440 echo "$as_me:$LINENO: checking for $ac_word" >&5
2441 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2442 if test "${ac_cv_prog_ROBODOC+set}" = set; then
2443 echo $ECHO_N "(cached) $ECHO_C" >&6
2445 if test -n "$ROBODOC"; then
2446 ac_cv_prog_ROBODOC="$ROBODOC" # Let the user override the test.
2448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2452 test -z "$as_dir" && as_dir=.
2453 for ac_exec_ext in '' $ac_executable_extensions; do
2454 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2455 ac_cv_prog_ROBODOC=""robodoc""
2456 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2462 test -z "$ac_cv_prog_ROBODOC" && ac_cv_prog_ROBODOC=""""
2465 ROBODOC=$ac_cv_prog_ROBODOC
2466 if test -n "$ROBODOC"; then
2467 echo "$as_me:$LINENO: result: $ROBODOC" >&5
2468 echo "${ECHO_T}$ROBODOC" >&6
2470 echo "$as_me:$LINENO: result: no" >&5
2471 echo "${ECHO_T}no" >&6
2474 if test "$ROBODOC" != "robodoc"; then
2475 { { echo "$as_me:$LINENO: error: need robodoc for auto documentation (IPD: module add robodoc)" >&5
2476 echo "$as_me: error: need robodoc for auto documentation (IPD: module add robodoc)" >&2;}
2477 { (exit 1); exit 1; }; }
2482 if test "$enable_firm_jni" = yes; then
2483 # Extract the first word of "javac", so it can be a program name with args.
2484 set dummy javac; ac_word=$2
2485 echo "$as_me:$LINENO: checking for $ac_word" >&5
2486 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2487 if test "${ac_cv_prog_JAVAC+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 if test -n "$JAVAC"; then
2491 ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2497 test -z "$as_dir" && as_dir=.
2498 for ac_exec_ext in '' $ac_executable_extensions; do
2499 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2500 ac_cv_prog_JAVAC=""javac""
2501 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2507 test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
2510 JAVAC=$ac_cv_prog_JAVAC
2511 if test -n "$JAVAC"; then
2512 echo "$as_me:$LINENO: result: $JAVAC" >&5
2513 echo "${ECHO_T}$JAVAC" >&6
2515 echo "$as_me:$LINENO: result: no" >&5
2516 echo "${ECHO_T}no" >&6
2519 if test "$JAVAC" != "javac"; then
2520 { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
2521 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
2522 { (exit 1); exit 1; }; }
2524 # Extract the first word of "javah", so it can be a program name with args.
2525 set dummy javah; ac_word=$2
2526 echo "$as_me:$LINENO: checking for $ac_word" >&5
2527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2528 if test "${ac_cv_prog_JAVAH+set}" = set; then
2529 echo $ECHO_N "(cached) $ECHO_C" >&6
2531 if test -n "$JAVAH"; then
2532 ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
2534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2538 test -z "$as_dir" && as_dir=.
2539 for ac_exec_ext in '' $ac_executable_extensions; do
2540 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2541 ac_cv_prog_JAVAH=""javah""
2542 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2548 test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
2551 JAVAH=$ac_cv_prog_JAVAH
2552 if test -n "$JAVAH"; then
2553 echo "$as_me:$LINENO: result: $JAVAH" >&5
2554 echo "${ECHO_T}$JAVAH" >&6
2556 echo "$as_me:$LINENO: result: no" >&5
2557 echo "${ECHO_T}no" >&6
2560 if test "$JAVAH" != "javah"; then
2561 { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
2562 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
2563 { (exit 1); exit 1; }; }
2571 ac_cpp='$CPP $CPPFLAGS'
2572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2575 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2576 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2577 # On Suns, sometimes $CPP names a directory.
2578 if test -n "$CPP" && test -d "$CPP"; then
2581 if test -z "$CPP"; then
2582 if test "${ac_cv_prog_CPP+set}" = set; then
2583 echo $ECHO_N "(cached) $ECHO_C" >&6
2585 # Double quotes because CPP needs to be expanded
2586 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2589 for ac_c_preproc_warn_flag in '' yes
2591 # Use a header file that comes with gcc, so configuring glibc
2592 # with a fresh cross-compiler works.
2593 # On the NeXT, cc -E runs the code through the compiler's parser,
2594 # not just through cpp. "Syntax error" is here to catch this case.
2595 cat >conftest.$ac_ext <<_ACEOF
2596 #line $LINENO "configure"
2597 #include "confdefs.h"
2601 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2602 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2604 egrep -v '^ *\+' conftest.er1 >conftest.err
2606 cat conftest.err >&5
2607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2608 (exit $ac_status); } >/dev/null; then
2609 if test -s conftest.err; then
2610 ac_cpp_err=$ac_c_preproc_warn_flag
2617 if test -z "$ac_cpp_err"; then
2620 echo "$as_me: failed program was:" >&5
2621 cat conftest.$ac_ext >&5
2622 # Broken: fails on valid input.
2625 rm -f conftest.err conftest.$ac_ext
2627 # OK, works on sane cases. Now check whether non-existent headers
2628 # can be detected and how.
2629 cat >conftest.$ac_ext <<_ACEOF
2630 #line $LINENO "configure"
2631 #include "confdefs.h"
2632 #include <ac_nonexistent.h>
2634 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2635 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2637 egrep -v '^ *\+' conftest.er1 >conftest.err
2639 cat conftest.err >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); } >/dev/null; then
2642 if test -s conftest.err; then
2643 ac_cpp_err=$ac_c_preproc_warn_flag
2650 if test -z "$ac_cpp_err"; then
2651 # Broken: success on invalid input.
2654 echo "$as_me: failed program was:" >&5
2655 cat conftest.$ac_ext >&5
2656 # Passes both tests.
2660 rm -f conftest.err conftest.$ac_ext
2663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2664 rm -f conftest.err conftest.$ac_ext
2665 if $ac_preproc_ok; then
2677 echo "$as_me:$LINENO: result: $CPP" >&5
2678 echo "${ECHO_T}$CPP" >&6
2680 for ac_c_preproc_warn_flag in '' yes
2682 # Use a header file that comes with gcc, so configuring glibc
2683 # with a fresh cross-compiler works.
2684 # On the NeXT, cc -E runs the code through the compiler's parser,
2685 # not just through cpp. "Syntax error" is here to catch this case.
2686 cat >conftest.$ac_ext <<_ACEOF
2687 #line $LINENO "configure"
2688 #include "confdefs.h"
2692 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2693 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2695 egrep -v '^ *\+' conftest.er1 >conftest.err
2697 cat conftest.err >&5
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); } >/dev/null; then
2700 if test -s conftest.err; then
2701 ac_cpp_err=$ac_c_preproc_warn_flag
2708 if test -z "$ac_cpp_err"; then
2711 echo "$as_me: failed program was:" >&5
2712 cat conftest.$ac_ext >&5
2713 # Broken: fails on valid input.
2716 rm -f conftest.err conftest.$ac_ext
2718 # OK, works on sane cases. Now check whether non-existent headers
2719 # can be detected and how.
2720 cat >conftest.$ac_ext <<_ACEOF
2721 #line $LINENO "configure"
2722 #include "confdefs.h"
2723 #include <ac_nonexistent.h>
2725 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2726 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2728 egrep -v '^ *\+' conftest.er1 >conftest.err
2730 cat conftest.err >&5
2731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2732 (exit $ac_status); } >/dev/null; then
2733 if test -s conftest.err; then
2734 ac_cpp_err=$ac_c_preproc_warn_flag
2741 if test -z "$ac_cpp_err"; then
2742 # Broken: success on invalid input.
2745 echo "$as_me: failed program was:" >&5
2746 cat conftest.$ac_ext >&5
2747 # Passes both tests.
2751 rm -f conftest.err conftest.$ac_ext
2754 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2755 rm -f conftest.err conftest.$ac_ext
2756 if $ac_preproc_ok; then
2759 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2760 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2761 { (exit 1); exit 1; }; }
2765 ac_cpp='$CPP $CPPFLAGS'
2766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2771 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2772 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2773 if test "${ac_cv_header_stdc+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6
2776 cat >conftest.$ac_ext <<_ACEOF
2777 #line $LINENO "configure"
2778 #include "confdefs.h"
2785 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2786 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2788 egrep -v '^ *\+' conftest.er1 >conftest.err
2790 cat conftest.err >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); } >/dev/null; then
2793 if test -s conftest.err; then
2794 ac_cpp_err=$ac_c_preproc_warn_flag
2801 if test -z "$ac_cpp_err"; then
2802 ac_cv_header_stdc=yes
2804 echo "$as_me: failed program was:" >&5
2805 cat conftest.$ac_ext >&5
2806 ac_cv_header_stdc=no
2808 rm -f conftest.err conftest.$ac_ext
2810 if test $ac_cv_header_stdc = yes; then
2811 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2812 cat >conftest.$ac_ext <<_ACEOF
2813 #line $LINENO "configure"
2814 #include "confdefs.h"
2818 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2819 egrep "memchr" >/dev/null 2>&1; then
2822 ac_cv_header_stdc=no
2828 if test $ac_cv_header_stdc = yes; then
2829 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2830 cat >conftest.$ac_ext <<_ACEOF
2831 #line $LINENO "configure"
2832 #include "confdefs.h"
2836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2837 egrep "free" >/dev/null 2>&1; then
2840 ac_cv_header_stdc=no
2846 if test $ac_cv_header_stdc = yes; then
2847 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2848 if test "$cross_compiling" = yes; then
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #line $LINENO "configure"
2853 #include "confdefs.h"
2855 #if ((' ' & 0x0FF) == 0x020)
2856 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2857 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2859 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2860 || ('j' <= (c) && (c) <= 'r') \
2861 || ('s' <= (c) && (c) <= 'z'))
2862 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2865 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2870 for (i = 0; i < 256; i++)
2871 if (XOR (islower (i), ISLOWER (i))
2872 || toupper (i) != TOUPPER (i))
2877 rm -f conftest$ac_exeext
2878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2879 (eval $ac_link) 2>&5
2881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2882 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; }; then
2890 echo "$as_me: program exited with status $ac_status" >&5
2891 echo "$as_me: failed program was:" >&5
2892 cat conftest.$ac_ext >&5
2894 ac_cv_header_stdc=no
2896 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2900 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2901 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2902 if test $ac_cv_header_stdc = yes; then
2904 cat >>confdefs.h <<\_ACEOF
2905 #define STDC_HEADERS 1
2912 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2922 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2923 inttypes.h stdint.h unistd.h
2925 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2926 echo "$as_me:$LINENO: checking for $ac_header" >&5
2927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2928 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2929 echo $ECHO_N "(cached) $ECHO_C" >&6
2931 cat >conftest.$ac_ext <<_ACEOF
2932 #line $LINENO "configure"
2933 #include "confdefs.h"
2934 $ac_includes_default
2936 #include <$ac_header>
2938 rm -f conftest.$ac_objext
2939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2940 (eval $ac_compile) 2>&5
2942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2943 (exit $ac_status); } &&
2944 { ac_try='test -s conftest.$ac_objext'
2945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); }; }; then
2950 eval "$as_ac_Header=yes"
2952 echo "$as_me: failed program was:" >&5
2953 cat conftest.$ac_ext >&5
2954 eval "$as_ac_Header=no"
2956 rm -f conftest.$ac_objext conftest.$ac_ext
2958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2960 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2961 cat >>confdefs.h <<_ACEOF
2962 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2971 for ac_header in math.h
2973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2975 echo "$as_me:$LINENO: checking for $ac_header" >&5
2976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2983 # Is the header compilable?
2984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
2985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
2986 cat >conftest.$ac_ext <<_ACEOF
2987 #line $LINENO "configure"
2988 #include "confdefs.h"
2989 $ac_includes_default
2990 #include <$ac_header>
2992 rm -f conftest.$ac_objext
2993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2994 (eval $ac_compile) 2>&5
2996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2997 (exit $ac_status); } &&
2998 { ac_try='test -s conftest.$ac_objext'
2999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3003 (exit $ac_status); }; }; then
3004 ac_header_compiler=yes
3006 echo "$as_me: failed program was:" >&5
3007 cat conftest.$ac_ext >&5
3008 ac_header_compiler=no
3010 rm -f conftest.$ac_objext conftest.$ac_ext
3011 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3012 echo "${ECHO_T}$ac_header_compiler" >&6
3014 # Is the header present?
3015 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3016 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3017 cat >conftest.$ac_ext <<_ACEOF
3018 #line $LINENO "configure"
3019 #include "confdefs.h"
3020 #include <$ac_header>
3022 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3023 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3025 egrep -v '^ *\+' conftest.er1 >conftest.err
3027 cat conftest.err >&5
3028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029 (exit $ac_status); } >/dev/null; then
3030 if test -s conftest.err; then
3031 ac_cpp_err=$ac_c_preproc_warn_flag
3038 if test -z "$ac_cpp_err"; then
3039 ac_header_preproc=yes
3041 echo "$as_me: failed program was:" >&5
3042 cat conftest.$ac_ext >&5
3043 ac_header_preproc=no
3045 rm -f conftest.err conftest.$ac_ext
3046 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3047 echo "${ECHO_T}$ac_header_preproc" >&6
3049 # So? What about this header?
3050 case $ac_header_compiler:$ac_header_preproc in
3052 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3053 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3054 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3055 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3057 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3058 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3059 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3060 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3061 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3062 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3064 echo "$as_me:$LINENO: checking for $ac_header" >&5
3065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3067 echo $ECHO_N "(cached) $ECHO_C" >&6
3069 eval "$as_ac_Header=$ac_header_preproc"
3071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3076 cat >>confdefs.h <<_ACEOF
3077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3079 ac_math_headers="yes"
3081 ac_math_headers="no"
3086 if test "$ac_math_headers" != yes; then
3087 { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3088 echo "$as_me: error: \"math header file not found\"" >&2;}
3089 { (exit 1); exit 1; }; }
3095 for ac_header in gmp.h
3097 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3098 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3099 echo "$as_me:$LINENO: checking for $ac_header" >&5
3100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3102 echo $ECHO_N "(cached) $ECHO_C" >&6
3104 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3105 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3107 # Is the header compilable?
3108 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3109 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3110 cat >conftest.$ac_ext <<_ACEOF
3111 #line $LINENO "configure"
3112 #include "confdefs.h"
3113 $ac_includes_default
3114 #include <$ac_header>
3116 rm -f conftest.$ac_objext
3117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118 (eval $ac_compile) 2>&5
3120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3121 (exit $ac_status); } &&
3122 { ac_try='test -s conftest.$ac_objext'
3123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); }; }; then
3128 ac_header_compiler=yes
3130 echo "$as_me: failed program was:" >&5
3131 cat conftest.$ac_ext >&5
3132 ac_header_compiler=no
3134 rm -f conftest.$ac_objext conftest.$ac_ext
3135 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3136 echo "${ECHO_T}$ac_header_compiler" >&6
3138 # Is the header present?
3139 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3140 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3141 cat >conftest.$ac_ext <<_ACEOF
3142 #line $LINENO "configure"
3143 #include "confdefs.h"
3144 #include <$ac_header>
3146 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3147 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3149 egrep -v '^ *\+' conftest.er1 >conftest.err
3151 cat conftest.err >&5
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); } >/dev/null; then
3154 if test -s conftest.err; then
3155 ac_cpp_err=$ac_c_preproc_warn_flag
3162 if test -z "$ac_cpp_err"; then
3163 ac_header_preproc=yes
3165 echo "$as_me: failed program was:" >&5
3166 cat conftest.$ac_ext >&5
3167 ac_header_preproc=no
3169 rm -f conftest.err conftest.$ac_ext
3170 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3171 echo "${ECHO_T}$ac_header_preproc" >&6
3173 # So? What about this header?
3174 case $ac_header_compiler:$ac_header_preproc in
3176 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3177 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3178 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3179 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3181 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3182 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3183 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3184 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3185 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3186 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3188 echo "$as_me:$LINENO: checking for $ac_header" >&5
3189 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3190 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3191 echo $ECHO_N "(cached) $ECHO_C" >&6
3193 eval "$as_ac_Header=$ac_header_preproc"
3195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3196 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3199 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3200 cat >>confdefs.h <<_ACEOF
3201 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3203 ac_gmp_headers="yes"
3210 if test "$ac_gmp_headers" != yes; then
3211 { { echo "$as_me:$LINENO: error: \"GNU multiprecission gmp header file not found\"" >&5
3212 echo "$as_me: error: \"GNU multiprecission gmp header file not found\"" >&2;}
3213 { (exit 1); exit 1; }; }
3219 for ac_header in obstack.h
3221 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3222 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3223 echo "$as_me:$LINENO: checking for $ac_header" >&5
3224 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3228 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3229 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3231 # Is the header compilable?
3232 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3233 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3234 cat >conftest.$ac_ext <<_ACEOF
3235 #line $LINENO "configure"
3236 #include "confdefs.h"
3237 $ac_includes_default
3238 #include <$ac_header>
3240 rm -f conftest.$ac_objext
3241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3242 (eval $ac_compile) 2>&5
3244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3245 (exit $ac_status); } &&
3246 { ac_try='test -s conftest.$ac_objext'
3247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3251 (exit $ac_status); }; }; then
3252 ac_header_compiler=yes
3254 echo "$as_me: failed program was:" >&5
3255 cat conftest.$ac_ext >&5
3256 ac_header_compiler=no
3258 rm -f conftest.$ac_objext conftest.$ac_ext
3259 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3260 echo "${ECHO_T}$ac_header_compiler" >&6
3262 # Is the header present?
3263 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3264 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3265 cat >conftest.$ac_ext <<_ACEOF
3266 #line $LINENO "configure"
3267 #include "confdefs.h"
3268 #include <$ac_header>
3270 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3271 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3273 egrep -v '^ *\+' conftest.er1 >conftest.err
3275 cat conftest.err >&5
3276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3277 (exit $ac_status); } >/dev/null; then
3278 if test -s conftest.err; then
3279 ac_cpp_err=$ac_c_preproc_warn_flag
3286 if test -z "$ac_cpp_err"; then
3287 ac_header_preproc=yes
3289 echo "$as_me: failed program was:" >&5
3290 cat conftest.$ac_ext >&5
3291 ac_header_preproc=no
3293 rm -f conftest.err conftest.$ac_ext
3294 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3295 echo "${ECHO_T}$ac_header_preproc" >&6
3297 # So? What about this header?
3298 case $ac_header_compiler:$ac_header_preproc in
3300 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3301 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3302 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3303 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3305 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3306 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3307 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3308 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3312 echo "$as_me:$LINENO: checking for $ac_header" >&5
3313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3315 echo $ECHO_N "(cached) $ECHO_C" >&6
3317 eval "$as_ac_Header=$ac_header_preproc"
3319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3324 cat >>confdefs.h <<_ACEOF
3325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3327 ac_obstack_headers="yes"
3329 ac_obstack_headers="no"
3334 if test "$ac_obstack_headers" != yes; then
3335 { { echo "$as_me:$LINENO: error: \"obstack header file not found\"" >&5
3336 echo "$as_me: error: \"obstack header file not found\"" >&2;}
3337 { (exit 1); exit 1; }; }
3342 if test "$enable_firm_jni" = yes; then
3344 for ac_header in jni.h
3346 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3347 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3348 echo "$as_me:$LINENO: checking for $ac_header" >&5
3349 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3350 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3351 echo $ECHO_N "(cached) $ECHO_C" >&6
3353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3356 # Is the header compilable?
3357 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3358 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3359 cat >conftest.$ac_ext <<_ACEOF
3360 #line $LINENO "configure"
3361 #include "confdefs.h"
3362 $ac_includes_default
3363 #include <$ac_header>
3365 rm -f conftest.$ac_objext
3366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3367 (eval $ac_compile) 2>&5
3369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3370 (exit $ac_status); } &&
3371 { ac_try='test -s conftest.$ac_objext'
3372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3376 (exit $ac_status); }; }; then
3377 ac_header_compiler=yes
3379 echo "$as_me: failed program was:" >&5
3380 cat conftest.$ac_ext >&5
3381 ac_header_compiler=no
3383 rm -f conftest.$ac_objext conftest.$ac_ext
3384 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3385 echo "${ECHO_T}$ac_header_compiler" >&6
3387 # Is the header present?
3388 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3389 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3390 cat >conftest.$ac_ext <<_ACEOF
3391 #line $LINENO "configure"
3392 #include "confdefs.h"
3393 #include <$ac_header>
3395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3398 egrep -v '^ *\+' conftest.er1 >conftest.err
3400 cat conftest.err >&5
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } >/dev/null; then
3403 if test -s conftest.err; then
3404 ac_cpp_err=$ac_c_preproc_warn_flag
3411 if test -z "$ac_cpp_err"; then
3412 ac_header_preproc=yes
3414 echo "$as_me: failed program was:" >&5
3415 cat conftest.$ac_ext >&5
3416 ac_header_preproc=no
3418 rm -f conftest.err conftest.$ac_ext
3419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3420 echo "${ECHO_T}$ac_header_preproc" >&6
3422 # So? What about this header?
3423 case $ac_header_compiler:$ac_header_preproc in
3425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3428 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3430 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3431 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3432 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3433 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3434 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3435 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3437 echo "$as_me:$LINENO: checking for $ac_header" >&5
3438 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3439 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3440 echo $ECHO_N "(cached) $ECHO_C" >&6
3442 eval "$as_ac_Header=$ac_header_preproc"
3444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3445 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3448 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3449 cat >>confdefs.h <<_ACEOF
3450 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3452 ac_jni_headers="yes"
3459 if test "$ac_jni_headers" != yes; then
3460 { { echo "$as_me:$LINENO: error: jni header file not found. (IPD: add -I/usr/public2/java/jdk1.3.1-sun/include/ -I/usr/public2/java/jdk1.3.1-sun/include/linux/ to CPPFLAGS)" >&5
3461 echo "$as_me: error: jni header file not found. (IPD: add -I/usr/public2/java/jdk1.3.1-sun/include/ -I/usr/public2/java/jdk1.3.1-sun/include/linux/ to CPPFLAGS)" >&2;}
3462 { (exit 1); exit 1; }; }
3469 echo "$as_me:$LINENO: checking for main in -lgmp" >&5
3470 echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6
3471 if test "${ac_cv_lib_gmp_main+set}" = set; then
3472 echo $ECHO_N "(cached) $ECHO_C" >&6
3474 ac_check_lib_save_LIBS=$LIBS
3476 cat >conftest.$ac_ext <<_ACEOF
3477 #line $LINENO "configure"
3478 #include "confdefs.h"
3481 #ifdef F77_DUMMY_MAIN
3485 int F77_DUMMY_MAIN() { return 1; }
3495 rm -f conftest.$ac_objext conftest$ac_exeext
3496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3497 (eval $ac_link) 2>&5
3499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3500 (exit $ac_status); } &&
3501 { ac_try='test -s conftest$ac_exeext'
3502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3506 (exit $ac_status); }; }; then
3507 ac_cv_lib_gmp_main=yes
3509 echo "$as_me: failed program was:" >&5
3510 cat conftest.$ac_ext >&5
3511 ac_cv_lib_gmp_main=no
3513 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3514 LIBS=$ac_check_lib_save_LIBS
3516 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5
3517 echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6
3518 if test $ac_cv_lib_gmp_main = yes; then
3519 ac_gmp_library="yes"
3524 if test "$ac_gmp_library" != yes; then
3525 { { echo "$as_me:$LINENO: error: \"GNU multiprecission gmp library not found\"" >&5
3526 echo "$as_me: error: \"GNU multiprecission gmp library not found\"" >&2;}
3527 { (exit 1); exit 1; }; }
3531 echo "$as_me:$LINENO: checking for main in -lm" >&5
3532 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3533 if test "${ac_cv_lib_m_main+set}" = set; then
3534 echo $ECHO_N "(cached) $ECHO_C" >&6
3536 ac_check_lib_save_LIBS=$LIBS
3538 cat >conftest.$ac_ext <<_ACEOF
3539 #line $LINENO "configure"
3540 #include "confdefs.h"
3543 #ifdef F77_DUMMY_MAIN
3547 int F77_DUMMY_MAIN() { return 1; }
3557 rm -f conftest.$ac_objext conftest$ac_exeext
3558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3559 (eval $ac_link) 2>&5
3561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3562 (exit $ac_status); } &&
3563 { ac_try='test -s conftest$ac_exeext'
3564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568 (exit $ac_status); }; }; then
3569 ac_cv_lib_m_main=yes
3571 echo "$as_me: failed program was:" >&5
3572 cat conftest.$ac_ext >&5
3575 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3576 LIBS=$ac_check_lib_save_LIBS
3578 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3579 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3580 if test $ac_cv_lib_m_main = yes; then
3586 if test "$ac_m_library" != yes; then
3587 { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
3588 echo "$as_me: error: \"standard math library not found\"" >&2;}
3589 { (exit 1); exit 1; }; }
3597 echo "$as_me:$LINENO: checking for strerror" >&5
3598 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
3599 if test "${ac_cv_func_strerror+set}" = set; then
3600 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 cat >conftest.$ac_ext <<_ACEOF
3603 #line $LINENO "configure"
3604 #include "confdefs.h"
3605 /* System header to define __stub macros and hopefully few prototypes,
3606 which can conflict with char strerror (); below. */
3608 /* Override any gcc2 internal prototype to avoid an error. */
3612 /* We use char because int might match the return type of a gcc2
3613 builtin and then its argument prototype would still apply. */
3617 #ifdef F77_DUMMY_MAIN
3621 int F77_DUMMY_MAIN() { return 1; }
3626 /* The GNU C library defines this for functions which it implements
3627 to always fail with ENOSYS. Some functions are actually named
3628 something starting with __ and the normal name is an alias. */
3629 #if defined (__stub_strerror) || defined (__stub___strerror)
3639 rm -f conftest.$ac_objext conftest$ac_exeext
3640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3641 (eval $ac_link) 2>&5
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); } &&
3645 { ac_try='test -s conftest$ac_exeext'
3646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3650 (exit $ac_status); }; }; then
3651 ac_cv_func_strerror=yes
3653 echo "$as_me: failed program was:" >&5
3654 cat conftest.$ac_ext >&5
3655 ac_cv_func_strerror=no
3657 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3659 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
3660 echo "${ECHO_T}$ac_cv_func_strerror" >&6
3661 if test $ac_cv_func_strerror = yes; then
3664 { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
3665 echo "$as_me: error: \"need strerror function\"" >&2;}
3666 { (exit 1); exit 1; }; }
3674 ac_config_files="$ac_config_files $ac_output_file"
3675 ac_config_commands="$ac_config_commands default"
3676 cat >confcache <<\_ACEOF
3677 # This file is a shell script that caches the results of configure
3678 # tests run on this system so they can be shared between configure
3679 # scripts and configure runs, see configure's option --config-cache.
3680 # It is not useful on other systems. If it contains results you don't
3681 # want to keep, you may remove or edit it.
3683 # config.status only pays attention to the cache file if you give it
3684 # the --recheck option to rerun configure.
3686 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3692 # The following way of writing the cache mishandles newlines in values,
3693 # but we know of no workaround that is simple, portable, and efficient.
3694 # So, don't put newlines in cache variables' values.
3695 # Ultrix sh set writes to stderr and can't be redirected directly,
3696 # and sets the high bit in the cache file unless we assign to the vars.
3699 case `(ac_space=' '; set | grep ac_space) 2>&1` in
3701 # `set' does not quote correctly, so add quotes (double-quote
3702 # substitution turns \\\\ into \\, and sed turns \\ into \).
3705 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3708 # `set' quotes correctly as required by POSIX, so do not add quotes.
3710 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3717 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3719 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3721 if cmp -s $cache_file confcache; then :; else
3722 if test -w $cache_file; then
3723 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3724 cat confcache >$cache_file
3726 echo "not updating unwritable cache $cache_file"
3731 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3732 # Let make expand exec_prefix.
3733 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3735 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3736 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3737 # trailing colons and then remove the whole line if VPATH becomes empty
3738 # (actually we leave an empty line to preserve line numbers).
3739 if test "x$srcdir" = x.; then
3740 ac_vpsub='/^[ ]*VPATH[ ]*=/{
3741 s/:*\$(srcdir):*/:/;
3742 s/:*\${srcdir}:*/:/;
3744 s/^\([^=]*=[ ]*\):*/\1/;
3750 DEFS=-DHAVE_CONFIG_H
3753 : ${CONFIG_STATUS=./config.status}
3754 ac_clean_files_save=$ac_clean_files
3755 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3756 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3757 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3758 cat >$CONFIG_STATUS <<_ACEOF
3760 # Generated by $as_me.
3761 # Run this file to recreate the current configuration.
3762 # Compiler output produced by configure, useful for debugging
3763 # configure, is in config.log if it exists.
3766 SHELL=\${CONFIG_SHELL-$SHELL}
3769 cat >>$CONFIG_STATUS <<\_ACEOF
3771 ## --------------------- ##
3772 ## M4sh Initialization. ##
3773 ## --------------------- ##
3775 # Be Bourne compatible
3776 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3779 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3784 # Support unset when possible.
3785 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3791 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3792 { $as_unset LANG || test "${LANG+set}" != set; } ||
3793 { LANG=C; export LANG; }
3794 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3795 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3796 { LC_ALL=C; export LC_ALL; }
3797 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3798 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3799 { LC_TIME=C; export LC_TIME; }
3800 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3801 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3802 { LC_CTYPE=C; export LC_CTYPE; }
3803 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3804 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3805 { LANGUAGE=C; export LANGUAGE; }
3806 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3807 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3808 { LC_COLLATE=C; export LC_COLLATE; }
3809 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3810 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3811 { LC_NUMERIC=C; export LC_NUMERIC; }
3812 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3813 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3814 { LC_MESSAGES=C; export LC_MESSAGES; }
3817 # Name of the executable.
3818 as_me=`(basename "$0") 2>/dev/null ||
3819 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3820 X"$0" : 'X\(//\)$' \| \
3821 X"$0" : 'X\(/\)$' \| \
3822 . : '\(.\)' 2>/dev/null ||
3824 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3825 /^X\/\(\/\/\)$/{ s//\1/; q; }
3826 /^X\/\(\/\).*/{ s//\1/; q; }
3829 # PATH needs CR, and LINENO needs CR and PATH.
3830 # Avoid depending upon Character Ranges.
3831 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3832 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3833 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3834 as_cr_digits='0123456789'
3835 as_cr_alnum=$as_cr_Letters$as_cr_digits
3837 # The user is always right.
3838 if test "${PATH_SEPARATOR+set}" != set; then
3839 echo "#! /bin/sh" >conftest.sh
3840 echo "exit 0" >>conftest.sh
3841 chmod +x conftest.sh
3842 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
3853 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3854 test "x$as_lineno_1" != "x$as_lineno_2" &&
3855 test "x$as_lineno_3" = "x$as_lineno_2" || {
3856 # Find who we are. Look in the path if we contain no path at all
3859 *[\\/]* ) as_myself=$0 ;;
3860 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3864 test -z "$as_dir" && as_dir=.
3865 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3870 # We did not find ourselves, most probably we were run as `sh COMMAND'
3871 # in which case we are not to be found in the path.
3872 if test "x$as_myself" = x; then
3875 if test ! -f "$as_myself"; then
3876 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
3877 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
3878 { (exit 1); exit 1; }; }
3880 case $CONFIG_SHELL in
3882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3883 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
3886 test -z "$as_dir" && as_dir=.
3887 for as_base in sh bash ksh sh5; do
3890 if ("$as_dir/$as_base" -c '
3893 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
3894 test "x$as_lineno_1" != "x$as_lineno_2" &&
3895 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
3896 CONFIG_SHELL=$as_dir/$as_base
3898 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
3906 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3907 # uniformly replaced by the line number. The first 'sed' inserts a
3908 # line-number line before each line; the second 'sed' does the real
3909 # work. The second script uses 'N' to pair each line-number line
3910 # with the numbered line, and appends trailing '-' during
3911 # substitution so that $LINENO is not a special case at line end.
3912 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3913 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
3914 sed '=' <$as_myself |
3919 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
3922 s,^['$as_cr_digits']*\n,,
3924 chmod +x $as_me.lineno ||
3925 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
3926 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
3927 { (exit 1); exit 1; }; }
3929 # Don't try to exec as it changes $[0], causing all sort of problems
3930 # (the dirname of $[0] is not the place where we might find the
3931 # original and so on. Autoconf is especially sensible to this).
3933 # Exit status is that of the last command.
3938 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
3939 *c*,-n*) ECHO_N= ECHO_C='
3941 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
3942 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
3945 if expr a : '\(a\)' >/dev/null 2>&1; then
3951 rm -f conf$$ conf$$.exe conf$$.file
3953 if ln -s conf$$.file conf$$ 2>/dev/null; then
3954 # We could just check for DJGPP; but this test a) works b) is more generic
3955 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
3956 if test -f conf$$.exe; then
3957 # Don't use ln at all; we don't have any links
3962 elif ln conf$$.file conf$$ 2>/dev/null; then
3967 rm -f conf$$ conf$$.exe conf$$.file
3969 as_executable_p="test -f"
3971 # Sed expression to map a string onto a valid CPP name.
3972 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
3974 # Sed expression to map a string onto a valid variable name.
3975 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
3979 # We need space, tab and new line, in precisely that order.
3985 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
3989 # Open the log real soon, to keep \$[0] and so on meaningful, and to
3990 # report actual input values of CONFIG_FILES etc. instead of their
3991 # values after options handling. Logging --version etc. is OK.
3995 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3996 ## Running $as_me. ##
4001 This file was extended by libfirm $as_me 0.3.0, which was
4002 generated by GNU Autoconf 2.53. Invocation command line was
4004 CONFIG_FILES = $CONFIG_FILES
4005 CONFIG_HEADERS = $CONFIG_HEADERS
4006 CONFIG_LINKS = $CONFIG_LINKS
4007 CONFIG_COMMANDS = $CONFIG_COMMANDS
4011 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4015 # Files that config.status was made for.
4016 if test -n "$ac_config_files"; then
4017 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4020 if test -n "$ac_config_headers"; then
4021 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4024 if test -n "$ac_config_links"; then
4025 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4028 if test -n "$ac_config_commands"; then
4029 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4032 cat >>$CONFIG_STATUS <<\_ACEOF
4035 \`$as_me' instantiates files from templates according to the
4036 current configuration.
4038 Usage: $0 [OPTIONS] [FILE]...
4040 -h, --help print this help, then exit
4041 -V, --version print version number, then exit
4042 -d, --debug don't remove temporary files
4043 --recheck update $as_me by reconfiguring in the same conditions
4044 --file=FILE[:TEMPLATE]
4045 instantiate the configuration file FILE
4046 --header=FILE[:TEMPLATE]
4047 instantiate the configuration header FILE
4049 Configuration files:
4052 Configuration headers:
4055 Configuration commands:
4058 Report bugs to <bug-autoconf@gnu.org>."
4061 cat >>$CONFIG_STATUS <<_ACEOF
4063 libfirm config.status 0.3.0
4064 configured by $0, generated by GNU Autoconf 2.53,
4065 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4067 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4068 Free Software Foundation, Inc.
4069 This config.status script is free software; the Free Software Foundation
4070 gives unlimited permission to copy, distribute and modify it."
4075 cat >>$CONFIG_STATUS <<\_ACEOF
4076 # If no file are specified by the user, then we need to provide default
4077 # value. By we need to know if files were specified by the user.
4083 ac_option=`expr "x$1" : 'x\([^=]*\)='`
4084 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4086 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4090 *) # This is not an option, so the user has probably given explicit
4092 ac_need_defaults=false;;
4096 # Handling of the options.
4098 cat >>$CONFIG_STATUS <<_ACEOF
4099 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4100 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4101 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4103 cat >>$CONFIG_STATUS <<\_ACEOF
4104 --version | --vers* | -V )
4105 echo "$ac_cs_version"; exit 0 ;;
4107 # Conflict between --help and --header
4108 { { echo "$as_me:$LINENO: error: ambiguous option: $1
4109 Try \`$0 --help' for more information." >&5
4110 echo "$as_me: error: ambiguous option: $1
4111 Try \`$0 --help' for more information." >&2;}
4112 { (exit 1); exit 1; }; };;
4113 --help | --hel | -h )
4114 echo "$ac_cs_usage"; exit 0 ;;
4115 --debug | --d* | -d )
4117 --file | --fil | --fi | --f )
4119 CONFIG_FILES="$CONFIG_FILES $1"
4120 ac_need_defaults=false;;
4121 --header | --heade | --head | --hea )
4123 CONFIG_HEADERS="$CONFIG_HEADERS $1"
4124 ac_need_defaults=false;;
4127 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4128 Try \`$0 --help' for more information." >&5
4129 echo "$as_me: error: unrecognized option: $1
4130 Try \`$0 --help' for more information." >&2;}
4131 { (exit 1); exit 1; }; } ;;
4133 *) ac_config_targets="$ac_config_targets $1" ;;
4145 cat >>$CONFIG_STATUS <<\_ACEOF
4146 for ac_config_target in $ac_config_targets
4148 case "$ac_config_target" in
4149 # Handling of arguments.
4150 "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
4151 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4152 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4153 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4154 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4155 { (exit 1); exit 1; }; };;
4159 # If the user did not use the arguments to specify the items to instantiate,
4160 # then the envvar interface is used. Set only those that are not.
4161 # We use the long form for the default assignment because of an extremely
4162 # bizarre bug on SunOS 4.1.3.
4163 if $ac_need_defaults; then
4164 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4165 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4166 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4169 # Create a temporary directory, and hook for its removal unless debugging.
4172 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4173 trap '{ (exit 1); exit 1; }' 1 2 13 15
4176 # Create a (secure) tmp directory for tmp files.
4179 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4180 test -n "$tmp" && test -d "$tmp"
4183 tmp=$TMPDIR/cs$$-$RANDOM
4184 (umask 077 && mkdir $tmp)
4187 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4188 { (exit 1); exit 1; }
4193 cat >>$CONFIG_STATUS <<_ACEOF
4196 # CONFIG_FILES section.
4199 # No need to generate the scripts if there are no CONFIG_FILES.
4200 # This happens for instance when ./config.status config.h
4201 if test -n "\$CONFIG_FILES"; then
4202 # Protect against being on the right side of a sed subst in config.status.
4203 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4204 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4205 s,@SHELL@,$SHELL,;t t
4206 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4207 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4208 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4209 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4210 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4211 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4212 s,@exec_prefix@,$exec_prefix,;t t
4213 s,@prefix@,$prefix,;t t
4214 s,@program_transform_name@,$program_transform_name,;t t
4215 s,@bindir@,$bindir,;t t
4216 s,@sbindir@,$sbindir,;t t
4217 s,@libexecdir@,$libexecdir,;t t
4218 s,@datadir@,$datadir,;t t
4219 s,@sysconfdir@,$sysconfdir,;t t
4220 s,@sharedstatedir@,$sharedstatedir,;t t
4221 s,@localstatedir@,$localstatedir,;t t
4222 s,@libdir@,$libdir,;t t
4223 s,@includedir@,$includedir,;t t
4224 s,@oldincludedir@,$oldincludedir,;t t
4225 s,@infodir@,$infodir,;t t
4226 s,@mandir@,$mandir,;t t
4227 s,@build_alias@,$build_alias,;t t
4228 s,@host_alias@,$host_alias,;t t
4229 s,@target_alias@,$target_alias,;t t
4231 s,@ECHO_C@,$ECHO_C,;t t
4232 s,@ECHO_N@,$ECHO_N,;t t
4233 s,@ECHO_T@,$ECHO_T,;t t
4235 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
4236 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
4237 s,@enable_gcc_inline@,$enable_gcc_inline,;t t
4238 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
4239 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
4240 s,@enable_firm_jni@,$enable_firm_jni,;t t
4242 s,@CFLAGS@,$CFLAGS,;t t
4243 s,@LDFLAGS@,$LDFLAGS,;t t
4244 s,@CPPFLAGS@,$CPPFLAGS,;t t
4245 s,@ac_ct_CC@,$ac_ct_CC,;t t
4246 s,@EXEEXT@,$EXEEXT,;t t
4247 s,@OBJEXT@,$OBJEXT,;t t
4249 s,@ac_ct_LD@,$ac_ct_LD,;t t
4250 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
4253 s,@RANLIB@,$RANLIB,;t t
4254 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4255 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4256 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4257 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4259 s,@ROBODOC@,$ROBODOC,;t t
4260 s,@JAVAC@,$JAVAC,;t t
4261 s,@JAVAH@,$JAVAH,;t t
4267 cat >>$CONFIG_STATUS <<\_ACEOF
4268 # Split the substitutions into bite-sized pieces for seds with
4269 # small command number limits, like on Digital OSF/1 and HP-UX.
4271 ac_sed_frag=1 # Number of current file.
4272 ac_beg=1 # First line for current file.
4273 ac_end=$ac_max_sed_lines # Line after last line for current file.
4276 while $ac_more_lines; do
4277 if test $ac_beg -gt 1; then
4278 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4280 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4282 if test ! -s $tmp/subs.frag; then
4285 # The purpose of the label and of the branching condition is to
4286 # speed up the sed processing (if there are no `@' at all, there
4287 # is no need to browse any of the substitutions).
4288 # These are the two extra sed commands mentioned above.
4290 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4291 if test -z "$ac_sed_cmds"; then
4292 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4294 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4296 ac_sed_frag=`expr $ac_sed_frag + 1`
4298 ac_end=`expr $ac_end + $ac_max_sed_lines`
4301 if test -z "$ac_sed_cmds"; then
4304 fi # test -n "$CONFIG_FILES"
4307 cat >>$CONFIG_STATUS <<\_ACEOF
4308 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4309 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4311 - | *:- | *:-:* ) # input from stdin
4313 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4314 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4315 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4316 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4317 * ) ac_file_in=$ac_file.in ;;
4320 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4321 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4322 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4323 X"$ac_file" : 'X\(//\)[^/]' \| \
4324 X"$ac_file" : 'X\(//\)$' \| \
4325 X"$ac_file" : 'X\(/\)' \| \
4326 . : '\(.\)' 2>/dev/null ||
4328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4329 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4330 /^X\(\/\/\)$/{ s//\1/; q; }
4331 /^X\(\/\).*/{ s//\1/; q; }
4334 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4338 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4339 case $as_mkdir_dir in
4340 # Skip DOS drivespec
4341 ?:) as_incr_dir=$as_mkdir_dir ;;
4343 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4344 test -d "$as_incr_dir" ||
4345 mkdir "$as_incr_dir" ||
4346 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4347 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4348 { (exit 1); exit 1; }; }
4355 if test "$ac_dir" != .; then
4356 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4357 # A "../" for each directory in $ac_dir_suffix.
4358 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4360 ac_dir_suffix= ac_top_builddir=
4364 .) # No --srcdir option. We are building in place.
4366 if test -z "$ac_top_builddir"; then
4369 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4371 [\\/]* | ?:[\\/]* ) # Absolute path.
4372 ac_srcdir=$srcdir$ac_dir_suffix;
4373 ac_top_srcdir=$srcdir ;;
4375 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4376 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4378 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4380 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4381 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4382 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4383 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4387 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4388 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4391 if test x"$ac_file" != x-; then
4392 { echo "$as_me:$LINENO: creating $ac_file" >&5
4393 echo "$as_me: creating $ac_file" >&6;}
4396 # Let's still pretend it is `configure' which instantiates (i.e., don't
4397 # use $as_me), people would be surprised to read:
4398 # /* config.h. Generated by config.status. */
4399 if test x"$ac_file" = x-; then
4402 configure_input="$ac_file. "
4404 configure_input=$configure_input"Generated from `echo $ac_file_in |
4405 sed 's,.*/,,'` by configure."
4407 # First look for the input files in the build tree, otherwise in the
4409 ac_file_inputs=`IFS=:
4410 for f in $ac_file_in; do
4412 -) echo $tmp/stdin ;;
4414 # Absolute (can't be DOS-style, as IFS=:)
4415 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4416 echo "$as_me: error: cannot find input file: $f" >&2;}
4417 { (exit 1); exit 1; }; }
4420 if test -f "$f"; then
4423 elif test -f "$srcdir/$f"; then
4428 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4429 echo "$as_me: error: cannot find input file: $f" >&2;}
4430 { (exit 1); exit 1; }; }
4433 done` || { (exit 1); exit 1; }
4435 cat >>$CONFIG_STATUS <<_ACEOF
4439 cat >>$CONFIG_STATUS <<\_ACEOF
4441 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4442 s,@configure_input@,$configure_input,;t t
4443 s,@srcdir@,$ac_srcdir,;t t
4444 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4445 s,@top_srcdir@,$ac_top_srcdir,;t t
4446 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4447 s,@builddir@,$ac_builddir,;t t
4448 s,@abs_builddir@,$ac_abs_builddir,;t t
4449 s,@top_builddir@,$ac_top_builddir,;t t
4450 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4451 s,@INSTALL@,$ac_INSTALL,;t t
4452 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4454 if test x"$ac_file" != x-; then
4455 mv $tmp/out $ac_file
4463 cat >>$CONFIG_STATUS <<\_ACEOF
4466 # CONFIG_HEADER section.
4469 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4470 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4472 # ac_d sets the value in "#define NAME VALUE" lines.
4473 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
4474 ac_dB='[ ].*$,\1#\2'
4477 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4478 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
4479 ac_uB='$,\1#\2define\3'
4483 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4484 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4486 - | *:- | *:-:* ) # input from stdin
4488 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4489 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4490 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4491 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4492 * ) ac_file_in=$ac_file.in ;;
4495 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4496 echo "$as_me: creating $ac_file" >&6;}
4498 # First look for the input files in the build tree, otherwise in the
4500 ac_file_inputs=`IFS=:
4501 for f in $ac_file_in; do
4503 -) echo $tmp/stdin ;;
4505 # Absolute (can't be DOS-style, as IFS=:)
4506 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4507 echo "$as_me: error: cannot find input file: $f" >&2;}
4508 { (exit 1); exit 1; }; }
4511 if test -f "$f"; then
4514 elif test -f "$srcdir/$f"; then
4519 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4520 echo "$as_me: error: cannot find input file: $f" >&2;}
4521 { (exit 1); exit 1; }; }
4524 done` || { (exit 1); exit 1; }
4525 # Remove the trailing spaces.
4526 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
4530 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4531 # `conftest.undefs', that substitutes the proper values into
4532 # config.h.in to produce config.h. The first handles `#define'
4533 # templates, and the second `#undef' templates.
4534 # And first: Protect against being on the right side of a sed subst in
4535 # config.status. Protect against being in an unquoted here document
4537 rm -f conftest.defines conftest.undefs
4538 # Using a here document instead of a string reduces the quoting nightmare.
4539 # Putting comments in sed scripts is not portable.
4541 # `end' is used to avoid that the second main sed command (meant for
4542 # 0-ary CPP macros) applies to n-ary macro definitions.
4543 # See the Autoconf documentation for `clear'.
4544 cat >confdef2sed.sed <<\_ACEOF
4549 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4551 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4554 # If some macros were called several times there might be several times
4555 # the same #defines, which is useless. Nevertheless, we may not want to
4556 # sort them, since we want the *last* AC-DEFINE to be honored.
4557 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4558 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4559 rm -f confdef2sed.sed
4561 # This sed command replaces #undef with comments. This is necessary, for
4562 # example, in the case of _POSIX_SOURCE, which is predefined and required
4563 # on some systems where configure will not decide to define it.
4564 cat >>conftest.undefs <<\_ACEOF
4565 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4568 # Break up conftest.defines because some shells have a limit on the size
4569 # of here documents, and old seds have small limits too (100 cmds).
4570 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4571 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4572 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4573 echo ' :' >>$CONFIG_STATUS
4575 while grep . conftest.defines >/dev/null
4577 # Write a limited-size here document to $tmp/defines.sed.
4578 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4579 # Speed up: don't consider the non `#define' lines.
4580 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
4581 # Work around the forget-to-reset-the-flag bug.
4582 echo 't clr' >>$CONFIG_STATUS
4583 echo ': clr' >>$CONFIG_STATUS
4584 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4586 sed -f $tmp/defines.sed $tmp/in >$tmp/out
4590 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4591 rm -f conftest.defines
4592 mv conftest.tail conftest.defines
4594 rm -f conftest.defines
4595 echo ' fi # egrep' >>$CONFIG_STATUS
4596 echo >>$CONFIG_STATUS
4598 # Break up conftest.undefs because some shells have a limit on the size
4599 # of here documents, and old seds have small limits too (100 cmds).
4600 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
4602 while grep . conftest.undefs >/dev/null
4604 # Write a limited-size here document to $tmp/undefs.sed.
4605 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4606 # Speed up: don't consider the non `#undef'
4607 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
4608 # Work around the forget-to-reset-the-flag bug.
4609 echo 't clr' >>$CONFIG_STATUS
4610 echo ': clr' >>$CONFIG_STATUS
4611 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4613 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4617 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4618 rm -f conftest.undefs
4619 mv conftest.tail conftest.undefs
4621 rm -f conftest.undefs
4623 cat >>$CONFIG_STATUS <<\_ACEOF
4624 # Let's still pretend it is `configure' which instantiates (i.e., don't
4625 # use $as_me), people would be surprised to read:
4626 # /* config.h. Generated by config.status. */
4627 if test x"$ac_file" = x-; then
4628 echo "/* Generated by configure. */" >$tmp/config.h
4630 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
4632 cat $tmp/in >>$tmp/config.h
4634 if test x"$ac_file" != x-; then
4635 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4636 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4637 echo "$as_me: $ac_file is unchanged" >&6;}
4639 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4640 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4641 X"$ac_file" : 'X\(//\)[^/]' \| \
4642 X"$ac_file" : 'X\(//\)$' \| \
4643 X"$ac_file" : 'X\(/\)' \| \
4644 . : '\(.\)' 2>/dev/null ||
4646 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4647 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4648 /^X\(\/\/\)$/{ s//\1/; q; }
4649 /^X\(\/\).*/{ s//\1/; q; }
4652 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4656 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4657 case $as_mkdir_dir in
4658 # Skip DOS drivespec
4659 ?:) as_incr_dir=$as_mkdir_dir ;;
4661 as_incr_dir=$as_incr_dir/$as_mkdir_dir
4662 test -d "$as_incr_dir" ||
4663 mkdir "$as_incr_dir" ||
4664 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4665 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4666 { (exit 1); exit 1; }; }
4672 mv $tmp/config.h $ac_file
4680 cat >>$CONFIG_STATUS <<\_ACEOF
4683 # CONFIG_COMMANDS section.
4685 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4686 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4687 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4688 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4689 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4690 X"$ac_dest" : 'X\(//\)[^/]' \| \
4691 X"$ac_dest" : 'X\(//\)$' \| \
4692 X"$ac_dest" : 'X\(/\)' \| \
4693 . : '\(.\)' 2>/dev/null ||
4695 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4696 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4697 /^X\(\/\/\)$/{ s//\1/; q; }
4698 /^X\(\/\).*/{ s//\1/; q; }
4702 if test "$ac_dir" != .; then
4703 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4704 # A "../" for each directory in $ac_dir_suffix.
4705 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4707 ac_dir_suffix= ac_top_builddir=
4711 .) # No --srcdir option. We are building in place.
4713 if test -z "$ac_top_builddir"; then
4716 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4718 [\\/]* | ?:[\\/]* ) # Absolute path.
4719 ac_srcdir=$srcdir$ac_dir_suffix;
4720 ac_top_srcdir=$srcdir ;;
4722 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4723 ac_top_srcdir=$ac_top_builddir$srcdir ;;
4725 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4727 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4728 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4729 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4730 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4733 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4734 echo "$as_me: executing $ac_dest commands" >&6;}
4736 default ) touch stamp-h ;;
4741 cat >>$CONFIG_STATUS <<\_ACEOF
4743 { (exit 0); exit 0; }
4745 chmod +x $CONFIG_STATUS
4746 ac_clean_files=$ac_clean_files_save
4749 # configure is writing to config.log, and then calls config.status.
4750 # config.status does its own redirection, appending to config.log.
4751 # Unfortunately, on DOS this fails, as config.log is still kept open
4752 # by configure, so config.status won't be able to write to it; its
4753 # output is simply discarded. So we exec the FD to /dev/null,
4754 # effectively closing config.log, so it can be properly (re)opened and
4755 # appended to by config.status. When coming back to configure, we
4756 # need to make the FD available again.
4757 if test "$no_create" != yes; then
4760 $SHELL $CONFIG_STATUS || ac_cs_success=false
4762 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4763 # would make configure fail if this is the last instruction.
4764 $ac_cs_success || { (exit 1); exit 1; }