2 |
- |
1 |
#! /bin/sh
|
|
|
2 |
|
|
|
3 |
# Guess values for system-dependent variables and create Makefiles.
|
|
|
4 |
# Generated automatically using autoconf version 2.12
|
|
|
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 |
|
|
|
15 |
# Initialize some variables set by options.
|
|
|
16 |
# The variables have the same names as the options, with
|
|
|
17 |
# dashes changed to underlines.
|
|
|
18 |
build=NONE
|
|
|
19 |
cache_file=./config.cache
|
|
|
20 |
exec_prefix=NONE
|
|
|
21 |
host=NONE
|
|
|
22 |
no_create=
|
|
|
23 |
nonopt=NONE
|
|
|
24 |
no_recursion=
|
|
|
25 |
prefix=NONE
|
|
|
26 |
program_prefix=NONE
|
|
|
27 |
program_suffix=NONE
|
|
|
28 |
program_transform_name=s,x,x,
|
|
|
29 |
silent=
|
|
|
30 |
site=
|
|
|
31 |
srcdir=
|
|
|
32 |
target=NONE
|
|
|
33 |
verbose=
|
|
|
34 |
x_includes=NONE
|
|
|
35 |
x_libraries=NONE
|
|
|
36 |
bindir='${exec_prefix}/bin'
|
|
|
37 |
sbindir='${exec_prefix}/sbin'
|
|
|
38 |
libexecdir='${exec_prefix}/libexec'
|
|
|
39 |
datadir='${prefix}/share'
|
|
|
40 |
sysconfdir='${prefix}/etc'
|
|
|
41 |
sharedstatedir='${prefix}/com'
|
|
|
42 |
localstatedir='${prefix}/var'
|
|
|
43 |
libdir='${exec_prefix}/lib'
|
|
|
44 |
includedir='${prefix}/include'
|
|
|
45 |
oldincludedir='/usr/include'
|
|
|
46 |
infodir='${prefix}/info'
|
|
|
47 |
mandir='${prefix}/man'
|
|
|
48 |
|
|
|
49 |
# Initialize some other variables.
|
|
|
50 |
subdirs=
|
|
|
51 |
MFLAGS= MAKEFLAGS=
|
|
|
52 |
# Maximum number of lines to put in a shell here document.
|
|
|
53 |
ac_max_here_lines=12
|
|
|
54 |
|
|
|
55 |
ac_prev=
|
|
|
56 |
for ac_option
|
|
|
57 |
do
|
|
|
58 |
|
|
|
59 |
# If the previous option needs an argument, assign it.
|
|
|
60 |
if test -n "$ac_prev"; then
|
|
|
61 |
eval "$ac_prev=\$ac_option"
|
|
|
62 |
ac_prev=
|
|
|
63 |
continue
|
|
|
64 |
fi
|
|
|
65 |
|
|
|
66 |
case "$ac_option" in
|
|
|
67 |
-*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
|
|
|
68 |
*) ac_optarg= ;;
|
|
|
69 |
esac
|
|
|
70 |
|
|
|
71 |
# Accept the important Cygnus configure options, so we can diagnose typos.
|
|
|
72 |
|
|
|
73 |
case "$ac_option" in
|
|
|
74 |
|
|
|
75 |
-bindir | --bindir | --bindi | --bind | --bin | --bi)
|
|
|
76 |
ac_prev=bindir ;;
|
|
|
77 |
-bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
|
|
|
78 |
bindir="$ac_optarg" ;;
|
|
|
79 |
|
|
|
80 |
-build | --build | --buil | --bui | --bu)
|
|
|
81 |
ac_prev=build ;;
|
|
|
82 |
-build=* | --build=* | --buil=* | --bui=* | --bu=*)
|
|
|
83 |
build="$ac_optarg" ;;
|
|
|
84 |
|
|
|
85 |
-cache-file | --cache-file | --cache-fil | --cache-fi \
|
|
|
86 |
| --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
|
|
|
87 |
ac_prev=cache_file ;;
|
|
|
88 |
-cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
|
|
|
89 |
| --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
|
|
|
90 |
cache_file="$ac_optarg" ;;
|
|
|
91 |
|
|
|
92 |
-datadir | --datadir | --datadi | --datad | --data | --dat | --da)
|
|
|
93 |
ac_prev=datadir ;;
|
|
|
94 |
-datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
|
|
|
95 |
| --da=*)
|
|
|
96 |
datadir="$ac_optarg" ;;
|
|
|
97 |
|
|
|
98 |
-disable-* | --disable-*)
|
|
|
99 |
ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
|
|
|
100 |
# Reject names that are not valid shell variable names.
|
|
|
101 |
if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
|
|
|
102 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
|
|
|
103 |
fi
|
|
|
104 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
|
|
|
105 |
eval "enable_${ac_feature}=no" ;;
|
|
|
106 |
|
|
|
107 |
-enable-* | --enable-*)
|
|
|
108 |
ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
|
|
|
109 |
# Reject names that are not valid shell variable names.
|
|
|
110 |
if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
|
|
|
111 |
{ echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
|
|
|
112 |
fi
|
|
|
113 |
ac_feature=`echo $ac_feature| sed 's/-/_/g'`
|
|
|
114 |
case "$ac_option" in
|
|
|
115 |
*=*) ;;
|
|
|
116 |
*) ac_optarg=yes ;;
|
|
|
117 |
esac
|
|
|
118 |
eval "enable_${ac_feature}='$ac_optarg'" ;;
|
|
|
119 |
|
|
|
120 |
-exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
|
|
|
121 |
| --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
|
|
|
122 |
| --exec | --exe | --ex)
|
|
|
123 |
ac_prev=exec_prefix ;;
|
|
|
124 |
-exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
|
|
|
125 |
| --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
|
|
|
126 |
| --exec=* | --exe=* | --ex=*)
|
|
|
127 |
exec_prefix="$ac_optarg" ;;
|
|
|
128 |
|
|
|
129 |
-gas | --gas | --ga | --g)
|
|
|
130 |
# Obsolete; use --with-gas.
|
|
|
131 |
with_gas=yes ;;
|
|
|
132 |
|
|
|
133 |
-help | --help | --hel | --he)
|
|
|
134 |
# Omit some internal or obsolete options to make the list less imposing.
|
|
|
135 |
# This message is too long to be a string in the A/UX 3.1 sh.
|
|
|
136 |
cat << EOF
|
|
|
137 |
Usage: configure [options] [host]
|
|
|
138 |
Options: [defaults in brackets after descriptions]
|
|
|
139 |
Configuration:
|
|
|
140 |
--cache-file=FILE cache test results in FILE
|
|
|
141 |
--help print this message
|
|
|
142 |
--no-create do not create output files
|
|
|
143 |
--quiet, --silent do not print \`checking...' messages
|
|
|
144 |
--version print the version of autoconf that created configure
|
|
|
145 |
Directory and file names:
|
|
|
146 |
--prefix=PREFIX install architecture-independent files in PREFIX
|
|
|
147 |
[$ac_default_prefix]
|
|
|
148 |
--exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
|
|
|
149 |
[same as prefix]
|
|
|
150 |
--bindir=DIR user executables in DIR [EPREFIX/bin]
|
|
|
151 |
--sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
|
|
|
152 |
--libexecdir=DIR program executables in DIR [EPREFIX/libexec]
|
|
|
153 |
--datadir=DIR read-only architecture-independent data in DIR
|
|
|
154 |
[PREFIX/share]
|
|
|
155 |
--sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
|
|
|
156 |
--sharedstatedir=DIR modifiable architecture-independent data in DIR
|
|
|
157 |
[PREFIX/com]
|
|
|
158 |
--localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
|
|
|
159 |
--libdir=DIR object code libraries in DIR [EPREFIX/lib]
|
|
|
160 |
--includedir=DIR C header files in DIR [PREFIX/include]
|
|
|
161 |
--oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
|
|
|
162 |
--infodir=DIR info documentation in DIR [PREFIX/info]
|
|
|
163 |
--mandir=DIR man documentation in DIR [PREFIX/man]
|
|
|
164 |
--srcdir=DIR find the sources in DIR [configure dir or ..]
|
|
|
165 |
--program-prefix=PREFIX prepend PREFIX to installed program names
|
|
|
166 |
--program-suffix=SUFFIX append SUFFIX to installed program names
|
|
|
167 |
--program-transform-name=PROGRAM
|
|
|
168 |
run sed PROGRAM on installed program names
|
|
|
169 |
EOF
|
|
|
170 |
cat << EOF
|
|
|
171 |
Host type:
|
|
|
172 |
--build=BUILD configure for building on BUILD [BUILD=HOST]
|
|
|
173 |
--host=HOST configure for HOST [guessed]
|
|
|
174 |
--target=TARGET configure for TARGET [TARGET=HOST]
|
|
|
175 |
Features and packages:
|
|
|
176 |
--disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
|
|
|
177 |
--enable-FEATURE[=ARG] include FEATURE [ARG=yes]
|
|
|
178 |
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
|
|
|
179 |
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
|
|
|
180 |
--x-includes=DIR X include files are in DIR
|
|
|
181 |
--x-libraries=DIR X library files are in DIR
|
|
|
182 |
EOF
|
|
|
183 |
if test -n "$ac_help"; then
|
|
|
184 |
echo "--enable and --with options recognized:$ac_help"
|
|
|
185 |
fi
|
|
|
186 |
exit 0 ;;
|
|
|
187 |
|
|
|
188 |
-host | --host | --hos | --ho)
|
|
|
189 |
ac_prev=host ;;
|
|
|
190 |
-host=* | --host=* | --hos=* | --ho=*)
|
|
|
191 |
host="$ac_optarg" ;;
|
|
|
192 |
|
|
|
193 |
-includedir | --includedir | --includedi | --included | --include \
|
|
|
194 |
| --includ | --inclu | --incl | --inc)
|
|
|
195 |
ac_prev=includedir ;;
|
|
|
196 |
-includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
|
|
|
197 |
| --includ=* | --inclu=* | --incl=* | --inc=*)
|
|
|
198 |
includedir="$ac_optarg" ;;
|
|
|
199 |
|
|
|
200 |
-infodir | --infodir | --infodi | --infod | --info | --inf)
|
|
|
201 |
ac_prev=infodir ;;
|
|
|
202 |
-infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
|
|
|
203 |
infodir="$ac_optarg" ;;
|
|
|
204 |
|
|
|
205 |
-libdir | --libdir | --libdi | --libd)
|
|
|
206 |
ac_prev=libdir ;;
|
|
|
207 |
-libdir=* | --libdir=* | --libdi=* | --libd=*)
|
|
|
208 |
libdir="$ac_optarg" ;;
|
|
|
209 |
|
|
|
210 |
-libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
|
|
|
211 |
| --libexe | --libex | --libe)
|
|
|
212 |
ac_prev=libexecdir ;;
|
|
|
213 |
-libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
|
|
|
214 |
| --libexe=* | --libex=* | --libe=*)
|
|
|
215 |
libexecdir="$ac_optarg" ;;
|
|
|
216 |
|
|
|
217 |
-localstatedir | --localstatedir | --localstatedi | --localstated \
|
|
|
218 |
| --localstate | --localstat | --localsta | --localst \
|
|
|
219 |
| --locals | --local | --loca | --loc | --lo)
|
|
|
220 |
ac_prev=localstatedir ;;
|
|
|
221 |
-localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
|
|
|
222 |
| --localstate=* | --localstat=* | --localsta=* | --localst=* \
|
|
|
223 |
| --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
|
|
|
224 |
localstatedir="$ac_optarg" ;;
|
|
|
225 |
|
|
|
226 |
-mandir | --mandir | --mandi | --mand | --man | --ma | --m)
|
|
|
227 |
ac_prev=mandir ;;
|
|
|
228 |
-mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
|
|
|
229 |
mandir="$ac_optarg" ;;
|
|
|
230 |
|
|
|
231 |
-nfp | --nfp | --nf)
|
|
|
232 |
# Obsolete; use --without-fp.
|
|
|
233 |
with_fp=no ;;
|
|
|
234 |
|
|
|
235 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|
|
236 |
| --no-cr | --no-c)
|
|
|
237 |
no_create=yes ;;
|
|
|
238 |
|
|
|
239 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|
|
240 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
|
|
|
241 |
no_recursion=yes ;;
|
|
|
242 |
|
|
|
243 |
-oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
|
|
|
244 |
| --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
|
|
|
245 |
| --oldin | --oldi | --old | --ol | --o)
|
|
|
246 |
ac_prev=oldincludedir ;;
|
|
|
247 |
-oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
|
|
|
248 |
| --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
|
|
|
249 |
| --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
|
|
|
250 |
oldincludedir="$ac_optarg" ;;
|
|
|
251 |
|
|
|
252 |
-prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
|
|
|
253 |
ac_prev=prefix ;;
|
|
|
254 |
-prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
|
|
|
255 |
prefix="$ac_optarg" ;;
|
|
|
256 |
|
|
|
257 |
-program-prefix | --program-prefix | --program-prefi | --program-pref \
|
|
|
258 |
| --program-pre | --program-pr | --program-p)
|
|
|
259 |
ac_prev=program_prefix ;;
|
|
|
260 |
-program-prefix=* | --program-prefix=* | --program-prefi=* \
|
|
|
261 |
| --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
|
|
|
262 |
program_prefix="$ac_optarg" ;;
|
|
|
263 |
|
|
|
264 |
-program-suffix | --program-suffix | --program-suffi | --program-suff \
|
|
|
265 |
| --program-suf | --program-su | --program-s)
|
|
|
266 |
ac_prev=program_suffix ;;
|
|
|
267 |
-program-suffix=* | --program-suffix=* | --program-suffi=* \
|
|
|
268 |
| --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
|
|
|
269 |
program_suffix="$ac_optarg" ;;
|
|
|
270 |
|
|
|
271 |
-program-transform-name | --program-transform-name \
|
|
|
272 |
| --program-transform-nam | --program-transform-na \
|
|
|
273 |
| --program-transform-n | --program-transform- \
|
|
|
274 |
| --program-transform | --program-transfor \
|
|
|
275 |
| --program-transfo | --program-transf \
|
|
|
276 |
| --program-trans | --program-tran \
|
|
|
277 |
| --progr-tra | --program-tr | --program-t)
|
|
|
278 |
ac_prev=program_transform_name ;;
|
|
|
279 |
-program-transform-name=* | --program-transform-name=* \
|
|
|
280 |
| --program-transform-nam=* | --program-transform-na=* \
|
|
|
281 |
| --program-transform-n=* | --program-transform-=* \
|
|
|
282 |
| --program-transform=* | --program-transfor=* \
|
|
|
283 |
| --program-transfo=* | --program-transf=* \
|
|
|
284 |
| --program-trans=* | --program-tran=* \
|
|
|
285 |
| --progr-tra=* | --program-tr=* | --program-t=*)
|
|
|
286 |
program_transform_name="$ac_optarg" ;;
|
|
|
287 |
|
|
|
288 |
-q | -quiet | --quiet | --quie | --qui | --qu | --q \
|
|
|
289 |
| -silent | --silent | --silen | --sile | --sil)
|
|
|
290 |
silent=yes ;;
|
|
|
291 |
|
|
|
292 |
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
|
|
|
293 |
ac_prev=sbindir ;;
|
|
|
294 |
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
|
|
|
295 |
| --sbi=* | --sb=*)
|
|
|
296 |
sbindir="$ac_optarg" ;;
|
|
|
297 |
|
|
|
298 |
-sharedstatedir | --sharedstatedir | --sharedstatedi \
|
|
|
299 |
| --sharedstated | --sharedstate | --sharedstat | --sharedsta \
|
|
|
300 |
| --sharedst | --shareds | --shared | --share | --shar \
|
|
|
301 |
| --sha | --sh)
|
|
|
302 |
ac_prev=sharedstatedir ;;
|
|
|
303 |
-sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
|
|
|
304 |
| --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
|
|
|
305 |
| --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
|
|
|
306 |
| --sha=* | --sh=*)
|
|
|
307 |
sharedstatedir="$ac_optarg" ;;
|
|
|
308 |
|
|
|
309 |
-site | --site | --sit)
|
|
|
310 |
ac_prev=site ;;
|
|
|
311 |
-site=* | --site=* | --sit=*)
|
|
|
312 |
site="$ac_optarg" ;;
|
|
|
313 |
|
|
|
314 |
-srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
|
|
|
315 |
ac_prev=srcdir ;;
|
|
|
316 |
-srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
|
|
|
317 |
srcdir="$ac_optarg" ;;
|
|
|
318 |
|
|
|
319 |
-sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
|
|
|
320 |
| --syscon | --sysco | --sysc | --sys | --sy)
|
|
|
321 |
ac_prev=sysconfdir ;;
|
|
|
322 |
-sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
|
|
|
323 |
| --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
|
|
|
324 |
sysconfdir="$ac_optarg" ;;
|
|
|
325 |
|
|
|
326 |
-target | --target | --targe | --targ | --tar | --ta | --t)
|
|
|
327 |
ac_prev=target ;;
|
|
|
328 |
-target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
|
|
|
329 |
target="$ac_optarg" ;;
|
|
|
330 |
|
|
|
331 |
-v | -verbose | --verbose | --verbos | --verbo | --verb)
|
|
|
332 |
verbose=yes ;;
|
|
|
333 |
|
|
|
334 |
-version | --version | --versio | --versi | --vers)
|
|
|
335 |
echo "configure generated by autoconf version 2.12"
|
|
|
336 |
exit 0 ;;
|
|
|
337 |
|
|
|
338 |
-with-* | --with-*)
|
|
|
339 |
ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
|
|
|
340 |
# Reject names that are not valid shell variable names.
|
|
|
341 |
if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
|
|
|
342 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
|
|
|
343 |
fi
|
|
|
344 |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
|
|
345 |
case "$ac_option" in
|
|
|
346 |
*=*) ;;
|
|
|
347 |
*) ac_optarg=yes ;;
|
|
|
348 |
esac
|
|
|
349 |
eval "with_${ac_package}='$ac_optarg'" ;;
|
|
|
350 |
|
|
|
351 |
-without-* | --without-*)
|
|
|
352 |
ac_package=`echo $ac_option|sed -e 's/-*without-//'`
|
|
|
353 |
# Reject names that are not valid shell variable names.
|
|
|
354 |
if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
|
|
|
355 |
{ echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
|
|
|
356 |
fi
|
|
|
357 |
ac_package=`echo $ac_package| sed 's/-/_/g'`
|
|
|
358 |
eval "with_${ac_package}=no" ;;
|
|
|
359 |
|
|
|
360 |
--x)
|
|
|
361 |
# Obsolete; use --with-x.
|
|
|
362 |
with_x=yes ;;
|
|
|
363 |
|
|
|
364 |
-x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
|
|
|
365 |
| --x-incl | --x-inc | --x-in | --x-i)
|
|
|
366 |
ac_prev=x_includes ;;
|
|
|
367 |
-x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
|
|
|
368 |
| --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
|
|
|
369 |
x_includes="$ac_optarg" ;;
|
|
|
370 |
|
|
|
371 |
-x-libraries | --x-libraries | --x-librarie | --x-librari \
|
|
|
372 |
| --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
|
|
|
373 |
ac_prev=x_libraries ;;
|
|
|
374 |
-x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
|
|
|
375 |
| --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
|
|
|
376 |
x_libraries="$ac_optarg" ;;
|
|
|
377 |
|
|
|
378 |
-*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
|
|
|
379 |
;;
|
|
|
380 |
|
|
|
381 |
*)
|
|
|
382 |
if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
|
|
|
383 |
echo "configure: warning: $ac_option: invalid host type" 1>&2
|
|
|
384 |
fi
|
|
|
385 |
if test "x$nonopt" != xNONE; then
|
|
|
386 |
{ echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
|
|
|
387 |
fi
|
|
|
388 |
nonopt="$ac_option"
|
|
|
389 |
;;
|
|
|
390 |
|
|
|
391 |
esac
|
|
|
392 |
done
|
|
|
393 |
|
|
|
394 |
if test -n "$ac_prev"; then
|
|
|
395 |
{ echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
|
|
|
396 |
fi
|
|
|
397 |
|
|
|
398 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
|
|
|
399 |
|
|
|
400 |
# File descriptor usage:
|
|
|
401 |
# 0 standard input
|
|
|
402 |
# 1 file creation
|
|
|
403 |
# 2 errors and warnings
|
|
|
404 |
# 3 some systems may open it to /dev/tty
|
|
|
405 |
# 4 used on the Kubota Titan
|
|
|
406 |
# 6 checking for... messages and results
|
|
|
407 |
# 5 compiler messages saved in config.log
|
|
|
408 |
if test "$silent" = yes; then
|
|
|
409 |
exec 6>/dev/null
|
|
|
410 |
else
|
|
|
411 |
exec 6>&1
|
|
|
412 |
fi
|
|
|
413 |
exec 5>./config.log
|
|
|
414 |
|
|
|
415 |
echo "\
|
|
|
416 |
This file contains any messages produced by compilers while
|
|
|
417 |
running configure, to aid debugging if configure makes a mistake.
|
|
|
418 |
" 1>&5
|
|
|
419 |
|
|
|
420 |
# Strip out --no-create and --no-recursion so they do not pile up.
|
|
|
421 |
# Also quote any args containing shell metacharacters.
|
|
|
422 |
ac_configure_args=
|
|
|
423 |
for ac_arg
|
|
|
424 |
do
|
|
|
425 |
case "$ac_arg" in
|
|
|
426 |
-no-create | --no-create | --no-creat | --no-crea | --no-cre \
|
|
|
427 |
| --no-cr | --no-c) ;;
|
|
|
428 |
-no-recursion | --no-recursion | --no-recursio | --no-recursi \
|
|
|
429 |
| --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
|
|
|
430 |
*" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
|
|
|
431 |
ac_configure_args="$ac_configure_args '$ac_arg'" ;;
|
|
|
432 |
*) ac_configure_args="$ac_configure_args $ac_arg" ;;
|
|
|
433 |
esac
|
|
|
434 |
done
|
|
|
435 |
|
|
|
436 |
# NLS nuisances.
|
|
|
437 |
# Only set these to C if already set. These must not be set unconditionally
|
|
|
438 |
# because not all systems understand e.g. LANG=C (notably SCO).
|
|
|
439 |
# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
|
|
|
440 |
# Non-C LC_CTYPE values break the ctype check.
|
|
|
441 |
if test "${LANG+set}" = set; then LANG=C; export LANG; fi
|
|
|
442 |
if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
|
|
|
443 |
if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
|
|
|
444 |
if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
|
|
|
445 |
|
|
|
446 |
# confdefs.h avoids OS command line length limits that DEFS can exceed.
|
|
|
447 |
rm -rf conftest* confdefs.h
|
|
|
448 |
# AIX cpp loses on an empty file, so make sure it contains at least a newline.
|
|
|
449 |
echo > confdefs.h
|
|
|
450 |
|
|
|
451 |
# A filename unique to this package, relative to the directory that
|
|
|
452 |
# configure is in, which we can look for to find out if srcdir is correct.
|
|
|
453 |
ac_unique_file=patch.c
|
|
|
454 |
|
|
|
455 |
# Find the source files, if location was not specified.
|
|
|
456 |
if test -z "$srcdir"; then
|
|
|
457 |
ac_srcdir_defaulted=yes
|
|
|
458 |
# Try the directory containing this script, then its parent.
|
|
|
459 |
ac_prog=$0
|
|
|
460 |
ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
|
|
|
461 |
test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
|
|
|
462 |
srcdir=$ac_confdir
|
|
|
463 |
if test ! -r $srcdir/$ac_unique_file; then
|
|
|
464 |
srcdir=..
|
|
|
465 |
fi
|
|
|
466 |
else
|
|
|
467 |
ac_srcdir_defaulted=no
|
|
|
468 |
fi
|
|
|
469 |
if test ! -r $srcdir/$ac_unique_file; then
|
|
|
470 |
if test "$ac_srcdir_defaulted" = yes; then
|
|
|
471 |
{ echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
|
|
|
472 |
else
|
|
|
473 |
{ echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
|
|
|
474 |
fi
|
|
|
475 |
fi
|
|
|
476 |
srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
|
|
|
477 |
|
|
|
478 |
# Prefer explicitly selected file to automatically selected ones.
|
|
|
479 |
if test -z "$CONFIG_SITE"; then
|
|
|
480 |
if test "x$prefix" != xNONE; then
|
|
|
481 |
CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
|
|
|
482 |
else
|
|
|
483 |
CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
|
|
|
484 |
fi
|
|
|
485 |
fi
|
|
|
486 |
for ac_site_file in $CONFIG_SITE; do
|
|
|
487 |
if test -r "$ac_site_file"; then
|
|
|
488 |
echo "loading site script $ac_site_file"
|
|
|
489 |
. "$ac_site_file"
|
|
|
490 |
fi
|
|
|
491 |
done
|
|
|
492 |
|
|
|
493 |
if test -r "$cache_file"; then
|
|
|
494 |
echo "loading cache $cache_file"
|
|
|
495 |
. $cache_file
|
|
|
496 |
else
|
|
|
497 |
echo "creating cache $cache_file"
|
|
|
498 |
> $cache_file
|
|
|
499 |
fi
|
|
|
500 |
|
|
|
501 |
ac_ext=c
|
|
|
502 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
503 |
ac_cpp='$CPP $CPPFLAGS'
|
|
|
504 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
505 |
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
506 |
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
507 |
|
|
|
508 |
if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
|
|
|
509 |
# Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
|
|
|
510 |
if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
|
|
|
511 |
ac_n= ac_c='
|
|
|
512 |
' ac_t=' '
|
|
|
513 |
else
|
|
|
514 |
ac_n=-n ac_c= ac_t=
|
|
|
515 |
fi
|
|
|
516 |
else
|
|
|
517 |
ac_n= ac_c='\c' ac_t=
|
|
|
518 |
fi
|
|
|
519 |
|
|
|
520 |
|
|
|
521 |
|
|
|
522 |
if test "$program_transform_name" = s,x,x,; then
|
|
|
523 |
program_transform_name=
|
|
|
524 |
else
|
|
|
525 |
# Double any \ or $. echo might interpret backslashes.
|
|
|
526 |
cat <<\EOF_SED > conftestsed
|
|
|
527 |
s,\\,\\\\,g; s,\$,$$,g
|
|
|
528 |
EOF_SED
|
|
|
529 |
program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
|
|
|
530 |
rm -f conftestsed
|
|
|
531 |
fi
|
|
|
532 |
test "$program_prefix" != NONE &&
|
|
|
533 |
program_transform_name="s,^,${program_prefix},; $program_transform_name"
|
|
|
534 |
# Use a double $ so make ignores it.
|
|
|
535 |
test "$program_suffix" != NONE &&
|
|
|
536 |
program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
|
|
|
537 |
|
|
|
538 |
# sed with no file args requires a program.
|
|
|
539 |
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
|
|
|
540 |
|
|
|
541 |
|
|
|
542 |
PACKAGE=patch
|
|
|
543 |
VERSION=2.5
|
|
|
544 |
|
|
|
545 |
|
|
|
546 |
|
|
|
547 |
# Extract the first word of "gcc", so it can be a program name with args.
|
|
|
548 |
set dummy gcc; ac_word=$2
|
|
|
549 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
550 |
echo "configure:551: checking for $ac_word" >&5
|
|
|
551 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
552 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
553 |
else
|
|
|
554 |
if test -n "$CC"; then
|
|
|
555 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
|
556 |
else
|
|
|
557 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
|
|
558 |
for ac_dir in $PATH; do
|
|
|
559 |
test -z "$ac_dir" && ac_dir=.
|
|
|
560 |
if test -f $ac_dir/$ac_word; then
|
|
|
561 |
ac_cv_prog_CC="gcc"
|
|
|
562 |
break
|
|
|
563 |
fi
|
|
|
564 |
done
|
|
|
565 |
IFS="$ac_save_ifs"
|
|
|
566 |
fi
|
|
|
567 |
fi
|
|
|
568 |
CC="$ac_cv_prog_CC"
|
|
|
569 |
if test -n "$CC"; then
|
|
|
570 |
echo "$ac_t""$CC" 1>&6
|
|
|
571 |
else
|
|
|
572 |
echo "$ac_t""no" 1>&6
|
|
|
573 |
fi
|
|
|
574 |
|
|
|
575 |
if test -z "$CC"; then
|
|
|
576 |
# Extract the first word of "cc", so it can be a program name with args.
|
|
|
577 |
set dummy cc; ac_word=$2
|
|
|
578 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
579 |
echo "configure:580: checking for $ac_word" >&5
|
|
|
580 |
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
|
|
|
581 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
582 |
else
|
|
|
583 |
if test -n "$CC"; then
|
|
|
584 |
ac_cv_prog_CC="$CC" # Let the user override the test.
|
|
|
585 |
else
|
|
|
586 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
|
|
587 |
ac_prog_rejected=no
|
|
|
588 |
for ac_dir in $PATH; do
|
|
|
589 |
test -z "$ac_dir" && ac_dir=.
|
|
|
590 |
if test -f $ac_dir/$ac_word; then
|
|
|
591 |
if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
|
|
|
592 |
ac_prog_rejected=yes
|
|
|
593 |
continue
|
|
|
594 |
fi
|
|
|
595 |
ac_cv_prog_CC="cc"
|
|
|
596 |
break
|
|
|
597 |
fi
|
|
|
598 |
done
|
|
|
599 |
IFS="$ac_save_ifs"
|
|
|
600 |
if test $ac_prog_rejected = yes; then
|
|
|
601 |
# We found a bogon in the path, so make sure we never use it.
|
|
|
602 |
set dummy $ac_cv_prog_CC
|
|
|
603 |
shift
|
|
|
604 |
if test $# -gt 0; then
|
|
|
605 |
# We chose a different compiler from the bogus one.
|
|
|
606 |
# However, it has the same basename, so the bogon will be chosen
|
|
|
607 |
# first if we set CC to just the basename; use the full file name.
|
|
|
608 |
shift
|
|
|
609 |
set dummy "$ac_dir/$ac_word" "$@"
|
|
|
610 |
shift
|
|
|
611 |
ac_cv_prog_CC="$@"
|
|
|
612 |
fi
|
|
|
613 |
fi
|
|
|
614 |
fi
|
|
|
615 |
fi
|
|
|
616 |
CC="$ac_cv_prog_CC"
|
|
|
617 |
if test -n "$CC"; then
|
|
|
618 |
echo "$ac_t""$CC" 1>&6
|
|
|
619 |
else
|
|
|
620 |
echo "$ac_t""no" 1>&6
|
|
|
621 |
fi
|
|
|
622 |
|
|
|
623 |
test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
|
|
|
624 |
fi
|
|
|
625 |
|
|
|
626 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
|
|
|
627 |
echo "configure:628: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
|
|
|
628 |
|
|
|
629 |
ac_ext=c
|
|
|
630 |
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
|
|
|
631 |
ac_cpp='$CPP $CPPFLAGS'
|
|
|
632 |
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
|
|
|
633 |
ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
|
|
|
634 |
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
635 |
|
|
|
636 |
cat > conftest.$ac_ext <<EOF
|
|
|
637 |
#line 638 "configure"
|
|
|
638 |
#include "confdefs.h"
|
|
|
639 |
main(){return(0);}
|
|
|
640 |
EOF
|
|
|
641 |
if { (eval echo configure:642: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
642 |
ac_cv_prog_cc_works=yes
|
|
|
643 |
# If we can't run a trivial program, we are probably using a cross compiler.
|
|
|
644 |
if (./conftest; exit) 2>/dev/null; then
|
|
|
645 |
ac_cv_prog_cc_cross=no
|
|
|
646 |
else
|
|
|
647 |
ac_cv_prog_cc_cross=yes
|
|
|
648 |
fi
|
|
|
649 |
else
|
|
|
650 |
echo "configure: failed program was:" >&5
|
|
|
651 |
cat conftest.$ac_ext >&5
|
|
|
652 |
ac_cv_prog_cc_works=no
|
|
|
653 |
fi
|
|
|
654 |
rm -fr conftest*
|
|
|
655 |
|
|
|
656 |
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
|
|
|
657 |
if test $ac_cv_prog_cc_works = no; then
|
|
|
658 |
{ echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
|
|
|
659 |
fi
|
|
|
660 |
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
|
|
|
661 |
echo "configure:662: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
|
|
|
662 |
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
|
|
|
663 |
cross_compiling=$ac_cv_prog_cc_cross
|
|
|
664 |
|
|
|
665 |
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
|
|
|
666 |
echo "configure:667: checking whether we are using GNU C" >&5
|
|
|
667 |
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
|
|
|
668 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
669 |
else
|
|
|
670 |
cat > conftest.c <<EOF
|
|
|
671 |
#ifdef __GNUC__
|
|
|
672 |
yes;
|
|
|
673 |
#endif
|
|
|
674 |
EOF
|
|
|
675 |
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:676: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
|
|
|
676 |
ac_cv_prog_gcc=yes
|
|
|
677 |
else
|
|
|
678 |
ac_cv_prog_gcc=no
|
|
|
679 |
fi
|
|
|
680 |
fi
|
|
|
681 |
|
|
|
682 |
echo "$ac_t""$ac_cv_prog_gcc" 1>&6
|
|
|
683 |
|
|
|
684 |
if test $ac_cv_prog_gcc = yes; then
|
|
|
685 |
GCC=yes
|
|
|
686 |
ac_test_CFLAGS="${CFLAGS+set}"
|
|
|
687 |
ac_save_CFLAGS="$CFLAGS"
|
|
|
688 |
CFLAGS=
|
|
|
689 |
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
|
|
|
690 |
echo "configure:691: checking whether ${CC-cc} accepts -g" >&5
|
|
|
691 |
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
|
|
|
692 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
693 |
else
|
|
|
694 |
echo 'void f(){}' > conftest.c
|
|
|
695 |
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
|
|
|
696 |
ac_cv_prog_cc_g=yes
|
|
|
697 |
else
|
|
|
698 |
ac_cv_prog_cc_g=no
|
|
|
699 |
fi
|
|
|
700 |
rm -f conftest*
|
|
|
701 |
|
|
|
702 |
fi
|
|
|
703 |
|
|
|
704 |
echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
|
|
|
705 |
if test "$ac_test_CFLAGS" = set; then
|
|
|
706 |
CFLAGS="$ac_save_CFLAGS"
|
|
|
707 |
elif test $ac_cv_prog_cc_g = yes; then
|
|
|
708 |
CFLAGS="-g -O2"
|
|
|
709 |
else
|
|
|
710 |
CFLAGS="-O2"
|
|
|
711 |
fi
|
|
|
712 |
else
|
|
|
713 |
GCC=
|
|
|
714 |
test "${CFLAGS+set}" = set || CFLAGS="-g"
|
|
|
715 |
fi
|
|
|
716 |
|
|
|
717 |
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
|
|
|
718 |
echo "configure:719: checking how to run the C preprocessor" >&5
|
|
|
719 |
# On Suns, sometimes $CPP names a directory.
|
|
|
720 |
if test -n "$CPP" && test -d "$CPP"; then
|
|
|
721 |
CPP=
|
|
|
722 |
fi
|
|
|
723 |
if test -z "$CPP"; then
|
|
|
724 |
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
|
|
|
725 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
726 |
else
|
|
|
727 |
# This must be in double quotes, not single quotes, because CPP may get
|
|
|
728 |
# substituted into the Makefile and "${CC-cc}" will confuse make.
|
|
|
729 |
CPP="${CC-cc} -E"
|
|
|
730 |
# On the NeXT, cc -E runs the code through the compiler's parser,
|
|
|
731 |
# not just through cpp.
|
|
|
732 |
cat > conftest.$ac_ext <<EOF
|
|
|
733 |
#line 734 "configure"
|
|
|
734 |
#include "confdefs.h"
|
|
|
735 |
#include <assert.h>
|
|
|
736 |
Syntax Error
|
|
|
737 |
EOF
|
|
|
738 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
739 |
{ (eval echo configure:740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
740 |
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
741 |
if test -z "$ac_err"; then
|
|
|
742 |
:
|
|
|
743 |
else
|
|
|
744 |
echo "$ac_err" >&5
|
|
|
745 |
echo "configure: failed program was:" >&5
|
|
|
746 |
cat conftest.$ac_ext >&5
|
|
|
747 |
rm -rf conftest*
|
|
|
748 |
CPP="${CC-cc} -E -traditional-cpp"
|
|
|
749 |
cat > conftest.$ac_ext <<EOF
|
|
|
750 |
#line 751 "configure"
|
|
|
751 |
#include "confdefs.h"
|
|
|
752 |
#include <assert.h>
|
|
|
753 |
Syntax Error
|
|
|
754 |
EOF
|
|
|
755 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
756 |
{ (eval echo configure:757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
757 |
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
758 |
if test -z "$ac_err"; then
|
|
|
759 |
:
|
|
|
760 |
else
|
|
|
761 |
echo "$ac_err" >&5
|
|
|
762 |
echo "configure: failed program was:" >&5
|
|
|
763 |
cat conftest.$ac_ext >&5
|
|
|
764 |
rm -rf conftest*
|
|
|
765 |
CPP=/lib/cpp
|
|
|
766 |
fi
|
|
|
767 |
rm -f conftest*
|
|
|
768 |
fi
|
|
|
769 |
rm -f conftest*
|
|
|
770 |
ac_cv_prog_CPP="$CPP"
|
|
|
771 |
fi
|
|
|
772 |
CPP="$ac_cv_prog_CPP"
|
|
|
773 |
else
|
|
|
774 |
ac_cv_prog_CPP="$CPP"
|
|
|
775 |
fi
|
|
|
776 |
echo "$ac_t""$CPP" 1>&6
|
|
|
777 |
|
|
|
778 |
ac_aux_dir=
|
|
|
779 |
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
|
|
|
780 |
if test -f $ac_dir/install-sh; then
|
|
|
781 |
ac_aux_dir=$ac_dir
|
|
|
782 |
ac_install_sh="$ac_aux_dir/install-sh -c"
|
|
|
783 |
break
|
|
|
784 |
elif test -f $ac_dir/install.sh; then
|
|
|
785 |
ac_aux_dir=$ac_dir
|
|
|
786 |
ac_install_sh="$ac_aux_dir/install.sh -c"
|
|
|
787 |
break
|
|
|
788 |
fi
|
|
|
789 |
done
|
|
|
790 |
if test -z "$ac_aux_dir"; then
|
|
|
791 |
{ echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
|
|
|
792 |
fi
|
|
|
793 |
ac_config_guess=$ac_aux_dir/config.guess
|
|
|
794 |
ac_config_sub=$ac_aux_dir/config.sub
|
|
|
795 |
ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
|
|
|
796 |
|
|
|
797 |
# Find a good install program. We prefer a C program (faster),
|
|
|
798 |
# so one script is as good as another. But avoid the broken or
|
|
|
799 |
# incompatible versions:
|
|
|
800 |
# SysV /etc/install, /usr/sbin/install
|
|
|
801 |
# SunOS /usr/etc/install
|
|
|
802 |
# IRIX /sbin/install
|
|
|
803 |
# AIX /bin/install
|
|
|
804 |
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
|
|
|
805 |
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
|
|
|
806 |
# ./install, which can be erroneously created by make from ./install.sh.
|
|
|
807 |
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
|
|
|
808 |
echo "configure:809: checking for a BSD compatible install" >&5
|
|
|
809 |
if test -z "$INSTALL"; then
|
|
|
810 |
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
|
|
|
811 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
812 |
else
|
|
|
813 |
IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:"
|
|
|
814 |
for ac_dir in $PATH; do
|
|
|
815 |
# Account for people who put trailing slashes in PATH elements.
|
|
|
816 |
case "$ac_dir/" in
|
|
|
817 |
/|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
|
|
|
818 |
*)
|
|
|
819 |
# OSF1 and SCO ODT 3.0 have their own names for install.
|
|
|
820 |
for ac_prog in ginstall installbsd scoinst install; do
|
|
|
821 |
if test -f $ac_dir/$ac_prog; then
|
|
|
822 |
if test $ac_prog = install &&
|
|
|
823 |
grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
|
|
|
824 |
# AIX install. It has an incompatible calling convention.
|
|
|
825 |
# OSF/1 installbsd also uses dspmsg, but is usable.
|
|
|
826 |
:
|
|
|
827 |
else
|
|
|
828 |
ac_cv_path_install="$ac_dir/$ac_prog -c"
|
|
|
829 |
break 2
|
|
|
830 |
fi
|
|
|
831 |
fi
|
|
|
832 |
done
|
|
|
833 |
;;
|
|
|
834 |
esac
|
|
|
835 |
done
|
|
|
836 |
IFS="$ac_save_IFS"
|
|
|
837 |
|
|
|
838 |
fi
|
|
|
839 |
if test "${ac_cv_path_install+set}" = set; then
|
|
|
840 |
INSTALL="$ac_cv_path_install"
|
|
|
841 |
else
|
|
|
842 |
# As a last resort, use the slow shell script. We don't cache a
|
|
|
843 |
# path for INSTALL within a source directory, because that will
|
|
|
844 |
# break other packages using the cache if that directory is
|
|
|
845 |
# removed, or if the path is relative.
|
|
|
846 |
INSTALL="$ac_install_sh"
|
|
|
847 |
fi
|
|
|
848 |
fi
|
|
|
849 |
echo "$ac_t""$INSTALL" 1>&6
|
|
|
850 |
|
|
|
851 |
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
|
|
|
852 |
# It thinks the first close brace ends the variable substitution.
|
|
|
853 |
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
|
|
|
854 |
|
|
|
855 |
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
|
|
|
856 |
|
|
|
857 |
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
|
|
|
858 |
echo "configure:859: checking whether ${MAKE-make} sets \${MAKE}" >&5
|
|
|
859 |
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
|
|
|
860 |
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
|
|
|
861 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
862 |
else
|
|
|
863 |
cat > conftestmake <<\EOF
|
|
|
864 |
all:
|
|
|
865 |
@echo 'ac_maketemp="${MAKE}"'
|
|
|
866 |
EOF
|
|
|
867 |
# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
|
|
|
868 |
eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
|
|
|
869 |
if test -n "$ac_maketemp"; then
|
|
|
870 |
eval ac_cv_prog_make_${ac_make}_set=yes
|
|
|
871 |
else
|
|
|
872 |
eval ac_cv_prog_make_${ac_make}_set=no
|
|
|
873 |
fi
|
|
|
874 |
rm -f conftestmake
|
|
|
875 |
fi
|
|
|
876 |
if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
|
|
|
877 |
echo "$ac_t""yes" 1>&6
|
|
|
878 |
SET_MAKE=
|
|
|
879 |
else
|
|
|
880 |
echo "$ac_t""no" 1>&6
|
|
|
881 |
SET_MAKE="MAKE=${MAKE-make}"
|
|
|
882 |
fi
|
|
|
883 |
|
|
|
884 |
# Use ed_PROGRAM, not ED_PROGRAM,
|
|
|
885 |
# because <errno.h> reserves symbols starting with `E'.
|
|
|
886 |
# Extract the first word of "ed", so it can be a program name with args.
|
|
|
887 |
set dummy ed; ac_word=$2
|
|
|
888 |
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
|
|
|
889 |
echo "configure:890: checking for $ac_word" >&5
|
|
|
890 |
if eval "test \"`echo '$''{'ac_cv_path_ed_PROGRAM'+set}'`\" = set"; then
|
|
|
891 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
892 |
else
|
|
|
893 |
case "$ed_PROGRAM" in
|
|
|
894 |
/*)
|
|
|
895 |
ac_cv_path_ed_PROGRAM="$ed_PROGRAM" # Let the user override the test with a path.
|
|
|
896 |
;;
|
|
|
897 |
*)
|
|
|
898 |
IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
|
|
|
899 |
for ac_dir in $PATH; do
|
|
|
900 |
test -z "$ac_dir" && ac_dir=.
|
|
|
901 |
if test -f $ac_dir/$ac_word; then
|
|
|
902 |
ac_cv_path_ed_PROGRAM="$ac_dir/$ac_word"
|
|
|
903 |
break
|
|
|
904 |
fi
|
|
|
905 |
done
|
|
|
906 |
IFS="$ac_save_ifs"
|
|
|
907 |
test -z "$ac_cv_path_ed_PROGRAM" && ac_cv_path_ed_PROGRAM="ed"
|
|
|
908 |
;;
|
|
|
909 |
esac
|
|
|
910 |
fi
|
|
|
911 |
ed_PROGRAM="$ac_cv_path_ed_PROGRAM"
|
|
|
912 |
if test -n "$ed_PROGRAM"; then
|
|
|
913 |
echo "$ac_t""$ed_PROGRAM" 1>&6
|
|
|
914 |
else
|
|
|
915 |
echo "$ac_t""no" 1>&6
|
|
|
916 |
fi
|
|
|
917 |
|
|
|
918 |
|
|
|
919 |
# If available, prefer support for large files unless the user specified
|
|
|
920 |
# one of the CPPFLAGS, LDFLAGS, or LIBS variables.
|
|
|
921 |
echo $ac_n "checking whether large file support needs explicit enabling""... $ac_c" 1>&6
|
|
|
922 |
echo "configure:923: checking whether large file support needs explicit enabling" >&5
|
|
|
923 |
ac_getconfs=''
|
|
|
924 |
ac_result=yes
|
|
|
925 |
ac_set=''
|
|
|
926 |
ac_shellvars='CPPFLAGS LDFLAGS LIBS'
|
|
|
927 |
for ac_shellvar in $ac_shellvars; do
|
|
|
928 |
case $ac_shellvar in
|
|
|
929 |
CPPFLAGS) ac_lfsvar=LFS_CFLAGS ;;
|
|
|
930 |
*) ac_lfsvar=LFS_$ac_shellvar ;;
|
|
|
931 |
esac
|
|
|
932 |
eval test '"${'$ac_shellvar'+set}"' = set && ac_set=$ac_shellvar
|
|
|
933 |
(getconf $ac_lfsvar) >/dev/null 2>&1 || { ac_result=no; break; }
|
|
|
934 |
ac_getconf=`getconf $ac_lfsvar`
|
|
|
935 |
ac_getconfs=$ac_getconfs$ac_getconf
|
|
|
936 |
eval ac_test_$ac_shellvar=\$ac_getconf
|
|
|
937 |
done
|
|
|
938 |
case "$ac_result$ac_getconfs" in
|
|
|
939 |
yes) ac_result=no ;;
|
|
|
940 |
esac
|
|
|
941 |
case "$ac_result$ac_set" in
|
|
|
942 |
yes?*) ac_result="yes, but $ac_set is already set, so use its settings"
|
|
|
943 |
esac
|
|
|
944 |
echo "$ac_t""$ac_result" 1>&6
|
|
|
945 |
case $ac_result in
|
|
|
946 |
yes)
|
|
|
947 |
for ac_shellvar in $ac_shellvars; do
|
|
|
948 |
eval $ac_shellvar=\$ac_test_$ac_shellvar
|
|
|
949 |
done ;;
|
|
|
950 |
esac
|
|
|
951 |
|
|
|
952 |
echo $ac_n "checking for AIX""... $ac_c" 1>&6
|
|
|
953 |
echo "configure:954: checking for AIX" >&5
|
|
|
954 |
cat > conftest.$ac_ext <<EOF
|
|
|
955 |
#line 956 "configure"
|
|
|
956 |
#include "confdefs.h"
|
|
|
957 |
#ifdef _AIX
|
|
|
958 |
yes
|
|
|
959 |
#endif
|
|
|
960 |
|
|
|
961 |
EOF
|
|
|
962 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
963 |
egrep "yes" >/dev/null 2>&1; then
|
|
|
964 |
rm -rf conftest*
|
|
|
965 |
echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF
|
|
|
966 |
#define _ALL_SOURCE 1
|
|
|
967 |
EOF
|
|
|
968 |
|
|
|
969 |
else
|
|
|
970 |
rm -rf conftest*
|
|
|
971 |
echo "$ac_t""no" 1>&6
|
|
|
972 |
fi
|
|
|
973 |
rm -f conftest*
|
|
|
974 |
|
|
|
975 |
|
|
|
976 |
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
|
|
|
977 |
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
|
|
|
978 |
echo "configure:979: checking for minix/config.h" >&5
|
|
|
979 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
980 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
981 |
else
|
|
|
982 |
cat > conftest.$ac_ext <<EOF
|
|
|
983 |
#line 984 "configure"
|
|
|
984 |
#include "confdefs.h"
|
|
|
985 |
#include <minix/config.h>
|
|
|
986 |
EOF
|
|
|
987 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
988 |
{ (eval echo configure:989: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
989 |
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
990 |
if test -z "$ac_err"; then
|
|
|
991 |
rm -rf conftest*
|
|
|
992 |
eval "ac_cv_header_$ac_safe=yes"
|
|
|
993 |
else
|
|
|
994 |
echo "$ac_err" >&5
|
|
|
995 |
echo "configure: failed program was:" >&5
|
|
|
996 |
cat conftest.$ac_ext >&5
|
|
|
997 |
rm -rf conftest*
|
|
|
998 |
eval "ac_cv_header_$ac_safe=no"
|
|
|
999 |
fi
|
|
|
1000 |
rm -f conftest*
|
|
|
1001 |
fi
|
|
|
1002 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
|
1003 |
echo "$ac_t""yes" 1>&6
|
|
|
1004 |
MINIX=yes
|
|
|
1005 |
else
|
|
|
1006 |
echo "$ac_t""no" 1>&6
|
|
|
1007 |
MINIX=
|
|
|
1008 |
fi
|
|
|
1009 |
|
|
|
1010 |
if test "$MINIX" = yes; then
|
|
|
1011 |
cat >> confdefs.h <<\EOF
|
|
|
1012 |
#define _POSIX_SOURCE 1
|
|
|
1013 |
EOF
|
|
|
1014 |
|
|
|
1015 |
cat >> confdefs.h <<\EOF
|
|
|
1016 |
#define _POSIX_1_SOURCE 2
|
|
|
1017 |
EOF
|
|
|
1018 |
|
|
|
1019 |
cat >> confdefs.h <<\EOF
|
|
|
1020 |
#define _MINIX 1
|
|
|
1021 |
EOF
|
|
|
1022 |
|
|
|
1023 |
fi
|
|
|
1024 |
|
|
|
1025 |
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
|
|
|
1026 |
echo "configure:1027: checking for POSIXized ISC" >&5
|
|
|
1027 |
if test -d /etc/conf/kconfig.d &&
|
|
|
1028 |
grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
|
|
|
1029 |
then
|
|
|
1030 |
echo "$ac_t""yes" 1>&6
|
|
|
1031 |
ISC=yes # If later tests want to check for ISC.
|
|
|
1032 |
cat >> confdefs.h <<\EOF
|
|
|
1033 |
#define _POSIX_SOURCE 1
|
|
|
1034 |
EOF
|
|
|
1035 |
|
|
|
1036 |
if test "$GCC" = yes; then
|
|
|
1037 |
CC="$CC -posix"
|
|
|
1038 |
else
|
|
|
1039 |
CC="$CC -Xp"
|
|
|
1040 |
fi
|
|
|
1041 |
else
|
|
|
1042 |
echo "$ac_t""no" 1>&6
|
|
|
1043 |
ISC=
|
|
|
1044 |
fi
|
|
|
1045 |
|
|
|
1046 |
|
|
|
1047 |
echo $ac_n "checking for working const""... $ac_c" 1>&6
|
|
|
1048 |
echo "configure:1049: checking for working const" >&5
|
|
|
1049 |
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
|
|
|
1050 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1051 |
else
|
|
|
1052 |
cat > conftest.$ac_ext <<EOF
|
|
|
1053 |
#line 1054 "configure"
|
|
|
1054 |
#include "confdefs.h"
|
|
|
1055 |
|
|
|
1056 |
int main() {
|
|
|
1057 |
|
|
|
1058 |
/* Ultrix mips cc rejects this. */
|
|
|
1059 |
typedef int charset[2]; const charset x;
|
|
|
1060 |
/* SunOS 4.1.1 cc rejects this. */
|
|
|
1061 |
char const *const *ccp;
|
|
|
1062 |
char **p;
|
|
|
1063 |
/* NEC SVR4.0.2 mips cc rejects this. */
|
|
|
1064 |
struct point {int x, y;};
|
|
|
1065 |
static struct point const zero = {0,0};
|
|
|
1066 |
/* AIX XL C 1.02.0.0 rejects this.
|
|
|
1067 |
It does not let you subtract one const X* pointer from another in an arm
|
|
|
1068 |
of an if-expression whose if-part is not a constant expression */
|
|
|
1069 |
const char *g = "string";
|
|
|
1070 |
ccp = &g + (g ? g-g : 0);
|
|
|
1071 |
/* HPUX 7.0 cc rejects these. */
|
|
|
1072 |
++ccp;
|
|
|
1073 |
p = (char**) ccp;
|
|
|
1074 |
ccp = (char const *const *) p;
|
|
|
1075 |
{ /* SCO 3.2v4 cc rejects this. */
|
|
|
1076 |
char *t;
|
|
|
1077 |
char const *s = 0 ? (char *) 0 : (char const *) 0;
|
|
|
1078 |
|
|
|
1079 |
*t++ = 0;
|
|
|
1080 |
}
|
|
|
1081 |
{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
|
|
|
1082 |
int x[] = {25, 17};
|
|
|
1083 |
const int *foo = &x[0];
|
|
|
1084 |
++foo;
|
|
|
1085 |
}
|
|
|
1086 |
{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
|
|
|
1087 |
typedef const int *iptr;
|
|
|
1088 |
iptr p = 0;
|
|
|
1089 |
++p;
|
|
|
1090 |
}
|
|
|
1091 |
{ /* AIX XL C 1.02.0.0 rejects this saying
|
|
|
1092 |
"k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
|
|
|
1093 |
struct s { int j; const int *ap[3]; };
|
|
|
1094 |
struct s *b; b->j = 5;
|
|
|
1095 |
}
|
|
|
1096 |
{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
|
|
|
1097 |
const int foo = 10;
|
|
|
1098 |
}
|
|
|
1099 |
|
|
|
1100 |
; return 0; }
|
|
|
1101 |
EOF
|
|
|
1102 |
if { (eval echo configure:1103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
1103 |
rm -rf conftest*
|
|
|
1104 |
ac_cv_c_const=yes
|
|
|
1105 |
else
|
|
|
1106 |
echo "configure: failed program was:" >&5
|
|
|
1107 |
cat conftest.$ac_ext >&5
|
|
|
1108 |
rm -rf conftest*
|
|
|
1109 |
ac_cv_c_const=no
|
|
|
1110 |
fi
|
|
|
1111 |
rm -f conftest*
|
|
|
1112 |
fi
|
|
|
1113 |
|
|
|
1114 |
echo "$ac_t""$ac_cv_c_const" 1>&6
|
|
|
1115 |
if test $ac_cv_c_const = no; then
|
|
|
1116 |
cat >> confdefs.h <<\EOF
|
|
|
1117 |
#define const
|
|
|
1118 |
EOF
|
|
|
1119 |
|
|
|
1120 |
fi
|
|
|
1121 |
|
|
|
1122 |
|
|
|
1123 |
ac_header_dirent=no
|
|
|
1124 |
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
|
|
|
1125 |
do
|
|
|
1126 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
1127 |
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
|
|
|
1128 |
echo "configure:1129: checking for $ac_hdr that defines DIR" >&5
|
|
|
1129 |
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
|
|
|
1130 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1131 |
else
|
|
|
1132 |
cat > conftest.$ac_ext <<EOF
|
|
|
1133 |
#line 1134 "configure"
|
|
|
1134 |
#include "confdefs.h"
|
|
|
1135 |
#include <sys/types.h>
|
|
|
1136 |
#include <$ac_hdr>
|
|
|
1137 |
int main() {
|
|
|
1138 |
DIR *dirp = 0;
|
|
|
1139 |
; return 0; }
|
|
|
1140 |
EOF
|
|
|
1141 |
if { (eval echo configure:1142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
1142 |
rm -rf conftest*
|
|
|
1143 |
eval "ac_cv_header_dirent_$ac_safe=yes"
|
|
|
1144 |
else
|
|
|
1145 |
echo "configure: failed program was:" >&5
|
|
|
1146 |
cat conftest.$ac_ext >&5
|
|
|
1147 |
rm -rf conftest*
|
|
|
1148 |
eval "ac_cv_header_dirent_$ac_safe=no"
|
|
|
1149 |
fi
|
|
|
1150 |
rm -f conftest*
|
|
|
1151 |
fi
|
|
|
1152 |
if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
|
|
|
1153 |
echo "$ac_t""yes" 1>&6
|
|
|
1154 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
|
|
|
1155 |
cat >> confdefs.h <<EOF
|
|
|
1156 |
#define $ac_tr_hdr 1
|
|
|
1157 |
EOF
|
|
|
1158 |
ac_header_dirent=$ac_hdr; break
|
|
|
1159 |
else
|
|
|
1160 |
echo "$ac_t""no" 1>&6
|
|
|
1161 |
fi
|
|
|
1162 |
done
|
|
|
1163 |
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
|
|
|
1164 |
if test $ac_header_dirent = dirent.h; then
|
|
|
1165 |
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
|
|
|
1166 |
echo "configure:1167: checking for opendir in -ldir" >&5
|
|
|
1167 |
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
|
|
|
1168 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
1169 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1170 |
else
|
|
|
1171 |
ac_save_LIBS="$LIBS"
|
|
|
1172 |
LIBS="-ldir $LIBS"
|
|
|
1173 |
cat > conftest.$ac_ext <<EOF
|
|
|
1174 |
#line 1175 "configure"
|
|
|
1175 |
#include "confdefs.h"
|
|
|
1176 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
1177 |
/* We use char because int might match the return type of a gcc2
|
|
|
1178 |
builtin and then its argument prototype would still apply. */
|
|
|
1179 |
char opendir();
|
|
|
1180 |
|
|
|
1181 |
int main() {
|
|
|
1182 |
opendir()
|
|
|
1183 |
; return 0; }
|
|
|
1184 |
EOF
|
|
|
1185 |
if { (eval echo configure:1186: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
1186 |
rm -rf conftest*
|
|
|
1187 |
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
1188 |
else
|
|
|
1189 |
echo "configure: failed program was:" >&5
|
|
|
1190 |
cat conftest.$ac_ext >&5
|
|
|
1191 |
rm -rf conftest*
|
|
|
1192 |
eval "ac_cv_lib_$ac_lib_var=no"
|
|
|
1193 |
fi
|
|
|
1194 |
rm -f conftest*
|
|
|
1195 |
LIBS="$ac_save_LIBS"
|
|
|
1196 |
|
|
|
1197 |
fi
|
|
|
1198 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
1199 |
echo "$ac_t""yes" 1>&6
|
|
|
1200 |
LIBS="$LIBS -ldir"
|
|
|
1201 |
else
|
|
|
1202 |
echo "$ac_t""no" 1>&6
|
|
|
1203 |
fi
|
|
|
1204 |
|
|
|
1205 |
else
|
|
|
1206 |
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
|
|
|
1207 |
echo "configure:1208: checking for opendir in -lx" >&5
|
|
|
1208 |
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
|
|
|
1209 |
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
|
|
|
1210 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1211 |
else
|
|
|
1212 |
ac_save_LIBS="$LIBS"
|
|
|
1213 |
LIBS="-lx $LIBS"
|
|
|
1214 |
cat > conftest.$ac_ext <<EOF
|
|
|
1215 |
#line 1216 "configure"
|
|
|
1216 |
#include "confdefs.h"
|
|
|
1217 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
1218 |
/* We use char because int might match the return type of a gcc2
|
|
|
1219 |
builtin and then its argument prototype would still apply. */
|
|
|
1220 |
char opendir();
|
|
|
1221 |
|
|
|
1222 |
int main() {
|
|
|
1223 |
opendir()
|
|
|
1224 |
; return 0; }
|
|
|
1225 |
EOF
|
|
|
1226 |
if { (eval echo configure:1227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
1227 |
rm -rf conftest*
|
|
|
1228 |
eval "ac_cv_lib_$ac_lib_var=yes"
|
|
|
1229 |
else
|
|
|
1230 |
echo "configure: failed program was:" >&5
|
|
|
1231 |
cat conftest.$ac_ext >&5
|
|
|
1232 |
rm -rf conftest*
|
|
|
1233 |
eval "ac_cv_lib_$ac_lib_var=no"
|
|
|
1234 |
fi
|
|
|
1235 |
rm -f conftest*
|
|
|
1236 |
LIBS="$ac_save_LIBS"
|
|
|
1237 |
|
|
|
1238 |
fi
|
|
|
1239 |
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
|
|
1240 |
echo "$ac_t""yes" 1>&6
|
|
|
1241 |
LIBS="$LIBS -lx"
|
|
|
1242 |
else
|
|
|
1243 |
echo "$ac_t""no" 1>&6
|
|
|
1244 |
fi
|
|
|
1245 |
|
|
|
1246 |
fi
|
|
|
1247 |
|
|
|
1248 |
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
|
|
|
1249 |
echo "configure:1250: checking for ANSI C header files" >&5
|
|
|
1250 |
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
|
|
|
1251 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1252 |
else
|
|
|
1253 |
cat > conftest.$ac_ext <<EOF
|
|
|
1254 |
#line 1255 "configure"
|
|
|
1255 |
#include "confdefs.h"
|
|
|
1256 |
#include <stdlib.h>
|
|
|
1257 |
#include <stdarg.h>
|
|
|
1258 |
#include <string.h>
|
|
|
1259 |
#include <float.h>
|
|
|
1260 |
EOF
|
|
|
1261 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
1262 |
{ (eval echo configure:1263: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
1263 |
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
1264 |
if test -z "$ac_err"; then
|
|
|
1265 |
rm -rf conftest*
|
|
|
1266 |
ac_cv_header_stdc=yes
|
|
|
1267 |
else
|
|
|
1268 |
echo "$ac_err" >&5
|
|
|
1269 |
echo "configure: failed program was:" >&5
|
|
|
1270 |
cat conftest.$ac_ext >&5
|
|
|
1271 |
rm -rf conftest*
|
|
|
1272 |
ac_cv_header_stdc=no
|
|
|
1273 |
fi
|
|
|
1274 |
rm -f conftest*
|
|
|
1275 |
|
|
|
1276 |
if test $ac_cv_header_stdc = yes; then
|
|
|
1277 |
# SunOS 4.x string.h does not declare mem*, contrary to ANSI.
|
|
|
1278 |
cat > conftest.$ac_ext <<EOF
|
|
|
1279 |
#line 1280 "configure"
|
|
|
1280 |
#include "confdefs.h"
|
|
|
1281 |
#include <string.h>
|
|
|
1282 |
EOF
|
|
|
1283 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
1284 |
egrep "memchr" >/dev/null 2>&1; then
|
|
|
1285 |
:
|
|
|
1286 |
else
|
|
|
1287 |
rm -rf conftest*
|
|
|
1288 |
ac_cv_header_stdc=no
|
|
|
1289 |
fi
|
|
|
1290 |
rm -f conftest*
|
|
|
1291 |
|
|
|
1292 |
fi
|
|
|
1293 |
|
|
|
1294 |
if test $ac_cv_header_stdc = yes; then
|
|
|
1295 |
# ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
|
|
|
1296 |
cat > conftest.$ac_ext <<EOF
|
|
|
1297 |
#line 1298 "configure"
|
|
|
1298 |
#include "confdefs.h"
|
|
|
1299 |
#include <stdlib.h>
|
|
|
1300 |
EOF
|
|
|
1301 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
1302 |
egrep "free" >/dev/null 2>&1; then
|
|
|
1303 |
:
|
|
|
1304 |
else
|
|
|
1305 |
rm -rf conftest*
|
|
|
1306 |
ac_cv_header_stdc=no
|
|
|
1307 |
fi
|
|
|
1308 |
rm -f conftest*
|
|
|
1309 |
|
|
|
1310 |
fi
|
|
|
1311 |
|
|
|
1312 |
if test $ac_cv_header_stdc = yes; then
|
|
|
1313 |
# /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
|
|
|
1314 |
if test "$cross_compiling" = yes; then
|
|
|
1315 |
:
|
|
|
1316 |
else
|
|
|
1317 |
cat > conftest.$ac_ext <<EOF
|
|
|
1318 |
#line 1319 "configure"
|
|
|
1319 |
#include "confdefs.h"
|
|
|
1320 |
#include <ctype.h>
|
|
|
1321 |
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
|
|
|
1322 |
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
|
|
|
1323 |
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
|
|
|
1324 |
int main () { int i; for (i = 0; i < 256; i++)
|
|
|
1325 |
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
|
|
|
1326 |
exit (0); }
|
|
|
1327 |
|
|
|
1328 |
EOF
|
|
|
1329 |
if { (eval echo configure:1330: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
1330 |
then
|
|
|
1331 |
:
|
|
|
1332 |
else
|
|
|
1333 |
echo "configure: failed program was:" >&5
|
|
|
1334 |
cat conftest.$ac_ext >&5
|
|
|
1335 |
rm -fr conftest*
|
|
|
1336 |
ac_cv_header_stdc=no
|
|
|
1337 |
fi
|
|
|
1338 |
rm -fr conftest*
|
|
|
1339 |
fi
|
|
|
1340 |
|
|
|
1341 |
fi
|
|
|
1342 |
fi
|
|
|
1343 |
|
|
|
1344 |
echo "$ac_t""$ac_cv_header_stdc" 1>&6
|
|
|
1345 |
if test $ac_cv_header_stdc = yes; then
|
|
|
1346 |
cat >> confdefs.h <<\EOF
|
|
|
1347 |
#define STDC_HEADERS 1
|
|
|
1348 |
EOF
|
|
|
1349 |
|
|
|
1350 |
fi
|
|
|
1351 |
|
|
|
1352 |
for ac_hdr in fcntl.h limits.h string.h unistd.h utime.h varargs.h
|
|
|
1353 |
do
|
|
|
1354 |
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
|
|
|
1355 |
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
|
|
|
1356 |
echo "configure:1357: checking for $ac_hdr" >&5
|
|
|
1357 |
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
|
|
|
1358 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1359 |
else
|
|
|
1360 |
cat > conftest.$ac_ext <<EOF
|
|
|
1361 |
#line 1362 "configure"
|
|
|
1362 |
#include "confdefs.h"
|
|
|
1363 |
#include <$ac_hdr>
|
|
|
1364 |
EOF
|
|
|
1365 |
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
|
|
|
1366 |
{ (eval echo configure:1367: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
|
|
|
1367 |
ac_err=`grep -v '^ *+' conftest.out`
|
|
|
1368 |
if test -z "$ac_err"; then
|
|
|
1369 |
rm -rf conftest*
|
|
|
1370 |
eval "ac_cv_header_$ac_safe=yes"
|
|
|
1371 |
else
|
|
|
1372 |
echo "$ac_err" >&5
|
|
|
1373 |
echo "configure: failed program was:" >&5
|
|
|
1374 |
cat conftest.$ac_ext >&5
|
|
|
1375 |
rm -rf conftest*
|
|
|
1376 |
eval "ac_cv_header_$ac_safe=no"
|
|
|
1377 |
fi
|
|
|
1378 |
rm -f conftest*
|
|
|
1379 |
fi
|
|
|
1380 |
if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
|
|
|
1381 |
echo "$ac_t""yes" 1>&6
|
|
|
1382 |
ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
|
|
|
1383 |
cat >> confdefs.h <<EOF
|
|
|
1384 |
#define $ac_tr_hdr 1
|
|
|
1385 |
EOF
|
|
|
1386 |
|
|
|
1387 |
else
|
|
|
1388 |
echo "$ac_t""no" 1>&6
|
|
|
1389 |
fi
|
|
|
1390 |
done
|
|
|
1391 |
|
|
|
1392 |
|
|
|
1393 |
echo $ac_n "checking for mode_t""... $ac_c" 1>&6
|
|
|
1394 |
echo "configure:1395: checking for mode_t" >&5
|
|
|
1395 |
if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
|
|
|
1396 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1397 |
else
|
|
|
1398 |
cat > conftest.$ac_ext <<EOF
|
|
|
1399 |
#line 1400 "configure"
|
|
|
1400 |
#include "confdefs.h"
|
|
|
1401 |
#include <sys/types.h>
|
|
|
1402 |
#if STDC_HEADERS
|
|
|
1403 |
#include <stdlib.h>
|
|
|
1404 |
#include <stddef.h>
|
|
|
1405 |
#endif
|
|
|
1406 |
EOF
|
|
|
1407 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
1408 |
egrep "mode_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
1409 |
rm -rf conftest*
|
|
|
1410 |
ac_cv_type_mode_t=yes
|
|
|
1411 |
else
|
|
|
1412 |
rm -rf conftest*
|
|
|
1413 |
ac_cv_type_mode_t=no
|
|
|
1414 |
fi
|
|
|
1415 |
rm -f conftest*
|
|
|
1416 |
|
|
|
1417 |
fi
|
|
|
1418 |
echo "$ac_t""$ac_cv_type_mode_t" 1>&6
|
|
|
1419 |
if test $ac_cv_type_mode_t = no; then
|
|
|
1420 |
cat >> confdefs.h <<\EOF
|
|
|
1421 |
#define mode_t int
|
|
|
1422 |
EOF
|
|
|
1423 |
|
|
|
1424 |
fi
|
|
|
1425 |
|
|
|
1426 |
echo $ac_n "checking for off_t""... $ac_c" 1>&6
|
|
|
1427 |
echo "configure:1428: checking for off_t" >&5
|
|
|
1428 |
if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
|
|
|
1429 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1430 |
else
|
|
|
1431 |
cat > conftest.$ac_ext <<EOF
|
|
|
1432 |
#line 1433 "configure"
|
|
|
1433 |
#include "confdefs.h"
|
|
|
1434 |
#include <sys/types.h>
|
|
|
1435 |
#if STDC_HEADERS
|
|
|
1436 |
#include <stdlib.h>
|
|
|
1437 |
#include <stddef.h>
|
|
|
1438 |
#endif
|
|
|
1439 |
EOF
|
|
|
1440 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
1441 |
egrep "off_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
1442 |
rm -rf conftest*
|
|
|
1443 |
ac_cv_type_off_t=yes
|
|
|
1444 |
else
|
|
|
1445 |
rm -rf conftest*
|
|
|
1446 |
ac_cv_type_off_t=no
|
|
|
1447 |
fi
|
|
|
1448 |
rm -f conftest*
|
|
|
1449 |
|
|
|
1450 |
fi
|
|
|
1451 |
echo "$ac_t""$ac_cv_type_off_t" 1>&6
|
|
|
1452 |
if test $ac_cv_type_off_t = no; then
|
|
|
1453 |
cat >> confdefs.h <<\EOF
|
|
|
1454 |
#define off_t long
|
|
|
1455 |
EOF
|
|
|
1456 |
|
|
|
1457 |
fi
|
|
|
1458 |
|
|
|
1459 |
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
|
|
|
1460 |
echo "configure:1461: checking return type of signal handlers" >&5
|
|
|
1461 |
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
|
|
|
1462 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1463 |
else
|
|
|
1464 |
cat > conftest.$ac_ext <<EOF
|
|
|
1465 |
#line 1466 "configure"
|
|
|
1466 |
#include "confdefs.h"
|
|
|
1467 |
#include <sys/types.h>
|
|
|
1468 |
#include <signal.h>
|
|
|
1469 |
#ifdef signal
|
|
|
1470 |
#undef signal
|
|
|
1471 |
#endif
|
|
|
1472 |
#ifdef __cplusplus
|
|
|
1473 |
extern "C" void (*signal (int, void (*)(int)))(int);
|
|
|
1474 |
#else
|
|
|
1475 |
void (*signal ()) ();
|
|
|
1476 |
#endif
|
|
|
1477 |
|
|
|
1478 |
int main() {
|
|
|
1479 |
int i;
|
|
|
1480 |
; return 0; }
|
|
|
1481 |
EOF
|
|
|
1482 |
if { (eval echo configure:1483: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
1483 |
rm -rf conftest*
|
|
|
1484 |
ac_cv_type_signal=void
|
|
|
1485 |
else
|
|
|
1486 |
echo "configure: failed program was:" >&5
|
|
|
1487 |
cat conftest.$ac_ext >&5
|
|
|
1488 |
rm -rf conftest*
|
|
|
1489 |
ac_cv_type_signal=int
|
|
|
1490 |
fi
|
|
|
1491 |
rm -f conftest*
|
|
|
1492 |
fi
|
|
|
1493 |
|
|
|
1494 |
echo "$ac_t""$ac_cv_type_signal" 1>&6
|
|
|
1495 |
cat >> confdefs.h <<EOF
|
|
|
1496 |
#define RETSIGTYPE $ac_cv_type_signal
|
|
|
1497 |
EOF
|
|
|
1498 |
|
|
|
1499 |
|
|
|
1500 |
echo $ac_n "checking for size_t""... $ac_c" 1>&6
|
|
|
1501 |
echo "configure:1502: checking for size_t" >&5
|
|
|
1502 |
if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
|
|
|
1503 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1504 |
else
|
|
|
1505 |
cat > conftest.$ac_ext <<EOF
|
|
|
1506 |
#line 1507 "configure"
|
|
|
1507 |
#include "confdefs.h"
|
|
|
1508 |
#include <sys/types.h>
|
|
|
1509 |
#if STDC_HEADERS
|
|
|
1510 |
#include <stdlib.h>
|
|
|
1511 |
#include <stddef.h>
|
|
|
1512 |
#endif
|
|
|
1513 |
EOF
|
|
|
1514 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
|
|
|
1515 |
egrep "size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
|
|
|
1516 |
rm -rf conftest*
|
|
|
1517 |
ac_cv_type_size_t=yes
|
|
|
1518 |
else
|
|
|
1519 |
rm -rf conftest*
|
|
|
1520 |
ac_cv_type_size_t=no
|
|
|
1521 |
fi
|
|
|
1522 |
rm -f conftest*
|
|
|
1523 |
|
|
|
1524 |
fi
|
|
|
1525 |
echo "$ac_t""$ac_cv_type_size_t" 1>&6
|
|
|
1526 |
if test $ac_cv_type_size_t = no; then
|
|
|
1527 |
cat >> confdefs.h <<\EOF
|
|
|
1528 |
#define size_t unsigned
|
|
|
1529 |
EOF
|
|
|
1530 |
|
|
|
1531 |
fi
|
|
|
1532 |
|
|
|
1533 |
|
|
|
1534 |
echo $ac_n "checking for struct utimbuf""... $ac_c" 1>&6
|
|
|
1535 |
echo "configure:1536: checking for struct utimbuf" >&5
|
|
|
1536 |
if eval "test \"`echo '$''{'patch_cv_sys_struct_utimbuf'+set}'`\" = set"; then
|
|
|
1537 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1538 |
else
|
|
|
1539 |
cat > conftest.$ac_ext <<EOF
|
|
|
1540 |
#line 1541 "configure"
|
|
|
1541 |
#include "confdefs.h"
|
|
|
1542 |
#include <sys/types.h>
|
|
|
1543 |
#if HAVE_UTIME_H
|
|
|
1544 |
#include <utime.h>
|
|
|
1545 |
#endif
|
|
|
1546 |
int main() {
|
|
|
1547 |
static struct utimbuf x; x.actime = x.modtime;
|
|
|
1548 |
; return 0; }
|
|
|
1549 |
EOF
|
|
|
1550 |
if { (eval echo configure:1551: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
|
|
|
1551 |
rm -rf conftest*
|
|
|
1552 |
patch_cv_sys_struct_utimbuf=yes
|
|
|
1553 |
else
|
|
|
1554 |
echo "configure: failed program was:" >&5
|
|
|
1555 |
cat conftest.$ac_ext >&5
|
|
|
1556 |
rm -rf conftest*
|
|
|
1557 |
patch_cv_sys_struct_utimbuf=no
|
|
|
1558 |
fi
|
|
|
1559 |
rm -f conftest*
|
|
|
1560 |
fi
|
|
|
1561 |
|
|
|
1562 |
echo "$ac_t""$patch_cv_sys_struct_utimbuf" 1>&6
|
|
|
1563 |
if test $patch_cv_sys_struct_utimbuf = yes; then
|
|
|
1564 |
cat >> confdefs.h <<\EOF
|
|
|
1565 |
#define HAVE_STRUCT_UTIMBUF 1
|
|
|
1566 |
EOF
|
|
|
1567 |
|
|
|
1568 |
fi
|
|
|
1569 |
|
|
|
1570 |
# Check for NetBSD 1.0 bug, where memchr(..., 0) returns nonzero.
|
|
|
1571 |
echo $ac_n "checking for working memchr""... $ac_c" 1>&6
|
|
|
1572 |
echo "configure:1573: checking for working memchr" >&5
|
|
|
1573 |
if eval "test \"`echo '$''{'ac_cv_func_memchr'+set}'`\" = set"; then
|
|
|
1574 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1575 |
else
|
|
|
1576 |
if test "$cross_compiling" = yes; then
|
|
|
1577 |
echo "configure: warning: We are cross-compiling so we assume memchr does not work." 1>&2
|
|
|
1578 |
ac_cv_func_memchr=no
|
|
|
1579 |
else
|
|
|
1580 |
cat > conftest.$ac_ext <<EOF
|
|
|
1581 |
#line 1582 "configure"
|
|
|
1582 |
#include "confdefs.h"
|
|
|
1583 |
#include <string.h>
|
|
|
1584 |
main () { exit (memchr ("", 0, 0) != 0 || memchr ("", 1, 0) != 0); }
|
|
|
1585 |
EOF
|
|
|
1586 |
if { (eval echo configure:1587: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
1587 |
then
|
|
|
1588 |
ac_cv_func_memchr=yes
|
|
|
1589 |
else
|
|
|
1590 |
echo "configure: failed program was:" >&5
|
|
|
1591 |
cat conftest.$ac_ext >&5
|
|
|
1592 |
rm -fr conftest*
|
|
|
1593 |
ac_cv_func_memchr=no
|
|
|
1594 |
fi
|
|
|
1595 |
rm -fr conftest*
|
|
|
1596 |
fi
|
|
|
1597 |
|
|
|
1598 |
fi
|
|
|
1599 |
echo "$ac_t""$ac_cv_func_memchr" 1>&6
|
|
|
1600 |
if test $ac_cv_func_memchr = yes; then
|
|
|
1601 |
cat >> confdefs.h <<\EOF
|
|
|
1602 |
#define HAVE_MEMCHR 1
|
|
|
1603 |
EOF
|
|
|
1604 |
|
|
|
1605 |
fi
|
|
|
1606 |
|
|
|
1607 |
echo $ac_n "checking for getopt_long""... $ac_c" 1>&6
|
|
|
1608 |
echo "configure:1609: checking for getopt_long" >&5
|
|
|
1609 |
if eval "test \"`echo '$''{'ac_cv_func_getopt_long'+set}'`\" = set"; then
|
|
|
1610 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1611 |
else
|
|
|
1612 |
cat > conftest.$ac_ext <<EOF
|
|
|
1613 |
#line 1614 "configure"
|
|
|
1614 |
#include "confdefs.h"
|
|
|
1615 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
1616 |
which can conflict with char getopt_long(); below. */
|
|
|
1617 |
#include <assert.h>
|
|
|
1618 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
1619 |
/* We use char because int might match the return type of a gcc2
|
|
|
1620 |
builtin and then its argument prototype would still apply. */
|
|
|
1621 |
char getopt_long();
|
|
|
1622 |
|
|
|
1623 |
int main() {
|
|
|
1624 |
|
|
|
1625 |
/* The GNU C library defines this for functions which it implements
|
|
|
1626 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
1627 |
something starting with __ and the normal name is an alias. */
|
|
|
1628 |
#if defined (__stub_getopt_long) || defined (__stub___getopt_long)
|
|
|
1629 |
choke me
|
|
|
1630 |
#else
|
|
|
1631 |
getopt_long();
|
|
|
1632 |
#endif
|
|
|
1633 |
|
|
|
1634 |
; return 0; }
|
|
|
1635 |
EOF
|
|
|
1636 |
if { (eval echo configure:1637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
1637 |
rm -rf conftest*
|
|
|
1638 |
eval "ac_cv_func_getopt_long=yes"
|
|
|
1639 |
else
|
|
|
1640 |
echo "configure: failed program was:" >&5
|
|
|
1641 |
cat conftest.$ac_ext >&5
|
|
|
1642 |
rm -rf conftest*
|
|
|
1643 |
eval "ac_cv_func_getopt_long=no"
|
|
|
1644 |
fi
|
|
|
1645 |
rm -f conftest*
|
|
|
1646 |
fi
|
|
|
1647 |
|
|
|
1648 |
if eval "test \"`echo '$ac_cv_func_'getopt_long`\" = yes"; then
|
|
|
1649 |
echo "$ac_t""yes" 1>&6
|
|
|
1650 |
:
|
|
|
1651 |
else
|
|
|
1652 |
echo "$ac_t""no" 1>&6
|
|
|
1653 |
LIBOBJS="$LIBOBJS getopt1.o getopt.o"
|
|
|
1654 |
fi
|
|
|
1655 |
|
|
|
1656 |
|
|
|
1657 |
for ac_func in _doprintf isascii memcmp mkdir mktemp pathconf raise sigaction sigprocmask sigsetmask
|
|
|
1658 |
do
|
|
|
1659 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
1660 |
echo "configure:1661: checking for $ac_func" >&5
|
|
|
1661 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
1662 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1663 |
else
|
|
|
1664 |
cat > conftest.$ac_ext <<EOF
|
|
|
1665 |
#line 1666 "configure"
|
|
|
1666 |
#include "confdefs.h"
|
|
|
1667 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
1668 |
which can conflict with char $ac_func(); below. */
|
|
|
1669 |
#include <assert.h>
|
|
|
1670 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
1671 |
/* We use char because int might match the return type of a gcc2
|
|
|
1672 |
builtin and then its argument prototype would still apply. */
|
|
|
1673 |
char $ac_func();
|
|
|
1674 |
|
|
|
1675 |
int main() {
|
|
|
1676 |
|
|
|
1677 |
/* The GNU C library defines this for functions which it implements
|
|
|
1678 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
1679 |
something starting with __ and the normal name is an alias. */
|
|
|
1680 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
|
1681 |
choke me
|
|
|
1682 |
#else
|
|
|
1683 |
$ac_func();
|
|
|
1684 |
#endif
|
|
|
1685 |
|
|
|
1686 |
; return 0; }
|
|
|
1687 |
EOF
|
|
|
1688 |
if { (eval echo configure:1689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
1689 |
rm -rf conftest*
|
|
|
1690 |
eval "ac_cv_func_$ac_func=yes"
|
|
|
1691 |
else
|
|
|
1692 |
echo "configure: failed program was:" >&5
|
|
|
1693 |
cat conftest.$ac_ext >&5
|
|
|
1694 |
rm -rf conftest*
|
|
|
1695 |
eval "ac_cv_func_$ac_func=no"
|
|
|
1696 |
fi
|
|
|
1697 |
rm -f conftest*
|
|
|
1698 |
fi
|
|
|
1699 |
|
|
|
1700 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
|
|
|
1701 |
echo "$ac_t""yes" 1>&6
|
|
|
1702 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
|
|
1703 |
cat >> confdefs.h <<EOF
|
|
|
1704 |
#define $ac_tr_func 1
|
|
|
1705 |
EOF
|
|
|
1706 |
|
|
|
1707 |
else
|
|
|
1708 |
echo "$ac_t""no" 1>&6
|
|
|
1709 |
fi
|
|
|
1710 |
done
|
|
|
1711 |
|
|
|
1712 |
for ac_func in memchr rename
|
|
|
1713 |
do
|
|
|
1714 |
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
|
|
1715 |
echo "configure:1716: checking for $ac_func" >&5
|
|
|
1716 |
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
|
|
|
1717 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1718 |
else
|
|
|
1719 |
cat > conftest.$ac_ext <<EOF
|
|
|
1720 |
#line 1721 "configure"
|
|
|
1721 |
#include "confdefs.h"
|
|
|
1722 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
1723 |
which can conflict with char $ac_func(); below. */
|
|
|
1724 |
#include <assert.h>
|
|
|
1725 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
1726 |
/* We use char because int might match the return type of a gcc2
|
|
|
1727 |
builtin and then its argument prototype would still apply. */
|
|
|
1728 |
char $ac_func();
|
|
|
1729 |
|
|
|
1730 |
int main() {
|
|
|
1731 |
|
|
|
1732 |
/* The GNU C library defines this for functions which it implements
|
|
|
1733 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
1734 |
something starting with __ and the normal name is an alias. */
|
|
|
1735 |
#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
|
|
|
1736 |
choke me
|
|
|
1737 |
#else
|
|
|
1738 |
$ac_func();
|
|
|
1739 |
#endif
|
|
|
1740 |
|
|
|
1741 |
; return 0; }
|
|
|
1742 |
EOF
|
|
|
1743 |
if { (eval echo configure:1744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
1744 |
rm -rf conftest*
|
|
|
1745 |
eval "ac_cv_func_$ac_func=yes"
|
|
|
1746 |
else
|
|
|
1747 |
echo "configure: failed program was:" >&5
|
|
|
1748 |
cat conftest.$ac_ext >&5
|
|
|
1749 |
rm -rf conftest*
|
|
|
1750 |
eval "ac_cv_func_$ac_func=no"
|
|
|
1751 |
fi
|
|
|
1752 |
rm -f conftest*
|
|
|
1753 |
fi
|
|
|
1754 |
|
|
|
1755 |
if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
|
|
|
1756 |
echo "$ac_t""yes" 1>&6
|
|
|
1757 |
ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
|
|
|
1758 |
cat >> confdefs.h <<EOF
|
|
|
1759 |
#define $ac_tr_func 1
|
|
|
1760 |
EOF
|
|
|
1761 |
|
|
|
1762 |
else
|
|
|
1763 |
echo "$ac_t""no" 1>&6
|
|
|
1764 |
LIBOBJS="$LIBOBJS ${ac_func}.o"
|
|
|
1765 |
fi
|
|
|
1766 |
done
|
|
|
1767 |
|
|
|
1768 |
|
|
|
1769 |
echo $ac_n "checking whether closedir returns void""... $ac_c" 1>&6
|
|
|
1770 |
echo "configure:1771: checking whether closedir returns void" >&5
|
|
|
1771 |
if eval "test \"`echo '$''{'ac_cv_func_closedir_void'+set}'`\" = set"; then
|
|
|
1772 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1773 |
else
|
|
|
1774 |
if test "$cross_compiling" = yes; then
|
|
|
1775 |
ac_cv_func_closedir_void=yes
|
|
|
1776 |
else
|
|
|
1777 |
cat > conftest.$ac_ext <<EOF
|
|
|
1778 |
#line 1779 "configure"
|
|
|
1779 |
#include "confdefs.h"
|
|
|
1780 |
#include <sys/types.h>
|
|
|
1781 |
#include <$ac_header_dirent>
|
|
|
1782 |
int closedir(); main() { exit(closedir(opendir(".")) != 0); }
|
|
|
1783 |
EOF
|
|
|
1784 |
if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null
|
|
|
1785 |
then
|
|
|
1786 |
ac_cv_func_closedir_void=no
|
|
|
1787 |
else
|
|
|
1788 |
echo "configure: failed program was:" >&5
|
|
|
1789 |
cat conftest.$ac_ext >&5
|
|
|
1790 |
rm -fr conftest*
|
|
|
1791 |
ac_cv_func_closedir_void=yes
|
|
|
1792 |
fi
|
|
|
1793 |
rm -fr conftest*
|
|
|
1794 |
fi
|
|
|
1795 |
|
|
|
1796 |
fi
|
|
|
1797 |
|
|
|
1798 |
echo "$ac_t""$ac_cv_func_closedir_void" 1>&6
|
|
|
1799 |
if test $ac_cv_func_closedir_void = yes; then
|
|
|
1800 |
cat >> confdefs.h <<\EOF
|
|
|
1801 |
#define CLOSEDIR_VOID 1
|
|
|
1802 |
EOF
|
|
|
1803 |
|
|
|
1804 |
fi
|
|
|
1805 |
|
|
|
1806 |
echo $ac_n "checking for vprintf""... $ac_c" 1>&6
|
|
|
1807 |
echo "configure:1808: checking for vprintf" >&5
|
|
|
1808 |
if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
|
|
|
1809 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1810 |
else
|
|
|
1811 |
cat > conftest.$ac_ext <<EOF
|
|
|
1812 |
#line 1813 "configure"
|
|
|
1813 |
#include "confdefs.h"
|
|
|
1814 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
1815 |
which can conflict with char vprintf(); below. */
|
|
|
1816 |
#include <assert.h>
|
|
|
1817 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
1818 |
/* We use char because int might match the return type of a gcc2
|
|
|
1819 |
builtin and then its argument prototype would still apply. */
|
|
|
1820 |
char vprintf();
|
|
|
1821 |
|
|
|
1822 |
int main() {
|
|
|
1823 |
|
|
|
1824 |
/* The GNU C library defines this for functions which it implements
|
|
|
1825 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
1826 |
something starting with __ and the normal name is an alias. */
|
|
|
1827 |
#if defined (__stub_vprintf) || defined (__stub___vprintf)
|
|
|
1828 |
choke me
|
|
|
1829 |
#else
|
|
|
1830 |
vprintf();
|
|
|
1831 |
#endif
|
|
|
1832 |
|
|
|
1833 |
; return 0; }
|
|
|
1834 |
EOF
|
|
|
1835 |
if { (eval echo configure:1836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
1836 |
rm -rf conftest*
|
|
|
1837 |
eval "ac_cv_func_vprintf=yes"
|
|
|
1838 |
else
|
|
|
1839 |
echo "configure: failed program was:" >&5
|
|
|
1840 |
cat conftest.$ac_ext >&5
|
|
|
1841 |
rm -rf conftest*
|
|
|
1842 |
eval "ac_cv_func_vprintf=no"
|
|
|
1843 |
fi
|
|
|
1844 |
rm -f conftest*
|
|
|
1845 |
fi
|
|
|
1846 |
|
|
|
1847 |
if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
|
|
|
1848 |
echo "$ac_t""yes" 1>&6
|
|
|
1849 |
cat >> confdefs.h <<\EOF
|
|
|
1850 |
#define HAVE_VPRINTF 1
|
|
|
1851 |
EOF
|
|
|
1852 |
|
|
|
1853 |
else
|
|
|
1854 |
echo "$ac_t""no" 1>&6
|
|
|
1855 |
fi
|
|
|
1856 |
|
|
|
1857 |
if test "$ac_cv_func_vprintf" != yes; then
|
|
|
1858 |
echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
|
|
|
1859 |
echo "configure:1860: checking for _doprnt" >&5
|
|
|
1860 |
if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
|
|
|
1861 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1862 |
else
|
|
|
1863 |
cat > conftest.$ac_ext <<EOF
|
|
|
1864 |
#line 1865 "configure"
|
|
|
1865 |
#include "confdefs.h"
|
|
|
1866 |
/* System header to define __stub macros and hopefully few prototypes,
|
|
|
1867 |
which can conflict with char _doprnt(); below. */
|
|
|
1868 |
#include <assert.h>
|
|
|
1869 |
/* Override any gcc2 internal prototype to avoid an error. */
|
|
|
1870 |
/* We use char because int might match the return type of a gcc2
|
|
|
1871 |
builtin and then its argument prototype would still apply. */
|
|
|
1872 |
char _doprnt();
|
|
|
1873 |
|
|
|
1874 |
int main() {
|
|
|
1875 |
|
|
|
1876 |
/* The GNU C library defines this for functions which it implements
|
|
|
1877 |
to always fail with ENOSYS. Some functions are actually named
|
|
|
1878 |
something starting with __ and the normal name is an alias. */
|
|
|
1879 |
#if defined (__stub__doprnt) || defined (__stub____doprnt)
|
|
|
1880 |
choke me
|
|
|
1881 |
#else
|
|
|
1882 |
_doprnt();
|
|
|
1883 |
#endif
|
|
|
1884 |
|
|
|
1885 |
; return 0; }
|
|
|
1886 |
EOF
|
|
|
1887 |
if { (eval echo configure:1888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
1888 |
rm -rf conftest*
|
|
|
1889 |
eval "ac_cv_func__doprnt=yes"
|
|
|
1890 |
else
|
|
|
1891 |
echo "configure: failed program was:" >&5
|
|
|
1892 |
cat conftest.$ac_ext >&5
|
|
|
1893 |
rm -rf conftest*
|
|
|
1894 |
eval "ac_cv_func__doprnt=no"
|
|
|
1895 |
fi
|
|
|
1896 |
rm -f conftest*
|
|
|
1897 |
fi
|
|
|
1898 |
|
|
|
1899 |
if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
|
|
|
1900 |
echo "$ac_t""yes" 1>&6
|
|
|
1901 |
cat >> confdefs.h <<\EOF
|
|
|
1902 |
#define HAVE_DOPRNT 1
|
|
|
1903 |
EOF
|
|
|
1904 |
|
|
|
1905 |
else
|
|
|
1906 |
echo "$ac_t""no" 1>&6
|
|
|
1907 |
fi
|
|
|
1908 |
|
|
|
1909 |
fi
|
|
|
1910 |
|
|
|
1911 |
|
|
|
1912 |
echo $ac_n "checking for long file names""... $ac_c" 1>&6
|
|
|
1913 |
echo "configure:1914: checking for long file names" >&5
|
|
|
1914 |
if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
|
|
|
1915 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1916 |
else
|
|
|
1917 |
ac_cv_sys_long_file_names=yes
|
|
|
1918 |
# Test for long file names in all the places we know might matter:
|
|
|
1919 |
# . the current directory, where building will happen
|
|
|
1920 |
# $prefix/lib where we will be installing things
|
|
|
1921 |
# $exec_prefix/lib likewise
|
|
|
1922 |
# eval it to expand exec_prefix.
|
|
|
1923 |
# $TMPDIR if set, where it might want to write temporary files
|
|
|
1924 |
# if $TMPDIR is not set:
|
|
|
1925 |
# /tmp where it might want to write temporary files
|
|
|
1926 |
# /var/tmp likewise
|
|
|
1927 |
# /usr/tmp likewise
|
|
|
1928 |
if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
|
|
|
1929 |
ac_tmpdirs="$TMPDIR"
|
|
|
1930 |
else
|
|
|
1931 |
ac_tmpdirs='/tmp /var/tmp /usr/tmp'
|
|
|
1932 |
fi
|
|
|
1933 |
for ac_dir in . $ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
|
|
|
1934 |
test -d $ac_dir || continue
|
|
|
1935 |
test -w $ac_dir || continue # It is less confusing to not echo anything here.
|
|
|
1936 |
(echo 1 > $ac_dir/conftest9012345) 2>/dev/null
|
|
|
1937 |
(echo 2 > $ac_dir/conftest9012346) 2>/dev/null
|
|
|
1938 |
val=`cat $ac_dir/conftest9012345 2>/dev/null`
|
|
|
1939 |
if test ! -f $ac_dir/conftest9012345 || test "$val" != 1; then
|
|
|
1940 |
ac_cv_sys_long_file_names=no
|
|
|
1941 |
rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null
|
|
|
1942 |
break
|
|
|
1943 |
fi
|
|
|
1944 |
rm -f $ac_dir/conftest9012345 $ac_dir/conftest9012346 2>/dev/null
|
|
|
1945 |
done
|
|
|
1946 |
fi
|
|
|
1947 |
|
|
|
1948 |
echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
|
|
|
1949 |
if test $ac_cv_sys_long_file_names = yes; then
|
|
|
1950 |
cat >> confdefs.h <<\EOF
|
|
|
1951 |
#define HAVE_LONG_FILE_NAMES 1
|
|
|
1952 |
EOF
|
|
|
1953 |
|
|
|
1954 |
fi
|
|
|
1955 |
|
|
|
1956 |
|
|
|
1957 |
echo $ac_n "checking for d_ino member in directory struct""... $ac_c" 1>&6
|
|
|
1958 |
echo "configure:1959: checking for d_ino member in directory struct" >&5
|
|
|
1959 |
if eval "test \"`echo '$''{'patch_cv_sys_d_ino_in_dirent'+set}'`\" = set"; then
|
|
|
1960 |
echo $ac_n "(cached) $ac_c" 1>&6
|
|
|
1961 |
else
|
|
|
1962 |
cat > conftest.$ac_ext <<EOF
|
|
|
1963 |
#line 1964 "configure"
|
|
|
1964 |
#include "confdefs.h"
|
|
|
1965 |
|
|
|
1966 |
#include <sys/types.h>
|
|
|
1967 |
#if HAVE_DIRENT_H
|
|
|
1968 |
# include <dirent.h>
|
|
|
1969 |
#else
|
|
|
1970 |
# define dirent direct
|
|
|
1971 |
# if HAVE_SYS_NDIR_H
|
|
|
1972 |
# include <sys/ndir.h>
|
|
|
1973 |
# endif
|
|
|
1974 |
# ifdef HAVE_SYS_DIR_H
|
|
|
1975 |
# include <sys/dir.h>
|
|
|
1976 |
# endif
|
|
|
1977 |
# ifdef HAVE_NDIR_H
|
|
|
1978 |
# include <ndir.h>
|
|
|
1979 |
# endif
|
|
|
1980 |
#endif
|
|
|
1981 |
|
|
|
1982 |
int main() {
|
|
|
1983 |
struct dirent dp; dp.d_ino = 0;
|
|
|
1984 |
; return 0; }
|
|
|
1985 |
EOF
|
|
|
1986 |
if { (eval echo configure:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then
|
|
|
1987 |
rm -rf conftest*
|
|
|
1988 |
patch_cv_sys_d_ino_in_dirent=yes
|
|
|
1989 |
else
|
|
|
1990 |
echo "configure: failed program was:" >&5
|
|
|
1991 |
cat conftest.$ac_ext >&5
|
|
|
1992 |
rm -rf conftest*
|
|
|
1993 |
patch_cv_sys_d_ino_in_dirent=no
|
|
|
1994 |
fi
|
|
|
1995 |
rm -f conftest*
|
|
|
1996 |
fi
|
|
|
1997 |
|
|
|
1998 |
echo "$ac_t""$patch_cv_sys_d_ino_in_dirent" 1>&6
|
|
|
1999 |
if test $patch_cv_sys_d_ino_in_dirent = yes; then
|
|
|
2000 |
cat >> confdefs.h <<\EOF
|
|
|
2001 |
#define D_INO_IN_DIRENT 1
|
|
|
2002 |
EOF
|
|
|
2003 |
|
|
|
2004 |
fi
|
|
|
2005 |
|
|
|
2006 |
trap '' 1 2 15
|
|
|
2007 |
cat > confcache <<\EOF
|
|
|
2008 |
# This file is a shell script that caches the results of configure
|
|
|
2009 |
# tests run on this system so they can be shared between configure
|
|
|
2010 |
# scripts and configure runs. It is not useful on other systems.
|
|
|
2011 |
# If it contains results you don't want to keep, you may remove or edit it.
|
|
|
2012 |
#
|
|
|
2013 |
# By default, configure uses ./config.cache as the cache file,
|
|
|
2014 |
# creating it if it does not exist already. You can give configure
|
|
|
2015 |
# the --cache-file=FILE option to use a different cache file; that is
|
|
|
2016 |
# what configure does when it calls configure scripts in
|
|
|
2017 |
# subdirectories, so they share the cache.
|
|
|
2018 |
# Giving --cache-file=/dev/null disables caching, for debugging configure.
|
|
|
2019 |
# config.status only pays attention to the cache file if you give it the
|
|
|
2020 |
# --recheck option to rerun configure.
|
|
|
2021 |
#
|
|
|
2022 |
EOF
|
|
|
2023 |
# The following way of writing the cache mishandles newlines in values,
|
|
|
2024 |
# but we know of no workaround that is simple, portable, and efficient.
|
|
|
2025 |
# So, don't put newlines in cache variables' values.
|
|
|
2026 |
# Ultrix sh set writes to stderr and can't be redirected directly,
|
|
|
2027 |
# and sets the high bit in the cache file unless we assign to the vars.
|
|
|
2028 |
(set) 2>&1 |
|
|
|
2029 |
case `(ac_space=' '; set | grep ac_space) 2>&1` in
|
|
|
2030 |
*ac_space=\ *)
|
|
|
2031 |
# `set' does not quote correctly, so add quotes (double-quote substitution
|
|
|
2032 |
# turns \\\\ into \\, and sed turns \\ into \).
|
|
|
2033 |
sed -n \
|
|
|
2034 |
-e "s/'/'\\\\''/g" \
|
|
|
2035 |
-e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
|
|
|
2036 |
;;
|
|
|
2037 |
*)
|
|
|
2038 |
# `set' quotes correctly as required by POSIX, so do not add quotes.
|
|
|
2039 |
sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
|
|
|
2040 |
;;
|
|
|
2041 |
esac >> confcache
|
|
|
2042 |
if cmp -s $cache_file confcache; then
|
|
|
2043 |
:
|
|
|
2044 |
else
|
|
|
2045 |
if test -w $cache_file; then
|
|
|
2046 |
echo "updating cache $cache_file"
|
|
|
2047 |
cat confcache > $cache_file
|
|
|
2048 |
else
|
|
|
2049 |
echo "not updating unwritable cache $cache_file"
|
|
|
2050 |
fi
|
|
|
2051 |
fi
|
|
|
2052 |
rm -f confcache
|
|
|
2053 |
|
|
|
2054 |
trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
|
|
|
2055 |
|
|
|
2056 |
test "x$prefix" = xNONE && prefix=$ac_default_prefix
|
|
|
2057 |
# Let make expand exec_prefix.
|
|
|
2058 |
test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
|
|
|
2059 |
|
|
|
2060 |
# Any assignment to VPATH causes Sun make to only execute
|
|
|
2061 |
# the first set of double-colon rules, so remove it if not needed.
|
|
|
2062 |
# If there is a colon in the path, we need to keep it.
|
|
|
2063 |
if test "x$srcdir" = x.; then
|
|
|
2064 |
ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
|
|
|
2065 |
fi
|
|
|
2066 |
|
|
|
2067 |
trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
|
|
|
2068 |
|
|
|
2069 |
DEFS=-DHAVE_CONFIG_H
|
|
|
2070 |
|
|
|
2071 |
# Without the "./", some shells look in PATH for config.status.
|
|
|
2072 |
: ${CONFIG_STATUS=./config.status}
|
|
|
2073 |
|
|
|
2074 |
echo creating $CONFIG_STATUS
|
|
|
2075 |
rm -f $CONFIG_STATUS
|
|
|
2076 |
cat > $CONFIG_STATUS <<EOF
|
|
|
2077 |
#! /bin/sh
|
|
|
2078 |
# Generated automatically by configure.
|
|
|
2079 |
# Run this file to recreate the current configuration.
|
|
|
2080 |
# This directory was configured as follows,
|
|
|
2081 |
# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
|
|
|
2082 |
#
|
|
|
2083 |
# $0 $ac_configure_args
|
|
|
2084 |
#
|
|
|
2085 |
# Compiler output produced by configure, useful for debugging
|
|
|
2086 |
# configure, is in ./config.log if it exists.
|
|
|
2087 |
|
|
|
2088 |
ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
|
|
|
2089 |
for ac_option
|
|
|
2090 |
do
|
|
|
2091 |
case "\$ac_option" in
|
|
|
2092 |
-recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
|
|
|
2093 |
echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
|
|
|
2094 |
exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
|
|
|
2095 |
-version | --version | --versio | --versi | --vers | --ver | --ve | --v)
|
|
|
2096 |
echo "$CONFIG_STATUS generated by autoconf version 2.12"
|
|
|
2097 |
exit 0 ;;
|
|
|
2098 |
-help | --help | --hel | --he | --h)
|
|
|
2099 |
echo "\$ac_cs_usage"; exit 0 ;;
|
|
|
2100 |
*) echo "\$ac_cs_usage"; exit 1 ;;
|
|
|
2101 |
esac
|
|
|
2102 |
done
|
|
|
2103 |
|
|
|
2104 |
ac_given_srcdir=$srcdir
|
|
|
2105 |
ac_given_INSTALL="$INSTALL"
|
|
|
2106 |
|
|
|
2107 |
trap 'rm -fr `echo "Makefile config.h:config.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
|
|
|
2108 |
EOF
|
|
|
2109 |
cat >> $CONFIG_STATUS <<EOF
|
|
|
2110 |
|
|
|
2111 |
# Protect against being on the right side of a sed subst in config.status.
|
|
|
2112 |
sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
|
|
|
2113 |
s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
|
|
|
2114 |
$ac_vpsub
|
|
|
2115 |
$extrasub
|
|
|
2116 |
s%@CFLAGS@%$CFLAGS%g
|
|
|
2117 |
s%@CPPFLAGS@%$CPPFLAGS%g
|
|
|
2118 |
s%@CXXFLAGS@%$CXXFLAGS%g
|
|
|
2119 |
s%@DEFS@%$DEFS%g
|
|
|
2120 |
s%@LDFLAGS@%$LDFLAGS%g
|
|
|
2121 |
s%@LIBS@%$LIBS%g
|
|
|
2122 |
s%@exec_prefix@%$exec_prefix%g
|
|
|
2123 |
s%@prefix@%$prefix%g
|
|
|
2124 |
s%@program_transform_name@%$program_transform_name%g
|
|
|
2125 |
s%@bindir@%$bindir%g
|
|
|
2126 |
s%@sbindir@%$sbindir%g
|
|
|
2127 |
s%@libexecdir@%$libexecdir%g
|
|
|
2128 |
s%@datadir@%$datadir%g
|
|
|
2129 |
s%@sysconfdir@%$sysconfdir%g
|
|
|
2130 |
s%@sharedstatedir@%$sharedstatedir%g
|
|
|
2131 |
s%@localstatedir@%$localstatedir%g
|
|
|
2132 |
s%@libdir@%$libdir%g
|
|
|
2133 |
s%@includedir@%$includedir%g
|
|
|
2134 |
s%@oldincludedir@%$oldincludedir%g
|
|
|
2135 |
s%@infodir@%$infodir%g
|
|
|
2136 |
s%@mandir@%$mandir%g
|
|
|
2137 |
s%@PACKAGE@%$PACKAGE%g
|
|
|
2138 |
s%@VERSION@%$VERSION%g
|
|
|
2139 |
s%@CC@%$CC%g
|
|
|
2140 |
s%@CPP@%$CPP%g
|
|
|
2141 |
s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
|
|
|
2142 |
s%@INSTALL_DATA@%$INSTALL_DATA%g
|
|
|
2143 |
s%@SET_MAKE@%$SET_MAKE%g
|
|
|
2144 |
s%@ed_PROGRAM@%$ed_PROGRAM%g
|
|
|
2145 |
s%@LIBOBJS@%$LIBOBJS%g
|
|
|
2146 |
|
|
|
2147 |
CEOF
|
|
|
2148 |
EOF
|
|
|
2149 |
|
|
|
2150 |
cat >> $CONFIG_STATUS <<\EOF
|
|
|
2151 |
|
|
|
2152 |
# Split the substitutions into bite-sized pieces for seds with
|
|
|
2153 |
# small command number limits, like on Digital OSF/1 and HP-UX.
|
|
|
2154 |
ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
|
|
|
2155 |
ac_file=1 # Number of current file.
|
|
|
2156 |
ac_beg=1 # First line for current file.
|
|
|
2157 |
ac_end=$ac_max_sed_cmds # Line after last line for current file.
|
|
|
2158 |
ac_more_lines=:
|
|
|
2159 |
ac_sed_cmds=""
|
|
|
2160 |
while $ac_more_lines; do
|
|
|
2161 |
if test $ac_beg -gt 1; then
|
|
|
2162 |
sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
|
|
|
2163 |
else
|
|
|
2164 |
sed "${ac_end}q" conftest.subs > conftest.s$ac_file
|
|
|
2165 |
fi
|
|
|
2166 |
if test ! -s conftest.s$ac_file; then
|
|
|
2167 |
ac_more_lines=false
|
|
|
2168 |
rm -f conftest.s$ac_file
|
|
|
2169 |
else
|
|
|
2170 |
if test -z "$ac_sed_cmds"; then
|
|
|
2171 |
ac_sed_cmds="sed -f conftest.s$ac_file"
|
|
|
2172 |
else
|
|
|
2173 |
ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
|
|
|
2174 |
fi
|
|
|
2175 |
ac_file=`expr $ac_file + 1`
|
|
|
2176 |
ac_beg=$ac_end
|
|
|
2177 |
ac_end=`expr $ac_end + $ac_max_sed_cmds`
|
|
|
2178 |
fi
|
|
|
2179 |
done
|
|
|
2180 |
if test -z "$ac_sed_cmds"; then
|
|
|
2181 |
ac_sed_cmds=cat
|
|
|
2182 |
fi
|
|
|
2183 |
EOF
|
|
|
2184 |
|
|
|
2185 |
cat >> $CONFIG_STATUS <<EOF
|
|
|
2186 |
|
|
|
2187 |
CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
|
|
|
2188 |
EOF
|
|
|
2189 |
cat >> $CONFIG_STATUS <<\EOF
|
|
|
2190 |
for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
|
|
|
2191 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
|
2192 |
case "$ac_file" in
|
|
|
2193 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
|
|
2194 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
|
|
2195 |
*) ac_file_in="${ac_file}.in" ;;
|
|
|
2196 |
esac
|
|
|
2197 |
|
|
|
2198 |
# Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
|
|
|
2199 |
|
|
|
2200 |
# Remove last slash and all that follows it. Not all systems have dirname.
|
|
|
2201 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
|
|
2202 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
|
|
2203 |
# The file is in a subdirectory.
|
|
|
2204 |
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
|
|
2205 |
ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
|
|
|
2206 |
# A "../" for each directory in $ac_dir_suffix.
|
|
|
2207 |
ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
|
|
|
2208 |
else
|
|
|
2209 |
ac_dir_suffix= ac_dots=
|
|
|
2210 |
fi
|
|
|
2211 |
|
|
|
2212 |
case "$ac_given_srcdir" in
|
|
|
2213 |
.) srcdir=.
|
|
|
2214 |
if test -z "$ac_dots"; then top_srcdir=.
|
|
|
2215 |
else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
|
|
|
2216 |
/*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
|
|
|
2217 |
*) # Relative path.
|
|
|
2218 |
srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
|
|
|
2219 |
top_srcdir="$ac_dots$ac_given_srcdir" ;;
|
|
|
2220 |
esac
|
|
|
2221 |
|
|
|
2222 |
case "$ac_given_INSTALL" in
|
|
|
2223 |
[/$]*) INSTALL="$ac_given_INSTALL" ;;
|
|
|
2224 |
*) INSTALL="$ac_dots$ac_given_INSTALL" ;;
|
|
|
2225 |
esac
|
|
|
2226 |
|
|
|
2227 |
echo creating "$ac_file"
|
|
|
2228 |
rm -f "$ac_file"
|
|
|
2229 |
configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
|
|
|
2230 |
case "$ac_file" in
|
|
|
2231 |
*Makefile*) ac_comsub="1i\\
|
|
|
2232 |
# $configure_input" ;;
|
|
|
2233 |
*) ac_comsub= ;;
|
|
|
2234 |
esac
|
|
|
2235 |
|
|
|
2236 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
|
|
2237 |
sed -e "$ac_comsub
|
|
|
2238 |
s%@configure_input@%$configure_input%g
|
|
|
2239 |
s%@srcdir@%$srcdir%g
|
|
|
2240 |
s%@top_srcdir@%$top_srcdir%g
|
|
|
2241 |
s%@INSTALL@%$INSTALL%g
|
|
|
2242 |
" $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
|
|
|
2243 |
fi; done
|
|
|
2244 |
rm -f conftest.s*
|
|
|
2245 |
|
|
|
2246 |
# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
|
|
|
2247 |
# NAME is the cpp macro being defined and VALUE is the value it is being given.
|
|
|
2248 |
#
|
|
|
2249 |
# ac_d sets the value in "#define NAME VALUE" lines.
|
|
|
2250 |
ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
|
|
|
2251 |
ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
|
|
|
2252 |
ac_dC='\3'
|
|
|
2253 |
ac_dD='%g'
|
|
|
2254 |
# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
|
|
|
2255 |
ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
|
2256 |
ac_uB='\([ ]\)%\1#\2define\3'
|
|
|
2257 |
ac_uC=' '
|
|
|
2258 |
ac_uD='\4%g'
|
|
|
2259 |
# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
|
|
|
2260 |
ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
|
|
|
2261 |
ac_eB='$%\1#\2define\3'
|
|
|
2262 |
ac_eC=' '
|
|
|
2263 |
ac_eD='%g'
|
|
|
2264 |
|
|
|
2265 |
if test "${CONFIG_HEADERS+set}" != set; then
|
|
|
2266 |
EOF
|
|
|
2267 |
cat >> $CONFIG_STATUS <<EOF
|
|
|
2268 |
CONFIG_HEADERS="config.h:config.hin"
|
|
|
2269 |
EOF
|
|
|
2270 |
cat >> $CONFIG_STATUS <<\EOF
|
|
|
2271 |
fi
|
|
|
2272 |
for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
|
|
|
2273 |
# Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
|
|
|
2274 |
case "$ac_file" in
|
|
|
2275 |
*:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
|
|
|
2276 |
ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
|
|
|
2277 |
*) ac_file_in="${ac_file}.in" ;;
|
|
|
2278 |
esac
|
|
|
2279 |
|
|
|
2280 |
echo creating $ac_file
|
|
|
2281 |
|
|
|
2282 |
rm -f conftest.frag conftest.in conftest.out
|
|
|
2283 |
ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
|
|
|
2284 |
cat $ac_file_inputs > conftest.in
|
|
|
2285 |
|
|
|
2286 |
EOF
|
|
|
2287 |
|
|
|
2288 |
# Transform confdefs.h into a sed script conftest.vals that substitutes
|
|
|
2289 |
# the proper values into config.h.in to produce config.h. And first:
|
|
|
2290 |
# Protect against being on the right side of a sed subst in config.status.
|
|
|
2291 |
# Protect against being in an unquoted here document in config.status.
|
|
|
2292 |
rm -f conftest.vals
|
|
|
2293 |
cat > conftest.hdr <<\EOF
|
|
|
2294 |
s/[\\&%]/\\&/g
|
|
|
2295 |
s%[\\$`]%\\&%g
|
|
|
2296 |
s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
|
|
|
2297 |
s%ac_d%ac_u%gp
|
|
|
2298 |
s%ac_u%ac_e%gp
|
|
|
2299 |
EOF
|
|
|
2300 |
sed -n -f conftest.hdr confdefs.h > conftest.vals
|
|
|
2301 |
rm -f conftest.hdr
|
|
|
2302 |
|
|
|
2303 |
# This sed command replaces #undef with comments. This is necessary, for
|
|
|
2304 |
# example, in the case of _POSIX_SOURCE, which is predefined and required
|
|
|
2305 |
# on some systems where configure will not decide to define it.
|
|
|
2306 |
cat >> conftest.vals <<\EOF
|
|
|
2307 |
s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
|
|
|
2308 |
EOF
|
|
|
2309 |
|
|
|
2310 |
# Break up conftest.vals because some shells have a limit on
|
|
|
2311 |
# the size of here documents, and old seds have small limits too.
|
|
|
2312 |
|
|
|
2313 |
rm -f conftest.tail
|
|
|
2314 |
while :
|
|
|
2315 |
do
|
|
|
2316 |
ac_lines=`grep -c . conftest.vals`
|
|
|
2317 |
# grep -c gives empty output for an empty file on some AIX systems.
|
|
|
2318 |
if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
|
|
|
2319 |
# Write a limited-size here document to conftest.frag.
|
|
|
2320 |
echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
|
|
|
2321 |
sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
|
|
|
2322 |
echo 'CEOF
|
|
|
2323 |
sed -f conftest.frag conftest.in > conftest.out
|
|
|
2324 |
rm -f conftest.in
|
|
|
2325 |
mv conftest.out conftest.in
|
|
|
2326 |
' >> $CONFIG_STATUS
|
|
|
2327 |
sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
|
|
|
2328 |
rm -f conftest.vals
|
|
|
2329 |
mv conftest.tail conftest.vals
|
|
|
2330 |
done
|
|
|
2331 |
rm -f conftest.vals
|
|
|
2332 |
|
|
|
2333 |
cat >> $CONFIG_STATUS <<\EOF
|
|
|
2334 |
rm -f conftest.frag conftest.h
|
|
|
2335 |
echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
|
|
|
2336 |
cat conftest.in >> conftest.h
|
|
|
2337 |
rm -f conftest.in
|
|
|
2338 |
if cmp -s $ac_file conftest.h 2>/dev/null; then
|
|
|
2339 |
echo "$ac_file is unchanged"
|
|
|
2340 |
rm -f conftest.h
|
|
|
2341 |
else
|
|
|
2342 |
# Remove last slash and all that follows it. Not all systems have dirname.
|
|
|
2343 |
ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
|
|
|
2344 |
if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
|
|
|
2345 |
# The file is in a subdirectory.
|
|
|
2346 |
test ! -d "$ac_dir" && mkdir "$ac_dir"
|
|
|
2347 |
fi
|
|
|
2348 |
rm -f $ac_file
|
|
|
2349 |
mv conftest.h $ac_file
|
|
|
2350 |
fi
|
|
|
2351 |
fi; done
|
|
|
2352 |
|
|
|
2353 |
EOF
|
|
|
2354 |
cat >> $CONFIG_STATUS <<EOF
|
|
|
2355 |
|
|
|
2356 |
EOF
|
|
|
2357 |
cat >> $CONFIG_STATUS <<\EOF
|
|
|
2358 |
|
|
|
2359 |
exit 0
|
|
|
2360 |
EOF
|
|
|
2361 |
chmod +x $CONFIG_STATUS
|
|
|
2362 |
rm -fr confdefs* $ac_clean_files
|
|
|
2363 |
test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
|
|
|
2364 |
|