]> sourceware.org Git - newlib-cygwin.git/blame - newlib/libc/sys/sun4/configure
2001-12-13 Anita Kulkarni <anitak@kpit.com>
[newlib-cygwin.git] / newlib / libc / sys / sun4 / configure
CommitLineData
8a0efa53
CF
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:
11ac_help=
12ac_default_prefix=/usr/local
13# Any additions from configure.in:
14ac_help="$ac_help
15 --enable-multilib build many library versions (default)"
16ac_help="$ac_help
17 --enable-target-optspace optimize for space"
3ac6f3a7
JJ
18ac_help="$ac_help
19 --enable-malloc-debugging indicate malloc debugging requested"
8a0efa53
CF
20ac_help="$ac_help
21 --enable-newlib-mb enable multibyte support"
22ac_help="$ac_help
23 --enable-maintainer-mode enable make rules and dependencies not useful
24 (and sometimes confusing) to the casual installer"
25
26# Initialize some variables set by options.
27# The variables have the same names as the options, with
28# dashes changed to underlines.
29build=NONE
30cache_file=./config.cache
31exec_prefix=NONE
32host=NONE
33no_create=
34nonopt=NONE
35no_recursion=
36prefix=NONE
37program_prefix=NONE
38program_suffix=NONE
39program_transform_name=s,x,x,
40silent=
41site=
42sitefile=
43srcdir=
44target=NONE
45verbose=
46x_includes=NONE
47x_libraries=NONE
48bindir='${exec_prefix}/bin'
49sbindir='${exec_prefix}/sbin'
50libexecdir='${exec_prefix}/libexec'
51datadir='${prefix}/share'
52sysconfdir='${prefix}/etc'
53sharedstatedir='${prefix}/com'
54localstatedir='${prefix}/var'
55libdir='${exec_prefix}/lib'
56includedir='${prefix}/include'
57oldincludedir='/usr/include'
58infodir='${prefix}/info'
59mandir='${prefix}/man'
60
61# Initialize some other variables.
62subdirs=
63MFLAGS= MAKEFLAGS=
64SHELL=${CONFIG_SHELL-/bin/sh}
65# Maximum number of lines to put in a shell here document.
66ac_max_here_lines=12
67
68ac_prev=
69for ac_option
70do
71
72 # If the previous option needs an argument, assign it.
73 if test -n "$ac_prev"; then
74 eval "$ac_prev=\$ac_option"
75 ac_prev=
76 continue
77 fi
78
79 case "$ac_option" in
80 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
81 *) ac_optarg= ;;
82 esac
83
84 # Accept the important Cygnus configure options, so we can diagnose typos.
85
86 case "$ac_option" in
87
88 -bindir | --bindir | --bindi | --bind | --bin | --bi)
89 ac_prev=bindir ;;
90 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
91 bindir="$ac_optarg" ;;
92
93 -build | --build | --buil | --bui | --bu)
94 ac_prev=build ;;
95 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
96 build="$ac_optarg" ;;
97
98 -cache-file | --cache-file | --cache-fil | --cache-fi \
99 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
100 ac_prev=cache_file ;;
101 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
102 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
103 cache_file="$ac_optarg" ;;
104
105 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
106 ac_prev=datadir ;;
107 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
108 | --da=*)
109 datadir="$ac_optarg" ;;
110
111 -disable-* | --disable-*)
112 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
113 # Reject names that are not valid shell variable names.
114 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
115 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
116 fi
117 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
118 eval "enable_${ac_feature}=no" ;;
119
120 -enable-* | --enable-*)
121 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
122 # Reject names that are not valid shell variable names.
123 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
124 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
125 fi
126 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
127 case "$ac_option" in
128 *=*) ;;
129 *) ac_optarg=yes ;;
130 esac
131 eval "enable_${ac_feature}='$ac_optarg'" ;;
132
133 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
134 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
135 | --exec | --exe | --ex)
136 ac_prev=exec_prefix ;;
137 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
138 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
139 | --exec=* | --exe=* | --ex=*)
140 exec_prefix="$ac_optarg" ;;
141
142 -gas | --gas | --ga | --g)
143 # Obsolete; use --with-gas.
144 with_gas=yes ;;
145
146 -help | --help | --hel | --he)
147 # Omit some internal or obsolete options to make the list less imposing.
148 # This message is too long to be a string in the A/UX 3.1 sh.
149 cat << EOF
150Usage: configure [options] [host]
151Options: [defaults in brackets after descriptions]
152Configuration:
153 --cache-file=FILE cache test results in FILE
154 --help print this message
155 --no-create do not create output files
156 --quiet, --silent do not print \`checking...' messages
157 --site-file=FILE use FILE as the site file
158 --version print the version of autoconf that created configure
159Directory and file names:
160 --prefix=PREFIX install architecture-independent files in PREFIX
161 [$ac_default_prefix]
162 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
163 [same as prefix]
164 --bindir=DIR user executables in DIR [EPREFIX/bin]
165 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
166 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
167 --datadir=DIR read-only architecture-independent data in DIR
168 [PREFIX/share]
169 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
170 --sharedstatedir=DIR modifiable architecture-independent data in DIR
171 [PREFIX/com]
172 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
173 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
174 --includedir=DIR C header files in DIR [PREFIX/include]
175 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
176 --infodir=DIR info documentation in DIR [PREFIX/info]
177 --mandir=DIR man documentation in DIR [PREFIX/man]
178 --srcdir=DIR find the sources in DIR [configure dir or ..]
179 --program-prefix=PREFIX prepend PREFIX to installed program names
180 --program-suffix=SUFFIX append SUFFIX to installed program names
181 --program-transform-name=PROGRAM
182 run sed PROGRAM on installed program names
183EOF
184 cat << EOF
185Host type:
186 --build=BUILD configure for building on BUILD [BUILD=HOST]
187 --host=HOST configure for HOST [guessed]
188 --target=TARGET configure for TARGET [TARGET=HOST]
189Features and packages:
190 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
191 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
192 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
193 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
194 --x-includes=DIR X include files are in DIR
195 --x-libraries=DIR X library files are in DIR
196EOF
197 if test -n "$ac_help"; then
198 echo "--enable and --with options recognized:$ac_help"
199 fi
200 exit 0 ;;
201
202 -host | --host | --hos | --ho)
203 ac_prev=host ;;
204 -host=* | --host=* | --hos=* | --ho=*)
205 host="$ac_optarg" ;;
206
207 -includedir | --includedir | --includedi | --included | --include \
208 | --includ | --inclu | --incl | --inc)
209 ac_prev=includedir ;;
210 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
211 | --includ=* | --inclu=* | --incl=* | --inc=*)
212 includedir="$ac_optarg" ;;
213
214 -infodir | --infodir | --infodi | --infod | --info | --inf)
215 ac_prev=infodir ;;
216 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
217 infodir="$ac_optarg" ;;
218
219 -libdir | --libdir | --libdi | --libd)
220 ac_prev=libdir ;;
221 -libdir=* | --libdir=* | --libdi=* | --libd=*)
222 libdir="$ac_optarg" ;;
223
224 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
225 | --libexe | --libex | --libe)
226 ac_prev=libexecdir ;;
227 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
228 | --libexe=* | --libex=* | --libe=*)
229 libexecdir="$ac_optarg" ;;
230
231 -localstatedir | --localstatedir | --localstatedi | --localstated \
232 | --localstate | --localstat | --localsta | --localst \
233 | --locals | --local | --loca | --loc | --lo)
234 ac_prev=localstatedir ;;
235 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
236 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
237 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
238 localstatedir="$ac_optarg" ;;
239
240 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
241 ac_prev=mandir ;;
242 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
243 mandir="$ac_optarg" ;;
244
245 -nfp | --nfp | --nf)
246 # Obsolete; use --without-fp.
247 with_fp=no ;;
248
249 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
250 | --no-cr | --no-c)
251 no_create=yes ;;
252
253 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
254 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
255 no_recursion=yes ;;
256
257 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
258 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
259 | --oldin | --oldi | --old | --ol | --o)
260 ac_prev=oldincludedir ;;
261 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
262 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
263 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
264 oldincludedir="$ac_optarg" ;;
265
266 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
267 ac_prev=prefix ;;
268 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
269 prefix="$ac_optarg" ;;
270
271 -program-prefix | --program-prefix | --program-prefi | --program-pref \
272 | --program-pre | --program-pr | --program-p)
273 ac_prev=program_prefix ;;
274 -program-prefix=* | --program-prefix=* | --program-prefi=* \
275 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
276 program_prefix="$ac_optarg" ;;
277
278 -program-suffix | --program-suffix | --program-suffi | --program-suff \
279 | --program-suf | --program-su | --program-s)
280 ac_prev=program_suffix ;;
281 -program-suffix=* | --program-suffix=* | --program-suffi=* \
282 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
283 program_suffix="$ac_optarg" ;;
284
285 -program-transform-name | --program-transform-name \
286 | --program-transform-nam | --program-transform-na \
287 | --program-transform-n | --program-transform- \
288 | --program-transform | --program-transfor \
289 | --program-transfo | --program-transf \
290 | --program-trans | --program-tran \
291 | --progr-tra | --program-tr | --program-t)
292 ac_prev=program_transform_name ;;
293 -program-transform-name=* | --program-transform-name=* \
294 | --program-transform-nam=* | --program-transform-na=* \
295 | --program-transform-n=* | --program-transform-=* \
296 | --program-transform=* | --program-transfor=* \
297 | --program-transfo=* | --program-transf=* \
298 | --program-trans=* | --program-tran=* \
299 | --progr-tra=* | --program-tr=* | --program-t=*)
300 program_transform_name="$ac_optarg" ;;
301
302 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
303 | -silent | --silent | --silen | --sile | --sil)
304 silent=yes ;;
305
306 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
307 ac_prev=sbindir ;;
308 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
309 | --sbi=* | --sb=*)
310 sbindir="$ac_optarg" ;;
311
312 -sharedstatedir | --sharedstatedir | --sharedstatedi \
313 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
314 | --sharedst | --shareds | --shared | --share | --shar \
315 | --sha | --sh)
316 ac_prev=sharedstatedir ;;
317 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
318 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
319 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
320 | --sha=* | --sh=*)
321 sharedstatedir="$ac_optarg" ;;
322
323 -site | --site | --sit)
324 ac_prev=site ;;
325 -site=* | --site=* | --sit=*)
326 site="$ac_optarg" ;;
327
328 -site-file | --site-file | --site-fil | --site-fi | --site-f)
329 ac_prev=sitefile ;;
330 -site-file=* | --site-file=* | --site-fil=* | --site-fi=* | --site-f=*)
331 sitefile="$ac_optarg" ;;
332
333 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
334 ac_prev=srcdir ;;
335 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
336 srcdir="$ac_optarg" ;;
337
338 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
339 | --syscon | --sysco | --sysc | --sys | --sy)
340 ac_prev=sysconfdir ;;
341 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
342 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
343 sysconfdir="$ac_optarg" ;;
344
345 -target | --target | --targe | --targ | --tar | --ta | --t)
346 ac_prev=target ;;
347 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
348 target="$ac_optarg" ;;
349
350 -v | -verbose | --verbose | --verbos | --verbo | --verb)
351 verbose=yes ;;
352
353 -version | --version | --versio | --versi | --vers)
354 echo "configure generated by autoconf version 2.13"
355 exit 0 ;;
356
357 -with-* | --with-*)
358 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
359 # Reject names that are not valid shell variable names.
360 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
361 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
362 fi
363 ac_package=`echo $ac_package| sed 's/-/_/g'`
364 case "$ac_option" in
365 *=*) ;;
366 *) ac_optarg=yes ;;
367 esac
368 eval "with_${ac_package}='$ac_optarg'" ;;
369
370 -without-* | --without-*)
371 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
372 # Reject names that are not valid shell variable names.
373 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
374 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
375 fi
376 ac_package=`echo $ac_package| sed 's/-/_/g'`
377 eval "with_${ac_package}=no" ;;
378
379 --x)
380 # Obsolete; use --with-x.
381 with_x=yes ;;
382
383 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
384 | --x-incl | --x-inc | --x-in | --x-i)
385 ac_prev=x_includes ;;
386 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
387 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
388 x_includes="$ac_optarg" ;;
389
390 -x-libraries | --x-libraries | --x-librarie | --x-librari \
391 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
392 ac_prev=x_libraries ;;
393 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
394 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
395 x_libraries="$ac_optarg" ;;
396
397 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
398 ;;
399
400 *)
401 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
402 echo "configure: warning: $ac_option: invalid host type" 1>&2
403 fi
404 if test "x$nonopt" != xNONE; then
405 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
406 fi
407 nonopt="$ac_option"
408 ;;
409
410 esac
411done
412
413if test -n "$ac_prev"; then
414 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
415fi
416
417trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
418
419# File descriptor usage:
420# 0 standard input
421# 1 file creation
422# 2 errors and warnings
423# 3 some systems may open it to /dev/tty
424# 4 used on the Kubota Titan
425# 6 checking for... messages and results
426# 5 compiler messages saved in config.log
427if test "$silent" = yes; then
428 exec 6>/dev/null
429else
430 exec 6>&1
431fi
432exec 5>./config.log
433
434echo "\
435This file contains any messages produced by compilers while
436running configure, to aid debugging if configure makes a mistake.
437" 1>&5
438
439# Strip out --no-create and --no-recursion so they do not pile up.
440# Also quote any args containing shell metacharacters.
441ac_configure_args=
442for ac_arg
443do
444 case "$ac_arg" in
445 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
446 | --no-cr | --no-c) ;;
447 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
448 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
449 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
450 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
451 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
452 esac
453done
454
455# NLS nuisances.
456# Only set these to C if already set. These must not be set unconditionally
457# because not all systems understand e.g. LANG=C (notably SCO).
458# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
459# Non-C LC_CTYPE values break the ctype check.
460if test "${LANG+set}" = set; then LANG=C; export LANG; fi
461if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
462if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
463if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
464
465# confdefs.h avoids OS command line length limits that DEFS can exceed.
466rm -rf conftest* confdefs.h
467# AIX cpp loses on an empty file, so make sure it contains at least a newline.
468echo > confdefs.h
469
470# A filename unique to this package, relative to the directory that
471# configure is in, which we can look for to find out if srcdir is correct.
472ac_unique_file=ieee.c
473
474# Find the source files, if location was not specified.
475if test -z "$srcdir"; then
476 ac_srcdir_defaulted=yes
477 # Try the directory containing this script, then its parent.
478 ac_prog=$0
479 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
480 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
481 srcdir=$ac_confdir
482 if test ! -r $srcdir/$ac_unique_file; then
483 srcdir=..
484 fi
485else
486 ac_srcdir_defaulted=no
487fi
488if test ! -r $srcdir/$ac_unique_file; then
489 if test "$ac_srcdir_defaulted" = yes; then
490 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
491 else
492 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
493 fi
494fi
495srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
496
497# Prefer explicitly selected file to automatically selected ones.
498if test -z "$sitefile"; then
499 if test -z "$CONFIG_SITE"; then
500 if test "x$prefix" != xNONE; then
501 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
502 else
503 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
504 fi
505 fi
506else
507 CONFIG_SITE="$sitefile"
508fi
509for ac_site_file in $CONFIG_SITE; do
510 if test -r "$ac_site_file"; then
511 echo "loading site script $ac_site_file"
512 . "$ac_site_file"
513 fi
514done
515
516if test -r "$cache_file"; then
517 echo "loading cache $cache_file"
518 . $cache_file
519else
520 echo "creating cache $cache_file"
521 > $cache_file
522fi
523
524ac_ext=c
525# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
526ac_cpp='$CPP $CPPFLAGS'
527ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
528ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
529cross_compiling=$ac_cv_prog_cc_cross
530
531ac_exeext=
532ac_objext=o
533if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
534 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
535 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
536 ac_n= ac_c='
537' ac_t=' '
538 else
539 ac_n=-n ac_c= ac_t=
540 fi
541else
542 ac_n= ac_c='\c' ac_t=
543fi
544
545
546
547ac_aux_dir=
548for ac_dir in ../../../.. $srcdir/../../../..; do
549 if test -f $ac_dir/install-sh; then
550 ac_aux_dir=$ac_dir
551 ac_install_sh="$ac_aux_dir/install-sh -c"
552 break
553 elif test -f $ac_dir/install.sh; then
554 ac_aux_dir=$ac_dir
555 ac_install_sh="$ac_aux_dir/install.sh -c"
556 break
557 fi
558done
559if test -z "$ac_aux_dir"; then
560 { echo "configure: error: can not find install-sh or install.sh in ../../../.. $srcdir/../../../.." 1>&2; exit 1; }
561fi
562ac_config_guess=$ac_aux_dir/config.guess
563ac_config_sub=$ac_aux_dir/config.sub
564ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
565
566
567# Find a good install program. We prefer a C program (faster),
568# so one script is as good as another. But avoid the broken or
569# incompatible versions:
570# SysV /etc/install, /usr/sbin/install
571# SunOS /usr/etc/install
572# IRIX /sbin/install
573# AIX /bin/install
574# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
575# AFS /usr/afsws/bin/install, which mishandles nonexistent args
576# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
577# ./install, which can be erroneously created by make from ./install.sh.
578echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3ac6f3a7 579echo "configure:580: checking for a BSD compatible install" >&5
8a0efa53
CF
580if test -z "$INSTALL"; then
581if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
582 echo $ac_n "(cached) $ac_c" 1>&6
583else
584 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
585 for ac_dir in $PATH; do
586 # Account for people who put trailing slashes in PATH elements.
587 case "$ac_dir/" in
588 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
589 *)
590 # OSF1 and SCO ODT 3.0 have their own names for install.
591 # Don't use installbsd from OSF since it installs stuff as root
592 # by default.
593 for ac_prog in ginstall scoinst install; do
594 if test -f $ac_dir/$ac_prog; then
595 if test $ac_prog = install &&
596 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
597 # AIX install. It has an incompatible calling convention.
598 :
599 else
600 ac_cv_path_install="$ac_dir/$ac_prog -c"
601 break 2
602 fi
603 fi
604 done
605 ;;
606 esac
607 done
608 IFS="$ac_save_IFS"
609
610fi
611 if test "${ac_cv_path_install+set}" = set; then
612 INSTALL="$ac_cv_path_install"
613 else
614 # As a last resort, use the slow shell script. We don't cache a
615 # path for INSTALL within a source directory, because that will
616 # break other packages using the cache if that directory is
617 # removed, or if the path is relative.
618 INSTALL="$ac_install_sh"
619 fi
620fi
621echo "$ac_t""$INSTALL" 1>&6
622
623# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
624# It thinks the first close brace ends the variable substitution.
625test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
626
627test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
628
629test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
630
631echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
3ac6f3a7 632echo "configure:633: checking whether build environment is sane" >&5
8a0efa53
CF
633# Just in case
634sleep 1
635echo timestamp > conftestfile
636# Do `set' in a subshell so we don't clobber the current shell's
637# arguments. Must try -L first in case configure is actually a
638# symlink; some systems play weird games with the mod time of symlinks
639# (eg FreeBSD returns the mod time of the symlink's containing
640# directory).
641if (
642 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
643 if test "$*" = "X"; then
644 # -L didn't work.
645 set X `ls -t $srcdir/configure conftestfile`
646 fi
647 if test "$*" != "X $srcdir/configure conftestfile" \
648 && test "$*" != "X conftestfile $srcdir/configure"; then
649
650 # If neither matched, then we have a broken ls. This can happen
651 # if, for instance, CONFIG_SHELL is bash and it inherits a
652 # broken ls alias from the environment. This has actually
653 # happened. Such a system could not be considered "sane".
654 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
655alias in your environment" 1>&2; exit 1; }
656 fi
657
658 test "$2" = conftestfile
659 )
660then
661 # Ok.
662 :
663else
664 { echo "configure: error: newly created file is older than distributed files!
665Check your system clock" 1>&2; exit 1; }
666fi
667rm -f conftest*
668echo "$ac_t""yes" 1>&6
669if test "$program_transform_name" = s,x,x,; then
670 program_transform_name=
671else
672 # Double any \ or $. echo might interpret backslashes.
673 cat <<\EOF_SED > conftestsed
674s,\\,\\\\,g; s,\$,$$,g
675EOF_SED
676 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
677 rm -f conftestsed
678fi
679test "$program_prefix" != NONE &&
680 program_transform_name="s,^,${program_prefix},; $program_transform_name"
681# Use a double $ so make ignores it.
682test "$program_suffix" != NONE &&
683 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
684
685# sed with no file args requires a program.
686test "$program_transform_name" = "" && program_transform_name="s,x,x,"
687
688echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
3ac6f3a7 689echo "configure:690: checking whether ${MAKE-make} sets \${MAKE}" >&5
8a0efa53
CF
690set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
691if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
692 echo $ac_n "(cached) $ac_c" 1>&6
693else
694 cat > conftestmake <<\EOF
695all:
696 @echo 'ac_maketemp="${MAKE}"'
697EOF
698# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
699eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
700if test -n "$ac_maketemp"; then
701 eval ac_cv_prog_make_${ac_make}_set=yes
702else
703 eval ac_cv_prog_make_${ac_make}_set=no
704fi
705rm -f conftestmake
706fi
707if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
708 echo "$ac_t""yes" 1>&6
709 SET_MAKE=
710else
711 echo "$ac_t""no" 1>&6
712 SET_MAKE="MAKE=${MAKE-make}"
713fi
714
715if test $host != $build; then
716 ac_tool_prefix=${host_alias}-
717else
718 ac_tool_prefix=
719fi
720
721echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
3ac6f3a7 722echo "configure:723: checking for Cygwin environment" >&5
8a0efa53
CF
723if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
724 echo $ac_n "(cached) $ac_c" 1>&6
725else
726 cat > conftest.$ac_ext <<EOF
3ac6f3a7 727#line 728 "configure"
8a0efa53
CF
728#include "confdefs.h"
729
730int main() {
731
732#ifndef __CYGWIN__
733#define __CYGWIN__ __CYGWIN32__
734#endif
735return __CYGWIN__;
736; return 0; }
737EOF
3ac6f3a7 738if { (eval echo configure:739: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8a0efa53
CF
739 rm -rf conftest*
740 ac_cv_cygwin=yes
741else
742 echo "configure: failed program was:" >&5
743 cat conftest.$ac_ext >&5
744 rm -rf conftest*
745 ac_cv_cygwin=no
746fi
747rm -f conftest*
748rm -f conftest*
749fi
750
751echo "$ac_t""$ac_cv_cygwin" 1>&6
752CYGWIN=
753test "$ac_cv_cygwin" = yes && CYGWIN=yes
754echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
3ac6f3a7 755echo "configure:756: checking for mingw32 environment" >&5
8a0efa53
CF
756if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
757 echo $ac_n "(cached) $ac_c" 1>&6
758else
759 cat > conftest.$ac_ext <<EOF
3ac6f3a7 760#line 761 "configure"
8a0efa53
CF
761#include "confdefs.h"
762
763int main() {
764return __MINGW32__;
765; return 0; }
766EOF
3ac6f3a7 767if { (eval echo configure:768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8a0efa53
CF
768 rm -rf conftest*
769 ac_cv_mingw32=yes
770else
771 echo "configure: failed program was:" >&5
772 cat conftest.$ac_ext >&5
773 rm -rf conftest*
774 ac_cv_mingw32=no
775fi
776rm -f conftest*
777rm -f conftest*
778fi
779
780echo "$ac_t""$ac_cv_mingw32" 1>&6
781MINGW32=
782test "$ac_cv_mingw32" = yes && MINGW32=yes
783
784# Check whether --enable-multilib or --disable-multilib was given.
785if test "${enable_multilib+set}" = set; then
786 enableval="$enable_multilib"
787 case "${enableval}" in
788 yes) multilib=yes ;;
789 no) multilib=no ;;
790 *) { echo "configure: error: bad value ${enableval} for multilib option" 1>&2; exit 1; } ;;
791 esac
792else
793 multilib=yes
794fi
795
796# Check whether --enable-target-optspace or --disable-target-optspace was given.
797if test "${enable_target_optspace+set}" = set; then
798 enableval="$enable_target_optspace"
799 case "${enableval}" in
800 yes) target_optspace=yes ;;
801 no) target_optspace=no ;;
802 *) { echo "configure: error: bad value ${enableval} for target-optspace option" 1>&2; exit 1; } ;;
803 esac
804else
805 target_optspace=
806fi
807
3ac6f3a7
JJ
808# Check whether --enable-malloc-debugging or --disable-malloc-debugging was given.
809if test "${enable_malloc_debugging+set}" = set; then
810 enableval="$enable_malloc_debugging"
811 case "${enableval}" in
812 yes) malloc_debugging=yes ;;
813 no) malloc_debugging=no ;;
814 *) { echo "configure: error: bad value ${enableval} for malloc-debugging option" 1>&2; exit 1; } ;;
815 esac
816else
817 malloc_debugging=
818fi
819
8a0efa53
CF
820# Check whether --enable-newlib-mb or --disable-newlib-mb was given.
821if test "${enable_newlib_mb+set}" = set; then
822 enableval="$enable_newlib_mb"
823 case "${enableval}" in
824 yes) newlib_mb=yes ;;
825 no) newlib_mb=no ;;
826 *) { echo "configure: error: bad value ${enableval} for newlib-mb option" 1>&2; exit 1; } ;;
827 esac
828else
829 newlib_mb=no
830fi
831
832
833test -z "${with_target_subdir}" && with_target_subdir=.
834
835if test "${srcdir}" = "."; then
836 if test "${with_target_subdir}" != "."; then
837 newlib_basedir="${srcdir}/${with_multisrctop}../../../.."
838 else
839 newlib_basedir="${srcdir}/${with_multisrctop}../../.."
840 fi
841else
842 newlib_basedir="${srcdir}/../../.."
843fi
844
845
846
847# Make sure we can run config.sub.
848if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
849else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
850fi
851
852echo $ac_n "checking host system type""... $ac_c" 1>&6
3ac6f3a7 853echo "configure:854: checking host system type" >&5
8a0efa53
CF
854
855host_alias=$host
856case "$host_alias" in
857NONE)
858 case $nonopt in
859 NONE)
860 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
861 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
862 fi ;;
863 *) host_alias=$nonopt ;;
864 esac ;;
865esac
866
867host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
868host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
869host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
870host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
871echo "$ac_t""$host" 1>&6
872
873
874
875PACKAGE=newlib
876
804368d3 877VERSION=1.9.0
8a0efa53
CF
878
879if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
880 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
881fi
882cat >> confdefs.h <<EOF
883#define PACKAGE "$PACKAGE"
884EOF
885
886cat >> confdefs.h <<EOF
887#define VERSION "$VERSION"
888EOF
889
890
891
892missing_dir=`cd $ac_aux_dir && pwd`
893echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
3ac6f3a7 894echo "configure:895: checking for working aclocal" >&5
8a0efa53
CF
895# Run test in a subshell; some versions of sh will print an error if
896# an executable is not found, even if stderr is redirected.
897# Redirect stdin to placate older versions of autoconf. Sigh.
898if (aclocal --version) < /dev/null > /dev/null 2>&1; then
899 ACLOCAL=aclocal
900 echo "$ac_t""found" 1>&6
901else
902 ACLOCAL="$missing_dir/missing aclocal"
903 echo "$ac_t""missing" 1>&6
904fi
905
906echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
3ac6f3a7 907echo "configure:908: checking for working autoconf" >&5
8a0efa53
CF
908# Run test in a subshell; some versions of sh will print an error if
909# an executable is not found, even if stderr is redirected.
910# Redirect stdin to placate older versions of autoconf. Sigh.
911if (autoconf --version) < /dev/null > /dev/null 2>&1; then
912 AUTOCONF=autoconf
913 echo "$ac_t""found" 1>&6
914else
915 AUTOCONF="$missing_dir/missing autoconf"
916 echo "$ac_t""missing" 1>&6
917fi
918
919echo $ac_n "checking for working automake""... $ac_c" 1>&6
3ac6f3a7 920echo "configure:921: checking for working automake" >&5
8a0efa53
CF
921# Run test in a subshell; some versions of sh will print an error if
922# an executable is not found, even if stderr is redirected.
923# Redirect stdin to placate older versions of autoconf. Sigh.
924if (automake --version) < /dev/null > /dev/null 2>&1; then
925 AUTOMAKE=automake
926 echo "$ac_t""found" 1>&6
927else
928 AUTOMAKE="$missing_dir/missing automake"
929 echo "$ac_t""missing" 1>&6
930fi
931
932echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
3ac6f3a7 933echo "configure:934: checking for working autoheader" >&5
8a0efa53
CF
934# Run test in a subshell; some versions of sh will print an error if
935# an executable is not found, even if stderr is redirected.
936# Redirect stdin to placate older versions of autoconf. Sigh.
937if (autoheader --version) < /dev/null > /dev/null 2>&1; then
938 AUTOHEADER=autoheader
939 echo "$ac_t""found" 1>&6
940else
941 AUTOHEADER="$missing_dir/missing autoheader"
942 echo "$ac_t""missing" 1>&6
943fi
944
945echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
3ac6f3a7 946echo "configure:947: checking for working makeinfo" >&5
8a0efa53
CF
947# Run test in a subshell; some versions of sh will print an error if
948# an executable is not found, even if stderr is redirected.
949# Redirect stdin to placate older versions of autoconf. Sigh.
950if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
951 MAKEINFO=makeinfo
952 echo "$ac_t""found" 1>&6
953else
954 MAKEINFO="$missing_dir/missing makeinfo"
955 echo "$ac_t""missing" 1>&6
956fi
957
958
959
960# FIXME: We temporarily define our own version of AC_PROG_CC. This is
961# copied from autoconf 2.12, but does not call AC_PROG_CC_WORKS. We
962# are probably using a cross compiler, which will not be able to fully
963# link an executable. This should really be fixed in autoconf
964# itself.
965
966
967
968# Extract the first word of "gcc", so it can be a program name with args.
969set dummy gcc; ac_word=$2
970echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3ac6f3a7 971echo "configure:972: checking for $ac_word" >&5
8a0efa53
CF
972if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
973 echo $ac_n "(cached) $ac_c" 1>&6
974else
975 if test -n "$CC"; then
976 ac_cv_prog_CC="$CC" # Let the user override the test.
977else
978 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
979 ac_dummy="$PATH"
980 for ac_dir in $ac_dummy; do
981 test -z "$ac_dir" && ac_dir=.
982 if test -f $ac_dir/$ac_word; then
983 ac_cv_prog_CC="gcc"
984 break
985 fi
986 done
987 IFS="$ac_save_ifs"
988fi
989fi
990CC="$ac_cv_prog_CC"
991if test -n "$CC"; then
992 echo "$ac_t""$CC" 1>&6
993else
994 echo "$ac_t""no" 1>&6
995fi
996
997if test -z "$CC"; then
998 # Extract the first word of "cc", so it can be a program name with args.
999set dummy cc; ac_word=$2
1000echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3ac6f3a7 1001echo "configure:1002: checking for $ac_word" >&5
8a0efa53
CF
1002if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1003 echo $ac_n "(cached) $ac_c" 1>&6
1004else
1005 if test -n "$CC"; then
1006 ac_cv_prog_CC="$CC" # Let the user override the test.
1007else
1008 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1009 ac_prog_rejected=no
1010 ac_dummy="$PATH"
1011 for ac_dir in $ac_dummy; do
1012 test -z "$ac_dir" && ac_dir=.
1013 if test -f $ac_dir/$ac_word; then
1014 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1015 ac_prog_rejected=yes
1016 continue
1017 fi
1018 ac_cv_prog_CC="cc"
1019 break
1020 fi
1021 done
1022 IFS="$ac_save_ifs"
1023if test $ac_prog_rejected = yes; then
1024 # We found a bogon in the path, so make sure we never use it.
1025 set dummy $ac_cv_prog_CC
1026 shift
1027 if test $# -gt 0; then
1028 # We chose a different compiler from the bogus one.
1029 # However, it has the same basename, so the bogon will be chosen
1030 # first if we set CC to just the basename; use the full file name.
1031 shift
1032 set dummy "$ac_dir/$ac_word" "$@"
1033 shift
1034 ac_cv_prog_CC="$@"
1035 fi
1036fi
1037fi
1038fi
1039CC="$ac_cv_prog_CC"
1040if test -n "$CC"; then
1041 echo "$ac_t""$CC" 1>&6
1042else
1043 echo "$ac_t""no" 1>&6
1044fi
1045
1046 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1047fi
1048
1049echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
3ac6f3a7 1050echo "configure:1051: checking whether we are using GNU C" >&5
8a0efa53
CF
1051if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1052 echo $ac_n "(cached) $ac_c" 1>&6
1053else
1054 cat > conftest.c <<EOF
1055#ifdef __GNUC__
1056 yes;
1057#endif
1058EOF
3ac6f3a7 1059if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1060: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
8a0efa53
CF
1060 ac_cv_prog_gcc=yes
1061else
1062 ac_cv_prog_gcc=no
1063fi
1064fi
1065
1066echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1067
1068if test $ac_cv_prog_gcc = yes; then
1069 GCC=yes
1070 ac_test_CFLAGS="${CFLAGS+set}"
1071 ac_save_CFLAGS="$CFLAGS"
1072 CFLAGS=
1073 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
3ac6f3a7 1074echo "configure:1075: checking whether ${CC-cc} accepts -g" >&5
8a0efa53
CF
1075if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1076 echo $ac_n "(cached) $ac_c" 1>&6
1077else
1078 echo 'void f(){}' > conftest.c
1079if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1080 ac_cv_prog_cc_g=yes
1081else
1082 ac_cv_prog_cc_g=no
1083fi
1084rm -f conftest*
1085
1086fi
1087
1088echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1089 if test "$ac_test_CFLAGS" = set; then
1090 CFLAGS="$ac_save_CFLAGS"
1091 elif test $ac_cv_prog_cc_g = yes; then
1092 CFLAGS="-g -O2"
1093 else
1094 CFLAGS="-O2"
1095 fi
1096else
1097 GCC=
1098 test "${CFLAGS+set}" = set || CFLAGS="-g"
1099fi
1100
1101
1102# AC_CHECK_TOOL does AC_REQUIRE (AC_CANONICAL_BUILD). If we don't
1103# run it explicitly here, it will be run implicitly before
1104# NEWLIB_CONFIGURE, which doesn't work because that means that it will
1105# be run before AC_CANONICAL_HOST.
1106echo $ac_n "checking build system type""... $ac_c" 1>&6
3ac6f3a7 1107echo "configure:1108: checking build system type" >&5
8a0efa53
CF
1108
1109build_alias=$build
1110case "$build_alias" in
1111NONE)
1112 case $nonopt in
1113 NONE) build_alias=$host_alias ;;
1114 *) build_alias=$nonopt ;;
1115 esac ;;
1116esac
1117
1118build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1119build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1120build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1121build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1122echo "$ac_t""$build" 1>&6
1123
1124
1125# Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
1126set dummy ${ac_tool_prefix}as; ac_word=$2
1127echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3ac6f3a7 1128echo "configure:1129: checking for $ac_word" >&5
8a0efa53
CF
1129if eval "test \"`echo '$''{'ac_cv_prog_AS'+set}'`\" = set"; then
1130 echo $ac_n "(cached) $ac_c" 1>&6
1131else
1132 if test -n "$AS"; then
1133 ac_cv_prog_AS="$AS" # Let the user override the test.
1134else
1135 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1136 ac_dummy="$PATH"
1137 for ac_dir in $ac_dummy; do
1138 test -z "$ac_dir" && ac_dir=.
1139 if test -f $ac_dir/$ac_word; then
1140 ac_cv_prog_AS="${ac_tool_prefix}as"
1141 break
1142 fi
1143 done
1144 IFS="$ac_save_ifs"
1145 test -z "$ac_cv_prog_AS" && ac_cv_prog_AS="as"
1146fi
1147fi
1148AS="$ac_cv_prog_AS"
1149if test -n "$AS"; then
1150 echo "$ac_t""$AS" 1>&6
1151else
1152 echo "$ac_t""no" 1>&6
1153fi
1154
1155
1156
1157# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
1158set dummy ${ac_tool_prefix}ar; ac_word=$2
1159echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3ac6f3a7 1160echo "configure:1161: checking for $ac_word" >&5
8a0efa53
CF
1161if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1162 echo $ac_n "(cached) $ac_c" 1>&6
1163else
1164 if test -n "$AR"; then
1165 ac_cv_prog_AR="$AR" # Let the user override the test.
1166else
1167 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1168 ac_dummy="$PATH"
1169 for ac_dir in $ac_dummy; do
1170 test -z "$ac_dir" && ac_dir=.
1171 if test -f $ac_dir/$ac_word; then
1172 ac_cv_prog_AR="${ac_tool_prefix}ar"
1173 break
1174 fi
1175 done
1176 IFS="$ac_save_ifs"
1177 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="ar"
1178fi
1179fi
1180AR="$ac_cv_prog_AR"
1181if test -n "$AR"; then
1182 echo "$ac_t""$AR" 1>&6
1183else
1184 echo "$ac_t""no" 1>&6
1185fi
1186
1187
1188
1189# Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
1190set dummy ${ac_tool_prefix}ranlib; ac_word=$2
1191echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3ac6f3a7 1192echo "configure:1193: checking for $ac_word" >&5
8a0efa53
CF
1193if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1194 echo $ac_n "(cached) $ac_c" 1>&6
1195else
1196 if test -n "$RANLIB"; then
1197 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1198else
1199 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1200 ac_dummy="$PATH"
1201 for ac_dir in $ac_dummy; do
1202 test -z "$ac_dir" && ac_dir=.
1203 if test -f $ac_dir/$ac_word; then
1204 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
1205 break
1206 fi
1207 done
1208 IFS="$ac_save_ifs"
1209fi
1210fi
1211RANLIB="$ac_cv_prog_RANLIB"
1212if test -n "$RANLIB"; then
1213 echo "$ac_t""$RANLIB" 1>&6
1214else
1215 echo "$ac_t""no" 1>&6
1216fi
1217
1218
1219if test -z "$ac_cv_prog_RANLIB"; then
1220if test -n "$ac_tool_prefix"; then
1221 # Extract the first word of "ranlib", so it can be a program name with args.
1222set dummy ranlib; ac_word=$2
1223echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3ac6f3a7 1224echo "configure:1225: checking for $ac_word" >&5
8a0efa53
CF
1225if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1226 echo $ac_n "(cached) $ac_c" 1>&6
1227else
1228 if test -n "$RANLIB"; then
1229 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1230else
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_RANLIB="ranlib"
1237 break
1238 fi
1239 done
1240 IFS="$ac_save_ifs"
1241 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1242fi
1243fi
1244RANLIB="$ac_cv_prog_RANLIB"
1245if test -n "$RANLIB"; then
1246 echo "$ac_t""$RANLIB" 1>&6
1247else
1248 echo "$ac_t""no" 1>&6
1249fi
1250
1251else
1252 RANLIB=":"
1253fi
1254fi
1255
1256
1257# Find a good install program. We prefer a C program (faster),
1258# so one script is as good as another. But avoid the broken or
1259# incompatible versions:
1260# SysV /etc/install, /usr/sbin/install
1261# SunOS /usr/etc/install
1262# IRIX /sbin/install
1263# AIX /bin/install
1264# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1265# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1266# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1267# ./install, which can be erroneously created by make from ./install.sh.
1268echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3ac6f3a7 1269echo "configure:1270: checking for a BSD compatible install" >&5
8a0efa53
CF
1270if test -z "$INSTALL"; then
1271if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1272 echo $ac_n "(cached) $ac_c" 1>&6
1273else
1274 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1275 for ac_dir in $PATH; do
1276 # Account for people who put trailing slashes in PATH elements.
1277 case "$ac_dir/" in
1278 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1279 *)
1280 # OSF1 and SCO ODT 3.0 have their own names for install.
1281 # Don't use installbsd from OSF since it installs stuff as root
1282 # by default.
1283 for ac_prog in ginstall scoinst install; do
1284 if test -f $ac_dir/$ac_prog; then
1285 if test $ac_prog = install &&
1286 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1287 # AIX install. It has an incompatible calling convention.
1288 :
1289 else
1290 ac_cv_path_install="$ac_dir/$ac_prog -c"
1291 break 2
1292 fi
1293 fi
1294 done
1295 ;;
1296 esac
1297 done
1298 IFS="$ac_save_IFS"
1299
1300fi
1301 if test "${ac_cv_path_install+set}" = set; then
1302 INSTALL="$ac_cv_path_install"
1303 else
1304 # As a last resort, use the slow shell script. We don't cache a
1305 # path for INSTALL within a source directory, because that will
1306 # break other packages using the cache if that directory is
1307 # removed, or if the path is relative.
1308 INSTALL="$ac_install_sh"
1309 fi
1310fi
1311echo "$ac_t""$INSTALL" 1>&6
1312
1313# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1314# It thinks the first close brace ends the variable substitution.
1315test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1316
1317test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1318
1319test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1320
1321
1322echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
3ac6f3a7 1323echo "configure:1324: checking whether to enable maintainer-specific portions of Makefiles" >&5
8a0efa53
CF
1324 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1325if test "${enable_maintainer_mode+set}" = set; then
1326 enableval="$enable_maintainer_mode"
1327 USE_MAINTAINER_MODE=$enableval
1328else
1329 USE_MAINTAINER_MODE=no
1330fi
1331
1332 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1333
1334
1335if test $USE_MAINTAINER_MODE = yes; then
1336 MAINTAINER_MODE_TRUE=
1337 MAINTAINER_MODE_FALSE='#'
1338else
1339 MAINTAINER_MODE_TRUE='#'
1340 MAINTAINER_MODE_FALSE=
1341fi
1342 MAINT=$MAINTAINER_MODE_TRUE
1343
1344
1345
1346# We need AC_EXEEXT to keep automake happy in cygnus mode. However,
1347# at least currently, we never actually build a program, so we never
1348# need to use $(EXEEXT). Moreover, the test for EXEEXT normally
1349# fails, because we are probably configuring with a cross compiler
1350# which can't create executables. So we include AC_EXEEXT to keep
1351# automake happy, but we don't execute it, since we don't care about
1352# the result.
1353if false; then
1354
1355
1356echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
3ac6f3a7 1357echo "configure:1358: checking for executable suffix" >&5
8a0efa53
CF
1358if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1359 echo $ac_n "(cached) $ac_c" 1>&6
1360else
1361 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
1362 ac_cv_exeext=.exe
1363else
1364 rm -f conftest*
1365 echo 'int main () { return 0; }' > conftest.$ac_ext
1366 ac_cv_exeext=
3ac6f3a7 1367 if { (eval echo configure:1368: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
8a0efa53
CF
1368 for file in conftest.*; do
1369 case $file in
1370 *.c | *.o | *.obj | *.ilk | *.pdb) ;;
1371 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
1372 esac
1373 done
1374 else
1375 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1376 fi
1377 rm -f conftest*
1378 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
1379fi
1380fi
1381
1382EXEEXT=""
1383test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
1384echo "$ac_t""${ac_cv_exeext}" 1>&6
1385ac_exeext=$EXEEXT
1386
1387fi
1388
1389. ${newlib_basedir}/configure.host
1390
1391case ${newlib_basedir} in
1392/* | A-Za-z:/\\*) newlib_flagbasedir=${newlib_basedir} ;;
1393*) newlib_flagbasedir='$(top_builddir)/'${newlib_basedir} ;;
1394esac
1395
1396newlib_cflags="${newlib_cflags} -I"'$(top_builddir)'"/../../../targ-include -I${newlib_flagbasedir}/libc/include"
1397case "${host}" in
1398 *-*-cygwin*)
1399 newlib_cflags="${newlib_cflags} -I${newlib_flagbasedir}/../winsup/cygwin/include -I${newlib_flagbasedir}/../winsup/w32api/include"
1400 ;;
1401esac
1402
1403newlib_cflags="${newlib_cflags} -fno-builtin"
1404
1405NEWLIB_CFLAGS=${newlib_cflags}
1406
1407
1408
1409
1410
1411
1412trap '' 1 2 15
1413cat > confcache <<\EOF
1414# This file is a shell script that caches the results of configure
1415# tests run on this system so they can be shared between configure
1416# scripts and configure runs. It is not useful on other systems.
1417# If it contains results you don't want to keep, you may remove or edit it.
1418#
1419# By default, configure uses ./config.cache as the cache file,
1420# creating it if it does not exist already. You can give configure
1421# the --cache-file=FILE option to use a different cache file; that is
1422# what configure does when it calls configure scripts in
1423# subdirectories, so they share the cache.
1424# Giving --cache-file=/dev/null disables caching, for debugging configure.
1425# config.status only pays attention to the cache file if you give it the
1426# --recheck option to rerun configure.
1427#
1428EOF
1429# The following way of writing the cache mishandles newlines in values,
1430# but we know of no workaround that is simple, portable, and efficient.
1431# So, don't put newlines in cache variables' values.
1432# Ultrix sh set writes to stderr and can't be redirected directly,
1433# and sets the high bit in the cache file unless we assign to the vars.
1434(set) 2>&1 |
1435 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1436 *ac_space=\ *)
1437 # `set' does not quote correctly, so add quotes (double-quote substitution
1438 # turns \\\\ into \\, and sed turns \\ into \).
1439 sed -n \
1440 -e "s/'/'\\\\''/g" \
1441 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1442 ;;
1443 *)
1444 # `set' quotes correctly as required by POSIX, so do not add quotes.
1445 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1446 ;;
1447 esac >> confcache
1448if cmp -s $cache_file confcache; then
1449 :
1450else
1451 if test -w $cache_file; then
1452 echo "updating cache $cache_file"
1453 cat confcache > $cache_file
1454 else
1455 echo "not updating unwritable cache $cache_file"
1456 fi
1457fi
1458rm -f confcache
1459
1460trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1461
1462test "x$prefix" = xNONE && prefix=$ac_default_prefix
1463# Let make expand exec_prefix.
1464test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1465
1466# Any assignment to VPATH causes Sun make to only execute
1467# the first set of double-colon rules, so remove it if not needed.
1468# If there is a colon in the path, we need to keep it.
1469if test "x$srcdir" = x.; then
1470 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1471fi
1472
1473trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1474
1475# Transform confdefs.h into DEFS.
1476# Protect against shell expansion while executing Makefile rules.
1477# Protect against Makefile macro expansion.
1478cat > conftest.defs <<\EOF
1479s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g
1480s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g
1481s%\[%\\&%g
1482s%\]%\\&%g
1483s%\$%$$%g
1484EOF
1485DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '`
1486rm -f conftest.defs
1487
1488
1489# Without the "./", some shells look in PATH for config.status.
1490: ${CONFIG_STATUS=./config.status}
1491
1492echo creating $CONFIG_STATUS
1493rm -f $CONFIG_STATUS
1494cat > $CONFIG_STATUS <<EOF
1495#! /bin/sh
1496# Generated automatically by configure.
1497# Run this file to recreate the current configuration.
1498# This directory was configured as follows,
1499# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1500#
1501# $0 $ac_configure_args
1502#
1503# Compiler output produced by configure, useful for debugging
1504# configure, is in ./config.log if it exists.
1505
1506ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1507for ac_option
1508do
1509 case "\$ac_option" in
1510 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1511 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1512 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1513 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1514 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1515 exit 0 ;;
1516 -help | --help | --hel | --he | --h)
1517 echo "\$ac_cs_usage"; exit 0 ;;
1518 *) echo "\$ac_cs_usage"; exit 1 ;;
1519 esac
1520done
1521
1522ac_given_srcdir=$srcdir
1523ac_given_INSTALL="$INSTALL"
1524
1525trap 'rm -fr `echo "Makefile" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1526EOF
1527cat >> $CONFIG_STATUS <<EOF
1528
1529# Protect against being on the right side of a sed subst in config.status.
1530sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1531 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1532$ac_vpsub
1533$extrasub
1534s%@SHELL@%$SHELL%g
1535s%@CFLAGS@%$CFLAGS%g
1536s%@CPPFLAGS@%$CPPFLAGS%g
1537s%@CXXFLAGS@%$CXXFLAGS%g
1538s%@FFLAGS@%$FFLAGS%g
1539s%@DEFS@%$DEFS%g
1540s%@LDFLAGS@%$LDFLAGS%g
1541s%@LIBS@%$LIBS%g
1542s%@exec_prefix@%$exec_prefix%g
1543s%@prefix@%$prefix%g
1544s%@program_transform_name@%$program_transform_name%g
1545s%@bindir@%$bindir%g
1546s%@sbindir@%$sbindir%g
1547s%@libexecdir@%$libexecdir%g
1548s%@datadir@%$datadir%g
1549s%@sysconfdir@%$sysconfdir%g
1550s%@sharedstatedir@%$sharedstatedir%g
1551s%@localstatedir@%$localstatedir%g
1552s%@libdir@%$libdir%g
1553s%@includedir@%$includedir%g
1554s%@oldincludedir@%$oldincludedir%g
1555s%@infodir@%$infodir%g
1556s%@mandir@%$mandir%g
1557s%@newlib_basedir@%$newlib_basedir%g
1558s%@host@%$host%g
1559s%@host_alias@%$host_alias%g
1560s%@host_cpu@%$host_cpu%g
1561s%@host_vendor@%$host_vendor%g
1562s%@host_os@%$host_os%g
1563s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
1564s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
1565s%@INSTALL_DATA@%$INSTALL_DATA%g
1566s%@PACKAGE@%$PACKAGE%g
1567s%@VERSION@%$VERSION%g
1568s%@ACLOCAL@%$ACLOCAL%g
1569s%@AUTOCONF@%$AUTOCONF%g
1570s%@AUTOMAKE@%$AUTOMAKE%g
1571s%@AUTOHEADER@%$AUTOHEADER%g
1572s%@MAKEINFO@%$MAKEINFO%g
1573s%@SET_MAKE@%$SET_MAKE%g
1574s%@CC@%$CC%g
1575s%@build@%$build%g
1576s%@build_alias@%$build_alias%g
1577s%@build_cpu@%$build_cpu%g
1578s%@build_vendor@%$build_vendor%g
1579s%@build_os@%$build_os%g
1580s%@AS@%$AS%g
1581s%@AR@%$AR%g
1582s%@RANLIB@%$RANLIB%g
1583s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
1584s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
1585s%@MAINT@%$MAINT%g
1586s%@EXEEXT@%$EXEEXT%g
1587s%@NEWLIB_CFLAGS@%$NEWLIB_CFLAGS%g
1588s%@machine_dir@%$machine_dir%g
1589s%@sys_dir@%$sys_dir%g
1590
1591CEOF
1592EOF
1593
1594cat >> $CONFIG_STATUS <<\EOF
1595
1596# Split the substitutions into bite-sized pieces for seds with
1597# small command number limits, like on Digital OSF/1 and HP-UX.
1598ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1599ac_file=1 # Number of current file.
1600ac_beg=1 # First line for current file.
1601ac_end=$ac_max_sed_cmds # Line after last line for current file.
1602ac_more_lines=:
1603ac_sed_cmds=""
1604while $ac_more_lines; do
1605 if test $ac_beg -gt 1; then
1606 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1607 else
1608 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1609 fi
1610 if test ! -s conftest.s$ac_file; then
1611 ac_more_lines=false
1612 rm -f conftest.s$ac_file
1613 else
1614 if test -z "$ac_sed_cmds"; then
1615 ac_sed_cmds="sed -f conftest.s$ac_file"
1616 else
1617 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1618 fi
1619 ac_file=`expr $ac_file + 1`
1620 ac_beg=$ac_end
1621 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1622 fi
1623done
1624if test -z "$ac_sed_cmds"; then
1625 ac_sed_cmds=cat
1626fi
1627EOF
1628
1629cat >> $CONFIG_STATUS <<EOF
1630
1631CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1632EOF
1633cat >> $CONFIG_STATUS <<\EOF
1634for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1635 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1636 case "$ac_file" in
1637 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1638 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1639 *) ac_file_in="${ac_file}.in" ;;
1640 esac
1641
1642 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1643
1644 # Remove last slash and all that follows it. Not all systems have dirname.
1645 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1646 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1647 # The file is in a subdirectory.
1648 test ! -d "$ac_dir" && mkdir "$ac_dir"
1649 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1650 # A "../" for each directory in $ac_dir_suffix.
1651 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1652 else
1653 ac_dir_suffix= ac_dots=
1654 fi
1655
1656 case "$ac_given_srcdir" in
1657 .) srcdir=.
1658 if test -z "$ac_dots"; then top_srcdir=.
1659 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1660 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1661 *) # Relative path.
1662 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1663 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1664 esac
1665
1666 case "$ac_given_INSTALL" in
1667 [/$]*) INSTALL="$ac_given_INSTALL" ;;
1668 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
1669 esac
1670
1671 echo creating "$ac_file"
1672 rm -f "$ac_file"
1673 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1674 case "$ac_file" in
1675 *Makefile*) ac_comsub="1i\\
1676# $configure_input" ;;
1677 *) ac_comsub= ;;
1678 esac
1679
1680 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1681 sed -e "$ac_comsub
1682s%@configure_input@%$configure_input%g
1683s%@srcdir@%$srcdir%g
1684s%@top_srcdir@%$top_srcdir%g
1685s%@INSTALL@%$INSTALL%g
1686" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1687fi; done
1688rm -f conftest.s*
1689
1690EOF
1691cat >> $CONFIG_STATUS <<EOF
1692
1693EOF
1694cat >> $CONFIG_STATUS <<\EOF
1695
1696exit 0
1697EOF
1698chmod +x $CONFIG_STATUS
1699rm -fr confdefs* $ac_clean_files
1700test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
1701
This page took 0.216565 seconds and 5 git commands to generate.