OSDN Git Service

2004-06-25 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
[pf3gnuchains/pf3gnuchains3x.git] / newlib / libc / machine / i386 / configure
1 #! /bin/sh
2
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13 
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
6 #
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 # Defaults:
11 ac_help=
12 ac_default_prefix=/usr/local
13 # Any additions from configure.in:
14 ac_help="$ac_help
15   --enable-multilib         build many library versions (default)"
16 ac_help="$ac_help
17   --enable-target-optspace  optimize for space"
18 ac_help="$ac_help
19   --enable-malloc-debugging indicate malloc debugging requested"
20 ac_help="$ac_help
21   --enable-newlib-multithread        enable support for multiple threads"
22 ac_help="$ac_help
23   --enable-newlib-elix-level         supply desired elix library level (1-4)"
24 ac_help="$ac_help
25   --disable-newlib-io-float disable printf/scanf family float support"
26 ac_help="$ac_help
27   --disable-newlib-supplied-syscalls disable newlib from supplying syscalls"
28 ac_help="$ac_help
29   --enable-maintainer-mode enable make rules and dependencies not useful
30                           (and sometimes confusing) to the casual installer"
31 ac_help="$ac_help
32   --enable-shared[=PKGS]  build shared libraries [default=yes]"
33 ac_help="$ac_help
34   --enable-static[=PKGS]  build static libraries [default=yes]"
35 ac_help="$ac_help
36   --enable-fast-install[=PKGS]  optimize for fast installation [default=yes]"
37 ac_help="$ac_help
38   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
39 ac_help="$ac_help
40   --disable-libtool-lock  avoid locking (might break parallel builds)"
41 ac_help="$ac_help
42   --with-pic              try to use only PIC/non-PIC objects [default=use both]"
43
44 # Initialize some variables set by options.
45 # The variables have the same names as the options, with
46 # dashes changed to underlines.
47 build=NONE
48 cache_file=./config.cache
49 exec_prefix=NONE
50 host=NONE
51 no_create=
52 nonopt=NONE
53 no_recursion=
54 prefix=NONE
55 program_prefix=NONE
56 program_suffix=NONE
57 program_transform_name=s,x,x,
58 silent=
59 site=
60 srcdir=
61 target=NONE
62 verbose=
63 x_includes=NONE
64 x_libraries=NONE
65 bindir='${exec_prefix}/bin'
66 sbindir='${exec_prefix}/sbin'
67 libexecdir='${exec_prefix}/libexec'
68 datadir='${prefix}/share'
69 sysconfdir='${prefix}/etc'
70 sharedstatedir='${prefix}/com'
71 localstatedir='${prefix}/var'
72 libdir='${exec_prefix}/lib'
73 includedir='${prefix}/include'
74 oldincludedir='/usr/include'
75 infodir='${prefix}/info'
76 mandir='${prefix}/man'
77
78 # Initialize some other variables.
79 subdirs=
80 MFLAGS= MAKEFLAGS=
81 SHELL=${CONFIG_SHELL-/bin/sh}
82 # Maximum number of lines to put in a shell here document.
83 ac_max_here_lines=12
84
85 ac_prev=
86 for ac_option
87 do
88
89   # If the previous option needs an argument, assign it.
90   if test -n "$ac_prev"; then
91     eval "$ac_prev=\$ac_option"
92     ac_prev=
93     continue
94   fi
95
96   case "$ac_option" in
97   -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
98   *) ac_optarg= ;;
99   esac
100
101   # Accept the important Cygnus configure options, so we can diagnose typos.
102
103   case "$ac_option" in
104
105   -bindir | --bindir | --bindi | --bind | --bin | --bi)
106     ac_prev=bindir ;;
107   -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
108     bindir="$ac_optarg" ;;
109
110   -build | --build | --buil | --bui | --bu)
111     ac_prev=build ;;
112   -build=* | --build=* | --buil=* | --bui=* | --bu=*)
113     build="$ac_optarg" ;;
114
115   -cache-file | --cache-file | --cache-fil | --cache-fi \
116   | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
117     ac_prev=cache_file ;;
118   -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
119   | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
120     cache_file="$ac_optarg" ;;
121
122   -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
123     ac_prev=datadir ;;
124   -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
125   | --da=*)
126     datadir="$ac_optarg" ;;
127
128   -disable-* | --disable-*)
129     ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
130     # Reject names that are not valid shell variable names.
131     if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
132       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
133     fi
134     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
135     eval "enable_${ac_feature}=no" ;;
136
137   -enable-* | --enable-*)
138     ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
139     # Reject names that are not valid shell variable names.
140     if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
141       { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
142     fi
143     ac_feature=`echo $ac_feature| sed 's/-/_/g'`
144     case "$ac_option" in
145       *=*) ;;
146       *) ac_optarg=yes ;;
147     esac
148     eval "enable_${ac_feature}='$ac_optarg'" ;;
149
150   -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
151   | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
152   | --exec | --exe | --ex)
153     ac_prev=exec_prefix ;;
154   -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
155   | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
156   | --exec=* | --exe=* | --ex=*)
157     exec_prefix="$ac_optarg" ;;
158
159   -gas | --gas | --ga | --g)
160     # Obsolete; use --with-gas.
161     with_gas=yes ;;
162
163   -help | --help | --hel | --he)
164     # Omit some internal or obsolete options to make the list less imposing.
165     # This message is too long to be a string in the A/UX 3.1 sh.
166     cat << EOF
167 Usage: configure [options] [host]
168 Options: [defaults in brackets after descriptions]
169 Configuration:
170   --cache-file=FILE       cache test results in FILE
171   --help                  print this message
172   --no-create             do not create output files
173   --quiet, --silent       do not print \`checking...' messages
174   --version               print the version of autoconf that created configure
175 Directory and file names:
176   --prefix=PREFIX         install architecture-independent files in PREFIX
177                           [$ac_default_prefix]
178   --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
179                           [same as prefix]
180   --bindir=DIR            user executables in DIR [EPREFIX/bin]
181   --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
182   --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
183   --datadir=DIR           read-only architecture-independent data in DIR
184                           [PREFIX/share]
185   --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
186   --sharedstatedir=DIR    modifiable architecture-independent data in DIR
187                           [PREFIX/com]
188   --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
189   --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
190   --includedir=DIR        C header files in DIR [PREFIX/include]
191   --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
192   --infodir=DIR           info documentation in DIR [PREFIX/info]
193   --mandir=DIR            man documentation in DIR [PREFIX/man]
194   --srcdir=DIR            find the sources in DIR [configure dir or ..]
195   --program-prefix=PREFIX prepend PREFIX to installed program names
196   --program-suffix=SUFFIX append SUFFIX to installed program names
197   --program-transform-name=PROGRAM
198                           run sed PROGRAM on installed program names
199 EOF
200     cat << EOF
201 Host type:
202   --build=BUILD           configure for building on BUILD [BUILD=HOST]
203   --host=HOST             configure for HOST [guessed]
204   --target=TARGET         configure for TARGET [TARGET=HOST]
205 Features and packages:
206   --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
207   --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
208   --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
209   --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
210   --x-includes=DIR        X include files are in DIR
211   --x-libraries=DIR       X library files are in DIR
212 EOF
213     if test -n "$ac_help"; then
214       echo "--enable and --with options recognized:$ac_help"
215     fi
216     exit 0 ;;
217
218   -host | --host | --hos | --ho)
219     ac_prev=host ;;
220   -host=* | --host=* | --hos=* | --ho=*)
221     host="$ac_optarg" ;;
222
223   -includedir | --includedir | --includedi | --included | --include \
224   | --includ | --inclu | --incl | --inc)
225     ac_prev=includedir ;;
226   -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
227   | --includ=* | --inclu=* | --incl=* | --inc=*)
228     includedir="$ac_optarg" ;;
229
230   -infodir | --infodir | --infodi | --infod | --info | --inf)
231     ac_prev=infodir ;;
232   -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
233     infodir="$ac_optarg" ;;
234
235   -libdir | --libdir | --libdi | --libd)
236     ac_prev=libdir ;;
237   -libdir=* | --libdir=* | --libdi=* | --libd=*)
238     libdir="$ac_optarg" ;;
239
240   -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
241   | --libexe | --libex | --libe)
242     ac_prev=libexecdir ;;
243   -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
244   | --libexe=* | --libex=* | --libe=*)
245     libexecdir="$ac_optarg" ;;
246
247   -localstatedir | --localstatedir | --localstatedi | --localstated \
248   | --localstate | --localstat | --localsta | --localst \
249   | --locals | --local | --loca | --loc | --lo)
250     ac_prev=localstatedir ;;
251   -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
252   | --localstate=* | --localstat=* | --localsta=* | --localst=* \
253   | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
254     localstatedir="$ac_optarg" ;;
255
256   -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
257     ac_prev=mandir ;;
258   -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
259     mandir="$ac_optarg" ;;
260
261   -nfp | --nfp | --nf)
262     # Obsolete; use --without-fp.
263     with_fp=no ;;
264
265   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
266   | --no-cr | --no-c)
267     no_create=yes ;;
268
269   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
270   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
271     no_recursion=yes ;;
272
273   -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
274   | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
275   | --oldin | --oldi | --old | --ol | --o)
276     ac_prev=oldincludedir ;;
277   -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
278   | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
279   | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
280     oldincludedir="$ac_optarg" ;;
281
282   -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
283     ac_prev=prefix ;;
284   -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
285     prefix="$ac_optarg" ;;
286
287   -program-prefix | --program-prefix | --program-prefi | --program-pref \
288   | --program-pre | --program-pr | --program-p)
289     ac_prev=program_prefix ;;
290   -program-prefix=* | --program-prefix=* | --program-prefi=* \
291   | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
292     program_prefix="$ac_optarg" ;;
293
294   -program-suffix | --program-suffix | --program-suffi | --program-suff \
295   | --program-suf | --program-su | --program-s)
296     ac_prev=program_suffix ;;
297   -program-suffix=* | --program-suffix=* | --program-suffi=* \
298   | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
299     program_suffix="$ac_optarg" ;;
300
301   -program-transform-name | --program-transform-name \
302   | --program-transform-nam | --program-transform-na \
303   | --program-transform-n | --program-transform- \
304   | --program-transform | --program-transfor \
305   | --program-transfo | --program-transf \
306   | --program-trans | --program-tran \
307   | --progr-tra | --program-tr | --program-t)
308     ac_prev=program_transform_name ;;
309   -program-transform-name=* | --program-transform-name=* \
310   | --program-transform-nam=* | --program-transform-na=* \
311   | --program-transform-n=* | --program-transform-=* \
312   | --program-transform=* | --program-transfor=* \
313   | --program-transfo=* | --program-transf=* \
314   | --program-trans=* | --program-tran=* \
315   | --progr-tra=* | --program-tr=* | --program-t=*)
316     program_transform_name="$ac_optarg" ;;
317
318   -q | -quiet | --quiet | --quie | --qui | --qu | --q \
319   | -silent | --silent | --silen | --sile | --sil)
320     silent=yes ;;
321
322   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
323     ac_prev=sbindir ;;
324   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
325   | --sbi=* | --sb=*)
326     sbindir="$ac_optarg" ;;
327
328   -sharedstatedir | --sharedstatedir | --sharedstatedi \
329   | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
330   | --sharedst | --shareds | --shared | --share | --shar \
331   | --sha | --sh)
332     ac_prev=sharedstatedir ;;
333   -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
334   | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
335   | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
336   | --sha=* | --sh=*)
337     sharedstatedir="$ac_optarg" ;;
338
339   -site | --site | --sit)
340     ac_prev=site ;;
341   -site=* | --site=* | --sit=*)
342     site="$ac_optarg" ;;
343
344   -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
345     ac_prev=srcdir ;;
346   -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
347     srcdir="$ac_optarg" ;;
348
349   -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
350   | --syscon | --sysco | --sysc | --sys | --sy)
351     ac_prev=sysconfdir ;;
352   -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
353   | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
354     sysconfdir="$ac_optarg" ;;
355
356   -target | --target | --targe | --targ | --tar | --ta | --t)
357     ac_prev=target ;;
358   -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
359     target="$ac_optarg" ;;
360
361   -v | -verbose | --verbose | --verbos | --verbo | --verb)
362     verbose=yes ;;
363
364   -version | --version | --versio | --versi | --vers)
365     echo "configure generated by autoconf version 2.13"
366     exit 0 ;;
367
368   -with-* | --with-*)
369     ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
370     # Reject names that are not valid shell variable names.
371     if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
372       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
373     fi
374     ac_package=`echo $ac_package| sed 's/-/_/g'`
375     case "$ac_option" in
376       *=*) ;;
377       *) ac_optarg=yes ;;
378     esac
379     eval "with_${ac_package}='$ac_optarg'" ;;
380
381   -without-* | --without-*)
382     ac_package=`echo $ac_option|sed -e 's/-*without-//'`
383     # Reject names that are not valid shell variable names.
384     if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
385       { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
386     fi
387     ac_package=`echo $ac_package| sed 's/-/_/g'`
388     eval "with_${ac_package}=no" ;;
389
390   --x)
391     # Obsolete; use --with-x.
392     with_x=yes ;;
393
394   -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
395   | --x-incl | --x-inc | --x-in | --x-i)
396     ac_prev=x_includes ;;
397   -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
398   | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
399     x_includes="$ac_optarg" ;;
400
401   -x-libraries | --x-libraries | --x-librarie | --x-librari \
402   | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
403     ac_prev=x_libraries ;;
404   -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
405   | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
406     x_libraries="$ac_optarg" ;;
407
408   -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
409     ;;
410
411   *)
412     if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
413       echo "configure: warning: $ac_option: invalid host type" 1>&2
414     fi
415     if test "x$nonopt" != xNONE; then
416       { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
417     fi
418     nonopt="$ac_option"
419     ;;
420
421   esac
422 done
423
424 if test -n "$ac_prev"; then
425   { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
426 fi
427
428 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
429
430 # File descriptor usage:
431 # 0 standard input
432 # 1 file creation
433 # 2 errors and warnings
434 # 3 some systems may open it to /dev/tty
435 # 4 used on the Kubota Titan
436 # 6 checking for... messages and results
437 # 5 compiler messages saved in config.log
438 if test "$silent" = yes; then
439   exec 6>/dev/null
440 else
441   exec 6>&1
442 fi
443 exec 5>./config.log
444
445 echo "\
446 This file contains any messages produced by compilers while
447 running configure, to aid debugging if configure makes a mistake.
448 " 1>&5
449
450 # Strip out --no-create and --no-recursion so they do not pile up.
451 # Also quote any args containing shell metacharacters.
452 ac_configure_args=
453 for ac_arg
454 do
455   case "$ac_arg" in
456   -no-create | --no-create | --no-creat | --no-crea | --no-cre \
457   | --no-cr | --no-c) ;;
458   -no-recursion | --no-recursion | --no-recursio | --no-recursi \
459   | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
460   *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
461   ac_configure_args="$ac_configure_args '$ac_arg'" ;;
462   *) ac_configure_args="$ac_configure_args $ac_arg" ;;
463   esac
464 done
465
466 # NLS nuisances.
467 # Only set these to C if already set.  These must not be set unconditionally
468 # because not all systems understand e.g. LANG=C (notably SCO).
469 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
470 # Non-C LC_CTYPE values break the ctype check.
471 if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
472 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
473 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
474 if test "${LC_CTYPE+set}"    = set; then LC_CTYPE=C;    export LC_CTYPE;    fi
475
476 # confdefs.h avoids OS command line length limits that DEFS can exceed.
477 rm -rf conftest* confdefs.h
478 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
479 echo > confdefs.h
480
481 # A filename unique to this package, relative to the directory that
482 # configure is in, which we can look for to find out if srcdir is correct.
483 ac_unique_file=setjmp.S
484
485 # Find the source files, if location was not specified.
486 if test -z "$srcdir"; then
487   ac_srcdir_defaulted=yes
488   # Try the directory containing this script, then its parent.
489   ac_prog=$0
490   ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
491   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
492   srcdir=$ac_confdir
493   if test ! -r $srcdir/$ac_unique_file; then
494     srcdir=..
495   fi
496 else
497   ac_srcdir_defaulted=no
498 fi
499 if test ! -r $srcdir/$ac_unique_file; then
500   if test "$ac_srcdir_defaulted" = yes; then
501     { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
502   else
503     { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
504   fi
505 fi
506 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
507
508 # Prefer explicitly selected file to automatically selected ones.
509 if test -z "$CONFIG_SITE"; then
510   if test "x$prefix" != xNONE; then
511     CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
512   else
513     CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
514   fi
515 fi
516 for ac_site_file in $CONFIG_SITE; do
517   if test -r "$ac_site_file"; then
518     echo "loading site script $ac_site_file"
519     . "$ac_site_file"
520   fi
521 done
522
523 if test -r "$cache_file"; then
524   echo "loading cache $cache_file"
525   . $cache_file
526 else
527   echo "creating cache $cache_file"
528   > $cache_file
529 fi
530
531 ac_ext=c
532 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
533 ac_cpp='$CPP $CPPFLAGS'
534 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
535 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
536 cross_compiling=$ac_cv_prog_cc_cross
537
538 ac_exeext=
539 ac_objext=o
540 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
541   # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
542   if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
543     ac_n= ac_c='
544 ' ac_t='        '
545   else
546     ac_n=-n ac_c= ac_t=
547   fi
548 else
549   ac_n= ac_c='\c' ac_t=
550 fi
551
552
553
554 ac_aux_dir=
555 for ac_dir in ../../../.. $srcdir/../../../..; do
556   if test -f $ac_dir/install-sh; then
557     ac_aux_dir=$ac_dir
558     ac_install_sh="$ac_aux_dir/install-sh -c"
559     break
560   elif test -f $ac_dir/install.sh; then
561     ac_aux_dir=$ac_dir
562     ac_install_sh="$ac_aux_dir/install.sh -c"
563     break
564   fi
565 done
566 if test -z "$ac_aux_dir"; then
567   { echo "configure: error: can not find install-sh or install.sh in ../../../.. $srcdir/../../../.." 1>&2; exit 1; }
568 fi
569 ac_config_guess=$ac_aux_dir/config.guess
570 ac_config_sub=$ac_aux_dir/config.sub
571 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
572
573
574 am__api_version="1.4"
575 # Find a good install program.  We prefer a C program (faster),
576 # so one script is as good as another.  But avoid the broken or
577 # incompatible versions:
578 # SysV /etc/install, /usr/sbin/install
579 # SunOS /usr/etc/install
580 # IRIX /sbin/install
581 # AIX /bin/install
582 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
583 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
584 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
585 # ./install, which can be erroneously created by make from ./install.sh.
586 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
587 echo "configure:588: checking for a BSD compatible install" >&5
588 if test -z "$INSTALL"; then
589 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
590   echo $ac_n "(cached) $ac_c" 1>&6
591 else
592     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
593   for ac_dir in $PATH; do
594     # Account for people who put trailing slashes in PATH elements.
595     case "$ac_dir/" in
596     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
597     *)
598       # OSF1 and SCO ODT 3.0 have their own names for install.
599       # Don't use installbsd from OSF since it installs stuff as root
600       # by default.
601       for ac_prog in ginstall scoinst install; do
602         if test -f $ac_dir/$ac_prog; then
603           if test $ac_prog = install &&
604             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
605             # AIX install.  It has an incompatible calling convention.
606             :
607           else
608             ac_cv_path_install="$ac_dir/$ac_prog -c"
609             break 2
610           fi
611         fi
612       done
613       ;;
614     esac
615   done
616   IFS="$ac_save_IFS"
617
618 fi
619   if test "${ac_cv_path_install+set}" = set; then
620     INSTALL="$ac_cv_path_install"
621   else
622     # As a last resort, use the slow shell script.  We don't cache a
623     # path for INSTALL within a source directory, because that will
624     # break other packages using the cache if that directory is
625     # removed, or if the path is relative.
626     INSTALL="$ac_install_sh"
627   fi
628 fi
629 echo "$ac_t""$INSTALL" 1>&6
630
631 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
632 # It thinks the first close brace ends the variable substitution.
633 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
634
635 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
636
637 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
638
639 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
640 echo "configure:641: checking whether build environment is sane" >&5
641 # Just in case
642 sleep 1
643 echo timestamp > conftestfile
644 # Do `set' in a subshell so we don't clobber the current shell's
645 # arguments.  Must try -L first in case configure is actually a
646 # symlink; some systems play weird games with the mod time of symlinks
647 # (eg FreeBSD returns the mod time of the symlink's containing
648 # directory).
649 if (
650    set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
651    if test "$*" = "X"; then
652       # -L didn't work.
653       set X `ls -t $srcdir/configure conftestfile`
654    fi
655    if test "$*" != "X $srcdir/configure conftestfile" \
656       && test "$*" != "X conftestfile $srcdir/configure"; then
657
658       # If neither matched, then we have a broken ls.  This can happen
659       # if, for instance, CONFIG_SHELL is bash and it inherits a
660       # broken ls alias from the environment.  This has actually
661       # happened.  Such a system could not be considered "sane".
662       { echo "configure: error: ls -t appears to fail.  Make sure there is not a broken
663 alias in your environment" 1>&2; exit 1; }
664    fi
665
666    test "$2" = conftestfile
667    )
668 then
669    # Ok.
670    :
671 else
672    { echo "configure: error: newly created file is older than distributed files!
673 Check your system clock" 1>&2; exit 1; }
674 fi
675 rm -f conftest*
676 echo "$ac_t""yes" 1>&6
677 if test "$program_transform_name" = s,x,x,; then
678   program_transform_name=
679 else
680   # Double any \ or $.  echo might interpret backslashes.
681   cat <<\EOF_SED > conftestsed
682 s,\\,\\\\,g; s,\$,$$,g
683 EOF_SED
684   program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
685   rm -f conftestsed
686 fi
687 test "$program_prefix" != NONE &&
688   program_transform_name="s,^,${program_prefix},; $program_transform_name"
689 # Use a double $ so make ignores it.
690 test "$program_suffix" != NONE &&
691   program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
692
693 # sed with no file args requires a program.
694 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
695
696 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
697 echo "configure:698: checking whether ${MAKE-make} sets \${MAKE}" >&5
698 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
699 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
700   echo $ac_n "(cached) $ac_c" 1>&6
701 else
702   cat > conftestmake <<\EOF
703 all:
704         @echo 'ac_maketemp="${MAKE}"'
705 EOF
706 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
707 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
708 if test -n "$ac_maketemp"; then
709   eval ac_cv_prog_make_${ac_make}_set=yes
710 else
711   eval ac_cv_prog_make_${ac_make}_set=no
712 fi
713 rm -f conftestmake
714 fi
715 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
716   echo "$ac_t""yes" 1>&6
717   SET_MAKE=
718 else
719   echo "$ac_t""no" 1>&6
720   SET_MAKE="MAKE=${MAKE-make}"
721 fi
722
723 if test $host != $build; then
724   ac_tool_prefix=${host_alias}-
725 else
726   ac_tool_prefix=
727 fi
728
729 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
730 echo "configure:731: checking for Cygwin environment" >&5
731 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
732   echo $ac_n "(cached) $ac_c" 1>&6
733 else
734   cat > conftest.$ac_ext <<EOF
735 #line 736 "configure"
736 #include "confdefs.h"
737
738 int main() {
739
740 #ifndef __CYGWIN__
741 #define __CYGWIN__ __CYGWIN32__
742 #endif
743 return __CYGWIN__;
744 ; return 0; }
745 EOF
746 if { (eval echo configure:747: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
747   rm -rf conftest*
748   ac_cv_cygwin=yes
749 else
750   echo "configure: failed program was:" >&5
751   cat conftest.$ac_ext >&5
752   rm -rf conftest*
753   ac_cv_cygwin=no
754 fi
755 rm -f conftest*
756 rm -f conftest*
757 fi
758
759 echo "$ac_t""$ac_cv_cygwin" 1>&6
760 CYGWIN=
761 test "$ac_cv_cygwin" = yes && CYGWIN=yes
762 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
763 echo "configure:764: checking for mingw32 environment" >&5
764 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
765   echo $ac_n "(cached) $ac_c" 1>&6
766 else
767   cat > conftest.$ac_ext <<EOF
768 #line 769 "configure"
769 #include "confdefs.h"
770
771 int main() {
772 return __MINGW32__;
773 ; return 0; }
774 EOF
775 if { (eval echo configure:776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
776   rm -rf conftest*
777   ac_cv_mingw32=yes
778 else
779   echo "configure: failed program was:" >&5
780   cat conftest.$ac_ext >&5
781   rm -rf conftest*
782   ac_cv_mingw32=no
783 fi
784 rm -f conftest*
785 rm -f conftest*
786 fi
787
788 echo "$ac_t""$ac_cv_mingw32" 1>&6
789 MINGW32=
790 test "$ac_cv_mingw32" = yes && MINGW32=yes
791
792 # Check whether --enable-multilib or --disable-multilib was given.
793 if test "${enable_multilib+set}" = set; then
794   enableval="$enable_multilib"
795   case "${enableval}" in
796   yes) multilib=yes ;;
797   no)  multilib=no ;;
798   *)   { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
799  esac
800 else
801   multilib=yes
802 fi
803
804 # Check whether --enable-target-optspace or --disable-target-optspace was given.
805 if test "${enable_target_optspace+set}" = set; then
806   enableval="$enable_target_optspace"
807   case "${enableval}" in
808   yes) target_optspace=yes ;;
809   no)  target_optspace=no ;;
810   *)   { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;;
811  esac
812 else
813   target_optspace=
814 fi
815
816 # Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
817 if test "${enable_malloc_debugging+set}" = set; then
818   enableval="$enable_malloc_debugging"
819   case "${enableval}" in
820   yes) malloc_debugging=yes ;;
821   no)  malloc_debugging=no ;;
822   *)   { echo "configure: error: bad value ${enableval} for malloc-debugging option" 1>&2; exit 1; } ;;
823  esac
824 else
825   malloc_debugging=
826 fi
827
828 # Check whether --enable-newlib-multithread or --disable-newlib-multithread was given.
829 if test "${enable_newlib_multithread+set}" = set; then
830   enableval="$enable_newlib_multithread"
831   case "${enableval}" in
832   yes) newlib_multithread=yes ;;
833   no)  newlib_multithread=no ;;
834   *)   { echo "configure: error: bad value ${enableval} for newlib-multithread option" 1>&2; exit 1; } ;;
835  esac
836 else
837   newlib_multithread=yes
838 fi
839
840 # Check whether --enable-newlib-elix-level or --disable-newlib-elix-level was given.
841 if test "${enable_newlib_elix_level+set}" = set; then
842   enableval="$enable_newlib_elix_level"
843   case "${enableval}" in
844   0)   newlib_elix_level=0 ;;
845   1)   newlib_elix_level=1 ;;
846   2)   newlib_elix_level=2 ;;
847   3)   newlib_elix_level=3 ;;
848   4)   newlib_elix_level=4 ;;
849   *)   { echo "configure: error: bad value ${enableval} for newlib-elix-level option" 1>&2; exit 1; } ;;
850  esac
851 else
852   newlib_elix_level=0
853 fi
854
855 # Check whether --enable-newlib-io-float or --disable-newlib-io-float was given.
856 if test "${enable_newlib_io_float+set}" = set; then
857   enableval="$enable_newlib_io_float"
858   case "${enableval}" in
859   yes) newlib_io_float=yes ;;
860   no)  newlib_io_float=no ;;
861   *)   { echo "configure: error: bad value ${enableval} for newlib-io-float option" 1>&2; exit 1; } ;;
862  esac
863 else
864   newlib_io_float=yes
865 fi
866
867 # Check whether --enable-newlib-supplied-syscalls or --disable-newlib-supplied-syscalls was given.
868 if test "${enable_newlib_supplied_syscalls+set}" = set; then
869   enableval="$enable_newlib_supplied_syscalls"
870   case "${enableval}" in
871   yes) newlib_may_supply_syscalls=yes ;;
872   no)  newlib_may_supply_syscalls=no ;;
873   *)   { echo "configure: error: bad value ${enableval} for newlib-supplied-syscalls option" 1>&2; exit 1; } ;;
874  esac
875 else
876   newlib_may_supply_syscalls=yes
877 fi
878
879
880
881 if test x${newlib_may_supply_syscalls} = xyes; then
882   MAY_SUPPLY_SYSCALLS_TRUE=
883   MAY_SUPPLY_SYSCALLS_FALSE='#'
884 else
885   MAY_SUPPLY_SYSCALLS_TRUE='#'
886   MAY_SUPPLY_SYSCALLS_FALSE=
887 fi
888
889
890 test -z "${with_target_subdir}" && with_target_subdir=.
891
892 if test "${srcdir}" = "."; then
893   if test "${with_target_subdir}" != "."; then
894     newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
895   else
896     newlib_basedir="${srcdir}/${with_multisrctop}../../.."
897   fi
898 else
899   newlib_basedir="${srcdir}/../../.."
900 fi
901
902
903
904 # Do some error checking and defaulting for the host and target type.
905 # The inputs are:
906 #    configure --host=HOST --target=TARGET --build=BUILD NONOPT
907 #
908 # The rules are:
909 # 1. You are not allowed to specify --host, --target, and nonopt at the
910 #    same time.
911 # 2. Host defaults to nonopt.
912 # 3. If nonopt is not specified, then host defaults to the current host,
913 #    as determined by config.guess.
914 # 4. Target and build default to nonopt.
915 # 5. If nonopt is not specified, then target and build default to host.
916
917 # The aliases save the names the user supplied, while $host etc.
918 # will get canonicalized.
919 case $host---$target---$nonopt in
920 NONE---*---* | *---NONE---* | *---*---NONE) ;;
921 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
922 esac
923
924
925 # Make sure we can run config.sub.
926 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
927 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
928 fi
929
930 echo $ac_n "checking host system type""... $ac_c" 1>&6
931 echo "configure:932: checking host system type" >&5
932
933 host_alias=$host
934 case "$host_alias" in
935 NONE)
936   case $nonopt in
937   NONE)
938     if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
939     else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
940     fi ;;
941   *) host_alias=$nonopt ;;
942   esac ;;
943 esac
944
945 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
946 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
947 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
948 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
949 echo "$ac_t""$host" 1>&6
950
951 echo $ac_n "checking target system type""... $ac_c" 1>&6
952 echo "configure:953: checking target system type" >&5
953
954 target_alias=$target
955 case "$target_alias" in
956 NONE)
957   case $nonopt in
958   NONE) target_alias=$host_alias ;;
959   *) target_alias=$nonopt ;;
960   esac ;;
961 esac
962
963 target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
964 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
965 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
966 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
967 echo "$ac_t""$target" 1>&6
968
969 echo $ac_n "checking build system type""... $ac_c" 1>&6
970 echo "configure:971: checking build system type" >&5
971
972 build_alias=$build
973 case "$build_alias" in
974 NONE)
975   case $nonopt in
976   NONE) build_alias=$host_alias ;;
977   *) build_alias=$nonopt ;;
978   esac ;;
979 esac
980
981 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
982 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
983 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
984 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
985 echo "$ac_t""$build" 1>&6
986
987 test "$host_alias" != "$target_alias" &&
988   test "$program_prefix$program_suffix$program_transform_name" = \
989     NONENONEs,x,x, &&
990   program_prefix=${target_alias}-
991
992
993
994 PACKAGE=newlib
995
996 VERSION=1.12.0
997
998 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
999   { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
1000 fi
1001 cat >> confdefs.h <<EOF
1002 #define PACKAGE "$PACKAGE"
1003 EOF
1004
1005 cat >> confdefs.h <<EOF
1006 #define VERSION "$VERSION"
1007 EOF
1008
1009
1010
1011 missing_dir=`cd $ac_aux_dir && pwd`
1012 echo $ac_n "checking for working aclocal-${am__api_version}""... $ac_c" 1>&6
1013 echo "configure:1014: checking for working aclocal-${am__api_version}" >&5
1014 # Run test in a subshell; some versions of sh will print an error if
1015 # an executable is not found, even if stderr is redirected.
1016 # Redirect stdin to placate older versions of autoconf.  Sigh.
1017 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1018    ACLOCAL=aclocal-${am__api_version}
1019    echo "$ac_t""found" 1>&6
1020 else
1021    ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1022    echo "$ac_t""missing" 1>&6
1023 fi
1024
1025 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
1026 echo "configure:1027: checking for working autoconf" >&5
1027 # Run test in a subshell; some versions of sh will print an error if
1028 # an executable is not found, even if stderr is redirected.
1029 # Redirect stdin to placate older versions of autoconf.  Sigh.
1030 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1031    AUTOCONF=autoconf
1032    echo "$ac_t""found" 1>&6
1033 else
1034    AUTOCONF="$missing_dir/missing autoconf"
1035    echo "$ac_t""missing" 1>&6
1036 fi
1037
1038 echo $ac_n "checking for working automake-${am__api_version}""... $ac_c" 1>&6
1039 echo "configure:1040: checking for working automake-${am__api_version}" >&5
1040 # Run test in a subshell; some versions of sh will print an error if
1041 # an executable is not found, even if stderr is redirected.
1042 # Redirect stdin to placate older versions of autoconf.  Sigh.
1043 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1044    AUTOMAKE=automake-${am__api_version}
1045    echo "$ac_t""found" 1>&6
1046 else
1047    AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1048    echo "$ac_t""missing" 1>&6
1049 fi
1050
1051 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
1052 echo "configure:1053: checking for working autoheader" >&5
1053 # Run test in a subshell; some versions of sh will print an error if
1054 # an executable is not found, even if stderr is redirected.
1055 # Redirect stdin to placate older versions of autoconf.  Sigh.
1056 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1057    AUTOHEADER=autoheader
1058    echo "$ac_t""found" 1>&6
1059 else
1060    AUTOHEADER="$missing_dir/missing autoheader"
1061    echo "$ac_t""missing" 1>&6
1062 fi
1063
1064 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
1065 echo "configure:1066: checking for working makeinfo" >&5
1066 # Run test in a subshell; some versions of sh will print an error if
1067 # an executable is not found, even if stderr is redirected.
1068 # Redirect stdin to placate older versions of autoconf.  Sigh.
1069 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1070    MAKEINFO=makeinfo
1071    echo "$ac_t""found" 1>&6
1072 else
1073    MAKEINFO="$missing_dir/missing makeinfo"
1074    echo "$ac_t""missing" 1>&6
1075 fi
1076
1077
1078
1079 # FIXME: We temporarily define our own version of AC_PROG_CC.  This is
1080 # copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS.  We
1081 # are probably using a cross compiler, which will not be able to fully
1082 # link an executable.  This should really be fixed in autoconf
1083 # itself.
1084
1085
1086
1087 # Extract the first word of "gcc", so it can be a program name with args.
1088 set dummy gcc; ac_word=$2
1089 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1090 echo "configure:1091: checking for $ac_word" >&5
1091 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1092   echo $ac_n "(cached) $ac_c" 1>&6
1093 else
1094   if test -n "$CC"; then
1095   ac_cv_prog_CC="$CC" # Let the user override the test.
1096 else
1097   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1098   ac_dummy="$PATH"
1099   for ac_dir in $ac_dummy; do
1100     test -z "$ac_dir" && ac_dir=.
1101     if test -f $ac_dir/$ac_word; then
1102       ac_cv_prog_CC="gcc"
1103       break
1104     fi
1105   done
1106   IFS="$ac_save_ifs"
1107 fi
1108 fi
1109 CC="$ac_cv_prog_CC"
1110 if test -n "$CC"; then
1111   echo "$ac_t""$CC" 1>&6
1112 else
1113   echo "$ac_t""no" 1>&6
1114 fi
1115
1116 if test -z "$CC"; then
1117   # Extract the first word of "cc", so it can be a program name with args.
1118 set dummy cc; ac_word=$2
1119 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1120 echo "configure:1121: checking for $ac_word" >&5
1121 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1122   echo $ac_n "(cached) $ac_c" 1>&6
1123 else
1124   if test -n "$CC"; then
1125   ac_cv_prog_CC="$CC" # Let the user override the test.
1126 else
1127   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1128   ac_prog_rejected=no
1129   ac_dummy="$PATH"
1130   for ac_dir in $ac_dummy; do
1131     test -z "$ac_dir" && ac_dir=.
1132     if test -f $ac_dir/$ac_word; then
1133       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1134         ac_prog_rejected=yes
1135         continue
1136       fi
1137       ac_cv_prog_CC="cc"
1138       break
1139     fi
1140   done
1141   IFS="$ac_save_ifs"
1142 if test $ac_prog_rejected = yes; then
1143   # We found a bogon in the path, so make sure we never use it.
1144   set dummy $ac_cv_prog_CC
1145   shift
1146   if test $# -gt 0; then
1147     # We chose a different compiler from the bogus one.
1148     # However, it has the same basename, so the bogon will be chosen
1149     # first if we set CC to just the basename; use the full file name.
1150     shift
1151     set dummy "$ac_dir/$ac_word" "$@"
1152     shift
1153     ac_cv_prog_CC="$@"
1154   fi
1155 fi
1156 fi
1157 fi
1158 CC="$ac_cv_prog_CC"
1159 if test -n "$CC"; then
1160   echo "$ac_t""$CC" 1>&6
1161 else
1162   echo "$ac_t""no" 1>&6
1163 fi
1164
1165   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1166 fi
1167
1168 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1169 echo "configure:1170: checking whether we are using GNU C" >&5
1170 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1171   echo $ac_n "(cached) $ac_c" 1>&6
1172 else
1173   cat > conftest.c <<EOF
1174 #ifdef __GNUC__
1175   yes;
1176 #endif
1177 EOF
1178 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1179: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1179   ac_cv_prog_gcc=yes
1180 else
1181   ac_cv_prog_gcc=no
1182 fi
1183 fi
1184
1185 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1186
1187 if test $ac_cv_prog_gcc = yes; then
1188   GCC=yes
1189   ac_test_CFLAGS="${CFLAGS+set}"
1190   ac_save_CFLAGS="$CFLAGS"
1191   CFLAGS=
1192   echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1193 echo "configure:1194: checking whether ${CC-cc} accepts -g" >&5
1194 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1195   echo $ac_n "(cached) $ac_c" 1>&6
1196 else
1197   echo 'void f(){}' > conftest.c
1198 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1199   ac_cv_prog_cc_g=yes
1200 else
1201   ac_cv_prog_cc_g=no
1202 fi
1203 rm -f conftest*
1204
1205 fi
1206
1207 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1208   if test "$ac_test_CFLAGS" = set; then
1209     CFLAGS="$ac_save_CFLAGS"
1210   elif test $ac_cv_prog_cc_g = yes; then
1211     CFLAGS="-g -O2"
1212   else
1213     CFLAGS="-O2"
1214   fi
1215 else
1216   GCC=
1217   test "${CFLAGS+set}" = set || CFLAGS="-g"
1218 fi
1219
1220
1221 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1222 set dummy ${ac_tool_prefix}as; ac_word=$2
1223 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1224 echo "configure:1225: checking for $ac_word" >&5
1225 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1226   echo $ac_n "(cached) $ac_c" 1>&6
1227 else
1228   if test -n "$AS"; then
1229   ac_cv_prog_AS="$AS" # Let the user override the test.
1230 else
1231   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1232   ac_dummy="$PATH"
1233   for ac_dir in $ac_dummy; do
1234     test -z "$ac_dir" && ac_dir=.
1235     if test -f $ac_dir/$ac_word; then
1236       ac_cv_prog_AS="${ac_tool_prefix}as"
1237       break
1238     fi
1239   done
1240   IFS="$ac_save_ifs"
1241   test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1242 fi
1243 fi
1244 AS="$ac_cv_prog_AS"
1245 if test -n "$AS"; then
1246   echo "$ac_t""$AS" 1>&6
1247 else
1248   echo "$ac_t""no" 1>&6
1249 fi
1250
1251
1252
1253 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1254 set dummy ${ac_tool_prefix}ar; ac_word=$2
1255 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1256 echo "configure:1257: checking for $ac_word" >&5
1257 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1258   echo $ac_n "(cached) $ac_c" 1>&6
1259 else
1260   if test -n "$AR"; then
1261   ac_cv_prog_AR="$AR" # Let the user override the test.
1262 else
1263   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1264   ac_dummy="$PATH"
1265   for ac_dir in $ac_dummy; do
1266     test -z "$ac_dir" && ac_dir=.
1267     if test -f $ac_dir/$ac_word; then
1268       ac_cv_prog_AR="${ac_tool_prefix}ar"
1269       break
1270     fi
1271   done
1272   IFS="$ac_save_ifs"
1273   test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1274 fi
1275 fi
1276 AR="$ac_cv_prog_AR"
1277 if test -n "$AR"; then
1278   echo "$ac_t""$AR" 1>&6
1279 else
1280   echo "$ac_t""no" 1>&6
1281 fi
1282
1283
1284
1285 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1286 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1287 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1288 echo "configure:1289: checking for $ac_word" >&5
1289 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1290   echo $ac_n "(cached) $ac_c" 1>&6
1291 else
1292   if test -n "$RANLIB"; then
1293   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1294 else
1295   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1296   ac_dummy="$PATH"
1297   for ac_dir in $ac_dummy; do
1298     test -z "$ac_dir" && ac_dir=.
1299     if test -f $ac_dir/$ac_word; then
1300       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1301       break
1302     fi
1303   done
1304   IFS="$ac_save_ifs"
1305 fi
1306 fi
1307 RANLIB="$ac_cv_prog_RANLIB"
1308 if test -n "$RANLIB"; then
1309   echo "$ac_t""$RANLIB" 1>&6
1310 else
1311   echo "$ac_t""no" 1>&6
1312 fi
1313
1314
1315 if test -z "$ac_cv_prog_RANLIB"; then
1316 if test -n "$ac_tool_prefix"; then
1317   # Extract the first word of "ranlib", so it can be a program name with args.
1318 set dummy ranlib; ac_word=$2
1319 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1320 echo "configure:1321: checking for $ac_word" >&5
1321 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1322   echo $ac_n "(cached) $ac_c" 1>&6
1323 else
1324   if test -n "$RANLIB"; then
1325   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1326 else
1327   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1328   ac_dummy="$PATH"
1329   for ac_dir in $ac_dummy; do
1330     test -z "$ac_dir" && ac_dir=.
1331     if test -f $ac_dir/$ac_word; then
1332       ac_cv_prog_RANLIB="ranlib"
1333       break
1334     fi
1335   done
1336   IFS="$ac_save_ifs"
1337   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1338 fi
1339 fi
1340 RANLIB="$ac_cv_prog_RANLIB"
1341 if test -n "$RANLIB"; then
1342   echo "$ac_t""$RANLIB" 1>&6
1343 else
1344   echo "$ac_t""no" 1>&6
1345 fi
1346
1347 else
1348   RANLIB=":"
1349 fi
1350 fi
1351
1352
1353 # Find a good install program.  We prefer a C program (faster),
1354 # so one script is as good as another.  But avoid the broken or
1355 # incompatible versions:
1356 # SysV /etc/install, /usr/sbin/install
1357 # SunOS /usr/etc/install
1358 # IRIX /sbin/install
1359 # AIX /bin/install
1360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1363 # ./install, which can be erroneously created by make from ./install.sh.
1364 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1365 echo "configure:1366: checking for a BSD compatible install" >&5
1366 if test -z "$INSTALL"; then
1367 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1368   echo $ac_n "(cached) $ac_c" 1>&6
1369 else
1370     IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
1371   for ac_dir in $PATH; do
1372     # Account for people who put trailing slashes in PATH elements.
1373     case "$ac_dir/" in
1374     /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1375     *)
1376       # OSF1 and SCO ODT 3.0 have their own names for install.
1377       # Don't use installbsd from OSF since it installs stuff as root
1378       # by default.
1379       for ac_prog in ginstall scoinst install; do
1380         if test -f $ac_dir/$ac_prog; then
1381           if test $ac_prog = install &&
1382             grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1383             # AIX install.  It has an incompatible calling convention.
1384             :
1385           else
1386             ac_cv_path_install="$ac_dir/$ac_prog -c"
1387             break 2
1388           fi
1389         fi
1390       done
1391       ;;
1392     esac
1393   done
1394   IFS="$ac_save_IFS"
1395
1396 fi
1397   if test "${ac_cv_path_install+set}" = set; then
1398     INSTALL="$ac_cv_path_install"
1399   else
1400     # As a last resort, use the slow shell script.  We don't cache a
1401     # path for INSTALL within a source directory, because that will
1402     # break other packages using the cache if that directory is
1403     # removed, or if the path is relative.
1404     INSTALL="$ac_install_sh"
1405   fi
1406 fi
1407 echo "$ac_t""$INSTALL" 1>&6
1408
1409 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1410 # It thinks the first close brace ends the variable substitution.
1411 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1412
1413 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1414
1415 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1416
1417
1418 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1419 echo "configure:1420: checking whether to enable maintainer-specific portions of Makefiles" >&5
1420     # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1421 if test "${enable_maintainer_mode+set}" = set; then
1422   enableval="$enable_maintainer_mode"
1423   USE_MAINTAINER_MODE=$enableval
1424 else
1425   USE_MAINTAINER_MODE=no
1426 fi
1427
1428   echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1429   
1430
1431 if test $USE_MAINTAINER_MODE = yes; then
1432   MAINTAINER_MODE_TRUE=
1433   MAINTAINER_MODE_FALSE='#'
1434 else
1435   MAINTAINER_MODE_TRUE='#'
1436   MAINTAINER_MODE_FALSE=
1437 fi
1438   MAINT=$MAINTAINER_MODE_TRUE
1439   
1440
1441
1442 # We need AC_EXEEXT to keep automake happy in cygnus mode.  However,
1443 # at least currently, we never actually build a program, so we never
1444 # need to use $(EXEEXT).  Moreover, the test for EXEEXT normally
1445 # fails, because we are probably configuring with a cross compiler
1446 # which can't create executables.  So we include AC_EXEEXT to keep
1447 # automake happy, but we don't execute it, since we don't care about
1448 # the result.
1449 if false; then
1450   
1451
1452 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1453 echo "configure:1454: checking for executable suffix" >&5
1454 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1455   echo $ac_n "(cached) $ac_c" 1>&6
1456 else
1457   if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1458   ac_cv_exeext=.exe
1459 else
1460   rm -f conftest*
1461   echo 'int main () { return 0; }' > conftest.$ac_ext
1462   ac_cv_exeext=
1463   if { (eval echo configure:1464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1464     for file in conftest.*; do
1465       case $file in
1466       *.c | *.o | *.obj) ;;
1467       *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1468       esac
1469     done
1470   else
1471     { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1472   fi
1473   rm -f conftest*
1474   test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1475 fi
1476 fi
1477
1478 EXEEXT=""
1479 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1480 echo "$ac_t""${ac_cv_exeext}" 1>&6
1481 ac_exeext=$EXEEXT
1482
1483 fi
1484
1485 . ${newlib_basedir}/configure.host
1486
1487 newlib_cflags="${newlib_cflags} -fno-builtin"
1488
1489 NEWLIB_CFLAGS=${newlib_cflags}
1490
1491
1492 LDFLAGS=${ldflags}
1493
1494
1495
1496
1497 if test x${newlib_elix_level} = x0; then
1498   ELIX_LEVEL_0_TRUE=
1499   ELIX_LEVEL_0_FALSE='#'
1500 else
1501   ELIX_LEVEL_0_TRUE='#'
1502   ELIX_LEVEL_0_FALSE=
1503 fi
1504
1505
1506 if test x${newlib_elix_level} = x1; then
1507   ELIX_LEVEL_1_TRUE=
1508   ELIX_LEVEL_1_FALSE='#'
1509 else
1510   ELIX_LEVEL_1_TRUE='#'
1511   ELIX_LEVEL_1_FALSE=
1512 fi
1513
1514
1515 if test x${newlib_elix_level} = x2; then
1516   ELIX_LEVEL_2_TRUE=
1517   ELIX_LEVEL_2_FALSE='#'
1518 else
1519   ELIX_LEVEL_2_TRUE='#'
1520   ELIX_LEVEL_2_FALSE=
1521 fi
1522
1523
1524 if test x${newlib_elix_level} = x3; then
1525   ELIX_LEVEL_3_TRUE=
1526   ELIX_LEVEL_3_FALSE='#'
1527 else
1528   ELIX_LEVEL_3_TRUE='#'
1529   ELIX_LEVEL_3_FALSE=
1530 fi
1531
1532
1533 if test x${newlib_elix_level} = x4; then
1534   ELIX_LEVEL_4_TRUE=
1535   ELIX_LEVEL_4_FALSE='#'
1536 else
1537   ELIX_LEVEL_4_TRUE='#'
1538   ELIX_LEVEL_4_FALSE=
1539 fi
1540
1541
1542
1543 if test x${use_libtool} = xyes; then
1544   USE_LIBTOOL_TRUE=
1545   USE_LIBTOOL_FALSE='#'
1546 else
1547   USE_LIBTOOL_TRUE='#'
1548   USE_LIBTOOL_FALSE=
1549 fi
1550
1551 # Hard-code OBJEXT.  Normally it is set by AC_OBJEXT, but we
1552 # use oext, which is set in configure.host based on the target platform.
1553 OBJEXT=${oext}
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565 if test "${use_libtool}" = "yes"; then
1566
1567 # Check whether --enable-shared or --disable-shared was given.
1568 if test "${enable_shared+set}" = set; then
1569   enableval="$enable_shared"
1570   p=${PACKAGE-default}
1571 case $enableval in
1572 yes) enable_shared=yes ;;
1573 no) enable_shared=no ;;
1574 *)
1575   enable_shared=no
1576   # Look at the argument we got.  We use all the common list separators.
1577   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1578   for pkg in $enableval; do
1579     if test "X$pkg" = "X$p"; then
1580       enable_shared=yes
1581     fi
1582   done
1583   IFS="$ac_save_ifs"
1584   ;;
1585 esac
1586 else
1587   enable_shared=yes
1588 fi
1589
1590 # Check whether --enable-static or --disable-static was given.
1591 if test "${enable_static+set}" = set; then
1592   enableval="$enable_static"
1593   p=${PACKAGE-default}
1594 case $enableval in
1595 yes) enable_static=yes ;;
1596 no) enable_static=no ;;
1597 *)
1598   enable_static=no
1599   # Look at the argument we got.  We use all the common list separators.
1600   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1601   for pkg in $enableval; do
1602     if test "X$pkg" = "X$p"; then
1603       enable_static=yes
1604     fi
1605   done
1606   IFS="$ac_save_ifs"
1607   ;;
1608 esac
1609 else
1610   enable_static=yes
1611 fi
1612
1613 # Check whether --enable-fast-install or --disable-fast-install was given.
1614 if test "${enable_fast_install+set}" = set; then
1615   enableval="$enable_fast_install"
1616   p=${PACKAGE-default}
1617 case $enableval in
1618 yes) enable_fast_install=yes ;;
1619 no) enable_fast_install=no ;;
1620 *)
1621   enable_fast_install=no
1622   # Look at the argument we got.  We use all the common list separators.
1623   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1624   for pkg in $enableval; do
1625     if test "X$pkg" = "X$p"; then
1626       enable_fast_install=yes
1627     fi
1628   done
1629   IFS="$ac_save_ifs"
1630   ;;
1631 esac
1632 else
1633   enable_fast_install=yes
1634 fi
1635
1636 # Extract the first word of "gcc", so it can be a program name with args.
1637 set dummy gcc; ac_word=$2
1638 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1639 echo "configure:1640: checking for $ac_word" >&5
1640 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1641   echo $ac_n "(cached) $ac_c" 1>&6
1642 else
1643   if test -n "$CC"; then
1644   ac_cv_prog_CC="$CC" # Let the user override the test.
1645 else
1646   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1647   ac_dummy="$PATH"
1648   for ac_dir in $ac_dummy; do
1649     test -z "$ac_dir" && ac_dir=.
1650     if test -f $ac_dir/$ac_word; then
1651       ac_cv_prog_CC="gcc"
1652       break
1653     fi
1654   done
1655   IFS="$ac_save_ifs"
1656 fi
1657 fi
1658 CC="$ac_cv_prog_CC"
1659 if test -n "$CC"; then
1660   echo "$ac_t""$CC" 1>&6
1661 else
1662   echo "$ac_t""no" 1>&6
1663 fi
1664
1665 if test -z "$CC"; then
1666   # Extract the first word of "cc", so it can be a program name with args.
1667 set dummy cc; ac_word=$2
1668 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1669 echo "configure:1670: checking for $ac_word" >&5
1670 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1671   echo $ac_n "(cached) $ac_c" 1>&6
1672 else
1673   if test -n "$CC"; then
1674   ac_cv_prog_CC="$CC" # Let the user override the test.
1675 else
1676   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1677   ac_prog_rejected=no
1678   ac_dummy="$PATH"
1679   for ac_dir in $ac_dummy; do
1680     test -z "$ac_dir" && ac_dir=.
1681     if test -f $ac_dir/$ac_word; then
1682       if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1683         ac_prog_rejected=yes
1684         continue
1685       fi
1686       ac_cv_prog_CC="cc"
1687       break
1688     fi
1689   done
1690   IFS="$ac_save_ifs"
1691 if test $ac_prog_rejected = yes; then
1692   # We found a bogon in the path, so make sure we never use it.
1693   set dummy $ac_cv_prog_CC
1694   shift
1695   if test $# -gt 0; then
1696     # We chose a different compiler from the bogus one.
1697     # However, it has the same basename, so the bogon will be chosen
1698     # first if we set CC to just the basename; use the full file name.
1699     shift
1700     set dummy "$ac_dir/$ac_word" "$@"
1701     shift
1702     ac_cv_prog_CC="$@"
1703   fi
1704 fi
1705 fi
1706 fi
1707 CC="$ac_cv_prog_CC"
1708 if test -n "$CC"; then
1709   echo "$ac_t""$CC" 1>&6
1710 else
1711   echo "$ac_t""no" 1>&6
1712 fi
1713
1714   if test -z "$CC"; then
1715     case "`uname -s`" in
1716     *win32* | *WIN32*)
1717       # Extract the first word of "cl", so it can be a program name with args.
1718 set dummy cl; ac_word=$2
1719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1720 echo "configure:1721: checking for $ac_word" >&5
1721 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1722   echo $ac_n "(cached) $ac_c" 1>&6
1723 else
1724   if test -n "$CC"; then
1725   ac_cv_prog_CC="$CC" # Let the user override the test.
1726 else
1727   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
1728   ac_dummy="$PATH"
1729   for ac_dir in $ac_dummy; do
1730     test -z "$ac_dir" && ac_dir=.
1731     if test -f $ac_dir/$ac_word; then
1732       ac_cv_prog_CC="cl"
1733       break
1734     fi
1735   done
1736   IFS="$ac_save_ifs"
1737 fi
1738 fi
1739 CC="$ac_cv_prog_CC"
1740 if test -n "$CC"; then
1741   echo "$ac_t""$CC" 1>&6
1742 else
1743   echo "$ac_t""no" 1>&6
1744 fi
1745  ;;
1746     esac
1747   fi
1748   test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1749 fi
1750
1751 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1752 echo "configure:1753: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1753
1754 ac_ext=c
1755 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1756 ac_cpp='$CPP $CPPFLAGS'
1757 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1758 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1759 cross_compiling=$ac_cv_prog_cc_cross
1760
1761 cat > conftest.$ac_ext << EOF
1762
1763 #line 1764 "configure"
1764 #include "confdefs.h"
1765
1766 main(){return(0);}
1767 EOF
1768 if { (eval echo configure:1769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1769   ac_cv_prog_cc_works=yes
1770   # If we can't run a trivial program, we are probably using a cross compiler.
1771   if (./conftest; exit) 2>/dev/null; then
1772     ac_cv_prog_cc_cross=no
1773   else
1774     ac_cv_prog_cc_cross=yes
1775   fi
1776 else
1777   echo "configure: failed program was:" >&5
1778   cat conftest.$ac_ext >&5
1779   ac_cv_prog_cc_works=no
1780 fi
1781 rm -fr conftest*
1782 ac_ext=c
1783 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1784 ac_cpp='$CPP $CPPFLAGS'
1785 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1786 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1787 cross_compiling=$ac_cv_prog_cc_cross
1788
1789 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1790 if test $ac_cv_prog_cc_works = no; then
1791   { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1792 fi
1793 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1794 echo "configure:1795: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1795 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1796 cross_compiling=$ac_cv_prog_cc_cross
1797
1798 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1799 echo "configure:1800: checking whether we are using GNU C" >&5
1800 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1801   echo $ac_n "(cached) $ac_c" 1>&6
1802 else
1803   cat > conftest.c <<EOF
1804 #ifdef __GNUC__
1805   yes;
1806 #endif
1807 EOF
1808 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1809: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1809   ac_cv_prog_gcc=yes
1810 else
1811   ac_cv_prog_gcc=no
1812 fi
1813 fi
1814
1815 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1816
1817 if test $ac_cv_prog_gcc = yes; then
1818   GCC=yes
1819 else
1820   GCC=
1821 fi
1822
1823 ac_test_CFLAGS="${CFLAGS+set}"
1824 ac_save_CFLAGS="$CFLAGS"
1825 CFLAGS=
1826 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1827 echo "configure:1828: checking whether ${CC-cc} accepts -g" >&5
1828 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1829   echo $ac_n "(cached) $ac_c" 1>&6
1830 else
1831   echo 'void f(){}' > conftest.c
1832 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1833   ac_cv_prog_cc_g=yes
1834 else
1835   ac_cv_prog_cc_g=no
1836 fi
1837 rm -f conftest*
1838
1839 fi
1840
1841 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1842 if test "$ac_test_CFLAGS" = set; then
1843   CFLAGS="$ac_save_CFLAGS"
1844 elif test $ac_cv_prog_cc_g = yes; then
1845   if test "$GCC" = yes; then
1846     CFLAGS="-g -O2"
1847   else
1848     CFLAGS="-g"
1849   fi
1850 else
1851   if test "$GCC" = yes; then
1852     CFLAGS="-O2"
1853   else
1854     CFLAGS=
1855   fi
1856 fi
1857
1858 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1859 if test "${with_gnu_ld+set}" = set; then
1860   withval="$with_gnu_ld"
1861   test "$withval" = no || with_gnu_ld=yes
1862 else
1863   with_gnu_ld=no
1864 fi
1865
1866 ac_prog=ld
1867 if test "$GCC" = yes; then
1868   # Check if gcc -print-prog-name=ld gives a path.
1869   echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1870 echo "configure:1871: checking for ld used by GCC" >&5
1871   case $host in
1872   *-*-mingw*)
1873     # gcc leaves a trailing carriage return which upsets mingw
1874     ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
1875   *)
1876     ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
1877   esac
1878   case $ac_prog in
1879     # Accept absolute paths.
1880     [\\/]* | [A-Za-z]:[\\/]*)
1881       re_direlt='/[^/][^/]*/\.\./'
1882       # Canonicalize the path of ld
1883       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1884       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1885         ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1886       done
1887       test -z "$LD" && LD="$ac_prog"
1888       ;;
1889   "")
1890     # If it fails, then pretend we aren't using GCC.
1891     ac_prog=ld
1892     ;;
1893   *)
1894     # If it is relative, then search for the first ld in PATH.
1895     with_gnu_ld=unknown
1896     ;;
1897   esac
1898 elif test "$with_gnu_ld" = yes; then
1899   echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1900 echo "configure:1901: checking for GNU ld" >&5
1901 else
1902   echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1903 echo "configure:1904: checking for non-GNU ld" >&5
1904 fi
1905 if eval "test \"`echo '$''{'lt_cv_path_LD'+set}'`\" = set"; then
1906   echo $ac_n "(cached) $ac_c" 1>&6
1907 else
1908   if test -z "$LD"; then
1909   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1910   for ac_dir in $PATH; do
1911     test -z "$ac_dir" && ac_dir=.
1912     if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1913       lt_cv_path_LD="$ac_dir/$ac_prog"
1914       # Check to see if the program is GNU ld.  I'd rather use --version,
1915       # but apparently some GNU ld's only accept -v.
1916       # Break only if it was the GNU/non-GNU ld that we prefer.
1917       if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1918         test "$with_gnu_ld" != no && break
1919       else
1920         test "$with_gnu_ld" != yes && break
1921       fi
1922     fi
1923   done
1924   IFS="$ac_save_ifs"
1925 else
1926   lt_cv_path_LD="$LD" # Let the user override the test with a path.
1927 fi
1928 fi
1929
1930 LD="$lt_cv_path_LD"
1931 if test -n "$LD"; then
1932   echo "$ac_t""$LD" 1>&6
1933 else
1934   echo "$ac_t""no" 1>&6
1935 fi
1936 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1937 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1938 echo "configure:1939: checking if the linker ($LD) is GNU ld" >&5
1939 if eval "test \"`echo '$''{'lt_cv_prog_gnu_ld'+set}'`\" = set"; then
1940   echo $ac_n "(cached) $ac_c" 1>&6
1941 else
1942   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1943 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1944   lt_cv_prog_gnu_ld=yes
1945 else
1946   lt_cv_prog_gnu_ld=no
1947 fi
1948 fi
1949
1950 echo "$ac_t""$lt_cv_prog_gnu_ld" 1>&6
1951 with_gnu_ld=$lt_cv_prog_gnu_ld
1952
1953
1954 echo $ac_n "checking for $LD option to reload object files""... $ac_c" 1>&6
1955 echo "configure:1956: checking for $LD option to reload object files" >&5
1956 if eval "test \"`echo '$''{'lt_cv_ld_reload_flag'+set}'`\" = set"; then
1957   echo $ac_n "(cached) $ac_c" 1>&6
1958 else
1959   lt_cv_ld_reload_flag='-r'
1960 fi
1961
1962 echo "$ac_t""$lt_cv_ld_reload_flag" 1>&6
1963 reload_flag=$lt_cv_ld_reload_flag
1964 test -n "$reload_flag" && reload_flag=" $reload_flag"
1965
1966 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1967 echo "configure:1968: checking for BSD-compatible nm" >&5
1968 if eval "test \"`echo '$''{'lt_cv_path_NM'+set}'`\" = set"; then
1969   echo $ac_n "(cached) $ac_c" 1>&6
1970 else
1971   if test -n "$NM"; then
1972   # Let the user override the test.
1973   lt_cv_path_NM="$NM"
1974 else
1975   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1976   for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1977     test -z "$ac_dir" && ac_dir=.
1978     tmp_nm=$ac_dir/${ac_tool_prefix}nm
1979     if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
1980       # Check to see if the nm accepts a BSD-compat flag.
1981       # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1982       #   nm: unknown option "B" ignored
1983       # Tru64's nm complains that /dev/null is an invalid object file
1984       if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
1985         lt_cv_path_NM="$tmp_nm -B"
1986         break
1987       elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1988         lt_cv_path_NM="$tmp_nm -p"
1989         break
1990       else
1991         lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
1992         continue # so that we can try to find one that supports BSD flags
1993       fi
1994     fi
1995   done
1996   IFS="$ac_save_ifs"
1997   test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
1998 fi
1999 fi
2000
2001 NM="$lt_cv_path_NM"
2002 echo "$ac_t""$NM" 1>&6
2003
2004 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
2005 echo "configure:2006: checking whether ln -s works" >&5
2006 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
2007   echo $ac_n "(cached) $ac_c" 1>&6
2008 else
2009   rm -f conftestdata
2010 if ln -s X conftestdata 2>/dev/null
2011 then
2012   rm -f conftestdata
2013   ac_cv_prog_LN_S="ln -s"
2014 else
2015   ac_cv_prog_LN_S=ln
2016 fi
2017 fi
2018 LN_S="$ac_cv_prog_LN_S"
2019 if test "$ac_cv_prog_LN_S" = "ln -s"; then
2020   echo "$ac_t""yes" 1>&6
2021 else
2022   echo "$ac_t""no" 1>&6
2023 fi
2024
2025 echo $ac_n "checking how to recognise dependant libraries""... $ac_c" 1>&6
2026 echo "configure:2027: checking how to recognise dependant libraries" >&5
2027 if eval "test \"`echo '$''{'lt_cv_deplibs_check_method'+set}'`\" = set"; then
2028   echo $ac_n "(cached) $ac_c" 1>&6
2029 else
2030   lt_cv_file_magic_cmd='$MAGIC_CMD'
2031 lt_cv_file_magic_test_file=
2032 lt_cv_deplibs_check_method='unknown'
2033 # Need to set the preceding variable on all platforms that support
2034 # interlibrary dependencies.
2035 # 'none' -- dependencies not supported.
2036 # `unknown' -- same as none, but documents that we really don't know.
2037 # 'pass_all' -- all dependencies passed with no checks.
2038 # 'test_compile' -- check by making test program.
2039 # 'file_magic [regex]' -- check by looking for files in library path
2040 # which responds to the $file_magic_cmd with a given egrep regex.
2041 # If you have `file' or equivalent on your system and you're not sure
2042 # whether `pass_all' will *always* work, you probably want this one.
2043
2044 case $host_os in
2045 aix*)
2046   lt_cv_deplibs_check_method=pass_all
2047   ;;
2048
2049 beos*)
2050   lt_cv_deplibs_check_method=pass_all
2051   ;;
2052
2053 bsdi4*)
2054   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
2055   lt_cv_file_magic_cmd='/usr/bin/file -L'
2056   lt_cv_file_magic_test_file=/shlib/libc.so
2057   ;;
2058
2059 cygwin* | mingw* |pw32*)
2060   lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
2061   lt_cv_file_magic_cmd='$OBJDUMP -f'
2062   ;;
2063
2064 darwin* | rhapsody*)
2065   lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
2066   lt_cv_file_magic_cmd='/usr/bin/file -L'
2067   case "$host_os" in
2068   rhapsody* | darwin1.012)
2069     lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
2070     ;;
2071   *) # Darwin 1.3 on
2072     lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
2073     ;;
2074   esac
2075   ;;
2076
2077 freebsd* )
2078   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2079     case $host_cpu in
2080     i*86 )
2081       # Not sure whether the presence of OpenBSD here was a mistake.
2082       # Let's accept both of them until this is cleared up.
2083       lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
2084       lt_cv_file_magic_cmd=/usr/bin/file
2085       lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
2086       ;;
2087     esac
2088   else
2089     lt_cv_deplibs_check_method=pass_all
2090   fi
2091   ;;
2092
2093 gnu*)
2094   lt_cv_deplibs_check_method=pass_all
2095   ;;
2096
2097 hpux10.20*|hpux11*)
2098   case $host_cpu in
2099   hppa*)
2100     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
2101     lt_cv_file_magic_cmd=/usr/bin/file
2102     lt_cv_file_magic_test_file=/usr/lib/libc.sl
2103     ;;
2104   ia64*)
2105     lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
2106     lt_cv_file_magic_cmd=/usr/bin/file
2107     lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
2108     ;;
2109   esac
2110   ;;
2111
2112 irix5* | irix6*)
2113   case $host_os in
2114   irix5*)
2115     # this will be overridden with pass_all, but let us keep it just in case
2116     lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
2117     ;;
2118   *)
2119     case $LD in
2120     *-32|*"-32 ") libmagic=32-bit;;
2121     *-n32|*"-n32 ") libmagic=N32;;
2122     *-64|*"-64 ") libmagic=64-bit;;
2123     *) libmagic=never-match;;
2124     esac
2125     # this will be overridden with pass_all, but let us keep it just in case
2126     lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
2127     ;;
2128   esac
2129   lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
2130   lt_cv_deplibs_check_method=pass_all
2131   ;;
2132
2133 # This must be Linux ELF.
2134 linux-gnu*)
2135   case $host_cpu in
2136   alpha* | hppa* | i*86 | powerpc* | sparc* | ia64* )
2137     lt_cv_deplibs_check_method=pass_all ;;
2138   *)
2139     # glibc up to 2.1.1 does not perform some relocations on ARM
2140     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
2141   esac
2142   lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
2143   ;;
2144
2145 netbsd*)
2146   if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
2147     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
2148   else
2149     lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
2150   fi
2151   ;;
2152
2153 newsos6)
2154   lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
2155   lt_cv_file_magic_cmd=/usr/bin/file
2156   lt_cv_file_magic_test_file=/usr/lib/libnls.so
2157   ;;
2158
2159 osf3* | osf4* | osf5*)
2160   # this will be overridden with pass_all, but let us keep it just in case
2161   lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
2162   lt_cv_file_magic_test_file=/shlib/libc.so
2163   lt_cv_deplibs_check_method=pass_all
2164   ;;
2165
2166 sco3.2v5*)
2167   lt_cv_deplibs_check_method=pass_all
2168   ;;
2169
2170 solaris*)
2171   lt_cv_deplibs_check_method=pass_all
2172   lt_cv_file_magic_test_file=/lib/libc.so
2173   ;;
2174
2175 sysv5uw[78]* | sysv4*uw2*)
2176   lt_cv_deplibs_check_method=pass_all
2177   ;;
2178
2179 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
2180   case $host_vendor in
2181   ncr)
2182     lt_cv_deplibs_check_method=pass_all
2183     ;;
2184   motorola)
2185     lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
2186     lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
2187     ;;
2188   esac
2189   ;;
2190 esac
2191
2192 fi
2193
2194 echo "$ac_t""$lt_cv_deplibs_check_method" 1>&6
2195 file_magic_cmd=$lt_cv_file_magic_cmd
2196 deplibs_check_method=$lt_cv_deplibs_check_method
2197
2198 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
2199 echo "configure:2200: checking for object suffix" >&5
2200 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
2201   echo $ac_n "(cached) $ac_c" 1>&6
2202 else
2203   rm -f conftest*
2204 echo 'int i = 1;' > conftest.$ac_ext
2205 if { (eval echo configure:2206: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2206   for ac_file in conftest.*; do
2207     case $ac_file in
2208     *.c) ;;
2209     *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
2210     esac
2211   done
2212 else
2213   { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
2214 fi
2215 rm -f conftest*
2216 fi
2217
2218 echo "$ac_t""$ac_cv_objext" 1>&6
2219 OBJEXT=$ac_cv_objext
2220 ac_objext=$ac_cv_objext
2221
2222 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
2223
2224 # Only perform the check for file, if the check method requires it
2225 case $deplibs_check_method in
2226 file_magic*)
2227   if test "$file_magic_cmd" = '$MAGIC_CMD'; then
2228     echo $ac_n "checking for ${ac_tool_prefix}file""... $ac_c" 1>&6
2229 echo "configure:2230: checking for ${ac_tool_prefix}file" >&5
2230 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2231   echo $ac_n "(cached) $ac_c" 1>&6
2232 else
2233   case $MAGIC_CMD in
2234   /*)
2235   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2236   ;;
2237   ?:/*)
2238   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2239   ;;
2240   *)
2241   ac_save_MAGIC_CMD="$MAGIC_CMD"
2242   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2243   ac_dummy="/usr/bin:$PATH"
2244   for ac_dir in $ac_dummy; do
2245     test -z "$ac_dir" && ac_dir=.
2246     if test -f $ac_dir/${ac_tool_prefix}file; then
2247       lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
2248       if test -n "$file_magic_test_file"; then
2249         case $deplibs_check_method in
2250         "file_magic "*)
2251           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2252           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2253           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2254             egrep "$file_magic_regex" > /dev/null; then
2255             :
2256           else
2257             cat <<EOF 1>&2
2258
2259 *** Warning: the command libtool uses to detect shared libraries,
2260 *** $file_magic_cmd, produces output that libtool cannot recognize.
2261 *** The result is that libtool may fail to recognize shared libraries
2262 *** as such.  This will affect the creation of libtool libraries that
2263 *** depend on shared libraries, but programs linked with such libtool
2264 *** libraries will work regardless of this problem.  Nevertheless, you
2265 *** may want to report the problem to your system manager and/or to
2266 *** bug-libtool@gnu.org
2267
2268 EOF
2269           fi ;;
2270         esac
2271       fi
2272       break
2273     fi
2274   done
2275   IFS="$ac_save_ifs"
2276   MAGIC_CMD="$ac_save_MAGIC_CMD"
2277   ;;
2278 esac
2279 fi
2280
2281 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2282 if test -n "$MAGIC_CMD"; then
2283   echo "$ac_t""$MAGIC_CMD" 1>&6
2284 else
2285   echo "$ac_t""no" 1>&6
2286 fi
2287
2288 if test -z "$lt_cv_path_MAGIC_CMD"; then
2289   if test -n "$ac_tool_prefix"; then
2290     echo $ac_n "checking for file""... $ac_c" 1>&6
2291 echo "configure:2292: checking for file" >&5
2292 if eval "test \"`echo '$''{'lt_cv_path_MAGIC_CMD'+set}'`\" = set"; then
2293   echo $ac_n "(cached) $ac_c" 1>&6
2294 else
2295   case $MAGIC_CMD in
2296   /*)
2297   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
2298   ;;
2299   ?:/*)
2300   lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
2301   ;;
2302   *)
2303   ac_save_MAGIC_CMD="$MAGIC_CMD"
2304   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2305   ac_dummy="/usr/bin:$PATH"
2306   for ac_dir in $ac_dummy; do
2307     test -z "$ac_dir" && ac_dir=.
2308     if test -f $ac_dir/file; then
2309       lt_cv_path_MAGIC_CMD="$ac_dir/file"
2310       if test -n "$file_magic_test_file"; then
2311         case $deplibs_check_method in
2312         "file_magic "*)
2313           file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
2314           MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2315           if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
2316             egrep "$file_magic_regex" > /dev/null; then
2317             :
2318           else
2319             cat <<EOF 1>&2
2320
2321 *** Warning: the command libtool uses to detect shared libraries,
2322 *** $file_magic_cmd, produces output that libtool cannot recognize.
2323 *** The result is that libtool may fail to recognize shared libraries
2324 *** as such.  This will affect the creation of libtool libraries that
2325 *** depend on shared libraries, but programs linked with such libtool
2326 *** libraries will work regardless of this problem.  Nevertheless, you
2327 *** may want to report the problem to your system manager and/or to
2328 *** bug-libtool@gnu.org
2329
2330 EOF
2331           fi ;;
2332         esac
2333       fi
2334       break
2335     fi
2336   done
2337   IFS="$ac_save_ifs"
2338   MAGIC_CMD="$ac_save_MAGIC_CMD"
2339   ;;
2340 esac
2341 fi
2342
2343 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
2344 if test -n "$MAGIC_CMD"; then
2345   echo "$ac_t""$MAGIC_CMD" 1>&6
2346 else
2347   echo "$ac_t""no" 1>&6
2348 fi
2349
2350   else
2351     MAGIC_CMD=:
2352   fi
2353 fi
2354
2355   fi
2356   ;;
2357 esac
2358
2359 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2360 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2361 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2362 echo "configure:2363: checking for $ac_word" >&5
2363 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2364   echo $ac_n "(cached) $ac_c" 1>&6
2365 else
2366   if test -n "$RANLIB"; then
2367   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2368 else
2369   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2370   ac_dummy="$PATH"
2371   for ac_dir in $ac_dummy; do
2372     test -z "$ac_dir" && ac_dir=.
2373     if test -f $ac_dir/$ac_word; then
2374       ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
2375       break
2376     fi
2377   done
2378   IFS="$ac_save_ifs"
2379 fi
2380 fi
2381 RANLIB="$ac_cv_prog_RANLIB"
2382 if test -n "$RANLIB"; then
2383   echo "$ac_t""$RANLIB" 1>&6
2384 else
2385   echo "$ac_t""no" 1>&6
2386 fi
2387
2388
2389 if test -z "$ac_cv_prog_RANLIB"; then
2390 if test -n "$ac_tool_prefix"; then
2391   # Extract the first word of "ranlib", so it can be a program name with args.
2392 set dummy ranlib; ac_word=$2
2393 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2394 echo "configure:2395: checking for $ac_word" >&5
2395 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
2396   echo $ac_n "(cached) $ac_c" 1>&6
2397 else
2398   if test -n "$RANLIB"; then
2399   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
2400 else
2401   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2402   ac_dummy="$PATH"
2403   for ac_dir in $ac_dummy; do
2404     test -z "$ac_dir" && ac_dir=.
2405     if test -f $ac_dir/$ac_word; then
2406       ac_cv_prog_RANLIB="ranlib"
2407       break
2408     fi
2409   done
2410   IFS="$ac_save_ifs"
2411   test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
2412 fi
2413 fi
2414 RANLIB="$ac_cv_prog_RANLIB"
2415 if test -n "$RANLIB"; then
2416   echo "$ac_t""$RANLIB" 1>&6
2417 else
2418   echo "$ac_t""no" 1>&6
2419 fi
2420
2421 else
2422   RANLIB=":"
2423 fi
2424 fi
2425
2426 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2427 set dummy ${ac_tool_prefix}strip; ac_word=$2
2428 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2429 echo "configure:2430: checking for $ac_word" >&5
2430 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2431   echo $ac_n "(cached) $ac_c" 1>&6
2432 else
2433   if test -n "$STRIP"; then
2434   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2435 else
2436   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2437   ac_dummy="$PATH"
2438   for ac_dir in $ac_dummy; do
2439     test -z "$ac_dir" && ac_dir=.
2440     if test -f $ac_dir/$ac_word; then
2441       ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2442       break
2443     fi
2444   done
2445   IFS="$ac_save_ifs"
2446 fi
2447 fi
2448 STRIP="$ac_cv_prog_STRIP"
2449 if test -n "$STRIP"; then
2450   echo "$ac_t""$STRIP" 1>&6
2451 else
2452   echo "$ac_t""no" 1>&6
2453 fi
2454
2455
2456 if test -z "$ac_cv_prog_STRIP"; then
2457 if test -n "$ac_tool_prefix"; then
2458   # Extract the first word of "strip", so it can be a program name with args.
2459 set dummy strip; ac_word=$2
2460 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2461 echo "configure:2462: checking for $ac_word" >&5
2462 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
2463   echo $ac_n "(cached) $ac_c" 1>&6
2464 else
2465   if test -n "$STRIP"; then
2466   ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2467 else
2468   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2469   ac_dummy="$PATH"
2470   for ac_dir in $ac_dummy; do
2471     test -z "$ac_dir" && ac_dir=.
2472     if test -f $ac_dir/$ac_word; then
2473       ac_cv_prog_STRIP="strip"
2474       break
2475     fi
2476   done
2477   IFS="$ac_save_ifs"
2478   test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
2479 fi
2480 fi
2481 STRIP="$ac_cv_prog_STRIP"
2482 if test -n "$STRIP"; then
2483   echo "$ac_t""$STRIP" 1>&6
2484 else
2485   echo "$ac_t""no" 1>&6
2486 fi
2487
2488 else
2489   STRIP=":"
2490 fi
2491 fi
2492
2493
2494 # Check for any special flags to pass to ltconfig.
2495 libtool_flags="--cache-file=$cache_file"
2496 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
2497 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
2498 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
2499 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
2500 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
2501
2502 libtool_flags="$libtool_flags --enable-win32-dll"
2503 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
2504 if test "${enable_libtool_lock+set}" = set; then
2505   enableval="$enable_libtool_lock"
2506   :
2507 fi
2508
2509 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
2510 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
2511
2512 # Check whether --with-pic or --without-pic was given.
2513 if test "${with_pic+set}" = set; then
2514   withval="$with_pic"
2515   pic_mode="$withval"
2516 else
2517   pic_mode=default
2518 fi
2519
2520 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
2521 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
2522
2523 # Some flags need to be propagated to the compiler or linker for good
2524 # libtool support.
2525 case $host in
2526 *-*-irix6*)
2527   # Find out which ABI we are using.
2528   echo '#line 2529 "configure"' > conftest.$ac_ext
2529   if { (eval echo configure:2530: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2530     case `/usr/bin/file conftest.$ac_objext` in
2531     *32-bit*)
2532       LD="${LD-ld} -32"
2533       ;;
2534     *N32*)
2535       LD="${LD-ld} -n32"
2536       ;;
2537     *64-bit*)
2538       LD="${LD-ld} -64"
2539       ;;
2540     esac
2541   fi
2542   rm -rf conftest*
2543   ;;
2544
2545 ia64-*-hpux*)
2546   # Find out which ABI we are using.
2547   echo 'int i;' > conftest.$ac_ext
2548   if { (eval echo configure:2549: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2549     case "`/usr/bin/file conftest.o`" in
2550     *ELF-32*)
2551       HPUX_IA64_MODE="32"
2552       ;;
2553     *ELF-64*)
2554       HPUX_IA64_MODE="64"
2555       ;;
2556     esac
2557   fi
2558   rm -rf conftest*
2559   ;;
2560
2561 *-*-sco3.2v5*)
2562   # On SCO OpenServer 5, we need -belf to get full-featured binaries.
2563   SAVE_CFLAGS="$CFLAGS"
2564   CFLAGS="$CFLAGS -belf"
2565   echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
2566 echo "configure:2567: checking whether the C compiler needs -belf" >&5
2567 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
2568   echo $ac_n "(cached) $ac_c" 1>&6
2569 else
2570   
2571      ac_ext=c
2572 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2573 ac_cpp='$CPP $CPPFLAGS'
2574 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2575 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2576 cross_compiling=$ac_cv_prog_cc_cross
2577
2578      cat > conftest.$ac_ext <<EOF
2579 #line 2580 "configure"
2580 #include "confdefs.h"
2581
2582 int main() {
2583
2584 ; return 0; }
2585 EOF
2586 if { (eval echo configure:2587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2587   rm -rf conftest*
2588   lt_cv_cc_needs_belf=yes
2589 else
2590   echo "configure: failed program was:" >&5
2591   cat conftest.$ac_ext >&5
2592   rm -rf conftest*
2593   lt_cv_cc_needs_belf=no
2594 fi
2595 rm -f conftest*
2596      ac_ext=c
2597 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2598 ac_cpp='$CPP $CPPFLAGS'
2599 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2600 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2601 cross_compiling=$ac_cv_prog_cc_cross
2602
2603 fi
2604
2605 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
2606   if test x"$lt_cv_cc_needs_belf" != x"yes"; then
2607     # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
2608     CFLAGS="$SAVE_CFLAGS"
2609   fi
2610   ;;
2611
2612 *-*-cygwin* | *-*-mingw* | *-*-pw32*)
2613   # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
2614 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
2615 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2616 echo "configure:2617: checking for $ac_word" >&5
2617 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2618   echo $ac_n "(cached) $ac_c" 1>&6
2619 else
2620   if test -n "$DLLTOOL"; then
2621   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2622 else
2623   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2624   ac_dummy="$PATH"
2625   for ac_dir in $ac_dummy; do
2626     test -z "$ac_dir" && ac_dir=.
2627     if test -f $ac_dir/$ac_word; then
2628       ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
2629       break
2630     fi
2631   done
2632   IFS="$ac_save_ifs"
2633 fi
2634 fi
2635 DLLTOOL="$ac_cv_prog_DLLTOOL"
2636 if test -n "$DLLTOOL"; then
2637   echo "$ac_t""$DLLTOOL" 1>&6
2638 else
2639   echo "$ac_t""no" 1>&6
2640 fi
2641
2642
2643 if test -z "$ac_cv_prog_DLLTOOL"; then
2644 if test -n "$ac_tool_prefix"; then
2645   # Extract the first word of "dlltool", so it can be a program name with args.
2646 set dummy dlltool; ac_word=$2
2647 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2648 echo "configure:2649: checking for $ac_word" >&5
2649 if eval "test \"`echo '$''{'ac_cv_prog_DLLTOOL'+set}'`\" = set"; then
2650   echo $ac_n "(cached) $ac_c" 1>&6
2651 else
2652   if test -n "$DLLTOOL"; then
2653   ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
2654 else
2655   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2656   ac_dummy="$PATH"
2657   for ac_dir in $ac_dummy; do
2658     test -z "$ac_dir" && ac_dir=.
2659     if test -f $ac_dir/$ac_word; then
2660       ac_cv_prog_DLLTOOL="dlltool"
2661       break
2662     fi
2663   done
2664   IFS="$ac_save_ifs"
2665   test -z "$ac_cv_prog_DLLTOOL" && ac_cv_prog_DLLTOOL="false"
2666 fi
2667 fi
2668 DLLTOOL="$ac_cv_prog_DLLTOOL"
2669 if test -n "$DLLTOOL"; then
2670   echo "$ac_t""$DLLTOOL" 1>&6
2671 else
2672   echo "$ac_t""no" 1>&6
2673 fi
2674
2675 else
2676   DLLTOOL="false"
2677 fi
2678 fi
2679
2680   # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
2681 set dummy ${ac_tool_prefix}as; ac_word=$2
2682 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2683 echo "configure:2684: checking for $ac_word" >&5
2684 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2685   echo $ac_n "(cached) $ac_c" 1>&6
2686 else
2687   if test -n "$AS"; then
2688   ac_cv_prog_AS="$AS" # Let the user override the test.
2689 else
2690   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2691   ac_dummy="$PATH"
2692   for ac_dir in $ac_dummy; do
2693     test -z "$ac_dir" && ac_dir=.
2694     if test -f $ac_dir/$ac_word; then
2695       ac_cv_prog_AS="${ac_tool_prefix}as"
2696       break
2697     fi
2698   done
2699   IFS="$ac_save_ifs"
2700 fi
2701 fi
2702 AS="$ac_cv_prog_AS"
2703 if test -n "$AS"; then
2704   echo "$ac_t""$AS" 1>&6
2705 else
2706   echo "$ac_t""no" 1>&6
2707 fi
2708
2709
2710 if test -z "$ac_cv_prog_AS"; then
2711 if test -n "$ac_tool_prefix"; then
2712   # Extract the first word of "as", so it can be a program name with args.
2713 set dummy as; ac_word=$2
2714 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2715 echo "configure:2716: checking for $ac_word" >&5
2716 if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
2717   echo $ac_n "(cached) $ac_c" 1>&6
2718 else
2719   if test -n "$AS"; then
2720   ac_cv_prog_AS="$AS" # Let the user override the test.
2721 else
2722   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2723   ac_dummy="$PATH"
2724   for ac_dir in $ac_dummy; do
2725     test -z "$ac_dir" && ac_dir=.
2726     if test -f $ac_dir/$ac_word; then
2727       ac_cv_prog_AS="as"
2728       break
2729     fi
2730   done
2731   IFS="$ac_save_ifs"
2732   test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="false"
2733 fi
2734 fi
2735 AS="$ac_cv_prog_AS"
2736 if test -n "$AS"; then
2737   echo "$ac_t""$AS" 1>&6
2738 else
2739   echo "$ac_t""no" 1>&6
2740 fi
2741
2742 else
2743   AS="false"
2744 fi
2745 fi
2746
2747   # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
2748 set dummy ${ac_tool_prefix}objdump; ac_word=$2
2749 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2750 echo "configure:2751: checking for $ac_word" >&5
2751 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2752   echo $ac_n "(cached) $ac_c" 1>&6
2753 else
2754   if test -n "$OBJDUMP"; then
2755   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2756 else
2757   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2758   ac_dummy="$PATH"
2759   for ac_dir in $ac_dummy; do
2760     test -z "$ac_dir" && ac_dir=.
2761     if test -f $ac_dir/$ac_word; then
2762       ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
2763       break
2764     fi
2765   done
2766   IFS="$ac_save_ifs"
2767 fi
2768 fi
2769 OBJDUMP="$ac_cv_prog_OBJDUMP"
2770 if test -n "$OBJDUMP"; then
2771   echo "$ac_t""$OBJDUMP" 1>&6
2772 else
2773   echo "$ac_t""no" 1>&6
2774 fi
2775
2776
2777 if test -z "$ac_cv_prog_OBJDUMP"; then
2778 if test -n "$ac_tool_prefix"; then
2779   # Extract the first word of "objdump", so it can be a program name with args.
2780 set dummy objdump; ac_word=$2
2781 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2782 echo "configure:2783: checking for $ac_word" >&5
2783 if eval "test \"`echo '$''{'ac_cv_prog_OBJDUMP'+set}'`\" = set"; then
2784   echo $ac_n "(cached) $ac_c" 1>&6
2785 else
2786   if test -n "$OBJDUMP"; then
2787   ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
2788 else
2789   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
2790   ac_dummy="$PATH"
2791   for ac_dir in $ac_dummy; do
2792     test -z "$ac_dir" && ac_dir=.
2793     if test -f $ac_dir/$ac_word; then
2794       ac_cv_prog_OBJDUMP="objdump"
2795       break
2796     fi
2797   done
2798   IFS="$ac_save_ifs"
2799   test -z "$ac_cv_prog_OBJDUMP" && ac_cv_prog_OBJDUMP="false"
2800 fi
2801 fi
2802 OBJDUMP="$ac_cv_prog_OBJDUMP"
2803 if test -n "$OBJDUMP"; then
2804   echo "$ac_t""$OBJDUMP" 1>&6
2805 else
2806   echo "$ac_t""no" 1>&6
2807 fi
2808
2809 else
2810   OBJDUMP="false"
2811 fi
2812 fi
2813
2814
2815   # recent cygwin and mingw systems supply a stub DllMain which the user
2816   # can override, but on older systems we have to supply one
2817   echo $ac_n "checking if libtool should supply DllMain function""... $ac_c" 1>&6
2818 echo "configure:2819: checking if libtool should supply DllMain function" >&5
2819 if eval "test \"`echo '$''{'lt_cv_need_dllmain'+set}'`\" = set"; then
2820   echo $ac_n "(cached) $ac_c" 1>&6
2821 else
2822   cat > conftest.$ac_ext <<EOF
2823 #line 2824 "configure"
2824 #include "confdefs.h"
2825
2826 int main() {
2827 extern int __attribute__((__stdcall__)) DllMain(void*, int, void*);
2828       DllMain (0, 0, 0);
2829 ; return 0; }
2830 EOF
2831 if { (eval echo configure:2832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2832   rm -rf conftest*
2833   lt_cv_need_dllmain=no
2834 else
2835   echo "configure: failed program was:" >&5
2836   cat conftest.$ac_ext >&5
2837   rm -rf conftest*
2838   lt_cv_need_dllmain=yes
2839 fi
2840 rm -f conftest*
2841 fi
2842
2843 echo "$ac_t""$lt_cv_need_dllmain" 1>&6
2844
2845   case $host/$CC in
2846   *-*-cygwin*/gcc*-mno-cygwin*|*-*-mingw*)
2847     # old mingw systems require "-dll" to link a DLL, while more recent ones
2848     # require "-mdll"
2849     SAVE_CFLAGS="$CFLAGS"
2850     CFLAGS="$CFLAGS -mdll"
2851     echo $ac_n "checking how to link DLLs""... $ac_c" 1>&6
2852 echo "configure:2853: checking how to link DLLs" >&5
2853 if eval "test \"`echo '$''{'lt_cv_cc_dll_switch'+set}'`\" = set"; then
2854   echo $ac_n "(cached) $ac_c" 1>&6
2855 else
2856   cat > conftest.$ac_ext <<EOF
2857 #line 2858 "configure"
2858 #include "confdefs.h"
2859
2860 int main() {
2861
2862 ; return 0; }
2863 EOF
2864 if { (eval echo configure:2865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2865   rm -rf conftest*
2866   lt_cv_cc_dll_switch=-mdll
2867 else
2868   echo "configure: failed program was:" >&5
2869   cat conftest.$ac_ext >&5
2870   rm -rf conftest*
2871   lt_cv_cc_dll_switch=-dll
2872 fi
2873 rm -f conftest*
2874 fi
2875
2876 echo "$ac_t""$lt_cv_cc_dll_switch" 1>&6
2877     CFLAGS="$SAVE_CFLAGS" ;;
2878   *-*-cygwin* | *-*-pw32*)
2879     # cygwin systems need to pass --dll to the linker, and not link
2880     # crt.o which will require a WinMain@16 definition.
2881     lt_cv_cc_dll_switch="-Wl,--dll -nostartfiles" ;;
2882   esac
2883   ;;
2884   
2885 esac
2886
2887
2888 # Save cache, so that ltconfig can load it
2889 cat > confcache <<\EOF
2890 # This file is a shell script that caches the results of configure
2891 # tests run on this system so they can be shared between configure
2892 # scripts and configure runs.  It is not useful on other systems.
2893 # If it contains results you don't want to keep, you may remove or edit it.
2894 #
2895 # By default, configure uses ./config.cache as the cache file,
2896 # creating it if it does not exist already.  You can give configure
2897 # the --cache-file=FILE option to use a different cache file; that is
2898 # what configure does when it calls configure scripts in
2899 # subdirectories, so they share the cache.
2900 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2901 # config.status only pays attention to the cache file if you give it the
2902 # --recheck option to rerun configure.
2903 #
2904 EOF
2905 # The following way of writing the cache mishandles newlines in values,
2906 # but we know of no workaround that is simple, portable, and efficient.
2907 # So, don't put newlines in cache variables' values.
2908 # Ultrix sh set writes to stderr and can't be redirected directly,
2909 # and sets the high bit in the cache file unless we assign to the vars.
2910 (set) 2>&1 |
2911   case `(ac_space=' '; set | grep ac_space) 2>&1` in
2912   *ac_space=\ *)
2913     # `set' does not quote correctly, so add quotes (double-quote substitution
2914     # turns \\\\ into \\, and sed turns \\ into \).
2915     sed -n \
2916       -e "s/'/'\\\\''/g" \
2917       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2918     ;;
2919   *)
2920     # `set' quotes correctly as required by POSIX, so do not add quotes.
2921     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2922     ;;
2923   esac >> confcache
2924 if cmp -s $cache_file confcache; then
2925   :
2926 else
2927   if test -w $cache_file; then
2928     echo "updating cache $cache_file"
2929     cat confcache > $cache_file
2930   else
2931     echo "not updating unwritable cache $cache_file"
2932   fi
2933 fi
2934 rm -f confcache
2935
2936
2937 # Actually configure libtool.  ac_aux_dir is where install-sh is found.
2938 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
2939 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
2940 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
2941 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
2942 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
2943 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
2944 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
2945 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
2946 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
2947
2948 # Reload cache, that may have been modified by ltconfig
2949 if test -r "$cache_file"; then
2950   echo "loading cache $cache_file"
2951   . $cache_file
2952 else
2953   echo "creating cache $cache_file"
2954   > $cache_file
2955 fi
2956
2957
2958 # This can be used to rebuild libtool when needed
2959 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
2960
2961 # Always use our own libtool.
2962 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
2963
2964 # Redirect the config.log output again, so that the ltconfig log is not
2965 # clobbered by the next message.
2966 exec 5>>./config.log
2967
2968   
2969
2970   
2971          
2972          
2973 fi
2974
2975
2976
2977 if test "x$mach_add_setjmp" = 'xtrue'; then
2978   MACH_ADD_SETJMP_TRUE=
2979   MACH_ADD_SETJMP_FALSE='#'
2980 else
2981   MACH_ADD_SETJMP_TRUE='#'
2982   MACH_ADD_SETJMP_FALSE=
2983 fi
2984
2985 trap '' 1 2 15
2986 cat > confcache <<\EOF
2987 # This file is a shell script that caches the results of configure
2988 # tests run on this system so they can be shared between configure
2989 # scripts and configure runs.  It is not useful on other systems.
2990 # If it contains results you don't want to keep, you may remove or edit it.
2991 #
2992 # By default, configure uses ./config.cache as the cache file,
2993 # creating it if it does not exist already.  You can give configure
2994 # the --cache-file=FILE option to use a different cache file; that is
2995 # what configure does when it calls configure scripts in
2996 # subdirectories, so they share the cache.
2997 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2998 # config.status only pays attention to the cache file if you give it the
2999 # --recheck option to rerun configure.
3000 #
3001 EOF
3002 # The following way of writing the cache mishandles newlines in values,
3003 # but we know of no workaround that is simple, portable, and efficient.
3004 # So, don't put newlines in cache variables' values.
3005 # Ultrix sh set writes to stderr and can't be redirected directly,
3006 # and sets the high bit in the cache file unless we assign to the vars.
3007 (set) 2>&1 |
3008   case `(ac_space=' '; set | grep ac_space) 2>&1` in
3009   *ac_space=\ *)
3010     # `set' does not quote correctly, so add quotes (double-quote substitution
3011     # turns \\\\ into \\, and sed turns \\ into \).
3012     sed -n \
3013       -e "s/'/'\\\\''/g" \
3014       -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
3015     ;;
3016   *)
3017     # `set' quotes correctly as required by POSIX, so do not add quotes.
3018     sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
3019     ;;
3020   esac >> confcache
3021 if cmp -s $cache_file confcache; then
3022   :
3023 else
3024   if test -w $cache_file; then
3025     echo "updating cache $cache_file"
3026     cat confcache > $cache_file
3027   else
3028     echo "not updating unwritable cache $cache_file"
3029   fi
3030 fi
3031 rm -f confcache
3032
3033 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
3034
3035 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3036 # Let make expand exec_prefix.
3037 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3038
3039 # Any assignment to VPATH causes Sun make to only execute
3040 # the first set of double-colon rules, so remove it if not needed.
3041 # If there is a colon in the path, we need to keep it.
3042 if test "x$srcdir" = x.; then
3043   ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
3044 fi
3045
3046 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
3047
3048 # Transform confdefs.h into DEFS.
3049 # Protect against shell expansion while executing Makefile rules.
3050 # Protect against Makefile macro expansion.
3051 cat > conftest.defs <<\EOF
3052 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
3053 s%[     `~#$^&*(){}\\|;'"<>?]%\\&%g
3054 s%\[%\\&%g
3055 s%\]%\\&%g
3056 s%\$%$$%g
3057 EOF
3058 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
3059 rm -f conftest.defs
3060
3061
3062 # Without the "./", some shells look in PATH for config.status.
3063 : ${CONFIG_STATUS=./config.status}
3064
3065 echo creating $CONFIG_STATUS
3066 rm -f $CONFIG_STATUS
3067 cat > $CONFIG_STATUS <<EOF
3068 #! /bin/sh
3069 # Generated automatically by configure.
3070 # Run this file to recreate the current configuration.
3071 # This directory was configured as follows,
3072 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
3073 #
3074 # $0 $ac_configure_args
3075 #
3076 # Compiler output produced by configure, useful for debugging
3077 # configure, is in ./config.log if it exists.
3078
3079 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
3080 for ac_option
3081 do
3082   case "\$ac_option" in
3083   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3084     echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
3085     exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
3086   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
3087     echo "$CONFIG_STATUS generated by autoconf version 2.13"
3088     exit 0 ;;
3089   -help | --help | --hel | --he | --h)
3090     echo "\$ac_cs_usage"; exit 0 ;;
3091   *) echo "\$ac_cs_usage"; exit 1 ;;
3092   esac
3093 done
3094
3095 ac_given_srcdir=$srcdir
3096 ac_given_INSTALL="$INSTALL"
3097
3098 trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
3099 EOF
3100 cat >> $CONFIG_STATUS <<EOF
3101
3102 # Protect against being on the right side of a sed subst in config.status.
3103 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
3104  s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
3105 $ac_vpsub
3106 $extrasub
3107 s%@SHELL@%$SHELL%g
3108 s%@CFLAGS@%$CFLAGS%g
3109 s%@CPPFLAGS@%$CPPFLAGS%g
3110 s%@CXXFLAGS@%$CXXFLAGS%g
3111 s%@FFLAGS@%$FFLAGS%g
3112 s%@DEFS@%$DEFS%g
3113 s%@LDFLAGS@%$LDFLAGS%g
3114 s%@LIBS@%$LIBS%g
3115 s%@exec_prefix@%$exec_prefix%g
3116 s%@prefix@%$prefix%g
3117 s%@program_transform_name@%$program_transform_name%g
3118 s%@bindir@%$bindir%g
3119 s%@sbindir@%$sbindir%g
3120 s%@libexecdir@%$libexecdir%g
3121 s%@datadir@%$datadir%g
3122 s%@sysconfdir@%$sysconfdir%g
3123 s%@sharedstatedir@%$sharedstatedir%g
3124 s%@localstatedir@%$localstatedir%g
3125 s%@libdir@%$libdir%g
3126 s%@includedir@%$includedir%g
3127 s%@oldincludedir@%$oldincludedir%g
3128 s%@infodir@%$infodir%g
3129 s%@mandir@%$mandir%g
3130 s%@MAY_SUPPLY_SYSCALLS_TRUE@%$MAY_SUPPLY_SYSCALLS_TRUE%g
3131 s%@MAY_SUPPLY_SYSCALLS_FALSE@%$MAY_SUPPLY_SYSCALLS_FALSE%g
3132 s%@newlib_basedir@%$newlib_basedir%g
3133 s%@host@%$host%g
3134 s%@host_alias@%$host_alias%g
3135 s%@host_cpu@%$host_cpu%g
3136 s%@host_vendor@%$host_vendor%g
3137 s%@host_os@%$host_os%g
3138 s%@target@%$target%g
3139 s%@target_alias@%$target_alias%g
3140 s%@target_cpu@%$target_cpu%g
3141 s%@target_vendor@%$target_vendor%g
3142 s%@target_os@%$target_os%g
3143 s%@build@%$build%g
3144 s%@build_alias@%$build_alias%g
3145 s%@build_cpu@%$build_cpu%g
3146 s%@build_vendor@%$build_vendor%g
3147 s%@build_os@%$build_os%g
3148 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3149 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3150 s%@INSTALL_DATA@%$INSTALL_DATA%g
3151 s%@PACKAGE@%$PACKAGE%g
3152 s%@VERSION@%$VERSION%g
3153 s%@ACLOCAL@%$ACLOCAL%g
3154 s%@AUTOCONF@%$AUTOCONF%g
3155 s%@AUTOMAKE@%$AUTOMAKE%g
3156 s%@AUTOHEADER@%$AUTOHEADER%g
3157 s%@MAKEINFO@%$MAKEINFO%g
3158 s%@SET_MAKE@%$SET_MAKE%g
3159 s%@CC@%$CC%g
3160 s%@AS@%$AS%g
3161 s%@AR@%$AR%g
3162 s%@RANLIB@%$RANLIB%g
3163 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
3164 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
3165 s%@MAINT@%$MAINT%g
3166 s%@EXEEXT@%$EXEEXT%g
3167 s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g
3168 s%@ELIX_LEVEL_0_TRUE@%$ELIX_LEVEL_0_TRUE%g
3169 s%@ELIX_LEVEL_0_FALSE@%$ELIX_LEVEL_0_FALSE%g
3170 s%@ELIX_LEVEL_1_TRUE@%$ELIX_LEVEL_1_TRUE%g
3171 s%@ELIX_LEVEL_1_FALSE@%$ELIX_LEVEL_1_FALSE%g
3172 s%@ELIX_LEVEL_2_TRUE@%$ELIX_LEVEL_2_TRUE%g
3173 s%@ELIX_LEVEL_2_FALSE@%$ELIX_LEVEL_2_FALSE%g
3174 s%@ELIX_LEVEL_3_TRUE@%$ELIX_LEVEL_3_TRUE%g
3175 s%@ELIX_LEVEL_3_FALSE@%$ELIX_LEVEL_3_FALSE%g
3176 s%@ELIX_LEVEL_4_TRUE@%$ELIX_LEVEL_4_TRUE%g
3177 s%@ELIX_LEVEL_4_FALSE@%$ELIX_LEVEL_4_FALSE%g
3178 s%@USE_LIBTOOL_TRUE@%$USE_LIBTOOL_TRUE%g
3179 s%@USE_LIBTOOL_FALSE@%$USE_LIBTOOL_FALSE%g
3180 s%@OBJEXT@%$OBJEXT%g
3181 s%@oext@%$oext%g
3182 s%@aext@%$aext%g
3183 s%@libm_machine_dir@%$libm_machine_dir%g
3184 s%@machine_dir@%$machine_dir%g
3185 s%@sys_dir@%$sys_dir%g
3186 s%@LN_S@%$LN_S%g
3187 s%@STRIP@%$STRIP%g
3188 s%@DLLTOOL@%$DLLTOOL%g
3189 s%@OBJDUMP@%$OBJDUMP%g
3190 s%@LIBTOOL@%$LIBTOOL%g
3191 s%@MACH_ADD_SETJMP_TRUE@%$MACH_ADD_SETJMP_TRUE%g
3192 s%@MACH_ADD_SETJMP_FALSE@%$MACH_ADD_SETJMP_FALSE%g
3193
3194 CEOF
3195 EOF
3196
3197 cat >> $CONFIG_STATUS <<\EOF
3198
3199 # Split the substitutions into bite-sized pieces for seds with
3200 # small command number limits, like on Digital OSF/1 and HP-UX.
3201 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3202 ac_file=1 # Number of current file.
3203 ac_beg=1 # First line for current file.
3204 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3205 ac_more_lines=:
3206 ac_sed_cmds=""
3207 while $ac_more_lines; do
3208   if test $ac_beg -gt 1; then
3209     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3210   else
3211     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3212   fi
3213   if test ! -s conftest.s$ac_file; then
3214     ac_more_lines=false
3215     rm -f conftest.s$ac_file
3216   else
3217     if test -z "$ac_sed_cmds"; then
3218       ac_sed_cmds="sed -f conftest.s$ac_file"
3219     else
3220       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3221     fi
3222     ac_file=`expr $ac_file + 1`
3223     ac_beg=$ac_end
3224     ac_end=`expr $ac_end + $ac_max_sed_cmds`
3225   fi
3226 done
3227 if test -z "$ac_sed_cmds"; then
3228   ac_sed_cmds=cat
3229 fi
3230 EOF
3231
3232 cat >> $CONFIG_STATUS <<EOF
3233
3234 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
3235 EOF
3236 cat >> $CONFIG_STATUS <<\EOF
3237 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3238   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3239   case "$ac_file" in
3240   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3241        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3242   *) ac_file_in="${ac_file}.in" ;;
3243   esac
3244
3245   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3246
3247   # Remove last slash and all that follows it.  Not all systems have dirname.
3248   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3249   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3250     # The file is in a subdirectory.
3251     test ! -d "$ac_dir" && mkdir "$ac_dir"
3252     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3253     # A "../" for each directory in $ac_dir_suffix.
3254     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3255   else
3256     ac_dir_suffix= ac_dots=
3257   fi
3258
3259   case "$ac_given_srcdir" in
3260   .)  srcdir=.
3261       if test -z "$ac_dots"; then top_srcdir=.
3262       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3263   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3264   *) # Relative path.
3265     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3266     top_srcdir="$ac_dots$ac_given_srcdir" ;;
3267   esac
3268
3269   case "$ac_given_INSTALL" in
3270   [/$]*) INSTALL="$ac_given_INSTALL" ;;
3271   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3272   esac
3273
3274   echo creating "$ac_file"
3275   rm -f "$ac_file"
3276   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3277   case "$ac_file" in
3278   *Makefile*) ac_comsub="1i\\
3279 # $configure_input" ;;
3280   *) ac_comsub= ;;
3281   esac
3282
3283   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3284   sed -e "$ac_comsub
3285 s%@configure_input@%$configure_input%g
3286 s%@srcdir@%$srcdir%g
3287 s%@top_srcdir@%$top_srcdir%g
3288 s%@INSTALL@%$INSTALL%g
3289 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3290 fi; done
3291 rm -f conftest.s*
3292
3293 EOF
3294 cat >> $CONFIG_STATUS <<EOF
3295
3296 EOF
3297 cat >> $CONFIG_STATUS <<\EOF
3298
3299 exit 0
3300 EOF
3301 chmod +x $CONFIG_STATUS
3302 rm -fr confdefs* $ac_clean_files
3303 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3304