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