2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.53 for bopm 3.0.
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.
10 if expr a
: '\(a\)' >/dev
/null
2>&1; then
17 ## --------------------- ##
18 ## M4sh Initialization. ##
19 ## --------------------- ##
21 # Be Bourne compatible
22 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
25 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
30 # Support unset when possible.
31 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
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
; }
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 ||
70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
71 /^X\/\(\/\/\)$/{ s//\1/; q; }
72 /^X\/\(\/\).*/{ s//\1/; q; }
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
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
88 if (PATH
=".;."; conftest.sh
) >/dev
/null
2>&1; then
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
105 *[\\/]* ) as_myself
=$0 ;;
106 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
110 test -z "$as_dir" && as_dir
=.
111 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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; }; }
125 case $CONFIG_SHELL in
127 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
128 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
131 test -z "$as_dir" && as_dir
=.
132 for as_base
in sh bash ksh sh5
; do
135 if ("$as_dir/$as_base" -c '
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
143 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
167 s,^['$as_cr_digits']*\n,,
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; }; }
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).
177 # Exit status is that of the last command.
182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
183 *c
*,-n*) ECHO_N
= ECHO_C
='
185 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
186 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
189 if expr a
: '\(a\)' >/dev
/null
2>&1; then
195 rm -f conf$$ conf$$.exe 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
206 elif ln conf$$.
file conf$$
2>/dev
/null
; then
211 rm -f conf$$ conf$$.exe conf$$.
file
213 as_executable_p
="test -f"
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"
218 # Sed expression to map a string onto a valid variable name.
219 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
223 # We need space, tab and new line, in precisely that order.
229 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
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`
242 ac_default_prefix
=/usr
/local
247 SHELL
=${CONFIG_SHELL-/bin/sh}
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}
254 # Identity of this package.
256 PACKAGE_TARNAME
='bopm'
257 PACKAGE_VERSION
='3.0'
258 PACKAGE_STRING
='bopm 3.0'
261 ac_unique_file
="src/opercmd.h"
262 ac_default_prefix
=\
${HOME}/bopm
263 # Factoring default headers for most tests.
264 ac_includes_default
="\
267 # include <sys/types.h>
270 # include <sys/stat.h>
281 # if !STDC_HEADERS && HAVE_MEMORY_H
287 # include <strings.h>
290 # include <inttypes.h>
300 ac_subdirs_all
="$ac_subdirs_all src/libopm"
302 # Initialize some variables set by options.
304 ac_init_version
=false
305 # The variables have the same names as the options, with
306 # dashes changed to underlines.
314 program_transform_name
=s
,x
,x
,
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'
343 # If the previous option needs an argument, assign it.
344 if test -n "$ac_prev"; then
345 eval "$ac_prev=\$ac_option"
350 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
352 # Accept the important Cygnus configure options, so we can diagnose typos.
356 -bindir | --bindir | --bindi | --bind | --bin | --bi)
358 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
361 -build | --build | --buil | --bui | --bu)
362 ac_prev
=build_alias
;;
363 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
364 build_alias
=$ac_optarg ;;
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 ;;
374 cache_file
=config.cache
;;
376 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
378 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
380 datadir
=$ac_optarg ;;
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" ;;
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'`
399 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
402 eval "enable_$ac_feature='$ac_optarg'" ;;
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 ;;
413 -gas | --gas | --ga | --g)
414 # Obsolete; use --with-gas.
417 -help | --help | --hel | --he | -h)
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
;;
424 -host | --host | --hos | --ho)
425 ac_prev
=host_alias
;;
426 -host=* | --host=* | --hos=* | --ho=*)
427 host_alias
=$ac_optarg ;;
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 ;;
436 -infodir | --infodir | --infodi | --infod | --info | --inf)
438 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
439 infodir
=$ac_optarg ;;
441 -libdir | --libdir | --libdi | --libd)
443 -libdir=* | --libdir=* | --libdi=* | --libd=*)
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 ;;
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 ;;
462 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
464 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
468 # Obsolete; use --without-fp.
471 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
472 | --no-cr | --no-c | -n)
475 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
476 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
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 ;;
488 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
490 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
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 ;;
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 ;;
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 ;;
524 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
525 | -silent | --silent | --silen | --sile | --sil)
528 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
530 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
532 sbindir
=$ac_optarg ;;
534 -sharedstatedir | --sharedstatedir | --sharedstatedi \
535 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
536 | --sharedst | --shareds | --shared | --share | --shar \
538 ac_prev
=sharedstatedir
;;
539 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
540 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
541 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
543 sharedstatedir
=$ac_optarg ;;
545 -site | --site | --sit)
547 -site=* | --site=* | --sit=*)
550 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
552 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
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 ;;
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 ;;
567 -v | -verbose | --verbose | --verbos | --verbo | --verb)
570 -version | --version | --versio | --versi | --vers | -V)
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'`
581 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
584 eval "with_$ac_package='$ac_optarg'" ;;
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" ;;
596 # Obsolete; use --with-x.
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 ;;
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 ;;
613 -*) { echo "$as_me: error: unrecognized option: $ac_option
614 Try \`$0 --help' for more information." >&2
615 { (exit 1); exit 1; }; }
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'"
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}
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; }; }
645 # Be sure to have absolute paths.
646 for ac_var
in exec_prefix prefix
648 eval ac_val
=$
`echo $ac_var`
650 [\\/$
]* | ?
:[\\/]* | NONE
| '' ) ;;
651 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
652 { (exit 1); exit 1; }; };;
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
660 eval ac_val
=$
`echo $ac_var`
662 [\\/$
]* | ?
:[\\/]* ) ;;
663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
664 { (exit 1); exit 1; }; };;
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.
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
687 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
689 test "$silent" = yes && exec 6>/dev
/null
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 ||
703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
704 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
705 /^X\(\/\/\)$/{ s//\1/; q; }
706 /^X\(\/\).*/{ s//\1/; q; }
709 if test ! -r $srcdir/$ac_unique_file; then
713 ac_srcdir_defaulted
=no
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; }; }
720 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
721 { (exit 1); exit 1; }; }
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}
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
759 # Report the --help message.
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.
765 \`configure' configures bopm 3.0 to adapt to many kinds of systems.
767 Usage: $0 [OPTION]... [VAR=VALUE]...
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.
772 Defaults for the options are specified in brackets.
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 \`..']
788 Installation directories:
789 --prefix=PREFIX install architecture-independent files in PREFIX
791 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
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'.
799 For better control, use the options below.
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]
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
825 if test -n "$ac_init_help"; then
826 case $ac_init_help in
827 short
| recursive
) echo "Configuration of bopm 3.0:";;
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
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
846 --with-extra-fascism Add extra gcc3
-specific warning flags
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
>
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.
863 if test "$ac_init_help" = "recursive"; then
864 # If there are subdirs, report their specific --help.
866 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
867 test -d $ac_dir || continue
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'`
875 ac_dir_suffix= ac_top_builddir=
879 .) # No --srcdir option. We are building in place.
881 if test -z "$ac_top_builddir"; then
884 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
886 [\\/]* | ?:[\\/]* ) # Absolute path.
887 ac_srcdir=$srcdir$ac_dir_suffix;
888 ac_top_srcdir=$srcdir ;;
890 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
891 ac_top_srcdir=$ac_top_builddir$srcdir ;;
893 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
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`
901 # Check for guested configure; otherwise get Cygnus style configure.
902 if test -f $ac_srcdir/configure.gnu; then
904 $SHELL $ac_srcdir/configure.gnu --help=recursive
905 elif test -f $ac_srcdir/configure; then
907 $SHELL $ac_srcdir/configure --help=recursive
908 elif test -f $ac_srcdir/configure.ac ||
909 test -f $ac_srcdir/configure.in; then
913 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
919 test -n "$ac_init_help" && exit 0
920 if $ac_init_version; then
923 generated by GNU Autoconf 2.53
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.
934 This file contains any messages produced by compilers while
935 running configure, to aid debugging if configure makes a mistake.
937 It was created by bopm $as_me 3.0, which was
938 generated by GNU Autoconf 2.53. Invocation command line was
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
`
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
`
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
`
968 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
972 test -z "$as_dir" && as_dir=.
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.
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)
1001 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1002 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
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'"
1009 # Get rid of the leading space.
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.
1022 ## ---------------- ##
1023 ## Cache variables. ##
1024 ## ---------------- ##
1027 # The following way of writing the cache mishandles newlines in values,
1030 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1033 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1034 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1038 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1043 if test -s confdefs.h
; then
1050 sed "/^$/d" confdefs.h
1053 test "$ac_signal" != 0 &&
1054 echo "$as_me: caught signal $ac_signal"
1055 echo "$as_me: exit $exit_status"
1057 rm -f core core.
* *.core
&&
1058 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1061 for ac_signal in 1 2 13 15; do
1062 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
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.
1071 # Predefined preprocessor variables.
1073 cat >>confdefs.h <<_ACEOF
1074 #define PACKAGE_NAME "$PACKAGE_NAME"
1078 cat >>confdefs.h <<_ACEOF
1079 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1083 cat >>confdefs.h <<_ACEOF
1084 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1088 cat >>confdefs.h <<_ACEOF
1089 #define PACKAGE_STRING "$PACKAGE_STRING"
1093 cat >>confdefs.h <<_ACEOF
1094 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
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"
1104 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
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
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;}
1123 [\\/]* | ?:[\\/]* ) . $cache_file;;
1124 *) . ./$cache_file;;
1128 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1129 echo "$as_me: creating cache $cache_file" >&6;}
1133 # Check that the precious variables saved in the cache have kept the same
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
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=: ;;
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=: ;;
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=:
1163 # Pass precious variables to config.status.
1164 if test "$ac_new_set" = set; then
1166 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1167 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1168 *) ac_arg=$ac_var=$ac_new_val ;;
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'" ;;
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; }; }
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
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"
1222 am__api_version="1.6"
1224 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1225 if test -f $ac_dir/install-sh; then
1227 ac_install_sh="$ac_aux_dir/install-sh -c"
1229 elif test -f $ac_dir/install.sh; then
1231 ac_install_sh="$ac_aux_dir/install.sh -c"
1233 elif test -f $ac_dir/shtool; then
1235 ac_install_sh="$ac_aux_dir/shtool install -c"
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; }; }
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.
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
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
1266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1270 test -z "$as_dir" && as_dir
=.
1271 # Account for people who put trailing slashes in PATH elements.
1273 .
/ | .
// | /cC
/* | \
1274 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
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
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.
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.
1292 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1304 if test "${ac_cv_path_install+set}" = set; then
1305 INSTALL
=$ac_cv_path_install
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
1314 echo "$as_me:$LINENO: result: $INSTALL" >&5
1315 echo "${ECHO_T}$INSTALL" >&6
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}'
1321 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1323 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
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
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
1336 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1337 if test "$*" = "X"; then
1339 set X
`ls -t $srcdir/configure conftest.file`
1342 if test "$*" != "X $srcdir/configure conftest.file" \
1343 && test "$*" != "X conftest.file $srcdir/configure"; then
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; }; }
1356 test "$2" = conftest.
file
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; }; }
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
,$
//
1380 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1384 # expand $ac_aux_dir to an absolute path
1385 am_aux_dir
=`cd $ac_aux_dir && pwd`
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 "
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;}
1397 for ac_prog
in gawk mawk nawk
awk
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
1406 if test -n "$AWK"; then
1407 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1409 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
1426 if test -n "$AWK"; then
1427 echo "$as_me:$LINENO: result: $AWK" >&5
1428 echo "${ECHO_T}$AWK" >&6
1430 echo "$as_me:$LINENO: result: no" >&5
1431 echo "${ECHO_T}no" >&6
1434 test -n "$AWK" && break
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
1443 cat >conftest.
make <<\_ACEOF
1445 @
echo 'ac_maketemp="${MAKE}"'
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
1452 eval ac_cv_prog_make_
${ac_make}_set
=no
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
1461 echo "$as_me:$LINENO: result: no" >&5
1462 echo "${ECHO_T}no" >&6
1463 SET_MAKE
="MAKE=${MAKE-make}"
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; }; }
1474 # Define the identity of the package.
1479 cat >>confdefs.h
<<_ACEOF
1480 #define PACKAGE "$PACKAGE"
1484 cat >>confdefs.h
<<_ACEOF
1485 #define VERSION "$VERSION"
1488 # Some tools Automake needs.
1490 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1493 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1496 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1499 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1502 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1505 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1507 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
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
1522 if test -n "$STRIP"; then
1523 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1525 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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
1546 echo "$as_me:$LINENO: result: no" >&5
1547 echo "${ECHO_T}no" >&6
1551 if test -z "$ac_cv_prog_STRIP"; then
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
1560 if test -n "$ac_ct_STRIP"; then
1561 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1563 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
1577 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
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
1585 echo "$as_me:$LINENO: result: no" >&5
1586 echo "${ECHO_T}no" >&6
1591 STRIP
="$ac_cv_prog_STRIP"
1595 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1597 # We need awk for the "check" target. The system "awk" is bad on
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
1610 USE_MAINTAINER_MODE
=no
1612 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1613 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1616 if test $USE_MAINTAINER_MODE = yes; then
1617 MAINTAINER_MODE_TRUE
=
1618 MAINTAINER_MODE_FALSE
='#'
1620 MAINTAINER_MODE_TRUE
='#'
1621 MAINTAINER_MODE_FALSE
=
1624 MAINT
=$MAINTAINER_MODE_TRUE
1629 # Check whether --with-select or --without-select was given.
1630 if test "${with_select+set}" = set; then
1631 withval
="$with_select"
1637 # Check whether --with-unreal or --without-unreal was given.
1638 if test "${with_unreal+set}" = set; then
1639 withval
="$with_unreal"
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"
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
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
1663 if test "$ac_cv_ipv6" = "yes" ; then
1665 cat >>confdefs.h
<<\_ACEOF
1669 echo "$as_me:$LINENO: result: yes" >&5
1670 echo "${ECHO_T}yes" >&6
1672 echo "$as_me:$LINENO: result: no" >&5
1673 echo "${ECHO_T}no" >&6
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
1689 if test -n "$CC"; then
1690 ac_cv_prog_CC
="$CC" # Let the user override the test.
1692 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
1709 if test -n "$CC"; then
1710 echo "$as_me:$LINENO: result: $CC" >&5
1711 echo "${ECHO_T}$CC" >&6
1713 echo "$as_me:$LINENO: result: no" >&5
1714 echo "${ECHO_T}no" >&6
1718 if test -z "$ac_cv_prog_CC"; then
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
1727 if test -n "$ac_ct_CC"; then
1728 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1730 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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
1751 echo "$as_me:$LINENO: result: no" >&5
1752 echo "${ECHO_T}no" >&6
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
1769 if test -n "$CC"; then
1770 ac_cv_prog_CC
="$CC" # Let the user override the test.
1772 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
1789 if test -n "$CC"; then
1790 echo "$as_me:$LINENO: result: $CC" >&5
1791 echo "${ECHO_T}$CC" >&6
1793 echo "$as_me:$LINENO: result: no" >&5
1794 echo "${ECHO_T}no" >&6
1798 if test -z "$ac_cv_prog_CC"; then
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
1807 if test -n "$ac_ct_CC"; then
1808 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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
1831 echo "$as_me:$LINENO: result: no" >&5
1832 echo "${ECHO_T}no" >&6
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
1849 if test -n "$CC"; then
1850 ac_cv_prog_CC
="$CC" # Let the user override the test.
1853 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
1865 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
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
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.
1880 set dummy
"$as_dir/$ac_word" ${1+"$@"}
1888 if test -n "$CC"; then
1889 echo "$as_me:$LINENO: result: $CC" >&5
1890 echo "${ECHO_T}$CC" >&6
1892 echo "$as_me:$LINENO: result: no" >&5
1893 echo "${ECHO_T}no" >&6
1897 if test -z "$CC"; then
1898 if test -n "$ac_tool_prefix"; then
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
1908 if test -n "$CC"; then
1909 ac_cv_prog_CC
="$CC" # Let the user override the test.
1911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
1928 if test -n "$CC"; then
1929 echo "$as_me:$LINENO: result: $CC" >&5
1930 echo "${ECHO_T}$CC" >&6
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1936 test -n "$CC" && break
1939 if test -z "$CC"; then
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
1950 if test -n "$ac_ct_CC"; then
1951 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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
1974 echo "$as_me:$LINENO: result: no" >&5
1975 echo "${ECHO_T}no" >&6
1978 test -n "$ac_ct_CC" && break
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; }; }
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
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
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
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); }
2011 cat >conftest.
$ac_ext <<_ACEOF
2012 #line $LINENO "configure"
2013 #include "confdefs.h"
2015 #ifdef F77_DUMMY_MAIN
2019 int F77_DUMMY_MAIN() { return 1; }
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
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
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
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.
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
2053 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
| *.xSYM
) ;;
2054 a.out
) # We found the default executable, but exeext='' is most
2057 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2058 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
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; }; }
2072 ac_exeext
=$ac_cv_exeext
2073 echo "$as_me:$LINENO: result: $ac_file" >&5
2074 echo "${ECHO_T}$ac_file" >&6
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
2087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2088 (exit $ac_status); }; }; then
2091 if test "$cross_compiling" = maybe
; then
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; }; }
2102 echo "$as_me:$LINENO: result: yes" >&5
2103 echo "${ECHO_T}yes" >&6
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
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
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
2125 for ac_file
in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
2127 *.
$ac_ext | *.o
| *.obj
| *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2128 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
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; }; }
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
2144 rm -f conftest.
$ac_ext
2145 EXEEXT
=$ac_cv_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
2152 cat >conftest.
$ac_ext <<_ACEOF
2153 #line $LINENO "configure"
2154 #include "confdefs.h"
2156 #ifdef F77_DUMMY_MAIN
2160 int F77_DUMMY_MAIN() { return 1; }
2170 rm -f conftest.o conftest.obj
2171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2172 (eval $ac_compile) 2>&5
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
2178 *.
$ac_ext | *.xcoff
| *.tds
| *.d
| *.pdb
) ;;
2179 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
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; }; }
2191 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2193 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2194 echo "${ECHO_T}$ac_cv_objext" >&6
2195 OBJEXT
=$ac_cv_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
2202 cat >conftest.
$ac_ext <<_ACEOF
2203 #line $LINENO "configure"
2204 #include "confdefs.h"
2206 #ifdef F77_DUMMY_MAIN
2210 int F77_DUMMY_MAIN() { return 1; }
2223 rm -f conftest.
$ac_objext
2224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2225 (eval $ac_compile) 2>&5
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
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; }; then
2237 echo "$as_me: failed program was:" >&5
2238 cat conftest.
$ac_ext >&5
2241 rm -f conftest.
$ac_objext conftest.
$ac_ext
2242 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
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
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
2256 cat >conftest.
$ac_ext <<_ACEOF
2257 #line $LINENO "configure"
2258 #include "confdefs.h"
2260 #ifdef F77_DUMMY_MAIN
2264 int F77_DUMMY_MAIN() { return 1; }
2274 rm -f conftest.
$ac_objext
2275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2276 (eval $ac_compile) 2>&5
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
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2288 echo "$as_me: failed program was:" >&5
2289 cat conftest.
$ac_ext >&5
2292 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
2305 if test "$GCC" = yes; then
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
2320 rm -f conftest.
$ac_objext
2321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2322 (eval $ac_compile) 2>&5
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
2330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2331 (exit $ac_status); }; }; then
2332 for ac_declaration
in \
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);' \
2341 cat >conftest.
$ac_ext <<_ACEOF
2342 #line $LINENO "configure"
2343 #include "confdefs.h"
2346 #ifdef F77_DUMMY_MAIN
2350 int F77_DUMMY_MAIN() { return 1; }
2360 rm -f conftest.
$ac_objext
2361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2362 (eval $ac_compile) 2>&5
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
2370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2371 (exit $ac_status); }; }; then
2374 echo "$as_me: failed program was:" >&5
2375 cat conftest.
$ac_ext >&5
2378 rm -f conftest.
$ac_objext conftest.
$ac_ext
2379 cat >conftest.
$ac_ext <<_ACEOF
2380 #line $LINENO "configure"
2381 #include "confdefs.h"
2383 #ifdef F77_DUMMY_MAIN
2387 int F77_DUMMY_MAIN() { return 1; }
2397 rm -f conftest.
$ac_objext
2398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2399 (eval $ac_compile) 2>&5
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
2407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2408 (exit $ac_status); }; }; then
2411 echo "$as_me: failed program was:" >&5
2412 cat conftest.
$ac_ext >&5
2414 rm -f conftest.
$ac_objext conftest.
$ac_ext
2417 if test -n "$ac_declaration"; then
2418 echo '#ifdef __cplusplus' >>confdefs.h
2419 echo $ac_declaration >>confdefs.h
2420 echo '#endif' >>confdefs.h
2424 echo "$as_me: failed program was:" >&5
2425 cat conftest.
$ac_ext >&5
2427 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
2438 # MS-DOS does not allow filenames that begin with a dot.
2441 rmdir .deps
2>/dev
/null
2444 ac_config_commands
="$ac_config_commands depfiles"
2447 am_make
=${MAKE-make}
2448 cat > confinc
<< '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
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
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
2481 echo "$as_me:$LINENO: result: $_am_result" >&5
2482 echo "${ECHO_T}$_am_result" >&6
2483 rm -f confinc confmf
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"
2490 if test "x$enable_dependency_tracking" != xno
; then
2491 am_depcomp
="$ac_aux_dir/depcomp"
2496 if test "x$enable_dependency_tracking" != xno; then
2507 depcc
="$CC" am_compiler_list
=
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
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
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
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`
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
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
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
2567 am_cv_CC_dependencies_compiler_type
=none
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
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
2590 if test -z "$CPP"; then
2591 if test "${ac_cv_prog_CPP+set}" = set; then
2592 echo $ECHO_N "(cached) $ECHO_C" >&6
2594 # Double quotes because CPP needs to be expanded
2595 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2598 for ac_c_preproc_warn_flag
in '' yes
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"
2610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2611 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2613 egrep -v '^ *\+' conftest.er1
>conftest.err
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
2626 if test -z "$ac_cpp_err"; then
2629 echo "$as_me: failed program was:" >&5
2630 cat conftest.
$ac_ext >&5
2631 # Broken: fails on valid input.
2634 rm -f conftest.err conftest.
$ac_ext
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>
2643 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2644 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2646 egrep -v '^ *\+' conftest.er1
>conftest.err
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
2659 if test -z "$ac_cpp_err"; then
2660 # Broken: success on invalid input.
2663 echo "$as_me: failed program was:" >&5
2664 cat conftest.
$ac_ext >&5
2665 # Passes both tests.
2669 rm -f conftest.err conftest.
$ac_ext
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
2686 echo "$as_me:$LINENO: result: $CPP" >&5
2687 echo "${ECHO_T}$CPP" >&6
2689 for ac_c_preproc_warn_flag
in '' yes
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"
2701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2702 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2704 egrep -v '^ *\+' conftest.er1
>conftest.err
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
2717 if test -z "$ac_cpp_err"; then
2720 echo "$as_me: failed program was:" >&5
2721 cat conftest.
$ac_ext >&5
2722 # Broken: fails on valid input.
2725 rm -f conftest.err conftest.
$ac_ext
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>
2734 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2735 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2737 egrep -v '^ *\+' conftest.er1
>conftest.err
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
2750 if test -z "$ac_cpp_err"; then
2751 # Broken: success on invalid input.
2754 echo "$as_me: failed program was:" >&5
2755 cat conftest.
$ac_ext >&5
2756 # Passes both tests.
2760 rm -f conftest.err conftest.
$ac_ext
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
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; }; }
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
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
2785 cat >conftest.
$ac_ext <<_ACEOF
2786 #line $LINENO "configure"
2787 #include "confdefs.h"
2794 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2795 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2797 egrep -v '^ *\+' conftest.er1
>conftest.err
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
2810 if test -z "$ac_cpp_err"; then
2811 ac_cv_header_stdc
=yes
2813 echo "$as_me: failed program was:" >&5
2814 cat conftest.
$ac_ext >&5
2815 ac_cv_header_stdc
=no
2817 rm -f conftest.err conftest.
$ac_ext
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"
2827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2828 egrep "memchr" >/dev
/null
2>&1; then
2831 ac_cv_header_stdc
=no
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"
2845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2846 egrep "free" >/dev
/null
2>&1; then
2849 ac_cv_header_stdc
=no
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
2860 cat >conftest.
$ac_ext <<_ACEOF
2861 #line $LINENO "configure"
2862 #include "confdefs.h"
2864 #if ((' ' & 0x0FF) == 0x020)
2865 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2866 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
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))
2874 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2879 for (i = 0; i < 256; i++)
2880 if (XOR (islower (i), ISLOWER (i))
2881 || toupper (i) != TOUPPER (i))
2886 rm -f conftest
$ac_exeext
2887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2888 (eval $ac_link) 2>&5
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
2895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2896 (exit $ac_status); }; }; then
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
2903 ac_cv_header_stdc
=no
2905 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
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
2913 cat >>confdefs.h
<<\_ACEOF
2914 #define STDC_HEADERS 1
2920 if test "$with_select" = "yes"; then
2921 echo "use of select() forced, skipping poll() checks..."
2923 cat >>confdefs.h
<<\_ACEOF
2924 #define WITH_SELECT 1
2928 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
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
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
2947 cat >conftest.
$ac_ext <<_ACEOF
2948 #line $LINENO "configure"
2949 #include "confdefs.h"
2950 $ac_includes_default
2952 #include <$ac_header>
2954 rm -f conftest.
$ac_objext
2955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2956 (eval $ac_compile) 2>&5
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
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); }; }; then
2966 eval "$as_ac_Header=yes"
2968 echo "$as_me: failed program was:" >&5
2969 cat conftest.
$ac_ext >&5
2970 eval "$as_ac_Header=no"
2972 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
2987 for ac_header
in sys
/poll.h
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
2996 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
2997 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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>
3008 rm -f conftest.
$ac_objext
3009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3010 (eval $ac_compile) 2>&5
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
3018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3019 (exit $ac_status); }; }; then
3020 ac_header_compiler
=yes
3022 echo "$as_me: failed program was:" >&5
3023 cat conftest.
$ac_ext >&5
3024 ac_header_compiler
=no
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
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>
3038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3041 egrep -v '^ *\+' conftest.er1
>conftest.err
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
3054 if test -z "$ac_cpp_err"; then
3055 ac_header_preproc
=yes
3057 echo "$as_me: failed program was:" >&5
3058 cat conftest.
$ac_ext >&5
3059 ac_header_preproc
=no
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
3065 # So? What about this header?
3066 case $ac_header_compiler:$ac_header_preproc in
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;};;
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;};;
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
3085 eval "$as_ac_Header=$ac_header_preproc"
3087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3088 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
3104 if test "$with_unreal" = "yes"; then
3105 echo "configuring for Unreal ircd"
3107 cat >>confdefs.h
<<\_ACEOF
3108 #define WITH_UNREAL 1
3117 for ac_header
in fcntl.h sys
/time.h unistd.h
strings.h
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
3126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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>
3138 rm -f conftest.
$ac_objext
3139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3140 (eval $ac_compile) 2>&5
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
3148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3149 (exit $ac_status); }; }; then
3150 ac_header_compiler
=yes
3152 echo "$as_me: failed program was:" >&5
3153 cat conftest.
$ac_ext >&5
3154 ac_header_compiler
=no
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
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>
3168 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3169 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3171 egrep -v '^ *\+' conftest.er1
>conftest.err
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
3184 if test -z "$ac_cpp_err"; then
3185 ac_header_preproc
=yes
3187 echo "$as_me: failed program was:" >&5
3188 cat conftest.
$ac_ext >&5
3189 ac_header_preproc
=no
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
3195 # So? What about this header?
3196 case $ac_header_compiler:$ac_header_preproc in
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;};;
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;};;
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
3215 eval "$as_ac_Header=$ac_header_preproc"
3217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
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
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
3236 ac_cv_prog_cc_stdc
=no
3238 cat >conftest.
$ac_ext <<_ACEOF
3239 #line $LINENO "configure"
3240 #include "confdefs.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)
3254 static char *f (char * (*g) (char **, int), char **p, ...)
3259 s = g (p, va_arg (v,int));
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);
3269 #ifdef F77_DUMMY_MAIN
3273 int F77_DUMMY_MAIN() { return 1; }
3278 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
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__"
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
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
3303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3304 (exit $ac_status); }; }; then
3305 ac_cv_prog_cc_stdc
=$ac_arg
3308 echo "$as_me: failed program was:" >&5
3309 cat conftest.
$ac_ext >&5
3311 rm -f conftest.
$ac_objext
3313 rm -f conftest.
$ac_ext conftest.
$ac_objext
3318 case "x$ac_cv_prog_cc_stdc" in
3320 echo "$as_me:$LINENO: result: none needed" >&5
3321 echo "${ECHO_T}none needed" >&6 ;;
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" ;;
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
3333 cat >conftest.
$ac_ext <<_ACEOF
3334 #line $LINENO "configure"
3335 #include "confdefs.h"
3337 #ifdef F77_DUMMY_MAIN
3341 int F77_DUMMY_MAIN() { return 1; }
3346 /* FIXME: Include the comments suggested by Paul. */
3348 /* Ultrix mips cc rejects this. */
3349 typedef int charset[2];
3351 /* SunOS 4.1.1 cc rejects this. */
3352 char const *const *ccp;
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
3361 const char *g = "string";
3362 ccp = &g + (g ? g-g : 0);
3363 /* HPUX 7.0 cc rejects these. */
3366 ccp = (char const *const *) p;
3367 { /* SCO 3.2v4 cc rejects this. */
3369 char const *s = 0 ? (char *) 0 : (char const *) 0;
3373 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3375 const int *foo = &x[0];
3378 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3379 typedef const int *iptr;
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;
3388 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3397 rm -f conftest.
$ac_objext
3398 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3399 (eval $ac_compile) 2>&5
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
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; }; then
3411 echo "$as_me: failed program was:" >&5
3412 cat conftest.
$ac_ext >&5
3415 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
3421 cat >>confdefs.h
<<\_ACEOF
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
3432 cat >conftest.
$ac_ext <<_ACEOF
3433 #line $LINENO "configure"
3434 #include "confdefs.h"
3435 $ac_includes_default
3436 #ifdef F77_DUMMY_MAIN
3440 int F77_DUMMY_MAIN() { return 1; }
3447 if (sizeof (size_t))
3453 rm -f conftest.
$ac_objext
3454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3455 (eval $ac_compile) 2>&5
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
3463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3464 (exit $ac_status); }; }; then
3465 ac_cv_type_size_t
=yes
3467 echo "$as_me: failed program was:" >&5
3468 cat conftest.
$ac_ext >&5
3469 ac_cv_type_size_t
=no
3471 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
3479 cat >>confdefs.h
<<_ACEOF
3480 #define size_t unsigned
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
3490 cat >conftest.
$ac_ext <<_ACEOF
3491 #line $LINENO "configure"
3492 #include "confdefs.h"
3493 #include <sys/types.h>
3494 #include <sys/time.h>
3497 #ifdef F77_DUMMY_MAIN
3501 int F77_DUMMY_MAIN() { return 1; }
3506 if ((struct tm *) 0)
3512 rm -f conftest.
$ac_objext
3513 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3514 (eval $ac_compile) 2>&5
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
3522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3523 (exit $ac_status); }; }; then
3524 ac_cv_header_time
=yes
3526 echo "$as_me: failed program was:" >&5
3527 cat conftest.
$ac_ext >&5
3528 ac_cv_header_time
=no
3530 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
3536 cat >>confdefs.h
<<\_ACEOF
3537 #define TIME_WITH_SYS_TIME 1
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
3547 cat >conftest.
$ac_ext <<_ACEOF
3548 #line $LINENO "configure"
3549 #include "confdefs.h"
3550 #include <sys/types.h>
3553 #ifdef F77_DUMMY_MAIN
3557 int F77_DUMMY_MAIN() { return 1; }
3562 struct tm *tp; tp->tm_sec;
3567 rm -f conftest.
$ac_objext
3568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3569 (eval $ac_compile) 2>&5
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
3577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3578 (exit $ac_status); }; }; then
3579 ac_cv_struct_tm
=time.h
3581 echo "$as_me: failed program was:" >&5
3582 cat conftest.
$ac_ext >&5
3583 ac_cv_struct_tm
=sys
/time.h
3585 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
3591 cat >>confdefs.h
<<\_ACEOF
3592 #define TM_IN_SYS_TIME 1
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
3603 cat >conftest.
$ac_ext <<_ACEOF
3604 #line $LINENO "configure"
3605 #include "confdefs.h"
3606 #include <sys/types.h>
3612 extern "C" void (*signal (int, void (*)(int)))(int);
3614 void (*signal ()) ();
3617 #ifdef F77_DUMMY_MAIN
3621 int F77_DUMMY_MAIN() { return 1; }
3631 rm -f conftest.
$ac_objext
3632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3633 (eval $ac_compile) 2>&5
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
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3643 ac_cv_type_signal
=void
3645 echo "$as_me: failed program was:" >&5
3646 cat conftest.
$ac_ext >&5
3647 ac_cv_type_signal
=int
3649 rm -f conftest.
$ac_objext conftest.
$ac_ext
3651 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
3652 echo "${ECHO_T}$ac_cv_type_signal" >&6
3654 cat >>confdefs.h
<<_ACEOF
3655 #define RETSIGTYPE $ac_cv_type_signal
3660 for ac_func
in strftime
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
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. */
3674 /* Override any gcc2 internal prototype to avoid an error. */
3678 /* We use char because int might match the return type of a gcc2
3679 builtin and then its argument prototype would still apply. */
3683 #ifdef F77_DUMMY_MAIN
3687 int F77_DUMMY_MAIN() { return 1; }
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)
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
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
3715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3716 (exit $ac_status); }; }; then
3717 eval "$as_ac_var=yes"
3719 echo "$as_me: failed program was:" >&5
3720 cat conftest.
$ac_ext >&5
3721 eval "$as_ac_var=no"
3723 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
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
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
3739 ac_check_lib_save_LIBS
=$LIBS
3741 cat >conftest.
$ac_ext <<_ACEOF
3742 #line $LINENO "configure"
3743 #include "confdefs.h"
3745 /* Override any gcc2 internal prototype to avoid an error. */
3749 /* We use char because int might match the return type of a gcc2
3750 builtin and then its argument prototype would still apply. */
3752 #ifdef F77_DUMMY_MAIN
3756 int F77_DUMMY_MAIN() { return 1; }
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
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
3776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3777 (exit $ac_status); }; }; then
3778 ac_cv_lib_intl_strftime
=yes
3780 echo "$as_me: failed program was:" >&5
3781 cat conftest.
$ac_ext >&5
3782 ac_cv_lib_intl_strftime
=no
3784 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
3785 LIBS
=$ac_check_lib_save_LIBS
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
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
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
3819 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3823 test -z "$as_dir" && as_dir
=.
3824 # Account for people who put trailing slashes in PATH elements.
3826 .
/ | .
// | /cC
/* | \
3827 /etc
/* | /usr
/sbin
/* | /usr
/etc
/* | /sbin
/* | /usr
/afsws
/bin
/* | \
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
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.
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.
3845 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
3857 if test "${ac_cv_path_install+set}" = set; then
3858 INSTALL
=$ac_cv_path_install
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
3867 echo "$as_me:$LINENO: result: $INSTALL" >&5
3868 echo "${ECHO_T}$INSTALL" >&6
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}'
3874 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
3876 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3878 for ac_prog
in 'bison -y' byacc
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
3887 if test -n "$YACC"; then
3888 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3890 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
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
3911 echo "$as_me:$LINENO: result: no" >&5
3912 echo "${ECHO_T}no" >&6
3915 test -n "$YACC" && break
3917 test -n "$YACC" || YACC
="yacc"
3920 for ac_prog
in flex
lex
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
3929 if test -n "$LEX"; then
3930 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
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
3949 if test -n "$LEX"; then
3950 echo "$as_me:$LINENO: result: $LEX" >&5
3951 echo "${ECHO_T}$LEX" >&6
3953 echo "$as_me:$LINENO: result: no" >&5
3954 echo "${ECHO_T}no" >&6
3957 test -n "$LEX" && break
3959 test -n "$LEX" || LEX
=":"
3961 if test -z "$LEXLIB"
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
3968 ac_check_lib_save_LIBS
=$LIBS
3970 cat >conftest.
$ac_ext <<_ACEOF
3971 #line $LINENO "configure"
3972 #include "confdefs.h"
3974 /* Override any gcc2 internal prototype to avoid an error. */
3978 /* We use char because int might match the return type of a gcc2
3979 builtin and then its argument prototype would still apply. */
3981 #ifdef F77_DUMMY_MAIN
3985 int F77_DUMMY_MAIN() { return 1; }
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
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
4005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4006 (exit $ac_status); }; }; then
4007 ac_cv_lib_fl_yywrap
=yes
4009 echo "$as_me: failed program was:" >&5
4010 cat conftest.
$ac_ext >&5
4011 ac_cv_lib_fl_yywrap
=no
4013 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4014 LIBS
=$ac_check_lib_save_LIBS
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
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
4026 ac_check_lib_save_LIBS
=$LIBS
4028 cat >conftest.
$ac_ext <<_ACEOF
4029 #line $LINENO "configure"
4030 #include "confdefs.h"
4032 /* Override any gcc2 internal prototype to avoid an error. */
4036 /* We use char because int might match the return type of a gcc2
4037 builtin and then its argument prototype would still apply. */
4039 #ifdef F77_DUMMY_MAIN
4043 int F77_DUMMY_MAIN() { return 1; }
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
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
4063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4064 (exit $ac_status); }; }; then
4065 ac_cv_lib_l_yywrap
=yes
4067 echo "$as_me: failed program was:" >&5
4068 cat conftest.
$ac_ext >&5
4069 ac_cv_lib_l_yywrap
=no
4071 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4072 LIBS
=$ac_check_lib_save_LIBS
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
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
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
4096 { (eval echo "$as_me:$LINENO: \"$LEX conftest.l\"") >&5
4097 (eval $LEX conftest.l
) 2>&5
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
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; }; }
4111 echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
4112 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6
4114 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
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
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
4127 LIBS
="$LIBS $LEXLIB"
4128 cat >conftest.
$ac_ext <<_ACEOF
4129 `cat $LEX_OUTPUT_ROOT.c`
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
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
4141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4142 (exit $ac_status); }; }; then
4143 ac_cv_prog_lex_yytext_pointer
=yes
4145 echo "$as_me: failed program was:" >&5
4146 cat conftest.
$ac_ext >&5
4148 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4150 rm -f "${LEX_OUTPUT_ROOT}.c"
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
4157 cat >>confdefs.h
<<\_ACEOF
4158 #define YYTEXT_POINTER 1
4164 if test "$LEX" = :; then
4165 LEX
=${am_missing_run}flex
4170 if test "$with_select" = "yes" || test "$have_sys_poll_h" = "no"; then
4172 for ac_func
in select
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
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. */
4186 /* Override any gcc2 internal prototype to avoid an error. */
4190 /* We use char because int might match the return type of a gcc2
4191 builtin and then its argument prototype would still apply. */
4195 #ifdef F77_DUMMY_MAIN
4199 int F77_DUMMY_MAIN() { return 1; }
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)
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
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
4227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4228 (exit $ac_status); }; }; then
4229 eval "$as_ac_var=yes"
4231 echo "$as_me: failed program was:" >&5
4232 cat conftest.
$ac_ext >&5
4233 eval "$as_ac_var=no"
4235 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
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
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; }; }
4261 for ac_func
in inet_aton inet_pton socket strdup strstr
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
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. */
4275 /* Override any gcc2 internal prototype to avoid an error. */
4279 /* We use char because int might match the return type of a gcc2
4280 builtin and then its argument prototype would still apply. */
4284 #ifdef F77_DUMMY_MAIN
4288 int F77_DUMMY_MAIN() { return 1; }
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)
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
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
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); }; }; then
4318 eval "$as_ac_var=yes"
4320 echo "$as_me: failed program was:" >&5
4321 cat conftest.
$ac_ext >&5
4322 eval "$as_ac_var=no"
4324 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
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
4339 for ac_func
in gethostbyname gethostbyname2
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
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. */
4353 /* Override any gcc2 internal prototype to avoid an error. */
4357 /* We use char because int might match the return type of a gcc2
4358 builtin and then its argument prototype would still apply. */
4362 #ifdef F77_DUMMY_MAIN
4366 int F77_DUMMY_MAIN() { return 1; }
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)
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
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
4394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4395 (exit $ac_status); }; }; then
4396 eval "$as_ac_var=yes"
4398 echo "$as_me: failed program was:" >&5
4399 cat conftest.
$ac_ext >&5
4400 eval "$as_ac_var=no"
4402 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
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
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
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>
4427 #ifdef F77_DUMMY_MAIN
4431 int F77_DUMMY_MAIN() { return 1; }
4436 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
4444 rm -f conftest.
$ac_objext
4445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4446 (eval $ac_compile) 2>&5
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
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>
4463 #ifdef F77_DUMMY_MAIN
4467 int F77_DUMMY_MAIN() { return 1; }
4472 #if BYTE_ORDER != BIG_ENDIAN
4480 rm -f conftest.
$ac_objext
4481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4482 (eval $ac_compile) 2>&5
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
4490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4491 (exit $ac_status); }; }; then
4492 ac_cv_c_bigendian
=yes
4494 echo "$as_me: failed program was:" >&5
4495 cat conftest.
$ac_ext >&5
4496 ac_cv_c_bigendian
=no
4498 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
4519 int F77_DUMMY_MAIN() { return 1; }
4524 _ascii (); _ebcdic ();
4529 rm -f conftest.
$ac_objext
4530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4531 (eval $ac_compile) 2>&5
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
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
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
4548 # finding both strings is unlikely to happen, but who knows?
4549 ac_cv_c_bigendian
=unknown
4553 echo "$as_me: failed program was:" >&5
4554 cat conftest.
$ac_ext >&5
4556 rm -f conftest.
$ac_objext conftest.
$ac_ext
4558 cat >conftest.
$ac_ext <<_ACEOF
4559 #line $LINENO "configure"
4560 #include "confdefs.h"
4564 /* Are we little or big endian? From Harbison&Steele. */
4568 char c[sizeof (long)];
4571 exit (u.c[sizeof (long) - 1] == 1);
4574 rm -f conftest
$ac_exeext
4575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4576 (eval $ac_link) 2>&5
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
4583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4584 (exit $ac_status); }; }; then
4585 ac_cv_c_bigendian
=no
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
4591 ac_cv_c_bigendian
=yes
4593 rm -f core core.
* *.core conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4596 rm -f conftest.
$ac_objext conftest.
$ac_ext
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
4603 cat >>confdefs.h
<<\_ACEOF
4604 #define WORDS_BIGENDIAN 1
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; }; } ;;
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
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"
4629 /* Override any gcc2 internal prototype to avoid an error. */
4633 /* We use char because int might match the return type of a gcc2
4634 builtin and then its argument prototype would still apply. */
4636 #ifdef F77_DUMMY_MAIN
4640 int F77_DUMMY_MAIN() { return 1; }
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
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
4660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4661 (exit $ac_status); }; }; then
4662 ac_cv_lib_socket_socket
=yes
4664 echo "$as_me: failed program was:" >&5
4665 cat conftest.
$ac_ext >&5
4666 ac_cv_lib_socket_socket
=no
4668 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4669 LIBS
=$ac_check_lib_save_LIBS
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
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
4683 ac_check_lib_save_LIBS
=$LIBS
4685 cat >conftest.
$ac_ext <<_ACEOF
4686 #line $LINENO "configure"
4687 #include "confdefs.h"
4689 /* Override any gcc2 internal prototype to avoid an error. */
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
4700 int F77_DUMMY_MAIN() { return 1; }
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
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
4720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4721 (exit $ac_status); }; }; then
4722 ac_cv_lib_nsl_gethostbyname
=yes
4724 echo "$as_me: failed program was:" >&5
4725 cat conftest.
$ac_ext >&5
4726 ac_cv_lib_nsl_gethostbyname
=no
4728 rm -f conftest.
$ac_objext conftest
$ac_exeext conftest.
$ac_ext
4729 LIBS
=$ac_check_lib_save_LIBS
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
4739 echo $ECHO_N "checking for POSIX-compliant goat $ECHO_C"
4740 for bleh
in 1 2 3; do
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
4749 subdirs
="$subdirs src/libopm"
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.
4759 # config.status only pays attention to the cache file if you give it
4760 # the --recheck option to rerun configure.
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
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.
4775 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4777 # `set' does not quote correctly, so add quotes (double-quote
4778 # substitution turns \\\\ into \\, and sed turns \\ into \).
4781 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4784 # `set' quotes correctly as required by POSIX, so do not add quotes.
4786 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4793 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4795 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
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
4802 echo "not updating unwritable cache $cache_file"
4807 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4808 # Let make expand exec_prefix.
4809 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
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}:*/:/;
4820 s/^\([^=]*=[ ]*\):*/\1/;
4826 DEFS
=-DHAVE_CONFIG_H
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; }; }
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; }; }
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
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.
4856 SHELL=\${CONFIG_SHELL-$SHELL}
4859 cat >>$CONFIG_STATUS <<\_ACEOF
4861 ## --------------------- ##
4862 ## M4sh Initialization. ##
4863 ## --------------------- ##
4865 # Be Bourne compatible
4866 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
4869 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
4874 # Support unset when possible.
4875 if (FOO
=FOO
; unset FOO
) >/dev
/null
2>&1; then
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
; }
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 ||
4914 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
4915 /^X\/\(\/\/\)$/{ s//\1/; q; }
4916 /^X\/\(\/\).*/{ s//\1/; q; }
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
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
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
4949 *[\\/]* ) as_myself
=$0 ;;
4950 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4954 test -z "$as_dir" && as_dir
=.
4955 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
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
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; }; }
4970 case $CONFIG_SHELL in
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4973 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
4976 test -z "$as_dir" && as_dir
=.
4977 for as_base
in sh bash ksh sh5
; do
4980 if ("$as_dir/$as_base" -c '
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
4988 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
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 |
5009 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5012 s,^['$as_cr_digits']*\n,,
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; }; }
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).
5023 # Exit status is that of the last command.
5028 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5029 *c
*,-n*) ECHO_N
= ECHO_C
='
5031 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5032 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5035 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5041 rm -f conf$$ conf$$.exe 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
5052 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5057 rm -f conf$$ conf$$.exe conf$$.
file
5059 as_executable_p
="test -f"
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"
5064 # Sed expression to map a string onto a valid variable name.
5065 as_tr_sh
="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
5069 # We need space, tab and new line, in precisely that order.
5075 $as_unset CDPATH
|| test "${CDPATH+set}" != set || { CDPATH
=$PATH_SEPARATOR; export CDPATH
; }
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.
5085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5086 ## Running $as_me. ##
5091 This file was extended by bopm $as_me 3.0, which was
5092 generated by GNU Autoconf 2.53. Invocation command line was
5094 CONFIG_FILES = $CONFIG_FILES
5095 CONFIG_HEADERS = $CONFIG_HEADERS
5096 CONFIG_LINKS = $CONFIG_LINKS
5097 CONFIG_COMMANDS = $CONFIG_COMMANDS
5101 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
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
5110 if test -n "$ac_config_headers"; then
5111 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5114 if test -n "$ac_config_links"; then
5115 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5118 if test -n "$ac_config_commands"; then
5119 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5122 cat >>$CONFIG_STATUS <<\_ACEOF
5125 \`$as_me' instantiates files from templates according to the
5126 current configuration.
5128 Usage: $0 [OPTIONS] [FILE]...
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
5139 Configuration files:
5142 Configuration headers:
5145 Configuration commands:
5148 Report bugs to <bug-autoconf@gnu.org>."
5151 cat >>$CONFIG_STATUS <<_ACEOF
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'`\\"
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."
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.
5173 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5174 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5176 set dummy
"$ac_option" "$ac_optarg" ${1+"$@"}
5180 *) # This is not an option, so the user has probably given explicit
5182 ac_need_defaults
=false
;;
5186 # Handling of the options.
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 ;;
5193 cat >>$CONFIG_STATUS <<\_ACEOF
5194 --version | --vers* | -V )
5195 echo "$ac_cs_version"; exit 0 ;;
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 )
5207 --file | --fil | --fi | --f )
5209 CONFIG_FILES
="$CONFIG_FILES $1"
5210 ac_need_defaults
=false
;;
5211 --header | --heade | --head | --hea )
5213 CONFIG_HEADERS
="$CONFIG_HEADERS $1"
5214 ac_need_defaults
=false
;;
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; }; } ;;
5223 *) ac_config_targets
="$ac_config_targets $1" ;;
5231 cat >>$CONFIG_STATUS <<_ACEOF
5233 # INIT-COMMANDS section.
5236 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
5242 cat >>$CONFIG_STATUS <<\_ACEOF
5243 for ac_config_target
in $ac_config_targets
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; }; };;
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
5267 # Create a temporary directory, and hook for its removal unless debugging.
5270 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5271 trap '{ (exit 1); exit 1; }' 1 2 13 15
5274 # Create a (secure) tmp directory for tmp files.
5277 tmp
=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
5278 test -n "$tmp" && test -d "$tmp"
5281 tmp
=$TMPDIR/cs$$
-$RANDOM
5282 (umask 077 && mkdir $tmp)
5285 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
5286 { (exit 1); exit 1; }
5291 cat >>$CONFIG_STATUS <<_ACEOF
5294 # CONFIG_FILES section.
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
5329 s,@ECHO_C@,$ECHO_C,;t t
5330 s,@ECHO_N@,$ECHO_N,;t t
5331 s,@ECHO_T@,$ECHO_T,;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
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
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
5370 s,@LEXLIB@,$LEXLIB,;t t
5371 s,@LEX_OUTPUT_ROOT@,$LEX_OUTPUT_ROOT,;t t
5372 s,@LSOCKET@,$LSOCKET,;t t
5374 s,@subdirs@,$subdirs,;t t
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.
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.
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
5392 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5394 if test ! -s $tmp/subs.frag
; then
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.
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"
5406 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5408 ac_sed_frag
=`expr $ac_sed_frag + 1`
5410 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5413 if test -z "$ac_sed_cmds"; then
5416 fi # test -n "$CONFIG_FILES"
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".
5423 - | *:- | *:-:* ) # input from 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 ;;
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 ||
5440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5441 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5442 /^X\(\/\/\)$/{ s//\1/; q; }
5443 /^X\(\/\).*/{ s//\1/; q; }
5446 [\\/]* | ?
:[\\/]* ) as_incr_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 ;;
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; }; }
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'`
5472 ac_dir_suffix
= ac_top_builddir
=
5476 .
) # No --srcdir option. We are building in place.
5478 if test -z "$ac_top_builddir"; then
5481 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5483 [\\/]* | ?
:[\\/]* ) # Absolute path.
5484 ac_srcdir
=$srcdir$ac_dir_suffix;
5485 ac_top_srcdir
=$srcdir ;;
5487 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5488 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5490 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
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`
5499 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
5500 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
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;}
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
5514 configure_input
="$ac_file. "
5516 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5517 sed 's,.*/,,'` by configure."
5519 # First look for the input files in the build tree, otherwise in the
5521 ac_file_inputs
=`IFS=:
5522 for f in $ac_file_in; do
5524 -) echo $tmp/stdin ;;
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; }; }
5532 if test -f "$f"; then
5535 elif test -f "$srcdir/$f"; then
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; }; }
5545 done` || { (exit 1); exit 1; }
5547 cat >>$CONFIG_STATUS <<_ACEOF
5551 cat >>$CONFIG_STATUS <<\_ACEOF
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
5566 if test x"$ac_file" != x-; then
5567 mv $tmp/out $ac_file
5575 cat >>$CONFIG_STATUS <<\_ACEOF
5578 # CONFIG_HEADER section.
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.
5584 # ac_d sets the value in "#define NAME VALUE" lines.
5585 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
5586 ac_dB
='[ ].*$,\1#\2'
5589 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
5590 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
5591 ac_uB
='$,\1#\2define\3'
5595 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
5596 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5598 - | *:- | *:-:* ) # input from 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 ;;
5607 test x
"$ac_file" != x
- && { echo "$as_me:$LINENO: creating $ac_file" >&5
5608 echo "$as_me: creating $ac_file" >&6;}
5610 # First look for the input files in the build tree, otherwise in the
5612 ac_file_inputs
=`IFS=:
5613 for f in $ac_file_in; do
5615 -) echo $tmp/stdin ;;
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; }; }
5623 if test -f "$f"; then
5626 elif test -f "$srcdir/$f"; then
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; }; }
5636 done` || { (exit 1); exit 1; }
5637 # Remove the trailing spaces.
5638 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
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
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.
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
5661 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
5663 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
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
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]*,/* & */,
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
5687 while grep . conftest.defines >/dev/null
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
5698 sed -f $tmp/defines.sed $tmp/in >$tmp/out
5702 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
5703 rm -f conftest.defines
5704 mv conftest.
tail conftest.defines
5706 rm -f conftest.defines
5707 echo ' fi # egrep' >>$CONFIG_STATUS
5708 echo >>$CONFIG_STATUS
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
5714 while grep . conftest.undefs
>/dev
/null
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
5725 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
5729 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
5730 rm -f conftest.undefs
5731 mv conftest.tail conftest.undefs
5733 rm -f conftest.undefs
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
5742 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
5744 cat $tmp/in >>$tmp/config.h
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;}
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 ||
5758 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5759 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5760 /^X\(\/\/\)$/{ s//\1/; q; }
5761 /^X\(\/\).*/{ s//\1/; q; }
5764 [\\/]* | ?
:[\\/]* ) as_incr_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 ;;
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; }; }
5784 mv $tmp/config.h
$ac_file
5790 # Run the commands associated with the file.
5792 src
/setup.h
) # update the timestamp
5793 echo 'timestamp for src/setup.h' >"src/stamp-h1"
5798 cat >>$CONFIG_STATUS <<\_ACEOF
5801 # CONFIG_COMMANDS section.
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 ||
5813 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5814 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5815 /^X\(\/\/\)$/{ s//\1/; q; }
5816 /^X\(\/\).*/{ s//\1/; q; }
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'`
5825 ac_dir_suffix
= ac_top_builddir
=
5829 .
) # No --srcdir option. We are building in place.
5831 if test -z "$ac_top_builddir"; then
5834 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5836 [\\/]* | ?
:[\\/]* ) # Absolute path.
5837 ac_srcdir
=$srcdir$ac_dir_suffix;
5838 ac_top_srcdir
=$srcdir ;;
5840 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5841 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5843 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
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`
5851 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
5852 echo "$as_me: executing $ac_dest commands" >&6;}
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 ||
5871 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5872 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5873 /^X\(\/\/\)$/{ s//\1/; q; }
5874 /^X\(\/\).*/{ s//\1/; q; }
5879 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null
|| continue
5880 # Extract the definition of DEP_FILES from the Makefile without
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 = .*\\\\$/ {
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 ||
5910 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5911 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5912 /^X\(\/\/\)$/{ s//\1/; q; }
5913 /^X\(\/\).*/{ s//\1/; q; }
5915 { case $dirpart/$fdir in
5916 [\\/]* | ?
:[\\/]* ) as_incr_dir
=;;
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 ;;
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; }; }
5935 # echo "creating $dirpart/$file"
5936 echo '# dummy' > "$dirpart/$file"
5944 cat >>$CONFIG_STATUS <<\_ACEOF
5946 { (exit 0); exit 0; }
5948 chmod +x
$CONFIG_STATUS
5949 ac_clean_files
=$ac_clean_files_save
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
5963 $SHELL $CONFIG_STATUS || ac_cs_success
=false
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; }
5971 # CONFIG_SUBDIRS section.
5973 if test "$no_recursion" != yes; then
5975 # Remove --cache-file and --srcdir arguments so they do not pile up.
5976 ac_sub_configure_args
=
5978 for ac_arg
in $ac_configure_args; do
5979 if test -n "$ac_prev"; then
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=* \
5991 --config-cache | -C)
5993 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
5995 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
5997 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
5999 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
6001 *) ac_sub_configure_args
="$ac_sub_configure_args $ac_arg" ;;
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"
6010 for ac_dir
in : $subdirs; do test "x$ac_dir" = x
: && continue
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
6016 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
6017 echo "$as_me: configuring in $ac_dir" >&6;}
6019 [\\/]* | ?
:[\\/]* ) as_incr_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 ;;
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; }; }
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'`
6045 ac_dir_suffix
= ac_top_builddir
=
6049 .
) # No --srcdir option. We are building in place.
6051 if test -z "$ac_top_builddir"; then
6054 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
6056 [\\/]* | ?
:[\\/]* ) # Absolute path.
6057 ac_srcdir
=$srcdir$ac_dir_suffix;
6058 ac_top_srcdir
=$srcdir ;;
6060 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
6061 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
6063 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
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`
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
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;}
6086 # The recursion is here.
6087 if test -n "$ac_sub_configure"; then
6088 # Make the cache file name correct relative to the subdirectory.
6090 [\\/]* | ?
:[\\/]* ) ac_sub_cache_file
=$cache_file ;;
6092 ac_sub_cache_file
=$ac_top_builddir$cache_file ;;
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; }; }
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."
6115 echo "bopm will be installed in ${prefix}. To change this, run:"
6116 echo " ./configure --prefix=DIRECTORY"
6118 echo "If possible, PLEASE CONTRIBUTE TO OUR DNSBL BY REPORTING YOUR PROXIES!!"
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."
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."
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."
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 "##############################################################################"