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 | --enable-debugging + include debugging code" |
---|
16 | ac_help="$ac_help |
---|
17 | --enable-gdt-surveying - include GDT survey code" |
---|
18 | ac_help="$ac_help |
---|
19 | --enable-md5 + include support for MD5 keys" |
---|
20 | ac_help="$ac_help |
---|
21 | --enable-des + include support for DES keys" |
---|
22 | ac_help="$ac_help |
---|
23 | --enable-BANCOMM - Datum/Bancomm bc635/VME interface" |
---|
24 | ac_help="$ac_help |
---|
25 | --enable-GPSVME - TrueTime GPS receiver/VME interface" |
---|
26 | ac_help="$ac_help |
---|
27 | --enable-SHM - SHM clock attached thru shared memory" |
---|
28 | ac_help="$ac_help |
---|
29 | --enable-all-clocks + include all suitable non-PARSE clocks:" |
---|
30 | ac_help="$ac_help |
---|
31 | --enable-ACTS + ACTS modem service" |
---|
32 | ac_help="$ac_help |
---|
33 | --enable-ARBITER + Arbiter 1088A/B GPS receiver" |
---|
34 | ac_help="$ac_help |
---|
35 | --enable-ARCRON-MSF + Arcron MSF receiver" |
---|
36 | ac_help="$ac_help |
---|
37 | --enable-AS2201 + Austron 2200A/2201A GPS receiver" |
---|
38 | ac_help="$ac_help |
---|
39 | --enable-ATOM + PPS interface" |
---|
40 | ac_help="$ac_help |
---|
41 | --enable-CHU s CHU modem/decoder" |
---|
42 | ac_help="$ac_help |
---|
43 | --enable-DATUM s Datum Programmable Time System" |
---|
44 | ac_help="$ac_help |
---|
45 | --enable-HEATH s Heath GC-1000 WWV/WWVH receiver" |
---|
46 | ac_help="$ac_help |
---|
47 | --enable-HPGPS + HP 58503A GPS receiver" |
---|
48 | ac_help="$ac_help |
---|
49 | --enable-IRIG s Sun IRIG audio decoder" |
---|
50 | ac_help="$ac_help |
---|
51 | --enable-LEITCH + Leitch CSD 5300 Master Clock System Driver" |
---|
52 | ac_help="$ac_help |
---|
53 | --enable-LOCAL-CLOCK + local clock reference" |
---|
54 | ac_help="$ac_help |
---|
55 | --enable-MSFEES + EES M201 MSF receiver" |
---|
56 | ac_help="$ac_help |
---|
57 | --enable-MX4200 s Magnavox MX4200 GPS receiver" |
---|
58 | ac_help="$ac_help |
---|
59 | --enable-NMEA + NMEA GPS receiver" |
---|
60 | ac_help="$ac_help |
---|
61 | --enable-PST + PST/Traconex 1020 WWV/WWVH receiver" |
---|
62 | ac_help="$ac_help |
---|
63 | --enable-PTBACTS s PTB modem service" |
---|
64 | ac_help="$ac_help |
---|
65 | --enable-TPRO s KSI/Odetics TPRO/S GPS receiver/IRIG interface" |
---|
66 | ac_help="$ac_help |
---|
67 | --enable-TRAK + TRAK 8810 GPS receiver" |
---|
68 | ac_help="$ac_help |
---|
69 | --enable-TRUETIME s Kinemetrics/TrueTime receivers" |
---|
70 | ac_help="$ac_help |
---|
71 | --enable-WWVB + Spectracom 8170/Netclock/2 WWVB receiver" |
---|
72 | ac_help="$ac_help |
---|
73 | --enable-USNO s USNO modem service" |
---|
74 | ac_help="$ac_help |
---|
75 | --enable-parse-clocks - include all suitable PARSE clocks:" |
---|
76 | ac_help="$ac_help |
---|
77 | --enable-COMPUTIME - Diem Cumputime Radio Clock" |
---|
78 | ac_help="$ac_help |
---|
79 | --enable-DCF7000 - ELV/DCF7000 clock" |
---|
80 | ac_help="$ac_help |
---|
81 | --enable-HOPF6021 - HOPF 6021 clock" |
---|
82 | ac_help="$ac_help |
---|
83 | --enable-MEINBERG - Meinberg clocks" |
---|
84 | ac_help="$ac_help |
---|
85 | --enable-RAWDCF - DCF77 raw time code" |
---|
86 | ac_help="$ac_help |
---|
87 | --enable-RCC8000 - RCC 8000 clock" |
---|
88 | ac_help="$ac_help |
---|
89 | --enable-SCHMID - Schmid DCF77 clock" |
---|
90 | ac_help="$ac_help |
---|
91 | --enable-TRIMTAIP - Trimble GPS receiver/TAIP protocol" |
---|
92 | ac_help="$ac_help |
---|
93 | --enable-TRIMTSIP - Trimble GPS receiver/TSIP protocol" |
---|
94 | ac_help="$ac_help |
---|
95 | --enable-kmem s read /dev/kmem for tick and/or tickadj" |
---|
96 | ac_help="$ac_help |
---|
97 | --enable-accurate-adjtime s the adjtime() call is accurate" |
---|
98 | ac_help="$ac_help |
---|
99 | --enable-tick=VALUE s force a value for 'tick'" |
---|
100 | ac_help="$ac_help |
---|
101 | --enable-tickadj=VALUE s force a value for 'tickadj'" |
---|
102 | ac_help="$ac_help |
---|
103 | --enable-udp-wildcard s use UDP wildcard delivery" |
---|
104 | ac_help="$ac_help |
---|
105 | --enable-slew-always s always slew the time" |
---|
106 | ac_help="$ac_help |
---|
107 | --enable-step-slew s step and slew the time" |
---|
108 | ac_help="$ac_help |
---|
109 | --enable-ntpdate-step s if ntpdate should step the time" |
---|
110 | ac_help="$ac_help |
---|
111 | --enable-hourly-todr-sync s if we should sync TODR hourly" |
---|
112 | |
---|
113 | # Initialize some variables set by options. |
---|
114 | # The variables have the same names as the options, with |
---|
115 | # dashes changed to underlines. |
---|
116 | build=NONE |
---|
117 | cache_file=./config.cache |
---|
118 | exec_prefix=NONE |
---|
119 | host=NONE |
---|
120 | no_create= |
---|
121 | nonopt=NONE |
---|
122 | no_recursion= |
---|
123 | prefix=NONE |
---|
124 | program_prefix=NONE |
---|
125 | program_suffix=NONE |
---|
126 | program_transform_name=s,x,x, |
---|
127 | silent= |
---|
128 | site= |
---|
129 | srcdir= |
---|
130 | target=NONE |
---|
131 | verbose= |
---|
132 | x_includes=NONE |
---|
133 | x_libraries=NONE |
---|
134 | bindir='${exec_prefix}/bin' |
---|
135 | sbindir='${exec_prefix}/sbin' |
---|
136 | libexecdir='${exec_prefix}/libexec' |
---|
137 | datadir='${prefix}/share' |
---|
138 | sysconfdir='${prefix}/etc' |
---|
139 | sharedstatedir='${prefix}/com' |
---|
140 | localstatedir='${prefix}/var' |
---|
141 | libdir='${exec_prefix}/lib' |
---|
142 | includedir='${prefix}/include' |
---|
143 | oldincludedir='/usr/include' |
---|
144 | infodir='${prefix}/info' |
---|
145 | mandir='${prefix}/man' |
---|
146 | |
---|
147 | # Initialize some other variables. |
---|
148 | subdirs= |
---|
149 | MFLAGS= MAKEFLAGS= |
---|
150 | # Maximum number of lines to put in a shell here document. |
---|
151 | ac_max_here_lines=12 |
---|
152 | |
---|
153 | ac_prev= |
---|
154 | for ac_option |
---|
155 | do |
---|
156 | |
---|
157 | # If the previous option needs an argument, assign it. |
---|
158 | if test -n "$ac_prev"; then |
---|
159 | eval "$ac_prev=\$ac_option" |
---|
160 | ac_prev= |
---|
161 | continue |
---|
162 | fi |
---|
163 | |
---|
164 | case "$ac_option" in |
---|
165 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
---|
166 | *) ac_optarg= ;; |
---|
167 | esac |
---|
168 | |
---|
169 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
170 | |
---|
171 | case "$ac_option" in |
---|
172 | |
---|
173 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
174 | ac_prev=bindir ;; |
---|
175 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
176 | bindir="$ac_optarg" ;; |
---|
177 | |
---|
178 | -build | --build | --buil | --bui | --bu) |
---|
179 | ac_prev=build ;; |
---|
180 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
181 | build="$ac_optarg" ;; |
---|
182 | |
---|
183 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
184 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
185 | ac_prev=cache_file ;; |
---|
186 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
187 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
188 | cache_file="$ac_optarg" ;; |
---|
189 | |
---|
190 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
191 | ac_prev=datadir ;; |
---|
192 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
193 | | --da=*) |
---|
194 | datadir="$ac_optarg" ;; |
---|
195 | |
---|
196 | -disable-* | --disable-*) |
---|
197 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
---|
198 | # Reject names that are not valid shell variable names. |
---|
199 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
200 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
201 | fi |
---|
202 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
203 | eval "enable_${ac_feature}=no" ;; |
---|
204 | |
---|
205 | -enable-* | --enable-*) |
---|
206 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
---|
207 | # Reject names that are not valid shell variable names. |
---|
208 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
209 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
210 | fi |
---|
211 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
212 | case "$ac_option" in |
---|
213 | *=*) ;; |
---|
214 | *) ac_optarg=yes ;; |
---|
215 | esac |
---|
216 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
---|
217 | |
---|
218 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
219 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
220 | | --exec | --exe | --ex) |
---|
221 | ac_prev=exec_prefix ;; |
---|
222 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
223 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
224 | | --exec=* | --exe=* | --ex=*) |
---|
225 | exec_prefix="$ac_optarg" ;; |
---|
226 | |
---|
227 | -gas | --gas | --ga | --g) |
---|
228 | # Obsolete; use --with-gas. |
---|
229 | with_gas=yes ;; |
---|
230 | |
---|
231 | -help | --help | --hel | --he) |
---|
232 | # Omit some internal or obsolete options to make the list less imposing. |
---|
233 | # This message is too long to be a string in the A/UX 3.1 sh. |
---|
234 | cat << EOF |
---|
235 | Usage: configure [options] [host] |
---|
236 | Options: [defaults in brackets after descriptions] |
---|
237 | Configuration: |
---|
238 | --cache-file=FILE cache test results in FILE |
---|
239 | --help print this message |
---|
240 | --no-create do not create output files |
---|
241 | --quiet, --silent do not print \`checking...' messages |
---|
242 | --version print the version of autoconf that created configure |
---|
243 | Directory and file names: |
---|
244 | --prefix=PREFIX install architecture-independent files in PREFIX |
---|
245 | [$ac_default_prefix] |
---|
246 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX |
---|
247 | [same as prefix] |
---|
248 | --bindir=DIR user executables in DIR [EPREFIX/bin] |
---|
249 | --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] |
---|
250 | --libexecdir=DIR program executables in DIR [EPREFIX/libexec] |
---|
251 | --datadir=DIR read-only architecture-independent data in DIR |
---|
252 | [PREFIX/share] |
---|
253 | --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] |
---|
254 | --sharedstatedir=DIR modifiable architecture-independent data in DIR |
---|
255 | [PREFIX/com] |
---|
256 | --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] |
---|
257 | --libdir=DIR object code libraries in DIR [EPREFIX/lib] |
---|
258 | --includedir=DIR C header files in DIR [PREFIX/include] |
---|
259 | --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] |
---|
260 | --infodir=DIR info documentation in DIR [PREFIX/info] |
---|
261 | --mandir=DIR man documentation in DIR [PREFIX/man] |
---|
262 | --srcdir=DIR find the sources in DIR [configure dir or ..] |
---|
263 | --program-prefix=PREFIX prepend PREFIX to installed program names |
---|
264 | --program-suffix=SUFFIX append SUFFIX to installed program names |
---|
265 | --program-transform-name=PROGRAM |
---|
266 | run sed PROGRAM on installed program names |
---|
267 | EOF |
---|
268 | cat << EOF |
---|
269 | Host type: |
---|
270 | --build=BUILD configure for building on BUILD [BUILD=HOST] |
---|
271 | --host=HOST configure for HOST [guessed] |
---|
272 | --target=TARGET configure for TARGET [TARGET=HOST] |
---|
273 | Features and packages: |
---|
274 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
---|
275 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
---|
276 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
---|
277 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
---|
278 | --x-includes=DIR X include files are in DIR |
---|
279 | --x-libraries=DIR X library files are in DIR |
---|
280 | EOF |
---|
281 | if test -n "$ac_help"; then |
---|
282 | echo "--enable and --with options recognized:$ac_help" |
---|
283 | fi |
---|
284 | exit 0 ;; |
---|
285 | |
---|
286 | -host | --host | --hos | --ho) |
---|
287 | ac_prev=host ;; |
---|
288 | -host=* | --host=* | --hos=* | --ho=*) |
---|
289 | host="$ac_optarg" ;; |
---|
290 | |
---|
291 | -includedir | --includedir | --includedi | --included | --include \ |
---|
292 | | --includ | --inclu | --incl | --inc) |
---|
293 | ac_prev=includedir ;; |
---|
294 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
295 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
296 | includedir="$ac_optarg" ;; |
---|
297 | |
---|
298 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
299 | ac_prev=infodir ;; |
---|
300 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
301 | infodir="$ac_optarg" ;; |
---|
302 | |
---|
303 | -libdir | --libdir | --libdi | --libd) |
---|
304 | ac_prev=libdir ;; |
---|
305 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
306 | libdir="$ac_optarg" ;; |
---|
307 | |
---|
308 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
309 | | --libexe | --libex | --libe) |
---|
310 | ac_prev=libexecdir ;; |
---|
311 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
312 | | --libexe=* | --libex=* | --libe=*) |
---|
313 | libexecdir="$ac_optarg" ;; |
---|
314 | |
---|
315 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
316 | | --localstate | --localstat | --localsta | --localst \ |
---|
317 | | --locals | --local | --loca | --loc | --lo) |
---|
318 | ac_prev=localstatedir ;; |
---|
319 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
320 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
321 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
322 | localstatedir="$ac_optarg" ;; |
---|
323 | |
---|
324 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
325 | ac_prev=mandir ;; |
---|
326 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
327 | mandir="$ac_optarg" ;; |
---|
328 | |
---|
329 | -nfp | --nfp | --nf) |
---|
330 | # Obsolete; use --without-fp. |
---|
331 | with_fp=no ;; |
---|
332 | |
---|
333 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
334 | | --no-cr | --no-c) |
---|
335 | no_create=yes ;; |
---|
336 | |
---|
337 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
338 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
339 | no_recursion=yes ;; |
---|
340 | |
---|
341 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
342 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
343 | | --oldin | --oldi | --old | --ol | --o) |
---|
344 | ac_prev=oldincludedir ;; |
---|
345 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
346 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
347 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
348 | oldincludedir="$ac_optarg" ;; |
---|
349 | |
---|
350 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
351 | ac_prev=prefix ;; |
---|
352 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
353 | prefix="$ac_optarg" ;; |
---|
354 | |
---|
355 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
356 | | --program-pre | --program-pr | --program-p) |
---|
357 | ac_prev=program_prefix ;; |
---|
358 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
359 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
360 | program_prefix="$ac_optarg" ;; |
---|
361 | |
---|
362 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
363 | | --program-suf | --program-su | --program-s) |
---|
364 | ac_prev=program_suffix ;; |
---|
365 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
366 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
367 | program_suffix="$ac_optarg" ;; |
---|
368 | |
---|
369 | -program-transform-name | --program-transform-name \ |
---|
370 | | --program-transform-nam | --program-transform-na \ |
---|
371 | | --program-transform-n | --program-transform- \ |
---|
372 | | --program-transform | --program-transfor \ |
---|
373 | | --program-transfo | --program-transf \ |
---|
374 | | --program-trans | --program-tran \ |
---|
375 | | --progr-tra | --program-tr | --program-t) |
---|
376 | ac_prev=program_transform_name ;; |
---|
377 | -program-transform-name=* | --program-transform-name=* \ |
---|
378 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
379 | | --program-transform-n=* | --program-transform-=* \ |
---|
380 | | --program-transform=* | --program-transfor=* \ |
---|
381 | | --program-transfo=* | --program-transf=* \ |
---|
382 | | --program-trans=* | --program-tran=* \ |
---|
383 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
384 | program_transform_name="$ac_optarg" ;; |
---|
385 | |
---|
386 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
387 | | -silent | --silent | --silen | --sile | --sil) |
---|
388 | silent=yes ;; |
---|
389 | |
---|
390 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
391 | ac_prev=sbindir ;; |
---|
392 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
393 | | --sbi=* | --sb=*) |
---|
394 | sbindir="$ac_optarg" ;; |
---|
395 | |
---|
396 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
397 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
398 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
399 | | --sha | --sh) |
---|
400 | ac_prev=sharedstatedir ;; |
---|
401 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
402 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
403 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
404 | | --sha=* | --sh=*) |
---|
405 | sharedstatedir="$ac_optarg" ;; |
---|
406 | |
---|
407 | -site | --site | --sit) |
---|
408 | ac_prev=site ;; |
---|
409 | -site=* | --site=* | --sit=*) |
---|
410 | site="$ac_optarg" ;; |
---|
411 | |
---|
412 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
413 | ac_prev=srcdir ;; |
---|
414 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
415 | srcdir="$ac_optarg" ;; |
---|
416 | |
---|
417 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
418 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
419 | ac_prev=sysconfdir ;; |
---|
420 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
421 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
422 | sysconfdir="$ac_optarg" ;; |
---|
423 | |
---|
424 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
425 | ac_prev=target ;; |
---|
426 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
427 | target="$ac_optarg" ;; |
---|
428 | |
---|
429 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
430 | verbose=yes ;; |
---|
431 | |
---|
432 | -version | --version | --versio | --versi | --vers) |
---|
433 | echo "configure generated by autoconf version 2.12" |
---|
434 | exit 0 ;; |
---|
435 | |
---|
436 | -with-* | --with-*) |
---|
437 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
---|
438 | # Reject names that are not valid shell variable names. |
---|
439 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
440 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
441 | fi |
---|
442 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
443 | case "$ac_option" in |
---|
444 | *=*) ;; |
---|
445 | *) ac_optarg=yes ;; |
---|
446 | esac |
---|
447 | eval "with_${ac_package}='$ac_optarg'" ;; |
---|
448 | |
---|
449 | -without-* | --without-*) |
---|
450 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
---|
451 | # Reject names that are not valid shell variable names. |
---|
452 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
453 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
454 | fi |
---|
455 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
456 | eval "with_${ac_package}=no" ;; |
---|
457 | |
---|
458 | --x) |
---|
459 | # Obsolete; use --with-x. |
---|
460 | with_x=yes ;; |
---|
461 | |
---|
462 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
463 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
464 | ac_prev=x_includes ;; |
---|
465 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
466 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
467 | x_includes="$ac_optarg" ;; |
---|
468 | |
---|
469 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
470 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
471 | ac_prev=x_libraries ;; |
---|
472 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
473 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) |
---|
474 | x_libraries="$ac_optarg" ;; |
---|
475 | |
---|
476 | -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } |
---|
477 | ;; |
---|
478 | |
---|
479 | *) |
---|
480 | if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then |
---|
481 | echo "configure: warning: $ac_option: invalid host type" 1>&2 |
---|
482 | fi |
---|
483 | if test "x$nonopt" != xNONE; then |
---|
484 | { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } |
---|
485 | fi |
---|
486 | nonopt="$ac_option" |
---|
487 | ;; |
---|
488 | |
---|
489 | esac |
---|
490 | done |
---|
491 | |
---|
492 | if test -n "$ac_prev"; then |
---|
493 | { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } |
---|
494 | fi |
---|
495 | |
---|
496 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
497 | |
---|
498 | # File descriptor usage: |
---|
499 | # 0 standard input |
---|
500 | # 1 file creation |
---|
501 | # 2 errors and warnings |
---|
502 | # 3 some systems may open it to /dev/tty |
---|
503 | # 4 used on the Kubota Titan |
---|
504 | # 6 checking for... messages and results |
---|
505 | # 5 compiler messages saved in config.log |
---|
506 | if test "$silent" = yes; then |
---|
507 | exec 6>/dev/null |
---|
508 | else |
---|
509 | exec 6>&1 |
---|
510 | fi |
---|
511 | exec 5>./config.log |
---|
512 | |
---|
513 | echo "\ |
---|
514 | This file contains any messages produced by compilers while |
---|
515 | running configure, to aid debugging if configure makes a mistake. |
---|
516 | " 1>&5 |
---|
517 | |
---|
518 | # Strip out --no-create and --no-recursion so they do not pile up. |
---|
519 | # Also quote any args containing shell metacharacters. |
---|
520 | ac_configure_args= |
---|
521 | for ac_arg |
---|
522 | do |
---|
523 | case "$ac_arg" in |
---|
524 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
525 | | --no-cr | --no-c) ;; |
---|
526 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
527 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; |
---|
528 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) |
---|
529 | ac_configure_args="$ac_configure_args '$ac_arg'" ;; |
---|
530 | *) ac_configure_args="$ac_configure_args $ac_arg" ;; |
---|
531 | esac |
---|
532 | done |
---|
533 | |
---|
534 | # NLS nuisances. |
---|
535 | # Only set these to C if already set. These must not be set unconditionally |
---|
536 | # because not all systems understand e.g. LANG=C (notably SCO). |
---|
537 | # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! |
---|
538 | # Non-C LC_CTYPE values break the ctype check. |
---|
539 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
---|
540 | if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi |
---|
541 | if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi |
---|
542 | if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi |
---|
543 | |
---|
544 | # confdefs.h avoids OS command line length limits that DEFS can exceed. |
---|
545 | rm -rf conftest* confdefs.h |
---|
546 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. |
---|
547 | echo > confdefs.h |
---|
548 | |
---|
549 | # A filename unique to this package, relative to the directory that |
---|
550 | # configure is in, which we can look for to find out if srcdir is correct. |
---|
551 | ac_unique_file=xntpd/ntp_refclock.c |
---|
552 | |
---|
553 | # Find the source files, if location was not specified. |
---|
554 | if test -z "$srcdir"; then |
---|
555 | ac_srcdir_defaulted=yes |
---|
556 | # Try the directory containing this script, then its parent. |
---|
557 | ac_prog=$0 |
---|
558 | ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` |
---|
559 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. |
---|
560 | srcdir=$ac_confdir |
---|
561 | if test ! -r $srcdir/$ac_unique_file; then |
---|
562 | srcdir=.. |
---|
563 | fi |
---|
564 | else |
---|
565 | ac_srcdir_defaulted=no |
---|
566 | fi |
---|
567 | if test ! -r $srcdir/$ac_unique_file; then |
---|
568 | if test "$ac_srcdir_defaulted" = yes; then |
---|
569 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
---|
570 | else |
---|
571 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
---|
572 | fi |
---|
573 | fi |
---|
574 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
---|
575 | |
---|
576 | # Prefer explicitly selected file to automatically selected ones. |
---|
577 | if test -z "$CONFIG_SITE"; then |
---|
578 | if test "x$prefix" != xNONE; then |
---|
579 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
580 | else |
---|
581 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
582 | fi |
---|
583 | fi |
---|
584 | for ac_site_file in $CONFIG_SITE; do |
---|
585 | if test -r "$ac_site_file"; then |
---|
586 | echo "loading site script $ac_site_file" |
---|
587 | . "$ac_site_file" |
---|
588 | fi |
---|
589 | done |
---|
590 | |
---|
591 | if test -r "$cache_file"; then |
---|
592 | echo "loading cache $cache_file" |
---|
593 | . $cache_file |
---|
594 | else |
---|
595 | echo "creating cache $cache_file" |
---|
596 | > $cache_file |
---|
597 | fi |
---|
598 | |
---|
599 | ac_ext=c |
---|
600 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
601 | ac_cpp='$CPP $CPPFLAGS' |
---|
602 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
603 | ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
604 | cross_compiling=$ac_cv_prog_cc_cross |
---|
605 | |
---|
606 | if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then |
---|
607 | # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. |
---|
608 | if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then |
---|
609 | ac_n= ac_c=' |
---|
610 | ' ac_t=' ' |
---|
611 | else |
---|
612 | ac_n=-n ac_c= ac_t= |
---|
613 | fi |
---|
614 | else |
---|
615 | ac_n= ac_c='\c' ac_t= |
---|
616 | fi |
---|
617 | |
---|
618 | |
---|
619 | ac_aux_dir= |
---|
620 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
621 | if test -f $ac_dir/install-sh; then |
---|
622 | ac_aux_dir=$ac_dir |
---|
623 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
624 | break |
---|
625 | elif test -f $ac_dir/install.sh; then |
---|
626 | ac_aux_dir=$ac_dir |
---|
627 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
628 | break |
---|
629 | fi |
---|
630 | done |
---|
631 | if test -z "$ac_aux_dir"; then |
---|
632 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
---|
633 | fi |
---|
634 | ac_config_guess=$ac_aux_dir/config.guess |
---|
635 | ac_config_sub=$ac_aux_dir/config.sub |
---|
636 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
---|
637 | |
---|
638 | # Find a good install program. We prefer a C program (faster), |
---|
639 | # so one script is as good as another. But avoid the broken or |
---|
640 | # incompatible versions: |
---|
641 | # SysV /etc/install, /usr/sbin/install |
---|
642 | # SunOS /usr/etc/install |
---|
643 | # IRIX /sbin/install |
---|
644 | # AIX /bin/install |
---|
645 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
646 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
647 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
648 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
---|
649 | echo "configure:650: checking for a BSD compatible install" >&5 |
---|
650 | if test -z "$INSTALL"; then |
---|
651 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
---|
652 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
653 | else |
---|
654 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
---|
655 | for ac_dir in $PATH; do |
---|
656 | # Account for people who put trailing slashes in PATH elements. |
---|
657 | case "$ac_dir/" in |
---|
658 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
---|
659 | *) |
---|
660 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
661 | for ac_prog in ginstall installbsd scoinst install; do |
---|
662 | if test -f $ac_dir/$ac_prog; then |
---|
663 | if test $ac_prog = install && |
---|
664 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
---|
665 | # AIX install. It has an incompatible calling convention. |
---|
666 | # OSF/1 installbsd also uses dspmsg, but is usable. |
---|
667 | : |
---|
668 | else |
---|
669 | ac_cv_path_install="$ac_dir/$ac_prog -c" |
---|
670 | break 2 |
---|
671 | fi |
---|
672 | fi |
---|
673 | done |
---|
674 | ;; |
---|
675 | esac |
---|
676 | done |
---|
677 | IFS="$ac_save_IFS" |
---|
678 | |
---|
679 | fi |
---|
680 | if test "${ac_cv_path_install+set}" = set; then |
---|
681 | INSTALL="$ac_cv_path_install" |
---|
682 | else |
---|
683 | # As a last resort, use the slow shell script. We don't cache a |
---|
684 | # path for INSTALL within a source directory, because that will |
---|
685 | # break other packages using the cache if that directory is |
---|
686 | # removed, or if the path is relative. |
---|
687 | INSTALL="$ac_install_sh" |
---|
688 | fi |
---|
689 | fi |
---|
690 | echo "$ac_t""$INSTALL" 1>&6 |
---|
691 | |
---|
692 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
693 | # It thinks the first close brace ends the variable substitution. |
---|
694 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
695 | |
---|
696 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
697 | |
---|
698 | |
---|
699 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
---|
700 | |
---|
701 | |
---|
702 | PACKAGE=xntp3 |
---|
703 | |
---|
704 | VERSION=5.91 |
---|
705 | |
---|
706 | if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then |
---|
707 | { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; } |
---|
708 | fi |
---|
709 | cat >> confdefs.h <<EOF |
---|
710 | #define PACKAGE "$PACKAGE" |
---|
711 | EOF |
---|
712 | |
---|
713 | cat >> confdefs.h <<EOF |
---|
714 | #define VERSION "$VERSION" |
---|
715 | EOF |
---|
716 | |
---|
717 | echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6 |
---|
718 | echo "configure:719: checking whether build environment is sane" >&5 |
---|
719 | # Just in case |
---|
720 | sleep 1 |
---|
721 | echo timestamp > conftestfile |
---|
722 | # Do `set' in a subshell so we don't clobber the current shell's |
---|
723 | # arguments. Must try -L first in case configure is actually a |
---|
724 | # symlink; some systems play weird games with the mod time of symlinks |
---|
725 | # (eg FreeBSD returns the mod time of the symlink's containing |
---|
726 | # directory). |
---|
727 | if ( |
---|
728 | set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null` |
---|
729 | if test "" = "X"; then |
---|
730 | # -L didn't work. |
---|
731 | set X `ls -t $srcdir/configure conftestfile` |
---|
732 | fi |
---|
733 | test "$2" = conftestfile |
---|
734 | ) |
---|
735 | then |
---|
736 | # Ok. |
---|
737 | : |
---|
738 | else |
---|
739 | { echo "configure: error: newly created file is older than distributed files! |
---|
740 | Check your system clock" 1>&2; exit 1; } |
---|
741 | fi |
---|
742 | rm -f conftest* |
---|
743 | echo "$ac_t""yes" 1>&6 |
---|
744 | if test "$program_transform_name" = s,x,x,; then |
---|
745 | program_transform_name= |
---|
746 | else |
---|
747 | # Double any \ or $. echo might interpret backslashes. |
---|
748 | cat <<\EOF_SED > conftestsed |
---|
749 | s,\\,\\\\,g; s,\$,$$,g |
---|
750 | EOF_SED |
---|
751 | program_transform_name="`echo $program_transform_name|sed -f conftestsed`" |
---|
752 | rm -f conftestsed |
---|
753 | fi |
---|
754 | test "$program_prefix" != NONE && |
---|
755 | program_transform_name="s,^,${program_prefix},; $program_transform_name" |
---|
756 | # Use a double $ so make ignores it. |
---|
757 | test "$program_suffix" != NONE && |
---|
758 | program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" |
---|
759 | |
---|
760 | # sed with no file args requires a program. |
---|
761 | test "$program_transform_name" = "" && program_transform_name="s,x,x," |
---|
762 | |
---|
763 | missing_dir=`cd $ac_aux_dir && pwd` |
---|
764 | echo $ac_n "checking for working aclocal""... $ac_c" 1>&6 |
---|
765 | echo "configure:766: checking for working aclocal" >&5 |
---|
766 | # Run test in a subshell; some versions of sh will print an error if |
---|
767 | # an executable is not found, even if stderr is redirected. |
---|
768 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
769 | if (aclocal --version) < /dev/null > /dev/null 2>&1; then |
---|
770 | ACLOCAL=aclocal |
---|
771 | echo "$ac_t""found" 1>&6 |
---|
772 | else |
---|
773 | ACLOCAL="$missing_dir/missing aclocal" |
---|
774 | echo "$ac_t""missing" 1>&6 |
---|
775 | fi |
---|
776 | |
---|
777 | echo $ac_n "checking for working autoconf""... $ac_c" 1>&6 |
---|
778 | echo "configure:779: checking for working autoconf" >&5 |
---|
779 | # Run test in a subshell; some versions of sh will print an error if |
---|
780 | # an executable is not found, even if stderr is redirected. |
---|
781 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
782 | if (autoconf --version) < /dev/null > /dev/null 2>&1; then |
---|
783 | AUTOCONF=autoconf |
---|
784 | echo "$ac_t""found" 1>&6 |
---|
785 | else |
---|
786 | AUTOCONF="$missing_dir/missing autoconf" |
---|
787 | echo "$ac_t""missing" 1>&6 |
---|
788 | fi |
---|
789 | |
---|
790 | echo $ac_n "checking for working automake""... $ac_c" 1>&6 |
---|
791 | echo "configure:792: checking for working automake" >&5 |
---|
792 | # Run test in a subshell; some versions of sh will print an error if |
---|
793 | # an executable is not found, even if stderr is redirected. |
---|
794 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
795 | if (automake --version) < /dev/null > /dev/null 2>&1; then |
---|
796 | AUTOMAKE=automake |
---|
797 | echo "$ac_t""found" 1>&6 |
---|
798 | else |
---|
799 | AUTOMAKE="$missing_dir/missing automake" |
---|
800 | echo "$ac_t""missing" 1>&6 |
---|
801 | fi |
---|
802 | |
---|
803 | echo $ac_n "checking for working autoheader""... $ac_c" 1>&6 |
---|
804 | echo "configure:805: checking for working autoheader" >&5 |
---|
805 | # Run test in a subshell; some versions of sh will print an error if |
---|
806 | # an executable is not found, even if stderr is redirected. |
---|
807 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
808 | if (autoheader --version) < /dev/null > /dev/null 2>&1; then |
---|
809 | AUTOHEADER=autoheader |
---|
810 | echo "$ac_t""found" 1>&6 |
---|
811 | else |
---|
812 | AUTOHEADER="$missing_dir/missing autoheader" |
---|
813 | echo "$ac_t""missing" 1>&6 |
---|
814 | fi |
---|
815 | |
---|
816 | echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6 |
---|
817 | echo "configure:818: checking for working makeinfo" >&5 |
---|
818 | # Run test in a subshell; some versions of sh will print an error if |
---|
819 | # an executable is not found, even if stderr is redirected. |
---|
820 | # Redirect stdin to placate older versions of autoconf. Sigh. |
---|
821 | if (makeinfo --version) < /dev/null > /dev/null 2>&1; then |
---|
822 | MAKEINFO=makeinfo |
---|
823 | echo "$ac_t""found" 1>&6 |
---|
824 | else |
---|
825 | MAKEINFO="$missing_dir/missing makeinfo" |
---|
826 | echo "$ac_t""missing" 1>&6 |
---|
827 | fi |
---|
828 | |
---|
829 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
---|
830 | echo "configure:831: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
---|
831 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
---|
832 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
---|
833 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
834 | else |
---|
835 | cat > conftestmake <<\EOF |
---|
836 | all: |
---|
837 | @echo 'ac_maketemp="${MAKE}"' |
---|
838 | EOF |
---|
839 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
840 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
---|
841 | if test -n "$ac_maketemp"; then |
---|
842 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
843 | else |
---|
844 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
845 | fi |
---|
846 | rm -f conftestmake |
---|
847 | fi |
---|
848 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
849 | echo "$ac_t""yes" 1>&6 |
---|
850 | SET_MAKE= |
---|
851 | else |
---|
852 | echo "$ac_t""no" 1>&6 |
---|
853 | SET_MAKE="MAKE=${MAKE-make}" |
---|
854 | fi |
---|
855 | |
---|
856 | |
---|
857 | # Do some error checking and defaulting for the host and target type. |
---|
858 | # The inputs are: |
---|
859 | # configure --host=HOST --target=TARGET --build=BUILD NONOPT |
---|
860 | # |
---|
861 | # The rules are: |
---|
862 | # 1. You are not allowed to specify --host, --target, and nonopt at the |
---|
863 | # same time. |
---|
864 | # 2. Host defaults to nonopt. |
---|
865 | # 3. If nonopt is not specified, then host defaults to the current host, |
---|
866 | # as determined by config.guess. |
---|
867 | # 4. Target and build default to nonopt. |
---|
868 | # 5. If nonopt is not specified, then target and build default to host. |
---|
869 | |
---|
870 | # The aliases save the names the user supplied, while $host etc. |
---|
871 | # will get canonicalized. |
---|
872 | case $host---$target---$nonopt in |
---|
873 | NONE---*---* | *---NONE---* | *---*---NONE) ;; |
---|
874 | *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;; |
---|
875 | esac |
---|
876 | |
---|
877 | |
---|
878 | # Make sure we can run config.sub. |
---|
879 | if $ac_config_sub sun4 >/dev/null 2>&1; then : |
---|
880 | else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } |
---|
881 | fi |
---|
882 | |
---|
883 | echo $ac_n "checking host system type""... $ac_c" 1>&6 |
---|
884 | echo "configure:885: checking host system type" >&5 |
---|
885 | |
---|
886 | host_alias=$host |
---|
887 | case "$host_alias" in |
---|
888 | NONE) |
---|
889 | case $nonopt in |
---|
890 | NONE) |
---|
891 | if host_alias=`$ac_config_guess`; then : |
---|
892 | else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } |
---|
893 | fi ;; |
---|
894 | *) host_alias=$nonopt ;; |
---|
895 | esac ;; |
---|
896 | esac |
---|
897 | |
---|
898 | host=`$ac_config_sub $host_alias` |
---|
899 | host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
900 | host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
901 | host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
902 | echo "$ac_t""$host" 1>&6 |
---|
903 | |
---|
904 | echo $ac_n "checking target system type""... $ac_c" 1>&6 |
---|
905 | echo "configure:906: checking target system type" >&5 |
---|
906 | |
---|
907 | target_alias=$target |
---|
908 | case "$target_alias" in |
---|
909 | NONE) |
---|
910 | case $nonopt in |
---|
911 | NONE) target_alias=$host_alias ;; |
---|
912 | *) target_alias=$nonopt ;; |
---|
913 | esac ;; |
---|
914 | esac |
---|
915 | |
---|
916 | target=`$ac_config_sub $target_alias` |
---|
917 | target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
918 | target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
919 | target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
920 | echo "$ac_t""$target" 1>&6 |
---|
921 | |
---|
922 | echo $ac_n "checking build system type""... $ac_c" 1>&6 |
---|
923 | echo "configure:924: checking build system type" >&5 |
---|
924 | |
---|
925 | build_alias=$build |
---|
926 | case "$build_alias" in |
---|
927 | NONE) |
---|
928 | case $nonopt in |
---|
929 | NONE) build_alias=$host_alias ;; |
---|
930 | *) build_alias=$nonopt ;; |
---|
931 | esac ;; |
---|
932 | esac |
---|
933 | |
---|
934 | build=`$ac_config_sub $build_alias` |
---|
935 | build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` |
---|
936 | build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` |
---|
937 | build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` |
---|
938 | echo "$ac_t""$build" 1>&6 |
---|
939 | |
---|
940 | test "$host_alias" != "$target_alias" && |
---|
941 | test "$program_prefix$program_suffix$program_transform_name" = \ |
---|
942 | NONENONEs,x,x, && |
---|
943 | program_prefix=${target_alias}- |
---|
944 | |
---|
945 | cat >> confdefs.h <<EOF |
---|
946 | #define STR_SYSTEM "$target" |
---|
947 | EOF |
---|
948 | |
---|
949 | |
---|
950 | |
---|
951 | |
---|
952 | if test "$program_transform_name" = s,x,x,; then |
---|
953 | program_transform_name= |
---|
954 | else |
---|
955 | # Double any \ or $. echo might interpret backslashes. |
---|
956 | cat <<\EOF_SED > conftestsed |
---|
957 | s,\\,\\\\,g; s,\$,$$,g |
---|
958 | EOF_SED |
---|
959 | program_transform_name="`echo $program_transform_name|sed -f conftestsed`" |
---|
960 | rm -f conftestsed |
---|
961 | fi |
---|
962 | test "$program_prefix" != NONE && |
---|
963 | program_transform_name="s,^,${program_prefix},; $program_transform_name" |
---|
964 | # Use a double $ so make ignores it. |
---|
965 | test "$program_suffix" != NONE && |
---|
966 | program_transform_name="s,\$\$,${program_suffix},; $program_transform_name" |
---|
967 | |
---|
968 | # sed with no file args requires a program. |
---|
969 | test "$program_transform_name" = "" && program_transform_name="s,x,x," |
---|
970 | |
---|
971 | |
---|
972 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
973 | set dummy gcc; ac_word=$2 |
---|
974 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
975 | echo "configure:976: checking for $ac_word" >&5 |
---|
976 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
977 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
978 | else |
---|
979 | if test -n "$CC"; then |
---|
980 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
981 | else |
---|
982 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
983 | for ac_dir in $PATH; do |
---|
984 | test -z "$ac_dir" && ac_dir=. |
---|
985 | if test -f $ac_dir/$ac_word; then |
---|
986 | ac_cv_prog_CC="gcc" |
---|
987 | break |
---|
988 | fi |
---|
989 | done |
---|
990 | IFS="$ac_save_ifs" |
---|
991 | fi |
---|
992 | fi |
---|
993 | CC="$ac_cv_prog_CC" |
---|
994 | if test -n "$CC"; then |
---|
995 | echo "$ac_t""$CC" 1>&6 |
---|
996 | else |
---|
997 | echo "$ac_t""no" 1>&6 |
---|
998 | fi |
---|
999 | |
---|
1000 | if test -z "$CC"; then |
---|
1001 | # Extract the first word of "cc", so it can be a program name with args. |
---|
1002 | set dummy cc; ac_word=$2 |
---|
1003 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1004 | echo "configure:1005: checking for $ac_word" >&5 |
---|
1005 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
1006 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1007 | else |
---|
1008 | if test -n "$CC"; then |
---|
1009 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
1010 | else |
---|
1011 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1012 | ac_prog_rejected=no |
---|
1013 | for ac_dir in $PATH; do |
---|
1014 | test -z "$ac_dir" && ac_dir=. |
---|
1015 | if test -f $ac_dir/$ac_word; then |
---|
1016 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
---|
1017 | ac_prog_rejected=yes |
---|
1018 | continue |
---|
1019 | fi |
---|
1020 | ac_cv_prog_CC="cc" |
---|
1021 | break |
---|
1022 | fi |
---|
1023 | done |
---|
1024 | IFS="$ac_save_ifs" |
---|
1025 | if test $ac_prog_rejected = yes; then |
---|
1026 | # We found a bogon in the path, so make sure we never use it. |
---|
1027 | set dummy $ac_cv_prog_CC |
---|
1028 | shift |
---|
1029 | if test $# -gt 0; then |
---|
1030 | # We chose a different compiler from the bogus one. |
---|
1031 | # However, it has the same basename, so the bogon will be chosen |
---|
1032 | # first if we set CC to just the basename; use the full file name. |
---|
1033 | shift |
---|
1034 | set dummy "$ac_dir/$ac_word" "$@" |
---|
1035 | shift |
---|
1036 | ac_cv_prog_CC="$@" |
---|
1037 | fi |
---|
1038 | fi |
---|
1039 | fi |
---|
1040 | fi |
---|
1041 | CC="$ac_cv_prog_CC" |
---|
1042 | if test -n "$CC"; then |
---|
1043 | echo "$ac_t""$CC" 1>&6 |
---|
1044 | else |
---|
1045 | echo "$ac_t""no" 1>&6 |
---|
1046 | fi |
---|
1047 | |
---|
1048 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
---|
1049 | fi |
---|
1050 | |
---|
1051 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
---|
1052 | echo "configure:1053: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
---|
1053 | |
---|
1054 | ac_ext=c |
---|
1055 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
1056 | ac_cpp='$CPP $CPPFLAGS' |
---|
1057 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
1058 | ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
1059 | cross_compiling=$ac_cv_prog_cc_cross |
---|
1060 | |
---|
1061 | cat > conftest.$ac_ext <<EOF |
---|
1062 | #line 1063 "configure" |
---|
1063 | #include "confdefs.h" |
---|
1064 | main(){return(0);} |
---|
1065 | EOF |
---|
1066 | if { (eval echo configure:1067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1067 | ac_cv_prog_cc_works=yes |
---|
1068 | # If we can't run a trivial program, we are probably using a cross compiler. |
---|
1069 | if (./conftest; exit) 2>/dev/null; then |
---|
1070 | ac_cv_prog_cc_cross=no |
---|
1071 | else |
---|
1072 | ac_cv_prog_cc_cross=yes |
---|
1073 | fi |
---|
1074 | else |
---|
1075 | echo "configure: failed program was:" >&5 |
---|
1076 | cat conftest.$ac_ext >&5 |
---|
1077 | ac_cv_prog_cc_works=no |
---|
1078 | fi |
---|
1079 | rm -fr conftest* |
---|
1080 | |
---|
1081 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
---|
1082 | if test $ac_cv_prog_cc_works = no; then |
---|
1083 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
---|
1084 | fi |
---|
1085 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
---|
1086 | echo "configure:1087: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
---|
1087 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
---|
1088 | cross_compiling=$ac_cv_prog_cc_cross |
---|
1089 | |
---|
1090 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
---|
1091 | echo "configure:1092: checking whether we are using GNU C" >&5 |
---|
1092 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
---|
1093 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1094 | else |
---|
1095 | cat > conftest.c <<EOF |
---|
1096 | #ifdef __GNUC__ |
---|
1097 | yes; |
---|
1098 | #endif |
---|
1099 | EOF |
---|
1100 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
---|
1101 | ac_cv_prog_gcc=yes |
---|
1102 | else |
---|
1103 | ac_cv_prog_gcc=no |
---|
1104 | fi |
---|
1105 | fi |
---|
1106 | |
---|
1107 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
---|
1108 | |
---|
1109 | if test $ac_cv_prog_gcc = yes; then |
---|
1110 | GCC=yes |
---|
1111 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
1112 | ac_save_CFLAGS="$CFLAGS" |
---|
1113 | CFLAGS= |
---|
1114 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
---|
1115 | echo "configure:1116: checking whether ${CC-cc} accepts -g" >&5 |
---|
1116 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
---|
1117 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1118 | else |
---|
1119 | echo 'void f(){}' > conftest.c |
---|
1120 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
---|
1121 | ac_cv_prog_cc_g=yes |
---|
1122 | else |
---|
1123 | ac_cv_prog_cc_g=no |
---|
1124 | fi |
---|
1125 | rm -f conftest* |
---|
1126 | |
---|
1127 | fi |
---|
1128 | |
---|
1129 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
---|
1130 | if test "$ac_test_CFLAGS" = set; then |
---|
1131 | CFLAGS="$ac_save_CFLAGS" |
---|
1132 | elif test $ac_cv_prog_cc_g = yes; then |
---|
1133 | CFLAGS="-g -O2" |
---|
1134 | else |
---|
1135 | CFLAGS="-O2" |
---|
1136 | fi |
---|
1137 | else |
---|
1138 | GCC= |
---|
1139 | test "${CFLAGS+set}" = set || CFLAGS="-g" |
---|
1140 | fi |
---|
1141 | |
---|
1142 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
---|
1143 | echo "configure:1144: checking how to run the C preprocessor" >&5 |
---|
1144 | # On Suns, sometimes $CPP names a directory. |
---|
1145 | if test -n "$CPP" && test -d "$CPP"; then |
---|
1146 | CPP= |
---|
1147 | fi |
---|
1148 | if test -z "$CPP"; then |
---|
1149 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
---|
1150 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1151 | else |
---|
1152 | # This must be in double quotes, not single quotes, because CPP may get |
---|
1153 | # substituted into the Makefile and "${CC-cc}" will confuse make. |
---|
1154 | CPP="${CC-cc} -E" |
---|
1155 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
1156 | # not just through cpp. |
---|
1157 | cat > conftest.$ac_ext <<EOF |
---|
1158 | #line 1159 "configure" |
---|
1159 | #include "confdefs.h" |
---|
1160 | #include <assert.h> |
---|
1161 | Syntax Error |
---|
1162 | EOF |
---|
1163 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
1164 | { (eval echo configure:1165: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
1165 | ac_err=`grep -v '^ *+' conftest.out` |
---|
1166 | if test -z "$ac_err"; then |
---|
1167 | : |
---|
1168 | else |
---|
1169 | echo "$ac_err" >&5 |
---|
1170 | echo "configure: failed program was:" >&5 |
---|
1171 | cat conftest.$ac_ext >&5 |
---|
1172 | rm -rf conftest* |
---|
1173 | CPP="${CC-cc} -E -traditional-cpp" |
---|
1174 | cat > conftest.$ac_ext <<EOF |
---|
1175 | #line 1176 "configure" |
---|
1176 | #include "confdefs.h" |
---|
1177 | #include <assert.h> |
---|
1178 | Syntax Error |
---|
1179 | EOF |
---|
1180 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
1181 | { (eval echo configure:1182: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
1182 | ac_err=`grep -v '^ *+' conftest.out` |
---|
1183 | if test -z "$ac_err"; then |
---|
1184 | : |
---|
1185 | else |
---|
1186 | echo "$ac_err" >&5 |
---|
1187 | echo "configure: failed program was:" >&5 |
---|
1188 | cat conftest.$ac_ext >&5 |
---|
1189 | rm -rf conftest* |
---|
1190 | CPP=/lib/cpp |
---|
1191 | fi |
---|
1192 | rm -f conftest* |
---|
1193 | fi |
---|
1194 | rm -f conftest* |
---|
1195 | ac_cv_prog_CPP="$CPP" |
---|
1196 | fi |
---|
1197 | CPP="$ac_cv_prog_CPP" |
---|
1198 | else |
---|
1199 | ac_cv_prog_CPP="$CPP" |
---|
1200 | fi |
---|
1201 | echo "$ac_t""$CPP" 1>&6 |
---|
1202 | |
---|
1203 | |
---|
1204 | case "$host" in |
---|
1205 | $target) |
---|
1206 | ;; |
---|
1207 | *) case "$target" in |
---|
1208 | *-*-vxworks*) |
---|
1209 | # Quick and dirty sanity check |
---|
1210 | case "$VX_KERNEL" in |
---|
1211 | '') { echo "configure: error: Please follow the directions in html/vxworks.html!" 1>&2; exit 1; } |
---|
1212 | ;; |
---|
1213 | esac |
---|
1214 | CFLAGS="$CFLAGS -DSYS_VXWORKS" |
---|
1215 | ;; |
---|
1216 | esac |
---|
1217 | ;; |
---|
1218 | esac |
---|
1219 | |
---|
1220 | for ac_prog in mawk gawk nawk awk |
---|
1221 | do |
---|
1222 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
1223 | set dummy $ac_prog; ac_word=$2 |
---|
1224 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1225 | echo "configure:1226: checking for $ac_word" >&5 |
---|
1226 | if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then |
---|
1227 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1228 | else |
---|
1229 | if test -n "$AWK"; then |
---|
1230 | ac_cv_prog_AWK="$AWK" # Let the user override the test. |
---|
1231 | else |
---|
1232 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1233 | for ac_dir in $PATH; do |
---|
1234 | test -z "$ac_dir" && ac_dir=. |
---|
1235 | if test -f $ac_dir/$ac_word; then |
---|
1236 | ac_cv_prog_AWK="$ac_prog" |
---|
1237 | break |
---|
1238 | fi |
---|
1239 | done |
---|
1240 | IFS="$ac_save_ifs" |
---|
1241 | fi |
---|
1242 | fi |
---|
1243 | AWK="$ac_cv_prog_AWK" |
---|
1244 | if test -n "$AWK"; then |
---|
1245 | echo "$ac_t""$AWK" 1>&6 |
---|
1246 | else |
---|
1247 | echo "$ac_t""no" 1>&6 |
---|
1248 | fi |
---|
1249 | |
---|
1250 | test -n "$AWK" && break |
---|
1251 | done |
---|
1252 | |
---|
1253 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
---|
1254 | echo "configure:1255: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
---|
1255 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
---|
1256 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
---|
1257 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1258 | else |
---|
1259 | cat > conftestmake <<\EOF |
---|
1260 | all: |
---|
1261 | @echo 'ac_maketemp="${MAKE}"' |
---|
1262 | EOF |
---|
1263 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
1264 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
---|
1265 | if test -n "$ac_maketemp"; then |
---|
1266 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
1267 | else |
---|
1268 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
1269 | fi |
---|
1270 | rm -f conftestmake |
---|
1271 | fi |
---|
1272 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
1273 | echo "$ac_t""yes" 1>&6 |
---|
1274 | SET_MAKE= |
---|
1275 | else |
---|
1276 | echo "$ac_t""no" 1>&6 |
---|
1277 | SET_MAKE="MAKE=${MAKE-make}" |
---|
1278 | fi |
---|
1279 | |
---|
1280 | |
---|
1281 | rm -f conftest* |
---|
1282 | |
---|
1283 | case "$GCC" in |
---|
1284 | yes) |
---|
1285 | CFLAGS="$CFLAGS -Wall" |
---|
1286 | # CFLAGS="$CFLAGS -Wtraditional" |
---|
1287 | # CFLAGS="$CFLAGS -Wshadow" |
---|
1288 | # CFLAGS="$CFLAGS -Wwrite-strings" |
---|
1289 | # CFLAGS="$CFLAGS -Wconversion" |
---|
1290 | # CFLAGS="$CFLAGS -Wpointer-arith" |
---|
1291 | # CFLAGS="$CFLAGS -Wcast-qual" |
---|
1292 | # CFLAGS="$CFLAGS -Wcast-align" |
---|
1293 | # CFLAGS="$CFLAGS -Wstrict-prototypes" |
---|
1294 | |
---|
1295 | echo $ac_n "checking whether ${CC-cc} accepts -pipe""... $ac_c" 1>&6 |
---|
1296 | echo "configure:1297: checking whether ${CC-cc} accepts -pipe" >&5 |
---|
1297 | if eval "test \"`echo '$''{'ac_cv_prog_cc_pipe'+set}'`\" = set"; then |
---|
1298 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1299 | else |
---|
1300 | echo 'void f(){}' > conftest.c |
---|
1301 | if test -z "`${CC-cc} -pipe -c conftest.c 2>&1`"; then |
---|
1302 | ac_cv_prog_cc_pipe=yes |
---|
1303 | else |
---|
1304 | ac_cv_prog_cc_pipe=no |
---|
1305 | fi |
---|
1306 | rm -f conftest* |
---|
1307 | |
---|
1308 | fi |
---|
1309 | |
---|
1310 | echo "$ac_t""$ac_cv_prog_cc_pipe" 1>&6 |
---|
1311 | |
---|
1312 | case "$ac_cv_prog_cc_pipe" in |
---|
1313 | yes) |
---|
1314 | CFLAGS="$CFLAGS -pipe" |
---|
1315 | ;; |
---|
1316 | esac |
---|
1317 | ;; |
---|
1318 | esac |
---|
1319 | |
---|
1320 | ac_busted_vpath_in_make=no |
---|
1321 | |
---|
1322 | case "$target" in |
---|
1323 | *-*-irix6.1*) # 64 bit only |
---|
1324 | ;; |
---|
1325 | *-*-irix6*) # 6.2 (and later?) |
---|
1326 | ac_busted_vpath_in_make=yes |
---|
1327 | case "$CFLAGS" in |
---|
1328 | *-n32*) ;; |
---|
1329 | *-n64*) ;; |
---|
1330 | *) CFLAGS="$CFLAGS -n32" ;; |
---|
1331 | esac |
---|
1332 | case "$LDFLAGS" in |
---|
1333 | *-n32*) ;; |
---|
1334 | *-n64*) ;; |
---|
1335 | *) LDFLAGS="$LDFLAGS -n32" ;; |
---|
1336 | esac |
---|
1337 | ;; |
---|
1338 | esac |
---|
1339 | |
---|
1340 | case "$ac_busted_vpath_in_make$srcdir" in |
---|
1341 | no*) ;; |
---|
1342 | yes.) ;; |
---|
1343 | *) case "`${MAKE-make} -v -f /dev/null 2>/dev/null | sed -e 's/GNU Make version \(1-9.]*\).*/\1/' -e q`" in |
---|
1344 | '') |
---|
1345 | { echo "configure: error: building outside of the main directory requires GNU make" 1>&2; exit 1; } |
---|
1346 | ;; |
---|
1347 | *) ;; |
---|
1348 | esac |
---|
1349 | ;; |
---|
1350 | esac |
---|
1351 | |
---|
1352 | |
---|
1353 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
---|
1354 | echo "configure:1355: checking whether ln -s works" >&5 |
---|
1355 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
---|
1356 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1357 | else |
---|
1358 | rm -f conftestdata |
---|
1359 | if ln -s X conftestdata 2>/dev/null |
---|
1360 | then |
---|
1361 | rm -f conftestdata |
---|
1362 | ac_cv_prog_LN_S="ln -s" |
---|
1363 | else |
---|
1364 | ac_cv_prog_LN_S=ln |
---|
1365 | fi |
---|
1366 | fi |
---|
1367 | LN_S="$ac_cv_prog_LN_S" |
---|
1368 | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
---|
1369 | echo "$ac_t""yes" 1>&6 |
---|
1370 | else |
---|
1371 | echo "$ac_t""no" 1>&6 |
---|
1372 | fi |
---|
1373 | |
---|
1374 | if test $ac_cv_prog_gcc = yes; then |
---|
1375 | echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6 |
---|
1376 | echo "configure:1377: checking whether ${CC-cc} needs -traditional" >&5 |
---|
1377 | if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then |
---|
1378 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1379 | else |
---|
1380 | ac_pattern="Autoconf.*'x'" |
---|
1381 | cat > conftest.$ac_ext <<EOF |
---|
1382 | #line 1383 "configure" |
---|
1383 | #include "confdefs.h" |
---|
1384 | #include <sgtty.h> |
---|
1385 | Autoconf TIOCGETP |
---|
1386 | EOF |
---|
1387 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
1388 | egrep "$ac_pattern" >/dev/null 2>&1; then |
---|
1389 | rm -rf conftest* |
---|
1390 | ac_cv_prog_gcc_traditional=yes |
---|
1391 | else |
---|
1392 | rm -rf conftest* |
---|
1393 | ac_cv_prog_gcc_traditional=no |
---|
1394 | fi |
---|
1395 | rm -f conftest* |
---|
1396 | |
---|
1397 | |
---|
1398 | if test $ac_cv_prog_gcc_traditional = no; then |
---|
1399 | cat > conftest.$ac_ext <<EOF |
---|
1400 | #line 1401 "configure" |
---|
1401 | #include "confdefs.h" |
---|
1402 | #include <termio.h> |
---|
1403 | Autoconf TCGETA |
---|
1404 | EOF |
---|
1405 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
1406 | egrep "$ac_pattern" >/dev/null 2>&1; then |
---|
1407 | rm -rf conftest* |
---|
1408 | ac_cv_prog_gcc_traditional=yes |
---|
1409 | fi |
---|
1410 | rm -f conftest* |
---|
1411 | |
---|
1412 | fi |
---|
1413 | fi |
---|
1414 | |
---|
1415 | echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6 |
---|
1416 | if test $ac_cv_prog_gcc_traditional = yes; then |
---|
1417 | CC="$CC -traditional" |
---|
1418 | fi |
---|
1419 | fi |
---|
1420 | |
---|
1421 | echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
---|
1422 | echo "configure:1423: checking for AIX" >&5 |
---|
1423 | cat > conftest.$ac_ext <<EOF |
---|
1424 | #line 1425 "configure" |
---|
1425 | #include "confdefs.h" |
---|
1426 | #ifdef _AIX |
---|
1427 | yes |
---|
1428 | #endif |
---|
1429 | |
---|
1430 | EOF |
---|
1431 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
1432 | egrep "yes" >/dev/null 2>&1; then |
---|
1433 | rm -rf conftest* |
---|
1434 | echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
---|
1435 | #define _ALL_SOURCE 1 |
---|
1436 | EOF |
---|
1437 | |
---|
1438 | else |
---|
1439 | rm -rf conftest* |
---|
1440 | echo "$ac_t""no" 1>&6 |
---|
1441 | fi |
---|
1442 | rm -f conftest* |
---|
1443 | |
---|
1444 | |
---|
1445 | ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'` |
---|
1446 | echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6 |
---|
1447 | echo "configure:1448: checking for minix/config.h" >&5 |
---|
1448 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
1449 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1450 | else |
---|
1451 | cat > conftest.$ac_ext <<EOF |
---|
1452 | #line 1453 "configure" |
---|
1453 | #include "confdefs.h" |
---|
1454 | #include <minix/config.h> |
---|
1455 | EOF |
---|
1456 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
1457 | { (eval echo configure:1458: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
1458 | ac_err=`grep -v '^ *+' conftest.out` |
---|
1459 | if test -z "$ac_err"; then |
---|
1460 | rm -rf conftest* |
---|
1461 | eval "ac_cv_header_$ac_safe=yes" |
---|
1462 | else |
---|
1463 | echo "$ac_err" >&5 |
---|
1464 | echo "configure: failed program was:" >&5 |
---|
1465 | cat conftest.$ac_ext >&5 |
---|
1466 | rm -rf conftest* |
---|
1467 | eval "ac_cv_header_$ac_safe=no" |
---|
1468 | fi |
---|
1469 | rm -f conftest* |
---|
1470 | fi |
---|
1471 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
1472 | echo "$ac_t""yes" 1>&6 |
---|
1473 | MINIX=yes |
---|
1474 | else |
---|
1475 | echo "$ac_t""no" 1>&6 |
---|
1476 | MINIX= |
---|
1477 | fi |
---|
1478 | |
---|
1479 | if test "$MINIX" = yes; then |
---|
1480 | cat >> confdefs.h <<\EOF |
---|
1481 | #define _POSIX_SOURCE 1 |
---|
1482 | EOF |
---|
1483 | |
---|
1484 | cat >> confdefs.h <<\EOF |
---|
1485 | #define _POSIX_1_SOURCE 2 |
---|
1486 | EOF |
---|
1487 | |
---|
1488 | cat >> confdefs.h <<\EOF |
---|
1489 | #define _MINIX 1 |
---|
1490 | EOF |
---|
1491 | |
---|
1492 | fi |
---|
1493 | |
---|
1494 | echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6 |
---|
1495 | echo "configure:1496: checking for POSIXized ISC" >&5 |
---|
1496 | if test -d /etc/conf/kconfig.d && |
---|
1497 | grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1 |
---|
1498 | then |
---|
1499 | echo "$ac_t""yes" 1>&6 |
---|
1500 | ISC=yes # If later tests want to check for ISC. |
---|
1501 | cat >> confdefs.h <<\EOF |
---|
1502 | #define _POSIX_SOURCE 1 |
---|
1503 | EOF |
---|
1504 | |
---|
1505 | if test "$GCC" = yes; then |
---|
1506 | CC="$CC -posix" |
---|
1507 | else |
---|
1508 | CC="$CC -Xp" |
---|
1509 | fi |
---|
1510 | else |
---|
1511 | echo "$ac_t""no" 1>&6 |
---|
1512 | ISC= |
---|
1513 | fi |
---|
1514 | |
---|
1515 | # Extract the first word of "ranlib", so it can be a program name with args. |
---|
1516 | set dummy ranlib; ac_word=$2 |
---|
1517 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
1518 | echo "configure:1519: checking for $ac_word" >&5 |
---|
1519 | if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then |
---|
1520 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1521 | else |
---|
1522 | if test -n "$RANLIB"; then |
---|
1523 | ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test. |
---|
1524 | else |
---|
1525 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:" |
---|
1526 | for ac_dir in $PATH; do |
---|
1527 | test -z "$ac_dir" && ac_dir=. |
---|
1528 | if test -f $ac_dir/$ac_word; then |
---|
1529 | ac_cv_prog_RANLIB="ranlib" |
---|
1530 | break |
---|
1531 | fi |
---|
1532 | done |
---|
1533 | IFS="$ac_save_ifs" |
---|
1534 | test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":" |
---|
1535 | fi |
---|
1536 | fi |
---|
1537 | RANLIB="$ac_cv_prog_RANLIB" |
---|
1538 | if test -n "$RANLIB"; then |
---|
1539 | echo "$ac_t""$RANLIB" 1>&6 |
---|
1540 | else |
---|
1541 | echo "$ac_t""no" 1>&6 |
---|
1542 | fi |
---|
1543 | |
---|
1544 | |
---|
1545 | case "$target" in |
---|
1546 | *-*-vxworks*) |
---|
1547 | ac_link="$ac_link $VX_KERNEL" |
---|
1548 | ;; |
---|
1549 | esac |
---|
1550 | |
---|
1551 | # Find a good install program. We prefer a C program (faster), |
---|
1552 | # so one script is as good as another. But avoid the broken or |
---|
1553 | # incompatible versions: |
---|
1554 | # SysV /etc/install, /usr/sbin/install |
---|
1555 | # SunOS /usr/etc/install |
---|
1556 | # IRIX /sbin/install |
---|
1557 | # AIX /bin/install |
---|
1558 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
1559 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
1560 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
1561 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
---|
1562 | echo "configure:1563: checking for a BSD compatible install" >&5 |
---|
1563 | if test -z "$INSTALL"; then |
---|
1564 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
---|
1565 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1566 | else |
---|
1567 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS="${IFS}:" |
---|
1568 | for ac_dir in $PATH; do |
---|
1569 | # Account for people who put trailing slashes in PATH elements. |
---|
1570 | case "$ac_dir/" in |
---|
1571 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
---|
1572 | *) |
---|
1573 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
1574 | for ac_prog in ginstall installbsd scoinst install; do |
---|
1575 | if test -f $ac_dir/$ac_prog; then |
---|
1576 | if test $ac_prog = install && |
---|
1577 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
---|
1578 | # AIX install. It has an incompatible calling convention. |
---|
1579 | # OSF/1 installbsd also uses dspmsg, but is usable. |
---|
1580 | : |
---|
1581 | else |
---|
1582 | ac_cv_path_install="$ac_dir/$ac_prog -c" |
---|
1583 | break 2 |
---|
1584 | fi |
---|
1585 | fi |
---|
1586 | done |
---|
1587 | ;; |
---|
1588 | esac |
---|
1589 | done |
---|
1590 | IFS="$ac_save_IFS" |
---|
1591 | |
---|
1592 | fi |
---|
1593 | if test "${ac_cv_path_install+set}" = set; then |
---|
1594 | INSTALL="$ac_cv_path_install" |
---|
1595 | else |
---|
1596 | # As a last resort, use the slow shell script. We don't cache a |
---|
1597 | # path for INSTALL within a source directory, because that will |
---|
1598 | # break other packages using the cache if that directory is |
---|
1599 | # removed, or if the path is relative. |
---|
1600 | INSTALL="$ac_install_sh" |
---|
1601 | fi |
---|
1602 | fi |
---|
1603 | echo "$ac_t""$INSTALL" 1>&6 |
---|
1604 | |
---|
1605 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
1606 | # It thinks the first close brace ends the variable substitution. |
---|
1607 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
1608 | |
---|
1609 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
1610 | |
---|
1611 | |
---|
1612 | check_libnsl=yes |
---|
1613 | check_libsocket=yes |
---|
1614 | case "$target" in |
---|
1615 | *-*-irix[56]*) |
---|
1616 | check_libnsl=no |
---|
1617 | check_libsocket=no |
---|
1618 | ;; |
---|
1619 | esac |
---|
1620 | |
---|
1621 | check_libgen=no |
---|
1622 | case "$target" in |
---|
1623 | *-univel-sysv4.2*) |
---|
1624 | check_libgen=yes |
---|
1625 | ;; |
---|
1626 | esac |
---|
1627 | |
---|
1628 | echo $ac_n "checking for nlist in -lelf""... $ac_c" 1>&6 |
---|
1629 | echo "configure:1630: checking for nlist in -lelf" >&5 |
---|
1630 | ac_lib_var=`echo elf'_'nlist | sed 'y%./+-%__p_%'` |
---|
1631 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1632 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1633 | else |
---|
1634 | ac_save_LIBS="$LIBS" |
---|
1635 | LIBS="-lelf $LIBS" |
---|
1636 | cat > conftest.$ac_ext <<EOF |
---|
1637 | #line 1638 "configure" |
---|
1638 | #include "confdefs.h" |
---|
1639 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1640 | /* We use char because int might match the return type of a gcc2 |
---|
1641 | builtin and then its argument prototype would still apply. */ |
---|
1642 | char nlist(); |
---|
1643 | |
---|
1644 | int main() { |
---|
1645 | nlist() |
---|
1646 | ; return 0; } |
---|
1647 | EOF |
---|
1648 | if { (eval echo configure:1649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1649 | rm -rf conftest* |
---|
1650 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1651 | else |
---|
1652 | echo "configure: failed program was:" >&5 |
---|
1653 | cat conftest.$ac_ext >&5 |
---|
1654 | rm -rf conftest* |
---|
1655 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1656 | fi |
---|
1657 | rm -f conftest* |
---|
1658 | LIBS="$ac_save_LIBS" |
---|
1659 | |
---|
1660 | fi |
---|
1661 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1662 | echo "$ac_t""yes" 1>&6 |
---|
1663 | ac_tr_lib=HAVE_LIB`echo elf | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1664 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1665 | cat >> confdefs.h <<EOF |
---|
1666 | #define $ac_tr_lib 1 |
---|
1667 | EOF |
---|
1668 | |
---|
1669 | LIBS="-lelf $LIBS" |
---|
1670 | |
---|
1671 | else |
---|
1672 | echo "$ac_t""no" 1>&6 |
---|
1673 | fi |
---|
1674 | |
---|
1675 | case "$check_libgen" in |
---|
1676 | yes) |
---|
1677 | echo $ac_n "checking for openlog in -lgen""... $ac_c" 1>&6 |
---|
1678 | echo "configure:1679: checking for openlog in -lgen" >&5 |
---|
1679 | ac_lib_var=`echo gen'_'openlog | sed 'y%./+-%__p_%'` |
---|
1680 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1681 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1682 | else |
---|
1683 | ac_save_LIBS="$LIBS" |
---|
1684 | LIBS="-lgen $LIBS" |
---|
1685 | cat > conftest.$ac_ext <<EOF |
---|
1686 | #line 1687 "configure" |
---|
1687 | #include "confdefs.h" |
---|
1688 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1689 | /* We use char because int might match the return type of a gcc2 |
---|
1690 | builtin and then its argument prototype would still apply. */ |
---|
1691 | char openlog(); |
---|
1692 | |
---|
1693 | int main() { |
---|
1694 | openlog() |
---|
1695 | ; return 0; } |
---|
1696 | EOF |
---|
1697 | if { (eval echo configure:1698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1698 | rm -rf conftest* |
---|
1699 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1700 | else |
---|
1701 | echo "configure: failed program was:" >&5 |
---|
1702 | cat conftest.$ac_ext >&5 |
---|
1703 | rm -rf conftest* |
---|
1704 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1705 | fi |
---|
1706 | rm -f conftest* |
---|
1707 | LIBS="$ac_save_LIBS" |
---|
1708 | |
---|
1709 | fi |
---|
1710 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1711 | echo "$ac_t""yes" 1>&6 |
---|
1712 | ac_tr_lib=HAVE_LIB`echo gen | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1713 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1714 | cat >> confdefs.h <<EOF |
---|
1715 | #define $ac_tr_lib 1 |
---|
1716 | EOF |
---|
1717 | |
---|
1718 | LIBS="-lgen $LIBS" |
---|
1719 | |
---|
1720 | else |
---|
1721 | echo "$ac_t""no" 1>&6 |
---|
1722 | fi |
---|
1723 | |
---|
1724 | ;; |
---|
1725 | esac |
---|
1726 | echo $ac_n "checking for main in -lkvm""... $ac_c" 1>&6 |
---|
1727 | echo "configure:1728: checking for main in -lkvm" >&5 |
---|
1728 | ac_lib_var=`echo kvm'_'main | sed 'y%./+-%__p_%'` |
---|
1729 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1730 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1731 | else |
---|
1732 | ac_save_LIBS="$LIBS" |
---|
1733 | LIBS="-lkvm $LIBS" |
---|
1734 | cat > conftest.$ac_ext <<EOF |
---|
1735 | #line 1736 "configure" |
---|
1736 | #include "confdefs.h" |
---|
1737 | |
---|
1738 | int main() { |
---|
1739 | main() |
---|
1740 | ; return 0; } |
---|
1741 | EOF |
---|
1742 | if { (eval echo configure:1743: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1743 | rm -rf conftest* |
---|
1744 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1745 | else |
---|
1746 | echo "configure: failed program was:" >&5 |
---|
1747 | cat conftest.$ac_ext >&5 |
---|
1748 | rm -rf conftest* |
---|
1749 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1750 | fi |
---|
1751 | rm -f conftest* |
---|
1752 | LIBS="$ac_save_LIBS" |
---|
1753 | |
---|
1754 | fi |
---|
1755 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1756 | echo "$ac_t""yes" 1>&6 |
---|
1757 | ac_tr_lib=HAVE_LIB`echo kvm | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1758 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1759 | cat >> confdefs.h <<EOF |
---|
1760 | #define $ac_tr_lib 1 |
---|
1761 | EOF |
---|
1762 | |
---|
1763 | LIBS="-lkvm $LIBS" |
---|
1764 | |
---|
1765 | else |
---|
1766 | echo "$ac_t""no" 1>&6 |
---|
1767 | fi |
---|
1768 | echo $ac_n "checking for nlist in -lld""... $ac_c" 1>&6 |
---|
1769 | echo "configure:1770: checking for nlist in -lld" >&5 |
---|
1770 | ac_lib_var=`echo ld'_'nlist | sed 'y%./+-%__p_%'` |
---|
1771 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1772 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1773 | else |
---|
1774 | ac_save_LIBS="$LIBS" |
---|
1775 | LIBS="-lld $LIBS" |
---|
1776 | cat > conftest.$ac_ext <<EOF |
---|
1777 | #line 1778 "configure" |
---|
1778 | #include "confdefs.h" |
---|
1779 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1780 | /* We use char because int might match the return type of a gcc2 |
---|
1781 | builtin and then its argument prototype would still apply. */ |
---|
1782 | char nlist(); |
---|
1783 | |
---|
1784 | int main() { |
---|
1785 | nlist() |
---|
1786 | ; return 0; } |
---|
1787 | EOF |
---|
1788 | if { (eval echo configure:1789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1789 | rm -rf conftest* |
---|
1790 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1791 | else |
---|
1792 | echo "configure: failed program was:" >&5 |
---|
1793 | cat conftest.$ac_ext >&5 |
---|
1794 | rm -rf conftest* |
---|
1795 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1796 | fi |
---|
1797 | rm -f conftest* |
---|
1798 | LIBS="$ac_save_LIBS" |
---|
1799 | |
---|
1800 | fi |
---|
1801 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1802 | echo "$ac_t""yes" 1>&6 |
---|
1803 | ac_tr_lib=HAVE_LIB`echo ld | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1804 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1805 | cat >> confdefs.h <<EOF |
---|
1806 | #define $ac_tr_lib 1 |
---|
1807 | EOF |
---|
1808 | |
---|
1809 | LIBS="-lld $LIBS" |
---|
1810 | |
---|
1811 | else |
---|
1812 | echo "$ac_t""no" 1>&6 |
---|
1813 | fi |
---|
1814 | |
---|
1815 | echo $ac_n "checking for nlist in -lmld""... $ac_c" 1>&6 |
---|
1816 | echo "configure:1817: checking for nlist in -lmld" >&5 |
---|
1817 | ac_lib_var=`echo mld'_'nlist | sed 'y%./+-%__p_%'` |
---|
1818 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1819 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1820 | else |
---|
1821 | ac_save_LIBS="$LIBS" |
---|
1822 | LIBS="-lmld $LIBS" |
---|
1823 | cat > conftest.$ac_ext <<EOF |
---|
1824 | #line 1825 "configure" |
---|
1825 | #include "confdefs.h" |
---|
1826 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1827 | /* We use char because int might match the return type of a gcc2 |
---|
1828 | builtin and then its argument prototype would still apply. */ |
---|
1829 | char nlist(); |
---|
1830 | |
---|
1831 | int main() { |
---|
1832 | nlist() |
---|
1833 | ; return 0; } |
---|
1834 | EOF |
---|
1835 | if { (eval echo configure:1836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1836 | rm -rf conftest* |
---|
1837 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1838 | else |
---|
1839 | echo "configure: failed program was:" >&5 |
---|
1840 | cat conftest.$ac_ext >&5 |
---|
1841 | rm -rf conftest* |
---|
1842 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1843 | fi |
---|
1844 | rm -f conftest* |
---|
1845 | LIBS="$ac_save_LIBS" |
---|
1846 | |
---|
1847 | fi |
---|
1848 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1849 | echo "$ac_t""yes" 1>&6 |
---|
1850 | ac_tr_lib=HAVE_LIB`echo mld | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1851 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1852 | cat >> confdefs.h <<EOF |
---|
1853 | #define $ac_tr_lib 1 |
---|
1854 | EOF |
---|
1855 | |
---|
1856 | LIBS="-lmld $LIBS" |
---|
1857 | |
---|
1858 | else |
---|
1859 | echo "$ac_t""no" 1>&6 |
---|
1860 | fi |
---|
1861 | |
---|
1862 | case "$check_libnsl" in |
---|
1863 | yes) |
---|
1864 | echo $ac_n "checking for gethostbyaddr in -lnsl""... $ac_c" 1>&6 |
---|
1865 | echo "configure:1866: checking for gethostbyaddr in -lnsl" >&5 |
---|
1866 | ac_lib_var=`echo nsl'_'gethostbyaddr | sed 'y%./+-%__p_%'` |
---|
1867 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1868 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1869 | else |
---|
1870 | ac_save_LIBS="$LIBS" |
---|
1871 | LIBS="-lnsl -lsocket $LIBS" |
---|
1872 | cat > conftest.$ac_ext <<EOF |
---|
1873 | #line 1874 "configure" |
---|
1874 | #include "confdefs.h" |
---|
1875 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1876 | /* We use char because int might match the return type of a gcc2 |
---|
1877 | builtin and then its argument prototype would still apply. */ |
---|
1878 | char gethostbyaddr(); |
---|
1879 | |
---|
1880 | int main() { |
---|
1881 | gethostbyaddr() |
---|
1882 | ; return 0; } |
---|
1883 | EOF |
---|
1884 | if { (eval echo configure:1885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1885 | rm -rf conftest* |
---|
1886 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1887 | else |
---|
1888 | echo "configure: failed program was:" >&5 |
---|
1889 | cat conftest.$ac_ext >&5 |
---|
1890 | rm -rf conftest* |
---|
1891 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1892 | fi |
---|
1893 | rm -f conftest* |
---|
1894 | LIBS="$ac_save_LIBS" |
---|
1895 | |
---|
1896 | fi |
---|
1897 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1898 | echo "$ac_t""yes" 1>&6 |
---|
1899 | ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1900 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1901 | cat >> confdefs.h <<EOF |
---|
1902 | #define $ac_tr_lib 1 |
---|
1903 | EOF |
---|
1904 | |
---|
1905 | LIBS="-lnsl $LIBS" |
---|
1906 | |
---|
1907 | else |
---|
1908 | echo "$ac_t""no" 1>&6 |
---|
1909 | fi |
---|
1910 | |
---|
1911 | ;; |
---|
1912 | esac |
---|
1913 | echo $ac_n "checking for main in -lposix4""... $ac_c" 1>&6 |
---|
1914 | echo "configure:1915: checking for main in -lposix4" >&5 |
---|
1915 | ac_lib_var=`echo posix4'_'main | sed 'y%./+-%__p_%'` |
---|
1916 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1917 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1918 | else |
---|
1919 | ac_save_LIBS="$LIBS" |
---|
1920 | LIBS="-lposix4 $LIBS" |
---|
1921 | cat > conftest.$ac_ext <<EOF |
---|
1922 | #line 1923 "configure" |
---|
1923 | #include "confdefs.h" |
---|
1924 | |
---|
1925 | int main() { |
---|
1926 | main() |
---|
1927 | ; return 0; } |
---|
1928 | EOF |
---|
1929 | if { (eval echo configure:1930: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1930 | rm -rf conftest* |
---|
1931 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1932 | else |
---|
1933 | echo "configure: failed program was:" >&5 |
---|
1934 | cat conftest.$ac_ext >&5 |
---|
1935 | rm -rf conftest* |
---|
1936 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1937 | fi |
---|
1938 | rm -f conftest* |
---|
1939 | LIBS="$ac_save_LIBS" |
---|
1940 | |
---|
1941 | fi |
---|
1942 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1943 | echo "$ac_t""yes" 1>&6 |
---|
1944 | ac_tr_lib=HAVE_LIB`echo posix4 | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1945 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1946 | cat >> confdefs.h <<EOF |
---|
1947 | #define $ac_tr_lib 1 |
---|
1948 | EOF |
---|
1949 | |
---|
1950 | LIBS="-lposix4 $LIBS" |
---|
1951 | |
---|
1952 | else |
---|
1953 | echo "$ac_t""no" 1>&6 |
---|
1954 | fi |
---|
1955 | case "$check_libsocket" in |
---|
1956 | yes) |
---|
1957 | echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6 |
---|
1958 | echo "configure:1959: checking for socket in -lsocket" >&5 |
---|
1959 | ac_lib_var=`echo socket'_'socket | sed 'y%./+-%__p_%'` |
---|
1960 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
1961 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
1962 | else |
---|
1963 | ac_save_LIBS="$LIBS" |
---|
1964 | LIBS="-lsocket $LIBS" |
---|
1965 | cat > conftest.$ac_ext <<EOF |
---|
1966 | #line 1967 "configure" |
---|
1967 | #include "confdefs.h" |
---|
1968 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
1969 | /* We use char because int might match the return type of a gcc2 |
---|
1970 | builtin and then its argument prototype would still apply. */ |
---|
1971 | char socket(); |
---|
1972 | |
---|
1973 | int main() { |
---|
1974 | socket() |
---|
1975 | ; return 0; } |
---|
1976 | EOF |
---|
1977 | if { (eval echo configure:1978: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
1978 | rm -rf conftest* |
---|
1979 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
1980 | else |
---|
1981 | echo "configure: failed program was:" >&5 |
---|
1982 | cat conftest.$ac_ext >&5 |
---|
1983 | rm -rf conftest* |
---|
1984 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
1985 | fi |
---|
1986 | rm -f conftest* |
---|
1987 | LIBS="$ac_save_LIBS" |
---|
1988 | |
---|
1989 | fi |
---|
1990 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
1991 | echo "$ac_t""yes" 1>&6 |
---|
1992 | ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
1993 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
1994 | cat >> confdefs.h <<EOF |
---|
1995 | #define $ac_tr_lib 1 |
---|
1996 | EOF |
---|
1997 | |
---|
1998 | LIBS="-lsocket $LIBS" |
---|
1999 | |
---|
2000 | else |
---|
2001 | echo "$ac_t""no" 1>&6 |
---|
2002 | fi |
---|
2003 | |
---|
2004 | ;; |
---|
2005 | esac |
---|
2006 | |
---|
2007 | echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6 |
---|
2008 | echo "configure:2009: checking for ANSI C header files" >&5 |
---|
2009 | if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then |
---|
2010 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2011 | else |
---|
2012 | cat > conftest.$ac_ext <<EOF |
---|
2013 | #line 2014 "configure" |
---|
2014 | #include "confdefs.h" |
---|
2015 | #include <stdlib.h> |
---|
2016 | #include <stdarg.h> |
---|
2017 | #include <string.h> |
---|
2018 | #include <float.h> |
---|
2019 | EOF |
---|
2020 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2021 | { (eval echo configure:2022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2022 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2023 | if test -z "$ac_err"; then |
---|
2024 | rm -rf conftest* |
---|
2025 | ac_cv_header_stdc=yes |
---|
2026 | else |
---|
2027 | echo "$ac_err" >&5 |
---|
2028 | echo "configure: failed program was:" >&5 |
---|
2029 | cat conftest.$ac_ext >&5 |
---|
2030 | rm -rf conftest* |
---|
2031 | ac_cv_header_stdc=no |
---|
2032 | fi |
---|
2033 | rm -f conftest* |
---|
2034 | |
---|
2035 | if test $ac_cv_header_stdc = yes; then |
---|
2036 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
---|
2037 | cat > conftest.$ac_ext <<EOF |
---|
2038 | #line 2039 "configure" |
---|
2039 | #include "confdefs.h" |
---|
2040 | #include <string.h> |
---|
2041 | EOF |
---|
2042 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
2043 | egrep "memchr" >/dev/null 2>&1; then |
---|
2044 | : |
---|
2045 | else |
---|
2046 | rm -rf conftest* |
---|
2047 | ac_cv_header_stdc=no |
---|
2048 | fi |
---|
2049 | rm -f conftest* |
---|
2050 | |
---|
2051 | fi |
---|
2052 | |
---|
2053 | if test $ac_cv_header_stdc = yes; then |
---|
2054 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
---|
2055 | cat > conftest.$ac_ext <<EOF |
---|
2056 | #line 2057 "configure" |
---|
2057 | #include "confdefs.h" |
---|
2058 | #include <stdlib.h> |
---|
2059 | EOF |
---|
2060 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
2061 | egrep "free" >/dev/null 2>&1; then |
---|
2062 | : |
---|
2063 | else |
---|
2064 | rm -rf conftest* |
---|
2065 | ac_cv_header_stdc=no |
---|
2066 | fi |
---|
2067 | rm -f conftest* |
---|
2068 | |
---|
2069 | fi |
---|
2070 | |
---|
2071 | if test $ac_cv_header_stdc = yes; then |
---|
2072 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
---|
2073 | if test "$cross_compiling" = yes; then |
---|
2074 | : |
---|
2075 | else |
---|
2076 | cat > conftest.$ac_ext <<EOF |
---|
2077 | #line 2078 "configure" |
---|
2078 | #include "confdefs.h" |
---|
2079 | #include <ctype.h> |
---|
2080 | #define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
---|
2081 | #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
---|
2082 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
---|
2083 | int main () { int i; for (i = 0; i < 256; i++) |
---|
2084 | if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2); |
---|
2085 | exit (0); } |
---|
2086 | |
---|
2087 | EOF |
---|
2088 | if { (eval echo configure:2089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
2089 | then |
---|
2090 | : |
---|
2091 | else |
---|
2092 | echo "configure: failed program was:" >&5 |
---|
2093 | cat conftest.$ac_ext >&5 |
---|
2094 | rm -fr conftest* |
---|
2095 | ac_cv_header_stdc=no |
---|
2096 | fi |
---|
2097 | rm -fr conftest* |
---|
2098 | fi |
---|
2099 | |
---|
2100 | fi |
---|
2101 | fi |
---|
2102 | |
---|
2103 | echo "$ac_t""$ac_cv_header_stdc" 1>&6 |
---|
2104 | if test $ac_cv_header_stdc = yes; then |
---|
2105 | cat >> confdefs.h <<\EOF |
---|
2106 | #define STDC_HEADERS 1 |
---|
2107 | EOF |
---|
2108 | |
---|
2109 | fi |
---|
2110 | |
---|
2111 | for ac_hdr in errno.h fcntl.h memory.h sched.h sgtty.h stdlib.h string.h |
---|
2112 | do |
---|
2113 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2114 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2115 | echo "configure:2116: checking for $ac_hdr" >&5 |
---|
2116 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2117 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2118 | else |
---|
2119 | cat > conftest.$ac_ext <<EOF |
---|
2120 | #line 2121 "configure" |
---|
2121 | #include "confdefs.h" |
---|
2122 | #include <$ac_hdr> |
---|
2123 | EOF |
---|
2124 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2125 | { (eval echo configure:2126: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2126 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2127 | if test -z "$ac_err"; then |
---|
2128 | rm -rf conftest* |
---|
2129 | eval "ac_cv_header_$ac_safe=yes" |
---|
2130 | else |
---|
2131 | echo "$ac_err" >&5 |
---|
2132 | echo "configure: failed program was:" >&5 |
---|
2133 | cat conftest.$ac_ext >&5 |
---|
2134 | rm -rf conftest* |
---|
2135 | eval "ac_cv_header_$ac_safe=no" |
---|
2136 | fi |
---|
2137 | rm -f conftest* |
---|
2138 | fi |
---|
2139 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2140 | echo "$ac_t""yes" 1>&6 |
---|
2141 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2142 | cat >> confdefs.h <<EOF |
---|
2143 | #define $ac_tr_hdr 1 |
---|
2144 | EOF |
---|
2145 | |
---|
2146 | else |
---|
2147 | echo "$ac_t""no" 1>&6 |
---|
2148 | fi |
---|
2149 | done |
---|
2150 | |
---|
2151 | for ac_hdr in termio.h termios.h unistd.h utmp.h utmpx.h |
---|
2152 | do |
---|
2153 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2154 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2155 | echo "configure:2156: checking for $ac_hdr" >&5 |
---|
2156 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2157 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2158 | else |
---|
2159 | cat > conftest.$ac_ext <<EOF |
---|
2160 | #line 2161 "configure" |
---|
2161 | #include "confdefs.h" |
---|
2162 | #include <$ac_hdr> |
---|
2163 | EOF |
---|
2164 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2165 | { (eval echo configure:2166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2166 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2167 | if test -z "$ac_err"; then |
---|
2168 | rm -rf conftest* |
---|
2169 | eval "ac_cv_header_$ac_safe=yes" |
---|
2170 | else |
---|
2171 | echo "$ac_err" >&5 |
---|
2172 | echo "configure: failed program was:" >&5 |
---|
2173 | cat conftest.$ac_ext >&5 |
---|
2174 | rm -rf conftest* |
---|
2175 | eval "ac_cv_header_$ac_safe=no" |
---|
2176 | fi |
---|
2177 | rm -f conftest* |
---|
2178 | fi |
---|
2179 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2180 | echo "$ac_t""yes" 1>&6 |
---|
2181 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2182 | cat >> confdefs.h <<EOF |
---|
2183 | #define $ac_tr_hdr 1 |
---|
2184 | EOF |
---|
2185 | |
---|
2186 | else |
---|
2187 | echo "$ac_t""no" 1>&6 |
---|
2188 | fi |
---|
2189 | done |
---|
2190 | |
---|
2191 | for ac_hdr in net/if.h netinet/in.h netinet/ip.h sys/bsd_audioirig.h |
---|
2192 | do |
---|
2193 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2194 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2195 | echo "configure:2196: checking for $ac_hdr" >&5 |
---|
2196 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2197 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2198 | else |
---|
2199 | cat > conftest.$ac_ext <<EOF |
---|
2200 | #line 2201 "configure" |
---|
2201 | #include "confdefs.h" |
---|
2202 | #include <$ac_hdr> |
---|
2203 | EOF |
---|
2204 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2205 | { (eval echo configure:2206: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2206 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2207 | if test -z "$ac_err"; then |
---|
2208 | rm -rf conftest* |
---|
2209 | eval "ac_cv_header_$ac_safe=yes" |
---|
2210 | else |
---|
2211 | echo "$ac_err" >&5 |
---|
2212 | echo "configure: failed program was:" >&5 |
---|
2213 | cat conftest.$ac_ext >&5 |
---|
2214 | rm -rf conftest* |
---|
2215 | eval "ac_cv_header_$ac_safe=no" |
---|
2216 | fi |
---|
2217 | rm -f conftest* |
---|
2218 | fi |
---|
2219 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2220 | echo "$ac_t""yes" 1>&6 |
---|
2221 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2222 | cat >> confdefs.h <<EOF |
---|
2223 | #define $ac_tr_hdr 1 |
---|
2224 | EOF |
---|
2225 | |
---|
2226 | else |
---|
2227 | echo "$ac_t""no" 1>&6 |
---|
2228 | fi |
---|
2229 | done |
---|
2230 | |
---|
2231 | for ac_hdr in sys/chudefs.h sys/clkdefs.h sys/file.h |
---|
2232 | do |
---|
2233 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2234 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2235 | echo "configure:2236: checking for $ac_hdr" >&5 |
---|
2236 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2237 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2238 | else |
---|
2239 | cat > conftest.$ac_ext <<EOF |
---|
2240 | #line 2241 "configure" |
---|
2241 | #include "confdefs.h" |
---|
2242 | #include <$ac_hdr> |
---|
2243 | EOF |
---|
2244 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2245 | { (eval echo configure:2246: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2246 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2247 | if test -z "$ac_err"; then |
---|
2248 | rm -rf conftest* |
---|
2249 | eval "ac_cv_header_$ac_safe=yes" |
---|
2250 | else |
---|
2251 | echo "$ac_err" >&5 |
---|
2252 | echo "configure: failed program was:" >&5 |
---|
2253 | cat conftest.$ac_ext >&5 |
---|
2254 | rm -rf conftest* |
---|
2255 | eval "ac_cv_header_$ac_safe=no" |
---|
2256 | fi |
---|
2257 | rm -f conftest* |
---|
2258 | fi |
---|
2259 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2260 | echo "$ac_t""yes" 1>&6 |
---|
2261 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2262 | cat >> confdefs.h <<EOF |
---|
2263 | #define $ac_tr_hdr 1 |
---|
2264 | EOF |
---|
2265 | |
---|
2266 | else |
---|
2267 | echo "$ac_t""no" 1>&6 |
---|
2268 | fi |
---|
2269 | done |
---|
2270 | |
---|
2271 | case "$target" in |
---|
2272 | *-*-sunos4*) ;; |
---|
2273 | *) for ac_hdr in sys/ioctl.h |
---|
2274 | do |
---|
2275 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2276 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2277 | echo "configure:2278: checking for $ac_hdr" >&5 |
---|
2278 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2279 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2280 | else |
---|
2281 | cat > conftest.$ac_ext <<EOF |
---|
2282 | #line 2283 "configure" |
---|
2283 | #include "confdefs.h" |
---|
2284 | #include <$ac_hdr> |
---|
2285 | EOF |
---|
2286 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2287 | { (eval echo configure:2288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2288 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2289 | if test -z "$ac_err"; then |
---|
2290 | rm -rf conftest* |
---|
2291 | eval "ac_cv_header_$ac_safe=yes" |
---|
2292 | else |
---|
2293 | echo "$ac_err" >&5 |
---|
2294 | echo "configure: failed program was:" >&5 |
---|
2295 | cat conftest.$ac_ext >&5 |
---|
2296 | rm -rf conftest* |
---|
2297 | eval "ac_cv_header_$ac_safe=no" |
---|
2298 | fi |
---|
2299 | rm -f conftest* |
---|
2300 | fi |
---|
2301 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2302 | echo "$ac_t""yes" 1>&6 |
---|
2303 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2304 | cat >> confdefs.h <<EOF |
---|
2305 | #define $ac_tr_hdr 1 |
---|
2306 | EOF |
---|
2307 | |
---|
2308 | else |
---|
2309 | echo "$ac_t""no" 1>&6 |
---|
2310 | fi |
---|
2311 | done |
---|
2312 | |
---|
2313 | ;; |
---|
2314 | esac |
---|
2315 | for ac_hdr in sys/lock.h sys/mman.h sys/modem.h sys/param.h sys/ppsclock.h |
---|
2316 | do |
---|
2317 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2318 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2319 | echo "configure:2320: checking for $ac_hdr" >&5 |
---|
2320 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2321 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2322 | else |
---|
2323 | cat > conftest.$ac_ext <<EOF |
---|
2324 | #line 2325 "configure" |
---|
2325 | #include "confdefs.h" |
---|
2326 | #include <$ac_hdr> |
---|
2327 | EOF |
---|
2328 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2329 | { (eval echo configure:2330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2330 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2331 | if test -z "$ac_err"; then |
---|
2332 | rm -rf conftest* |
---|
2333 | eval "ac_cv_header_$ac_safe=yes" |
---|
2334 | else |
---|
2335 | echo "$ac_err" >&5 |
---|
2336 | echo "configure: failed program was:" >&5 |
---|
2337 | cat conftest.$ac_ext >&5 |
---|
2338 | rm -rf conftest* |
---|
2339 | eval "ac_cv_header_$ac_safe=no" |
---|
2340 | fi |
---|
2341 | rm -f conftest* |
---|
2342 | fi |
---|
2343 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2344 | echo "$ac_t""yes" 1>&6 |
---|
2345 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2346 | cat >> confdefs.h <<EOF |
---|
2347 | #define $ac_tr_hdr 1 |
---|
2348 | EOF |
---|
2349 | |
---|
2350 | else |
---|
2351 | echo "$ac_t""no" 1>&6 |
---|
2352 | fi |
---|
2353 | done |
---|
2354 | |
---|
2355 | for ac_hdr in sys/proc.h sys/resource.h |
---|
2356 | do |
---|
2357 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2358 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2359 | echo "configure:2360: checking for $ac_hdr" >&5 |
---|
2360 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2361 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2362 | else |
---|
2363 | cat > conftest.$ac_ext <<EOF |
---|
2364 | #line 2365 "configure" |
---|
2365 | #include "confdefs.h" |
---|
2366 | #include <$ac_hdr> |
---|
2367 | EOF |
---|
2368 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2369 | { (eval echo configure:2370: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2370 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2371 | if test -z "$ac_err"; then |
---|
2372 | rm -rf conftest* |
---|
2373 | eval "ac_cv_header_$ac_safe=yes" |
---|
2374 | else |
---|
2375 | echo "$ac_err" >&5 |
---|
2376 | echo "configure: failed program was:" >&5 |
---|
2377 | cat conftest.$ac_ext >&5 |
---|
2378 | rm -rf conftest* |
---|
2379 | eval "ac_cv_header_$ac_safe=no" |
---|
2380 | fi |
---|
2381 | rm -f conftest* |
---|
2382 | fi |
---|
2383 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2384 | echo "$ac_t""yes" 1>&6 |
---|
2385 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2386 | cat >> confdefs.h <<EOF |
---|
2387 | #define $ac_tr_hdr 1 |
---|
2388 | EOF |
---|
2389 | |
---|
2390 | else |
---|
2391 | echo "$ac_t""no" 1>&6 |
---|
2392 | fi |
---|
2393 | done |
---|
2394 | |
---|
2395 | case "$target" in |
---|
2396 | *-*-sco3.2v4.2) |
---|
2397 | ;; |
---|
2398 | *) |
---|
2399 | for ac_hdr in sys/select.h |
---|
2400 | do |
---|
2401 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2402 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2403 | echo "configure:2404: checking for $ac_hdr" >&5 |
---|
2404 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2405 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2406 | else |
---|
2407 | cat > conftest.$ac_ext <<EOF |
---|
2408 | #line 2409 "configure" |
---|
2409 | #include "confdefs.h" |
---|
2410 | #include <$ac_hdr> |
---|
2411 | EOF |
---|
2412 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2413 | { (eval echo configure:2414: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2414 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2415 | if test -z "$ac_err"; then |
---|
2416 | rm -rf conftest* |
---|
2417 | eval "ac_cv_header_$ac_safe=yes" |
---|
2418 | else |
---|
2419 | echo "$ac_err" >&5 |
---|
2420 | echo "configure: failed program was:" >&5 |
---|
2421 | cat conftest.$ac_ext >&5 |
---|
2422 | rm -rf conftest* |
---|
2423 | eval "ac_cv_header_$ac_safe=no" |
---|
2424 | fi |
---|
2425 | rm -f conftest* |
---|
2426 | fi |
---|
2427 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2428 | echo "$ac_t""yes" 1>&6 |
---|
2429 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2430 | cat >> confdefs.h <<EOF |
---|
2431 | #define $ac_tr_hdr 1 |
---|
2432 | EOF |
---|
2433 | |
---|
2434 | else |
---|
2435 | echo "$ac_t""no" 1>&6 |
---|
2436 | fi |
---|
2437 | done |
---|
2438 | |
---|
2439 | ;; |
---|
2440 | esac |
---|
2441 | for ac_hdr in sys/sockio.h sys/stat.h sys/stream.h sys/stropts.h |
---|
2442 | do |
---|
2443 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2444 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2445 | echo "configure:2446: checking for $ac_hdr" >&5 |
---|
2446 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2447 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2448 | else |
---|
2449 | cat > conftest.$ac_ext <<EOF |
---|
2450 | #line 2451 "configure" |
---|
2451 | #include "confdefs.h" |
---|
2452 | #include <$ac_hdr> |
---|
2453 | EOF |
---|
2454 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2455 | { (eval echo configure:2456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2456 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2457 | if test -z "$ac_err"; then |
---|
2458 | rm -rf conftest* |
---|
2459 | eval "ac_cv_header_$ac_safe=yes" |
---|
2460 | else |
---|
2461 | echo "$ac_err" >&5 |
---|
2462 | echo "configure: failed program was:" >&5 |
---|
2463 | cat conftest.$ac_ext >&5 |
---|
2464 | rm -rf conftest* |
---|
2465 | eval "ac_cv_header_$ac_safe=no" |
---|
2466 | fi |
---|
2467 | rm -f conftest* |
---|
2468 | fi |
---|
2469 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2470 | echo "$ac_t""yes" 1>&6 |
---|
2471 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2472 | cat >> confdefs.h <<EOF |
---|
2473 | #define $ac_tr_hdr 1 |
---|
2474 | EOF |
---|
2475 | |
---|
2476 | else |
---|
2477 | echo "$ac_t""no" 1>&6 |
---|
2478 | fi |
---|
2479 | done |
---|
2480 | |
---|
2481 | for ac_hdr in sys/sysctl.h sys/time.h sys/timers.h sys/timex.h sys/tpro.h |
---|
2482 | do |
---|
2483 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2484 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2485 | echo "configure:2486: checking for $ac_hdr" >&5 |
---|
2486 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2487 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2488 | else |
---|
2489 | cat > conftest.$ac_ext <<EOF |
---|
2490 | #line 2491 "configure" |
---|
2491 | #include "confdefs.h" |
---|
2492 | #include <$ac_hdr> |
---|
2493 | EOF |
---|
2494 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2495 | { (eval echo configure:2496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2496 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2497 | if test -z "$ac_err"; then |
---|
2498 | rm -rf conftest* |
---|
2499 | eval "ac_cv_header_$ac_safe=yes" |
---|
2500 | else |
---|
2501 | echo "$ac_err" >&5 |
---|
2502 | echo "configure: failed program was:" >&5 |
---|
2503 | cat conftest.$ac_ext >&5 |
---|
2504 | rm -rf conftest* |
---|
2505 | eval "ac_cv_header_$ac_safe=no" |
---|
2506 | fi |
---|
2507 | rm -f conftest* |
---|
2508 | fi |
---|
2509 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2510 | echo "$ac_t""yes" 1>&6 |
---|
2511 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2512 | cat >> confdefs.h <<EOF |
---|
2513 | #define $ac_tr_hdr 1 |
---|
2514 | EOF |
---|
2515 | |
---|
2516 | else |
---|
2517 | echo "$ac_t""no" 1>&6 |
---|
2518 | fi |
---|
2519 | done |
---|
2520 | |
---|
2521 | for ac_hdr in sys/types.h |
---|
2522 | do |
---|
2523 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2524 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2525 | echo "configure:2526: checking for $ac_hdr" >&5 |
---|
2526 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2527 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2528 | else |
---|
2529 | cat > conftest.$ac_ext <<EOF |
---|
2530 | #line 2531 "configure" |
---|
2531 | #include "confdefs.h" |
---|
2532 | #include <$ac_hdr> |
---|
2533 | EOF |
---|
2534 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2535 | { (eval echo configure:2536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2536 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2537 | if test -z "$ac_err"; then |
---|
2538 | rm -rf conftest* |
---|
2539 | eval "ac_cv_header_$ac_safe=yes" |
---|
2540 | else |
---|
2541 | echo "$ac_err" >&5 |
---|
2542 | echo "configure: failed program was:" >&5 |
---|
2543 | cat conftest.$ac_ext >&5 |
---|
2544 | rm -rf conftest* |
---|
2545 | eval "ac_cv_header_$ac_safe=no" |
---|
2546 | fi |
---|
2547 | rm -f conftest* |
---|
2548 | fi |
---|
2549 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2550 | echo "$ac_t""yes" 1>&6 |
---|
2551 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2552 | cat >> confdefs.h <<EOF |
---|
2553 | #define $ac_tr_hdr 1 |
---|
2554 | EOF |
---|
2555 | |
---|
2556 | else |
---|
2557 | echo "$ac_t""no" 1>&6 |
---|
2558 | fi |
---|
2559 | done |
---|
2560 | |
---|
2561 | echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6 |
---|
2562 | echo "configure:2563: checking whether time.h and sys/time.h may both be included" >&5 |
---|
2563 | if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then |
---|
2564 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2565 | else |
---|
2566 | cat > conftest.$ac_ext <<EOF |
---|
2567 | #line 2568 "configure" |
---|
2568 | #include "confdefs.h" |
---|
2569 | #include <sys/types.h> |
---|
2570 | #include <sys/time.h> |
---|
2571 | #include <time.h> |
---|
2572 | int main() { |
---|
2573 | struct tm *tp; |
---|
2574 | ; return 0; } |
---|
2575 | EOF |
---|
2576 | if { (eval echo configure:2577: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
2577 | rm -rf conftest* |
---|
2578 | ac_cv_header_time=yes |
---|
2579 | else |
---|
2580 | echo "configure: failed program was:" >&5 |
---|
2581 | cat conftest.$ac_ext >&5 |
---|
2582 | rm -rf conftest* |
---|
2583 | ac_cv_header_time=no |
---|
2584 | fi |
---|
2585 | rm -f conftest* |
---|
2586 | fi |
---|
2587 | |
---|
2588 | echo "$ac_t""$ac_cv_header_time" 1>&6 |
---|
2589 | if test $ac_cv_header_time = yes; then |
---|
2590 | cat >> confdefs.h <<\EOF |
---|
2591 | #define TIME_WITH_SYS_TIME 1 |
---|
2592 | EOF |
---|
2593 | |
---|
2594 | fi |
---|
2595 | |
---|
2596 | case "$target" in |
---|
2597 | *-convex-*) |
---|
2598 | for ac_hdr in /sys/sync/queue.h /sys/sync/sema.h |
---|
2599 | do |
---|
2600 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2601 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2602 | echo "configure:2603: checking for $ac_hdr" >&5 |
---|
2603 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2604 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2605 | else |
---|
2606 | cat > conftest.$ac_ext <<EOF |
---|
2607 | #line 2608 "configure" |
---|
2608 | #include "confdefs.h" |
---|
2609 | #include <$ac_hdr> |
---|
2610 | EOF |
---|
2611 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2612 | { (eval echo configure:2613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2613 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2614 | if test -z "$ac_err"; then |
---|
2615 | rm -rf conftest* |
---|
2616 | eval "ac_cv_header_$ac_safe=yes" |
---|
2617 | else |
---|
2618 | echo "$ac_err" >&5 |
---|
2619 | echo "configure: failed program was:" >&5 |
---|
2620 | cat conftest.$ac_ext >&5 |
---|
2621 | rm -rf conftest* |
---|
2622 | eval "ac_cv_header_$ac_safe=no" |
---|
2623 | fi |
---|
2624 | rm -f conftest* |
---|
2625 | fi |
---|
2626 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2627 | echo "$ac_t""yes" 1>&6 |
---|
2628 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2629 | cat >> confdefs.h <<EOF |
---|
2630 | #define $ac_tr_hdr 1 |
---|
2631 | EOF |
---|
2632 | |
---|
2633 | else |
---|
2634 | echo "$ac_t""no" 1>&6 |
---|
2635 | fi |
---|
2636 | done |
---|
2637 | |
---|
2638 | ;; |
---|
2639 | *-*-bsdi*) |
---|
2640 | for ac_hdr in machine/inline.h sys/pcl720.h sys/i8253.h |
---|
2641 | do |
---|
2642 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
2643 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
2644 | echo "configure:2645: checking for $ac_hdr" >&5 |
---|
2645 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2646 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2647 | else |
---|
2648 | cat > conftest.$ac_ext <<EOF |
---|
2649 | #line 2650 "configure" |
---|
2650 | #include "confdefs.h" |
---|
2651 | #include <$ac_hdr> |
---|
2652 | EOF |
---|
2653 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2654 | { (eval echo configure:2655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2655 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2656 | if test -z "$ac_err"; then |
---|
2657 | rm -rf conftest* |
---|
2658 | eval "ac_cv_header_$ac_safe=yes" |
---|
2659 | else |
---|
2660 | echo "$ac_err" >&5 |
---|
2661 | echo "configure: failed program was:" >&5 |
---|
2662 | cat conftest.$ac_ext >&5 |
---|
2663 | rm -rf conftest* |
---|
2664 | eval "ac_cv_header_$ac_safe=no" |
---|
2665 | fi |
---|
2666 | rm -f conftest* |
---|
2667 | fi |
---|
2668 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2669 | echo "$ac_t""yes" 1>&6 |
---|
2670 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
2671 | cat >> confdefs.h <<EOF |
---|
2672 | #define $ac_tr_hdr 1 |
---|
2673 | EOF |
---|
2674 | |
---|
2675 | else |
---|
2676 | echo "$ac_t""no" 1>&6 |
---|
2677 | fi |
---|
2678 | done |
---|
2679 | |
---|
2680 | ;; |
---|
2681 | esac |
---|
2682 | |
---|
2683 | ac_safe=`echo "nlist.h" | sed 'y%./+-%__p_%'` |
---|
2684 | echo $ac_n "checking for nlist.h""... $ac_c" 1>&6 |
---|
2685 | echo "configure:2686: checking for nlist.h" >&5 |
---|
2686 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
2687 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2688 | else |
---|
2689 | cat > conftest.$ac_ext <<EOF |
---|
2690 | #line 2691 "configure" |
---|
2691 | #include "confdefs.h" |
---|
2692 | #include <nlist.h> |
---|
2693 | EOF |
---|
2694 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
2695 | { (eval echo configure:2696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
2696 | ac_err=`grep -v '^ *+' conftest.out` |
---|
2697 | if test -z "$ac_err"; then |
---|
2698 | rm -rf conftest* |
---|
2699 | eval "ac_cv_header_$ac_safe=yes" |
---|
2700 | else |
---|
2701 | echo "$ac_err" >&5 |
---|
2702 | echo "configure: failed program was:" >&5 |
---|
2703 | cat conftest.$ac_ext >&5 |
---|
2704 | rm -rf conftest* |
---|
2705 | eval "ac_cv_header_$ac_safe=no" |
---|
2706 | fi |
---|
2707 | rm -f conftest* |
---|
2708 | fi |
---|
2709 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
2710 | echo "$ac_t""yes" 1>&6 |
---|
2711 | cat >> confdefs.h <<\EOF |
---|
2712 | #define NLIST_STRUCT 1 |
---|
2713 | EOF |
---|
2714 | |
---|
2715 | echo $ac_n "checking for n_un in struct nlist""... $ac_c" 1>&6 |
---|
2716 | echo "configure:2717: checking for n_un in struct nlist" >&5 |
---|
2717 | if eval "test \"`echo '$''{'ac_cv_struct_nlist_n_un'+set}'`\" = set"; then |
---|
2718 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2719 | else |
---|
2720 | cat > conftest.$ac_ext <<EOF |
---|
2721 | #line 2722 "configure" |
---|
2722 | #include "confdefs.h" |
---|
2723 | #include <nlist.h> |
---|
2724 | int main() { |
---|
2725 | struct nlist n; n.n_un.n_name = 0; |
---|
2726 | ; return 0; } |
---|
2727 | EOF |
---|
2728 | if { (eval echo configure:2729: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
2729 | rm -rf conftest* |
---|
2730 | ac_cv_struct_nlist_n_un=yes |
---|
2731 | else |
---|
2732 | echo "configure: failed program was:" >&5 |
---|
2733 | cat conftest.$ac_ext >&5 |
---|
2734 | rm -rf conftest* |
---|
2735 | ac_cv_struct_nlist_n_un=no |
---|
2736 | fi |
---|
2737 | rm -f conftest* |
---|
2738 | fi |
---|
2739 | |
---|
2740 | echo "$ac_t""$ac_cv_struct_nlist_n_un" 1>&6 |
---|
2741 | if test $ac_cv_struct_nlist_n_un = yes; then |
---|
2742 | cat >> confdefs.h <<\EOF |
---|
2743 | #define NLIST_NAME_UNION 1 |
---|
2744 | EOF |
---|
2745 | |
---|
2746 | fi |
---|
2747 | |
---|
2748 | else |
---|
2749 | echo "$ac_t""no" 1>&6 |
---|
2750 | fi |
---|
2751 | |
---|
2752 | echo $ac_n "checking for basic volatile support""... $ac_c" 1>&6 |
---|
2753 | echo "configure:2754: checking for basic volatile support" >&5 |
---|
2754 | if eval "test \"`echo '$''{'ac_cv_c_volatile'+set}'`\" = set"; then |
---|
2755 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2756 | else |
---|
2757 | cat > conftest.$ac_ext <<EOF |
---|
2758 | #line 2759 "configure" |
---|
2759 | #include "confdefs.h" |
---|
2760 | |
---|
2761 | int main() { |
---|
2762 | |
---|
2763 | volatile int x; |
---|
2764 | ; return 0; } |
---|
2765 | EOF |
---|
2766 | if { (eval echo configure:2767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
2767 | rm -rf conftest* |
---|
2768 | ac_cv_c_volatile=yes |
---|
2769 | else |
---|
2770 | echo "configure: failed program was:" >&5 |
---|
2771 | cat conftest.$ac_ext >&5 |
---|
2772 | rm -rf conftest* |
---|
2773 | ac_cv_c_volatile=no |
---|
2774 | fi |
---|
2775 | rm -f conftest* |
---|
2776 | |
---|
2777 | fi |
---|
2778 | |
---|
2779 | echo "$ac_t""$ac_cv_c_volatile" 1>&6 |
---|
2780 | case "$ac_cv_c_volatile" in |
---|
2781 | yes) |
---|
2782 | ;; |
---|
2783 | *) cat >> confdefs.h <<\EOF |
---|
2784 | #define volatile |
---|
2785 | EOF |
---|
2786 | |
---|
2787 | ;; |
---|
2788 | esac |
---|
2789 | |
---|
2790 | echo $ac_n "checking for working const""... $ac_c" 1>&6 |
---|
2791 | echo "configure:2792: checking for working const" >&5 |
---|
2792 | if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then |
---|
2793 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2794 | else |
---|
2795 | cat > conftest.$ac_ext <<EOF |
---|
2796 | #line 2797 "configure" |
---|
2797 | #include "confdefs.h" |
---|
2798 | |
---|
2799 | int main() { |
---|
2800 | |
---|
2801 | /* Ultrix mips cc rejects this. */ |
---|
2802 | typedef int charset[2]; const charset x; |
---|
2803 | /* SunOS 4.1.1 cc rejects this. */ |
---|
2804 | char const *const *ccp; |
---|
2805 | char **p; |
---|
2806 | /* NEC SVR4.0.2 mips cc rejects this. */ |
---|
2807 | struct point {int x, y;}; |
---|
2808 | static struct point const zero = {0,0}; |
---|
2809 | /* AIX XL C 1.02.0.0 rejects this. |
---|
2810 | It does not let you subtract one const X* pointer from another in an arm |
---|
2811 | of an if-expression whose if-part is not a constant expression */ |
---|
2812 | const char *g = "string"; |
---|
2813 | ccp = &g + (g ? g-g : 0); |
---|
2814 | /* HPUX 7.0 cc rejects these. */ |
---|
2815 | ++ccp; |
---|
2816 | p = (char**) ccp; |
---|
2817 | ccp = (char const *const *) p; |
---|
2818 | { /* SCO 3.2v4 cc rejects this. */ |
---|
2819 | char *t; |
---|
2820 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
---|
2821 | |
---|
2822 | *t++ = 0; |
---|
2823 | } |
---|
2824 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
---|
2825 | int x[] = {25, 17}; |
---|
2826 | const int *foo = &x[0]; |
---|
2827 | ++foo; |
---|
2828 | } |
---|
2829 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
---|
2830 | typedef const int *iptr; |
---|
2831 | iptr p = 0; |
---|
2832 | ++p; |
---|
2833 | } |
---|
2834 | { /* AIX XL C 1.02.0.0 rejects this saying |
---|
2835 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
---|
2836 | struct s { int j; const int *ap[3]; }; |
---|
2837 | struct s *b; b->j = 5; |
---|
2838 | } |
---|
2839 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
---|
2840 | const int foo = 10; |
---|
2841 | } |
---|
2842 | |
---|
2843 | ; return 0; } |
---|
2844 | EOF |
---|
2845 | if { (eval echo configure:2846: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
2846 | rm -rf conftest* |
---|
2847 | ac_cv_c_const=yes |
---|
2848 | else |
---|
2849 | echo "configure: failed program was:" >&5 |
---|
2850 | cat conftest.$ac_ext >&5 |
---|
2851 | rm -rf conftest* |
---|
2852 | ac_cv_c_const=no |
---|
2853 | fi |
---|
2854 | rm -f conftest* |
---|
2855 | fi |
---|
2856 | |
---|
2857 | echo "$ac_t""$ac_cv_c_const" 1>&6 |
---|
2858 | if test $ac_cv_c_const = no; then |
---|
2859 | cat >> confdefs.h <<\EOF |
---|
2860 | #define const |
---|
2861 | EOF |
---|
2862 | |
---|
2863 | fi |
---|
2864 | |
---|
2865 | case "$host" in |
---|
2866 | $target) |
---|
2867 | echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 |
---|
2868 | echo "configure:2869: checking whether byte ordering is bigendian" >&5 |
---|
2869 | if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then |
---|
2870 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2871 | else |
---|
2872 | ac_cv_c_bigendian=unknown |
---|
2873 | # See if sys/param.h defines the BYTE_ORDER macro. |
---|
2874 | cat > conftest.$ac_ext <<EOF |
---|
2875 | #line 2876 "configure" |
---|
2876 | #include "confdefs.h" |
---|
2877 | #include <sys/types.h> |
---|
2878 | #include <sys/param.h> |
---|
2879 | int main() { |
---|
2880 | |
---|
2881 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
---|
2882 | bogus endian macros |
---|
2883 | #endif |
---|
2884 | ; return 0; } |
---|
2885 | EOF |
---|
2886 | if { (eval echo configure:2887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
2887 | rm -rf conftest* |
---|
2888 | # It does; now see whether it defined to BIG_ENDIAN or not. |
---|
2889 | cat > conftest.$ac_ext <<EOF |
---|
2890 | #line 2891 "configure" |
---|
2891 | #include "confdefs.h" |
---|
2892 | #include <sys/types.h> |
---|
2893 | #include <sys/param.h> |
---|
2894 | int main() { |
---|
2895 | |
---|
2896 | #if BYTE_ORDER != BIG_ENDIAN |
---|
2897 | not big endian |
---|
2898 | #endif |
---|
2899 | ; return 0; } |
---|
2900 | EOF |
---|
2901 | if { (eval echo configure:2902: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
2902 | rm -rf conftest* |
---|
2903 | ac_cv_c_bigendian=yes |
---|
2904 | else |
---|
2905 | echo "configure: failed program was:" >&5 |
---|
2906 | cat conftest.$ac_ext >&5 |
---|
2907 | rm -rf conftest* |
---|
2908 | ac_cv_c_bigendian=no |
---|
2909 | fi |
---|
2910 | rm -f conftest* |
---|
2911 | else |
---|
2912 | echo "configure: failed program was:" >&5 |
---|
2913 | cat conftest.$ac_ext >&5 |
---|
2914 | fi |
---|
2915 | rm -f conftest* |
---|
2916 | if test $ac_cv_c_bigendian = unknown; then |
---|
2917 | if test "$cross_compiling" = yes; then |
---|
2918 | { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
---|
2919 | else |
---|
2920 | cat > conftest.$ac_ext <<EOF |
---|
2921 | #line 2922 "configure" |
---|
2922 | #include "confdefs.h" |
---|
2923 | main () { |
---|
2924 | /* Are we little or big endian? From Harbison&Steele. */ |
---|
2925 | union |
---|
2926 | { |
---|
2927 | long l; |
---|
2928 | char c[sizeof (long)]; |
---|
2929 | } u; |
---|
2930 | u.l = 1; |
---|
2931 | exit (u.c[sizeof (long) - 1] == 1); |
---|
2932 | } |
---|
2933 | EOF |
---|
2934 | if { (eval echo configure:2935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
2935 | then |
---|
2936 | ac_cv_c_bigendian=no |
---|
2937 | else |
---|
2938 | echo "configure: failed program was:" >&5 |
---|
2939 | cat conftest.$ac_ext >&5 |
---|
2940 | rm -fr conftest* |
---|
2941 | ac_cv_c_bigendian=yes |
---|
2942 | fi |
---|
2943 | rm -fr conftest* |
---|
2944 | fi |
---|
2945 | |
---|
2946 | fi |
---|
2947 | fi |
---|
2948 | |
---|
2949 | echo "$ac_t""$ac_cv_c_bigendian" 1>&6 |
---|
2950 | if test $ac_cv_c_bigendian = yes; then |
---|
2951 | cat >> confdefs.h <<\EOF |
---|
2952 | #define WORDS_BIGENDIAN 1 |
---|
2953 | EOF |
---|
2954 | |
---|
2955 | fi |
---|
2956 | |
---|
2957 | ;; |
---|
2958 | *) case "$target" in |
---|
2959 | i*86-*-vxworks*) |
---|
2960 | # LITTLEENDIAN |
---|
2961 | ;; |
---|
2962 | *-*-vxworks*) |
---|
2963 | cat >> confdefs.h <<\EOF |
---|
2964 | #define WORDS_BIGENDIAN 1 |
---|
2965 | EOF |
---|
2966 | |
---|
2967 | ;; |
---|
2968 | *) { echo "configure: error: Cross-compiling needs explicit byte order" 1>&2; exit 1; } |
---|
2969 | ;; |
---|
2970 | esac |
---|
2971 | ;; |
---|
2972 | esac |
---|
2973 | echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 |
---|
2974 | echo "configure:2975: checking return type of signal handlers" >&5 |
---|
2975 | if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then |
---|
2976 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
2977 | else |
---|
2978 | cat > conftest.$ac_ext <<EOF |
---|
2979 | #line 2980 "configure" |
---|
2980 | #include "confdefs.h" |
---|
2981 | #include <sys/types.h> |
---|
2982 | #include <signal.h> |
---|
2983 | #ifdef signal |
---|
2984 | #undef signal |
---|
2985 | #endif |
---|
2986 | #ifdef __cplusplus |
---|
2987 | extern "C" void (*signal (int, void (*)(int)))(int); |
---|
2988 | #else |
---|
2989 | void (*signal ()) (); |
---|
2990 | #endif |
---|
2991 | |
---|
2992 | int main() { |
---|
2993 | int i; |
---|
2994 | ; return 0; } |
---|
2995 | EOF |
---|
2996 | if { (eval echo configure:2997: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
2997 | rm -rf conftest* |
---|
2998 | ac_cv_type_signal=void |
---|
2999 | else |
---|
3000 | echo "configure: failed program was:" >&5 |
---|
3001 | cat conftest.$ac_ext >&5 |
---|
3002 | rm -rf conftest* |
---|
3003 | ac_cv_type_signal=int |
---|
3004 | fi |
---|
3005 | rm -f conftest* |
---|
3006 | fi |
---|
3007 | |
---|
3008 | echo "$ac_t""$ac_cv_type_signal" 1>&6 |
---|
3009 | cat >> confdefs.h <<EOF |
---|
3010 | #define RETSIGTYPE $ac_cv_type_signal |
---|
3011 | EOF |
---|
3012 | |
---|
3013 | |
---|
3014 | echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6 |
---|
3015 | echo "configure:3016: checking whether struct tm is in sys/time.h or time.h" >&5 |
---|
3016 | if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then |
---|
3017 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3018 | else |
---|
3019 | cat > conftest.$ac_ext <<EOF |
---|
3020 | #line 3021 "configure" |
---|
3021 | #include "confdefs.h" |
---|
3022 | #include <sys/types.h> |
---|
3023 | #include <time.h> |
---|
3024 | int main() { |
---|
3025 | struct tm *tp; tp->tm_sec; |
---|
3026 | ; return 0; } |
---|
3027 | EOF |
---|
3028 | if { (eval echo configure:3029: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
3029 | rm -rf conftest* |
---|
3030 | ac_cv_struct_tm=time.h |
---|
3031 | else |
---|
3032 | echo "configure: failed program was:" >&5 |
---|
3033 | cat conftest.$ac_ext >&5 |
---|
3034 | rm -rf conftest* |
---|
3035 | ac_cv_struct_tm=sys/time.h |
---|
3036 | fi |
---|
3037 | rm -f conftest* |
---|
3038 | fi |
---|
3039 | |
---|
3040 | echo "$ac_t""$ac_cv_struct_tm" 1>&6 |
---|
3041 | if test $ac_cv_struct_tm = sys/time.h; then |
---|
3042 | cat >> confdefs.h <<\EOF |
---|
3043 | #define TM_IN_SYS_TIME 1 |
---|
3044 | EOF |
---|
3045 | |
---|
3046 | fi |
---|
3047 | |
---|
3048 | |
---|
3049 | echo $ac_n "checking for a fallback value for HZ""... $ac_c" 1>&6 |
---|
3050 | echo "configure:3051: checking for a fallback value for HZ" >&5 |
---|
3051 | if eval "test \"`echo '$''{'ac_cv_var_default_hz'+set}'`\" = set"; then |
---|
3052 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3053 | else |
---|
3054 | ac_cv_var_default_hz=100 |
---|
3055 | case "$target" in |
---|
3056 | alpha-dec-osf4*) |
---|
3057 | ac_cv_var_default_hz=1024 |
---|
3058 | ;; |
---|
3059 | mips-dec-ultrix4*) |
---|
3060 | ac_cv_var_default_hz=256 |
---|
3061 | ;; |
---|
3062 | esac |
---|
3063 | fi |
---|
3064 | |
---|
3065 | echo "$ac_t""$ac_cv_var_default_hz" 1>&6 |
---|
3066 | cat >> confdefs.h <<EOF |
---|
3067 | #define DEFAULT_HZ $ac_cv_var_default_hz |
---|
3068 | EOF |
---|
3069 | |
---|
3070 | |
---|
3071 | echo $ac_n "checking if we need to override the system's value for HZ""... $ac_c" 1>&6 |
---|
3072 | echo "configure:3073: checking if we need to override the system's value for HZ" >&5 |
---|
3073 | if eval "test \"`echo '$''{'ac_cv_var_override_hz'+set}'`\" = set"; then |
---|
3074 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3075 | else |
---|
3076 | ac_cv_var_override_hz=no |
---|
3077 | case "$target" in |
---|
3078 | alpha-dec-osf4*) |
---|
3079 | ac_cv_var_override_hz=yes |
---|
3080 | ;; |
---|
3081 | mips-dec-ultrix4*) |
---|
3082 | ac_cv_var_override_hz=yes |
---|
3083 | ;; |
---|
3084 | *-*-freebsd*) |
---|
3085 | ac_cv_var_override_hz=yes |
---|
3086 | ;; |
---|
3087 | *-*-sunos4*) |
---|
3088 | ac_cv_var_override_hz=yes |
---|
3089 | ;; |
---|
3090 | esac |
---|
3091 | fi |
---|
3092 | |
---|
3093 | echo "$ac_t""$ac_cv_var_override_hz" 1>&6 |
---|
3094 | case "$ac_cv_var_override_hz" in |
---|
3095 | yes) |
---|
3096 | cat >> confdefs.h <<\EOF |
---|
3097 | #define OVERRIDE_HZ 1 |
---|
3098 | EOF |
---|
3099 | |
---|
3100 | ;; |
---|
3101 | esac |
---|
3102 | |
---|
3103 | |
---|
3104 | |
---|
3105 | echo $ac_n "checking struct sockaddr for sa_len""... $ac_c" 1>&6 |
---|
3106 | echo "configure:3107: checking struct sockaddr for sa_len" >&5 |
---|
3107 | if eval "test \"`echo '$''{'ac_cv_struct_sockaddr_has_sa_len'+set}'`\" = set"; then |
---|
3108 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3109 | else |
---|
3110 | cat > conftest.$ac_ext <<EOF |
---|
3111 | #line 3112 "configure" |
---|
3112 | #include "confdefs.h" |
---|
3113 | |
---|
3114 | #include <sys/types.h> |
---|
3115 | #include <sys/socket.h> |
---|
3116 | int main() { |
---|
3117 | |
---|
3118 | extern struct sockaddr *ps; |
---|
3119 | return ps->sa_len; |
---|
3120 | ; return 0; } |
---|
3121 | EOF |
---|
3122 | if { (eval echo configure:3123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
3123 | rm -rf conftest* |
---|
3124 | ac_cv_struct_sockaddr_has_sa_len=yes |
---|
3125 | else |
---|
3126 | echo "configure: failed program was:" >&5 |
---|
3127 | cat conftest.$ac_ext >&5 |
---|
3128 | rm -rf conftest* |
---|
3129 | ac_cv_struct_sockaddr_has_sa_len=no |
---|
3130 | fi |
---|
3131 | rm -f conftest* |
---|
3132 | |
---|
3133 | fi |
---|
3134 | |
---|
3135 | echo "$ac_t""$ac_cv_struct_sockaddr_has_sa_len" 1>&6 |
---|
3136 | if test $ac_cv_struct_sockaddr_has_sa_len = yes; then |
---|
3137 | cat >> confdefs.h <<\EOF |
---|
3138 | #define HAVE_SA_LEN_IN_STRUCT_SOCKADDR 1 |
---|
3139 | EOF |
---|
3140 | |
---|
3141 | fi |
---|
3142 | |
---|
3143 | echo $ac_n "checking struct clockinfo for hz""... $ac_c" 1>&6 |
---|
3144 | echo "configure:3145: checking struct clockinfo for hz" >&5 |
---|
3145 | if eval "test \"`echo '$''{'ac_cv_struct_clockinfo_has_hz'+set}'`\" = set"; then |
---|
3146 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3147 | else |
---|
3148 | cat > conftest.$ac_ext <<EOF |
---|
3149 | #line 3150 "configure" |
---|
3150 | #include "confdefs.h" |
---|
3151 | |
---|
3152 | #include <sys/time.h> |
---|
3153 | int main() { |
---|
3154 | |
---|
3155 | extern struct clockinfo *pc; |
---|
3156 | return pc->hz; |
---|
3157 | ; return 0; } |
---|
3158 | EOF |
---|
3159 | if { (eval echo configure:3160: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
3160 | rm -rf conftest* |
---|
3161 | ac_cv_struct_clockinfo_has_hz=yes |
---|
3162 | else |
---|
3163 | echo "configure: failed program was:" >&5 |
---|
3164 | cat conftest.$ac_ext >&5 |
---|
3165 | rm -rf conftest* |
---|
3166 | ac_cv_struct_clockinfo_has_hz=no |
---|
3167 | fi |
---|
3168 | rm -f conftest* |
---|
3169 | |
---|
3170 | fi |
---|
3171 | |
---|
3172 | echo "$ac_t""$ac_cv_struct_clockinfo_has_hz" 1>&6 |
---|
3173 | if test $ac_cv_struct_clockinfo_has_hz = yes; then |
---|
3174 | cat >> confdefs.h <<\EOF |
---|
3175 | #define HAVE_HZ_IN_STRUCT_CLOCKINFO 1 |
---|
3176 | EOF |
---|
3177 | |
---|
3178 | fi |
---|
3179 | |
---|
3180 | echo $ac_n "checking struct clockinfo for tickadj""... $ac_c" 1>&6 |
---|
3181 | echo "configure:3182: checking struct clockinfo for tickadj" >&5 |
---|
3182 | if eval "test \"`echo '$''{'ac_cv_struct_clockinfo_has_tickadj'+set}'`\" = set"; then |
---|
3183 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3184 | else |
---|
3185 | cat > conftest.$ac_ext <<EOF |
---|
3186 | #line 3187 "configure" |
---|
3187 | #include "confdefs.h" |
---|
3188 | |
---|
3189 | #include <sys/time.h> |
---|
3190 | int main() { |
---|
3191 | |
---|
3192 | extern struct clockinfo *pc; |
---|
3193 | return pc->tickadj; |
---|
3194 | ; return 0; } |
---|
3195 | EOF |
---|
3196 | if { (eval echo configure:3197: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
3197 | rm -rf conftest* |
---|
3198 | ac_cv_struct_clockinfo_has_tickadj=yes |
---|
3199 | else |
---|
3200 | echo "configure: failed program was:" >&5 |
---|
3201 | cat conftest.$ac_ext >&5 |
---|
3202 | rm -rf conftest* |
---|
3203 | ac_cv_struct_clockinfo_has_tickadj=no |
---|
3204 | fi |
---|
3205 | rm -f conftest* |
---|
3206 | |
---|
3207 | fi |
---|
3208 | |
---|
3209 | echo "$ac_t""$ac_cv_struct_clockinfo_has_tickadj" 1>&6 |
---|
3210 | if test $ac_cv_struct_clockinfo_has_tickadj = yes; then |
---|
3211 | cat >> confdefs.h <<\EOF |
---|
3212 | #define HAVE_TICKADJ_IN_STRUCT_CLOCKINFO 1 |
---|
3213 | EOF |
---|
3214 | |
---|
3215 | fi |
---|
3216 | |
---|
3217 | echo $ac_n "checking if C compiler permits function prototypes""... $ac_c" 1>&6 |
---|
3218 | echo "configure:3219: checking if C compiler permits function prototypes" >&5 |
---|
3219 | if eval "test \"`echo '$''{'ac_cv_have_prototypes'+set}'`\" = set"; then |
---|
3220 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3221 | else |
---|
3222 | cat > conftest.$ac_ext <<EOF |
---|
3223 | #line 3224 "configure" |
---|
3224 | #include "confdefs.h" |
---|
3225 | |
---|
3226 | extern int foo (short); |
---|
3227 | int foo(short i) { return i; } |
---|
3228 | int main() { |
---|
3229 | |
---|
3230 | int i; |
---|
3231 | ; return 0; } |
---|
3232 | EOF |
---|
3233 | if { (eval echo configure:3234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
3234 | rm -rf conftest* |
---|
3235 | ac_cv_have_prototypes=yes |
---|
3236 | else |
---|
3237 | echo "configure: failed program was:" >&5 |
---|
3238 | cat conftest.$ac_ext >&5 |
---|
3239 | rm -rf conftest* |
---|
3240 | ac_cv_have_prototypes=no |
---|
3241 | fi |
---|
3242 | rm -f conftest* |
---|
3243 | |
---|
3244 | fi |
---|
3245 | |
---|
3246 | echo "$ac_t""$ac_cv_have_prototypes" 1>&6 |
---|
3247 | if test "$ac_cv_have_prototypes" = yes; then |
---|
3248 | cat >> confdefs.h <<\EOF |
---|
3249 | #define HAVE_PROTOTYPES 1 |
---|
3250 | EOF |
---|
3251 | |
---|
3252 | fi |
---|
3253 | |
---|
3254 | echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6 |
---|
3255 | echo "configure:3256: checking whether char is unsigned" >&5 |
---|
3256 | if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then |
---|
3257 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3258 | else |
---|
3259 | if test "$GCC" = yes; then |
---|
3260 | # GCC predefines this symbol on systems where it applies. |
---|
3261 | cat > conftest.$ac_ext <<EOF |
---|
3262 | #line 3263 "configure" |
---|
3263 | #include "confdefs.h" |
---|
3264 | #ifdef __CHAR_UNSIGNED__ |
---|
3265 | yes |
---|
3266 | #endif |
---|
3267 | |
---|
3268 | EOF |
---|
3269 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3270 | egrep "yes" >/dev/null 2>&1; then |
---|
3271 | rm -rf conftest* |
---|
3272 | ac_cv_c_char_unsigned=yes |
---|
3273 | else |
---|
3274 | rm -rf conftest* |
---|
3275 | ac_cv_c_char_unsigned=no |
---|
3276 | fi |
---|
3277 | rm -f conftest* |
---|
3278 | |
---|
3279 | else |
---|
3280 | if test "$cross_compiling" = yes; then |
---|
3281 | { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
---|
3282 | else |
---|
3283 | cat > conftest.$ac_ext <<EOF |
---|
3284 | #line 3285 "configure" |
---|
3285 | #include "confdefs.h" |
---|
3286 | /* volatile prevents gcc2 from optimizing the test away on sparcs. */ |
---|
3287 | #if !defined(__STDC__) || __STDC__ != 1 |
---|
3288 | #define volatile |
---|
3289 | #endif |
---|
3290 | main() { |
---|
3291 | volatile char c = 255; exit(c < 0); |
---|
3292 | } |
---|
3293 | EOF |
---|
3294 | if { (eval echo configure:3295: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
3295 | then |
---|
3296 | ac_cv_c_char_unsigned=yes |
---|
3297 | else |
---|
3298 | echo "configure: failed program was:" >&5 |
---|
3299 | cat conftest.$ac_ext >&5 |
---|
3300 | rm -fr conftest* |
---|
3301 | ac_cv_c_char_unsigned=no |
---|
3302 | fi |
---|
3303 | rm -fr conftest* |
---|
3304 | fi |
---|
3305 | |
---|
3306 | fi |
---|
3307 | fi |
---|
3308 | |
---|
3309 | echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6 |
---|
3310 | if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then |
---|
3311 | cat >> confdefs.h <<\EOF |
---|
3312 | #define __CHAR_UNSIGNED__ 1 |
---|
3313 | EOF |
---|
3314 | |
---|
3315 | fi |
---|
3316 | case "$host" in |
---|
3317 | $target) |
---|
3318 | echo $ac_n "checking size of signed char""... $ac_c" 1>&6 |
---|
3319 | echo "configure:3320: checking size of signed char" >&5 |
---|
3320 | if eval "test \"`echo '$''{'ac_cv_sizeof_signed_char'+set}'`\" = set"; then |
---|
3321 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3322 | else |
---|
3323 | if test "$cross_compiling" = yes; then |
---|
3324 | { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
---|
3325 | else |
---|
3326 | cat > conftest.$ac_ext <<EOF |
---|
3327 | #line 3328 "configure" |
---|
3328 | #include "confdefs.h" |
---|
3329 | #include <stdio.h> |
---|
3330 | main() |
---|
3331 | { |
---|
3332 | FILE *f=fopen("conftestval", "w"); |
---|
3333 | if (!f) exit(1); |
---|
3334 | fprintf(f, "%d\n", sizeof(signed char)); |
---|
3335 | exit(0); |
---|
3336 | } |
---|
3337 | EOF |
---|
3338 | if { (eval echo configure:3339: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
3339 | then |
---|
3340 | ac_cv_sizeof_signed_char=`cat conftestval` |
---|
3341 | else |
---|
3342 | echo "configure: failed program was:" >&5 |
---|
3343 | cat conftest.$ac_ext >&5 |
---|
3344 | rm -fr conftest* |
---|
3345 | ac_cv_sizeof_signed_char=0 |
---|
3346 | fi |
---|
3347 | rm -fr conftest* |
---|
3348 | fi |
---|
3349 | |
---|
3350 | fi |
---|
3351 | echo "$ac_t""$ac_cv_sizeof_signed_char" 1>&6 |
---|
3352 | cat >> confdefs.h <<EOF |
---|
3353 | #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char |
---|
3354 | EOF |
---|
3355 | |
---|
3356 | |
---|
3357 | ;; |
---|
3358 | *) case "$target" in |
---|
3359 | *-*-vxworks*) |
---|
3360 | echo $ac_n "checking size of signed char""... $ac_c" 1>&6 |
---|
3361 | echo "configure:3362: checking size of signed char" >&5 |
---|
3362 | if eval "test \"`echo '$''{'ac_cv_sizeof_signed_char'+set}'`\" = set"; then |
---|
3363 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3364 | else |
---|
3365 | if test "$cross_compiling" = yes; then |
---|
3366 | ac_cv_sizeof_signed_char=1 |
---|
3367 | else |
---|
3368 | cat > conftest.$ac_ext <<EOF |
---|
3369 | #line 3370 "configure" |
---|
3370 | #include "confdefs.h" |
---|
3371 | #include <stdio.h> |
---|
3372 | main() |
---|
3373 | { |
---|
3374 | FILE *f=fopen("conftestval", "w"); |
---|
3375 | if (!f) exit(1); |
---|
3376 | fprintf(f, "%d\n", sizeof(signed char)); |
---|
3377 | exit(0); |
---|
3378 | } |
---|
3379 | EOF |
---|
3380 | if { (eval echo configure:3381: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
3381 | then |
---|
3382 | ac_cv_sizeof_signed_char=`cat conftestval` |
---|
3383 | else |
---|
3384 | echo "configure: failed program was:" >&5 |
---|
3385 | cat conftest.$ac_ext >&5 |
---|
3386 | rm -fr conftest* |
---|
3387 | ac_cv_sizeof_signed_char=0 |
---|
3388 | fi |
---|
3389 | rm -fr conftest* |
---|
3390 | fi |
---|
3391 | |
---|
3392 | fi |
---|
3393 | echo "$ac_t""$ac_cv_sizeof_signed_char" 1>&6 |
---|
3394 | cat >> confdefs.h <<EOF |
---|
3395 | #define SIZEOF_SIGNED_CHAR $ac_cv_sizeof_signed_char |
---|
3396 | EOF |
---|
3397 | |
---|
3398 | |
---|
3399 | ;; |
---|
3400 | *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_SIGNED_LONG" 1>&2; exit 1; } |
---|
3401 | ;; |
---|
3402 | esac |
---|
3403 | ;; |
---|
3404 | esac |
---|
3405 | |
---|
3406 | case "$host" in |
---|
3407 | $target) |
---|
3408 | echo $ac_n "checking size of int""... $ac_c" 1>&6 |
---|
3409 | echo "configure:3410: checking size of int" >&5 |
---|
3410 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
---|
3411 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3412 | else |
---|
3413 | if test "$cross_compiling" = yes; then |
---|
3414 | { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
---|
3415 | else |
---|
3416 | cat > conftest.$ac_ext <<EOF |
---|
3417 | #line 3418 "configure" |
---|
3418 | #include "confdefs.h" |
---|
3419 | #include <stdio.h> |
---|
3420 | main() |
---|
3421 | { |
---|
3422 | FILE *f=fopen("conftestval", "w"); |
---|
3423 | if (!f) exit(1); |
---|
3424 | fprintf(f, "%d\n", sizeof(int)); |
---|
3425 | exit(0); |
---|
3426 | } |
---|
3427 | EOF |
---|
3428 | if { (eval echo configure:3429: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
3429 | then |
---|
3430 | ac_cv_sizeof_int=`cat conftestval` |
---|
3431 | else |
---|
3432 | echo "configure: failed program was:" >&5 |
---|
3433 | cat conftest.$ac_ext >&5 |
---|
3434 | rm -fr conftest* |
---|
3435 | ac_cv_sizeof_int=0 |
---|
3436 | fi |
---|
3437 | rm -fr conftest* |
---|
3438 | fi |
---|
3439 | |
---|
3440 | fi |
---|
3441 | echo "$ac_t""$ac_cv_sizeof_int" 1>&6 |
---|
3442 | cat >> confdefs.h <<EOF |
---|
3443 | #define SIZEOF_INT $ac_cv_sizeof_int |
---|
3444 | EOF |
---|
3445 | |
---|
3446 | |
---|
3447 | ;; |
---|
3448 | *) case "$target" in |
---|
3449 | *-*-vxworks*) |
---|
3450 | echo $ac_n "checking size of int""... $ac_c" 1>&6 |
---|
3451 | echo "configure:3452: checking size of int" >&5 |
---|
3452 | if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then |
---|
3453 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3454 | else |
---|
3455 | if test "$cross_compiling" = yes; then |
---|
3456 | ac_cv_sizeof_int=4 |
---|
3457 | else |
---|
3458 | cat > conftest.$ac_ext <<EOF |
---|
3459 | #line 3460 "configure" |
---|
3460 | #include "confdefs.h" |
---|
3461 | #include <stdio.h> |
---|
3462 | main() |
---|
3463 | { |
---|
3464 | FILE *f=fopen("conftestval", "w"); |
---|
3465 | if (!f) exit(1); |
---|
3466 | fprintf(f, "%d\n", sizeof(int)); |
---|
3467 | exit(0); |
---|
3468 | } |
---|
3469 | EOF |
---|
3470 | if { (eval echo configure:3471: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
3471 | then |
---|
3472 | ac_cv_sizeof_int=`cat conftestval` |
---|
3473 | else |
---|
3474 | echo "configure: failed program was:" >&5 |
---|
3475 | cat conftest.$ac_ext >&5 |
---|
3476 | rm -fr conftest* |
---|
3477 | ac_cv_sizeof_int=0 |
---|
3478 | fi |
---|
3479 | rm -fr conftest* |
---|
3480 | fi |
---|
3481 | |
---|
3482 | fi |
---|
3483 | echo "$ac_t""$ac_cv_sizeof_int" 1>&6 |
---|
3484 | cat >> confdefs.h <<EOF |
---|
3485 | #define SIZEOF_INT $ac_cv_sizeof_int |
---|
3486 | EOF |
---|
3487 | |
---|
3488 | |
---|
3489 | ;; |
---|
3490 | *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_INT" 1>&2; exit 1; } |
---|
3491 | ;; |
---|
3492 | esac |
---|
3493 | ;; |
---|
3494 | esac |
---|
3495 | |
---|
3496 | case "$host" in |
---|
3497 | $target) |
---|
3498 | echo $ac_n "checking size of long""... $ac_c" 1>&6 |
---|
3499 | echo "configure:3500: checking size of long" >&5 |
---|
3500 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
---|
3501 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3502 | else |
---|
3503 | if test "$cross_compiling" = yes; then |
---|
3504 | { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } |
---|
3505 | else |
---|
3506 | cat > conftest.$ac_ext <<EOF |
---|
3507 | #line 3508 "configure" |
---|
3508 | #include "confdefs.h" |
---|
3509 | #include <stdio.h> |
---|
3510 | main() |
---|
3511 | { |
---|
3512 | FILE *f=fopen("conftestval", "w"); |
---|
3513 | if (!f) exit(1); |
---|
3514 | fprintf(f, "%d\n", sizeof(long)); |
---|
3515 | exit(0); |
---|
3516 | } |
---|
3517 | EOF |
---|
3518 | if { (eval echo configure:3519: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
3519 | then |
---|
3520 | ac_cv_sizeof_long=`cat conftestval` |
---|
3521 | else |
---|
3522 | echo "configure: failed program was:" >&5 |
---|
3523 | cat conftest.$ac_ext >&5 |
---|
3524 | rm -fr conftest* |
---|
3525 | ac_cv_sizeof_long=0 |
---|
3526 | fi |
---|
3527 | rm -fr conftest* |
---|
3528 | fi |
---|
3529 | |
---|
3530 | fi |
---|
3531 | echo "$ac_t""$ac_cv_sizeof_long" 1>&6 |
---|
3532 | cat >> confdefs.h <<EOF |
---|
3533 | #define SIZEOF_LONG $ac_cv_sizeof_long |
---|
3534 | EOF |
---|
3535 | |
---|
3536 | |
---|
3537 | ;; |
---|
3538 | *) case "$target" in |
---|
3539 | *-*-vxworks*) |
---|
3540 | echo $ac_n "checking size of long""... $ac_c" 1>&6 |
---|
3541 | echo "configure:3542: checking size of long" >&5 |
---|
3542 | if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then |
---|
3543 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3544 | else |
---|
3545 | if test "$cross_compiling" = yes; then |
---|
3546 | ac_cv_sizeof_long=4 |
---|
3547 | else |
---|
3548 | cat > conftest.$ac_ext <<EOF |
---|
3549 | #line 3550 "configure" |
---|
3550 | #include "confdefs.h" |
---|
3551 | #include <stdio.h> |
---|
3552 | main() |
---|
3553 | { |
---|
3554 | FILE *f=fopen("conftestval", "w"); |
---|
3555 | if (!f) exit(1); |
---|
3556 | fprintf(f, "%d\n", sizeof(long)); |
---|
3557 | exit(0); |
---|
3558 | } |
---|
3559 | EOF |
---|
3560 | if { (eval echo configure:3561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null |
---|
3561 | then |
---|
3562 | ac_cv_sizeof_long=`cat conftestval` |
---|
3563 | else |
---|
3564 | echo "configure: failed program was:" >&5 |
---|
3565 | cat conftest.$ac_ext >&5 |
---|
3566 | rm -fr conftest* |
---|
3567 | ac_cv_sizeof_long=0 |
---|
3568 | fi |
---|
3569 | rm -fr conftest* |
---|
3570 | fi |
---|
3571 | |
---|
3572 | fi |
---|
3573 | echo "$ac_t""$ac_cv_sizeof_long" 1>&6 |
---|
3574 | cat >> confdefs.h <<EOF |
---|
3575 | #define SIZEOF_LONG $ac_cv_sizeof_long |
---|
3576 | EOF |
---|
3577 | |
---|
3578 | |
---|
3579 | ;; |
---|
3580 | *) { echo "configure: error: Cross-compiling needs explicit SIZEOF_LONG" 1>&2; exit 1; } |
---|
3581 | ;; |
---|
3582 | esac |
---|
3583 | ;; |
---|
3584 | esac |
---|
3585 | |
---|
3586 | echo $ac_n "checking for s_char""... $ac_c" 1>&6 |
---|
3587 | echo "configure:3588: checking for s_char" >&5 |
---|
3588 | if eval "test \"`echo '$''{'ac_cv_type_s_char'+set}'`\" = set"; then |
---|
3589 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3590 | else |
---|
3591 | cat > conftest.$ac_ext <<EOF |
---|
3592 | #line 3593 "configure" |
---|
3593 | #include "confdefs.h" |
---|
3594 | #include <sys/types.h> |
---|
3595 | #if STDC_HEADERS |
---|
3596 | #include <stdlib.h> |
---|
3597 | #include <stddef.h> |
---|
3598 | #endif |
---|
3599 | EOF |
---|
3600 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3601 | egrep "s_char[^a-zA-Z_0-9]" >/dev/null 2>&1; then |
---|
3602 | rm -rf conftest* |
---|
3603 | ac_cv_type_s_char=yes |
---|
3604 | else |
---|
3605 | rm -rf conftest* |
---|
3606 | ac_cv_type_s_char=no |
---|
3607 | fi |
---|
3608 | rm -f conftest* |
---|
3609 | |
---|
3610 | fi |
---|
3611 | echo "$ac_t""$ac_cv_type_s_char" 1>&6 |
---|
3612 | if test $ac_cv_type_s_char = no; then |
---|
3613 | cat >> confdefs.h <<\EOF |
---|
3614 | #define s_char signed char |
---|
3615 | EOF |
---|
3616 | |
---|
3617 | fi |
---|
3618 | |
---|
3619 | case "$ac_cv_c_char_unsigned$ac_cv_sizeof_signed_char$ac_cv_type_s_char" in |
---|
3620 | *yes) |
---|
3621 | # We have a typedef for s_char. Might as well believe it... |
---|
3622 | ;; |
---|
3623 | no0no) |
---|
3624 | # We have signed chars, can't say 'signed char', no s_char typedef. |
---|
3625 | cat >> confdefs.h <<\EOF |
---|
3626 | #define NEED_S_CHAR_TYPEDEF 1 |
---|
3627 | EOF |
---|
3628 | |
---|
3629 | ;; |
---|
3630 | no1no) |
---|
3631 | # We have signed chars, can say 'signed char', no s_char typedef. |
---|
3632 | cat >> confdefs.h <<\EOF |
---|
3633 | #define NEED_S_CHAR_TYPEDEF 1 |
---|
3634 | EOF |
---|
3635 | |
---|
3636 | ;; |
---|
3637 | yes0no) |
---|
3638 | # We have unsigned chars, can't say 'signed char', no s_char typedef. |
---|
3639 | { echo "configure: error: No way to specify a signed character!" 1>&2; exit 1; } |
---|
3640 | ;; |
---|
3641 | yes1no) |
---|
3642 | # We have unsigned chars, can say 'signed char', no s_char typedef. |
---|
3643 | cat >> confdefs.h <<\EOF |
---|
3644 | #define NEED_S_CHAR_TYPEDEF 1 |
---|
3645 | EOF |
---|
3646 | |
---|
3647 | ;; |
---|
3648 | esac |
---|
3649 | echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6 |
---|
3650 | echo "configure:3651: checking for uid_t in sys/types.h" >&5 |
---|
3651 | if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then |
---|
3652 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3653 | else |
---|
3654 | cat > conftest.$ac_ext <<EOF |
---|
3655 | #line 3656 "configure" |
---|
3656 | #include "confdefs.h" |
---|
3657 | #include <sys/types.h> |
---|
3658 | EOF |
---|
3659 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
3660 | egrep "uid_t" >/dev/null 2>&1; then |
---|
3661 | rm -rf conftest* |
---|
3662 | ac_cv_type_uid_t=yes |
---|
3663 | else |
---|
3664 | rm -rf conftest* |
---|
3665 | ac_cv_type_uid_t=no |
---|
3666 | fi |
---|
3667 | rm -f conftest* |
---|
3668 | |
---|
3669 | fi |
---|
3670 | |
---|
3671 | echo "$ac_t""$ac_cv_type_uid_t" 1>&6 |
---|
3672 | if test $ac_cv_type_uid_t = no; then |
---|
3673 | cat >> confdefs.h <<\EOF |
---|
3674 | #define uid_t int |
---|
3675 | EOF |
---|
3676 | |
---|
3677 | cat >> confdefs.h <<\EOF |
---|
3678 | #define gid_t int |
---|
3679 | EOF |
---|
3680 | |
---|
3681 | fi |
---|
3682 | |
---|
3683 | |
---|
3684 | case "$target" in |
---|
3685 | *-*-linux*) |
---|
3686 | for ac_func in __adjtimex __ntp_gettime |
---|
3687 | do |
---|
3688 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
3689 | echo "configure:3690: checking for $ac_func" >&5 |
---|
3690 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
3691 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3692 | else |
---|
3693 | cat > conftest.$ac_ext <<EOF |
---|
3694 | #line 3695 "configure" |
---|
3695 | #include "confdefs.h" |
---|
3696 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3697 | which can conflict with char $ac_func(); below. */ |
---|
3698 | #include <assert.h> |
---|
3699 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
3700 | /* We use char because int might match the return type of a gcc2 |
---|
3701 | builtin and then its argument prototype would still apply. */ |
---|
3702 | char $ac_func(); |
---|
3703 | |
---|
3704 | int main() { |
---|
3705 | |
---|
3706 | /* The GNU C library defines this for functions which it implements |
---|
3707 | to always fail with ENOSYS. Some functions are actually named |
---|
3708 | something starting with __ and the normal name is an alias. */ |
---|
3709 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
3710 | choke me |
---|
3711 | #else |
---|
3712 | $ac_func(); |
---|
3713 | #endif |
---|
3714 | |
---|
3715 | ; return 0; } |
---|
3716 | EOF |
---|
3717 | if { (eval echo configure:3718: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
3718 | rm -rf conftest* |
---|
3719 | eval "ac_cv_func_$ac_func=yes" |
---|
3720 | else |
---|
3721 | echo "configure: failed program was:" >&5 |
---|
3722 | cat conftest.$ac_ext >&5 |
---|
3723 | rm -rf conftest* |
---|
3724 | eval "ac_cv_func_$ac_func=no" |
---|
3725 | fi |
---|
3726 | rm -f conftest* |
---|
3727 | fi |
---|
3728 | |
---|
3729 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
3730 | echo "$ac_t""yes" 1>&6 |
---|
3731 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
3732 | cat >> confdefs.h <<EOF |
---|
3733 | #define $ac_tr_func 1 |
---|
3734 | EOF |
---|
3735 | |
---|
3736 | else |
---|
3737 | echo "$ac_t""no" 1>&6 |
---|
3738 | fi |
---|
3739 | done |
---|
3740 | |
---|
3741 | ;; |
---|
3742 | esac |
---|
3743 | for ac_func in clock_settime daemon getbootfile getdtablesize getrusage |
---|
3744 | do |
---|
3745 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
3746 | echo "configure:3747: checking for $ac_func" >&5 |
---|
3747 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
3748 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3749 | else |
---|
3750 | cat > conftest.$ac_ext <<EOF |
---|
3751 | #line 3752 "configure" |
---|
3752 | #include "confdefs.h" |
---|
3753 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3754 | which can conflict with char $ac_func(); below. */ |
---|
3755 | #include <assert.h> |
---|
3756 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
3757 | /* We use char because int might match the return type of a gcc2 |
---|
3758 | builtin and then its argument prototype would still apply. */ |
---|
3759 | char $ac_func(); |
---|
3760 | |
---|
3761 | int main() { |
---|
3762 | |
---|
3763 | /* The GNU C library defines this for functions which it implements |
---|
3764 | to always fail with ENOSYS. Some functions are actually named |
---|
3765 | something starting with __ and the normal name is an alias. */ |
---|
3766 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
3767 | choke me |
---|
3768 | #else |
---|
3769 | $ac_func(); |
---|
3770 | #endif |
---|
3771 | |
---|
3772 | ; return 0; } |
---|
3773 | EOF |
---|
3774 | if { (eval echo configure:3775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
3775 | rm -rf conftest* |
---|
3776 | eval "ac_cv_func_$ac_func=yes" |
---|
3777 | else |
---|
3778 | echo "configure: failed program was:" >&5 |
---|
3779 | cat conftest.$ac_ext >&5 |
---|
3780 | rm -rf conftest* |
---|
3781 | eval "ac_cv_func_$ac_func=no" |
---|
3782 | fi |
---|
3783 | rm -f conftest* |
---|
3784 | fi |
---|
3785 | |
---|
3786 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
3787 | echo "$ac_t""yes" 1>&6 |
---|
3788 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
3789 | cat >> confdefs.h <<EOF |
---|
3790 | #define $ac_tr_func 1 |
---|
3791 | EOF |
---|
3792 | |
---|
3793 | else |
---|
3794 | echo "$ac_t""no" 1>&6 |
---|
3795 | fi |
---|
3796 | done |
---|
3797 | |
---|
3798 | for ac_func in gettimeofday getuid K_open kvm_open memcpy memmove memset |
---|
3799 | do |
---|
3800 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
3801 | echo "configure:3802: checking for $ac_func" >&5 |
---|
3802 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
3803 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3804 | else |
---|
3805 | cat > conftest.$ac_ext <<EOF |
---|
3806 | #line 3807 "configure" |
---|
3807 | #include "confdefs.h" |
---|
3808 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3809 | which can conflict with char $ac_func(); below. */ |
---|
3810 | #include <assert.h> |
---|
3811 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
3812 | /* We use char because int might match the return type of a gcc2 |
---|
3813 | builtin and then its argument prototype would still apply. */ |
---|
3814 | char $ac_func(); |
---|
3815 | |
---|
3816 | int main() { |
---|
3817 | |
---|
3818 | /* The GNU C library defines this for functions which it implements |
---|
3819 | to always fail with ENOSYS. Some functions are actually named |
---|
3820 | something starting with __ and the normal name is an alias. */ |
---|
3821 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
3822 | choke me |
---|
3823 | #else |
---|
3824 | $ac_func(); |
---|
3825 | #endif |
---|
3826 | |
---|
3827 | ; return 0; } |
---|
3828 | EOF |
---|
3829 | if { (eval echo configure:3830: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
3830 | rm -rf conftest* |
---|
3831 | eval "ac_cv_func_$ac_func=yes" |
---|
3832 | else |
---|
3833 | echo "configure: failed program was:" >&5 |
---|
3834 | cat conftest.$ac_ext >&5 |
---|
3835 | rm -rf conftest* |
---|
3836 | eval "ac_cv_func_$ac_func=no" |
---|
3837 | fi |
---|
3838 | rm -f conftest* |
---|
3839 | fi |
---|
3840 | |
---|
3841 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
3842 | echo "$ac_t""yes" 1>&6 |
---|
3843 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
3844 | cat >> confdefs.h <<EOF |
---|
3845 | #define $ac_tr_func 1 |
---|
3846 | EOF |
---|
3847 | |
---|
3848 | else |
---|
3849 | echo "$ac_t""no" 1>&6 |
---|
3850 | fi |
---|
3851 | done |
---|
3852 | |
---|
3853 | for ac_func in mkstemp |
---|
3854 | do |
---|
3855 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
3856 | echo "configure:3857: checking for $ac_func" >&5 |
---|
3857 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
3858 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3859 | else |
---|
3860 | cat > conftest.$ac_ext <<EOF |
---|
3861 | #line 3862 "configure" |
---|
3862 | #include "confdefs.h" |
---|
3863 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3864 | which can conflict with char $ac_func(); below. */ |
---|
3865 | #include <assert.h> |
---|
3866 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
3867 | /* We use char because int might match the return type of a gcc2 |
---|
3868 | builtin and then its argument prototype would still apply. */ |
---|
3869 | char $ac_func(); |
---|
3870 | |
---|
3871 | int main() { |
---|
3872 | |
---|
3873 | /* The GNU C library defines this for functions which it implements |
---|
3874 | to always fail with ENOSYS. Some functions are actually named |
---|
3875 | something starting with __ and the normal name is an alias. */ |
---|
3876 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
3877 | choke me |
---|
3878 | #else |
---|
3879 | $ac_func(); |
---|
3880 | #endif |
---|
3881 | |
---|
3882 | ; return 0; } |
---|
3883 | EOF |
---|
3884 | if { (eval echo configure:3885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
3885 | rm -rf conftest* |
---|
3886 | eval "ac_cv_func_$ac_func=yes" |
---|
3887 | else |
---|
3888 | echo "configure: failed program was:" >&5 |
---|
3889 | cat conftest.$ac_ext >&5 |
---|
3890 | rm -rf conftest* |
---|
3891 | eval "ac_cv_func_$ac_func=no" |
---|
3892 | fi |
---|
3893 | rm -f conftest* |
---|
3894 | fi |
---|
3895 | |
---|
3896 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
3897 | echo "$ac_t""yes" 1>&6 |
---|
3898 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
3899 | cat >> confdefs.h <<EOF |
---|
3900 | #define $ac_tr_func 1 |
---|
3901 | EOF |
---|
3902 | |
---|
3903 | else |
---|
3904 | echo "$ac_t""no" 1>&6 |
---|
3905 | fi |
---|
3906 | done |
---|
3907 | |
---|
3908 | case "$target" in |
---|
3909 | *-*-irix*) |
---|
3910 | # Just stubs in Irix. Idiots. |
---|
3911 | ;; |
---|
3912 | *) for ac_func in mlockall |
---|
3913 | do |
---|
3914 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
3915 | echo "configure:3916: checking for $ac_func" >&5 |
---|
3916 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
3917 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3918 | else |
---|
3919 | cat > conftest.$ac_ext <<EOF |
---|
3920 | #line 3921 "configure" |
---|
3921 | #include "confdefs.h" |
---|
3922 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3923 | which can conflict with char $ac_func(); below. */ |
---|
3924 | #include <assert.h> |
---|
3925 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
3926 | /* We use char because int might match the return type of a gcc2 |
---|
3927 | builtin and then its argument prototype would still apply. */ |
---|
3928 | char $ac_func(); |
---|
3929 | |
---|
3930 | int main() { |
---|
3931 | |
---|
3932 | /* The GNU C library defines this for functions which it implements |
---|
3933 | to always fail with ENOSYS. Some functions are actually named |
---|
3934 | something starting with __ and the normal name is an alias. */ |
---|
3935 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
3936 | choke me |
---|
3937 | #else |
---|
3938 | $ac_func(); |
---|
3939 | #endif |
---|
3940 | |
---|
3941 | ; return 0; } |
---|
3942 | EOF |
---|
3943 | if { (eval echo configure:3944: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
3944 | rm -rf conftest* |
---|
3945 | eval "ac_cv_func_$ac_func=yes" |
---|
3946 | else |
---|
3947 | echo "configure: failed program was:" >&5 |
---|
3948 | cat conftest.$ac_ext >&5 |
---|
3949 | rm -rf conftest* |
---|
3950 | eval "ac_cv_func_$ac_func=no" |
---|
3951 | fi |
---|
3952 | rm -f conftest* |
---|
3953 | fi |
---|
3954 | |
---|
3955 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
3956 | echo "$ac_t""yes" 1>&6 |
---|
3957 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
3958 | cat >> confdefs.h <<EOF |
---|
3959 | #define $ac_tr_func 1 |
---|
3960 | EOF |
---|
3961 | |
---|
3962 | else |
---|
3963 | echo "$ac_t""no" 1>&6 |
---|
3964 | fi |
---|
3965 | done |
---|
3966 | |
---|
3967 | ;; |
---|
3968 | esac |
---|
3969 | for ac_func in nice nlist ntp_adjtime ntp_gettime plock |
---|
3970 | do |
---|
3971 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
3972 | echo "configure:3973: checking for $ac_func" >&5 |
---|
3973 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
3974 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
3975 | else |
---|
3976 | cat > conftest.$ac_ext <<EOF |
---|
3977 | #line 3978 "configure" |
---|
3978 | #include "confdefs.h" |
---|
3979 | /* System header to define __stub macros and hopefully few prototypes, |
---|
3980 | which can conflict with char $ac_func(); below. */ |
---|
3981 | #include <assert.h> |
---|
3982 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
3983 | /* We use char because int might match the return type of a gcc2 |
---|
3984 | builtin and then its argument prototype would still apply. */ |
---|
3985 | char $ac_func(); |
---|
3986 | |
---|
3987 | int main() { |
---|
3988 | |
---|
3989 | /* The GNU C library defines this for functions which it implements |
---|
3990 | to always fail with ENOSYS. Some functions are actually named |
---|
3991 | something starting with __ and the normal name is an alias. */ |
---|
3992 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
3993 | choke me |
---|
3994 | #else |
---|
3995 | $ac_func(); |
---|
3996 | #endif |
---|
3997 | |
---|
3998 | ; return 0; } |
---|
3999 | EOF |
---|
4000 | if { (eval echo configure:4001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
4001 | rm -rf conftest* |
---|
4002 | eval "ac_cv_func_$ac_func=yes" |
---|
4003 | else |
---|
4004 | echo "configure: failed program was:" >&5 |
---|
4005 | cat conftest.$ac_ext >&5 |
---|
4006 | rm -rf conftest* |
---|
4007 | eval "ac_cv_func_$ac_func=no" |
---|
4008 | fi |
---|
4009 | rm -f conftest* |
---|
4010 | fi |
---|
4011 | |
---|
4012 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
4013 | echo "$ac_t""yes" 1>&6 |
---|
4014 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
4015 | cat >> confdefs.h <<EOF |
---|
4016 | #define $ac_tr_func 1 |
---|
4017 | EOF |
---|
4018 | |
---|
4019 | else |
---|
4020 | echo "$ac_t""no" 1>&6 |
---|
4021 | fi |
---|
4022 | done |
---|
4023 | |
---|
4024 | for ac_func in pututline pututxline rtprio |
---|
4025 | do |
---|
4026 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
4027 | echo "configure:4028: checking for $ac_func" >&5 |
---|
4028 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
4029 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4030 | else |
---|
4031 | cat > conftest.$ac_ext <<EOF |
---|
4032 | #line 4033 "configure" |
---|
4033 | #include "confdefs.h" |
---|
4034 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4035 | which can conflict with char $ac_func(); below. */ |
---|
4036 | #include <assert.h> |
---|
4037 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4038 | /* We use char because int might match the return type of a gcc2 |
---|
4039 | builtin and then its argument prototype would still apply. */ |
---|
4040 | char $ac_func(); |
---|
4041 | |
---|
4042 | int main() { |
---|
4043 | |
---|
4044 | /* The GNU C library defines this for functions which it implements |
---|
4045 | to always fail with ENOSYS. Some functions are actually named |
---|
4046 | something starting with __ and the normal name is an alias. */ |
---|
4047 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4048 | choke me |
---|
4049 | #else |
---|
4050 | $ac_func(); |
---|
4051 | #endif |
---|
4052 | |
---|
4053 | ; return 0; } |
---|
4054 | EOF |
---|
4055 | if { (eval echo configure:4056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
4056 | rm -rf conftest* |
---|
4057 | eval "ac_cv_func_$ac_func=yes" |
---|
4058 | else |
---|
4059 | echo "configure: failed program was:" >&5 |
---|
4060 | cat conftest.$ac_ext >&5 |
---|
4061 | rm -rf conftest* |
---|
4062 | eval "ac_cv_func_$ac_func=no" |
---|
4063 | fi |
---|
4064 | rm -f conftest* |
---|
4065 | fi |
---|
4066 | |
---|
4067 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
4068 | echo "$ac_t""yes" 1>&6 |
---|
4069 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
4070 | cat >> confdefs.h <<EOF |
---|
4071 | #define $ac_tr_func 1 |
---|
4072 | EOF |
---|
4073 | |
---|
4074 | else |
---|
4075 | echo "$ac_t""no" 1>&6 |
---|
4076 | fi |
---|
4077 | done |
---|
4078 | |
---|
4079 | case "$target" in |
---|
4080 | *-*-solaris2.5*) |
---|
4081 | # Just stubs in solaris2.5. Idiots. |
---|
4082 | ;; |
---|
4083 | *) for ac_func in sched_setscheduler |
---|
4084 | do |
---|
4085 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
4086 | echo "configure:4087: checking for $ac_func" >&5 |
---|
4087 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
4088 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4089 | else |
---|
4090 | cat > conftest.$ac_ext <<EOF |
---|
4091 | #line 4092 "configure" |
---|
4092 | #include "confdefs.h" |
---|
4093 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4094 | which can conflict with char $ac_func(); below. */ |
---|
4095 | #include <assert.h> |
---|
4096 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4097 | /* We use char because int might match the return type of a gcc2 |
---|
4098 | builtin and then its argument prototype would still apply. */ |
---|
4099 | char $ac_func(); |
---|
4100 | |
---|
4101 | int main() { |
---|
4102 | |
---|
4103 | /* The GNU C library defines this for functions which it implements |
---|
4104 | to always fail with ENOSYS. Some functions are actually named |
---|
4105 | something starting with __ and the normal name is an alias. */ |
---|
4106 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4107 | choke me |
---|
4108 | #else |
---|
4109 | $ac_func(); |
---|
4110 | #endif |
---|
4111 | |
---|
4112 | ; return 0; } |
---|
4113 | EOF |
---|
4114 | if { (eval echo configure:4115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
4115 | rm -rf conftest* |
---|
4116 | eval "ac_cv_func_$ac_func=yes" |
---|
4117 | else |
---|
4118 | echo "configure: failed program was:" >&5 |
---|
4119 | cat conftest.$ac_ext >&5 |
---|
4120 | rm -rf conftest* |
---|
4121 | eval "ac_cv_func_$ac_func=no" |
---|
4122 | fi |
---|
4123 | rm -f conftest* |
---|
4124 | fi |
---|
4125 | |
---|
4126 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
4127 | echo "$ac_t""yes" 1>&6 |
---|
4128 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
4129 | cat >> confdefs.h <<EOF |
---|
4130 | #define $ac_tr_func 1 |
---|
4131 | EOF |
---|
4132 | |
---|
4133 | else |
---|
4134 | echo "$ac_t""no" 1>&6 |
---|
4135 | fi |
---|
4136 | done |
---|
4137 | |
---|
4138 | ;; |
---|
4139 | esac |
---|
4140 | for ac_func in setlinebuf |
---|
4141 | do |
---|
4142 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
4143 | echo "configure:4144: checking for $ac_func" >&5 |
---|
4144 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
4145 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4146 | else |
---|
4147 | cat > conftest.$ac_ext <<EOF |
---|
4148 | #line 4149 "configure" |
---|
4149 | #include "confdefs.h" |
---|
4150 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4151 | which can conflict with char $ac_func(); below. */ |
---|
4152 | #include <assert.h> |
---|
4153 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4154 | /* We use char because int might match the return type of a gcc2 |
---|
4155 | builtin and then its argument prototype would still apply. */ |
---|
4156 | char $ac_func(); |
---|
4157 | |
---|
4158 | int main() { |
---|
4159 | |
---|
4160 | /* The GNU C library defines this for functions which it implements |
---|
4161 | to always fail with ENOSYS. Some functions are actually named |
---|
4162 | something starting with __ and the normal name is an alias. */ |
---|
4163 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4164 | choke me |
---|
4165 | #else |
---|
4166 | $ac_func(); |
---|
4167 | #endif |
---|
4168 | |
---|
4169 | ; return 0; } |
---|
4170 | EOF |
---|
4171 | if { (eval echo configure:4172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
4172 | rm -rf conftest* |
---|
4173 | eval "ac_cv_func_$ac_func=yes" |
---|
4174 | else |
---|
4175 | echo "configure: failed program was:" >&5 |
---|
4176 | cat conftest.$ac_ext >&5 |
---|
4177 | rm -rf conftest* |
---|
4178 | eval "ac_cv_func_$ac_func=no" |
---|
4179 | fi |
---|
4180 | rm -f conftest* |
---|
4181 | fi |
---|
4182 | |
---|
4183 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
4184 | echo "$ac_t""yes" 1>&6 |
---|
4185 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
4186 | cat >> confdefs.h <<EOF |
---|
4187 | #define $ac_tr_func 1 |
---|
4188 | EOF |
---|
4189 | |
---|
4190 | else |
---|
4191 | echo "$ac_t""no" 1>&6 |
---|
4192 | fi |
---|
4193 | done |
---|
4194 | |
---|
4195 | for ac_func in setpgid setpriority setsid settimeofday setvbuf sigaction |
---|
4196 | do |
---|
4197 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
4198 | echo "configure:4199: checking for $ac_func" >&5 |
---|
4199 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
4200 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4201 | else |
---|
4202 | cat > conftest.$ac_ext <<EOF |
---|
4203 | #line 4204 "configure" |
---|
4204 | #include "confdefs.h" |
---|
4205 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4206 | which can conflict with char $ac_func(); below. */ |
---|
4207 | #include <assert.h> |
---|
4208 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4209 | /* We use char because int might match the return type of a gcc2 |
---|
4210 | builtin and then its argument prototype would still apply. */ |
---|
4211 | char $ac_func(); |
---|
4212 | |
---|
4213 | int main() { |
---|
4214 | |
---|
4215 | /* The GNU C library defines this for functions which it implements |
---|
4216 | to always fail with ENOSYS. Some functions are actually named |
---|
4217 | something starting with __ and the normal name is an alias. */ |
---|
4218 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4219 | choke me |
---|
4220 | #else |
---|
4221 | $ac_func(); |
---|
4222 | #endif |
---|
4223 | |
---|
4224 | ; return 0; } |
---|
4225 | EOF |
---|
4226 | if { (eval echo configure:4227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
4227 | rm -rf conftest* |
---|
4228 | eval "ac_cv_func_$ac_func=yes" |
---|
4229 | else |
---|
4230 | echo "configure: failed program was:" >&5 |
---|
4231 | cat conftest.$ac_ext >&5 |
---|
4232 | rm -rf conftest* |
---|
4233 | eval "ac_cv_func_$ac_func=no" |
---|
4234 | fi |
---|
4235 | rm -f conftest* |
---|
4236 | fi |
---|
4237 | |
---|
4238 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
4239 | echo "$ac_t""yes" 1>&6 |
---|
4240 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
4241 | cat >> confdefs.h <<EOF |
---|
4242 | #define $ac_tr_func 1 |
---|
4243 | EOF |
---|
4244 | |
---|
4245 | else |
---|
4246 | echo "$ac_t""no" 1>&6 |
---|
4247 | fi |
---|
4248 | done |
---|
4249 | |
---|
4250 | for ac_func in sigvec sigset sigsuspend stime strchr sysconf sysctl |
---|
4251 | do |
---|
4252 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
4253 | echo "configure:4254: checking for $ac_func" >&5 |
---|
4254 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
4255 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4256 | else |
---|
4257 | cat > conftest.$ac_ext <<EOF |
---|
4258 | #line 4259 "configure" |
---|
4259 | #include "confdefs.h" |
---|
4260 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4261 | which can conflict with char $ac_func(); below. */ |
---|
4262 | #include <assert.h> |
---|
4263 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4264 | /* We use char because int might match the return type of a gcc2 |
---|
4265 | builtin and then its argument prototype would still apply. */ |
---|
4266 | char $ac_func(); |
---|
4267 | |
---|
4268 | int main() { |
---|
4269 | |
---|
4270 | /* The GNU C library defines this for functions which it implements |
---|
4271 | to always fail with ENOSYS. Some functions are actually named |
---|
4272 | something starting with __ and the normal name is an alias. */ |
---|
4273 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4274 | choke me |
---|
4275 | #else |
---|
4276 | $ac_func(); |
---|
4277 | #endif |
---|
4278 | |
---|
4279 | ; return 0; } |
---|
4280 | EOF |
---|
4281 | if { (eval echo configure:4282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
4282 | rm -rf conftest* |
---|
4283 | eval "ac_cv_func_$ac_func=yes" |
---|
4284 | else |
---|
4285 | echo "configure: failed program was:" >&5 |
---|
4286 | cat conftest.$ac_ext >&5 |
---|
4287 | rm -rf conftest* |
---|
4288 | eval "ac_cv_func_$ac_func=no" |
---|
4289 | fi |
---|
4290 | rm -f conftest* |
---|
4291 | fi |
---|
4292 | |
---|
4293 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
4294 | echo "$ac_t""yes" 1>&6 |
---|
4295 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
4296 | cat >> confdefs.h <<EOF |
---|
4297 | #define $ac_tr_func 1 |
---|
4298 | EOF |
---|
4299 | |
---|
4300 | else |
---|
4301 | echo "$ac_t""no" 1>&6 |
---|
4302 | fi |
---|
4303 | done |
---|
4304 | |
---|
4305 | for ac_func in timer_create timer_settime umask uname updwtmp updwtmpx |
---|
4306 | do |
---|
4307 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
4308 | echo "configure:4309: checking for $ac_func" >&5 |
---|
4309 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
4310 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4311 | else |
---|
4312 | cat > conftest.$ac_ext <<EOF |
---|
4313 | #line 4314 "configure" |
---|
4314 | #include "confdefs.h" |
---|
4315 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4316 | which can conflict with char $ac_func(); below. */ |
---|
4317 | #include <assert.h> |
---|
4318 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4319 | /* We use char because int might match the return type of a gcc2 |
---|
4320 | builtin and then its argument prototype would still apply. */ |
---|
4321 | char $ac_func(); |
---|
4322 | |
---|
4323 | int main() { |
---|
4324 | |
---|
4325 | /* The GNU C library defines this for functions which it implements |
---|
4326 | to always fail with ENOSYS. Some functions are actually named |
---|
4327 | something starting with __ and the normal name is an alias. */ |
---|
4328 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4329 | choke me |
---|
4330 | #else |
---|
4331 | $ac_func(); |
---|
4332 | #endif |
---|
4333 | |
---|
4334 | ; return 0; } |
---|
4335 | EOF |
---|
4336 | if { (eval echo configure:4337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
4337 | rm -rf conftest* |
---|
4338 | eval "ac_cv_func_$ac_func=yes" |
---|
4339 | else |
---|
4340 | echo "configure: failed program was:" >&5 |
---|
4341 | cat conftest.$ac_ext >&5 |
---|
4342 | rm -rf conftest* |
---|
4343 | eval "ac_cv_func_$ac_func=no" |
---|
4344 | fi |
---|
4345 | rm -f conftest* |
---|
4346 | fi |
---|
4347 | |
---|
4348 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
4349 | echo "$ac_t""yes" 1>&6 |
---|
4350 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
4351 | cat >> confdefs.h <<EOF |
---|
4352 | #define $ac_tr_func 1 |
---|
4353 | EOF |
---|
4354 | |
---|
4355 | else |
---|
4356 | echo "$ac_t""no" 1>&6 |
---|
4357 | fi |
---|
4358 | done |
---|
4359 | |
---|
4360 | for ac_func in vsprintf |
---|
4361 | do |
---|
4362 | echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 |
---|
4363 | echo "configure:4364: checking for $ac_func" >&5 |
---|
4364 | if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then |
---|
4365 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4366 | else |
---|
4367 | cat > conftest.$ac_ext <<EOF |
---|
4368 | #line 4369 "configure" |
---|
4369 | #include "confdefs.h" |
---|
4370 | /* System header to define __stub macros and hopefully few prototypes, |
---|
4371 | which can conflict with char $ac_func(); below. */ |
---|
4372 | #include <assert.h> |
---|
4373 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
4374 | /* We use char because int might match the return type of a gcc2 |
---|
4375 | builtin and then its argument prototype would still apply. */ |
---|
4376 | char $ac_func(); |
---|
4377 | |
---|
4378 | int main() { |
---|
4379 | |
---|
4380 | /* The GNU C library defines this for functions which it implements |
---|
4381 | to always fail with ENOSYS. Some functions are actually named |
---|
4382 | something starting with __ and the normal name is an alias. */ |
---|
4383 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
---|
4384 | choke me |
---|
4385 | #else |
---|
4386 | $ac_func(); |
---|
4387 | #endif |
---|
4388 | |
---|
4389 | ; return 0; } |
---|
4390 | EOF |
---|
4391 | if { (eval echo configure:4392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then |
---|
4392 | rm -rf conftest* |
---|
4393 | eval "ac_cv_func_$ac_func=yes" |
---|
4394 | else |
---|
4395 | echo "configure: failed program was:" >&5 |
---|
4396 | cat conftest.$ac_ext >&5 |
---|
4397 | rm -rf conftest* |
---|
4398 | eval "ac_cv_func_$ac_func=no" |
---|
4399 | fi |
---|
4400 | rm -f conftest* |
---|
4401 | fi |
---|
4402 | |
---|
4403 | if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then |
---|
4404 | echo "$ac_t""yes" 1>&6 |
---|
4405 | ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` |
---|
4406 | cat >> confdefs.h <<EOF |
---|
4407 | #define $ac_tr_func 1 |
---|
4408 | EOF |
---|
4409 | |
---|
4410 | else |
---|
4411 | echo "$ac_t""no" 1>&6 |
---|
4412 | fi |
---|
4413 | done |
---|
4414 | |
---|
4415 | |
---|
4416 | echo $ac_n "checking number of arguments to gettimeofday()""... $ac_c" 1>&6 |
---|
4417 | echo "configure:4418: checking number of arguments to gettimeofday()" >&5 |
---|
4418 | if eval "test \"`echo '$''{'ac_cv_func_Xettimeofday_nargs'+set}'`\" = set"; then |
---|
4419 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4420 | else |
---|
4421 | cat > conftest.$ac_ext <<EOF |
---|
4422 | #line 4423 "configure" |
---|
4423 | #include "confdefs.h" |
---|
4424 | #include <sys/time.h> |
---|
4425 | int main() { |
---|
4426 | |
---|
4427 | gettimeofday((struct timeval*)0,(struct timezone*)0); |
---|
4428 | settimeofday((struct timeval*)0,(struct timezone*)0); |
---|
4429 | |
---|
4430 | ; return 0; } |
---|
4431 | EOF |
---|
4432 | if { (eval echo configure:4433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
4433 | rm -rf conftest* |
---|
4434 | ac_cv_func_Xettimeofday_nargs=2 |
---|
4435 | else |
---|
4436 | echo "configure: failed program was:" >&5 |
---|
4437 | cat conftest.$ac_ext >&5 |
---|
4438 | rm -rf conftest* |
---|
4439 | ac_cv_func_Xettimeofday_nargs=1 |
---|
4440 | fi |
---|
4441 | rm -f conftest* |
---|
4442 | |
---|
4443 | fi |
---|
4444 | |
---|
4445 | echo "$ac_t""$ac_cv_func_Xettimeofday_nargs" 1>&6 |
---|
4446 | if test $ac_cv_func_Xettimeofday_nargs = 1; then |
---|
4447 | cat >> confdefs.h <<\EOF |
---|
4448 | #define SYSV_TIMEOFDAY 1 |
---|
4449 | EOF |
---|
4450 | |
---|
4451 | fi |
---|
4452 | |
---|
4453 | echo $ac_n "checking number of arguments taken by setpgrp()""... $ac_c" 1>&6 |
---|
4454 | echo "configure:4455: checking number of arguments taken by setpgrp()" >&5 |
---|
4455 | if eval "test \"`echo '$''{'ac_cv_func_setpgrp_nargs'+set}'`\" = set"; then |
---|
4456 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4457 | else |
---|
4458 | cat > conftest.$ac_ext <<EOF |
---|
4459 | #line 4460 "configure" |
---|
4460 | #include "confdefs.h" |
---|
4461 | |
---|
4462 | #ifdef HAVE_SYS_TYPES_H |
---|
4463 | # include <sys/types.h> |
---|
4464 | #endif |
---|
4465 | #ifdef HAVE_UNISTD_H |
---|
4466 | # include <unistd.h> |
---|
4467 | #endif |
---|
4468 | |
---|
4469 | int main() { |
---|
4470 | setpgrp(0,0); |
---|
4471 | ; return 0; } |
---|
4472 | EOF |
---|
4473 | if { (eval echo configure:4474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
4474 | rm -rf conftest* |
---|
4475 | ac_cv_func_setpgrp_nargs=2 |
---|
4476 | else |
---|
4477 | echo "configure: failed program was:" >&5 |
---|
4478 | cat conftest.$ac_ext >&5 |
---|
4479 | rm -rf conftest* |
---|
4480 | ac_cv_func_setpgrp_nargs=0 |
---|
4481 | fi |
---|
4482 | rm -f conftest* |
---|
4483 | |
---|
4484 | fi |
---|
4485 | |
---|
4486 | echo "$ac_t""$ac_cv_func_setpgrp_nargs" 1>&6 |
---|
4487 | if test $ac_cv_func_setpgrp_nargs = 0; then |
---|
4488 | cat >> confdefs.h <<\EOF |
---|
4489 | #define HAVE_SETPGRP_0 1 |
---|
4490 | EOF |
---|
4491 | |
---|
4492 | fi |
---|
4493 | |
---|
4494 | save_CFLAGS=$CFLAGS |
---|
4495 | CFLAGS="$CFLAGS -I$srcdir/include" |
---|
4496 | |
---|
4497 | echo $ac_n "checking argument pointer type of qsort()'s compare function and base""... $ac_c" 1>&6 |
---|
4498 | echo "configure:4499: checking argument pointer type of qsort()'s compare function and base" >&5 |
---|
4499 | if eval "test \"`echo '$''{'ac_cv_func_qsort_argtype'+set}'`\" = set"; then |
---|
4500 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4501 | else |
---|
4502 | cat > conftest.$ac_ext <<EOF |
---|
4503 | #line 4504 "configure" |
---|
4504 | #include "confdefs.h" |
---|
4505 | |
---|
4506 | #include "l_stdlib.h" |
---|
4507 | |
---|
4508 | #ifdef HAVE_PROTOTYPES |
---|
4509 | #define P(x) x |
---|
4510 | #else |
---|
4511 | #define P(x) () |
---|
4512 | #endif |
---|
4513 | |
---|
4514 | extern void *base; |
---|
4515 | extern sortfunc P((const void *, const void *)); |
---|
4516 | int sortfunc(a, b) |
---|
4517 | const void *a; |
---|
4518 | const void *b; { return 0; } |
---|
4519 | |
---|
4520 | int main() { |
---|
4521 | |
---|
4522 | qsort(base, 2, sizeof(char *), sortfunc); |
---|
4523 | |
---|
4524 | ; return 0; } |
---|
4525 | EOF |
---|
4526 | if { (eval echo configure:4527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
4527 | rm -rf conftest* |
---|
4528 | ac_cv_func_qsort_argtype=void |
---|
4529 | else |
---|
4530 | echo "configure: failed program was:" >&5 |
---|
4531 | cat conftest.$ac_ext >&5 |
---|
4532 | rm -rf conftest* |
---|
4533 | ac_cv_func_qsort_argtype=char |
---|
4534 | fi |
---|
4535 | rm -f conftest* |
---|
4536 | |
---|
4537 | fi |
---|
4538 | |
---|
4539 | echo "$ac_t""$ac_cv_func_qsort_argtype" 1>&6 |
---|
4540 | case "$ac_cv_func_qsort_argtype" in |
---|
4541 | void) |
---|
4542 | cat >> confdefs.h <<\EOF |
---|
4543 | #define QSORT_USES_VOID_P 1 |
---|
4544 | EOF |
---|
4545 | |
---|
4546 | ;; |
---|
4547 | esac |
---|
4548 | |
---|
4549 | CFLAGS=$save_CFLAGS |
---|
4550 | |
---|
4551 | echo $ac_n "checking if declaring 'char *sys_errlist' is ok""... $ac_c" 1>&6 |
---|
4552 | echo "configure:4553: checking if declaring 'char *sys_errlist' is ok" >&5 |
---|
4553 | if eval "test \"`echo '$''{'ac_cv_decl_sys_errlist'+set}'`\" = set"; then |
---|
4554 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4555 | else |
---|
4556 | cat > conftest.$ac_ext <<EOF |
---|
4557 | #line 4558 "configure" |
---|
4558 | #include "confdefs.h" |
---|
4559 | #include <stdio.h> |
---|
4560 | #ifdef HAVE_ERRNO_H |
---|
4561 | #include <errno.h> |
---|
4562 | #endif |
---|
4563 | int main() { |
---|
4564 | extern char *sys_errlist[]; |
---|
4565 | |
---|
4566 | ; return 0; } |
---|
4567 | EOF |
---|
4568 | if { (eval echo configure:4569: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
4569 | rm -rf conftest* |
---|
4570 | ac_cv_decl_sys_errlist=yes |
---|
4571 | else |
---|
4572 | echo "configure: failed program was:" >&5 |
---|
4573 | cat conftest.$ac_ext >&5 |
---|
4574 | rm -rf conftest* |
---|
4575 | ac_cv_decl_sys_errlist=no |
---|
4576 | fi |
---|
4577 | rm -f conftest* |
---|
4578 | fi |
---|
4579 | |
---|
4580 | echo "$ac_t""$ac_cv_decl_sys_errlist" 1>&6 |
---|
4581 | case "$ac_cv_decl_sys_errlist" in |
---|
4582 | yes) cat >> confdefs.h <<\EOF |
---|
4583 | #define CHAR_SYS_ERRLIST 1 |
---|
4584 | EOF |
---|
4585 | ;; |
---|
4586 | esac |
---|
4587 | |
---|
4588 | echo $ac_n "checking if declaring 'syscall()' is ok""... $ac_c" 1>&6 |
---|
4589 | echo "configure:4590: checking if declaring 'syscall()' is ok" >&5 |
---|
4590 | if eval "test \"`echo '$''{'ac_cv_decl_syscall'+set}'`\" = set"; then |
---|
4591 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4592 | else |
---|
4593 | cat > conftest.$ac_ext <<EOF |
---|
4594 | #line 4595 "configure" |
---|
4595 | #include "confdefs.h" |
---|
4596 | |
---|
4597 | #ifdef HAVE_SYS_TYPES_H |
---|
4598 | # include <sys/types.h> |
---|
4599 | #endif |
---|
4600 | #ifdef HAVE_UNISTD_H |
---|
4601 | # include <unistd.h> |
---|
4602 | #endif |
---|
4603 | #ifdef HAVE_PROTOTYPES |
---|
4604 | #define P(x) x |
---|
4605 | #else |
---|
4606 | #define P(x) () |
---|
4607 | #endif |
---|
4608 | |
---|
4609 | int main() { |
---|
4610 | extern int syscall P((int, struct timeval *, struct timeval *)); |
---|
4611 | ; return 0; } |
---|
4612 | EOF |
---|
4613 | if { (eval echo configure:4614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
4614 | rm -rf conftest* |
---|
4615 | ac_cv_decl_syscall=yes |
---|
4616 | else |
---|
4617 | echo "configure: failed program was:" >&5 |
---|
4618 | cat conftest.$ac_ext >&5 |
---|
4619 | rm -rf conftest* |
---|
4620 | ac_cv_decl_syscall=no |
---|
4621 | fi |
---|
4622 | rm -f conftest* |
---|
4623 | fi |
---|
4624 | |
---|
4625 | echo "$ac_t""$ac_cv_decl_syscall" 1>&6 |
---|
4626 | case "$ac_cv_decl_syscall" in |
---|
4627 | yes) cat >> confdefs.h <<\EOF |
---|
4628 | #define DECL_SYSCALL 1 |
---|
4629 | EOF |
---|
4630 | ;; |
---|
4631 | esac |
---|
4632 | |
---|
4633 | case "$target" in |
---|
4634 | *-*-osf4*) |
---|
4635 | cat >> confdefs.h <<\EOF |
---|
4636 | #define DECL_PLOCK_0 1 |
---|
4637 | EOF |
---|
4638 | |
---|
4639 | ;; |
---|
4640 | *-*-riscos4*) |
---|
4641 | cat >> confdefs.h <<\EOF |
---|
4642 | #define DECL_ADJTIME_0 1 |
---|
4643 | EOF |
---|
4644 | |
---|
4645 | cat >> confdefs.h <<\EOF |
---|
4646 | #define DECL_BZERO_0 1 |
---|
4647 | EOF |
---|
4648 | |
---|
4649 | cat >> confdefs.h <<\EOF |
---|
4650 | #define DECL_IOCTL_0 1 |
---|
4651 | EOF |
---|
4652 | |
---|
4653 | cat >> confdefs.h <<\EOF |
---|
4654 | #define DECL_IPC_0 1 |
---|
4655 | EOF |
---|
4656 | |
---|
4657 | cat >> confdefs.h <<\EOF |
---|
4658 | #define DECL_MEMMOVE_0 1 |
---|
4659 | EOF |
---|
4660 | |
---|
4661 | cat >> confdefs.h <<\EOF |
---|
4662 | #define DECL_MKTEMP_0 1 |
---|
4663 | EOF |
---|
4664 | |
---|
4665 | cat >> confdefs.h <<\EOF |
---|
4666 | #define DECL_RENAME_0 1 |
---|
4667 | EOF |
---|
4668 | |
---|
4669 | cat >> confdefs.h <<\EOF |
---|
4670 | #define DECL_SELECT_0 1 |
---|
4671 | EOF |
---|
4672 | |
---|
4673 | cat >> confdefs.h <<\EOF |
---|
4674 | #define DECL_SETITIMER_0 1 |
---|
4675 | EOF |
---|
4676 | |
---|
4677 | cat >> confdefs.h <<\EOF |
---|
4678 | #define DECL_SETPRIORITY_0 1 |
---|
4679 | EOF |
---|
4680 | |
---|
4681 | cat >> confdefs.h <<\EOF |
---|
4682 | #define DECL_STDIO_0 1 |
---|
4683 | EOF |
---|
4684 | |
---|
4685 | cat >> confdefs.h <<\EOF |
---|
4686 | #define DECL_STRTOL_0 1 |
---|
4687 | EOF |
---|
4688 | |
---|
4689 | cat >> confdefs.h <<\EOF |
---|
4690 | #define DECL_SYSLOG_0 1 |
---|
4691 | EOF |
---|
4692 | |
---|
4693 | cat >> confdefs.h <<\EOF |
---|
4694 | #define DECL_TIME_0 1 |
---|
4695 | EOF |
---|
4696 | |
---|
4697 | cat >> confdefs.h <<\EOF |
---|
4698 | #define DECL_TIMEOFDAY_0 1 |
---|
4699 | EOF |
---|
4700 | |
---|
4701 | cat >> confdefs.h <<\EOF |
---|
4702 | #define DECL_TOLOWER_0 1 |
---|
4703 | EOF |
---|
4704 | |
---|
4705 | ;; |
---|
4706 | *-*-solaris2*) |
---|
4707 | cat >> confdefs.h <<\EOF |
---|
4708 | #define DECL_MKSTEMP_0 1 |
---|
4709 | EOF |
---|
4710 | |
---|
4711 | cat >> confdefs.h <<\EOF |
---|
4712 | #define DECL_SETPRIORITY_1 1 |
---|
4713 | EOF |
---|
4714 | |
---|
4715 | ;; |
---|
4716 | *-*-sunos4*) |
---|
4717 | cat >> confdefs.h <<\EOF |
---|
4718 | #define DECL_ADJTIME_0 1 |
---|
4719 | EOF |
---|
4720 | |
---|
4721 | cat >> confdefs.h <<\EOF |
---|
4722 | #define DECL_BCOPY_0 1 |
---|
4723 | EOF |
---|
4724 | |
---|
4725 | cat >> confdefs.h <<\EOF |
---|
4726 | #define DECL_BZERO_0 1 |
---|
4727 | EOF |
---|
4728 | |
---|
4729 | cat >> confdefs.h <<\EOF |
---|
4730 | #define DECL_IOCTL_0 1 |
---|
4731 | EOF |
---|
4732 | |
---|
4733 | cat >> confdefs.h <<\EOF |
---|
4734 | #define DECL_IPC_0 1 |
---|
4735 | EOF |
---|
4736 | |
---|
4737 | cat >> confdefs.h <<\EOF |
---|
4738 | #define DECL_MEMMOVE_0 1 |
---|
4739 | EOF |
---|
4740 | |
---|
4741 | cat >> confdefs.h <<\EOF |
---|
4742 | #define DECL_MKTEMP_0 1 |
---|
4743 | EOF |
---|
4744 | |
---|
4745 | cat >> confdefs.h <<\EOF |
---|
4746 | #define DECL_RENAME_0 1 |
---|
4747 | EOF |
---|
4748 | |
---|
4749 | cat >> confdefs.h <<\EOF |
---|
4750 | #define DECL_SELECT_0 1 |
---|
4751 | EOF |
---|
4752 | |
---|
4753 | cat >> confdefs.h <<\EOF |
---|
4754 | #define DECL_SETITIMER_0 1 |
---|
4755 | EOF |
---|
4756 | |
---|
4757 | cat >> confdefs.h <<\EOF |
---|
4758 | #define DECL_SETPRIORITY_0 1 |
---|
4759 | EOF |
---|
4760 | |
---|
4761 | cat >> confdefs.h <<\EOF |
---|
4762 | #define DECL_SIGVEC_0 1 |
---|
4763 | EOF |
---|
4764 | |
---|
4765 | case "`basename $ac_cv_prog_CC`" in |
---|
4766 | acc*) ;; |
---|
4767 | *) cat >> confdefs.h <<\EOF |
---|
4768 | #define DECL_STDIO_0 1 |
---|
4769 | EOF |
---|
4770 | |
---|
4771 | ;; |
---|
4772 | esac |
---|
4773 | cat >> confdefs.h <<\EOF |
---|
4774 | #define DECL_STRTOL_0 1 |
---|
4775 | EOF |
---|
4776 | |
---|
4777 | cat >> confdefs.h <<\EOF |
---|
4778 | #define DECL_SYSLOG_0 1 |
---|
4779 | EOF |
---|
4780 | |
---|
4781 | cat >> confdefs.h <<\EOF |
---|
4782 | #define DECL_TIME_0 1 |
---|
4783 | EOF |
---|
4784 | |
---|
4785 | cat >> confdefs.h <<\EOF |
---|
4786 | #define DECL_TIMEOFDAY_0 1 |
---|
4787 | EOF |
---|
4788 | |
---|
4789 | cat >> confdefs.h <<\EOF |
---|
4790 | #define DECL_TOLOWER_0 1 |
---|
4791 | EOF |
---|
4792 | |
---|
4793 | ;; |
---|
4794 | esac |
---|
4795 | |
---|
4796 | echo $ac_n "checking if we should use a streams device for ifconfig""... $ac_c" 1>&6 |
---|
4797 | echo "configure:4798: checking if we should use a streams device for ifconfig" >&5 |
---|
4798 | if eval "test \"`echo '$''{'ac_cv_var_use_streams_device_for_ifconfig'+set}'`\" = set"; then |
---|
4799 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4800 | else |
---|
4801 | ac_cv_var_use_streams_device_for_ifconfig=no |
---|
4802 | fi |
---|
4803 | |
---|
4804 | echo "$ac_t""$ac_cv_var_use_streams_device_for_ifconfig" 1>&6 |
---|
4805 | |
---|
4806 | echo $ac_n "checking if we need extra room for SO_RCVBUF""... $ac_c" 1>&6 |
---|
4807 | echo "configure:4808: checking if we need extra room for SO_RCVBUF" >&5 |
---|
4808 | if eval "test \"`echo '$''{'ac_cv_var_rcvbuf_slop'+set}'`\" = set"; then |
---|
4809 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4810 | else |
---|
4811 | ans=no |
---|
4812 | case "$target" in |
---|
4813 | *-*-hpux[567]*) |
---|
4814 | ans=yes |
---|
4815 | ;; |
---|
4816 | esac |
---|
4817 | ac_cv_var_rcvbuf_slop=$ans |
---|
4818 | fi |
---|
4819 | |
---|
4820 | echo "$ac_t""$ac_cv_var_rcvbuf_slop" 1>&6 |
---|
4821 | case "$ac_cv_var_rcvbuf_slop" in |
---|
4822 | yes) cat >> confdefs.h <<\EOF |
---|
4823 | #define NEED_RCVBUF_SLOP 1 |
---|
4824 | EOF |
---|
4825 | ;; |
---|
4826 | esac |
---|
4827 | |
---|
4828 | echo $ac_n "checking if we will open the broadcast socket""... $ac_c" 1>&6 |
---|
4829 | echo "configure:4830: checking if we will open the broadcast socket" >&5 |
---|
4830 | if eval "test \"`echo '$''{'ac_cv_var_open_bcast_socket'+set}'`\" = set"; then |
---|
4831 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4832 | else |
---|
4833 | ans=yes |
---|
4834 | case "$target" in |
---|
4835 | *-*-domainos) |
---|
4836 | ans=no |
---|
4837 | ;; |
---|
4838 | *-*-linux*) |
---|
4839 | ans=no |
---|
4840 | ;; |
---|
4841 | esac |
---|
4842 | ac_cv_var_open_bcast_socket=$ans |
---|
4843 | fi |
---|
4844 | |
---|
4845 | echo "$ac_t""$ac_cv_var_open_bcast_socket" 1>&6 |
---|
4846 | case "$ac_cv_var_open_bcast_socket" in |
---|
4847 | yes) cat >> confdefs.h <<\EOF |
---|
4848 | #define OPEN_BCAST_SOCKET 1 |
---|
4849 | EOF |
---|
4850 | ;; |
---|
4851 | esac |
---|
4852 | |
---|
4853 | echo $ac_n "checking if we want the HPUX version of FindConfig()""... $ac_c" 1>&6 |
---|
4854 | echo "configure:4855: checking if we want the HPUX version of FindConfig()" >&5 |
---|
4855 | if eval "test \"`echo '$''{'ac_cv_var_hpux_findconfig'+set}'`\" = set"; then |
---|
4856 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4857 | else |
---|
4858 | ans=no |
---|
4859 | case "$target" in |
---|
4860 | *-*-hpux*) |
---|
4861 | ans=yes |
---|
4862 | ;; |
---|
4863 | esac |
---|
4864 | ac_cv_var_hpux_findconfig=$ans |
---|
4865 | fi |
---|
4866 | |
---|
4867 | echo "$ac_t""$ac_cv_var_hpux_findconfig" 1>&6 |
---|
4868 | case "$ac_cv_var_hpux_findconfig" in |
---|
4869 | yes) cat >> confdefs.h <<\EOF |
---|
4870 | #define NEED_HPUX_FINDCONFIG 1 |
---|
4871 | EOF |
---|
4872 | ;; |
---|
4873 | esac |
---|
4874 | |
---|
4875 | echo $ac_n "checking if process groups are set with -pid""... $ac_c" 1>&6 |
---|
4876 | echo "configure:4877: checking if process groups are set with -pid" >&5 |
---|
4877 | if eval "test \"`echo '$''{'ac_cv_arg_setpgrp_negpid'+set}'`\" = set"; then |
---|
4878 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4879 | else |
---|
4880 | case "$target" in |
---|
4881 | *-*-hpux[567]*) |
---|
4882 | ans=no |
---|
4883 | ;; |
---|
4884 | *-*-hpux*) |
---|
4885 | ans=yes |
---|
4886 | ;; |
---|
4887 | *-*-linux*) |
---|
4888 | ans=yes |
---|
4889 | ;; |
---|
4890 | *-*-sunos3*) |
---|
4891 | ans=yes |
---|
4892 | ;; |
---|
4893 | *-*-ultrix2*) |
---|
4894 | ans=yes |
---|
4895 | ;; |
---|
4896 | *) |
---|
4897 | ans=no |
---|
4898 | ;; |
---|
4899 | esac |
---|
4900 | ac_cv_arg_setpgrp_negpid=$ans |
---|
4901 | fi |
---|
4902 | |
---|
4903 | echo "$ac_t""$ac_cv_arg_setpgrp_negpid" 1>&6 |
---|
4904 | case "$ac_cv_arg_setpgrp_negpid" in |
---|
4905 | yes) cat >> confdefs.h <<\EOF |
---|
4906 | #define UDP_BACKWARDS_SETOWN 1 |
---|
4907 | EOF |
---|
4908 | ;; |
---|
4909 | esac |
---|
4910 | |
---|
4911 | echo $ac_n "checking if we need a ctty for F_SETOWN""... $ac_c" 1>&6 |
---|
4912 | echo "configure:4913: checking if we need a ctty for F_SETOWN" >&5 |
---|
4913 | if eval "test \"`echo '$''{'ac_cv_func_ctty_for_f_setown'+set}'`\" = set"; then |
---|
4914 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4915 | else |
---|
4916 | case "$target" in |
---|
4917 | *-*-bsdi2*) |
---|
4918 | ans=yes |
---|
4919 | ;; |
---|
4920 | *-*-freebsd*) |
---|
4921 | ans=yes |
---|
4922 | ;; |
---|
4923 | *-*-osf*) |
---|
4924 | ans=yes |
---|
4925 | ;; |
---|
4926 | *) ans=no |
---|
4927 | ;; |
---|
4928 | esac |
---|
4929 | ac_cv_func_ctty_for_f_setown=$ans |
---|
4930 | fi |
---|
4931 | |
---|
4932 | echo "$ac_t""$ac_cv_func_ctty_for_f_setown" 1>&6 |
---|
4933 | case "$ac_cv_func_ctty_for_f_setown" in |
---|
4934 | yes) cat >> confdefs.h <<\EOF |
---|
4935 | #define USE_FSETOWNCTTY 1 |
---|
4936 | EOF |
---|
4937 | ;; |
---|
4938 | esac |
---|
4939 | |
---|
4940 | ntp_warning='GRONK' |
---|
4941 | echo $ac_n "checking if we'll use clock_settime or settimeofday or stime""... $ac_c" 1>&6 |
---|
4942 | echo "configure:4943: checking if we'll use clock_settime or settimeofday or stime" >&5 |
---|
4943 | case "$ac_cv_func_clock_settime$ac_cv_func_settimeofday$ac_cv_func_stime" in |
---|
4944 | yes*) |
---|
4945 | ntp_warning='' |
---|
4946 | ans='clock_settime()' |
---|
4947 | ;; |
---|
4948 | noyes*) |
---|
4949 | ntp_warning='But clock_settime() would be better (if we had it)' |
---|
4950 | ans='settimeofday()' |
---|
4951 | ;; |
---|
4952 | nonoyes) |
---|
4953 | ntp_warning='Which is the worst of the three' |
---|
4954 | ans='stime()' |
---|
4955 | ;; |
---|
4956 | *) |
---|
4957 | case "$host" in |
---|
4958 | $target) ntp_warning='Which leaves us with nothing to use!' |
---|
4959 | ans=none |
---|
4960 | ;; |
---|
4961 | esac |
---|
4962 | esac |
---|
4963 | echo "$ac_t""$ans" 1>&6 |
---|
4964 | case "$ntp_warning" in |
---|
4965 | '') ;; |
---|
4966 | *) echo "configure: warning: *** $ntp_warning ***" 1>&2 |
---|
4967 | ;; |
---|
4968 | esac |
---|
4969 | |
---|
4970 | echo $ac_n "checking if we have a losing syscall()""... $ac_c" 1>&6 |
---|
4971 | echo "configure:4972: checking if we have a losing syscall()" >&5 |
---|
4972 | if eval "test \"`echo '$''{'ac_cv_var_syscall_bug'+set}'`\" = set"; then |
---|
4973 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4974 | else |
---|
4975 | case "$target" in |
---|
4976 | *-*-solaris2.4*) |
---|
4977 | ans=yes |
---|
4978 | ;; |
---|
4979 | *) ans=no |
---|
4980 | ;; |
---|
4981 | esac |
---|
4982 | ac_cv_var_syscall_bug=$ans |
---|
4983 | fi |
---|
4984 | |
---|
4985 | echo "$ac_t""$ac_cv_var_syscall_bug" 1>&6 |
---|
4986 | case "$ac_cv_var_syscall_bug" in |
---|
4987 | yes) cat >> confdefs.h <<\EOF |
---|
4988 | #define SYSCALL_BUG 1 |
---|
4989 | EOF |
---|
4990 | ;; |
---|
4991 | esac |
---|
4992 | |
---|
4993 | echo $ac_n "checking for Streams/TLI""... $ac_c" 1>&6 |
---|
4994 | echo "configure:4995: checking for Streams/TLI" >&5 |
---|
4995 | if eval "test \"`echo '$''{'ac_cv_var_streams_tli'+set}'`\" = set"; then |
---|
4996 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
4997 | else |
---|
4998 | case "$ac_cv_header_sys_stropts_h" in |
---|
4999 | yes) |
---|
5000 | ans=no |
---|
5001 | # There must be a better way... |
---|
5002 | case "$target" in |
---|
5003 | *-sni-sysv*) |
---|
5004 | ans=yes |
---|
5005 | ;; |
---|
5006 | *-*-ptx*) |
---|
5007 | ans=yes |
---|
5008 | ;; |
---|
5009 | esac |
---|
5010 | ;; |
---|
5011 | esac |
---|
5012 | ac_cv_var_streams_tli=$ans |
---|
5013 | fi |
---|
5014 | |
---|
5015 | echo "$ac_t""$ac_cv_var_streams_tli" 1>&6 |
---|
5016 | case "$ac_cv_var_streams_tli" in |
---|
5017 | yes) |
---|
5018 | cat >> confdefs.h <<\EOF |
---|
5019 | #define STREAMS_TLI 1 |
---|
5020 | EOF |
---|
5021 | |
---|
5022 | ;; |
---|
5023 | esac |
---|
5024 | |
---|
5025 | echo $ac_n "checking for SIGIO""... $ac_c" 1>&6 |
---|
5026 | echo "configure:5027: checking for SIGIO" >&5 |
---|
5027 | if eval "test \"`echo '$''{'ac_cv_hdr_def_sigio'+set}'`\" = set"; then |
---|
5028 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5029 | else |
---|
5030 | cat > conftest.$ac_ext <<EOF |
---|
5031 | #line 5032 "configure" |
---|
5032 | #include "confdefs.h" |
---|
5033 | #include <signal.h> |
---|
5034 | #ifdef SIGIO |
---|
5035 | yes |
---|
5036 | #endif |
---|
5037 | |
---|
5038 | EOF |
---|
5039 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5040 | egrep "yes" >/dev/null 2>&1; then |
---|
5041 | rm -rf conftest* |
---|
5042 | ac_cv_hdr_def_sigio=yes |
---|
5043 | else |
---|
5044 | rm -rf conftest* |
---|
5045 | ac_cv_hdr_def_sigio=no |
---|
5046 | fi |
---|
5047 | rm -f conftest* |
---|
5048 | |
---|
5049 | fi |
---|
5050 | |
---|
5051 | echo "$ac_t""$ac_cv_hdr_def_sigio" 1>&6 |
---|
5052 | |
---|
5053 | echo $ac_n "checking if we want to use signalled IO""... $ac_c" 1>&6 |
---|
5054 | echo "configure:5055: checking if we want to use signalled IO" >&5 |
---|
5055 | if eval "test \"`echo '$''{'ac_cv_var_signalled_io'+set}'`\" = set"; then |
---|
5056 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5057 | else |
---|
5058 | ans=no |
---|
5059 | case "$ac_cv_hdr_def_sigio" in |
---|
5060 | yes) |
---|
5061 | ans=yes |
---|
5062 | case "$target" in |
---|
5063 | alpha-dec-osf4*) |
---|
5064 | ans=no |
---|
5065 | ;; |
---|
5066 | *-convex-*) |
---|
5067 | ans=no |
---|
5068 | ;; |
---|
5069 | *-dec-*) |
---|
5070 | ans=no |
---|
5071 | ;; |
---|
5072 | *-sni-sysv*) |
---|
5073 | ans=no |
---|
5074 | ;; |
---|
5075 | *-univel-sysv*) |
---|
5076 | ans=no |
---|
5077 | ;; |
---|
5078 | *-*-irix6*) |
---|
5079 | ans=no |
---|
5080 | ;; |
---|
5081 | *-*-linux*) |
---|
5082 | ans=no |
---|
5083 | ;; |
---|
5084 | esac |
---|
5085 | ;; |
---|
5086 | esac |
---|
5087 | ac_cv_var_signalled_io=$ans |
---|
5088 | fi |
---|
5089 | |
---|
5090 | echo "$ac_t""$ac_cv_var_signalled_io" 1>&6 |
---|
5091 | case "$ac_cv_var_signalled_io" in |
---|
5092 | yes) cat >> confdefs.h <<\EOF |
---|
5093 | #define HAVE_SIGNALED_IO 1 |
---|
5094 | EOF |
---|
5095 | ;; |
---|
5096 | esac |
---|
5097 | |
---|
5098 | echo $ac_n "checking for SIGPOLL""... $ac_c" 1>&6 |
---|
5099 | echo "configure:5100: checking for SIGPOLL" >&5 |
---|
5100 | if eval "test \"`echo '$''{'ac_cv_hdr_def_sigpoll'+set}'`\" = set"; then |
---|
5101 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5102 | else |
---|
5103 | cat > conftest.$ac_ext <<EOF |
---|
5104 | #line 5105 "configure" |
---|
5105 | #include "confdefs.h" |
---|
5106 | #include <signal.h> |
---|
5107 | #ifdef SIGPOLL |
---|
5108 | yes |
---|
5109 | #endif |
---|
5110 | |
---|
5111 | EOF |
---|
5112 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5113 | egrep "yes" >/dev/null 2>&1; then |
---|
5114 | rm -rf conftest* |
---|
5115 | ac_cv_hdr_def_sigpoll=yes |
---|
5116 | else |
---|
5117 | rm -rf conftest* |
---|
5118 | ac_cv_hdr_def_sigpoll=no |
---|
5119 | fi |
---|
5120 | rm -f conftest* |
---|
5121 | |
---|
5122 | fi |
---|
5123 | |
---|
5124 | echo "$ac_t""$ac_cv_hdr_def_sigpoll" 1>&6 |
---|
5125 | |
---|
5126 | echo $ac_n "checking for SIGSYS""... $ac_c" 1>&6 |
---|
5127 | echo "configure:5128: checking for SIGSYS" >&5 |
---|
5128 | if eval "test \"`echo '$''{'ac_cv_hdr_def_sigsys'+set}'`\" = set"; then |
---|
5129 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5130 | else |
---|
5131 | cat > conftest.$ac_ext <<EOF |
---|
5132 | #line 5133 "configure" |
---|
5133 | #include "confdefs.h" |
---|
5134 | #include <signal.h> |
---|
5135 | #ifdef SIGSYS |
---|
5136 | yes |
---|
5137 | #endif |
---|
5138 | |
---|
5139 | EOF |
---|
5140 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5141 | egrep "yes" >/dev/null 2>&1; then |
---|
5142 | rm -rf conftest* |
---|
5143 | ac_cv_hdr_def_sigsys=yes |
---|
5144 | else |
---|
5145 | rm -rf conftest* |
---|
5146 | ac_cv_hdr_def_sigsys=no |
---|
5147 | fi |
---|
5148 | rm -f conftest* |
---|
5149 | |
---|
5150 | fi |
---|
5151 | |
---|
5152 | echo "$ac_t""$ac_cv_hdr_def_sigsys" 1>&6 |
---|
5153 | |
---|
5154 | echo $ac_n "checking if we can use SIGPOLL for UDP I/O""... $ac_c" 1>&6 |
---|
5155 | echo "configure:5156: checking if we can use SIGPOLL for UDP I/O" >&5 |
---|
5156 | if eval "test \"`echo '$''{'ac_cv_var_use_udp_sigpoll'+set}'`\" = set"; then |
---|
5157 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5158 | else |
---|
5159 | ans=no |
---|
5160 | case "$ac_cv_hdr_def_sigpoll" in |
---|
5161 | yes) |
---|
5162 | case "$target" in |
---|
5163 | mips-sgi-irix*) |
---|
5164 | ans=no |
---|
5165 | ;; |
---|
5166 | vax-dec-bsd) |
---|
5167 | ans=no |
---|
5168 | ;; |
---|
5169 | *-sni-sysv*) |
---|
5170 | ans=no |
---|
5171 | ;; |
---|
5172 | *-*-aix4*) |
---|
5173 | ans=no |
---|
5174 | ;; |
---|
5175 | *-*-hpux*) |
---|
5176 | ans=no |
---|
5177 | ;; |
---|
5178 | *-*-linux*) |
---|
5179 | ans=no |
---|
5180 | ;; |
---|
5181 | *-*-osf*) |
---|
5182 | ans=no |
---|
5183 | ;; |
---|
5184 | *-*-sunos*) |
---|
5185 | ans=no |
---|
5186 | ;; |
---|
5187 | *-*-ultrix*) |
---|
5188 | ans=no |
---|
5189 | ;; |
---|
5190 | *) ans=yes |
---|
5191 | ;; |
---|
5192 | esac |
---|
5193 | ;; |
---|
5194 | esac |
---|
5195 | ac_cv_var_use_udp_sigpoll=$ans |
---|
5196 | fi |
---|
5197 | |
---|
5198 | echo "$ac_t""$ac_cv_var_use_udp_sigpoll" 1>&6 |
---|
5199 | case "$ac_cv_var_use_udp_sigpoll" in |
---|
5200 | yes) cat >> confdefs.h <<\EOF |
---|
5201 | #define USE_UDP_SIGPOLL 1 |
---|
5202 | EOF |
---|
5203 | ;; |
---|
5204 | esac |
---|
5205 | |
---|
5206 | echo $ac_n "checking if we can use SIGPOLL for TTY I/O""... $ac_c" 1>&6 |
---|
5207 | echo "configure:5208: checking if we can use SIGPOLL for TTY I/O" >&5 |
---|
5208 | if eval "test \"`echo '$''{'ac_cv_var_use_tty_sigpoll'+set}'`\" = set"; then |
---|
5209 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5210 | else |
---|
5211 | ans=no |
---|
5212 | case "$ac_cv_hdr_def_sigpoll" in |
---|
5213 | yes) |
---|
5214 | case "$target" in |
---|
5215 | mips-sgi-irix*) |
---|
5216 | ans=no |
---|
5217 | ;; |
---|
5218 | vax-dec-bsd) |
---|
5219 | ans=no |
---|
5220 | ;; |
---|
5221 | *-sni-sysv*) |
---|
5222 | ans=no |
---|
5223 | ;; |
---|
5224 | *-*-aix4*) |
---|
5225 | ans=no |
---|
5226 | ;; |
---|
5227 | *-*-hpux*) |
---|
5228 | ans=no |
---|
5229 | ;; |
---|
5230 | *-*-linux*) |
---|
5231 | ans=no |
---|
5232 | ;; |
---|
5233 | *-*-osf*) |
---|
5234 | ans=no |
---|
5235 | ;; |
---|
5236 | *-*-sunos*) |
---|
5237 | ans=no |
---|
5238 | ;; |
---|
5239 | *-*-ultrix*) |
---|
5240 | ans=no |
---|
5241 | ;; |
---|
5242 | *) ans=yes |
---|
5243 | ;; |
---|
5244 | esac |
---|
5245 | ;; |
---|
5246 | esac |
---|
5247 | ac_cv_var_use_tty_sigpoll=$ans |
---|
5248 | fi |
---|
5249 | |
---|
5250 | echo "$ac_t""$ac_cv_var_use_tty_sigpoll" 1>&6 |
---|
5251 | case "$ac_cv_var_use_tty_sigpoll" in |
---|
5252 | yes) cat >> confdefs.h <<\EOF |
---|
5253 | #define USE_TTY_SIGPOLL 1 |
---|
5254 | EOF |
---|
5255 | ;; |
---|
5256 | esac |
---|
5257 | |
---|
5258 | echo $ac_n "checking if nlist() values might require extra indirection""... $ac_c" 1>&6 |
---|
5259 | echo "configure:5260: checking if nlist() values might require extra indirection" >&5 |
---|
5260 | if eval "test \"`echo '$''{'ac_cv_var_nlist_extra_indirection'+set}'`\" = set"; then |
---|
5261 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5262 | else |
---|
5263 | ans=no |
---|
5264 | case "$target" in |
---|
5265 | *-*-aix*) |
---|
5266 | ans=yes |
---|
5267 | ;; |
---|
5268 | esac |
---|
5269 | ac_cv_var_nlist_extra_indirection=$ans |
---|
5270 | fi |
---|
5271 | |
---|
5272 | echo "$ac_t""$ac_cv_var_nlist_extra_indirection" 1>&6 |
---|
5273 | case "$ac_cv_var_nlist_extra_indirection" in |
---|
5274 | yes) cat >> confdefs.h <<\EOF |
---|
5275 | #define NLIST_EXTRA_INDIRECTION 1 |
---|
5276 | EOF |
---|
5277 | ;; |
---|
5278 | esac |
---|
5279 | |
---|
5280 | echo $ac_n "checking for a minimum recommended value of tickadj""... $ac_c" 1>&6 |
---|
5281 | echo "configure:5282: checking for a minimum recommended value of tickadj" >&5 |
---|
5282 | if eval "test \"`echo '$''{'ac_cv_var_min_rec_tickadj'+set}'`\" = set"; then |
---|
5283 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5284 | else |
---|
5285 | ans=no |
---|
5286 | case "$target" in |
---|
5287 | *-*-aix*) |
---|
5288 | ans=40 |
---|
5289 | ;; |
---|
5290 | esac |
---|
5291 | ac_cv_var_min_rec_tickadj=$ans |
---|
5292 | fi |
---|
5293 | |
---|
5294 | echo "$ac_t""$ac_cv_var_min_rec_tickadj" 1>&6 |
---|
5295 | case "$ac_cv_var_min_rec_tickadj" in |
---|
5296 | ''|no) ;; |
---|
5297 | *) cat >> confdefs.h <<EOF |
---|
5298 | #define MIN_REC_TICKADJ $ac_cv_var_min_rec_tickadj |
---|
5299 | EOF |
---|
5300 | ;; |
---|
5301 | esac |
---|
5302 | |
---|
5303 | echo $ac_n "checking if the TTY code permits PARENB and IGNPAR""... $ac_c" 1>&6 |
---|
5304 | echo "configure:5305: checking if the TTY code permits PARENB and IGNPAR" >&5 |
---|
5305 | if eval "test \"`echo '$''{'ac_cv_var_no_parenb_ignpar'+set}'`\" = set"; then |
---|
5306 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5307 | else |
---|
5308 | ans=no |
---|
5309 | case "$target" in |
---|
5310 | mips-sgi-irix*) |
---|
5311 | ans=yes |
---|
5312 | ;; |
---|
5313 | esac |
---|
5314 | ac_cv_var_no_parenb_ignpar=$ans |
---|
5315 | fi |
---|
5316 | |
---|
5317 | echo "$ac_t""$ac_cv_var_no_parenb_ignpar" 1>&6 |
---|
5318 | case "$ac_cv_var_no_parenb_ignpar" in |
---|
5319 | yes) cat >> confdefs.h <<\EOF |
---|
5320 | #define NO_PARENB_IGNPAR 1 |
---|
5321 | EOF |
---|
5322 | ;; |
---|
5323 | esac |
---|
5324 | |
---|
5325 | echo $ac_n "checking if we're including debugging code""... $ac_c" 1>&6 |
---|
5326 | echo "configure:5327: checking if we're including debugging code" >&5 |
---|
5327 | # Check whether --enable-debugging or --disable-debugging was given. |
---|
5328 | if test "${enable_debugging+set}" = set; then |
---|
5329 | enableval="$enable_debugging" |
---|
5330 | ntp_ok=$enableval |
---|
5331 | else |
---|
5332 | ntp_ok=yes |
---|
5333 | fi |
---|
5334 | |
---|
5335 | if test "$ntp_ok" = "yes"; then |
---|
5336 | cat >> confdefs.h <<\EOF |
---|
5337 | #define DEBUG 1 |
---|
5338 | EOF |
---|
5339 | |
---|
5340 | fi |
---|
5341 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5342 | |
---|
5343 | echo $ac_n "checking if we have the tty_clk line discipline/streams module""... $ac_c" 1>&6 |
---|
5344 | echo "configure:5345: checking if we have the tty_clk line discipline/streams module" >&5 |
---|
5345 | if eval "test \"`echo '$''{'ac_cv_var_tty_clk'+set}'`\" = set"; then |
---|
5346 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5347 | else |
---|
5348 | ac_cv_var_tty_clk=$ac_cv_header_sys_clkdefs_h |
---|
5349 | fi |
---|
5350 | |
---|
5351 | echo "$ac_t""$ac_cv_var_tty_clk" 1>&6 |
---|
5352 | case "$ac_cv_var_tty_clk" in |
---|
5353 | yes) cat >> confdefs.h <<\EOF |
---|
5354 | #define TTYCLK 1 |
---|
5355 | EOF |
---|
5356 | ;; |
---|
5357 | esac |
---|
5358 | |
---|
5359 | echo $ac_n "checking for the ppsclock streams module""... $ac_c" 1>&6 |
---|
5360 | echo "configure:5361: checking for the ppsclock streams module" >&5 |
---|
5361 | if eval "test \"`echo '$''{'ac_cv_var_ppsclock'+set}'`\" = set"; then |
---|
5362 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5363 | else |
---|
5364 | ac_cv_var_ppsclock=$ac_cv_header_sys_ppsclock_h |
---|
5365 | fi |
---|
5366 | |
---|
5367 | echo "$ac_t""$ac_cv_var_ppsclock" 1>&6 |
---|
5368 | case "$ac_cv_var_ppsclock" in |
---|
5369 | yes) cat >> confdefs.h <<\EOF |
---|
5370 | #define PPS 1 |
---|
5371 | EOF |
---|
5372 | ;; |
---|
5373 | esac |
---|
5374 | |
---|
5375 | echo $ac_n "checking for kernel multicast support""... $ac_c" 1>&6 |
---|
5376 | echo "configure:5377: checking for kernel multicast support" >&5 |
---|
5377 | if eval "test \"`echo '$''{'ac_cv_var_mcast'+set}'`\" = set"; then |
---|
5378 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5379 | else |
---|
5380 | cat > conftest.$ac_ext <<EOF |
---|
5381 | #line 5382 "configure" |
---|
5382 | #include "confdefs.h" |
---|
5383 | #include <netinet/in.h> |
---|
5384 | #ifdef IP_ADD_MEMBERSHIP |
---|
5385 | yes |
---|
5386 | #endif |
---|
5387 | |
---|
5388 | EOF |
---|
5389 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5390 | egrep "yes" >/dev/null 2>&1; then |
---|
5391 | rm -rf conftest* |
---|
5392 | ac_cv_var_mcast=yes |
---|
5393 | else |
---|
5394 | rm -rf conftest* |
---|
5395 | ac_cv_var_mcast=no |
---|
5396 | fi |
---|
5397 | rm -f conftest* |
---|
5398 | |
---|
5399 | fi |
---|
5400 | |
---|
5401 | echo "$ac_t""$ac_cv_var_mcast" 1>&6 |
---|
5402 | case "$ac_cv_var_mcast" in |
---|
5403 | yes) cat >> confdefs.h <<\EOF |
---|
5404 | #define MCAST 1 |
---|
5405 | EOF |
---|
5406 | ;; |
---|
5407 | esac |
---|
5408 | |
---|
5409 | echo $ac_n "checking availability of ntp_{adj,get}time()""... $ac_c" 1>&6 |
---|
5410 | echo "configure:5411: checking availability of ntp_{adj,get}time()" >&5 |
---|
5411 | if eval "test \"`echo '$''{'ac_cv_var_ntp_syscalls'+set}'`\" = set"; then |
---|
5412 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5413 | else |
---|
5414 | ac_cv_var_ntp_syscalls=no |
---|
5415 | case "$ac_cv_func___adjtimex$ac_cv_func___ntp_gettime" in |
---|
5416 | yesyes) |
---|
5417 | ac_cv_var_ntp_syscalls=libc |
---|
5418 | ;; |
---|
5419 | *) case "$ac_cv_func_ntp_adjtime$ac_cv_func_ntp_gettime" in |
---|
5420 | yesyes) |
---|
5421 | ac_cv_var_ntp_syscalls=libc |
---|
5422 | ;; |
---|
5423 | *) cat > conftest.$ac_ext <<EOF |
---|
5424 | #line 5425 "configure" |
---|
5425 | #include "confdefs.h" |
---|
5426 | #include <sys/syscall.h> |
---|
5427 | #if defined(SYS_ntp_gettime) && defined(SYS_ntp_adjtime) |
---|
5428 | yes |
---|
5429 | #endif |
---|
5430 | |
---|
5431 | EOF |
---|
5432 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5433 | egrep "yes" >/dev/null 2>&1; then |
---|
5434 | rm -rf conftest* |
---|
5435 | ac_cv_var_ntp_syscalls=kernel |
---|
5436 | fi |
---|
5437 | rm -f conftest* |
---|
5438 | |
---|
5439 | ;; |
---|
5440 | esac |
---|
5441 | ;; |
---|
5442 | esac |
---|
5443 | fi |
---|
5444 | |
---|
5445 | echo "$ac_t""$ac_cv_var_ntp_syscalls" 1>&6 |
---|
5446 | case "$ac_cv_var_ntp_syscalls" in |
---|
5447 | libc) |
---|
5448 | cat >> confdefs.h <<\EOF |
---|
5449 | #define NTP_SYSCALLS_LIBC 1 |
---|
5450 | EOF |
---|
5451 | |
---|
5452 | ;; |
---|
5453 | kernel) |
---|
5454 | cat >> confdefs.h <<\EOF |
---|
5455 | #define NTP_SYSCALLS_STD 1 |
---|
5456 | EOF |
---|
5457 | |
---|
5458 | ;; |
---|
5459 | *) |
---|
5460 | ;; |
---|
5461 | esac |
---|
5462 | |
---|
5463 | echo $ac_n "checking if sys/timex.h has STA_FLL""... $ac_c" 1>&6 |
---|
5464 | echo "configure:5465: checking if sys/timex.h has STA_FLL" >&5 |
---|
5465 | if eval "test \"`echo '$''{'ac_cv_var_sta_fll'+set}'`\" = set"; then |
---|
5466 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5467 | else |
---|
5468 | cat > conftest.$ac_ext <<EOF |
---|
5469 | #line 5470 "configure" |
---|
5470 | #include "confdefs.h" |
---|
5471 | #include <sys/timex.h> |
---|
5472 | #ifdef STA_FLL |
---|
5473 | yes |
---|
5474 | #endif |
---|
5475 | |
---|
5476 | EOF |
---|
5477 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5478 | egrep "yes" >/dev/null 2>&1; then |
---|
5479 | rm -rf conftest* |
---|
5480 | ac_cv_var_sta_fll=yes |
---|
5481 | else |
---|
5482 | rm -rf conftest* |
---|
5483 | ac_cv_var_sta_fll=no |
---|
5484 | fi |
---|
5485 | rm -f conftest* |
---|
5486 | |
---|
5487 | fi |
---|
5488 | |
---|
5489 | echo "$ac_t""$ac_cv_var_sta_fll" 1>&6 |
---|
5490 | |
---|
5491 | echo $ac_n "checking if we have kernel PLL support""... $ac_c" 1>&6 |
---|
5492 | echo "configure:5493: checking if we have kernel PLL support" >&5 |
---|
5493 | if eval "test \"`echo '$''{'ac_cv_var_kernel_pll'+set}'`\" = set"; then |
---|
5494 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5495 | else |
---|
5496 | case "$ac_cv_header_sys_timex_h$ac_cv_var_sta_fll$ac_cv_var_ntp_syscalls" in |
---|
5497 | *no*) |
---|
5498 | ac_cv_var_kernel_pll=no |
---|
5499 | ;; |
---|
5500 | *) ac_cv_var_kernel_pll=yes |
---|
5501 | ;; |
---|
5502 | esac |
---|
5503 | fi |
---|
5504 | |
---|
5505 | echo "$ac_t""$ac_cv_var_kernel_pll" 1>&6 |
---|
5506 | case "$ac_cv_var_kernel_pll" in |
---|
5507 | yes) |
---|
5508 | cat >> confdefs.h <<\EOF |
---|
5509 | #define KERNEL_PLL 1 |
---|
5510 | EOF |
---|
5511 | |
---|
5512 | ;; |
---|
5513 | esac |
---|
5514 | |
---|
5515 | echo $ac_n "checking if SIOCGIFCONF returns buffer size in the buffer""... $ac_c" 1>&6 |
---|
5516 | echo "configure:5517: checking if SIOCGIFCONF returns buffer size in the buffer" >&5 |
---|
5517 | if eval "test \"`echo '$''{'ac_cv_var_size_returned_in_buffer'+set}'`\" = set"; then |
---|
5518 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5519 | else |
---|
5520 | ans=no |
---|
5521 | case "$target" in |
---|
5522 | *-fujitsu-uxp*) |
---|
5523 | ans=yes |
---|
5524 | ;; |
---|
5525 | *-ncr-sysv4*) |
---|
5526 | ans=yes |
---|
5527 | ;; |
---|
5528 | *-univel-sysv*) |
---|
5529 | ans=yes |
---|
5530 | ;; |
---|
5531 | esac |
---|
5532 | ac_cv_var_size_returned_in_buffer=$ans |
---|
5533 | fi |
---|
5534 | |
---|
5535 | echo "$ac_t""$ac_cv_var_size_returned_in_buffer" 1>&6 |
---|
5536 | case "$ac_cv_var_size_returned_in_buffer" in |
---|
5537 | yes) cat >> confdefs.h <<\EOF |
---|
5538 | #define SIZE_RETURNED_IN_BUFFER 1 |
---|
5539 | EOF |
---|
5540 | ;; |
---|
5541 | esac |
---|
5542 | |
---|
5543 | echo $ac_n "checking if we want GDT surveying code""... $ac_c" 1>&6 |
---|
5544 | echo "configure:5545: checking if we want GDT surveying code" >&5 |
---|
5545 | if eval "test \"`echo '$''{'ac_cv_var_gdt_surveying'+set}'`\" = set"; then |
---|
5546 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5547 | else |
---|
5548 | # Check whether --enable-gdt-surveying or --disable-gdt-surveying was given. |
---|
5549 | if test "${enable_gdt_surveying+set}" = set; then |
---|
5550 | enableval="$enable_gdt_surveying" |
---|
5551 | ans=$enableval |
---|
5552 | else |
---|
5553 | ans=no |
---|
5554 | fi |
---|
5555 | |
---|
5556 | ac_cv_var_gdt_surveying=$ans |
---|
5557 | fi |
---|
5558 | |
---|
5559 | echo "$ac_t""$ac_cv_var_gdt_surveying" 1>&6 |
---|
5560 | case "$ac_cv_var_gdt_surveying" in |
---|
5561 | yes) cat >> confdefs.h <<\EOF |
---|
5562 | #define GDT_SURVEYING 1 |
---|
5563 | EOF |
---|
5564 | ;; |
---|
5565 | esac |
---|
5566 | |
---|
5567 | echo $ac_n "checking if we want to use MD5 authentication""... $ac_c" 1>&6 |
---|
5568 | echo "configure:5569: checking if we want to use MD5 authentication" >&5 |
---|
5569 | if eval "test \"`echo '$''{'ac_cv_var_use_md5'+set}'`\" = set"; then |
---|
5570 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5571 | else |
---|
5572 | # Check whether --enable-md5 or --disable-md5 was given. |
---|
5573 | if test "${enable_md5+set}" = set; then |
---|
5574 | enableval="$enable_md5" |
---|
5575 | ans=$enableval |
---|
5576 | else |
---|
5577 | ans=yes |
---|
5578 | fi |
---|
5579 | |
---|
5580 | ac_cv_var_use_md5=$ans |
---|
5581 | fi |
---|
5582 | |
---|
5583 | echo "$ac_t""$ac_cv_var_use_md5" 1>&6 |
---|
5584 | case "$ac_cv_var_use_md5" in |
---|
5585 | yes) cat >> confdefs.h <<\EOF |
---|
5586 | #define MD5 1 |
---|
5587 | EOF |
---|
5588 | ;; |
---|
5589 | esac |
---|
5590 | |
---|
5591 | echo $ac_n "checking if we want to use DES authentication""... $ac_c" 1>&6 |
---|
5592 | echo "configure:5593: checking if we want to use DES authentication" >&5 |
---|
5593 | if eval "test \"`echo '$''{'ac_cv_var_use_des'+set}'`\" = set"; then |
---|
5594 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
5595 | else |
---|
5596 | # Check whether --enable-des or --disable-des was given. |
---|
5597 | if test "${enable_des+set}" = set; then |
---|
5598 | enableval="$enable_des" |
---|
5599 | ans=$enableval |
---|
5600 | else |
---|
5601 | ans=yes |
---|
5602 | fi |
---|
5603 | |
---|
5604 | ac_cv_var_use_des=$ans |
---|
5605 | fi |
---|
5606 | |
---|
5607 | echo "$ac_t""$ac_cv_var_use_des" 1>&6 |
---|
5608 | case "$ac_cv_var_use_des" in |
---|
5609 | yes) cat >> confdefs.h <<\EOF |
---|
5610 | #define DES 1 |
---|
5611 | EOF |
---|
5612 | ;; |
---|
5613 | esac |
---|
5614 | |
---|
5615 | |
---|
5616 | |
---|
5617 | |
---|
5618 | |
---|
5619 | |
---|
5620 | |
---|
5621 | |
---|
5622 | |
---|
5623 | |
---|
5624 | |
---|
5625 | |
---|
5626 | |
---|
5627 | ntp_refclock=no |
---|
5628 | |
---|
5629 | # HPUX only, and by explicit request |
---|
5630 | echo $ac_n "checking Datum/Bancomm bc635/VME interface""... $ac_c" 1>&6 |
---|
5631 | echo "configure:5632: checking Datum/Bancomm bc635/VME interface" >&5 |
---|
5632 | # Check whether --enable-BANCOMM or --disable-BANCOMM was given. |
---|
5633 | if test "${enable_BANCOMM+set}" = set; then |
---|
5634 | enableval="$enable_BANCOMM" |
---|
5635 | ntp_ok=$enableval |
---|
5636 | else |
---|
5637 | ntp_ok=no |
---|
5638 | fi |
---|
5639 | |
---|
5640 | if test "$ntp_ok" = "yes"; then |
---|
5641 | ntp_refclock=yes |
---|
5642 | cat >> confdefs.h <<\EOF |
---|
5643 | #define BANC 1 |
---|
5644 | EOF |
---|
5645 | |
---|
5646 | fi |
---|
5647 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5648 | case "$ntp_ok$target" in |
---|
5649 | yes*-*-hpux*) ;; |
---|
5650 | yes*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; |
---|
5651 | esac |
---|
5652 | |
---|
5653 | #HPUX only, and only by explicit request |
---|
5654 | echo $ac_n "checking TrueTime GPS receiver/VME interface""... $ac_c" 1>&6 |
---|
5655 | echo "configure:5656: checking TrueTime GPS receiver/VME interface" >&5 |
---|
5656 | # Check whether --enable-GPSVME or --disable-GPSVME was given. |
---|
5657 | if test "${enable_GPSVME+set}" = set; then |
---|
5658 | enableval="$enable_GPSVME" |
---|
5659 | ntp_ok=$enableval |
---|
5660 | else |
---|
5661 | ntp_ok=no |
---|
5662 | fi |
---|
5663 | |
---|
5664 | if test "$ntp_ok" = "yes"; then |
---|
5665 | ntp_refclock=yes |
---|
5666 | cat >> confdefs.h <<\EOF |
---|
5667 | #define GPSVME 1 |
---|
5668 | EOF |
---|
5669 | |
---|
5670 | fi |
---|
5671 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5672 | case "$ntp_ok$target" in |
---|
5673 | yes*-*-hpux*) ;; |
---|
5674 | yes*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; |
---|
5675 | esac |
---|
5676 | |
---|
5677 | echo $ac_n "checking for PCL720 clock support""... $ac_c" 1>&6 |
---|
5678 | echo "configure:5679: checking for PCL720 clock support" >&5 |
---|
5679 | case "$ac_cv_header_machine_inline_h$ac_cv_header_sys_pcl720_h$ac_cv_header_sys_i8253_h" in |
---|
5680 | yesyesyes) |
---|
5681 | cat >> confdefs.h <<\EOF |
---|
5682 | #define PPS720 1 |
---|
5683 | EOF |
---|
5684 | |
---|
5685 | ans=yes |
---|
5686 | ;; |
---|
5687 | *) |
---|
5688 | ans=no |
---|
5689 | ;; |
---|
5690 | esac |
---|
5691 | echo "$ac_t""$ans" 1>&6 |
---|
5692 | |
---|
5693 | echo $ac_n "checking for SHM clock attached thru shared memory""... $ac_c" 1>&6 |
---|
5694 | echo "configure:5695: checking for SHM clock attached thru shared memory" >&5 |
---|
5695 | # Check whether --enable-SHM or --disable-SHM was given. |
---|
5696 | if test "${enable_SHM+set}" = set; then |
---|
5697 | enableval="$enable_SHM" |
---|
5698 | ntp_ok=$enableval |
---|
5699 | else |
---|
5700 | ntp_ok=no |
---|
5701 | fi |
---|
5702 | |
---|
5703 | if test "$ntp_ok" = "yes"; then |
---|
5704 | ntp_refclock=yes |
---|
5705 | cat >> confdefs.h <<\EOF |
---|
5706 | #define SHM_CLOCK 1 |
---|
5707 | EOF |
---|
5708 | |
---|
5709 | fi |
---|
5710 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5711 | |
---|
5712 | echo $ac_n "checking for default inclusion of all suitable non-PARSE clocks""... $ac_c" 1>&6 |
---|
5713 | echo "configure:5714: checking for default inclusion of all suitable non-PARSE clocks" >&5 |
---|
5714 | # Check whether --enable-all-clocks or --disable-all-clocks was given. |
---|
5715 | if test "${enable_all_clocks+set}" = set; then |
---|
5716 | enableval="$enable_all_clocks" |
---|
5717 | ntp_eac=$enableval |
---|
5718 | else |
---|
5719 | ntp_eac=yes |
---|
5720 | fi |
---|
5721 | |
---|
5722 | echo "$ac_t""$ntp_eac" 1>&6 |
---|
5723 | |
---|
5724 | echo $ac_n "checking if we have support for PARSE clocks""... $ac_c" 1>&6 |
---|
5725 | echo "configure:5726: checking if we have support for PARSE clocks" >&5 |
---|
5726 | case "$ac_cv_header_termio_h$ac_cv_header_termios_h" in |
---|
5727 | *yes*) |
---|
5728 | ntp_canparse=yes |
---|
5729 | ;; |
---|
5730 | *) ntp_canparse=no |
---|
5731 | ;; |
---|
5732 | esac |
---|
5733 | echo "$ac_t""$ntp_canparse" 1>&6 |
---|
5734 | |
---|
5735 | # Requires modem control |
---|
5736 | echo $ac_n "checking ACTS modem service""... $ac_c" 1>&6 |
---|
5737 | echo "configure:5738: checking ACTS modem service" >&5 |
---|
5738 | # Check whether --enable-ACTS or --disable-ACTS was given. |
---|
5739 | if test "${enable_ACTS+set}" = set; then |
---|
5740 | enableval="$enable_ACTS" |
---|
5741 | ntp_ok=$enableval |
---|
5742 | else |
---|
5743 | cat > conftest.$ac_ext <<EOF |
---|
5744 | #line 5745 "configure" |
---|
5745 | #include "confdefs.h" |
---|
5746 | #include <termios.h> |
---|
5747 | #ifdef TIOCMBIS |
---|
5748 | yes |
---|
5749 | #endif |
---|
5750 | |
---|
5751 | EOF |
---|
5752 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5753 | egrep "yes" >/dev/null 2>&1; then |
---|
5754 | rm -rf conftest* |
---|
5755 | ntp_ok=$ntp_eac |
---|
5756 | else |
---|
5757 | rm -rf conftest* |
---|
5758 | ntp_ok=no |
---|
5759 | fi |
---|
5760 | rm -f conftest* |
---|
5761 | |
---|
5762 | fi |
---|
5763 | |
---|
5764 | if test "$ntp_ok" = "yes"; then |
---|
5765 | ntp_refclock=yes |
---|
5766 | cat >> confdefs.h <<\EOF |
---|
5767 | #define ACTS 1 |
---|
5768 | EOF |
---|
5769 | |
---|
5770 | fi |
---|
5771 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5772 | |
---|
5773 | echo $ac_n "checking Arbiter 1088A/B GPS receiver""... $ac_c" 1>&6 |
---|
5774 | echo "configure:5775: checking Arbiter 1088A/B GPS receiver" >&5 |
---|
5775 | # Check whether --enable-ARBITER or --disable-ARBITER was given. |
---|
5776 | if test "${enable_ARBITER+set}" = set; then |
---|
5777 | enableval="$enable_ARBITER" |
---|
5778 | ntp_ok=$enableval |
---|
5779 | else |
---|
5780 | ntp_ok=$ntp_eac |
---|
5781 | fi |
---|
5782 | |
---|
5783 | if test "$ntp_ok" = "yes"; then |
---|
5784 | ntp_refclock=yes |
---|
5785 | cat >> confdefs.h <<\EOF |
---|
5786 | #define ARBITER 1 |
---|
5787 | EOF |
---|
5788 | |
---|
5789 | fi |
---|
5790 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5791 | |
---|
5792 | echo $ac_n "checking Arcron MSF receiver""... $ac_c" 1>&6 |
---|
5793 | echo "configure:5794: checking Arcron MSF receiver" >&5 |
---|
5794 | # Check whether --enable-ARCRON_MSF or --disable-ARCRON_MSF was given. |
---|
5795 | if test "${enable_ARCRON_MSF+set}" = set; then |
---|
5796 | enableval="$enable_ARCRON_MSF" |
---|
5797 | ntp_ok=$enableval |
---|
5798 | else |
---|
5799 | ntp_ok=$ntp_eac |
---|
5800 | fi |
---|
5801 | |
---|
5802 | if test "$ntp_ok" = "yes"; then |
---|
5803 | ntp_refclock=yes |
---|
5804 | cat >> confdefs.h <<\EOF |
---|
5805 | #define ARCRON_MSF 1 |
---|
5806 | EOF |
---|
5807 | |
---|
5808 | fi |
---|
5809 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5810 | |
---|
5811 | echo $ac_n "checking Austron 2200A/2201A GPS receiver""... $ac_c" 1>&6 |
---|
5812 | echo "configure:5813: checking Austron 2200A/2201A GPS receiver" >&5 |
---|
5813 | # Check whether --enable-AS2201 or --disable-AS2201 was given. |
---|
5814 | if test "${enable_AS2201+set}" = set; then |
---|
5815 | enableval="$enable_AS2201" |
---|
5816 | ntp_ok=$enableval |
---|
5817 | else |
---|
5818 | ntp_ok=$ntp_eac |
---|
5819 | fi |
---|
5820 | |
---|
5821 | if test "$ntp_ok" = "yes"; then |
---|
5822 | ntp_refclock=yes |
---|
5823 | cat >> confdefs.h <<\EOF |
---|
5824 | #define AS2201 1 |
---|
5825 | EOF |
---|
5826 | |
---|
5827 | fi |
---|
5828 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5829 | |
---|
5830 | echo $ac_n "checking PPS interface""... $ac_c" 1>&6 |
---|
5831 | echo "configure:5832: checking PPS interface" >&5 |
---|
5832 | # Check whether --enable-ATOM or --disable-ATOM was given. |
---|
5833 | if test "${enable_ATOM+set}" = set; then |
---|
5834 | enableval="$enable_ATOM" |
---|
5835 | ntp_ok=$enableval |
---|
5836 | else |
---|
5837 | ntp_ok=$ntp_eac |
---|
5838 | fi |
---|
5839 | |
---|
5840 | if test "$ntp_ok" = "yes"; then |
---|
5841 | ntp_refclock=yes |
---|
5842 | cat >> confdefs.h <<\EOF |
---|
5843 | #define ATOM 1 |
---|
5844 | EOF |
---|
5845 | |
---|
5846 | fi |
---|
5847 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5848 | |
---|
5849 | echo $ac_n "checking CHU modem/decoder""... $ac_c" 1>&6 |
---|
5850 | echo "configure:5851: checking CHU modem/decoder" >&5 |
---|
5851 | # Check whether --enable-CHU or --disable-CHU was given. |
---|
5852 | if test "${enable_CHU+set}" = set; then |
---|
5853 | enableval="$enable_CHU" |
---|
5854 | ntp_ok=$enableval |
---|
5855 | else |
---|
5856 | case "$ntp_eac$ac_cv_header_sys_chudefs_h" in |
---|
5857 | yesyes) |
---|
5858 | ntp_ok=yes |
---|
5859 | ;; |
---|
5860 | *) ntp_ok=no |
---|
5861 | ;; |
---|
5862 | esac |
---|
5863 | fi |
---|
5864 | |
---|
5865 | if test "$ntp_ok" = "yes"; then |
---|
5866 | ntp_refclock=yes |
---|
5867 | cat >> confdefs.h <<\EOF |
---|
5868 | #define CHUCLK 1 |
---|
5869 | EOF |
---|
5870 | |
---|
5871 | fi |
---|
5872 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5873 | case "$ntp_ok$ac_cv_header_sys_chudefs_h" in |
---|
5874 | yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; |
---|
5875 | esac |
---|
5876 | |
---|
5877 | # Not under HP-UX |
---|
5878 | echo $ac_n "checking Datum Programmable Time System""... $ac_c" 1>&6 |
---|
5879 | echo "configure:5880: checking Datum Programmable Time System" >&5 |
---|
5880 | # Check whether --enable-DATUM or --disable-DATUM was given. |
---|
5881 | if test "${enable_DATUM+set}" = set; then |
---|
5882 | enableval="$enable_DATUM" |
---|
5883 | ntp_ok=$enableval |
---|
5884 | else |
---|
5885 | case "$ac_cv_header_termios_h" in |
---|
5886 | yes) |
---|
5887 | ntp_ok=$ntp_eac |
---|
5888 | ;; |
---|
5889 | *) ntp_ok=no |
---|
5890 | ;; |
---|
5891 | esac |
---|
5892 | fi |
---|
5893 | |
---|
5894 | if test "$ntp_ok" = "yes"; then |
---|
5895 | ntp_refclock=yes |
---|
5896 | cat >> confdefs.h <<\EOF |
---|
5897 | #define DATUM 1 |
---|
5898 | EOF |
---|
5899 | |
---|
5900 | fi |
---|
5901 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5902 | |
---|
5903 | # Requires modem control |
---|
5904 | echo $ac_n "checking Heath GC-1000 WWV/WWVH receiver""... $ac_c" 1>&6 |
---|
5905 | echo "configure:5906: checking Heath GC-1000 WWV/WWVH receiver" >&5 |
---|
5906 | # Check whether --enable-HEATH or --disable-HEATH was given. |
---|
5907 | if test "${enable_HEATH+set}" = set; then |
---|
5908 | enableval="$enable_HEATH" |
---|
5909 | ntp_ok=$enableval |
---|
5910 | else |
---|
5911 | cat > conftest.$ac_ext <<EOF |
---|
5912 | #line 5913 "configure" |
---|
5913 | #include "confdefs.h" |
---|
5914 | #include <termios.h> |
---|
5915 | #ifdef TIOCMBIS |
---|
5916 | yes |
---|
5917 | #endif |
---|
5918 | |
---|
5919 | EOF |
---|
5920 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
5921 | egrep "yes" >/dev/null 2>&1; then |
---|
5922 | rm -rf conftest* |
---|
5923 | ntp_ok=$ntp_eac |
---|
5924 | else |
---|
5925 | rm -rf conftest* |
---|
5926 | ntp_ok=no |
---|
5927 | fi |
---|
5928 | rm -f conftest* |
---|
5929 | |
---|
5930 | fi |
---|
5931 | |
---|
5932 | if test "$ntp_ok" = "yes"; then |
---|
5933 | ntp_refclock=yes |
---|
5934 | cat >> confdefs.h <<\EOF |
---|
5935 | #define HEATH 1 |
---|
5936 | EOF |
---|
5937 | |
---|
5938 | fi |
---|
5939 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5940 | |
---|
5941 | echo $ac_n "checking HP 58503A GPS receiver""... $ac_c" 1>&6 |
---|
5942 | echo "configure:5943: checking HP 58503A GPS receiver" >&5 |
---|
5943 | # Check whether --enable-HPGPS or --disable-HPGPS was given. |
---|
5944 | if test "${enable_HPGPS+set}" = set; then |
---|
5945 | enableval="$enable_HPGPS" |
---|
5946 | ntp_ok=$enableval |
---|
5947 | else |
---|
5948 | ntp_ok=$ntp_eac |
---|
5949 | fi |
---|
5950 | |
---|
5951 | if test "$ntp_ok" = "yes"; then |
---|
5952 | ntp_refclock=yes |
---|
5953 | cat >> confdefs.h <<\EOF |
---|
5954 | #define HPGPS 1 |
---|
5955 | EOF |
---|
5956 | |
---|
5957 | fi |
---|
5958 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5959 | |
---|
5960 | echo $ac_n "checking Sun IRIG audio decoder""... $ac_c" 1>&6 |
---|
5961 | echo "configure:5962: checking Sun IRIG audio decoder" >&5 |
---|
5962 | # Check whether --enable-IRIG or --disable-IRIG was given. |
---|
5963 | if test "${enable_IRIG+set}" = set; then |
---|
5964 | enableval="$enable_IRIG" |
---|
5965 | ntp_ok=$enableval |
---|
5966 | else |
---|
5967 | case "$ac_cv_header_sys_bsd_audioirig_h" in |
---|
5968 | yes) |
---|
5969 | ntp_ok=$ntp_eac |
---|
5970 | ;; |
---|
5971 | *) ntp_ok=no |
---|
5972 | ;; |
---|
5973 | esac |
---|
5974 | fi |
---|
5975 | |
---|
5976 | if test "$ntp_ok" = "yes"; then |
---|
5977 | ntp_refclock=yes |
---|
5978 | cat >> confdefs.h <<\EOF |
---|
5979 | #define IRIG 1 |
---|
5980 | EOF |
---|
5981 | |
---|
5982 | fi |
---|
5983 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
5984 | case "$ntp_ok$ac_cv_header_sys_bsd_audioirig_h" in |
---|
5985 | yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; |
---|
5986 | esac |
---|
5987 | |
---|
5988 | echo $ac_n "checking Leitch CSD 5300 Master Clock System Driver""... $ac_c" 1>&6 |
---|
5989 | echo "configure:5990: checking Leitch CSD 5300 Master Clock System Driver" >&5 |
---|
5990 | # Check whether --enable-LEITCH or --disable-LEITCH was given. |
---|
5991 | if test "${enable_LEITCH+set}" = set; then |
---|
5992 | enableval="$enable_LEITCH" |
---|
5993 | ntp_ok=$enableval |
---|
5994 | else |
---|
5995 | ntp_ok=$ntp_eac |
---|
5996 | fi |
---|
5997 | |
---|
5998 | if test "$ntp_ok" = "yes"; then |
---|
5999 | ntp_refclock=yes |
---|
6000 | cat >> confdefs.h <<\EOF |
---|
6001 | #define LEITCH 1 |
---|
6002 | EOF |
---|
6003 | |
---|
6004 | fi |
---|
6005 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6006 | |
---|
6007 | echo $ac_n "checking local clock reference""... $ac_c" 1>&6 |
---|
6008 | echo "configure:6009: checking local clock reference" >&5 |
---|
6009 | # Check whether --enable-LOCAL-CLOCK or --disable-LOCAL-CLOCK was given. |
---|
6010 | if test "${enable_LOCAL_CLOCK+set}" = set; then |
---|
6011 | enableval="$enable_LOCAL_CLOCK" |
---|
6012 | ntp_ok=$enableval |
---|
6013 | else |
---|
6014 | ntp_ok=$ntp_eac |
---|
6015 | fi |
---|
6016 | |
---|
6017 | if test "$ntp_ok" = "yes"; then |
---|
6018 | ntp_refclock=yes |
---|
6019 | cat >> confdefs.h <<\EOF |
---|
6020 | #define LOCAL_CLOCK 1 |
---|
6021 | EOF |
---|
6022 | |
---|
6023 | fi |
---|
6024 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6025 | |
---|
6026 | echo $ac_n "checking EES M201 MSF receiver""... $ac_c" 1>&6 |
---|
6027 | echo "configure:6028: checking EES M201 MSF receiver" >&5 |
---|
6028 | # Check whether --enable-MSFEES or --disable-MSFEES was given. |
---|
6029 | if test "${enable_MSFEES+set}" = set; then |
---|
6030 | enableval="$enable_MSFEES" |
---|
6031 | ntp_ok=$enableval |
---|
6032 | else |
---|
6033 | ntp_ok=$ntp_eac |
---|
6034 | fi |
---|
6035 | |
---|
6036 | if test "$ntp_ok" = "yes"; then |
---|
6037 | ntp_refclock=yes |
---|
6038 | cat >> confdefs.h <<\EOF |
---|
6039 | #define MSFEES 1 |
---|
6040 | EOF |
---|
6041 | |
---|
6042 | fi |
---|
6043 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6044 | |
---|
6045 | # Not Ultrix |
---|
6046 | echo $ac_n "checking Magnavox MX4200 GPS receiver""... $ac_c" 1>&6 |
---|
6047 | echo "configure:6048: checking Magnavox MX4200 GPS receiver" >&5 |
---|
6048 | # Check whether --enable-MX4200 or --disable-MX4200 was given. |
---|
6049 | if test "${enable_MX4200+set}" = set; then |
---|
6050 | enableval="$enable_MX4200" |
---|
6051 | ntp_ok=$enableval |
---|
6052 | else |
---|
6053 | case "$ac_cv_var_ppsclock" in |
---|
6054 | yes) ntp_ok=$ntp_eac |
---|
6055 | ;; |
---|
6056 | *) ntp_ok=no |
---|
6057 | ;; |
---|
6058 | esac |
---|
6059 | fi |
---|
6060 | |
---|
6061 | if test "$ntp_ok" = "yes"; then |
---|
6062 | ntp_refclock=yes |
---|
6063 | cat >> confdefs.h <<\EOF |
---|
6064 | #define MX4200 1 |
---|
6065 | EOF |
---|
6066 | |
---|
6067 | fi |
---|
6068 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6069 | case "$ntp_ok$target" in |
---|
6070 | yes*-*-ultrix*) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; |
---|
6071 | esac |
---|
6072 | |
---|
6073 | echo $ac_n "checking NMEA GPS receiver""... $ac_c" 1>&6 |
---|
6074 | echo "configure:6075: checking NMEA GPS receiver" >&5 |
---|
6075 | # Check whether --enable-NMEA or --disable-NMEA was given. |
---|
6076 | if test "${enable_NMEA+set}" = set; then |
---|
6077 | enableval="$enable_NMEA" |
---|
6078 | ntp_ok=$enableval |
---|
6079 | else |
---|
6080 | ntp_ok=$ntp_eac |
---|
6081 | fi |
---|
6082 | |
---|
6083 | if test "$ntp_ok" = "yes"; then |
---|
6084 | ntp_refclock=yes |
---|
6085 | cat >> confdefs.h <<\EOF |
---|
6086 | #define NMEA 1 |
---|
6087 | EOF |
---|
6088 | |
---|
6089 | fi |
---|
6090 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6091 | |
---|
6092 | echo $ac_n "checking PST/Traconex 1020 WWV/WWVH receiver""... $ac_c" 1>&6 |
---|
6093 | echo "configure:6094: checking PST/Traconex 1020 WWV/WWVH receiver" >&5 |
---|
6094 | # Check whether --enable-PST or --disable-PST was given. |
---|
6095 | if test "${enable_PST+set}" = set; then |
---|
6096 | enableval="$enable_PST" |
---|
6097 | ntp_ok=$enableval |
---|
6098 | else |
---|
6099 | ntp_ok=$ntp_eac |
---|
6100 | fi |
---|
6101 | |
---|
6102 | if test "$ntp_ok" = "yes"; then |
---|
6103 | ntp_refclock=yes |
---|
6104 | cat >> confdefs.h <<\EOF |
---|
6105 | #define PST 1 |
---|
6106 | EOF |
---|
6107 | |
---|
6108 | fi |
---|
6109 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6110 | |
---|
6111 | # Requires modem control |
---|
6112 | echo $ac_n "checking PTB modem service""... $ac_c" 1>&6 |
---|
6113 | echo "configure:6114: checking PTB modem service" >&5 |
---|
6114 | # Check whether --enable-PTBACTS or --disable-PTBACTS was given. |
---|
6115 | if test "${enable_PTBACTS+set}" = set; then |
---|
6116 | enableval="$enable_PTBACTS" |
---|
6117 | ntp_ok=$enableval |
---|
6118 | else |
---|
6119 | cat > conftest.$ac_ext <<EOF |
---|
6120 | #line 6121 "configure" |
---|
6121 | #include "confdefs.h" |
---|
6122 | #include <termios.h> |
---|
6123 | #ifdef TIOCMBIS |
---|
6124 | yes |
---|
6125 | #endif |
---|
6126 | |
---|
6127 | EOF |
---|
6128 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
6129 | egrep "yes" >/dev/null 2>&1; then |
---|
6130 | rm -rf conftest* |
---|
6131 | ntp_ok=$ntp_eac |
---|
6132 | else |
---|
6133 | rm -rf conftest* |
---|
6134 | ntp_ok=no |
---|
6135 | fi |
---|
6136 | rm -f conftest* |
---|
6137 | |
---|
6138 | fi |
---|
6139 | |
---|
6140 | if test "$ntp_ok" = "yes"; then |
---|
6141 | ntp_refclock=yes |
---|
6142 | cat >> confdefs.h <<\EOF |
---|
6143 | #define PTBACTS 1 |
---|
6144 | EOF |
---|
6145 | |
---|
6146 | fi |
---|
6147 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6148 | |
---|
6149 | echo $ac_n "checking KSI/Odetics TPRO/S GPS receiver/IRIG interface""... $ac_c" 1>&6 |
---|
6150 | echo "configure:6151: checking KSI/Odetics TPRO/S GPS receiver/IRIG interface" >&5 |
---|
6151 | # Check whether --enable-TPRO or --disable-TPRO was given. |
---|
6152 | if test "${enable_TPRO+set}" = set; then |
---|
6153 | enableval="$enable_TPRO" |
---|
6154 | ntp_ok=$enableval |
---|
6155 | else |
---|
6156 | case "$ac_cv_header_sys_tpro_h" in |
---|
6157 | yes) |
---|
6158 | ntp_ok=$ntp_eac |
---|
6159 | ;; |
---|
6160 | *) ntp_ok=no |
---|
6161 | ;; |
---|
6162 | esac |
---|
6163 | fi |
---|
6164 | |
---|
6165 | if test "$ntp_ok" = "yes"; then |
---|
6166 | ntp_refclock=yes |
---|
6167 | cat >> confdefs.h <<\EOF |
---|
6168 | #define TPRO 1 |
---|
6169 | EOF |
---|
6170 | |
---|
6171 | fi |
---|
6172 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6173 | case "$ntp_ok$ac_cv_header_sys_tpro" in |
---|
6174 | yesno) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; |
---|
6175 | esac |
---|
6176 | |
---|
6177 | echo $ac_n "checking TRAK 8810 GPS receiver""... $ac_c" 1>&6 |
---|
6178 | echo "configure:6179: checking TRAK 8810 GPS receiver" >&5 |
---|
6179 | # Check whether --enable-TRAK or --disable-TRAK was given. |
---|
6180 | if test "${enable_TRAK+set}" = set; then |
---|
6181 | enableval="$enable_TRAK" |
---|
6182 | ntp_ok=$enableval |
---|
6183 | else |
---|
6184 | ntp_ok=$ntp_eac |
---|
6185 | fi |
---|
6186 | |
---|
6187 | if test "$ntp_ok" = "yes"; then |
---|
6188 | ntp_refclock=yes |
---|
6189 | cat >> confdefs.h <<\EOF |
---|
6190 | #define TRAK 1 |
---|
6191 | EOF |
---|
6192 | |
---|
6193 | fi |
---|
6194 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6195 | |
---|
6196 | # Not on a vax-dec-bsd |
---|
6197 | echo $ac_n "checking Kinemetrics/TrueTime receivers""... $ac_c" 1>&6 |
---|
6198 | echo "configure:6199: checking Kinemetrics/TrueTime receivers" >&5 |
---|
6199 | # Check whether --enable-TRUETIME or --disable-TRUETIME was given. |
---|
6200 | if test "${enable_TRUETIME+set}" = set; then |
---|
6201 | enableval="$enable_TRUETIME" |
---|
6202 | ntp_ok=$enableval |
---|
6203 | else |
---|
6204 | case "$target" in |
---|
6205 | vax-dec-bsd) |
---|
6206 | ntp_ok=no |
---|
6207 | ;; |
---|
6208 | *) |
---|
6209 | ntp_ok=$ntp_eac |
---|
6210 | ;; |
---|
6211 | esac |
---|
6212 | fi |
---|
6213 | |
---|
6214 | if test "$ntp_ok" = "yes"; then |
---|
6215 | ntp_refclock=yes |
---|
6216 | cat >> confdefs.h <<\EOF |
---|
6217 | #define TRUETIME 1 |
---|
6218 | EOF |
---|
6219 | |
---|
6220 | fi |
---|
6221 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6222 | case "$ntp_ok$target" in |
---|
6223 | yesvax-dec-bsd) echo "configure: warning: *** But the expected answer is... no ***" 1>&2 ;; |
---|
6224 | esac |
---|
6225 | |
---|
6226 | echo $ac_n "checking Spectracom 8170/Netclock/2 WWVB receiver""... $ac_c" 1>&6 |
---|
6227 | echo "configure:6228: checking Spectracom 8170/Netclock/2 WWVB receiver" >&5 |
---|
6228 | # Check whether --enable-WWVB or --disable-WWVB was given. |
---|
6229 | if test "${enable_WWVB+set}" = set; then |
---|
6230 | enableval="$enable_WWVB" |
---|
6231 | ntp_ok=$enableval |
---|
6232 | else |
---|
6233 | ntp_ok=$ntp_eac |
---|
6234 | fi |
---|
6235 | |
---|
6236 | if test "$ntp_ok" = "yes"; then |
---|
6237 | ntp_refclock=yes |
---|
6238 | cat >> confdefs.h <<\EOF |
---|
6239 | #define WWVB 1 |
---|
6240 | EOF |
---|
6241 | |
---|
6242 | fi |
---|
6243 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6244 | |
---|
6245 | # Requires modem control |
---|
6246 | echo $ac_n "checking USNO modem service""... $ac_c" 1>&6 |
---|
6247 | echo "configure:6248: checking USNO modem service" >&5 |
---|
6248 | # Check whether --enable-USNO or --disable-USNO was given. |
---|
6249 | if test "${enable_USNO+set}" = set; then |
---|
6250 | enableval="$enable_USNO" |
---|
6251 | ntp_ok=$enableval |
---|
6252 | else |
---|
6253 | cat > conftest.$ac_ext <<EOF |
---|
6254 | #line 6255 "configure" |
---|
6255 | #include "confdefs.h" |
---|
6256 | #include <termios.h> |
---|
6257 | #ifdef TIOCMBIS |
---|
6258 | yes |
---|
6259 | #endif |
---|
6260 | |
---|
6261 | EOF |
---|
6262 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
6263 | egrep "yes" >/dev/null 2>&1; then |
---|
6264 | rm -rf conftest* |
---|
6265 | ntp_ok=$ntp_eac |
---|
6266 | else |
---|
6267 | rm -rf conftest* |
---|
6268 | ntp_ok=no |
---|
6269 | fi |
---|
6270 | rm -f conftest* |
---|
6271 | |
---|
6272 | fi |
---|
6273 | |
---|
6274 | if test "$ntp_ok" = "yes"; then |
---|
6275 | ntp_refclock=yes |
---|
6276 | cat >> confdefs.h <<\EOF |
---|
6277 | #define USNO 1 |
---|
6278 | EOF |
---|
6279 | |
---|
6280 | fi |
---|
6281 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6282 | |
---|
6283 | echo $ac_n "checking for default inclusion of all suitable PARSE clocks""... $ac_c" 1>&6 |
---|
6284 | echo "configure:6285: checking for default inclusion of all suitable PARSE clocks" >&5 |
---|
6285 | # Check whether --enable-parse-clocks or --disable-parse-clocks was given. |
---|
6286 | if test "${enable_parse_clocks+set}" = set; then |
---|
6287 | enableval="$enable_parse_clocks" |
---|
6288 | ntp_eapc=$enableval |
---|
6289 | else |
---|
6290 | ntp_eapc=no |
---|
6291 | fi |
---|
6292 | |
---|
6293 | echo "$ac_t""$ntp_eapc" 1>&6 |
---|
6294 | |
---|
6295 | case "$ntp_eac$ntp_eapc$ntp_canparse" in |
---|
6296 | noyes*) |
---|
6297 | { echo "configure: error: "--enable-parse-clocks" requires "--enable-all-clocks"." 1>&2; exit 1; } |
---|
6298 | ;; |
---|
6299 | yesyesno) |
---|
6300 | { echo "configure: error: You said "--enable-parse-clocks" but PARSE isn't supported!" 1>&2; exit 1; } |
---|
6301 | ;; |
---|
6302 | *) ;; |
---|
6303 | esac |
---|
6304 | |
---|
6305 | ntp_libparse=no |
---|
6306 | ntp_parseutil=no |
---|
6307 | ntp_rawdcf=no |
---|
6308 | |
---|
6309 | echo $ac_n "checking Diem Computime Radio Clock""... $ac_c" 1>&6 |
---|
6310 | echo "configure:6311: checking Diem Computime Radio Clock" >&5 |
---|
6311 | # Check whether --enable-COMPUTIME or --disable-COMPUTIME was given. |
---|
6312 | if test "${enable_COMPUTIME+set}" = set; then |
---|
6313 | enableval="$enable_COMPUTIME" |
---|
6314 | ntp_ok=$enableval |
---|
6315 | else |
---|
6316 | ntp_ok=$ntp_eapc |
---|
6317 | fi |
---|
6318 | |
---|
6319 | if test "$ntp_ok" = "yes"; then |
---|
6320 | ntp_libparse=yes |
---|
6321 | ntp_refclock=yes |
---|
6322 | cat >> confdefs.h <<\EOF |
---|
6323 | #define CLOCK_COMPUTIME 1 |
---|
6324 | EOF |
---|
6325 | |
---|
6326 | fi |
---|
6327 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6328 | case "$ntp_ok$ntp_canparse" in |
---|
6329 | yesno) |
---|
6330 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6331 | ;; |
---|
6332 | esac |
---|
6333 | |
---|
6334 | echo $ac_n "checking ELV/DCF7000 clock""... $ac_c" 1>&6 |
---|
6335 | echo "configure:6336: checking ELV/DCF7000 clock" >&5 |
---|
6336 | # Check whether --enable-DCF7000 or --disable-DCF7000 was given. |
---|
6337 | if test "${enable_DCF7000+set}" = set; then |
---|
6338 | enableval="$enable_DCF7000" |
---|
6339 | ntp_ok=$enableval |
---|
6340 | else |
---|
6341 | ntp_ok=$ntp_eapc |
---|
6342 | fi |
---|
6343 | |
---|
6344 | if test "$ntp_ok" = "yes"; then |
---|
6345 | ntp_libparse=yes |
---|
6346 | ntp_refclock=yes |
---|
6347 | cat >> confdefs.h <<\EOF |
---|
6348 | #define CLOCK_DCF7000 1 |
---|
6349 | EOF |
---|
6350 | |
---|
6351 | fi |
---|
6352 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6353 | case "$ntp_ok$ntp_canparse" in |
---|
6354 | yesno) |
---|
6355 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6356 | ;; |
---|
6357 | esac |
---|
6358 | |
---|
6359 | echo $ac_n "checking HOPF 6021 clock""... $ac_c" 1>&6 |
---|
6360 | echo "configure:6361: checking HOPF 6021 clock" >&5 |
---|
6361 | # Check whether --enable-HOPF6021 or --disable-HOPF6021 was given. |
---|
6362 | if test "${enable_HOPF6021+set}" = set; then |
---|
6363 | enableval="$enable_HOPF6021" |
---|
6364 | ntp_ok=$enableval |
---|
6365 | else |
---|
6366 | ntp_ok=$ntp_eapc |
---|
6367 | fi |
---|
6368 | |
---|
6369 | if test "$ntp_ok" = "yes"; then |
---|
6370 | ntp_libparse=yes |
---|
6371 | ntp_refclock=yes |
---|
6372 | cat >> confdefs.h <<\EOF |
---|
6373 | #define CLOCK_HOPF6021 1 |
---|
6374 | EOF |
---|
6375 | |
---|
6376 | fi |
---|
6377 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6378 | case "$ntp_ok$ntp_canparse" in |
---|
6379 | yesno) |
---|
6380 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6381 | ;; |
---|
6382 | esac |
---|
6383 | |
---|
6384 | echo $ac_n "checking Meinberg clocks""... $ac_c" 1>&6 |
---|
6385 | echo "configure:6386: checking Meinberg clocks" >&5 |
---|
6386 | # Check whether --enable-MEINBERG or --disable-MEINBERG was given. |
---|
6387 | if test "${enable_MEINBERG+set}" = set; then |
---|
6388 | enableval="$enable_MEINBERG" |
---|
6389 | ntp_ok=$enableval |
---|
6390 | else |
---|
6391 | ntp_ok=$ntp_eapc |
---|
6392 | fi |
---|
6393 | |
---|
6394 | if test "$ntp_ok" = "yes"; then |
---|
6395 | ntp_libparse=yes |
---|
6396 | ntp_refclock=yes |
---|
6397 | cat >> confdefs.h <<\EOF |
---|
6398 | #define CLOCK_MEINBERG 1 |
---|
6399 | EOF |
---|
6400 | |
---|
6401 | fi |
---|
6402 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6403 | case "$ntp_ok$ntp_canparse" in |
---|
6404 | yesno) |
---|
6405 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6406 | ;; |
---|
6407 | esac |
---|
6408 | |
---|
6409 | echo $ac_n "checking DCF77 raw time code""... $ac_c" 1>&6 |
---|
6410 | echo "configure:6411: checking DCF77 raw time code" >&5 |
---|
6411 | # Check whether --enable-RAWDCF or --disable-RAWDCF was given. |
---|
6412 | if test "${enable_RAWDCF+set}" = set; then |
---|
6413 | enableval="$enable_RAWDCF" |
---|
6414 | ntp_ok=$enableval |
---|
6415 | else |
---|
6416 | ntp_ok=$ntp_eapc |
---|
6417 | fi |
---|
6418 | |
---|
6419 | if test "$ntp_ok" = "yes"; then |
---|
6420 | ntp_libparse=yes |
---|
6421 | ntp_parseutil=yes |
---|
6422 | ntp_refclock=yes |
---|
6423 | ntp_rawdcf=yes |
---|
6424 | cat >> confdefs.h <<\EOF |
---|
6425 | #define CLOCK_RAWDCF 1 |
---|
6426 | EOF |
---|
6427 | |
---|
6428 | fi |
---|
6429 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6430 | case "$ntp_ok$ntp_canparse" in |
---|
6431 | yesno) |
---|
6432 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6433 | ;; |
---|
6434 | esac |
---|
6435 | |
---|
6436 | case "$ntp_rawdcf" in |
---|
6437 | yes) |
---|
6438 | echo $ac_n "checking if we must enable parity for RAWDCF""... $ac_c" 1>&6 |
---|
6439 | echo "configure:6440: checking if we must enable parity for RAWDCF" >&5 |
---|
6440 | if eval "test \"`echo '$''{'ac_cv_var_rawdcf_parity'+set}'`\" = set"; then |
---|
6441 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6442 | else |
---|
6443 | ans=no |
---|
6444 | case "$target" in |
---|
6445 | *-*-linux*) |
---|
6446 | ans=yes |
---|
6447 | ;; |
---|
6448 | esac |
---|
6449 | ac_cv_var_rawdcf_parity=$ans |
---|
6450 | fi |
---|
6451 | |
---|
6452 | echo "$ac_t""$ac_cv_var_rawdcf_parity" 1>&6 |
---|
6453 | case "$ac_cv_var_rawdcf_parity" in |
---|
6454 | yes) cat >> confdefs.h <<\EOF |
---|
6455 | #define RAWDCF_NO_IGNPAR 1 |
---|
6456 | EOF |
---|
6457 | ;; |
---|
6458 | esac |
---|
6459 | |
---|
6460 | echo $ac_n "checking if we are powering the DCF77 from DTR""... $ac_c" 1>&6 |
---|
6461 | echo "configure:6462: checking if we are powering the DCF77 from DTR" >&5 |
---|
6462 | if eval "test \"`echo '$''{'ac_cv_var_dtr_powers_dcf77'+set}'`\" = set"; then |
---|
6463 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6464 | else |
---|
6465 | ans=no |
---|
6466 | case "$target" in |
---|
6467 | *-*-linux*) |
---|
6468 | ans=yes |
---|
6469 | ;; |
---|
6470 | esac |
---|
6471 | ac_cv_var_dtr_powers_dcf77=$ans |
---|
6472 | fi |
---|
6473 | |
---|
6474 | echo "$ac_t""$ac_cv_var_dtr_powers_dcf77" 1>&6 |
---|
6475 | case "$ac_cv_var_dtr_powers_dcf77" in |
---|
6476 | yes) cat >> confdefs.h <<\EOF |
---|
6477 | #define RAWDCF_SETDTR 1 |
---|
6478 | EOF |
---|
6479 | ;; |
---|
6480 | esac |
---|
6481 | ;; |
---|
6482 | *) # HMS: Is this a good idea? |
---|
6483 | ac_cv_var_rawdcf_parity=no |
---|
6484 | ac_cv_var_dtr_powers_dcf77=no |
---|
6485 | ;; |
---|
6486 | esac |
---|
6487 | |
---|
6488 | echo $ac_n "checking RCC 8000 clock""... $ac_c" 1>&6 |
---|
6489 | echo "configure:6490: checking RCC 8000 clock" >&5 |
---|
6490 | # Check whether --enable-RCC8000 or --disable-RCC8000 was given. |
---|
6491 | if test "${enable_RCC8000+set}" = set; then |
---|
6492 | enableval="$enable_RCC8000" |
---|
6493 | ntp_ok=$enableval |
---|
6494 | else |
---|
6495 | ntp_ok=$ntp_eapc |
---|
6496 | fi |
---|
6497 | |
---|
6498 | if test "$ntp_ok" = "yes"; then |
---|
6499 | ntp_libparse=yes |
---|
6500 | ntp_refclock=yes |
---|
6501 | cat >> confdefs.h <<\EOF |
---|
6502 | #define CLOCK_RCC8000 1 |
---|
6503 | EOF |
---|
6504 | |
---|
6505 | fi |
---|
6506 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6507 | case "$ntp_ok$ntp_canparse" in |
---|
6508 | yesno) |
---|
6509 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6510 | ;; |
---|
6511 | esac |
---|
6512 | |
---|
6513 | echo $ac_n "checking Schmid DCF77 clock""... $ac_c" 1>&6 |
---|
6514 | echo "configure:6515: checking Schmid DCF77 clock" >&5 |
---|
6515 | # Check whether --enable-SCHMID or --disable-SCHMID was given. |
---|
6516 | if test "${enable_SCHMID+set}" = set; then |
---|
6517 | enableval="$enable_SCHMID" |
---|
6518 | ntp_ok=$enableval |
---|
6519 | else |
---|
6520 | ntp_ok=$ntp_eapc |
---|
6521 | fi |
---|
6522 | |
---|
6523 | if test "$ntp_ok" = "yes"; then |
---|
6524 | ntp_libparse=yes |
---|
6525 | ntp_refclock=yes |
---|
6526 | cat >> confdefs.h <<\EOF |
---|
6527 | #define CLOCK_SCHMID 1 |
---|
6528 | EOF |
---|
6529 | |
---|
6530 | fi |
---|
6531 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6532 | case "$ntp_ok$ntp_canparse" in |
---|
6533 | yesno) |
---|
6534 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6535 | ;; |
---|
6536 | esac |
---|
6537 | |
---|
6538 | echo $ac_n "checking Trimble GPS receiver/TAIP protocol""... $ac_c" 1>&6 |
---|
6539 | echo "configure:6540: checking Trimble GPS receiver/TAIP protocol" >&5 |
---|
6540 | # Check whether --enable-TRIMTAIP or --disable-TRIMTAIP was given. |
---|
6541 | if test "${enable_TRIMTAIP+set}" = set; then |
---|
6542 | enableval="$enable_TRIMTAIP" |
---|
6543 | ntp_ok=$enableval |
---|
6544 | else |
---|
6545 | ntp_ok=$ntp_eapc |
---|
6546 | fi |
---|
6547 | |
---|
6548 | if test "$ntp_ok" = "yes"; then |
---|
6549 | ntp_libparse=yes |
---|
6550 | ntp_refclock=yes |
---|
6551 | cat >> confdefs.h <<\EOF |
---|
6552 | #define CLOCK_TRIMTAIP 1 |
---|
6553 | EOF |
---|
6554 | |
---|
6555 | fi |
---|
6556 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6557 | case "$ntp_ok$ntp_canparse" in |
---|
6558 | yesno) |
---|
6559 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6560 | ;; |
---|
6561 | esac |
---|
6562 | |
---|
6563 | echo $ac_n "checking Trimble GPS receiver/TSIP protocol""... $ac_c" 1>&6 |
---|
6564 | echo "configure:6565: checking Trimble GPS receiver/TSIP protocol" >&5 |
---|
6565 | # Check whether --enable-TRIMTSIP or --disable-TRIMTSIP was given. |
---|
6566 | if test "${enable_TRIMTSIP+set}" = set; then |
---|
6567 | enableval="$enable_TRIMTSIP" |
---|
6568 | ntp_ok=$enableval |
---|
6569 | else |
---|
6570 | ntp_ok=$ntp_eapc |
---|
6571 | fi |
---|
6572 | |
---|
6573 | if test "$ntp_ok" = "yes"; then |
---|
6574 | ntp_libparse=yes |
---|
6575 | ntp_refclock=yes |
---|
6576 | cat >> confdefs.h <<\EOF |
---|
6577 | #define CLOCK_TRIMTSIP 1 |
---|
6578 | EOF |
---|
6579 | |
---|
6580 | fi |
---|
6581 | echo "$ac_t""$ntp_ok" 1>&6 |
---|
6582 | case "$ntp_ok$ntp_canparse" in |
---|
6583 | yesno) |
---|
6584 | { echo "configure: error: That's a parse clock and this system doesn't support it!" 1>&2; exit 1; } |
---|
6585 | ;; |
---|
6586 | esac |
---|
6587 | |
---|
6588 | |
---|
6589 | |
---|
6590 | echo $ac_n "checking if we need to make and use the parse libraries""... $ac_c" 1>&6 |
---|
6591 | echo "configure:6592: checking if we need to make and use the parse libraries" >&5 |
---|
6592 | ans=no |
---|
6593 | case "$ntp_libparse" in |
---|
6594 | yes) |
---|
6595 | ans=yes |
---|
6596 | cat >> confdefs.h <<\EOF |
---|
6597 | #define PARSE 1 |
---|
6598 | EOF |
---|
6599 | |
---|
6600 | LIBPARSE=../libparse/libparse.a |
---|
6601 | MAKE_LIBPARSE=libparse.a |
---|
6602 | ;; |
---|
6603 | esac |
---|
6604 | echo "$ac_t""$ans" 1>&6 |
---|
6605 | |
---|
6606 | |
---|
6607 | |
---|
6608 | echo $ac_n "checking if we need dcf parse utilities""... $ac_c" 1>&6 |
---|
6609 | echo "configure:6610: checking if we need dcf parse utilities" >&5 |
---|
6610 | ans=no |
---|
6611 | if test "$ntp_parseutil" = "yes"; then |
---|
6612 | case "$target" in |
---|
6613 | *-*-sunos4*|*-*-solaris2*) |
---|
6614 | ans="dcfd testdcf" |
---|
6615 | DCFD=dcfd |
---|
6616 | TESTDCF=testdcf |
---|
6617 | ;; |
---|
6618 | esac |
---|
6619 | fi |
---|
6620 | echo "$ac_t""$ans" 1>&6 |
---|
6621 | |
---|
6622 | |
---|
6623 | echo $ac_n "checking if we can build kernel streams modules for parse""... $ac_c" 1>&6 |
---|
6624 | echo "configure:6625: checking if we can build kernel streams modules for parse" >&5 |
---|
6625 | ans=no |
---|
6626 | if test "$ntp_parseutil$ac_cv_header_sys_stropts_h" = "yesyes"; then |
---|
6627 | case "$target" in |
---|
6628 | sparc-*-sunos4*) |
---|
6629 | case "$ac_cv_var_kernel_pll" in |
---|
6630 | yes) |
---|
6631 | cat >> confdefs.h <<\EOF |
---|
6632 | #define PPS_SYNC 1 |
---|
6633 | EOF |
---|
6634 | |
---|
6635 | ;; |
---|
6636 | esac |
---|
6637 | ans=parsestreams |
---|
6638 | MAKE_PARSEKMODULE=parsestreams.loadable_module.o |
---|
6639 | ;; |
---|
6640 | sparc-*-solaris2*) |
---|
6641 | ans=parsesolaris |
---|
6642 | MAKE_PARSEKMODULE=parse |
---|
6643 | ;; |
---|
6644 | esac |
---|
6645 | fi |
---|
6646 | echo "$ac_t""$ans" 1>&6 |
---|
6647 | |
---|
6648 | echo $ac_n "checking if we need basic refclock support""... $ac_c" 1>&6 |
---|
6649 | echo "configure:6650: checking if we need basic refclock support" >&5 |
---|
6650 | if test "$ntp_refclock" = "yes"; then |
---|
6651 | cat >> confdefs.h <<\EOF |
---|
6652 | #define REFCLOCK 1 |
---|
6653 | EOF |
---|
6654 | |
---|
6655 | fi |
---|
6656 | echo "$ac_t""$ntp_refclock" 1>&6 |
---|
6657 | |
---|
6658 | |
---|
6659 | |
---|
6660 | echo $ac_n "checking if we want HP-UX adjtimed support""... $ac_c" 1>&6 |
---|
6661 | echo "configure:6662: checking if we want HP-UX adjtimed support" >&5 |
---|
6662 | case "$target" in |
---|
6663 | *-*-hpux[56789]*) |
---|
6664 | ans=yes |
---|
6665 | ;; |
---|
6666 | *) ans=no |
---|
6667 | ;; |
---|
6668 | esac |
---|
6669 | if test "$ans" = "yes"; then |
---|
6670 | MAKE_ADJTIMED=adjtimed |
---|
6671 | cat >> confdefs.h <<\EOF |
---|
6672 | #define NEED_HPUX_ADJTIME 1 |
---|
6673 | EOF |
---|
6674 | |
---|
6675 | fi |
---|
6676 | echo "$ac_t""$ans" 1>&6 |
---|
6677 | |
---|
6678 | echo $ac_n "checking if we can read kmem""... $ac_c" 1>&6 |
---|
6679 | echo "configure:6680: checking if we can read kmem" >&5 |
---|
6680 | if eval "test \"`echo '$''{'ac_cv_var_can_kmem'+set}'`\" = set"; then |
---|
6681 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6682 | else |
---|
6683 | # Check whether --enable-kmem or --disable-kmem was given. |
---|
6684 | if test "${enable_kmem+set}" = set; then |
---|
6685 | enableval="$enable_kmem" |
---|
6686 | ans=$enableval |
---|
6687 | else |
---|
6688 | case "$ac_cv_func_nlist$ac_cv_func_K_open$ac_cv_func_kvm_open" in |
---|
6689 | *yes*) |
---|
6690 | ans=yes |
---|
6691 | ;; |
---|
6692 | *) ans=no |
---|
6693 | ;; |
---|
6694 | esac |
---|
6695 | case "$target" in |
---|
6696 | *-*-aix*) |
---|
6697 | #ans=no |
---|
6698 | ;; |
---|
6699 | *-*-domainos) # Won't be found... |
---|
6700 | ans=no |
---|
6701 | ;; |
---|
6702 | *-*-hpux*) |
---|
6703 | #ans=no |
---|
6704 | ;; |
---|
6705 | *-*-irix[456]*) |
---|
6706 | ans=no |
---|
6707 | ;; |
---|
6708 | *-*-linux*) |
---|
6709 | ans=no |
---|
6710 | ;; |
---|
6711 | *-*-winnt3.5) |
---|
6712 | ans=no |
---|
6713 | ;; |
---|
6714 | esac |
---|
6715 | |
---|
6716 | fi |
---|
6717 | |
---|
6718 | ac_cv_var_can_kmem=$ans |
---|
6719 | fi |
---|
6720 | |
---|
6721 | echo "$ac_t""$ac_cv_var_can_kmem" 1>&6 |
---|
6722 | |
---|
6723 | case "$ac_cv_var_can_kmem" in |
---|
6724 | *yes*) ;; |
---|
6725 | *) cat >> confdefs.h <<\EOF |
---|
6726 | #define NOKMEM 1 |
---|
6727 | EOF |
---|
6728 | ;; |
---|
6729 | esac |
---|
6730 | |
---|
6731 | echo $ac_n "checking if adjtime is accurate""... $ac_c" 1>&6 |
---|
6732 | echo "configure:6733: checking if adjtime is accurate" >&5 |
---|
6733 | if eval "test \"`echo '$''{'ac_cv_var_adjtime_is_accurate'+set}'`\" = set"; then |
---|
6734 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6735 | else |
---|
6736 | # Check whether --enable-accurate-adjtime or --disable-accurate-adjtime was given. |
---|
6737 | if test "${enable_accurate_adjtime+set}" = set; then |
---|
6738 | enableval="$enable_accurate_adjtime" |
---|
6739 | ans=$enableval |
---|
6740 | else |
---|
6741 | case "$target" in |
---|
6742 | i386-sequent-ptx*) |
---|
6743 | ans=no |
---|
6744 | ;; |
---|
6745 | i386-unknown-osf1*) |
---|
6746 | ans=yes |
---|
6747 | ;; |
---|
6748 | mips-sgi-irix[456]*) |
---|
6749 | ans=yes |
---|
6750 | ;; |
---|
6751 | *-fujitsu-uxp*) |
---|
6752 | ans=yes |
---|
6753 | ;; |
---|
6754 | *-ibm-aix4*) |
---|
6755 | ans=yes |
---|
6756 | ;; |
---|
6757 | *-*-linux*) |
---|
6758 | ans=yes |
---|
6759 | ;; |
---|
6760 | *-*-solaris2.[01]*) |
---|
6761 | ans=no |
---|
6762 | ;; |
---|
6763 | *-*-solaris2*) |
---|
6764 | ans=yes |
---|
6765 | ;; |
---|
6766 | *) ans=no |
---|
6767 | ;; |
---|
6768 | esac |
---|
6769 | |
---|
6770 | fi |
---|
6771 | |
---|
6772 | ac_cv_var_adjtime_is_accurate=$ans |
---|
6773 | fi |
---|
6774 | |
---|
6775 | echo "$ac_t""$ac_cv_var_adjtime_is_accurate" 1>&6 |
---|
6776 | case "$ac_cv_var_adjtime_is_accurate" in |
---|
6777 | yes) cat >> confdefs.h <<\EOF |
---|
6778 | #define ADJTIME_IS_ACCURATE 1 |
---|
6779 | EOF |
---|
6780 | ;; |
---|
6781 | esac |
---|
6782 | |
---|
6783 | echo $ac_n "checking the name of 'tick' in the kernel""... $ac_c" 1>&6 |
---|
6784 | echo "configure:6785: checking the name of 'tick' in the kernel" >&5 |
---|
6785 | if eval "test \"`echo '$''{'ac_cv_var_nlist_tick'+set}'`\" = set"; then |
---|
6786 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6787 | else |
---|
6788 | ans=_tick |
---|
6789 | case "$target" in |
---|
6790 | m68*-hp-hpux*) # HP9000/300? |
---|
6791 | ans=_old_tick |
---|
6792 | ;; |
---|
6793 | *-apple-aux[23]*) |
---|
6794 | ans=tick |
---|
6795 | ;; |
---|
6796 | *-hp-hpux*) |
---|
6797 | ans=old_tick |
---|
6798 | ;; |
---|
6799 | *-ibm-aix[34]*) |
---|
6800 | ans=no |
---|
6801 | ;; |
---|
6802 | *-*-ptx*) |
---|
6803 | ans=tick |
---|
6804 | ;; |
---|
6805 | *-*-sco3.2v[45]*) |
---|
6806 | ans=no |
---|
6807 | ;; |
---|
6808 | *-*-solaris2*) |
---|
6809 | ans=nsec_per_tick |
---|
6810 | ;; |
---|
6811 | *-*-sysv4*) |
---|
6812 | ans=tick |
---|
6813 | ;; |
---|
6814 | esac |
---|
6815 | ac_cv_var_nlist_tick=$ans |
---|
6816 | fi |
---|
6817 | |
---|
6818 | echo "$ac_t""$ac_cv_var_nlist_tick" 1>&6 |
---|
6819 | case "$ac_cv_var_nlist_tick" in |
---|
6820 | ''|no) ;; # HMS: I think we can only get 'no' here... |
---|
6821 | *) cat >> confdefs.h <<EOF |
---|
6822 | #define K_TICK_NAME "$ac_cv_var_nlist_tick" |
---|
6823 | EOF |
---|
6824 | ;; |
---|
6825 | esac |
---|
6826 | # |
---|
6827 | echo $ac_n "checking for the units of 'tick'""... $ac_c" 1>&6 |
---|
6828 | echo "configure:6829: checking for the units of 'tick'" >&5 |
---|
6829 | if eval "test \"`echo '$''{'ac_cv_var_tick_nano'+set}'`\" = set"; then |
---|
6830 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6831 | else |
---|
6832 | ans=usec |
---|
6833 | case "$target" in |
---|
6834 | *-*-solaris2*) |
---|
6835 | ans=nsec |
---|
6836 | ;; |
---|
6837 | esac |
---|
6838 | ac_cv_var_tick_nano=$ans |
---|
6839 | fi |
---|
6840 | |
---|
6841 | echo "$ac_t""$ac_cv_var_tick_nano" 1>&6 |
---|
6842 | case "$ac_cv_var_tick_nano" in |
---|
6843 | nsec) |
---|
6844 | cat >> confdefs.h <<\EOF |
---|
6845 | #define TICK_NANO 1 |
---|
6846 | EOF |
---|
6847 | |
---|
6848 | ;; |
---|
6849 | esac |
---|
6850 | # |
---|
6851 | echo $ac_n "checking the name of 'tickadj' in the kernel""... $ac_c" 1>&6 |
---|
6852 | echo "configure:6853: checking the name of 'tickadj' in the kernel" >&5 |
---|
6853 | if eval "test \"`echo '$''{'ac_cv_var_nlist_tickadj'+set}'`\" = set"; then |
---|
6854 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6855 | else |
---|
6856 | ans=_tickadj |
---|
6857 | case "$target" in |
---|
6858 | m68*-hp-hpux*) # HP9000/300? |
---|
6859 | ans=_tickadj |
---|
6860 | ;; |
---|
6861 | *-apple-aux[23]*) |
---|
6862 | ans=tickadj |
---|
6863 | ;; |
---|
6864 | *-hp-hpux10*) |
---|
6865 | ans=no |
---|
6866 | ;; |
---|
6867 | *-hp-hpux9*) |
---|
6868 | ans=no |
---|
6869 | ;; |
---|
6870 | *-hp-hpux*) |
---|
6871 | ans=tickadj |
---|
6872 | ;; |
---|
6873 | *-*-aix*) |
---|
6874 | ans=tickadj |
---|
6875 | ;; |
---|
6876 | *-*-ptx*) |
---|
6877 | ans=tickadj |
---|
6878 | ;; |
---|
6879 | *-*-sco3.2v4*) |
---|
6880 | ans=stickadj |
---|
6881 | ;; |
---|
6882 | *-*-sco3.2v5.0*) |
---|
6883 | ans=clock_drift |
---|
6884 | ;; |
---|
6885 | *-*-solaris2*) |
---|
6886 | ans=no # hrestime_adj |
---|
6887 | ;; |
---|
6888 | *-*-sysv4*) |
---|
6889 | ans=tickadj |
---|
6890 | ;; |
---|
6891 | esac |
---|
6892 | ac_cv_var_nlist_tickadj=$ans |
---|
6893 | fi |
---|
6894 | |
---|
6895 | echo "$ac_t""$ac_cv_var_nlist_tickadj" 1>&6 |
---|
6896 | case "$ac_cv_var_nlist_tickadj" in |
---|
6897 | ''|no) ;; # HMS: I think we can only get 'no' here... |
---|
6898 | *) cat >> confdefs.h <<EOF |
---|
6899 | #define K_TICKADJ_NAME "$ac_cv_var_nlist_tickadj" |
---|
6900 | EOF |
---|
6901 | ;; |
---|
6902 | esac |
---|
6903 | # |
---|
6904 | echo $ac_n "checking for the units of 'tickadj'""... $ac_c" 1>&6 |
---|
6905 | echo "configure:6906: checking for the units of 'tickadj'" >&5 |
---|
6906 | if eval "test \"`echo '$''{'ac_cv_var_tickadj_nano'+set}'`\" = set"; then |
---|
6907 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6908 | else |
---|
6909 | ans=usec |
---|
6910 | case "$target" in |
---|
6911 | *-*-solaris2*) |
---|
6912 | ans=nsec |
---|
6913 | ;; |
---|
6914 | esac |
---|
6915 | ac_cv_var_tickadj_nano=$ans |
---|
6916 | fi |
---|
6917 | |
---|
6918 | echo "$ac_t""$ac_cv_var_tickadj_nano" 1>&6 |
---|
6919 | case "$ac_cv_var_tickadj_nano" in |
---|
6920 | nsec) |
---|
6921 | cat >> confdefs.h <<\EOF |
---|
6922 | #define TICKADJ_NANO 1 |
---|
6923 | EOF |
---|
6924 | |
---|
6925 | ;; |
---|
6926 | esac |
---|
6927 | # |
---|
6928 | echo $ac_n "checking half-heartedly for 'dosynctodr' in the kernel""... $ac_c" 1>&6 |
---|
6929 | echo "configure:6930: checking half-heartedly for 'dosynctodr' in the kernel" >&5 |
---|
6930 | if eval "test \"`echo '$''{'ac_cv_var_nlist_dosynctodr'+set}'`\" = set"; then |
---|
6931 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6932 | else |
---|
6933 | case "$target" in |
---|
6934 | *-apple-aux[23]*) |
---|
6935 | ans=no |
---|
6936 | ;; |
---|
6937 | *-sni-sysv*) |
---|
6938 | ans=dosynctodr |
---|
6939 | ;; |
---|
6940 | *-*-aix*) |
---|
6941 | ans=dosynctodr |
---|
6942 | ;; |
---|
6943 | *-*-hpux*) |
---|
6944 | ans=no |
---|
6945 | ;; |
---|
6946 | *-*-nextstep*) |
---|
6947 | ans=_dosynctodr |
---|
6948 | ;; |
---|
6949 | *-*-ptx*) |
---|
6950 | ans=doresettodr |
---|
6951 | ;; |
---|
6952 | *-*-sco3.2v4*) |
---|
6953 | ans=no |
---|
6954 | ;; |
---|
6955 | *-*-sco3.2v5*) |
---|
6956 | ans=track_rtc |
---|
6957 | ;; |
---|
6958 | *-*-solaris2*) |
---|
6959 | ans=dosynctodr |
---|
6960 | ;; |
---|
6961 | *-*-sysv4*) |
---|
6962 | ans=doresettodr |
---|
6963 | ;; |
---|
6964 | *) |
---|
6965 | ans=_dosynctodr |
---|
6966 | ;; |
---|
6967 | esac |
---|
6968 | ac_cv_var_nlist_dosynctodr=$ans |
---|
6969 | fi |
---|
6970 | |
---|
6971 | echo "$ac_t""$ac_cv_var_nlist_dosynctodr" 1>&6 |
---|
6972 | case "$ac_cv_var_nlist_dosynctodr" in |
---|
6973 | no) ;; |
---|
6974 | *) cat >> confdefs.h <<EOF |
---|
6975 | #define K_DOSYNCTODR_NAME "$ac_cv_var_nlist_dosynctodr" |
---|
6976 | EOF |
---|
6977 | |
---|
6978 | ;; |
---|
6979 | esac |
---|
6980 | # |
---|
6981 | echo $ac_n "checking half-heartedly for 'noprintf' in the kernel""... $ac_c" 1>&6 |
---|
6982 | echo "configure:6983: checking half-heartedly for 'noprintf' in the kernel" >&5 |
---|
6983 | if eval "test \"`echo '$''{'ac_cv_var_nlist_noprintf'+set}'`\" = set"; then |
---|
6984 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
6985 | else |
---|
6986 | case "$target" in |
---|
6987 | *-apple-aux[23]*) |
---|
6988 | ans=no |
---|
6989 | ;; |
---|
6990 | *-sni-sysv*) |
---|
6991 | ans=noprintf |
---|
6992 | ;; |
---|
6993 | *-*-aix*) |
---|
6994 | ans=noprintf |
---|
6995 | ;; |
---|
6996 | *-*-hpux*) |
---|
6997 | ans=no |
---|
6998 | ;; |
---|
6999 | *-*-ptx*) |
---|
7000 | ans=noprintf |
---|
7001 | ;; |
---|
7002 | *-*-nextstep*) |
---|
7003 | ans=_noprintf |
---|
7004 | ;; |
---|
7005 | *-*-solaris2*) |
---|
7006 | ans=noprintf |
---|
7007 | ;; |
---|
7008 | *-*-sysv4*) |
---|
7009 | ans=noprintf |
---|
7010 | ;; |
---|
7011 | *) |
---|
7012 | ans=_noprintf |
---|
7013 | ;; |
---|
7014 | esac |
---|
7015 | ac_cv_var_nlist_noprintf=$ans |
---|
7016 | fi |
---|
7017 | |
---|
7018 | echo "$ac_t""$ac_cv_var_nlist_noprintf" 1>&6 |
---|
7019 | case "$ac_cv_var_nlist_noprintf" in |
---|
7020 | no) ;; |
---|
7021 | *) cat >> confdefs.h <<EOF |
---|
7022 | #define K_NOPRINTF_NAME "$ac_cv_var_nlist_noprintf" |
---|
7023 | EOF |
---|
7024 | |
---|
7025 | ;; |
---|
7026 | esac |
---|
7027 | |
---|
7028 | |
---|
7029 | |
---|
7030 | |
---|
7031 | echo $ac_n "checking for a default value for 'tick'""... $ac_c" 1>&6 |
---|
7032 | echo "configure:7033: checking for a default value for 'tick'" >&5 |
---|
7033 | if eval "test \"`echo '$''{'ac_cv_var_tick'+set}'`\" = set"; then |
---|
7034 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
7035 | else |
---|
7036 | # Check whether --enable-tick or --disable-tick was given. |
---|
7037 | if test "${enable_tick+set}" = set; then |
---|
7038 | enableval="$enable_tick" |
---|
7039 | ans=$enableval |
---|
7040 | else |
---|
7041 | ans=no |
---|
7042 | case "$target" in |
---|
7043 | *-univel-sysv*) |
---|
7044 | ans=10000 |
---|
7045 | ;; |
---|
7046 | *-*-irix*) |
---|
7047 | ans=10000 |
---|
7048 | ;; |
---|
7049 | *-*-linux*) |
---|
7050 | ans=txc.tick |
---|
7051 | ;; |
---|
7052 | *-*-winnt3.5) |
---|
7053 | ans='(every / 10)' |
---|
7054 | ;; |
---|
7055 | *) |
---|
7056 | ans='1000000L/hz' |
---|
7057 | ;; |
---|
7058 | esac |
---|
7059 | fi |
---|
7060 | |
---|
7061 | ac_cv_var_tick=$ans |
---|
7062 | fi |
---|
7063 | |
---|
7064 | echo "$ac_t""$ac_cv_var_tick" 1>&6 |
---|
7065 | case "$ac_cv_var_tick" in |
---|
7066 | ''|no) ;; # HMS: I think we can only get 'no' here... |
---|
7067 | *) cat >> confdefs.h <<EOF |
---|
7068 | #define PRESET_TICK $ac_cv_var_tick |
---|
7069 | EOF |
---|
7070 | ;; |
---|
7071 | esac |
---|
7072 | |
---|
7073 | echo $ac_n "checking for a default value for 'tickadj'""... $ac_c" 1>&6 |
---|
7074 | echo "configure:7075: checking for a default value for 'tickadj'" >&5 |
---|
7075 | if eval "test \"`echo '$''{'ac_cv_var_tickadj'+set}'`\" = set"; then |
---|
7076 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
7077 | else |
---|
7078 | # Check whether --enable-tickadj or --disable-tickadj was given. |
---|
7079 | if test "${enable_tickadj+set}" = set; then |
---|
7080 | enableval="$enable_tickadj" |
---|
7081 | ans=$enableval |
---|
7082 | else |
---|
7083 | ans='500/hz' |
---|
7084 | case "$target" in |
---|
7085 | *-fujitsu-uxp*) |
---|
7086 | case "$ac_cv_var_adjtime_is_accurate" in |
---|
7087 | yes) ans='tick/16' ;; |
---|
7088 | esac |
---|
7089 | ;; |
---|
7090 | *-univel-sysv*) |
---|
7091 | ans=80 |
---|
7092 | ;; |
---|
7093 | *-*-aix*) |
---|
7094 | case "$ac_cv_var_can_kmem" in |
---|
7095 | no) ans=1000 ;; |
---|
7096 | esac |
---|
7097 | ;; |
---|
7098 | *-*-domainos) # Skippy: won't be found... |
---|
7099 | case "$ac_cv_var_can_kmem" in |
---|
7100 | no) ans=668 ;; |
---|
7101 | esac |
---|
7102 | ;; |
---|
7103 | *-*-hpux*) |
---|
7104 | case "$ac_cv_var_adjtime_is_accurate" in |
---|
7105 | yes) ans='tick/16' ;; |
---|
7106 | esac |
---|
7107 | ;; |
---|
7108 | *-*-irix*) |
---|
7109 | ans=150 |
---|
7110 | ;; |
---|
7111 | *-*-sco3.2v4*) |
---|
7112 | ans=1000000L/hz |
---|
7113 | ;; |
---|
7114 | *-*-sco3.2v5.0*) |
---|
7115 | ans=1000000L/hz |
---|
7116 | ;; |
---|
7117 | *-*-solaris2*) |
---|
7118 | case "$ac_cv_var_adjtime_is_accurate" in |
---|
7119 | yes) |
---|
7120 | #ans='tick/16' |
---|
7121 | ;; |
---|
7122 | esac |
---|
7123 | ;; |
---|
7124 | *-*-winnt3.5) |
---|
7125 | ans=50 |
---|
7126 | ;; |
---|
7127 | esac |
---|
7128 | fi |
---|
7129 | |
---|
7130 | ac_cv_var_tickadj=$ans |
---|
7131 | fi |
---|
7132 | |
---|
7133 | echo "$ac_t""$ac_cv_var_tickadj" 1>&6 |
---|
7134 | case "$ac_cv_var_tickadj" in |
---|
7135 | ''|no) ;; # HMS: I think we can only get 'no' here... |
---|
7136 | *) cat >> confdefs.h <<EOF |
---|
7137 | #define PRESET_TICKADJ $ac_cv_var_tickadj |
---|
7138 | EOF |
---|
7139 | ;; |
---|
7140 | esac |
---|
7141 | |
---|
7142 | case "$target" in |
---|
7143 | *-*-sco3.2v4*) cat >> confdefs.h <<\EOF |
---|
7144 | #define SCO3_TICKADJ 1 |
---|
7145 | EOF |
---|
7146 | ;; |
---|
7147 | *-*-sco3.2v5*) cat >> confdefs.h <<\EOF |
---|
7148 | #define SCO5_TICKADJ 1 |
---|
7149 | EOF |
---|
7150 | ;; |
---|
7151 | esac |
---|
7152 | |
---|
7153 | case "$ac_cv_var_can_kmem$ac_cv_var_tick$ac_cv_var_tickadj" in |
---|
7154 | nonono) # Don't read KMEM, no presets. Bogus. |
---|
7155 | { echo "configure: error: Can't read kmem but no PRESET_TICK or PRESET_TICKADJ" 1>&2; exit 1; } |
---|
7156 | ;; |
---|
7157 | nono*) # Don't read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus. |
---|
7158 | { echo "configure: error: Can't read kmem but no PRESET_TICK" 1>&2; exit 1; } |
---|
7159 | ;; |
---|
7160 | no*no) # Don't read KMEM, PRESET_TICK but no PRESET_TICKADJ. Bogus. |
---|
7161 | { echo "configure: error: Can't read kmem but no PRESET_TICKADJ" 1>&2; exit 1; } |
---|
7162 | ;; |
---|
7163 | no*) # Don't read KMEM, PRESET_TICK and PRESET_TICKADJ. Cool. |
---|
7164 | ;; |
---|
7165 | yesnono) # Read KMEM, no presets. Cool. |
---|
7166 | ;; |
---|
7167 | yesno*) # Read KMEM, no PRESET_TICK but PRESET_TICKADJ. Bogus. |
---|
7168 | echo "configure: warning: PRESET_TICKADJ is defined but not PRESET_TICK. Please report this." 1>&2 |
---|
7169 | ;; |
---|
7170 | yes*no) # Read KMEM, PRESET_TICK but no PRESET_TICKADJ. Cool. |
---|
7171 | ;; |
---|
7172 | yes*) # READ KMEM, PRESET_TICK and PRESET_TICKADJ. |
---|
7173 | ;; |
---|
7174 | *) # Generally bogus. |
---|
7175 | { echo "configure: error: This shouldn't happen." 1>&2; exit 1; } |
---|
7176 | ;; |
---|
7177 | esac |
---|
7178 | |
---|
7179 | |
---|
7180 | MAKE_TICKADJ=tickadj |
---|
7181 | |
---|
7182 | |
---|
7183 | echo $ac_n "checking if we want and can make the ntptime utility""... $ac_c" 1>&6 |
---|
7184 | echo "configure:7185: checking if we want and can make the ntptime utility" >&5 |
---|
7185 | if eval "test \"`echo '$''{'ac_cv_make_ntptime'+set}'`\" = set"; then |
---|
7186 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
7187 | else |
---|
7188 | case "$ac_cv_var_kernel_pll$ac_cv_hdr_def_sigsys" in |
---|
7189 | yes*) |
---|
7190 | ans=yes |
---|
7191 | ;; |
---|
7192 | *) |
---|
7193 | ans=no |
---|
7194 | ;; |
---|
7195 | esac; |
---|
7196 | ac_cv_make_ntptime=$ans |
---|
7197 | fi |
---|
7198 | |
---|
7199 | echo "$ac_t""$ac_cv_make_ntptime" 1>&6 |
---|
7200 | case "$ac_cv_make_ntptime" in |
---|
7201 | yes) |
---|
7202 | MAKE_NTPTIME=ntptime |
---|
7203 | ;; |
---|
7204 | esac |
---|
7205 | |
---|
7206 | echo $ac_n "checking if we want UDP wildcard delivery""... $ac_c" 1>&6 |
---|
7207 | echo "configure:7208: checking if we want UDP wildcard delivery" >&5 |
---|
7208 | if eval "test \"`echo '$''{'ac_cv_var_udp_wildcard_delivery'+set}'`\" = set"; then |
---|
7209 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
7210 | else |
---|
7211 | # Check whether --enable-udp-wildcard or --disable-udp-wildcard was given. |
---|
7212 | if test "${enable_udp_wildcard+set}" = set; then |
---|
7213 | enableval="$enable_udp_wildcard" |
---|
7214 | ans=$enableval |
---|
7215 | else |
---|
7216 | ans=no |
---|
7217 | case "$target" in |
---|
7218 | *-fujitsu-uxp*) |
---|
7219 | ans=yes |
---|
7220 | ;; |
---|
7221 | *-univel-sysv*) |
---|
7222 | ans=yes |
---|
7223 | ;; |
---|
7224 | *-*-aix3.2*) |
---|
7225 | ans=yes |
---|
7226 | ;; |
---|
7227 | *-*-aix4*) |
---|
7228 | ans=yes |
---|
7229 | ;; |
---|
7230 | *-*-bsdi*) |
---|
7231 | ans=yes |
---|
7232 | ;; |
---|
7233 | *-*-domainos) |
---|
7234 | ans=yes |
---|
7235 | ;; |
---|
7236 | *-*-freebsd*) |
---|
7237 | ans=yes |
---|
7238 | ;; |
---|
7239 | *-*-hpux*) |
---|
7240 | ans=yes |
---|
7241 | ;; |
---|
7242 | *-*-irix6*) |
---|
7243 | ans=yes |
---|
7244 | ;; |
---|
7245 | *-*-linux*) |
---|
7246 | ans=yes |
---|
7247 | ;; |
---|
7248 | *-*-osf*) |
---|
7249 | ans=yes |
---|
7250 | ;; |
---|
7251 | *-*-ptx*) |
---|
7252 | ans=yes |
---|
7253 | ;; |
---|
7254 | *-*-solaris2*) |
---|
7255 | ans=yes |
---|
7256 | ;; |
---|
7257 | *-*-sunos4*) |
---|
7258 | ans=yes |
---|
7259 | ;; |
---|
7260 | esac |
---|
7261 | fi |
---|
7262 | |
---|
7263 | ac_cv_var_udp_wildcard_delivery=$ans |
---|
7264 | fi |
---|
7265 | |
---|
7266 | echo "$ac_t""$ac_cv_var_udp_wildcard_delivery" 1>&6 |
---|
7267 | case "$ac_cv_var_udp_wildcard_delivery" in |
---|
7268 | yes) cat >> confdefs.h <<\EOF |
---|
7269 | #define UDP_WILDCARD_DELIVERY 1 |
---|
7270 | EOF |
---|
7271 | ;; |
---|
7272 | esac |
---|
7273 | |
---|
7274 | echo $ac_n "checking if we should always slew the time""... $ac_c" 1>&6 |
---|
7275 | echo "configure:7276: checking if we should always slew the time" >&5 |
---|
7276 | if eval "test \"`echo '$''{'ac_cv_var_slew_always'+set}'`\" = set"; then |
---|
7277 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
7278 | else |
---|
7279 | # Check whether --enable-slew-always or --disable-slew-always was given. |
---|
7280 | if test "${enable_slew_always+set}" = set; then |
---|
7281 | enableval="$enable_slew_always" |
---|
7282 | ans=$enableval |
---|
7283 | else |
---|
7284 | case "$target" in |
---|
7285 | *-apple-aux[23]*) |
---|
7286 | ans=yes |
---|
7287 | ;; |
---|
7288 | *-*-bsdi[012]*) |
---|
7289 | ans=no |
---|
7290 | ;; |
---|
7291 | *-*-bsdi*) |
---|
7292 | ans=yes |
---|
7293 | ;; |
---|
7294 | *-*-openvms*) # HMS: won't be found |
---|
7295 | ans=yes |
---|
7296 | ;; |
---|
7297 | *) ans=no |
---|
7298 | ;; |
---|
7299 | esac |
---|
7300 | |
---|
7301 | fi |
---|
7302 | |
---|
7303 | ac_cv_var_slew_always=$ans |
---|
7304 | fi |
---|
7305 | |
---|
7306 | echo "$ac_t""$ac_cv_var_slew_always" 1>&6 |
---|
7307 | case "$ac_cv_var_slew_always" in |
---|
7308 | yes) cat >> confdefs.h <<\EOF |
---|
7309 | #define SLEWALWAYS 1 |
---|
7310 | EOF |
---|
7311 | ;; |
---|
7312 | esac |
---|
7313 | |
---|
7314 | echo $ac_n "checking if we should step and slew the time""... $ac_c" 1>&6 |
---|
7315 | echo "configure:7316: checking if we should step and slew the time" >&5 |
---|
7316 | if eval "test \"`echo '$''{'ac_cv_var_step_slew'+set}'`\" = set"; then |
---|
7317 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
7318 | else |
---|
7319 | # Check whether --enable-step-slew or --disable-step-slew was given. |
---|
7320 | if test "${enable_step_slew+set}" = set; then |
---|
7321 | enableval="$enable_step_slew" |
---|
7322 | ans=$enableval |
---|
7323 | else |
---|
7324 | case "$target" in |
---|
7325 | *-sni-sysv*) |
---|
7326 | ans=yes |
---|
7327 | ;; |
---|
7328 | *-univel-sysv*) |
---|
7329 | ans=no |
---|
7330 | ;; |
---|
7331 | *-*-ptx*) |
---|
7332 | ans=yes |
---|
7333 | ;; |
---|
7334 | *-*-solaris2.[012]*) |
---|
7335 | ans=yes |
---|
7336 | ;; |
---|
7337 | *-*-sysv4*) # HMS: Does this catch Fujitsu UXP? |
---|
7338 | ans=yes |
---|
7339 | ;; |
---|
7340 | *) ans=no |
---|
7341 | ;; |
---|
7342 | esac |
---|
7343 | |
---|
7344 | fi |
---|
7345 | |
---|
7346 | ac_cv_var_step_slew=$ans |
---|
7347 | fi |
---|
7348 | |
---|
7349 | echo "$ac_t""$ac_cv_var_step_slew" 1>&6 |
---|
7350 | case "$ac_cv_var_step_slew" in |
---|
7351 | yes) cat >> confdefs.h <<\EOF |
---|
7352 | #define STEP_SLEW 1 |
---|
7353 | EOF |
---|
7354 | ;; |
---|
7355 | esac |
---|
7356 | |
---|
7357 | echo $ac_n "checking if ntpdate should step the time""... $ac_c" 1>&6 |
---|
7358 | echo "configure:7359: checking if ntpdate should step the time" >&5 |
---|
7359 | if eval "test \"`echo '$''{'ac_cv_var_ntpdate_step'+set}'`\" = set"; then |
---|
7360 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
7361 | else |
---|
7362 | # Check whether --enable-ntpdate-step or --disable-ntpdate-step was given. |
---|
7363 | if test "${enable_ntpdate_step+set}" = set; then |
---|
7364 | enableval="$enable_ntpdate_step" |
---|
7365 | ans=$enableval |
---|
7366 | else |
---|
7367 | case "$target" in |
---|
7368 | *-apple-aux[23]*) |
---|
7369 | ans=yes |
---|
7370 | ;; |
---|
7371 | *) ans=no |
---|
7372 | ;; |
---|
7373 | esac |
---|
7374 | |
---|
7375 | fi |
---|
7376 | |
---|
7377 | ac_cv_var_ntpdate_step=$ans |
---|
7378 | fi |
---|
7379 | |
---|
7380 | echo "$ac_t""$ac_cv_var_ntpdate_step" 1>&6 |
---|
7381 | case "$ac_cv_var_ntpdate_step" in |
---|
7382 | yes) cat >> confdefs.h <<\EOF |
---|
7383 | #define FORCE_NTPDATE_STEP 1 |
---|
7384 | EOF |
---|
7385 | ;; |
---|
7386 | esac |
---|
7387 | |
---|
7388 | echo $ac_n "checking if we should sync TODR clock every hour""... $ac_c" 1>&6 |
---|
7389 | echo "configure:7390: checking if we should sync TODR clock every hour" >&5 |
---|
7390 | if eval "test \"`echo '$''{'ac_cv_var_sync_todr'+set}'`\" = set"; then |
---|
7391 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
7392 | else |
---|
7393 | # Check whether --enable-hourly-todr-sync or --disable-hourly-todr-sync was given. |
---|
7394 | if test "${enable_hourly_todr_sync+set}" = set; then |
---|
7395 | enableval="$enable_hourly_todr_sync" |
---|
7396 | ans=$enableval |
---|
7397 | else |
---|
7398 | case "$target" in |
---|
7399 | *-*-nextstep*) |
---|
7400 | ans=yes |
---|
7401 | ;; |
---|
7402 | *-*-openvms*) # HMS: won't be found |
---|
7403 | ans=yes |
---|
7404 | ;; |
---|
7405 | *) ans=no |
---|
7406 | ;; |
---|
7407 | esac |
---|
7408 | fi |
---|
7409 | |
---|
7410 | ac_cv_var_sync_todr=$ans |
---|
7411 | fi |
---|
7412 | |
---|
7413 | echo "$ac_t""$ac_cv_var_sync_todr" 1>&6 |
---|
7414 | case "$ac_cv_var_sync_todr" in |
---|
7415 | yes) cat >> confdefs.h <<\EOF |
---|
7416 | #define DOSYNCTODR 1 |
---|
7417 | EOF |
---|
7418 | ;; |
---|
7419 | esac |
---|
7420 | |
---|
7421 | case "$host" in |
---|
7422 | $target) |
---|
7423 | ;; |
---|
7424 | *) case "$target" in |
---|
7425 | *-*-vxworks*) |
---|
7426 | LDFLAGS="$LDFLAGS -r" |
---|
7427 | ;; |
---|
7428 | esac |
---|
7429 | ;; |
---|
7430 | esac |
---|
7431 | |
---|
7432 | # Set lbindir and lsbindir if not already set by Athena config.site |
---|
7433 | test -z "$lbindir" && lbindir='${bindir}' |
---|
7434 | test -z "$lsbindir" && lsbindir='${sbindir}' |
---|
7435 | |
---|
7436 | |
---|
7437 | |
---|
7438 | trap '' 1 2 15 |
---|
7439 | cat > confcache <<\EOF |
---|
7440 | # This file is a shell script that caches the results of configure |
---|
7441 | # tests run on this system so they can be shared between configure |
---|
7442 | # scripts and configure runs. It is not useful on other systems. |
---|
7443 | # If it contains results you don't want to keep, you may remove or edit it. |
---|
7444 | # |
---|
7445 | # By default, configure uses ./config.cache as the cache file, |
---|
7446 | # creating it if it does not exist already. You can give configure |
---|
7447 | # the --cache-file=FILE option to use a different cache file; that is |
---|
7448 | # what configure does when it calls configure scripts in |
---|
7449 | # subdirectories, so they share the cache. |
---|
7450 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
---|
7451 | # config.status only pays attention to the cache file if you give it the |
---|
7452 | # --recheck option to rerun configure. |
---|
7453 | # |
---|
7454 | EOF |
---|
7455 | # The following way of writing the cache mishandles newlines in values, |
---|
7456 | # but we know of no workaround that is simple, portable, and efficient. |
---|
7457 | # So, don't put newlines in cache variables' values. |
---|
7458 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
7459 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
7460 | (set) 2>&1 | |
---|
7461 | case `(ac_space=' '; set) 2>&1` in |
---|
7462 | *ac_space=\ *) |
---|
7463 | # `set' does not quote correctly, so add quotes (double-quote substitution |
---|
7464 | # turns \\\\ into \\, and sed turns \\ into \). |
---|
7465 | sed -n \ |
---|
7466 | -e "s/'/'\\\\''/g" \ |
---|
7467 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
---|
7468 | ;; |
---|
7469 | *) |
---|
7470 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
7471 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
---|
7472 | ;; |
---|
7473 | esac >> confcache |
---|
7474 | if cmp -s $cache_file confcache; then |
---|
7475 | : |
---|
7476 | else |
---|
7477 | if test -w $cache_file; then |
---|
7478 | echo "updating cache $cache_file" |
---|
7479 | cat confcache > $cache_file |
---|
7480 | else |
---|
7481 | echo "not updating unwritable cache $cache_file" |
---|
7482 | fi |
---|
7483 | fi |
---|
7484 | rm -f confcache |
---|
7485 | |
---|
7486 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
7487 | |
---|
7488 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
7489 | # Let make expand exec_prefix. |
---|
7490 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
7491 | |
---|
7492 | # Any assignment to VPATH causes Sun make to only execute |
---|
7493 | # the first set of double-colon rules, so remove it if not needed. |
---|
7494 | # If there is a colon in the path, we need to keep it. |
---|
7495 | if test "x$srcdir" = x.; then |
---|
7496 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
---|
7497 | fi |
---|
7498 | |
---|
7499 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
---|
7500 | |
---|
7501 | DEFS=-DHAVE_CONFIG_H |
---|
7502 | |
---|
7503 | # Without the "./", some shells look in PATH for config.status. |
---|
7504 | : ${CONFIG_STATUS=./config.status} |
---|
7505 | |
---|
7506 | echo creating $CONFIG_STATUS |
---|
7507 | rm -f $CONFIG_STATUS |
---|
7508 | cat > $CONFIG_STATUS <<EOF |
---|
7509 | #! /bin/sh |
---|
7510 | # Generated automatically by configure. |
---|
7511 | # Run this file to recreate the current configuration. |
---|
7512 | # This directory was configured as follows, |
---|
7513 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
---|
7514 | # |
---|
7515 | # $0 $ac_configure_args |
---|
7516 | # |
---|
7517 | # Compiler output produced by configure, useful for debugging |
---|
7518 | # configure, is in ./config.log if it exists. |
---|
7519 | |
---|
7520 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
---|
7521 | for ac_option |
---|
7522 | do |
---|
7523 | case "\$ac_option" in |
---|
7524 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
7525 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
---|
7526 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
---|
7527 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
---|
7528 | echo "$CONFIG_STATUS generated by autoconf version 2.12" |
---|
7529 | exit 0 ;; |
---|
7530 | -help | --help | --hel | --he | --h) |
---|
7531 | echo "\$ac_cs_usage"; exit 0 ;; |
---|
7532 | *) echo "\$ac_cs_usage"; exit 1 ;; |
---|
7533 | esac |
---|
7534 | done |
---|
7535 | |
---|
7536 | ac_given_srcdir=$srcdir |
---|
7537 | ac_given_INSTALL="$INSTALL" |
---|
7538 | |
---|
7539 | trap 'rm -fr `echo "Makefile adjtimed/Makefile authstuff/Makefile clockstuff/Makefile \ |
---|
7540 | include/Makefile kernel/Makefile kernel/sys/Makefile libntp/Makefile \ |
---|
7541 | libparse/Makefile ntpdate/Makefile ntpq/Makefile ntptrace/Makefile \ |
---|
7542 | parseutil/Makefile xntpd/Makefile \ |
---|
7543 | xntpdc/Makefile util/Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
---|
7544 | EOF |
---|
7545 | cat >> $CONFIG_STATUS <<EOF |
---|
7546 | |
---|
7547 | # Protect against being on the right side of a sed subst in config.status. |
---|
7548 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
---|
7549 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
---|
7550 | $ac_vpsub |
---|
7551 | $extrasub |
---|
7552 | s%@CFLAGS@%$CFLAGS%g |
---|
7553 | s%@CPPFLAGS@%$CPPFLAGS%g |
---|
7554 | s%@CXXFLAGS@%$CXXFLAGS%g |
---|
7555 | s%@DEFS@%$DEFS%g |
---|
7556 | s%@LDFLAGS@%$LDFLAGS%g |
---|
7557 | s%@LIBS@%$LIBS%g |
---|
7558 | s%@exec_prefix@%$exec_prefix%g |
---|
7559 | s%@prefix@%$prefix%g |
---|
7560 | s%@program_transform_name@%$program_transform_name%g |
---|
7561 | s%@bindir@%$bindir%g |
---|
7562 | s%@sbindir@%$sbindir%g |
---|
7563 | s%@libexecdir@%$libexecdir%g |
---|
7564 | s%@datadir@%$datadir%g |
---|
7565 | s%@sysconfdir@%$sysconfdir%g |
---|
7566 | s%@sharedstatedir@%$sharedstatedir%g |
---|
7567 | s%@localstatedir@%$localstatedir%g |
---|
7568 | s%@libdir@%$libdir%g |
---|
7569 | s%@includedir@%$includedir%g |
---|
7570 | s%@oldincludedir@%$oldincludedir%g |
---|
7571 | s%@infodir@%$infodir%g |
---|
7572 | s%@mandir@%$mandir%g |
---|
7573 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
---|
7574 | s%@INSTALL_DATA@%$INSTALL_DATA%g |
---|
7575 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
---|
7576 | s%@PACKAGE@%$PACKAGE%g |
---|
7577 | s%@VERSION@%$VERSION%g |
---|
7578 | s%@ACLOCAL@%$ACLOCAL%g |
---|
7579 | s%@AUTOCONF@%$AUTOCONF%g |
---|
7580 | s%@AUTOMAKE@%$AUTOMAKE%g |
---|
7581 | s%@AUTOHEADER@%$AUTOHEADER%g |
---|
7582 | s%@MAKEINFO@%$MAKEINFO%g |
---|
7583 | s%@SET_MAKE@%$SET_MAKE%g |
---|
7584 | s%@host@%$host%g |
---|
7585 | s%@host_alias@%$host_alias%g |
---|
7586 | s%@host_cpu@%$host_cpu%g |
---|
7587 | s%@host_vendor@%$host_vendor%g |
---|
7588 | s%@host_os@%$host_os%g |
---|
7589 | s%@target@%$target%g |
---|
7590 | s%@target_alias@%$target_alias%g |
---|
7591 | s%@target_cpu@%$target_cpu%g |
---|
7592 | s%@target_vendor@%$target_vendor%g |
---|
7593 | s%@target_os@%$target_os%g |
---|
7594 | s%@build@%$build%g |
---|
7595 | s%@build_alias@%$build_alias%g |
---|
7596 | s%@build_cpu@%$build_cpu%g |
---|
7597 | s%@build_vendor@%$build_vendor%g |
---|
7598 | s%@build_os@%$build_os%g |
---|
7599 | s%@CC@%$CC%g |
---|
7600 | s%@CPP@%$CPP%g |
---|
7601 | s%@AWK@%$AWK%g |
---|
7602 | s%@LN_S@%$LN_S%g |
---|
7603 | s%@RANLIB@%$RANLIB%g |
---|
7604 | s%@AUTHCERT@%$AUTHCERT%g |
---|
7605 | s%@AUTHSPEED@%$AUTHSPEED%g |
---|
7606 | s%@MD5DRIVER@%$MD5DRIVER%g |
---|
7607 | s%@KEYPARITY@%$KEYPARITY%g |
---|
7608 | s%@MAKEIPFP@%$MAKEIPFP%g |
---|
7609 | s%@MAKEPC1@%$MAKEPC1%g |
---|
7610 | s%@MAKEPC2@%$MAKEPC2%g |
---|
7611 | s%@MAKESP@%$MAKESP%g |
---|
7612 | s%@MKRANDKEYS@%$MKRANDKEYS%g |
---|
7613 | s%@OMAKEIPFP@%$OMAKEIPFP%g |
---|
7614 | s%@UNIXCERT@%$UNIXCERT%g |
---|
7615 | s%@LIBPARSE@%$LIBPARSE%g |
---|
7616 | s%@MAKE_LIBPARSE@%$MAKE_LIBPARSE%g |
---|
7617 | s%@MAKE_LIBPARSE_KERNEL@%$MAKE_LIBPARSE_KERNEL%g |
---|
7618 | s%@TESTDCF@%$TESTDCF%g |
---|
7619 | s%@DCFD@%$DCFD%g |
---|
7620 | s%@MAKE_PARSEKMODULE@%$MAKE_PARSEKMODULE%g |
---|
7621 | s%@PROPDELAY@%$PROPDELAY%g |
---|
7622 | s%@CHUTEST@%$CHUTEST%g |
---|
7623 | s%@CLKTEST@%$CLKTEST%g |
---|
7624 | s%@MAKE_ADJTIMED@%$MAKE_ADJTIMED%g |
---|
7625 | s%@MAKE_TICKADJ@%$MAKE_TICKADJ%g |
---|
7626 | s%@MAKE_NTPTIME@%$MAKE_NTPTIME%g |
---|
7627 | s%@lbindir@%$lbindir%g |
---|
7628 | s%@lsbindir@%$lsbindir%g |
---|
7629 | |
---|
7630 | CEOF |
---|
7631 | EOF |
---|
7632 | |
---|
7633 | cat >> $CONFIG_STATUS <<\EOF |
---|
7634 | |
---|
7635 | # Split the substitutions into bite-sized pieces for seds with |
---|
7636 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
7637 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
---|
7638 | ac_file=1 # Number of current file. |
---|
7639 | ac_beg=1 # First line for current file. |
---|
7640 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
---|
7641 | ac_more_lines=: |
---|
7642 | ac_sed_cmds="" |
---|
7643 | while $ac_more_lines; do |
---|
7644 | if test $ac_beg -gt 1; then |
---|
7645 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
7646 | else |
---|
7647 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
7648 | fi |
---|
7649 | if test ! -s conftest.s$ac_file; then |
---|
7650 | ac_more_lines=false |
---|
7651 | rm -f conftest.s$ac_file |
---|
7652 | else |
---|
7653 | if test -z "$ac_sed_cmds"; then |
---|
7654 | ac_sed_cmds="sed -f conftest.s$ac_file" |
---|
7655 | else |
---|
7656 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
---|
7657 | fi |
---|
7658 | ac_file=`expr $ac_file + 1` |
---|
7659 | ac_beg=$ac_end |
---|
7660 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
---|
7661 | fi |
---|
7662 | done |
---|
7663 | if test -z "$ac_sed_cmds"; then |
---|
7664 | ac_sed_cmds=cat |
---|
7665 | fi |
---|
7666 | EOF |
---|
7667 | |
---|
7668 | cat >> $CONFIG_STATUS <<EOF |
---|
7669 | |
---|
7670 | CONFIG_FILES=\${CONFIG_FILES-"Makefile adjtimed/Makefile authstuff/Makefile clockstuff/Makefile \ |
---|
7671 | include/Makefile kernel/Makefile kernel/sys/Makefile libntp/Makefile \ |
---|
7672 | libparse/Makefile ntpdate/Makefile ntpq/Makefile ntptrace/Makefile \ |
---|
7673 | parseutil/Makefile xntpd/Makefile \ |
---|
7674 | xntpdc/Makefile util/Makefile"} |
---|
7675 | EOF |
---|
7676 | cat >> $CONFIG_STATUS <<\EOF |
---|
7677 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
---|
7678 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
7679 | case "$ac_file" in |
---|
7680 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
7681 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
7682 | *) ac_file_in="${ac_file}.in" ;; |
---|
7683 | esac |
---|
7684 | |
---|
7685 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
---|
7686 | |
---|
7687 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
7688 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
7689 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
7690 | # The file is in a subdirectory. |
---|
7691 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
7692 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
---|
7693 | # A "../" for each directory in $ac_dir_suffix. |
---|
7694 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
---|
7695 | else |
---|
7696 | ac_dir_suffix= ac_dots= |
---|
7697 | fi |
---|
7698 | |
---|
7699 | case "$ac_given_srcdir" in |
---|
7700 | .) srcdir=. |
---|
7701 | if test -z "$ac_dots"; then top_srcdir=. |
---|
7702 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
---|
7703 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
---|
7704 | *) # Relative path. |
---|
7705 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
---|
7706 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
7707 | esac |
---|
7708 | |
---|
7709 | case "$ac_given_INSTALL" in |
---|
7710 | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
---|
7711 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
---|
7712 | esac |
---|
7713 | |
---|
7714 | echo creating "$ac_file" |
---|
7715 | rm -f "$ac_file" |
---|
7716 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
---|
7717 | case "$ac_file" in |
---|
7718 | *Makefile*) ac_comsub="1i\\ |
---|
7719 | # $configure_input" ;; |
---|
7720 | *) ac_comsub= ;; |
---|
7721 | esac |
---|
7722 | |
---|
7723 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
7724 | sed -e "$ac_comsub |
---|
7725 | s%@configure_input@%$configure_input%g |
---|
7726 | s%@srcdir@%$srcdir%g |
---|
7727 | s%@top_srcdir@%$top_srcdir%g |
---|
7728 | s%@INSTALL@%$INSTALL%g |
---|
7729 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
---|
7730 | fi; done |
---|
7731 | rm -f conftest.s* |
---|
7732 | |
---|
7733 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where |
---|
7734 | # NAME is the cpp macro being defined and VALUE is the value it is being given. |
---|
7735 | # |
---|
7736 | # ac_d sets the value in "#define NAME VALUE" lines. |
---|
7737 | ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
---|
7738 | ac_dB='\([ ][ ]*\)[^ ]*%\1#\2' |
---|
7739 | ac_dC='\3' |
---|
7740 | ac_dD='%g' |
---|
7741 | # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE". |
---|
7742 | ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
7743 | ac_uB='\([ ]\)%\1#\2define\3' |
---|
7744 | ac_uC=' ' |
---|
7745 | ac_uD='\4%g' |
---|
7746 | # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE". |
---|
7747 | ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' |
---|
7748 | ac_eB='$%\1#\2define\3' |
---|
7749 | ac_eC=' ' |
---|
7750 | ac_eD='%g' |
---|
7751 | |
---|
7752 | if test "${CONFIG_HEADERS+set}" != set; then |
---|
7753 | EOF |
---|
7754 | cat >> $CONFIG_STATUS <<EOF |
---|
7755 | CONFIG_HEADERS="config.h" |
---|
7756 | EOF |
---|
7757 | cat >> $CONFIG_STATUS <<\EOF |
---|
7758 | fi |
---|
7759 | for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then |
---|
7760 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
7761 | case "$ac_file" in |
---|
7762 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
7763 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
7764 | *) ac_file_in="${ac_file}.in" ;; |
---|
7765 | esac |
---|
7766 | |
---|
7767 | echo creating $ac_file |
---|
7768 | |
---|
7769 | rm -f conftest.frag conftest.in conftest.out |
---|
7770 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
7771 | cat $ac_file_inputs > conftest.in |
---|
7772 | |
---|
7773 | EOF |
---|
7774 | |
---|
7775 | # Transform confdefs.h into a sed script conftest.vals that substitutes |
---|
7776 | # the proper values into config.h.in to produce config.h. And first: |
---|
7777 | # Protect against being on the right side of a sed subst in config.status. |
---|
7778 | # Protect against being in an unquoted here document in config.status. |
---|
7779 | rm -f conftest.vals |
---|
7780 | cat > conftest.hdr <<\EOF |
---|
7781 | s/[\\&%]/\\&/g |
---|
7782 | s%[\\$`]%\\&%g |
---|
7783 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp |
---|
7784 | s%ac_d%ac_u%gp |
---|
7785 | s%ac_u%ac_e%gp |
---|
7786 | EOF |
---|
7787 | sed -n -f conftest.hdr confdefs.h > conftest.vals |
---|
7788 | rm -f conftest.hdr |
---|
7789 | |
---|
7790 | # This sed command replaces #undef with comments. This is necessary, for |
---|
7791 | # example, in the case of _POSIX_SOURCE, which is predefined and required |
---|
7792 | # on some systems where configure will not decide to define it. |
---|
7793 | cat >> conftest.vals <<\EOF |
---|
7794 | s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */% |
---|
7795 | EOF |
---|
7796 | |
---|
7797 | # Break up conftest.vals because some shells have a limit on |
---|
7798 | # the size of here documents, and old seds have small limits too. |
---|
7799 | |
---|
7800 | rm -f conftest.tail |
---|
7801 | while : |
---|
7802 | do |
---|
7803 | ac_lines=`grep -c . conftest.vals` |
---|
7804 | # grep -c gives empty output for an empty file on some AIX systems. |
---|
7805 | if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi |
---|
7806 | # Write a limited-size here document to conftest.frag. |
---|
7807 | echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS |
---|
7808 | sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS |
---|
7809 | echo 'CEOF |
---|
7810 | sed -f conftest.frag conftest.in > conftest.out |
---|
7811 | rm -f conftest.in |
---|
7812 | mv conftest.out conftest.in |
---|
7813 | ' >> $CONFIG_STATUS |
---|
7814 | sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail |
---|
7815 | rm -f conftest.vals |
---|
7816 | mv conftest.tail conftest.vals |
---|
7817 | done |
---|
7818 | rm -f conftest.vals |
---|
7819 | |
---|
7820 | cat >> $CONFIG_STATUS <<\EOF |
---|
7821 | rm -f conftest.frag conftest.h |
---|
7822 | echo "/* $ac_file. Generated automatically by configure. */" > conftest.h |
---|
7823 | cat conftest.in >> conftest.h |
---|
7824 | rm -f conftest.in |
---|
7825 | if cmp -s $ac_file conftest.h 2>/dev/null; then |
---|
7826 | echo "$ac_file is unchanged" |
---|
7827 | rm -f conftest.h |
---|
7828 | else |
---|
7829 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
7830 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
7831 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
7832 | # The file is in a subdirectory. |
---|
7833 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
7834 | fi |
---|
7835 | rm -f $ac_file |
---|
7836 | mv conftest.h $ac_file |
---|
7837 | fi |
---|
7838 | fi; done |
---|
7839 | |
---|
7840 | EOF |
---|
7841 | cat >> $CONFIG_STATUS <<EOF |
---|
7842 | |
---|
7843 | |
---|
7844 | EOF |
---|
7845 | cat >> $CONFIG_STATUS <<\EOF |
---|
7846 | test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h |
---|
7847 | \ |
---|
7848 | test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h |
---|
7849 | exit 0 |
---|
7850 | EOF |
---|
7851 | chmod +x $CONFIG_STATUS |
---|
7852 | rm -fr confdefs* $ac_clean_files |
---|
7853 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
---|
7854 | |
---|
7855 | |
---|