2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for WMBiff 0.4.27.
5 # Report bugs to <wmbiff-devel@lists.sourceforge.net>.
7 # Copyright (C) 2003 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be Bourne compatible
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
24 DUALCASE
=1; export DUALCASE
# for MKS sh
26 # Support unset when possible.
27 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
34 # Work around bugs in pre-3.0 UWIN ksh.
35 $as_unset ENV MAIL MAILPATH
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
46 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C
; export $as_var
53 # Required to use basename.
54 if expr a
: '\(a\)' >/dev
/null
2>&1; then
60 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
67 # Name of the executable.
68 as_me
=`$as_basename "$0" ||
69 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
80 # PATH needs CR, and LINENO needs CR and PATH.
81 # Avoid depending upon Character Ranges.
82 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
83 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
85 as_cr_digits
='0123456789'
86 as_cr_alnum
=$as_cr_Letters$as_cr_digits
88 # The user is always right.
89 if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
93 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
104 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
107 # Find who we are. Look in the path if we contain no path at all
110 *[\\/]* ) as_myself
=$0 ;;
111 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
115 test -z "$as_dir" && as_dir
=.
116 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x
; then
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
130 case $CONFIG_SHELL in
132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
133 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
136 test -z "$as_dir" && as_dir
=.
137 for as_base
in sh bash ksh sh5
; do
140 if ("$as_dir/$as_base" -c '
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
146 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
147 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
148 CONFIG_SHELL
=$as_dir/$as_base
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
174 s,^['$as_cr_digits']*\n,,
176 chmod +x
$as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
184 # Exit status is that of the last command.
189 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c
*,-n*) ECHO_N
= ECHO_C
='
192 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
193 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
196 if expr a
: '\(a\)' >/dev
/null
2>&1; then
202 rm -f conf$$ conf$$.exe conf$$.
file
204 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe
; then
208 # Don't use ln at all; we don't have any links
213 elif ln conf$$.
file conf$$
2>/dev
/null
; then
218 rm -f conf$$ conf$$.exe conf$$.
file
220 if mkdir
-p .
2>/dev
/null
; then
223 test -d .
/-p && rmdir .
/-p
227 as_executable_p
="test -f"
229 # Sed expression to map a string onto a valid CPP name.
230 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232 # Sed expression to map a string onto a valid variable name.
233 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
237 # We need space, tab and new line, in precisely that order.
247 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248 # so uname gets run too.
249 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
256 ac_default_prefix
=/usr
/local
257 ac_config_libobj_dir
=.
262 SHELL
=${CONFIG_SHELL-/bin/sh}
264 # Maximum number of lines to put in a shell here document.
265 # This variable seems obsolete. It should probably be removed, and
266 # only ac_max_sed_lines should be used.
267 : ${ac_max_here_lines=38}
269 # Identity of this package.
270 PACKAGE_NAME
='WMBiff'
271 PACKAGE_TARNAME
='wmbiff'
272 PACKAGE_VERSION
='0.4.27'
273 PACKAGE_STRING
='WMBiff 0.4.27'
274 PACKAGE_BUGREPORT
='wmbiff-devel@lists.sourceforge.net'
276 # Factoring default headers for most tests.
277 ac_includes_default
="\
280 # include <sys/types.h>
283 # include <sys/stat.h>
294 # if !STDC_HEADERS && HAVE_MEMORY_H
300 # include <strings.h>
303 # include <inttypes.h>
313 ac_subst_vars
='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE RANLIB ac_ct_RANLIB CPP EGREP LIBGNUTLS_CONFIG LIBGNUTLS_CFLAGS LIBGNUTLS_LIBS LIBGCRYPT_CONFIG LIBGCRYPT_CFLAGS LIBGCRYPT_LIBS GNUTLS_MAN_STATUS GCRYPT_MAN_STATUS GNUTLS_COMMON_O X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS DEFAULT_ASKPASS CVS2CL SKINDIR LIBOBJS LTLIBOBJS'
316 # Initialize some variables set by options.
318 ac_init_version
=false
319 # The variables have the same names as the options, with
320 # dashes changed to underlines.
328 program_transform_name
=s
,x
,x
,
336 # Installation directory options.
337 # These are left unexpanded so users can "make install exec_prefix=/foo"
338 # and all the variables that are supposed to be based on exec_prefix
339 # by default will actually change.
340 # Use braces instead of parens because sh, perl, etc. also accept them.
341 bindir
='${exec_prefix}/bin'
342 sbindir
='${exec_prefix}/sbin'
343 libexecdir
='${exec_prefix}/libexec'
344 datadir
='${prefix}/share'
345 sysconfdir
='${prefix}/etc'
346 sharedstatedir
='${prefix}/com'
347 localstatedir
='${prefix}/var'
348 libdir
='${exec_prefix}/lib'
349 includedir
='${prefix}/include'
350 oldincludedir
='/usr/include'
351 infodir
='${prefix}/info'
352 mandir
='${prefix}/man'
357 # If the previous option needs an argument, assign it.
358 if test -n "$ac_prev"; then
359 eval "$ac_prev=\$ac_option"
364 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366 # Accept the important Cygnus configure options, so we can diagnose typos.
370 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
372 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
375 -build |
--build |
--buil |
--bui |
--bu)
376 ac_prev
=build_alias
;;
377 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
378 build_alias
=$ac_optarg ;;
380 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
381 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
382 ac_prev
=cache_file
;;
383 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
384 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
385 cache_file
=$ac_optarg ;;
388 cache_file
=config.cache
;;
390 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
392 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
394 datadir
=$ac_optarg ;;
396 -disable-* |
--disable-*)
397 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
398 # Reject names that are not valid shell variable names.
399 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
400 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
401 { (exit 1); exit 1; }; }
402 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
403 eval "enable_$ac_feature=no" ;;
405 -enable-* |
--enable-*)
406 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
407 # Reject names that are not valid shell variable names.
408 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
409 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
410 { (exit 1); exit 1; }; }
411 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
413 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
416 eval "enable_$ac_feature='$ac_optarg'" ;;
418 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
419 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
420 |
--exec |
--exe |
--ex)
421 ac_prev
=exec_prefix
;;
422 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
423 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
424 |
--exec=* |
--exe=* |
--ex=*)
425 exec_prefix
=$ac_optarg ;;
427 -gas |
--gas |
--ga |
--g)
428 # Obsolete; use --with-gas.
431 -help |
--help |
--hel |
--he |
-h)
433 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
434 ac_init_help
=recursive
;;
435 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
436 ac_init_help
=short
;;
438 -host |
--host |
--hos |
--ho)
439 ac_prev
=host_alias
;;
440 -host=* |
--host=* |
--hos=* |
--ho=*)
441 host_alias
=$ac_optarg ;;
443 -includedir |
--includedir |
--includedi |
--included |
--include \
444 |
--includ |
--inclu |
--incl |
--inc)
445 ac_prev
=includedir
;;
446 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
447 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
448 includedir
=$ac_optarg ;;
450 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
452 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
453 infodir
=$ac_optarg ;;
455 -libdir |
--libdir |
--libdi |
--libd)
457 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
460 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
461 |
--libexe |
--libex |
--libe)
462 ac_prev
=libexecdir
;;
463 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
464 |
--libexe=* |
--libex=* |
--libe=*)
465 libexecdir
=$ac_optarg ;;
467 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
468 |
--localstate |
--localstat |
--localsta |
--localst \
469 |
--locals |
--local |
--loca |
--loc |
--lo)
470 ac_prev
=localstatedir
;;
471 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
472 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
473 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
474 localstatedir
=$ac_optarg ;;
476 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
478 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
482 # Obsolete; use --without-fp.
485 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
486 |
--no-cr |
--no-c |
-n)
489 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
490 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
493 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
494 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
495 |
--oldin |
--oldi |
--old |
--ol |
--o)
496 ac_prev
=oldincludedir
;;
497 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
498 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
499 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
500 oldincludedir
=$ac_optarg ;;
502 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
504 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
507 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
508 |
--program-pre |
--program-pr |
--program-p)
509 ac_prev
=program_prefix
;;
510 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
511 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
512 program_prefix
=$ac_optarg ;;
514 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
515 |
--program-suf |
--program-su |
--program-s)
516 ac_prev
=program_suffix
;;
517 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
518 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
519 program_suffix
=$ac_optarg ;;
521 -program-transform-name |
--program-transform-name \
522 |
--program-transform-nam |
--program-transform-na \
523 |
--program-transform-n |
--program-transform- \
524 |
--program-transform |
--program-transfor \
525 |
--program-transfo |
--program-transf \
526 |
--program-trans |
--program-tran \
527 |
--progr-tra |
--program-tr |
--program-t)
528 ac_prev
=program_transform_name
;;
529 -program-transform-name=* |
--program-transform-name=* \
530 |
--program-transform-nam=* |
--program-transform-na=* \
531 |
--program-transform-n=* |
--program-transform-=* \
532 |
--program-transform=* |
--program-transfor=* \
533 |
--program-transfo=* |
--program-transf=* \
534 |
--program-trans=* |
--program-tran=* \
535 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
536 program_transform_name
=$ac_optarg ;;
538 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
539 |
-silent |
--silent |
--silen |
--sile |
--sil)
542 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
544 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
546 sbindir
=$ac_optarg ;;
548 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
549 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
550 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
552 ac_prev
=sharedstatedir
;;
553 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
554 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
555 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
557 sharedstatedir
=$ac_optarg ;;
559 -site |
--site |
--sit)
561 -site=* |
--site=* |
--sit=*)
564 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
566 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
569 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
570 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
571 ac_prev
=sysconfdir
;;
572 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
573 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
574 sysconfdir
=$ac_optarg ;;
576 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
577 ac_prev
=target_alias
;;
578 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
579 target_alias
=$ac_optarg ;;
581 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
584 -version |
--version |
--versio |
--versi |
--vers |
-V)
588 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
589 # Reject names that are not valid shell variable names.
590 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
591 { echo "$as_me: error: invalid package name: $ac_package" >&2
592 { (exit 1); exit 1; }; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
595 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
598 eval "with_$ac_package='$ac_optarg'" ;;
600 -without-* |
--without-*)
601 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
602 # Reject names that are not valid shell variable names.
603 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
604 { echo "$as_me: error: invalid package name: $ac_package" >&2
605 { (exit 1); exit 1; }; }
606 ac_package
=`echo $ac_package | sed 's/-/_/g'`
607 eval "with_$ac_package=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
614 |
--x-incl |
--x-inc |
--x-in |
--x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
617 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
618 x_includes
=$ac_optarg ;;
620 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
621 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
624 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
625 x_libraries
=$ac_optarg ;;
627 -*) { echo "$as_me: error: unrecognized option: $ac_option
628 Try \`$0 --help' for more information." >&2
629 { (exit 1); exit 1; }; }
633 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
634 # Reject names that are not valid shell variable names.
635 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
636 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
637 { (exit 1); exit 1; }; }
638 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
639 eval "$ac_envvar='$ac_optarg'"
643 # FIXME: should be removed in autoconf 3.0.
644 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
645 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
646 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
647 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
653 if test -n "$ac_prev"; then
654 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
655 { echo "$as_me: error: missing argument to $ac_option" >&2
656 { (exit 1); exit 1; }; }
659 # Be sure to have absolute paths.
660 for ac_var
in exec_prefix prefix
662 eval ac_val
=$
`echo $ac_var`
664 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
665 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
666 { (exit 1); exit 1; }; };;
670 # Be sure to have absolute paths.
671 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
672 localstatedir libdir includedir oldincludedir infodir mandir
674 eval ac_val
=$
`echo $ac_var`
676 [\\/$
]* | ?
:[\\/]* ) ;;
677 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
678 { (exit 1); exit 1; }; };;
682 # There might be people who depend on the old broken behavior: `$host'
683 # used to hold the argument of --host etc.
684 # FIXME: To remove some day.
689 # FIXME: To remove some day.
690 if test "x$host_alias" != x
; then
691 if test "x$build_alias" = x
; then
692 cross_compiling
=maybe
693 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
694 If a cross compiler is detected then cross compile mode will be used." >&2
695 elif test "x$build_alias" != "x$host_alias"; then
701 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
703 test "$silent" = yes && exec 6>/dev
/null
706 # Find the source files, if location was not specified.
707 if test -z "$srcdir"; then
708 ac_srcdir_defaulted
=yes
709 # Try the directory containing this script, then its parent.
710 ac_confdir
=`(dirname "$0") 2>/dev/null ||
711 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
712 X"$0" : 'X\(//\)[^/]' \| \
713 X"$0" : 'X\(//\)$' \| \
714 X"$0" : 'X\(/\)' \| \
715 . : '\(.\)' 2>/dev/null ||
717 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
718 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
719 /^X\(\/\/\)$/{ s//\1/; q; }
720 /^X\(\/\).*/{ s//\1/; q; }
723 if test ! -r $srcdir/$ac_unique_file; then
727 ac_srcdir_defaulted
=no
729 if test ! -r $srcdir/$ac_unique_file; then
730 if test "$ac_srcdir_defaulted" = yes; then
731 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
732 { (exit 1); exit 1; }; }
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
735 { (exit 1); exit 1; }; }
738 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
739 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
740 { (exit 1); exit 1; }; }
741 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
742 ac_env_build_alias_set
=${build_alias+set}
743 ac_env_build_alias_value
=$build_alias
744 ac_cv_env_build_alias_set
=${build_alias+set}
745 ac_cv_env_build_alias_value
=$build_alias
746 ac_env_host_alias_set
=${host_alias+set}
747 ac_env_host_alias_value
=$host_alias
748 ac_cv_env_host_alias_set
=${host_alias+set}
749 ac_cv_env_host_alias_value
=$host_alias
750 ac_env_target_alias_set
=${target_alias+set}
751 ac_env_target_alias_value
=$target_alias
752 ac_cv_env_target_alias_set
=${target_alias+set}
753 ac_cv_env_target_alias_value
=$target_alias
754 ac_env_CC_set
=${CC+set}
756 ac_cv_env_CC_set
=${CC+set}
757 ac_cv_env_CC_value
=$CC
758 ac_env_CFLAGS_set
=${CFLAGS+set}
759 ac_env_CFLAGS_value
=$CFLAGS
760 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
761 ac_cv_env_CFLAGS_value
=$CFLAGS
762 ac_env_LDFLAGS_set
=${LDFLAGS+set}
763 ac_env_LDFLAGS_value
=$LDFLAGS
764 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
765 ac_cv_env_LDFLAGS_value
=$LDFLAGS
766 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
767 ac_env_CPPFLAGS_value
=$CPPFLAGS
768 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
769 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
770 ac_env_CPP_set
=${CPP+set}
771 ac_env_CPP_value
=$CPP
772 ac_cv_env_CPP_set
=${CPP+set}
773 ac_cv_env_CPP_value
=$CPP
776 # Report the --help message.
778 if test "$ac_init_help" = "long"; then
779 # Omit some internal or obsolete options to make the list less imposing.
780 # This message is too long to be a string in the A/UX 3.1 sh.
782 \`configure' configures WMBiff 0.4.27 to adapt to many kinds of systems.
784 Usage: $0 [OPTION]... [VAR=VALUE]...
786 To assign environment variables (e.g., CC, CFLAGS...), specify them as
787 VAR=VALUE. See below for descriptions of some of the useful variables.
789 Defaults for the options are specified in brackets.
792 -h, --help display this help and exit
793 --help=short display options specific to this package
794 --help=recursive display the short help of all the included packages
795 -V, --version display version information and exit
796 -q, --quiet, --silent do not print \`checking...' messages
797 --cache-file=FILE cache test results in FILE [disabled]
798 -C, --config-cache alias for \`--cache-file=config.cache'
799 -n, --no-create do not create output files
800 --srcdir=DIR find the sources in DIR [configure dir or \`..']
805 Installation directories:
806 --prefix=PREFIX install architecture-independent files in PREFIX
808 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
811 By default, \`make install' will install all the files in
812 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
813 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
814 for instance \`--prefix=\$HOME'.
816 For better control, use the options below.
818 Fine tuning of the installation directories:
819 --bindir=DIR user executables [EPREFIX/bin]
820 --sbindir=DIR system admin executables [EPREFIX/sbin]
821 --libexecdir=DIR program executables [EPREFIX/libexec]
822 --datadir=DIR read-only architecture-independent data [PREFIX/share]
823 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
824 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
825 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
826 --libdir=DIR object code libraries [EPREFIX/lib]
827 --includedir=DIR C header files [PREFIX/include]
828 --oldincludedir=DIR C header files for non-gcc [/usr/include]
829 --infodir=DIR info documentation [PREFIX/info]
830 --mandir=DIR man documentation [PREFIX/man]
836 --program-prefix=PREFIX prepend PREFIX to installed program names
837 --program-suffix=SUFFIX append SUFFIX to installed program names
838 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
841 --x-includes=DIR X include files are
in DIR
842 --x-libraries=DIR X library files are
in DIR
846 if test -n "$ac_init_help"; then
847 case $ac_init_help in
848 short | recursive
) echo "Configuration of WMBiff 0.4.27:";;
853 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
854 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
855 --disable-dependency-tracking Speeds up one-time builds
856 --enable-dependency-tracking Do not reject slow dependency extractors
857 --disable-crypto disable gnutls
/gcrypt
858 --disable-libgcrypttest Do not try to compile and run a
test libgcrypt program
861 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
862 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
863 --with-libgnutls-prefix=PFX Prefix where libgnutls is installed
(optional
)
864 --with-libgcrypt-prefix=PFX Prefix where libgcrypt is installed
(optional
)
865 --with-x use the X Window System
867 Some influential environment variables
:
868 CC C compiler
command
869 CFLAGS C compiler flags
870 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
871 nonstandard directory
<lib dir
>
872 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
873 headers
in a nonstandard directory
<include dir
>
876 Use these variables to override the choices made by
`configure' or to help
877 it to find libraries and programs with nonstandard names/locations.
879 Report bugs to <wmbiff-devel@lists.sourceforge.net>.
883 if test "$ac_init_help" = "recursive"; then
884 # If there are subdirs, report their specific --help.
886 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
887 test -d $ac_dir || continue
890 if test "$ac_dir" != .; then
891 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
892 # A "../" for each directory in $ac_dir_suffix.
893 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
895 ac_dir_suffix= ac_top_builddir=
899 .) # No --srcdir option. We are building in place.
901 if test -z "$ac_top_builddir"; then
904 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
906 [\\/]* | ?:[\\/]* ) # Absolute path.
907 ac_srcdir=$srcdir$ac_dir_suffix;
908 ac_top_srcdir=$srcdir ;;
910 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
911 ac_top_srcdir=$ac_top_builddir$srcdir ;;
914 # Do not use `cd foo
&& pwd` to compute absolute paths, because
915 # the directories may not exist.
917 .) ac_abs_builddir="$ac_dir";;
920 .) ac_abs_builddir=`pwd`;;
921 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
922 *) ac_abs_builddir=`pwd`/"$ac_dir";;
925 case $ac_abs_builddir in
926 .) ac_abs_top_builddir=${ac_top_builddir}.;;
928 case ${ac_top_builddir}. in
929 .) ac_abs_top_builddir=$ac_abs_builddir;;
930 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
931 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
934 case $ac_abs_builddir in
935 .) ac_abs_srcdir=$ac_srcdir;;
938 .) ac_abs_srcdir=$ac_abs_builddir;;
939 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
940 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
943 case $ac_abs_builddir in
944 .) ac_abs_top_srcdir=$ac_top_srcdir;;
946 case $ac_top_srcdir in
947 .) ac_abs_top_srcdir=$ac_abs_builddir;;
948 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
949 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
954 # Check for guested configure; otherwise get Cygnus style configure.
955 if test -f $ac_srcdir/configure.gnu; then
957 $SHELL $ac_srcdir/configure.gnu --help=recursive
958 elif test -f $ac_srcdir/configure; then
960 $SHELL $ac_srcdir/configure --help=recursive
961 elif test -f $ac_srcdir/configure.ac ||
962 test -f $ac_srcdir/configure.in; then
966 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
972 test -n "$ac_init_help" && exit 0
973 if $ac_init_version; then
975 WMBiff configure 0.4.27
976 generated by GNU Autoconf 2.59
978 Copyright (C) 2003 Free Software Foundation, Inc.
979 This configure script is free software; the Free Software Foundation
980 gives unlimited permission to copy, distribute and modify it.
986 This file contains any messages produced by compilers while
987 running configure, to aid debugging if configure makes a mistake.
989 It was created by WMBiff $as_me 0.4.27, which was
990 generated by GNU Autoconf 2.59. Invocation command line was
1001 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1002 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1003 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1004 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1005 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1007 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1008 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1010 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1011 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1012 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1013 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1014 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1015 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1016 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1024 test -z "$as_dir" && as_dir=.
1025 echo "PATH: $as_dir"
1040 # Keep a trace of the command line.
1041 # Strip out --no-create and --no-recursion so they do not pile up.
1042 # Strip out --silent because we don't want to record it for future runs.
1043 # Also quote any args containing shell meta-characters.
1044 # Make two passes to allow for proper duplicate-argument suppression.
1049 ac_must_keep_next=false
1055 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1056 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1057 | -silent | --silent | --silen | --sile | --sil)
1059 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1060 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1063 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1065 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1066 if test $ac_must_keep_next = true; then
1067 ac_must_keep_next=false # Got value, back to normal.
1070 *=* | --config-cache | -C | -disable-* | --disable-* \
1071 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1072 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1073 | -with-* | --with-* | -without-* | --without-* | --x)
1074 case "$ac_configure_args0 " in
1075 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1078 -* ) ac_must_keep_next=true ;;
1081 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1082 # Get rid of the leading space.
1088 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1089 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1091 # When interrupted or exit'd, cleanup temporary files, and complete
1092 # config.log. We remove comments because anyway the quotes in there
1093 # would cause problems or look ugly.
1094 # WARNING: Be sure not to use single quotes in there, as some shells,
1095 # such as our DU 5.0 friend, will then `close
' the trap.
1096 trap 'exit_status
=$?
1097 # Save into config.log some information that might help in debugging.
1102 ## ---------------- ##
1103 ## Cache variables. ##
1104 ## ---------------- ##
1107 # The following way of writing the cache mishandles newlines in values,
1110 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1113 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1114 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1118 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1125 ## ----------------- ##
1126 ## Output variables. ##
1127 ## ----------------- ##
1130 for ac_var
in $ac_subst_vars
1132 eval ac_val
=$
`echo $ac_var`
1133 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -n "$ac_subst_files"; then
1144 for ac_var
in $ac_subst_files
1146 eval ac_val
=$
`echo $ac_var`
1147 echo "$ac_var='"'"'$ac_val'"'"'"
1152 if test -s confdefs.h
; then
1159 sed "/^$/d" confdefs.h |
sort
1162 test "$ac_signal" != 0 &&
1163 echo "$as_me: caught signal $ac_signal"
1164 echo "$as_me: exit $exit_status"
1166 rm -f core
*.core
&&
1167 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1170 for ac_signal in 1 2 13 15; do
1171 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1175 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1176 rm -rf conftest* confdefs.h
1177 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1180 # Predefined preprocessor variables.
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_NAME "$PACKAGE_NAME"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1197 cat >>confdefs.h <<_ACEOF
1198 #define PACKAGE_STRING "$PACKAGE_STRING"
1202 cat >>confdefs.h <<_ACEOF
1203 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1207 # Let the site file select an alternate cache file if it wants to.
1208 # Prefer explicitly selected file to automatically selected ones.
1209 if test -z "$CONFIG_SITE"; then
1210 if test "x$prefix" != xNONE; then
1211 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1213 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1216 for ac_site_file in $CONFIG_SITE; do
1217 if test -r "$ac_site_file"; then
1218 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1219 echo "$as_me: loading site script $ac_site_file" >&6;}
1220 sed 's
/^
/|
/' "$ac_site_file" >&5
1225 if test -r "$cache_file"; then
1226 # Some versions of bash will fail to source /dev/null (special
1227 # files actually), so we avoid doing that.
1228 if test -f "$cache_file"; then
1229 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1230 echo "$as_me: loading cache $cache_file" >&6;}
1232 [\\/]* | ?:[\\/]* ) . $cache_file;;
1233 *) . ./$cache_file;;
1237 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1238 echo "$as_me: creating cache $cache_file" >&6;}
1242 # Check that the precious variables saved in the cache have kept the same
1244 ac_cache_corrupted=false
1245 for ac_var in `(set) 2>&1 |
1246 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1247 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1248 eval ac_new_set=\$ac_env_${ac_var}_set
1249 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1250 eval ac_new_val="\$ac_env_${ac_var}_value"
1251 case $ac_old_set,$ac_new_set in
1253 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1254 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1255 ac_cache_corrupted=: ;;
1257 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1258 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1259 ac_cache_corrupted=: ;;
1262 if test "x$ac_old_val" != "x$ac_new_val"; then
1263 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1264 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1265 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1266 echo "$as_me: former value: $ac_old_val" >&2;}
1267 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1268 echo "$as_me: current value: $ac_new_val" >&2;}
1269 ac_cache_corrupted=:
1272 # Pass precious variables to config.status.
1273 if test "$ac_new_set" = set; then
1275 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1276 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1277 *) ac_arg=$ac_var=$ac_new_val ;;
1279 case " $ac_configure_args " in
1280 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1281 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1285 if $ac_cache_corrupted; then
1286 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1287 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1288 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1289 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1290 { (exit 1); exit 1; }; }
1294 ac_cpp='$CPP $CPPFLAGS'
1295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1296 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1326 for ac_dir in autoconf $srcdir/autoconf; do
1327 if test -f $ac_dir/install-sh; then
1329 ac_install_sh="$ac_aux_dir/install-sh -c"
1331 elif test -f $ac_dir/install.sh; then
1333 ac_install_sh="$ac_aux_dir/install.sh -c"
1335 elif test -f $ac_dir/shtool; then
1337 ac_install_sh="$ac_aux_dir/shtool install -c"
1341 if test -z "$ac_aux_dir"; then
1342 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&5
1343 echo "$as_me: error: cannot find install-sh or install.sh in autoconf $srcdir/autoconf" >&2;}
1344 { (exit 1); exit 1; }; }
1346 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1347 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1348 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1350 am__api_version="1.6"
1351 # Find a good install program. We prefer a C program (faster),
1352 # so one script is as good as another. But avoid the broken or
1353 # incompatible versions:
1354 # SysV /etc/install, /usr/sbin/install
1355 # SunOS /usr/etc/install
1356 # IRIX /sbin/install
1358 # AmigaOS /C/install, which installs bootblocks on floppy discs
1359 # AIX 4 /usr/bin/installbsd, which doesn't work without a
-g flag
1360 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1361 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1362 # OS/2's system install, which has a completely different semantic
1363 # ./install, which can be erroneously created by make from ./install.sh.
1364 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1365 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1366 if test -z "$INSTALL"; then
1367 if test "${ac_cv_path_install+set}" = set; then
1368 echo $ECHO_N "(cached) $ECHO_C" >&6
1370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1374 test -z "$as_dir" && as_dir
=.
1375 # Account for people who put trailing slashes in PATH elements.
1377 .
/ | .
// |
/cC
/* | \
1378 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1379 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1382 # OSF1 and SCO ODT 3.0 have their own names for install.
1383 # Don't use installbsd from OSF since it installs stuff as root
1385 for ac_prog
in ginstall scoinst
install; do
1386 for ac_exec_ext
in '' $ac_executable_extensions; do
1387 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1388 if test $ac_prog = install &&
1389 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1390 # AIX install. It has an incompatible calling convention.
1392 elif test $ac_prog = install &&
1393 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1394 # program-specific install script used by HP pwplus--don't use.
1397 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1409 if test "${ac_cv_path_install+set}" = set; then
1410 INSTALL
=$ac_cv_path_install
1412 # As a last resort, use the slow shell script. We don't cache a
1413 # path for INSTALL within a source directory, because that will
1414 # break other packages using the cache if that directory is
1415 # removed, or if the path is relative.
1416 INSTALL
=$ac_install_sh
1419 echo "$as_me:$LINENO: result: $INSTALL" >&5
1420 echo "${ECHO_T}$INSTALL" >&6
1422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1423 # It thinks the first close brace ends the variable substitution.
1424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1428 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1430 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1431 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1434 echo timestamp
> conftest.
file
1435 # Do `set' in a subshell so we don't clobber the current shell's
1436 # arguments. Must try -L first in case configure is actually a
1437 # symlink; some systems play weird games with the mod time of symlinks
1438 # (eg FreeBSD returns the mod time of the symlink's containing
1441 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1442 if test "$*" = "X"; then
1444 set X
`ls -t $srcdir/configure conftest.file`
1447 if test "$*" != "X $srcdir/configure conftest.file" \
1448 && test "$*" != "X conftest.file $srcdir/configure"; then
1450 # If neither matched, then we have a broken ls. This can happen
1451 # if, for instance, CONFIG_SHELL is bash and it inherits a
1452 # broken ls alias from the environment. This has actually
1453 # happened. Such a system could not be considered "sane".
1454 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1455 alias in your environment" >&5
1456 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1457 alias in your environment" >&2;}
1458 { (exit 1); exit 1; }; }
1461 test "$2" = conftest.
file
1467 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1468 Check your system clock" >&5
1469 echo "$as_me: error: newly created file is older than distributed files!
1470 Check your system clock" >&2;}
1471 { (exit 1); exit 1; }; }
1473 echo "$as_me:$LINENO: result: yes" >&5
1474 echo "${ECHO_T}yes" >&6
1475 test "$program_prefix" != NONE
&&
1476 program_transform_name
="s,^,$program_prefix,;$program_transform_name"
1477 # Use a double $ so make ignores it.
1478 test "$program_suffix" != NONE
&&
1479 program_transform_name
="s,\$,$program_suffix,;$program_transform_name"
1480 # Double any \ or $. echo might interpret backslashes.
1481 # By default was `s,x,x', remove it if useless.
1482 cat <<\_ACEOF
>conftest.
sed
1483 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1485 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1489 # expand $ac_aux_dir to an absolute path
1490 am_aux_dir
=`cd $ac_aux_dir && pwd`
1492 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1493 # Use eval to expand $SHELL
1494 if eval "$MISSING --run true"; then
1495 am_missing_run
="$MISSING --run "
1498 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1499 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1502 for ac_prog
in gawk mawk nawk
awk
1504 # Extract the first word of "$ac_prog", so it can be a program name with args.
1505 set dummy
$ac_prog; ac_word
=$2
1506 echo "$as_me:$LINENO: checking for $ac_word" >&5
1507 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1508 if test "${ac_cv_prog_AWK+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1511 if test -n "$AWK"; then
1512 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1514 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1518 test -z "$as_dir" && as_dir
=.
1519 for ac_exec_ext
in '' $ac_executable_extensions; do
1520 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1521 ac_cv_prog_AWK
="$ac_prog"
1522 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1531 if test -n "$AWK"; then
1532 echo "$as_me:$LINENO: result: $AWK" >&5
1533 echo "${ECHO_T}$AWK" >&6
1535 echo "$as_me:$LINENO: result: no" >&5
1536 echo "${ECHO_T}no" >&6
1539 test -n "$AWK" && break
1542 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1543 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1544 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y,:./+-,___p_,'`
1545 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1546 echo $ECHO_N "(cached) $ECHO_C" >&6
1548 cat >conftest.
make <<\_ACEOF
1550 @
echo 'ac_maketemp="$(MAKE)"'
1552 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1553 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1554 if test -n "$ac_maketemp"; then
1555 eval ac_cv_prog_make_
${ac_make}_set
=yes
1557 eval ac_cv_prog_make_
${ac_make}_set
=no
1561 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1562 echo "$as_me:$LINENO: result: yes" >&5
1563 echo "${ECHO_T}yes" >&6
1566 echo "$as_me:$LINENO: result: no" >&5
1567 echo "${ECHO_T}no" >&6
1568 SET_MAKE
="MAKE=${MAKE-make}"
1571 # test to see if srcdir already configured
1572 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1573 test -f $srcdir/config.status
; then
1574 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1575 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1576 { (exit 1); exit 1; }; }
1579 # Define the identity of the package.
1584 cat >>confdefs.h
<<_ACEOF
1585 #define PACKAGE "$PACKAGE"
1589 cat >>confdefs.h
<<_ACEOF
1590 #define VERSION "$VERSION"
1593 # Some tools Automake needs.
1595 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1598 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1601 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1604 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1607 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1610 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1612 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1614 # Installed binaries are usually stripped using `strip' when the user
1615 # run `make install-strip'. However `strip' might not be the right
1616 # tool to use in cross-compilation environments, therefore Automake
1617 # will honor the `STRIP' environment variable to overrule this program.
1618 if test "$cross_compiling" != no
; then
1619 if test -n "$ac_tool_prefix"; then
1620 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1621 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
1622 echo "$as_me:$LINENO: checking for $ac_word" >&5
1623 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1624 if test "${ac_cv_prog_STRIP+set}" = set; then
1625 echo $ECHO_N "(cached) $ECHO_C" >&6
1627 if test -n "$STRIP"; then
1628 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
1630 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1634 test -z "$as_dir" && as_dir
=.
1635 for ac_exec_ext
in '' $ac_executable_extensions; do
1636 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1637 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
1638 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1646 STRIP
=$ac_cv_prog_STRIP
1647 if test -n "$STRIP"; then
1648 echo "$as_me:$LINENO: result: $STRIP" >&5
1649 echo "${ECHO_T}$STRIP" >&6
1651 echo "$as_me:$LINENO: result: no" >&5
1652 echo "${ECHO_T}no" >&6
1656 if test -z "$ac_cv_prog_STRIP"; then
1658 # Extract the first word of "strip", so it can be a program name with args.
1659 set dummy strip
; ac_word
=$2
1660 echo "$as_me:$LINENO: checking for $ac_word" >&5
1661 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1662 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1663 echo $ECHO_N "(cached) $ECHO_C" >&6
1665 if test -n "$ac_ct_STRIP"; then
1666 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
1668 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1672 test -z "$as_dir" && as_dir
=.
1673 for ac_exec_ext
in '' $ac_executable_extensions; do
1674 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1675 ac_cv_prog_ac_ct_STRIP
="strip"
1676 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1682 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP
=":"
1685 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
1686 if test -n "$ac_ct_STRIP"; then
1687 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1688 echo "${ECHO_T}$ac_ct_STRIP" >&6
1690 echo "$as_me:$LINENO: result: no" >&5
1691 echo "${ECHO_T}no" >&6
1696 STRIP
="$ac_cv_prog_STRIP"
1700 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1702 # We need awk for the "check" target. The system "awk" is bad on
1706 # Add the stamp file to the list of files AC keeps track of,
1707 # along with our hook.
1708 ac_config_headers
="$ac_config_headers config.h"
1716 # Find a good install program. We prefer a C program (faster),
1717 # so one script is as good as another. But avoid the broken or
1718 # incompatible versions:
1719 # SysV /etc/install, /usr/sbin/install
1720 # SunOS /usr/etc/install
1721 # IRIX /sbin/install
1723 # AmigaOS /C/install, which installs bootblocks on floppy discs
1724 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1725 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1726 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1727 # OS/2's system install, which has a completely different semantic
1728 # ./install, which can be erroneously created by make from ./install.sh.
1729 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1730 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1731 if test -z "$INSTALL"; then
1732 if test "${ac_cv_path_install+set}" = set; then
1733 echo $ECHO_N "(cached) $ECHO_C" >&6
1735 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1739 test -z "$as_dir" && as_dir
=.
1740 # Account for people who put trailing slashes in PATH elements.
1742 .
/ | .
// |
/cC
/* | \
1743 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
1744 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
1747 # OSF1 and SCO ODT 3.0 have their own names for install.
1748 # Don't use installbsd from OSF since it installs stuff as root
1750 for ac_prog
in ginstall scoinst
install; do
1751 for ac_exec_ext
in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1753 if test $ac_prog = install &&
1754 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1755 # AIX install. It has an incompatible calling convention.
1757 elif test $ac_prog = install &&
1758 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
1759 # program-specific install script used by HP pwplus--don't use.
1762 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
1774 if test "${ac_cv_path_install+set}" = set; then
1775 INSTALL
=$ac_cv_path_install
1777 # As a last resort, use the slow shell script. We don't cache a
1778 # path for INSTALL within a source directory, because that will
1779 # break other packages using the cache if that directory is
1780 # removed, or if the path is relative.
1781 INSTALL
=$ac_install_sh
1784 echo "$as_me:$LINENO: result: $INSTALL" >&5
1785 echo "${ECHO_T}$INSTALL" >&6
1787 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1788 # It thinks the first close brace ends the variable substitution.
1789 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1791 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
1793 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1796 ac_cpp
='$CPP $CPPFLAGS'
1797 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1798 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1799 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1800 if test -n "$ac_tool_prefix"; then
1801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1802 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
1803 echo "$as_me:$LINENO: checking for $ac_word" >&5
1804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1805 if test "${ac_cv_prog_CC+set}" = set; then
1806 echo $ECHO_N "(cached) $ECHO_C" >&6
1808 if test -n "$CC"; then
1809 ac_cv_prog_CC
="$CC" # Let the user override the test.
1811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1815 test -z "$as_dir" && as_dir
=.
1816 for ac_exec_ext
in '' $ac_executable_extensions; do
1817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1818 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
1819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1828 if test -n "$CC"; then
1829 echo "$as_me:$LINENO: result: $CC" >&5
1830 echo "${ECHO_T}$CC" >&6
1832 echo "$as_me:$LINENO: result: no" >&5
1833 echo "${ECHO_T}no" >&6
1837 if test -z "$ac_cv_prog_CC"; then
1839 # Extract the first word of "gcc", so it can be a program name with args.
1840 set dummy gcc
; ac_word
=$2
1841 echo "$as_me:$LINENO: checking for $ac_word" >&5
1842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1843 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1844 echo $ECHO_N "(cached) $ECHO_C" >&6
1846 if test -n "$ac_ct_CC"; then
1847 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1849 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1853 test -z "$as_dir" && as_dir
=.
1854 for ac_exec_ext
in '' $ac_executable_extensions; do
1855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1856 ac_cv_prog_ac_ct_CC
="gcc"
1857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1865 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1866 if test -n "$ac_ct_CC"; then
1867 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1868 echo "${ECHO_T}$ac_ct_CC" >&6
1870 echo "$as_me:$LINENO: result: no" >&5
1871 echo "${ECHO_T}no" >&6
1879 if test -z "$CC"; then
1880 if test -n "$ac_tool_prefix"; then
1881 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1882 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
1883 echo "$as_me:$LINENO: checking for $ac_word" >&5
1884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1885 if test "${ac_cv_prog_CC+set}" = set; then
1886 echo $ECHO_N "(cached) $ECHO_C" >&6
1888 if test -n "$CC"; then
1889 ac_cv_prog_CC
="$CC" # Let the user override the test.
1891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir
=.
1896 for ac_exec_ext
in '' $ac_executable_extensions; do
1897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_CC
="${ac_tool_prefix}cc"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 if test -n "$CC"; then
1909 echo "$as_me:$LINENO: result: $CC" >&5
1910 echo "${ECHO_T}$CC" >&6
1912 echo "$as_me:$LINENO: result: no" >&5
1913 echo "${ECHO_T}no" >&6
1917 if test -z "$ac_cv_prog_CC"; then
1919 # Extract the first word of "cc", so it can be a program name with args.
1920 set dummy cc
; ac_word
=$2
1921 echo "$as_me:$LINENO: checking for $ac_word" >&5
1922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1923 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1924 echo $ECHO_N "(cached) $ECHO_C" >&6
1926 if test -n "$ac_ct_CC"; then
1927 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
1929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1933 test -z "$as_dir" && as_dir
=.
1934 for ac_exec_ext
in '' $ac_executable_extensions; do
1935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1936 ac_cv_prog_ac_ct_CC
="cc"
1937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1945 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
1946 if test -n "$ac_ct_CC"; then
1947 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1948 echo "${ECHO_T}$ac_ct_CC" >&6
1950 echo "$as_me:$LINENO: result: no" >&5
1951 echo "${ECHO_T}no" >&6
1960 if test -z "$CC"; then
1961 # Extract the first word of "cc", so it can be a program name with args.
1962 set dummy cc
; ac_word
=$2
1963 echo "$as_me:$LINENO: checking for $ac_word" >&5
1964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1965 if test "${ac_cv_prog_CC+set}" = set; then
1966 echo $ECHO_N "(cached) $ECHO_C" >&6
1968 if test -n "$CC"; then
1969 ac_cv_prog_CC
="$CC" # Let the user override the test.
1972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1976 test -z "$as_dir" && as_dir
=.
1977 for ac_exec_ext
in '' $ac_executable_extensions; do
1978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1979 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1980 ac_prog_rejected
=yes
1984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 if test $ac_prog_rejected = yes; then
1991 # We found a bogon in the path, so make sure we never use it.
1992 set dummy
$ac_cv_prog_CC
1994 if test $# != 0; then
1995 # We chose a different compiler from the bogus one.
1996 # However, it has the same basename, so the bogon will be chosen
1997 # first if we set CC to just the basename; use the full file name.
1999 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2005 if test -n "$CC"; then
2006 echo "$as_me:$LINENO: result: $CC" >&5
2007 echo "${ECHO_T}$CC" >&6
2009 echo "$as_me:$LINENO: result: no" >&5
2010 echo "${ECHO_T}no" >&6
2014 if test -z "$CC"; then
2015 if test -n "$ac_tool_prefix"; then
2018 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2019 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2020 echo "$as_me:$LINENO: checking for $ac_word" >&5
2021 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2022 if test "${ac_cv_prog_CC+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 if test -n "$CC"; then
2026 ac_cv_prog_CC
="$CC" # Let the user override the test.
2028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2032 test -z "$as_dir" && as_dir
=.
2033 for ac_exec_ext
in '' $ac_executable_extensions; do
2034 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2035 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2036 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2045 if test -n "$CC"; then
2046 echo "$as_me:$LINENO: result: $CC" >&5
2047 echo "${ECHO_T}$CC" >&6
2049 echo "$as_me:$LINENO: result: no" >&5
2050 echo "${ECHO_T}no" >&6
2053 test -n "$CC" && break
2056 if test -z "$CC"; then
2060 # Extract the first word of "$ac_prog", so it can be a program name with args.
2061 set dummy
$ac_prog; ac_word
=$2
2062 echo "$as_me:$LINENO: checking for $ac_word" >&5
2063 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2064 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2065 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 if test -n "$ac_ct_CC"; then
2068 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2070 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2074 test -z "$as_dir" && as_dir
=.
2075 for ac_exec_ext
in '' $ac_executable_extensions; do
2076 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2077 ac_cv_prog_ac_ct_CC
="$ac_prog"
2078 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2086 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2087 if test -n "$ac_ct_CC"; then
2088 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2089 echo "${ECHO_T}$ac_ct_CC" >&6
2091 echo "$as_me:$LINENO: result: no" >&5
2092 echo "${ECHO_T}no" >&6
2095 test -n "$ac_ct_CC" && break
2104 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2105 See \`config.log' for more details." >&5
2106 echo "$as_me: error: no acceptable C compiler found in \$PATH
2107 See \`config.log' for more details." >&2;}
2108 { (exit 1); exit 1; }; }
2110 # Provide some information about the compiler.
2111 echo "$as_me:$LINENO:" \
2112 "checking for C compiler version" >&5
2113 ac_compiler
=`set X $ac_compile; echo $2`
2114 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2115 (eval $ac_compiler --version </dev
/null
>&5) 2>&5
2117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2118 (exit $ac_status); }
2119 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2120 (eval $ac_compiler -v </dev
/null
>&5) 2>&5
2122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2123 (exit $ac_status); }
2124 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2125 (eval $ac_compiler -V </dev
/null
>&5) 2>&5
2127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2128 (exit $ac_status); }
2130 cat >conftest.
$ac_ext <<_ACEOF
2133 cat confdefs.h
>>conftest.
$ac_ext
2134 cat >>conftest.
$ac_ext <<_ACEOF
2135 /* end confdefs.h. */
2145 ac_clean_files_save
=$ac_clean_files
2146 ac_clean_files
="$ac_clean_files a.out a.exe b.out"
2147 # Try to create an executable without -o first, disregard a.out.
2148 # It will help us diagnose broken compilers, and finding out an intuition
2150 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2151 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2152 ac_link_default
=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2153 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2154 (eval $ac_link_default) 2>&5
2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2157 (exit $ac_status); }; then
2158 # Find the output, starting from the most likely. This scheme is
2159 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2162 # Be careful to initialize this variable, since it used to be cached.
2163 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2165 # b.out is created by i960 compilers.
2166 for ac_file
in a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
2168 test -f "$ac_file" ||
continue
2170 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
)
2173 # This is the source file.
2176 # We found the default executable, but exeext='' is most
2180 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2181 # FIXME: I believe we export ac_cv_exeext for Libtool,
2182 # but it would be cool to find out if it's true. Does anybody
2183 # maintain Libtool? --akim.
2191 echo "$as_me: failed program was:" >&5
2192 sed 's/^/| /' conftest.
$ac_ext >&5
2194 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2195 See \`config.log' for more details." >&5
2196 echo "$as_me: error: C compiler cannot create executables
2197 See \`config.log' for more details." >&2;}
2198 { (exit 77); exit 77; }; }
2201 ac_exeext
=$ac_cv_exeext
2202 echo "$as_me:$LINENO: result: $ac_file" >&5
2203 echo "${ECHO_T}$ac_file" >&6
2205 # Check the compiler produces executables we can run. If not, either
2206 # the compiler is broken, or we cross compile.
2207 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2208 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2209 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2210 # If not cross compiling, check that we can run a simple program.
2211 if test "$cross_compiling" != yes; then
2212 if { ac_try
='./$ac_file'
2213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; }; then
2220 if test "$cross_compiling" = maybe
; then
2223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2224 If you meant to cross compile, use \`--host'.
2225 See \`config.log' for more details." >&5
2226 echo "$as_me: error: cannot run C compiled programs.
2227 If you meant to cross compile, use \`--host'.
2228 See \`config.log' for more details." >&2;}
2229 { (exit 1); exit 1; }; }
2233 echo "$as_me:$LINENO: result: yes" >&5
2234 echo "${ECHO_T}yes" >&6
2236 rm -f a.out a.exe conftest
$ac_cv_exeext b.out
2237 ac_clean_files
=$ac_clean_files_save
2238 # Check the compiler produces executables we can run. If not, either
2239 # the compiler is broken, or we cross compile.
2240 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2242 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2243 echo "${ECHO_T}$cross_compiling" >&6
2245 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2248 (eval $ac_link) 2>&5
2250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2251 (exit $ac_status); }; then
2252 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2253 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2254 # work properly (i.e., refer to `conftest.exe'), while it won't with
2256 for ac_file
in conftest.exe conftest conftest.
*; do
2257 test -f "$ac_file" ||
continue
2259 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
2260 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2267 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2268 See \`config.log' for more details." >&5
2269 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2270 See \`config.log' for more details." >&2;}
2271 { (exit 1); exit 1; }; }
2274 rm -f conftest
$ac_cv_exeext
2275 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2276 echo "${ECHO_T}$ac_cv_exeext" >&6
2278 rm -f conftest.
$ac_ext
2279 EXEEXT
=$ac_cv_exeext
2281 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2282 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2283 if test "${ac_cv_objext+set}" = set; then
2284 echo $ECHO_N "(cached) $ECHO_C" >&6
2286 cat >conftest.
$ac_ext <<_ACEOF
2289 cat confdefs.h
>>conftest.
$ac_ext
2290 cat >>conftest.
$ac_ext <<_ACEOF
2291 /* end confdefs.h. */
2301 rm -f conftest.o conftest.obj
2302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2303 (eval $ac_compile) 2>&5
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; then
2307 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2309 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
2310 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2315 echo "$as_me: failed program was:" >&5
2316 sed 's/^/| /' conftest.
$ac_ext >&5
2318 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2319 See \`config.log' for more details." >&5
2320 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2321 See \`config.log' for more details." >&2;}
2322 { (exit 1); exit 1; }; }
2325 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2327 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2328 echo "${ECHO_T}$ac_cv_objext" >&6
2329 OBJEXT
=$ac_cv_objext
2331 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2332 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2333 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2334 echo $ECHO_N "(cached) $ECHO_C" >&6
2336 cat >conftest.
$ac_ext <<_ACEOF
2339 cat confdefs.h
>>conftest.
$ac_ext
2340 cat >>conftest.
$ac_ext <<_ACEOF
2341 /* end confdefs.h. */
2354 rm -f conftest.
$ac_objext
2355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2356 (eval $ac_compile) 2>conftest.er1
2358 grep -v '^ *+' conftest.er1
>conftest.err
2360 cat conftest.err
>&5
2361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2362 (exit $ac_status); } &&
2363 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2368 (exit $ac_status); }; } &&
2369 { ac_try
='test -s conftest.$ac_objext'
2370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2374 (exit $ac_status); }; }; then
2377 echo "$as_me: failed program was:" >&5
2378 sed 's/^/| /' conftest.
$ac_ext >&5
2382 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2383 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2386 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2387 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2388 GCC
=`test $ac_compiler_gnu = yes && echo yes`
2389 ac_test_CFLAGS
=${CFLAGS+set}
2390 ac_save_CFLAGS
=$CFLAGS
2392 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2393 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2394 if test "${ac_cv_prog_cc_g+set}" = set; then
2395 echo $ECHO_N "(cached) $ECHO_C" >&6
2397 cat >conftest.
$ac_ext <<_ACEOF
2400 cat confdefs.h
>>conftest.
$ac_ext
2401 cat >>conftest.
$ac_ext <<_ACEOF
2402 /* end confdefs.h. */
2412 rm -f conftest.
$ac_objext
2413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2414 (eval $ac_compile) 2>conftest.er1
2416 grep -v '^ *+' conftest.er1
>conftest.err
2418 cat conftest.err
>&5
2419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2420 (exit $ac_status); } &&
2421 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); }; } &&
2427 { ac_try
='test -s conftest.$ac_objext'
2428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2432 (exit $ac_status); }; }; then
2435 echo "$as_me: failed program was:" >&5
2436 sed 's/^/| /' conftest.
$ac_ext >&5
2440 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2442 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2443 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2444 if test "$ac_test_CFLAGS" = set; then
2445 CFLAGS
=$ac_save_CFLAGS
2446 elif test $ac_cv_prog_cc_g = yes; then
2447 if test "$GCC" = yes; then
2453 if test "$GCC" = yes; then
2459 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2460 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2461 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2462 echo $ECHO_N "(cached) $ECHO_C" >&6
2464 ac_cv_prog_cc_stdc
=no
2466 cat >conftest.
$ac_ext <<_ACEOF
2469 cat confdefs.h
>>conftest.
$ac_ext
2470 cat >>conftest.
$ac_ext <<_ACEOF
2471 /* end confdefs.h. */
2474 #include <sys/types.h>
2475 #include <sys/stat.h>
2476 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2477 struct buf { int x; };
2478 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2479 static char *e (p, i)
2485 static char *f (char * (*g) (char **, int), char **p, ...)
2490 s = g (p, va_arg (v,int));
2495 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2496 function prototypes and stuff, but not '\xHH' hex character constants.
2497 These don't provoke an error unfortunately, instead are silently treated
2498 as 'x'. The following induces an error, until -std1 is added to get
2499 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2500 array size at least. It's necessary to write '\x00'==0 to get something
2501 that's true only with -std1. */
2502 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2504 int test (int i, double x);
2505 struct s1 {int (*f) (int a);};
2506 struct s2 {int (*f) (double a);};
2507 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2513 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2518 # Don't try gcc -ansi; that turns off useful extensions and
2519 # breaks some systems' header files.
2520 # AIX -qlanglvl=ansi
2521 # Ultrix and OSF/1 -std1
2522 # HP-UX 10.20 and later -Ae
2523 # HP-UX older versions -Aa -D_HPUX_SOURCE
2524 # SVR4 -Xc -D__EXTENSIONS__
2525 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2527 CC
="$ac_save_CC $ac_arg"
2528 rm -f conftest.
$ac_objext
2529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2530 (eval $ac_compile) 2>conftest.er1
2532 grep -v '^ *+' conftest.er1
>conftest.err
2534 cat conftest.err
>&5
2535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2536 (exit $ac_status); } &&
2537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2542 (exit $ac_status); }; } &&
2543 { ac_try
='test -s conftest.$ac_objext'
2544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; }; then
2549 ac_cv_prog_cc_stdc
=$ac_arg
2552 echo "$as_me: failed program was:" >&5
2553 sed 's/^/| /' conftest.
$ac_ext >&5
2556 rm -f conftest.err conftest.
$ac_objext
2558 rm -f conftest.
$ac_ext conftest.
$ac_objext
2563 case "x$ac_cv_prog_cc_stdc" in
2565 echo "$as_me:$LINENO: result: none needed" >&5
2566 echo "${ECHO_T}none needed" >&6 ;;
2568 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2569 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2570 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2573 # Some people use a C++ compiler to compile C. Since we use `exit',
2574 # in C++ we need to declare it. In case someone uses the same compiler
2575 # for both compiling C and C++ we need to have the C++ compiler decide
2576 # the declaration of exit, since it's the most demanding environment.
2577 cat >conftest.
$ac_ext <<_ACEOF
2582 rm -f conftest.
$ac_objext
2583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2584 (eval $ac_compile) 2>conftest.er1
2586 grep -v '^ *+' conftest.er1
>conftest.err
2588 cat conftest.err
>&5
2589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2590 (exit $ac_status); } &&
2591 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2596 (exit $ac_status); }; } &&
2597 { ac_try
='test -s conftest.$ac_objext'
2598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2602 (exit $ac_status); }; }; then
2603 for ac_declaration
in \
2605 'extern "C" void std::exit (int) throw (); using std::exit;' \
2606 'extern "C" void std::exit (int); using std::exit;' \
2607 'extern "C" void exit (int) throw ();' \
2608 'extern "C" void exit (int);' \
2611 cat >conftest.
$ac_ext <<_ACEOF
2614 cat confdefs.h
>>conftest.
$ac_ext
2615 cat >>conftest.
$ac_ext <<_ACEOF
2616 /* end confdefs.h. */
2627 rm -f conftest.
$ac_objext
2628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2629 (eval $ac_compile) 2>conftest.er1
2631 grep -v '^ *+' conftest.er1
>conftest.err
2633 cat conftest.err
>&5
2634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2635 (exit $ac_status); } &&
2636 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); }; } &&
2642 { ac_try
='test -s conftest.$ac_objext'
2643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2647 (exit $ac_status); }; }; then
2650 echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.
$ac_ext >&5
2655 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2656 cat >conftest.
$ac_ext <<_ACEOF
2659 cat confdefs.h
>>conftest.
$ac_ext
2660 cat >>conftest.
$ac_ext <<_ACEOF
2661 /* end confdefs.h. */
2671 rm -f conftest.
$ac_objext
2672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2673 (eval $ac_compile) 2>conftest.er1
2675 grep -v '^ *+' conftest.er1
>conftest.err
2677 cat conftest.err
>&5
2678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2679 (exit $ac_status); } &&
2680 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2685 (exit $ac_status); }; } &&
2686 { ac_try
='test -s conftest.$ac_objext'
2687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2691 (exit $ac_status); }; }; then
2694 echo "$as_me: failed program was:" >&5
2695 sed 's/^/| /' conftest.
$ac_ext >&5
2698 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2701 if test -n "$ac_declaration"; then
2702 echo '#ifdef __cplusplus' >>confdefs.h
2703 echo $ac_declaration >>confdefs.h
2704 echo '#endif' >>confdefs.h
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.
$ac_ext >&5
2712 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2714 ac_cpp
='$CPP $CPPFLAGS'
2715 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2716 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2717 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2718 rm -f .deps
2>/dev
/null
2719 mkdir .deps
2>/dev
/null
2720 if test -d .deps
; then
2723 # MS-DOS does not allow filenames that begin with a dot.
2726 rmdir .deps
2>/dev
/null
2729 ac_config_commands
="$ac_config_commands depfiles"
2732 am_make
=${MAKE-make}
2733 cat > confinc
<< 'END'
2737 # If we don't find an include directive, just comment out the code.
2738 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2739 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2743 # First try GNU make style include.
2744 echo "include confinc" > confmf
2745 # We grep out `Entering directory' and `Leaving directory'
2746 # messages which can occur if `w' ends up in MAKEFLAGS.
2747 # In particular we don't look at `^make:' because GNU make might
2748 # be invoked under some other name (usually "gmake"), in which
2749 # case it prints its new name instead of `make'.
2750 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
2755 # Now try BSD make style include.
2756 if test "$am__include" = "#"; then
2757 echo '.include "confinc"' > confmf
2758 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2759 am__include
=.include
2766 echo "$as_me:$LINENO: result: $_am_result" >&5
2767 echo "${ECHO_T}$_am_result" >&6
2768 rm -f confinc confmf
2770 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2771 if test "${enable_dependency_tracking+set}" = set; then
2772 enableval
="$enable_dependency_tracking"
2775 if test "x$enable_dependency_tracking" != xno
; then
2776 am_depcomp
="$ac_aux_dir/depcomp"
2781 if test "x$enable_dependency_tracking" != xno; then
2792 depcc
="$CC" am_compiler_list
=
2794 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2795 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2796 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2797 echo $ECHO_N "(cached) $ECHO_C" >&6
2799 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2800 # We make a subdir and do the tests there. Otherwise we can end up
2801 # making bogus files that we don't know about and never remove. For
2802 # instance it was reported that on HP-UX the gcc test will end up
2803 # making a dummy file named `D' -- because `-MD' means `put the output
2806 # Copy depcomp to subdir because otherwise we won't find it if we're
2807 # using a relative directory.
2808 cp "$am_depcomp" conftest.dir
2811 am_cv_CC_dependencies_compiler_type
=none
2812 if test "$am_compiler_list" = ""; then
2813 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2815 for depmode
in $am_compiler_list; do
2816 # We need to recreate these files for each test, as the compiler may
2817 # overwrite some of them when testing with obscure command lines.
2818 # This happens at least with the AIX C compiler.
2819 echo '#include "conftest.h"' > conftest.c
2820 echo 'int i;' > conftest.h
2821 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
2825 # after this tag, mechanisms are not by side-effect, so they'll
2826 # only be used when explicitly requested
2827 if test "x$enable_dependency_tracking" = xyes
; then
2835 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2836 # mode. It turns out that the SunPro C++ compiler does not properly
2837 # handle `-M -o', and we need to detect this.
2838 if depmode
=$depmode \
2839 source=conftest.c object
=conftest.o \
2840 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
2841 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
2842 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
2843 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
2844 am_cv_CC_dependencies_compiler_type
=$depmode
2852 am_cv_CC_dependencies_compiler_type
=none
2856 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2857 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2858 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
2861 if test -n "$ac_tool_prefix"; then
2862 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2863 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
2864 echo "$as_me:$LINENO: checking for $ac_word" >&5
2865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2866 if test "${ac_cv_prog_RANLIB+set}" = set; then
2867 echo $ECHO_N "(cached) $ECHO_C" >&6
2869 if test -n "$RANLIB"; then
2870 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
2872 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2876 test -z "$as_dir" && as_dir
=.
2877 for ac_exec_ext
in '' $ac_executable_extensions; do
2878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2879 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
2880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2888 RANLIB
=$ac_cv_prog_RANLIB
2889 if test -n "$RANLIB"; then
2890 echo "$as_me:$LINENO: result: $RANLIB" >&5
2891 echo "${ECHO_T}$RANLIB" >&6
2893 echo "$as_me:$LINENO: result: no" >&5
2894 echo "${ECHO_T}no" >&6
2898 if test -z "$ac_cv_prog_RANLIB"; then
2899 ac_ct_RANLIB
=$RANLIB
2900 # Extract the first word of "ranlib", so it can be a program name with args.
2901 set dummy ranlib
; ac_word
=$2
2902 echo "$as_me:$LINENO: checking for $ac_word" >&5
2903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2904 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
2905 echo $ECHO_N "(cached) $ECHO_C" >&6
2907 if test -n "$ac_ct_RANLIB"; then
2908 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
2910 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2914 test -z "$as_dir" && as_dir
=.
2915 for ac_exec_ext
in '' $ac_executable_extensions; do
2916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2917 ac_cv_prog_ac_ct_RANLIB
="ranlib"
2918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB
=":"
2927 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
2928 if test -n "$ac_ct_RANLIB"; then
2929 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
2930 echo "${ECHO_T}$ac_ct_RANLIB" >&6
2932 echo "$as_me:$LINENO: result: no" >&5
2933 echo "${ECHO_T}no" >&6
2936 RANLIB
=$ac_ct_RANLIB
2938 RANLIB
="$ac_cv_prog_RANLIB"
2942 if test -n "$GCC"; then
2943 CFLAGS
="$CFLAGS -D_GNU_SOURCE -W -Wall -Wshadow -Wpointer-arith -Wwrite-strings"
2944 echo "$as_me:$LINENO: result: adding -Wall and friends to CFLAGS." >&5
2945 echo "${ECHO_T}adding -Wall and friends to CFLAGS." >&6
2948 case `(uname -s) 2>/dev/null` in
2950 CFLAGS
="$CFLAGS -no-cpp-precomp"
2951 echo "$as_me:$LINENO: result: adding cpp precompiler workaround for Mac OS X" >&5
2952 echo "${ECHO_T}adding cpp precompiler workaround for Mac OS X" >&6
2953 LDFLAGS
="$LDFLAGS -framework Security"
2954 echo "$as_me:$LINENO: result: adding -framework Security for Mac OS X" >&5
2955 echo "${ECHO_T}adding -framework Security for Mac OS X" >&6
2961 ac_cpp
='$CPP $CPPFLAGS'
2962 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2965 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2966 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2967 # On Suns, sometimes $CPP names a directory.
2968 if test -n "$CPP" && test -d "$CPP"; then
2971 if test -z "$CPP"; then
2972 if test "${ac_cv_prog_CPP+set}" = set; then
2973 echo $ECHO_N "(cached) $ECHO_C" >&6
2975 # Double quotes because CPP needs to be expanded
2976 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2979 for ac_c_preproc_warn_flag
in '' yes
2981 # Use a header file that comes with gcc, so configuring glibc
2982 # with a fresh cross-compiler works.
2983 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2984 # <limits.h> exists even on freestanding compilers.
2985 # On the NeXT, cc -E runs the code through the compiler's parser,
2986 # not just through cpp. "Syntax error" is here to catch this case.
2987 cat >conftest.
$ac_ext <<_ACEOF
2990 cat confdefs.h
>>conftest.
$ac_ext
2991 cat >>conftest.
$ac_ext <<_ACEOF
2992 /* end confdefs.h. */
2994 # include <limits.h>
2996 # include <assert.h>
3000 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3001 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3003 grep -v '^ *+' conftest.er1
>conftest.err
3005 cat conftest.err
>&5
3006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3007 (exit $ac_status); } >/dev
/null
; then
3008 if test -s conftest.err
; then
3009 ac_cpp_err
=$ac_c_preproc_warn_flag
3010 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3017 if test -z "$ac_cpp_err"; then
3020 echo "$as_me: failed program was:" >&5
3021 sed 's/^/| /' conftest.
$ac_ext >&5
3023 # Broken: fails on valid input.
3026 rm -f conftest.err conftest.
$ac_ext
3028 # OK, works on sane cases. Now check whether non-existent headers
3029 # can be detected and how.
3030 cat >conftest.
$ac_ext <<_ACEOF
3033 cat confdefs.h
>>conftest.
$ac_ext
3034 cat >>conftest.
$ac_ext <<_ACEOF
3035 /* end confdefs.h. */
3036 #include <ac_nonexistent.h>
3038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3039 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3041 grep -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
3048 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3055 if test -z "$ac_cpp_err"; then
3056 # Broken: success on invalid input.
3059 echo "$as_me: failed program was:" >&5
3060 sed 's/^/| /' conftest.
$ac_ext >&5
3062 # Passes both tests.
3066 rm -f conftest.err conftest.
$ac_ext
3069 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3070 rm -f conftest.err conftest.
$ac_ext
3071 if $ac_preproc_ok; then
3083 echo "$as_me:$LINENO: result: $CPP" >&5
3084 echo "${ECHO_T}$CPP" >&6
3086 for ac_c_preproc_warn_flag
in '' yes
3088 # Use a header file that comes with gcc, so configuring glibc
3089 # with a fresh cross-compiler works.
3090 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3091 # <limits.h> exists even on freestanding compilers.
3092 # On the NeXT, cc -E runs the code through the compiler's parser,
3093 # not just through cpp. "Syntax error" is here to catch this case.
3094 cat >conftest.
$ac_ext <<_ACEOF
3097 cat confdefs.h
>>conftest.
$ac_ext
3098 cat >>conftest.
$ac_ext <<_ACEOF
3099 /* end confdefs.h. */
3101 # include <limits.h>
3103 # include <assert.h>
3107 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3108 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3110 grep -v '^ *+' conftest.er1
>conftest.err
3112 cat conftest.err
>&5
3113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3114 (exit $ac_status); } >/dev
/null
; then
3115 if test -s conftest.err
; then
3116 ac_cpp_err
=$ac_c_preproc_warn_flag
3117 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3124 if test -z "$ac_cpp_err"; then
3127 echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.
$ac_ext >&5
3130 # Broken: fails on valid input.
3133 rm -f conftest.err conftest.
$ac_ext
3135 # OK, works on sane cases. Now check whether non-existent headers
3136 # can be detected and how.
3137 cat >conftest.
$ac_ext <<_ACEOF
3140 cat confdefs.h
>>conftest.
$ac_ext
3141 cat >>conftest.
$ac_ext <<_ACEOF
3142 /* end confdefs.h. */
3143 #include <ac_nonexistent.h>
3145 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3146 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3148 grep -v '^ *+' conftest.er1
>conftest.err
3150 cat conftest.err
>&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } >/dev
/null
; then
3153 if test -s conftest.err
; then
3154 ac_cpp_err
=$ac_c_preproc_warn_flag
3155 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3162 if test -z "$ac_cpp_err"; then
3163 # Broken: success on invalid input.
3166 echo "$as_me: failed program was:" >&5
3167 sed 's/^/| /' conftest.
$ac_ext >&5
3169 # Passes both tests.
3173 rm -f conftest.err conftest.
$ac_ext
3176 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3177 rm -f conftest.err conftest.
$ac_ext
3178 if $ac_preproc_ok; then
3181 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3182 See \`config.log' for more details." >&5
3183 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3184 See \`config.log' for more details." >&2;}
3185 { (exit 1); exit 1; }; }
3189 ac_cpp
='$CPP $CPPFLAGS'
3190 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3191 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3192 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3195 echo "$as_me:$LINENO: checking for egrep" >&5
3196 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3197 if test "${ac_cv_prog_egrep+set}" = set; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
3201 then ac_cv_prog_egrep
='grep -E'
3202 else ac_cv_prog_egrep
='egrep'
3205 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3206 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3207 EGREP
=$ac_cv_prog_egrep
3210 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3211 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3212 if test "${ac_cv_header_stdc+set}" = set; then
3213 echo $ECHO_N "(cached) $ECHO_C" >&6
3215 cat >conftest.
$ac_ext <<_ACEOF
3218 cat confdefs.h
>>conftest.
$ac_ext
3219 cat >>conftest.
$ac_ext <<_ACEOF
3220 /* end confdefs.h. */
3234 rm -f conftest.
$ac_objext
3235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3236 (eval $ac_compile) 2>conftest.er1
3238 grep -v '^ *+' conftest.er1
>conftest.err
3240 cat conftest.err
>&5
3241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3242 (exit $ac_status); } &&
3243 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; } &&
3249 { ac_try
='test -s conftest.$ac_objext'
3250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3254 (exit $ac_status); }; }; then
3255 ac_cv_header_stdc
=yes
3257 echo "$as_me: failed program was:" >&5
3258 sed 's/^/| /' conftest.
$ac_ext >&5
3260 ac_cv_header_stdc
=no
3262 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3264 if test $ac_cv_header_stdc = yes; then
3265 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3266 cat >conftest.
$ac_ext <<_ACEOF
3269 cat confdefs.h
>>conftest.
$ac_ext
3270 cat >>conftest.
$ac_ext <<_ACEOF
3271 /* end confdefs.h. */
3275 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3276 $EGREP "memchr" >/dev
/null
2>&1; then
3279 ac_cv_header_stdc
=no
3285 if test $ac_cv_header_stdc = yes; then
3286 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3287 cat >conftest.
$ac_ext <<_ACEOF
3290 cat confdefs.h
>>conftest.
$ac_ext
3291 cat >>conftest.
$ac_ext <<_ACEOF
3292 /* end confdefs.h. */
3296 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3297 $EGREP "free" >/dev
/null
2>&1; then
3300 ac_cv_header_stdc
=no
3306 if test $ac_cv_header_stdc = yes; then
3307 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3308 if test "$cross_compiling" = yes; then
3311 cat >conftest.
$ac_ext <<_ACEOF
3314 cat confdefs.h
>>conftest.
$ac_ext
3315 cat >>conftest.
$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3318 #if ((' ' & 0x0FF) == 0x020)
3319 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3320 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3322 # define ISLOWER(c) \
3323 (('a' <= (c) && (c) <= 'i') \
3324 || ('j' <= (c) && (c) <= 'r') \
3325 || ('s' <= (c) && (c) <= 'z'))
3326 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3329 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3334 for (i = 0; i < 256; i++)
3335 if (XOR (islower (i), ISLOWER (i))
3336 || toupper (i) != TOUPPER (i))
3341 rm -f conftest
$ac_exeext
3342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3343 (eval $ac_link) 2>&5
3345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3346 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3351 (exit $ac_status); }; }; then
3354 echo "$as_me: program exited with status $ac_status" >&5
3355 echo "$as_me: failed program was:" >&5
3356 sed 's/^/| /' conftest.
$ac_ext >&5
3359 ac_cv_header_stdc
=no
3361 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3365 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3366 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3367 if test $ac_cv_header_stdc = yes; then
3369 cat >>confdefs.h
<<\_ACEOF
3370 #define STDC_HEADERS 1
3375 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3385 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3386 inttypes.h stdint.h unistd.h
3388 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3389 echo "$as_me:$LINENO: checking for $ac_header" >&5
3390 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3391 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3392 echo $ECHO_N "(cached) $ECHO_C" >&6
3394 cat >conftest.
$ac_ext <<_ACEOF
3397 cat confdefs.h
>>conftest.
$ac_ext
3398 cat >>conftest.
$ac_ext <<_ACEOF
3399 /* end confdefs.h. */
3400 $ac_includes_default
3402 #include <$ac_header>
3404 rm -f conftest.
$ac_objext
3405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3406 (eval $ac_compile) 2>conftest.er1
3408 grep -v '^ *+' conftest.er1
>conftest.err
3410 cat conftest.err
>&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); } &&
3413 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; } &&
3419 { ac_try
='test -s conftest.$ac_objext'
3420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3424 (exit $ac_status); }; }; then
3425 eval "$as_ac_Header=yes"
3427 echo "$as_me: failed program was:" >&5
3428 sed 's/^/| /' conftest.
$ac_ext >&5
3430 eval "$as_ac_Header=no"
3432 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3437 cat >>confdefs.h
<<_ACEOF
3438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3447 for ac_header
in stdio.h
3449 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3450 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3451 echo "$as_me:$LINENO: checking for $ac_header" >&5
3452 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3453 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3454 echo $ECHO_N "(cached) $ECHO_C" >&6
3456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3459 # Is the header compilable?
3460 echo "$as_me:$LINENO: checking $ac_header usability" >&5
3461 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3462 cat >conftest.
$ac_ext <<_ACEOF
3465 cat confdefs.h
>>conftest.
$ac_ext
3466 cat >>conftest.
$ac_ext <<_ACEOF
3467 /* end confdefs.h. */
3468 $ac_includes_default
3469 #include <$ac_header>
3471 rm -f conftest.
$ac_objext
3472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3473 (eval $ac_compile) 2>conftest.er1
3475 grep -v '^ *+' conftest.er1
>conftest.err
3477 cat conftest.err
>&5
3478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3479 (exit $ac_status); } &&
3480 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3485 (exit $ac_status); }; } &&
3486 { ac_try
='test -s conftest.$ac_objext'
3487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3491 (exit $ac_status); }; }; then
3492 ac_header_compiler
=yes
3494 echo "$as_me: failed program was:" >&5
3495 sed 's/^/| /' conftest.
$ac_ext >&5
3497 ac_header_compiler
=no
3499 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3501 echo "${ECHO_T}$ac_header_compiler" >&6
3503 # Is the header present?
3504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
3505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3506 cat >conftest.
$ac_ext <<_ACEOF
3509 cat confdefs.h
>>conftest.
$ac_ext
3510 cat >>conftest.
$ac_ext <<_ACEOF
3511 /* end confdefs.h. */
3512 #include <$ac_header>
3514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3515 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3517 grep -v '^ *+' conftest.er1
>conftest.err
3519 cat conftest.err
>&5
3520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3521 (exit $ac_status); } >/dev
/null
; then
3522 if test -s conftest.err
; then
3523 ac_cpp_err
=$ac_c_preproc_warn_flag
3524 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3531 if test -z "$ac_cpp_err"; then
3532 ac_header_preproc
=yes
3534 echo "$as_me: failed program was:" >&5
3535 sed 's/^/| /' conftest.
$ac_ext >&5
3537 ac_header_preproc
=no
3539 rm -f conftest.err conftest.
$ac_ext
3540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3541 echo "${ECHO_T}$ac_header_preproc" >&6
3543 # So? What about this header?
3544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3549 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3550 ac_header_preproc
=yes
3553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3557 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3558 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3559 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3560 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3563 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3564 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3567 ## ------------------------------------------------- ##
3568 ## Report this to wmbiff-devel@lists.sourceforge.net ##
3569 ## ------------------------------------------------- ##
3572 sed "s/^/$as_me: WARNING: /" >&2
3575 echo "$as_me:$LINENO: checking for $ac_header" >&5
3576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3578 echo $ECHO_N "(cached) $ECHO_C" >&6
3580 eval "$as_ac_Header=\$ac_header_preproc"
3582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3587 cat >>confdefs.h
<<_ACEOF
3588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3597 for ac_func
in getaddrinfo
3599 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3600 echo "$as_me:$LINENO: checking for $ac_func" >&5
3601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3602 if eval "test \"\${$as_ac_var+set}\" = set"; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3605 cat >conftest.
$ac_ext <<_ACEOF
3608 cat confdefs.h
>>conftest.
$ac_ext
3609 cat >>conftest.
$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3611 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3613 #define $ac_func innocuous_$ac_func
3615 /* System header to define __stub macros and hopefully few prototypes,
3616 which can conflict with char $ac_func (); below.
3617 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3618 <limits.h> exists even on freestanding compilers. */
3621 # include <limits.h>
3623 # include <assert.h>
3628 /* Override any gcc2 internal prototype to avoid an error. */
3633 /* We use char because int might match the return type of a gcc2
3634 builtin and then its argument prototype would still apply. */
3636 /* The GNU C library defines this for functions which it implements
3637 to always fail with ENOSYS. Some functions are actually named
3638 something starting with __ and the normal name is an alias. */
3639 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3642 char (*f) () = $ac_func;
3651 return f != $ac_func;
3656 rm -f conftest.
$ac_objext conftest
$ac_exeext
3657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3658 (eval $ac_link) 2>conftest.er1
3660 grep -v '^ *+' conftest.er1
>conftest.err
3662 cat conftest.err
>&5
3663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3664 (exit $ac_status); } &&
3665 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3670 (exit $ac_status); }; } &&
3671 { ac_try
='test -s conftest$ac_exeext'
3672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; }; then
3677 eval "$as_ac_var=yes"
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.
$ac_ext >&5
3682 eval "$as_ac_var=no"
3684 rm -f conftest.err conftest.
$ac_objext \
3685 conftest
$ac_exeext conftest.
$ac_ext
3687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3689 if test `eval echo '${'$as_ac_var'}'` = yes; then
3690 cat >>confdefs.h
<<_ACEOF
3691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3699 for ac_func
in memfrob
3701 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3702 echo "$as_me:$LINENO: checking for $ac_func" >&5
3703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3704 if eval "test \"\${$as_ac_var+set}\" = set"; then
3705 echo $ECHO_N "(cached) $ECHO_C" >&6
3707 cat >conftest.
$ac_ext <<_ACEOF
3710 cat confdefs.h
>>conftest.
$ac_ext
3711 cat >>conftest.
$ac_ext <<_ACEOF
3712 /* end confdefs.h. */
3713 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3714 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3715 #define $ac_func innocuous_$ac_func
3717 /* System header to define __stub macros and hopefully few prototypes,
3718 which can conflict with char $ac_func (); below.
3719 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3720 <limits.h> exists even on freestanding compilers. */
3723 # include <limits.h>
3725 # include <assert.h>
3730 /* Override any gcc2 internal prototype to avoid an error. */
3735 /* We use char because int might match the return type of a gcc2
3736 builtin and then its argument prototype would still apply. */
3738 /* The GNU C library defines this for functions which it implements
3739 to always fail with ENOSYS. Some functions are actually named
3740 something starting with __ and the normal name is an alias. */
3741 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3744 char (*f) () = $ac_func;
3753 return f != $ac_func;
3758 rm -f conftest.
$ac_objext conftest
$ac_exeext
3759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3760 (eval $ac_link) 2>conftest.er1
3762 grep -v '^ *+' conftest.er1
>conftest.err
3764 cat conftest.err
>&5
3765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3766 (exit $ac_status); } &&
3767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } &&
3773 { ac_try
='test -s conftest$ac_exeext'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; }; then
3779 eval "$as_ac_var=yes"
3781 echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.
$ac_ext >&5
3784 eval "$as_ac_var=no"
3786 rm -f conftest.err conftest.
$ac_objext \
3787 conftest
$ac_exeext conftest.
$ac_ext
3789 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3790 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3791 if test `eval echo '${'$as_ac_var'}'` = yes; then
3792 cat >>confdefs.h
<<_ACEOF
3793 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3804 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3805 echo "$as_me:$LINENO: checking for $ac_func" >&5
3806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3807 if eval "test \"\${$as_ac_var+set}\" = set"; then
3808 echo $ECHO_N "(cached) $ECHO_C" >&6
3810 cat >conftest.
$ac_ext <<_ACEOF
3813 cat confdefs.h
>>conftest.
$ac_ext
3814 cat >>conftest.
$ac_ext <<_ACEOF
3815 /* end confdefs.h. */
3816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3818 #define $ac_func innocuous_$ac_func
3820 /* System header to define __stub macros and hopefully few prototypes,
3821 which can conflict with char $ac_func (); below.
3822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3823 <limits.h> exists even on freestanding compilers. */
3826 # include <limits.h>
3828 # include <assert.h>
3833 /* Override any gcc2 internal prototype to avoid an error. */
3838 /* We use char because int might match the return type of a gcc2
3839 builtin and then its argument prototype would still apply. */
3841 /* The GNU C library defines this for functions which it implements
3842 to always fail with ENOSYS. Some functions are actually named
3843 something starting with __ and the normal name is an alias. */
3844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3847 char (*f) () = $ac_func;
3856 return f != $ac_func;
3861 rm -f conftest.
$ac_objext conftest
$ac_exeext
3862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3863 (eval $ac_link) 2>conftest.er1
3865 grep -v '^ *+' conftest.er1
>conftest.err
3867 cat conftest.err
>&5
3868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3869 (exit $ac_status); } &&
3870 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3875 (exit $ac_status); }; } &&
3876 { ac_try
='test -s conftest$ac_exeext'
3877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); }; }; then
3882 eval "$as_ac_var=yes"
3884 echo "$as_me: failed program was:" >&5
3885 sed 's/^/| /' conftest.
$ac_ext >&5
3887 eval "$as_ac_var=no"
3889 rm -f conftest.err conftest.
$ac_objext \
3890 conftest
$ac_exeext conftest.
$ac_ext
3892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3894 if test `eval echo '${'$as_ac_var'}'` = yes; then
3895 cat >>confdefs.h
<<_ACEOF
3896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3904 for ac_func
in inet_ntop
3906 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3907 echo "$as_me:$LINENO: checking for $ac_func" >&5
3908 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3909 if eval "test \"\${$as_ac_var+set}\" = set"; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 cat >conftest.
$ac_ext <<_ACEOF
3915 cat confdefs.h
>>conftest.
$ac_ext
3916 cat >>conftest.
$ac_ext <<_ACEOF
3917 /* end confdefs.h. */
3918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3920 #define $ac_func innocuous_$ac_func
3922 /* System header to define __stub macros and hopefully few prototypes,
3923 which can conflict with char $ac_func (); below.
3924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3925 <limits.h> exists even on freestanding compilers. */
3928 # include <limits.h>
3930 # include <assert.h>
3935 /* Override any gcc2 internal prototype to avoid an error. */
3940 /* We use char because int might match the return type of a gcc2
3941 builtin and then its argument prototype would still apply. */
3943 /* The GNU C library defines this for functions which it implements
3944 to always fail with ENOSYS. Some functions are actually named
3945 something starting with __ and the normal name is an alias. */
3946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3949 char (*f) () = $ac_func;
3958 return f != $ac_func;
3963 rm -f conftest.
$ac_objext conftest
$ac_exeext
3964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3965 (eval $ac_link) 2>conftest.er1
3967 grep -v '^ *+' conftest.er1
>conftest.err
3969 cat conftest.err
>&5
3970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3971 (exit $ac_status); } &&
3972 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3977 (exit $ac_status); }; } &&
3978 { ac_try
='test -s conftest$ac_exeext'
3979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3983 (exit $ac_status); }; }; then
3984 eval "$as_ac_var=yes"
3986 echo "$as_me: failed program was:" >&5
3987 sed 's/^/| /' conftest.
$ac_ext >&5
3989 eval "$as_ac_var=no"
3991 rm -f conftest.err conftest.
$ac_objext \
3992 conftest
$ac_exeext conftest.
$ac_ext
3994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3996 if test `eval echo '${'$as_ac_var'}'` = yes; then
3997 cat >>confdefs.h
<<_ACEOF
3998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
4005 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
4006 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
4007 if test "${ac_cv_type_signal+set}" = set; then
4008 echo $ECHO_N "(cached) $ECHO_C" >&6
4010 cat >conftest.
$ac_ext <<_ACEOF
4013 cat confdefs.h
>>conftest.
$ac_ext
4014 cat >>conftest.
$ac_ext <<_ACEOF
4015 /* end confdefs.h. */
4016 #include <sys/types.h>
4022 extern "C" void (*signal (int, void (*)(int)))(int);
4024 void (*signal ()) ();
4035 rm -f conftest.
$ac_objext
4036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4037 (eval $ac_compile) 2>conftest.er1
4039 grep -v '^ *+' conftest.er1
>conftest.err
4041 cat conftest.err
>&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); } &&
4044 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); }; } &&
4050 { ac_try
='test -s conftest.$ac_objext'
4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); }; }; then
4056 ac_cv_type_signal
=void
4058 echo "$as_me: failed program was:" >&5
4059 sed 's/^/| /' conftest.
$ac_ext >&5
4061 ac_cv_type_signal
=int
4063 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4065 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
4066 echo "${ECHO_T}$ac_cv_type_signal" >&6
4068 cat >>confdefs.h
<<_ACEOF
4069 #define RETSIGTYPE $ac_cv_type_signal
4075 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4076 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4077 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4078 echo $ECHO_N "(cached) $ECHO_C" >&6
4080 ac_check_lib_save_LIBS
=$LIBS
4082 cat >conftest.
$ac_ext <<_ACEOF
4085 cat confdefs.h
>>conftest.
$ac_ext
4086 cat >>conftest.
$ac_ext <<_ACEOF
4087 /* end confdefs.h. */
4089 /* Override any gcc2 internal prototype to avoid an error. */
4093 /* We use char because int might match the return type of a gcc2
4094 builtin and then its argument prototype would still apply. */
4095 char gethostbyname ();
4104 rm -f conftest.
$ac_objext conftest
$ac_exeext
4105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4106 (eval $ac_link) 2>conftest.er1
4108 grep -v '^ *+' conftest.er1
>conftest.err
4110 cat conftest.err
>&5
4111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4112 (exit $ac_status); } &&
4113 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4118 (exit $ac_status); }; } &&
4119 { ac_try
='test -s conftest$ac_exeext'
4120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4124 (exit $ac_status); }; }; then
4125 ac_cv_lib_nsl_gethostbyname
=yes
4127 echo "$as_me: failed program was:" >&5
4128 sed 's/^/| /' conftest.
$ac_ext >&5
4130 ac_cv_lib_nsl_gethostbyname
=no
4132 rm -f conftest.err conftest.
$ac_objext \
4133 conftest
$ac_exeext conftest.
$ac_ext
4134 LIBS
=$ac_check_lib_save_LIBS
4136 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4137 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
4138 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4139 cat >>confdefs.h
<<_ACEOF
4140 #define HAVE_LIBNSL 1
4148 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4149 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
4150 if test "${ac_cv_lib_socket_connect+set}" = set; then
4151 echo $ECHO_N "(cached) $ECHO_C" >&6
4153 ac_check_lib_save_LIBS
=$LIBS
4154 LIBS
="-lsocket $LIBS"
4155 cat >conftest.
$ac_ext <<_ACEOF
4158 cat confdefs.h
>>conftest.
$ac_ext
4159 cat >>conftest.
$ac_ext <<_ACEOF
4160 /* end confdefs.h. */
4162 /* Override any gcc2 internal prototype to avoid an error. */
4166 /* We use char because int might match the return type of a gcc2
4167 builtin and then its argument prototype would still apply. */
4177 rm -f conftest.
$ac_objext conftest
$ac_exeext
4178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4179 (eval $ac_link) 2>conftest.er1
4181 grep -v '^ *+' conftest.er1
>conftest.err
4183 cat conftest.err
>&5
4184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4185 (exit $ac_status); } &&
4186 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4191 (exit $ac_status); }; } &&
4192 { ac_try
='test -s conftest$ac_exeext'
4193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4197 (exit $ac_status); }; }; then
4198 ac_cv_lib_socket_connect
=yes
4200 echo "$as_me: failed program was:" >&5
4201 sed 's/^/| /' conftest.
$ac_ext >&5
4203 ac_cv_lib_socket_connect
=no
4205 rm -f conftest.err conftest.
$ac_objext \
4206 conftest
$ac_exeext conftest.
$ac_ext
4207 LIBS
=$ac_check_lib_save_LIBS
4209 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4210 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
4211 if test $ac_cv_lib_socket_connect = yes; then
4212 cat >>confdefs.h
<<_ACEOF
4213 #define HAVE_LIBSOCKET 1
4216 LIBS
="-lsocket $LIBS"
4221 echo "$as_me:$LINENO: checking for herror in -lresolv" >&5
4222 echo $ECHO_N "checking for herror in -lresolv... $ECHO_C" >&6
4223 if test "${ac_cv_lib_resolv_herror+set}" = set; then
4224 echo $ECHO_N "(cached) $ECHO_C" >&6
4226 ac_check_lib_save_LIBS
=$LIBS
4227 LIBS
="-lresolv $LIBS"
4228 cat >conftest.
$ac_ext <<_ACEOF
4231 cat confdefs.h
>>conftest.
$ac_ext
4232 cat >>conftest.
$ac_ext <<_ACEOF
4233 /* end confdefs.h. */
4235 /* Override any gcc2 internal prototype to avoid an error. */
4239 /* We use char because int might match the return type of a gcc2
4240 builtin and then its argument prototype would still apply. */
4250 rm -f conftest.
$ac_objext conftest
$ac_exeext
4251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4252 (eval $ac_link) 2>conftest.er1
4254 grep -v '^ *+' conftest.er1
>conftest.err
4256 cat conftest.err
>&5
4257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4258 (exit $ac_status); } &&
4259 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4264 (exit $ac_status); }; } &&
4265 { ac_try
='test -s conftest$ac_exeext'
4266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4270 (exit $ac_status); }; }; then
4271 ac_cv_lib_resolv_herror
=yes
4273 echo "$as_me: failed program was:" >&5
4274 sed 's/^/| /' conftest.
$ac_ext >&5
4276 ac_cv_lib_resolv_herror
=no
4278 rm -f conftest.err conftest.
$ac_objext \
4279 conftest
$ac_exeext conftest.
$ac_ext
4280 LIBS
=$ac_check_lib_save_LIBS
4282 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_herror" >&5
4283 echo "${ECHO_T}$ac_cv_lib_resolv_herror" >&6
4284 if test $ac_cv_lib_resolv_herror = yes; then
4285 cat >>confdefs.h
<<_ACEOF
4286 #define HAVE_LIBRESOLV 1
4289 LIBS
="-lresolv $LIBS"
4297 echo "$as_me:$LINENO: checking for gzopen in -lz" >&5
4298 echo $ECHO_N "checking for gzopen in -lz... $ECHO_C" >&6
4299 if test "${ac_cv_lib_z_gzopen+set}" = set; then
4300 echo $ECHO_N "(cached) $ECHO_C" >&6
4302 ac_check_lib_save_LIBS
=$LIBS
4304 cat >conftest.
$ac_ext <<_ACEOF
4307 cat confdefs.h
>>conftest.
$ac_ext
4308 cat >>conftest.
$ac_ext <<_ACEOF
4309 /* end confdefs.h. */
4311 /* Override any gcc2 internal prototype to avoid an error. */
4315 /* We use char because int might match the return type of a gcc2
4316 builtin and then its argument prototype would still apply. */
4326 rm -f conftest.
$ac_objext conftest
$ac_exeext
4327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4328 (eval $ac_link) 2>conftest.er1
4330 grep -v '^ *+' conftest.er1
>conftest.err
4332 cat conftest.err
>&5
4333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4334 (exit $ac_status); } &&
4335 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4340 (exit $ac_status); }; } &&
4341 { ac_try
='test -s conftest$ac_exeext'
4342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4346 (exit $ac_status); }; }; then
4347 ac_cv_lib_z_gzopen
=yes
4349 echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.
$ac_ext >&5
4352 ac_cv_lib_z_gzopen
=no
4354 rm -f conftest.err conftest.
$ac_objext \
4355 conftest
$ac_exeext conftest.
$ac_ext
4356 LIBS
=$ac_check_lib_save_LIBS
4358 echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzopen" >&5
4359 echo "${ECHO_T}$ac_cv_lib_z_gzopen" >&6
4360 if test $ac_cv_lib_z_gzopen = yes; then
4361 cat >>confdefs.h
<<_ACEOF
4372 # Check whether --enable-crypto or --disable-crypto was given.
4373 if test "${enable_crypto+set}" = set; then
4374 enableval
="$enable_crypto"
4375 if test $enableval != yes; then
4382 GNUTLS_MAN_STATUS
="This copy of WMBiff was not compiled with GNUTLS."
4383 if test "$gnutls" = "ok"; then
4385 # Check whether --with-libgnutls-prefix or --without-libgnutls-prefix was given.
4386 if test "${with_libgnutls_prefix+set}" = set; then
4387 withval
="$with_libgnutls_prefix"
4388 libgnutls_config_prefix
="$withval"
4390 libgnutls_config_prefix
=""
4393 if test x
$libgnutls_config_prefix != x
; then
4394 libgnutls_config_args
="$libgnutls_config_args --prefix=$libgnutls_config_prefix"
4395 if test x
${LIBGNUTLS_CONFIG+set} != xset
; then
4396 LIBGNUTLS_CONFIG
=$libgnutls_config_prefix/bin
/libgnutls-config
4400 # Extract the first word of "libgnutls-config", so it can be a program name with args.
4401 set dummy libgnutls-config
; ac_word
=$2
4402 echo "$as_me:$LINENO: checking for $ac_word" >&5
4403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4404 if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
4405 echo $ECHO_N "(cached) $ECHO_C" >&6
4407 case $LIBGNUTLS_CONFIG in
4409 ac_cv_path_LIBGNUTLS_CONFIG
="$LIBGNUTLS_CONFIG" # Let the user override the test with a path.
4412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir
=.
4417 for ac_exec_ext
in '' $ac_executable_extensions; do
4418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4419 ac_cv_path_LIBGNUTLS_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4426 test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG
="no"
4430 LIBGNUTLS_CONFIG
=$ac_cv_path_LIBGNUTLS_CONFIG
4432 if test -n "$LIBGNUTLS_CONFIG"; then
4433 echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
4434 echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6
4436 echo "$as_me:$LINENO: result: no" >&5
4437 echo "${ECHO_T}no" >&6
4440 min_libgnutls_version
=1.0.4
4441 echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
4442 echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6
4444 if test "$LIBGNUTLS_CONFIG" = "no" ; then
4447 LIBGNUTLS_CFLAGS
=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
4448 LIBGNUTLS_LIBS
=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
4449 libgnutls_config_version
=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
4452 ac_save_CFLAGS
="$CFLAGS"
4453 ac_save_LIBS
="$LIBS"
4454 CFLAGS
="$CFLAGS $LIBGNUTLS_CFLAGS"
4455 LIBS
="$LIBS $LIBGNUTLS_LIBS"
4456 rm -f conf.libgnutlstest
4457 if test "$cross_compiling" = yes; then
4458 echo $ac_n "cross compiling; assumed OK... $ac_c"
4460 cat >conftest.
$ac_ext <<_ACEOF
4463 cat confdefs.h
>>conftest.
$ac_ext
4464 cat >>conftest.
$ac_ext <<_ACEOF
4465 /* end confdefs.h. */
4470 #include <gnutls/gnutls.h>
4475 system ("touch conf.libgnutlstest");
4477 if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) )
4479 printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n",
4480 "$libgnutls_config_version", gnutls_check_version(NULL) );
4481 printf("*** was found! If libgnutls-config was correct, then it is best\n");
4482 printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n");
4483 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
4484 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
4485 printf("*** required on your system.\n");
4486 printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n");
4487 printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n");
4488 printf("*** before re-running configure\n");
4490 else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) )
4492 printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION);
4493 printf("*** library (version %s)\n", gnutls_check_version(NULL) );
4497 if ( gnutls_check_version( "$min_libgnutls_version" ) )
4503 printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n",
4504 gnutls_check_version(NULL) );
4505 printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n",
4506 "$min_libgnutls_version" );
4507 printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n");
4509 printf("*** If you have already installed a sufficiently new version, this error\n");
4510 printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n");
4511 printf("*** being found. The easiest way to fix this is to remove the old version\n");
4512 printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n");
4513 printf("*** correct copy of libgnutls-config. (In this case, you will have to\n");
4514 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
4515 printf("*** so that the correct libraries are found at run-time))\n");
4522 rm -f conftest
$ac_exeext
4523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4524 (eval $ac_link) 2>&5
4526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4527 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4532 (exit $ac_status); }; }; then
4535 echo "$as_me: program exited with status $ac_status" >&5
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.
$ac_ext >&5
4542 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4544 CFLAGS
="$ac_save_CFLAGS"
4545 LIBS
="$ac_save_LIBS"
4548 if test "x$no_libgnutls" = x
; then
4549 echo "$as_me:$LINENO: result: yes" >&5
4550 echo "${ECHO_T}yes" >&6
4551 LIBS
="$LIBS $LIBGNUTLS_LIBS"
4552 CFLAGS
="$CFLAGS $LIBGNUTLS_CFLAGS"
4553 CPPFLAGS
="$CPPFLAGS $LIBGNUTLS_CFLAGS"
4554 GNUTLS_COMMON_O
="gnutls-common.o"
4555 GNUTLS_MAN_STATUS
="This copy of WMBiff was compiled with GNUTLS."
4557 for ac_header
in gnutls
/gnutls.h
4559 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4560 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4561 echo "$as_me:$LINENO: checking for $ac_header" >&5
4562 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4563 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4564 echo $ECHO_N "(cached) $ECHO_C" >&6
4566 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4567 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4569 # Is the header compilable?
4570 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4571 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4572 cat >conftest.
$ac_ext <<_ACEOF
4575 cat confdefs.h
>>conftest.
$ac_ext
4576 cat >>conftest.
$ac_ext <<_ACEOF
4577 /* end confdefs.h. */
4578 $ac_includes_default
4579 #include <$ac_header>
4581 rm -f conftest.
$ac_objext
4582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4583 (eval $ac_compile) 2>conftest.er1
4585 grep -v '^ *+' conftest.er1
>conftest.err
4587 cat conftest.err
>&5
4588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4589 (exit $ac_status); } &&
4590 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4595 (exit $ac_status); }; } &&
4596 { ac_try
='test -s conftest.$ac_objext'
4597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4601 (exit $ac_status); }; }; then
4602 ac_header_compiler
=yes
4604 echo "$as_me: failed program was:" >&5
4605 sed 's/^/| /' conftest.
$ac_ext >&5
4607 ac_header_compiler
=no
4609 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4611 echo "${ECHO_T}$ac_header_compiler" >&6
4613 # Is the header present?
4614 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4616 cat >conftest.
$ac_ext <<_ACEOF
4619 cat confdefs.h
>>conftest.
$ac_ext
4620 cat >>conftest.
$ac_ext <<_ACEOF
4621 /* end confdefs.h. */
4622 #include <$ac_header>
4624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4625 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4627 grep -v '^ *+' conftest.er1
>conftest.err
4629 cat conftest.err
>&5
4630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4631 (exit $ac_status); } >/dev
/null
; then
4632 if test -s conftest.err
; then
4633 ac_cpp_err
=$ac_c_preproc_warn_flag
4634 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4641 if test -z "$ac_cpp_err"; then
4642 ac_header_preproc
=yes
4644 echo "$as_me: failed program was:" >&5
4645 sed 's/^/| /' conftest.
$ac_ext >&5
4647 ac_header_preproc
=no
4649 rm -f conftest.err conftest.
$ac_ext
4650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4651 echo "${ECHO_T}$ac_header_preproc" >&6
4653 # So? What about this header?
4654 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4656 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4657 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4658 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4659 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4660 ac_header_preproc
=yes
4663 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4664 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4665 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4666 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4667 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4668 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4669 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4670 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4671 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4672 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4673 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4674 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4677 ## ------------------------------------------------- ##
4678 ## Report this to wmbiff-devel@lists.sourceforge.net ##
4679 ## ------------------------------------------------- ##
4682 sed "s/^/$as_me: WARNING: /" >&2
4685 echo "$as_me:$LINENO: checking for $ac_header" >&5
4686 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4687 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4688 echo $ECHO_N "(cached) $ECHO_C" >&6
4690 eval "$as_ac_Header=\$ac_header_preproc"
4692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4693 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4696 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4697 cat >>confdefs.h
<<_ACEOF
4698 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4706 if test -f conf.libgnutlstest
; then
4709 echo "$as_me:$LINENO: result: no" >&5
4710 echo "${ECHO_T}no" >&6
4712 if test "$LIBGNUTLS_CONFIG" = "no" ; then
4713 echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
4714 echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in"
4715 echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the"
4716 echo "*** full path to libgnutls-config."
4718 if test -f conf.libgnutlstest
; then
4721 echo "*** Could not run libgnutls test program, checking why..."
4722 CFLAGS
="$CFLAGS $LIBGNUTLS_CFLAGS"
4723 LIBS
="$LIBS $LIBGNUTLS_LIBS"
4724 cat >conftest.
$ac_ext <<_ACEOF
4727 cat confdefs.h
>>conftest.
$ac_ext
4728 cat >>conftest.
$ac_ext <<_ACEOF
4729 /* end confdefs.h. */
4734 #include <gnutls/gnutls.h>
4739 return !!gnutls_check_version(NULL);
4744 rm -f conftest.
$ac_objext conftest
$ac_exeext
4745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4746 (eval $ac_link) 2>conftest.er1
4748 grep -v '^ *+' conftest.er1
>conftest.err
4750 cat conftest.err
>&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } &&
4753 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4758 (exit $ac_status); }; } &&
4759 { ac_try
='test -s conftest$ac_exeext'
4760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4764 (exit $ac_status); }; }; then
4765 echo "*** The test program compiled, but did not run. This usually means"
4766 echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
4767 echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
4768 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
4769 echo "*** to the installed location Also, make sure you have run ldconfig if that"
4770 echo "*** is required on your system"
4772 echo "*** If you have an old version installed, it is best to remove it, although"
4773 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
4776 echo "$as_me: failed program was:" >&5
4777 sed 's/^/| /' conftest.
$ac_ext >&5
4779 echo "*** The test program failed to compile or link. See the file config.log for the"
4780 echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
4781 echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
4782 echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
4784 rm -f conftest.err conftest.
$ac_objext \
4785 conftest
$ac_exeext conftest.
$ac_ext
4786 CFLAGS
="$ac_save_CFLAGS"
4787 LIBS
="$ac_save_LIBS"
4792 echo GNUTLS can be found
at ftp://gnutls.hellug.gr
/pub
/gnutls
4794 rm -f conf.libgnutlstest
4799 echo "$as_me:$LINENO: result: GNUTLS support requires libz.a and libgdbm.a" >&5
4800 echo "${ECHO_T}GNUTLS support requires libz.a and libgdbm.a" >&6
4803 GCRYPT_MAN_STATUS
="This copy of WMBiff was not compiled with gcrypt."
4804 if test "$gcrypt" = "ok"; then
4806 # Check whether --with-libgcrypt-prefix or --without-libgcrypt-prefix was given.
4807 if test "${with_libgcrypt_prefix+set}" = set; then
4808 withval
="$with_libgcrypt_prefix"
4809 libgcrypt_config_prefix
="$withval"
4811 libgcrypt_config_prefix
=""
4813 # Check whether --enable-libgcrypttest or --disable-libgcrypttest was given.
4814 if test "${enable_libgcrypttest+set}" = set; then
4815 enableval
="$enable_libgcrypttest"
4818 enable_libgcrypttest
=yes
4821 if test x
$libgcrypt_config_prefix != x
; then
4822 libgcrypt_config_args
="$libgcrypt_config_args --prefix=$libgcrypt_config_prefix"
4823 if test x
${LIBGCRYPT_CONFIG+set} != xset
; then
4824 LIBGCRYPT_CONFIG
=$libgcrypt_config_prefix/bin
/libgcrypt-config
4828 # Extract the first word of "libgcrypt-config", so it can be a program name with args.
4829 set dummy libgcrypt-config
; ac_word
=$2
4830 echo "$as_me:$LINENO: checking for $ac_word" >&5
4831 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4832 if test "${ac_cv_path_LIBGCRYPT_CONFIG+set}" = set; then
4833 echo $ECHO_N "(cached) $ECHO_C" >&6
4835 case $LIBGCRYPT_CONFIG in
4837 ac_cv_path_LIBGCRYPT_CONFIG
="$LIBGCRYPT_CONFIG" # Let the user override the test with a path.
4840 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4844 test -z "$as_dir" && as_dir
=.
4845 for ac_exec_ext
in '' $ac_executable_extensions; do
4846 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4847 ac_cv_path_LIBGCRYPT_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4848 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 test -z "$ac_cv_path_LIBGCRYPT_CONFIG" && ac_cv_path_LIBGCRYPT_CONFIG
="no"
4858 LIBGCRYPT_CONFIG
=$ac_cv_path_LIBGCRYPT_CONFIG
4860 if test -n "$LIBGCRYPT_CONFIG"; then
4861 echo "$as_me:$LINENO: result: $LIBGCRYPT_CONFIG" >&5
4862 echo "${ECHO_T}$LIBGCRYPT_CONFIG" >&6
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4868 min_libgcrypt_version
=1.1.90
4869 echo "$as_me:$LINENO: checking for libgcrypt - version >= $min_libgcrypt_version" >&5
4870 echo $ECHO_N "checking for libgcrypt - version >= $min_libgcrypt_version... $ECHO_C" >&6
4872 if test "$LIBGCRYPT_CONFIG" = "no" ; then
4875 LIBGCRYPT_CFLAGS
=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --cflags`
4876 LIBGCRYPT_LIBS
=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --libs`
4877 libgcrypt_config_version
=`$LIBGCRYPT_CONFIG $libgcrypt_config_args --version`
4878 if test "x$enable_libgcrypttest" = "xyes" ; then
4879 ac_save_CFLAGS
="$CFLAGS"
4880 ac_save_LIBS
="$LIBS"
4881 CFLAGS
="$CFLAGS $LIBGCRYPT_CFLAGS"
4882 LIBS
="$LIBS $LIBGCRYPT_LIBS"
4883 rm -f conf.libgcrypttest
4884 if test "$cross_compiling" = yes; then
4885 echo $ac_n "cross compiling; assumed OK... $ac_c"
4887 cat >conftest.
$ac_ext <<_ACEOF
4890 cat confdefs.h
>>conftest.
$ac_ext
4891 cat >>conftest.
$ac_ext <<_ACEOF
4892 /* end confdefs.h. */
4902 system ("touch conf.libgcrypttest");
4904 if( strcmp( gcry_check_version(NULL), "$libgcrypt_config_version" ) )
4906 printf("\n*** 'libgcrypt-config --version' returned %s, but LIBGCRYPT (%s)\n",
4907 "$libgcrypt_config_version", gcry_check_version(NULL) );
4908 printf("*** was found! If libgcrypt-config was correct, then it is best\n");
4909 printf("*** to remove the old version of LIBGCRYPT. You may also be able to fix the error\n");
4910 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
4911 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
4912 printf("*** required on your system.\n");
4913 printf("*** If libgcrypt-config was wrong, set the environment variable LIBGCRYPT_CONFIG\n");
4914 printf("*** to point to the correct copy of libgcrypt-config, and remove the file config.cache\n");
4915 printf("*** before re-running configure\n");
4917 else if ( strcmp(gcry_check_version(NULL), GCRYPT_VERSION ) )
4919 printf("\n*** LIBGCRYPT header file (version %s) does not match\n", GCRYPT_VERSION);
4920 printf("*** library (version %s)\n", gcry_check_version(NULL) );
4924 if ( gcry_check_version( "$min_libgcrypt_version" ) )
4930 printf("no\n*** An old version of LIBGCRYPT (%s) was found.\n",
4931 gcry_check_version(NULL) );
4932 printf("*** You need a version of LIBGCRYPT newer than %s. The latest version of\n",
4933 "$min_libgcrypt_version" );
4934 printf("*** LIBGCRYPT is always available from ftp://ftp.gnupg.org/pub/libgcrypt/gnupg.\n");
4935 printf("*** (It is distributed along with GnuPG).\n");
4937 printf("*** If you have already installed a sufficiently new version, this error\n");
4938 printf("*** probably means that the wrong copy of the libgcrypt-config shell script is\n");
4939 printf("*** being found. The easiest way to fix this is to remove the old version\n");
4940 printf("*** of LIBGCRYPT, but you can also set the LIBGCRYPT_CONFIG environment to point to the\n");
4941 printf("*** correct copy of libgcrypt-config. (In this case, you will have to\n");
4942 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
4943 printf("*** so that the correct libraries are found at run-time))\n");
4950 rm -f conftest
$ac_exeext
4951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4952 (eval $ac_link) 2>&5
4954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4955 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4960 (exit $ac_status); }; }; then
4963 echo "$as_me: program exited with status $ac_status" >&5
4964 echo "$as_me: failed program was:" >&5
4965 sed 's/^/| /' conftest.
$ac_ext >&5
4970 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4972 CFLAGS
="$ac_save_CFLAGS"
4973 LIBS
="$ac_save_LIBS"
4976 if test "x$no_libgcrypt" = x
; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4979 CFLAGS
="$CFLAGS $LIBGCRYPT_CFLAGS"
4980 CPPFLAGS
="$CPPFLAGS $LIBGCRYPT_CFLAGS"
4981 GCRYPT_MAN_STATUS
="This copy of WMBiff was compiled with gcrypt."
4983 for ac_header
in gcrypt.h
4985 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4987 echo "$as_me:$LINENO: checking for $ac_header" >&5
4988 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4990 echo $ECHO_N "(cached) $ECHO_C" >&6
4992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4993 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4995 # Is the header compilable?
4996 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4997 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4998 cat >conftest.
$ac_ext <<_ACEOF
5001 cat confdefs.h
>>conftest.
$ac_ext
5002 cat >>conftest.
$ac_ext <<_ACEOF
5003 /* end confdefs.h. */
5004 $ac_includes_default
5005 #include <$ac_header>
5007 rm -f conftest.
$ac_objext
5008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5009 (eval $ac_compile) 2>conftest.er1
5011 grep -v '^ *+' conftest.er1
>conftest.err
5013 cat conftest.err
>&5
5014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5015 (exit $ac_status); } &&
5016 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; } &&
5022 { ac_try
='test -s conftest.$ac_objext'
5023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; }; then
5028 ac_header_compiler
=yes
5030 echo "$as_me: failed program was:" >&5
5031 sed 's/^/| /' conftest.
$ac_ext >&5
5033 ac_header_compiler
=no
5035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5036 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5037 echo "${ECHO_T}$ac_header_compiler" >&6
5039 # Is the header present?
5040 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5041 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5042 cat >conftest.
$ac_ext <<_ACEOF
5045 cat confdefs.h
>>conftest.
$ac_ext
5046 cat >>conftest.
$ac_ext <<_ACEOF
5047 /* end confdefs.h. */
5048 #include <$ac_header>
5050 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5051 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5053 grep -v '^ *+' conftest.er1
>conftest.err
5055 cat conftest.err
>&5
5056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5057 (exit $ac_status); } >/dev
/null
; then
5058 if test -s conftest.err
; then
5059 ac_cpp_err
=$ac_c_preproc_warn_flag
5060 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5067 if test -z "$ac_cpp_err"; then
5068 ac_header_preproc
=yes
5070 echo "$as_me: failed program was:" >&5
5071 sed 's/^/| /' conftest.
$ac_ext >&5
5073 ac_header_preproc
=no
5075 rm -f conftest.err conftest.
$ac_ext
5076 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5077 echo "${ECHO_T}$ac_header_preproc" >&6
5079 # So? What about this header?
5080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5086 ac_header_preproc
=yes
5089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5103 ## ------------------------------------------------- ##
5104 ## Report this to wmbiff-devel@lists.sourceforge.net ##
5105 ## ------------------------------------------------- ##
5108 sed "s/^/$as_me: WARNING: /" >&2
5111 echo "$as_me:$LINENO: checking for $ac_header" >&5
5112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5113 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 eval "$as_ac_Header=\$ac_header_preproc"
5118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5119 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5122 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5123 cat >>confdefs.h
<<_ACEOF
5124 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5132 if test -f conf.libgcrypttest
; then
5135 echo "$as_me:$LINENO: result: no" >&5
5136 echo "${ECHO_T}no" >&6
5138 if test "$LIBGCRYPT_CONFIG" = "no" ; then
5139 echo "*** The libgcrypt-config script installed by LIBGCRYPT could not be found"
5140 echo "*** If LIBGCRYPT was installed in PREFIX, make sure PREFIX/bin is in"
5141 echo "*** your path, or set the LIBGCRYPT_CONFIG environment variable to the"
5142 echo "*** full path to libgcrypt-config."
5144 if test -f conf.libgcrypttest
; then
5147 echo "*** Could not run libgcrypt test program, checking why..."
5148 CFLAGS
="$CFLAGS $LIBGCRYPT_CFLAGS"
5149 LIBS
="$LIBS $LIBGCRYPT_LIBS"
5150 cat >conftest.
$ac_ext <<_ACEOF
5153 cat confdefs.h
>>conftest.
$ac_ext
5154 cat >>conftest.
$ac_ext <<_ACEOF
5155 /* end confdefs.h. */
5165 return !!gcry_check_version(NULL);
5170 rm -f conftest.
$ac_objext conftest
$ac_exeext
5171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5172 (eval $ac_link) 2>conftest.er1
5174 grep -v '^ *+' conftest.er1
>conftest.err
5176 cat conftest.err
>&5
5177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5178 (exit $ac_status); } &&
5179 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5184 (exit $ac_status); }; } &&
5185 { ac_try
='test -s conftest$ac_exeext'
5186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5190 (exit $ac_status); }; }; then
5191 echo "*** The test program compiled, but did not run. This usually means"
5192 echo "*** that the run-time linker is not finding LIBGCRYPT or finding the wrong"
5193 echo "*** version of LIBGCRYPT. If it is not finding LIBGCRYPT, you'll need to set your"
5194 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
5195 echo "*** to the installed location Also, make sure you have run ldconfig if that"
5196 echo "*** is required on your system"
5198 echo "*** If you have an old version installed, it is best to remove it, although"
5199 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
5202 echo "$as_me: failed program was:" >&5
5203 sed 's/^/| /' conftest.
$ac_ext >&5
5205 echo "*** The test program failed to compile or link. See the file config.log for the"
5206 echo "*** exact error that occured. This usually means LIBGCRYPT was incorrectly installed"
5207 echo "*** or that you have moved LIBGCRYPT since it was installed. In the latter case, you"
5208 echo "*** may want to edit the libgcrypt-config script: $LIBGCRYPT_CONFIG"
5210 rm -f conftest.err conftest.
$ac_objext \
5211 conftest
$ac_exeext conftest.
$ac_ext
5212 CFLAGS
="$ac_save_CFLAGS"
5213 LIBS
="$ac_save_LIBS"
5218 echo libgcrypt can be found
at ftp://ftp.gnupg.org
/pub
/gcrypt
/alpha
/libgcrypt
/
5222 rm -f conf.libgcrypttest
5225 echo "$as_me:$LINENO: result: GCRYPT disabled." >&5
5226 echo "${ECHO_T}GCRYPT disabled." >&6
5236 for ac_header
in regex.h
5238 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5239 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5240 echo "$as_me:$LINENO: checking for $ac_header" >&5
5241 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5242 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5243 echo $ECHO_N "(cached) $ECHO_C" >&6
5245 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5246 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5248 # Is the header compilable?
5249 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5250 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5251 cat >conftest.
$ac_ext <<_ACEOF
5254 cat confdefs.h
>>conftest.
$ac_ext
5255 cat >>conftest.
$ac_ext <<_ACEOF
5256 /* end confdefs.h. */
5257 $ac_includes_default
5258 #include <$ac_header>
5260 rm -f conftest.
$ac_objext
5261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5262 (eval $ac_compile) 2>conftest.er1
5264 grep -v '^ *+' conftest.er1
>conftest.err
5266 cat conftest.err
>&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } &&
5269 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5274 (exit $ac_status); }; } &&
5275 { ac_try
='test -s conftest.$ac_objext'
5276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5280 (exit $ac_status); }; }; then
5281 ac_header_compiler
=yes
5283 echo "$as_me: failed program was:" >&5
5284 sed 's/^/| /' conftest.
$ac_ext >&5
5286 ac_header_compiler
=no
5288 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
5289 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5290 echo "${ECHO_T}$ac_header_compiler" >&6
5292 # Is the header present?
5293 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5294 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5295 cat >conftest.
$ac_ext <<_ACEOF
5298 cat confdefs.h
>>conftest.
$ac_ext
5299 cat >>conftest.
$ac_ext <<_ACEOF
5300 /* end confdefs.h. */
5301 #include <$ac_header>
5303 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5304 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5306 grep -v '^ *+' conftest.er1
>conftest.err
5308 cat conftest.err
>&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } >/dev
/null
; then
5311 if test -s conftest.err
; then
5312 ac_cpp_err
=$ac_c_preproc_warn_flag
5313 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5320 if test -z "$ac_cpp_err"; then
5321 ac_header_preproc
=yes
5323 echo "$as_me: failed program was:" >&5
5324 sed 's/^/| /' conftest.
$ac_ext >&5
5326 ac_header_preproc
=no
5328 rm -f conftest.err conftest.
$ac_ext
5329 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5330 echo "${ECHO_T}$ac_header_preproc" >&6
5332 # So? What about this header?
5333 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5335 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5336 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5338 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5339 ac_header_preproc
=yes
5342 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5343 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5344 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5345 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5346 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5347 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5348 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5349 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5351 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5352 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5353 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5356 ## ------------------------------------------------- ##
5357 ## Report this to wmbiff-devel@lists.sourceforge.net ##
5358 ## ------------------------------------------------- ##
5361 sed "s/^/$as_me: WARNING: /" >&2
5364 echo "$as_me:$LINENO: checking for $ac_header" >&5
5365 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5366 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5367 echo $ECHO_N "(cached) $ECHO_C" >&6
5369 eval "$as_ac_Header=\$ac_header_preproc"
5371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5375 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5376 cat >>confdefs.h
<<_ACEOF
5377 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5384 echo "$as_me:$LINENO: checking for X" >&5
5385 echo $ECHO_N "checking for X... $ECHO_C" >&6
5388 # Check whether --with-x or --without-x was given.
5389 if test "${with_x+set}" = set; then
5393 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5394 if test "x$with_x" = xno
; then
5395 # The user explicitly disabled X.
5398 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
5399 # Both variables are already set.
5402 if test "${ac_cv_have_x+set}" = set; then
5403 echo $ECHO_N "(cached) $ECHO_C" >&6
5405 # One or both of the vars are not set, and there is no cached value.
5406 ac_x_includes
=no ac_x_libraries
=no
5408 if mkdir conftest.dir
; then
5410 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5411 cat >Imakefile
<<'_ACEOF'
5413 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5415 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5416 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5417 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5418 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5419 for ac_extension
in a so sl
; do
5420 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
5421 test -f $ac_im_libdir/libX11.
$ac_extension; then
5422 ac_im_usrlibdir
=$ac_im_libdir; break
5425 # Screen out bogus values from the imake configuration. They are
5426 # bogus both because they are the default anyway, and because
5427 # using them would break gcc on systems where it needs fixed includes.
5428 case $ac_im_incroot in
5430 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
5432 case $ac_im_usrlibdir in
5434 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
5441 # Standard set of common directories for X headers.
5442 # Check X11 before X11Rn because it is often a symlink to the current release.
5454 /usr/local/X11/include
5455 /usr/local/X11R6/include
5456 /usr/local/X11R5/include
5457 /usr/local/X11R4/include
5459 /usr/local/include/X11
5460 /usr/local/include/X11R6
5461 /usr/local/include/X11R5
5462 /usr/local/include/X11R4
5466 /usr/XFree86/include/X11
5470 /usr/unsupported/include
5472 /usr/local/x11r5/include
5473 /usr/lpp/Xamples/include
5475 /usr/openwin/include
5476 /usr/openwin/share/include'
5478 if test "$ac_x_includes" = no
; then
5479 # Guess where to find include files, by looking for Xlib.h.
5480 # First, try using that file with no special directory specified.
5481 cat >conftest.
$ac_ext <<_ACEOF
5484 cat confdefs.h
>>conftest.
$ac_ext
5485 cat >>conftest.
$ac_ext <<_ACEOF
5486 /* end confdefs.h. */
5487 #include <X11/Xlib.h>
5489 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5490 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5492 grep -v '^ *+' conftest.er1
>conftest.err
5494 cat conftest.err
>&5
5495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5496 (exit $ac_status); } >/dev
/null
; then
5497 if test -s conftest.err
; then
5498 ac_cpp_err
=$ac_c_preproc_warn_flag
5499 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5506 if test -z "$ac_cpp_err"; then
5507 # We can compile using X headers with no special include directory.
5510 echo "$as_me: failed program was:" >&5
5511 sed 's/^/| /' conftest.
$ac_ext >&5
5513 for ac_dir
in $ac_x_header_dirs; do
5514 if test -r "$ac_dir/X11/Xlib.h"; then
5515 ac_x_includes
=$ac_dir
5520 rm -f conftest.err conftest.
$ac_ext
5521 fi # $ac_x_includes = no
5523 if test "$ac_x_libraries" = no
; then
5524 # Check for the libraries.
5525 # See if we find them without any special options.
5526 # Don't add to $LIBS permanently.
5529 cat >conftest.
$ac_ext <<_ACEOF
5532 cat confdefs.h
>>conftest.
$ac_ext
5533 cat >>conftest.
$ac_ext <<_ACEOF
5534 /* end confdefs.h. */
5535 #include <X11/Xlib.h>
5544 rm -f conftest.
$ac_objext conftest
$ac_exeext
5545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5546 (eval $ac_link) 2>conftest.er1
5548 grep -v '^ *+' conftest.er1
>conftest.err
5550 cat conftest.err
>&5
5551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5552 (exit $ac_status); } &&
5553 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); }; } &&
5559 { ac_try
='test -s conftest$ac_exeext'
5560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5564 (exit $ac_status); }; }; then
5566 # We can link X programs with no special library path.
5569 echo "$as_me: failed program was:" >&5
5570 sed 's/^/| /' conftest.
$ac_ext >&5
5573 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5575 # Don't even attempt the hair of trying to link an X program!
5576 for ac_extension
in a so sl
; do
5577 if test -r $ac_dir/libX11.
$ac_extension; then
5578 ac_x_libraries
=$ac_dir
5584 rm -f conftest.err conftest.
$ac_objext \
5585 conftest
$ac_exeext conftest.
$ac_ext
5586 fi # $ac_x_libraries = no
5588 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5589 # Didn't find X anywhere. Cache the known absence of X.
5590 ac_cv_have_x
="have_x=no"
5592 # Record where we found X for the cache.
5593 ac_cv_have_x
="have_x=yes \
5594 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5599 eval "$ac_cv_have_x"
5602 if test "$have_x" != yes; then
5603 echo "$as_me:$LINENO: result: $have_x" >&5
5604 echo "${ECHO_T}$have_x" >&6
5607 # If each of the values was on the command line, it overrides each guess.
5608 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5609 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5610 # Update the cache value to reflect the command line values.
5611 ac_cv_have_x
="have_x=yes \
5612 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5613 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5614 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5617 if test "$no_x" = yes; then
5618 # Not all programs may use this symbol, but it does not hurt to define it.
5620 cat >>confdefs.h
<<\_ACEOF
5621 #define X_DISPLAY_MISSING 1
5624 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5626 if test -n "$x_includes"; then
5627 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5630 # It would also be nice to do this for all -L options, not just this one.
5631 if test -n "$x_libraries"; then
5632 X_LIBS
="$X_LIBS -L$x_libraries"
5633 # For Solaris; some versions of Sun CC require a space after -R and
5634 # others require no space. Words are not sufficient . . . .
5635 case `(uname -sr) 2>/dev/null` in
5637 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5638 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5639 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5640 cat >conftest.
$ac_ext <<_ACEOF
5643 cat confdefs.h
>>conftest.
$ac_ext
5644 cat >>conftest.
$ac_ext <<_ACEOF
5645 /* end confdefs.h. */
5655 rm -f conftest.
$ac_objext conftest
$ac_exeext
5656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5657 (eval $ac_link) 2>conftest.er1
5659 grep -v '^ *+' conftest.er1
>conftest.err
5661 cat conftest.err
>&5
5662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5663 (exit $ac_status); } &&
5664 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5669 (exit $ac_status); }; } &&
5670 { ac_try
='test -s conftest$ac_exeext'
5671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); }; }; then
5678 echo "$as_me: failed program was:" >&5
5679 sed 's/^/| /' conftest.
$ac_ext >&5
5683 rm -f conftest.err conftest.
$ac_objext \
5684 conftest
$ac_exeext conftest.
$ac_ext
5685 if test $ac_R_nospace = yes; then
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 X_LIBS
="$X_LIBS -R$x_libraries"
5690 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5691 cat >conftest.
$ac_ext <<_ACEOF
5694 cat confdefs.h
>>conftest.
$ac_ext
5695 cat >>conftest.
$ac_ext <<_ACEOF
5696 /* end confdefs.h. */
5706 rm -f conftest.
$ac_objext conftest
$ac_exeext
5707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5708 (eval $ac_link) 2>conftest.er1
5710 grep -v '^ *+' conftest.er1
>conftest.err
5712 cat conftest.err
>&5
5713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5714 (exit $ac_status); } &&
5715 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5720 (exit $ac_status); }; } &&
5721 { ac_try
='test -s conftest$ac_exeext'
5722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5726 (exit $ac_status); }; }; then
5729 echo "$as_me: failed program was:" >&5
5730 sed 's/^/| /' conftest.
$ac_ext >&5
5734 rm -f conftest.err conftest.
$ac_objext \
5735 conftest
$ac_exeext conftest.
$ac_ext
5736 if test $ac_R_space = yes; then
5737 echo "$as_me:$LINENO: result: yes" >&5
5738 echo "${ECHO_T}yes" >&6
5739 X_LIBS
="$X_LIBS -R $x_libraries"
5741 echo "$as_me:$LINENO: result: neither works" >&5
5742 echo "${ECHO_T}neither works" >&6
5749 # Check for system-dependent libraries X programs must link with.
5750 # Do this before checking for the system-independent R6 libraries
5751 # (-lICE), since we may need -lsocket or whatever for X linking.
5753 if test "$ISC" = yes; then
5754 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
5756 # Martyn Johnson says this is needed for Ultrix, if the X
5757 # libraries were built with DECnet support. And Karl Berry says
5758 # the Alpha needs dnet_stub (dnet does not exist).
5759 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
5760 cat >conftest.
$ac_ext <<_ACEOF
5763 cat confdefs.h
>>conftest.
$ac_ext
5764 cat >>conftest.
$ac_ext <<_ACEOF
5765 /* end confdefs.h. */
5767 /* Override any gcc2 internal prototype to avoid an error. */
5771 /* We use char because int might match the return type of a gcc2
5772 builtin and then its argument prototype would still apply. */
5773 char XOpenDisplay ();
5782 rm -f conftest.
$ac_objext conftest
$ac_exeext
5783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5784 (eval $ac_link) 2>conftest.er1
5786 grep -v '^ *+' conftest.er1
>conftest.err
5788 cat conftest.err
>&5
5789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5790 (exit $ac_status); } &&
5791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5796 (exit $ac_status); }; } &&
5797 { ac_try
='test -s conftest$ac_exeext'
5798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5802 (exit $ac_status); }; }; then
5805 echo "$as_me: failed program was:" >&5
5806 sed 's/^/| /' conftest.
$ac_ext >&5
5808 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5809 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5810 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5811 echo $ECHO_N "(cached) $ECHO_C" >&6
5813 ac_check_lib_save_LIBS
=$LIBS
5815 cat >conftest.
$ac_ext <<_ACEOF
5818 cat confdefs.h
>>conftest.
$ac_ext
5819 cat >>conftest.
$ac_ext <<_ACEOF
5820 /* end confdefs.h. */
5822 /* Override any gcc2 internal prototype to avoid an error. */
5826 /* We use char because int might match the return type of a gcc2
5827 builtin and then its argument prototype would still apply. */
5837 rm -f conftest.
$ac_objext conftest
$ac_exeext
5838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5839 (eval $ac_link) 2>conftest.er1
5841 grep -v '^ *+' conftest.er1
>conftest.err
5843 cat conftest.err
>&5
5844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5845 (exit $ac_status); } &&
5846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5851 (exit $ac_status); }; } &&
5852 { ac_try
='test -s conftest$ac_exeext'
5853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5857 (exit $ac_status); }; }; then
5858 ac_cv_lib_dnet_dnet_ntoa
=yes
5860 echo "$as_me: failed program was:" >&5
5861 sed 's/^/| /' conftest.
$ac_ext >&5
5863 ac_cv_lib_dnet_dnet_ntoa
=no
5865 rm -f conftest.err conftest.
$ac_objext \
5866 conftest
$ac_exeext conftest.
$ac_ext
5867 LIBS
=$ac_check_lib_save_LIBS
5869 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5870 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5871 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5872 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
5875 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
5876 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5877 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
5878 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5879 echo $ECHO_N "(cached) $ECHO_C" >&6
5881 ac_check_lib_save_LIBS
=$LIBS
5882 LIBS
="-ldnet_stub $LIBS"
5883 cat >conftest.
$ac_ext <<_ACEOF
5886 cat confdefs.h
>>conftest.
$ac_ext
5887 cat >>conftest.
$ac_ext <<_ACEOF
5888 /* end confdefs.h. */
5890 /* Override any gcc2 internal prototype to avoid an error. */
5894 /* We use char because int might match the return type of a gcc2
5895 builtin and then its argument prototype would still apply. */
5905 rm -f conftest.
$ac_objext conftest
$ac_exeext
5906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5907 (eval $ac_link) 2>conftest.er1
5909 grep -v '^ *+' conftest.er1
>conftest.err
5911 cat conftest.err
>&5
5912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5913 (exit $ac_status); } &&
5914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5919 (exit $ac_status); }; } &&
5920 { ac_try
='test -s conftest$ac_exeext'
5921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5925 (exit $ac_status); }; }; then
5926 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
5928 echo "$as_me: failed program was:" >&5
5929 sed 's/^/| /' conftest.
$ac_ext >&5
5931 ac_cv_lib_dnet_stub_dnet_ntoa
=no
5933 rm -f conftest.err conftest.
$ac_objext \
5934 conftest
$ac_exeext conftest.
$ac_ext
5935 LIBS
=$ac_check_lib_save_LIBS
5937 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5938 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
5939 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5940 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
5945 rm -f conftest.err conftest.
$ac_objext \
5946 conftest
$ac_exeext conftest.
$ac_ext
5947 LIBS
="$ac_xsave_LIBS"
5949 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5950 # to get the SysV transport functions.
5951 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5953 # The nsl library prevents programs from opening the X display
5954 # on Irix 5.2, according to T.E. Dickey.
5955 # The functions gethostbyname, getservbyname, and inet_addr are
5956 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5957 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5958 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5959 if test "${ac_cv_func_gethostbyname+set}" = set; then
5960 echo $ECHO_N "(cached) $ECHO_C" >&6
5962 cat >conftest.
$ac_ext <<_ACEOF
5965 cat confdefs.h
>>conftest.
$ac_ext
5966 cat >>conftest.
$ac_ext <<_ACEOF
5967 /* end confdefs.h. */
5968 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
5969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5970 #define gethostbyname innocuous_gethostbyname
5972 /* System header to define __stub macros and hopefully few prototypes,
5973 which can conflict with char gethostbyname (); below.
5974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5975 <limits.h> exists even on freestanding compilers. */
5978 # include <limits.h>
5980 # include <assert.h>
5983 #undef gethostbyname
5985 /* Override any gcc2 internal prototype to avoid an error. */
5990 /* We use char because int might match the return type of a gcc2
5991 builtin and then its argument prototype would still apply. */
5992 char gethostbyname ();
5993 /* The GNU C library defines this for functions which it implements
5994 to always fail with ENOSYS. Some functions are actually named
5995 something starting with __ and the normal name is an alias. */
5996 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5999 char (*f) () = gethostbyname;
6008 return f != gethostbyname;
6013 rm -f conftest.
$ac_objext conftest
$ac_exeext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6015 (eval $ac_link) 2>conftest.er1
6017 grep -v '^ *+' conftest.er1
>conftest.err
6019 cat conftest.err
>&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } &&
6022 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6027 (exit $ac_status); }; } &&
6028 { ac_try
='test -s conftest$ac_exeext'
6029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6033 (exit $ac_status); }; }; then
6034 ac_cv_func_gethostbyname
=yes
6036 echo "$as_me: failed program was:" >&5
6037 sed 's/^/| /' conftest.
$ac_ext >&5
6039 ac_cv_func_gethostbyname
=no
6041 rm -f conftest.err conftest.
$ac_objext \
6042 conftest
$ac_exeext conftest.
$ac_ext
6044 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6045 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6047 if test $ac_cv_func_gethostbyname = no
; then
6048 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6049 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6050 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6051 echo $ECHO_N "(cached) $ECHO_C" >&6
6053 ac_check_lib_save_LIBS
=$LIBS
6055 cat >conftest.
$ac_ext <<_ACEOF
6058 cat confdefs.h
>>conftest.
$ac_ext
6059 cat >>conftest.
$ac_ext <<_ACEOF
6060 /* end confdefs.h. */
6062 /* Override any gcc2 internal prototype to avoid an error. */
6066 /* We use char because int might match the return type of a gcc2
6067 builtin and then its argument prototype would still apply. */
6068 char gethostbyname ();
6077 rm -f conftest.
$ac_objext conftest
$ac_exeext
6078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6079 (eval $ac_link) 2>conftest.er1
6081 grep -v '^ *+' conftest.er1
>conftest.err
6083 cat conftest.err
>&5
6084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6085 (exit $ac_status); } &&
6086 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); }; } &&
6092 { ac_try
='test -s conftest$ac_exeext'
6093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6097 (exit $ac_status); }; }; then
6098 ac_cv_lib_nsl_gethostbyname
=yes
6100 echo "$as_me: failed program was:" >&5
6101 sed 's/^/| /' conftest.
$ac_ext >&5
6103 ac_cv_lib_nsl_gethostbyname
=no
6105 rm -f conftest.err conftest.
$ac_objext \
6106 conftest
$ac_exeext conftest.
$ac_ext
6107 LIBS
=$ac_check_lib_save_LIBS
6109 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6110 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6111 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6112 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
6115 if test $ac_cv_lib_nsl_gethostbyname = no
; then
6116 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6117 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
6118 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6119 echo $ECHO_N "(cached) $ECHO_C" >&6
6121 ac_check_lib_save_LIBS
=$LIBS
6123 cat >conftest.
$ac_ext <<_ACEOF
6126 cat confdefs.h
>>conftest.
$ac_ext
6127 cat >>conftest.
$ac_ext <<_ACEOF
6128 /* end confdefs.h. */
6130 /* Override any gcc2 internal prototype to avoid an error. */
6134 /* We use char because int might match the return type of a gcc2
6135 builtin and then its argument prototype would still apply. */
6136 char gethostbyname ();
6145 rm -f conftest.
$ac_objext conftest
$ac_exeext
6146 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6147 (eval $ac_link) 2>conftest.er1
6149 grep -v '^ *+' conftest.er1
>conftest.err
6151 cat conftest.err
>&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } &&
6154 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6159 (exit $ac_status); }; } &&
6160 { ac_try
='test -s conftest$ac_exeext'
6161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6165 (exit $ac_status); }; }; then
6166 ac_cv_lib_bsd_gethostbyname
=yes
6168 echo "$as_me: failed program was:" >&5
6169 sed 's/^/| /' conftest.
$ac_ext >&5
6171 ac_cv_lib_bsd_gethostbyname
=no
6173 rm -f conftest.err conftest.
$ac_objext \
6174 conftest
$ac_exeext conftest.
$ac_ext
6175 LIBS
=$ac_check_lib_save_LIBS
6177 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6178 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
6179 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6180 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
6186 # lieder@skyler.mavd.honeywell.com says without -lsocket,
6187 # socket/setsockopt and other routines are undefined under SCO ODT
6188 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6189 # on later versions), says Simon Leinen: it contains gethostby*
6190 # variants that don't use the name server (or something). -lsocket
6191 # must be given before -lnsl if both are needed. We assume that
6192 # if connect needs -lnsl, so does gethostbyname.
6193 echo "$as_me:$LINENO: checking for connect" >&5
6194 echo $ECHO_N "checking for connect... $ECHO_C" >&6
6195 if test "${ac_cv_func_connect+set}" = set; then
6196 echo $ECHO_N "(cached) $ECHO_C" >&6
6198 cat >conftest.
$ac_ext <<_ACEOF
6201 cat confdefs.h
>>conftest.
$ac_ext
6202 cat >>conftest.
$ac_ext <<_ACEOF
6203 /* end confdefs.h. */
6204 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6206 #define connect innocuous_connect
6208 /* System header to define __stub macros and hopefully few prototypes,
6209 which can conflict with char connect (); below.
6210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6211 <limits.h> exists even on freestanding compilers. */
6214 # include <limits.h>
6216 # include <assert.h>
6221 /* Override any gcc2 internal prototype to avoid an error. */
6226 /* We use char because int might match the return type of a gcc2
6227 builtin and then its argument prototype would still apply. */
6229 /* The GNU C library defines this for functions which it implements
6230 to always fail with ENOSYS. Some functions are actually named
6231 something starting with __ and the normal name is an alias. */
6232 #if defined (__stub_connect) || defined (__stub___connect)
6235 char (*f) () = connect;
6244 return f != connect;
6249 rm -f conftest.
$ac_objext conftest
$ac_exeext
6250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6251 (eval $ac_link) 2>conftest.er1
6253 grep -v '^ *+' conftest.er1
>conftest.err
6255 cat conftest.err
>&5
6256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6257 (exit $ac_status); } &&
6258 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6263 (exit $ac_status); }; } &&
6264 { ac_try
='test -s conftest$ac_exeext'
6265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6269 (exit $ac_status); }; }; then
6270 ac_cv_func_connect
=yes
6272 echo "$as_me: failed program was:" >&5
6273 sed 's/^/| /' conftest.
$ac_ext >&5
6275 ac_cv_func_connect
=no
6277 rm -f conftest.err conftest.
$ac_objext \
6278 conftest
$ac_exeext conftest.
$ac_ext
6280 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6281 echo "${ECHO_T}$ac_cv_func_connect" >&6
6283 if test $ac_cv_func_connect = no
; then
6284 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6285 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6286 if test "${ac_cv_lib_socket_connect+set}" = set; then
6287 echo $ECHO_N "(cached) $ECHO_C" >&6
6289 ac_check_lib_save_LIBS
=$LIBS
6290 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
6291 cat >conftest.
$ac_ext <<_ACEOF
6294 cat confdefs.h
>>conftest.
$ac_ext
6295 cat >>conftest.
$ac_ext <<_ACEOF
6296 /* end confdefs.h. */
6298 /* Override any gcc2 internal prototype to avoid an error. */
6302 /* We use char because int might match the return type of a gcc2
6303 builtin and then its argument prototype would still apply. */
6313 rm -f conftest.
$ac_objext conftest
$ac_exeext
6314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6315 (eval $ac_link) 2>conftest.er1
6317 grep -v '^ *+' conftest.er1
>conftest.err
6319 cat conftest.err
>&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); } &&
6322 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6327 (exit $ac_status); }; } &&
6328 { ac_try
='test -s conftest$ac_exeext'
6329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6333 (exit $ac_status); }; }; then
6334 ac_cv_lib_socket_connect
=yes
6336 echo "$as_me: failed program was:" >&5
6337 sed 's/^/| /' conftest.
$ac_ext >&5
6339 ac_cv_lib_socket_connect
=no
6341 rm -f conftest.err conftest.
$ac_objext \
6342 conftest
$ac_exeext conftest.
$ac_ext
6343 LIBS
=$ac_check_lib_save_LIBS
6345 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6346 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6347 if test $ac_cv_lib_socket_connect = yes; then
6348 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
6353 # Guillermo Gomez says -lposix is necessary on A/UX.
6354 echo "$as_me:$LINENO: checking for remove" >&5
6355 echo $ECHO_N "checking for remove... $ECHO_C" >&6
6356 if test "${ac_cv_func_remove+set}" = set; then
6357 echo $ECHO_N "(cached) $ECHO_C" >&6
6359 cat >conftest.
$ac_ext <<_ACEOF
6362 cat confdefs.h
>>conftest.
$ac_ext
6363 cat >>conftest.
$ac_ext <<_ACEOF
6364 /* end confdefs.h. */
6365 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
6366 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6367 #define remove innocuous_remove
6369 /* System header to define __stub macros and hopefully few prototypes,
6370 which can conflict with char remove (); below.
6371 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6372 <limits.h> exists even on freestanding compilers. */
6375 # include <limits.h>
6377 # include <assert.h>
6382 /* Override any gcc2 internal prototype to avoid an error. */
6387 /* We use char because int might match the return type of a gcc2
6388 builtin and then its argument prototype would still apply. */
6390 /* The GNU C library defines this for functions which it implements
6391 to always fail with ENOSYS. Some functions are actually named
6392 something starting with __ and the normal name is an alias. */
6393 #if defined (__stub_remove) || defined (__stub___remove)
6396 char (*f) () = remove;
6410 rm -f conftest.
$ac_objext conftest
$ac_exeext
6411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6412 (eval $ac_link) 2>conftest.er1
6414 grep -v '^ *+' conftest.er1
>conftest.err
6416 cat conftest.err
>&5
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); } &&
6419 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6424 (exit $ac_status); }; } &&
6425 { ac_try
='test -s conftest$ac_exeext'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; }; then
6431 ac_cv_func_remove
=yes
6433 echo "$as_me: failed program was:" >&5
6434 sed 's/^/| /' conftest.
$ac_ext >&5
6436 ac_cv_func_remove
=no
6438 rm -f conftest.err conftest.
$ac_objext \
6439 conftest
$ac_exeext conftest.
$ac_ext
6441 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6442 echo "${ECHO_T}$ac_cv_func_remove" >&6
6444 if test $ac_cv_func_remove = no
; then
6445 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6446 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
6447 if test "${ac_cv_lib_posix_remove+set}" = set; then
6448 echo $ECHO_N "(cached) $ECHO_C" >&6
6450 ac_check_lib_save_LIBS
=$LIBS
6451 LIBS
="-lposix $LIBS"
6452 cat >conftest.
$ac_ext <<_ACEOF
6455 cat confdefs.h
>>conftest.
$ac_ext
6456 cat >>conftest.
$ac_ext <<_ACEOF
6457 /* end confdefs.h. */
6459 /* Override any gcc2 internal prototype to avoid an error. */
6463 /* We use char because int might match the return type of a gcc2
6464 builtin and then its argument prototype would still apply. */
6474 rm -f conftest.
$ac_objext conftest
$ac_exeext
6475 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6476 (eval $ac_link) 2>conftest.er1
6478 grep -v '^ *+' conftest.er1
>conftest.err
6480 cat conftest.err
>&5
6481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6482 (exit $ac_status); } &&
6483 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); }; } &&
6489 { ac_try
='test -s conftest$ac_exeext'
6490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6494 (exit $ac_status); }; }; then
6495 ac_cv_lib_posix_remove
=yes
6497 echo "$as_me: failed program was:" >&5
6498 sed 's/^/| /' conftest.
$ac_ext >&5
6500 ac_cv_lib_posix_remove
=no
6502 rm -f conftest.err conftest.
$ac_objext \
6503 conftest
$ac_exeext conftest.
$ac_ext
6504 LIBS
=$ac_check_lib_save_LIBS
6506 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6507 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
6508 if test $ac_cv_lib_posix_remove = yes; then
6509 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
6514 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6515 echo "$as_me:$LINENO: checking for shmat" >&5
6516 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
6517 if test "${ac_cv_func_shmat+set}" = set; then
6518 echo $ECHO_N "(cached) $ECHO_C" >&6
6520 cat >conftest.
$ac_ext <<_ACEOF
6523 cat confdefs.h
>>conftest.
$ac_ext
6524 cat >>conftest.
$ac_ext <<_ACEOF
6525 /* end confdefs.h. */
6526 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6527 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6528 #define shmat innocuous_shmat
6530 /* System header to define __stub macros and hopefully few prototypes,
6531 which can conflict with char shmat (); below.
6532 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6533 <limits.h> exists even on freestanding compilers. */
6536 # include <limits.h>
6538 # include <assert.h>
6543 /* Override any gcc2 internal prototype to avoid an error. */
6548 /* We use char because int might match the return type of a gcc2
6549 builtin and then its argument prototype would still apply. */
6551 /* The GNU C library defines this for functions which it implements
6552 to always fail with ENOSYS. Some functions are actually named
6553 something starting with __ and the normal name is an alias. */
6554 #if defined (__stub_shmat) || defined (__stub___shmat)
6557 char (*f) () = shmat;
6571 rm -f conftest.
$ac_objext conftest
$ac_exeext
6572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6573 (eval $ac_link) 2>conftest.er1
6575 grep -v '^ *+' conftest.er1
>conftest.err
6577 cat conftest.err
>&5
6578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6579 (exit $ac_status); } &&
6580 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; } &&
6586 { ac_try
='test -s conftest$ac_exeext'
6587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); }; }; then
6592 ac_cv_func_shmat
=yes
6594 echo "$as_me: failed program was:" >&5
6595 sed 's/^/| /' conftest.
$ac_ext >&5
6599 rm -f conftest.err conftest.
$ac_objext \
6600 conftest
$ac_exeext conftest.
$ac_ext
6602 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6603 echo "${ECHO_T}$ac_cv_func_shmat" >&6
6605 if test $ac_cv_func_shmat = no
; then
6606 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6607 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
6608 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6609 echo $ECHO_N "(cached) $ECHO_C" >&6
6611 ac_check_lib_save_LIBS
=$LIBS
6613 cat >conftest.
$ac_ext <<_ACEOF
6616 cat confdefs.h
>>conftest.
$ac_ext
6617 cat >>conftest.
$ac_ext <<_ACEOF
6618 /* end confdefs.h. */
6620 /* Override any gcc2 internal prototype to avoid an error. */
6624 /* We use char because int might match the return type of a gcc2
6625 builtin and then its argument prototype would still apply. */
6635 rm -f conftest.
$ac_objext conftest
$ac_exeext
6636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6637 (eval $ac_link) 2>conftest.er1
6639 grep -v '^ *+' conftest.er1
>conftest.err
6641 cat conftest.err
>&5
6642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6643 (exit $ac_status); } &&
6644 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6649 (exit $ac_status); }; } &&
6650 { ac_try
='test -s conftest$ac_exeext'
6651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6655 (exit $ac_status); }; }; then
6656 ac_cv_lib_ipc_shmat
=yes
6658 echo "$as_me: failed program was:" >&5
6659 sed 's/^/| /' conftest.
$ac_ext >&5
6661 ac_cv_lib_ipc_shmat
=no
6663 rm -f conftest.err conftest.
$ac_objext \
6664 conftest
$ac_exeext conftest.
$ac_ext
6665 LIBS
=$ac_check_lib_save_LIBS
6667 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6668 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
6669 if test $ac_cv_lib_ipc_shmat = yes; then
6670 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
6676 # Check for libraries that X11R6 Xt/Xaw programs need.
6677 ac_save_LDFLAGS
=$LDFLAGS
6678 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
6679 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6680 # check for ICE first), but we must link in the order -lSM -lICE or
6681 # we get undefined symbols. So assume we have SM if we have ICE.
6682 # These have to be linked with before -lX11, unlike the other
6683 # libraries we check for below, so use a different variable.
6684 # John Interrante, Karl Berry
6685 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6686 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
6687 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6688 echo $ECHO_N "(cached) $ECHO_C" >&6
6690 ac_check_lib_save_LIBS
=$LIBS
6691 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6692 cat >conftest.
$ac_ext <<_ACEOF
6695 cat confdefs.h
>>conftest.
$ac_ext
6696 cat >>conftest.
$ac_ext <<_ACEOF
6697 /* end confdefs.h. */
6699 /* Override any gcc2 internal prototype to avoid an error. */
6703 /* We use char because int might match the return type of a gcc2
6704 builtin and then its argument prototype would still apply. */
6705 char IceConnectionNumber ();
6709 IceConnectionNumber ();
6714 rm -f conftest.
$ac_objext conftest
$ac_exeext
6715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6716 (eval $ac_link) 2>conftest.er1
6718 grep -v '^ *+' conftest.er1
>conftest.err
6720 cat conftest.err
>&5
6721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6722 (exit $ac_status); } &&
6723 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); }; } &&
6729 { ac_try
='test -s conftest$ac_exeext'
6730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6734 (exit $ac_status); }; }; then
6735 ac_cv_lib_ICE_IceConnectionNumber
=yes
6737 echo "$as_me: failed program was:" >&5
6738 sed 's/^/| /' conftest.
$ac_ext >&5
6740 ac_cv_lib_ICE_IceConnectionNumber
=no
6742 rm -f conftest.err conftest.
$ac_objext \
6743 conftest
$ac_exeext conftest.
$ac_ext
6744 LIBS
=$ac_check_lib_save_LIBS
6746 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6747 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
6748 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6749 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
6752 LDFLAGS
=$ac_save_LDFLAGS
6756 if test "$no_x" = yes; then
6757 { { echo "$as_me:$LINENO: error: \"Really need a working X. Check config.log to see why configure couldn't find it\"" >&5
6758 echo "$as_me: error: \"Really need a working X. Check config.log to see why configure couldn't find it\"" >&2;}
6759 { (exit 1); exit 1; }; }
6761 LIBS
="$X_LIBS $LIBS"
6762 CPPFLAGS
="$X_CFLAGS $CPPFLAGS"
6764 echo "$as_me:$LINENO: checking for XrmParseCommand in -lX11" >&5
6765 echo $ECHO_N "checking for XrmParseCommand in -lX11... $ECHO_C" >&6
6766 if test "${ac_cv_lib_X11_XrmParseCommand+set}" = set; then
6767 echo $ECHO_N "(cached) $ECHO_C" >&6
6769 ac_check_lib_save_LIBS
=$LIBS
6771 cat >conftest.
$ac_ext <<_ACEOF
6774 cat confdefs.h
>>conftest.
$ac_ext
6775 cat >>conftest.
$ac_ext <<_ACEOF
6776 /* end confdefs.h. */
6778 /* Override any gcc2 internal prototype to avoid an error. */
6782 /* We use char because int might match the return type of a gcc2
6783 builtin and then its argument prototype would still apply. */
6784 char XrmParseCommand ();
6793 rm -f conftest.
$ac_objext conftest
$ac_exeext
6794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6795 (eval $ac_link) 2>conftest.er1
6797 grep -v '^ *+' conftest.er1
>conftest.err
6799 cat conftest.err
>&5
6800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6801 (exit $ac_status); } &&
6802 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6807 (exit $ac_status); }; } &&
6808 { ac_try
='test -s conftest$ac_exeext'
6809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6813 (exit $ac_status); }; }; then
6814 ac_cv_lib_X11_XrmParseCommand
=yes
6816 echo "$as_me: failed program was:" >&5
6817 sed 's/^/| /' conftest.
$ac_ext >&5
6819 ac_cv_lib_X11_XrmParseCommand
=no
6821 rm -f conftest.err conftest.
$ac_objext \
6822 conftest
$ac_exeext conftest.
$ac_ext
6823 LIBS
=$ac_check_lib_save_LIBS
6825 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XrmParseCommand" >&5
6826 echo "${ECHO_T}$ac_cv_lib_X11_XrmParseCommand" >&6
6827 if test $ac_cv_lib_X11_XrmParseCommand = yes; then
6828 cat >>confdefs.h
<<_ACEOF
6829 #define HAVE_LIBX11 1
6837 echo "$as_me:$LINENO: checking for XShapeCombineMask in -lXext" >&5
6838 echo $ECHO_N "checking for XShapeCombineMask in -lXext... $ECHO_C" >&6
6839 if test "${ac_cv_lib_Xext_XShapeCombineMask+set}" = set; then
6840 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 ac_check_lib_save_LIBS
=$LIBS
6844 cat >conftest.
$ac_ext <<_ACEOF
6847 cat confdefs.h
>>conftest.
$ac_ext
6848 cat >>conftest.
$ac_ext <<_ACEOF
6849 /* end confdefs.h. */
6851 /* Override any gcc2 internal prototype to avoid an error. */
6855 /* We use char because int might match the return type of a gcc2
6856 builtin and then its argument prototype would still apply. */
6857 char XShapeCombineMask ();
6861 XShapeCombineMask ();
6866 rm -f conftest.
$ac_objext conftest
$ac_exeext
6867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6868 (eval $ac_link) 2>conftest.er1
6870 grep -v '^ *+' conftest.er1
>conftest.err
6872 cat conftest.err
>&5
6873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6874 (exit $ac_status); } &&
6875 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6880 (exit $ac_status); }; } &&
6881 { ac_try
='test -s conftest$ac_exeext'
6882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; }; then
6887 ac_cv_lib_Xext_XShapeCombineMask
=yes
6889 echo "$as_me: failed program was:" >&5
6890 sed 's/^/| /' conftest.
$ac_ext >&5
6892 ac_cv_lib_Xext_XShapeCombineMask
=no
6894 rm -f conftest.err conftest.
$ac_objext \
6895 conftest
$ac_exeext conftest.
$ac_ext
6896 LIBS
=$ac_check_lib_save_LIBS
6898 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeCombineMask" >&5
6899 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeCombineMask" >&6
6900 if test $ac_cv_lib_Xext_XShapeCombineMask = yes; then
6901 cat >>confdefs.h
<<_ACEOF
6902 #define HAVE_LIBXEXT 1
6908 { { echo "$as_me:$LINENO: error: libXext not found or does not include XShape" >&5
6909 echo "$as_me: error: libXext not found or does not include XShape" >&2;}
6910 { (exit 1); exit 1; }; }
6914 echo "$as_me:$LINENO: checking for XpmCreateImageFromXpmImage in -lXpm" >&5
6915 echo $ECHO_N "checking for XpmCreateImageFromXpmImage in -lXpm... $ECHO_C" >&6
6916 if test "${ac_cv_lib_Xpm_XpmCreateImageFromXpmImage+set}" = set; then
6917 echo $ECHO_N "(cached) $ECHO_C" >&6
6919 ac_check_lib_save_LIBS
=$LIBS
6921 cat >conftest.
$ac_ext <<_ACEOF
6924 cat confdefs.h
>>conftest.
$ac_ext
6925 cat >>conftest.
$ac_ext <<_ACEOF
6926 /* end confdefs.h. */
6928 /* Override any gcc2 internal prototype to avoid an error. */
6932 /* We use char because int might match the return type of a gcc2
6933 builtin and then its argument prototype would still apply. */
6934 char XpmCreateImageFromXpmImage ();
6938 XpmCreateImageFromXpmImage ();
6943 rm -f conftest.
$ac_objext conftest
$ac_exeext
6944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6945 (eval $ac_link) 2>conftest.er1
6947 grep -v '^ *+' conftest.er1
>conftest.err
6949 cat conftest.err
>&5
6950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6951 (exit $ac_status); } &&
6952 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6957 (exit $ac_status); }; } &&
6958 { ac_try
='test -s conftest$ac_exeext'
6959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); }; }; then
6964 ac_cv_lib_Xpm_XpmCreateImageFromXpmImage
=yes
6966 echo "$as_me: failed program was:" >&5
6967 sed 's/^/| /' conftest.
$ac_ext >&5
6969 ac_cv_lib_Xpm_XpmCreateImageFromXpmImage
=no
6971 rm -f conftest.err conftest.
$ac_objext \
6972 conftest
$ac_exeext conftest.
$ac_ext
6973 LIBS
=$ac_check_lib_save_LIBS
6975 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreateImageFromXpmImage" >&5
6976 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreateImageFromXpmImage" >&6
6977 if test $ac_cv_lib_Xpm_XpmCreateImageFromXpmImage = yes; then
6978 cat >>confdefs.h
<<_ACEOF
6979 #define HAVE_LIBXPM 1
6988 for ac_header
in X11
/xpm.h
6990 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6991 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6992 echo "$as_me:$LINENO: checking for $ac_header" >&5
6993 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6994 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6995 echo $ECHO_N "(cached) $ECHO_C" >&6
6997 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6998 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7000 # Is the header compilable?
7001 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7002 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7003 cat >conftest.
$ac_ext <<_ACEOF
7006 cat confdefs.h
>>conftest.
$ac_ext
7007 cat >>conftest.
$ac_ext <<_ACEOF
7008 /* end confdefs.h. */
7009 $ac_includes_default
7010 #include <$ac_header>
7012 rm -f conftest.
$ac_objext
7013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7014 (eval $ac_compile) 2>conftest.er1
7016 grep -v '^ *+' conftest.er1
>conftest.err
7018 cat conftest.err
>&5
7019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } &&
7021 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7026 (exit $ac_status); }; } &&
7027 { ac_try
='test -s conftest.$ac_objext'
7028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); }; }; then
7033 ac_header_compiler
=yes
7035 echo "$as_me: failed program was:" >&5
7036 sed 's/^/| /' conftest.
$ac_ext >&5
7038 ac_header_compiler
=no
7040 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7041 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7042 echo "${ECHO_T}$ac_header_compiler" >&6
7044 # Is the header present?
7045 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7046 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7047 cat >conftest.
$ac_ext <<_ACEOF
7050 cat confdefs.h
>>conftest.
$ac_ext
7051 cat >>conftest.
$ac_ext <<_ACEOF
7052 /* end confdefs.h. */
7053 #include <$ac_header>
7055 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7056 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7058 grep -v '^ *+' conftest.er1
>conftest.err
7060 cat conftest.err
>&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } >/dev
/null
; then
7063 if test -s conftest.err
; then
7064 ac_cpp_err
=$ac_c_preproc_warn_flag
7065 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7072 if test -z "$ac_cpp_err"; then
7073 ac_header_preproc
=yes
7075 echo "$as_me: failed program was:" >&5
7076 sed 's/^/| /' conftest.
$ac_ext >&5
7078 ac_header_preproc
=no
7080 rm -f conftest.err conftest.
$ac_ext
7081 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7082 echo "${ECHO_T}$ac_header_preproc" >&6
7084 # So? What about this header?
7085 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7087 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7088 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7089 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7090 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7091 ac_header_preproc
=yes
7094 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7095 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7096 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7097 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7098 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7099 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7100 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7101 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7102 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7103 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7104 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7105 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7108 ## ------------------------------------------------- ##
7109 ## Report this to wmbiff-devel@lists.sourceforge.net ##
7110 ## ------------------------------------------------- ##
7113 sed "s/^/$as_me: WARNING: /" >&2
7116 echo "$as_me:$LINENO: checking for $ac_header" >&5
7117 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7118 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7119 echo $ECHO_N "(cached) $ECHO_C" >&6
7121 eval "$as_ac_Header=\$ac_header_preproc"
7123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7127 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7128 cat >>confdefs.h
<<_ACEOF
7129 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7134 for ac_header
in xpm.h
7136 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7138 echo "$as_me:$LINENO: checking for $ac_header" >&5
7139 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7140 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7141 echo $ECHO_N "(cached) $ECHO_C" >&6
7143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7144 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7146 # Is the header compilable?
7147 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7148 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7149 cat >conftest.
$ac_ext <<_ACEOF
7152 cat confdefs.h
>>conftest.
$ac_ext
7153 cat >>conftest.
$ac_ext <<_ACEOF
7154 /* end confdefs.h. */
7155 $ac_includes_default
7156 #include <$ac_header>
7158 rm -f conftest.
$ac_objext
7159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7160 (eval $ac_compile) 2>conftest.er1
7162 grep -v '^ *+' conftest.er1
>conftest.err
7164 cat conftest.err
>&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); } &&
7167 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; } &&
7173 { ac_try
='test -s conftest.$ac_objext'
7174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7178 (exit $ac_status); }; }; then
7179 ac_header_compiler
=yes
7181 echo "$as_me: failed program was:" >&5
7182 sed 's/^/| /' conftest.
$ac_ext >&5
7184 ac_header_compiler
=no
7186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7187 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7188 echo "${ECHO_T}$ac_header_compiler" >&6
7190 # Is the header present?
7191 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7192 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7193 cat >conftest.
$ac_ext <<_ACEOF
7196 cat confdefs.h
>>conftest.
$ac_ext
7197 cat >>conftest.
$ac_ext <<_ACEOF
7198 /* end confdefs.h. */
7199 #include <$ac_header>
7201 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7202 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7204 grep -v '^ *+' conftest.er1
>conftest.err
7206 cat conftest.err
>&5
7207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7208 (exit $ac_status); } >/dev
/null
; then
7209 if test -s conftest.err
; then
7210 ac_cpp_err
=$ac_c_preproc_warn_flag
7211 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7218 if test -z "$ac_cpp_err"; then
7219 ac_header_preproc
=yes
7221 echo "$as_me: failed program was:" >&5
7222 sed 's/^/| /' conftest.
$ac_ext >&5
7224 ac_header_preproc
=no
7226 rm -f conftest.err conftest.
$ac_ext
7227 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7228 echo "${ECHO_T}$ac_header_preproc" >&6
7230 # So? What about this header?
7231 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7234 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7236 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7237 ac_header_preproc
=yes
7240 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7241 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7242 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7243 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7244 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7245 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7246 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7247 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7248 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7249 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7250 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7251 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7254 ## ------------------------------------------------- ##
7255 ## Report this to wmbiff-devel@lists.sourceforge.net ##
7256 ## ------------------------------------------------- ##
7259 sed "s/^/$as_me: WARNING: /" >&2
7262 echo "$as_me:$LINENO: checking for $ac_header" >&5
7263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7265 echo $ECHO_N "(cached) $ECHO_C" >&6
7267 eval "$as_ac_Header=\$ac_header_preproc"
7269 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7270 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7273 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7274 cat >>confdefs.h
<<_ACEOF
7275 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7279 { { echo "$as_me:$LINENO: error: xpm.h is needed" >&5
7280 echo "$as_me: error: xpm.h is needed" >&2;}
7281 { (exit 1); exit 1; }; }
7295 echo "$as_me:$LINENO: checking for __attribute__ support" >&5
7296 echo $ECHO_N "checking for __attribute__ support... $ECHO_C" >&6
7297 if test "${wm_cv_c_attribute+set}" = set; then
7298 echo $ECHO_N "(cached) $ECHO_C" >&6
7300 wm_cv_c_attribute
=no
7301 cat >conftest.
$ac_ext <<_ACEOF
7304 cat confdefs.h
>>conftest.
$ac_ext
7305 cat >>conftest.
$ac_ext <<_ACEOF
7306 /* end confdefs.h. */
7309 foo_t foo () __attribute__((unused));
7310 foo_t foo () {return 0; }
7314 rm -f conftest.
$ac_objext
7315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7316 (eval $ac_compile) 2>conftest.er1
7318 grep -v '^ *+' conftest.er1
>conftest.err
7320 cat conftest.err
>&5
7321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } &&
7323 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7328 (exit $ac_status); }; } &&
7329 { ac_try
='test -s conftest.$ac_objext'
7330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7334 (exit $ac_status); }; }; then
7335 wm_cv_c_attribute
=yes
7337 echo "$as_me: failed program was:" >&5
7338 sed 's/^/| /' conftest.
$ac_ext >&5
7341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7344 echo "$as_me:$LINENO: result: $wm_cv_c_attribute" >&5
7345 echo "${ECHO_T}$wm_cv_c_attribute" >&6
7346 case $wm_cv_c_attribute in
7348 cat >>confdefs.h
<<\_ACEOF
7349 #define HAVE___ATTRIBUTE__
7356 for ac_prog
in ssh-askpass x11-ssh-askpass ssh-askpass-gnome
7358 # Extract the first word of "$ac_prog", so it can be a program name with args.
7359 set dummy
$ac_prog; ac_word
=$2
7360 echo "$as_me:$LINENO: checking for $ac_word" >&5
7361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7362 if test "${ac_cv_path_DEFAULT_ASKPASS+set}" = set; then
7363 echo $ECHO_N "(cached) $ECHO_C" >&6
7365 case $DEFAULT_ASKPASS in
7367 ac_cv_path_DEFAULT_ASKPASS
="$DEFAULT_ASKPASS" # Let the user override the test with a path.
7370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir
=.
7375 for ac_exec_ext
in '' $ac_executable_extensions; do
7376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377 ac_cv_path_DEFAULT_ASKPASS
="$as_dir/$ac_word$ac_exec_ext"
7378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7387 DEFAULT_ASKPASS
=$ac_cv_path_DEFAULT_ASKPASS
7389 if test -n "$DEFAULT_ASKPASS"; then
7390 echo "$as_me:$LINENO: result: $DEFAULT_ASKPASS" >&5
7391 echo "${ECHO_T}$DEFAULT_ASKPASS" >&6
7393 echo "$as_me:$LINENO: result: no" >&5
7394 echo "${ECHO_T}no" >&6
7397 test -n "$DEFAULT_ASKPASS" && break
7399 test -n "$DEFAULT_ASKPASS" || DEFAULT_ASKPASS
="/usr/bin/ssh-askpass"
7401 # Extract the first word of "cvs2cl", so it can be a program name with args.
7402 set dummy cvs2cl
; ac_word
=$2
7403 echo "$as_me:$LINENO: checking for $ac_word" >&5
7404 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7405 if test "${ac_cv_path_CVS2CL+set}" = set; then
7406 echo $ECHO_N "(cached) $ECHO_C" >&6
7410 ac_cv_path_CVS2CL
="$CVS2CL" # Let the user override the test with a path.
7413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7417 test -z "$as_dir" && as_dir
=.
7418 for ac_exec_ext
in '' $ac_executable_extensions; do
7419 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7420 ac_cv_path_CVS2CL
="$as_dir/$ac_word$ac_exec_ext"
7421 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7430 CVS2CL
=$ac_cv_path_CVS2CL
7432 if test -n "$CVS2CL"; then
7433 echo "$as_me:$LINENO: result: $CVS2CL" >&5
7434 echo "${ECHO_T}$CVS2CL" >&6
7436 echo "$as_me:$LINENO: result: no" >&5
7437 echo "${ECHO_T}no" >&6
7441 cat >>confdefs.h
<<_ACEOF
7442 #define DEFAULT_ASKPASS "$DEFAULT_ASKPASS"
7448 for ac_header
in CoreServices
/CoreServices.h Security
/Security.h
7450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7452 echo "$as_me:$LINENO: checking for $ac_header" >&5
7453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7455 echo $ECHO_N "(cached) $ECHO_C" >&6
7457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7460 # Is the header compilable?
7461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7463 cat >conftest.
$ac_ext <<_ACEOF
7466 cat confdefs.h
>>conftest.
$ac_ext
7467 cat >>conftest.
$ac_ext <<_ACEOF
7468 /* end confdefs.h. */
7469 $ac_includes_default
7470 #include <$ac_header>
7472 rm -f conftest.
$ac_objext
7473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7474 (eval $ac_compile) 2>conftest.er1
7476 grep -v '^ *+' conftest.er1
>conftest.err
7478 cat conftest.err
>&5
7479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7480 (exit $ac_status); } &&
7481 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7486 (exit $ac_status); }; } &&
7487 { ac_try
='test -s conftest.$ac_objext'
7488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7492 (exit $ac_status); }; }; then
7493 ac_header_compiler
=yes
7495 echo "$as_me: failed program was:" >&5
7496 sed 's/^/| /' conftest.
$ac_ext >&5
7498 ac_header_compiler
=no
7500 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7502 echo "${ECHO_T}$ac_header_compiler" >&6
7504 # Is the header present?
7505 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7506 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7507 cat >conftest.
$ac_ext <<_ACEOF
7510 cat confdefs.h
>>conftest.
$ac_ext
7511 cat >>conftest.
$ac_ext <<_ACEOF
7512 /* end confdefs.h. */
7513 #include <$ac_header>
7515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7516 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
7518 grep -v '^ *+' conftest.er1
>conftest.err
7520 cat conftest.err
>&5
7521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7522 (exit $ac_status); } >/dev
/null
; then
7523 if test -s conftest.err
; then
7524 ac_cpp_err
=$ac_c_preproc_warn_flag
7525 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
7532 if test -z "$ac_cpp_err"; then
7533 ac_header_preproc
=yes
7535 echo "$as_me: failed program was:" >&5
7536 sed 's/^/| /' conftest.
$ac_ext >&5
7538 ac_header_preproc
=no
7540 rm -f conftest.err conftest.
$ac_ext
7541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7542 echo "${ECHO_T}$ac_header_preproc" >&6
7544 # So? What about this header?
7545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7548 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7550 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7551 ac_header_preproc
=yes
7554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7555 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7557 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7559 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7561 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7563 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7565 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7568 ## ------------------------------------------------- ##
7569 ## Report this to wmbiff-devel@lists.sourceforge.net ##
7570 ## ------------------------------------------------- ##
7573 sed "s/^/$as_me: WARNING: /" >&2
7576 echo "$as_me:$LINENO: checking for $ac_header" >&5
7577 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7578 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7579 echo $ECHO_N "(cached) $ECHO_C" >&6
7581 eval "$as_ac_Header=\$ac_header_preproc"
7583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7584 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7587 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7588 cat >>confdefs.h
<<_ACEOF
7589 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7597 if test "x$prefix" != xNONE
; then
7598 SKINDIR
="$prefix/share/wmbiff/skins"
7600 SKINDIR
="$ac_default_prefix/share/wmbiff/skins"
7604 cat >>confdefs.h
<<_ACEOF
7605 #define DEFAULT_SKIN_PATH "$SKINDIR:/usr/share/wmbiff/skins:/usr/local/share/wmbiff/skins:."
7609 ac_config_files
="$ac_config_files Makefile wmbiff/Makefile wmgeneral/Makefile wmbiff/wmbiffrc.5 autoconf/Makefile scripts/Makefile"
7611 cat >confcache
<<\_ACEOF
7612 # This file is a shell script that caches the results of configure
7613 # tests run on this system so they can be shared between configure
7614 # scripts and configure runs, see configure's option --config-cache.
7615 # It is not useful on other systems. If it contains results you don't
7616 # want to keep, you may remove or edit it.
7618 # config.status only pays attention to the cache file if you give it
7619 # the --recheck option to rerun configure.
7621 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7622 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7627 # The following way of writing the cache mishandles newlines in values,
7628 # but we know of no workaround that is simple, portable, and efficient.
7629 # So, don't put newlines in cache variables' values.
7630 # Ultrix sh set writes to stderr and can't be redirected directly,
7631 # and sets the high bit in the cache file unless we assign to the vars.
7634 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7636 # `set' does not quote correctly, so add quotes (double-quote
7637 # substitution turns \\\\ into \\, and sed turns \\ into \).
7640 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7643 # `set' quotes correctly as required by POSIX, so do not add quotes.
7645 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
7652 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7654 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7656 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
7657 if test -w $cache_file; then
7658 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
7659 cat confcache
>$cache_file
7661 echo "not updating unwritable cache $cache_file"
7666 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7667 # Let make expand exec_prefix.
7668 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7670 # VPATH may cause trouble with some makes, so we remove $(srcdir),
7671 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
7672 # trailing colons and then remove the whole line if VPATH becomes empty
7673 # (actually we leave an empty line to preserve line numbers).
7674 if test "x$srcdir" = x.
; then
7675 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
7676 s/:*\$(srcdir):*/:/;
7677 s/:*\${srcdir}:*/:/;
7679 s/^\([^=]*=[ ]*\):*/\1/;
7685 DEFS
=-DHAVE_CONFIG_H
7689 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7690 # 1. Remove the extension, and $U if already installed.
7691 ac_i
=`echo "$ac_i" |
7692 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
7694 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
7695 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
7699 LTLIBOBJS
=$ac_ltlibobjs
7702 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7703 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
7704 Usually this means the macro was only invoked conditionally." >&5
7705 echo "$as_me: error: conditional \"AMDEP\" was never defined.
7706 Usually this means the macro was only invoked conditionally." >&2;}
7707 { (exit 1); exit 1; }; }
7710 : ${CONFIG_STATUS=./config.status}
7711 ac_clean_files_save
=$ac_clean_files
7712 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7713 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
7714 echo "$as_me: creating $CONFIG_STATUS" >&6;}
7715 cat >$CONFIG_STATUS <<_ACEOF
7717 # Generated by $as_me.
7718 # Run this file to recreate the current configuration.
7719 # Compiler output produced by configure, useful for debugging
7720 # configure, is in config.log if it exists.
7725 SHELL=\${CONFIG_SHELL-$SHELL}
7728 cat >>$CONFIG_STATUS <<\_ACEOF
7729 ## --------------------- ##
7730 ## M4sh Initialization. ##
7731 ## --------------------- ##
7733 # Be Bourne compatible
7734 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
7737 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
7738 # is contrary to our usage. Disable this feature.
7739 alias -g '${1+"$@"}'='"$@"'
7740 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
7743 DUALCASE
=1; export DUALCASE
# for MKS sh
7745 # Support unset when possible.
7746 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
7753 # Work around bugs in pre-3.0 UWIN ksh.
7754 $as_unset ENV MAIL MAILPATH
7761 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
7762 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
7763 LC_TELEPHONE LC_TIME
7765 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
7766 eval $as_var=C
; export $as_var
7772 # Required to use basename.
7773 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7779 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
7780 as_basename
=basename
7786 # Name of the executable.
7787 as_me
=`$as_basename "$0" ||
7788 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7789 X"$0" : 'X\(//\)$' \| \
7790 X"$0" : 'X\(/\)$' \| \
7791 . : '\(.\)' 2>/dev/null ||
7793 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7794 /^X\/\(\/\/\)$/{ s//\1/; q; }
7795 /^X\/\(\/\).*/{ s//\1/; q; }
7799 # PATH needs CR, and LINENO needs CR and PATH.
7800 # Avoid depending upon Character Ranges.
7801 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7802 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7803 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7804 as_cr_digits
='0123456789'
7805 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7807 # The user is always right.
7808 if test "${PATH_SEPARATOR+set}" != set; then
7809 echo "#! /bin/sh" >conf$$.sh
7810 echo "exit 0" >>conf$$.sh
7812 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
7823 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
7824 test "x$as_lineno_1" != "x$as_lineno_2" &&
7825 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
7826 # Find who we are. Look in the path if we contain no path at all
7829 *[\\/]* ) as_myself
=$0 ;;
7830 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7834 test -z "$as_dir" && as_dir
=.
7835 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
7840 # We did not find ourselves, most probably we were run as `sh COMMAND'
7841 # in which case we are not to be found in the path.
7842 if test "x$as_myself" = x
; then
7845 if test ! -f "$as_myself"; then
7846 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7847 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7848 { (exit 1); exit 1; }; }
7850 case $CONFIG_SHELL in
7852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7853 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
7856 test -z "$as_dir" && as_dir
=.
7857 for as_base
in sh bash ksh sh5
; do
7860 if ("$as_dir/$as_base" -c '
7863 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7864 test "x$as_lineno_1" != "x$as_lineno_2" &&
7865 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
7866 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
7867 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
7868 CONFIG_SHELL
=$as_dir/$as_base
7870 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7878 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7879 # uniformly replaced by the line number. The first 'sed' inserts a
7880 # line-number line before each line; the second 'sed' does the real
7881 # work. The second script uses 'N' to pair each line-number line
7882 # with the numbered line, and appends trailing '-' during
7883 # substitution so that $LINENO is not a special case at line end.
7884 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7885 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7886 sed '=' <$as_myself |
7891 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7894 s,^['$as_cr_digits']*\n,,
7896 chmod +x
$as_me.lineno ||
7897 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7898 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7899 { (exit 1); exit 1; }; }
7901 # Don't try to exec as it changes $[0], causing all sort of problems
7902 # (the dirname of $[0] is not the place where we might find the
7903 # original and so on. Autoconf is especially sensible to this).
7905 # Exit status is that of the last command.
7910 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7911 *c
*,-n*) ECHO_N
= ECHO_C
='
7913 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
7914 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
7917 if expr a
: '\(a\)' >/dev
/null
2>&1; then
7923 rm -f conf$$ conf$$.exe conf$$.
file
7925 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7926 # We could just check for DJGPP; but this test a) works b) is more generic
7927 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7928 if test -f conf$$.exe
; then
7929 # Don't use ln at all; we don't have any links
7934 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7939 rm -f conf$$ conf$$.exe conf$$.
file
7941 if mkdir
-p .
2>/dev
/null
; then
7944 test -d .
/-p && rmdir .
/-p
7948 as_executable_p
="test -f"
7950 # Sed expression to map a string onto a valid CPP name.
7951 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7953 # Sed expression to map a string onto a valid variable name.
7954 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7958 # We need space, tab and new line, in precisely that order.
7968 # Open the log real soon, to keep \$[0] and so on meaningful, and to
7969 # report actual input values of CONFIG_FILES etc. instead of their
7970 # values after options handling. Logging --version etc. is OK.
7974 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7975 ## Running $as_me. ##
7980 This file was extended by WMBiff $as_me 0.4.27, which was
7981 generated by GNU Autoconf 2.59. Invocation command line was
7983 CONFIG_FILES = $CONFIG_FILES
7984 CONFIG_HEADERS = $CONFIG_HEADERS
7985 CONFIG_LINKS = $CONFIG_LINKS
7986 CONFIG_COMMANDS = $CONFIG_COMMANDS
7990 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7994 # Files that config.status was made for.
7995 if test -n "$ac_config_files"; then
7996 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7999 if test -n "$ac_config_headers"; then
8000 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
8003 if test -n "$ac_config_links"; then
8004 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
8007 if test -n "$ac_config_commands"; then
8008 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
8011 cat >>$CONFIG_STATUS <<\_ACEOF
8014 \`$as_me' instantiates files from templates according to the
8015 current configuration.
8017 Usage: $0 [OPTIONS] [FILE]...
8019 -h, --help print this help, then exit
8020 -V, --version print version number, then exit
8021 -q, --quiet do not print progress messages
8022 -d, --debug don't remove temporary files
8023 --recheck update $as_me by reconfiguring in the same conditions
8024 --file=FILE[:TEMPLATE]
8025 instantiate the configuration file FILE
8026 --header=FILE[:TEMPLATE]
8027 instantiate the configuration header FILE
8029 Configuration files:
8032 Configuration headers:
8035 Configuration commands:
8038 Report bugs to <bug-autoconf@gnu.org>."
8041 cat >>$CONFIG_STATUS <<_ACEOF
8043 WMBiff config.status 0.4.27
8044 configured by $0, generated by GNU Autoconf 2.59,
8045 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
8047 Copyright (C) 2003 Free Software Foundation, Inc.
8048 This config.status script is free software; the Free Software Foundation
8049 gives unlimited permission to copy, distribute and modify it."
8054 cat >>$CONFIG_STATUS <<\_ACEOF
8055 # If no file are specified by the user, then we need to provide default
8056 # value. By we need to know if files were specified by the user.
8062 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
8063 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
8071 *) # This is not an option, so the user has probably given explicit
8074 ac_need_defaults
=false
;;
8078 # Handling of the options.
8080 cat >>$CONFIG_STATUS <<\_ACEOF
8081 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8083 --version |
--vers* |
-V )
8084 echo "$ac_cs_version"; exit 0 ;;
8086 # Conflict between --help and --header
8087 { { echo "$as_me:$LINENO: error: ambiguous option: $1
8088 Try \`$0 --help' for more information." >&5
8089 echo "$as_me: error: ambiguous option: $1
8090 Try \`$0 --help' for more information." >&2;}
8091 { (exit 1); exit 1; }; };;
8092 --help |
--hel |
-h )
8093 echo "$ac_cs_usage"; exit 0 ;;
8094 --debug |
--d* |
-d )
8096 --file |
--fil |
--fi |
--f )
8098 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8099 ac_need_defaults
=false
;;
8100 --header |
--heade |
--head |
--hea )
8102 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8103 ac_need_defaults
=false
;;
8104 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8105 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8109 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
8110 Try \`$0 --help' for more information." >&5
8111 echo "$as_me: error: unrecognized option: $1
8112 Try \`$0 --help' for more information." >&2;}
8113 { (exit 1); exit 1; }; } ;;
8115 *) ac_config_targets
="$ac_config_targets $1" ;;
8121 ac_configure_extra_args
=
8123 if $ac_cs_silent; then
8125 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8129 cat >>$CONFIG_STATUS <<_ACEOF
8130 if \$ac_cs_recheck; then
8131 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8132 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8137 cat >>$CONFIG_STATUS <<_ACEOF
8139 # INIT-COMMANDS section.
8142 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8148 cat >>$CONFIG_STATUS <<\_ACEOF
8149 for ac_config_target
in $ac_config_targets
8151 case "$ac_config_target" in
8152 # Handling of arguments.
8153 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8154 "wmbiff/Makefile" ) CONFIG_FILES
="$CONFIG_FILES wmbiff/Makefile" ;;
8155 "wmgeneral/Makefile" ) CONFIG_FILES
="$CONFIG_FILES wmgeneral/Makefile" ;;
8156 "wmbiff/wmbiffrc.5" ) CONFIG_FILES
="$CONFIG_FILES wmbiff/wmbiffrc.5" ;;
8157 "autoconf/Makefile" ) CONFIG_FILES
="$CONFIG_FILES autoconf/Makefile" ;;
8158 "scripts/Makefile" ) CONFIG_FILES
="$CONFIG_FILES scripts/Makefile" ;;
8159 "depfiles" ) CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8160 "config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8161 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8162 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8163 { (exit 1); exit 1; }; };;
8167 # If the user did not use the arguments to specify the items to instantiate,
8168 # then the envvar interface is used. Set only those that are not.
8169 # We use the long form for the default assignment because of an extremely
8170 # bizarre bug on SunOS 4.1.3.
8171 if $ac_need_defaults; then
8172 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8173 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8174 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8177 # Have a temporary directory for convenience. Make it in the build tree
8178 # simply because there is no reason to put it here, and in addition,
8179 # creating and moving files from /tmp can sometimes cause problems.
8180 # Create a temporary directory, and hook for its removal unless debugging.
8183 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
8184 trap '{ (exit 1); exit 1; }' 1 2 13 15
8187 # Create a (secure) tmp directory for tmp files.
8190 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
8191 test -n "$tmp" && test -d "$tmp"
8194 tmp
=.
/confstat$$
-$RANDOM
8195 (umask 077 && mkdir
$tmp)
8198 echo "$me: cannot create a temporary directory in ." >&2
8199 { (exit 1); exit 1; }
8204 cat >>$CONFIG_STATUS <<_ACEOF
8207 # CONFIG_FILES section.
8210 # No need to generate the scripts if there are no CONFIG_FILES.
8211 # This happens for instance when ./config.status config.h
8212 if test -n "\$CONFIG_FILES"; then
8213 # Protect against being on the right side of a sed subst in config.status.
8214 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
8215 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
8216 s,@SHELL@,$SHELL,;t t
8217 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
8218 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
8219 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
8220 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
8221 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
8222 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
8223 s,@exec_prefix@,$exec_prefix,;t t
8224 s,@prefix@,$prefix,;t t
8225 s,@program_transform_name@,$program_transform_name,;t t
8226 s,@bindir@,$bindir,;t t
8227 s,@sbindir@,$sbindir,;t t
8228 s,@libexecdir@,$libexecdir,;t t
8229 s,@datadir@,$datadir,;t t
8230 s,@sysconfdir@,$sysconfdir,;t t
8231 s,@sharedstatedir@,$sharedstatedir,;t t
8232 s,@localstatedir@,$localstatedir,;t t
8233 s,@libdir@,$libdir,;t t
8234 s,@includedir@,$includedir,;t t
8235 s,@oldincludedir@,$oldincludedir,;t t
8236 s,@infodir@,$infodir,;t t
8237 s,@mandir@,$mandir,;t t
8238 s,@build_alias@,$build_alias,;t t
8239 s,@host_alias@,$host_alias,;t t
8240 s,@target_alias@,$target_alias,;t t
8242 s,@ECHO_C@,$ECHO_C,;t t
8243 s,@ECHO_N@,$ECHO_N,;t t
8244 s,@ECHO_T@,$ECHO_T,;t t
8246 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
8247 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
8248 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
8249 s,@PACKAGE@,$PACKAGE,;t t
8250 s,@VERSION@,$VERSION,;t t
8251 s,@ACLOCAL@,$ACLOCAL,;t t
8252 s,@AUTOCONF@,$AUTOCONF,;t t
8253 s,@AUTOMAKE@,$AUTOMAKE,;t t
8254 s,@AUTOHEADER@,$AUTOHEADER,;t t
8255 s,@MAKEINFO@,$MAKEINFO,;t t
8256 s,@AMTAR@,$AMTAR,;t t
8257 s,@install_sh@,$install_sh,;t t
8258 s,@STRIP@,$STRIP,;t t
8259 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
8260 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
8262 s,@SET_MAKE@,$SET_MAKE,;t t
8264 s,@CFLAGS@,$CFLAGS,;t t
8265 s,@LDFLAGS@,$LDFLAGS,;t t
8266 s,@CPPFLAGS@,$CPPFLAGS,;t t
8267 s,@ac_ct_CC@,$ac_ct_CC,;t t
8268 s,@EXEEXT@,$EXEEXT,;t t
8269 s,@OBJEXT@,$OBJEXT,;t t
8270 s,@DEPDIR@,$DEPDIR,;t t
8271 s,@am__include@,$am__include,;t t
8272 s,@am__quote@,$am__quote,;t t
8273 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
8274 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
8275 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
8276 s,@CCDEPMODE@,$CCDEPMODE,;t t
8277 s,@RANLIB@,$RANLIB,;t t
8278 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
8280 s,@EGREP@,$EGREP,;t t
8281 s,@LIBGNUTLS_CONFIG@,$LIBGNUTLS_CONFIG,;t t
8282 s,@LIBGNUTLS_CFLAGS@,$LIBGNUTLS_CFLAGS,;t t
8283 s,@LIBGNUTLS_LIBS@,$LIBGNUTLS_LIBS,;t t
8284 s,@LIBGCRYPT_CONFIG@,$LIBGCRYPT_CONFIG,;t t
8285 s,@LIBGCRYPT_CFLAGS@,$LIBGCRYPT_CFLAGS,;t t
8286 s,@LIBGCRYPT_LIBS@,$LIBGCRYPT_LIBS,;t t
8287 s,@GNUTLS_MAN_STATUS@,$GNUTLS_MAN_STATUS,;t t
8288 s,@GCRYPT_MAN_STATUS@,$GCRYPT_MAN_STATUS,;t t
8289 s,@GNUTLS_COMMON_O@,$GNUTLS_COMMON_O,;t t
8290 s,@X_CFLAGS@,$X_CFLAGS,;t t
8291 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
8292 s,@X_LIBS@,$X_LIBS,;t t
8293 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
8294 s,@DEFAULT_ASKPASS@,$DEFAULT_ASKPASS,;t t
8295 s,@CVS2CL@,$CVS2CL,;t t
8296 s,@SKINDIR@,$SKINDIR,;t t
8297 s,@LIBOBJS@,$LIBOBJS,;t t
8298 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
8303 cat >>$CONFIG_STATUS <<\_ACEOF
8304 # Split the substitutions into bite-sized pieces for seds with
8305 # small command number limits, like on Digital OSF/1 and HP-UX.
8307 ac_sed_frag
=1 # Number of current file.
8308 ac_beg
=1 # First line for current file.
8309 ac_end
=$ac_max_sed_lines # Line after last line for current file.
8312 while $ac_more_lines; do
8313 if test $ac_beg -gt 1; then
8314 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8316 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
8318 if test ! -s $tmp/subs.frag
; then
8321 # The purpose of the label and of the branching condition is to
8322 # speed up the sed processing (if there are no `@' at all, there
8323 # is no need to browse any of the substitutions).
8324 # These are the two extra sed commands mentioned above.
8326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
8327 if test -z "$ac_sed_cmds"; then
8328 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
8330 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
8332 ac_sed_frag
=`expr $ac_sed_frag + 1`
8334 ac_end
=`expr $ac_end + $ac_max_sed_lines`
8337 if test -z "$ac_sed_cmds"; then
8340 fi # test -n "$CONFIG_FILES"
8343 cat >>$CONFIG_STATUS <<\_ACEOF
8344 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
8345 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8347 - |
*:- |
*:-:* ) # input from stdin
8349 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8350 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8351 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8352 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8353 * ) ac_file_in
=$ac_file.
in ;;
8356 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
8357 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8359 X"$ac_file" : 'X\(//\)[^/]' \| \
8360 X"$ac_file" : 'X\(//\)$' \| \
8361 X"$ac_file" : 'X\(/\)' \| \
8362 . : '\(.\)' 2>/dev/null ||
8364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8365 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8366 /^X\(\/\/\)$/{ s//\1/; q; }
8367 /^X\(\/\).*/{ s//\1/; q; }
8369 { if $as_mkdir_p; then
8374 while test ! -d "$as_dir"; do
8375 as_dirs
="$as_dir $as_dirs"
8376 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8377 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8378 X"$as_dir" : 'X\(//\)[^/]' \| \
8379 X"$as_dir" : 'X\(//\)$' \| \
8380 X"$as_dir" : 'X\(/\)' \| \
8381 . : '\(.\)' 2>/dev/null ||
8383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8385 /^X\(\/\/\)$/{ s//\1/; q; }
8386 /^X\(\/\).*/{ s//\1/; q; }
8389 test ! -n "$as_dirs" || mkdir
$as_dirs
8390 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8391 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8392 { (exit 1); exit 1; }; }; }
8396 if test "$ac_dir" != .
; then
8397 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8398 # A "../" for each directory in $ac_dir_suffix.
8399 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8401 ac_dir_suffix
= ac_top_builddir
=
8405 .
) # No --srcdir option. We are building in place.
8407 if test -z "$ac_top_builddir"; then
8410 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8412 [\\/]* | ?
:[\\/]* ) # Absolute path.
8413 ac_srcdir
=$srcdir$ac_dir_suffix;
8414 ac_top_srcdir
=$srcdir ;;
8416 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8417 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8420 # Do not use `cd foo && pwd` to compute absolute paths, because
8421 # the directories may not exist.
8423 .
) ac_abs_builddir
="$ac_dir";;
8426 .
) ac_abs_builddir
=`pwd`;;
8427 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8428 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8431 case $ac_abs_builddir in
8432 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8434 case ${ac_top_builddir}.
in
8435 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8436 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8437 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8440 case $ac_abs_builddir in
8441 .
) ac_abs_srcdir
=$ac_srcdir;;
8444 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8445 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8446 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8449 case $ac_abs_builddir in
8450 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8452 case $ac_top_srcdir in
8453 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8454 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8455 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8461 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8462 *) ac_INSTALL
=$ac_top_builddir$INSTALL ;;
8465 # Let's still pretend it is `configure' which instantiates (i.e., don't
8466 # use $as_me), people would be surprised to read:
8467 # /* config.h. Generated by config.status. */
8468 if test x
"$ac_file" = x-
; then
8471 configure_input
="$ac_file. "
8473 configure_input
=$configure_input"Generated from `echo $ac_file_in |
8474 sed 's,.*/,,'` by configure."
8476 # First look for the input files in the build tree, otherwise in the
8478 ac_file_inputs
=`IFS=:
8479 for f in $ac_file_in; do
8481 -) echo $tmp/stdin ;;
8483 # Absolute (can't be DOS-style, as IFS=:)
8484 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8485 echo "$as_me: error: cannot find input file: $f" >&2;}
8486 { (exit 1); exit 1; }; }
8489 if test -f "$f"; then
8492 elif test -f "$srcdir/$f"; then
8497 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8498 echo "$as_me: error: cannot find input file: $f" >&2;}
8499 { (exit 1); exit 1; }; }
8502 done` ||
{ (exit 1); exit 1; }
8504 if test x
"$ac_file" != x-
; then
8505 { echo "$as_me:$LINENO: creating $ac_file" >&5
8506 echo "$as_me: creating $ac_file" >&6;}
8510 cat >>$CONFIG_STATUS <<_ACEOF
8514 cat >>$CONFIG_STATUS <<\_ACEOF
8516 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8517 s
,@configure_input@
,$configure_input,;t t
8518 s
,@srcdir@
,$ac_srcdir,;t t
8519 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
8520 s
,@top_srcdir@
,$ac_top_srcdir,;t t
8521 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
8522 s
,@builddir@
,$ac_builddir,;t t
8523 s
,@abs_builddir@
,$ac_abs_builddir,;t t
8524 s
,@top_builddir@
,$ac_top_builddir,;t t
8525 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
8526 s
,@INSTALL@
,$ac_INSTALL,;t t
8527 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
8529 if test x"$ac_file" != x-; then
8530 mv $tmp/out $ac_file
8538 cat >>$CONFIG_STATUS <<\_ACEOF
8541 # CONFIG_HEADER section.
8544 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
8545 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8547 # ac_d sets the value in "#define NAME VALUE" lines.
8548 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8549 ac_dB
='[ ].*$,\1#\2'
8552 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8553 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8554 ac_uB
='$,\1#\2define\3'
8558 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
8559 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8561 - |
*:- |
*:-:* ) # input from stdin
8563 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8564 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8565 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8566 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
8567 * ) ac_file_in
=$ac_file.
in ;;
8570 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
8571 echo "$as_me: creating $ac_file" >&6;}
8573 # First look for the input files in the build tree, otherwise in the
8575 ac_file_inputs
=`IFS=:
8576 for f in $ac_file_in; do
8578 -) echo $tmp/stdin ;;
8580 # Absolute (can't be DOS-style, as IFS=:)
8581 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8582 echo "$as_me: error: cannot find input file: $f" >&2;}
8583 { (exit 1); exit 1; }; }
8584 # Do quote $f, to prevent DOS paths from being IFS'd.
8587 if test -f "$f"; then
8590 elif test -f "$srcdir/$f"; then
8595 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
8596 echo "$as_me: error: cannot find input file: $f" >&2;}
8597 { (exit 1); exit 1; }; }
8600 done` ||
{ (exit 1); exit 1; }
8601 # Remove the trailing spaces.
8602 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
8606 # Transform confdefs.h into two sed scripts, `conftest.defines' and
8607 # `conftest.undefs', that substitutes the proper values into
8608 # config.h.in to produce config.h. The first handles `#define'
8609 # templates, and the second `#undef' templates.
8610 # And first: Protect against being on the right side of a sed subst in
8611 # config.status. Protect against being in an unquoted here document
8613 rm -f conftest.defines conftest.undefs
8614 # Using a here document instead of a string reduces the quoting nightmare.
8615 # Putting comments in sed scripts is not portable.
8617 # `end' is used to avoid that the second main sed command (meant for
8618 # 0-ary CPP macros) applies to n-ary macro definitions.
8619 # See the Autoconf documentation for `clear'.
8620 cat >confdef2sed.
sed <<\_ACEOF
8625 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
8627 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
8630 # If some macros were called several times there might be several times
8631 # the same #defines, which is useless. Nevertheless, we may not want to
8632 # sort them, since we want the *last* AC-DEFINE to be honored.
8633 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
8634 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
8635 rm -f confdef2sed.sed
8637 # This sed command replaces #undef with comments. This is necessary, for
8638 # example, in the case of _POSIX_SOURCE, which is predefined and required
8639 # on some systems where configure will not decide to define it.
8640 cat >>conftest.undefs <<\_ACEOF
8641 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
8644 # Break up conftest.defines because some shells have a limit on the size
8645 # of here documents, and old seds have small limits too (100 cmds).
8646 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
8647 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
8648 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
8649 echo ' :' >>$CONFIG_STATUS
8651 while grep . conftest.defines >/dev/null
8653 # Write a limited-size here document to $tmp/defines.sed.
8654 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
8655 # Speed up: don't consider the non `#define' lines.
8656 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
8657 # Work around the forget-to-reset-the-flag bug.
8658 echo 't clr' >>$CONFIG_STATUS
8659 echo ': clr' >>$CONFIG_STATUS
8660 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
8662 sed -f $tmp/defines.sed $tmp/in >$tmp/out
8666 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
8667 rm -f conftest.defines
8668 mv conftest.
tail conftest.defines
8670 rm -f conftest.defines
8671 echo ' fi # grep' >>$CONFIG_STATUS
8672 echo >>$CONFIG_STATUS
8674 # Break up conftest.undefs because some shells have a limit on the size
8675 # of here documents, and old seds have small limits too (100 cmds).
8676 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
8678 while grep . conftest.undefs
>/dev
/null
8680 # Write a limited-size here document to $tmp/undefs.sed.
8681 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
8682 # Speed up: don't consider the non
`#undef'
8683 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
8684 # Work around the forget-to-reset-the-flag bug.
8685 echo 't clr' >>$CONFIG_STATUS
8686 echo ': clr' >>$CONFIG_STATUS
8687 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
8689 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
8693 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
8694 rm -f conftest.undefs
8695 mv conftest.tail conftest.undefs
8697 rm -f conftest.undefs
8699 cat >>$CONFIG_STATUS <<\_ACEOF
8700 # Let's still pretend it is `configure
' which instantiates (i.e., don't
8701 # use $as_me), people would be surprised to read:
8702 # /* config.h. Generated by config.status. */
8703 if test x
"$ac_file" = x-
; then
8704 echo "/* Generated by configure. */" >$tmp/config.h
8706 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
8708 cat $tmp/in >>$tmp/config.h
8710 if test x
"$ac_file" != x-
; then
8711 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
8712 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
8713 echo "$as_me: $ac_file is unchanged" >&6;}
8715 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
8716 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8717 X"$ac_file" : 'X\(//\)[^/]' \| \
8718 X"$ac_file" : 'X\(//\)$' \| \
8719 X"$ac_file" : 'X\(/\)' \| \
8720 . : '\(.\)' 2>/dev/null ||
8722 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8723 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8724 /^X\(\/\/\)$/{ s//\1/; q; }
8725 /^X\(\/\).*/{ s//\1/; q; }
8727 { if $as_mkdir_p; then
8732 while test ! -d "$as_dir"; do
8733 as_dirs
="$as_dir $as_dirs"
8734 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8735 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8736 X"$as_dir" : 'X\(//\)[^/]' \| \
8737 X"$as_dir" : 'X\(//\)$' \| \
8738 X"$as_dir" : 'X\(/\)' \| \
8739 . : '\(.\)' 2>/dev/null ||
8741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8742 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8743 /^X\(\/\/\)$/{ s//\1/; q; }
8744 /^X\(\/\).*/{ s//\1/; q; }
8747 test ! -n "$as_dirs" || mkdir
$as_dirs
8748 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8749 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8750 { (exit 1); exit 1; }; }; }
8753 mv $tmp/config.h
$ac_file
8759 # Run the commands associated with the file.
8761 config.h
) # update the timestamp
8762 echo 'timestamp for config.h' >"./stamp-h1"
8767 cat >>$CONFIG_STATUS <<\_ACEOF
8770 # CONFIG_COMMANDS section.
8772 for ac_file
in : $CONFIG_COMMANDS; do test "x$ac_file" = x
: && continue
8773 ac_dest
=`echo "$ac_file" | sed 's,:.*,,'`
8774 ac_source
=`echo "$ac_file" | sed 's,[^:]*:,,'`
8775 ac_dir
=`(dirname "$ac_dest") 2>/dev/null ||
8776 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8777 X"$ac_dest" : 'X\(//\)[^/]' \| \
8778 X"$ac_dest" : 'X\(//\)$' \| \
8779 X"$ac_dest" : 'X\(/\)' \| \
8780 . : '\(.\)' 2>/dev/null ||
8782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8784 /^X\(\/\/\)$/{ s//\1/; q; }
8785 /^X\(\/\).*/{ s//\1/; q; }
8787 { if $as_mkdir_p; then
8792 while test ! -d "$as_dir"; do
8793 as_dirs
="$as_dir $as_dirs"
8794 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8796 X"$as_dir" : 'X\(//\)[^/]' \| \
8797 X"$as_dir" : 'X\(//\)$' \| \
8798 X"$as_dir" : 'X\(/\)' \| \
8799 . : '\(.\)' 2>/dev/null ||
8801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8803 /^X\(\/\/\)$/{ s//\1/; q; }
8804 /^X\(\/\).*/{ s//\1/; q; }
8807 test ! -n "$as_dirs" || mkdir
$as_dirs
8808 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8810 { (exit 1); exit 1; }; }; }
8814 if test "$ac_dir" != .
; then
8815 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8816 # A "../" for each directory in $ac_dir_suffix.
8817 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8819 ac_dir_suffix
= ac_top_builddir
=
8823 .
) # No --srcdir option. We are building in place.
8825 if test -z "$ac_top_builddir"; then
8828 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
8830 [\\/]* | ?
:[\\/]* ) # Absolute path.
8831 ac_srcdir
=$srcdir$ac_dir_suffix;
8832 ac_top_srcdir
=$srcdir ;;
8834 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
8835 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
8838 # Do not use `cd foo && pwd` to compute absolute paths, because
8839 # the directories may not exist.
8841 .
) ac_abs_builddir
="$ac_dir";;
8844 .
) ac_abs_builddir
=`pwd`;;
8845 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
8846 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
8849 case $ac_abs_builddir in
8850 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8852 case ${ac_top_builddir}.
in
8853 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
8854 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
8855 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
8858 case $ac_abs_builddir in
8859 .
) ac_abs_srcdir
=$ac_srcdir;;
8862 .
) ac_abs_srcdir
=$ac_abs_builddir;;
8863 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
8864 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
8867 case $ac_abs_builddir in
8868 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
8870 case $ac_top_srcdir in
8871 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
8872 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
8873 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
8878 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8879 echo "$as_me: executing $ac_dest commands" >&6;}
8881 depfiles
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
8882 # Strip MF so we end up with the name of the file.
8883 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8884 # Check whether this is an Automake generated Makefile or not.
8885 # We used to match only the files named `Makefile.in', but
8886 # some people rename them; so instead we look at the file content.
8887 # Grep'ing the first line is not enough: some people post-process
8888 # each Makefile.in and add a new line on top of each file to say so.
8889 # So let's grep whole file.
8890 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
8891 dirpart
=`(dirname "$mf") 2>/dev/null ||
8892 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8893 X"$mf" : 'X\(//\)[^/]' \| \
8894 X"$mf" : 'X\(//\)$' \| \
8895 X"$mf" : 'X\(/\)' \| \
8896 . : '\(.\)' 2>/dev/null ||
8898 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8899 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8900 /^X\(\/\/\)$/{ s//\1/; q; }
8901 /^X\(\/\).*/{ s//\1/; q; }
8906 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev
/null ||
continue
8907 # Extract the definition of DEP_FILES from the Makefile without
8909 DEPDIR
=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
8910 test -z "$DEPDIR" && continue
8911 # When using ansi2knr, U may be empty or an underscore; expand it
8912 U
=`sed -n -e '/^U = / s///p' < "$mf"`
8913 test -d "$dirpart/$DEPDIR" || mkdir
"$dirpart/$DEPDIR"
8914 # We invoke sed twice because it is the simplest approach to
8915 # changing $(DEPDIR) to its actual value in the expansion.
8916 for file in `sed -n -e '
8917 /^DEP_FILES = .*\\\\$/ {
8926 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
8927 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8928 # Make sure the directory exists.
8929 test -f "$dirpart/$file" && continue
8930 fdir
=`(dirname "$file") 2>/dev/null ||
8931 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8932 X"$file" : 'X\(//\)[^/]' \| \
8933 X"$file" : 'X\(//\)$' \| \
8934 X"$file" : 'X\(/\)' \| \
8935 . : '\(.\)' 2>/dev/null ||
8937 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8938 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8939 /^X\(\/\/\)$/{ s//\1/; q; }
8940 /^X\(\/\).*/{ s//\1/; q; }
8942 { if $as_mkdir_p; then
8943 mkdir
-p $dirpart/$fdir
8945 as_dir
=$dirpart/$fdir
8947 while test ! -d "$as_dir"; do
8948 as_dirs
="$as_dir $as_dirs"
8949 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
8950 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8951 X"$as_dir" : 'X\(//\)[^/]' \| \
8952 X"$as_dir" : 'X\(//\)$' \| \
8953 X"$as_dir" : 'X\(/\)' \| \
8954 . : '\(.\)' 2>/dev/null ||
8956 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8957 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8958 /^X\(\/\/\)$/{ s//\1/; q; }
8959 /^X\(\/\).*/{ s//\1/; q; }
8962 test ! -n "$as_dirs" || mkdir
$as_dirs
8963 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8964 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8965 { (exit 1); exit 1; }; }; }
8967 # echo "creating $dirpart/$file"
8968 echo '# dummy' > "$dirpart/$file"
8976 cat >>$CONFIG_STATUS <<\_ACEOF
8978 { (exit 0); exit 0; }
8980 chmod +x
$CONFIG_STATUS
8981 ac_clean_files
=$ac_clean_files_save
8984 # configure is writing to config.log, and then calls config.status.
8985 # config.status does its own redirection, appending to config.log.
8986 # Unfortunately, on DOS this fails, as config.log is still kept open
8987 # by configure, so config.status won't be able to write to it; its
8988 # output is simply discarded. So we exec the FD to /dev/null,
8989 # effectively closing config.log, so it can be properly (re)opened and
8990 # appended to by config.status. When coming back to configure, we
8991 # need to make the FD available again.
8992 if test "$no_create" != yes; then
8994 ac_config_status_args
=
8995 test "$silent" = yes &&
8996 ac_config_status_args
="$ac_config_status_args --quiet"
8998 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9000 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9001 # would make configure fail if this is the last instruction.
9002 $ac_cs_success ||
{ (exit 1); exit 1; }
9005 chmod 0444 wmbiff
/wmbiffrc
.5