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