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