replaced malloc.h by stdlib.h and values.h by limits.g for better portability
[libfirm] / configure
1 #! /bin/sh
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.
5 #
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.
10
11 if expr a : '\(a\)' >/dev/null 2>&1; then
12   as_expr=expr
13 else
14   as_expr=false
15 fi
16
17
18 ## --------------------- ##
19 ## M4sh Initialization.  ##
20 ## --------------------- ##
21
22 # Be Bourne compatible
23 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
24   emulate sh
25   NULLCMD=:
26 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
27   set -o posix
28 fi
29
30 # NLS nuisances.
31 # Support unset when possible.
32 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
33   as_unset=unset
34 else
35   as_unset=false
36 fi
37
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; }
62
63
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 ||
70 echo X/"$0" |
71     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
72           /^X\/\(\/\/\)$/{ s//\1/; q; }
73           /^X\/\(\/\).*/{ s//\1/; q; }
74           s/.*/./; q'`
75
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
83
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
88   chmod +x conftest.sh
89   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
90     PATH_SEPARATOR=';'
91   else
92     PATH_SEPARATOR=:
93   fi
94   rm -f conftest.sh
95 fi
96
97
98   as_lineno_1=$LINENO
99   as_lineno_2=$LINENO
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
104   # relative or not.
105   case $0 in
106     *[\\/]* ) as_myself=$0 ;;
107     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
108 for as_dir in $PATH
109 do
110   IFS=$as_save_IFS
111   test -z "$as_dir" && as_dir=.
112   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
113 done
114
115        ;;
116   esac
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
120     as_myself=$0
121   fi
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; }; }
125   fi
126   case $CONFIG_SHELL in
127   '')
128     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
129 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
130 do
131   IFS=$as_save_IFS
132   test -z "$as_dir" && as_dir=.
133   for as_base in sh bash ksh sh5; do
134          case $as_dir in
135          /*)
136            if ("$as_dir/$as_base" -c '
137   as_lineno_1=$LINENO
138   as_lineno_2=$LINENO
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
143              export CONFIG_SHELL
144              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
145            fi;;
146          esac
147        done
148 done
149 ;;
150   esac
151
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 |
161     sed '
162       N
163       s,$,-,
164       : loop
165       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
166       t loop
167       s,-$,,
168       s,^['$as_cr_digits']*\n,,
169     ' >$as_me.lineno &&
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; }; }
173
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).
177   . ./$as_me.lineno
178   # Exit status is that of the last command.
179   exit
180 }
181
182
183 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
184   *c*,-n*) ECHO_N= ECHO_C='
185 ' ECHO_T='      ' ;;
186   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
187   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
188 esac
189
190 if expr a : '\(a\)' >/dev/null 2>&1; then
191   as_expr=expr
192 else
193   as_expr=false
194 fi
195
196 rm -f conf$$ conf$$.exe conf$$.file
197 echo >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
203     as_ln_s='cp -p'
204   else
205     as_ln_s='ln -s'
206   fi
207 elif ln conf$$.file conf$$ 2>/dev/null; then
208   as_ln_s=ln
209 else
210   as_ln_s='cp -p'
211 fi
212 rm -f conf$$ conf$$.exe conf$$.file
213
214 as_executable_p="test -f"
215
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"
218
219 # Sed expression to map a string onto a valid variable name.
220 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
221
222
223 # IFS
224 # We need space, tab and new line, in precisely that order.
225 as_nl='
226 '
227 IFS="   $as_nl"
228
229 # CDPATH.
230 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
231
232
233 # Name of the host.
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`
237
238 exec 6>&1
239
240 #
241 # Initializations.
242 #
243 ac_default_prefix=/usr/local
244 cross_compiling=no
245 subdirs=
246 MFLAGS=
247 MAKEFLAGS=
248 SHELL=${CONFIG_SHELL-/bin/sh}
249
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}
254
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'
260 PACKAGE_BUGREPORT=''
261
262 # Factoring default headers for most tests.
263 ac_includes_default="\
264 #include <stdio.h>
265 #if HAVE_SYS_TYPES_H
266 # include <sys/types.h>
267 #endif
268 #if HAVE_SYS_STAT_H
269 # include <sys/stat.h>
270 #endif
271 #if STDC_HEADERS
272 # include <stdlib.h>
273 # include <stddef.h>
274 #else
275 # if HAVE_STDLIB_H
276 #  include <stdlib.h>
277 # endif
278 #endif
279 #if HAVE_STRING_H
280 # if !STDC_HEADERS && HAVE_MEMORY_H
281 #  include <memory.h>
282 # endif
283 # include <string.h>
284 #endif
285 #if HAVE_STRINGS_H
286 # include <strings.h>
287 #endif
288 #if HAVE_INTTYPES_H
289 # include <inttypes.h>
290 #else
291 # if HAVE_STDINT_H
292 #  include <stdint.h>
293 # endif
294 #endif
295 #if HAVE_UNISTD_H
296 # include <unistd.h>
297 #endif"
298
299
300 # Initialize some variables set by options.
301 ac_init_help=
302 ac_init_version=false
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
305 cache_file=/dev/null
306 exec_prefix=NONE
307 no_create=
308 no_recursion=
309 prefix=NONE
310 program_prefix=NONE
311 program_suffix=NONE
312 program_transform_name=s,x,x,
313 silent=
314 site=
315 srcdir=
316 verbose=
317 x_includes=NONE
318 x_libraries=NONE
319
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'
337
338 ac_prev=
339 for ac_option
340 do
341   # If the previous option needs an argument, assign it.
342   if test -n "$ac_prev"; then
343     eval "$ac_prev=\$ac_option"
344     ac_prev=
345     continue
346   fi
347
348   ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
349
350   # Accept the important Cygnus configure options, so we can diagnose typos.
351
352   case $ac_option in
353
354   -bindir | --bindir | --bindi | --bind | --bin | --bi)
355     ac_prev=bindir ;;
356   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
357     bindir=$ac_optarg ;;
358
359   -build | --build | --buil | --bui | --bu)
360     ac_prev=build_alias ;;
361   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
362     build_alias=$ac_optarg ;;
363
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 ;;
370
371   --config-cache | -C)
372     cache_file=config.cache ;;
373
374   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
375     ac_prev=datadir ;;
376   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
377   | --da=*)
378     datadir=$ac_optarg ;;
379
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" ;;
388
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'`
396     case $ac_option in
397       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
398       *) ac_optarg=yes ;;
399     esac
400     eval "enable_$ac_feature='$ac_optarg'" ;;
401
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 ;;
410
411   -gas | --gas | --ga | --g)
412     # Obsolete; use --with-gas.
413     with_gas=yes ;;
414
415   -help | --help | --hel | --he | -h)
416     ac_init_help=long ;;
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 ;;
421
422   -host | --host | --hos | --ho)
423     ac_prev=host_alias ;;
424   -host=* | --host=* | --hos=* | --ho=*)
425     host_alias=$ac_optarg ;;
426
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 ;;
433
434   -infodir | --infodir | --infodi | --infod | --info | --inf)
435     ac_prev=infodir ;;
436   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
437     infodir=$ac_optarg ;;
438
439   -libdir | --libdir | --libdi | --libd)
440     ac_prev=libdir ;;
441   -libdir=* | --libdir=* | --libdi=* | --libd=*)
442     libdir=$ac_optarg ;;
443
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 ;;
450
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 ;;
459
460   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
461     ac_prev=mandir ;;
462   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
463     mandir=$ac_optarg ;;
464
465   -nfp | --nfp | --nf)
466     # Obsolete; use --without-fp.
467     with_fp=no ;;
468
469   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
470   | --no-cr | --no-c | -n)
471     no_create=yes ;;
472
473   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
474   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
475     no_recursion=yes ;;
476
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 ;;
485
486   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
487     ac_prev=prefix ;;
488   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
489     prefix=$ac_optarg ;;
490
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 ;;
497
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 ;;
504
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 ;;
521
522   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
523   | -silent | --silent | --silen | --sile | --sil)
524     silent=yes ;;
525
526   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
527     ac_prev=sbindir ;;
528   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
529   | --sbi=* | --sb=*)
530     sbindir=$ac_optarg ;;
531
532   -sharedstatedir | --sharedstatedir | --sharedstatedi \
533   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
534   | --sharedst | --shareds | --shared | --share | --shar \
535   | --sha | --sh)
536     ac_prev=sharedstatedir ;;
537   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
538   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
539   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
540   | --sha=* | --sh=*)
541     sharedstatedir=$ac_optarg ;;
542
543   -site | --site | --sit)
544     ac_prev=site ;;
545   -site=* | --site=* | --sit=*)
546     site=$ac_optarg ;;
547
548   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
549     ac_prev=srcdir ;;
550   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
551     srcdir=$ac_optarg ;;
552
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 ;;
559
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 ;;
564
565   -v | -verbose | --verbose | --verbos | --verbo | --verb)
566     verbose=yes ;;
567
568   -version | --version | --versio | --versi | --vers | -V)
569     ac_init_version=: ;;
570
571   -with-* | --with-*)
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'`
578     case $ac_option in
579       *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
580       *) ac_optarg=yes ;;
581     esac
582     eval "with_$ac_package='$ac_optarg'" ;;
583
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" ;;
592
593   --x)
594     # Obsolete; use --with-x.
595     with_x=yes ;;
596
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 ;;
603
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 ;;
610
611   -*) { echo "$as_me: error: unrecognized option: $ac_option
612 Try \`$0 --help' for more information." >&2
613    { (exit 1); exit 1; }; }
614     ;;
615
616   *=*)
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'"
624     export $ac_envvar ;;
625
626   *)
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}
632     ;;
633
634   esac
635 done
636
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; }; }
641 fi
642
643 # Be sure to have absolute paths.
644 for ac_var in exec_prefix prefix
645 do
646   eval ac_val=$`echo $ac_var`
647   case $ac_val in
648     [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
649     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
650    { (exit 1); exit 1; }; };;
651   esac
652 done
653
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
657 do
658   eval ac_val=$`echo $ac_var`
659   case $ac_val in
660     [\\/$]* | ?:[\\/]* ) ;;
661     *)  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
662    { (exit 1); exit 1; }; };;
663   esac
664 done
665
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.
669 build=$build_alias
670 host=$host_alias
671 target=$target_alias
672
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
680     cross_compiling=yes
681   fi
682 fi
683
684 ac_tool_prefix=
685 test -n "$host_alias" && ac_tool_prefix=$host_alias-
686
687 test "$silent" = yes && exec 6>/dev/null
688
689
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 ||
700 echo X"$0" |
701     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
702           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
703           /^X\(\/\/\)$/{ s//\1/; q; }
704           /^X\(\/\).*/{ s//\1/; q; }
705           s/.*/./; q'`
706   srcdir=$ac_confdir
707   if test ! -r $srcdir/$ac_unique_file; then
708     srcdir=..
709   fi
710 else
711   ac_srcdir_defaulted=no
712 fi
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; }; }
717   else
718     { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
719    { (exit 1); exit 1; }; }
720   fi
721 fi
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}
736 ac_env_CC_value=$CC
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
755
756 #
757 # Report the --help message.
758 #
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.
762   cat <<_ACEOF
763 \`configure' configures libfirm 0.3.0 to adapt to many kinds of systems.
764
765 Usage: $0 [OPTION]... [VAR=VALUE]...
766
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.
769
770 Defaults for the options are specified in brackets.
771
772 Configuration:
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 \`..']
782
783 _ACEOF
784
785   cat <<_ACEOF
786 Installation directories:
787   --prefix=PREFIX         install architecture-independent files in PREFIX
788                           [$ac_default_prefix]
789   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
790                           [PREFIX]
791
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'.
796
797 For better control, use the options below.
798
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]
812 _ACEOF
813
814   cat <<\_ACEOF
815 _ACEOF
816 fi
817
818 if test -n "$ac_init_help"; then
819   case $ac_init_help in
820      short | recursive ) echo "Configuration of libfirm 0.3.0:";;
821    esac
822   cat <<\_ACEOF
823
824 Optional Features:
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
832   --disable-libiberty        disable own libiberty parts
833
834 Optional Packages:
835   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
836   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
837   --with-includedir=add colon seperated list of directories to include search path
838
839 Some influential environment variables:
840   CC          C compiler command
841   CFLAGS      C compiler flags
842   LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
843               nonstandard directory <lib dir>
844   CPPFLAGS    C/C++ preprocessor flags, e.g. -I<include dir> if you have
845               headers in a nonstandard directory <include dir>
846   CPP         C preprocessor
847
848 Use these variables to override the choices made by `configure' or to help
849 it to find libraries and programs with nonstandard names/locations.
850
851 _ACEOF
852 fi
853
854 if test "$ac_init_help" = "recursive"; then
855   # If there are subdirs, report their specific --help.
856   ac_popdir=`pwd`
857   for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
858     test -d $ac_dir || continue
859     ac_builddir=.
860
861 if test "$ac_dir" != .; then
862   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
863   # A "../" for each directory in $ac_dir_suffix.
864   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
865 else
866   ac_dir_suffix= ac_top_builddir=
867 fi
868
869 case $srcdir in
870   .)  # No --srcdir option.  We are building in place.
871     ac_srcdir=.
872     if test -z "$ac_top_builddir"; then
873        ac_top_srcdir=.
874     else
875        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
876     fi ;;
877   [\\/]* | ?:[\\/]* )  # Absolute path.
878     ac_srcdir=$srcdir$ac_dir_suffix;
879     ac_top_srcdir=$srcdir ;;
880   *) # Relative path.
881     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
882     ac_top_srcdir=$ac_top_builddir$srcdir ;;
883 esac
884 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
885 # absolute.
886 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
887 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
888 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
889 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
890
891     cd $ac_dir
892     # Check for guested configure; otherwise get Cygnus style configure.
893     if test -f $ac_srcdir/configure.gnu; then
894       echo
895       $SHELL $ac_srcdir/configure.gnu  --help=recursive
896     elif test -f $ac_srcdir/configure; then
897       echo
898       $SHELL $ac_srcdir/configure  --help=recursive
899     elif test -f $ac_srcdir/configure.ac ||
900            test -f $ac_srcdir/configure.in; then
901       echo
902       $ac_configure --help
903     else
904       echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
905     fi
906     cd $ac_popdir
907   done
908 fi
909
910 test -n "$ac_init_help" && exit 0
911 if $ac_init_version; then
912   cat <<\_ACEOF
913 libfirm configure 0.3.0
914 generated by GNU Autoconf 2.53
915
916 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
917 Free Software Foundation, Inc.
918 This configure script is free software; the Free Software Foundation
919 gives unlimited permission to copy, distribute and modify it.
920 _ACEOF
921   exit 0
922 fi
923 exec 5>config.log
924 cat >&5 <<_ACEOF
925 This file contains any messages produced by compilers while
926 running configure, to aid debugging if configure makes a mistake.
927
928 It was created by libfirm $as_me 0.3.0, which was
929 generated by GNU Autoconf 2.53.  Invocation command line was
930
931   $ $0 $@
932
933 _ACEOF
934 {
935 cat <<_ASUNAME
936 ## --------- ##
937 ## Platform. ##
938 ## --------- ##
939
940 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
941 uname -m = `(uname -m) 2>/dev/null || echo unknown`
942 uname -r = `(uname -r) 2>/dev/null || echo unknown`
943 uname -s = `(uname -s) 2>/dev/null || echo unknown`
944 uname -v = `(uname -v) 2>/dev/null || echo unknown`
945
946 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
947 /bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
948
949 /bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
950 /usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
951 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
952 hostinfo               = `(hostinfo) 2>/dev/null               || echo unknown`
953 /bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
954 /usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
955 /bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
956
957 _ASUNAME
958
959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
960 for as_dir in $PATH
961 do
962   IFS=$as_save_IFS
963   test -z "$as_dir" && as_dir=.
964   echo "PATH: $as_dir"
965 done
966
967 } >&5
968
969 cat >&5 <<_ACEOF
970
971
972 ## ----------- ##
973 ## Core tests. ##
974 ## ----------- ##
975
976 _ACEOF
977
978
979 # Keep a trace of the command line.
980 # Strip out --no-create and --no-recursion so they do not pile up.
981 # Also quote any args containing shell meta-characters.
982 ac_configure_args=
983 ac_sep=
984 for ac_arg
985 do
986   case $ac_arg in
987   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
988   | --no-cr | --no-c | -n ) continue ;;
989   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
990   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
991     continue ;;
992   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
993     ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
994   esac
995   case " $ac_configure_args " in
996     *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
997     *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
998        ac_sep=" " ;;
999   esac
1000   # Get rid of the leading space.
1001 done
1002
1003 # When interrupted or exit'd, cleanup temporary files, and complete
1004 # config.log.  We remove comments because anyway the quotes in there
1005 # would cause problems or look ugly.
1006 # WARNING: Be sure not to use single quotes in there, as some shells,
1007 # such as our DU 5.0 friend, will then `close' the trap.
1008 trap 'exit_status=$?
1009   # Save into config.log some information that might help in debugging.
1010   {
1011     echo
1012     cat <<\_ASBOX
1013 ## ---------------- ##
1014 ## Cache variables. ##
1015 ## ---------------- ##
1016 _ASBOX
1017     echo
1018     # The following way of writing the cache mishandles newlines in values,
1019 {
1020   (set) 2>&1 |
1021     case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1022     *ac_space=\ *)
1023       sed -n \
1024         "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1025           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1026       ;;
1027     *)
1028       sed -n \
1029         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1030       ;;
1031     esac;
1032 }
1033     echo
1034     if test -s confdefs.h; then
1035       cat <<\_ASBOX
1036 ## ----------- ##
1037 ## confdefs.h. ##
1038 ## ----------- ##
1039 _ASBOX
1040       echo
1041       sed "/^$/d" confdefs.h
1042       echo
1043     fi
1044     test "$ac_signal" != 0 &&
1045       echo "$as_me: caught signal $ac_signal"
1046     echo "$as_me: exit $exit_status"
1047   } >&5
1048   rm -f core core.* *.core &&
1049   rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1050     exit $exit_status
1051      ' 0
1052 for ac_signal in 1 2 13 15; do
1053   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1054 done
1055 ac_signal=0
1056
1057 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1058 rm -rf conftest* confdefs.h
1059 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1060 echo >confdefs.h
1061
1062 # Predefined preprocessor variables.
1063
1064 cat >>confdefs.h <<_ACEOF
1065 #define PACKAGE_NAME "$PACKAGE_NAME"
1066 _ACEOF
1067
1068
1069 cat >>confdefs.h <<_ACEOF
1070 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1071 _ACEOF
1072
1073
1074 cat >>confdefs.h <<_ACEOF
1075 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1076 _ACEOF
1077
1078
1079 cat >>confdefs.h <<_ACEOF
1080 #define PACKAGE_STRING "$PACKAGE_STRING"
1081 _ACEOF
1082
1083
1084 cat >>confdefs.h <<_ACEOF
1085 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1086 _ACEOF
1087
1088
1089 # Let the site file select an alternate cache file if it wants to.
1090 # Prefer explicitly selected file to automatically selected ones.
1091 if test -z "$CONFIG_SITE"; then
1092   if test "x$prefix" != xNONE; then
1093     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1094   else
1095     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1096   fi
1097 fi
1098 for ac_site_file in $CONFIG_SITE; do
1099   if test -r "$ac_site_file"; then
1100     { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1101 echo "$as_me: loading site script $ac_site_file" >&6;}
1102     sed 's/^/| /' "$ac_site_file" >&5
1103     . "$ac_site_file"
1104   fi
1105 done
1106
1107 if test -r "$cache_file"; then
1108   # Some versions of bash will fail to source /dev/null (special
1109   # files actually), so we avoid doing that.
1110   if test -f "$cache_file"; then
1111     { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1112 echo "$as_me: loading cache $cache_file" >&6;}
1113     case $cache_file in
1114       [\\/]* | ?:[\\/]* ) . $cache_file;;
1115       *)                      . ./$cache_file;;
1116     esac
1117   fi
1118 else
1119   { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1120 echo "$as_me: creating cache $cache_file" >&6;}
1121   >$cache_file
1122 fi
1123
1124 # Check that the precious variables saved in the cache have kept the same
1125 # value.
1126 ac_cache_corrupted=false
1127 for ac_var in `(set) 2>&1 |
1128                sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1129   eval ac_old_set=\$ac_cv_env_${ac_var}_set
1130   eval ac_new_set=\$ac_env_${ac_var}_set
1131   eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1132   eval ac_new_val="\$ac_env_${ac_var}_value"
1133   case $ac_old_set,$ac_new_set in
1134     set,)
1135       { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1136 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1137       ac_cache_corrupted=: ;;
1138     ,set)
1139       { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1140 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1141       ac_cache_corrupted=: ;;
1142     ,);;
1143     *)
1144       if test "x$ac_old_val" != "x$ac_new_val"; then
1145         { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1146 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1147         { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
1148 echo "$as_me:   former value:  $ac_old_val" >&2;}
1149         { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
1150 echo "$as_me:   current value: $ac_new_val" >&2;}
1151         ac_cache_corrupted=:
1152       fi;;
1153   esac
1154   # Pass precious variables to config.status.
1155   if test "$ac_new_set" = set; then
1156     case $ac_new_val in
1157     *" "*|*"    "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1158       ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1159     *) ac_arg=$ac_var=$ac_new_val ;;
1160     esac
1161     case " $ac_configure_args " in
1162       *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
1163       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1164     esac
1165   fi
1166 done
1167 if $ac_cache_corrupted; then
1168   { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1169 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1170   { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1171 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1172    { (exit 1); exit 1; }; }
1173 fi
1174
1175 ac_ext=c
1176 ac_cpp='$CPP $CPPFLAGS'
1177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207 ac_output_file="Makefile MakeRules ir/Makefile ir/adt/Makefile ir/debug/Makefile \
1208                 ir/tv/Makefile ir/common/Makefile ir/ident/Makefile ir/ir/Makefile \
1209                 ir/ana/Makefile ir/tr/Makefile ir/st/Makefile testprograms/Makefile \
1210                 firmjni/Makefile firmjni/testprograms/Makefile libfirm.doxygen"
1211
1212 ac_config_headers="$ac_config_headers config.h"
1213
1214
1215 libfirm_conf_env="${CC+CC='$CC'} ${CFLAGS+CFLAGS='$CFLAGS'} ${CPP+CPP='$CPP'} ${CPPFLAGS+CPPFLAGS='$CPPFLAGS'} ${LDFLAGS+LDFLAGS='$LDFLAGS'} ${LIBS+LIBS='$LIBS'}"
1216
1217
1218
1219 # Check whether --with-includedir or --without-includedir was given.
1220 if test "${with_includedir+set}" = set; then
1221   withval="$with_includedir"
1222   CPPFLAGS=$CPPFLAGS" -I"`echo $withval|sed 's;\:; -I;g'`
1223 else
1224   T_FLAG=""
1225 fi;
1226
1227
1228 # Check whether --enable-debug or --disable-debug was given.
1229 if test "${enable_debug+set}" = set; then
1230   enableval="$enable_debug"
1231   if test "$enableval" = yes; then
1232   cat >>confdefs.h <<\_ACEOF
1233 #define DEBUG_libfirm 1
1234 _ACEOF
1235
1236 else
1237   cat >>confdefs.h <<\_ACEOF
1238 #define NDEBUG 1
1239 _ACEOF
1240
1241 fi
1242 fi;
1243
1244
1245 # Check whether --enable-gcc_inline or --disable-gcc_inline was given.
1246 if test "${enable_gcc_inline+set}" = set; then
1247   enableval="$enable_gcc_inline"
1248   if test "$enableval" = yes; then
1249   cat >>confdefs.h <<\_ACEOF
1250 #define USE_GCC_INLINE 1
1251 _ACEOF
1252
1253 fi
1254 fi;
1255
1256
1257
1258 # Check whether --enable-profile or --disable-profile was given.
1259 if test "${enable_profile+set}" = set; then
1260   enableval="$enable_profile"
1261   if test "$enableval"=yes; then
1262   enable_profile_libfirm=yes
1263 fi
1264 else
1265   enable_profile_libfirm=no
1266 fi;
1267
1268
1269 # Check whether --enable-autodoc or --disable-autodoc was given.
1270 if test "${enable_autodoc+set}" = set; then
1271   enableval="$enable_autodoc"
1272   if test "$enableval"=yes; then
1273   enable_auto_documentation=yes
1274 fi
1275 else
1276   enable_auto_documentation=no
1277 fi;
1278
1279
1280
1281 # Check whether --enable-firmjni or --disable-firmjni was given.
1282 if test "${enable_firmjni+set}" = set; then
1283   enableval="$enable_firmjni"
1284   if test "$enableval"=yes; then
1285   enable_firm_jni=yes
1286 fi
1287 else
1288   enable_firm_jni=no
1289 fi;
1290
1291
1292 # Check whether --enable-libiberty or --disable-libiberty was given.
1293 if test "${enable_libiberty+set}" = set; then
1294   enableval="$enable_libiberty"
1295   if test "$enableval"=yes; then
1296   disable_libiberty_=yes
1297 fi
1298 else
1299   disable_libiberty=no
1300 fi;
1301
1302
1303
1304
1305 ac_ext=c
1306 ac_cpp='$CPP $CPPFLAGS'
1307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1310 if test -n "$ac_tool_prefix"; then
1311   # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1312 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1313 echo "$as_me:$LINENO: checking for $ac_word" >&5
1314 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1315 if test "${ac_cv_prog_CC+set}" = set; then
1316   echo $ECHO_N "(cached) $ECHO_C" >&6
1317 else
1318   if test -n "$CC"; then
1319   ac_cv_prog_CC="$CC" # Let the user override the test.
1320 else
1321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1322 for as_dir in $PATH
1323 do
1324   IFS=$as_save_IFS
1325   test -z "$as_dir" && as_dir=.
1326   for ac_exec_ext in '' $ac_executable_extensions; do
1327   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1328     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1329     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1330     break 2
1331   fi
1332 done
1333 done
1334
1335 fi
1336 fi
1337 CC=$ac_cv_prog_CC
1338 if test -n "$CC"; then
1339   echo "$as_me:$LINENO: result: $CC" >&5
1340 echo "${ECHO_T}$CC" >&6
1341 else
1342   echo "$as_me:$LINENO: result: no" >&5
1343 echo "${ECHO_T}no" >&6
1344 fi
1345
1346 fi
1347 if test -z "$ac_cv_prog_CC"; then
1348   ac_ct_CC=$CC
1349   # Extract the first word of "gcc", so it can be a program name with args.
1350 set dummy gcc; ac_word=$2
1351 echo "$as_me:$LINENO: checking for $ac_word" >&5
1352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1353 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1354   echo $ECHO_N "(cached) $ECHO_C" >&6
1355 else
1356   if test -n "$ac_ct_CC"; then
1357   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1358 else
1359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1360 for as_dir in $PATH
1361 do
1362   IFS=$as_save_IFS
1363   test -z "$as_dir" && as_dir=.
1364   for ac_exec_ext in '' $ac_executable_extensions; do
1365   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1366     ac_cv_prog_ac_ct_CC="gcc"
1367     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1368     break 2
1369   fi
1370 done
1371 done
1372
1373 fi
1374 fi
1375 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1376 if test -n "$ac_ct_CC"; then
1377   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1378 echo "${ECHO_T}$ac_ct_CC" >&6
1379 else
1380   echo "$as_me:$LINENO: result: no" >&5
1381 echo "${ECHO_T}no" >&6
1382 fi
1383
1384   CC=$ac_ct_CC
1385 else
1386   CC="$ac_cv_prog_CC"
1387 fi
1388
1389 if test -z "$CC"; then
1390   if test -n "$ac_tool_prefix"; then
1391   # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1392 set dummy ${ac_tool_prefix}cc; ac_word=$2
1393 echo "$as_me:$LINENO: checking for $ac_word" >&5
1394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1395 if test "${ac_cv_prog_CC+set}" = set; then
1396   echo $ECHO_N "(cached) $ECHO_C" >&6
1397 else
1398   if test -n "$CC"; then
1399   ac_cv_prog_CC="$CC" # Let the user override the test.
1400 else
1401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1402 for as_dir in $PATH
1403 do
1404   IFS=$as_save_IFS
1405   test -z "$as_dir" && as_dir=.
1406   for ac_exec_ext in '' $ac_executable_extensions; do
1407   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1408     ac_cv_prog_CC="${ac_tool_prefix}cc"
1409     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1410     break 2
1411   fi
1412 done
1413 done
1414
1415 fi
1416 fi
1417 CC=$ac_cv_prog_CC
1418 if test -n "$CC"; then
1419   echo "$as_me:$LINENO: result: $CC" >&5
1420 echo "${ECHO_T}$CC" >&6
1421 else
1422   echo "$as_me:$LINENO: result: no" >&5
1423 echo "${ECHO_T}no" >&6
1424 fi
1425
1426 fi
1427 if test -z "$ac_cv_prog_CC"; then
1428   ac_ct_CC=$CC
1429   # Extract the first word of "cc", so it can be a program name with args.
1430 set dummy cc; ac_word=$2
1431 echo "$as_me:$LINENO: checking for $ac_word" >&5
1432 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1433 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1434   echo $ECHO_N "(cached) $ECHO_C" >&6
1435 else
1436   if test -n "$ac_ct_CC"; then
1437   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1438 else
1439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1440 for as_dir in $PATH
1441 do
1442   IFS=$as_save_IFS
1443   test -z "$as_dir" && as_dir=.
1444   for ac_exec_ext in '' $ac_executable_extensions; do
1445   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1446     ac_cv_prog_ac_ct_CC="cc"
1447     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1448     break 2
1449   fi
1450 done
1451 done
1452
1453 fi
1454 fi
1455 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1456 if test -n "$ac_ct_CC"; then
1457   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1458 echo "${ECHO_T}$ac_ct_CC" >&6
1459 else
1460   echo "$as_me:$LINENO: result: no" >&5
1461 echo "${ECHO_T}no" >&6
1462 fi
1463
1464   CC=$ac_ct_CC
1465 else
1466   CC="$ac_cv_prog_CC"
1467 fi
1468
1469 fi
1470 if test -z "$CC"; then
1471   # Extract the first word of "cc", so it can be a program name with args.
1472 set dummy cc; ac_word=$2
1473 echo "$as_me:$LINENO: checking for $ac_word" >&5
1474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1475 if test "${ac_cv_prog_CC+set}" = set; then
1476   echo $ECHO_N "(cached) $ECHO_C" >&6
1477 else
1478   if test -n "$CC"; then
1479   ac_cv_prog_CC="$CC" # Let the user override the test.
1480 else
1481   ac_prog_rejected=no
1482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1483 for as_dir in $PATH
1484 do
1485   IFS=$as_save_IFS
1486   test -z "$as_dir" && as_dir=.
1487   for ac_exec_ext in '' $ac_executable_extensions; do
1488   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1489     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1490        ac_prog_rejected=yes
1491        continue
1492      fi
1493     ac_cv_prog_CC="cc"
1494     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1495     break 2
1496   fi
1497 done
1498 done
1499
1500 if test $ac_prog_rejected = yes; then
1501   # We found a bogon in the path, so make sure we never use it.
1502   set dummy $ac_cv_prog_CC
1503   shift
1504   if test $# != 0; then
1505     # We chose a different compiler from the bogus one.
1506     # However, it has the same basename, so the bogon will be chosen
1507     # first if we set CC to just the basename; use the full file name.
1508     shift
1509     set dummy "$as_dir/$ac_word" ${1+"$@"}
1510     shift
1511     ac_cv_prog_CC="$@"
1512   fi
1513 fi
1514 fi
1515 fi
1516 CC=$ac_cv_prog_CC
1517 if test -n "$CC"; then
1518   echo "$as_me:$LINENO: result: $CC" >&5
1519 echo "${ECHO_T}$CC" >&6
1520 else
1521   echo "$as_me:$LINENO: result: no" >&5
1522 echo "${ECHO_T}no" >&6
1523 fi
1524
1525 fi
1526 if test -z "$CC"; then
1527   if test -n "$ac_tool_prefix"; then
1528   for ac_prog in cl
1529   do
1530     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1531 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1532 echo "$as_me:$LINENO: checking for $ac_word" >&5
1533 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1534 if test "${ac_cv_prog_CC+set}" = set; then
1535   echo $ECHO_N "(cached) $ECHO_C" >&6
1536 else
1537   if test -n "$CC"; then
1538   ac_cv_prog_CC="$CC" # Let the user override the test.
1539 else
1540 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1541 for as_dir in $PATH
1542 do
1543   IFS=$as_save_IFS
1544   test -z "$as_dir" && as_dir=.
1545   for ac_exec_ext in '' $ac_executable_extensions; do
1546   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1547     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1548     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1549     break 2
1550   fi
1551 done
1552 done
1553
1554 fi
1555 fi
1556 CC=$ac_cv_prog_CC
1557 if test -n "$CC"; then
1558   echo "$as_me:$LINENO: result: $CC" >&5
1559 echo "${ECHO_T}$CC" >&6
1560 else
1561   echo "$as_me:$LINENO: result: no" >&5
1562 echo "${ECHO_T}no" >&6
1563 fi
1564
1565     test -n "$CC" && break
1566   done
1567 fi
1568 if test -z "$CC"; then
1569   ac_ct_CC=$CC
1570   for ac_prog in cl
1571 do
1572   # Extract the first word of "$ac_prog", so it can be a program name with args.
1573 set dummy $ac_prog; ac_word=$2
1574 echo "$as_me:$LINENO: checking for $ac_word" >&5
1575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1576 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1577   echo $ECHO_N "(cached) $ECHO_C" >&6
1578 else
1579   if test -n "$ac_ct_CC"; then
1580   ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1581 else
1582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1583 for as_dir in $PATH
1584 do
1585   IFS=$as_save_IFS
1586   test -z "$as_dir" && as_dir=.
1587   for ac_exec_ext in '' $ac_executable_extensions; do
1588   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1589     ac_cv_prog_ac_ct_CC="$ac_prog"
1590     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1591     break 2
1592   fi
1593 done
1594 done
1595
1596 fi
1597 fi
1598 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1599 if test -n "$ac_ct_CC"; then
1600   echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1601 echo "${ECHO_T}$ac_ct_CC" >&6
1602 else
1603   echo "$as_me:$LINENO: result: no" >&5
1604 echo "${ECHO_T}no" >&6
1605 fi
1606
1607   test -n "$ac_ct_CC" && break
1608 done
1609
1610   CC=$ac_ct_CC
1611 fi
1612
1613 fi
1614
1615
1616 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1617 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1618    { (exit 1); exit 1; }; }
1619
1620 # Provide some information about the compiler.
1621 echo "$as_me:$LINENO:" \
1622      "checking for C compiler version" >&5
1623 ac_compiler=`set X $ac_compile; echo $2`
1624 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1625   (eval $ac_compiler --version </dev/null >&5) 2>&5
1626   ac_status=$?
1627   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1628   (exit $ac_status); }
1629 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1630   (eval $ac_compiler -v </dev/null >&5) 2>&5
1631   ac_status=$?
1632   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1633   (exit $ac_status); }
1634 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1635   (eval $ac_compiler -V </dev/null >&5) 2>&5
1636   ac_status=$?
1637   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1638   (exit $ac_status); }
1639
1640 cat >conftest.$ac_ext <<_ACEOF
1641 #line $LINENO "configure"
1642 #include "confdefs.h"
1643
1644 #ifdef F77_DUMMY_MAIN
1645 #  ifdef __cplusplus
1646      extern "C"
1647 #  endif
1648    int F77_DUMMY_MAIN() { return 1; }
1649 #endif
1650 int
1651 main ()
1652 {
1653
1654   ;
1655   return 0;
1656 }
1657 _ACEOF
1658 ac_clean_files_save=$ac_clean_files
1659 ac_clean_files="$ac_clean_files a.out a.exe"
1660 # Try to create an executable without -o first, disregard a.out.
1661 # It will help us diagnose broken compilers, and finding out an intuition
1662 # of exeext.
1663 echo "$as_me:$LINENO: checking for C compiler default output" >&5
1664 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1665 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1666 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1667   (eval $ac_link_default) 2>&5
1668   ac_status=$?
1669   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1670   (exit $ac_status); }; then
1671   # Find the output, starting from the most likely.  This scheme is
1672 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1673 # resort.
1674
1675 # Be careful to initialize this variable, since it used to be cached.
1676 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
1677 ac_cv_exeext=
1678 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
1679                 ls a.out conftest 2>/dev/null;
1680                 ls a.* conftest.* 2>/dev/null`; do
1681   case $ac_file in
1682     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
1683     a.out ) # We found the default executable, but exeext='' is most
1684             # certainly right.
1685             break;;
1686     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1687           # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1688           export ac_cv_exeext
1689           break;;
1690     * ) break;;
1691   esac
1692 done
1693 else
1694   echo "$as_me: failed program was:" >&5
1695 cat conftest.$ac_ext >&5
1696 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
1697 echo "$as_me: error: C compiler cannot create executables" >&2;}
1698    { (exit 77); exit 77; }; }
1699 fi
1700
1701 ac_exeext=$ac_cv_exeext
1702 echo "$as_me:$LINENO: result: $ac_file" >&5
1703 echo "${ECHO_T}$ac_file" >&6
1704
1705 # Check the compiler produces executables we can run.  If not, either
1706 # the compiler is broken, or we cross compile.
1707 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
1708 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1709 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1710 # If not cross compiling, check that we can run a simple program.
1711 if test "$cross_compiling" != yes; then
1712   if { ac_try='./$ac_file'
1713   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1714   (eval $ac_try) 2>&5
1715   ac_status=$?
1716   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717   (exit $ac_status); }; }; then
1718     cross_compiling=no
1719   else
1720     if test "$cross_compiling" = maybe; then
1721         cross_compiling=yes
1722     else
1723         { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
1724 If you meant to cross compile, use \`--host'." >&5
1725 echo "$as_me: error: cannot run C compiled programs.
1726 If you meant to cross compile, use \`--host'." >&2;}
1727    { (exit 1); exit 1; }; }
1728     fi
1729   fi
1730 fi
1731 echo "$as_me:$LINENO: result: yes" >&5
1732 echo "${ECHO_T}yes" >&6
1733
1734 rm -f a.out a.exe conftest$ac_cv_exeext
1735 ac_clean_files=$ac_clean_files_save
1736 # Check the compiler produces executables we can run.  If not, either
1737 # the compiler is broken, or we cross compile.
1738 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1739 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1740 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1741 echo "${ECHO_T}$cross_compiling" >&6
1742
1743 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1744 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1746   (eval $ac_link) 2>&5
1747   ac_status=$?
1748   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1749   (exit $ac_status); }; then
1750   # If both `conftest.exe' and `conftest' are `present' (well, observable)
1751 # catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
1752 # work properly (i.e., refer to `conftest.exe'), while it won't with
1753 # `rm'.
1754 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1755   case $ac_file in
1756     *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1757     *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1758           export ac_cv_exeext
1759           break;;
1760     * ) break;;
1761   esac
1762 done
1763 else
1764   { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
1765 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
1766    { (exit 1); exit 1; }; }
1767 fi
1768
1769 rm -f conftest$ac_cv_exeext
1770 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1771 echo "${ECHO_T}$ac_cv_exeext" >&6
1772
1773 rm -f conftest.$ac_ext
1774 EXEEXT=$ac_cv_exeext
1775 ac_exeext=$EXEEXT
1776 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1777 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1778 if test "${ac_cv_objext+set}" = set; then
1779   echo $ECHO_N "(cached) $ECHO_C" >&6
1780 else
1781   cat >conftest.$ac_ext <<_ACEOF
1782 #line $LINENO "configure"
1783 #include "confdefs.h"
1784
1785 #ifdef F77_DUMMY_MAIN
1786 #  ifdef __cplusplus
1787      extern "C"
1788 #  endif
1789    int F77_DUMMY_MAIN() { return 1; }
1790 #endif
1791 int
1792 main ()
1793 {
1794
1795   ;
1796   return 0;
1797 }
1798 _ACEOF
1799 rm -f conftest.o conftest.obj
1800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1801   (eval $ac_compile) 2>&5
1802   ac_status=$?
1803   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1804   (exit $ac_status); }; then
1805   for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1806   case $ac_file in
1807     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1808     *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1809        break;;
1810   esac
1811 done
1812 else
1813   echo "$as_me: failed program was:" >&5
1814 cat conftest.$ac_ext >&5
1815 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
1816 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
1817    { (exit 1); exit 1; }; }
1818 fi
1819
1820 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1821 fi
1822 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1823 echo "${ECHO_T}$ac_cv_objext" >&6
1824 OBJEXT=$ac_cv_objext
1825 ac_objext=$OBJEXT
1826 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1827 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1828 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1829   echo $ECHO_N "(cached) $ECHO_C" >&6
1830 else
1831   cat >conftest.$ac_ext <<_ACEOF
1832 #line $LINENO "configure"
1833 #include "confdefs.h"
1834
1835 #ifdef F77_DUMMY_MAIN
1836 #  ifdef __cplusplus
1837      extern "C"
1838 #  endif
1839    int F77_DUMMY_MAIN() { return 1; }
1840 #endif
1841 int
1842 main ()
1843 {
1844 #ifndef __GNUC__
1845        choke me
1846 #endif
1847
1848   ;
1849   return 0;
1850 }
1851 _ACEOF
1852 rm -f conftest.$ac_objext
1853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1854   (eval $ac_compile) 2>&5
1855   ac_status=$?
1856   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1857   (exit $ac_status); } &&
1858          { ac_try='test -s conftest.$ac_objext'
1859   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1860   (eval $ac_try) 2>&5
1861   ac_status=$?
1862   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1863   (exit $ac_status); }; }; then
1864   ac_compiler_gnu=yes
1865 else
1866   echo "$as_me: failed program was:" >&5
1867 cat conftest.$ac_ext >&5
1868 ac_compiler_gnu=no
1869 fi
1870 rm -f conftest.$ac_objext conftest.$ac_ext
1871 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1872
1873 fi
1874 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1875 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1876 GCC=`test $ac_compiler_gnu = yes && echo yes`
1877 ac_test_CFLAGS=${CFLAGS+set}
1878 ac_save_CFLAGS=$CFLAGS
1879 CFLAGS="-g"
1880 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1881 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1882 if test "${ac_cv_prog_cc_g+set}" = set; then
1883   echo $ECHO_N "(cached) $ECHO_C" >&6
1884 else
1885   cat >conftest.$ac_ext <<_ACEOF
1886 #line $LINENO "configure"
1887 #include "confdefs.h"
1888
1889 #ifdef F77_DUMMY_MAIN
1890 #  ifdef __cplusplus
1891      extern "C"
1892 #  endif
1893    int F77_DUMMY_MAIN() { return 1; }
1894 #endif
1895 int
1896 main ()
1897 {
1898
1899   ;
1900   return 0;
1901 }
1902 _ACEOF
1903 rm -f conftest.$ac_objext
1904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1905   (eval $ac_compile) 2>&5
1906   ac_status=$?
1907   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1908   (exit $ac_status); } &&
1909          { ac_try='test -s conftest.$ac_objext'
1910   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1911   (eval $ac_try) 2>&5
1912   ac_status=$?
1913   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1914   (exit $ac_status); }; }; then
1915   ac_cv_prog_cc_g=yes
1916 else
1917   echo "$as_me: failed program was:" >&5
1918 cat conftest.$ac_ext >&5
1919 ac_cv_prog_cc_g=no
1920 fi
1921 rm -f conftest.$ac_objext conftest.$ac_ext
1922 fi
1923 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1924 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1925 if test "$ac_test_CFLAGS" = set; then
1926   CFLAGS=$ac_save_CFLAGS
1927 elif test $ac_cv_prog_cc_g = yes; then
1928   if test "$GCC" = yes; then
1929     CFLAGS="-g -O2"
1930   else
1931     CFLAGS="-g"
1932   fi
1933 else
1934   if test "$GCC" = yes; then
1935     CFLAGS="-O2"
1936   else
1937     CFLAGS=
1938   fi
1939 fi
1940 # Some people use a C++ compiler to compile C.  Since we use `exit',
1941 # in C++ we need to declare it.  In case someone uses the same compiler
1942 # for both compiling C and C++ we need to have the C++ compiler decide
1943 # the declaration of exit, since it's the most demanding environment.
1944 cat >conftest.$ac_ext <<_ACEOF
1945 #ifndef __cplusplus
1946   choke me
1947 #endif
1948 _ACEOF
1949 rm -f conftest.$ac_objext
1950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1951   (eval $ac_compile) 2>&5
1952   ac_status=$?
1953   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1954   (exit $ac_status); } &&
1955          { ac_try='test -s conftest.$ac_objext'
1956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1957   (eval $ac_try) 2>&5
1958   ac_status=$?
1959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1960   (exit $ac_status); }; }; then
1961   for ac_declaration in \
1962    ''\
1963    '#include <stdlib.h>' \
1964    'extern "C" void std::exit (int) throw (); using std::exit;' \
1965    'extern "C" void std::exit (int); using std::exit;' \
1966    'extern "C" void exit (int) throw ();' \
1967    'extern "C" void exit (int);' \
1968    'void exit (int);'
1969 do
1970   cat >conftest.$ac_ext <<_ACEOF
1971 #line $LINENO "configure"
1972 #include "confdefs.h"
1973 #include <stdlib.h>
1974 $ac_declaration
1975 #ifdef F77_DUMMY_MAIN
1976 #  ifdef __cplusplus
1977      extern "C"
1978 #  endif
1979    int F77_DUMMY_MAIN() { return 1; }
1980 #endif
1981 int
1982 main ()
1983 {
1984 exit (42);
1985   ;
1986   return 0;
1987 }
1988 _ACEOF
1989 rm -f conftest.$ac_objext
1990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1991   (eval $ac_compile) 2>&5
1992   ac_status=$?
1993   echo "$as_me:$LINENO: \$? = $ac_status" >&5
1994   (exit $ac_status); } &&
1995          { ac_try='test -s conftest.$ac_objext'
1996   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1997   (eval $ac_try) 2>&5
1998   ac_status=$?
1999   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2000   (exit $ac_status); }; }; then
2001   :
2002 else
2003   echo "$as_me: failed program was:" >&5
2004 cat conftest.$ac_ext >&5
2005 continue
2006 fi
2007 rm -f conftest.$ac_objext conftest.$ac_ext
2008   cat >conftest.$ac_ext <<_ACEOF
2009 #line $LINENO "configure"
2010 #include "confdefs.h"
2011 $ac_declaration
2012 #ifdef F77_DUMMY_MAIN
2013 #  ifdef __cplusplus
2014      extern "C"
2015 #  endif
2016    int F77_DUMMY_MAIN() { return 1; }
2017 #endif
2018 int
2019 main ()
2020 {
2021 exit (42);
2022   ;
2023   return 0;
2024 }
2025 _ACEOF
2026 rm -f conftest.$ac_objext
2027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2028   (eval $ac_compile) 2>&5
2029   ac_status=$?
2030   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2031   (exit $ac_status); } &&
2032          { ac_try='test -s conftest.$ac_objext'
2033   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2034   (eval $ac_try) 2>&5
2035   ac_status=$?
2036   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2037   (exit $ac_status); }; }; then
2038   break
2039 else
2040   echo "$as_me: failed program was:" >&5
2041 cat conftest.$ac_ext >&5
2042 fi
2043 rm -f conftest.$ac_objext conftest.$ac_ext
2044 done
2045 rm -f conftest*
2046 if test -n "$ac_declaration"; then
2047   echo '#ifdef __cplusplus' >>confdefs.h
2048   echo $ac_declaration      >>confdefs.h
2049   echo '#endif'             >>confdefs.h
2050 fi
2051
2052 else
2053   echo "$as_me: failed program was:" >&5
2054 cat conftest.$ac_ext >&5
2055 fi
2056 rm -f conftest.$ac_objext conftest.$ac_ext
2057 ac_ext=c
2058 ac_cpp='$CPP $CPPFLAGS'
2059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2062
2063
2064
2065 if test -z "$LD"; then
2066   if test -n "$ac_tool_prefix"; then
2067   # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
2068 set dummy ${ac_tool_prefix}ld; ac_word=$2
2069 echo "$as_me:$LINENO: checking for $ac_word" >&5
2070 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2071 if test "${ac_cv_prog_LD+set}" = set; then
2072   echo $ECHO_N "(cached) $ECHO_C" >&6
2073 else
2074   if test -n "$LD"; then
2075   ac_cv_prog_LD="$LD" # Let the user override the test.
2076 else
2077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2078 for as_dir in $PATH
2079 do
2080   IFS=$as_save_IFS
2081   test -z "$as_dir" && as_dir=.
2082   for ac_exec_ext in '' $ac_executable_extensions; do
2083   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2084     ac_cv_prog_LD="${ac_tool_prefix}ld"
2085     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086     break 2
2087   fi
2088 done
2089 done
2090
2091 fi
2092 fi
2093 LD=$ac_cv_prog_LD
2094 if test -n "$LD"; then
2095   echo "$as_me:$LINENO: result: $LD" >&5
2096 echo "${ECHO_T}$LD" >&6
2097 else
2098   echo "$as_me:$LINENO: result: no" >&5
2099 echo "${ECHO_T}no" >&6
2100 fi
2101
2102 fi
2103 if test -z "$ac_cv_prog_LD"; then
2104   ac_ct_LD=$LD
2105   # Extract the first word of "ld", so it can be a program name with args.
2106 set dummy ld; ac_word=$2
2107 echo "$as_me:$LINENO: checking for $ac_word" >&5
2108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2109 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
2110   echo $ECHO_N "(cached) $ECHO_C" >&6
2111 else
2112   if test -n "$ac_ct_LD"; then
2113   ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
2114 else
2115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2116 for as_dir in $PATH
2117 do
2118   IFS=$as_save_IFS
2119   test -z "$as_dir" && as_dir=.
2120   for ac_exec_ext in '' $ac_executable_extensions; do
2121   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2122     ac_cv_prog_ac_ct_LD="ld"
2123     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2124     break 2
2125   fi
2126 done
2127 done
2128
2129 fi
2130 fi
2131 ac_ct_LD=$ac_cv_prog_ac_ct_LD
2132 if test -n "$ac_ct_LD"; then
2133   echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
2134 echo "${ECHO_T}$ac_ct_LD" >&6
2135 else
2136   echo "$as_me:$LINENO: result: no" >&5
2137 echo "${ECHO_T}no" >&6
2138 fi
2139
2140   LD=$ac_ct_LD
2141 else
2142   LD="$ac_cv_prog_LD"
2143 fi
2144
2145 fi
2146
2147 echo "$as_me:$LINENO: checking whether $LD accepts -r" >&5
2148 echo $ECHO_N "checking whether $LD accepts -r... $ECHO_C" >&6
2149 if test "${libfirm_cv_prog_ld_r+set}" = set; then
2150   echo $ECHO_N "(cached) $ECHO_C" >&6
2151 else
2152
2153 libfirm_cv_prog_ld_r=no
2154 if test "$LD"; then
2155   cat > conftest.$ac_ext <<EOF
2156 int foo() { return 0; }
2157 EOF
2158   if eval $ac_compile && mv conftest.o conftest2.o; then
2159     cat > conftest.$ac_ext <<EOF
2160 extern int foo();
2161 int main() { return foo(); }
2162 EOF
2163     if eval $ac_compile; then
2164       if $LD -r -o conftest conftest.o conftest2.o; then
2165         libfirm_cv_prog_ld_r=yes
2166       fi
2167     fi
2168   fi
2169 fi
2170 rm -f conftest*
2171 fi
2172 echo "$as_me:$LINENO: result: $libfirm_cv_prog_ld_r" >&5
2173 echo "${ECHO_T}$libfirm_cv_prog_ld_r" >&6
2174
2175
2176 if test "$libfirm_cv_prog_ld_r" != "yes"; then
2177   { { echo "$as_me:$LINENO: error: need a prelinkcapable linker" >&5
2178 echo "$as_me: error: need a prelinkcapable linker" >&2;}
2179    { (exit 1); exit 1; }; }
2180 fi
2181
2182 # Extract the first word of "ar", so it can be a program name with args.
2183 set dummy ar; ac_word=$2
2184 echo "$as_me:$LINENO: checking for $ac_word" >&5
2185 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2186 if test "${ac_cv_prog_AR+set}" = set; then
2187   echo $ECHO_N "(cached) $ECHO_C" >&6
2188 else
2189   if test -n "$AR"; then
2190   ac_cv_prog_AR="$AR" # Let the user override the test.
2191 else
2192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2193 for as_dir in $PATH
2194 do
2195   IFS=$as_save_IFS
2196   test -z "$as_dir" && as_dir=.
2197   for ac_exec_ext in '' $ac_executable_extensions; do
2198   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2199     ac_cv_prog_AR=""ar""
2200     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2201     break 2
2202   fi
2203 done
2204 done
2205
2206   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=""""
2207 fi
2208 fi
2209 AR=$ac_cv_prog_AR
2210 if test -n "$AR"; then
2211   echo "$as_me:$LINENO: result: $AR" >&5
2212 echo "${ECHO_T}$AR" >&6
2213 else
2214   echo "$as_me:$LINENO: result: no" >&5
2215 echo "${ECHO_T}no" >&6
2216 fi
2217
2218 if test "$AR" != "ar"; then
2219   { { echo "$as_me:$LINENO: error: need ar for creating archives" >&5
2220 echo "$as_me: error: need ar for creating archives" >&2;}
2221    { (exit 1); exit 1; }; }
2222 fi
2223
2224 # Extract the first word of "tar", so it can be a program name with args.
2225 set dummy tar; ac_word=$2
2226 echo "$as_me:$LINENO: checking for $ac_word" >&5
2227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2228 if test "${ac_cv_prog_TAR+set}" = set; then
2229   echo $ECHO_N "(cached) $ECHO_C" >&6
2230 else
2231   if test -n "$TAR"; then
2232   ac_cv_prog_TAR="$TAR" # Let the user override the test.
2233 else
2234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2235 for as_dir in $PATH
2236 do
2237   IFS=$as_save_IFS
2238   test -z "$as_dir" && as_dir=.
2239   for ac_exec_ext in '' $ac_executable_extensions; do
2240   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2241     ac_cv_prog_TAR=""tar""
2242     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2243     break 2
2244   fi
2245 done
2246 done
2247
2248   test -z "$ac_cv_prog_TAR" && ac_cv_prog_TAR=""""
2249 fi
2250 fi
2251 TAR=$ac_cv_prog_TAR
2252 if test -n "$TAR"; then
2253   echo "$as_me:$LINENO: result: $TAR" >&5
2254 echo "${ECHO_T}$TAR" >&6
2255 else
2256   echo "$as_me:$LINENO: result: no" >&5
2257 echo "${ECHO_T}no" >&6
2258 fi
2259
2260 if test "$TAR" != "tar"; then
2261   { { echo "$as_me:$LINENO: error: need tar for creating archives in distribution" >&5
2262 echo "$as_me: error: need tar for creating archives in distribution" >&2;}
2263    { (exit 1); exit 1; }; }
2264 fi
2265
2266
2267 if test -n "$ac_tool_prefix"; then
2268   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2269 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2270 echo "$as_me:$LINENO: checking for $ac_word" >&5
2271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2272 if test "${ac_cv_prog_RANLIB+set}" = set; then
2273   echo $ECHO_N "(cached) $ECHO_C" >&6
2274 else
2275   if test -n "$RANLIB"; then
2276   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2277 else
2278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2279 for as_dir in $PATH
2280 do
2281   IFS=$as_save_IFS
2282   test -z "$as_dir" && as_dir=.
2283   for ac_exec_ext in '' $ac_executable_extensions; do
2284   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2285     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2286     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2287     break 2
2288   fi
2289 done
2290 done
2291
2292 fi
2293 fi
2294 RANLIB=$ac_cv_prog_RANLIB
2295 if test -n "$RANLIB"; then
2296   echo "$as_me:$LINENO: result: $RANLIB" >&5
2297 echo "${ECHO_T}$RANLIB" >&6
2298 else
2299   echo "$as_me:$LINENO: result: no" >&5
2300 echo "${ECHO_T}no" >&6
2301 fi
2302
2303 fi
2304 if test -z "$ac_cv_prog_RANLIB"; then
2305   ac_ct_RANLIB=$RANLIB
2306   # Extract the first word of "ranlib", so it can be a program name with args.
2307 set dummy ranlib; ac_word=$2
2308 echo "$as_me:$LINENO: checking for $ac_word" >&5
2309 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2310 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2311   echo $ECHO_N "(cached) $ECHO_C" >&6
2312 else
2313   if test -n "$ac_ct_RANLIB"; then
2314   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
2315 else
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2317 for as_dir in $PATH
2318 do
2319   IFS=$as_save_IFS
2320   test -z "$as_dir" && as_dir=.
2321   for ac_exec_ext in '' $ac_executable_extensions; do
2322   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2323     ac_cv_prog_ac_ct_RANLIB="ranlib"
2324     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2325     break 2
2326   fi
2327 done
2328 done
2329
2330   test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
2331 fi
2332 fi
2333 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
2334 if test -n "$ac_ct_RANLIB"; then
2335   echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2336 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2337 else
2338   echo "$as_me:$LINENO: result: no" >&5
2339 echo "${ECHO_T}no" >&6
2340 fi
2341
2342   RANLIB=$ac_ct_RANLIB
2343 else
2344   RANLIB="$ac_cv_prog_RANLIB"
2345 fi
2346
2347
2348 ac_aux_dir=
2349 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
2350   if test -f $ac_dir/install-sh; then
2351     ac_aux_dir=$ac_dir
2352     ac_install_sh="$ac_aux_dir/install-sh -c"
2353     break
2354   elif test -f $ac_dir/install.sh; then
2355     ac_aux_dir=$ac_dir
2356     ac_install_sh="$ac_aux_dir/install.sh -c"
2357     break
2358   elif test -f $ac_dir/shtool; then
2359     ac_aux_dir=$ac_dir
2360     ac_install_sh="$ac_aux_dir/shtool install -c"
2361     break
2362   fi
2363 done
2364 if test -z "$ac_aux_dir"; then
2365   { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
2366 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
2367    { (exit 1); exit 1; }; }
2368 fi
2369 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
2370 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
2371 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
2372
2373 # Find a good install program.  We prefer a C program (faster),
2374 # so one script is as good as another.  But avoid the broken or
2375 # incompatible versions:
2376 # SysV /etc/install, /usr/sbin/install
2377 # SunOS /usr/etc/install
2378 # IRIX /sbin/install
2379 # AIX /bin/install
2380 # AmigaOS /C/install, which installs bootblocks on floppy discs
2381 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2382 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2383 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2384 # ./install, which can be erroneously created by make from ./install.sh.
2385 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2386 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2387 if test -z "$INSTALL"; then
2388 if test "${ac_cv_path_install+set}" = set; then
2389   echo $ECHO_N "(cached) $ECHO_C" >&6
2390 else
2391   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2392 for as_dir in $PATH
2393 do
2394   IFS=$as_save_IFS
2395   test -z "$as_dir" && as_dir=.
2396   # Account for people who put trailing slashes in PATH elements.
2397 case $as_dir/ in
2398   ./ | .// | /cC/* | \
2399   /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2400   /usr/ucb/* ) ;;
2401   *)
2402     # OSF1 and SCO ODT 3.0 have their own names for install.
2403     # Don't use installbsd from OSF since it installs stuff as root
2404     # by default.
2405     for ac_prog in ginstall scoinst install; do
2406       for ac_exec_ext in '' $ac_executable_extensions; do
2407         if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2408           if test $ac_prog = install &&
2409             grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2410             # AIX install.  It has an incompatible calling convention.
2411             :
2412           elif test $ac_prog = install &&
2413             grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2414             # program-specific install script used by HP pwplus--don't use.
2415             :
2416           else
2417             ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2418             break 3
2419           fi
2420         fi
2421       done
2422     done
2423     ;;
2424 esac
2425 done
2426
2427
2428 fi
2429   if test "${ac_cv_path_install+set}" = set; then
2430     INSTALL=$ac_cv_path_install
2431   else
2432     # As a last resort, use the slow shell script.  We don't cache a
2433     # path for INSTALL within a source directory, because that will
2434     # break other packages using the cache if that directory is
2435     # removed, or if the path is relative.
2436     INSTALL=$ac_install_sh
2437   fi
2438 fi
2439 echo "$as_me:$LINENO: result: $INSTALL" >&5
2440 echo "${ECHO_T}$INSTALL" >&6
2441
2442 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2443 # It thinks the first close brace ends the variable substitution.
2444 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2445
2446 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2447
2448 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2449
2450
2451 touch tmp-install.a tmp-install.b
2452 if eval "$INSTALL -C tmp-install.a tmp-install.b" ; then
2453     INSTALL="$INSTALL -C"
2454 fi
2455 rm tmp-install.a tmp-install.b
2456
2457
2458 echo "$as_me:$LINENO: checking whether ln -s works" >&5
2459 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
2460 LN_S=$as_ln_s
2461 if test "$LN_S" = "ln -s"; then
2462   echo "$as_me:$LINENO: result: yes" >&5
2463 echo "${ECHO_T}yes" >&6
2464 else
2465   echo "$as_me:$LINENO: result: no, using $LN_S" >&5
2466 echo "${ECHO_T}no, using $LN_S" >&6
2467 fi
2468
2469
2470 if test "$enable_auto_documentation" = yes; then
2471   # Extract the first word of "doxygen", so it can be a program name with args.
2472 set dummy doxygen; ac_word=$2
2473 echo "$as_me:$LINENO: checking for $ac_word" >&5
2474 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2475 if test "${ac_cv_prog_DOXYGEN+set}" = set; then
2476   echo $ECHO_N "(cached) $ECHO_C" >&6
2477 else
2478   if test -n "$DOXYGEN"; then
2479   ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
2480 else
2481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2482 for as_dir in $PATH
2483 do
2484   IFS=$as_save_IFS
2485   test -z "$as_dir" && as_dir=.
2486   for ac_exec_ext in '' $ac_executable_extensions; do
2487   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2488     ac_cv_prog_DOXYGEN=""doxygen""
2489     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2490     break 2
2491   fi
2492 done
2493 done
2494
2495   test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN=""""
2496 fi
2497 fi
2498 DOXYGEN=$ac_cv_prog_DOXYGEN
2499 if test -n "$DOXYGEN"; then
2500   echo "$as_me:$LINENO: result: $DOXYGEN" >&5
2501 echo "${ECHO_T}$DOXYGEN" >&6
2502 else
2503   echo "$as_me:$LINENO: result: no" >&5
2504 echo "${ECHO_T}no" >&6
2505 fi
2506
2507   if test "$DOXYGEN" != "doxygen"; then
2508     { { echo "$as_me:$LINENO: error: need doxygen for auto documentation" >&5
2509 echo "$as_me: error: need doxygen for auto documentation" >&2;}
2510    { (exit 1); exit 1; }; }
2511   fi
2512   # Extract the first word of "dot", so it can be a program name with args.
2513 set dummy dot; ac_word=$2
2514 echo "$as_me:$LINENO: checking for $ac_word" >&5
2515 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2516 if test "${ac_cv_prog_DOT+set}" = set; then
2517   echo $ECHO_N "(cached) $ECHO_C" >&6
2518 else
2519   if test -n "$DOT"; then
2520   ac_cv_prog_DOT="$DOT" # Let the user override the test.
2521 else
2522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2523 for as_dir in $PATH
2524 do
2525   IFS=$as_save_IFS
2526   test -z "$as_dir" && as_dir=.
2527   for ac_exec_ext in '' $ac_executable_extensions; do
2528   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2529     ac_cv_prog_DOT=""dot""
2530     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2531     break 2
2532   fi
2533 done
2534 done
2535
2536   test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT=""""
2537 fi
2538 fi
2539 DOT=$ac_cv_prog_DOT
2540 if test -n "$DOT"; then
2541   echo "$as_me:$LINENO: result: $DOT" >&5
2542 echo "${ECHO_T}$DOT" >&6
2543 else
2544   echo "$as_me:$LINENO: result: no" >&5
2545 echo "${ECHO_T}no" >&6
2546 fi
2547
2548   if test "$DOT" != "dot"; then
2549     { { echo "$as_me:$LINENO: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&5
2550 echo "$as_me: error: need dot for doxygen documentation (for class graphs) (IPD: module add Graphviz)" >&2;}
2551    { (exit 1); exit 1; }; }
2552   fi
2553 fi
2554
2555 if test "$enable_firm_jni" = yes; then
2556   # Extract the first word of "javac", so it can be a program name with args.
2557 set dummy javac; ac_word=$2
2558 echo "$as_me:$LINENO: checking for $ac_word" >&5
2559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2560 if test "${ac_cv_prog_JAVAC+set}" = set; then
2561   echo $ECHO_N "(cached) $ECHO_C" >&6
2562 else
2563   if test -n "$JAVAC"; then
2564   ac_cv_prog_JAVAC="$JAVAC" # Let the user override the test.
2565 else
2566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2567 for as_dir in $PATH
2568 do
2569   IFS=$as_save_IFS
2570   test -z "$as_dir" && as_dir=.
2571   for ac_exec_ext in '' $ac_executable_extensions; do
2572   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2573     ac_cv_prog_JAVAC=""javac""
2574     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2575     break 2
2576   fi
2577 done
2578 done
2579
2580   test -z "$ac_cv_prog_JAVAC" && ac_cv_prog_JAVAC=""""
2581 fi
2582 fi
2583 JAVAC=$ac_cv_prog_JAVAC
2584 if test -n "$JAVAC"; then
2585   echo "$as_me:$LINENO: result: $JAVAC" >&5
2586 echo "${ECHO_T}$JAVAC" >&6
2587 else
2588   echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2590 fi
2591
2592   if test "$JAVAC" != "javac"; then
2593     { { echo "$as_me:$LINENO: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&5
2594 echo "$as_me: error: need java compiler javac to generate jni (IPD: module add jdk-1.3.1-sun)" >&2;}
2595    { (exit 1); exit 1; }; }
2596   fi
2597   # Extract the first word of "javah", so it can be a program name with args.
2598 set dummy javah; ac_word=$2
2599 echo "$as_me:$LINENO: checking for $ac_word" >&5
2600 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2601 if test "${ac_cv_prog_JAVAH+set}" = set; then
2602   echo $ECHO_N "(cached) $ECHO_C" >&6
2603 else
2604   if test -n "$JAVAH"; then
2605   ac_cv_prog_JAVAH="$JAVAH" # Let the user override the test.
2606 else
2607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2608 for as_dir in $PATH
2609 do
2610   IFS=$as_save_IFS
2611   test -z "$as_dir" && as_dir=.
2612   for ac_exec_ext in '' $ac_executable_extensions; do
2613   if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2614     ac_cv_prog_JAVAH=""javah""
2615     echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2616     break 2
2617   fi
2618 done
2619 done
2620
2621   test -z "$ac_cv_prog_JAVAH" && ac_cv_prog_JAVAH=""""
2622 fi
2623 fi
2624 JAVAH=$ac_cv_prog_JAVAH
2625 if test -n "$JAVAH"; then
2626   echo "$as_me:$LINENO: result: $JAVAH" >&5
2627 echo "${ECHO_T}$JAVAH" >&6
2628 else
2629   echo "$as_me:$LINENO: result: no" >&5
2630 echo "${ECHO_T}no" >&6
2631 fi
2632
2633   if test "$JAVAH" != "javah"; then
2634     { { echo "$as_me:$LINENO: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&5
2635 echo "$as_me: error: need javah to generate jni headers (IPD: module add jdk-1.3.1-sun)" >&2;}
2636    { (exit 1); exit 1; }; }
2637   fi
2638 fi
2639
2640
2641
2642
2643 ac_ext=c
2644 ac_cpp='$CPP $CPPFLAGS'
2645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2648 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2649 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2650 # On Suns, sometimes $CPP names a directory.
2651 if test -n "$CPP" && test -d "$CPP"; then
2652   CPP=
2653 fi
2654 if test -z "$CPP"; then
2655   if test "${ac_cv_prog_CPP+set}" = set; then
2656   echo $ECHO_N "(cached) $ECHO_C" >&6
2657 else
2658       # Double quotes because CPP needs to be expanded
2659     for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2660     do
2661       ac_preproc_ok=false
2662 for ac_c_preproc_warn_flag in '' yes
2663 do
2664   # Use a header file that comes with gcc, so configuring glibc
2665   # with a fresh cross-compiler works.
2666   # On the NeXT, cc -E runs the code through the compiler's parser,
2667   # not just through cpp. "Syntax error" is here to catch this case.
2668   cat >conftest.$ac_ext <<_ACEOF
2669 #line $LINENO "configure"
2670 #include "confdefs.h"
2671 #include <assert.h>
2672                      Syntax error
2673 _ACEOF
2674 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2675   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2676   ac_status=$?
2677   egrep -v '^ *\+' conftest.er1 >conftest.err
2678   rm -f conftest.er1
2679   cat conftest.err >&5
2680   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681   (exit $ac_status); } >/dev/null; then
2682   if test -s conftest.err; then
2683     ac_cpp_err=$ac_c_preproc_warn_flag
2684   else
2685     ac_cpp_err=
2686   fi
2687 else
2688   ac_cpp_err=yes
2689 fi
2690 if test -z "$ac_cpp_err"; then
2691   :
2692 else
2693   echo "$as_me: failed program was:" >&5
2694   cat conftest.$ac_ext >&5
2695   # Broken: fails on valid input.
2696 continue
2697 fi
2698 rm -f conftest.err conftest.$ac_ext
2699
2700   # OK, works on sane cases.  Now check whether non-existent headers
2701   # can be detected and how.
2702   cat >conftest.$ac_ext <<_ACEOF
2703 #line $LINENO "configure"
2704 #include "confdefs.h"
2705 #include <ac_nonexistent.h>
2706 _ACEOF
2707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2708   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2709   ac_status=$?
2710   egrep -v '^ *\+' conftest.er1 >conftest.err
2711   rm -f conftest.er1
2712   cat conftest.err >&5
2713   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714   (exit $ac_status); } >/dev/null; then
2715   if test -s conftest.err; then
2716     ac_cpp_err=$ac_c_preproc_warn_flag
2717   else
2718     ac_cpp_err=
2719   fi
2720 else
2721   ac_cpp_err=yes
2722 fi
2723 if test -z "$ac_cpp_err"; then
2724   # Broken: success on invalid input.
2725 continue
2726 else
2727   echo "$as_me: failed program was:" >&5
2728   cat conftest.$ac_ext >&5
2729   # Passes both tests.
2730 ac_preproc_ok=:
2731 break
2732 fi
2733 rm -f conftest.err conftest.$ac_ext
2734
2735 done
2736 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2737 rm -f conftest.err conftest.$ac_ext
2738 if $ac_preproc_ok; then
2739   break
2740 fi
2741
2742     done
2743     ac_cv_prog_CPP=$CPP
2744
2745 fi
2746   CPP=$ac_cv_prog_CPP
2747 else
2748   ac_cv_prog_CPP=$CPP
2749 fi
2750 echo "$as_me:$LINENO: result: $CPP" >&5
2751 echo "${ECHO_T}$CPP" >&6
2752 ac_preproc_ok=false
2753 for ac_c_preproc_warn_flag in '' yes
2754 do
2755   # Use a header file that comes with gcc, so configuring glibc
2756   # with a fresh cross-compiler works.
2757   # On the NeXT, cc -E runs the code through the compiler's parser,
2758   # not just through cpp. "Syntax error" is here to catch this case.
2759   cat >conftest.$ac_ext <<_ACEOF
2760 #line $LINENO "configure"
2761 #include "confdefs.h"
2762 #include <assert.h>
2763                      Syntax error
2764 _ACEOF
2765 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2766   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2767   ac_status=$?
2768   egrep -v '^ *\+' conftest.er1 >conftest.err
2769   rm -f conftest.er1
2770   cat conftest.err >&5
2771   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2772   (exit $ac_status); } >/dev/null; then
2773   if test -s conftest.err; then
2774     ac_cpp_err=$ac_c_preproc_warn_flag
2775   else
2776     ac_cpp_err=
2777   fi
2778 else
2779   ac_cpp_err=yes
2780 fi
2781 if test -z "$ac_cpp_err"; then
2782   :
2783 else
2784   echo "$as_me: failed program was:" >&5
2785   cat conftest.$ac_ext >&5
2786   # Broken: fails on valid input.
2787 continue
2788 fi
2789 rm -f conftest.err conftest.$ac_ext
2790
2791   # OK, works on sane cases.  Now check whether non-existent headers
2792   # can be detected and how.
2793   cat >conftest.$ac_ext <<_ACEOF
2794 #line $LINENO "configure"
2795 #include "confdefs.h"
2796 #include <ac_nonexistent.h>
2797 _ACEOF
2798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2799   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2800   ac_status=$?
2801   egrep -v '^ *\+' conftest.er1 >conftest.err
2802   rm -f conftest.er1
2803   cat conftest.err >&5
2804   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805   (exit $ac_status); } >/dev/null; then
2806   if test -s conftest.err; then
2807     ac_cpp_err=$ac_c_preproc_warn_flag
2808   else
2809     ac_cpp_err=
2810   fi
2811 else
2812   ac_cpp_err=yes
2813 fi
2814 if test -z "$ac_cpp_err"; then
2815   # Broken: success on invalid input.
2816 continue
2817 else
2818   echo "$as_me: failed program was:" >&5
2819   cat conftest.$ac_ext >&5
2820   # Passes both tests.
2821 ac_preproc_ok=:
2822 break
2823 fi
2824 rm -f conftest.err conftest.$ac_ext
2825
2826 done
2827 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2828 rm -f conftest.err conftest.$ac_ext
2829 if $ac_preproc_ok; then
2830   :
2831 else
2832   { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2833 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2834    { (exit 1); exit 1; }; }
2835 fi
2836
2837 ac_ext=c
2838 ac_cpp='$CPP $CPPFLAGS'
2839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2842
2843
2844 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2845 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2846 if test "${ac_cv_header_stdc+set}" = set; then
2847   echo $ECHO_N "(cached) $ECHO_C" >&6
2848 else
2849   cat >conftest.$ac_ext <<_ACEOF
2850 #line $LINENO "configure"
2851 #include "confdefs.h"
2852 #include <stdlib.h>
2853 #include <stdarg.h>
2854 #include <string.h>
2855 #include <float.h>
2856
2857 _ACEOF
2858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2859   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2860   ac_status=$?
2861   egrep -v '^ *\+' conftest.er1 >conftest.err
2862   rm -f conftest.er1
2863   cat conftest.err >&5
2864   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2865   (exit $ac_status); } >/dev/null; then
2866   if test -s conftest.err; then
2867     ac_cpp_err=$ac_c_preproc_warn_flag
2868   else
2869     ac_cpp_err=
2870   fi
2871 else
2872   ac_cpp_err=yes
2873 fi
2874 if test -z "$ac_cpp_err"; then
2875   ac_cv_header_stdc=yes
2876 else
2877   echo "$as_me: failed program was:" >&5
2878   cat conftest.$ac_ext >&5
2879   ac_cv_header_stdc=no
2880 fi
2881 rm -f conftest.err conftest.$ac_ext
2882
2883 if test $ac_cv_header_stdc = yes; then
2884   # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2885   cat >conftest.$ac_ext <<_ACEOF
2886 #line $LINENO "configure"
2887 #include "confdefs.h"
2888 #include <string.h>
2889
2890 _ACEOF
2891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2892   egrep "memchr" >/dev/null 2>&1; then
2893   :
2894 else
2895   ac_cv_header_stdc=no
2896 fi
2897 rm -f conftest*
2898
2899 fi
2900
2901 if test $ac_cv_header_stdc = yes; then
2902   # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2903   cat >conftest.$ac_ext <<_ACEOF
2904 #line $LINENO "configure"
2905 #include "confdefs.h"
2906 #include <stdlib.h>
2907
2908 _ACEOF
2909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2910   egrep "free" >/dev/null 2>&1; then
2911   :
2912 else
2913   ac_cv_header_stdc=no
2914 fi
2915 rm -f conftest*
2916
2917 fi
2918
2919 if test $ac_cv_header_stdc = yes; then
2920   # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2921   if test "$cross_compiling" = yes; then
2922   :
2923 else
2924   cat >conftest.$ac_ext <<_ACEOF
2925 #line $LINENO "configure"
2926 #include "confdefs.h"
2927 #include <ctype.h>
2928 #if ((' ' & 0x0FF) == 0x020)
2929 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2930 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2931 #else
2932 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2933                      || ('j' <= (c) && (c) <= 'r') \
2934                      || ('s' <= (c) && (c) <= 'z'))
2935 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2936 #endif
2937
2938 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2939 int
2940 main ()
2941 {
2942   int i;
2943   for (i = 0; i < 256; i++)
2944     if (XOR (islower (i), ISLOWER (i))
2945         || toupper (i) != TOUPPER (i))
2946       exit(2);
2947   exit (0);
2948 }
2949 _ACEOF
2950 rm -f conftest$ac_exeext
2951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2952   (eval $ac_link) 2>&5
2953   ac_status=$?
2954   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2956   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2957   (eval $ac_try) 2>&5
2958   ac_status=$?
2959   echo "$as_me:$LINENO: \$? = $ac_status" >&5
2960   (exit $ac_status); }; }; then
2961   :
2962 else
2963   echo "$as_me: program exited with status $ac_status" >&5
2964 echo "$as_me: failed program was:" >&5
2965 cat conftest.$ac_ext >&5
2966 ( exit $ac_status )
2967 ac_cv_header_stdc=no
2968 fi
2969 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2970 fi
2971 fi
2972 fi
2973 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2974 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2975 if test $ac_cv_header_stdc = yes; then
2976
2977 cat >>confdefs.h <<\_ACEOF
2978 #define STDC_HEADERS 1
2979 _ACEOF
2980
2981 fi
2982
2983
2984
2985 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2996                   inttypes.h stdint.h unistd.h
2997 do
2998 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2999 echo "$as_me:$LINENO: checking for $ac_header" >&5
3000 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3002   echo $ECHO_N "(cached) $ECHO_C" >&6
3003 else
3004   cat >conftest.$ac_ext <<_ACEOF
3005 #line $LINENO "configure"
3006 #include "confdefs.h"
3007 $ac_includes_default
3008
3009 #include <$ac_header>
3010 _ACEOF
3011 rm -f conftest.$ac_objext
3012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3013   (eval $ac_compile) 2>&5
3014   ac_status=$?
3015   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3016   (exit $ac_status); } &&
3017          { ac_try='test -s conftest.$ac_objext'
3018   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3019   (eval $ac_try) 2>&5
3020   ac_status=$?
3021   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3022   (exit $ac_status); }; }; then
3023   eval "$as_ac_Header=yes"
3024 else
3025   echo "$as_me: failed program was:" >&5
3026 cat conftest.$ac_ext >&5
3027 eval "$as_ac_Header=no"
3028 fi
3029 rm -f conftest.$ac_objext conftest.$ac_ext
3030 fi
3031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3032 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3033 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3034   cat >>confdefs.h <<_ACEOF
3035 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3036 _ACEOF
3037
3038 fi
3039
3040 done
3041
3042
3043
3044 for ac_header in math.h
3045 do
3046 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3047 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3048   echo "$as_me:$LINENO: checking for $ac_header" >&5
3049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3051   echo $ECHO_N "(cached) $ECHO_C" >&6
3052 fi
3053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3055 else
3056   # Is the header compilable?
3057 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3058 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3059 cat >conftest.$ac_ext <<_ACEOF
3060 #line $LINENO "configure"
3061 #include "confdefs.h"
3062 $ac_includes_default
3063 #include <$ac_header>
3064 _ACEOF
3065 rm -f conftest.$ac_objext
3066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3067   (eval $ac_compile) 2>&5
3068   ac_status=$?
3069   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3070   (exit $ac_status); } &&
3071          { ac_try='test -s conftest.$ac_objext'
3072   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3073   (eval $ac_try) 2>&5
3074   ac_status=$?
3075   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3076   (exit $ac_status); }; }; then
3077   ac_header_compiler=yes
3078 else
3079   echo "$as_me: failed program was:" >&5
3080 cat conftest.$ac_ext >&5
3081 ac_header_compiler=no
3082 fi
3083 rm -f conftest.$ac_objext conftest.$ac_ext
3084 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3085 echo "${ECHO_T}$ac_header_compiler" >&6
3086
3087 # Is the header present?
3088 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3089 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3090 cat >conftest.$ac_ext <<_ACEOF
3091 #line $LINENO "configure"
3092 #include "confdefs.h"
3093 #include <$ac_header>
3094 _ACEOF
3095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3096   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3097   ac_status=$?
3098   egrep -v '^ *\+' conftest.er1 >conftest.err
3099   rm -f conftest.er1
3100   cat conftest.err >&5
3101   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102   (exit $ac_status); } >/dev/null; then
3103   if test -s conftest.err; then
3104     ac_cpp_err=$ac_c_preproc_warn_flag
3105   else
3106     ac_cpp_err=
3107   fi
3108 else
3109   ac_cpp_err=yes
3110 fi
3111 if test -z "$ac_cpp_err"; then
3112   ac_header_preproc=yes
3113 else
3114   echo "$as_me: failed program was:" >&5
3115   cat conftest.$ac_ext >&5
3116   ac_header_preproc=no
3117 fi
3118 rm -f conftest.err conftest.$ac_ext
3119 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3120 echo "${ECHO_T}$ac_header_preproc" >&6
3121
3122 # So?  What about this header?
3123 case $ac_header_compiler:$ac_header_preproc in
3124   yes:no )
3125     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3126 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3127     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3128 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3129   no:yes )
3130     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3132     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3134     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3135 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3136 esac
3137 echo "$as_me:$LINENO: checking for $ac_header" >&5
3138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3140   echo $ECHO_N "(cached) $ECHO_C" >&6
3141 else
3142   eval "$as_ac_Header=$ac_header_preproc"
3143 fi
3144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3146
3147 fi
3148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3149   cat >>confdefs.h <<_ACEOF
3150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3151 _ACEOF
3152  ac_math_headers="yes"
3153 else
3154   ac_math_headers="no"
3155 fi
3156
3157 done
3158
3159 if test "$ac_math_headers" != yes; then
3160     { { echo "$as_me:$LINENO: error: \"math header file not found\"" >&5
3161 echo "$as_me: error: \"math header file not found\"" >&2;}
3162    { (exit 1); exit 1; }; }
3163 fi
3164
3165
3166 #dnl check for the gnu multiprecission (gmp) header file
3167
3168 #AC_CHECK_HEADERS(gmp.h, ac_gmp_headers="yes", ac_gmp_headers="no")
3169 #if test "$ac_gmp_headers" != yes; then
3170 #  dnl gmp header not found.
3171 #  AC_MSG_ERROR("GNU multiprecission gmp header file not found")
3172 #fi
3173
3174
3175 #AC_FUNC_OBSTACK
3176
3177
3178 for ac_header in obstack.h
3179 do
3180 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3182   echo "$as_me:$LINENO: checking for $ac_header" >&5
3183 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3184 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3185   echo $ECHO_N "(cached) $ECHO_C" >&6
3186 fi
3187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3189 else
3190   # Is the header compilable?
3191 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3192 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3193 cat >conftest.$ac_ext <<_ACEOF
3194 #line $LINENO "configure"
3195 #include "confdefs.h"
3196 $ac_includes_default
3197 #include <$ac_header>
3198 _ACEOF
3199 rm -f conftest.$ac_objext
3200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3201   (eval $ac_compile) 2>&5
3202   ac_status=$?
3203   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3204   (exit $ac_status); } &&
3205          { ac_try='test -s conftest.$ac_objext'
3206   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3207   (eval $ac_try) 2>&5
3208   ac_status=$?
3209   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3210   (exit $ac_status); }; }; then
3211   ac_header_compiler=yes
3212 else
3213   echo "$as_me: failed program was:" >&5
3214 cat conftest.$ac_ext >&5
3215 ac_header_compiler=no
3216 fi
3217 rm -f conftest.$ac_objext conftest.$ac_ext
3218 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3219 echo "${ECHO_T}$ac_header_compiler" >&6
3220
3221 # Is the header present?
3222 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3223 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3224 cat >conftest.$ac_ext <<_ACEOF
3225 #line $LINENO "configure"
3226 #include "confdefs.h"
3227 #include <$ac_header>
3228 _ACEOF
3229 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3230   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3231   ac_status=$?
3232   egrep -v '^ *\+' conftest.er1 >conftest.err
3233   rm -f conftest.er1
3234   cat conftest.err >&5
3235   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3236   (exit $ac_status); } >/dev/null; then
3237   if test -s conftest.err; then
3238     ac_cpp_err=$ac_c_preproc_warn_flag
3239   else
3240     ac_cpp_err=
3241   fi
3242 else
3243   ac_cpp_err=yes
3244 fi
3245 if test -z "$ac_cpp_err"; then
3246   ac_header_preproc=yes
3247 else
3248   echo "$as_me: failed program was:" >&5
3249   cat conftest.$ac_ext >&5
3250   ac_header_preproc=no
3251 fi
3252 rm -f conftest.err conftest.$ac_ext
3253 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3254 echo "${ECHO_T}$ac_header_preproc" >&6
3255
3256 # So?  What about this header?
3257 case $ac_header_compiler:$ac_header_preproc in
3258   yes:no )
3259     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3260 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3261     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3262 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3263   no:yes )
3264     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3265 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3266     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3267 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3268     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3269 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3270 esac
3271 echo "$as_me:$LINENO: checking for $ac_header" >&5
3272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3274   echo $ECHO_N "(cached) $ECHO_C" >&6
3275 else
3276   eval "$as_ac_Header=$ac_header_preproc"
3277 fi
3278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3280
3281 fi
3282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3283   cat >>confdefs.h <<_ACEOF
3284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3285 _ACEOF
3286  ac_obstack_headers="yes"
3287 else
3288   ac_obstack_headers="no"
3289 fi
3290
3291 done
3292
3293 if test "$ac_obstack_headers" != yes; then
3294     { { echo "$as_me:$LINENO: error: \"obstack.h not found\"" >&5
3295 echo "$as_me: error: \"obstack.h not found\"" >&2;}
3296    { (exit 1); exit 1; }; }
3297 fi
3298
3299
3300
3301 if test "$enable_firm_jni" = yes; then
3302
3303 for ac_header in jni.h
3304 do
3305 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3307   echo "$as_me:$LINENO: checking for $ac_header" >&5
3308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3310   echo $ECHO_N "(cached) $ECHO_C" >&6
3311 fi
3312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3313 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3314 else
3315   # Is the header compilable?
3316 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3317 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3318 cat >conftest.$ac_ext <<_ACEOF
3319 #line $LINENO "configure"
3320 #include "confdefs.h"
3321 $ac_includes_default
3322 #include <$ac_header>
3323 _ACEOF
3324 rm -f conftest.$ac_objext
3325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3326   (eval $ac_compile) 2>&5
3327   ac_status=$?
3328   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329   (exit $ac_status); } &&
3330          { ac_try='test -s conftest.$ac_objext'
3331   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3332   (eval $ac_try) 2>&5
3333   ac_status=$?
3334   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3335   (exit $ac_status); }; }; then
3336   ac_header_compiler=yes
3337 else
3338   echo "$as_me: failed program was:" >&5
3339 cat conftest.$ac_ext >&5
3340 ac_header_compiler=no
3341 fi
3342 rm -f conftest.$ac_objext conftest.$ac_ext
3343 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3344 echo "${ECHO_T}$ac_header_compiler" >&6
3345
3346 # Is the header present?
3347 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3349 cat >conftest.$ac_ext <<_ACEOF
3350 #line $LINENO "configure"
3351 #include "confdefs.h"
3352 #include <$ac_header>
3353 _ACEOF
3354 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3355   (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3356   ac_status=$?
3357   egrep -v '^ *\+' conftest.er1 >conftest.err
3358   rm -f conftest.er1
3359   cat conftest.err >&5
3360   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3361   (exit $ac_status); } >/dev/null; then
3362   if test -s conftest.err; then
3363     ac_cpp_err=$ac_c_preproc_warn_flag
3364   else
3365     ac_cpp_err=
3366   fi
3367 else
3368   ac_cpp_err=yes
3369 fi
3370 if test -z "$ac_cpp_err"; then
3371   ac_header_preproc=yes
3372 else
3373   echo "$as_me: failed program was:" >&5
3374   cat conftest.$ac_ext >&5
3375   ac_header_preproc=no
3376 fi
3377 rm -f conftest.err conftest.$ac_ext
3378 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3379 echo "${ECHO_T}$ac_header_preproc" >&6
3380
3381 # So?  What about this header?
3382 case $ac_header_compiler:$ac_header_preproc in
3383   yes:no )
3384     { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3385 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3386     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3387 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3388   no:yes )
3389     { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3390 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3391     { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3392 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3393     { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3395 esac
3396 echo "$as_me:$LINENO: checking for $ac_header" >&5
3397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3399   echo $ECHO_N "(cached) $ECHO_C" >&6
3400 else
3401   eval "$as_ac_Header=$ac_header_preproc"
3402 fi
3403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3405
3406 fi
3407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3408   cat >>confdefs.h <<_ACEOF
3409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3410 _ACEOF
3411  ac_jni_headers="yes"
3412 else
3413   ac_jni_headers="no"
3414 fi
3415
3416 done
3417
3418   if test "$ac_jni_headers" != yes; then
3419     { { echo "$as_me:$LINENO: error: jni header file not found. (IPD: add --with-includedir=/usr/public2/java/jdk1.3.1-sun/include/:/usr/public2/java/jdk1.3.1-sun/include/linux/ to configure flags)" >&5
3420 echo "$as_me: error: jni header file not found. (IPD: add --with-includedir=/usr/public2/java/jdk1.3.1-sun/include/:/usr/public2/java/jdk1.3.1-sun/include/linux/ to configure flags)" >&2;}
3421    { (exit 1); exit 1; }; }
3422   fi
3423 fi
3424
3425
3426
3427 #dnl check for the gnu multiprecission (gmp) library
3428
3429 #AC_CHECK_LIB(gmp, main, ac_gmp_library="yes", ac_gmp_library="no")
3430 #if test "$ac_gmp_library" != yes; then
3431 #  dnl gmp library not found.
3432 #  AC_MSG_ERROR("GNU multiprecission gmp library not found")
3433 #fi
3434
3435
3436 echo "$as_me:$LINENO: checking for main in -lm" >&5
3437 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
3438 if test "${ac_cv_lib_m_main+set}" = set; then
3439   echo $ECHO_N "(cached) $ECHO_C" >&6
3440 else
3441   ac_check_lib_save_LIBS=$LIBS
3442 LIBS="-lm  $LIBS"
3443 cat >conftest.$ac_ext <<_ACEOF
3444 #line $LINENO "configure"
3445 #include "confdefs.h"
3446
3447
3448 #ifdef F77_DUMMY_MAIN
3449 #  ifdef __cplusplus
3450      extern "C"
3451 #  endif
3452    int F77_DUMMY_MAIN() { return 1; }
3453 #endif
3454 int
3455 main ()
3456 {
3457 main ();
3458   ;
3459   return 0;
3460 }
3461 _ACEOF
3462 rm -f conftest.$ac_objext conftest$ac_exeext
3463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3464   (eval $ac_link) 2>&5
3465   ac_status=$?
3466   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3467   (exit $ac_status); } &&
3468          { ac_try='test -s conftest$ac_exeext'
3469   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3470   (eval $ac_try) 2>&5
3471   ac_status=$?
3472   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3473   (exit $ac_status); }; }; then
3474   ac_cv_lib_m_main=yes
3475 else
3476   echo "$as_me: failed program was:" >&5
3477 cat conftest.$ac_ext >&5
3478 ac_cv_lib_m_main=no
3479 fi
3480 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3481 LIBS=$ac_check_lib_save_LIBS
3482 fi
3483 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
3484 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
3485 if test $ac_cv_lib_m_main = yes; then
3486   ac_m_library="yes"
3487 else
3488   ac_m_library="no"
3489 fi
3490
3491 if test "$ac_m_library" != yes; then
3492     { { echo "$as_me:$LINENO: error: \"standard math library not found\"" >&5
3493 echo "$as_me: error: \"standard math library not found\"" >&2;}
3494    { (exit 1); exit 1; }; }
3495 fi
3496
3497
3498 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
3499 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
3500 if test "${ac_cv_c_bigendian+set}" = set; then
3501   echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503   # See if sys/param.h defines the BYTE_ORDER macro.
3504 cat >conftest.$ac_ext <<_ACEOF
3505 #line $LINENO "configure"
3506 #include "confdefs.h"
3507 #include <sys/types.h>
3508 #include <sys/param.h>
3509
3510 #ifdef F77_DUMMY_MAIN
3511 #  ifdef __cplusplus
3512      extern "C"
3513 #  endif
3514    int F77_DUMMY_MAIN() { return 1; }
3515 #endif
3516 int
3517 main ()
3518 {
3519 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3520  bogus endian macros
3521 #endif
3522
3523   ;
3524   return 0;
3525 }
3526 _ACEOF
3527 rm -f conftest.$ac_objext
3528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3529   (eval $ac_compile) 2>&5
3530   ac_status=$?
3531   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3532   (exit $ac_status); } &&
3533          { ac_try='test -s conftest.$ac_objext'
3534   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3535   (eval $ac_try) 2>&5
3536   ac_status=$?
3537   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3538   (exit $ac_status); }; }; then
3539   # It does; now see whether it defined to BIG_ENDIAN or not.
3540 cat >conftest.$ac_ext <<_ACEOF
3541 #line $LINENO "configure"
3542 #include "confdefs.h"
3543 #include <sys/types.h>
3544 #include <sys/param.h>
3545
3546 #ifdef F77_DUMMY_MAIN
3547 #  ifdef __cplusplus
3548      extern "C"
3549 #  endif
3550    int F77_DUMMY_MAIN() { return 1; }
3551 #endif
3552 int
3553 main ()
3554 {
3555 #if BYTE_ORDER != BIG_ENDIAN
3556  not big endian
3557 #endif
3558
3559   ;
3560   return 0;
3561 }
3562 _ACEOF
3563 rm -f conftest.$ac_objext
3564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3565   (eval $ac_compile) 2>&5
3566   ac_status=$?
3567   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3568   (exit $ac_status); } &&
3569          { ac_try='test -s conftest.$ac_objext'
3570   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3571   (eval $ac_try) 2>&5
3572   ac_status=$?
3573   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3574   (exit $ac_status); }; }; then
3575   ac_cv_c_bigendian=yes
3576 else
3577   echo "$as_me: failed program was:" >&5
3578 cat conftest.$ac_ext >&5
3579 ac_cv_c_bigendian=no
3580 fi
3581 rm -f conftest.$ac_objext conftest.$ac_ext
3582 else
3583   echo "$as_me: failed program was:" >&5
3584 cat conftest.$ac_ext >&5
3585 # It does not; compile a test program.
3586 if test "$cross_compiling" = yes; then
3587   # try to guess the endianess by grep'ing values into an object file
3588   ac_cv_c_bigendian=unknown
3589   cat >conftest.$ac_ext <<_ACEOF
3590 #line $LINENO "configure"
3591 #include "confdefs.h"
3592 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
3593 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
3594 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
3595 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
3596 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
3597 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
3598 #ifdef F77_DUMMY_MAIN
3599 #  ifdef __cplusplus
3600      extern "C"
3601 #  endif
3602    int F77_DUMMY_MAIN() { return 1; }
3603 #endif
3604 int
3605 main ()
3606 {
3607  _ascii (); _ebcdic ();
3608   ;
3609   return 0;
3610 }
3611 _ACEOF
3612 rm -f conftest.$ac_objext
3613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3614   (eval $ac_compile) 2>&5
3615   ac_status=$?
3616   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3617   (exit $ac_status); } &&
3618          { ac_try='test -s conftest.$ac_objext'
3619   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3620   (eval $ac_try) 2>&5
3621   ac_status=$?
3622   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3623   (exit $ac_status); }; }; then
3624   if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
3625   ac_cv_c_bigendian=yes
3626 fi
3627 if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
3628   if test "$ac_cv_c_bigendian" = unknown; then
3629     ac_cv_c_bigendian=no
3630   else
3631     # finding both strings is unlikely to happen, but who knows?
3632     ac_cv_c_bigendian=unknown
3633   fi
3634 fi
3635 else
3636   echo "$as_me: failed program was:" >&5
3637 cat conftest.$ac_ext >&5
3638 fi
3639 rm -f conftest.$ac_objext conftest.$ac_ext
3640 else
3641   cat >conftest.$ac_ext <<_ACEOF
3642 #line $LINENO "configure"
3643 #include "confdefs.h"
3644 int
3645 main ()
3646 {
3647   /* Are we little or big endian?  From Harbison&Steele.  */
3648   union
3649   {
3650     long l;
3651     char c[sizeof (long)];
3652   } u;
3653   u.l = 1;
3654   exit (u.c[sizeof (long) - 1] == 1);
3655 }
3656 _ACEOF
3657 rm -f conftest$ac_exeext
3658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3659   (eval $ac_link) 2>&5
3660   ac_status=$?
3661   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3662   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3663   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3664   (eval $ac_try) 2>&5
3665   ac_status=$?
3666   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3667   (exit $ac_status); }; }; then
3668   ac_cv_c_bigendian=no
3669 else
3670   echo "$as_me: program exited with status $ac_status" >&5
3671 echo "$as_me: failed program was:" >&5
3672 cat conftest.$ac_ext >&5
3673 ( exit $ac_status )
3674 ac_cv_c_bigendian=yes
3675 fi
3676 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3677 fi
3678 fi
3679 rm -f conftest.$ac_objext conftest.$ac_ext
3680 fi
3681 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
3682 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
3683 case $ac_cv_c_bigendian in
3684   yes)
3685
3686 cat >>confdefs.h <<\_ACEOF
3687 #define WORDS_BIGENDIAN 1
3688 _ACEOF
3689  ;;
3690   no)
3691      ;;
3692   *)
3693     { { echo "$as_me:$LINENO: error: unknown endianess
3694 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
3695 echo "$as_me: error: unknown endianess
3696 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
3697    { (exit 1); exit 1; }; } ;;
3698 esac
3699
3700 echo "$as_me:$LINENO: checking for working long double with more range or precision than double" >&5
3701 echo $ECHO_N "checking for working long double with more range or precision than double... $ECHO_C" >&6
3702 if test "${ac_cv_c_long_double+set}" = set; then
3703   echo $ECHO_N "(cached) $ECHO_C" >&6
3704 else
3705   cat >conftest.$ac_ext <<_ACEOF
3706 #line $LINENO "configure"
3707 #include "confdefs.h"
3708 #include <float.h>
3709           long double foo = 0.0;
3710 #ifdef F77_DUMMY_MAIN
3711 #  ifdef __cplusplus
3712      extern "C"
3713 #  endif
3714    int F77_DUMMY_MAIN() { return 1; }
3715 #endif
3716 int
3717 main ()
3718 {
3719 static int test_array [1 - 2 * !(/* Using '|' rather than '||' catches a GCC 2.95.2 x86 bug.  */
3720           (DBL_MAX < LDBL_MAX) | (LDBL_EPSILON < DBL_EPSILON)
3721           | (DBL_MAX_EXP < LDBL_MAX_EXP) | (DBL_MANT_DIG < LDBL_MANT_DIG))];
3722 test_array [0] = 0
3723
3724   ;
3725   return 0;
3726 }
3727 _ACEOF
3728 rm -f conftest.$ac_objext
3729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3730   (eval $ac_compile) 2>&5
3731   ac_status=$?
3732   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3733   (exit $ac_status); } &&
3734          { ac_try='test -s conftest.$ac_objext'
3735   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3736   (eval $ac_try) 2>&5
3737   ac_status=$?
3738   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3739   (exit $ac_status); }; }; then
3740   ac_cv_c_long_double=yes
3741 else
3742   echo "$as_me: failed program was:" >&5
3743 cat conftest.$ac_ext >&5
3744 ac_cv_c_long_double=no
3745 fi
3746 rm -f conftest.$ac_objext conftest.$ac_ext
3747 fi
3748 echo "$as_me:$LINENO: result: $ac_cv_c_long_double" >&5
3749 echo "${ECHO_T}$ac_cv_c_long_double" >&6
3750 if test $ac_cv_c_long_double = yes; then
3751
3752 cat >>confdefs.h <<\_ACEOF
3753 #define HAVE_LONG_DOUBLE 1
3754 _ACEOF
3755
3756 fi
3757
3758
3759
3760
3761 echo "$as_me:$LINENO: checking for strerror" >&5
3762 echo $ECHO_N "checking for strerror... $ECHO_C" >&6
3763 if test "${ac_cv_func_strerror+set}" = set; then
3764   echo $ECHO_N "(cached) $ECHO_C" >&6
3765 else
3766   cat >conftest.$ac_ext <<_ACEOF
3767 #line $LINENO "configure"
3768 #include "confdefs.h"
3769 /* System header to define __stub macros and hopefully few prototypes,
3770     which can conflict with char strerror (); below.  */
3771 #include <assert.h>
3772 /* Override any gcc2 internal prototype to avoid an error.  */
3773 #ifdef __cplusplus
3774 extern "C"
3775 #endif
3776 /* We use char because int might match the return type of a gcc2
3777    builtin and then its argument prototype would still apply.  */
3778 char strerror ();
3779 char (*f) ();
3780
3781 #ifdef F77_DUMMY_MAIN
3782 #  ifdef __cplusplus
3783      extern "C"
3784 #  endif
3785    int F77_DUMMY_MAIN() { return 1; }
3786 #endif
3787 int
3788 main ()
3789 {
3790 /* The GNU C library defines this for functions which it implements
3791     to always fail with ENOSYS.  Some functions are actually named
3792     something starting with __ and the normal name is an alias.  */
3793 #if defined (__stub_strerror) || defined (__stub___strerror)
3794 choke me
3795 #else
3796 f = strerror;
3797 #endif
3798
3799   ;
3800   return 0;
3801 }
3802 _ACEOF
3803 rm -f conftest.$ac_objext conftest$ac_exeext
3804 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3805   (eval $ac_link) 2>&5
3806   ac_status=$?
3807   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3808   (exit $ac_status); } &&
3809          { ac_try='test -s conftest$ac_exeext'
3810   { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811   (eval $ac_try) 2>&5
3812   ac_status=$?
3813   echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814   (exit $ac_status); }; }; then
3815   ac_cv_func_strerror=yes
3816 else
3817   echo "$as_me: failed program was:" >&5
3818 cat conftest.$ac_ext >&5
3819 ac_cv_func_strerror=no
3820 fi
3821 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3822 fi
3823 echo "$as_me:$LINENO: result: $ac_cv_func_strerror" >&5
3824 echo "${ECHO_T}$ac_cv_func_strerror" >&6
3825 if test $ac_cv_func_strerror = yes; then
3826   :
3827 else
3828   { { echo "$as_me:$LINENO: error: \"need strerror function\"" >&5
3829 echo "$as_me: error: \"need strerror function\"" >&2;}
3830    { (exit 1); exit 1; }; }
3831
3832 fi
3833
3834
3835
3836
3837
3838 ac_config_files="$ac_config_files $ac_output_file"
3839 ac_config_commands="$ac_config_commands default"
3840 cat >confcache <<\_ACEOF
3841 # This file is a shell script that caches the results of configure
3842 # tests run on this system so they can be shared between configure
3843 # scripts and configure runs, see configure's option --config-cache.
3844 # It is not useful on other systems.  If it contains results you don't
3845 # want to keep, you may remove or edit it.
3846 #
3847 # config.status only pays attention to the cache file if you give it
3848 # the --recheck option to rerun configure.
3849 #
3850 # `ac_cv_env_foo' variables (set or unset) will be overriden when
3851 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3852 # following values.
3853
3854 _ACEOF
3855
3856 # The following way of writing the cache mishandles newlines in values,
3857 # but we know of no workaround that is simple, portable, and efficient.
3858 # So, don't put newlines in cache variables' values.
3859 # Ultrix sh set writes to stderr and can't be redirected directly,
3860 # and sets the high bit in the cache file unless we assign to the vars.
3861 {
3862   (set) 2>&1 |
3863     case `(ac_space=' '; set | grep ac_space) 2>&1` in
3864     *ac_space=\ *)
3865       # `set' does not quote correctly, so add quotes (double-quote
3866       # substitution turns \\\\ into \\, and sed turns \\ into \).
3867       sed -n \
3868         "s/'/'\\\\''/g;
3869           s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3870       ;;
3871     *)
3872       # `set' quotes correctly as required by POSIX, so do not add quotes.
3873       sed -n \
3874         "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
3875       ;;
3876     esac;
3877 } |
3878   sed '
3879      t clear
3880      : clear
3881      s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3882      t end
3883      /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3884      : end' >>confcache
3885 if cmp -s $cache_file confcache; then :; else
3886   if test -w $cache_file; then
3887     test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
3888     cat confcache >$cache_file
3889   else
3890     echo "not updating unwritable cache $cache_file"
3891   fi
3892 fi
3893 rm -f confcache
3894
3895 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3896 # Let make expand exec_prefix.
3897 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3898
3899 # VPATH may cause trouble with some makes, so we remove $(srcdir),
3900 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
3901 # trailing colons and then remove the whole line if VPATH becomes empty
3902 # (actually we leave an empty line to preserve line numbers).
3903 if test "x$srcdir" = x.; then
3904   ac_vpsub='/^[         ]*VPATH[        ]*=/{
3905 s/:*\$(srcdir):*/:/;
3906 s/:*\${srcdir}:*/:/;
3907 s/:*@srcdir@:*/:/;
3908 s/^\([^=]*=[    ]*\):*/\1/;
3909 s/:*$//;
3910 s/^[^=]*=[      ]*$//;
3911 }'
3912 fi
3913
3914 DEFS=-DHAVE_CONFIG_H
3915
3916
3917 : ${CONFIG_STATUS=./config.status}
3918 ac_clean_files_save=$ac_clean_files
3919 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3920 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
3921 echo "$as_me: creating $CONFIG_STATUS" >&6;}
3922 cat >$CONFIG_STATUS <<_ACEOF
3923 #! $SHELL
3924 # Generated by $as_me.
3925 # Run this file to recreate the current configuration.
3926 # Compiler output produced by configure, useful for debugging
3927 # configure, is in config.log if it exists.
3928
3929 debug=false
3930 SHELL=\${CONFIG_SHELL-$SHELL}
3931 _ACEOF
3932
3933 cat >>$CONFIG_STATUS <<\_ACEOF
3934
3935 ## --------------------- ##
3936 ## M4sh Initialization.  ##
3937 ## --------------------- ##
3938
3939 # Be Bourne compatible
3940 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
3941   emulate sh
3942   NULLCMD=:
3943 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
3944   set -o posix
3945 fi
3946
3947 # NLS nuisances.
3948 # Support unset when possible.
3949 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
3950   as_unset=unset
3951 else
3952   as_unset=false
3953 fi
3954
3955 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
3956     { $as_unset LANG || test "${LANG+set}" != set; } ||
3957       { LANG=C; export LANG; }
3958 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
3959     { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
3960       { LC_ALL=C; export LC_ALL; }
3961 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
3962     { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
3963       { LC_TIME=C; export LC_TIME; }
3964 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
3965     { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
3966       { LC_CTYPE=C; export LC_CTYPE; }
3967 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
3968     { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
3969       { LANGUAGE=C; export LANGUAGE; }
3970 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
3971     { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
3972       { LC_COLLATE=C; export LC_COLLATE; }
3973 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
3974     { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
3975       { LC_NUMERIC=C; export LC_NUMERIC; }
3976 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
3977     { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
3978       { LC_MESSAGES=C; export LC_MESSAGES; }
3979
3980
3981 # Name of the executable.
3982 as_me=`(basename "$0") 2>/dev/null ||
3983 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3984          X"$0" : 'X\(//\)$' \| \
3985          X"$0" : 'X\(/\)$' \| \
3986          .     : '\(.\)' 2>/dev/null ||
3987 echo X/"$0" |
3988     sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
3989           /^X\/\(\/\/\)$/{ s//\1/; q; }
3990           /^X\/\(\/\).*/{ s//\1/; q; }
3991           s/.*/./; q'`
3992
3993 # PATH needs CR, and LINENO needs CR and PATH.
3994 # Avoid depending upon Character Ranges.
3995 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3996 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3997 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3998 as_cr_digits='0123456789'
3999 as_cr_alnum=$as_cr_Letters$as_cr_digits
4000
4001 # The user is always right.
4002 if test "${PATH_SEPARATOR+set}" != set; then
4003   echo "#! /bin/sh" >conftest.sh
4004   echo  "exit 0"   >>conftest.sh
4005   chmod +x conftest.sh
4006   if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4007     PATH_SEPARATOR=';'
4008   else
4009     PATH_SEPARATOR=:
4010   fi
4011   rm -f conftest.sh
4012 fi
4013
4014
4015   as_lineno_1=$LINENO
4016   as_lineno_2=$LINENO
4017   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4018   test "x$as_lineno_1" != "x$as_lineno_2" &&
4019   test "x$as_lineno_3"  = "x$as_lineno_2"  || {
4020   # Find who we are.  Look in the path if we contain no path at all
4021   # relative or not.
4022   case $0 in
4023     *[\\/]* ) as_myself=$0 ;;
4024     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4025 for as_dir in $PATH
4026 do
4027   IFS=$as_save_IFS
4028   test -z "$as_dir" && as_dir=.
4029   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4030 done
4031
4032        ;;
4033   esac
4034   # We did not find ourselves, most probably we were run as `sh COMMAND'
4035   # in which case we are not to be found in the path.
4036   if test "x$as_myself" = x; then
4037     as_myself=$0
4038   fi
4039   if test ! -f "$as_myself"; then
4040     { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4041 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4042    { (exit 1); exit 1; }; }
4043   fi
4044   case $CONFIG_SHELL in
4045   '')
4046     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4047 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4048 do
4049   IFS=$as_save_IFS
4050   test -z "$as_dir" && as_dir=.
4051   for as_base in sh bash ksh sh5; do
4052          case $as_dir in
4053          /*)
4054            if ("$as_dir/$as_base" -c '
4055   as_lineno_1=$LINENO
4056   as_lineno_2=$LINENO
4057   as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4058   test "x$as_lineno_1" != "x$as_lineno_2" &&
4059   test "x$as_lineno_3"  = "x$as_lineno_2" ') 2>/dev/null; then
4060              CONFIG_SHELL=$as_dir/$as_base
4061              export CONFIG_SHELL
4062              exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4063            fi;;
4064          esac
4065        done
4066 done
4067 ;;
4068   esac
4069
4070   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4071   # uniformly replaced by the line number.  The first 'sed' inserts a
4072   # line-number line before each line; the second 'sed' does the real
4073   # work.  The second script uses 'N' to pair each line-number line
4074   # with the numbered line, and appends trailing '-' during
4075   # substitution so that $LINENO is not a special case at line end.
4076   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4077   # second 'sed' script.  Blame Lee E. McMahon for sed's syntax.  :-)
4078   sed '=' <$as_myself |
4079     sed '
4080       N
4081       s,$,-,
4082       : loop
4083       s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
4084       t loop
4085       s,-$,,
4086       s,^['$as_cr_digits']*\n,,
4087     ' >$as_me.lineno &&
4088   chmod +x $as_me.lineno ||
4089     { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
4090 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
4091    { (exit 1); exit 1; }; }
4092
4093   # Don't try to exec as it changes $[0], causing all sort of problems
4094   # (the dirname of $[0] is not the place where we might find the
4095   # original and so on.  Autoconf is especially sensible to this).
4096   . ./$as_me.lineno
4097   # Exit status is that of the last command.
4098   exit
4099 }
4100
4101
4102 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
4103   *c*,-n*) ECHO_N= ECHO_C='
4104 ' ECHO_T='      ' ;;
4105   *c*,*  ) ECHO_N=-n ECHO_C= ECHO_T= ;;
4106   *)       ECHO_N= ECHO_C='\c' ECHO_T= ;;
4107 esac
4108
4109 if expr a : '\(a\)' >/dev/null 2>&1; then
4110   as_expr=expr
4111 else
4112   as_expr=false
4113 fi
4114
4115 rm -f conf$$ conf$$.exe conf$$.file
4116 echo >conf$$.file
4117 if ln -s conf$$.file conf$$ 2>/dev/null; then
4118   # We could just check for DJGPP; but this test a) works b) is more generic
4119   # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
4120   if test -f conf$$.exe; then
4121     # Don't use ln at all; we don't have any links
4122     as_ln_s='cp -p'
4123   else
4124     as_ln_s='ln -s'
4125   fi
4126 elif ln conf$$.file conf$$ 2>/dev/null; then
4127   as_ln_s=ln
4128 else
4129   as_ln_s='cp -p'
4130 fi
4131 rm -f conf$$ conf$$.exe conf$$.file
4132
4133 as_executable_p="test -f"
4134
4135 # Sed expression to map a string onto a valid CPP name.
4136 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
4137
4138 # Sed expression to map a string onto a valid variable name.
4139 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
4140
4141
4142 # IFS
4143 # We need space, tab and new line, in precisely that order.
4144 as_nl='
4145 '
4146 IFS="   $as_nl"
4147
4148 # CDPATH.
4149 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
4150
4151 exec 6>&1
4152
4153 # Open the log real soon, to keep \$[0] and so on meaningful, and to
4154 # report actual input values of CONFIG_FILES etc. instead of their
4155 # values after options handling.  Logging --version etc. is OK.
4156 exec 5>>config.log
4157 {
4158   echo
4159   sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4160 ## Running $as_me. ##
4161 _ASBOX
4162 } >&5
4163 cat >&5 <<_CSEOF
4164
4165 This file was extended by libfirm $as_me 0.3.0, which was
4166 generated by GNU Autoconf 2.53.  Invocation command line was
4167
4168   CONFIG_FILES    = $CONFIG_FILES
4169   CONFIG_HEADERS  = $CONFIG_HEADERS
4170   CONFIG_LINKS    = $CONFIG_LINKS
4171   CONFIG_COMMANDS = $CONFIG_COMMANDS
4172   $ $0 $@
4173
4174 _CSEOF
4175 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
4176 echo >&5
4177 _ACEOF
4178
4179 # Files that config.status was made for.
4180 if test -n "$ac_config_files"; then
4181   echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
4182 fi
4183
4184 if test -n "$ac_config_headers"; then
4185   echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
4186 fi
4187
4188 if test -n "$ac_config_links"; then
4189   echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
4190 fi
4191
4192 if test -n "$ac_config_commands"; then
4193   echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
4194 fi
4195
4196 cat >>$CONFIG_STATUS <<\_ACEOF
4197
4198 ac_cs_usage="\
4199 \`$as_me' instantiates files from templates according to the
4200 current configuration.
4201
4202 Usage: $0 [OPTIONS] [FILE]...
4203
4204   -h, --help       print this help, then exit
4205   -V, --version    print version number, then exit
4206   -d, --debug      don't remove temporary files
4207       --recheck    update $as_me by reconfiguring in the same conditions
4208   --file=FILE[:TEMPLATE]
4209                    instantiate the configuration file FILE
4210   --header=FILE[:TEMPLATE]
4211                    instantiate the configuration header FILE
4212
4213 Configuration files:
4214 $config_files
4215
4216 Configuration headers:
4217 $config_headers
4218
4219 Configuration commands:
4220 $config_commands
4221
4222 Report bugs to <bug-autoconf@gnu.org>."
4223 _ACEOF
4224
4225 cat >>$CONFIG_STATUS <<_ACEOF
4226 ac_cs_version="\\
4227 libfirm config.status 0.3.0
4228 configured by $0, generated by GNU Autoconf 2.53,
4229   with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
4230
4231 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
4232 Free Software Foundation, Inc.
4233 This config.status script is free software; the Free Software Foundation
4234 gives unlimited permission to copy, distribute and modify it."
4235 srcdir=$srcdir
4236 INSTALL="$INSTALL"
4237 _ACEOF
4238
4239 cat >>$CONFIG_STATUS <<\_ACEOF
4240 # If no file are specified by the user, then we need to provide default
4241 # value.  By we need to know if files were specified by the user.
4242 ac_need_defaults=:
4243 while test $# != 0
4244 do
4245   case $1 in
4246   --*=*)
4247     ac_option=`expr "x$1" : 'x\([^=]*\)='`
4248     ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
4249     shift
4250     set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
4251     shift
4252     ;;
4253   -*);;
4254   *) # This is not an option, so the user has probably given explicit
4255      # arguments.
4256      ac_need_defaults=false;;
4257   esac
4258
4259   case $1 in
4260   # Handling of the options.
4261 _ACEOF
4262 cat >>$CONFIG_STATUS <<_ACEOF
4263   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4264     echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
4265     exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
4266 _ACEOF
4267 cat >>$CONFIG_STATUS <<\_ACEOF
4268   --version | --vers* | -V )
4269     echo "$ac_cs_version"; exit 0 ;;
4270   --he | --h)
4271     # Conflict between --help and --header
4272     { { echo "$as_me:$LINENO: error: ambiguous option: $1
4273 Try \`$0 --help' for more information." >&5
4274 echo "$as_me: error: ambiguous option: $1
4275 Try \`$0 --help' for more information." >&2;}
4276    { (exit 1); exit 1; }; };;
4277   --help | --hel | -h )
4278     echo "$ac_cs_usage"; exit 0 ;;
4279   --debug | --d* | -d )
4280     debug=: ;;
4281   --file | --fil | --fi | --f )
4282     shift
4283     CONFIG_FILES="$CONFIG_FILES $1"
4284     ac_need_defaults=false;;
4285   --header | --heade | --head | --hea )
4286     shift
4287     CONFIG_HEADERS="$CONFIG_HEADERS $1"
4288     ac_need_defaults=false;;
4289
4290   # This is an error.
4291   -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
4292 Try \`$0 --help' for more information." >&5
4293 echo "$as_me: error: unrecognized option: $1
4294 Try \`$0 --help' for more information." >&2;}
4295    { (exit 1); exit 1; }; } ;;
4296
4297   *) ac_config_targets="$ac_config_targets $1" ;;
4298
4299   esac
4300   shift
4301 done
4302
4303 _ACEOF
4304
4305
4306
4307
4308
4309 cat >>$CONFIG_STATUS <<\_ACEOF
4310 for ac_config_target in $ac_config_targets
4311 do
4312   case "$ac_config_target" in
4313   # Handling of arguments.
4314   "$ac_output_file" ) CONFIG_FILES="$CONFIG_FILES $ac_output_file" ;;
4315   "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
4316   "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4317   *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4318 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4319    { (exit 1); exit 1; }; };;
4320   esac
4321 done
4322
4323 # If the user did not use the arguments to specify the items to instantiate,
4324 # then the envvar interface is used.  Set only those that are not.
4325 # We use the long form for the default assignment because of an extremely
4326 # bizarre bug on SunOS 4.1.3.
4327 if $ac_need_defaults; then
4328   test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4329   test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4330   test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4331 fi
4332
4333 # Create a temporary directory, and hook for its removal unless debugging.
4334 $debug ||
4335 {
4336   trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
4337   trap '{ (exit 1); exit 1; }' 1 2 13 15
4338 }
4339
4340 # Create a (secure) tmp directory for tmp files.
4341 : ${TMPDIR=/tmp}
4342 {
4343   tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
4344   test -n "$tmp" && test -d "$tmp"
4345 }  ||
4346 {
4347   tmp=$TMPDIR/cs$$-$RANDOM
4348   (umask 077 && mkdir $tmp)
4349 } ||
4350 {
4351    echo "$me: cannot create a temporary directory in $TMPDIR" >&2
4352    { (exit 1); exit 1; }
4353 }
4354
4355 _ACEOF
4356
4357 cat >>$CONFIG_STATUS <<_ACEOF
4358
4359 #
4360 # CONFIG_FILES section.
4361 #
4362
4363 # No need to generate the scripts if there are no CONFIG_FILES.
4364 # This happens for instance when ./config.status config.h
4365 if test -n "\$CONFIG_FILES"; then
4366   # Protect against being on the right side of a sed subst in config.status.
4367   sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
4368    s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
4369 s,@SHELL@,$SHELL,;t t
4370 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
4371 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
4372 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
4373 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
4374 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
4375 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
4376 s,@exec_prefix@,$exec_prefix,;t t
4377 s,@prefix@,$prefix,;t t
4378 s,@program_transform_name@,$program_transform_name,;t t
4379 s,@bindir@,$bindir,;t t
4380 s,@sbindir@,$sbindir,;t t
4381 s,@libexecdir@,$libexecdir,;t t
4382 s,@datadir@,$datadir,;t t
4383 s,@sysconfdir@,$sysconfdir,;t t
4384 s,@sharedstatedir@,$sharedstatedir,;t t
4385 s,@localstatedir@,$localstatedir,;t t
4386 s,@libdir@,$libdir,;t t
4387 s,@includedir@,$includedir,;t t
4388 s,@oldincludedir@,$oldincludedir,;t t
4389 s,@infodir@,$infodir,;t t
4390 s,@mandir@,$mandir,;t t
4391 s,@build_alias@,$build_alias,;t t
4392 s,@host_alias@,$host_alias,;t t
4393 s,@target_alias@,$target_alias,;t t
4394 s,@DEFS@,$DEFS,;t t
4395 s,@ECHO_C@,$ECHO_C,;t t
4396 s,@ECHO_N@,$ECHO_N,;t t
4397 s,@ECHO_T@,$ECHO_T,;t t
4398 s,@LIBS@,$LIBS,;t t
4399 s,@libfirm_conf_env@,$libfirm_conf_env,;t t
4400 s,@enable_debug_libfirm@,$enable_debug_libfirm,;t t
4401 s,@enable_gcc_inline@,$enable_gcc_inline,;t t
4402 s,@enable_profile_libfirm@,$enable_profile_libfirm,;t t
4403 s,@enable_auto_documentation@,$enable_auto_documentation,;t t
4404 s,@enable_firm_jni@,$enable_firm_jni,;t t
4405 s,@disable_libiberty@,$disable_libiberty,;t t
4406 s,@CC@,$CC,;t t
4407 s,@CFLAGS@,$CFLAGS,;t t
4408 s,@LDFLAGS@,$LDFLAGS,;t t
4409 s,@CPPFLAGS@,$CPPFLAGS,;t t
4410 s,@ac_ct_CC@,$ac_ct_CC,;t t
4411 s,@EXEEXT@,$EXEEXT,;t t
4412 s,@OBJEXT@,$OBJEXT,;t t
4413 s,@LD@,$LD,;t t
4414 s,@ac_ct_LD@,$ac_ct_LD,;t t
4415 s,@libfirm_cv_prog_ld_r@,$libfirm_cv_prog_ld_r,;t t
4416 s,@AR@,$AR,;t t
4417 s,@TAR@,$TAR,;t t
4418 s,@RANLIB@,$RANLIB,;t t
4419 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
4420 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
4421 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
4422 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
4423 s,@LN_S@,$LN_S,;t t
4424 s,@DOXYGEN@,$DOXYGEN,;t t
4425 s,@DOT@,$DOT,;t t
4426 s,@JAVAC@,$JAVAC,;t t
4427 s,@JAVAH@,$JAVAH,;t t
4428 s,@CPP@,$CPP,;t t
4429 CEOF
4430
4431 _ACEOF
4432
4433   cat >>$CONFIG_STATUS <<\_ACEOF
4434   # Split the substitutions into bite-sized pieces for seds with
4435   # small command number limits, like on Digital OSF/1 and HP-UX.
4436   ac_max_sed_lines=48
4437   ac_sed_frag=1 # Number of current file.
4438   ac_beg=1 # First line for current file.
4439   ac_end=$ac_max_sed_lines # Line after last line for current file.
4440   ac_more_lines=:
4441   ac_sed_cmds=
4442   while $ac_more_lines; do
4443     if test $ac_beg -gt 1; then
4444       sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4445     else
4446       sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
4447     fi
4448     if test ! -s $tmp/subs.frag; then
4449       ac_more_lines=false
4450     else
4451       # The purpose of the label and of the branching condition is to
4452       # speed up the sed processing (if there are no `@' at all, there
4453       # is no need to browse any of the substitutions).
4454       # These are the two extra sed commands mentioned above.
4455       (echo ':t
4456   /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
4457       if test -z "$ac_sed_cmds"; then
4458         ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
4459       else
4460         ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
4461       fi
4462       ac_sed_frag=`expr $ac_sed_frag + 1`
4463       ac_beg=$ac_end
4464       ac_end=`expr $ac_end + $ac_max_sed_lines`
4465     fi
4466   done
4467   if test -z "$ac_sed_cmds"; then
4468     ac_sed_cmds=cat
4469   fi
4470 fi # test -n "$CONFIG_FILES"
4471
4472 _ACEOF
4473 cat >>$CONFIG_STATUS <<\_ACEOF
4474 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
4475   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4476   case $ac_file in
4477   - | *:- | *:-:* ) # input from stdin
4478         cat >$tmp/stdin
4479         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4480         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4481   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4482         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4483   * )   ac_file_in=$ac_file.in ;;
4484   esac
4485
4486   # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
4487   ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4488 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4489          X"$ac_file" : 'X\(//\)[^/]' \| \
4490          X"$ac_file" : 'X\(//\)$' \| \
4491          X"$ac_file" : 'X\(/\)' \| \
4492          .     : '\(.\)' 2>/dev/null ||
4493 echo X"$ac_file" |
4494     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4495           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4496           /^X\(\/\/\)$/{ s//\1/; q; }
4497           /^X\(\/\).*/{ s//\1/; q; }
4498           s/.*/./; q'`
4499   { case "$ac_dir" in
4500   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4501   *)                      as_incr_dir=.;;
4502 esac
4503 as_dummy="$ac_dir"
4504 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4505   case $as_mkdir_dir in
4506     # Skip DOS drivespec
4507     ?:) as_incr_dir=$as_mkdir_dir ;;
4508     *)
4509       as_incr_dir=$as_incr_dir/$as_mkdir_dir
4510       test -d "$as_incr_dir" ||
4511         mkdir "$as_incr_dir" ||
4512         { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4513 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4514    { (exit 1); exit 1; }; }
4515     ;;
4516   esac
4517 done; }
4518
4519   ac_builddir=.
4520
4521 if test "$ac_dir" != .; then
4522   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4523   # A "../" for each directory in $ac_dir_suffix.
4524   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4525 else
4526   ac_dir_suffix= ac_top_builddir=
4527 fi
4528
4529 case $srcdir in
4530   .)  # No --srcdir option.  We are building in place.
4531     ac_srcdir=.
4532     if test -z "$ac_top_builddir"; then
4533        ac_top_srcdir=.
4534     else
4535        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4536     fi ;;
4537   [\\/]* | ?:[\\/]* )  # Absolute path.
4538     ac_srcdir=$srcdir$ac_dir_suffix;
4539     ac_top_srcdir=$srcdir ;;
4540   *) # Relative path.
4541     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4542     ac_top_srcdir=$ac_top_builddir$srcdir ;;
4543 esac
4544 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4545 # absolute.
4546 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4547 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4548 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4549 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4550
4551
4552   case $INSTALL in
4553   [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4554   *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
4555   esac
4556
4557   if test x"$ac_file" != x-; then
4558     { echo "$as_me:$LINENO: creating $ac_file" >&5
4559 echo "$as_me: creating $ac_file" >&6;}
4560     rm -f "$ac_file"
4561   fi
4562   # Let's still pretend it is `configure' which instantiates (i.e., don't
4563   # use $as_me), people would be surprised to read:
4564   #    /* config.h.  Generated by config.status.  */
4565   if test x"$ac_file" = x-; then
4566     configure_input=
4567   else
4568     configure_input="$ac_file.  "
4569   fi
4570   configure_input=$configure_input"Generated from `echo $ac_file_in |
4571                                      sed 's,.*/,,'` by configure."
4572
4573   # First look for the input files in the build tree, otherwise in the
4574   # src tree.
4575   ac_file_inputs=`IFS=:
4576     for f in $ac_file_in; do
4577       case $f in
4578       -) echo $tmp/stdin ;;
4579       [\\/$]*)
4580          # Absolute (can't be DOS-style, as IFS=:)
4581          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4582 echo "$as_me: error: cannot find input file: $f" >&2;}
4583    { (exit 1); exit 1; }; }
4584          echo $f;;
4585       *) # Relative
4586          if test -f "$f"; then
4587            # Build tree
4588            echo $f
4589          elif test -f "$srcdir/$f"; then
4590            # Source tree
4591            echo $srcdir/$f
4592          else
4593            # /dev/null tree
4594            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4595 echo "$as_me: error: cannot find input file: $f" >&2;}
4596    { (exit 1); exit 1; }; }
4597          fi;;
4598       esac
4599     done` || { (exit 1); exit 1; }
4600 _ACEOF
4601 cat >>$CONFIG_STATUS <<_ACEOF
4602   sed "$ac_vpsub
4603 $extrasub
4604 _ACEOF
4605 cat >>$CONFIG_STATUS <<\_ACEOF
4606 :t
4607 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4608 s,@configure_input@,$configure_input,;t t
4609 s,@srcdir@,$ac_srcdir,;t t
4610 s,@abs_srcdir@,$ac_abs_srcdir,;t t
4611 s,@top_srcdir@,$ac_top_srcdir,;t t
4612 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
4613 s,@builddir@,$ac_builddir,;t t
4614 s,@abs_builddir@,$ac_abs_builddir,;t t
4615 s,@top_builddir@,$ac_top_builddir,;t t
4616 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
4617 s,@INSTALL@,$ac_INSTALL,;t t
4618 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
4619   rm -f $tmp/stdin
4620   if test x"$ac_file" != x-; then
4621     mv $tmp/out $ac_file
4622   else
4623     cat $tmp/out
4624     rm -f $tmp/out
4625   fi
4626
4627 done
4628 _ACEOF
4629 cat >>$CONFIG_STATUS <<\_ACEOF
4630
4631 #
4632 # CONFIG_HEADER section.
4633 #
4634
4635 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
4636 # NAME is the cpp macro being defined and VALUE is the value it is being given.
4637 #
4638 # ac_d sets the value in "#define NAME VALUE" lines.
4639 ac_dA='s,^\([   ]*\)#\([        ]*define[       ][      ]*\)'
4640 ac_dB='[        ].*$,\1#\2'
4641 ac_dC=' '
4642 ac_dD=',;t'
4643 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
4644 ac_uA='s,^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
4645 ac_uB='$,\1#\2define\3'
4646 ac_uC=' '
4647 ac_uD=',;t'
4648
4649 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
4650   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
4651   case $ac_file in
4652   - | *:- | *:-:* ) # input from stdin
4653         cat >$tmp/stdin
4654         ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4655         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4656   *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
4657         ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
4658   * )   ac_file_in=$ac_file.in ;;
4659   esac
4660
4661   test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
4662 echo "$as_me: creating $ac_file" >&6;}
4663
4664   # First look for the input files in the build tree, otherwise in the
4665   # src tree.
4666   ac_file_inputs=`IFS=:
4667     for f in $ac_file_in; do
4668       case $f in
4669       -) echo $tmp/stdin ;;
4670       [\\/$]*)
4671          # Absolute (can't be DOS-style, as IFS=:)
4672          test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4673 echo "$as_me: error: cannot find input file: $f" >&2;}
4674    { (exit 1); exit 1; }; }
4675          echo $f;;
4676       *) # Relative
4677          if test -f "$f"; then
4678            # Build tree
4679            echo $f
4680          elif test -f "$srcdir/$f"; then
4681            # Source tree
4682            echo $srcdir/$f
4683          else
4684            # /dev/null tree
4685            { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
4686 echo "$as_me: error: cannot find input file: $f" >&2;}
4687    { (exit 1); exit 1; }; }
4688          fi;;
4689       esac
4690     done` || { (exit 1); exit 1; }
4691   # Remove the trailing spaces.
4692   sed 's/[      ]*$//' $ac_file_inputs >$tmp/in
4693
4694 _ACEOF
4695
4696 # Transform confdefs.h into two sed scripts, `conftest.defines' and
4697 # `conftest.undefs', that substitutes the proper values into
4698 # config.h.in to produce config.h.  The first handles `#define'
4699 # templates, and the second `#undef' templates.
4700 # And first: Protect against being on the right side of a sed subst in
4701 # config.status.  Protect against being in an unquoted here document
4702 # in config.status.
4703 rm -f conftest.defines conftest.undefs
4704 # Using a here document instead of a string reduces the quoting nightmare.
4705 # Putting comments in sed scripts is not portable.
4706 #
4707 # `end' is used to avoid that the second main sed command (meant for
4708 # 0-ary CPP macros) applies to n-ary macro definitions.
4709 # See the Autoconf documentation for `clear'.
4710 cat >confdef2sed.sed <<\_ACEOF
4711 s/[\\&,]/\\&/g
4712 s,[\\$`],\\&,g
4713 t clear
4714 : clear
4715 s,^[    ]*#[    ]*define[       ][      ]*\([^  (][^    (]*\)\(([^)]*)\)[       ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
4716 t end
4717 s,^[    ]*#[    ]*define[       ][      ]*\([^  ][^     ]*\)[   ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
4718 : end
4719 _ACEOF
4720 # If some macros were called several times there might be several times
4721 # the same #defines, which is useless.  Nevertheless, we may not want to
4722 # sort them, since we want the *last* AC-DEFINE to be honored.
4723 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
4724 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
4725 rm -f confdef2sed.sed
4726
4727 # This sed command replaces #undef with comments.  This is necessary, for
4728 # example, in the case of _POSIX_SOURCE, which is predefined and required
4729 # on some systems where configure will not decide to define it.
4730 cat >>conftest.undefs <<\_ACEOF
4731 s,^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
4732 _ACEOF
4733
4734 # Break up conftest.defines because some shells have a limit on the size
4735 # of here documents, and old seds have small limits too (100 cmds).
4736 echo '  # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
4737 echo '  if egrep "^[    ]*#[    ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
4738 echo '  # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
4739 echo '  :' >>$CONFIG_STATUS
4740 rm -f conftest.tail
4741 while grep . conftest.defines >/dev/null
4742 do
4743   # Write a limited-size here document to $tmp/defines.sed.
4744   echo '  cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
4745   # Speed up: don't consider the non `#define' lines.
4746   echo '/^[     ]*#[    ]*define/!b' >>$CONFIG_STATUS
4747   # Work around the forget-to-reset-the-flag bug.
4748   echo 't clr' >>$CONFIG_STATUS
4749   echo ': clr' >>$CONFIG_STATUS
4750   sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
4751   echo 'CEOF
4752   sed -f $tmp/defines.sed $tmp/in >$tmp/out
4753   rm -f $tmp/in
4754   mv $tmp/out $tmp/in
4755 ' >>$CONFIG_STATUS
4756   sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
4757   rm -f conftest.defines
4758   mv conftest.tail conftest.defines
4759 done
4760 rm -f conftest.defines
4761 echo '  fi # egrep' >>$CONFIG_STATUS
4762 echo >>$CONFIG_STATUS
4763
4764 # Break up conftest.undefs because some shells have a limit on the size
4765 # of here documents, and old seds have small limits too (100 cmds).
4766 echo '  # Handle all the #undef templates' >>$CONFIG_STATUS
4767 rm -f conftest.tail
4768 while grep . conftest.undefs >/dev/null
4769 do
4770   # Write a limited-size here document to $tmp/undefs.sed.
4771   echo '  cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
4772   # Speed up: don't consider the non `#undef'
4773   echo '/^[     ]*#[    ]*undef/!b' >>$CONFIG_STATUS
4774   # Work around the forget-to-reset-the-flag bug.
4775   echo 't clr' >>$CONFIG_STATUS
4776   echo ': clr' >>$CONFIG_STATUS
4777   sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
4778   echo 'CEOF
4779   sed -f $tmp/undefs.sed $tmp/in >$tmp/out
4780   rm -f $tmp/in
4781   mv $tmp/out $tmp/in
4782 ' >>$CONFIG_STATUS
4783   sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
4784   rm -f conftest.undefs
4785   mv conftest.tail conftest.undefs
4786 done
4787 rm -f conftest.undefs
4788
4789 cat >>$CONFIG_STATUS <<\_ACEOF
4790   # Let's still pretend it is `configure' which instantiates (i.e., don't
4791   # use $as_me), people would be surprised to read:
4792   #    /* config.h.  Generated by config.status.  */
4793   if test x"$ac_file" = x-; then
4794     echo "/* Generated by configure.  */" >$tmp/config.h
4795   else
4796     echo "/* $ac_file.  Generated by configure.  */" >$tmp/config.h
4797   fi
4798   cat $tmp/in >>$tmp/config.h
4799   rm -f $tmp/in
4800   if test x"$ac_file" != x-; then
4801     if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
4802       { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
4803 echo "$as_me: $ac_file is unchanged" >&6;}
4804     else
4805       ac_dir=`(dirname "$ac_file") 2>/dev/null ||
4806 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4807          X"$ac_file" : 'X\(//\)[^/]' \| \
4808          X"$ac_file" : 'X\(//\)$' \| \
4809          X"$ac_file" : 'X\(/\)' \| \
4810          .     : '\(.\)' 2>/dev/null ||
4811 echo X"$ac_file" |
4812     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4813           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4814           /^X\(\/\/\)$/{ s//\1/; q; }
4815           /^X\(\/\).*/{ s//\1/; q; }
4816           s/.*/./; q'`
4817       { case "$ac_dir" in
4818   [\\/]* | ?:[\\/]* ) as_incr_dir=;;
4819   *)                      as_incr_dir=.;;
4820 esac
4821 as_dummy="$ac_dir"
4822 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
4823   case $as_mkdir_dir in
4824     # Skip DOS drivespec
4825     ?:) as_incr_dir=$as_mkdir_dir ;;
4826     *)
4827       as_incr_dir=$as_incr_dir/$as_mkdir_dir
4828       test -d "$as_incr_dir" ||
4829         mkdir "$as_incr_dir" ||
4830         { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
4831 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
4832    { (exit 1); exit 1; }; }
4833     ;;
4834   esac
4835 done; }
4836
4837       rm -f $ac_file
4838       mv $tmp/config.h $ac_file
4839     fi
4840   else
4841     cat $tmp/config.h
4842     rm -f $tmp/config.h
4843   fi
4844 done
4845 _ACEOF
4846 cat >>$CONFIG_STATUS <<\_ACEOF
4847
4848 #
4849 # CONFIG_COMMANDS section.
4850 #
4851 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
4852   ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
4853   ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
4854   ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
4855 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4856          X"$ac_dest" : 'X\(//\)[^/]' \| \
4857          X"$ac_dest" : 'X\(//\)$' \| \
4858          X"$ac_dest" : 'X\(/\)' \| \
4859          .     : '\(.\)' 2>/dev/null ||
4860 echo X"$ac_dest" |
4861     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
4862           /^X\(\/\/\)[^/].*/{ s//\1/; q; }
4863           /^X\(\/\/\)$/{ s//\1/; q; }
4864           /^X\(\/\).*/{ s//\1/; q; }
4865           s/.*/./; q'`
4866   ac_builddir=.
4867
4868 if test "$ac_dir" != .; then
4869   ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4870   # A "../" for each directory in $ac_dir_suffix.
4871   ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
4872 else
4873   ac_dir_suffix= ac_top_builddir=
4874 fi
4875
4876 case $srcdir in
4877   .)  # No --srcdir option.  We are building in place.
4878     ac_srcdir=.
4879     if test -z "$ac_top_builddir"; then
4880        ac_top_srcdir=.
4881     else
4882        ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
4883     fi ;;
4884   [\\/]* | ?:[\\/]* )  # Absolute path.
4885     ac_srcdir=$srcdir$ac_dir_suffix;
4886     ac_top_srcdir=$srcdir ;;
4887   *) # Relative path.
4888     ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
4889     ac_top_srcdir=$ac_top_builddir$srcdir ;;
4890 esac
4891 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
4892 # absolute.
4893 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
4894 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
4895 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
4896 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
4897
4898
4899   { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
4900 echo "$as_me: executing $ac_dest commands" >&6;}
4901   case $ac_dest in
4902     default )  touch stamp-h  ;;
4903   esac
4904 done
4905 _ACEOF
4906
4907 cat >>$CONFIG_STATUS <<\_ACEOF
4908
4909 { (exit 0); exit 0; }
4910 _ACEOF
4911 chmod +x $CONFIG_STATUS
4912 ac_clean_files=$ac_clean_files_save
4913
4914
4915 # configure is writing to config.log, and then calls config.status.
4916 # config.status does its own redirection, appending to config.log.
4917 # Unfortunately, on DOS this fails, as config.log is still kept open
4918 # by configure, so config.status won't be able to write to it; its
4919 # output is simply discarded.  So we exec the FD to /dev/null,
4920 # effectively closing config.log, so it can be properly (re)opened and
4921 # appended to by config.status.  When coming back to configure, we
4922 # need to make the FD available again.
4923 if test "$no_create" != yes; then
4924   ac_cs_success=:
4925   exec 5>/dev/null
4926   $SHELL $CONFIG_STATUS || ac_cs_success=false
4927   exec 5>>config.log
4928   # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4929   # would make configure fail if this is the last instruction.
4930   $ac_cs_success || { (exit 1); exit 1; }
4931 fi