]> jfr.im git - irc/blitzed-org/bopm.git/blob - configure
Fixed missing ; in config-parser.y
[irc/blitzed-org/bopm.git] / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for bopm 3.0.
4 #
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
6 # Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9
10 if expr a : '\(a\)' >/dev/null 2>&1; then
11 as_expr=expr
12 else
13 as_expr=false
14 fi
15
16
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
20
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23 emulate sh
24 NULLCMD=:
25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
26 set -o posix
27 fi
28
29 # NLS nuisances.
30 # Support unset when possible.
31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
32 as_unset=unset
33 else
34 as_unset=false
35 fi
36
37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
38 { $as_unset LANG || test "${LANG+set}" != set; } ||
39 { LANG=C; export LANG; }
40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
42 { LC_ALL=C; export LC_ALL; }
43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
45 { LC_TIME=C; export LC_TIME; }
46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
48 { LC_CTYPE=C; export LC_CTYPE; }
49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
51 { LANGUAGE=C; export LANGUAGE; }
52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
54 { LC_COLLATE=C; export LC_COLLATE; }
55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
57 { LC_NUMERIC=C; export LC_NUMERIC; }
58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
60 { LC_MESSAGES=C; export LC_MESSAGES; }
61
62
63 # Name of the executable.
64 as_me=`(basename "$0") 2>/dev/null ||
65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66 X"$0" : 'X\(//\)$' \| \
67 X"$0" : 'X\(/\)$' \| \
68 . : '\(.\)' 2>/dev/null ||
69 echo X/"$0" |
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
73 s/.*/./; q'`
74
75 # PATH needs CR, and LINENO needs CR and PATH.
76 # Avoid depending upon Character Ranges.
77 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80 as_cr_digits='0123456789'
81 as_cr_alnum=$as_cr_Letters$as_cr_digits
82
83 # The user is always right.
84 if test "${PATH_SEPARATOR+set}" != set; then
85 echo "#! /bin/sh" >conftest.sh
86 echo "exit 0" >>conftest.sh
87 chmod +x conftest.sh
88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
89 PATH_SEPARATOR=';'
90 else
91 PATH_SEPARATOR=:
92 fi
93 rm -f conftest.sh
94 fi
95
96
97 as_lineno_1=$LINENO
98 as_lineno_2=$LINENO
99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
100 test "x$as_lineno_1" != "x$as_lineno_2" &&
101 test "x$as_lineno_3" = "x$as_lineno_2" || {
102 # Find who we are. Look in the path if we contain no path at all
103 # relative or not.
104 case $0 in
105 *[\\/]* ) as_myself=$0 ;;
106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
107 for as_dir in $PATH
108 do
109 IFS=$as_save_IFS
110 test -z "$as_dir" && as_dir=.
111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
112 done
113
114 ;;
115 esac
116 # We did not find ourselves, most probably we were run as `sh COMMAND'
117 # in which case we are not to be found in the path.
118 if test "x$as_myself" = x; then
119 as_myself=$0
120 fi
121 if test ! -f "$as_myself"; then
122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
123 { (exit 1); exit 1; }; }
124 fi
125 case $CONFIG_SHELL in
126 '')
127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
129 do
130 IFS=$as_save_IFS
131 test -z "$as_dir" && as_dir=.
132 for as_base in sh bash ksh sh5; do
133 case $as_dir in
134 /*)
135 if ("$as_dir/$as_base" -c '
136 as_lineno_1=$LINENO
137 as_lineno_2=$LINENO
138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
139 test "x$as_lineno_1" != "x$as_lineno_2" &&
140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
141 CONFIG_SHELL=$as_dir/$as_base
142 export CONFIG_SHELL
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
144 fi;;
145 esac
146 done
147 done
148 ;;
149 esac
150
151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
152 # uniformly replaced by the line number. The first 'sed' inserts a
153 # line-number line before each line; the second 'sed' does the real
154 # work. The second script uses 'N' to pair each line-number line
155 # with the numbered line, and appends trailing '-' during
156 # substitution so that $LINENO is not a special case at line end.
157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
159 sed '=' <$as_myself |
160 sed '
161 N
162 s,$,-,
163 : loop
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
165 t loop
166 s,-$,,
167 s,^['$as_cr_digits']*\n,,
168 ' >$as_me.lineno &&
169 chmod +x $as_me.lineno ||
170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
171 { (exit 1); exit 1; }; }
172
173 # Don't try to exec as it changes $[0], causing all sort of problems
174 # (the dirname of $[0] is not the place where we might find the
175 # original and so on. Autoconf is especially sensible to this).
176 . ./$as_me.lineno
177 # Exit status is that of the last command.
178 exit
179 }
180
181
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c*,-n*) ECHO_N= ECHO_C='
184 ' ECHO_T=' ' ;;
185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
187 esac
188
189 if expr a : '\(a\)' >/dev/null 2>&1; then
190 as_expr=expr
191 else
192 as_expr=false
193 fi
194
195 rm -f conf$$ conf$$.exe conf$$.file
196 echo >conf$$.file
197 if ln -s conf$$.file conf$$ 2>/dev/null; then
198 # We could just check for DJGPP; but this test a) works b) is more generic
199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
200 if test -f conf$$.exe; then
201 # Don't use ln at all; we don't have any links
202 as_ln_s='cp -p'
203 else
204 as_ln_s='ln -s'
205 fi
206 elif ln conf$$.file conf$$ 2>/dev/null; then
207 as_ln_s=ln
208 else
209 as_ln_s='cp -p'
210 fi
211 rm -f conf$$ conf$$.exe conf$$.file
212
213 as_executable_p="test -f"
214
215 # Sed expression to map a string onto a valid CPP name.
216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
217
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
220
221
222 # IFS
223 # We need space, tab and new line, in precisely that order.
224 as_nl='
225 '
226 IFS=" $as_nl"
227
228 # CDPATH.
229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
230
231
232 # Name of the host.
233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
234 # so uname gets run too.
235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
236
237 exec 6>&1
238
239 #
240 # Initializations.
241 #
242 ac_default_prefix=/usr/local
243 cross_compiling=no
244 subdirs=
245 MFLAGS=
246 MAKEFLAGS=
247 SHELL=${CONFIG_SHELL-/bin/sh}
248
249 # Maximum number of lines to put in a shell here document.
250 # This variable seems obsolete. It should probably be removed, and
251 # only ac_max_sed_lines should be used.
252 : ${ac_max_here_lines=38}
253
254 # Identity of this package.
255 PACKAGE_NAME='bopm'
256 PACKAGE_TARNAME='bopm'
257 PACKAGE_VERSION='3.0'
258 PACKAGE_STRING='bopm 3.0'
259 PACKAGE_BUGREPORT=''
260
261 ac_unique_file="src/opercmd.h"
262 ac_default_prefix=\${HOME}/bopm
263 # Factoring default headers for most tests.
264 ac_includes_default="\
265 #include <stdio.h>
266 #if HAVE_SYS_TYPES_H
267 # include <sys/types.h>
268 #endif
269 #if HAVE_SYS_STAT_H
270 # include <sys/stat.h>
271 #endif
272 #if STDC_HEADERS
273 # include <stdlib.h>
274 # include <stddef.h>
275 #else
276 # if HAVE_STDLIB_H
277 # include <stdlib.h>
278 # endif
279 #endif
280 #if HAVE_STRING_H
281 # if !STDC_HEADERS && HAVE_MEMORY_H
282 # include <memory.h>
283 # endif
284 # include <string.h>
285 #endif
286 #if HAVE_STRINGS_H
287 # include <strings.h>
288 #endif
289 #if HAVE_INTTYPES_H
290 # include <inttypes.h>
291 #else
292 # if HAVE_STDINT_H
293 # include <stdint.h>
294 # endif
295 #endif
296 #if HAVE_UNISTD_H
297 # include <unistd.h>
298 #endif"
299
300 ac_subdirs_all="$ac_subdirs_all src/libopm"
301
302 # Initialize some variables set by options.
303 ac_init_help=
304 ac_init_version=false
305 # The variables have the same names as the options, with
306 # dashes changed to underlines.
307 cache_file=/dev/null
308 exec_prefix=NONE
309 no_create=
310 no_recursion=
311 prefix=NONE
312 program_prefix=NONE
313 program_suffix=NONE
314 program_transform_name=s,x,x,
315 silent=
316 site=
317 srcdir=
318 verbose=
319 x_includes=NONE
320 x_libraries=NONE
321
322 # Installation directory options.
323 # These are left unexpanded so users can "make install exec_prefix=/foo"
324 # and all the variables that are supposed to be based on exec_prefix
325 # by default will actually change.
326 # Use braces instead of parens because sh, perl, etc. also accept them.
327 bindir='${exec_prefix}/bin'
328 sbindir='${exec_prefix}/sbin'
329 libexecdir='${exec_prefix}/libexec'
330 datadir='${prefix}/share'
331 sysconfdir='${prefix}/etc'
332 sharedstatedir='${prefix}/com'
333 localstatedir='${prefix}/var'
334 libdir='${exec_prefix}/lib'
335 includedir='${prefix}/include'
336 oldincludedir='/usr/include'
337 infodir='${prefix}/info'
338 mandir='${prefix}/man'
339
340 ac_prev=
341 for ac_option
342 do
343 # If the previous option needs an argument, assign it.
344 if test -n "$ac_prev"; then
345 eval "$ac_prev=\$ac_option"
346 ac_prev=
347 continue
348 fi
349
350 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
351
352 # Accept the important Cygnus configure options, so we can diagnose typos.
353
354 case $ac_option in
355
356 -bindir | --bindir | --bindi | --bind | --bin | --bi)
357 ac_prev=bindir ;;
358 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
359 bindir=$ac_optarg ;;
360
361 -build | --build | --buil | --bui | --bu)
362 ac_prev=build_alias ;;
363 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
364 build_alias=$ac_optarg ;;
365
366 -cache-file | --cache-file | --cache-fil | --cache-fi \
367 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
368 ac_prev=cache_file ;;
369 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
370 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
371 cache_file=$ac_optarg ;;
372
373 --config-cache | -C)
374 cache_file=config.cache ;;
375
376 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
377 ac_prev=datadir ;;
378 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
379 | --da=*)
380 datadir=$ac_optarg ;;
381
382 -disable-* | --disable-*)
383 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
384 # Reject names that are not valid shell variable names.
385 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
386 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
387 { (exit 1); exit 1; }; }
388 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
389 eval "enable_$ac_feature=no" ;;
390
391 -enable-* | --enable-*)
392 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
393 # Reject names that are not valid shell variable names.
394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
395 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
396 { (exit 1); exit 1; }; }
397 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
398 case $ac_option in
399 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
400 *) ac_optarg=yes ;;
401 esac
402 eval "enable_$ac_feature='$ac_optarg'" ;;
403
404 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
405 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
406 | --exec | --exe | --ex)
407 ac_prev=exec_prefix ;;
408 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
409 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
410 | --exec=* | --exe=* | --ex=*)
411 exec_prefix=$ac_optarg ;;
412
413 -gas | --gas | --ga | --g)
414 # Obsolete; use --with-gas.
415 with_gas=yes ;;
416
417 -help | --help | --hel | --he | -h)
418 ac_init_help=long ;;
419 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
420 ac_init_help=recursive ;;
421 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
422 ac_init_help=short ;;
423
424 -host | --host | --hos | --ho)
425 ac_prev=host_alias ;;
426 -host=* | --host=* | --hos=* | --ho=*)
427 host_alias=$ac_optarg ;;
428
429 -includedir | --includedir | --includedi | --included | --include \
430 | --includ | --inclu | --incl | --inc)
431 ac_prev=includedir ;;
432 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
433 | --includ=* | --inclu=* | --incl=* | --inc=*)
434 includedir=$ac_optarg ;;
435
436 -infodir | --infodir | --infodi | --infod | --info | --inf)
437 ac_prev=infodir ;;
438 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
439 infodir=$ac_optarg ;;
440
441 -libdir | --libdir | --libdi | --libd)
442 ac_prev=libdir ;;
443 -libdir=* | --libdir=* | --libdi=* | --libd=*)
444 libdir=$ac_optarg ;;
445
446 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
447 | --libexe | --libex | --libe)
448 ac_prev=libexecdir ;;
449 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
450 | --libexe=* | --libex=* | --libe=*)
451 libexecdir=$ac_optarg ;;
452
453 -localstatedir | --localstatedir | --localstatedi | --localstated \
454 | --localstate | --localstat | --localsta | --localst \
455 | --locals | --local | --loca | --loc | --lo)
456 ac_prev=localstatedir ;;
457 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
458 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
459 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
460 localstatedir=$ac_optarg ;;
461
462 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
463 ac_prev=mandir ;;
464 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
465 mandir=$ac_optarg ;;
466
467 -nfp | --nfp | --nf)
468 # Obsolete; use --without-fp.
469 with_fp=no ;;
470
471 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
472 | --no-cr | --no-c | -n)
473 no_create=yes ;;
474
475 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
476 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
477 no_recursion=yes ;;
478
479 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
480 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
481 | --oldin | --oldi | --old | --ol | --o)
482 ac_prev=oldincludedir ;;
483 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
484 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
485 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
486 oldincludedir=$ac_optarg ;;
487
488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
489 ac_prev=prefix ;;
490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
491 prefix=$ac_optarg ;;
492
493 -program-prefix | --program-prefix | --program-prefi | --program-pref \
494 | --program-pre | --program-pr | --program-p)
495 ac_prev=program_prefix ;;
496 -program-prefix=* | --program-prefix=* | --program-prefi=* \
497 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
498 program_prefix=$ac_optarg ;;
499
500 -program-suffix | --program-suffix | --program-suffi | --program-suff \
501 | --program-suf | --program-su | --program-s)
502 ac_prev=program_suffix ;;
503 -program-suffix=* | --program-suffix=* | --program-suffi=* \
504 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
505 program_suffix=$ac_optarg ;;
506
507 -program-transform-name | --program-transform-name \
508 | --program-transform-nam | --program-transform-na \
509 | --program-transform-n | --program-transform- \
510 | --program-transform | --program-transfor \
511 | --program-transfo | --program-transf \
512 | --program-trans | --program-tran \
513 | --progr-tra | --program-tr | --program-t)
514 ac_prev=program_transform_name ;;
515 -program-transform-name=* | --program-transform-name=* \
516 | --program-transform-nam=* | --program-transform-na=* \
517 | --program-transform-n=* | --program-transform-=* \
518 | --program-transform=* | --program-transfor=* \
519 | --program-transfo=* | --program-transf=* \
520 | --program-trans=* | --program-tran=* \
521 | --progr-tra=* | --program-tr=* | --program-t=*)
522 program_transform_name=$ac_optarg ;;
523
524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
525 | -silent | --silent | --silen | --sile | --sil)
526 silent=yes ;;
527
528 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
529 ac_prev=sbindir ;;
530 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
531 | --sbi=* | --sb=*)
532 sbindir=$ac_optarg ;;
533
534 -sharedstatedir | --sharedstatedir | --sharedstatedi \
535 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
536 | --sharedst | --shareds | --shared | --share | --shar \
537 | --sha | --sh)
538 ac_prev=sharedstatedir ;;
539 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
540 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
541 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
542 | --sha=* | --sh=*)
543 sharedstatedir=$ac_optarg ;;
544
545 -site | --site | --sit)
546 ac_prev=site ;;
547 -site=* | --site=* | --sit=*)
548 site=$ac_optarg ;;
549
550 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
551 ac_prev=srcdir ;;
552 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
553 srcdir=$ac_optarg ;;
554
555 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
556 | --syscon | --sysco | --sysc | --sys | --sy)
557 ac_prev=sysconfdir ;;
558 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
559 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
560 sysconfdir=$ac_optarg ;;
561
562 -target | --target | --targe | --targ | --tar | --ta | --t)
563 ac_prev=target_alias ;;
564 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
565 target_alias=$ac_optarg ;;
566
567 -v | -verbose | --verbose | --verbos | --verbo | --verb)
568 verbose=yes ;;
569
570 -version | --version | --versio | --versi | --vers | -V)
571 ac_init_version=: ;;
572
573 -with-* | --with-*)
574 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
575 # Reject names that are not valid shell variable names.
576 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
577 { echo "$as_me: error: invalid package name: $ac_package" >&2
578 { (exit 1); exit 1; }; }
579 ac_package=`echo $ac_package| sed 's/-/_/g'`
580 case $ac_option in
581 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
582 *) ac_optarg=yes ;;
583 esac
584 eval "with_$ac_package='$ac_optarg'" ;;
585
586 -without-* | --without-*)
587 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package | sed 's/-/_/g'`
593 eval "with_$ac_package=no" ;;
594
595 --x)
596 # Obsolete; use --with-x.
597 with_x=yes ;;
598
599 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
600 | --x-incl | --x-inc | --x-in | --x-i)
601 ac_prev=x_includes ;;
602 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
603 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
604 x_includes=$ac_optarg ;;
605
606 -x-libraries | --x-libraries | --x-librarie | --x-librari \
607 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
608 ac_prev=x_libraries ;;
609 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
610 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
611 x_libraries=$ac_optarg ;;
612
613 -*) { echo "$as_me: error: unrecognized option: $ac_option
614 Try \`$0 --help' for more information." >&2
615 { (exit 1); exit 1; }; }
616 ;;
617
618 *=*)
619 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
620 # Reject names that are not valid shell variable names.
621 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
622 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
623 { (exit 1); exit 1; }; }
624 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
625 eval "$ac_envvar='$ac_optarg'"
626 export $ac_envvar ;;
627
628 *)
629 # FIXME: should be removed in autoconf 3.0.
630 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
631 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
632 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
633 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
634 ;;
635
636 esac
637 done
638
639 if test -n "$ac_prev"; then
640 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
641 { echo "$as_me: error: missing argument to $ac_option" >&2
642 { (exit 1); exit 1; }; }
643 fi
644
645 # Be sure to have absolute paths.
646 for ac_var in exec_prefix prefix
647 do
648 eval ac_val=$`echo $ac_var`
649 case $ac_val in
650 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
651 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
652 { (exit 1); exit 1; }; };;
653 esac
654 done
655
656 # Be sure to have absolute paths.
657 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
658 localstatedir libdir includedir oldincludedir infodir mandir
659 do
660 eval ac_val=$`echo $ac_var`
661 case $ac_val in
662 [\\/$]* | ?:[\\/]* ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
665 esac
666 done
667
668 # There might be people who depend on the old broken behavior: `$host'
669 # used to hold the argument of --host etc.
670 # FIXME: To remove some day.
671 build=$build_alias
672 host=$host_alias
673 target=$target_alias
674
675 # FIXME: To remove some day.
676 if test "x$host_alias" != x; then
677 if test "x$build_alias" = x; then
678 cross_compiling=maybe
679 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
680 If a cross compiler is detected then cross compile mode will be used." >&2
681 elif test "x$build_alias" != "x$host_alias"; then
682 cross_compiling=yes
683 fi
684 fi
685
686 ac_tool_prefix=
687 test -n "$host_alias" && ac_tool_prefix=$host_alias-
688
689 test "$silent" = yes && exec 6>/dev/null
690
691
692 # Find the source files, if location was not specified.
693 if test -z "$srcdir"; then
694 ac_srcdir_defaulted=yes
695 # Try the directory containing this script, then its parent.
696 ac_confdir=`(dirname "$0") 2>/dev/null ||
697 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
698 X"$0" : 'X\(//\)[^/]' \| \
699 X"$0" : 'X\(//\)$' \| \
700 X"$0" : 'X\(/\)' \| \
701 . : '\(.\)' 2>/dev/null ||
702 echo X"$0" |
703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
705 /^X\(\/\/\)$/{ s//\1/; q; }
706 /^X\(\/\).*/{ s//\1/; q; }
707 s/.*/./; q'`
708 srcdir=$ac_confdir
709 if test ! -r $srcdir/$ac_unique_file; then
710 srcdir=..
711 fi
712 else
713 ac_srcdir_defaulted=no
714 fi
715 if test ! -r $srcdir/$ac_unique_file; then
716 if test "$ac_srcdir_defaulted" = yes; then
717 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
718 { (exit 1); exit 1; }; }
719 else
720 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
721 { (exit 1); exit 1; }; }
722 fi
723 fi
724 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
725 ac_env_build_alias_set=${build_alias+set}
726 ac_env_build_alias_value=$build_alias
727 ac_cv_env_build_alias_set=${build_alias+set}
728 ac_cv_env_build_alias_value=$build_alias
729 ac_env_host_alias_set=${host_alias+set}
730 ac_env_host_alias_value=$host_alias
731 ac_cv_env_host_alias_set=${host_alias+set}
732 ac_cv_env_host_alias_value=$host_alias
733 ac_env_target_alias_set=${target_alias+set}
734 ac_env_target_alias_value=$target_alias
735 ac_cv_env_target_alias_set=${target_alias+set}
736 ac_cv_env_target_alias_value=$target_alias
737 ac_env_CC_set=${CC+set}
738 ac_env_CC_value=$CC
739 ac_cv_env_CC_set=${CC+set}
740 ac_cv_env_CC_value=$CC
741 ac_env_CFLAGS_set=${CFLAGS+set}
742 ac_env_CFLAGS_value=$CFLAGS
743 ac_cv_env_CFLAGS_set=${CFLAGS+set}
744 ac_cv_env_CFLAGS_value=$CFLAGS
745 ac_env_LDFLAGS_set=${LDFLAGS+set}
746 ac_env_LDFLAGS_value=$LDFLAGS
747 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
748 ac_cv_env_LDFLAGS_value=$LDFLAGS
749 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
750 ac_env_CPPFLAGS_value=$CPPFLAGS
751 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
752 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
753 ac_env_CPP_set=${CPP+set}
754 ac_env_CPP_value=$CPP
755 ac_cv_env_CPP_set=${CPP+set}
756 ac_cv_env_CPP_value=$CPP
757
758 #
759 # Report the --help message.
760 #
761 if test "$ac_init_help" = "long"; then
762 # Omit some internal or obsolete options to make the list less imposing.
763 # This message is too long to be a string in the A/UX 3.1 sh.
764 cat <<_ACEOF
765 \`configure' configures bopm 3.0 to adapt to many kinds of systems.
766
767 Usage: $0 [OPTION]... [VAR=VALUE]...
768
769 To assign environment variables (e.g., CC, CFLAGS...), specify them as
770 VAR=VALUE. See below for descriptions of some of the useful variables.
771
772 Defaults for the options are specified in brackets.
773
774 Configuration:
775 -h, --help display this help and exit
776 --help=short display options specific to this package
777 --help=recursive display the short help of all the included packages
778 -V, --version display version information and exit
779 -q, --quiet, --silent do not print \`checking...' messages
780 --cache-file=FILE cache test results in FILE [disabled]
781 -C, --config-cache alias for \`--cache-file=config.cache'
782 -n, --no-create do not create output files
783 --srcdir=DIR find the sources in DIR [configure dir or \`..']
784
785 _ACEOF
786
787 cat <<_ACEOF
788 Installation directories:
789 --prefix=PREFIX install architecture-independent files in PREFIX
790 [$ac_default_prefix]
791 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
792 [PREFIX]
793
794 By default, \`make install' will install all the files in
795 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
796 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
797 for instance \`--prefix=\$HOME'.
798
799 For better control, use the options below.
800
801 Fine tuning of the installation directories:
802 --bindir=DIR user executables [EPREFIX/bin]
803 --sbindir=DIR system admin executables [EPREFIX/sbin]
804 --libexecdir=DIR program executables [EPREFIX/libexec]
805 --datadir=DIR read-only architecture-independent data [PREFIX/share]
806 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
807 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
808 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
809 --libdir=DIR object code libraries [EPREFIX/lib]
810 --includedir=DIR C header files [PREFIX/include]
811 --oldincludedir=DIR C header files for non-gcc [/usr/include]
812 --infodir=DIR info documentation [PREFIX/info]
813 --mandir=DIR man documentation [PREFIX/man]
814 _ACEOF
815
816 cat <<\_ACEOF
817
818 Program names:
819 --program-prefix=PREFIX prepend PREFIX to installed program names
820 --program-suffix=SUFFIX append SUFFIX to installed program names
821 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
822 _ACEOF
823 fi
824
825 if test -n "$ac_init_help"; then
826 case $ac_init_help in
827 short | recursive ) echo "Configuration of bopm 3.0:";;
828 esac
829 cat <<\_ACEOF
830
831 Optional Features:
832 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
833 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
834 --enable-maintainer-mode enable make rules and dependencies not useful
835 (and sometimes confusing) to the casual installer
836 --enable-ipv6 Enable IPV6 support
837 --disable-dependency-tracking Speeds up one-time builds
838 --enable-dependency-tracking Do not reject slow dependency extractors
839
840 Optional Packages:
841 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
842 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
843 --with-select use select() instead of poll()
844 --with-unreal you need this if you are using Unreal ircd (any
845 version)
846 --with-extra-fascism Add extra gcc3-specific warning flags
847
848 Some influential environment variables:
849 CC C compiler command
850 CFLAGS C compiler flags
851 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
852 nonstandard directory <lib dir>
853 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
854 headers in a nonstandard directory <include dir>
855 CPP C preprocessor
856
857 Use these variables to override the choices made by `configure' or to help
858 it to find libraries and programs with nonstandard names/locations.
859
860 _ACEOF
861 fi
862
863 if test "$ac_init_help" = "recursive"; then
864 # If there are subdirs, report their specific --help.
865 ac_popdir=`pwd`
866 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
867 test -d $ac_dir || continue
868 ac_builddir=.
869
870 if test "$ac_dir" != .; then
871 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
872 # A "../" for each directory in $ac_dir_suffix.
873 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
874 else
875 ac_dir_suffix= ac_top_builddir=
876 fi
877
878 case $srcdir in
879 .) # No --srcdir option. We are building in place.
880 ac_srcdir=.
881 if test -z "$ac_top_builddir"; then
882 ac_top_srcdir=.
883 else
884 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
885 fi ;;
886 [\\/]* | ?:[\\/]* ) # Absolute path.
887 ac_srcdir=$srcdir$ac_dir_suffix;
888 ac_top_srcdir=$srcdir ;;
889 *) # Relative path.
890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
891 ac_top_srcdir=$ac_top_builddir$srcdir ;;
892 esac
893 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
894 # absolute.
895 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
896 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
897 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
898 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
899
900 cd $ac_dir
901 # Check for guested configure; otherwise get Cygnus style configure.
902 if test -f $ac_srcdir/configure.gnu; then
903 echo
904 $SHELL $ac_srcdir/configure.gnu --help=recursive
905 elif test -f $ac_srcdir/configure; then
906 echo
907 $SHELL $ac_srcdir/configure --help=recursive
908 elif test -f $ac_srcdir/configure.ac ||
909 test -f $ac_srcdir/configure.in; then
910 echo
911 $ac_configure --help
912 else
913 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
914 fi
915 cd $ac_popdir
916 done
917 fi
918
919 test -n "$ac_init_help" && exit 0
920 if $ac_init_version; then
921 cat <<\_ACEOF
922 bopm configure 3.0
923 generated by GNU Autoconf 2.53
924
925 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
926 Free Software Foundation, Inc.
927 This configure script is free software; the Free Software Foundation
928 gives unlimited permission to copy, distribute and modify it.
929 _ACEOF
930 exit 0
931 fi
932 exec 5>config.log
933 cat >&5 <<_ACEOF
934 This file contains any messages produced by compilers while
935 running configure, to aid debugging if configure makes a mistake.
936
937 It was created by bopm $as_me 3.0, which was
938 generated by GNU Autoconf 2.53. Invocation command line was
939
940 $ $0 $@
941
942 _ACEOF
943 {
944 cat <<_ASUNAME
945 ## --------- ##
946 ## Platform. ##
947 ## --------- ##
948
949 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
950 uname -m = `(uname -m) 2>/dev/null || echo unknown`
951 uname -r = `(uname -r) 2>/dev/null || echo unknown`
952 uname -s = `(uname -s) 2>/dev/null || echo unknown`
953 uname -v = `(uname -v) 2>/dev/null || echo unknown`
954
955 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
956 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
957
958 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
959 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
960 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
961 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
962 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
963 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
964 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
965
966 _ASUNAME
967
968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
969 for as_dir in $PATH
970 do
971 IFS=$as_save_IFS
972 test -z "$as_dir" && as_dir=.
973 echo "PATH: $as_dir"
974 done
975
976 } >&5
977
978 cat >&5 <<_ACEOF
979
980
981 ## ----------- ##
982 ## Core tests. ##
983 ## ----------- ##
984
985 _ACEOF
986
987
988 # Keep a trace of the command line.
989 # Strip out --no-create and --no-recursion so they do not pile up.
990 # Also quote any args containing shell meta-characters.
991 ac_configure_args=
992 ac_sep=
993 for ac_arg
994 do
995 case $ac_arg in
996 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
997 | --no-cr | --no-c | -n ) continue ;;
998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1000 continue ;;
1001 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1002 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1003 esac
1004 case " $ac_configure_args " in
1005 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1006 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1007 ac_sep=" " ;;
1008 esac
1009 # Get rid of the leading space.
1010 done
1011
1012 # When interrupted or exit'd, cleanup temporary files, and complete
1013 # config.log. We remove comments because anyway the quotes in there
1014 # would cause problems or look ugly.
1015 # WARNING: Be sure not to use single quotes in there, as some shells,
1016 # such as our DU 5.0 friend, will then `close' the trap.
1017 trap 'exit_status=$?
1018 # Save into config.log some information that might help in debugging.
1019 {
1020 echo
1021 cat <<\_ASBOX
1022 ## ---------------- ##
1023 ## Cache variables. ##
1024 ## ---------------- ##
1025 _ASBOX
1026 echo
1027 # The following way of writing the cache mishandles newlines in values,
1028 {
1029 (set) 2>&1 |
1030 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1031 *ac_space=\ *)
1032 sed -n \
1033 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1035 ;;
1036 *)
1037 sed -n \
1038 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1039 ;;
1040 esac;
1041 }
1042 echo
1043 if test -s confdefs.h; then
1044 cat <<\_ASBOX
1045 ## ----------- ##
1046 ## confdefs.h. ##
1047 ## ----------- ##
1048 _ASBOX
1049 echo
1050 sed "/^$/d" confdefs.h
1051 echo
1052 fi
1053 test "$ac_signal" != 0 &&
1054 echo "$as_me: caught signal $ac_signal"
1055 echo "$as_me: exit $exit_status"
1056 } >&5
1057 rm -f core core.* *.core &&
1058 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1059 exit $exit_status
1060 ' 0
1061 for ac_signal in 1 2 13 15; do
1062 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1063 done
1064 ac_signal=0
1065
1066 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1067 rm -rf conftest* confdefs.h
1068 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1069 echo >confdefs.h
1070
1071 # Predefined preprocessor variables.
1072
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_NAME "$PACKAGE_NAME"
1075 _ACEOF
1076
1077
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1080 _ACEOF
1081
1082
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1085 _ACEOF
1086
1087
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_STRING "$PACKAGE_STRING"
1090 _ACEOF
1091
1092
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1095 _ACEOF
1096
1097
1098 # Let the site file select an alternate cache file if it wants to.
1099 # Prefer explicitly selected file to automatically selected ones.
1100 if test -z "$CONFIG_SITE"; then
1101 if test "x$prefix" != xNONE; then
1102 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1103 else
1104 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1105 fi
1106 fi
1107 for ac_site_file in $CONFIG_SITE; do
1108 if test -r "$ac_site_file"; then
1109 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1110 echo "$as_me: loading site script $ac_site_file" >&6;}
1111 sed 's/^/| /' "$ac_site_file" >&5
1112 . "$ac_site_file"
1113 fi
1114 done
1115
1116 if test -r "$cache_file"; then
1117 # Some versions of bash will fail to source /dev/null (special
1118 # files actually), so we avoid doing that.
1119 if test -f "$cache_file"; then
1120 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1121 echo "$as_me: loading cache $cache_file" >&6;}
1122 case $cache_file in
1123 [\\/]* | ?:[\\/]* ) . $cache_file;;
1124 *) . ./$cache_file;;
1125 esac
1126 fi
1127 else
1128 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1129 echo "$as_me: creating cache $cache_file" >&6;}
1130 >$cache_file
1131 fi
1132
1133 # Check that the precious variables saved in the cache have kept the same
1134 # value.
1135 ac_cache_corrupted=false
1136 for ac_var in `(set) 2>&1 |
1137 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1138 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1139 eval ac_new_set=\$ac_env_${ac_var}_set
1140 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1141 eval ac_new_val="\$ac_env_${ac_var}_value"
1142 case $ac_old_set,$ac_new_set in
1143 set,)
1144 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1145 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1146 ac_cache_corrupted=: ;;
1147 ,set)
1148 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1149 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1150 ac_cache_corrupted=: ;;
1151 ,);;
1152 *)
1153 if test "x$ac_old_val" != "x$ac_new_val"; then
1154 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1155 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1156 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1157 echo "$as_me: former value: $ac_old_val" >&2;}
1158 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1159 echo "$as_me: current value: $ac_new_val" >&2;}
1160 ac_cache_corrupted=:
1161 fi;;
1162 esac
1163 # Pass precious variables to config.status.
1164 if test "$ac_new_set" = set; then
1165 case $ac_new_val in
1166 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1167 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1168 *) ac_arg=$ac_var=$ac_new_val ;;
1169 esac
1170 case " $ac_configure_args " in
1171 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1172 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1173 esac
1174 fi
1175 done
1176 if $ac_cache_corrupted; then
1177 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1178 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1179 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1180 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1181 { (exit 1); exit 1; }; }
1182 fi
1183
1184 ac_ext=c
1185 ac_cpp='$CPP $CPPFLAGS'
1186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216 # Add the stamp file to the list of files AC keeps track of,
1217 # along with our hook.
1218 ac_config_headers="$ac_config_headers src/setup.h"
1219
1220
1221
1222 am__api_version="1.6"
1223 ac_aux_dir=
1224 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1225 if test -f $ac_dir/install-sh; then
1226 ac_aux_dir=$ac_dir
1227 ac_install_sh="$ac_aux_dir/install-sh -c"
1228 break
1229 elif test -f $ac_dir/install.sh; then
1230 ac_aux_dir=$ac_dir
1231 ac_install_sh="$ac_aux_dir/install.sh -c"
1232 break
1233 elif test -f $ac_dir/shtool; then
1234 ac_aux_dir=$ac_dir
1235 ac_install_sh="$ac_aux_dir/shtool install -c"
1236 break
1237 fi
1238 done
1239 if test -z "$ac_aux_dir"; then
1240 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1241 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1242 { (exit 1); exit 1; }; }
1243 fi
1244 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1245 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1246 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1247
1248 # Find a good install program. We prefer a C program (faster),
1249 # so one script is as good as another. But avoid the broken or
1250 # incompatible versions:
1251 # SysV /etc/install, /usr/sbin/install
1252 # SunOS /usr/etc/install
1253 # IRIX /sbin/install
1254 # AIX /bin/install
1255 # AmigaOS /C/install, which installs bootblocks on floppy discs
1256 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1257 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1258 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1259 # ./install, which can be erroneously created by make from ./install.sh.
1260 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1261 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1262 if test -z "$INSTALL"; then
1263 if test "${ac_cv_path_install+set}" = set; then
1264 echo $ECHO_N "(cached) $ECHO_C" >&6
1265 else
1266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1267 for as_dir in $PATH
1268 do
1269 IFS=$as_save_IFS
1270 test -z "$as_dir" && as_dir=.
1271 # Account for people who put trailing slashes in PATH elements.
1272 case $as_dir/ in
1273 ./ | .// | /cC/* | \
1274 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1275 /usr/ucb/* ) ;;
1276 *)
1277 # OSF1 and SCO ODT 3.0 have their own names for install.
1278 # Don't use installbsd from OSF since it installs stuff as root
1279 # by default.
1280 for ac_prog in ginstall scoinst install; do
1281 for ac_exec_ext in '' $ac_executable_extensions; do
1282 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1283 if test $ac_prog = install &&
1284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1285 # AIX install. It has an incompatible calling convention.
1286 :
1287 elif test $ac_prog = install &&
1288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1289 # program-specific install script used by HP pwplus--don't use.
1290 :
1291 else
1292 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1293 break 3
1294 fi
1295 fi
1296 done
1297 done
1298 ;;
1299 esac
1300 done
1301
1302
1303 fi
1304 if test "${ac_cv_path_install+set}" = set; then
1305 INSTALL=$ac_cv_path_install
1306 else
1307 # As a last resort, use the slow shell script. We don't cache a
1308 # path for INSTALL within a source directory, because that will
1309 # break other packages using the cache if that directory is
1310 # removed, or if the path is relative.
1311 INSTALL=$ac_install_sh
1312 fi
1313 fi
1314 echo "$as_me:$LINENO: result: $INSTALL" >&5
1315 echo "${ECHO_T}$INSTALL" >&6
1316
1317 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1318 # It thinks the first close brace ends the variable substitution.
1319 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1320
1321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1322
1323 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1324
1325 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1326 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1327 # Just in case
1328 sleep 1
1329 echo timestamp > conftest.file
1330 # Do `set' in a subshell so we don't clobber the current shell's
1331 # arguments. Must try -L first in case configure is actually a
1332 # symlink; some systems play weird games with the mod time of symlinks
1333 # (eg FreeBSD returns the mod time of the symlink's containing
1334 # directory).
1335 if (
1336 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1337 if test "$*" = "X"; then
1338 # -L didn't work.
1339 set X `ls -t $srcdir/configure conftest.file`
1340 fi
1341 rm -f conftest.file
1342 if test "$*" != "X $srcdir/configure conftest.file" \
1343 && test "$*" != "X conftest.file $srcdir/configure"; then
1344
1345 # If neither matched, then we have a broken ls. This can happen
1346 # if, for instance, CONFIG_SHELL is bash and it inherits a
1347 # broken ls alias from the environment. This has actually
1348 # happened. Such a system could not be considered "sane".
1349 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1350 alias in your environment" >&5
1351 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1352 alias in your environment" >&2;}
1353 { (exit 1); exit 1; }; }
1354 fi
1355
1356 test "$2" = conftest.file
1357 )
1358 then
1359 # Ok.
1360 :
1361 else
1362 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1363 Check your system clock" >&5
1364 echo "$as_me: error: newly created file is older than distributed files!
1365 Check your system clock" >&2;}
1366 { (exit 1); exit 1; }; }
1367 fi
1368 echo "$as_me:$LINENO: result: yes" >&5
1369 echo "${ECHO_T}yes" >&6
1370 test "$program_prefix" != NONE &&
1371 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1372 # Use a double $ so make ignores it.
1373 test "$program_suffix" != NONE &&
1374 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1375 # Double any \ or $. echo might interpret backslashes.
1376 # By default was `s,x,x', remove it if useless.
1377 cat <<\_ACEOF >conftest.sed
1378 s/[\\$]/&&/g;s/;s,x,x,$//
1379 _ACEOF
1380 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1381 rm conftest.sed
1382
1383
1384 # expand $ac_aux_dir to an absolute path
1385 am_aux_dir=`cd $ac_aux_dir && pwd`
1386
1387 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1388 # Use eval to expand $SHELL
1389 if eval "$MISSING --run true"; then
1390 am_missing_run="$MISSING --run "
1391 else
1392 am_missing_run=
1393 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1394 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1395 fi
1396
1397 for ac_prog in gawk mawk nawk awk
1398 do
1399 # Extract the first word of "$ac_prog", so it can be a program name with args.
1400 set dummy $ac_prog; ac_word=$2
1401 echo "$as_me:$LINENO: checking for $ac_word" >&5
1402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1403 if test "${ac_cv_prog_AWK+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1405 else
1406 if test -n "$AWK"; then
1407 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1408 else
1409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1410 for as_dir in $PATH
1411 do
1412 IFS=$as_save_IFS
1413 test -z "$as_dir" && as_dir=.
1414 for ac_exec_ext in '' $ac_executable_extensions; do
1415 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1416 ac_cv_prog_AWK="$ac_prog"
1417 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1418 break 2
1419 fi
1420 done
1421 done
1422
1423 fi
1424 fi
1425 AWK=$ac_cv_prog_AWK
1426 if test -n "$AWK"; then
1427 echo "$as_me:$LINENO: result: $AWK" >&5
1428 echo "${ECHO_T}$AWK" >&6
1429 else
1430 echo "$as_me:$LINENO: result: no" >&5
1431 echo "${ECHO_T}no" >&6
1432 fi
1433
1434 test -n "$AWK" && break
1435 done
1436
1437 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&5
1438 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&6
1439 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
1440 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1441 echo $ECHO_N "(cached) $ECHO_C" >&6
1442 else
1443 cat >conftest.make <<\_ACEOF
1444 all:
1445 @echo 'ac_maketemp="${MAKE}"'
1446 _ACEOF
1447 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1448 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1449 if test -n "$ac_maketemp"; then
1450 eval ac_cv_prog_make_${ac_make}_set=yes
1451 else
1452 eval ac_cv_prog_make_${ac_make}_set=no
1453 fi
1454 rm -f conftest.make
1455 fi
1456 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1457 echo "$as_me:$LINENO: result: yes" >&5
1458 echo "${ECHO_T}yes" >&6
1459 SET_MAKE=
1460 else
1461 echo "$as_me:$LINENO: result: no" >&5
1462 echo "${ECHO_T}no" >&6
1463 SET_MAKE="MAKE=${MAKE-make}"
1464 fi
1465
1466 # test to see if srcdir already configured
1467 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1468 test -f $srcdir/config.status; then
1469 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1470 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1471 { (exit 1); exit 1; }; }
1472 fi
1473
1474 # Define the identity of the package.
1475 PACKAGE=bopm
1476 VERSION=3.0
1477
1478
1479 cat >>confdefs.h <<_ACEOF
1480 #define PACKAGE "$PACKAGE"
1481 _ACEOF
1482
1483
1484 cat >>confdefs.h <<_ACEOF
1485 #define VERSION "$VERSION"
1486 _ACEOF
1487
1488 # Some tools Automake needs.
1489
1490 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1491
1492
1493 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1494
1495
1496 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1497
1498
1499 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1500
1501
1502 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1503
1504
1505 AMTAR=${AMTAR-"${am_missing_run}tar"}
1506
1507 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1508
1509 # Installed binaries are usually stripped using `strip' when the user
1510 # run `make install-strip'. However `strip' might not be the right
1511 # tool to use in cross-compilation environments, therefore Automake
1512 # will honor the `STRIP' environment variable to overrule this program.
1513 if test "$cross_compiling" != no; then
1514 if test -n "$ac_tool_prefix"; then
1515 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1516 set dummy ${ac_tool_prefix}strip; ac_word=$2
1517 echo "$as_me:$LINENO: checking for $ac_word" >&5
1518 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1519 if test "${ac_cv_prog_STRIP+set}" = set; then
1520 echo $ECHO_N "(cached) $ECHO_C" >&6
1521 else
1522 if test -n "$STRIP"; then
1523 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1524 else
1525 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1526 for as_dir in $PATH
1527 do
1528 IFS=$as_save_IFS
1529 test -z "$as_dir" && as_dir=.
1530 for ac_exec_ext in '' $ac_executable_extensions; do
1531 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1532 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1533 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1534 break 2
1535 fi
1536 done
1537 done
1538
1539 fi
1540 fi
1541 STRIP=$ac_cv_prog_STRIP
1542 if test -n "$STRIP"; then
1543 echo "$as_me:$LINENO: result: $STRIP" >&5
1544 echo "${ECHO_T}$STRIP" >&6
1545 else
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1548 fi
1549
1550 fi
1551 if test -z "$ac_cv_prog_STRIP"; then
1552 ac_ct_STRIP=$STRIP
1553 # Extract the first word of "strip", so it can be a program name with args.
1554 set dummy strip; ac_word=$2
1555 echo "$as_me:$LINENO: checking for $ac_word" >&5
1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1557 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1558 echo $ECHO_N "(cached) $ECHO_C" >&6
1559 else
1560 if test -n "$ac_ct_STRIP"; then
1561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1562 else
1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 for as_dir in $PATH
1565 do
1566 IFS=$as_save_IFS
1567 test -z "$as_dir" && as_dir=.
1568 for ac_exec_ext in '' $ac_executable_extensions; do
1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1570 ac_cv_prog_ac_ct_STRIP="strip"
1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1572 break 2
1573 fi
1574 done
1575 done
1576
1577 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1578 fi
1579 fi
1580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1581 if test -n "$ac_ct_STRIP"; then
1582 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1583 echo "${ECHO_T}$ac_ct_STRIP" >&6
1584 else
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1587 fi
1588
1589 STRIP=$ac_ct_STRIP
1590 else
1591 STRIP="$ac_cv_prog_STRIP"
1592 fi
1593
1594 fi
1595 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1596
1597 # We need awk for the "check" target. The system "awk" is bad on
1598 # some platforms.
1599
1600
1601
1602
1603 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1604 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1605 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1606 if test "${enable_maintainer_mode+set}" = set; then
1607 enableval="$enable_maintainer_mode"
1608 USE_MAINTAINER_MODE=$enableval
1609 else
1610 USE_MAINTAINER_MODE=no
1611 fi;
1612 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1613 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1614
1615
1616 if test $USE_MAINTAINER_MODE = yes; then
1617 MAINTAINER_MODE_TRUE=
1618 MAINTAINER_MODE_FALSE='#'
1619 else
1620 MAINTAINER_MODE_TRUE='#'
1621 MAINTAINER_MODE_FALSE=
1622 fi
1623
1624 MAINT=$MAINTAINER_MODE_TRUE
1625
1626
1627
1628
1629 # Check whether --with-select or --without-select was given.
1630 if test "${with_select+set}" = set; then
1631 withval="$with_select"
1632 with_select="yes"
1633 else
1634 with_select="no"
1635 fi;
1636
1637 # Check whether --with-unreal or --without-unreal was given.
1638 if test "${with_unreal+set}" = set; then
1639 withval="$with_unreal"
1640 with_unreal="yes"
1641 else
1642 with_unreal="no"
1643 fi;
1644
1645 # Check whether --with-extra-fascism or --without-extra-fascism was given.
1646 if test "${with_extra_fascism+set}" = set; then
1647 withval="$with_extra_fascism"
1648 CFLAGS="$CFLAGS -g -ggdb -O0 -W -Wfloat-equal -Wbad-function-cast -Wconversion -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs"
1649 fi;
1650
1651
1652 # Check whether --enable-ipv6 or --disable-ipv6 was given.
1653 if test "${enable_ipv6+set}" = set; then
1654 enableval="$enable_ipv6"
1655 ac_cv_ipv6=$enableval
1656 else
1657 ac_cv_ipv6="no"
1658 fi;
1659
1660 echo "$as_me:$LINENO: checking whether to enable IPv6 features" >&5
1661 echo $ECHO_N "checking whether to enable IPv6 features... $ECHO_C" >&6
1662
1663 if test "$ac_cv_ipv6" = "yes" ; then
1664
1665 cat >>confdefs.h <<\_ACEOF
1666 #define IPV6 1
1667 _ACEOF
1668
1669 echo "$as_me:$LINENO: result: yes" >&5
1670 echo "${ECHO_T}yes" >&6
1671 else
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
1674 fi
1675
1676 ac_ext=c
1677 ac_cpp='$CPP $CPPFLAGS'
1678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1681 if test -n "$ac_tool_prefix"; then
1682 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1683 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1684 echo "$as_me:$LINENO: checking for $ac_word" >&5
1685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1686 if test "${ac_cv_prog_CC+set}" = set; then
1687 echo $ECHO_N "(cached) $ECHO_C" >&6
1688 else
1689 if test -n "$CC"; then
1690 ac_cv_prog_CC="$CC" # Let the user override the test.
1691 else
1692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 for as_dir in $PATH
1694 do
1695 IFS=$as_save_IFS
1696 test -z "$as_dir" && as_dir=.
1697 for ac_exec_ext in '' $ac_executable_extensions; do
1698 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1699 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1700 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1701 break 2
1702 fi
1703 done
1704 done
1705
1706 fi
1707 fi
1708 CC=$ac_cv_prog_CC
1709 if test -n "$CC"; then
1710 echo "$as_me:$LINENO: result: $CC" >&5
1711 echo "${ECHO_T}$CC" >&6
1712 else
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1715 fi
1716
1717 fi
1718 if test -z "$ac_cv_prog_CC"; then
1719 ac_ct_CC=$CC
1720 # Extract the first word of "gcc", so it can be a program name with args.
1721 set dummy gcc; ac_word=$2
1722 echo "$as_me:$LINENO: checking for $ac_word" >&5
1723 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1724 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1726 else
1727 if test -n "$ac_ct_CC"; then
1728 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1729 else
1730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1731 for as_dir in $PATH
1732 do
1733 IFS=$as_save_IFS
1734 test -z "$as_dir" && as_dir=.
1735 for ac_exec_ext in '' $ac_executable_extensions; do
1736 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1737 ac_cv_prog_ac_ct_CC="gcc"
1738 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1739 break 2
1740 fi
1741 done
1742 done
1743
1744 fi
1745 fi
1746 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1747 if test -n "$ac_ct_CC"; then
1748 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1749 echo "${ECHO_T}$ac_ct_CC" >&6
1750 else
1751 echo "$as_me:$LINENO: result: no" >&5
1752 echo "${ECHO_T}no" >&6
1753 fi
1754
1755 CC=$ac_ct_CC
1756 else
1757 CC="$ac_cv_prog_CC"
1758 fi
1759
1760 if test -z "$CC"; then
1761 if test -n "$ac_tool_prefix"; then
1762 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1763 set dummy ${ac_tool_prefix}cc; ac_word=$2
1764 echo "$as_me:$LINENO: checking for $ac_word" >&5
1765 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766 if test "${ac_cv_prog_CC+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1768 else
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC="$CC" # Let the user override the test.
1771 else
1772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773 for as_dir in $PATH
1774 do
1775 IFS=$as_save_IFS
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_CC="${ac_tool_prefix}cc"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1781 break 2
1782 fi
1783 done
1784 done
1785
1786 fi
1787 fi
1788 CC=$ac_cv_prog_CC
1789 if test -n "$CC"; then
1790 echo "$as_me:$LINENO: result: $CC" >&5
1791 echo "${ECHO_T}$CC" >&6
1792 else
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1795 fi
1796
1797 fi
1798 if test -z "$ac_cv_prog_CC"; then
1799 ac_ct_CC=$CC
1800 # Extract the first word of "cc", so it can be a program name with args.
1801 set dummy cc; ac_word=$2
1802 echo "$as_me:$LINENO: checking for $ac_word" >&5
1803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1805 echo $ECHO_N "(cached) $ECHO_C" >&6
1806 else
1807 if test -n "$ac_ct_CC"; then
1808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1809 else
1810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1811 for as_dir in $PATH
1812 do
1813 IFS=$as_save_IFS
1814 test -z "$as_dir" && as_dir=.
1815 for ac_exec_ext in '' $ac_executable_extensions; do
1816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1817 ac_cv_prog_ac_ct_CC="cc"
1818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1819 break 2
1820 fi
1821 done
1822 done
1823
1824 fi
1825 fi
1826 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1827 if test -n "$ac_ct_CC"; then
1828 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1829 echo "${ECHO_T}$ac_ct_CC" >&6
1830 else
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
1833 fi
1834
1835 CC=$ac_ct_CC
1836 else
1837 CC="$ac_cv_prog_CC"
1838 fi
1839
1840 fi
1841 if test -z "$CC"; then
1842 # Extract the first word of "cc", so it can be a program name with args.
1843 set dummy cc; ac_word=$2
1844 echo "$as_me:$LINENO: checking for $ac_word" >&5
1845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1846 if test "${ac_cv_prog_CC+set}" = set; then
1847 echo $ECHO_N "(cached) $ECHO_C" >&6
1848 else
1849 if test -n "$CC"; then
1850 ac_cv_prog_CC="$CC" # Let the user override the test.
1851 else
1852 ac_prog_rejected=no
1853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1854 for as_dir in $PATH
1855 do
1856 IFS=$as_save_IFS
1857 test -z "$as_dir" && as_dir=.
1858 for ac_exec_ext in '' $ac_executable_extensions; do
1859 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1860 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1861 ac_prog_rejected=yes
1862 continue
1863 fi
1864 ac_cv_prog_CC="cc"
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1866 break 2
1867 fi
1868 done
1869 done
1870
1871 if test $ac_prog_rejected = yes; then
1872 # We found a bogon in the path, so make sure we never use it.
1873 set dummy $ac_cv_prog_CC
1874 shift
1875 if test $# != 0; then
1876 # We chose a different compiler from the bogus one.
1877 # However, it has the same basename, so the bogon will be chosen
1878 # first if we set CC to just the basename; use the full file name.
1879 shift
1880 set dummy "$as_dir/$ac_word" ${1+"$@"}
1881 shift
1882 ac_cv_prog_CC="$@"
1883 fi
1884 fi
1885 fi
1886 fi
1887 CC=$ac_cv_prog_CC
1888 if test -n "$CC"; then
1889 echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6
1891 else
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1894 fi
1895
1896 fi
1897 if test -z "$CC"; then
1898 if test -n "$ac_tool_prefix"; then
1899 for ac_prog in cl
1900 do
1901 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1902 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1903 echo "$as_me:$LINENO: checking for $ac_word" >&5
1904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1905 if test "${ac_cv_prog_CC+set}" = set; then
1906 echo $ECHO_N "(cached) $ECHO_C" >&6
1907 else
1908 if test -n "$CC"; then
1909 ac_cv_prog_CC="$CC" # Let the user override the test.
1910 else
1911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1912 for as_dir in $PATH
1913 do
1914 IFS=$as_save_IFS
1915 test -z "$as_dir" && as_dir=.
1916 for ac_exec_ext in '' $ac_executable_extensions; do
1917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1918 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1920 break 2
1921 fi
1922 done
1923 done
1924
1925 fi
1926 fi
1927 CC=$ac_cv_prog_CC
1928 if test -n "$CC"; then
1929 echo "$as_me:$LINENO: result: $CC" >&5
1930 echo "${ECHO_T}$CC" >&6
1931 else
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1934 fi
1935
1936 test -n "$CC" && break
1937 done
1938 fi
1939 if test -z "$CC"; then
1940 ac_ct_CC=$CC
1941 for ac_prog in cl
1942 do
1943 # Extract the first word of "$ac_prog", so it can be a program name with args.
1944 set dummy $ac_prog; ac_word=$2
1945 echo "$as_me:$LINENO: checking for $ac_word" >&5
1946 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1947 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1948 echo $ECHO_N "(cached) $ECHO_C" >&6
1949 else
1950 if test -n "$ac_ct_CC"; then
1951 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1952 else
1953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954 for as_dir in $PATH
1955 do
1956 IFS=$as_save_IFS
1957 test -z "$as_dir" && as_dir=.
1958 for ac_exec_ext in '' $ac_executable_extensions; do
1959 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1960 ac_cv_prog_ac_ct_CC="$ac_prog"
1961 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1962 break 2
1963 fi
1964 done
1965 done
1966
1967 fi
1968 fi
1969 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1970 if test -n "$ac_ct_CC"; then
1971 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1972 echo "${ECHO_T}$ac_ct_CC" >&6
1973 else
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1976 fi
1977
1978 test -n "$ac_ct_CC" && break
1979 done
1980
1981 CC=$ac_ct_CC
1982 fi
1983
1984 fi
1985
1986
1987 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5
1988 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;}
1989 { (exit 1); exit 1; }; }
1990
1991 # Provide some information about the compiler.
1992 echo "$as_me:$LINENO:" \
1993 "checking for C compiler version" >&5
1994 ac_compiler=`set X $ac_compile; echo $2`
1995 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1996 (eval $ac_compiler --version </dev/null >&5) 2>&5
1997 ac_status=$?
1998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1999 (exit $ac_status); }
2000 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2001 (eval $ac_compiler -v </dev/null >&5) 2>&5
2002 ac_status=$?
2003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2004 (exit $ac_status); }
2005 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2006 (eval $ac_compiler -V </dev/null >&5) 2>&5
2007 ac_status=$?
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }
2010
2011 cat >conftest.$ac_ext <<_ACEOF
2012 #line $LINENO "configure"
2013 #include "confdefs.h"
2014
2015 #ifdef F77_DUMMY_MAIN
2016 # ifdef __cplusplus
2017 extern "C"
2018 # endif
2019 int F77_DUMMY_MAIN() { return 1; }
2020 #endif
2021 int
2022 main ()
2023 {
2024
2025 ;
2026 return 0;
2027 }
2028 _ACEOF
2029 ac_clean_files_save=$ac_clean_files
2030 ac_clean_files="$ac_clean_files a.out a.exe"
2031 # Try to create an executable without -o first, disregard a.out.
2032 # It will help us diagnose broken compilers, and finding out an intuition
2033 # of exeext.
2034 echo "$as_me:$LINENO: checking for C compiler default output" >&5
2035 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
2036 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2037 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2038 (eval $ac_link_default) 2>&5
2039 ac_status=$?
2040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2041 (exit $ac_status); }; then
2042 # Find the output, starting from the most likely. This scheme is
2043 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2044 # resort.
2045
2046 # Be careful to initialize this variable, since it used to be cached.
2047 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2048 ac_cv_exeext=
2049 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null;
2050 ls a.out conftest 2>/dev/null;
2051 ls a.* conftest.* 2>/dev/null`; do
2052 case $ac_file in
2053 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;;
2054 a.out ) # We found the default executable, but exeext='' is most
2055 # certainly right.
2056 break;;
2057 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2058 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
2059 export ac_cv_exeext
2060 break;;
2061 * ) break;;
2062 esac
2063 done
2064 else
2065 echo "$as_me: failed program was:" >&5
2066 cat conftest.$ac_ext >&5
2067 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5
2068 echo "$as_me: error: C compiler cannot create executables" >&2;}
2069 { (exit 77); exit 77; }; }
2070 fi
2071
2072 ac_exeext=$ac_cv_exeext
2073 echo "$as_me:$LINENO: result: $ac_file" >&5
2074 echo "${ECHO_T}$ac_file" >&6
2075
2076 # Check the compiler produces executables we can run. If not, either
2077 # the compiler is broken, or we cross compile.
2078 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2079 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2080 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2081 # If not cross compiling, check that we can run a simple program.
2082 if test "$cross_compiling" != yes; then
2083 if { ac_try='./$ac_file'
2084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2085 (eval $ac_try) 2>&5
2086 ac_status=$?
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); }; }; then
2089 cross_compiling=no
2090 else
2091 if test "$cross_compiling" = maybe; then
2092 cross_compiling=yes
2093 else
2094 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2095 If you meant to cross compile, use \`--host'." >&5
2096 echo "$as_me: error: cannot run C compiled programs.
2097 If you meant to cross compile, use \`--host'." >&2;}
2098 { (exit 1); exit 1; }; }
2099 fi
2100 fi
2101 fi
2102 echo "$as_me:$LINENO: result: yes" >&5
2103 echo "${ECHO_T}yes" >&6
2104
2105 rm -f a.out a.exe conftest$ac_cv_exeext
2106 ac_clean_files=$ac_clean_files_save
2107 # Check the compiler produces executables we can run. If not, either
2108 # the compiler is broken, or we cross compile.
2109 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2110 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2111 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2112 echo "${ECHO_T}$cross_compiling" >&6
2113
2114 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2115 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2117 (eval $ac_link) 2>&5
2118 ac_status=$?
2119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2120 (exit $ac_status); }; then
2121 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2122 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2123 # work properly (i.e., refer to `conftest.exe'), while it won't with
2124 # `rm'.
2125 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2126 case $ac_file in
2127 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
2128 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2129 export ac_cv_exeext
2130 break;;
2131 * ) break;;
2132 esac
2133 done
2134 else
2135 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5
2136 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;}
2137 { (exit 1); exit 1; }; }
2138 fi
2139
2140 rm -f conftest$ac_cv_exeext
2141 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2142 echo "${ECHO_T}$ac_cv_exeext" >&6
2143
2144 rm -f conftest.$ac_ext
2145 EXEEXT=$ac_cv_exeext
2146 ac_exeext=$EXEEXT
2147 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2148 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2149 if test "${ac_cv_objext+set}" = set; then
2150 echo $ECHO_N "(cached) $ECHO_C" >&6
2151 else
2152 cat >conftest.$ac_ext <<_ACEOF
2153 #line $LINENO "configure"
2154 #include "confdefs.h"
2155
2156 #ifdef F77_DUMMY_MAIN
2157 # ifdef __cplusplus
2158 extern "C"
2159 # endif
2160 int F77_DUMMY_MAIN() { return 1; }
2161 #endif
2162 int
2163 main ()
2164 {
2165
2166 ;
2167 return 0;
2168 }
2169 _ACEOF
2170 rm -f conftest.o conftest.obj
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>&5
2173 ac_status=$?
2174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2175 (exit $ac_status); }; then
2176 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2177 case $ac_file in
2178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
2179 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2180 break;;
2181 esac
2182 done
2183 else
2184 echo "$as_me: failed program was:" >&5
2185 cat conftest.$ac_ext >&5
2186 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5
2187 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;}
2188 { (exit 1); exit 1; }; }
2189 fi
2190
2191 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2192 fi
2193 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2194 echo "${ECHO_T}$ac_cv_objext" >&6
2195 OBJEXT=$ac_cv_objext
2196 ac_objext=$OBJEXT
2197 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2198 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2199 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2200 echo $ECHO_N "(cached) $ECHO_C" >&6
2201 else
2202 cat >conftest.$ac_ext <<_ACEOF
2203 #line $LINENO "configure"
2204 #include "confdefs.h"
2205
2206 #ifdef F77_DUMMY_MAIN
2207 # ifdef __cplusplus
2208 extern "C"
2209 # endif
2210 int F77_DUMMY_MAIN() { return 1; }
2211 #endif
2212 int
2213 main ()
2214 {
2215 #ifndef __GNUC__
2216 choke me
2217 #endif
2218
2219 ;
2220 return 0;
2221 }
2222 _ACEOF
2223 rm -f conftest.$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>&5
2226 ac_status=$?
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } &&
2229 { ac_try='test -s conftest.$ac_objext'
2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2231 (eval $ac_try) 2>&5
2232 ac_status=$?
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; }; then
2235 ac_compiler_gnu=yes
2236 else
2237 echo "$as_me: failed program was:" >&5
2238 cat conftest.$ac_ext >&5
2239 ac_compiler_gnu=no
2240 fi
2241 rm -f conftest.$ac_objext conftest.$ac_ext
2242 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2243
2244 fi
2245 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2246 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2247 GCC=`test $ac_compiler_gnu = yes && echo yes`
2248 ac_test_CFLAGS=${CFLAGS+set}
2249 ac_save_CFLAGS=$CFLAGS
2250 CFLAGS="-g"
2251 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2252 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2253 if test "${ac_cv_prog_cc_g+set}" = set; then
2254 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 else
2256 cat >conftest.$ac_ext <<_ACEOF
2257 #line $LINENO "configure"
2258 #include "confdefs.h"
2259
2260 #ifdef F77_DUMMY_MAIN
2261 # ifdef __cplusplus
2262 extern "C"
2263 # endif
2264 int F77_DUMMY_MAIN() { return 1; }
2265 #endif
2266 int
2267 main ()
2268 {
2269
2270 ;
2271 return 0;
2272 }
2273 _ACEOF
2274 rm -f conftest.$ac_objext
2275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2276 (eval $ac_compile) 2>&5
2277 ac_status=$?
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); } &&
2280 { ac_try='test -s conftest.$ac_objext'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2282 (eval $ac_try) 2>&5
2283 ac_status=$?
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2286 ac_cv_prog_cc_g=yes
2287 else
2288 echo "$as_me: failed program was:" >&5
2289 cat conftest.$ac_ext >&5
2290 ac_cv_prog_cc_g=no
2291 fi
2292 rm -f conftest.$ac_objext conftest.$ac_ext
2293 fi
2294 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2295 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2296 if test "$ac_test_CFLAGS" = set; then
2297 CFLAGS=$ac_save_CFLAGS
2298 elif test $ac_cv_prog_cc_g = yes; then
2299 if test "$GCC" = yes; then
2300 CFLAGS="-g -O2"
2301 else
2302 CFLAGS="-g"
2303 fi
2304 else
2305 if test "$GCC" = yes; then
2306 CFLAGS="-O2"
2307 else
2308 CFLAGS=
2309 fi
2310 fi
2311 # Some people use a C++ compiler to compile C. Since we use `exit',
2312 # in C++ we need to declare it. In case someone uses the same compiler
2313 # for both compiling C and C++ we need to have the C++ compiler decide
2314 # the declaration of exit, since it's the most demanding environment.
2315 cat >conftest.$ac_ext <<_ACEOF
2316 #ifndef __cplusplus
2317 choke me
2318 #endif
2319 _ACEOF
2320 rm -f conftest.$ac_objext
2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322 (eval $ac_compile) 2>&5
2323 ac_status=$?
2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2325 (exit $ac_status); } &&
2326 { ac_try='test -s conftest.$ac_objext'
2327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2328 (eval $ac_try) 2>&5
2329 ac_status=$?
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2332 for ac_declaration in \
2333 ''\
2334 '#include <stdlib.h>' \
2335 'extern "C" void std::exit (int) throw (); using std::exit;' \
2336 'extern "C" void std::exit (int); using std::exit;' \
2337 'extern "C" void exit (int) throw ();' \
2338 'extern "C" void exit (int);' \
2339 'void exit (int);'
2340 do
2341 cat >conftest.$ac_ext <<_ACEOF
2342 #line $LINENO "configure"
2343 #include "confdefs.h"
2344 #include <stdlib.h>
2345 $ac_declaration
2346 #ifdef F77_DUMMY_MAIN
2347 # ifdef __cplusplus
2348 extern "C"
2349 # endif
2350 int F77_DUMMY_MAIN() { return 1; }
2351 #endif
2352 int
2353 main ()
2354 {
2355 exit (42);
2356 ;
2357 return 0;
2358 }
2359 _ACEOF
2360 rm -f conftest.$ac_objext
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); } &&
2366 { ac_try='test -s conftest.$ac_objext'
2367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2368 (eval $ac_try) 2>&5
2369 ac_status=$?
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; }; then
2372 :
2373 else
2374 echo "$as_me: failed program was:" >&5
2375 cat conftest.$ac_ext >&5
2376 continue
2377 fi
2378 rm -f conftest.$ac_objext conftest.$ac_ext
2379 cat >conftest.$ac_ext <<_ACEOF
2380 #line $LINENO "configure"
2381 #include "confdefs.h"
2382 $ac_declaration
2383 #ifdef F77_DUMMY_MAIN
2384 # ifdef __cplusplus
2385 extern "C"
2386 # endif
2387 int F77_DUMMY_MAIN() { return 1; }
2388 #endif
2389 int
2390 main ()
2391 {
2392 exit (42);
2393 ;
2394 return 0;
2395 }
2396 _ACEOF
2397 rm -f conftest.$ac_objext
2398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2399 (eval $ac_compile) 2>&5
2400 ac_status=$?
2401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2402 (exit $ac_status); } &&
2403 { ac_try='test -s conftest.$ac_objext'
2404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2405 (eval $ac_try) 2>&5
2406 ac_status=$?
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; }; then
2409 break
2410 else
2411 echo "$as_me: failed program was:" >&5
2412 cat conftest.$ac_ext >&5
2413 fi
2414 rm -f conftest.$ac_objext conftest.$ac_ext
2415 done
2416 rm -f conftest*
2417 if test -n "$ac_declaration"; then
2418 echo '#ifdef __cplusplus' >>confdefs.h
2419 echo $ac_declaration >>confdefs.h
2420 echo '#endif' >>confdefs.h
2421 fi
2422
2423 else
2424 echo "$as_me: failed program was:" >&5
2425 cat conftest.$ac_ext >&5
2426 fi
2427 rm -f conftest.$ac_objext conftest.$ac_ext
2428 ac_ext=c
2429 ac_cpp='$CPP $CPPFLAGS'
2430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433 rm -f .deps 2>/dev/null
2434 mkdir .deps 2>/dev/null
2435 if test -d .deps; then
2436 DEPDIR=.deps
2437 else
2438 # MS-DOS does not allow filenames that begin with a dot.
2439 DEPDIR=_deps
2440 fi
2441 rmdir .deps 2>/dev/null
2442
2443
2444 ac_config_commands="$ac_config_commands depfiles"
2445
2446
2447 am_make=${MAKE-make}
2448 cat > confinc << 'END'
2449 doit:
2450 @echo done
2451 END
2452 # If we don't find an include directive, just comment out the code.
2453 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2454 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2455 am__include="#"
2456 am__quote=
2457 _am_result=none
2458 # First try GNU make style include.
2459 echo "include confinc" > confmf
2460 # We grep out `Entering directory' and `Leaving directory'
2461 # messages which can occur if `w' ends up in MAKEFLAGS.
2462 # In particular we don't look at `^make:' because GNU make might
2463 # be invoked under some other name (usually "gmake"), in which
2464 # case it prints its new name instead of `make'.
2465 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2466 am__include=include
2467 am__quote=
2468 _am_result=GNU
2469 fi
2470 # Now try BSD make style include.
2471 if test "$am__include" = "#"; then
2472 echo '.include "confinc"' > confmf
2473 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2474 am__include=.include
2475 am__quote="\""
2476 _am_result=BSD
2477 fi
2478 fi
2479
2480
2481 echo "$as_me:$LINENO: result: $_am_result" >&5
2482 echo "${ECHO_T}$_am_result" >&6
2483 rm -f confinc confmf
2484
2485 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2486 if test "${enable_dependency_tracking+set}" = set; then
2487 enableval="$enable_dependency_tracking"
2488
2489 fi;
2490 if test "x$enable_dependency_tracking" != xno; then
2491 am_depcomp="$ac_aux_dir/depcomp"
2492 AMDEPBACKSLASH='\'
2493 fi
2494
2495
2496 if test "x$enable_dependency_tracking" != xno; then
2497 AMDEP_TRUE=
2498 AMDEP_FALSE='#'
2499 else
2500 AMDEP_TRUE='#'
2501 AMDEP_FALSE=
2502 fi
2503
2504
2505
2506
2507 depcc="$CC" am_compiler_list=
2508
2509 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2510 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2511 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2512 echo $ECHO_N "(cached) $ECHO_C" >&6
2513 else
2514 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2515 # We make a subdir and do the tests there. Otherwise we can end up
2516 # making bogus files that we don't know about and never remove. For
2517 # instance it was reported that on HP-UX the gcc test will end up
2518 # making a dummy file named `D' -- because `-MD' means `put the output
2519 # in D'.
2520 mkdir conftest.dir
2521 # Copy depcomp to subdir because otherwise we won't find it if we're
2522 # using a relative directory.
2523 cp "$am_depcomp" conftest.dir
2524 cd conftest.dir
2525
2526 am_cv_CC_dependencies_compiler_type=none
2527 if test "$am_compiler_list" = ""; then
2528 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2529 fi
2530 for depmode in $am_compiler_list; do
2531 # We need to recreate these files for each test, as the compiler may
2532 # overwrite some of them when testing with obscure command lines.
2533 # This happens at least with the AIX C compiler.
2534 echo '#include "conftest.h"' > conftest.c
2535 echo 'int i;' > conftest.h
2536 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2537
2538 case $depmode in
2539 nosideeffect)
2540 # after this tag, mechanisms are not by side-effect, so they'll
2541 # only be used when explicitly requested
2542 if test "x$enable_dependency_tracking" = xyes; then
2543 continue
2544 else
2545 break
2546 fi
2547 ;;
2548 none) break ;;
2549 esac
2550 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2551 # mode. It turns out that the SunPro C++ compiler does not properly
2552 # handle `-M -o', and we need to detect this.
2553 if depmode=$depmode \
2554 source=conftest.c object=conftest.o \
2555 depfile=conftest.Po tmpdepfile=conftest.TPo \
2556 $SHELL ./depcomp $depcc -c conftest.c -o conftest.o >/dev/null 2>&1 &&
2557 grep conftest.h conftest.Po > /dev/null 2>&1 &&
2558 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2559 am_cv_CC_dependencies_compiler_type=$depmode
2560 break
2561 fi
2562 done
2563
2564 cd ..
2565 rm -rf conftest.dir
2566 else
2567 am_cv_CC_dependencies_compiler_type=none
2568 fi
2569
2570 fi
2571 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2572 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2573 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2574
2575
2576
2577
2578
2579 ac_ext=c
2580 ac_cpp='$CPP $CPPFLAGS'
2581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2584 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2585 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2586 # On Suns, sometimes $CPP names a directory.
2587 if test -n "$CPP" && test -d "$CPP"; then
2588 CPP=
2589 fi
2590 if test -z "$CPP"; then
2591 if test "${ac_cv_prog_CPP+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2593 else
2594 # Double quotes because CPP needs to be expanded
2595 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2596 do
2597 ac_preproc_ok=false
2598 for ac_c_preproc_warn_flag in '' yes
2599 do
2600 # Use a header file that comes with gcc, so configuring glibc
2601 # with a fresh cross-compiler works.
2602 # On the NeXT, cc -E runs the code through the compiler's parser,
2603 # not just through cpp. "Syntax error" is here to catch this case.
2604 cat >conftest.$ac_ext <<_ACEOF
2605 #line $LINENO "configure"
2606 #include "confdefs.h"
2607 #include <assert.h>
2608 Syntax error
2609 _ACEOF
2610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2612 ac_status=$?
2613 egrep -v '^ *\+' conftest.er1 >conftest.err
2614 rm -f conftest.er1
2615 cat conftest.err >&5
2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2617 (exit $ac_status); } >/dev/null; then
2618 if test -s conftest.err; then
2619 ac_cpp_err=$ac_c_preproc_warn_flag
2620 else
2621 ac_cpp_err=
2622 fi
2623 else
2624 ac_cpp_err=yes
2625 fi
2626 if test -z "$ac_cpp_err"; then
2627 :
2628 else
2629 echo "$as_me: failed program was:" >&5
2630 cat conftest.$ac_ext >&5
2631 # Broken: fails on valid input.
2632 continue
2633 fi
2634 rm -f conftest.err conftest.$ac_ext
2635
2636 # OK, works on sane cases. Now check whether non-existent headers
2637 # can be detected and how.
2638 cat >conftest.$ac_ext <<_ACEOF
2639 #line $LINENO "configure"
2640 #include "confdefs.h"
2641 #include <ac_nonexistent.h>
2642 _ACEOF
2643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2644 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2645 ac_status=$?
2646 egrep -v '^ *\+' conftest.er1 >conftest.err
2647 rm -f conftest.er1
2648 cat conftest.err >&5
2649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2650 (exit $ac_status); } >/dev/null; then
2651 if test -s conftest.err; then
2652 ac_cpp_err=$ac_c_preproc_warn_flag
2653 else
2654 ac_cpp_err=
2655 fi
2656 else
2657 ac_cpp_err=yes
2658 fi
2659 if test -z "$ac_cpp_err"; then
2660 # Broken: success on invalid input.
2661 continue
2662 else
2663 echo "$as_me: failed program was:" >&5
2664 cat conftest.$ac_ext >&5
2665 # Passes both tests.
2666 ac_preproc_ok=:
2667 break
2668 fi
2669 rm -f conftest.err conftest.$ac_ext
2670
2671 done
2672 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2673 rm -f conftest.err conftest.$ac_ext
2674 if $ac_preproc_ok; then
2675 break
2676 fi
2677
2678 done
2679 ac_cv_prog_CPP=$CPP
2680
2681 fi
2682 CPP=$ac_cv_prog_CPP
2683 else
2684 ac_cv_prog_CPP=$CPP
2685 fi
2686 echo "$as_me:$LINENO: result: $CPP" >&5
2687 echo "${ECHO_T}$CPP" >&6
2688 ac_preproc_ok=false
2689 for ac_c_preproc_warn_flag in '' yes
2690 do
2691 # Use a header file that comes with gcc, so configuring glibc
2692 # with a fresh cross-compiler works.
2693 # On the NeXT, cc -E runs the code through the compiler's parser,
2694 # not just through cpp. "Syntax error" is here to catch this case.
2695 cat >conftest.$ac_ext <<_ACEOF
2696 #line $LINENO "configure"
2697 #include "confdefs.h"
2698 #include <assert.h>
2699 Syntax error
2700 _ACEOF
2701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2703 ac_status=$?
2704 egrep -v '^ *\+' conftest.er1 >conftest.err
2705 rm -f conftest.er1
2706 cat conftest.err >&5
2707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708 (exit $ac_status); } >/dev/null; then
2709 if test -s conftest.err; then
2710 ac_cpp_err=$ac_c_preproc_warn_flag
2711 else
2712 ac_cpp_err=
2713 fi
2714 else
2715 ac_cpp_err=yes
2716 fi
2717 if test -z "$ac_cpp_err"; then
2718 :
2719 else
2720 echo "$as_me: failed program was:" >&5
2721 cat conftest.$ac_ext >&5
2722 # Broken: fails on valid input.
2723 continue
2724 fi
2725 rm -f conftest.err conftest.$ac_ext
2726
2727 # OK, works on sane cases. Now check whether non-existent headers
2728 # can be detected and how.
2729 cat >conftest.$ac_ext <<_ACEOF
2730 #line $LINENO "configure"
2731 #include "confdefs.h"
2732 #include <ac_nonexistent.h>
2733 _ACEOF
2734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2735 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2736 ac_status=$?
2737 egrep -v '^ *\+' conftest.er1 >conftest.err
2738 rm -f conftest.er1
2739 cat conftest.err >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); } >/dev/null; then
2742 if test -s conftest.err; then
2743 ac_cpp_err=$ac_c_preproc_warn_flag
2744 else
2745 ac_cpp_err=
2746 fi
2747 else
2748 ac_cpp_err=yes
2749 fi
2750 if test -z "$ac_cpp_err"; then
2751 # Broken: success on invalid input.
2752 continue
2753 else
2754 echo "$as_me: failed program was:" >&5
2755 cat conftest.$ac_ext >&5
2756 # Passes both tests.
2757 ac_preproc_ok=:
2758 break
2759 fi
2760 rm -f conftest.err conftest.$ac_ext
2761
2762 done
2763 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2764 rm -f conftest.err conftest.$ac_ext
2765 if $ac_preproc_ok; then
2766 :
2767 else
2768 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5
2769 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
2770 { (exit 1); exit 1; }; }
2771 fi
2772
2773 ac_ext=c
2774 ac_cpp='$CPP $CPPFLAGS'
2775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2778
2779
2780 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
2781 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
2782 if test "${ac_cv_header_stdc+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 else
2785 cat >conftest.$ac_ext <<_ACEOF
2786 #line $LINENO "configure"
2787 #include "confdefs.h"
2788 #include <stdlib.h>
2789 #include <stdarg.h>
2790 #include <string.h>
2791 #include <float.h>
2792
2793 _ACEOF
2794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2795 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2796 ac_status=$?
2797 egrep -v '^ *\+' conftest.er1 >conftest.err
2798 rm -f conftest.er1
2799 cat conftest.err >&5
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); } >/dev/null; then
2802 if test -s conftest.err; then
2803 ac_cpp_err=$ac_c_preproc_warn_flag
2804 else
2805 ac_cpp_err=
2806 fi
2807 else
2808 ac_cpp_err=yes
2809 fi
2810 if test -z "$ac_cpp_err"; then
2811 ac_cv_header_stdc=yes
2812 else
2813 echo "$as_me: failed program was:" >&5
2814 cat conftest.$ac_ext >&5
2815 ac_cv_header_stdc=no
2816 fi
2817 rm -f conftest.err conftest.$ac_ext
2818
2819 if test $ac_cv_header_stdc = yes; then
2820 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2821 cat >conftest.$ac_ext <<_ACEOF
2822 #line $LINENO "configure"
2823 #include "confdefs.h"
2824 #include <string.h>
2825
2826 _ACEOF
2827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2828 egrep "memchr" >/dev/null 2>&1; then
2829 :
2830 else
2831 ac_cv_header_stdc=no
2832 fi
2833 rm -f conftest*
2834
2835 fi
2836
2837 if test $ac_cv_header_stdc = yes; then
2838 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2839 cat >conftest.$ac_ext <<_ACEOF
2840 #line $LINENO "configure"
2841 #include "confdefs.h"
2842 #include <stdlib.h>
2843
2844 _ACEOF
2845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2846 egrep "free" >/dev/null 2>&1; then
2847 :
2848 else
2849 ac_cv_header_stdc=no
2850 fi
2851 rm -f conftest*
2852
2853 fi
2854
2855 if test $ac_cv_header_stdc = yes; then
2856 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2857 if test "$cross_compiling" = yes; then
2858 :
2859 else
2860 cat >conftest.$ac_ext <<_ACEOF
2861 #line $LINENO "configure"
2862 #include "confdefs.h"
2863 #include <ctype.h>
2864 #if ((' ' & 0x0FF) == 0x020)
2865 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2866 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2867 #else
2868 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
2869 || ('j' <= (c) && (c) <= 'r') \
2870 || ('s' <= (c) && (c) <= 'z'))
2871 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
2872 #endif
2873
2874 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2875 int
2876 main ()
2877 {
2878 int i;
2879 for (i = 0; i < 256; i++)
2880 if (XOR (islower (i), ISLOWER (i))
2881 || toupper (i) != TOUPPER (i))
2882 exit(2);
2883 exit (0);
2884 }
2885 _ACEOF
2886 rm -f conftest$ac_exeext
2887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2888 (eval $ac_link) 2>&5
2889 ac_status=$?
2890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
2892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2893 (eval $ac_try) 2>&5
2894 ac_status=$?
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; }; then
2897 :
2898 else
2899 echo "$as_me: program exited with status $ac_status" >&5
2900 echo "$as_me: failed program was:" >&5
2901 cat conftest.$ac_ext >&5
2902 ( exit $ac_status )
2903 ac_cv_header_stdc=no
2904 fi
2905 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
2906 fi
2907 fi
2908 fi
2909 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
2910 echo "${ECHO_T}$ac_cv_header_stdc" >&6
2911 if test $ac_cv_header_stdc = yes; then
2912
2913 cat >>confdefs.h <<\_ACEOF
2914 #define STDC_HEADERS 1
2915 _ACEOF
2916
2917 fi
2918
2919
2920 if test "$with_select" = "yes"; then
2921 echo "use of select() forced, skipping poll() checks..."
2922
2923 cat >>confdefs.h <<\_ACEOF
2924 #define WITH_SELECT 1
2925 _ACEOF
2926
2927 else
2928 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2939 inttypes.h stdint.h unistd.h
2940 do
2941 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2942 echo "$as_me:$LINENO: checking for $ac_header" >&5
2943 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2945 echo $ECHO_N "(cached) $ECHO_C" >&6
2946 else
2947 cat >conftest.$ac_ext <<_ACEOF
2948 #line $LINENO "configure"
2949 #include "confdefs.h"
2950 $ac_includes_default
2951
2952 #include <$ac_header>
2953 _ACEOF
2954 rm -f conftest.$ac_objext
2955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2956 (eval $ac_compile) 2>&5
2957 ac_status=$?
2958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2959 (exit $ac_status); } &&
2960 { ac_try='test -s conftest.$ac_objext'
2961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2962 (eval $ac_try) 2>&5
2963 ac_status=$?
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2966 eval "$as_ac_Header=yes"
2967 else
2968 echo "$as_me: failed program was:" >&5
2969 cat conftest.$ac_ext >&5
2970 eval "$as_ac_Header=no"
2971 fi
2972 rm -f conftest.$ac_objext conftest.$ac_ext
2973 fi
2974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2975 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2976 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2977 cat >>confdefs.h <<_ACEOF
2978 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2979 _ACEOF
2980
2981 fi
2982
2983 done
2984
2985
2986
2987 for ac_header in sys/poll.h
2988 do
2989 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2991 echo "$as_me:$LINENO: checking for $ac_header" >&5
2992 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 fi
2996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2998 else
2999 # Is the header compilable?
3000 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3001 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3002 cat >conftest.$ac_ext <<_ACEOF
3003 #line $LINENO "configure"
3004 #include "confdefs.h"
3005 $ac_includes_default
3006 #include <$ac_header>
3007 _ACEOF
3008 rm -f conftest.$ac_objext
3009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3010 (eval $ac_compile) 2>&5
3011 ac_status=$?
3012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3013 (exit $ac_status); } &&
3014 { ac_try='test -s conftest.$ac_objext'
3015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3016 (eval $ac_try) 2>&5
3017 ac_status=$?
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }; }; then
3020 ac_header_compiler=yes
3021 else
3022 echo "$as_me: failed program was:" >&5
3023 cat conftest.$ac_ext >&5
3024 ac_header_compiler=no
3025 fi
3026 rm -f conftest.$ac_objext conftest.$ac_ext
3027 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3028 echo "${ECHO_T}$ac_header_compiler" >&6
3029
3030 # Is the header present?
3031 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3032 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3033 cat >conftest.$ac_ext <<_ACEOF
3034 #line $LINENO "configure"
3035 #include "confdefs.h"
3036 #include <$ac_header>
3037 _ACEOF
3038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3040 ac_status=$?
3041 egrep -v '^ *\+' conftest.er1 >conftest.err
3042 rm -f conftest.er1
3043 cat conftest.err >&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } >/dev/null; then
3046 if test -s conftest.err; then
3047 ac_cpp_err=$ac_c_preproc_warn_flag
3048 else
3049 ac_cpp_err=
3050 fi
3051 else
3052 ac_cpp_err=yes
3053 fi
3054 if test -z "$ac_cpp_err"; then
3055 ac_header_preproc=yes
3056 else
3057 echo "$as_me: failed program was:" >&5
3058 cat conftest.$ac_ext >&5
3059 ac_header_preproc=no
3060 fi
3061 rm -f conftest.err conftest.$ac_ext
3062 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3063 echo "${ECHO_T}$ac_header_preproc" >&6
3064
3065 # So? What about this header?
3066 case $ac_header_compiler:$ac_header_preproc in
3067 yes:no )
3068 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3069 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3070 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3071 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3072 no:yes )
3073 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3074 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3075 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3076 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3078 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3079 esac
3080 echo "$as_me:$LINENO: checking for $ac_header" >&5
3081 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3082 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3083 echo $ECHO_N "(cached) $ECHO_C" >&6
3084 else
3085 eval "$as_ac_Header=$ac_header_preproc"
3086 fi
3087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3089
3090 fi
3091 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3092 cat >>confdefs.h <<_ACEOF
3093 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3094 _ACEOF
3095 have_poll_sys_h=yes
3096 else
3097 have_sys_poll_h=no
3098 fi
3099
3100 done
3101
3102 fi
3103
3104 if test "$with_unreal" = "yes"; then
3105 echo "configuring for Unreal ircd"
3106
3107 cat >>confdefs.h <<\_ACEOF
3108 #define WITH_UNREAL 1
3109 _ACEOF
3110
3111 fi
3112
3113
3114
3115
3116
3117 for ac_header in fcntl.h sys/time.h unistd.h strings.h
3118 do
3119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3121 echo "$as_me:$LINENO: checking for $ac_header" >&5
3122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3124 echo $ECHO_N "(cached) $ECHO_C" >&6
3125 fi
3126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3128 else
3129 # Is the header compilable?
3130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3132 cat >conftest.$ac_ext <<_ACEOF
3133 #line $LINENO "configure"
3134 #include "confdefs.h"
3135 $ac_includes_default
3136 #include <$ac_header>
3137 _ACEOF
3138 rm -f conftest.$ac_objext
3139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140 (eval $ac_compile) 2>&5
3141 ac_status=$?
3142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3143 (exit $ac_status); } &&
3144 { ac_try='test -s conftest.$ac_objext'
3145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3146 (eval $ac_try) 2>&5
3147 ac_status=$?
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; }; then
3150 ac_header_compiler=yes
3151 else
3152 echo "$as_me: failed program was:" >&5
3153 cat conftest.$ac_ext >&5
3154 ac_header_compiler=no
3155 fi
3156 rm -f conftest.$ac_objext conftest.$ac_ext
3157 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3158 echo "${ECHO_T}$ac_header_compiler" >&6
3159
3160 # Is the header present?
3161 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3162 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3163 cat >conftest.$ac_ext <<_ACEOF
3164 #line $LINENO "configure"
3165 #include "confdefs.h"
3166 #include <$ac_header>
3167 _ACEOF
3168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3169 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3170 ac_status=$?
3171 egrep -v '^ *\+' conftest.er1 >conftest.err
3172 rm -f conftest.er1
3173 cat conftest.err >&5
3174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3175 (exit $ac_status); } >/dev/null; then
3176 if test -s conftest.err; then
3177 ac_cpp_err=$ac_c_preproc_warn_flag
3178 else
3179 ac_cpp_err=
3180 fi
3181 else
3182 ac_cpp_err=yes
3183 fi
3184 if test -z "$ac_cpp_err"; then
3185 ac_header_preproc=yes
3186 else
3187 echo "$as_me: failed program was:" >&5
3188 cat conftest.$ac_ext >&5
3189 ac_header_preproc=no
3190 fi
3191 rm -f conftest.err conftest.$ac_ext
3192 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3193 echo "${ECHO_T}$ac_header_preproc" >&6
3194
3195 # So? What about this header?
3196 case $ac_header_compiler:$ac_header_preproc in
3197 yes:no )
3198 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3199 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3200 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3201 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3202 no:yes )
3203 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3204 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3205 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3206 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3207 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3208 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};;
3209 esac
3210 echo "$as_me:$LINENO: checking for $ac_header" >&5
3211 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3212 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3214 else
3215 eval "$as_ac_Header=$ac_header_preproc"
3216 fi
3217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3219
3220 fi
3221 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3222 cat >>confdefs.h <<_ACEOF
3223 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3224 _ACEOF
3225
3226 fi
3227
3228 done
3229
3230
3231 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3232 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3233 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3234 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 else
3236 ac_cv_prog_cc_stdc=no
3237 ac_save_CC=$CC
3238 cat >conftest.$ac_ext <<_ACEOF
3239 #line $LINENO "configure"
3240 #include "confdefs.h"
3241 #include <stdarg.h>
3242 #include <stdio.h>
3243 #include <sys/types.h>
3244 #include <sys/stat.h>
3245 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3246 struct buf { int x; };
3247 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3248 static char *e (p, i)
3249 char **p;
3250 int i;
3251 {
3252 return p[i];
3253 }
3254 static char *f (char * (*g) (char **, int), char **p, ...)
3255 {
3256 char *s;
3257 va_list v;
3258 va_start (v,p);
3259 s = g (p, va_arg (v,int));
3260 va_end (v);
3261 return s;
3262 }
3263 int test (int i, double x);
3264 struct s1 {int (*f) (int a);};
3265 struct s2 {int (*f) (double a);};
3266 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3267 int argc;
3268 char **argv;
3269 #ifdef F77_DUMMY_MAIN
3270 # ifdef __cplusplus
3271 extern "C"
3272 # endif
3273 int F77_DUMMY_MAIN() { return 1; }
3274 #endif
3275 int
3276 main ()
3277 {
3278 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3279 ;
3280 return 0;
3281 }
3282 _ACEOF
3283 # Don't try gcc -ansi; that turns off useful extensions and
3284 # breaks some systems' header files.
3285 # AIX -qlanglvl=ansi
3286 # Ultrix and OSF/1 -std1
3287 # HP-UX 10.20 and later -Ae
3288 # HP-UX older versions -Aa -D_HPUX_SOURCE
3289 # SVR4 -Xc -D__EXTENSIONS__
3290 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3291 do
3292 CC="$ac_save_CC $ac_arg"
3293 rm -f conftest.$ac_objext
3294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3295 (eval $ac_compile) 2>&5
3296 ac_status=$?
3297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3298 (exit $ac_status); } &&
3299 { ac_try='test -s conftest.$ac_objext'
3300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3301 (eval $ac_try) 2>&5
3302 ac_status=$?
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3305 ac_cv_prog_cc_stdc=$ac_arg
3306 break
3307 else
3308 echo "$as_me: failed program was:" >&5
3309 cat conftest.$ac_ext >&5
3310 fi
3311 rm -f conftest.$ac_objext
3312 done
3313 rm -f conftest.$ac_ext conftest.$ac_objext
3314 CC=$ac_save_CC
3315
3316 fi
3317
3318 case "x$ac_cv_prog_cc_stdc" in
3319 x|xno)
3320 echo "$as_me:$LINENO: result: none needed" >&5
3321 echo "${ECHO_T}none needed" >&6 ;;
3322 *)
3323 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3324 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3325 CC="$CC $ac_cv_prog_cc_stdc" ;;
3326 esac
3327
3328 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3329 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3330 if test "${ac_cv_c_const+set}" = set; then
3331 echo $ECHO_N "(cached) $ECHO_C" >&6
3332 else
3333 cat >conftest.$ac_ext <<_ACEOF
3334 #line $LINENO "configure"
3335 #include "confdefs.h"
3336
3337 #ifdef F77_DUMMY_MAIN
3338 # ifdef __cplusplus
3339 extern "C"
3340 # endif
3341 int F77_DUMMY_MAIN() { return 1; }
3342 #endif
3343 int
3344 main ()
3345 {
3346 /* FIXME: Include the comments suggested by Paul. */
3347 #ifndef __cplusplus
3348 /* Ultrix mips cc rejects this. */
3349 typedef int charset[2];
3350 const charset x;
3351 /* SunOS 4.1.1 cc rejects this. */
3352 char const *const *ccp;
3353 char **p;
3354 /* NEC SVR4.0.2 mips cc rejects this. */
3355 struct point {int x, y;};
3356 static struct point const zero = {0,0};
3357 /* AIX XL C 1.02.0.0 rejects this.
3358 It does not let you subtract one const X* pointer from another in
3359 an arm of an if-expression whose if-part is not a constant
3360 expression */
3361 const char *g = "string";
3362 ccp = &g + (g ? g-g : 0);
3363 /* HPUX 7.0 cc rejects these. */
3364 ++ccp;
3365 p = (char**) ccp;
3366 ccp = (char const *const *) p;
3367 { /* SCO 3.2v4 cc rejects this. */
3368 char *t;
3369 char const *s = 0 ? (char *) 0 : (char const *) 0;
3370
3371 *t++ = 0;
3372 }
3373 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3374 int x[] = {25, 17};
3375 const int *foo = &x[0];
3376 ++foo;
3377 }
3378 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3379 typedef const int *iptr;
3380 iptr p = 0;
3381 ++p;
3382 }
3383 { /* AIX XL C 1.02.0.0 rejects this saying
3384 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3385 struct s { int j; const int *ap[3]; };
3386 struct s *b; b->j = 5;
3387 }
3388 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3389 const int foo = 10;
3390 }
3391 #endif
3392
3393 ;
3394 return 0;
3395 }
3396 _ACEOF
3397 rm -f conftest.$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>&5
3400 ac_status=$?
3401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3402 (exit $ac_status); } &&
3403 { ac_try='test -s conftest.$ac_objext'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405 (eval $ac_try) 2>&5
3406 ac_status=$?
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; }; then
3409 ac_cv_c_const=yes
3410 else
3411 echo "$as_me: failed program was:" >&5
3412 cat conftest.$ac_ext >&5
3413 ac_cv_c_const=no
3414 fi
3415 rm -f conftest.$ac_objext conftest.$ac_ext
3416 fi
3417 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3418 echo "${ECHO_T}$ac_cv_c_const" >&6
3419 if test $ac_cv_c_const = no; then
3420
3421 cat >>confdefs.h <<\_ACEOF
3422 #define const
3423 _ACEOF
3424
3425 fi
3426
3427 echo "$as_me:$LINENO: checking for size_t" >&5
3428 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
3429 if test "${ac_cv_type_size_t+set}" = set; then
3430 echo $ECHO_N "(cached) $ECHO_C" >&6
3431 else
3432 cat >conftest.$ac_ext <<_ACEOF
3433 #line $LINENO "configure"
3434 #include "confdefs.h"
3435 $ac_includes_default
3436 #ifdef F77_DUMMY_MAIN
3437 # ifdef __cplusplus
3438 extern "C"
3439 # endif
3440 int F77_DUMMY_MAIN() { return 1; }
3441 #endif
3442 int
3443 main ()
3444 {
3445 if ((size_t *) 0)
3446 return 0;
3447 if (sizeof (size_t))
3448 return 0;
3449 ;
3450 return 0;
3451 }
3452 _ACEOF
3453 rm -f conftest.$ac_objext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3455 (eval $ac_compile) 2>&5
3456 ac_status=$?
3457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3458 (exit $ac_status); } &&
3459 { ac_try='test -s conftest.$ac_objext'
3460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3461 (eval $ac_try) 2>&5
3462 ac_status=$?
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; }; then
3465 ac_cv_type_size_t=yes
3466 else
3467 echo "$as_me: failed program was:" >&5
3468 cat conftest.$ac_ext >&5
3469 ac_cv_type_size_t=no
3470 fi
3471 rm -f conftest.$ac_objext conftest.$ac_ext
3472 fi
3473 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
3474 echo "${ECHO_T}$ac_cv_type_size_t" >&6
3475 if test $ac_cv_type_size_t = yes; then
3476 :
3477 else
3478
3479 cat >>confdefs.h <<_ACEOF
3480 #define size_t unsigned
3481 _ACEOF
3482
3483 fi
3484
3485 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
3486 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
3487 if test "${ac_cv_header_time+set}" = set; then
3488 echo $ECHO_N "(cached) $ECHO_C" >&6
3489 else
3490 cat >conftest.$ac_ext <<_ACEOF
3491 #line $LINENO "configure"
3492 #include "confdefs.h"
3493 #include <sys/types.h>
3494 #include <sys/time.h>
3495 #include <time.h>
3496
3497 #ifdef F77_DUMMY_MAIN
3498 # ifdef __cplusplus
3499 extern "C"
3500 # endif
3501 int F77_DUMMY_MAIN() { return 1; }
3502 #endif
3503 int
3504 main ()
3505 {
3506 if ((struct tm *) 0)
3507 return 0;
3508 ;
3509 return 0;
3510 }
3511 _ACEOF
3512 rm -f conftest.$ac_objext
3513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 (eval $ac_compile) 2>&5
3515 ac_status=$?
3516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3517 (exit $ac_status); } &&
3518 { ac_try='test -s conftest.$ac_objext'
3519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3520 (eval $ac_try) 2>&5
3521 ac_status=$?
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; }; then
3524 ac_cv_header_time=yes
3525 else
3526 echo "$as_me: failed program was:" >&5
3527 cat conftest.$ac_ext >&5
3528 ac_cv_header_time=no
3529 fi
3530 rm -f conftest.$ac_objext conftest.$ac_ext
3531 fi
3532 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
3533 echo "${ECHO_T}$ac_cv_header_time" >&6
3534 if test $ac_cv_header_time = yes; then
3535
3536 cat >>confdefs.h <<\_ACEOF
3537 #define TIME_WITH_SYS_TIME 1
3538 _ACEOF
3539
3540 fi
3541
3542 echo "$as_me:$LINENO: checking whether struct tm is in sys/time.h or time.h" >&5
3543 echo $ECHO_N "checking whether struct tm is in sys/time.h or time.h... $ECHO_C" >&6
3544 if test "${ac_cv_struct_tm+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 else
3547 cat >conftest.$ac_ext <<_ACEOF
3548 #line $LINENO "configure"
3549 #include "confdefs.h"
3550 #include <sys/types.h>
3551 #include <time.h>
3552
3553 #ifdef F77_DUMMY_MAIN
3554 # ifdef __cplusplus
3555 extern "C"
3556 # endif
3557 int F77_DUMMY_MAIN() { return 1; }
3558 #endif
3559 int
3560 main ()
3561 {
3562 struct tm *tp; tp->tm_sec;
3563 ;
3564 return 0;
3565 }
3566 _ACEOF
3567 rm -f conftest.$ac_objext
3568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3569 (eval $ac_compile) 2>&5
3570 ac_status=$?
3571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3572 (exit $ac_status); } &&
3573 { ac_try='test -s conftest.$ac_objext'
3574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3575 (eval $ac_try) 2>&5
3576 ac_status=$?
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); }; }; then
3579 ac_cv_struct_tm=time.h
3580 else
3581 echo "$as_me: failed program was:" >&5
3582 cat conftest.$ac_ext >&5
3583 ac_cv_struct_tm=sys/time.h
3584 fi
3585 rm -f conftest.$ac_objext conftest.$ac_ext
3586 fi
3587 echo "$as_me:$LINENO: result: $ac_cv_struct_tm" >&5
3588 echo "${ECHO_T}$ac_cv_struct_tm" >&6
3589 if test $ac_cv_struct_tm = sys/time.h; then
3590
3591 cat >>confdefs.h <<\_ACEOF
3592 #define TM_IN_SYS_TIME 1
3593 _ACEOF
3594
3595 fi
3596
3597
3598 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
3599 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
3600 if test "${ac_cv_type_signal+set}" = set; then
3601 echo $ECHO_N "(cached) $ECHO_C" >&6
3602 else
3603 cat >conftest.$ac_ext <<_ACEOF
3604 #line $LINENO "configure"
3605 #include "confdefs.h"
3606 #include <sys/types.h>
3607 #include <signal.h>
3608 #ifdef signal
3609 # undef signal
3610 #endif
3611 #ifdef __cplusplus
3612 extern "C" void (*signal (int, void (*)(int)))(int);
3613 #else
3614 void (*signal ()) ();
3615 #endif
3616
3617 #ifdef F77_DUMMY_MAIN
3618 # ifdef __cplusplus
3619 extern "C"
3620 # endif
3621 int F77_DUMMY_MAIN() { return 1; }
3622 #endif
3623 int
3624 main ()
3625 {
3626 int i;
3627 ;
3628 return 0;
3629 }
3630 _ACEOF
3631 rm -f conftest.$ac_objext
3632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3633 (eval $ac_compile) 2>&5
3634 ac_status=$?
3635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3636 (exit $ac_status); } &&
3637 { ac_try='test -s conftest.$ac_objext'
3638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3639 (eval $ac_try) 2>&5
3640 ac_status=$?
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3643 ac_cv_type_signal=void
3644 else
3645 echo "$as_me: failed program was:" >&5
3646 cat conftest.$ac_ext >&5
3647 ac_cv_type_signal=int
3648 fi
3649 rm -f conftest.$ac_objext conftest.$ac_ext
3650 fi
3651 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3652 echo "${ECHO_T}$ac_cv_type_signal" >&6
3653
3654 cat >>confdefs.h <<_ACEOF
3655 #define RETSIGTYPE $ac_cv_type_signal
3656 _ACEOF
3657
3658
3659
3660 for ac_func in strftime
3661 do
3662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3663 echo "$as_me:$LINENO: checking for $ac_func" >&5
3664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3665 if eval "test \"\${$as_ac_var+set}\" = set"; then
3666 echo $ECHO_N "(cached) $ECHO_C" >&6
3667 else
3668 cat >conftest.$ac_ext <<_ACEOF
3669 #line $LINENO "configure"
3670 #include "confdefs.h"
3671 /* System header to define __stub macros and hopefully few prototypes,
3672 which can conflict with char $ac_func (); below. */
3673 #include <assert.h>
3674 /* Override any gcc2 internal prototype to avoid an error. */
3675 #ifdef __cplusplus
3676 extern "C"
3677 #endif
3678 /* We use char because int might match the return type of a gcc2
3679 builtin and then its argument prototype would still apply. */
3680 char $ac_func ();
3681 char (*f) ();
3682
3683 #ifdef F77_DUMMY_MAIN
3684 # ifdef __cplusplus
3685 extern "C"
3686 # endif
3687 int F77_DUMMY_MAIN() { return 1; }
3688 #endif
3689 int
3690 main ()
3691 {
3692 /* The GNU C library defines this for functions which it implements
3693 to always fail with ENOSYS. Some functions are actually named
3694 something starting with __ and the normal name is an alias. */
3695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3696 choke me
3697 #else
3698 f = $ac_func;
3699 #endif
3700
3701 ;
3702 return 0;
3703 }
3704 _ACEOF
3705 rm -f conftest.$ac_objext conftest$ac_exeext
3706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3707 (eval $ac_link) 2>&5
3708 ac_status=$?
3709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3710 (exit $ac_status); } &&
3711 { ac_try='test -s conftest$ac_exeext'
3712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3713 (eval $ac_try) 2>&5
3714 ac_status=$?
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; }; then
3717 eval "$as_ac_var=yes"
3718 else
3719 echo "$as_me: failed program was:" >&5
3720 cat conftest.$ac_ext >&5
3721 eval "$as_ac_var=no"
3722 fi
3723 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3724 fi
3725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3727 if test `eval echo '${'$as_ac_var'}'` = yes; then
3728 cat >>confdefs.h <<_ACEOF
3729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3730 _ACEOF
3731
3732 else
3733 # strftime is in -lintl on SCO UNIX.
3734 echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
3735 echo $ECHO_N "checking for strftime in -lintl... $ECHO_C" >&6
3736 if test "${ac_cv_lib_intl_strftime+set}" = set; then
3737 echo $ECHO_N "(cached) $ECHO_C" >&6
3738 else
3739 ac_check_lib_save_LIBS=$LIBS
3740 LIBS="-lintl $LIBS"
3741 cat >conftest.$ac_ext <<_ACEOF
3742 #line $LINENO "configure"
3743 #include "confdefs.h"
3744
3745 /* Override any gcc2 internal prototype to avoid an error. */
3746 #ifdef __cplusplus
3747 extern "C"
3748 #endif
3749 /* We use char because int might match the return type of a gcc2
3750 builtin and then its argument prototype would still apply. */
3751 char strftime ();
3752 #ifdef F77_DUMMY_MAIN
3753 # ifdef __cplusplus
3754 extern "C"
3755 # endif
3756 int F77_DUMMY_MAIN() { return 1; }
3757 #endif
3758 int
3759 main ()
3760 {
3761 strftime ();
3762 ;
3763 return 0;
3764 }
3765 _ACEOF
3766 rm -f conftest.$ac_objext conftest$ac_exeext
3767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3768 (eval $ac_link) 2>&5
3769 ac_status=$?
3770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3771 (exit $ac_status); } &&
3772 { ac_try='test -s conftest$ac_exeext'
3773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3774 (eval $ac_try) 2>&5
3775 ac_status=$?
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); }; }; then
3778 ac_cv_lib_intl_strftime=yes
3779 else
3780 echo "$as_me: failed program was:" >&5
3781 cat conftest.$ac_ext >&5
3782 ac_cv_lib_intl_strftime=no
3783 fi
3784 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
3785 LIBS=$ac_check_lib_save_LIBS
3786 fi
3787 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
3788 echo "${ECHO_T}$ac_cv_lib_intl_strftime" >&6
3789 if test $ac_cv_lib_intl_strftime = yes; then
3790 cat >>confdefs.h <<\_ACEOF
3791 #define HAVE_STRFTIME 1
3792 _ACEOF
3793
3794 LIBS="-lintl $LIBS"
3795 fi
3796
3797 fi
3798 done
3799
3800
3801 # Find a good install program. We prefer a C program (faster),
3802 # so one script is as good as another. But avoid the broken or
3803 # incompatible versions:
3804 # SysV /etc/install, /usr/sbin/install
3805 # SunOS /usr/etc/install
3806 # IRIX /sbin/install
3807 # AIX /bin/install
3808 # AmigaOS /C/install, which installs bootblocks on floppy discs
3809 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3810 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3811 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3812 # ./install, which can be erroneously created by make from ./install.sh.
3813 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3814 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3815 if test -z "$INSTALL"; then
3816 if test "${ac_cv_path_install+set}" = set; then
3817 echo $ECHO_N "(cached) $ECHO_C" >&6
3818 else
3819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3820 for as_dir in $PATH
3821 do
3822 IFS=$as_save_IFS
3823 test -z "$as_dir" && as_dir=.
3824 # Account for people who put trailing slashes in PATH elements.
3825 case $as_dir/ in
3826 ./ | .// | /cC/* | \
3827 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3828 /usr/ucb/* ) ;;
3829 *)
3830 # OSF1 and SCO ODT 3.0 have their own names for install.
3831 # Don't use installbsd from OSF since it installs stuff as root
3832 # by default.
3833 for ac_prog in ginstall scoinst install; do
3834 for ac_exec_ext in '' $ac_executable_extensions; do
3835 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3836 if test $ac_prog = install &&
3837 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3838 # AIX install. It has an incompatible calling convention.
3839 :
3840 elif test $ac_prog = install &&
3841 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3842 # program-specific install script used by HP pwplus--don't use.
3843 :
3844 else
3845 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3846 break 3
3847 fi
3848 fi
3849 done
3850 done
3851 ;;
3852 esac
3853 done
3854
3855
3856 fi
3857 if test "${ac_cv_path_install+set}" = set; then
3858 INSTALL=$ac_cv_path_install
3859 else
3860 # As a last resort, use the slow shell script. We don't cache a
3861 # path for INSTALL within a source directory, because that will
3862 # break other packages using the cache if that directory is
3863 # removed, or if the path is relative.
3864 INSTALL=$ac_install_sh
3865 fi
3866 fi
3867 echo "$as_me:$LINENO: result: $INSTALL" >&5
3868 echo "${ECHO_T}$INSTALL" >&6
3869
3870 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3871 # It thinks the first close brace ends the variable substitution.
3872 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3873
3874 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3875
3876 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3877
3878 for ac_prog in 'bison -y' byacc
3879 do
3880 # Extract the first word of "$ac_prog", so it can be a program name with args.
3881 set dummy $ac_prog; ac_word=$2
3882 echo "$as_me:$LINENO: checking for $ac_word" >&5
3883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3884 if test "${ac_cv_prog_YACC+set}" = set; then
3885 echo $ECHO_N "(cached) $ECHO_C" >&6
3886 else
3887 if test -n "$YACC"; then
3888 ac_cv_prog_YACC="$YACC" # Let the user override the test.
3889 else
3890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3891 for as_dir in $PATH
3892 do
3893 IFS=$as_save_IFS
3894 test -z "$as_dir" && as_dir=.
3895 for ac_exec_ext in '' $ac_executable_extensions; do
3896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3897 ac_cv_prog_YACC="$ac_prog"
3898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3899 break 2
3900 fi
3901 done
3902 done
3903
3904 fi
3905 fi
3906 YACC=$ac_cv_prog_YACC
3907 if test -n "$YACC"; then
3908 echo "$as_me:$LINENO: result: $YACC" >&5
3909 echo "${ECHO_T}$YACC" >&6
3910 else
3911 echo "$as_me:$LINENO: result: no" >&5
3912 echo "${ECHO_T}no" >&6
3913 fi
3914
3915 test -n "$YACC" && break
3916 done
3917 test -n "$YACC" || YACC="yacc"
3918
3919
3920 for ac_prog in flex lex
3921 do
3922 # Extract the first word of "$ac_prog", so it can be a program name with args.
3923 set dummy $ac_prog; ac_word=$2
3924 echo "$as_me:$LINENO: checking for $ac_word" >&5
3925 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3926 if test "${ac_cv_prog_LEX+set}" = set; then
3927 echo $ECHO_N "(cached) $ECHO_C" >&6
3928 else
3929 if test -n "$LEX"; then
3930 ac_cv_prog_LEX="$LEX" # Let the user override the test.
3931 else
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 for as_dir in $PATH
3934 do
3935 IFS=$as_save_IFS
3936 test -z "$as_dir" && as_dir=.
3937 for ac_exec_ext in '' $ac_executable_extensions; do
3938 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3939 ac_cv_prog_LEX="$ac_prog"
3940 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3941 break 2
3942 fi
3943 done
3944 done
3945
3946 fi
3947 fi
3948 LEX=$ac_cv_prog_LEX
3949 if test -n "$LEX"; then
3950 echo "$as_me:$LINENO: result: $LEX" >&5
3951 echo "${ECHO_T}$LEX" >&6
3952 else
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3955 fi
3956
3957 test -n "$LEX" && break
3958 done
3959 test -n "$LEX" || LEX=":"
3960
3961 if test -z "$LEXLIB"
3962 then
3963 echo "$as_me:$LINENO: checking for yywrap in -lfl" >&5
3964 echo $ECHO_N "checking for yywrap in -lfl... $ECHO_C" >&6
3965 if test "${ac_cv_lib_fl_yywrap+set}" = set; then
3966 echo $ECHO_N "(cached) $ECHO_C" >&6
3967 else
3968 ac_check_lib_save_LIBS=$LIBS
3969 LIBS="-lfl $LIBS"
3970 cat >conftest.$ac_ext <<_ACEOF
3971 #line $LINENO "configure"
3972 #include "confdefs.h"
3973
3974 /* Override any gcc2 internal prototype to avoid an error. */
3975 #ifdef __cplusplus
3976 extern "C"
3977 #endif
3978 /* We use char because int might match the return type of a gcc2
3979 builtin and then its argument prototype would still apply. */
3980 char yywrap ();
3981 #ifdef F77_DUMMY_MAIN
3982 # ifdef __cplusplus
3983 extern "C"
3984 # endif
3985 int F77_DUMMY_MAIN() { return 1; }
3986 #endif
3987 int
3988 main ()
3989 {
3990 yywrap ();
3991 ;
3992 return 0;
3993 }
3994 _ACEOF
3995 rm -f conftest.$ac_objext conftest$ac_exeext
3996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3997 (eval $ac_link) 2>&5
3998 ac_status=$?
3999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4000 (exit $ac_status); } &&
4001 { ac_try='test -s conftest$ac_exeext'
4002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4003 (eval $ac_try) 2>&5
4004 ac_status=$?
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); }; }; then
4007 ac_cv_lib_fl_yywrap=yes
4008 else
4009 echo "$as_me: failed program was:" >&5
4010 cat conftest.$ac_ext >&5
4011 ac_cv_lib_fl_yywrap=no
4012 fi
4013 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4014 LIBS=$ac_check_lib_save_LIBS
4015 fi
4016 echo "$as_me:$LINENO: result: $ac_cv_lib_fl_yywrap" >&5
4017 echo "${ECHO_T}$ac_cv_lib_fl_yywrap" >&6
4018 if test $ac_cv_lib_fl_yywrap = yes; then
4019 LEXLIB="-lfl"
4020 else
4021 echo "$as_me:$LINENO: checking for yywrap in -ll" >&5
4022 echo $ECHO_N "checking for yywrap in -ll... $ECHO_C" >&6
4023 if test "${ac_cv_lib_l_yywrap+set}" = set; then
4024 echo $ECHO_N "(cached) $ECHO_C" >&6
4025 else
4026 ac_check_lib_save_LIBS=$LIBS
4027 LIBS="-ll $LIBS"
4028 cat >conftest.$ac_ext <<_ACEOF
4029 #line $LINENO "configure"
4030 #include "confdefs.h"
4031
4032 /* Override any gcc2 internal prototype to avoid an error. */
4033 #ifdef __cplusplus
4034 extern "C"
4035 #endif
4036 /* We use char because int might match the return type of a gcc2
4037 builtin and then its argument prototype would still apply. */
4038 char yywrap ();
4039 #ifdef F77_DUMMY_MAIN
4040 # ifdef __cplusplus
4041 extern "C"
4042 # endif
4043 int F77_DUMMY_MAIN() { return 1; }
4044 #endif
4045 int
4046 main ()
4047 {
4048 yywrap ();
4049 ;
4050 return 0;
4051 }
4052 _ACEOF
4053 rm -f conftest.$ac_objext conftest$ac_exeext
4054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4055 (eval $ac_link) 2>&5
4056 ac_status=$?
4057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4058 (exit $ac_status); } &&
4059 { ac_try='test -s conftest$ac_exeext'
4060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4061 (eval $ac_try) 2>&5
4062 ac_status=$?
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; }; then
4065 ac_cv_lib_l_yywrap=yes
4066 else
4067 echo "$as_me: failed program was:" >&5
4068 cat conftest.$ac_ext >&5
4069 ac_cv_lib_l_yywrap=no
4070 fi
4071 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4072 LIBS=$ac_check_lib_save_LIBS
4073 fi
4074 echo "$as_me:$LINENO: result: $ac_cv_lib_l_yywrap" >&5
4075 echo "${ECHO_T}$ac_cv_lib_l_yywrap" >&6
4076 if test $ac_cv_lib_l_yywrap = yes; then
4077 LEXLIB="-ll"
4078 fi
4079
4080 fi
4081
4082 fi
4083
4084 if test "x$LEX" != "x:"; then
4085 echo "$as_me:$LINENO: checking lex output file root" >&5
4086 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6
4087 if test "${ac_cv_prog_lex_root+set}" = set; then
4088 echo $ECHO_N "(cached) $ECHO_C" >&6
4089 else
4090 # The minimal lex program is just a single line: %%. But some broken lexes
4091 # (Solaris, I think it was) want two %% lines, so accommodate them.
4092 cat >conftest.l <<_ACEOF
4093 %%
4094 %%
4095 _ACEOF
4096 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4097 (eval $LEX conftest.l) 2>&5
4098 ac_status=$?
4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4100 (exit $ac_status); }
4101 if test -f lex.yy.c; then
4102 ac_cv_prog_lex_root=lex.yy
4103 elif test -f lexyy.c; then
4104 ac_cv_prog_lex_root=lexyy
4105 else
4106 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
4107 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
4108 { (exit 1); exit 1; }; }
4109 fi
4110 fi
4111 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4112 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4113 rm -f conftest.l
4114 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
4115
4116 echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
4117 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6
4118 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
4119 echo $ECHO_N "(cached) $ECHO_C" >&6
4120 else
4121 # POSIX says lex can declare yytext either as a pointer or an array; the
4122 # default is implementation-dependent. Figure out which it is, since
4123 # not all implementations provide the %pointer and %array declarations.
4124 ac_cv_prog_lex_yytext_pointer=no
4125 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4126 ac_save_LIBS=$LIBS
4127 LIBS="$LIBS $LEXLIB"
4128 cat >conftest.$ac_ext <<_ACEOF
4129 `cat $LEX_OUTPUT_ROOT.c`
4130 _ACEOF
4131 rm -f conftest.$ac_objext conftest$ac_exeext
4132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4133 (eval $ac_link) 2>&5
4134 ac_status=$?
4135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4136 (exit $ac_status); } &&
4137 { ac_try='test -s conftest$ac_exeext'
4138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4139 (eval $ac_try) 2>&5
4140 ac_status=$?
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); }; }; then
4143 ac_cv_prog_lex_yytext_pointer=yes
4144 else
4145 echo "$as_me: failed program was:" >&5
4146 cat conftest.$ac_ext >&5
4147 fi
4148 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4149 LIBS=$ac_save_LIBS
4150 rm -f "${LEX_OUTPUT_ROOT}.c"
4151
4152 fi
4153 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
4154 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6
4155 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4156
4157 cat >>confdefs.h <<\_ACEOF
4158 #define YYTEXT_POINTER 1
4159 _ACEOF
4160
4161 fi
4162
4163 fi
4164 if test "$LEX" = :; then
4165 LEX=${am_missing_run}flex
4166 fi
4167
4168
4169
4170 if test "$with_select" = "yes" || test "$have_sys_poll_h" = "no"; then
4171
4172 for ac_func in select
4173 do
4174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4175 echo "$as_me:$LINENO: checking for $ac_func" >&5
4176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4177 if eval "test \"\${$as_ac_var+set}\" = set"; then
4178 echo $ECHO_N "(cached) $ECHO_C" >&6
4179 else
4180 cat >conftest.$ac_ext <<_ACEOF
4181 #line $LINENO "configure"
4182 #include "confdefs.h"
4183 /* System header to define __stub macros and hopefully few prototypes,
4184 which can conflict with char $ac_func (); below. */
4185 #include <assert.h>
4186 /* Override any gcc2 internal prototype to avoid an error. */
4187 #ifdef __cplusplus
4188 extern "C"
4189 #endif
4190 /* We use char because int might match the return type of a gcc2
4191 builtin and then its argument prototype would still apply. */
4192 char $ac_func ();
4193 char (*f) ();
4194
4195 #ifdef F77_DUMMY_MAIN
4196 # ifdef __cplusplus
4197 extern "C"
4198 # endif
4199 int F77_DUMMY_MAIN() { return 1; }
4200 #endif
4201 int
4202 main ()
4203 {
4204 /* The GNU C library defines this for functions which it implements
4205 to always fail with ENOSYS. Some functions are actually named
4206 something starting with __ and the normal name is an alias. */
4207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4208 choke me
4209 #else
4210 f = $ac_func;
4211 #endif
4212
4213 ;
4214 return 0;
4215 }
4216 _ACEOF
4217 rm -f conftest.$ac_objext conftest$ac_exeext
4218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4219 (eval $ac_link) 2>&5
4220 ac_status=$?
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } &&
4223 { ac_try='test -s conftest$ac_exeext'
4224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4225 (eval $ac_try) 2>&5
4226 ac_status=$?
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; }; then
4229 eval "$as_ac_var=yes"
4230 else
4231 echo "$as_me: failed program was:" >&5
4232 cat conftest.$ac_ext >&5
4233 eval "$as_ac_var=no"
4234 fi
4235 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4236 fi
4237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4239 if test `eval echo '${'$as_ac_var'}'` = yes; then
4240 cat >>confdefs.h <<_ACEOF
4241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4242 _ACEOF
4243 have_select=yes
4244 else
4245 have_select=no
4246 fi
4247 done
4248
4249 if test "$have_select" = "no"; then
4250 { { echo "$as_me:$LINENO: error: No select() implementation found" >&5
4251 echo "$as_me: error: No select() implementation found" >&2;}
4252 { (exit 1); exit 1; }; }
4253 fi
4254 fi
4255
4256
4257
4258
4259
4260
4261 for ac_func in inet_aton inet_pton socket strdup strstr
4262 do
4263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4264 echo "$as_me:$LINENO: checking for $ac_func" >&5
4265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4266 if eval "test \"\${$as_ac_var+set}\" = set"; then
4267 echo $ECHO_N "(cached) $ECHO_C" >&6
4268 else
4269 cat >conftest.$ac_ext <<_ACEOF
4270 #line $LINENO "configure"
4271 #include "confdefs.h"
4272 /* System header to define __stub macros and hopefully few prototypes,
4273 which can conflict with char $ac_func (); below. */
4274 #include <assert.h>
4275 /* Override any gcc2 internal prototype to avoid an error. */
4276 #ifdef __cplusplus
4277 extern "C"
4278 #endif
4279 /* We use char because int might match the return type of a gcc2
4280 builtin and then its argument prototype would still apply. */
4281 char $ac_func ();
4282 char (*f) ();
4283
4284 #ifdef F77_DUMMY_MAIN
4285 # ifdef __cplusplus
4286 extern "C"
4287 # endif
4288 int F77_DUMMY_MAIN() { return 1; }
4289 #endif
4290 int
4291 main ()
4292 {
4293 /* The GNU C library defines this for functions which it implements
4294 to always fail with ENOSYS. Some functions are actually named
4295 something starting with __ and the normal name is an alias. */
4296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4297 choke me
4298 #else
4299 f = $ac_func;
4300 #endif
4301
4302 ;
4303 return 0;
4304 }
4305 _ACEOF
4306 rm -f conftest.$ac_objext conftest$ac_exeext
4307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4308 (eval $ac_link) 2>&5
4309 ac_status=$?
4310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4311 (exit $ac_status); } &&
4312 { ac_try='test -s conftest$ac_exeext'
4313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4314 (eval $ac_try) 2>&5
4315 ac_status=$?
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); }; }; then
4318 eval "$as_ac_var=yes"
4319 else
4320 echo "$as_me: failed program was:" >&5
4321 cat conftest.$ac_ext >&5
4322 eval "$as_ac_var=no"
4323 fi
4324 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4325 fi
4326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4328 if test `eval echo '${'$as_ac_var'}'` = yes; then
4329 cat >>confdefs.h <<_ACEOF
4330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4331 _ACEOF
4332
4333 fi
4334 done
4335
4336
4337
4338
4339 for ac_func in gethostbyname gethostbyname2
4340 do
4341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
4342 echo "$as_me:$LINENO: checking for $ac_func" >&5
4343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
4344 if eval "test \"\${$as_ac_var+set}\" = set"; then
4345 echo $ECHO_N "(cached) $ECHO_C" >&6
4346 else
4347 cat >conftest.$ac_ext <<_ACEOF
4348 #line $LINENO "configure"
4349 #include "confdefs.h"
4350 /* System header to define __stub macros and hopefully few prototypes,
4351 which can conflict with char $ac_func (); below. */
4352 #include <assert.h>
4353 /* Override any gcc2 internal prototype to avoid an error. */
4354 #ifdef __cplusplus
4355 extern "C"
4356 #endif
4357 /* We use char because int might match the return type of a gcc2
4358 builtin and then its argument prototype would still apply. */
4359 char $ac_func ();
4360 char (*f) ();
4361
4362 #ifdef F77_DUMMY_MAIN
4363 # ifdef __cplusplus
4364 extern "C"
4365 # endif
4366 int F77_DUMMY_MAIN() { return 1; }
4367 #endif
4368 int
4369 main ()
4370 {
4371 /* The GNU C library defines this for functions which it implements
4372 to always fail with ENOSYS. Some functions are actually named
4373 something starting with __ and the normal name is an alias. */
4374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4375 choke me
4376 #else
4377 f = $ac_func;
4378 #endif
4379
4380 ;
4381 return 0;
4382 }
4383 _ACEOF
4384 rm -f conftest.$ac_objext conftest$ac_exeext
4385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4386 (eval $ac_link) 2>&5
4387 ac_status=$?
4388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4389 (exit $ac_status); } &&
4390 { ac_try='test -s conftest$ac_exeext'
4391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4392 (eval $ac_try) 2>&5
4393 ac_status=$?
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; }; then
4396 eval "$as_ac_var=yes"
4397 else
4398 echo "$as_me: failed program was:" >&5
4399 cat conftest.$ac_ext >&5
4400 eval "$as_ac_var=no"
4401 fi
4402 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4403 fi
4404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
4405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
4406 if test `eval echo '${'$as_ac_var'}'` = yes; then
4407 cat >>confdefs.h <<_ACEOF
4408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4409 _ACEOF
4410
4411 fi
4412 done
4413
4414
4415 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
4416 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
4417 if test "${ac_cv_c_bigendian+set}" = set; then
4418 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 else
4420 # See if sys/param.h defines the BYTE_ORDER macro.
4421 cat >conftest.$ac_ext <<_ACEOF
4422 #line $LINENO "configure"
4423 #include "confdefs.h"
4424 #include <sys/types.h>
4425 #include <sys/param.h>
4426
4427 #ifdef F77_DUMMY_MAIN
4428 # ifdef __cplusplus
4429 extern "C"
4430 # endif
4431 int F77_DUMMY_MAIN() { return 1; }
4432 #endif
4433 int
4434 main ()
4435 {
4436 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4437 bogus endian macros
4438 #endif
4439
4440 ;
4441 return 0;
4442 }
4443 _ACEOF
4444 rm -f conftest.$ac_objext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>&5
4447 ac_status=$?
4448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4449 (exit $ac_status); } &&
4450 { ac_try='test -s conftest.$ac_objext'
4451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4452 (eval $ac_try) 2>&5
4453 ac_status=$?
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; }; then
4456 # It does; now see whether it defined to BIG_ENDIAN or not.
4457 cat >conftest.$ac_ext <<_ACEOF
4458 #line $LINENO "configure"
4459 #include "confdefs.h"
4460 #include <sys/types.h>
4461 #include <sys/param.h>
4462
4463 #ifdef F77_DUMMY_MAIN
4464 # ifdef __cplusplus
4465 extern "C"
4466 # endif
4467 int F77_DUMMY_MAIN() { return 1; }
4468 #endif
4469 int
4470 main ()
4471 {
4472 #if BYTE_ORDER != BIG_ENDIAN
4473 not big endian
4474 #endif
4475
4476 ;
4477 return 0;
4478 }
4479 _ACEOF
4480 rm -f conftest.$ac_objext
4481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4482 (eval $ac_compile) 2>&5
4483 ac_status=$?
4484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4485 (exit $ac_status); } &&
4486 { ac_try='test -s conftest.$ac_objext'
4487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4488 (eval $ac_try) 2>&5
4489 ac_status=$?
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; }; then
4492 ac_cv_c_bigendian=yes
4493 else
4494 echo "$as_me: failed program was:" >&5
4495 cat conftest.$ac_ext >&5
4496 ac_cv_c_bigendian=no
4497 fi
4498 rm -f conftest.$ac_objext conftest.$ac_ext
4499 else
4500 echo "$as_me: failed program was:" >&5
4501 cat conftest.$ac_ext >&5
4502 # It does not; compile a test program.
4503 if test "$cross_compiling" = yes; then
4504 # try to guess the endianess by grep'ing values into an object file
4505 ac_cv_c_bigendian=unknown
4506 cat >conftest.$ac_ext <<_ACEOF
4507 #line $LINENO "configure"
4508 #include "confdefs.h"
4509 short ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
4510 short ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
4511 void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
4512 short ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
4513 short ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
4514 void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
4515 #ifdef F77_DUMMY_MAIN
4516 # ifdef __cplusplus
4517 extern "C"
4518 # endif
4519 int F77_DUMMY_MAIN() { return 1; }
4520 #endif
4521 int
4522 main ()
4523 {
4524 _ascii (); _ebcdic ();
4525 ;
4526 return 0;
4527 }
4528 _ACEOF
4529 rm -f conftest.$ac_objext
4530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4531 (eval $ac_compile) 2>&5
4532 ac_status=$?
4533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4534 (exit $ac_status); } &&
4535 { ac_try='test -s conftest.$ac_objext'
4536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4537 (eval $ac_try) 2>&5
4538 ac_status=$?
4539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4540 (exit $ac_status); }; }; then
4541 if fgrep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
4542 ac_cv_c_bigendian=yes
4543 fi
4544 if fgrep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
4545 if test "$ac_cv_c_bigendian" = unknown; then
4546 ac_cv_c_bigendian=no
4547 else
4548 # finding both strings is unlikely to happen, but who knows?
4549 ac_cv_c_bigendian=unknown
4550 fi
4551 fi
4552 else
4553 echo "$as_me: failed program was:" >&5
4554 cat conftest.$ac_ext >&5
4555 fi
4556 rm -f conftest.$ac_objext conftest.$ac_ext
4557 else
4558 cat >conftest.$ac_ext <<_ACEOF
4559 #line $LINENO "configure"
4560 #include "confdefs.h"
4561 int
4562 main ()
4563 {
4564 /* Are we little or big endian? From Harbison&Steele. */
4565 union
4566 {
4567 long l;
4568 char c[sizeof (long)];
4569 } u;
4570 u.l = 1;
4571 exit (u.c[sizeof (long) - 1] == 1);
4572 }
4573 _ACEOF
4574 rm -f conftest$ac_exeext
4575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4576 (eval $ac_link) 2>&5
4577 ac_status=$?
4578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4579 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4581 (eval $ac_try) 2>&5
4582 ac_status=$?
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; }; then
4585 ac_cv_c_bigendian=no
4586 else
4587 echo "$as_me: program exited with status $ac_status" >&5
4588 echo "$as_me: failed program was:" >&5
4589 cat conftest.$ac_ext >&5
4590 ( exit $ac_status )
4591 ac_cv_c_bigendian=yes
4592 fi
4593 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4594 fi
4595 fi
4596 rm -f conftest.$ac_objext conftest.$ac_ext
4597 fi
4598 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
4599 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
4600 case $ac_cv_c_bigendian in
4601 yes)
4602
4603 cat >>confdefs.h <<\_ACEOF
4604 #define WORDS_BIGENDIAN 1
4605 _ACEOF
4606 ;;
4607 no)
4608 ;;
4609 *)
4610 { { echo "$as_me:$LINENO: error: unknown endianess
4611 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
4612 echo "$as_me: error: unknown endianess
4613 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
4614 { (exit 1); exit 1; }; } ;;
4615 esac
4616
4617
4618 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4619 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4620 if test "${ac_cv_lib_socket_socket+set}" = set; then
4621 echo $ECHO_N "(cached) $ECHO_C" >&6
4622 else
4623 ac_check_lib_save_LIBS=$LIBS
4624 LIBS="-lsocket $LIBS"
4625 cat >conftest.$ac_ext <<_ACEOF
4626 #line $LINENO "configure"
4627 #include "confdefs.h"
4628
4629 /* Override any gcc2 internal prototype to avoid an error. */
4630 #ifdef __cplusplus
4631 extern "C"
4632 #endif
4633 /* We use char because int might match the return type of a gcc2
4634 builtin and then its argument prototype would still apply. */
4635 char socket ();
4636 #ifdef F77_DUMMY_MAIN
4637 # ifdef __cplusplus
4638 extern "C"
4639 # endif
4640 int F77_DUMMY_MAIN() { return 1; }
4641 #endif
4642 int
4643 main ()
4644 {
4645 socket ();
4646 ;
4647 return 0;
4648 }
4649 _ACEOF
4650 rm -f conftest.$ac_objext conftest$ac_exeext
4651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4652 (eval $ac_link) 2>&5
4653 ac_status=$?
4654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4655 (exit $ac_status); } &&
4656 { ac_try='test -s conftest$ac_exeext'
4657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4658 (eval $ac_try) 2>&5
4659 ac_status=$?
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then
4662 ac_cv_lib_socket_socket=yes
4663 else
4664 echo "$as_me: failed program was:" >&5
4665 cat conftest.$ac_ext >&5
4666 ac_cv_lib_socket_socket=no
4667 fi
4668 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4669 LIBS=$ac_check_lib_save_LIBS
4670 fi
4671 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4672 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4673 if test $ac_cv_lib_socket_socket = yes; then
4674 LSOCKET=-lsocket
4675
4676 fi
4677
4678 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4679 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4680 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4681 echo $ECHO_N "(cached) $ECHO_C" >&6
4682 else
4683 ac_check_lib_save_LIBS=$LIBS
4684 LIBS="-lnsl $LIBS"
4685 cat >conftest.$ac_ext <<_ACEOF
4686 #line $LINENO "configure"
4687 #include "confdefs.h"
4688
4689 /* Override any gcc2 internal prototype to avoid an error. */
4690 #ifdef __cplusplus
4691 extern "C"
4692 #endif
4693 /* We use char because int might match the return type of a gcc2
4694 builtin and then its argument prototype would still apply. */
4695 char gethostbyname ();
4696 #ifdef F77_DUMMY_MAIN
4697 # ifdef __cplusplus
4698 extern "C"
4699 # endif
4700 int F77_DUMMY_MAIN() { return 1; }
4701 #endif
4702 int
4703 main ()
4704 {
4705 gethostbyname ();
4706 ;
4707 return 0;
4708 }
4709 _ACEOF
4710 rm -f conftest.$ac_objext conftest$ac_exeext
4711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4712 (eval $ac_link) 2>&5
4713 ac_status=$?
4714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4715 (exit $ac_status); } &&
4716 { ac_try='test -s conftest$ac_exeext'
4717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4718 (eval $ac_try) 2>&5
4719 ac_status=$?
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4722 ac_cv_lib_nsl_gethostbyname=yes
4723 else
4724 echo "$as_me: failed program was:" >&5
4725 cat conftest.$ac_ext >&5
4726 ac_cv_lib_nsl_gethostbyname=no
4727 fi
4728 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
4729 LIBS=$ac_check_lib_save_LIBS
4730 fi
4731 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4732 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4733 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4734 LNSL=-lnsl
4735
4736 fi
4737
4738
4739 echo $ECHO_N "checking for POSIX-compliant goat $ECHO_C"
4740 for bleh in 1 2 3; do
4741 echo $ECHO_N ".\a"
4742 sleep 1
4743 done
4744 echo "$as_me:$LINENO: result: http://www.blitzed.org/goat_winter_2001.phtml" >&5
4745 echo "${ECHO_T} http://www.blitzed.org/goat_winter_2001.phtml" >&6
4746
4747
4748
4749 subdirs="$subdirs src/libopm"
4750
4751 ac_config_files="$ac_config_files Makefile src/Makefile"
4752 cat >confcache <<\_ACEOF
4753 # This file is a shell script that caches the results of configure
4754 # tests run on this system so they can be shared between configure
4755 # scripts and configure runs, see configure's option --config-cache.
4756 # It is not useful on other systems. If it contains results you don't
4757 # want to keep, you may remove or edit it.
4758 #
4759 # config.status only pays attention to the cache file if you give it
4760 # the --recheck option to rerun configure.
4761 #
4762 # `ac_cv_env_foo' variables (set or unset) will be overriden when
4763 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4764 # following values.
4765
4766 _ACEOF
4767
4768 # The following way of writing the cache mishandles newlines in values,
4769 # but we know of no workaround that is simple, portable, and efficient.
4770 # So, don't put newlines in cache variables' values.
4771 # Ultrix sh set writes to stderr and can't be redirected directly,
4772 # and sets the high bit in the cache file unless we assign to the vars.
4773 {
4774 (set) 2>&1 |
4775 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4776 *ac_space=\ *)
4777 # `set' does not quote correctly, so add quotes (double-quote
4778 # substitution turns \\\\ into \\, and sed turns \\ into \).
4779 sed -n \
4780 "s/'/'\\\\''/g;
4781 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4782 ;;
4783 *)
4784 # `set' quotes correctly as required by POSIX, so do not add quotes.
4785 sed -n \
4786 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4787 ;;
4788 esac;
4789 } |
4790 sed '
4791 t clear
4792 : clear
4793 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4794 t end
4795 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4796 : end' >>confcache
4797 if cmp -s $cache_file confcache; then :; else
4798 if test -w $cache_file; then
4799 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4800 cat confcache >$cache_file
4801 else
4802 echo "not updating unwritable cache $cache_file"
4803 fi
4804 fi
4805 rm -f confcache
4806
4807 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4808 # Let make expand exec_prefix.
4809 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4810
4811 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4812 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4813 # trailing colons and then remove the whole line if VPATH becomes empty
4814 # (actually we leave an empty line to preserve line numbers).
4815 if test "x$srcdir" = x.; then
4816 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4817 s/:*\$(srcdir):*/:/;
4818 s/:*\${srcdir}:*/:/;
4819 s/:*@srcdir@:*/:/;
4820 s/^\([^=]*=[ ]*\):*/\1/;
4821 s/:*$//;
4822 s/^[^=]*=[ ]*$//;
4823 }'
4824 fi
4825
4826 DEFS=-DHAVE_CONFIG_H
4827
4828 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
4829 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
4830 Usually this means the macro was only invoked conditionally." >&5
4831 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
4832 Usually this means the macro was only invoked conditionally." >&2;}
4833 { (exit 1); exit 1; }; }
4834 fi
4835 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
4836 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
4837 Usually this means the macro was only invoked conditionally." >&5
4838 echo "$as_me: error: conditional \"AMDEP\" was never defined.
4839 Usually this means the macro was only invoked conditionally." >&2;}
4840 { (exit 1); exit 1; }; }
4841 fi
4842
4843 : ${CONFIG_STATUS=./config.status}
4844 ac_clean_files_save=$ac_clean_files
4845 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4846 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4847 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4848 cat >$CONFIG_STATUS <<_ACEOF
4849 #! $SHELL
4850 # Generated by $as_me.
4851 # Run this file to recreate the current configuration.
4852 # Compiler output produced by configure, useful for debugging
4853 # configure, is in config.log if it exists.
4854
4855 debug=false
4856 SHELL=\${CONFIG_SHELL-$SHELL}
4857 _ACEOF
4858
4859 cat >>$CONFIG_STATUS <<\_ACEOF
4860
4861 ## --------------------- ##
4862 ## M4sh Initialization. ##
4863 ## --------------------- ##
4864
4865 # Be Bourne compatible
4866 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4867 emulate sh
4868 NULLCMD=:
4869 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4870 set -o posix
4871 fi
4872
4873 # NLS nuisances.
4874 # Support unset when possible.
4875 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
4876 as_unset=unset
4877 else
4878 as_unset=false
4879 fi
4880
4881 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") &&
4882 { $as_unset LANG || test "${LANG+set}" != set; } ||
4883 { LANG=C; export LANG; }
4884 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") &&
4885 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } ||
4886 { LC_ALL=C; export LC_ALL; }
4887 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") &&
4888 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } ||
4889 { LC_TIME=C; export LC_TIME; }
4890 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") &&
4891 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } ||
4892 { LC_CTYPE=C; export LC_CTYPE; }
4893 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") &&
4894 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } ||
4895 { LANGUAGE=C; export LANGUAGE; }
4896 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") &&
4897 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } ||
4898 { LC_COLLATE=C; export LC_COLLATE; }
4899 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") &&
4900 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } ||
4901 { LC_NUMERIC=C; export LC_NUMERIC; }
4902 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") &&
4903 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } ||
4904 { LC_MESSAGES=C; export LC_MESSAGES; }
4905
4906
4907 # Name of the executable.
4908 as_me=`(basename "$0") 2>/dev/null ||
4909 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4910 X"$0" : 'X\(//\)$' \| \
4911 X"$0" : 'X\(/\)$' \| \
4912 . : '\(.\)' 2>/dev/null ||
4913 echo X/"$0" |
4914 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4915 /^X\/\(\/\/\)$/{ s//\1/; q; }
4916 /^X\/\(\/\).*/{ s//\1/; q; }
4917 s/.*/./; q'`
4918
4919 # PATH needs CR, and LINENO needs CR and PATH.
4920 # Avoid depending upon Character Ranges.
4921 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4922 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4923 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4924 as_cr_digits='0123456789'
4925 as_cr_alnum=$as_cr_Letters$as_cr_digits
4926
4927 # The user is always right.
4928 if test "${PATH_SEPARATOR+set}" != set; then
4929 echo "#! /bin/sh" >conftest.sh
4930 echo "exit 0" >>conftest.sh
4931 chmod +x conftest.sh
4932 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then
4933 PATH_SEPARATOR=';'
4934 else
4935 PATH_SEPARATOR=:
4936 fi
4937 rm -f conftest.sh
4938 fi
4939
4940
4941 as_lineno_1=$LINENO
4942 as_lineno_2=$LINENO
4943 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4944 test "x$as_lineno_1" != "x$as_lineno_2" &&
4945 test "x$as_lineno_3" = "x$as_lineno_2" || {
4946 # Find who we are. Look in the path if we contain no path at all
4947 # relative or not.
4948 case $0 in
4949 *[\\/]* ) as_myself=$0 ;;
4950 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4952 do
4953 IFS=$as_save_IFS
4954 test -z "$as_dir" && as_dir=.
4955 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4956 done
4957
4958 ;;
4959 esac
4960 # We did not find ourselves, most probably we were run as `sh COMMAND'
4961 # in which case we are not to be found in the path.
4962 if test "x$as_myself" = x; then
4963 as_myself=$0
4964 fi
4965 if test ! -f "$as_myself"; then
4966 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
4967 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
4968 { (exit 1); exit 1; }; }
4969 fi
4970 case $CONFIG_SHELL in
4971 '')
4972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4973 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
4974 do
4975 IFS=$as_save_IFS
4976 test -z "$as_dir" && as_dir=.
4977 for as_base in sh bash ksh sh5; do
4978 case $as_dir in
4979 /*)
4980 if ("$as_dir/$as_base" -c '
4981 as_lineno_1=$LINENO
4982 as_lineno_2=$LINENO
4983 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
4984 test "x$as_lineno_1" != "x$as_lineno_2" &&
4985 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
4986 CONFIG_SHELL=$as_dir/$as_base
4987 export CONFIG_SHELL
4988 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
4989 fi;;
4990 esac
4991 done
4992 done
4993 ;;
4994 esac
4995
4996 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4997 # uniformly replaced by the line number. The first 'sed' inserts a
4998 # line-number line before each line; the second 'sed' does the real
4999 # work. The second script uses 'N' to pair each line-number line
5000 # with the numbered line, and appends trailing '-' during
5001 # substitution so that $LINENO is not a special case at line end.
5002 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5003 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
5004 sed '=' <$as_myself |
5005 sed '
5006 N
5007 s,$,-,
5008 : loop
5009 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5010 t loop
5011 s,-$,,
5012 s,^['$as_cr_digits']*\n,,
5013 ' >$as_me.lineno &&
5014 chmod +x $as_me.lineno ||
5015 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5016 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5017 { (exit 1); exit 1; }; }
5018
5019 # Don't try to exec as it changes $[0], causing all sort of problems
5020 # (the dirname of $[0] is not the place where we might find the
5021 # original and so on. Autoconf is especially sensible to this).
5022 . ./$as_me.lineno
5023 # Exit status is that of the last command.
5024 exit
5025 }
5026
5027
5028 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5029 *c*,-n*) ECHO_N= ECHO_C='
5030 ' ECHO_T=' ' ;;
5031 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
5032 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
5033 esac
5034
5035 if expr a : '\(a\)' >/dev/null 2>&1; then
5036 as_expr=expr
5037 else
5038 as_expr=false
5039 fi
5040
5041 rm -f conf$$ conf$$.exe conf$$.file
5042 echo >conf$$.file
5043 if ln -s conf$$.file conf$$ 2>/dev/null; then
5044 # We could just check for DJGPP; but this test a) works b) is more generic
5045 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5046 if test -f conf$$.exe; then
5047 # Don't use ln at all; we don't have any links
5048 as_ln_s='cp -p'
5049 else
5050 as_ln_s='ln -s'
5051 fi
5052 elif ln conf$$.file conf$$ 2>/dev/null; then
5053 as_ln_s=ln
5054 else
5055 as_ln_s='cp -p'
5056 fi
5057 rm -f conf$$ conf$$.exe conf$$.file
5058
5059 as_executable_p="test -f"
5060
5061 # Sed expression to map a string onto a valid CPP name.
5062 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
5063
5064 # Sed expression to map a string onto a valid variable name.
5065 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5066
5067
5068 # IFS
5069 # We need space, tab and new line, in precisely that order.
5070 as_nl='
5071 '
5072 IFS=" $as_nl"
5073
5074 # CDPATH.
5075 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; }
5076
5077 exec 6>&1
5078
5079 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5080 # report actual input values of CONFIG_FILES etc. instead of their
5081 # values after options handling. Logging --version etc. is OK.
5082 exec 5>>config.log
5083 {
5084 echo
5085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5086 ## Running $as_me. ##
5087 _ASBOX
5088 } >&5
5089 cat >&5 <<_CSEOF
5090
5091 This file was extended by bopm $as_me 3.0, which was
5092 generated by GNU Autoconf 2.53. Invocation command line was
5093
5094 CONFIG_FILES = $CONFIG_FILES
5095 CONFIG_HEADERS = $CONFIG_HEADERS
5096 CONFIG_LINKS = $CONFIG_LINKS
5097 CONFIG_COMMANDS = $CONFIG_COMMANDS
5098 $ $0 $@
5099
5100 _CSEOF
5101 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5102 echo >&5
5103 _ACEOF
5104
5105 # Files that config.status was made for.
5106 if test -n "$ac_config_files"; then
5107 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5108 fi
5109
5110 if test -n "$ac_config_headers"; then
5111 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5112 fi
5113
5114 if test -n "$ac_config_links"; then
5115 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5116 fi
5117
5118 if test -n "$ac_config_commands"; then
5119 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5120 fi
5121
5122 cat >>$CONFIG_STATUS <<\_ACEOF
5123
5124 ac_cs_usage="\
5125 \`$as_me' instantiates files from templates according to the
5126 current configuration.
5127
5128 Usage: $0 [OPTIONS] [FILE]...
5129
5130 -h, --help print this help, then exit
5131 -V, --version print version number, then exit
5132 -d, --debug don't remove temporary files
5133 --recheck update $as_me by reconfiguring in the same conditions
5134 --file=FILE[:TEMPLATE]
5135 instantiate the configuration file FILE
5136 --header=FILE[:TEMPLATE]
5137 instantiate the configuration header FILE
5138
5139 Configuration files:
5140 $config_files
5141
5142 Configuration headers:
5143 $config_headers
5144
5145 Configuration commands:
5146 $config_commands
5147
5148 Report bugs to <bug-autoconf@gnu.org>."
5149 _ACEOF
5150
5151 cat >>$CONFIG_STATUS <<_ACEOF
5152 ac_cs_version="\\
5153 bopm config.status 3.0
5154 configured by $0, generated by GNU Autoconf 2.53,
5155 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5156
5157 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
5158 Free Software Foundation, Inc.
5159 This config.status script is free software; the Free Software Foundation
5160 gives unlimited permission to copy, distribute and modify it."
5161 srcdir=$srcdir
5162 INSTALL="$INSTALL"
5163 _ACEOF
5164
5165 cat >>$CONFIG_STATUS <<\_ACEOF
5166 # If no file are specified by the user, then we need to provide default
5167 # value. By we need to know if files were specified by the user.
5168 ac_need_defaults=:
5169 while test $# != 0
5170 do
5171 case $1 in
5172 --*=*)
5173 ac_option=`expr "x$1" : 'x\([^=]*\)='`
5174 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
5175 shift
5176 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
5177 shift
5178 ;;
5179 -*);;
5180 *) # This is not an option, so the user has probably given explicit
5181 # arguments.
5182 ac_need_defaults=false;;
5183 esac
5184
5185 case $1 in
5186 # Handling of the options.
5187 _ACEOF
5188 cat >>$CONFIG_STATUS <<_ACEOF
5189 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5190 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
5191 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
5192 _ACEOF
5193 cat >>$CONFIG_STATUS <<\_ACEOF
5194 --version | --vers* | -V )
5195 echo "$ac_cs_version"; exit 0 ;;
5196 --he | --h)
5197 # Conflict between --help and --header
5198 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5199 Try \`$0 --help' for more information." >&5
5200 echo "$as_me: error: ambiguous option: $1
5201 Try \`$0 --help' for more information." >&2;}
5202 { (exit 1); exit 1; }; };;
5203 --help | --hel | -h )
5204 echo "$ac_cs_usage"; exit 0 ;;
5205 --debug | --d* | -d )
5206 debug=: ;;
5207 --file | --fil | --fi | --f )
5208 shift
5209 CONFIG_FILES="$CONFIG_FILES $1"
5210 ac_need_defaults=false;;
5211 --header | --heade | --head | --hea )
5212 shift
5213 CONFIG_HEADERS="$CONFIG_HEADERS $1"
5214 ac_need_defaults=false;;
5215
5216 # This is an error.
5217 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5218 Try \`$0 --help' for more information." >&5
5219 echo "$as_me: error: unrecognized option: $1
5220 Try \`$0 --help' for more information." >&2;}
5221 { (exit 1); exit 1; }; } ;;
5222
5223 *) ac_config_targets="$ac_config_targets $1" ;;
5224
5225 esac
5226 shift
5227 done
5228
5229 _ACEOF
5230
5231 cat >>$CONFIG_STATUS <<_ACEOF
5232 #
5233 # INIT-COMMANDS section.
5234 #
5235
5236 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5237
5238 _ACEOF
5239
5240
5241
5242 cat >>$CONFIG_STATUS <<\_ACEOF
5243 for ac_config_target in $ac_config_targets
5244 do
5245 case "$ac_config_target" in
5246 # Handling of arguments.
5247 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5248 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5249 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
5250 "src/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS src/setup.h" ;;
5251 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5252 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5253 { (exit 1); exit 1; }; };;
5254 esac
5255 done
5256
5257 # If the user did not use the arguments to specify the items to instantiate,
5258 # then the envvar interface is used. Set only those that are not.
5259 # We use the long form for the default assignment because of an extremely
5260 # bizarre bug on SunOS 4.1.3.
5261 if $ac_need_defaults; then
5262 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5263 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5264 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
5265 fi
5266
5267 # Create a temporary directory, and hook for its removal unless debugging.
5268 $debug ||
5269 {
5270 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5271 trap '{ (exit 1); exit 1; }' 1 2 13 15
5272 }
5273
5274 # Create a (secure) tmp directory for tmp files.
5275 : ${TMPDIR=/tmp}
5276 {
5277 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5278 test -n "$tmp" && test -d "$tmp"
5279 } ||
5280 {
5281 tmp=$TMPDIR/cs$$-$RANDOM
5282 (umask 077 && mkdir $tmp)
5283 } ||
5284 {
5285 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5286 { (exit 1); exit 1; }
5287 }
5288
5289 _ACEOF
5290
5291 cat >>$CONFIG_STATUS <<_ACEOF
5292
5293 #
5294 # CONFIG_FILES section.
5295 #
5296
5297 # No need to generate the scripts if there are no CONFIG_FILES.
5298 # This happens for instance when ./config.status config.h
5299 if test -n "\$CONFIG_FILES"; then
5300 # Protect against being on the right side of a sed subst in config.status.
5301 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5302 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5303 s,@SHELL@,$SHELL,;t t
5304 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5305 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5306 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5307 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5308 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5309 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5310 s,@exec_prefix@,$exec_prefix,;t t
5311 s,@prefix@,$prefix,;t t
5312 s,@program_transform_name@,$program_transform_name,;t t
5313 s,@bindir@,$bindir,;t t
5314 s,@sbindir@,$sbindir,;t t
5315 s,@libexecdir@,$libexecdir,;t t
5316 s,@datadir@,$datadir,;t t
5317 s,@sysconfdir@,$sysconfdir,;t t
5318 s,@sharedstatedir@,$sharedstatedir,;t t
5319 s,@localstatedir@,$localstatedir,;t t
5320 s,@libdir@,$libdir,;t t
5321 s,@includedir@,$includedir,;t t
5322 s,@oldincludedir@,$oldincludedir,;t t
5323 s,@infodir@,$infodir,;t t
5324 s,@mandir@,$mandir,;t t
5325 s,@build_alias@,$build_alias,;t t
5326 s,@host_alias@,$host_alias,;t t
5327 s,@target_alias@,$target_alias,;t t
5328 s,@DEFS@,$DEFS,;t t
5329 s,@ECHO_C@,$ECHO_C,;t t
5330 s,@ECHO_N@,$ECHO_N,;t t
5331 s,@ECHO_T@,$ECHO_T,;t t
5332 s,@LIBS@,$LIBS,;t t
5333 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
5334 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
5335 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
5336 s,@PACKAGE@,$PACKAGE,;t t
5337 s,@VERSION@,$VERSION,;t t
5338 s,@ACLOCAL@,$ACLOCAL,;t t
5339 s,@AUTOCONF@,$AUTOCONF,;t t
5340 s,@AUTOMAKE@,$AUTOMAKE,;t t
5341 s,@AUTOHEADER@,$AUTOHEADER,;t t
5342 s,@MAKEINFO@,$MAKEINFO,;t t
5343 s,@AMTAR@,$AMTAR,;t t
5344 s,@install_sh@,$install_sh,;t t
5345 s,@STRIP@,$STRIP,;t t
5346 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
5347 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
5348 s,@AWK@,$AWK,;t t
5349 s,@SET_MAKE@,$SET_MAKE,;t t
5350 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
5351 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
5352 s,@MAINT@,$MAINT,;t t
5353 s,@CC@,$CC,;t t
5354 s,@CFLAGS@,$CFLAGS,;t t
5355 s,@LDFLAGS@,$LDFLAGS,;t t
5356 s,@CPPFLAGS@,$CPPFLAGS,;t t
5357 s,@ac_ct_CC@,$ac_ct_CC,;t t
5358 s,@EXEEXT@,$EXEEXT,;t t
5359 s,@OBJEXT@,$OBJEXT,;t t
5360 s,@DEPDIR@,$DEPDIR,;t t
5361 s,@am__include@,$am__include,;t t
5362 s,@am__quote@,$am__quote,;t t
5363 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
5364 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
5365 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
5366 s,@CCDEPMODE@,$CCDEPMODE,;t t
5367 s,@CPP@,$CPP,;t t
5368 s,@YACC@,$YACC,;t t
5369 s,@LEX@,$LEX,;t t
5370 s,@LEXLIB@,$LEXLIB,;t t
5371 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5372 s,@LSOCKET@,$LSOCKET,;t t
5373 s,@LNSL@,$LNSL,;t t
5374 s,@subdirs@,$subdirs,;t t
5375 CEOF
5376
5377 _ACEOF
5378
5379 cat >>$CONFIG_STATUS <<\_ACEOF
5380 # Split the substitutions into bite-sized pieces for seds with
5381 # small command number limits, like on Digital OSF/1 and HP-UX.
5382 ac_max_sed_lines=48
5383 ac_sed_frag=1 # Number of current file.
5384 ac_beg=1 # First line for current file.
5385 ac_end=$ac_max_sed_lines # Line after last line for current file.
5386 ac_more_lines=:
5387 ac_sed_cmds=
5388 while $ac_more_lines; do
5389 if test $ac_beg -gt 1; then
5390 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5391 else
5392 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
5393 fi
5394 if test ! -s $tmp/subs.frag; then
5395 ac_more_lines=false
5396 else
5397 # The purpose of the label and of the branching condition is to
5398 # speed up the sed processing (if there are no `@' at all, there
5399 # is no need to browse any of the substitutions).
5400 # These are the two extra sed commands mentioned above.
5401 (echo ':t
5402 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
5403 if test -z "$ac_sed_cmds"; then
5404 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
5405 else
5406 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5407 fi
5408 ac_sed_frag=`expr $ac_sed_frag + 1`
5409 ac_beg=$ac_end
5410 ac_end=`expr $ac_end + $ac_max_sed_lines`
5411 fi
5412 done
5413 if test -z "$ac_sed_cmds"; then
5414 ac_sed_cmds=cat
5415 fi
5416 fi # test -n "$CONFIG_FILES"
5417
5418 _ACEOF
5419 cat >>$CONFIG_STATUS <<\_ACEOF
5420 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
5421 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5422 case $ac_file in
5423 - | *:- | *:-:* ) # input from stdin
5424 cat >$tmp/stdin
5425 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5426 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5427 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5428 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5429 * ) ac_file_in=$ac_file.in ;;
5430 esac
5431
5432 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5433 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5434 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5435 X"$ac_file" : 'X\(//\)[^/]' \| \
5436 X"$ac_file" : 'X\(//\)$' \| \
5437 X"$ac_file" : 'X\(/\)' \| \
5438 . : '\(.\)' 2>/dev/null ||
5439 echo X"$ac_file" |
5440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5442 /^X\(\/\/\)$/{ s//\1/; q; }
5443 /^X\(\/\).*/{ s//\1/; q; }
5444 s/.*/./; q'`
5445 { case "$ac_dir" in
5446 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5447 *) as_incr_dir=.;;
5448 esac
5449 as_dummy="$ac_dir"
5450 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5451 case $as_mkdir_dir in
5452 # Skip DOS drivespec
5453 ?:) as_incr_dir=$as_mkdir_dir ;;
5454 *)
5455 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5456 test -d "$as_incr_dir" ||
5457 mkdir "$as_incr_dir" ||
5458 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5459 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5460 { (exit 1); exit 1; }; }
5461 ;;
5462 esac
5463 done; }
5464
5465 ac_builddir=.
5466
5467 if test "$ac_dir" != .; then
5468 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5469 # A "../" for each directory in $ac_dir_suffix.
5470 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5471 else
5472 ac_dir_suffix= ac_top_builddir=
5473 fi
5474
5475 case $srcdir in
5476 .) # No --srcdir option. We are building in place.
5477 ac_srcdir=.
5478 if test -z "$ac_top_builddir"; then
5479 ac_top_srcdir=.
5480 else
5481 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5482 fi ;;
5483 [\\/]* | ?:[\\/]* ) # Absolute path.
5484 ac_srcdir=$srcdir$ac_dir_suffix;
5485 ac_top_srcdir=$srcdir ;;
5486 *) # Relative path.
5487 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5488 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5489 esac
5490 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5491 # absolute.
5492 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5493 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5494 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5495 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5496
5497
5498 case $INSTALL in
5499 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5500 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
5501 esac
5502
5503 if test x"$ac_file" != x-; then
5504 { echo "$as_me:$LINENO: creating $ac_file" >&5
5505 echo "$as_me: creating $ac_file" >&6;}
5506 rm -f "$ac_file"
5507 fi
5508 # Let's still pretend it is `configure' which instantiates (i.e., don't
5509 # use $as_me), people would be surprised to read:
5510 # /* config.h. Generated by config.status. */
5511 if test x"$ac_file" = x-; then
5512 configure_input=
5513 else
5514 configure_input="$ac_file. "
5515 fi
5516 configure_input=$configure_input"Generated from `echo $ac_file_in |
5517 sed 's,.*/,,'` by configure."
5518
5519 # First look for the input files in the build tree, otherwise in the
5520 # src tree.
5521 ac_file_inputs=`IFS=:
5522 for f in $ac_file_in; do
5523 case $f in
5524 -) echo $tmp/stdin ;;
5525 [\\/$]*)
5526 # Absolute (can't be DOS-style, as IFS=:)
5527 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5528 echo "$as_me: error: cannot find input file: $f" >&2;}
5529 { (exit 1); exit 1; }; }
5530 echo $f;;
5531 *) # Relative
5532 if test -f "$f"; then
5533 # Build tree
5534 echo $f
5535 elif test -f "$srcdir/$f"; then
5536 # Source tree
5537 echo $srcdir/$f
5538 else
5539 # /dev/null tree
5540 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5541 echo "$as_me: error: cannot find input file: $f" >&2;}
5542 { (exit 1); exit 1; }; }
5543 fi;;
5544 esac
5545 done` || { (exit 1); exit 1; }
5546 _ACEOF
5547 cat >>$CONFIG_STATUS <<_ACEOF
5548 sed "$ac_vpsub
5549 $extrasub
5550 _ACEOF
5551 cat >>$CONFIG_STATUS <<\_ACEOF
5552 :t
5553 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5554 s,@configure_input@,$configure_input,;t t
5555 s,@srcdir@,$ac_srcdir,;t t
5556 s,@abs_srcdir@,$ac_abs_srcdir,;t t
5557 s,@top_srcdir@,$ac_top_srcdir,;t t
5558 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
5559 s,@builddir@,$ac_builddir,;t t
5560 s,@abs_builddir@,$ac_abs_builddir,;t t
5561 s,@top_builddir@,$ac_top_builddir,;t t
5562 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
5563 s,@INSTALL@,$ac_INSTALL,;t t
5564 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5565 rm -f $tmp/stdin
5566 if test x"$ac_file" != x-; then
5567 mv $tmp/out $ac_file
5568 else
5569 cat $tmp/out
5570 rm -f $tmp/out
5571 fi
5572
5573 done
5574 _ACEOF
5575 cat >>$CONFIG_STATUS <<\_ACEOF
5576
5577 #
5578 # CONFIG_HEADER section.
5579 #
5580
5581 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
5582 # NAME is the cpp macro being defined and VALUE is the value it is being given.
5583 #
5584 # ac_d sets the value in "#define NAME VALUE" lines.
5585 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5586 ac_dB='[ ].*$,\1#\2'
5587 ac_dC=' '
5588 ac_dD=',;t'
5589 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5590 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5591 ac_uB='$,\1#\2define\3'
5592 ac_uC=' '
5593 ac_uD=',;t'
5594
5595 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
5596 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5597 case $ac_file in
5598 - | *:- | *:-:* ) # input from stdin
5599 cat >$tmp/stdin
5600 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5601 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5602 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
5603 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
5604 * ) ac_file_in=$ac_file.in ;;
5605 esac
5606
5607 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5608 echo "$as_me: creating $ac_file" >&6;}
5609
5610 # First look for the input files in the build tree, otherwise in the
5611 # src tree.
5612 ac_file_inputs=`IFS=:
5613 for f in $ac_file_in; do
5614 case $f in
5615 -) echo $tmp/stdin ;;
5616 [\\/$]*)
5617 # Absolute (can't be DOS-style, as IFS=:)
5618 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5619 echo "$as_me: error: cannot find input file: $f" >&2;}
5620 { (exit 1); exit 1; }; }
5621 echo $f;;
5622 *) # Relative
5623 if test -f "$f"; then
5624 # Build tree
5625 echo $f
5626 elif test -f "$srcdir/$f"; then
5627 # Source tree
5628 echo $srcdir/$f
5629 else
5630 # /dev/null tree
5631 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5632 echo "$as_me: error: cannot find input file: $f" >&2;}
5633 { (exit 1); exit 1; }; }
5634 fi;;
5635 esac
5636 done` || { (exit 1); exit 1; }
5637 # Remove the trailing spaces.
5638 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
5639
5640 _ACEOF
5641
5642 # Transform confdefs.h into two sed scripts, `conftest.defines' and
5643 # `conftest.undefs', that substitutes the proper values into
5644 # config.h.in to produce config.h. The first handles `#define'
5645 # templates, and the second `#undef' templates.
5646 # And first: Protect against being on the right side of a sed subst in
5647 # config.status. Protect against being in an unquoted here document
5648 # in config.status.
5649 rm -f conftest.defines conftest.undefs
5650 # Using a here document instead of a string reduces the quoting nightmare.
5651 # Putting comments in sed scripts is not portable.
5652 #
5653 # `end' is used to avoid that the second main sed command (meant for
5654 # 0-ary CPP macros) applies to n-ary macro definitions.
5655 # See the Autoconf documentation for `clear'.
5656 cat >confdef2sed.sed <<\_ACEOF
5657 s/[\\&,]/\\&/g
5658 s,[\\$`],\\&,g
5659 t clear
5660 : clear
5661 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5662 t end
5663 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
5664 : end
5665 _ACEOF
5666 # If some macros were called several times there might be several times
5667 # the same #defines, which is useless. Nevertheless, we may not want to
5668 # sort them, since we want the *last* AC-DEFINE to be honored.
5669 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
5670 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
5671 rm -f confdef2sed.sed
5672
5673 # This sed command replaces #undef with comments. This is necessary, for
5674 # example, in the case of _POSIX_SOURCE, which is predefined and required
5675 # on some systems where configure will not decide to define it.
5676 cat >>conftest.undefs <<\_ACEOF
5677 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
5678 _ACEOF
5679
5680 # Break up conftest.defines because some shells have a limit on the size
5681 # of here documents, and old seds have small limits too (100 cmds).
5682 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
5683 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
5684 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
5685 echo ' :' >>$CONFIG_STATUS
5686 rm -f conftest.tail
5687 while grep . conftest.defines >/dev/null
5688 do
5689 # Write a limited-size here document to $tmp/defines.sed.
5690 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
5691 # Speed up: don't consider the non `#define' lines.
5692 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
5693 # Work around the forget-to-reset-the-flag bug.
5694 echo 't clr' >>$CONFIG_STATUS
5695 echo ': clr' >>$CONFIG_STATUS
5696 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
5697 echo 'CEOF
5698 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5699 rm -f $tmp/in
5700 mv $tmp/out $tmp/in
5701 ' >>$CONFIG_STATUS
5702 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
5703 rm -f conftest.defines
5704 mv conftest.tail conftest.defines
5705 done
5706 rm -f conftest.defines
5707 echo ' fi # egrep' >>$CONFIG_STATUS
5708 echo >>$CONFIG_STATUS
5709
5710 # Break up conftest.undefs because some shells have a limit on the size
5711 # of here documents, and old seds have small limits too (100 cmds).
5712 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
5713 rm -f conftest.tail
5714 while grep . conftest.undefs >/dev/null
5715 do
5716 # Write a limited-size here document to $tmp/undefs.sed.
5717 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
5718 # Speed up: don't consider the non `#undef'
5719 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
5720 # Work around the forget-to-reset-the-flag bug.
5721 echo 't clr' >>$CONFIG_STATUS
5722 echo ': clr' >>$CONFIG_STATUS
5723 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
5724 echo 'CEOF
5725 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5726 rm -f $tmp/in
5727 mv $tmp/out $tmp/in
5728 ' >>$CONFIG_STATUS
5729 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5730 rm -f conftest.undefs
5731 mv conftest.tail conftest.undefs
5732 done
5733 rm -f conftest.undefs
5734
5735 cat >>$CONFIG_STATUS <<\_ACEOF
5736 # Let's still pretend it is `configure' which instantiates (i.e., don't
5737 # use $as_me), people would be surprised to read:
5738 # /* config.h. Generated by config.status. */
5739 if test x"$ac_file" = x-; then
5740 echo "/* Generated by configure. */" >$tmp/config.h
5741 else
5742 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5743 fi
5744 cat $tmp/in >>$tmp/config.h
5745 rm -f $tmp/in
5746 if test x"$ac_file" != x-; then
5747 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
5748 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
5749 echo "$as_me: $ac_file is unchanged" >&6;}
5750 else
5751 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
5752 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5753 X"$ac_file" : 'X\(//\)[^/]' \| \
5754 X"$ac_file" : 'X\(//\)$' \| \
5755 X"$ac_file" : 'X\(/\)' \| \
5756 . : '\(.\)' 2>/dev/null ||
5757 echo X"$ac_file" |
5758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5760 /^X\(\/\/\)$/{ s//\1/; q; }
5761 /^X\(\/\).*/{ s//\1/; q; }
5762 s/.*/./; q'`
5763 { case "$ac_dir" in
5764 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5765 *) as_incr_dir=.;;
5766 esac
5767 as_dummy="$ac_dir"
5768 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5769 case $as_mkdir_dir in
5770 # Skip DOS drivespec
5771 ?:) as_incr_dir=$as_mkdir_dir ;;
5772 *)
5773 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5774 test -d "$as_incr_dir" ||
5775 mkdir "$as_incr_dir" ||
5776 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
5777 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
5778 { (exit 1); exit 1; }; }
5779 ;;
5780 esac
5781 done; }
5782
5783 rm -f $ac_file
5784 mv $tmp/config.h $ac_file
5785 fi
5786 else
5787 cat $tmp/config.h
5788 rm -f $tmp/config.h
5789 fi
5790 # Run the commands associated with the file.
5791 case $ac_file in
5792 src/setup.h ) # update the timestamp
5793 echo 'timestamp for src/setup.h' >"src/stamp-h1"
5794 ;;
5795 esac
5796 done
5797 _ACEOF
5798 cat >>$CONFIG_STATUS <<\_ACEOF
5799
5800 #
5801 # CONFIG_COMMANDS section.
5802 #
5803 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
5804 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
5805 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
5806 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
5807 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5808 X"$ac_dest" : 'X\(//\)[^/]' \| \
5809 X"$ac_dest" : 'X\(//\)$' \| \
5810 X"$ac_dest" : 'X\(/\)' \| \
5811 . : '\(.\)' 2>/dev/null ||
5812 echo X"$ac_dest" |
5813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5815 /^X\(\/\/\)$/{ s//\1/; q; }
5816 /^X\(\/\).*/{ s//\1/; q; }
5817 s/.*/./; q'`
5818 ac_builddir=.
5819
5820 if test "$ac_dir" != .; then
5821 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5822 # A "../" for each directory in $ac_dir_suffix.
5823 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5824 else
5825 ac_dir_suffix= ac_top_builddir=
5826 fi
5827
5828 case $srcdir in
5829 .) # No --srcdir option. We are building in place.
5830 ac_srcdir=.
5831 if test -z "$ac_top_builddir"; then
5832 ac_top_srcdir=.
5833 else
5834 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
5835 fi ;;
5836 [\\/]* | ?:[\\/]* ) # Absolute path.
5837 ac_srcdir=$srcdir$ac_dir_suffix;
5838 ac_top_srcdir=$srcdir ;;
5839 *) # Relative path.
5840 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
5841 ac_top_srcdir=$ac_top_builddir$srcdir ;;
5842 esac
5843 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
5844 # absolute.
5845 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
5846 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
5847 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
5848 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
5849
5850
5851 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5852 echo "$as_me: executing $ac_dest commands" >&6;}
5853 case $ac_dest in
5854 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
5855 # Strip MF so we end up with the name of the file.
5856 mf=`echo "$mf" | sed -e 's/:.*$//'`
5857 # Check whether this is an Automake generated Makefile or not.
5858 # We used to match only the files named `Makefile.in', but
5859 # some people rename them; so instead we look at the file content.
5860 # Grep'ing the first line is not enough: some people post-process
5861 # each Makefile.in and add a new line on top of each file to say so.
5862 # So let's grep whole file.
5863 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
5864 dirpart=`(dirname "$mf") 2>/dev/null ||
5865 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5866 X"$mf" : 'X\(//\)[^/]' \| \
5867 X"$mf" : 'X\(//\)$' \| \
5868 X"$mf" : 'X\(/\)' \| \
5869 . : '\(.\)' 2>/dev/null ||
5870 echo X"$mf" |
5871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5873 /^X\(\/\/\)$/{ s//\1/; q; }
5874 /^X\(\/\).*/{ s//\1/; q; }
5875 s/.*/./; q'`
5876 else
5877 continue
5878 fi
5879 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
5880 # Extract the definition of DEP_FILES from the Makefile without
5881 # running `make'.
5882 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
5883 test -z "$DEPDIR" && continue
5884 # When using ansi2knr, U may be empty or an underscore; expand it
5885 U=`sed -n -e '/^U = / s///p' < "$mf"`
5886 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
5887 # We invoke sed twice because it is the simplest approach to
5888 # changing $(DEPDIR) to its actual value in the expansion.
5889 for file in `sed -n -e '
5890 /^DEP_FILES = .*\\\\$/ {
5891 s/^DEP_FILES = //
5892 :loop
5893 s/\\\\$//
5894 p
5895 n
5896 /\\\\$/ b loop
5897 p
5898 }
5899 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
5900 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
5901 # Make sure the directory exists.
5902 test -f "$dirpart/$file" && continue
5903 fdir=`(dirname "$file") 2>/dev/null ||
5904 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5905 X"$file" : 'X\(//\)[^/]' \| \
5906 X"$file" : 'X\(//\)$' \| \
5907 X"$file" : 'X\(/\)' \| \
5908 . : '\(.\)' 2>/dev/null ||
5909 echo X"$file" |
5910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5912 /^X\(\/\/\)$/{ s//\1/; q; }
5913 /^X\(\/\).*/{ s//\1/; q; }
5914 s/.*/./; q'`
5915 { case $dirpart/$fdir in
5916 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
5917 *) as_incr_dir=.;;
5918 esac
5919 as_dummy=$dirpart/$fdir
5920 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
5921 case $as_mkdir_dir in
5922 # Skip DOS drivespec
5923 ?:) as_incr_dir=$as_mkdir_dir ;;
5924 *)
5925 as_incr_dir=$as_incr_dir/$as_mkdir_dir
5926 test -d "$as_incr_dir" ||
5927 mkdir "$as_incr_dir" ||
5928 { { echo "$as_me:$LINENO: error: cannot create $dirpart/$fdir" >&5
5929 echo "$as_me: error: cannot create $dirpart/$fdir" >&2;}
5930 { (exit 1); exit 1; }; }
5931 ;;
5932 esac
5933 done; }
5934
5935 # echo "creating $dirpart/$file"
5936 echo '# dummy' > "$dirpart/$file"
5937 done
5938 done
5939 ;;
5940 esac
5941 done
5942 _ACEOF
5943
5944 cat >>$CONFIG_STATUS <<\_ACEOF
5945
5946 { (exit 0); exit 0; }
5947 _ACEOF
5948 chmod +x $CONFIG_STATUS
5949 ac_clean_files=$ac_clean_files_save
5950
5951
5952 # configure is writing to config.log, and then calls config.status.
5953 # config.status does its own redirection, appending to config.log.
5954 # Unfortunately, on DOS this fails, as config.log is still kept open
5955 # by configure, so config.status won't be able to write to it; its
5956 # output is simply discarded. So we exec the FD to /dev/null,
5957 # effectively closing config.log, so it can be properly (re)opened and
5958 # appended to by config.status. When coming back to configure, we
5959 # need to make the FD available again.
5960 if test "$no_create" != yes; then
5961 ac_cs_success=:
5962 exec 5>/dev/null
5963 $SHELL $CONFIG_STATUS || ac_cs_success=false
5964 exec 5>>config.log
5965 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5966 # would make configure fail if this is the last instruction.
5967 $ac_cs_success || { (exit 1); exit 1; }
5968 fi
5969
5970 #
5971 # CONFIG_SUBDIRS section.
5972 #
5973 if test "$no_recursion" != yes; then
5974
5975 # Remove --cache-file and --srcdir arguments so they do not pile up.
5976 ac_sub_configure_args=
5977 ac_prev=
5978 for ac_arg in $ac_configure_args; do
5979 if test -n "$ac_prev"; then
5980 ac_prev=
5981 continue
5982 fi
5983 case $ac_arg in
5984 -cache-file | --cache-file | --cache-fil | --cache-fi \
5985 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
5986 ac_prev=cache_file ;;
5987 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
5988 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
5989 | --c=*)
5990 ;;
5991 --config-cache | -C)
5992 ;;
5993 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5994 ac_prev=srcdir ;;
5995 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5996 ;;
5997 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5998 ac_prev=prefix ;;
5999 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6000 ;;
6001 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
6002 esac
6003 done
6004
6005 # Always prepend --prefix to ensure using the same prefix
6006 # in subdir configurations.
6007 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
6008
6009 ac_popdir=`pwd`
6010 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
6011
6012 # Do not complain, so a configure script can configure whichever
6013 # parts of a large source tree are present.
6014 test -d $srcdir/$ac_dir || continue
6015
6016 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6017 echo "$as_me: configuring in $ac_dir" >&6;}
6018 { case "$ac_dir" in
6019 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
6020 *) as_incr_dir=.;;
6021 esac
6022 as_dummy="$ac_dir"
6023 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
6024 case $as_mkdir_dir in
6025 # Skip DOS drivespec
6026 ?:) as_incr_dir=$as_mkdir_dir ;;
6027 *)
6028 as_incr_dir=$as_incr_dir/$as_mkdir_dir
6029 test -d "$as_incr_dir" ||
6030 mkdir "$as_incr_dir" ||
6031 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5
6032 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;}
6033 { (exit 1); exit 1; }; }
6034 ;;
6035 esac
6036 done; }
6037
6038 ac_builddir=.
6039
6040 if test "$ac_dir" != .; then
6041 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6042 # A "../" for each directory in $ac_dir_suffix.
6043 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6044 else
6045 ac_dir_suffix= ac_top_builddir=
6046 fi
6047
6048 case $srcdir in
6049 .) # No --srcdir option. We are building in place.
6050 ac_srcdir=.
6051 if test -z "$ac_top_builddir"; then
6052 ac_top_srcdir=.
6053 else
6054 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6055 fi ;;
6056 [\\/]* | ?:[\\/]* ) # Absolute path.
6057 ac_srcdir=$srcdir$ac_dir_suffix;
6058 ac_top_srcdir=$srcdir ;;
6059 *) # Relative path.
6060 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6061 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6062 esac
6063 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
6064 # absolute.
6065 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
6066 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
6067 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
6068 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
6069
6070
6071 cd $ac_dir
6072
6073 # Check for guested configure; otherwise get Cygnus style configure.
6074 if test -f $ac_srcdir/configure.gnu; then
6075 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
6076 elif test -f $ac_srcdir/configure; then
6077 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
6078 elif test -f $ac_srcdir/configure.in; then
6079 ac_sub_configure=$ac_configure
6080 else
6081 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
6082 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
6083 ac_sub_configure=
6084 fi
6085
6086 # The recursion is here.
6087 if test -n "$ac_sub_configure"; then
6088 # Make the cache file name correct relative to the subdirectory.
6089 case $cache_file in
6090 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
6091 *) # Relative path.
6092 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
6093 esac
6094
6095 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
6096 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
6097 # The eval makes quoting arguments work.
6098 eval $ac_sub_configure $ac_sub_configure_args \
6099 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
6100 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
6101 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
6102 { (exit 1); exit 1; }; }
6103 fi
6104
6105 cd $ac_popdir
6106 done
6107 fi
6108
6109
6110 echo "##############################################################################"
6111 echo "Everything is now configured, but you can find some more (infrequently"
6112 echo "changed) options in options.h. To compile BOPM now, just type make. It"
6113 echo "requires GNU Make, which may be installed as gmake on your system."
6114 echo
6115 echo "bopm will be installed in ${prefix}. To change this, run:"
6116 echo " ./configure --prefix=DIRECTORY"
6117 echo
6118 echo "If possible, PLEASE CONTRIBUTE TO OUR DNSBL BY REPORTING YOUR PROXIES!!"
6119 echo
6120 echo "o What is DNSBL?"
6121 echo " It's the database of open proxies we provide and your BOPM checks"
6122 echo " against BEFORE bothering to scan the client, therefore killing KNOWN"
6123 echo " proxies faster and more efficiently."
6124 echo
6125 echo "o Why should my network contribute?"
6126 echo " Because the more that do, the more proxies we know about and the"
6127 echo " better the service becomes for all BOPM users including YOU! People"
6128 echo " are also using our DNSBL to block spam (spammers use open proxies"
6129 echo " too!) so you'd be helping the whole Internet."
6130 echo
6131 echo "o Sounds complicated, what do you need?"
6132 echo " BOPM is already designed to report the proxies you find, but it is"
6133 echo " turned off by default. To enable it all you have to do is:"
6134 echo " - Set DNSBL_FROM to a unique email address that we can contact you"
6135 echo " at if there is ever any problem with your reports."
6136 echo " - Email us now at opm@lists.blitzed.org to tell us what you have"
6137 echo " set your DNSBL_FROM to."
6138 echo " - Set DNSBL_TO to proxy-report@blitzed.org."
6139 echo " - Set SENDMAIL to contain the path to your sendmail binary (even"
6140 echo " if you don't use sendmail you will have a binary named sendmail in"
6141 echo " /usr/sbin or /usr/lib."
6142 echo
6143 echo "For more info about the people who already report their proxies, please"
6144 echo "see http://www.blitzed.org/bopm/ - Thank you!"
6145 echo "##############################################################################"
6146 echo