]>
Commit | Line | Data |
---|---|---|
f6649e03 | 1 | #! /bin/sh |
f6649e03 | 2 | # Guess values for system-dependent variables and create Makefiles. |
b457acc7 | 3 | # Generated by Autoconf 2.52. |
f6649e03 | 4 | # |
10891472 | 5 | # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 |
6 | # Free Software Foundation, Inc. | |
f6649e03 | 7 | # This configure script is free software; the Free Software Foundation |
8 | # gives unlimited permission to copy, distribute and modify it. | |
9 | ||
b457acc7 | 10 | # Avoid depending upon Character Ranges. |
11 | as_cr_letters='abcdefghijklmnopqrstuvwxyz' | |
12 | as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' | |
13 | as_cr_Letters=$as_cr_letters$as_cr_LETTERS | |
14 | as_cr_digits='0123456789' | |
15 | as_cr_alnum=$as_cr_Letters$as_cr_digits | |
10891472 | 16 | |
b457acc7 | 17 | # Sed expression to map a string onto a valid variable name. |
18 | as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" | |
19 | ||
20 | # Sed expression to map a string onto a valid CPP name. | |
21 | as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" | |
10891472 | 22 | |
23 | # Be Bourne compatible | |
24 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
25 | emulate sh | |
26 | NULLCMD=: | |
27 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
28 | set -o posix | |
29 | fi | |
30 | ||
10891472 | 31 | # Name of the executable. |
b457acc7 | 32 | as_me=`echo "$0" |sed 's,.*[\\/],,'` |
10891472 | 33 | |
34 | if expr a : '\(a\)' >/dev/null 2>&1; then | |
35 | as_expr=expr | |
36 | else | |
37 | as_expr=false | |
38 | fi | |
39 | ||
40 | rm -f conf$$ conf$$.exe conf$$.file | |
41 | echo >conf$$.file | |
42 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
43 | # We could just check for DJGPP; but this test a) works b) is more generic | |
44 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
45 | if test -f conf$$.exe; then | |
46 | # Don't use ln at all; we don't have any links | |
47 | as_ln_s='cp -p' | |
48 | else | |
49 | as_ln_s='ln -s' | |
50 | fi | |
51 | elif ln conf$$.file conf$$ 2>/dev/null; then | |
52 | as_ln_s=ln | |
53 | else | |
54 | as_ln_s='cp -p' | |
55 | fi | |
56 | rm -f conf$$ conf$$.exe conf$$.file | |
57 | ||
58 | as_executable_p="test -f" | |
59 | ||
b457acc7 | 60 | # Support unset when possible. |
61 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
62 | as_unset=unset | |
63 | else | |
64 | as_unset=false | |
65 | fi | |
10891472 | 66 | |
b457acc7 | 67 | # NLS nuisances. |
68 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | |
69 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | |
70 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | |
71 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | |
72 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | |
73 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | |
74 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | |
75 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | |
10891472 | 76 | |
77 | # IFS | |
78 | # We need space, tab and new line, in precisely that order. | |
79 | as_nl=' | |
80 | ' | |
81 | IFS=" $as_nl" | |
82 | ||
83 | # CDPATH. | |
b457acc7 | 84 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
10891472 | 85 | |
86 | # Name of the host. | |
87 | # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, | |
88 | # so uname gets run too. | |
89 | ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` | |
90 | ||
91 | exec 6>&1 | |
92 | ||
93 | # | |
94 | # Initializations. | |
95 | # | |
f6649e03 | 96 | ac_default_prefix=/usr/local |
10891472 | 97 | cross_compiling=no |
98 | subdirs= | |
b457acc7 | 99 | MFLAGS= MAKEFLAGS= |
10891472 | 100 | SHELL=${CONFIG_SHELL-/bin/sh} |
101 | ||
102 | # Maximum number of lines to put in a shell here document. | |
103 | # This variable seems obsolete. It should probably be removed, and | |
104 | # only ac_max_sed_lines should be used. | |
105 | : ${ac_max_here_lines=38} | |
106 | ||
107 | ac_unique_file="opercmd.h" | |
108 | # Factoring default headers for most tests. | |
109 | ac_includes_default="\ | |
110 | #include <stdio.h> | |
111 | #if HAVE_SYS_TYPES_H | |
112 | # include <sys/types.h> | |
113 | #endif | |
114 | #if HAVE_SYS_STAT_H | |
115 | # include <sys/stat.h> | |
116 | #endif | |
117 | #if STDC_HEADERS | |
118 | # include <stdlib.h> | |
119 | # include <stddef.h> | |
120 | #else | |
121 | # if HAVE_STDLIB_H | |
122 | # include <stdlib.h> | |
123 | # endif | |
124 | #endif | |
125 | #if HAVE_STRING_H | |
126 | # if !STDC_HEADERS && HAVE_MEMORY_H | |
127 | # include <memory.h> | |
128 | # endif | |
129 | # include <string.h> | |
130 | #endif | |
131 | #if HAVE_STRINGS_H | |
132 | # include <strings.h> | |
133 | #endif | |
134 | #if HAVE_INTTYPES_H | |
135 | # include <inttypes.h> | |
136 | #else | |
137 | # if HAVE_STDINT_H | |
138 | # include <stdint.h> | |
139 | # endif | |
140 | #endif | |
141 | #if HAVE_UNISTD_H | |
142 | # include <unistd.h> | |
143 | #endif" | |
f6649e03 | 144 | |
145 | # Initialize some variables set by options. | |
10891472 | 146 | ac_init_help= |
147 | ac_init_version=false | |
f6649e03 | 148 | # The variables have the same names as the options, with |
149 | # dashes changed to underlines. | |
10891472 | 150 | cache_file=/dev/null |
f6649e03 | 151 | exec_prefix=NONE |
f6649e03 | 152 | no_create= |
f6649e03 | 153 | no_recursion= |
154 | prefix=NONE | |
155 | program_prefix=NONE | |
156 | program_suffix=NONE | |
157 | program_transform_name=s,x,x, | |
158 | silent= | |
159 | site= | |
160 | srcdir= | |
f6649e03 | 161 | verbose= |
162 | x_includes=NONE | |
163 | x_libraries=NONE | |
10891472 | 164 | |
165 | # Installation directory options. | |
166 | # These are left unexpanded so users can "make install exec_prefix=/foo" | |
167 | # and all the variables that are supposed to be based on exec_prefix | |
168 | # by default will actually change. | |
169 | # Use braces instead of parens because sh, perl, etc. also accept them. | |
f6649e03 | 170 | bindir='${exec_prefix}/bin' |
171 | sbindir='${exec_prefix}/sbin' | |
172 | libexecdir='${exec_prefix}/libexec' | |
173 | datadir='${prefix}/share' | |
174 | sysconfdir='${prefix}/etc' | |
175 | sharedstatedir='${prefix}/com' | |
176 | localstatedir='${prefix}/var' | |
177 | libdir='${exec_prefix}/lib' | |
178 | includedir='${prefix}/include' | |
179 | oldincludedir='/usr/include' | |
180 | infodir='${prefix}/info' | |
181 | mandir='${prefix}/man' | |
182 | ||
10891472 | 183 | # Identity of this package. |
184 | PACKAGE_NAME= | |
185 | PACKAGE_TARNAME= | |
186 | PACKAGE_VERSION= | |
187 | PACKAGE_STRING= | |
188 | PACKAGE_BUGREPORT= | |
f6649e03 | 189 | |
190 | ac_prev= | |
191 | for ac_option | |
192 | do | |
f6649e03 | 193 | # If the previous option needs an argument, assign it. |
194 | if test -n "$ac_prev"; then | |
195 | eval "$ac_prev=\$ac_option" | |
196 | ac_prev= | |
197 | continue | |
198 | fi | |
199 | ||
10891472 | 200 | ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` |
f6649e03 | 201 | |
202 | # Accept the important Cygnus configure options, so we can diagnose typos. | |
203 | ||
10891472 | 204 | case $ac_option in |
f6649e03 | 205 | |
206 | -bindir | --bindir | --bindi | --bind | --bin | --bi) | |
207 | ac_prev=bindir ;; | |
208 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) | |
10891472 | 209 | bindir=$ac_optarg ;; |
f6649e03 | 210 | |
211 | -build | --build | --buil | --bui | --bu) | |
10891472 | 212 | ac_prev=build_alias ;; |
f6649e03 | 213 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
10891472 | 214 | build_alias=$ac_optarg ;; |
f6649e03 | 215 | |
216 | -cache-file | --cache-file | --cache-fil | --cache-fi \ | |
217 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) | |
218 | ac_prev=cache_file ;; | |
219 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ | |
220 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) | |
10891472 | 221 | cache_file=$ac_optarg ;; |
222 | ||
223 | --config-cache | -C) | |
224 | cache_file=config.cache ;; | |
f6649e03 | 225 | |
226 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) | |
227 | ac_prev=datadir ;; | |
228 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ | |
229 | | --da=*) | |
10891472 | 230 | datadir=$ac_optarg ;; |
f6649e03 | 231 | |
232 | -disable-* | --disable-*) | |
10891472 | 233 | ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` |
f6649e03 | 234 | # Reject names that are not valid shell variable names. |
10891472 | 235 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
236 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
237 | { (exit 1); exit 1; }; } | |
238 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
239 | eval "enable_$ac_feature=no" ;; | |
f6649e03 | 240 | |
241 | -enable-* | --enable-*) | |
10891472 | 242 | ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` |
f6649e03 | 243 | # Reject names that are not valid shell variable names. |
10891472 | 244 | expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && |
245 | { echo "$as_me: error: invalid feature name: $ac_feature" >&2 | |
246 | { (exit 1); exit 1; }; } | |
247 | ac_feature=`echo $ac_feature | sed 's/-/_/g'` | |
248 | case $ac_option in | |
249 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
f6649e03 | 250 | *) ac_optarg=yes ;; |
251 | esac | |
10891472 | 252 | eval "enable_$ac_feature='$ac_optarg'" ;; |
f6649e03 | 253 | |
254 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ | |
255 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ | |
256 | | --exec | --exe | --ex) | |
257 | ac_prev=exec_prefix ;; | |
258 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ | |
259 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ | |
260 | | --exec=* | --exe=* | --ex=*) | |
10891472 | 261 | exec_prefix=$ac_optarg ;; |
f6649e03 | 262 | |
263 | -gas | --gas | --ga | --g) | |
264 | # Obsolete; use --with-gas. | |
265 | with_gas=yes ;; | |
266 | ||
10891472 | 267 | -help | --help | --hel | --he | -h) |
268 | ac_init_help=long ;; | |
269 | -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) | |
270 | ac_init_help=recursive ;; | |
271 | -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) | |
272 | ac_init_help=short ;; | |
f6649e03 | 273 | |
274 | -host | --host | --hos | --ho) | |
10891472 | 275 | ac_prev=host_alias ;; |
f6649e03 | 276 | -host=* | --host=* | --hos=* | --ho=*) |
10891472 | 277 | host_alias=$ac_optarg ;; |
f6649e03 | 278 | |
279 | -includedir | --includedir | --includedi | --included | --include \ | |
280 | | --includ | --inclu | --incl | --inc) | |
281 | ac_prev=includedir ;; | |
282 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ | |
283 | | --includ=* | --inclu=* | --incl=* | --inc=*) | |
10891472 | 284 | includedir=$ac_optarg ;; |
f6649e03 | 285 | |
286 | -infodir | --infodir | --infodi | --infod | --info | --inf) | |
287 | ac_prev=infodir ;; | |
288 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) | |
10891472 | 289 | infodir=$ac_optarg ;; |
f6649e03 | 290 | |
291 | -libdir | --libdir | --libdi | --libd) | |
292 | ac_prev=libdir ;; | |
293 | -libdir=* | --libdir=* | --libdi=* | --libd=*) | |
10891472 | 294 | libdir=$ac_optarg ;; |
f6649e03 | 295 | |
296 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ | |
297 | | --libexe | --libex | --libe) | |
298 | ac_prev=libexecdir ;; | |
299 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ | |
300 | | --libexe=* | --libex=* | --libe=*) | |
10891472 | 301 | libexecdir=$ac_optarg ;; |
f6649e03 | 302 | |
303 | -localstatedir | --localstatedir | --localstatedi | --localstated \ | |
304 | | --localstate | --localstat | --localsta | --localst \ | |
305 | | --locals | --local | --loca | --loc | --lo) | |
306 | ac_prev=localstatedir ;; | |
307 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ | |
308 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ | |
309 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) | |
10891472 | 310 | localstatedir=$ac_optarg ;; |
f6649e03 | 311 | |
312 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) | |
313 | ac_prev=mandir ;; | |
314 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) | |
10891472 | 315 | mandir=$ac_optarg ;; |
f6649e03 | 316 | |
317 | -nfp | --nfp | --nf) | |
318 | # Obsolete; use --without-fp. | |
319 | with_fp=no ;; | |
320 | ||
321 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
322 | | --no-cr | --no-c) | |
323 | no_create=yes ;; | |
324 | ||
325 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
326 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) | |
327 | no_recursion=yes ;; | |
328 | ||
329 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ | |
330 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ | |
331 | | --oldin | --oldi | --old | --ol | --o) | |
332 | ac_prev=oldincludedir ;; | |
333 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ | |
334 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ | |
335 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) | |
10891472 | 336 | oldincludedir=$ac_optarg ;; |
f6649e03 | 337 | |
338 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) | |
339 | ac_prev=prefix ;; | |
340 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) | |
10891472 | 341 | prefix=$ac_optarg ;; |
f6649e03 | 342 | |
343 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ | |
344 | | --program-pre | --program-pr | --program-p) | |
345 | ac_prev=program_prefix ;; | |
346 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ | |
347 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) | |
10891472 | 348 | program_prefix=$ac_optarg ;; |
f6649e03 | 349 | |
350 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ | |
351 | | --program-suf | --program-su | --program-s) | |
352 | ac_prev=program_suffix ;; | |
353 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ | |
354 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) | |
10891472 | 355 | program_suffix=$ac_optarg ;; |
f6649e03 | 356 | |
357 | -program-transform-name | --program-transform-name \ | |
358 | | --program-transform-nam | --program-transform-na \ | |
359 | | --program-transform-n | --program-transform- \ | |
360 | | --program-transform | --program-transfor \ | |
361 | | --program-transfo | --program-transf \ | |
362 | | --program-trans | --program-tran \ | |
363 | | --progr-tra | --program-tr | --program-t) | |
364 | ac_prev=program_transform_name ;; | |
365 | -program-transform-name=* | --program-transform-name=* \ | |
366 | | --program-transform-nam=* | --program-transform-na=* \ | |
367 | | --program-transform-n=* | --program-transform-=* \ | |
368 | | --program-transform=* | --program-transfor=* \ | |
369 | | --program-transfo=* | --program-transf=* \ | |
370 | | --program-trans=* | --program-tran=* \ | |
371 | | --progr-tra=* | --program-tr=* | --program-t=*) | |
10891472 | 372 | program_transform_name=$ac_optarg ;; |
f6649e03 | 373 | |
374 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ | |
375 | | -silent | --silent | --silen | --sile | --sil) | |
376 | silent=yes ;; | |
377 | ||
378 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) | |
379 | ac_prev=sbindir ;; | |
380 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ | |
381 | | --sbi=* | --sb=*) | |
10891472 | 382 | sbindir=$ac_optarg ;; |
f6649e03 | 383 | |
384 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ | |
385 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ | |
386 | | --sharedst | --shareds | --shared | --share | --shar \ | |
387 | | --sha | --sh) | |
388 | ac_prev=sharedstatedir ;; | |
389 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ | |
390 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ | |
391 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ | |
392 | | --sha=* | --sh=*) | |
10891472 | 393 | sharedstatedir=$ac_optarg ;; |
f6649e03 | 394 | |
395 | -site | --site | --sit) | |
396 | ac_prev=site ;; | |
397 | -site=* | --site=* | --sit=*) | |
10891472 | 398 | site=$ac_optarg ;; |
f6649e03 | 399 | |
400 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) | |
401 | ac_prev=srcdir ;; | |
402 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) | |
10891472 | 403 | srcdir=$ac_optarg ;; |
f6649e03 | 404 | |
405 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ | |
406 | | --syscon | --sysco | --sysc | --sys | --sy) | |
407 | ac_prev=sysconfdir ;; | |
408 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ | |
409 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) | |
10891472 | 410 | sysconfdir=$ac_optarg ;; |
f6649e03 | 411 | |
412 | -target | --target | --targe | --targ | --tar | --ta | --t) | |
10891472 | 413 | ac_prev=target_alias ;; |
f6649e03 | 414 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
10891472 | 415 | target_alias=$ac_optarg ;; |
f6649e03 | 416 | |
417 | -v | -verbose | --verbose | --verbos | --verbo | --verb) | |
418 | verbose=yes ;; | |
419 | ||
10891472 | 420 | -version | --version | --versio | --versi | --vers | -V) |
421 | ac_init_version=: ;; | |
f6649e03 | 422 | |
423 | -with-* | --with-*) | |
10891472 | 424 | ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` |
f6649e03 | 425 | # Reject names that are not valid shell variable names. |
10891472 | 426 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
427 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
428 | { (exit 1); exit 1; }; } | |
f6649e03 | 429 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
10891472 | 430 | case $ac_option in |
431 | *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; | |
f6649e03 | 432 | *) ac_optarg=yes ;; |
433 | esac | |
10891472 | 434 | eval "with_$ac_package='$ac_optarg'" ;; |
f6649e03 | 435 | |
436 | -without-* | --without-*) | |
10891472 | 437 | ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` |
f6649e03 | 438 | # Reject names that are not valid shell variable names. |
10891472 | 439 | expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && |
440 | { echo "$as_me: error: invalid package name: $ac_package" >&2 | |
441 | { (exit 1); exit 1; }; } | |
442 | ac_package=`echo $ac_package | sed 's/-/_/g'` | |
443 | eval "with_$ac_package=no" ;; | |
f6649e03 | 444 | |
445 | --x) | |
446 | # Obsolete; use --with-x. | |
447 | with_x=yes ;; | |
448 | ||
449 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ | |
450 | | --x-incl | --x-inc | --x-in | --x-i) | |
451 | ac_prev=x_includes ;; | |
452 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ | |
453 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) | |
10891472 | 454 | x_includes=$ac_optarg ;; |
f6649e03 | 455 | |
456 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ | |
457 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) | |
458 | ac_prev=x_libraries ;; | |
459 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ | |
460 | | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) | |
10891472 | 461 | x_libraries=$ac_optarg ;; |
f6649e03 | 462 | |
10891472 | 463 | -*) { echo "$as_me: error: unrecognized option: $ac_option |
464 | Try \`$0 --help' for more information." >&2 | |
465 | { (exit 1); exit 1; }; } | |
f6649e03 | 466 | ;; |
467 | ||
10891472 | 468 | *=*) |
469 | ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` | |
470 | # Reject names that are not valid shell variable names. | |
471 | expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && | |
472 | { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 | |
473 | { (exit 1); exit 1; }; } | |
474 | ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` | |
475 | eval "$ac_envvar='$ac_optarg'" | |
476 | export $ac_envvar ;; | |
477 | ||
f6649e03 | 478 | *) |
10891472 | 479 | # FIXME: should be removed in autoconf 3.0. |
480 | echo "$as_me: WARNING: you should use --build, --host, --target" >&2 | |
481 | expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && | |
482 | echo "$as_me: WARNING: invalid host type: $ac_option" >&2 | |
483 | : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} | |
f6649e03 | 484 | ;; |
485 | ||
486 | esac | |
487 | done | |
488 | ||
489 | if test -n "$ac_prev"; then | |
10891472 | 490 | ac_option=--`echo $ac_prev | sed 's/_/-/g'` |
491 | { echo "$as_me: error: missing argument to $ac_option" >&2 | |
492 | { (exit 1); exit 1; }; } | |
f6649e03 | 493 | fi |
f6649e03 | 494 | |
10891472 | 495 | # Be sure to have absolute paths. |
496 | for ac_var in exec_prefix prefix | |
497 | do | |
498 | eval ac_val=$`echo $ac_var` | |
499 | case $ac_val in | |
500 | [\\/$]* | ?:[\\/]* | NONE | '' ) ;; | |
501 | *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | |
502 | { (exit 1); exit 1; }; };; | |
503 | esac | |
504 | done | |
f6649e03 | 505 | |
10891472 | 506 | # Be sure to have absolute paths. |
507 | for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ | |
508 | localstatedir libdir includedir oldincludedir infodir mandir | |
f6649e03 | 509 | do |
10891472 | 510 | eval ac_val=$`echo $ac_var` |
511 | case $ac_val in | |
512 | [\\/$]* | ?:[\\/]* ) ;; | |
513 | *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2 | |
514 | { (exit 1); exit 1; }; };; | |
f6649e03 | 515 | esac |
516 | done | |
517 | ||
10891472 | 518 | # There might be people who depend on the old broken behavior: `$host' |
519 | # used to hold the argument of --host etc. | |
520 | build=$build_alias | |
521 | host=$host_alias | |
522 | target=$target_alias | |
523 | ||
524 | # FIXME: should be removed in autoconf 3.0. | |
525 | if test "x$host_alias" != x; then | |
526 | if test "x$build_alias" = x; then | |
527 | cross_compiling=maybe | |
528 | echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. | |
529 | If a cross compiler is detected then cross compile mode will be used." >&2 | |
530 | elif test "x$build_alias" != "x$host_alias"; then | |
531 | cross_compiling=yes | |
532 | fi | |
533 | fi | |
f6649e03 | 534 | |
10891472 | 535 | ac_tool_prefix= |
536 | test -n "$host_alias" && ac_tool_prefix=$host_alias- | |
f6649e03 | 537 | |
10891472 | 538 | test "$silent" = yes && exec 6>/dev/null |
f6649e03 | 539 | |
540 | # Find the source files, if location was not specified. | |
541 | if test -z "$srcdir"; then | |
542 | ac_srcdir_defaulted=yes | |
543 | # Try the directory containing this script, then its parent. | |
b457acc7 | 544 | ac_prog=$0 |
545 | ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'` | |
546 | test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. | |
f6649e03 | 547 | srcdir=$ac_confdir |
548 | if test ! -r $srcdir/$ac_unique_file; then | |
549 | srcdir=.. | |
550 | fi | |
551 | else | |
552 | ac_srcdir_defaulted=no | |
553 | fi | |
554 | if test ! -r $srcdir/$ac_unique_file; then | |
555 | if test "$ac_srcdir_defaulted" = yes; then | |
b457acc7 | 556 | { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2 |
10891472 | 557 | { (exit 1); exit 1; }; } |
f6649e03 | 558 | else |
b457acc7 | 559 | { echo "$as_me: error: cannot find sources in $srcdir" >&2 |
10891472 | 560 | { (exit 1); exit 1; }; } |
f6649e03 | 561 | fi |
562 | fi | |
10891472 | 563 | srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` |
564 | ac_env_build_alias_set=${build_alias+set} | |
565 | ac_env_build_alias_value=$build_alias | |
566 | ac_cv_env_build_alias_set=${build_alias+set} | |
567 | ac_cv_env_build_alias_value=$build_alias | |
568 | ac_env_host_alias_set=${host_alias+set} | |
569 | ac_env_host_alias_value=$host_alias | |
570 | ac_cv_env_host_alias_set=${host_alias+set} | |
571 | ac_cv_env_host_alias_value=$host_alias | |
572 | ac_env_target_alias_set=${target_alias+set} | |
573 | ac_env_target_alias_value=$target_alias | |
574 | ac_cv_env_target_alias_set=${target_alias+set} | |
575 | ac_cv_env_target_alias_value=$target_alias | |
576 | ac_env_CC_set=${CC+set} | |
577 | ac_env_CC_value=$CC | |
578 | ac_cv_env_CC_set=${CC+set} | |
579 | ac_cv_env_CC_value=$CC | |
580 | ac_env_CFLAGS_set=${CFLAGS+set} | |
581 | ac_env_CFLAGS_value=$CFLAGS | |
582 | ac_cv_env_CFLAGS_set=${CFLAGS+set} | |
583 | ac_cv_env_CFLAGS_value=$CFLAGS | |
584 | ac_env_LDFLAGS_set=${LDFLAGS+set} | |
585 | ac_env_LDFLAGS_value=$LDFLAGS | |
586 | ac_cv_env_LDFLAGS_set=${LDFLAGS+set} | |
587 | ac_cv_env_LDFLAGS_value=$LDFLAGS | |
588 | ac_env_CPPFLAGS_set=${CPPFLAGS+set} | |
589 | ac_env_CPPFLAGS_value=$CPPFLAGS | |
590 | ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} | |
591 | ac_cv_env_CPPFLAGS_value=$CPPFLAGS | |
592 | ac_env_CPP_set=${CPP+set} | |
593 | ac_env_CPP_value=$CPP | |
594 | ac_cv_env_CPP_set=${CPP+set} | |
595 | ac_cv_env_CPP_value=$CPP | |
596 | ||
597 | # | |
598 | # Report the --help message. | |
599 | # | |
600 | if test "$ac_init_help" = "long"; then | |
601 | # Omit some internal or obsolete options to make the list less imposing. | |
602 | # This message is too long to be a string in the A/UX 3.1 sh. | |
b457acc7 | 603 | cat <<EOF |
10891472 | 604 | \`configure' configures this package to adapt to many kinds of systems. |
605 | ||
606 | Usage: $0 [OPTION]... [VAR=VALUE]... | |
607 | ||
608 | To assign environment variables (e.g., CC, CFLAGS...), specify them as | |
609 | VAR=VALUE. See below for descriptions of some of the useful variables. | |
610 | ||
611 | Defaults for the options are specified in brackets. | |
612 | ||
613 | Configuration: | |
614 | -h, --help display this help and exit | |
615 | --help=short display options specific to this package | |
616 | --help=recursive display the short help of all the included packages | |
617 | -V, --version display version information and exit | |
618 | -q, --quiet, --silent do not print \`checking...' messages | |
619 | --cache-file=FILE cache test results in FILE [disabled] | |
620 | -C, --config-cache alias for \`--cache-file=config.cache' | |
621 | -n, --no-create do not create output files | |
622 | --srcdir=DIR find the sources in DIR [configure dir or \`..'] | |
623 | ||
b457acc7 | 624 | EOF |
10891472 | 625 | |
b457acc7 | 626 | cat <<EOF |
10891472 | 627 | Installation directories: |
628 | --prefix=PREFIX install architecture-independent files in PREFIX | |
629 | [$ac_default_prefix] | |
630 | --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX | |
631 | [PREFIX] | |
632 | ||
633 | By default, \`make install' will install all the files in | |
634 | \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify | |
635 | an installation prefix other than \`$ac_default_prefix' using \`--prefix', | |
636 | for instance \`--prefix=\$HOME'. | |
637 | ||
638 | For better control, use the options below. | |
639 | ||
640 | Fine tuning of the installation directories: | |
641 | --bindir=DIR user executables [EPREFIX/bin] | |
642 | --sbindir=DIR system admin executables [EPREFIX/sbin] | |
643 | --libexecdir=DIR program executables [EPREFIX/libexec] | |
644 | --datadir=DIR read-only architecture-independent data [PREFIX/share] | |
645 | --sysconfdir=DIR read-only single-machine data [PREFIX/etc] | |
646 | --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] | |
647 | --localstatedir=DIR modifiable single-machine data [PREFIX/var] | |
648 | --libdir=DIR object code libraries [EPREFIX/lib] | |
649 | --includedir=DIR C header files [PREFIX/include] | |
650 | --oldincludedir=DIR C header files for non-gcc [/usr/include] | |
651 | --infodir=DIR info documentation [PREFIX/info] | |
652 | --mandir=DIR man documentation [PREFIX/man] | |
b457acc7 | 653 | EOF |
10891472 | 654 | |
b457acc7 | 655 | cat <<\EOF |
656 | EOF | |
10891472 | 657 | fi |
658 | ||
659 | if test -n "$ac_init_help"; then | |
660 | ||
b457acc7 | 661 | cat <<\EOF |
10891472 | 662 | |
663 | Optional Packages: | |
664 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] | |
665 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) | |
666 | \ | |
667 | --with-select use select() instead of poll() | |
668 | \ | |
669 | --with-unreal you need this if you are using Unreal ircd (any version) | |
670 | ||
671 | Some influential environment variables: | |
672 | CC C compiler command | |
673 | CFLAGS C compiler flags | |
674 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a | |
675 | nonstandard directory <lib dir> | |
676 | CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have | |
677 | headers in a nonstandard directory <include dir> | |
678 | CPP C preprocessor | |
679 | ||
680 | Use these variables to override the choices made by `configure' or to help | |
681 | it to find libraries and programs with nonstandard names/locations. | |
682 | ||
b457acc7 | 683 | EOF |
10891472 | 684 | fi |
f6649e03 | 685 | |
10891472 | 686 | if test "$ac_init_help" = "recursive"; then |
687 | # If there are subdirs, report their specific --help. | |
688 | ac_popdir=`pwd` | |
b457acc7 | 689 | for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue |
690 | cd $ac_subdir | |
691 | # A "../" for each directory in /$ac_subdir. | |
692 | ac_dots=`echo $ac_subdir | | |
693 | sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'` | |
694 | ||
695 | case $srcdir in | |
696 | .) # No --srcdir option. We are building in place. | |
697 | ac_sub_srcdir=$srcdir ;; | |
698 | [\\/]* | ?:[\\/]* ) # Absolute path. | |
699 | ac_sub_srcdir=$srcdir/$ac_subdir ;; | |
700 | *) # Relative path. | |
701 | ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;; | |
702 | esac | |
10891472 | 703 | |
10891472 | 704 | # Check for guested configure; otherwise get Cygnus style configure. |
b457acc7 | 705 | if test -f $ac_sub_srcdir/configure.gnu; then |
10891472 | 706 | echo |
b457acc7 | 707 | $SHELL $ac_sub_srcdir/configure.gnu --help=recursive |
708 | elif test -f $ac_sub_srcdir/configure; then | |
10891472 | 709 | echo |
b457acc7 | 710 | $SHELL $ac_sub_srcdir/configure --help=recursive |
711 | elif test -f $ac_sub_srcdir/configure.ac || | |
712 | test -f $ac_sub_srcdir/configure.in; then | |
10891472 | 713 | echo |
714 | $ac_configure --help | |
715 | else | |
b457acc7 | 716 | echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2 |
10891472 | 717 | fi |
718 | cd $ac_popdir | |
719 | done | |
720 | fi | |
721 | ||
722 | test -n "$ac_init_help" && exit 0 | |
723 | if $ac_init_version; then | |
b457acc7 | 724 | cat <<\EOF |
10891472 | 725 | |
726 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
727 | Free Software Foundation, Inc. | |
728 | This configure script is free software; the Free Software Foundation | |
729 | gives unlimited permission to copy, distribute and modify it. | |
b457acc7 | 730 | EOF |
10891472 | 731 | exit 0 |
732 | fi | |
733 | exec 5>config.log | |
b457acc7 | 734 | cat >&5 <<EOF |
10891472 | 735 | This file contains any messages produced by compilers while |
736 | running configure, to aid debugging if configure makes a mistake. | |
737 | ||
738 | It was created by $as_me, which was | |
b457acc7 | 739 | generated by GNU Autoconf 2.52. Invocation command line was |
10891472 | 740 | |
741 | $ $0 $@ | |
742 | ||
b457acc7 | 743 | EOF |
10891472 | 744 | { |
745 | cat <<_ASUNAME | |
b457acc7 | 746 | ## ---------- ## |
747 | ## Platform. ## | |
748 | ## ---------- ## | |
10891472 | 749 | |
750 | hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` | |
751 | uname -m = `(uname -m) 2>/dev/null || echo unknown` | |
752 | uname -r = `(uname -r) 2>/dev/null || echo unknown` | |
753 | uname -s = `(uname -s) 2>/dev/null || echo unknown` | |
754 | uname -v = `(uname -v) 2>/dev/null || echo unknown` | |
755 | ||
756 | /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` | |
757 | /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` | |
758 | ||
759 | /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` | |
760 | /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` | |
761 | /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` | |
762 | hostinfo = `(hostinfo) 2>/dev/null || echo unknown` | |
763 | /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` | |
764 | /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` | |
765 | /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` | |
766 | ||
b457acc7 | 767 | PATH = $PATH |
10891472 | 768 | |
b457acc7 | 769 | _ASUNAME |
10891472 | 770 | } >&5 |
771 | ||
b457acc7 | 772 | cat >&5 <<EOF |
773 | ## ------------ ## | |
774 | ## Core tests. ## | |
775 | ## ------------ ## | |
10891472 | 776 | |
b457acc7 | 777 | EOF |
10891472 | 778 | |
779 | # Keep a trace of the command line. | |
780 | # Strip out --no-create and --no-recursion so they do not pile up. | |
781 | # Also quote any args containing shell meta-characters. | |
782 | ac_configure_args= | |
783 | ac_sep= | |
784 | for ac_arg | |
785 | do | |
786 | case $ac_arg in | |
787 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ | |
788 | | --no-cr | --no-c) ;; | |
789 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ | |
790 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; | |
791 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
792 | ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` | |
793 | ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" | |
794 | ac_sep=" " ;; | |
795 | *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg" | |
796 | ac_sep=" " ;; | |
797 | esac | |
798 | # Get rid of the leading space. | |
799 | done | |
800 | ||
801 | # When interrupted or exit'd, cleanup temporary files, and complete | |
802 | # config.log. We remove comments because anyway the quotes in there | |
803 | # would cause problems or look ugly. | |
10891472 | 804 | trap 'exit_status=$? |
805 | # Save into config.log some information that might help in debugging. | |
b457acc7 | 806 | echo >&5 |
807 | echo "## ----------------- ##" >&5 | |
808 | echo "## Cache variables. ##" >&5 | |
809 | echo "## ----------------- ##" >&5 | |
810 | echo >&5 | |
811 | # The following way of writing the cache mishandles newlines in values, | |
10891472 | 812 | { |
813 | (set) 2>&1 | | |
814 | case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in | |
815 | *ac_space=\ *) | |
816 | sed -n \ | |
817 | "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; | |
818 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" | |
819 | ;; | |
820 | *) | |
821 | sed -n \ | |
822 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
823 | ;; | |
824 | esac; | |
b457acc7 | 825 | } >&5 |
826 | sed "/^$/d" confdefs.h >conftest.log | |
827 | if test -s conftest.log; then | |
828 | echo >&5 | |
829 | echo "## ------------ ##" >&5 | |
830 | echo "## confdefs.h. ##" >&5 | |
831 | echo "## ------------ ##" >&5 | |
832 | echo >&5 | |
833 | cat conftest.log >&5 | |
834 | fi | |
835 | (echo; echo) >&5 | |
836 | test "$ac_signal" != 0 && | |
837 | echo "$as_me: caught signal $ac_signal" >&5 | |
838 | echo "$as_me: exit $exit_status" >&5 | |
10891472 | 839 | rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files && |
840 | exit $exit_status | |
841 | ' 0 | |
842 | for ac_signal in 1 2 13 15; do | |
843 | trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal | |
844 | done | |
845 | ac_signal=0 | |
846 | ||
847 | # confdefs.h avoids OS command line length limits that DEFS can exceed. | |
848 | rm -rf conftest* confdefs.h | |
849 | # AIX cpp loses on an empty file, so make sure it contains at least a newline. | |
850 | echo >confdefs.h | |
851 | ||
852 | # Let the site file select an alternate cache file if it wants to. | |
f6649e03 | 853 | # Prefer explicitly selected file to automatically selected ones. |
854 | if test -z "$CONFIG_SITE"; then | |
855 | if test "x$prefix" != xNONE; then | |
856 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" | |
857 | else | |
858 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" | |
859 | fi | |
860 | fi | |
861 | for ac_site_file in $CONFIG_SITE; do | |
862 | if test -r "$ac_site_file"; then | |
b457acc7 | 863 | { echo "$as_me:863: loading site script $ac_site_file" >&5 |
10891472 | 864 | echo "$as_me: loading site script $ac_site_file" >&6;} |
b457acc7 | 865 | cat "$ac_site_file" >&5 |
f6649e03 | 866 | . "$ac_site_file" |
867 | fi | |
868 | done | |
869 | ||
870 | if test -r "$cache_file"; then | |
10891472 | 871 | # Some versions of bash will fail to source /dev/null (special |
872 | # files actually), so we avoid doing that. | |
873 | if test -f "$cache_file"; then | |
b457acc7 | 874 | { echo "$as_me:874: loading cache $cache_file" >&5 |
10891472 | 875 | echo "$as_me: loading cache $cache_file" >&6;} |
876 | case $cache_file in | |
877 | [\\/]* | ?:[\\/]* ) . $cache_file;; | |
878 | *) . ./$cache_file;; | |
879 | esac | |
880 | fi | |
f6649e03 | 881 | else |
b457acc7 | 882 | { echo "$as_me:882: creating cache $cache_file" >&5 |
10891472 | 883 | echo "$as_me: creating cache $cache_file" >&6;} |
884 | >$cache_file | |
f6649e03 | 885 | fi |
886 | ||
10891472 | 887 | # Check that the precious variables saved in the cache have kept the same |
888 | # value. | |
889 | ac_cache_corrupted=false | |
890 | for ac_var in `(set) 2>&1 | | |
891 | sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do | |
892 | eval ac_old_set=\$ac_cv_env_${ac_var}_set | |
893 | eval ac_new_set=\$ac_env_${ac_var}_set | |
894 | eval ac_old_val="\$ac_cv_env_${ac_var}_value" | |
895 | eval ac_new_val="\$ac_env_${ac_var}_value" | |
896 | case $ac_old_set,$ac_new_set in | |
897 | set,) | |
b457acc7 | 898 | { echo "$as_me:898: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 |
10891472 | 899 | echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} |
900 | ac_cache_corrupted=: ;; | |
901 | ,set) | |
b457acc7 | 902 | { echo "$as_me:902: error: \`$ac_var' was not set in the previous run" >&5 |
10891472 | 903 | echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} |
904 | ac_cache_corrupted=: ;; | |
905 | ,);; | |
906 | *) | |
907 | if test "x$ac_old_val" != "x$ac_new_val"; then | |
b457acc7 | 908 | { echo "$as_me:908: error: \`$ac_var' has changed since the previous run:" >&5 |
10891472 | 909 | echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} |
b457acc7 | 910 | { echo "$as_me:910: former value: $ac_old_val" >&5 |
10891472 | 911 | echo "$as_me: former value: $ac_old_val" >&2;} |
b457acc7 | 912 | { echo "$as_me:912: current value: $ac_new_val" >&5 |
10891472 | 913 | echo "$as_me: current value: $ac_new_val" >&2;} |
914 | ac_cache_corrupted=: | |
915 | fi;; | |
916 | esac | |
917 | # Pass precious variables to config.status. It doesn't matter if | |
918 | # we pass some twice (in addition to the command line arguments). | |
919 | if test "$ac_new_set" = set; then | |
920 | case $ac_new_val in | |
921 | *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) | |
922 | ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` | |
923 | ac_configure_args="$ac_configure_args '$ac_arg'" | |
924 | ;; | |
925 | *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val" | |
926 | ;; | |
927 | esac | |
f6649e03 | 928 | fi |
10891472 | 929 | done |
930 | if $ac_cache_corrupted; then | |
b457acc7 | 931 | { echo "$as_me:931: error: changes in the environment can compromise the build" >&5 |
10891472 | 932 | echo "$as_me: error: changes in the environment can compromise the build" >&2;} |
b457acc7 | 933 | { { echo "$as_me:933: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 |
10891472 | 934 | echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} |
935 | { (exit 1); exit 1; }; } | |
f6649e03 | 936 | fi |
937 | ||
10891472 | 938 | ac_ext=c |
939 | ac_cpp='$CPP $CPPFLAGS' | |
940 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
941 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
942 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
f6649e03 | 943 | |
b457acc7 | 944 | case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in |
945 | *c*,-n*) ECHO_N= ECHO_C=' | |
946 | ' ECHO_T=' ' ;; | |
947 | *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; | |
948 | *) ECHO_N= ECHO_C='\c' ECHO_T= ;; | |
949 | esac | |
950 | echo "#! $SHELL" >conftest.sh | |
951 | echo "exit 0" >>conftest.sh | |
952 | chmod +x conftest.sh | |
953 | if { (echo "$as_me:953: PATH=\".;.\"; conftest.sh") >&5 | |
954 | (PATH=".;."; conftest.sh) 2>&5 | |
955 | ac_status=$? | |
956 | echo "$as_me:956: \$? = $ac_status" >&5 | |
957 | (exit $ac_status); }; then | |
958 | ac_path_separator=';' | |
959 | else | |
960 | ac_path_separator=: | |
961 | fi | |
962 | PATH_SEPARATOR="$ac_path_separator" | |
963 | rm -f conftest.sh | |
964 | ||
10891472 | 965 | ac_config_headers="$ac_config_headers setup.h" |
f6649e03 | 966 | |
5bd052df | 967 | # Check whether --with-select or --without-select was given. |
968 | if test "${with_select+set}" = set; then | |
969 | withval="$with_select" | |
970 | with_select=yes | |
971 | else | |
972 | with_select=no | |
10891472 | 973 | fi; |
5bd052df | 974 | |
eedb8c58 | 975 | # Check whether --with-unreal or --without-unreal was given. |
976 | if test "${with_unreal+set}" = set; then | |
977 | withval="$with_unreal" | |
978 | with_unreal=yes | |
979 | else | |
980 | with_unreal=no | |
10891472 | 981 | fi; |
eedb8c58 | 982 | |
10891472 | 983 | ac_ext=c |
984 | ac_cpp='$CPP $CPPFLAGS' | |
985 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
986 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
987 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
988 | if test -n "$ac_tool_prefix"; then | |
989 | # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. | |
990 | set dummy ${ac_tool_prefix}gcc; ac_word=$2 | |
b457acc7 | 991 | echo "$as_me:991: checking for $ac_word" >&5 |
10891472 | 992 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
993 | if test "${ac_cv_prog_CC+set}" = set; then | |
994 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 995 | else |
996 | if test -n "$CC"; then | |
997 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
998 | else | |
b457acc7 | 999 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1000 | ac_dummy="$PATH" | |
1001 | for ac_dir in $ac_dummy; do | |
1002 | IFS=$ac_save_IFS | |
1003 | test -z "$ac_dir" && ac_dir=. | |
1004 | $as_executable_p "$ac_dir/$ac_word" || continue | |
1005 | ac_cv_prog_CC="${ac_tool_prefix}gcc" | |
1006 | echo "$as_me:1006: found $ac_dir/$ac_word" >&5 | |
1007 | break | |
10891472 | 1008 | done |
1009 | ||
f6649e03 | 1010 | fi |
1011 | fi | |
10891472 | 1012 | CC=$ac_cv_prog_CC |
f6649e03 | 1013 | if test -n "$CC"; then |
b457acc7 | 1014 | echo "$as_me:1014: result: $CC" >&5 |
10891472 | 1015 | echo "${ECHO_T}$CC" >&6 |
f6649e03 | 1016 | else |
b457acc7 | 1017 | echo "$as_me:1017: result: no" >&5 |
10891472 | 1018 | echo "${ECHO_T}no" >&6 |
f6649e03 | 1019 | fi |
1020 | ||
10891472 | 1021 | fi |
1022 | if test -z "$ac_cv_prog_CC"; then | |
1023 | ac_ct_CC=$CC | |
1024 | # Extract the first word of "gcc", so it can be a program name with args. | |
1025 | set dummy gcc; ac_word=$2 | |
b457acc7 | 1026 | echo "$as_me:1026: checking for $ac_word" >&5 |
10891472 | 1027 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1028 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1029 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 1030 | else |
10891472 | 1031 | if test -n "$ac_ct_CC"; then |
1032 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
f6649e03 | 1033 | else |
b457acc7 | 1034 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1035 | ac_dummy="$PATH" | |
1036 | for ac_dir in $ac_dummy; do | |
1037 | IFS=$ac_save_IFS | |
1038 | test -z "$ac_dir" && ac_dir=. | |
1039 | $as_executable_p "$ac_dir/$ac_word" || continue | |
1040 | ac_cv_prog_ac_ct_CC="gcc" | |
1041 | echo "$as_me:1041: found $ac_dir/$ac_word" >&5 | |
1042 | break | |
10891472 | 1043 | done |
1044 | ||
f6649e03 | 1045 | fi |
1046 | fi | |
10891472 | 1047 | ac_ct_CC=$ac_cv_prog_ac_ct_CC |
1048 | if test -n "$ac_ct_CC"; then | |
b457acc7 | 1049 | echo "$as_me:1049: result: $ac_ct_CC" >&5 |
10891472 | 1050 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1051 | else | |
b457acc7 | 1052 | echo "$as_me:1052: result: no" >&5 |
10891472 | 1053 | echo "${ECHO_T}no" >&6 |
f6649e03 | 1054 | fi |
10891472 | 1055 | |
1056 | CC=$ac_ct_CC | |
f6649e03 | 1057 | else |
10891472 | 1058 | CC="$ac_cv_prog_CC" |
f6649e03 | 1059 | fi |
1060 | ||
10891472 | 1061 | if test -z "$CC"; then |
1062 | if test -n "$ac_tool_prefix"; then | |
1063 | # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. | |
1064 | set dummy ${ac_tool_prefix}cc; ac_word=$2 | |
b457acc7 | 1065 | echo "$as_me:1065: checking for $ac_word" >&5 |
10891472 | 1066 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1067 | if test "${ac_cv_prog_CC+set}" = set; then | |
1068 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 1069 | else |
1070 | if test -n "$CC"; then | |
1071 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
1072 | else | |
b457acc7 | 1073 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1074 | ac_dummy="$PATH" | |
1075 | for ac_dir in $ac_dummy; do | |
1076 | IFS=$ac_save_IFS | |
1077 | test -z "$ac_dir" && ac_dir=. | |
1078 | $as_executable_p "$ac_dir/$ac_word" || continue | |
1079 | ac_cv_prog_CC="${ac_tool_prefix}cc" | |
1080 | echo "$as_me:1080: found $ac_dir/$ac_word" >&5 | |
1081 | break | |
10891472 | 1082 | done |
1083 | ||
f6649e03 | 1084 | fi |
1085 | fi | |
10891472 | 1086 | CC=$ac_cv_prog_CC |
f6649e03 | 1087 | if test -n "$CC"; then |
b457acc7 | 1088 | echo "$as_me:1088: result: $CC" >&5 |
10891472 | 1089 | echo "${ECHO_T}$CC" >&6 |
f6649e03 | 1090 | else |
b457acc7 | 1091 | echo "$as_me:1091: result: no" >&5 |
10891472 | 1092 | echo "${ECHO_T}no" >&6 |
f6649e03 | 1093 | fi |
10891472 | 1094 | |
1095 | fi | |
1096 | if test -z "$ac_cv_prog_CC"; then | |
1097 | ac_ct_CC=$CC | |
1098 | # Extract the first word of "cc", so it can be a program name with args. | |
1099 | set dummy cc; ac_word=$2 | |
b457acc7 | 1100 | echo "$as_me:1100: checking for $ac_word" >&5 |
10891472 | 1101 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1102 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1103 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1104 | else | |
1105 | if test -n "$ac_ct_CC"; then | |
1106 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1107 | else | |
b457acc7 | 1108 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1109 | ac_dummy="$PATH" | |
1110 | for ac_dir in $ac_dummy; do | |
1111 | IFS=$ac_save_IFS | |
1112 | test -z "$ac_dir" && ac_dir=. | |
1113 | $as_executable_p "$ac_dir/$ac_word" || continue | |
1114 | ac_cv_prog_ac_ct_CC="cc" | |
1115 | echo "$as_me:1115: found $ac_dir/$ac_word" >&5 | |
1116 | break | |
10891472 | 1117 | done |
1118 | ||
1119 | fi | |
1120 | fi | |
1121 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1122 | if test -n "$ac_ct_CC"; then | |
b457acc7 | 1123 | echo "$as_me:1123: result: $ac_ct_CC" >&5 |
10891472 | 1124 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1125 | else | |
b457acc7 | 1126 | echo "$as_me:1126: result: no" >&5 |
10891472 | 1127 | echo "${ECHO_T}no" >&6 |
f6649e03 | 1128 | fi |
1129 | ||
10891472 | 1130 | CC=$ac_ct_CC |
1131 | else | |
1132 | CC="$ac_cv_prog_CC" | |
1133 | fi | |
f6649e03 | 1134 | |
10891472 | 1135 | fi |
1136 | if test -z "$CC"; then | |
1137 | # Extract the first word of "cc", so it can be a program name with args. | |
1138 | set dummy cc; ac_word=$2 | |
b457acc7 | 1139 | echo "$as_me:1139: checking for $ac_word" >&5 |
10891472 | 1140 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1141 | if test "${ac_cv_prog_CC+set}" = set; then | |
1142 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1143 | else | |
1144 | if test -n "$CC"; then | |
1145 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
1146 | else | |
1147 | ac_prog_rejected=no | |
b457acc7 | 1148 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1149 | ac_dummy="$PATH" | |
1150 | for ac_dir in $ac_dummy; do | |
1151 | IFS=$ac_save_IFS | |
1152 | test -z "$ac_dir" && ac_dir=. | |
1153 | $as_executable_p "$ac_dir/$ac_word" || continue | |
1154 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then | |
1155 | ac_prog_rejected=yes | |
1156 | continue | |
1157 | fi | |
1158 | ac_cv_prog_CC="cc" | |
1159 | echo "$as_me:1159: found $ac_dir/$ac_word" >&5 | |
1160 | break | |
10891472 | 1161 | done |
1162 | ||
1163 | if test $ac_prog_rejected = yes; then | |
1164 | # We found a bogon in the path, so make sure we never use it. | |
1165 | set dummy $ac_cv_prog_CC | |
1166 | shift | |
1167 | if test $# != 0; then | |
1168 | # We chose a different compiler from the bogus one. | |
1169 | # However, it has the same basename, so the bogon will be chosen | |
1170 | # first if we set CC to just the basename; use the full file name. | |
1171 | shift | |
b457acc7 | 1172 | set dummy "$ac_dir/$ac_word" ${1+"$@"} |
10891472 | 1173 | shift |
1174 | ac_cv_prog_CC="$@" | |
1175 | fi | |
1176 | fi | |
1177 | fi | |
1178 | fi | |
1179 | CC=$ac_cv_prog_CC | |
1180 | if test -n "$CC"; then | |
b457acc7 | 1181 | echo "$as_me:1181: result: $CC" >&5 |
10891472 | 1182 | echo "${ECHO_T}$CC" >&6 |
1183 | else | |
b457acc7 | 1184 | echo "$as_me:1184: result: no" >&5 |
10891472 | 1185 | echo "${ECHO_T}no" >&6 |
1186 | fi | |
1187 | ||
1188 | fi | |
1189 | if test -z "$CC"; then | |
1190 | if test -n "$ac_tool_prefix"; then | |
1191 | for ac_prog in cl | |
1192 | do | |
1193 | # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. | |
1194 | set dummy $ac_tool_prefix$ac_prog; ac_word=$2 | |
b457acc7 | 1195 | echo "$as_me:1195: checking for $ac_word" >&5 |
10891472 | 1196 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1197 | if test "${ac_cv_prog_CC+set}" = set; then | |
1198 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1199 | else | |
1200 | if test -n "$CC"; then | |
1201 | ac_cv_prog_CC="$CC" # Let the user override the test. | |
1202 | else | |
b457acc7 | 1203 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1204 | ac_dummy="$PATH" | |
1205 | for ac_dir in $ac_dummy; do | |
1206 | IFS=$ac_save_IFS | |
1207 | test -z "$ac_dir" && ac_dir=. | |
1208 | $as_executable_p "$ac_dir/$ac_word" || continue | |
1209 | ac_cv_prog_CC="$ac_tool_prefix$ac_prog" | |
1210 | echo "$as_me:1210: found $ac_dir/$ac_word" >&5 | |
1211 | break | |
10891472 | 1212 | done |
1213 | ||
1214 | fi | |
1215 | fi | |
1216 | CC=$ac_cv_prog_CC | |
1217 | if test -n "$CC"; then | |
b457acc7 | 1218 | echo "$as_me:1218: result: $CC" >&5 |
10891472 | 1219 | echo "${ECHO_T}$CC" >&6 |
1220 | else | |
b457acc7 | 1221 | echo "$as_me:1221: result: no" >&5 |
10891472 | 1222 | echo "${ECHO_T}no" >&6 |
1223 | fi | |
1224 | ||
1225 | test -n "$CC" && break | |
1226 | done | |
1227 | fi | |
1228 | if test -z "$CC"; then | |
1229 | ac_ct_CC=$CC | |
1230 | for ac_prog in cl | |
1231 | do | |
1232 | # Extract the first word of "$ac_prog", so it can be a program name with args. | |
1233 | set dummy $ac_prog; ac_word=$2 | |
b457acc7 | 1234 | echo "$as_me:1234: checking for $ac_word" >&5 |
10891472 | 1235 | echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 |
1236 | if test "${ac_cv_prog_ac_ct_CC+set}" = set; then | |
1237 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1238 | else | |
1239 | if test -n "$ac_ct_CC"; then | |
1240 | ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. | |
1241 | else | |
b457acc7 | 1242 | ac_save_IFS=$IFS; IFS=$ac_path_separator |
1243 | ac_dummy="$PATH" | |
1244 | for ac_dir in $ac_dummy; do | |
1245 | IFS=$ac_save_IFS | |
1246 | test -z "$ac_dir" && ac_dir=. | |
1247 | $as_executable_p "$ac_dir/$ac_word" || continue | |
1248 | ac_cv_prog_ac_ct_CC="$ac_prog" | |
1249 | echo "$as_me:1249: found $ac_dir/$ac_word" >&5 | |
1250 | break | |
10891472 | 1251 | done |
1252 | ||
1253 | fi | |
1254 | fi | |
1255 | ac_ct_CC=$ac_cv_prog_ac_ct_CC | |
1256 | if test -n "$ac_ct_CC"; then | |
b457acc7 | 1257 | echo "$as_me:1257: result: $ac_ct_CC" >&5 |
10891472 | 1258 | echo "${ECHO_T}$ac_ct_CC" >&6 |
1259 | else | |
b457acc7 | 1260 | echo "$as_me:1260: result: no" >&5 |
10891472 | 1261 | echo "${ECHO_T}no" >&6 |
1262 | fi | |
1263 | ||
1264 | test -n "$ac_ct_CC" && break | |
1265 | done | |
1266 | ||
1267 | CC=$ac_ct_CC | |
1268 | fi | |
f6649e03 | 1269 | |
10891472 | 1270 | fi |
f6649e03 | 1271 | |
b457acc7 | 1272 | test -z "$CC" && { { echo "$as_me:1272: error: no acceptable cc found in \$PATH" >&5 |
10891472 | 1273 | echo "$as_me: error: no acceptable cc found in \$PATH" >&2;} |
1274 | { (exit 1); exit 1; }; } | |
1275 | ||
1276 | # Provide some information about the compiler. | |
b457acc7 | 1277 | echo "$as_me:1277:" \ |
10891472 | 1278 | "checking for C compiler version" >&5 |
1279 | ac_compiler=`set X $ac_compile; echo $2` | |
b457acc7 | 1280 | { (eval echo "$as_me:1280: \"$ac_compiler --version </dev/null >&5\"") >&5 |
10891472 | 1281 | (eval $ac_compiler --version </dev/null >&5) 2>&5 |
1282 | ac_status=$? | |
b457acc7 | 1283 | echo "$as_me:1283: \$? = $ac_status" >&5 |
10891472 | 1284 | (exit $ac_status); } |
b457acc7 | 1285 | { (eval echo "$as_me:1285: \"$ac_compiler -v </dev/null >&5\"") >&5 |
10891472 | 1286 | (eval $ac_compiler -v </dev/null >&5) 2>&5 |
1287 | ac_status=$? | |
b457acc7 | 1288 | echo "$as_me:1288: \$? = $ac_status" >&5 |
10891472 | 1289 | (exit $ac_status); } |
b457acc7 | 1290 | { (eval echo "$as_me:1290: \"$ac_compiler -V </dev/null >&5\"") >&5 |
10891472 | 1291 | (eval $ac_compiler -V </dev/null >&5) 2>&5 |
1292 | ac_status=$? | |
b457acc7 | 1293 | echo "$as_me:1293: \$? = $ac_status" >&5 |
10891472 | 1294 | (exit $ac_status); } |
1295 | ||
1296 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1297 | #line 1297 "configure" |
f6649e03 | 1298 | #include "confdefs.h" |
1299 | ||
10891472 | 1300 | int |
1301 | main () | |
1302 | { | |
1303 | ||
1304 | ; | |
1305 | return 0; | |
1306 | } | |
1307 | _ACEOF | |
1308 | ac_clean_files_save=$ac_clean_files | |
1309 | ac_clean_files="$ac_clean_files a.out a.exe" | |
1310 | # Try to create an executable without -o first, disregard a.out. | |
1311 | # It will help us diagnose broken compilers, and finding out an intuition | |
1312 | # of exeext. | |
b457acc7 | 1313 | echo "$as_me:1313: checking for C compiler default output" >&5 |
10891472 | 1314 | echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 |
1315 | ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` | |
b457acc7 | 1316 | if { (eval echo "$as_me:1316: \"$ac_link_default\"") >&5 |
10891472 | 1317 | (eval $ac_link_default) 2>&5 |
1318 | ac_status=$? | |
b457acc7 | 1319 | echo "$as_me:1319: \$? = $ac_status" >&5 |
10891472 | 1320 | (exit $ac_status); }; then |
1321 | # Find the output, starting from the most likely. This scheme is | |
1322 | # not robust to junk in `.', hence go to wildcards (a.*) only as a last | |
1323 | # resort. | |
b457acc7 | 1324 | for ac_file in `ls a.exe conftest.exe 2>/dev/null; |
10891472 | 1325 | ls a.out conftest 2>/dev/null; |
1326 | ls a.* conftest.* 2>/dev/null`; do | |
1327 | case $ac_file in | |
b457acc7 | 1328 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; |
10891472 | 1329 | a.out ) # We found the default executable, but exeext='' is most |
1330 | # certainly right. | |
1331 | break;; | |
1332 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1333 | # FIXME: I believe we export ac_cv_exeext for Libtool --akim. | |
1334 | export ac_cv_exeext | |
1335 | break;; | |
1336 | * ) break;; | |
1337 | esac | |
1338 | done | |
1339 | else | |
1340 | echo "$as_me: failed program was:" >&5 | |
1341 | cat conftest.$ac_ext >&5 | |
b457acc7 | 1342 | { { echo "$as_me:1342: error: C compiler cannot create executables" >&5 |
10891472 | 1343 | echo "$as_me: error: C compiler cannot create executables" >&2;} |
1344 | { (exit 77); exit 77; }; } | |
1345 | fi | |
1346 | ||
1347 | ac_exeext=$ac_cv_exeext | |
b457acc7 | 1348 | echo "$as_me:1348: result: $ac_file" >&5 |
10891472 | 1349 | echo "${ECHO_T}$ac_file" >&6 |
1350 | ||
1351 | # Check the compiler produces executables we can run. If not, either | |
1352 | # the compiler is broken, or we cross compile. | |
b457acc7 | 1353 | echo "$as_me:1353: checking whether the C compiler works" >&5 |
10891472 | 1354 | echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 |
1355 | # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 | |
1356 | # If not cross compiling, check that we can run a simple program. | |
1357 | if test "$cross_compiling" != yes; then | |
1358 | if { ac_try='./$ac_file' | |
b457acc7 | 1359 | { (eval echo "$as_me:1359: \"$ac_try\"") >&5 |
10891472 | 1360 | (eval $ac_try) 2>&5 |
1361 | ac_status=$? | |
b457acc7 | 1362 | echo "$as_me:1362: \$? = $ac_status" >&5 |
10891472 | 1363 | (exit $ac_status); }; }; then |
1364 | cross_compiling=no | |
f6649e03 | 1365 | else |
10891472 | 1366 | if test "$cross_compiling" = maybe; then |
1367 | cross_compiling=yes | |
1368 | else | |
b457acc7 | 1369 | { { echo "$as_me:1369: error: cannot run C compiled programs. |
10891472 | 1370 | If you meant to cross compile, use \`--host'." >&5 |
1371 | echo "$as_me: error: cannot run C compiled programs. | |
1372 | If you meant to cross compile, use \`--host'." >&2;} | |
1373 | { (exit 1); exit 1; }; } | |
1374 | fi | |
f6649e03 | 1375 | fi |
10891472 | 1376 | fi |
b457acc7 | 1377 | echo "$as_me:1377: result: yes" >&5 |
10891472 | 1378 | echo "${ECHO_T}yes" >&6 |
1379 | ||
1380 | rm -f a.out a.exe conftest$ac_cv_exeext | |
1381 | ac_clean_files=$ac_clean_files_save | |
1382 | # Check the compiler produces executables we can run. If not, either | |
1383 | # the compiler is broken, or we cross compile. | |
b457acc7 | 1384 | echo "$as_me:1384: checking whether we are cross compiling" >&5 |
10891472 | 1385 | echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 |
b457acc7 | 1386 | echo "$as_me:1386: result: $cross_compiling" >&5 |
10891472 | 1387 | echo "${ECHO_T}$cross_compiling" >&6 |
1388 | ||
b457acc7 | 1389 | echo "$as_me:1389: checking for executable suffix" >&5 |
10891472 | 1390 | echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6 |
b457acc7 | 1391 | if { (eval echo "$as_me:1391: \"$ac_link\"") >&5 |
10891472 | 1392 | (eval $ac_link) 2>&5 |
1393 | ac_status=$? | |
b457acc7 | 1394 | echo "$as_me:1394: \$? = $ac_status" >&5 |
10891472 | 1395 | (exit $ac_status); }; then |
1396 | # If both `conftest.exe' and `conftest' are `present' (well, observable) | |
1397 | # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will | |
1398 | # work properly (i.e., refer to `conftest.exe'), while it won't with | |
1399 | # `rm'. | |
1400 | for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do | |
1401 | case $ac_file in | |
1402 | *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; | |
1403 | *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` | |
1404 | export ac_cv_exeext | |
1405 | break;; | |
1406 | * ) break;; | |
1407 | esac | |
1408 | done | |
f6649e03 | 1409 | else |
b457acc7 | 1410 | { { echo "$as_me:1410: error: cannot compute EXEEXT: cannot compile and link" >&5 |
10891472 | 1411 | echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;} |
1412 | { (exit 1); exit 1; }; } | |
f6649e03 | 1413 | fi |
10891472 | 1414 | |
1415 | rm -f conftest$ac_cv_exeext | |
b457acc7 | 1416 | echo "$as_me:1416: result: $ac_cv_exeext" >&5 |
10891472 | 1417 | echo "${ECHO_T}$ac_cv_exeext" >&6 |
1418 | ||
1419 | rm -f conftest.$ac_ext | |
1420 | EXEEXT=$ac_cv_exeext | |
1421 | ac_exeext=$EXEEXT | |
b457acc7 | 1422 | echo "$as_me:1422: checking for object suffix" >&5 |
10891472 | 1423 | echo $ECHO_N "checking for object suffix... $ECHO_C" >&6 |
1424 | if test "${ac_cv_objext+set}" = set; then | |
1425 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1426 | else | |
1427 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1428 | #line 1428 "configure" |
10891472 | 1429 | #include "confdefs.h" |
1430 | ||
10891472 | 1431 | int |
1432 | main () | |
1433 | { | |
1434 | ||
1435 | ; | |
1436 | return 0; | |
1437 | } | |
1438 | _ACEOF | |
1439 | rm -f conftest.o conftest.obj | |
b457acc7 | 1440 | if { (eval echo "$as_me:1440: \"$ac_compile\"") >&5 |
10891472 | 1441 | (eval $ac_compile) 2>&5 |
1442 | ac_status=$? | |
b457acc7 | 1443 | echo "$as_me:1443: \$? = $ac_status" >&5 |
10891472 | 1444 | (exit $ac_status); }; then |
1445 | for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do | |
1446 | case $ac_file in | |
1447 | *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; | |
1448 | *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` | |
1449 | break;; | |
1450 | esac | |
1451 | done | |
f6649e03 | 1452 | else |
10891472 | 1453 | echo "$as_me: failed program was:" >&5 |
1454 | cat conftest.$ac_ext >&5 | |
b457acc7 | 1455 | { { echo "$as_me:1455: error: cannot compute OBJEXT: cannot compile" >&5 |
10891472 | 1456 | echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;} |
1457 | { (exit 1); exit 1; }; } | |
f6649e03 | 1458 | fi |
10891472 | 1459 | |
1460 | rm -f conftest.$ac_cv_objext conftest.$ac_ext | |
f6649e03 | 1461 | fi |
b457acc7 | 1462 | echo "$as_me:1462: result: $ac_cv_objext" >&5 |
10891472 | 1463 | echo "${ECHO_T}$ac_cv_objext" >&6 |
1464 | OBJEXT=$ac_cv_objext | |
1465 | ac_objext=$OBJEXT | |
b457acc7 | 1466 | echo "$as_me:1466: checking whether we are using the GNU C compiler" >&5 |
10891472 | 1467 | echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 |
1468 | if test "${ac_cv_c_compiler_gnu+set}" = set; then | |
1469 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1470 | else | |
1471 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1472 | #line 1472 "configure" |
10891472 | 1473 | #include "confdefs.h" |
f6649e03 | 1474 | |
10891472 | 1475 | int |
1476 | main () | |
1477 | { | |
1478 | #ifndef __GNUC__ | |
1479 | choke me | |
1480 | #endif | |
f6649e03 | 1481 | |
10891472 | 1482 | ; |
1483 | return 0; | |
1484 | } | |
1485 | _ACEOF | |
1486 | rm -f conftest.$ac_objext | |
b457acc7 | 1487 | if { (eval echo "$as_me:1487: \"$ac_compile\"") >&5 |
10891472 | 1488 | (eval $ac_compile) 2>&5 |
1489 | ac_status=$? | |
b457acc7 | 1490 | echo "$as_me:1490: \$? = $ac_status" >&5 |
10891472 | 1491 | (exit $ac_status); } && |
1492 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 1493 | { (eval echo "$as_me:1493: \"$ac_try\"") >&5 |
10891472 | 1494 | (eval $ac_try) 2>&5 |
1495 | ac_status=$? | |
b457acc7 | 1496 | echo "$as_me:1496: \$? = $ac_status" >&5 |
10891472 | 1497 | (exit $ac_status); }; }; then |
1498 | ac_compiler_gnu=yes | |
f6649e03 | 1499 | else |
10891472 | 1500 | echo "$as_me: failed program was:" >&5 |
1501 | cat conftest.$ac_ext >&5 | |
1502 | ac_compiler_gnu=no | |
f6649e03 | 1503 | fi |
10891472 | 1504 | rm -f conftest.$ac_objext conftest.$ac_ext |
1505 | ac_cv_c_compiler_gnu=$ac_compiler_gnu | |
f6649e03 | 1506 | |
10891472 | 1507 | fi |
b457acc7 | 1508 | echo "$as_me:1508: result: $ac_cv_c_compiler_gnu" >&5 |
10891472 | 1509 | echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 |
1510 | GCC=`test $ac_compiler_gnu = yes && echo yes` | |
1511 | ac_test_CFLAGS=${CFLAGS+set} | |
1512 | ac_save_CFLAGS=$CFLAGS | |
1513 | CFLAGS="-g" | |
b457acc7 | 1514 | echo "$as_me:1514: checking whether $CC accepts -g" >&5 |
10891472 | 1515 | echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 |
1516 | if test "${ac_cv_prog_cc_g+set}" = set; then | |
1517 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 1518 | else |
10891472 | 1519 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 1520 | #line 1520 "configure" |
10891472 | 1521 | #include "confdefs.h" |
1522 | ||
10891472 | 1523 | int |
1524 | main () | |
1525 | { | |
1526 | ||
1527 | ; | |
1528 | return 0; | |
1529 | } | |
1530 | _ACEOF | |
1531 | rm -f conftest.$ac_objext | |
b457acc7 | 1532 | if { (eval echo "$as_me:1532: \"$ac_compile\"") >&5 |
10891472 | 1533 | (eval $ac_compile) 2>&5 |
1534 | ac_status=$? | |
b457acc7 | 1535 | echo "$as_me:1535: \$? = $ac_status" >&5 |
10891472 | 1536 | (exit $ac_status); } && |
1537 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 1538 | { (eval echo "$as_me:1538: \"$ac_try\"") >&5 |
10891472 | 1539 | (eval $ac_try) 2>&5 |
1540 | ac_status=$? | |
b457acc7 | 1541 | echo "$as_me:1541: \$? = $ac_status" >&5 |
10891472 | 1542 | (exit $ac_status); }; }; then |
f6649e03 | 1543 | ac_cv_prog_cc_g=yes |
1544 | else | |
10891472 | 1545 | echo "$as_me: failed program was:" >&5 |
1546 | cat conftest.$ac_ext >&5 | |
1547 | ac_cv_prog_cc_g=no | |
f6649e03 | 1548 | fi |
10891472 | 1549 | rm -f conftest.$ac_objext conftest.$ac_ext |
f6649e03 | 1550 | fi |
b457acc7 | 1551 | echo "$as_me:1551: result: $ac_cv_prog_cc_g" >&5 |
10891472 | 1552 | echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 |
f6649e03 | 1553 | if test "$ac_test_CFLAGS" = set; then |
10891472 | 1554 | CFLAGS=$ac_save_CFLAGS |
f6649e03 | 1555 | elif test $ac_cv_prog_cc_g = yes; then |
1556 | if test "$GCC" = yes; then | |
1557 | CFLAGS="-g -O2" | |
1558 | else | |
1559 | CFLAGS="-g" | |
1560 | fi | |
1561 | else | |
1562 | if test "$GCC" = yes; then | |
1563 | CFLAGS="-O2" | |
1564 | else | |
1565 | CFLAGS= | |
1566 | fi | |
1567 | fi | |
10891472 | 1568 | # Some people use a C++ compiler to compile C. Since we use `exit', |
1569 | # in C++ we need to declare it. In case someone uses the same compiler | |
1570 | # for both compiling C and C++ we need to have the C++ compiler decide | |
1571 | # the declaration of exit, since it's the most demanding environment. | |
1572 | cat >conftest.$ac_ext <<_ACEOF | |
1573 | #ifndef __cplusplus | |
1574 | choke me | |
1575 | #endif | |
1576 | _ACEOF | |
1577 | rm -f conftest.$ac_objext | |
b457acc7 | 1578 | if { (eval echo "$as_me:1578: \"$ac_compile\"") >&5 |
10891472 | 1579 | (eval $ac_compile) 2>&5 |
1580 | ac_status=$? | |
b457acc7 | 1581 | echo "$as_me:1581: \$? = $ac_status" >&5 |
10891472 | 1582 | (exit $ac_status); } && |
1583 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 1584 | { (eval echo "$as_me:1584: \"$ac_try\"") >&5 |
10891472 | 1585 | (eval $ac_try) 2>&5 |
1586 | ac_status=$? | |
b457acc7 | 1587 | echo "$as_me:1587: \$? = $ac_status" >&5 |
10891472 | 1588 | (exit $ac_status); }; }; then |
1589 | for ac_declaration in \ | |
1590 | ''\ | |
1591 | '#include <stdlib.h>' \ | |
1592 | 'extern "C" void std::exit (int) throw (); using std::exit;' \ | |
1593 | 'extern "C" void std::exit (int); using std::exit;' \ | |
1594 | 'extern "C" void exit (int) throw ();' \ | |
1595 | 'extern "C" void exit (int);' \ | |
1596 | 'void exit (int);' | |
1597 | do | |
1598 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1599 | #line 1599 "configure" |
10891472 | 1600 | #include "confdefs.h" |
1601 | #include <stdlib.h> | |
1602 | $ac_declaration | |
10891472 | 1603 | int |
1604 | main () | |
1605 | { | |
1606 | exit (42); | |
1607 | ; | |
1608 | return 0; | |
1609 | } | |
1610 | _ACEOF | |
1611 | rm -f conftest.$ac_objext | |
b457acc7 | 1612 | if { (eval echo "$as_me:1612: \"$ac_compile\"") >&5 |
10891472 | 1613 | (eval $ac_compile) 2>&5 |
1614 | ac_status=$? | |
b457acc7 | 1615 | echo "$as_me:1615: \$? = $ac_status" >&5 |
10891472 | 1616 | (exit $ac_status); } && |
1617 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 1618 | { (eval echo "$as_me:1618: \"$ac_try\"") >&5 |
10891472 | 1619 | (eval $ac_try) 2>&5 |
1620 | ac_status=$? | |
b457acc7 | 1621 | echo "$as_me:1621: \$? = $ac_status" >&5 |
10891472 | 1622 | (exit $ac_status); }; }; then |
1623 | : | |
1624 | else | |
1625 | echo "$as_me: failed program was:" >&5 | |
1626 | cat conftest.$ac_ext >&5 | |
1627 | continue | |
1628 | fi | |
1629 | rm -f conftest.$ac_objext conftest.$ac_ext | |
1630 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1631 | #line 1631 "configure" |
10891472 | 1632 | #include "confdefs.h" |
1633 | $ac_declaration | |
10891472 | 1634 | int |
1635 | main () | |
1636 | { | |
1637 | exit (42); | |
1638 | ; | |
1639 | return 0; | |
1640 | } | |
1641 | _ACEOF | |
1642 | rm -f conftest.$ac_objext | |
b457acc7 | 1643 | if { (eval echo "$as_me:1643: \"$ac_compile\"") >&5 |
10891472 | 1644 | (eval $ac_compile) 2>&5 |
1645 | ac_status=$? | |
b457acc7 | 1646 | echo "$as_me:1646: \$? = $ac_status" >&5 |
10891472 | 1647 | (exit $ac_status); } && |
1648 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 1649 | { (eval echo "$as_me:1649: \"$ac_try\"") >&5 |
10891472 | 1650 | (eval $ac_try) 2>&5 |
1651 | ac_status=$? | |
b457acc7 | 1652 | echo "$as_me:1652: \$? = $ac_status" >&5 |
10891472 | 1653 | (exit $ac_status); }; }; then |
1654 | break | |
1655 | else | |
1656 | echo "$as_me: failed program was:" >&5 | |
1657 | cat conftest.$ac_ext >&5 | |
1658 | fi | |
1659 | rm -f conftest.$ac_objext conftest.$ac_ext | |
1660 | done | |
1661 | rm -f conftest* | |
1662 | if test -n "$ac_declaration"; then | |
1663 | echo '#ifdef __cplusplus' >>confdefs.h | |
1664 | echo $ac_declaration >>confdefs.h | |
1665 | echo '#endif' >>confdefs.h | |
1666 | fi | |
f6649e03 | 1667 | |
10891472 | 1668 | else |
1669 | echo "$as_me: failed program was:" >&5 | |
1670 | cat conftest.$ac_ext >&5 | |
1671 | fi | |
1672 | rm -f conftest.$ac_objext conftest.$ac_ext | |
1673 | ac_ext=c | |
1674 | ac_cpp='$CPP $CPPFLAGS' | |
1675 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1676 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1677 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
f6649e03 | 1678 | |
10891472 | 1679 | ac_ext=c |
1680 | ac_cpp='$CPP $CPPFLAGS' | |
1681 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1682 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1683 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
b457acc7 | 1684 | echo "$as_me:1684: checking how to run the C preprocessor" >&5 |
10891472 | 1685 | echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 |
f6649e03 | 1686 | # On Suns, sometimes $CPP names a directory. |
1687 | if test -n "$CPP" && test -d "$CPP"; then | |
1688 | CPP= | |
1689 | fi | |
1690 | if test -z "$CPP"; then | |
10891472 | 1691 | if test "${ac_cv_prog_CPP+set}" = set; then |
1692 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 1693 | else |
10891472 | 1694 | # Double quotes because CPP needs to be expanded |
1695 | for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" | |
1696 | do | |
1697 | ac_preproc_ok=false | |
1698 | for ac_c_preproc_warn_flag in '' yes | |
1699 | do | |
1700 | # Use a header file that comes with gcc, so configuring glibc | |
1701 | # with a fresh cross-compiler works. | |
f6649e03 | 1702 | # On the NeXT, cc -E runs the code through the compiler's parser, |
10891472 | 1703 | # not just through cpp. "Syntax error" is here to catch this case. |
1704 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1705 | #line 1705 "configure" |
f6649e03 | 1706 | #include "confdefs.h" |
1707 | #include <assert.h> | |
10891472 | 1708 | Syntax error |
1709 | _ACEOF | |
b457acc7 | 1710 | if { (eval echo "$as_me:1710: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10891472 | 1711 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1712 | ac_status=$? | |
1713 | egrep -v '^ *\+' conftest.er1 >conftest.err | |
1714 | rm -f conftest.er1 | |
1715 | cat conftest.err >&5 | |
b457acc7 | 1716 | echo "$as_me:1716: \$? = $ac_status" >&5 |
10891472 | 1717 | (exit $ac_status); } >/dev/null; then |
1718 | if test -s conftest.err; then | |
1719 | ac_cpp_err=$ac_c_preproc_warn_flag | |
1720 | else | |
1721 | ac_cpp_err= | |
1722 | fi | |
1723 | else | |
1724 | ac_cpp_err=yes | |
1725 | fi | |
1726 | if test -z "$ac_cpp_err"; then | |
f6649e03 | 1727 | : |
1728 | else | |
10891472 | 1729 | echo "$as_me: failed program was:" >&5 |
f6649e03 | 1730 | cat conftest.$ac_ext >&5 |
10891472 | 1731 | # Broken: fails on valid input. |
1732 | continue | |
1733 | fi | |
1734 | rm -f conftest.err conftest.$ac_ext | |
1735 | ||
1736 | # OK, works on sane cases. Now check whether non-existent headers | |
1737 | # can be detected and how. | |
1738 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1739 | #line 1739 "configure" |
f6649e03 | 1740 | #include "confdefs.h" |
10891472 | 1741 | #include <ac_nonexistent.h> |
1742 | _ACEOF | |
b457acc7 | 1743 | if { (eval echo "$as_me:1743: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10891472 | 1744 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1745 | ac_status=$? | |
1746 | egrep -v '^ *\+' conftest.er1 >conftest.err | |
1747 | rm -f conftest.er1 | |
1748 | cat conftest.err >&5 | |
b457acc7 | 1749 | echo "$as_me:1749: \$? = $ac_status" >&5 |
10891472 | 1750 | (exit $ac_status); } >/dev/null; then |
1751 | if test -s conftest.err; then | |
1752 | ac_cpp_err=$ac_c_preproc_warn_flag | |
1753 | else | |
1754 | ac_cpp_err= | |
1755 | fi | |
1756 | else | |
1757 | ac_cpp_err=yes | |
1758 | fi | |
1759 | if test -z "$ac_cpp_err"; then | |
1760 | # Broken: success on invalid input. | |
1761 | continue | |
f6649e03 | 1762 | else |
10891472 | 1763 | echo "$as_me: failed program was:" >&5 |
f6649e03 | 1764 | cat conftest.$ac_ext >&5 |
10891472 | 1765 | # Passes both tests. |
1766 | ac_preproc_ok=: | |
1767 | break | |
1768 | fi | |
1769 | rm -f conftest.err conftest.$ac_ext | |
1770 | ||
1771 | done | |
1772 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
1773 | rm -f conftest.err conftest.$ac_ext | |
1774 | if $ac_preproc_ok; then | |
1775 | break | |
1776 | fi | |
1777 | ||
1778 | done | |
1779 | ac_cv_prog_CPP=$CPP | |
1780 | ||
1781 | fi | |
1782 | CPP=$ac_cv_prog_CPP | |
1783 | else | |
1784 | ac_cv_prog_CPP=$CPP | |
1785 | fi | |
b457acc7 | 1786 | echo "$as_me:1786: result: $CPP" >&5 |
10891472 | 1787 | echo "${ECHO_T}$CPP" >&6 |
1788 | ac_preproc_ok=false | |
1789 | for ac_c_preproc_warn_flag in '' yes | |
1790 | do | |
1791 | # Use a header file that comes with gcc, so configuring glibc | |
1792 | # with a fresh cross-compiler works. | |
1793 | # On the NeXT, cc -E runs the code through the compiler's parser, | |
1794 | # not just through cpp. "Syntax error" is here to catch this case. | |
1795 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1796 | #line 1796 "configure" |
f6649e03 | 1797 | #include "confdefs.h" |
1798 | #include <assert.h> | |
10891472 | 1799 | Syntax error |
1800 | _ACEOF | |
b457acc7 | 1801 | if { (eval echo "$as_me:1801: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10891472 | 1802 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1803 | ac_status=$? | |
1804 | egrep -v '^ *\+' conftest.er1 >conftest.err | |
1805 | rm -f conftest.er1 | |
1806 | cat conftest.err >&5 | |
b457acc7 | 1807 | echo "$as_me:1807: \$? = $ac_status" >&5 |
10891472 | 1808 | (exit $ac_status); } >/dev/null; then |
1809 | if test -s conftest.err; then | |
1810 | ac_cpp_err=$ac_c_preproc_warn_flag | |
1811 | else | |
1812 | ac_cpp_err= | |
1813 | fi | |
1814 | else | |
1815 | ac_cpp_err=yes | |
1816 | fi | |
1817 | if test -z "$ac_cpp_err"; then | |
f6649e03 | 1818 | : |
1819 | else | |
10891472 | 1820 | echo "$as_me: failed program was:" >&5 |
f6649e03 | 1821 | cat conftest.$ac_ext >&5 |
10891472 | 1822 | # Broken: fails on valid input. |
1823 | continue | |
f6649e03 | 1824 | fi |
10891472 | 1825 | rm -f conftest.err conftest.$ac_ext |
1826 | ||
1827 | # OK, works on sane cases. Now check whether non-existent headers | |
1828 | # can be detected and how. | |
1829 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 1830 | #line 1830 "configure" |
10891472 | 1831 | #include "confdefs.h" |
1832 | #include <ac_nonexistent.h> | |
1833 | _ACEOF | |
b457acc7 | 1834 | if { (eval echo "$as_me:1834: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10891472 | 1835 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1836 | ac_status=$? | |
1837 | egrep -v '^ *\+' conftest.er1 >conftest.err | |
1838 | rm -f conftest.er1 | |
1839 | cat conftest.err >&5 | |
b457acc7 | 1840 | echo "$as_me:1840: \$? = $ac_status" >&5 |
10891472 | 1841 | (exit $ac_status); } >/dev/null; then |
1842 | if test -s conftest.err; then | |
1843 | ac_cpp_err=$ac_c_preproc_warn_flag | |
1844 | else | |
1845 | ac_cpp_err= | |
1846 | fi | |
1847 | else | |
1848 | ac_cpp_err=yes | |
f6649e03 | 1849 | fi |
10891472 | 1850 | if test -z "$ac_cpp_err"; then |
1851 | # Broken: success on invalid input. | |
1852 | continue | |
1853 | else | |
1854 | echo "$as_me: failed program was:" >&5 | |
1855 | cat conftest.$ac_ext >&5 | |
1856 | # Passes both tests. | |
1857 | ac_preproc_ok=: | |
1858 | break | |
f6649e03 | 1859 | fi |
10891472 | 1860 | rm -f conftest.err conftest.$ac_ext |
1861 | ||
1862 | done | |
1863 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. | |
1864 | rm -f conftest.err conftest.$ac_ext | |
1865 | if $ac_preproc_ok; then | |
1866 | : | |
f6649e03 | 1867 | else |
b457acc7 | 1868 | { { echo "$as_me:1868: error: C preprocessor \"$CPP\" fails sanity check" >&5 |
10891472 | 1869 | echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} |
1870 | { (exit 1); exit 1; }; } | |
f6649e03 | 1871 | fi |
f6649e03 | 1872 | |
10891472 | 1873 | ac_ext=c |
1874 | ac_cpp='$CPP $CPPFLAGS' | |
1875 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' | |
1876 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' | |
1877 | ac_compiler_gnu=$ac_cv_c_compiler_gnu | |
1878 | ||
b457acc7 | 1879 | echo "$as_me:1879: checking for ANSI C header files" >&5 |
10891472 | 1880 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 |
1881 | if test "${ac_cv_header_stdc+set}" = set; then | |
1882 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 1883 | else |
10891472 | 1884 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 1885 | #line 1885 "configure" |
f6649e03 | 1886 | #include "confdefs.h" |
1887 | #include <stdlib.h> | |
1888 | #include <stdarg.h> | |
1889 | #include <string.h> | |
1890 | #include <float.h> | |
10891472 | 1891 | |
1892 | _ACEOF | |
b457acc7 | 1893 | if { (eval echo "$as_me:1893: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10891472 | 1894 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
1895 | ac_status=$? | |
1896 | egrep -v '^ *\+' conftest.er1 >conftest.err | |
1897 | rm -f conftest.er1 | |
1898 | cat conftest.err >&5 | |
b457acc7 | 1899 | echo "$as_me:1899: \$? = $ac_status" >&5 |
10891472 | 1900 | (exit $ac_status); } >/dev/null; then |
1901 | if test -s conftest.err; then | |
1902 | ac_cpp_err=$ac_c_preproc_warn_flag | |
1903 | else | |
1904 | ac_cpp_err= | |
1905 | fi | |
1906 | else | |
1907 | ac_cpp_err=yes | |
1908 | fi | |
1909 | if test -z "$ac_cpp_err"; then | |
f6649e03 | 1910 | ac_cv_header_stdc=yes |
1911 | else | |
10891472 | 1912 | echo "$as_me: failed program was:" >&5 |
f6649e03 | 1913 | cat conftest.$ac_ext >&5 |
f6649e03 | 1914 | ac_cv_header_stdc=no |
1915 | fi | |
10891472 | 1916 | rm -f conftest.err conftest.$ac_ext |
f6649e03 | 1917 | |
1918 | if test $ac_cv_header_stdc = yes; then | |
1919 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. | |
10891472 | 1920 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 1921 | #line 1921 "configure" |
f6649e03 | 1922 | #include "confdefs.h" |
1923 | #include <string.h> | |
10891472 | 1924 | |
1925 | _ACEOF | |
f6649e03 | 1926 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1927 | egrep "memchr" >/dev/null 2>&1; then | |
1928 | : | |
1929 | else | |
f6649e03 | 1930 | ac_cv_header_stdc=no |
1931 | fi | |
1932 | rm -f conftest* | |
1933 | ||
1934 | fi | |
1935 | ||
1936 | if test $ac_cv_header_stdc = yes; then | |
1937 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. | |
10891472 | 1938 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 1939 | #line 1939 "configure" |
f6649e03 | 1940 | #include "confdefs.h" |
1941 | #include <stdlib.h> | |
10891472 | 1942 | |
1943 | _ACEOF | |
f6649e03 | 1944 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
1945 | egrep "free" >/dev/null 2>&1; then | |
1946 | : | |
1947 | else | |
f6649e03 | 1948 | ac_cv_header_stdc=no |
1949 | fi | |
1950 | rm -f conftest* | |
1951 | ||
1952 | fi | |
1953 | ||
1954 | if test $ac_cv_header_stdc = yes; then | |
1955 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. | |
10891472 | 1956 | if test "$cross_compiling" = yes; then |
f6649e03 | 1957 | : |
1958 | else | |
10891472 | 1959 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 1960 | #line 1960 "configure" |
f6649e03 | 1961 | #include "confdefs.h" |
1962 | #include <ctype.h> | |
10891472 | 1963 | #if ((' ' & 0x0FF) == 0x020) |
1964 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') | |
1965 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) | |
1966 | #else | |
1967 | # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ | |
1968 | || ('j' <= (c) && (c) <= 'r') \ | |
1969 | || ('s' <= (c) && (c) <= 'z')) | |
1970 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) | |
1971 | #endif | |
f6649e03 | 1972 | |
10891472 | 1973 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
1974 | int | |
1975 | main () | |
1976 | { | |
1977 | int i; | |
1978 | for (i = 0; i < 256; i++) | |
1979 | if (XOR (islower (i), ISLOWER (i)) | |
1980 | || toupper (i) != TOUPPER (i)) | |
1981 | exit(2); | |
1982 | exit (0); | |
1983 | } | |
1984 | _ACEOF | |
1985 | rm -f conftest$ac_exeext | |
b457acc7 | 1986 | if { (eval echo "$as_me:1986: \"$ac_link\"") >&5 |
10891472 | 1987 | (eval $ac_link) 2>&5 |
1988 | ac_status=$? | |
b457acc7 | 1989 | echo "$as_me:1989: \$? = $ac_status" >&5 |
10891472 | 1990 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
b457acc7 | 1991 | { (eval echo "$as_me:1991: \"$ac_try\"") >&5 |
10891472 | 1992 | (eval $ac_try) 2>&5 |
1993 | ac_status=$? | |
b457acc7 | 1994 | echo "$as_me:1994: \$? = $ac_status" >&5 |
10891472 | 1995 | (exit $ac_status); }; }; then |
f6649e03 | 1996 | : |
1997 | else | |
10891472 | 1998 | echo "$as_me: program exited with status $ac_status" >&5 |
1999 | echo "$as_me: failed program was:" >&5 | |
2000 | cat conftest.$ac_ext >&5 | |
10891472 | 2001 | ac_cv_header_stdc=no |
f6649e03 | 2002 | fi |
10891472 | 2003 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
f6649e03 | 2004 | fi |
f6649e03 | 2005 | fi |
2006 | fi | |
b457acc7 | 2007 | echo "$as_me:2007: result: $ac_cv_header_stdc" >&5 |
10891472 | 2008 | echo "${ECHO_T}$ac_cv_header_stdc" >&6 |
f6649e03 | 2009 | if test $ac_cv_header_stdc = yes; then |
10891472 | 2010 | |
b457acc7 | 2011 | cat >>confdefs.h <<\EOF |
f6649e03 | 2012 | #define STDC_HEADERS 1 |
b457acc7 | 2013 | EOF |
f6649e03 | 2014 | |
2015 | fi | |
2016 | ||
5bd052df | 2017 | if test "$with_select" = "yes"; then |
2018 | echo "use of select() forced, skipping poll() checks..." | |
10891472 | 2019 | |
b457acc7 | 2020 | cat >>confdefs.h <<\EOF |
5bd052df | 2021 | #define WITH_SELECT 1 |
b457acc7 | 2022 | EOF |
5bd052df | 2023 | |
2024 | else | |
10891472 | 2025 | |
c99ff383 | 2026 | for ac_header in sys/poll.h |
2027 | do | |
2028 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
b457acc7 | 2029 | echo "$as_me:2029: checking for $ac_header" >&5 |
c99ff383 | 2030 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
2031 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
10891472 | 2032 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10891472 | 2033 | else |
b457acc7 | 2034 | cat >conftest.$ac_ext <<_ACEOF |
2035 | #line 2035 "configure" | |
10891472 | 2036 | #include "confdefs.h" |
c99ff383 | 2037 | #include <$ac_header> |
10891472 | 2038 | _ACEOF |
b457acc7 | 2039 | if { (eval echo "$as_me:2039: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10891472 | 2040 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2041 | ac_status=$? | |
2042 | egrep -v '^ *\+' conftest.er1 >conftest.err | |
2043 | rm -f conftest.er1 | |
2044 | cat conftest.err >&5 | |
b457acc7 | 2045 | echo "$as_me:2045: \$? = $ac_status" >&5 |
10891472 | 2046 | (exit $ac_status); } >/dev/null; then |
2047 | if test -s conftest.err; then | |
2048 | ac_cpp_err=$ac_c_preproc_warn_flag | |
2049 | else | |
2050 | ac_cpp_err= | |
2051 | fi | |
2052 | else | |
2053 | ac_cpp_err=yes | |
2054 | fi | |
2055 | if test -z "$ac_cpp_err"; then | |
b457acc7 | 2056 | eval "$as_ac_Header=yes" |
10891472 | 2057 | else |
2058 | echo "$as_me: failed program was:" >&5 | |
5bd052df | 2059 | cat conftest.$ac_ext >&5 |
b457acc7 | 2060 | eval "$as_ac_Header=no" |
5bd052df | 2061 | fi |
10891472 | 2062 | rm -f conftest.err conftest.$ac_ext |
10891472 | 2063 | fi |
b457acc7 | 2064 | echo "$as_me:2064: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
c99ff383 | 2065 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
c99ff383 | 2066 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
b457acc7 | 2067 | cat >>confdefs.h <<EOF |
c99ff383 | 2068 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
b457acc7 | 2069 | EOF |
c99ff383 | 2070 | have_poll_sys_h=yes |
5bd052df | 2071 | else |
10891472 | 2072 | have_sys_poll_h=no |
5bd052df | 2073 | fi |
c99ff383 | 2074 | done |
2075 | ||
5bd052df | 2076 | fi |
2077 | ||
eedb8c58 | 2078 | if test "$with_unreal" = "yes"; then |
2079 | echo "configuring for Unreal ircd" | |
10891472 | 2080 | |
b457acc7 | 2081 | cat >>confdefs.h <<\EOF |
eedb8c58 | 2082 | #define WITH_UNREAL 1 |
b457acc7 | 2083 | EOF |
eedb8c58 | 2084 | |
2085 | fi | |
2086 | ||
b457acc7 | 2087 | for ac_header in fcntl.h sys/time.h unistd.h strings.h |
f6649e03 | 2088 | do |
10891472 | 2089 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
b457acc7 | 2090 | echo "$as_me:2090: checking for $ac_header" >&5 |
10891472 | 2091 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 |
2092 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2093 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
10891472 | 2094 | else |
b457acc7 | 2095 | cat >conftest.$ac_ext <<_ACEOF |
2096 | #line 2096 "configure" | |
10891472 | 2097 | #include "confdefs.h" |
2098 | #include <$ac_header> | |
2099 | _ACEOF | |
b457acc7 | 2100 | if { (eval echo "$as_me:2100: \"$ac_cpp conftest.$ac_ext\"") >&5 |
10891472 | 2101 | (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 |
2102 | ac_status=$? | |
2103 | egrep -v '^ *\+' conftest.er1 >conftest.err | |
2104 | rm -f conftest.er1 | |
2105 | cat conftest.err >&5 | |
b457acc7 | 2106 | echo "$as_me:2106: \$? = $ac_status" >&5 |
10891472 | 2107 | (exit $ac_status); } >/dev/null; then |
2108 | if test -s conftest.err; then | |
2109 | ac_cpp_err=$ac_c_preproc_warn_flag | |
2110 | else | |
2111 | ac_cpp_err= | |
2112 | fi | |
2113 | else | |
2114 | ac_cpp_err=yes | |
f6649e03 | 2115 | fi |
10891472 | 2116 | if test -z "$ac_cpp_err"; then |
b457acc7 | 2117 | eval "$as_ac_Header=yes" |
f6649e03 | 2118 | else |
10891472 | 2119 | echo "$as_me: failed program was:" >&5 |
2120 | cat conftest.$ac_ext >&5 | |
b457acc7 | 2121 | eval "$as_ac_Header=no" |
10891472 | 2122 | fi |
2123 | rm -f conftest.err conftest.$ac_ext | |
10891472 | 2124 | fi |
b457acc7 | 2125 | echo "$as_me:2125: result: `eval echo '${'$as_ac_Header'}'`" >&5 |
10891472 | 2126 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 |
10891472 | 2127 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
b457acc7 | 2128 | cat >>confdefs.h <<EOF |
10891472 | 2129 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
b457acc7 | 2130 | EOF |
10891472 | 2131 | |
f6649e03 | 2132 | fi |
10891472 | 2133 | done |
f6649e03 | 2134 | |
b457acc7 | 2135 | echo "$as_me:2135: checking for $CC option to accept ANSI C" >&5 |
10891472 | 2136 | echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 |
2137 | if test "${ac_cv_prog_cc_stdc+set}" = set; then | |
2138 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 2139 | else |
10891472 | 2140 | ac_cv_prog_cc_stdc=no |
2141 | ac_save_CC=$CC | |
2142 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 2143 | #line 2143 "configure" |
f6649e03 | 2144 | #include "confdefs.h" |
10891472 | 2145 | #include <stdarg.h> |
2146 | #include <stdio.h> | |
2147 | #include <sys/types.h> | |
2148 | #include <sys/stat.h> | |
2149 | /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ | |
2150 | struct buf { int x; }; | |
2151 | FILE * (*rcsopen) (struct buf *, struct stat *, int); | |
2152 | static char *e (p, i) | |
2153 | char **p; | |
2154 | int i; | |
2155 | { | |
2156 | return p[i]; | |
f6649e03 | 2157 | } |
10891472 | 2158 | static char *f (char * (*g) (char **, int), char **p, ...) |
2159 | { | |
2160 | char *s; | |
2161 | va_list v; | |
2162 | va_start (v,p); | |
2163 | s = g (p, va_arg (v,int)); | |
2164 | va_end (v); | |
2165 | return s; | |
f6649e03 | 2166 | } |
10891472 | 2167 | int test (int i, double x); |
2168 | struct s1 {int (*f) (int a);}; | |
2169 | struct s2 {int (*f) (double a);}; | |
2170 | int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); | |
2171 | int argc; | |
2172 | char **argv; | |
10891472 | 2173 | int |
2174 | main () | |
2175 | { | |
2176 | return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; | |
2177 | ; | |
2178 | return 0; | |
f6649e03 | 2179 | } |
10891472 | 2180 | _ACEOF |
2181 | # Don't try gcc -ansi; that turns off useful extensions and | |
2182 | # breaks some systems' header files. | |
2183 | # AIX -qlanglvl=ansi | |
2184 | # Ultrix and OSF/1 -std1 | |
2185 | # HP-UX 10.20 and later -Ae | |
2186 | # HP-UX older versions -Aa -D_HPUX_SOURCE | |
2187 | # SVR4 -Xc -D__EXTENSIONS__ | |
2188 | for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" | |
2189 | do | |
2190 | CC="$ac_save_CC $ac_arg" | |
2191 | rm -f conftest.$ac_objext | |
b457acc7 | 2192 | if { (eval echo "$as_me:2192: \"$ac_compile\"") >&5 |
10891472 | 2193 | (eval $ac_compile) 2>&5 |
2194 | ac_status=$? | |
b457acc7 | 2195 | echo "$as_me:2195: \$? = $ac_status" >&5 |
10891472 | 2196 | (exit $ac_status); } && |
2197 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 2198 | { (eval echo "$as_me:2198: \"$ac_try\"") >&5 |
10891472 | 2199 | (eval $ac_try) 2>&5 |
2200 | ac_status=$? | |
b457acc7 | 2201 | echo "$as_me:2201: \$? = $ac_status" >&5 |
10891472 | 2202 | (exit $ac_status); }; }; then |
2203 | ac_cv_prog_cc_stdc=$ac_arg | |
2204 | break | |
2205 | else | |
2206 | echo "$as_me: failed program was:" >&5 | |
2207 | cat conftest.$ac_ext >&5 | |
2208 | fi | |
2209 | rm -f conftest.$ac_objext | |
2210 | done | |
2211 | rm -f conftest.$ac_ext conftest.$ac_objext | |
2212 | CC=$ac_save_CC | |
2213 | ||
2214 | fi | |
2215 | ||
2216 | case "x$ac_cv_prog_cc_stdc" in | |
2217 | x|xno) | |
b457acc7 | 2218 | echo "$as_me:2218: result: none needed" >&5 |
10891472 | 2219 | echo "${ECHO_T}none needed" >&6 ;; |
2220 | *) | |
b457acc7 | 2221 | echo "$as_me:2221: result: $ac_cv_prog_cc_stdc" >&5 |
10891472 | 2222 | echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 |
2223 | CC="$CC $ac_cv_prog_cc_stdc" ;; | |
2224 | esac | |
2225 | ||
b457acc7 | 2226 | echo "$as_me:2226: checking for an ANSI C-conforming const" >&5 |
10891472 | 2227 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6 |
2228 | if test "${ac_cv_c_const+set}" = set; then | |
2229 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2230 | else | |
2231 | cat >conftest.$ac_ext <<_ACEOF | |
b457acc7 | 2232 | #line 2232 "configure" |
10891472 | 2233 | #include "confdefs.h" |
2234 | ||
10891472 | 2235 | int |
2236 | main () | |
2237 | { | |
2238 | /* FIXME: Include the comments suggested by Paul. */ | |
2239 | #ifndef __cplusplus | |
2240 | /* Ultrix mips cc rejects this. */ | |
2241 | typedef int charset[2]; | |
2242 | const charset x; | |
2243 | /* SunOS 4.1.1 cc rejects this. */ | |
2244 | char const *const *ccp; | |
2245 | char **p; | |
2246 | /* NEC SVR4.0.2 mips cc rejects this. */ | |
2247 | struct point {int x, y;}; | |
2248 | static struct point const zero = {0,0}; | |
2249 | /* AIX XL C 1.02.0.0 rejects this. | |
2250 | It does not let you subtract one const X* pointer from another in | |
2251 | an arm of an if-expression whose if-part is not a constant | |
2252 | expression */ | |
2253 | const char *g = "string"; | |
2254 | ccp = &g + (g ? g-g : 0); | |
2255 | /* HPUX 7.0 cc rejects these. */ | |
2256 | ++ccp; | |
2257 | p = (char**) ccp; | |
2258 | ccp = (char const *const *) p; | |
2259 | { /* SCO 3.2v4 cc rejects this. */ | |
2260 | char *t; | |
2261 | char const *s = 0 ? (char *) 0 : (char const *) 0; | |
2262 | ||
2263 | *t++ = 0; | |
2264 | } | |
2265 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ | |
2266 | int x[] = {25, 17}; | |
2267 | const int *foo = &x[0]; | |
2268 | ++foo; | |
2269 | } | |
2270 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ | |
2271 | typedef const int *iptr; | |
2272 | iptr p = 0; | |
2273 | ++p; | |
2274 | } | |
2275 | { /* AIX XL C 1.02.0.0 rejects this saying | |
2276 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ | |
2277 | struct s { int j; const int *ap[3]; }; | |
2278 | struct s *b; b->j = 5; | |
2279 | } | |
2280 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ | |
2281 | const int foo = 10; | |
2282 | } | |
2283 | #endif | |
f6649e03 | 2284 | |
10891472 | 2285 | ; |
2286 | return 0; | |
2287 | } | |
2288 | _ACEOF | |
2289 | rm -f conftest.$ac_objext | |
b457acc7 | 2290 | if { (eval echo "$as_me:2290: \"$ac_compile\"") >&5 |
10891472 | 2291 | (eval $ac_compile) 2>&5 |
2292 | ac_status=$? | |
b457acc7 | 2293 | echo "$as_me:2293: \$? = $ac_status" >&5 |
10891472 | 2294 | (exit $ac_status); } && |
2295 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 2296 | { (eval echo "$as_me:2296: \"$ac_try\"") >&5 |
10891472 | 2297 | (eval $ac_try) 2>&5 |
2298 | ac_status=$? | |
b457acc7 | 2299 | echo "$as_me:2299: \$? = $ac_status" >&5 |
10891472 | 2300 | (exit $ac_status); }; }; then |
f6649e03 | 2301 | ac_cv_c_const=yes |
2302 | else | |
10891472 | 2303 | echo "$as_me: failed program was:" >&5 |
2304 | cat conftest.$ac_ext >&5 | |
2305 | ac_cv_c_const=no | |
f6649e03 | 2306 | fi |
10891472 | 2307 | rm -f conftest.$ac_objext conftest.$ac_ext |
f6649e03 | 2308 | fi |
b457acc7 | 2309 | echo "$as_me:2309: result: $ac_cv_c_const" >&5 |
10891472 | 2310 | echo "${ECHO_T}$ac_cv_c_const" >&6 |
f6649e03 | 2311 | if test $ac_cv_c_const = no; then |
10891472 | 2312 | |
b457acc7 | 2313 | cat >>confdefs.h <<\EOF |
10891472 | 2314 | #define const |
b457acc7 | 2315 | EOF |
2316 | ||
2317 | fi | |
2318 | ||
2319 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. | |
2320 | ||
2321 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ | |
2322 | inttypes.h stdint.h unistd.h | |
2323 | do | |
2324 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` | |
2325 | echo "$as_me:2325: checking for $ac_header" >&5 | |
2326 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 | |
2327 | if eval "test \"\${$as_ac_Header+set}\" = set"; then | |
2328 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2329 | else | |
2330 | cat >conftest.$ac_ext <<_ACEOF | |
2331 | #line 2331 "configure" | |
2332 | #include "confdefs.h" | |
2333 | $ac_includes_default | |
2334 | #include <$ac_header> | |
10891472 | 2335 | _ACEOF |
b457acc7 | 2336 | rm -f conftest.$ac_objext |
2337 | if { (eval echo "$as_me:2337: \"$ac_compile\"") >&5 | |
2338 | (eval $ac_compile) 2>&5 | |
2339 | ac_status=$? | |
2340 | echo "$as_me:2340: \$? = $ac_status" >&5 | |
2341 | (exit $ac_status); } && | |
2342 | { ac_try='test -s conftest.$ac_objext' | |
2343 | { (eval echo "$as_me:2343: \"$ac_try\"") >&5 | |
2344 | (eval $ac_try) 2>&5 | |
2345 | ac_status=$? | |
2346 | echo "$as_me:2346: \$? = $ac_status" >&5 | |
2347 | (exit $ac_status); }; }; then | |
2348 | eval "$as_ac_Header=yes" | |
2349 | else | |
2350 | echo "$as_me: failed program was:" >&5 | |
2351 | cat conftest.$ac_ext >&5 | |
2352 | eval "$as_ac_Header=no" | |
2353 | fi | |
2354 | rm -f conftest.$ac_objext conftest.$ac_ext | |
2355 | fi | |
2356 | echo "$as_me:2356: result: `eval echo '${'$as_ac_Header'}'`" >&5 | |
2357 | echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 | |
2358 | if test `eval echo '${'$as_ac_Header'}'` = yes; then | |
2359 | cat >>confdefs.h <<EOF | |
2360 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 | |
2361 | EOF | |
f6649e03 | 2362 | |
2363 | fi | |
b457acc7 | 2364 | done |
f6649e03 | 2365 | |
b457acc7 | 2366 | echo "$as_me:2366: checking for size_t" >&5 |
10891472 | 2367 | echo $ECHO_N "checking for size_t... $ECHO_C" >&6 |
2368 | if test "${ac_cv_type_size_t+set}" = set; then | |
2369 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 2370 | else |
10891472 | 2371 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2372 | #line 2372 "configure" |
f6649e03 | 2373 | #include "confdefs.h" |
10891472 | 2374 | $ac_includes_default |
10891472 | 2375 | int |
2376 | main () | |
2377 | { | |
2378 | if ((size_t *) 0) | |
2379 | return 0; | |
2380 | if (sizeof (size_t)) | |
2381 | return 0; | |
2382 | ; | |
2383 | return 0; | |
2384 | } | |
2385 | _ACEOF | |
2386 | rm -f conftest.$ac_objext | |
b457acc7 | 2387 | if { (eval echo "$as_me:2387: \"$ac_compile\"") >&5 |
10891472 | 2388 | (eval $ac_compile) 2>&5 |
2389 | ac_status=$? | |
b457acc7 | 2390 | echo "$as_me:2390: \$? = $ac_status" >&5 |
10891472 | 2391 | (exit $ac_status); } && |
2392 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 2393 | { (eval echo "$as_me:2393: \"$ac_try\"") >&5 |
10891472 | 2394 | (eval $ac_try) 2>&5 |
2395 | ac_status=$? | |
b457acc7 | 2396 | echo "$as_me:2396: \$? = $ac_status" >&5 |
10891472 | 2397 | (exit $ac_status); }; }; then |
f6649e03 | 2398 | ac_cv_type_size_t=yes |
2399 | else | |
10891472 | 2400 | echo "$as_me: failed program was:" >&5 |
2401 | cat conftest.$ac_ext >&5 | |
2402 | ac_cv_type_size_t=no | |
f6649e03 | 2403 | fi |
10891472 | 2404 | rm -f conftest.$ac_objext conftest.$ac_ext |
f6649e03 | 2405 | fi |
b457acc7 | 2406 | echo "$as_me:2406: result: $ac_cv_type_size_t" >&5 |
10891472 | 2407 | echo "${ECHO_T}$ac_cv_type_size_t" >&6 |
2408 | if test $ac_cv_type_size_t = yes; then | |
2409 | : | |
2410 | else | |
2411 | ||
b457acc7 | 2412 | cat >>confdefs.h <<EOF |
f6649e03 | 2413 | #define size_t unsigned |
b457acc7 | 2414 | EOF |
f6649e03 | 2415 | |
2416 | fi | |
2417 | ||
b457acc7 | 2418 | echo "$as_me:2418: checking whether time.h and sys/time.h may both be included" >&5 |
10891472 | 2419 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6 |
2420 | if test "${ac_cv_header_time+set}" = set; then | |
2421 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 2422 | else |
10891472 | 2423 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2424 | #line 2424 "configure" |
f6649e03 | 2425 | #include "confdefs.h" |
2426 | #include <sys/types.h> | |
2427 | #include <sys/time.h> | |
2428 | #include <time.h> | |
10891472 | 2429 | |
10891472 | 2430 | int |
2431 | main () | |
2432 | { | |
2433 | if ((struct tm *) 0) | |
2434 | return 0; | |
2435 | ; | |
2436 | return 0; | |
2437 | } | |
2438 | _ACEOF | |
2439 | rm -f conftest.$ac_objext | |
b457acc7 | 2440 | if { (eval echo "$as_me:2440: \"$ac_compile\"") >&5 |
10891472 | 2441 | (eval $ac_compile) 2>&5 |
2442 | ac_status=$? | |
b457acc7 | 2443 | echo "$as_me:2443: \$? = $ac_status" >&5 |
10891472 | 2444 | (exit $ac_status); } && |
2445 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 2446 | { (eval echo "$as_me:2446: \"$ac_try\"") >&5 |
10891472 | 2447 | (eval $ac_try) 2>&5 |
2448 | ac_status=$? | |
b457acc7 | 2449 | echo "$as_me:2449: \$? = $ac_status" >&5 |
10891472 | 2450 | (exit $ac_status); }; }; then |
f6649e03 | 2451 | ac_cv_header_time=yes |
2452 | else | |
10891472 | 2453 | echo "$as_me: failed program was:" >&5 |
2454 | cat conftest.$ac_ext >&5 | |
2455 | ac_cv_header_time=no | |
f6649e03 | 2456 | fi |
10891472 | 2457 | rm -f conftest.$ac_objext conftest.$ac_ext |
f6649e03 | 2458 | fi |
b457acc7 | 2459 | echo "$as_me:2459: result: $ac_cv_header_time" >&5 |
10891472 | 2460 | echo "${ECHO_T}$ac_cv_header_time" >&6 |
f6649e03 | 2461 | if test $ac_cv_header_time = yes; then |
10891472 | 2462 | |
b457acc7 | 2463 | cat >>confdefs.h <<\EOF |
f6649e03 | 2464 | #define TIME_WITH_SYS_TIME 1 |
b457acc7 | 2465 | EOF |
f6649e03 | 2466 | |
2467 | fi | |
2468 | ||
b457acc7 | 2469 | echo "$as_me:2469: checking whether struct tm is in sys/time.h or time.h" >&5 |
10891472 | 2470 | echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6 |
2471 | if test "${ac_cv_struct_tm+set}" = set; then | |
2472 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 2473 | else |
10891472 | 2474 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2475 | #line 2475 "configure" |
f6649e03 | 2476 | #include "confdefs.h" |
2477 | #include <sys/types.h> | |
2478 | #include <time.h> | |
10891472 | 2479 | |
10891472 | 2480 | int |
2481 | main () | |
2482 | { | |
f6649e03 | 2483 | struct tm *tp; tp->tm_sec; |
10891472 | 2484 | ; |
2485 | return 0; | |
2486 | } | |
2487 | _ACEOF | |
2488 | rm -f conftest.$ac_objext | |
b457acc7 | 2489 | if { (eval echo "$as_me:2489: \"$ac_compile\"") >&5 |
10891472 | 2490 | (eval $ac_compile) 2>&5 |
2491 | ac_status=$? | |
b457acc7 | 2492 | echo "$as_me:2492: \$? = $ac_status" >&5 |
10891472 | 2493 | (exit $ac_status); } && |
2494 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 2495 | { (eval echo "$as_me:2495: \"$ac_try\"") >&5 |
10891472 | 2496 | (eval $ac_try) 2>&5 |
2497 | ac_status=$? | |
b457acc7 | 2498 | echo "$as_me:2498: \$? = $ac_status" >&5 |
10891472 | 2499 | (exit $ac_status); }; }; then |
f6649e03 | 2500 | ac_cv_struct_tm=time.h |
2501 | else | |
10891472 | 2502 | echo "$as_me: failed program was:" >&5 |
2503 | cat conftest.$ac_ext >&5 | |
2504 | ac_cv_struct_tm=sys/time.h | |
f6649e03 | 2505 | fi |
10891472 | 2506 | rm -f conftest.$ac_objext conftest.$ac_ext |
f6649e03 | 2507 | fi |
b457acc7 | 2508 | echo "$as_me:2508: result: $ac_cv_struct_tm" >&5 |
10891472 | 2509 | echo "${ECHO_T}$ac_cv_struct_tm" >&6 |
f6649e03 | 2510 | if test $ac_cv_struct_tm = sys/time.h; then |
10891472 | 2511 | |
b457acc7 | 2512 | cat >>confdefs.h <<\EOF |
f6649e03 | 2513 | #define TM_IN_SYS_TIME 1 |
b457acc7 | 2514 | EOF |
f6649e03 | 2515 | |
2516 | fi | |
2517 | ||
b457acc7 | 2518 | echo "$as_me:2518: checking return type of signal handlers" >&5 |
10891472 | 2519 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6 |
2520 | if test "${ac_cv_type_signal+set}" = set; then | |
2521 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 2522 | else |
10891472 | 2523 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2524 | #line 2524 "configure" |
f6649e03 | 2525 | #include "confdefs.h" |
2526 | #include <sys/types.h> | |
2527 | #include <signal.h> | |
2528 | #ifdef signal | |
10891472 | 2529 | # undef signal |
f6649e03 | 2530 | #endif |
2531 | #ifdef __cplusplus | |
2532 | extern "C" void (*signal (int, void (*)(int)))(int); | |
2533 | #else | |
2534 | void (*signal ()) (); | |
2535 | #endif | |
2536 | ||
10891472 | 2537 | int |
2538 | main () | |
2539 | { | |
f6649e03 | 2540 | int i; |
10891472 | 2541 | ; |
2542 | return 0; | |
2543 | } | |
2544 | _ACEOF | |
2545 | rm -f conftest.$ac_objext | |
b457acc7 | 2546 | if { (eval echo "$as_me:2546: \"$ac_compile\"") >&5 |
10891472 | 2547 | (eval $ac_compile) 2>&5 |
2548 | ac_status=$? | |
b457acc7 | 2549 | echo "$as_me:2549: \$? = $ac_status" >&5 |
10891472 | 2550 | (exit $ac_status); } && |
2551 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 2552 | { (eval echo "$as_me:2552: \"$ac_try\"") >&5 |
10891472 | 2553 | (eval $ac_try) 2>&5 |
2554 | ac_status=$? | |
b457acc7 | 2555 | echo "$as_me:2555: \$? = $ac_status" >&5 |
10891472 | 2556 | (exit $ac_status); }; }; then |
f6649e03 | 2557 | ac_cv_type_signal=void |
2558 | else | |
10891472 | 2559 | echo "$as_me: failed program was:" >&5 |
2560 | cat conftest.$ac_ext >&5 | |
2561 | ac_cv_type_signal=int | |
f6649e03 | 2562 | fi |
10891472 | 2563 | rm -f conftest.$ac_objext conftest.$ac_ext |
f6649e03 | 2564 | fi |
b457acc7 | 2565 | echo "$as_me:2565: result: $ac_cv_type_signal" >&5 |
10891472 | 2566 | echo "${ECHO_T}$ac_cv_type_signal" >&6 |
f6649e03 | 2567 | |
b457acc7 | 2568 | cat >>confdefs.h <<EOF |
f6649e03 | 2569 | #define RETSIGTYPE $ac_cv_type_signal |
b457acc7 | 2570 | EOF |
f6649e03 | 2571 | |
10891472 | 2572 | for ac_func in strftime |
2573 | do | |
2574 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` | |
b457acc7 | 2575 | echo "$as_me:2575: checking for $ac_func" >&5 |
10891472 | 2576 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
2577 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
2578 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 2579 | else |
10891472 | 2580 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2581 | #line 2581 "configure" |
f6649e03 | 2582 | #include "confdefs.h" |
2583 | /* System header to define __stub macros and hopefully few prototypes, | |
10891472 | 2584 | which can conflict with char $ac_func (); below. */ |
f6649e03 | 2585 | #include <assert.h> |
2586 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10891472 | 2587 | #ifdef __cplusplus |
2588 | extern "C" | |
2589 | #endif | |
f6649e03 | 2590 | /* We use char because int might match the return type of a gcc2 |
10891472 | 2591 | builtin and then its argument prototype would still apply. */ |
2592 | char $ac_func (); | |
2593 | char (*f) (); | |
2594 | ||
10891472 | 2595 | int |
2596 | main () | |
2597 | { | |
f6649e03 | 2598 | /* The GNU C library defines this for functions which it implements |
2599 | to always fail with ENOSYS. Some functions are actually named | |
2600 | something starting with __ and the normal name is an alias. */ | |
10891472 | 2601 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) |
f6649e03 | 2602 | choke me |
2603 | #else | |
10891472 | 2604 | f = $ac_func; |
f6649e03 | 2605 | #endif |
2606 | ||
10891472 | 2607 | ; |
2608 | return 0; | |
2609 | } | |
2610 | _ACEOF | |
2611 | rm -f conftest.$ac_objext conftest$ac_exeext | |
b457acc7 | 2612 | if { (eval echo "$as_me:2612: \"$ac_link\"") >&5 |
10891472 | 2613 | (eval $ac_link) 2>&5 |
2614 | ac_status=$? | |
b457acc7 | 2615 | echo "$as_me:2615: \$? = $ac_status" >&5 |
10891472 | 2616 | (exit $ac_status); } && |
2617 | { ac_try='test -s conftest$ac_exeext' | |
b457acc7 | 2618 | { (eval echo "$as_me:2618: \"$ac_try\"") >&5 |
10891472 | 2619 | (eval $ac_try) 2>&5 |
2620 | ac_status=$? | |
b457acc7 | 2621 | echo "$as_me:2621: \$? = $ac_status" >&5 |
10891472 | 2622 | (exit $ac_status); }; }; then |
2623 | eval "$as_ac_var=yes" | |
f6649e03 | 2624 | else |
10891472 | 2625 | echo "$as_me: failed program was:" >&5 |
2626 | cat conftest.$ac_ext >&5 | |
2627 | eval "$as_ac_var=no" | |
f6649e03 | 2628 | fi |
10891472 | 2629 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
f6649e03 | 2630 | fi |
b457acc7 | 2631 | echo "$as_me:2631: result: `eval echo '${'$as_ac_var'}'`" >&5 |
10891472 | 2632 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
2633 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
b457acc7 | 2634 | cat >>confdefs.h <<EOF |
10891472 | 2635 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
b457acc7 | 2636 | EOF |
f6649e03 | 2637 | |
2638 | else | |
10891472 | 2639 | # strftime is in -lintl on SCO UNIX. |
b457acc7 | 2640 | echo "$as_me:2640: checking for strftime in -lintl" >&5 |
10891472 | 2641 | echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6 |
2642 | if test "${ac_cv_lib_intl_strftime+set}" = set; then | |
2643 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 2644 | else |
10891472 | 2645 | ac_check_lib_save_LIBS=$LIBS |
f6649e03 | 2646 | LIBS="-lintl $LIBS" |
10891472 | 2647 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2648 | #line 2648 "configure" |
f6649e03 | 2649 | #include "confdefs.h" |
10891472 | 2650 | |
f6649e03 | 2651 | /* Override any gcc2 internal prototype to avoid an error. */ |
10891472 | 2652 | #ifdef __cplusplus |
2653 | extern "C" | |
2654 | #endif | |
f6649e03 | 2655 | /* We use char because int might match the return type of a gcc2 |
10891472 | 2656 | builtin and then its argument prototype would still apply. */ |
2657 | char strftime (); | |
10891472 | 2658 | int |
2659 | main () | |
2660 | { | |
2661 | strftime (); | |
2662 | ; | |
2663 | return 0; | |
2664 | } | |
2665 | _ACEOF | |
2666 | rm -f conftest.$ac_objext conftest$ac_exeext | |
b457acc7 | 2667 | if { (eval echo "$as_me:2667: \"$ac_link\"") >&5 |
10891472 | 2668 | (eval $ac_link) 2>&5 |
2669 | ac_status=$? | |
b457acc7 | 2670 | echo "$as_me:2670: \$? = $ac_status" >&5 |
10891472 | 2671 | (exit $ac_status); } && |
2672 | { ac_try='test -s conftest$ac_exeext' | |
b457acc7 | 2673 | { (eval echo "$as_me:2673: \"$ac_try\"") >&5 |
10891472 | 2674 | (eval $ac_try) 2>&5 |
2675 | ac_status=$? | |
b457acc7 | 2676 | echo "$as_me:2676: \$? = $ac_status" >&5 |
10891472 | 2677 | (exit $ac_status); }; }; then |
2678 | ac_cv_lib_intl_strftime=yes | |
2679 | else | |
2680 | echo "$as_me: failed program was:" >&5 | |
2681 | cat conftest.$ac_ext >&5 | |
2682 | ac_cv_lib_intl_strftime=no | |
f6649e03 | 2683 | fi |
10891472 | 2684 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
2685 | LIBS=$ac_check_lib_save_LIBS | |
f6649e03 | 2686 | fi |
b457acc7 | 2687 | echo "$as_me:2687: result: $ac_cv_lib_intl_strftime" >&5 |
10891472 | 2688 | echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6 |
2689 | if test $ac_cv_lib_intl_strftime = yes; then | |
b457acc7 | 2690 | cat >>confdefs.h <<\EOF |
f6649e03 | 2691 | #define HAVE_STRFTIME 1 |
b457acc7 | 2692 | EOF |
f6649e03 | 2693 | |
2694 | LIBS="-lintl $LIBS" | |
f6649e03 | 2695 | fi |
2696 | ||
2697 | fi | |
10891472 | 2698 | done |
5bd052df | 2699 | |
2700 | if test "$with_select" = "yes" || test "$have_sys_poll_h" = "no"; then | |
10891472 | 2701 | |
2702 | for ac_func in select | |
5bd052df | 2703 | do |
10891472 | 2704 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
b457acc7 | 2705 | echo "$as_me:2705: checking for $ac_func" >&5 |
10891472 | 2706 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
2707 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
2708 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
5bd052df | 2709 | else |
10891472 | 2710 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2711 | #line 2711 "configure" |
5bd052df | 2712 | #include "confdefs.h" |
2713 | /* System header to define __stub macros and hopefully few prototypes, | |
10891472 | 2714 | which can conflict with char $ac_func (); below. */ |
5bd052df | 2715 | #include <assert.h> |
2716 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10891472 | 2717 | #ifdef __cplusplus |
2718 | extern "C" | |
2719 | #endif | |
5bd052df | 2720 | /* We use char because int might match the return type of a gcc2 |
10891472 | 2721 | builtin and then its argument prototype would still apply. */ |
2722 | char $ac_func (); | |
2723 | char (*f) (); | |
2724 | ||
10891472 | 2725 | int |
2726 | main () | |
2727 | { | |
5bd052df | 2728 | /* The GNU C library defines this for functions which it implements |
2729 | to always fail with ENOSYS. Some functions are actually named | |
2730 | something starting with __ and the normal name is an alias. */ | |
2731 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
2732 | choke me | |
2733 | #else | |
10891472 | 2734 | f = $ac_func; |
5bd052df | 2735 | #endif |
2736 | ||
10891472 | 2737 | ; |
2738 | return 0; | |
2739 | } | |
2740 | _ACEOF | |
2741 | rm -f conftest.$ac_objext conftest$ac_exeext | |
b457acc7 | 2742 | if { (eval echo "$as_me:2742: \"$ac_link\"") >&5 |
10891472 | 2743 | (eval $ac_link) 2>&5 |
2744 | ac_status=$? | |
b457acc7 | 2745 | echo "$as_me:2745: \$? = $ac_status" >&5 |
10891472 | 2746 | (exit $ac_status); } && |
2747 | { ac_try='test -s conftest$ac_exeext' | |
b457acc7 | 2748 | { (eval echo "$as_me:2748: \"$ac_try\"") >&5 |
10891472 | 2749 | (eval $ac_try) 2>&5 |
2750 | ac_status=$? | |
b457acc7 | 2751 | echo "$as_me:2751: \$? = $ac_status" >&5 |
10891472 | 2752 | (exit $ac_status); }; }; then |
2753 | eval "$as_ac_var=yes" | |
5bd052df | 2754 | else |
10891472 | 2755 | echo "$as_me: failed program was:" >&5 |
2756 | cat conftest.$ac_ext >&5 | |
2757 | eval "$as_ac_var=no" | |
5bd052df | 2758 | fi |
10891472 | 2759 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
5bd052df | 2760 | fi |
b457acc7 | 2761 | echo "$as_me:2761: result: `eval echo '${'$as_ac_var'}'`" >&5 |
10891472 | 2762 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
2763 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
b457acc7 | 2764 | cat >>confdefs.h <<EOF |
10891472 | 2765 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
b457acc7 | 2766 | EOF |
5bd052df | 2767 | have_select=yes |
2768 | else | |
10891472 | 2769 | have_select=no |
5bd052df | 2770 | fi |
2771 | done | |
2772 | ||
2773 | if test "$have_select" = "no"; then | |
b457acc7 | 2774 | { { echo "$as_me:2774: error: No select() implementation found" >&5 |
10891472 | 2775 | echo "$as_me: error: No select() implementation found" >&2;} |
2776 | { (exit 1); exit 1; }; } | |
5bd052df | 2777 | fi |
2778 | fi | |
2779 | ||
23b298fa | 2780 | for ac_func in inet_aton socket strdup strstr |
f6649e03 | 2781 | do |
10891472 | 2782 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
b457acc7 | 2783 | echo "$as_me:2783: checking for $ac_func" >&5 |
10891472 | 2784 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6 |
2785 | if eval "test \"\${$as_ac_var+set}\" = set"; then | |
2786 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
f6649e03 | 2787 | else |
10891472 | 2788 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2789 | #line 2789 "configure" |
f6649e03 | 2790 | #include "confdefs.h" |
2791 | /* System header to define __stub macros and hopefully few prototypes, | |
10891472 | 2792 | which can conflict with char $ac_func (); below. */ |
f6649e03 | 2793 | #include <assert.h> |
2794 | /* Override any gcc2 internal prototype to avoid an error. */ | |
10891472 | 2795 | #ifdef __cplusplus |
2796 | extern "C" | |
2797 | #endif | |
f6649e03 | 2798 | /* We use char because int might match the return type of a gcc2 |
10891472 | 2799 | builtin and then its argument prototype would still apply. */ |
2800 | char $ac_func (); | |
2801 | char (*f) (); | |
2802 | ||
10891472 | 2803 | int |
2804 | main () | |
2805 | { | |
f6649e03 | 2806 | /* The GNU C library defines this for functions which it implements |
2807 | to always fail with ENOSYS. Some functions are actually named | |
2808 | something starting with __ and the normal name is an alias. */ | |
2809 | #if defined (__stub_$ac_func) || defined (__stub___$ac_func) | |
2810 | choke me | |
2811 | #else | |
10891472 | 2812 | f = $ac_func; |
f6649e03 | 2813 | #endif |
2814 | ||
10891472 | 2815 | ; |
2816 | return 0; | |
2817 | } | |
2818 | _ACEOF | |
2819 | rm -f conftest.$ac_objext conftest$ac_exeext | |
b457acc7 | 2820 | if { (eval echo "$as_me:2820: \"$ac_link\"") >&5 |
10891472 | 2821 | (eval $ac_link) 2>&5 |
2822 | ac_status=$? | |
b457acc7 | 2823 | echo "$as_me:2823: \$? = $ac_status" >&5 |
10891472 | 2824 | (exit $ac_status); } && |
2825 | { ac_try='test -s conftest$ac_exeext' | |
b457acc7 | 2826 | { (eval echo "$as_me:2826: \"$ac_try\"") >&5 |
10891472 | 2827 | (eval $ac_try) 2>&5 |
2828 | ac_status=$? | |
b457acc7 | 2829 | echo "$as_me:2829: \$? = $ac_status" >&5 |
10891472 | 2830 | (exit $ac_status); }; }; then |
2831 | eval "$as_ac_var=yes" | |
f6649e03 | 2832 | else |
10891472 | 2833 | echo "$as_me: failed program was:" >&5 |
2834 | cat conftest.$ac_ext >&5 | |
2835 | eval "$as_ac_var=no" | |
f6649e03 | 2836 | fi |
10891472 | 2837 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext |
f6649e03 | 2838 | fi |
b457acc7 | 2839 | echo "$as_me:2839: result: `eval echo '${'$as_ac_var'}'`" >&5 |
10891472 | 2840 | echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6 |
2841 | if test `eval echo '${'$as_ac_var'}'` = yes; then | |
b457acc7 | 2842 | cat >>confdefs.h <<EOF |
10891472 | 2843 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
b457acc7 | 2844 | EOF |
f6649e03 | 2845 | |
f6649e03 | 2846 | fi |
2847 | done | |
2848 | ||
b457acc7 | 2849 | echo "$as_me:2849: checking whether byte ordering is bigendian" >&5 |
10891472 | 2850 | echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6 |
2851 | if test "${ac_cv_c_bigendian+set}" = set; then | |
2852 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
1122cc60 | 2853 | else |
b457acc7 | 2854 | ac_cv_c_bigendian=unknown |
2855 | # See if sys/param.h defines the BYTE_ORDER macro. | |
10891472 | 2856 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2857 | #line 2857 "configure" |
1122cc60 | 2858 | #include "confdefs.h" |
2859 | #include <sys/types.h> | |
2860 | #include <sys/param.h> | |
1122cc60 | 2861 | |
10891472 | 2862 | int |
2863 | main () | |
2864 | { | |
1122cc60 | 2865 | #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN |
2866 | bogus endian macros | |
2867 | #endif | |
10891472 | 2868 | |
2869 | ; | |
2870 | return 0; | |
2871 | } | |
2872 | _ACEOF | |
2873 | rm -f conftest.$ac_objext | |
b457acc7 | 2874 | if { (eval echo "$as_me:2874: \"$ac_compile\"") >&5 |
10891472 | 2875 | (eval $ac_compile) 2>&5 |
2876 | ac_status=$? | |
b457acc7 | 2877 | echo "$as_me:2877: \$? = $ac_status" >&5 |
10891472 | 2878 | (exit $ac_status); } && |
2879 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 2880 | { (eval echo "$as_me:2880: \"$ac_try\"") >&5 |
10891472 | 2881 | (eval $ac_try) 2>&5 |
2882 | ac_status=$? | |
b457acc7 | 2883 | echo "$as_me:2883: \$? = $ac_status" >&5 |
10891472 | 2884 | (exit $ac_status); }; }; then |
1122cc60 | 2885 | # It does; now see whether it defined to BIG_ENDIAN or not. |
10891472 | 2886 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2887 | #line 2887 "configure" |
1122cc60 | 2888 | #include "confdefs.h" |
2889 | #include <sys/types.h> | |
2890 | #include <sys/param.h> | |
1122cc60 | 2891 | |
10891472 | 2892 | int |
2893 | main () | |
2894 | { | |
1122cc60 | 2895 | #if BYTE_ORDER != BIG_ENDIAN |
2896 | not big endian | |
2897 | #endif | |
10891472 | 2898 | |
2899 | ; | |
2900 | return 0; | |
2901 | } | |
2902 | _ACEOF | |
2903 | rm -f conftest.$ac_objext | |
b457acc7 | 2904 | if { (eval echo "$as_me:2904: \"$ac_compile\"") >&5 |
10891472 | 2905 | (eval $ac_compile) 2>&5 |
2906 | ac_status=$? | |
b457acc7 | 2907 | echo "$as_me:2907: \$? = $ac_status" >&5 |
10891472 | 2908 | (exit $ac_status); } && |
2909 | { ac_try='test -s conftest.$ac_objext' | |
b457acc7 | 2910 | { (eval echo "$as_me:2910: \"$ac_try\"") >&5 |
10891472 | 2911 | (eval $ac_try) 2>&5 |
2912 | ac_status=$? | |
b457acc7 | 2913 | echo "$as_me:2913: \$? = $ac_status" >&5 |
10891472 | 2914 | (exit $ac_status); }; }; then |
1122cc60 | 2915 | ac_cv_c_bigendian=yes |
2916 | else | |
10891472 | 2917 | echo "$as_me: failed program was:" >&5 |
2918 | cat conftest.$ac_ext >&5 | |
2919 | ac_cv_c_bigendian=no | |
1122cc60 | 2920 | fi |
10891472 | 2921 | rm -f conftest.$ac_objext conftest.$ac_ext |
1122cc60 | 2922 | else |
10891472 | 2923 | echo "$as_me: failed program was:" >&5 |
2924 | cat conftest.$ac_ext >&5 | |
10891472 | 2925 | fi |
2926 | rm -f conftest.$ac_objext conftest.$ac_ext | |
b457acc7 | 2927 | if test $ac_cv_c_bigendian = unknown; then |
2928 | if test "$cross_compiling" = yes; then | |
2929 | { { echo "$as_me:2929: error: cannot run test program while cross compiling" >&5 | |
2930 | echo "$as_me: error: cannot run test program while cross compiling" >&2;} | |
2931 | { (exit 1); exit 1; }; } | |
1122cc60 | 2932 | else |
10891472 | 2933 | cat >conftest.$ac_ext <<_ACEOF |
b457acc7 | 2934 | #line 2934 "configure" |
1122cc60 | 2935 | #include "confdefs.h" |
10891472 | 2936 | int |
2937 | main () | |
2938 | { | |
1122cc60 | 2939 | /* Are we little or big endian? From Harbison&Steele. */ |
2940 | union | |
2941 | { | |
2942 | long l; | |
2943 | char c[sizeof (long)]; | |
2944 | } u; | |
2945 | u.l = 1; | |
2946 | exit (u.c[sizeof (long) - 1] == 1); | |
2947 | } | |
10891472 | 2948 | _ACEOF |
2949 | rm -f conftest$ac_exeext | |
b457acc7 | 2950 | if { (eval echo "$as_me:2950: \"$ac_link\"") >&5 |
10891472 | 2951 | (eval $ac_link) 2>&5 |
2952 | ac_status=$? | |
b457acc7 | 2953 | echo "$as_me:2953: \$? = $ac_status" >&5 |
10891472 | 2954 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
b457acc7 | 2955 | { (eval echo "$as_me:2955: \"$ac_try\"") >&5 |
10891472 | 2956 | (eval $ac_try) 2>&5 |
2957 | ac_status=$? | |
b457acc7 | 2958 | echo "$as_me:2958: \$? = $ac_status" >&5 |
10891472 | 2959 | (exit $ac_status); }; }; then |
1122cc60 | 2960 | ac_cv_c_bigendian=no |
2961 | else | |
10891472 | 2962 | echo "$as_me: program exited with status $ac_status" >&5 |
2963 | echo "$as_me: failed program was:" >&5 | |
2964 | cat conftest.$ac_ext >&5 | |
10891472 | 2965 | ac_cv_c_bigendian=yes |
1122cc60 | 2966 | fi |
10891472 | 2967 | rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
1122cc60 | 2968 | fi |
1122cc60 | 2969 | fi |
2970 | fi | |
b457acc7 | 2971 | echo "$as_me:2971: result: $ac_cv_c_bigendian" >&5 |
10891472 | 2972 | echo "${ECHO_T}$ac_cv_c_bigendian" >&6 |
b457acc7 | 2973 | if test $ac_cv_c_bigendian = yes; then |
1122cc60 | 2974 | |
b457acc7 | 2975 | cat >>confdefs.h <<\EOF |
1122cc60 | 2976 | #define WORDS_BIGENDIAN 1 |
b457acc7 | 2977 | EOF |
2978 | ||
2979 | fi | |
1122cc60 | 2980 | |
6be205c9 | 2981 | echo "$as_me:2981: checking for socket in -lsocket" >&5 |
2982 | echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6 | |
2983 | if test "${ac_cv_lib_socket_socket+set}" = set; then | |
2984 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
2985 | else | |
2986 | ac_check_lib_save_LIBS=$LIBS | |
2987 | LIBS="-lsocket $LIBS" | |
2988 | cat >conftest.$ac_ext <<_ACEOF | |
2989 | #line 2989 "configure" | |
2990 | #include "confdefs.h" | |
2991 | ||
2992 | /* Override any gcc2 internal prototype to avoid an error. */ | |
2993 | #ifdef __cplusplus | |
2994 | extern "C" | |
2995 | #endif | |
2996 | /* We use char because int might match the return type of a gcc2 | |
2997 | builtin and then its argument prototype would still apply. */ | |
2998 | char socket (); | |
2999 | int | |
3000 | main () | |
3001 | { | |
3002 | socket (); | |
3003 | ; | |
3004 | return 0; | |
3005 | } | |
3006 | _ACEOF | |
3007 | rm -f conftest.$ac_objext conftest$ac_exeext | |
3008 | if { (eval echo "$as_me:3008: \"$ac_link\"") >&5 | |
3009 | (eval $ac_link) 2>&5 | |
3010 | ac_status=$? | |
3011 | echo "$as_me:3011: \$? = $ac_status" >&5 | |
3012 | (exit $ac_status); } && | |
3013 | { ac_try='test -s conftest$ac_exeext' | |
3014 | { (eval echo "$as_me:3014: \"$ac_try\"") >&5 | |
3015 | (eval $ac_try) 2>&5 | |
3016 | ac_status=$? | |
3017 | echo "$as_me:3017: \$? = $ac_status" >&5 | |
3018 | (exit $ac_status); }; }; then | |
3019 | ac_cv_lib_socket_socket=yes | |
3020 | else | |
3021 | echo "$as_me: failed program was:" >&5 | |
3022 | cat conftest.$ac_ext >&5 | |
3023 | ac_cv_lib_socket_socket=no | |
3024 | fi | |
3025 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3026 | LIBS=$ac_check_lib_save_LIBS | |
3027 | fi | |
3028 | echo "$as_me:3028: result: $ac_cv_lib_socket_socket" >&5 | |
3029 | echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6 | |
3030 | if test $ac_cv_lib_socket_socket = yes; then | |
3031 | LSOCKET=-lsocket | |
3032 | ||
3033 | fi | |
3034 | ||
3035 | echo "$as_me:3035: checking for gethostbyname in -lnsl" >&5 | |
3036 | echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 | |
3037 | if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then | |
3038 | echo $ECHO_N "(cached) $ECHO_C" >&6 | |
3039 | else | |
3040 | ac_check_lib_save_LIBS=$LIBS | |
3041 | LIBS="-lnsl $LIBS" | |
3042 | cat >conftest.$ac_ext <<_ACEOF | |
3043 | #line 3043 "configure" | |
3044 | #include "confdefs.h" | |
3045 | ||
3046 | /* Override any gcc2 internal prototype to avoid an error. */ | |
3047 | #ifdef __cplusplus | |
3048 | extern "C" | |
3049 | #endif | |
3050 | /* We use char because int might match the return type of a gcc2 | |
3051 | builtin and then its argument prototype would still apply. */ | |
3052 | char gethostbyname (); | |
3053 | int | |
3054 | main () | |
3055 | { | |
3056 | gethostbyname (); | |
3057 | ; | |
3058 | return 0; | |
3059 | } | |
3060 | _ACEOF | |
3061 | rm -f conftest.$ac_objext conftest$ac_exeext | |
3062 | if { (eval echo "$as_me:3062: \"$ac_link\"") >&5 | |
3063 | (eval $ac_link) 2>&5 | |
3064 | ac_status=$? | |
3065 | echo "$as_me:3065: \$? = $ac_status" >&5 | |
3066 | (exit $ac_status); } && | |
3067 | { ac_try='test -s conftest$ac_exeext' | |
3068 | { (eval echo "$as_me:3068: \"$ac_try\"") >&5 | |
3069 | (eval $ac_try) 2>&5 | |
3070 | ac_status=$? | |
3071 | echo "$as_me:3071: \$? = $ac_status" >&5 | |
3072 | (exit $ac_status); }; }; then | |
3073 | ac_cv_lib_nsl_gethostbyname=yes | |
3074 | else | |
3075 | echo "$as_me: failed program was:" >&5 | |
3076 | cat conftest.$ac_ext >&5 | |
3077 | ac_cv_lib_nsl_gethostbyname=no | |
3078 | fi | |
3079 | rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext | |
3080 | LIBS=$ac_check_lib_save_LIBS | |
3081 | fi | |
3082 | echo "$as_me:3082: result: $ac_cv_lib_nsl_gethostbyname" >&5 | |
3083 | echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 | |
3084 | if test $ac_cv_lib_nsl_gethostbyname = yes; then | |
3085 | LNSL=-lnsl | |
3086 | ||
3087 | fi | |
3088 | ||
c8b56db0 | 3089 | echo $ECHO_N "checking for POSIX-compliant goat $ECHO_C" |
580e6f7d | 3090 | for bleh in 1 2 3; do |
13579374 | 3091 | echo $ECHO_N ".\a" |
580e6f7d | 3092 | sleep 1 |
3093 | done | |
6be205c9 | 3094 | echo "$as_me:3094: result: http://www.blitzed.org/goat_winter_2001.phtml" >&5 |
10891472 | 3095 | echo "${ECHO_T} http://www.blitzed.org/goat_winter_2001.phtml" >&6 |
5bd052df | 3096 | |
10891472 | 3097 | ac_config_files="$ac_config_files Makefile" |
3098 | cat >confcache <<\_ACEOF | |
f6649e03 | 3099 | # This file is a shell script that caches the results of configure |
3100 | # tests run on this system so they can be shared between configure | |
10891472 | 3101 | # scripts and configure runs, see configure's option --config-cache. |
3102 | # It is not useful on other systems. If it contains results you don't | |
3103 | # want to keep, you may remove or edit it. | |
f6649e03 | 3104 | # |
10891472 | 3105 | # config.status only pays attention to the cache file if you give it |
3106 | # the --recheck option to rerun configure. | |
f6649e03 | 3107 | # |
10891472 | 3108 | # `ac_cv_env_foo' variables (set or unset) will be overriden when |
3109 | # loading this file, other *unset* `ac_cv_foo' will be assigned the | |
3110 | # following values. | |
3111 | ||
3112 | _ACEOF | |
3113 | ||
f6649e03 | 3114 | # The following way of writing the cache mishandles newlines in values, |
3115 | # but we know of no workaround that is simple, portable, and efficient. | |
3116 | # So, don't put newlines in cache variables' values. | |
3117 | # Ultrix sh set writes to stderr and can't be redirected directly, | |
3118 | # and sets the high bit in the cache file unless we assign to the vars. | |
10891472 | 3119 | { |
3120 | (set) 2>&1 | | |
3121 | case `(ac_space=' '; set | grep ac_space) 2>&1` in | |
3122 | *ac_space=\ *) | |
3123 | # `set' does not quote correctly, so add quotes (double-quote | |
3124 | # substitution turns \\\\ into \\, and sed turns \\ into \). | |
3125 | sed -n \ | |
3126 | "s/'/'\\\\''/g; | |
3127 | s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" | |
3128 | ;; | |
3129 | *) | |
3130 | # `set' quotes correctly as required by POSIX, so do not add quotes. | |
3131 | sed -n \ | |
3132 | "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" | |
3133 | ;; | |
3134 | esac; | |
3135 | } | | |
3136 | sed ' | |
3137 | t clear | |
3138 | : clear | |
3139 | s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ | |
3140 | t end | |
3141 | /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ | |
3142 | : end' >>confcache | |
3143 | if cmp -s $cache_file confcache; then :; else | |
f6649e03 | 3144 | if test -w $cache_file; then |
10891472 | 3145 | test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file" |
3146 | cat confcache >$cache_file | |
f6649e03 | 3147 | else |
3148 | echo "not updating unwritable cache $cache_file" | |
3149 | fi | |
3150 | fi | |
3151 | rm -f confcache | |
3152 | ||
f6649e03 | 3153 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
3154 | # Let make expand exec_prefix. | |
3155 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' | |
3156 | ||
10891472 | 3157 | # VPATH may cause trouble with some makes, so we remove $(srcdir), |
3158 | # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and | |
3159 | # trailing colons and then remove the whole line if VPATH becomes empty | |
3160 | # (actually we leave an empty line to preserve line numbers). | |
f6649e03 | 3161 | if test "x$srcdir" = x.; then |
10891472 | 3162 | ac_vpsub='/^[ ]*VPATH[ ]*=/{ |
3163 | s/:*\$(srcdir):*/:/; | |
3164 | s/:*\${srcdir}:*/:/; | |
3165 | s/:*@srcdir@:*/:/; | |
3166 | s/^\([^=]*=[ ]*\):*/\1/; | |
3167 | s/:*$//; | |
3168 | s/^[^=]*=[ ]*$//; | |
3169 | }' | |
f6649e03 | 3170 | fi |
3171 | ||
f6649e03 | 3172 | DEFS=-DHAVE_CONFIG_H |
3173 | ||
f6649e03 | 3174 | : ${CONFIG_STATUS=./config.status} |
10891472 | 3175 | ac_clean_files_save=$ac_clean_files |
3176 | ac_clean_files="$ac_clean_files $CONFIG_STATUS" | |
6be205c9 | 3177 | { echo "$as_me:3177: creating $CONFIG_STATUS" >&5 |
10891472 | 3178 | echo "$as_me: creating $CONFIG_STATUS" >&6;} |
3179 | cat >$CONFIG_STATUS <<_ACEOF | |
3180 | #! $SHELL | |
b457acc7 | 3181 | # Generated automatically by configure. |
f6649e03 | 3182 | # Run this file to recreate the current configuration. |
f6649e03 | 3183 | # Compiler output produced by configure, useful for debugging |
10891472 | 3184 | # configure, is in config.log if it exists. |
f6649e03 | 3185 | |
10891472 | 3186 | debug=false |
3187 | SHELL=\${CONFIG_SHELL-$SHELL} | |
b457acc7 | 3188 | ac_cs_invocation="\$0 \$@" |
3189 | ||
10891472 | 3190 | _ACEOF |
3191 | ||
3192 | cat >>$CONFIG_STATUS <<\_ACEOF | |
10891472 | 3193 | # Be Bourne compatible |
3194 | if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then | |
3195 | emulate sh | |
3196 | NULLCMD=: | |
3197 | elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then | |
3198 | set -o posix | |
3199 | fi | |
3200 | ||
10891472 | 3201 | # Name of the executable. |
b457acc7 | 3202 | as_me=`echo "$0" |sed 's,.*[\\/],,'` |
f6649e03 | 3203 | |
10891472 | 3204 | if expr a : '\(a\)' >/dev/null 2>&1; then |
3205 | as_expr=expr | |
3206 | else | |
3207 | as_expr=false | |
3208 | fi | |
f6649e03 | 3209 | |
10891472 | 3210 | rm -f conf$$ conf$$.exe conf$$.file |
3211 | echo >conf$$.file | |
3212 | if ln -s conf$$.file conf$$ 2>/dev/null; then | |
3213 | # We could just check for DJGPP; but this test a) works b) is more generic | |
3214 | # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). | |
3215 | if test -f conf$$.exe; then | |
3216 | # Don't use ln at all; we don't have any links | |
3217 | as_ln_s='cp -p' | |
f6649e03 | 3218 | else |
10891472 | 3219 | as_ln_s='ln -s' |
f6649e03 | 3220 | fi |
10891472 | 3221 | elif ln conf$$.file conf$$ 2>/dev/null; then |
3222 | as_ln_s=ln | |
3223 | else | |
3224 | as_ln_s='cp -p' | |
3225 | fi | |
3226 | rm -f conf$$ conf$$.exe conf$$.file | |
3227 | ||
3228 | as_executable_p="test -f" | |
3229 | ||
b457acc7 | 3230 | # Support unset when possible. |
3231 | if (FOO=FOO; unset FOO) >/dev/null 2>&1; then | |
3232 | as_unset=unset | |
3233 | else | |
3234 | as_unset=false | |
3235 | fi | |
10891472 | 3236 | |
b457acc7 | 3237 | # NLS nuisances. |
3238 | $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; } | |
3239 | $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; } | |
3240 | $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; } | |
3241 | $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; } | |
3242 | $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; } | |
3243 | $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; } | |
3244 | $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; } | |
3245 | $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; } | |
10891472 | 3246 | |
3247 | # IFS | |
3248 | # We need space, tab and new line, in precisely that order. | |
3249 | as_nl=' | |
3250 | ' | |
3251 | IFS=" $as_nl" | |
3252 | ||
3253 | # CDPATH. | |
b457acc7 | 3254 | $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; } |
10891472 | 3255 | |
3256 | exec 6>&1 | |
3257 | ||
10891472 | 3258 | _ACEOF |
3259 | ||
3260 | # Files that config.status was made for. | |
3261 | if test -n "$ac_config_files"; then | |
3262 | echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS | |
3263 | fi | |
3264 | ||
3265 | if test -n "$ac_config_headers"; then | |
3266 | echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS | |
f6649e03 | 3267 | fi |
f6649e03 | 3268 | |
10891472 | 3269 | if test -n "$ac_config_links"; then |
3270 | echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS | |
3271 | fi | |
f6649e03 | 3272 | |
10891472 | 3273 | if test -n "$ac_config_commands"; then |
3274 | echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS | |
3275 | fi | |
3276 | ||
b457acc7 | 3277 | cat >>$CONFIG_STATUS <<\EOF |
10891472 | 3278 | |
3279 | ac_cs_usage="\ | |
3280 | \`$as_me' instantiates files from templates according to the | |
3281 | current configuration. | |
3282 | ||
3283 | Usage: $0 [OPTIONS] [FILE]... | |
3284 | ||
3285 | -h, --help print this help, then exit | |
3286 | -V, --version print version number, then exit | |
3287 | -d, --debug don't remove temporary files | |
3288 | --recheck update $as_me by reconfiguring in the same conditions | |
3289 | --file=FILE[:TEMPLATE] | |
3290 | instantiate the configuration file FILE | |
3291 | --header=FILE[:TEMPLATE] | |
3292 | instantiate the configuration header FILE | |
3293 | ||
3294 | Configuration files: | |
3295 | $config_files | |
3296 | ||
3297 | Configuration headers: | |
3298 | $config_headers | |
3299 | ||
3300 | Report bugs to <bug-autoconf@gnu.org>." | |
b457acc7 | 3301 | EOF |
10891472 | 3302 | |
b457acc7 | 3303 | cat >>$CONFIG_STATUS <<EOF |
10891472 | 3304 | ac_cs_version="\\ |
3305 | config.status | |
b457acc7 | 3306 | configured by $0, generated by GNU Autoconf 2.52, |
10891472 | 3307 | with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" |
3308 | ||
3309 | Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 | |
3310 | Free Software Foundation, Inc. | |
3311 | This config.status script is free software; the Free Software Foundation | |
3312 | gives unlimited permission to copy, distribute and modify it." | |
3313 | srcdir=$srcdir | |
b457acc7 | 3314 | EOF |
10891472 | 3315 | |
b457acc7 | 3316 | cat >>$CONFIG_STATUS <<\EOF |
10891472 | 3317 | # If no file are specified by the user, then we need to provide default |
3318 | # value. By we need to know if files were specified by the user. | |
3319 | ac_need_defaults=: | |
3320 | while test $# != 0 | |
3321 | do | |
3322 | case $1 in | |
3323 | --*=*) | |
3324 | ac_option=`expr "x$1" : 'x\([^=]*\)='` | |
3325 | ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` | |
3326 | shift | |
3327 | set dummy "$ac_option" "$ac_optarg" ${1+"$@"} | |
3328 | shift | |
3329 | ;; | |
3330 | -*);; | |
3331 | *) # This is not an option, so the user has probably given explicit | |
3332 | # arguments. | |
3333 | ac_need_defaults=false;; | |
f6649e03 | 3334 | esac |
3335 | ||
10891472 | 3336 | case $1 in |
3337 | # Handling of the options. | |
b457acc7 | 3338 | EOF |
3339 | cat >>$CONFIG_STATUS <<EOF | |
10891472 | 3340 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
3341 | echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" | |
3342 | exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; | |
b457acc7 | 3343 | EOF |
3344 | cat >>$CONFIG_STATUS <<\EOF | |
10891472 | 3345 | --version | --vers* | -V ) |
3346 | echo "$ac_cs_version"; exit 0 ;; | |
3347 | --he | --h) | |
3348 | # Conflict between --help and --header | |
6be205c9 | 3349 | { { echo "$as_me:3349: error: ambiguous option: $1 |
10891472 | 3350 | Try \`$0 --help' for more information." >&5 |
3351 | echo "$as_me: error: ambiguous option: $1 | |
3352 | Try \`$0 --help' for more information." >&2;} | |
3353 | { (exit 1); exit 1; }; };; | |
3354 | --help | --hel | -h ) | |
3355 | echo "$ac_cs_usage"; exit 0 ;; | |
3356 | --debug | --d* | -d ) | |
3357 | debug=: ;; | |
3358 | --file | --fil | --fi | --f ) | |
3359 | shift | |
3360 | CONFIG_FILES="$CONFIG_FILES $1" | |
3361 | ac_need_defaults=false;; | |
3362 | --header | --heade | --head | --hea ) | |
3363 | shift | |
3364 | CONFIG_HEADERS="$CONFIG_HEADERS $1" | |
3365 | ac_need_defaults=false;; | |
f6649e03 | 3366 | |
10891472 | 3367 | # This is an error. |
6be205c9 | 3368 | -*) { { echo "$as_me:3368: error: unrecognized option: $1 |
10891472 | 3369 | Try \`$0 --help' for more information." >&5 |
3370 | echo "$as_me: error: unrecognized option: $1 | |
3371 | Try \`$0 --help' for more information." >&2;} | |
3372 | { (exit 1); exit 1; }; } ;; | |
3373 | ||
3374 | *) ac_config_targets="$ac_config_targets $1" ;; | |
f6649e03 | 3375 | |
f6649e03 | 3376 | esac |
10891472 | 3377 | shift |
3378 | done | |
f6649e03 | 3379 | |
b457acc7 | 3380 | exec 5>>config.log |
3381 | cat >&5 << _ACEOF | |
3382 | ||
3383 | ## ----------------------- ## | |
3384 | ## Running config.status. ## | |
3385 | ## ----------------------- ## | |
3386 | ||
3387 | This file was extended by $as_me 2.52, executed with | |
3388 | CONFIG_FILES = $CONFIG_FILES | |
3389 | CONFIG_HEADERS = $CONFIG_HEADERS | |
3390 | CONFIG_LINKS = $CONFIG_LINKS | |
3391 | CONFIG_COMMANDS = $CONFIG_COMMANDS | |
3392 | > $ac_cs_invocation | |
3393 | on `(hostname || uname -n) 2>/dev/null | sed 1q` | |
3394 | ||
10891472 | 3395 | _ACEOF |
b457acc7 | 3396 | EOF |
f6649e03 | 3397 | |
b457acc7 | 3398 | cat >>$CONFIG_STATUS <<\EOF |
10891472 | 3399 | for ac_config_target in $ac_config_targets |
3400 | do | |
3401 | case "$ac_config_target" in | |
3402 | # Handling of arguments. | |
3403 | "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; | |
3404 | "setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS setup.h" ;; | |
6be205c9 | 3405 | *) { { echo "$as_me:3405: error: invalid argument: $ac_config_target" >&5 |
10891472 | 3406 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
3407 | { (exit 1); exit 1; }; };; | |
f6649e03 | 3408 | esac |
10891472 | 3409 | done |
3410 | ||
3411 | # If the user did not use the arguments to specify the items to instantiate, | |
3412 | # then the envvar interface is used. Set only those that are not. | |
3413 | # We use the long form for the default assignment because of an extremely | |
3414 | # bizarre bug on SunOS 4.1.3. | |
3415 | if $ac_need_defaults; then | |
3416 | test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files | |
3417 | test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers | |
3418 | fi | |
3419 | ||
3420 | # Create a temporary directory, and hook for its removal unless debugging. | |
3421 | $debug || | |
3422 | { | |
3423 | trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 | |
3424 | trap '{ (exit 1); exit 1; }' 1 2 13 15 | |
3425 | } | |
3426 | ||
3427 | # Create a (secure) tmp directory for tmp files. | |
3428 | : ${TMPDIR=/tmp} | |
3429 | { | |
3430 | tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && | |
3431 | test -n "$tmp" && test -d "$tmp" | |
3432 | } || | |
3433 | { | |
3434 | tmp=$TMPDIR/cs$$-$RANDOM | |
3435 | (umask 077 && mkdir $tmp) | |
3436 | } || | |
3437 | { | |
3438 | echo "$me: cannot create a temporary directory in $TMPDIR" >&2 | |
3439 | { (exit 1); exit 1; } | |
3440 | } | |
3441 | ||
b457acc7 | 3442 | EOF |
10891472 | 3443 | |
b457acc7 | 3444 | cat >>$CONFIG_STATUS <<EOF |
10891472 | 3445 | |
3446 | # | |
3447 | # CONFIG_FILES section. | |
3448 | # | |
3449 | ||
3450 | # No need to generate the scripts if there are no CONFIG_FILES. | |
3451 | # This happens for instance when ./config.status config.h | |
3452 | if test -n "\$CONFIG_FILES"; then | |
3453 | # Protect against being on the right side of a sed subst in config.status. | |
3454 | sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; | |
3455 | s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF | |
3456 | s,@SHELL@,$SHELL,;t t | |
10891472 | 3457 | s,@exec_prefix@,$exec_prefix,;t t |
3458 | s,@prefix@,$prefix,;t t | |
3459 | s,@program_transform_name@,$program_transform_name,;t t | |
3460 | s,@bindir@,$bindir,;t t | |
3461 | s,@sbindir@,$sbindir,;t t | |
3462 | s,@libexecdir@,$libexecdir,;t t | |
3463 | s,@datadir@,$datadir,;t t | |
3464 | s,@sysconfdir@,$sysconfdir,;t t | |
3465 | s,@sharedstatedir@,$sharedstatedir,;t t | |
3466 | s,@localstatedir@,$localstatedir,;t t | |
3467 | s,@libdir@,$libdir,;t t | |
3468 | s,@includedir@,$includedir,;t t | |
3469 | s,@oldincludedir@,$oldincludedir,;t t | |
3470 | s,@infodir@,$infodir,;t t | |
3471 | s,@mandir@,$mandir,;t t | |
3472 | s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t | |
3473 | s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t | |
3474 | s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t | |
3475 | s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t | |
3476 | s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t | |
3477 | s,@build_alias@,$build_alias,;t t | |
3478 | s,@host_alias@,$host_alias,;t t | |
3479 | s,@target_alias@,$target_alias,;t t | |
10891472 | 3480 | s,@ECHO_C@,$ECHO_C,;t t |
3481 | s,@ECHO_N@,$ECHO_N,;t t | |
3482 | s,@ECHO_T@,$ECHO_T,;t t | |
b457acc7 | 3483 | s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t |
3484 | s,@DEFS@,$DEFS,;t t | |
10891472 | 3485 | s,@LIBS@,$LIBS,;t t |
3486 | s,@CC@,$CC,;t t | |
3487 | s,@CFLAGS@,$CFLAGS,;t t | |
3488 | s,@LDFLAGS@,$LDFLAGS,;t t | |
3489 | s,@CPPFLAGS@,$CPPFLAGS,;t t | |
3490 | s,@ac_ct_CC@,$ac_ct_CC,;t t | |
3491 | s,@EXEEXT@,$EXEEXT,;t t | |
3492 | s,@OBJEXT@,$OBJEXT,;t t | |
3493 | s,@CPP@,$CPP,;t t | |
6be205c9 | 3494 | s,@LSOCKET@,$LSOCKET,;t t |
3495 | s,@LNSL@,$LNSL,;t t | |
10891472 | 3496 | CEOF |
3497 | ||
b457acc7 | 3498 | EOF |
10891472 | 3499 | |
b457acc7 | 3500 | cat >>$CONFIG_STATUS <<\EOF |
10891472 | 3501 | # Split the substitutions into bite-sized pieces for seds with |
3502 | # small command number limits, like on Digital OSF/1 and HP-UX. | |
3503 | ac_max_sed_lines=48 | |
3504 | ac_sed_frag=1 # Number of current file. | |
3505 | ac_beg=1 # First line for current file. | |
3506 | ac_end=$ac_max_sed_lines # Line after last line for current file. | |
3507 | ac_more_lines=: | |
3508 | ac_sed_cmds= | |
3509 | while $ac_more_lines; do | |
3510 | if test $ac_beg -gt 1; then | |
3511 | sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
3512 | else | |
3513 | sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag | |
3514 | fi | |
3515 | if test ! -s $tmp/subs.frag; then | |
3516 | ac_more_lines=false | |
3517 | else | |
3518 | # The purpose of the label and of the branching condition is to | |
3519 | # speed up the sed processing (if there are no `@' at all, there | |
3520 | # is no need to browse any of the substitutions). | |
3521 | # These are the two extra sed commands mentioned above. | |
3522 | (echo ':t | |
3523 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed | |
3524 | if test -z "$ac_sed_cmds"; then | |
3525 | ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" | |
3526 | else | |
3527 | ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" | |
3528 | fi | |
3529 | ac_sed_frag=`expr $ac_sed_frag + 1` | |
3530 | ac_beg=$ac_end | |
3531 | ac_end=`expr $ac_end + $ac_max_sed_lines` | |
3532 | fi | |
3533 | done | |
3534 | if test -z "$ac_sed_cmds"; then | |
3535 | ac_sed_cmds=cat | |
3536 | fi | |
3537 | fi # test -n "$CONFIG_FILES" | |
3538 | ||
b457acc7 | 3539 | EOF |
3540 | cat >>$CONFIG_STATUS <<\EOF | |
10891472 | 3541 | for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue |
3542 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". | |
3543 | case $ac_file in | |
3544 | - | *:- | *:-:* ) # input from stdin | |
3545 | cat >$tmp/stdin | |
3546 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
3547 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
3548 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
3549 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
3550 | * ) ac_file_in=$ac_file.in ;; | |
3551 | esac | |
3552 | ||
3553 | # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. | |
b457acc7 | 3554 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10891472 | 3555 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
3556 | X"$ac_file" : 'X\(//\)$' \| \ | |
3557 | X"$ac_file" : 'X\(/\)' \| \ | |
3558 | . : '\(.\)' 2>/dev/null || | |
3559 | echo X"$ac_file" | | |
3560 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
3561 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
3562 | /^X\(\/\/\)$/{ s//\1/; q; } | |
3563 | /^X\(\/\).*/{ s//\1/; q; } | |
3564 | s/.*/./; q'` | |
b457acc7 | 3565 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
3566 | { case "$ac_dir" in | |
10891472 | 3567 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
3568 | *) as_incr_dir=.;; | |
3569 | esac | |
3570 | as_dummy="$ac_dir" | |
3571 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | |
3572 | case $as_mkdir_dir in | |
3573 | # Skip DOS drivespec | |
3574 | ?:) as_incr_dir=$as_mkdir_dir ;; | |
3575 | *) | |
3576 | as_incr_dir=$as_incr_dir/$as_mkdir_dir | |
b457acc7 | 3577 | test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
10891472 | 3578 | ;; |
3579 | esac | |
3580 | done; } | |
3581 | ||
b457acc7 | 3582 | ac_dir_suffix="/`echo $ac_dir|sed 's,^\./,,'`" |
3583 | # A "../" for each directory in $ac_dir_suffix. | |
3584 | ac_dots=`echo "$ac_dir_suffix" | sed 's,/[^/]*,../,g'` | |
3585 | else | |
3586 | ac_dir_suffix= ac_dots= | |
3587 | fi | |
10891472 | 3588 | |
b457acc7 | 3589 | case $srcdir in |
3590 | .) ac_srcdir=. | |
3591 | if test -z "$ac_dots"; then | |
3592 | ac_top_srcdir=. | |
3593 | else | |
3594 | ac_top_srcdir=`echo $ac_dots | sed 's,/$,,'` | |
3595 | fi ;; | |
3596 | [\\/]* | ?:[\\/]* ) | |
3597 | ac_srcdir=$srcdir$ac_dir_suffix; | |
3598 | ac_top_srcdir=$srcdir ;; | |
10891472 | 3599 | *) # Relative path. |
b457acc7 | 3600 | ac_srcdir=$ac_dots$srcdir$ac_dir_suffix |
3601 | ac_top_srcdir=$ac_dots$srcdir ;; | |
3602 | esac | |
10891472 | 3603 | |
3604 | if test x"$ac_file" != x-; then | |
6be205c9 | 3605 | { echo "$as_me:3605: creating $ac_file" >&5 |
10891472 | 3606 | echo "$as_me: creating $ac_file" >&6;} |
3607 | rm -f "$ac_file" | |
3608 | fi | |
3609 | # Let's still pretend it is `configure' which instantiates (i.e., don't | |
3610 | # use $as_me), people would be surprised to read: | |
b457acc7 | 3611 | # /* config.h. Generated automatically by config.status. */ |
3612 | configure_input="Generated automatically from `echo $ac_file_in | | |
3613 | sed 's,.*/,,'` by configure." | |
10891472 | 3614 | |
3615 | # First look for the input files in the build tree, otherwise in the | |
3616 | # src tree. | |
3617 | ac_file_inputs=`IFS=: | |
3618 | for f in $ac_file_in; do | |
3619 | case $f in | |
3620 | -) echo $tmp/stdin ;; | |
3621 | [\\/$]*) | |
3622 | # Absolute (can't be DOS-style, as IFS=:) | |
6be205c9 | 3623 | test -f "$f" || { { echo "$as_me:3623: error: cannot find input file: $f" >&5 |
10891472 | 3624 | echo "$as_me: error: cannot find input file: $f" >&2;} |
3625 | { (exit 1); exit 1; }; } | |
3626 | echo $f;; | |
3627 | *) # Relative | |
3628 | if test -f "$f"; then | |
3629 | # Build tree | |
3630 | echo $f | |
3631 | elif test -f "$srcdir/$f"; then | |
3632 | # Source tree | |
3633 | echo $srcdir/$f | |
3634 | else | |
3635 | # /dev/null tree | |
6be205c9 | 3636 | { { echo "$as_me:3636: error: cannot find input file: $f" >&5 |
10891472 | 3637 | echo "$as_me: error: cannot find input file: $f" >&2;} |
3638 | { (exit 1); exit 1; }; } | |
3639 | fi;; | |
3640 | esac | |
3641 | done` || { (exit 1); exit 1; } | |
b457acc7 | 3642 | EOF |
3643 | cat >>$CONFIG_STATUS <<EOF | |
10891472 | 3644 | sed "$ac_vpsub |
3645 | $extrasub | |
b457acc7 | 3646 | EOF |
3647 | cat >>$CONFIG_STATUS <<\EOF | |
10891472 | 3648 | :t |
3649 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b | |
3650 | s,@configure_input@,$configure_input,;t t | |
3651 | s,@srcdir@,$ac_srcdir,;t t | |
10891472 | 3652 | s,@top_srcdir@,$ac_top_srcdir,;t t |
10891472 | 3653 | " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out |
3654 | rm -f $tmp/stdin | |
3655 | if test x"$ac_file" != x-; then | |
3656 | mv $tmp/out $ac_file | |
3657 | else | |
3658 | cat $tmp/out | |
3659 | rm -f $tmp/out | |
3660 | fi | |
3661 | ||
3662 | done | |
b457acc7 | 3663 | EOF |
3664 | cat >>$CONFIG_STATUS <<\EOF | |
f6649e03 | 3665 | |
10891472 | 3666 | # |
3667 | # CONFIG_HEADER section. | |
3668 | # | |
f6649e03 | 3669 | |
3670 | # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where | |
3671 | # NAME is the cpp macro being defined and VALUE is the value it is being given. | |
3672 | # | |
3673 | # ac_d sets the value in "#define NAME VALUE" lines. | |
10891472 | 3674 | ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)' |
3675 | ac_dB='[ ].*$,\1#\2' | |
3676 | ac_dC=' ' | |
3677 | ac_dD=',;t' | |
3678 | # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE". | |
3679 | ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)' | |
3680 | ac_uB='$,\1#\2define\3' | |
f6649e03 | 3681 | ac_uC=' ' |
10891472 | 3682 | ac_uD=',;t' |
3683 | ||
3684 | for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue | |
f6649e03 | 3685 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
10891472 | 3686 | case $ac_file in |
3687 | - | *:- | *:-:* ) # input from stdin | |
3688 | cat >$tmp/stdin | |
3689 | ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
3690 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
3691 | *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` | |
3692 | ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; | |
3693 | * ) ac_file_in=$ac_file.in ;; | |
f6649e03 | 3694 | esac |
3695 | ||
6be205c9 | 3696 | test x"$ac_file" != x- && { echo "$as_me:3696: creating $ac_file" >&5 |
10891472 | 3697 | echo "$as_me: creating $ac_file" >&6;} |
3698 | ||
3699 | # First look for the input files in the build tree, otherwise in the | |
3700 | # src tree. | |
3701 | ac_file_inputs=`IFS=: | |
3702 | for f in $ac_file_in; do | |
3703 | case $f in | |
3704 | -) echo $tmp/stdin ;; | |
3705 | [\\/$]*) | |
3706 | # Absolute (can't be DOS-style, as IFS=:) | |
6be205c9 | 3707 | test -f "$f" || { { echo "$as_me:3707: error: cannot find input file: $f" >&5 |
10891472 | 3708 | echo "$as_me: error: cannot find input file: $f" >&2;} |
3709 | { (exit 1); exit 1; }; } | |
3710 | echo $f;; | |
3711 | *) # Relative | |
3712 | if test -f "$f"; then | |
3713 | # Build tree | |
3714 | echo $f | |
3715 | elif test -f "$srcdir/$f"; then | |
3716 | # Source tree | |
3717 | echo $srcdir/$f | |
3718 | else | |
3719 | # /dev/null tree | |
6be205c9 | 3720 | { { echo "$as_me:3720: error: cannot find input file: $f" >&5 |
10891472 | 3721 | echo "$as_me: error: cannot find input file: $f" >&2;} |
3722 | { (exit 1); exit 1; }; } | |
3723 | fi;; | |
3724 | esac | |
3725 | done` || { (exit 1); exit 1; } | |
3726 | # Remove the trailing spaces. | |
3727 | sed 's/[ ]*$//' $ac_file_inputs >$tmp/in | |
3728 | ||
b457acc7 | 3729 | EOF |
10891472 | 3730 | |
3731 | # Transform confdefs.h into two sed scripts, `conftest.defines' and | |
3732 | # `conftest.undefs', that substitutes the proper values into | |
3733 | # config.h.in to produce config.h. The first handles `#define' | |
3734 | # templates, and the second `#undef' templates. | |
3735 | # And first: Protect against being on the right side of a sed subst in | |
3736 | # config.status. Protect against being in an unquoted here document | |
3737 | # in config.status. | |
3738 | rm -f conftest.defines conftest.undefs | |
3739 | # Using a here document instead of a string reduces the quoting nightmare. | |
3740 | # Putting comments in sed scripts is not portable. | |
3741 | # | |
3742 | # `end' is used to avoid that the second main sed command (meant for | |
3743 | # 0-ary CPP macros) applies to n-ary macro definitions. | |
3744 | # See the Autoconf documentation for `clear'. | |
b457acc7 | 3745 | cat >confdef2sed.sed <<\EOF |
10891472 | 3746 | s/[\\&,]/\\&/g |
3747 | s,[\\$`],\\&,g | |
3748 | t clear | |
3749 | : clear | |
b457acc7 | 3750 | s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp |
10891472 | 3751 | t end |
3752 | s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp | |
3753 | : end | |
b457acc7 | 3754 | EOF |
10891472 | 3755 | # If some macros were called several times there might be several times |
3756 | # the same #defines, which is useless. Nevertheless, we may not want to | |
3757 | # sort them, since we want the *last* AC-DEFINE to be honored. | |
3758 | uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines | |
3759 | sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs | |
3760 | rm -f confdef2sed.sed | |
f6649e03 | 3761 | |
3762 | # This sed command replaces #undef with comments. This is necessary, for | |
3763 | # example, in the case of _POSIX_SOURCE, which is predefined and required | |
3764 | # on some systems where configure will not decide to define it. | |
b457acc7 | 3765 | cat >>conftest.undefs <<\EOF |
10891472 | 3766 | s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */, |
b457acc7 | 3767 | EOF |
10891472 | 3768 | |
3769 | # Break up conftest.defines because some shells have a limit on the size | |
3770 | # of here documents, and old seds have small limits too (100 cmds). | |
3771 | echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS | |
3772 | echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS | |
3773 | echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS | |
3774 | echo ' :' >>$CONFIG_STATUS | |
3775 | rm -f conftest.tail | |
3776 | while grep . conftest.defines >/dev/null | |
3777 | do | |
3778 | # Write a limited-size here document to $tmp/defines.sed. | |
3779 | echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS | |
3780 | # Speed up: don't consider the non `#define' lines. | |
3781 | echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS | |
3782 | # Work around the forget-to-reset-the-flag bug. | |
3783 | echo 't clr' >>$CONFIG_STATUS | |
3784 | echo ': clr' >>$CONFIG_STATUS | |
3785 | sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS | |
3786 | echo 'CEOF | |
3787 | sed -f $tmp/defines.sed $tmp/in >$tmp/out | |
3788 | rm -f $tmp/in | |
3789 | mv $tmp/out $tmp/in | |
3790 | ' >>$CONFIG_STATUS | |
3791 | sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail | |
3792 | rm -f conftest.defines | |
3793 | mv conftest.tail conftest.defines | |
3794 | done | |
3795 | rm -f conftest.defines | |
3796 | echo ' fi # egrep' >>$CONFIG_STATUS | |
3797 | echo >>$CONFIG_STATUS | |
f6649e03 | 3798 | |
10891472 | 3799 | # Break up conftest.undefs because some shells have a limit on the size |
3800 | # of here documents, and old seds have small limits too (100 cmds). | |
3801 | echo ' # Handle all the #undef templates' >>$CONFIG_STATUS | |
f6649e03 | 3802 | rm -f conftest.tail |
10891472 | 3803 | while grep . conftest.undefs >/dev/null |
f6649e03 | 3804 | do |
10891472 | 3805 | # Write a limited-size here document to $tmp/undefs.sed. |
3806 | echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS | |
3807 | # Speed up: don't consider the non `#undef' | |
3808 | echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS | |
3809 | # Work around the forget-to-reset-the-flag bug. | |
3810 | echo 't clr' >>$CONFIG_STATUS | |
3811 | echo ': clr' >>$CONFIG_STATUS | |
3812 | sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS | |
f6649e03 | 3813 | echo 'CEOF |
10891472 | 3814 | sed -f $tmp/undefs.sed $tmp/in >$tmp/out |
3815 | rm -f $tmp/in | |
3816 | mv $tmp/out $tmp/in | |
3817 | ' >>$CONFIG_STATUS | |
3818 | sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail | |
3819 | rm -f conftest.undefs | |
3820 | mv conftest.tail conftest.undefs | |
f6649e03 | 3821 | done |
10891472 | 3822 | rm -f conftest.undefs |
3823 | ||
b457acc7 | 3824 | cat >>$CONFIG_STATUS <<\EOF |
10891472 | 3825 | # Let's still pretend it is `configure' which instantiates (i.e., don't |
3826 | # use $as_me), people would be surprised to read: | |
b457acc7 | 3827 | # /* config.h. Generated automatically by config.status. */ |
10891472 | 3828 | if test x"$ac_file" = x-; then |
b457acc7 | 3829 | echo "/* Generated automatically by configure. */" >$tmp/config.h |
f6649e03 | 3830 | else |
b457acc7 | 3831 | echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h |
f6649e03 | 3832 | fi |
10891472 | 3833 | cat $tmp/in >>$tmp/config.h |
3834 | rm -f $tmp/in | |
3835 | if test x"$ac_file" != x-; then | |
3836 | if cmp -s $ac_file $tmp/config.h 2>/dev/null; then | |
6be205c9 | 3837 | { echo "$as_me:3837: $ac_file is unchanged" >&5 |
10891472 | 3838 | echo "$as_me: $ac_file is unchanged" >&6;} |
3839 | else | |
b457acc7 | 3840 | ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ |
10891472 | 3841 | X"$ac_file" : 'X\(//\)[^/]' \| \ |
3842 | X"$ac_file" : 'X\(//\)$' \| \ | |
3843 | X"$ac_file" : 'X\(/\)' \| \ | |
3844 | . : '\(.\)' 2>/dev/null || | |
3845 | echo X"$ac_file" | | |
3846 | sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } | |
3847 | /^X\(\/\/\)[^/].*/{ s//\1/; q; } | |
3848 | /^X\(\/\/\)$/{ s//\1/; q; } | |
3849 | /^X\(\/\).*/{ s//\1/; q; } | |
3850 | s/.*/./; q'` | |
b457acc7 | 3851 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
3852 | { case "$ac_dir" in | |
10891472 | 3853 | [\\/]* | ?:[\\/]* ) as_incr_dir=;; |
3854 | *) as_incr_dir=.;; | |
3855 | esac | |
3856 | as_dummy="$ac_dir" | |
3857 | for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do | |
3858 | case $as_mkdir_dir in | |
3859 | # Skip DOS drivespec | |
3860 | ?:) as_incr_dir=$as_mkdir_dir ;; | |
3861 | *) | |
3862 | as_incr_dir=$as_incr_dir/$as_mkdir_dir | |
b457acc7 | 3863 | test -d "$as_incr_dir" || mkdir "$as_incr_dir" |
10891472 | 3864 | ;; |
3865 | esac | |
3866 | done; } | |
f6649e03 | 3867 | |
b457acc7 | 3868 | fi |
10891472 | 3869 | rm -f $ac_file |
3870 | mv $tmp/config.h $ac_file | |
3871 | fi | |
3872 | else | |
3873 | cat $tmp/config.h | |
3874 | rm -f $tmp/config.h | |
3875 | fi | |
3876 | done | |
b457acc7 | 3877 | EOF |
f6649e03 | 3878 | |
b457acc7 | 3879 | cat >>$CONFIG_STATUS <<\EOF |
f6649e03 | 3880 | |
10891472 | 3881 | { (exit 0); exit 0; } |
b457acc7 | 3882 | EOF |
f6649e03 | 3883 | chmod +x $CONFIG_STATUS |
10891472 | 3884 | ac_clean_files=$ac_clean_files_save |
3885 | ||
3886 | # configure is writing to config.log, and then calls config.status. | |
3887 | # config.status does its own redirection, appending to config.log. | |
3888 | # Unfortunately, on DOS this fails, as config.log is still kept open | |
3889 | # by configure, so config.status won't be able to write to it; its | |
3890 | # output is simply discarded. So we exec the FD to /dev/null, | |
3891 | # effectively closing config.log, so it can be properly (re)opened and | |
3892 | # appended to by config.status. When coming back to configure, we | |
3893 | # need to make the FD available again. | |
3894 | if test "$no_create" != yes; then | |
3895 | ac_cs_success=: | |
3896 | exec 5>/dev/null | |
3897 | $SHELL $CONFIG_STATUS || ac_cs_success=false | |
3898 | exec 5>>config.log | |
3899 | # Use ||, not &&, to avoid exiting from the if with $? = 1, which | |
3900 | # would make configure fail if this is the last instruction. | |
3901 | $ac_cs_success || { (exit 1); exit 1; } | |
3902 | fi | |
580e6f7d | 3903 | |
99f4c865 | 3904 | echo "##############################################################################" |
3905 | echo "# Everything is now configured, but you can find some more (infrequently #" | |
3906 | echo "# changed) options in options.h. To compile BOPM now, just type make. It #" | |
3907 | echo "# requires GNU Make, which may be installed as gmake on your system. #" | |
3908 | echo "# #" | |
3909 | echo "# If possible, PLEASE CONTRIBUTE TO OUR DNSBL BY REPORTING YOUR PROXIES!! #" | |
3910 | echo "# #" | |
3911 | echo "# o What is DNSBL? #" | |
3912 | echo "# It's the database of open proxies we provide and your BOPM checks #" | |
3913 | echo "# against BEFORE bothering to scan the client, therefore killing KNOWN #" | |
3914 | echo "# proxies faster and more efficiently. #" | |
3915 | echo "# #" | |
3916 | echo "# o Why should my network contribute? #" | |
3917 | echo "# Because the more that do, the more proxies we know about and the #" | |
3918 | echo "# better the service becomes for all BOPM users including YOU! People #" | |
3919 | echo "# are also using our DNSBL to block spam (spammers use open proxies #" | |
3920 | echo "# too!) so you'd be helping the whole Internet. #" | |
3921 | echo "# #" | |
3922 | echo "# o Sounds complicated, what do you need? #" | |
3923 | echo "# BOPM is already designed to report the proxies you find, but it is #" | |
3924 | echo "# turned off by default. To enable it all you have to do is: #" | |
3925 | echo "# - Set DNSBL_FROM to a unique email address that we can contact you #" | |
3926 | echo "# at if there is ever any problem with your reports. #" | |
3927 | echo "# - Email us now at opm@lists.blitzed.org to tell us what you have #" | |
3928 | echo "# set your DNSBL_FROM to. #" | |
3929 | echo "# - Set DNSBL_TO to proxy-report@blitzed.org. #" | |
3930 | echo "# - Set SENDMAIL to contain the path to your sendmail binary (even #" | |
3931 | echo "# if you don't use sendmail you will have a binary named sendmail in #" | |
3932 | echo "# /usr/sbin or /usr/lib. #" | |
3933 | echo "# #" | |
3934 | echo "# For more info about the people who already report their proxies, please #" | |
3935 | echo "# see http://www.blitzed.org/bopm/ - Thank you! #" | |
3936 | echo "##############################################################################" |