2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
22 DUALCASE
=1; export DUALCASE
# for MKS sh
24 # Support unset when possible.
25 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C
; export $as_var
51 # Required to use basename.
52 if expr a
: '\(a\)' >/dev
/null
2>&1; then
58 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me
=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits
='0123456789'
84 as_cr_alnum
=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
102 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself
=$0 ;;
109 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir
=.
114 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x
; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
131 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir
=.
135 for as_base
in sh bash ksh sh5
; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
144 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
145 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
146 CONFIG_SHELL
=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x
$as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c
*,-n*) ECHO_N
= ECHO_C
='
190 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
191 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
194 if expr a
: '\(a\)' >/dev
/null
2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.
file
202 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe
; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.
file conf$$
2>/dev
/null
; then
216 rm -f conf$$ conf$$.exe conf$$.
file
218 if mkdir
-p .
2>/dev
/null
; then
221 test -d .
/-p && rmdir .
/-p
225 as_executable_p
="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix
=/usr
/local
255 ac_config_libobj_dir
=.
260 SHELL
=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file
="fookb.c"
275 # Factoring default headers for most tests.
276 ac_includes_default
="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 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 CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT WUTIL_LIB CPP X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS EGREP HAVE_WMAKER LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version
=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name
=s
,x
,x
,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir
='${exec_prefix}/bin'
341 sbindir
='${exec_prefix}/sbin'
342 libexecdir
='${exec_prefix}/libexec'
343 datadir
='${prefix}/share'
344 sysconfdir
='${prefix}/etc'
345 sharedstatedir
='${prefix}/com'
346 localstatedir
='${prefix}/var'
347 libdir
='${exec_prefix}/lib'
348 includedir
='${prefix}/include'
349 oldincludedir
='/usr/include'
350 infodir
='${prefix}/info'
351 mandir
='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg
=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
371 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
374 -build |
--build |
--buil |
--bui |
--bu)
375 ac_prev
=build_alias
;;
376 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
377 build_alias
=$ac_optarg ;;
379 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
380 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
381 ac_prev
=cache_file
;;
382 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
383 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
384 cache_file
=$ac_optarg ;;
387 cache_file
=config.cache
;;
389 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
391 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
393 datadir
=$ac_optarg ;;
395 -disable-* |
--disable-*)
396 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* |
--enable-*)
405 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
418 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
419 |
--exec |
--exe |
--ex)
420 ac_prev
=exec_prefix
;;
421 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
422 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
423 |
--exec=* |
--exe=* |
--ex=*)
424 exec_prefix
=$ac_optarg ;;
426 -gas |
--gas |
--ga |
--g)
427 # Obsolete; use --with-gas.
430 -help |
--help |
--hel |
--he |
-h)
432 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
433 ac_init_help
=recursive
;;
434 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
435 ac_init_help
=short
;;
437 -host |
--host |
--hos |
--ho)
438 ac_prev
=host_alias
;;
439 -host=* |
--host=* |
--hos=* |
--ho=*)
440 host_alias
=$ac_optarg ;;
442 -includedir |
--includedir |
--includedi |
--included |
--include \
443 |
--includ |
--inclu |
--incl |
--inc)
444 ac_prev
=includedir
;;
445 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
446 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
447 includedir
=$ac_optarg ;;
449 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
451 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
452 infodir
=$ac_optarg ;;
454 -libdir |
--libdir |
--libdi |
--libd)
456 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
459 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
460 |
--libexe |
--libex |
--libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
463 |
--libexe=* |
--libex=* |
--libe=*)
464 libexecdir
=$ac_optarg ;;
466 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
467 |
--localstate |
--localstat |
--localsta |
--localst \
468 |
--locals |
--local |
--loca |
--loc |
--lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
471 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
472 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
473 localstatedir
=$ac_optarg ;;
475 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
477 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
481 # Obsolete; use --without-fp.
484 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
485 |
--no-cr |
--no-c |
-n)
488 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
489 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
492 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
493 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
494 |
--oldin |
--oldi |
--old |
--ol |
--o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
497 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
498 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
499 oldincludedir
=$ac_optarg ;;
501 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
503 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
506 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
507 |
--program-pre |
--program-pr |
--program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
510 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
511 program_prefix
=$ac_optarg ;;
513 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
514 |
--program-suf |
--program-su |
--program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
517 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
518 program_suffix
=$ac_optarg ;;
520 -program-transform-name |
--program-transform-name \
521 |
--program-transform-nam |
--program-transform-na \
522 |
--program-transform-n |
--program-transform- \
523 |
--program-transform |
--program-transfor \
524 |
--program-transfo |
--program-transf \
525 |
--program-trans |
--program-tran \
526 |
--progr-tra |
--program-tr |
--program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* |
--program-transform-name=* \
529 |
--program-transform-nam=* |
--program-transform-na=* \
530 |
--program-transform-n=* |
--program-transform-=* \
531 |
--program-transform=* |
--program-transfor=* \
532 |
--program-transfo=* |
--program-transf=* \
533 |
--program-trans=* |
--program-tran=* \
534 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
535 program_transform_name
=$ac_optarg ;;
537 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
538 |
-silent |
--silent |
--silen |
--sile |
--sil)
541 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
543 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
545 sbindir
=$ac_optarg ;;
547 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
548 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
549 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
553 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
554 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
556 sharedstatedir
=$ac_optarg ;;
558 -site |
--site |
--sit)
560 -site=* |
--site=* |
--sit=*)
563 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
565 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
568 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
569 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
572 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
573 sysconfdir
=$ac_optarg ;;
575 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
576 ac_prev
=target_alias
;;
577 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
578 target_alias
=$ac_optarg ;;
580 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
583 -version |
--version |
--versio |
--versi |
--vers |
-V)
587 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package
=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* |
--without-*)
600 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package
=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
613 |
--x-incl |
--x-inc |
--x-in |
--x-i)
614 ac_prev
=x_includes
;;
615 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
616 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
617 x_includes
=$ac_optarg ;;
619 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
620 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
621 ac_prev
=x_libraries
;;
622 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
623 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
624 x_libraries
=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg
=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var
in exec_prefix prefix
661 eval ac_val
=$
`echo $ac_var`
663 [\\/$
]* | ?
:[\\/]* | NONE |
'' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var
in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val
=$
`echo $ac_var`
675 [\\/$
]* | ?
:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x
; then
690 if test "x$build_alias" = x
; then
691 cross_compiling
=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
702 test "$silent" = yes && exec 6>/dev
/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted
=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir
=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted
=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r .
/$ac_unique_file) 2>/dev
/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir
=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set
=${build_alias+set}
742 ac_env_build_alias_value
=$build_alias
743 ac_cv_env_build_alias_set
=${build_alias+set}
744 ac_cv_env_build_alias_value
=$build_alias
745 ac_env_host_alias_set
=${host_alias+set}
746 ac_env_host_alias_value
=$host_alias
747 ac_cv_env_host_alias_set
=${host_alias+set}
748 ac_cv_env_host_alias_value
=$host_alias
749 ac_env_target_alias_set
=${target_alias+set}
750 ac_env_target_alias_value
=$target_alias
751 ac_cv_env_target_alias_set
=${target_alias+set}
752 ac_cv_env_target_alias_value
=$target_alias
753 ac_env_CC_set
=${CC+set}
755 ac_cv_env_CC_set
=${CC+set}
756 ac_cv_env_CC_value
=$CC
757 ac_env_CFLAGS_set
=${CFLAGS+set}
758 ac_env_CFLAGS_value
=$CFLAGS
759 ac_cv_env_CFLAGS_set
=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value
=$CFLAGS
761 ac_env_LDFLAGS_set
=${LDFLAGS+set}
762 ac_env_LDFLAGS_value
=$LDFLAGS
763 ac_cv_env_LDFLAGS_set
=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value
=$LDFLAGS
765 ac_env_CPPFLAGS_set
=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value
=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set
=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value
=$CPPFLAGS
769 ac_env_CPP_set
=${CPP+set}
770 ac_env_CPP_value
=$CPP
771 ac_cv_env_CPP_set
=${CPP+set}
772 ac_cv_env_CPP_value
=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --x-includes=DIR X include files are
in DIR
836 --x-libraries=DIR X library files are
in DIR
840 if test -n "$ac_init_help"; then
845 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
846 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
847 --enable-libWUtil try to use property lists handling
in libWUtil
848 --enable-wmaker create windowmaker dockable application
851 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
852 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
853 --with-x use the X Window System
855 Some influential environment variables
:
856 CC C compiler
command
857 CFLAGS C compiler flags
858 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
859 nonstandard directory
<lib dir
>
860 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
861 headers
in a nonstandard directory
<include dir
>
864 Use these variables to override the choices made by
`configure' or to help
865 it to find libraries and programs with nonstandard names/locations.
870 if test "$ac_init_help" = "recursive"; then
871 # If there are subdirs, report their specific --help.
873 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
874 test -d $ac_dir || continue
877 if test "$ac_dir" != .; then
878 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
879 # A "../" for each directory in $ac_dir_suffix.
880 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
882 ac_dir_suffix= ac_top_builddir=
886 .) # No --srcdir option. We are building in place.
888 if test -z "$ac_top_builddir"; then
891 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
893 [\\/]* | ?:[\\/]* ) # Absolute path.
894 ac_srcdir=$srcdir$ac_dir_suffix;
895 ac_top_srcdir=$srcdir ;;
897 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
898 ac_top_srcdir=$ac_top_builddir$srcdir ;;
901 # Do not use `cd foo
&& pwd` to compute absolute paths, because
902 # the directories may not exist.
904 .) ac_abs_builddir="$ac_dir";;
907 .) ac_abs_builddir=`pwd`;;
908 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
909 *) ac_abs_builddir=`pwd`/"$ac_dir";;
912 case $ac_abs_builddir in
913 .) ac_abs_top_builddir=${ac_top_builddir}.;;
915 case ${ac_top_builddir}. in
916 .) ac_abs_top_builddir=$ac_abs_builddir;;
917 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
918 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
921 case $ac_abs_builddir in
922 .) ac_abs_srcdir=$ac_srcdir;;
925 .) ac_abs_srcdir=$ac_abs_builddir;;
926 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
927 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
930 case $ac_abs_builddir in
931 .) ac_abs_top_srcdir=$ac_top_srcdir;;
933 case $ac_top_srcdir in
934 .) ac_abs_top_srcdir=$ac_abs_builddir;;
935 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
936 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
941 # Check for guested configure; otherwise get Cygnus style configure.
942 if test -f $ac_srcdir/configure.gnu; then
944 $SHELL $ac_srcdir/configure.gnu --help=recursive
945 elif test -f $ac_srcdir/configure; then
947 $SHELL $ac_srcdir/configure --help=recursive
948 elif test -f $ac_srcdir/configure.ac ||
949 test -f $ac_srcdir/configure.in; then
953 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
959 test -n "$ac_init_help" && exit 0
960 if $ac_init_version; then
963 Copyright (C) 2003 Free Software Foundation, Inc.
964 This configure script is free software; the Free Software Foundation
965 gives unlimited permission to copy, distribute and modify it.
971 This file contains any messages produced by compilers while
972 running configure, to aid debugging if configure makes a mistake.
974 It was created by $as_me, which was
975 generated by GNU Autoconf 2.59. Invocation command line was
986 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
987 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
988 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
989 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
990 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
992 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
993 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
995 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
996 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
997 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
998 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
999 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1000 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1001 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1009 test -z "$as_dir" && as_dir=.
1010 echo "PATH: $as_dir"
1025 # Keep a trace of the command line.
1026 # Strip out --no-create and --no-recursion so they do not pile up.
1027 # Strip out --silent because we don't want to record it for future runs.
1028 # Also quote any args containing shell meta-characters.
1029 # Make two passes to allow for proper duplicate-argument suppression.
1034 ac_must_keep_next=false
1040 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1041 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1042 | -silent | --silent | --silen | --sile | --sil)
1044 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1045 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1048 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1050 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1051 if test $ac_must_keep_next = true; then
1052 ac_must_keep_next=false # Got value, back to normal.
1055 *=* | --config-cache | -C | -disable-* | --disable-* \
1056 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1057 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1058 | -with-* | --with-* | -without-* | --without-* | --x)
1059 case "$ac_configure_args0 " in
1060 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1063 -* ) ac_must_keep_next=true ;;
1066 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1067 # Get rid of the leading space.
1073 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1074 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1076 # When interrupted or exit'd, cleanup temporary files, and complete
1077 # config.log. We remove comments because anyway the quotes in there
1078 # would cause problems or look ugly.
1079 # WARNING: Be sure not to use single quotes in there, as some shells,
1080 # such as our DU 5.0 friend, will then `close
' the trap.
1081 trap 'exit_status
=$?
1082 # Save into config.log some information that might help in debugging.
1087 ## ---------------- ##
1088 ## Cache variables. ##
1089 ## ---------------- ##
1092 # The following way of writing the cache mishandles newlines in values,
1095 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1098 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1099 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1103 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1110 ## ----------------- ##
1111 ## Output variables. ##
1112 ## ----------------- ##
1115 for ac_var
in $ac_subst_vars
1117 eval ac_val
=$
`echo $ac_var`
1118 echo "$ac_var='"'"'$ac_val'"'"'"
1122 if test -n "$ac_subst_files"; then
1129 for ac_var
in $ac_subst_files
1131 eval ac_val
=$
`echo $ac_var`
1132 echo "$ac_var='"'"'$ac_val'"'"'"
1137 if test -s confdefs.h
; then
1144 sed "/^$/d" confdefs.h |
sort
1147 test "$ac_signal" != 0 &&
1148 echo "$as_me: caught signal $ac_signal"
1149 echo "$as_me: exit $exit_status"
1151 rm -f core
*.core
&&
1152 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1155 for ac_signal in 1 2 13 15; do
1156 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1160 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1161 rm -rf conftest* confdefs.h
1162 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1165 # Predefined preprocessor variables.
1167 cat >>confdefs.h <<_ACEOF
1168 #define PACKAGE_NAME "$PACKAGE_NAME"
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_STRING "$PACKAGE_STRING"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1192 # Let the site file select an alternate cache file if it wants to.
1193 # Prefer explicitly selected file to automatically selected ones.
1194 if test -z "$CONFIG_SITE"; then
1195 if test "x$prefix" != xNONE; then
1196 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1198 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1201 for ac_site_file in $CONFIG_SITE; do
1202 if test -r "$ac_site_file"; then
1203 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1204 echo "$as_me: loading site script $ac_site_file" >&6;}
1205 sed 's
/^
/|
/' "$ac_site_file" >&5
1210 if test -r "$cache_file"; then
1211 # Some versions of bash will fail to source /dev/null (special
1212 # files actually), so we avoid doing that.
1213 if test -f "$cache_file"; then
1214 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1215 echo "$as_me: loading cache $cache_file" >&6;}
1217 [\\/]* | ?:[\\/]* ) . $cache_file;;
1218 *) . ./$cache_file;;
1222 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1223 echo "$as_me: creating cache $cache_file" >&6;}
1227 # Check that the precious variables saved in the cache have kept the same
1229 ac_cache_corrupted=false
1230 for ac_var in `(set) 2>&1 |
1231 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1232 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1233 eval ac_new_set=\$ac_env_${ac_var}_set
1234 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1235 eval ac_new_val="\$ac_env_${ac_var}_value"
1236 case $ac_old_set,$ac_new_set in
1238 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1239 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1240 ac_cache_corrupted=: ;;
1242 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1243 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1244 ac_cache_corrupted=: ;;
1247 if test "x$ac_old_val" != "x$ac_new_val"; then
1248 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1249 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1250 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1251 echo "$as_me: former value: $ac_old_val" >&2;}
1252 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1253 echo "$as_me: current value: $ac_new_val" >&2;}
1254 ac_cache_corrupted=:
1257 # Pass precious variables to config.status.
1258 if test "$ac_new_set" = set; then
1260 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1261 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1262 *) ac_arg=$ac_var=$ac_new_val ;;
1264 case " $ac_configure_args " in
1265 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1266 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1270 if $ac_cache_corrupted; then
1271 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1272 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1273 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1274 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1275 { (exit 1); exit 1; }; }
1279 ac_cpp='$CPP $CPPFLAGS'
1280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1281 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1304 ac_cpp='$CPP $CPPFLAGS'
1305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1306 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1308 if test -n "$ac_tool_prefix"; then
1309 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1310 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1311 echo "$as_me:$LINENO: checking for $ac_word" >&5
1312 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1313 if test "${ac_cv_prog_CC+set}" = set; then
1314 echo $ECHO_N "(cached) $ECHO_C" >&6
1316 if test -n "$CC"; then
1317 ac_cv_prog_CC="$CC" # Let the user override the test.
1319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1323 test -z "$as_dir" && as_dir=.
1324 for ac_exec_ext in '' $ac_executable_extensions; do
1325 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1326 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1327 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1336 if test -n "$CC"; then
1337 echo "$as_me:$LINENO: result: $CC" >&5
1338 echo "${ECHO_T}$CC" >&6
1340 echo "$as_me:$LINENO: result: no" >&5
1341 echo "${ECHO_T}no" >&6
1345 if test -z "$ac_cv_prog_CC"; then
1347 # Extract the first word of "gcc", so it can be a program name with args.
1348 set dummy gcc; ac_word=$2
1349 echo "$as_me:$LINENO: checking for $ac_word" >&5
1350 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1351 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1352 echo $ECHO_N "(cached) $ECHO_C" >&6
1354 if test -n "$ac_ct_CC"; then
1355 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1361 test -z "$as_dir" && as_dir=.
1362 for ac_exec_ext in '' $ac_executable_extensions; do
1363 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1364 ac_cv_prog_ac_ct_CC="gcc"
1365 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1373 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1374 if test -n "$ac_ct_CC"; then
1375 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1376 echo "${ECHO_T}$ac_ct_CC" >&6
1378 echo "$as_me:$LINENO: result: no" >&5
1379 echo "${ECHO_T}no" >&6
1387 if test -z "$CC"; then
1388 if test -n "$ac_tool_prefix"; then
1389 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1390 set dummy ${ac_tool_prefix}cc; ac_word=$2
1391 echo "$as_me:$LINENO: checking for $ac_word" >&5
1392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1393 if test "${ac_cv_prog_CC+set}" = set; then
1394 echo $ECHO_N "(cached) $ECHO_C" >&6
1396 if test -n "$CC"; then
1397 ac_cv_prog_CC="$CC" # Let the user override the test.
1399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1403 test -z "$as_dir" && as_dir=.
1404 for ac_exec_ext in '' $ac_executable_extensions; do
1405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1406 ac_cv_prog_CC="${ac_tool_prefix}cc"
1407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1416 if test -n "$CC"; then
1417 echo "$as_me:$LINENO: result: $CC" >&5
1418 echo "${ECHO_T}$CC" >&6
1420 echo "$as_me:$LINENO: result: no" >&5
1421 echo "${ECHO_T}no" >&6
1425 if test -z "$ac_cv_prog_CC"; then
1427 # Extract the first word of "cc", so it can be a program name with args.
1428 set dummy cc; ac_word=$2
1429 echo "$as_me:$LINENO: checking for $ac_word" >&5
1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1431 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 if test -n "$ac_ct_CC"; then
1435 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1441 test -z "$as_dir" && as_dir=.
1442 for ac_exec_ext in '' $ac_executable_extensions; do
1443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1444 ac_cv_prog_ac_ct_CC="cc"
1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1453 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1454 if test -n "$ac_ct_CC"; then
1455 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1456 echo "${ECHO_T}$ac_ct_CC" >&6
1458 echo "$as_me:$LINENO: result: no" >&5
1459 echo "${ECHO_T}no" >&6
1468 if test -z "$CC"; then
1469 # Extract the first word of "cc", so it can be a program name with args.
1470 set dummy cc; ac_word=$2
1471 echo "$as_me:$LINENO: checking for $ac_word" >&5
1472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1473 if test "${ac_cv_prog_CC+set}" = set; then
1474 echo $ECHO_N "(cached) $ECHO_C" >&6
1476 if test -n "$CC"; then
1477 ac_cv_prog_CC="$CC" # Let the user override the test.
1480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1484 test -z "$as_dir" && as_dir=.
1485 for ac_exec_ext in '' $ac_executable_extensions; do
1486 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1487 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1488 ac_prog_rejected=yes
1492 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1498 if test $ac_prog_rejected = yes; then
1499 # We found a bogon in the path, so make sure we never use it.
1500 set dummy $ac_cv_prog_CC
1502 if test $# != 0; then
1503 # We chose a different compiler from the bogus one.
1504 # However, it has the same basename, so the bogon will be chosen
1505 # first if we set CC to just the basename; use the full file name.
1507 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1513 if test -n "$CC"; then
1514 echo "$as_me:$LINENO: result: $CC" >&5
1515 echo "${ECHO_T}$CC" >&6
1517 echo "$as_me:$LINENO: result: no" >&5
1518 echo "${ECHO_T}no" >&6
1522 if test -z "$CC"; then
1523 if test -n "$ac_tool_prefix"; then
1526 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1527 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1528 echo "$as_me:$LINENO: checking for $ac_word" >&5
1529 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1530 if test "${ac_cv_prog_CC+set}" = set; then
1531 echo $ECHO_N "(cached) $ECHO_C" >&6
1533 if test -n "$CC"; then
1534 ac_cv_prog_CC="$CC" # Let the user override the test.
1536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1540 test -z "$as_dir" && as_dir=.
1541 for ac_exec_ext in '' $ac_executable_extensions; do
1542 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1543 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1553 if test -n "$CC"; then
1554 echo "$as_me:$LINENO: result: $CC" >&5
1555 echo "${ECHO_T}$CC" >&6
1557 echo "$as_me:$LINENO: result: no" >&5
1558 echo "${ECHO_T}no" >&6
1561 test -n "$CC" && break
1564 if test -z "$CC"; then
1568 # Extract the first word of "$ac_prog", so it can be a program name with args.
1569 set dummy $ac_prog; ac_word=$2
1570 echo "$as_me:$LINENO: checking for $ac_word" >&5
1571 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1572 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1573 echo $ECHO_N "(cached) $ECHO_C" >&6
1575 if test -n "$ac_ct_CC"; then
1576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 test -z "$as_dir" && as_dir=.
1583 for ac_exec_ext in '' $ac_executable_extensions; do
1584 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1585 ac_cv_prog_ac_ct_CC="$ac_prog"
1586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1594 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1595 if test -n "$ac_ct_CC"; then
1596 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1597 echo "${ECHO_T}$ac_ct_CC" >&6
1599 echo "$as_me:$LINENO: result: no" >&5
1600 echo "${ECHO_T}no" >&6
1603 test -n "$ac_ct_CC" && break
1612 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1613 See \`config.log' for more details.
" >&5
1614 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1615 See \
`config.log' for more details." >&2;}
1616 { (exit 1); exit 1; }; }
1618 # Provide some information about the compiler.
1619 echo "$as_me:$LINENO:" \
1620 "checking for C compiler version" >&5
1621 ac_compiler=`set X
$ac_compile; echo $2`
1622 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1623 (eval $ac_compiler --version </dev/null >&5) 2>&5
1625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1626 (exit $ac_status); }
1627 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1628 (eval $ac_compiler -v </dev/null >&5) 2>&5
1630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1631 (exit $ac_status); }
1632 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1633 (eval $ac_compiler -V </dev/null >&5) 2>&5
1635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1636 (exit $ac_status); }
1638 cat >conftest.$ac_ext <<_ACEOF
1641 cat confdefs.h >>conftest.$ac_ext
1642 cat >>conftest.$ac_ext <<_ACEOF
1643 /* end confdefs.h. */
1653 ac_clean_files_save=$ac_clean_files
1654 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1655 # Try to create an executable without -o first, disregard a.out.
1656 # It will help us diagnose broken compilers, and finding out an intuition
1658 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1659 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1660 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1661 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1662 (eval $ac_link_default) 2>&5
1664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1665 (exit $ac_status); }; then
1666 # Find the output, starting from the most likely. This scheme is
1667 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1670 # Be careful to initialize this variable, since it used to be cached.
1671 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1673 # b.out is created by i960 compilers.
1674 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1676 test -f "$ac_file" || continue
1678 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1681 # This is the source file.
1684 # We found the default executable, but exeext='' is most
1688 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1689 # FIXME: I believe we export ac_cv_exeext for Libtool,
1690 # but it would be cool to find out if it's true. Does anybody
1691 # maintain Libtool? --akim.
1699 echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.$ac_ext >&5
1702 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1703 See \`config.log
' for more details." >&5
1704 echo "$as_me: error: C compiler cannot create executables
1705 See \`config.log' for more details.
" >&2;}
1706 { (exit 77); exit 77; }; }
1709 ac_exeext=$ac_cv_exeext
1710 echo "$as_me:$LINENO: result
: $ac_file" >&5
1711 echo "${ECHO_T}$ac_file" >&6
1713 # Check the compiler produces executables we can run. If not, either
1714 # the compiler is broken, or we cross compile.
1715 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1716 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1717 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1718 # If not cross compiling, check that we can run a simple program.
1719 if test "$cross_compiling" != yes; then
1720 if { ac_try='./$ac_file'
1721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1725 (exit $ac_status); }; }; then
1728 if test "$cross_compiling" = maybe; then
1731 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1732 If you meant to cross compile
, use \
`--host'.
1733 See \`config.log
' for more details." >&5
1734 echo "$as_me: error: cannot run C compiled programs.
1735 If you meant to cross compile, use \`--host'.
1736 See \
`config.log' for more details." >&2;}
1737 { (exit 1); exit 1; }; }
1741 echo "$as_me:$LINENO: result: yes" >&5
1742 echo "${ECHO_T}yes" >&6
1744 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1745 ac_clean_files=$ac_clean_files_save
1746 # Check the compiler produces executables we can run. If not, either
1747 # the compiler is broken, or we cross compile.
1748 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1749 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1750 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1751 echo "${ECHO_T}$cross_compiling" >&6
1753 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1754 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1756 (eval $ac_link) 2>&5
1758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1759 (exit $ac_status); }; then
1760 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1761 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1762 # work properly (i.e., refer to `conftest.exe'), while it won't with
1764 for ac_file
in conftest.exe conftest conftest.
*; do
1765 test -f "$ac_file" ||
continue
1767 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1768 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1775 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1776 See \`config.log' for more details." >&5
1777 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1778 See \`config.log' for more details." >&2;}
1779 { (exit 1); exit 1; }; }
1782 rm -f conftest
$ac_cv_exeext
1783 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1784 echo "${ECHO_T}$ac_cv_exeext" >&6
1786 rm -f conftest.
$ac_ext
1787 EXEEXT
=$ac_cv_exeext
1789 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1790 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1791 if test "${ac_cv_objext+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1794 cat >conftest.
$ac_ext <<_ACEOF
1797 cat confdefs.h
>>conftest.
$ac_ext
1798 cat >>conftest.
$ac_ext <<_ACEOF
1799 /* end confdefs.h. */
1809 rm -f conftest.o conftest.obj
1810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1811 (eval $ac_compile) 2>&5
1813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1814 (exit $ac_status); }; then
1815 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1817 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1818 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1823 echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.
$ac_ext >&5
1826 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1827 See \`config.log' for more details." >&5
1828 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1829 See \`config.log' for more details." >&2;}
1830 { (exit 1); exit 1; }; }
1833 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1835 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1836 echo "${ECHO_T}$ac_cv_objext" >&6
1837 OBJEXT
=$ac_cv_objext
1839 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1840 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1841 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1842 echo $ECHO_N "(cached) $ECHO_C" >&6
1844 cat >conftest.
$ac_ext <<_ACEOF
1847 cat confdefs.h
>>conftest.
$ac_ext
1848 cat >>conftest.
$ac_ext <<_ACEOF
1849 /* end confdefs.h. */
1862 rm -f conftest.
$ac_objext
1863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1864 (eval $ac_compile) 2>conftest.er1
1866 grep -v '^ *+' conftest.er1
>conftest.err
1868 cat conftest.err
>&5
1869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1870 (exit $ac_status); } &&
1871 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1876 (exit $ac_status); }; } &&
1877 { ac_try
='test -s conftest.$ac_objext'
1878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1882 (exit $ac_status); }; }; then
1885 echo "$as_me: failed program was:" >&5
1886 sed 's/^/| /' conftest.
$ac_ext >&5
1890 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1891 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1894 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1895 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1896 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1897 ac_test_CFLAGS
=${CFLAGS+set}
1898 ac_save_CFLAGS
=$CFLAGS
1900 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1901 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1902 if test "${ac_cv_prog_cc_g+set}" = set; then
1903 echo $ECHO_N "(cached) $ECHO_C" >&6
1905 cat >conftest.
$ac_ext <<_ACEOF
1908 cat confdefs.h
>>conftest.
$ac_ext
1909 cat >>conftest.
$ac_ext <<_ACEOF
1910 /* end confdefs.h. */
1920 rm -f conftest.
$ac_objext
1921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1922 (eval $ac_compile) 2>conftest.er1
1924 grep -v '^ *+' conftest.er1
>conftest.err
1926 cat conftest.err
>&5
1927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1928 (exit $ac_status); } &&
1929 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
1930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1934 (exit $ac_status); }; } &&
1935 { ac_try
='test -s conftest.$ac_objext'
1936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1940 (exit $ac_status); }; }; then
1943 echo "$as_me: failed program was:" >&5
1944 sed 's/^/| /' conftest.
$ac_ext >&5
1948 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1950 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
1951 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1952 if test "$ac_test_CFLAGS" = set; then
1953 CFLAGS
=$ac_save_CFLAGS
1954 elif test $ac_cv_prog_cc_g = yes; then
1955 if test "$GCC" = yes; then
1961 if test "$GCC" = yes; then
1967 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
1968 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
1969 if test "${ac_cv_prog_cc_stdc+set}" = set; then
1970 echo $ECHO_N "(cached) $ECHO_C" >&6
1972 ac_cv_prog_cc_stdc
=no
1974 cat >conftest.
$ac_ext <<_ACEOF
1977 cat confdefs.h
>>conftest.
$ac_ext
1978 cat >>conftest.
$ac_ext <<_ACEOF
1979 /* end confdefs.h. */
1982 #include <sys/types.h>
1983 #include <sys/stat.h>
1984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
1985 struct buf { int x; };
1986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
1987 static char *e (p, i)
1993 static char *f (char * (*g) (char **, int), char **p, ...)
1998 s = g (p, va_arg (v,int));
2003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2004 function prototypes and stuff, but not '\xHH' hex character constants.
2005 These don't provoke an error unfortunately, instead are silently treated
2006 as 'x'. The following induces an error, until -std1 is added to get
2007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2008 array size at least. It's necessary to write '\x00'==0 to get something
2009 that's true only with -std1. */
2010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2012 int test (int i, double x);
2013 struct s1 {int (*f) (int a);};
2014 struct s2 {int (*f) (double a);};
2015 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2021 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2026 # Don't try gcc -ansi; that turns off useful extensions and
2027 # breaks some systems' header files.
2028 # AIX -qlanglvl=ansi
2029 # Ultrix and OSF/1 -std1
2030 # HP-UX 10.20 and later -Ae
2031 # HP-UX older versions -Aa -D_HPUX_SOURCE
2032 # SVR4 -Xc -D__EXTENSIONS__
2033 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2035 CC
="$ac_save_CC $ac_arg"
2036 rm -f conftest.
$ac_objext
2037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2038 (eval $ac_compile) 2>conftest.er1
2040 grep -v '^ *+' conftest.er1
>conftest.err
2042 cat conftest.err
>&5
2043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2044 (exit $ac_status); } &&
2045 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2050 (exit $ac_status); }; } &&
2051 { ac_try
='test -s conftest.$ac_objext'
2052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2056 (exit $ac_status); }; }; then
2057 ac_cv_prog_cc_stdc
=$ac_arg
2060 echo "$as_me: failed program was:" >&5
2061 sed 's/^/| /' conftest.
$ac_ext >&5
2064 rm -f conftest.err conftest.
$ac_objext
2066 rm -f conftest.
$ac_ext conftest.
$ac_objext
2071 case "x$ac_cv_prog_cc_stdc" in
2073 echo "$as_me:$LINENO: result: none needed" >&5
2074 echo "${ECHO_T}none needed" >&6 ;;
2076 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2077 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2078 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2081 # Some people use a C++ compiler to compile C. Since we use `exit',
2082 # in C++ we need to declare it. In case someone uses the same compiler
2083 # for both compiling C and C++ we need to have the C++ compiler decide
2084 # the declaration of exit, since it's the most demanding environment.
2085 cat >conftest.
$ac_ext <<_ACEOF
2090 rm -f conftest.
$ac_objext
2091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2092 (eval $ac_compile) 2>conftest.er1
2094 grep -v '^ *+' conftest.er1
>conftest.err
2096 cat conftest.err
>&5
2097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2098 (exit $ac_status); } &&
2099 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2104 (exit $ac_status); }; } &&
2105 { ac_try
='test -s conftest.$ac_objext'
2106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2110 (exit $ac_status); }; }; then
2111 for ac_declaration
in \
2113 'extern "C" void std::exit (int) throw (); using std::exit;' \
2114 'extern "C" void std::exit (int); using std::exit;' \
2115 'extern "C" void exit (int) throw ();' \
2116 'extern "C" void exit (int);' \
2119 cat >conftest.
$ac_ext <<_ACEOF
2122 cat confdefs.h
>>conftest.
$ac_ext
2123 cat >>conftest.
$ac_ext <<_ACEOF
2124 /* end confdefs.h. */
2135 rm -f conftest.
$ac_objext
2136 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2137 (eval $ac_compile) 2>conftest.er1
2139 grep -v '^ *+' conftest.er1
>conftest.err
2141 cat conftest.err
>&5
2142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2143 (exit $ac_status); } &&
2144 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2149 (exit $ac_status); }; } &&
2150 { ac_try
='test -s conftest.$ac_objext'
2151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2155 (exit $ac_status); }; }; then
2158 echo "$as_me: failed program was:" >&5
2159 sed 's/^/| /' conftest.
$ac_ext >&5
2163 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2164 cat >conftest.
$ac_ext <<_ACEOF
2167 cat confdefs.h
>>conftest.
$ac_ext
2168 cat >>conftest.
$ac_ext <<_ACEOF
2169 /* end confdefs.h. */
2179 rm -f conftest.
$ac_objext
2180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2181 (eval $ac_compile) 2>conftest.er1
2183 grep -v '^ *+' conftest.er1
>conftest.err
2185 cat conftest.err
>&5
2186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2187 (exit $ac_status); } &&
2188 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2193 (exit $ac_status); }; } &&
2194 { ac_try
='test -s conftest.$ac_objext'
2195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2199 (exit $ac_status); }; }; then
2202 echo "$as_me: failed program was:" >&5
2203 sed 's/^/| /' conftest.
$ac_ext >&5
2206 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2209 if test -n "$ac_declaration"; then
2210 echo '#ifdef __cplusplus' >>confdefs.h
2211 echo $ac_declaration >>confdefs.h
2212 echo '#endif' >>confdefs.h
2216 echo "$as_me: failed program was:" >&5
2217 sed 's/^/| /' conftest.
$ac_ext >&5
2220 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2222 ac_cpp
='$CPP $CPPFLAGS'
2223 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2224 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2225 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2235 ac_cpp
='$CPP $CPPFLAGS'
2236 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2237 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2238 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2239 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2240 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2241 # On Suns, sometimes $CPP names a directory.
2242 if test -n "$CPP" && test -d "$CPP"; then
2245 if test -z "$CPP"; then
2246 if test "${ac_cv_prog_CPP+set}" = set; then
2247 echo $ECHO_N "(cached) $ECHO_C" >&6
2249 # Double quotes because CPP needs to be expanded
2250 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2253 for ac_c_preproc_warn_flag
in '' yes
2255 # Use a header file that comes with gcc, so configuring glibc
2256 # with a fresh cross-compiler works.
2257 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2258 # <limits.h> exists even on freestanding compilers.
2259 # On the NeXT, cc -E runs the code through the compiler's parser,
2260 # not just through cpp. "Syntax error" is here to catch this case.
2261 cat >conftest.
$ac_ext <<_ACEOF
2264 cat confdefs.h
>>conftest.
$ac_ext
2265 cat >>conftest.
$ac_ext <<_ACEOF
2266 /* end confdefs.h. */
2268 # include <limits.h>
2270 # include <assert.h>
2274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2275 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2277 grep -v '^ *+' conftest.er1
>conftest.err
2279 cat conftest.err
>&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); } >/dev
/null
; then
2282 if test -s conftest.err
; then
2283 ac_cpp_err
=$ac_c_preproc_warn_flag
2284 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2291 if test -z "$ac_cpp_err"; then
2294 echo "$as_me: failed program was:" >&5
2295 sed 's/^/| /' conftest.
$ac_ext >&5
2297 # Broken: fails on valid input.
2300 rm -f conftest.err conftest.
$ac_ext
2302 # OK, works on sane cases. Now check whether non-existent headers
2303 # can be detected and how.
2304 cat >conftest.
$ac_ext <<_ACEOF
2307 cat confdefs.h
>>conftest.
$ac_ext
2308 cat >>conftest.
$ac_ext <<_ACEOF
2309 /* end confdefs.h. */
2310 #include <ac_nonexistent.h>
2312 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2313 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2315 grep -v '^ *+' conftest.er1
>conftest.err
2317 cat conftest.err
>&5
2318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2319 (exit $ac_status); } >/dev
/null
; then
2320 if test -s conftest.err
; then
2321 ac_cpp_err
=$ac_c_preproc_warn_flag
2322 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2329 if test -z "$ac_cpp_err"; then
2330 # Broken: success on invalid input.
2333 echo "$as_me: failed program was:" >&5
2334 sed 's/^/| /' conftest.
$ac_ext >&5
2336 # Passes both tests.
2340 rm -f conftest.err conftest.
$ac_ext
2343 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2344 rm -f conftest.err conftest.
$ac_ext
2345 if $ac_preproc_ok; then
2357 echo "$as_me:$LINENO: result: $CPP" >&5
2358 echo "${ECHO_T}$CPP" >&6
2360 for ac_c_preproc_warn_flag
in '' yes
2362 # Use a header file that comes with gcc, so configuring glibc
2363 # with a fresh cross-compiler works.
2364 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2365 # <limits.h> exists even on freestanding compilers.
2366 # On the NeXT, cc -E runs the code through the compiler's parser,
2367 # not just through cpp. "Syntax error" is here to catch this case.
2368 cat >conftest.
$ac_ext <<_ACEOF
2371 cat confdefs.h
>>conftest.
$ac_ext
2372 cat >>conftest.
$ac_ext <<_ACEOF
2373 /* end confdefs.h. */
2375 # include <limits.h>
2377 # include <assert.h>
2381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2382 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2384 grep -v '^ *+' conftest.er1
>conftest.err
2386 cat conftest.err
>&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } >/dev
/null
; then
2389 if test -s conftest.err
; then
2390 ac_cpp_err
=$ac_c_preproc_warn_flag
2391 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2398 if test -z "$ac_cpp_err"; then
2401 echo "$as_me: failed program was:" >&5
2402 sed 's/^/| /' conftest.
$ac_ext >&5
2404 # Broken: fails on valid input.
2407 rm -f conftest.err conftest.
$ac_ext
2409 # OK, works on sane cases. Now check whether non-existent headers
2410 # can be detected and how.
2411 cat >conftest.
$ac_ext <<_ACEOF
2414 cat confdefs.h
>>conftest.
$ac_ext
2415 cat >>conftest.
$ac_ext <<_ACEOF
2416 /* end confdefs.h. */
2417 #include <ac_nonexistent.h>
2419 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2420 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2422 grep -v '^ *+' conftest.er1
>conftest.err
2424 cat conftest.err
>&5
2425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2426 (exit $ac_status); } >/dev
/null
; then
2427 if test -s conftest.err
; then
2428 ac_cpp_err
=$ac_c_preproc_warn_flag
2429 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2436 if test -z "$ac_cpp_err"; then
2437 # Broken: success on invalid input.
2440 echo "$as_me: failed program was:" >&5
2441 sed 's/^/| /' conftest.
$ac_ext >&5
2443 # Passes both tests.
2447 rm -f conftest.err conftest.
$ac_ext
2450 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2451 rm -f conftest.err conftest.
$ac_ext
2452 if $ac_preproc_ok; then
2455 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2456 See \`config.log' for more details." >&5
2457 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2458 See \`config.log' for more details." >&2;}
2459 { (exit 1); exit 1; }; }
2463 ac_cpp
='$CPP $CPPFLAGS'
2464 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2465 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2466 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2469 echo "$as_me:$LINENO: checking for X" >&5
2470 echo $ECHO_N "checking for X... $ECHO_C" >&6
2473 # Check whether --with-x or --without-x was given.
2474 if test "${with_x+set}" = set; then
2478 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
2479 if test "x$with_x" = xno
; then
2480 # The user explicitly disabled X.
2483 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
2484 # Both variables are already set.
2487 if test "${ac_cv_have_x+set}" = set; then
2488 echo $ECHO_N "(cached) $ECHO_C" >&6
2490 # One or both of the vars are not set, and there is no cached value.
2491 ac_x_includes
=no ac_x_libraries
=no
2493 if mkdir conftest.dir
; then
2495 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
2496 cat >Imakefile
<<'_ACEOF'
2498 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
2500 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
2501 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2502 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
2503 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
2504 for ac_extension
in a so sl
; do
2505 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
2506 test -f $ac_im_libdir/libX11.
$ac_extension; then
2507 ac_im_usrlibdir
=$ac_im_libdir; break
2510 # Screen out bogus values from the imake configuration. They are
2511 # bogus both because they are the default anyway, and because
2512 # using them would break gcc on systems where it needs fixed includes.
2513 case $ac_im_incroot in
2515 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
2517 case $ac_im_usrlibdir in
2519 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
2526 # Standard set of common directories for X headers.
2527 # Check X11 before X11Rn because it is often a symlink to the current release.
2539 /usr/local/X11/include
2540 /usr/local/X11R6/include
2541 /usr/local/X11R5/include
2542 /usr/local/X11R4/include
2544 /usr/local/include/X11
2545 /usr/local/include/X11R6
2546 /usr/local/include/X11R5
2547 /usr/local/include/X11R4
2551 /usr/XFree86/include/X11
2555 /usr/unsupported/include
2557 /usr/local/x11r5/include
2558 /usr/lpp/Xamples/include
2560 /usr/openwin/include
2561 /usr/openwin/share/include'
2563 if test "$ac_x_includes" = no
; then
2564 # Guess where to find include files, by looking for Intrinsic.h.
2565 # First, try using that file with no special directory specified.
2566 cat >conftest.
$ac_ext <<_ACEOF
2569 cat confdefs.h
>>conftest.
$ac_ext
2570 cat >>conftest.
$ac_ext <<_ACEOF
2571 /* end confdefs.h. */
2572 #include <X11/Intrinsic.h>
2574 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2575 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2577 grep -v '^ *+' conftest.er1
>conftest.err
2579 cat conftest.err
>&5
2580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2581 (exit $ac_status); } >/dev
/null
; then
2582 if test -s conftest.err
; then
2583 ac_cpp_err
=$ac_c_preproc_warn_flag
2584 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2591 if test -z "$ac_cpp_err"; then
2592 # We can compile using X headers with no special include directory.
2595 echo "$as_me: failed program was:" >&5
2596 sed 's/^/| /' conftest.
$ac_ext >&5
2598 for ac_dir
in $ac_x_header_dirs; do
2599 if test -r "$ac_dir/X11/Intrinsic.h"; then
2600 ac_x_includes
=$ac_dir
2605 rm -f conftest.err conftest.
$ac_ext
2606 fi # $ac_x_includes = no
2608 if test "$ac_x_libraries" = no
; then
2609 # Check for the libraries.
2610 # See if we find them without any special options.
2611 # Don't add to $LIBS permanently.
2614 cat >conftest.
$ac_ext <<_ACEOF
2617 cat confdefs.h
>>conftest.
$ac_ext
2618 cat >>conftest.
$ac_ext <<_ACEOF
2619 /* end confdefs.h. */
2620 #include <X11/Intrinsic.h>
2629 rm -f conftest.
$ac_objext conftest
$ac_exeext
2630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2631 (eval $ac_link) 2>conftest.er1
2633 grep -v '^ *+' conftest.er1
>conftest.err
2635 cat conftest.err
>&5
2636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2637 (exit $ac_status); } &&
2638 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2643 (exit $ac_status); }; } &&
2644 { ac_try
='test -s conftest$ac_exeext'
2645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2649 (exit $ac_status); }; }; then
2651 # We can link X programs with no special library path.
2654 echo "$as_me: failed program was:" >&5
2655 sed 's/^/| /' conftest.
$ac_ext >&5
2658 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
2660 # Don't even attempt the hair of trying to link an X program!
2661 for ac_extension
in a so sl
; do
2662 if test -r $ac_dir/libXt.
$ac_extension; then
2663 ac_x_libraries
=$ac_dir
2669 rm -f conftest.err conftest.
$ac_objext \
2670 conftest
$ac_exeext conftest.
$ac_ext
2671 fi # $ac_x_libraries = no
2673 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
2674 # Didn't find X anywhere. Cache the known absence of X.
2675 ac_cv_have_x
="have_x=no"
2677 # Record where we found X for the cache.
2678 ac_cv_have_x
="have_x=yes \
2679 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
2684 eval "$ac_cv_have_x"
2687 if test "$have_x" != yes; then
2688 echo "$as_me:$LINENO: result: $have_x" >&5
2689 echo "${ECHO_T}$have_x" >&6
2692 # If each of the values was on the command line, it overrides each guess.
2693 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
2694 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
2695 # Update the cache value to reflect the command line values.
2696 ac_cv_have_x
="have_x=yes \
2697 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
2698 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
2699 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
2702 if test "$no_x" = yes; then
2703 # Not all programs may use this symbol, but it does not hurt to define it.
2705 cat >>confdefs.h
<<\_ACEOF
2706 #define X_DISPLAY_MISSING 1
2709 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
2711 if test -n "$x_includes"; then
2712 X_CFLAGS
="$X_CFLAGS -I$x_includes"
2715 # It would also be nice to do this for all -L options, not just this one.
2716 if test -n "$x_libraries"; then
2717 X_LIBS
="$X_LIBS -L$x_libraries"
2718 # For Solaris; some versions of Sun CC require a space after -R and
2719 # others require no space. Words are not sufficient . . . .
2720 case `(uname -sr) 2>/dev/null` in
2722 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
2723 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
2724 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
2725 cat >conftest.
$ac_ext <<_ACEOF
2728 cat confdefs.h
>>conftest.
$ac_ext
2729 cat >>conftest.
$ac_ext <<_ACEOF
2730 /* end confdefs.h. */
2740 rm -f conftest.
$ac_objext conftest
$ac_exeext
2741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2742 (eval $ac_link) 2>conftest.er1
2744 grep -v '^ *+' conftest.er1
>conftest.err
2746 cat conftest.err
>&5
2747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2748 (exit $ac_status); } &&
2749 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }; } &&
2755 { ac_try
='test -s conftest$ac_exeext'
2756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2760 (exit $ac_status); }; }; then
2763 echo "$as_me: failed program was:" >&5
2764 sed 's/^/| /' conftest.
$ac_ext >&5
2768 rm -f conftest.err conftest.
$ac_objext \
2769 conftest
$ac_exeext conftest.
$ac_ext
2770 if test $ac_R_nospace = yes; then
2771 echo "$as_me:$LINENO: result: no" >&5
2772 echo "${ECHO_T}no" >&6
2773 X_LIBS
="$X_LIBS -R$x_libraries"
2775 LIBS
="$ac_xsave_LIBS -R $x_libraries"
2776 cat >conftest.
$ac_ext <<_ACEOF
2779 cat confdefs.h
>>conftest.
$ac_ext
2780 cat >>conftest.
$ac_ext <<_ACEOF
2781 /* end confdefs.h. */
2791 rm -f conftest.
$ac_objext conftest
$ac_exeext
2792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2793 (eval $ac_link) 2>conftest.er1
2795 grep -v '^ *+' conftest.er1
>conftest.err
2797 cat conftest.err
>&5
2798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2799 (exit $ac_status); } &&
2800 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2805 (exit $ac_status); }; } &&
2806 { ac_try
='test -s conftest$ac_exeext'
2807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2811 (exit $ac_status); }; }; then
2814 echo "$as_me: failed program was:" >&5
2815 sed 's/^/| /' conftest.
$ac_ext >&5
2819 rm -f conftest.err conftest.
$ac_objext \
2820 conftest
$ac_exeext conftest.
$ac_ext
2821 if test $ac_R_space = yes; then
2822 echo "$as_me:$LINENO: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6
2824 X_LIBS
="$X_LIBS -R $x_libraries"
2826 echo "$as_me:$LINENO: result: neither works" >&5
2827 echo "${ECHO_T}neither works" >&6
2834 # Check for system-dependent libraries X programs must link with.
2835 # Do this before checking for the system-independent R6 libraries
2836 # (-lICE), since we may need -lsocket or whatever for X linking.
2838 if test "$ISC" = yes; then
2839 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
2841 # Martyn Johnson says this is needed for Ultrix, if the X
2842 # libraries were built with DECnet support. And Karl Berry says
2843 # the Alpha needs dnet_stub (dnet does not exist).
2844 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
2845 cat >conftest.
$ac_ext <<_ACEOF
2848 cat confdefs.h
>>conftest.
$ac_ext
2849 cat >>conftest.
$ac_ext <<_ACEOF
2850 /* end confdefs.h. */
2852 /* Override any gcc2 internal prototype to avoid an error. */
2856 /* We use char because int might match the return type of a gcc2
2857 builtin and then its argument prototype would still apply. */
2858 char XOpenDisplay ();
2867 rm -f conftest.
$ac_objext conftest
$ac_exeext
2868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2869 (eval $ac_link) 2>conftest.er1
2871 grep -v '^ *+' conftest.er1
>conftest.err
2873 cat conftest.err
>&5
2874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2875 (exit $ac_status); } &&
2876 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2881 (exit $ac_status); }; } &&
2882 { ac_try
='test -s conftest$ac_exeext'
2883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2887 (exit $ac_status); }; }; then
2890 echo "$as_me: failed program was:" >&5
2891 sed 's/^/| /' conftest.
$ac_ext >&5
2893 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
2894 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
2895 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
2896 echo $ECHO_N "(cached) $ECHO_C" >&6
2898 ac_check_lib_save_LIBS
=$LIBS
2900 cat >conftest.
$ac_ext <<_ACEOF
2903 cat confdefs.h
>>conftest.
$ac_ext
2904 cat >>conftest.
$ac_ext <<_ACEOF
2905 /* end confdefs.h. */
2907 /* Override any gcc2 internal prototype to avoid an error. */
2911 /* We use char because int might match the return type of a gcc2
2912 builtin and then its argument prototype would still apply. */
2922 rm -f conftest.
$ac_objext conftest
$ac_exeext
2923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2924 (eval $ac_link) 2>conftest.er1
2926 grep -v '^ *+' conftest.er1
>conftest.err
2928 cat conftest.err
>&5
2929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2930 (exit $ac_status); } &&
2931 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2936 (exit $ac_status); }; } &&
2937 { ac_try
='test -s conftest$ac_exeext'
2938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2942 (exit $ac_status); }; }; then
2943 ac_cv_lib_dnet_dnet_ntoa
=yes
2945 echo "$as_me: failed program was:" >&5
2946 sed 's/^/| /' conftest.
$ac_ext >&5
2948 ac_cv_lib_dnet_dnet_ntoa
=no
2950 rm -f conftest.err conftest.
$ac_objext \
2951 conftest
$ac_exeext conftest.
$ac_ext
2952 LIBS
=$ac_check_lib_save_LIBS
2954 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
2955 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
2956 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
2957 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
2960 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
2961 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
2962 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
2963 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
2964 echo $ECHO_N "(cached) $ECHO_C" >&6
2966 ac_check_lib_save_LIBS
=$LIBS
2967 LIBS
="-ldnet_stub $LIBS"
2968 cat >conftest.
$ac_ext <<_ACEOF
2971 cat confdefs.h
>>conftest.
$ac_ext
2972 cat >>conftest.
$ac_ext <<_ACEOF
2973 /* end confdefs.h. */
2975 /* Override any gcc2 internal prototype to avoid an error. */
2979 /* We use char because int might match the return type of a gcc2
2980 builtin and then its argument prototype would still apply. */
2990 rm -f conftest.
$ac_objext conftest
$ac_exeext
2991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2992 (eval $ac_link) 2>conftest.er1
2994 grep -v '^ *+' conftest.er1
>conftest.err
2996 cat conftest.err
>&5
2997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2998 (exit $ac_status); } &&
2999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3004 (exit $ac_status); }; } &&
3005 { ac_try
='test -s conftest$ac_exeext'
3006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3010 (exit $ac_status); }; }; then
3011 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
3013 echo "$as_me: failed program was:" >&5
3014 sed 's/^/| /' conftest.
$ac_ext >&5
3016 ac_cv_lib_dnet_stub_dnet_ntoa
=no
3018 rm -f conftest.err conftest.
$ac_objext \
3019 conftest
$ac_exeext conftest.
$ac_ext
3020 LIBS
=$ac_check_lib_save_LIBS
3022 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
3023 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
3024 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
3025 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
3030 rm -f conftest.err conftest.
$ac_objext \
3031 conftest
$ac_exeext conftest.
$ac_ext
3032 LIBS
="$ac_xsave_LIBS"
3034 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
3035 # to get the SysV transport functions.
3036 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
3038 # The nsl library prevents programs from opening the X display
3039 # on Irix 5.2, according to T.E. Dickey.
3040 # The functions gethostbyname, getservbyname, and inet_addr are
3041 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
3042 echo "$as_me:$LINENO: checking for gethostbyname" >&5
3043 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
3044 if test "${ac_cv_func_gethostbyname+set}" = set; then
3045 echo $ECHO_N "(cached) $ECHO_C" >&6
3047 cat >conftest.
$ac_ext <<_ACEOF
3050 cat confdefs.h
>>conftest.
$ac_ext
3051 cat >>conftest.
$ac_ext <<_ACEOF
3052 /* end confdefs.h. */
3053 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
3054 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3055 #define gethostbyname innocuous_gethostbyname
3057 /* System header to define __stub macros and hopefully few prototypes,
3058 which can conflict with char gethostbyname (); below.
3059 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3060 <limits.h> exists even on freestanding compilers. */
3063 # include <limits.h>
3065 # include <assert.h>
3068 #undef gethostbyname
3070 /* Override any gcc2 internal prototype to avoid an error. */
3075 /* We use char because int might match the return type of a gcc2
3076 builtin and then its argument prototype would still apply. */
3077 char gethostbyname ();
3078 /* The GNU C library defines this for functions which it implements
3079 to always fail with ENOSYS. Some functions are actually named
3080 something starting with __ and the normal name is an alias. */
3081 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
3084 char (*f) () = gethostbyname;
3093 return f != gethostbyname;
3098 rm -f conftest.
$ac_objext conftest
$ac_exeext
3099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3100 (eval $ac_link) 2>conftest.er1
3102 grep -v '^ *+' conftest.er1
>conftest.err
3104 cat conftest.err
>&5
3105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); } &&
3107 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3112 (exit $ac_status); }; } &&
3113 { ac_try
='test -s conftest$ac_exeext'
3114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3118 (exit $ac_status); }; }; then
3119 ac_cv_func_gethostbyname
=yes
3121 echo "$as_me: failed program was:" >&5
3122 sed 's/^/| /' conftest.
$ac_ext >&5
3124 ac_cv_func_gethostbyname
=no
3126 rm -f conftest.err conftest.
$ac_objext \
3127 conftest
$ac_exeext conftest.
$ac_ext
3129 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
3130 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
3132 if test $ac_cv_func_gethostbyname = no
; then
3133 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
3134 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
3135 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 ac_check_lib_save_LIBS
=$LIBS
3140 cat >conftest.
$ac_ext <<_ACEOF
3143 cat confdefs.h
>>conftest.
$ac_ext
3144 cat >>conftest.
$ac_ext <<_ACEOF
3145 /* end confdefs.h. */
3147 /* Override any gcc2 internal prototype to avoid an error. */
3151 /* We use char because int might match the return type of a gcc2
3152 builtin and then its argument prototype would still apply. */
3153 char gethostbyname ();
3162 rm -f conftest.
$ac_objext conftest
$ac_exeext
3163 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3164 (eval $ac_link) 2>conftest.er1
3166 grep -v '^ *+' conftest.er1
>conftest.err
3168 cat conftest.err
>&5
3169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3170 (exit $ac_status); } &&
3171 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3176 (exit $ac_status); }; } &&
3177 { ac_try
='test -s conftest$ac_exeext'
3178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3182 (exit $ac_status); }; }; then
3183 ac_cv_lib_nsl_gethostbyname
=yes
3185 echo "$as_me: failed program was:" >&5
3186 sed 's/^/| /' conftest.
$ac_ext >&5
3188 ac_cv_lib_nsl_gethostbyname
=no
3190 rm -f conftest.err conftest.
$ac_objext \
3191 conftest
$ac_exeext conftest.
$ac_ext
3192 LIBS
=$ac_check_lib_save_LIBS
3194 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
3195 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
3196 if test $ac_cv_lib_nsl_gethostbyname = yes; then
3197 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
3200 if test $ac_cv_lib_nsl_gethostbyname = no
; then
3201 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
3202 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
3203 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
3204 echo $ECHO_N "(cached) $ECHO_C" >&6
3206 ac_check_lib_save_LIBS
=$LIBS
3208 cat >conftest.
$ac_ext <<_ACEOF
3211 cat confdefs.h
>>conftest.
$ac_ext
3212 cat >>conftest.
$ac_ext <<_ACEOF
3213 /* end confdefs.h. */
3215 /* Override any gcc2 internal prototype to avoid an error. */
3219 /* We use char because int might match the return type of a gcc2
3220 builtin and then its argument prototype would still apply. */
3221 char gethostbyname ();
3230 rm -f conftest.
$ac_objext conftest
$ac_exeext
3231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3232 (eval $ac_link) 2>conftest.er1
3234 grep -v '^ *+' conftest.er1
>conftest.err
3236 cat conftest.err
>&5
3237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3238 (exit $ac_status); } &&
3239 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3244 (exit $ac_status); }; } &&
3245 { ac_try
='test -s conftest$ac_exeext'
3246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3250 (exit $ac_status); }; }; then
3251 ac_cv_lib_bsd_gethostbyname
=yes
3253 echo "$as_me: failed program was:" >&5
3254 sed 's/^/| /' conftest.
$ac_ext >&5
3256 ac_cv_lib_bsd_gethostbyname
=no
3258 rm -f conftest.err conftest.
$ac_objext \
3259 conftest
$ac_exeext conftest.
$ac_ext
3260 LIBS
=$ac_check_lib_save_LIBS
3262 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
3263 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
3264 if test $ac_cv_lib_bsd_gethostbyname = yes; then
3265 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
3271 # lieder@skyler.mavd.honeywell.com says without -lsocket,
3272 # socket/setsockopt and other routines are undefined under SCO ODT
3273 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
3274 # on later versions), says Simon Leinen: it contains gethostby*
3275 # variants that don't use the name server (or something). -lsocket
3276 # must be given before -lnsl if both are needed. We assume that
3277 # if connect needs -lnsl, so does gethostbyname.
3278 echo "$as_me:$LINENO: checking for connect" >&5
3279 echo $ECHO_N "checking for connect... $ECHO_C" >&6
3280 if test "${ac_cv_func_connect+set}" = set; then
3281 echo $ECHO_N "(cached) $ECHO_C" >&6
3283 cat >conftest.
$ac_ext <<_ACEOF
3286 cat confdefs.h
>>conftest.
$ac_ext
3287 cat >>conftest.
$ac_ext <<_ACEOF
3288 /* end confdefs.h. */
3289 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
3290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3291 #define connect innocuous_connect
3293 /* System header to define __stub macros and hopefully few prototypes,
3294 which can conflict with char connect (); below.
3295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3296 <limits.h> exists even on freestanding compilers. */
3299 # include <limits.h>
3301 # include <assert.h>
3306 /* Override any gcc2 internal prototype to avoid an error. */
3311 /* We use char because int might match the return type of a gcc2
3312 builtin and then its argument prototype would still apply. */
3314 /* The GNU C library defines this for functions which it implements
3315 to always fail with ENOSYS. Some functions are actually named
3316 something starting with __ and the normal name is an alias. */
3317 #if defined (__stub_connect) || defined (__stub___connect)
3320 char (*f) () = connect;
3329 return f != connect;
3334 rm -f conftest.
$ac_objext conftest
$ac_exeext
3335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3336 (eval $ac_link) 2>conftest.er1
3338 grep -v '^ *+' conftest.er1
>conftest.err
3340 cat conftest.err
>&5
3341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3342 (exit $ac_status); } &&
3343 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3348 (exit $ac_status); }; } &&
3349 { ac_try
='test -s conftest$ac_exeext'
3350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3354 (exit $ac_status); }; }; then
3355 ac_cv_func_connect
=yes
3357 echo "$as_me: failed program was:" >&5
3358 sed 's/^/| /' conftest.
$ac_ext >&5
3360 ac_cv_func_connect
=no
3362 rm -f conftest.err conftest.
$ac_objext \
3363 conftest
$ac_exeext conftest.
$ac_ext
3365 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
3366 echo "${ECHO_T}$ac_cv_func_connect" >&6
3368 if test $ac_cv_func_connect = no
; then
3369 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
3370 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
3371 if test "${ac_cv_lib_socket_connect+set}" = set; then
3372 echo $ECHO_N "(cached) $ECHO_C" >&6
3374 ac_check_lib_save_LIBS
=$LIBS
3375 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
3376 cat >conftest.
$ac_ext <<_ACEOF
3379 cat confdefs.h
>>conftest.
$ac_ext
3380 cat >>conftest.
$ac_ext <<_ACEOF
3381 /* end confdefs.h. */
3383 /* Override any gcc2 internal prototype to avoid an error. */
3387 /* We use char because int might match the return type of a gcc2
3388 builtin and then its argument prototype would still apply. */
3398 rm -f conftest.
$ac_objext conftest
$ac_exeext
3399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3400 (eval $ac_link) 2>conftest.er1
3402 grep -v '^ *+' conftest.er1
>conftest.err
3404 cat conftest.err
>&5
3405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3406 (exit $ac_status); } &&
3407 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3412 (exit $ac_status); }; } &&
3413 { ac_try
='test -s conftest$ac_exeext'
3414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3418 (exit $ac_status); }; }; then
3419 ac_cv_lib_socket_connect
=yes
3421 echo "$as_me: failed program was:" >&5
3422 sed 's/^/| /' conftest.
$ac_ext >&5
3424 ac_cv_lib_socket_connect
=no
3426 rm -f conftest.err conftest.
$ac_objext \
3427 conftest
$ac_exeext conftest.
$ac_ext
3428 LIBS
=$ac_check_lib_save_LIBS
3430 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
3431 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
3432 if test $ac_cv_lib_socket_connect = yes; then
3433 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
3438 # Guillermo Gomez says -lposix is necessary on A/UX.
3439 echo "$as_me:$LINENO: checking for remove" >&5
3440 echo $ECHO_N "checking for remove... $ECHO_C" >&6
3441 if test "${ac_cv_func_remove+set}" = set; then
3442 echo $ECHO_N "(cached) $ECHO_C" >&6
3444 cat >conftest.
$ac_ext <<_ACEOF
3447 cat confdefs.h
>>conftest.
$ac_ext
3448 cat >>conftest.
$ac_ext <<_ACEOF
3449 /* end confdefs.h. */
3450 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
3451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3452 #define remove innocuous_remove
3454 /* System header to define __stub macros and hopefully few prototypes,
3455 which can conflict with char remove (); below.
3456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3457 <limits.h> exists even on freestanding compilers. */
3460 # include <limits.h>
3462 # include <assert.h>
3467 /* Override any gcc2 internal prototype to avoid an error. */
3472 /* We use char because int might match the return type of a gcc2
3473 builtin and then its argument prototype would still apply. */
3475 /* The GNU C library defines this for functions which it implements
3476 to always fail with ENOSYS. Some functions are actually named
3477 something starting with __ and the normal name is an alias. */
3478 #if defined (__stub_remove) || defined (__stub___remove)
3481 char (*f) () = remove;
3495 rm -f conftest.
$ac_objext conftest
$ac_exeext
3496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3497 (eval $ac_link) 2>conftest.er1
3499 grep -v '^ *+' conftest.er1
>conftest.err
3501 cat conftest.err
>&5
3502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3503 (exit $ac_status); } &&
3504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3509 (exit $ac_status); }; } &&
3510 { ac_try
='test -s conftest$ac_exeext'
3511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); }; }; then
3516 ac_cv_func_remove
=yes
3518 echo "$as_me: failed program was:" >&5
3519 sed 's/^/| /' conftest.
$ac_ext >&5
3521 ac_cv_func_remove
=no
3523 rm -f conftest.err conftest.
$ac_objext \
3524 conftest
$ac_exeext conftest.
$ac_ext
3526 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
3527 echo "${ECHO_T}$ac_cv_func_remove" >&6
3529 if test $ac_cv_func_remove = no
; then
3530 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
3531 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
3532 if test "${ac_cv_lib_posix_remove+set}" = set; then
3533 echo $ECHO_N "(cached) $ECHO_C" >&6
3535 ac_check_lib_save_LIBS
=$LIBS
3536 LIBS
="-lposix $LIBS"
3537 cat >conftest.
$ac_ext <<_ACEOF
3540 cat confdefs.h
>>conftest.
$ac_ext
3541 cat >>conftest.
$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3544 /* Override any gcc2 internal prototype to avoid an error. */
3548 /* We use char because int might match the return type of a gcc2
3549 builtin and then its argument prototype would still apply. */
3559 rm -f conftest.
$ac_objext conftest
$ac_exeext
3560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3561 (eval $ac_link) 2>conftest.er1
3563 grep -v '^ *+' conftest.er1
>conftest.err
3565 cat conftest.err
>&5
3566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3567 (exit $ac_status); } &&
3568 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3573 (exit $ac_status); }; } &&
3574 { ac_try
='test -s conftest$ac_exeext'
3575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3579 (exit $ac_status); }; }; then
3580 ac_cv_lib_posix_remove
=yes
3582 echo "$as_me: failed program was:" >&5
3583 sed 's/^/| /' conftest.
$ac_ext >&5
3585 ac_cv_lib_posix_remove
=no
3587 rm -f conftest.err conftest.
$ac_objext \
3588 conftest
$ac_exeext conftest.
$ac_ext
3589 LIBS
=$ac_check_lib_save_LIBS
3591 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
3592 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
3593 if test $ac_cv_lib_posix_remove = yes; then
3594 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
3599 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
3600 echo "$as_me:$LINENO: checking for shmat" >&5
3601 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
3602 if test "${ac_cv_func_shmat+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 shmat to an innocuous variant, in case <limits.h> declares shmat.
3612 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3613 #define shmat innocuous_shmat
3615 /* System header to define __stub macros and hopefully few prototypes,
3616 which can conflict with char shmat (); 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_shmat) || defined (__stub___shmat)
3642 char (*f) () = shmat;
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 ac_cv_func_shmat
=yes
3679 echo "$as_me: failed program was:" >&5
3680 sed 's/^/| /' conftest.
$ac_ext >&5
3684 rm -f conftest.err conftest.
$ac_objext \
3685 conftest
$ac_exeext conftest.
$ac_ext
3687 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
3688 echo "${ECHO_T}$ac_cv_func_shmat" >&6
3690 if test $ac_cv_func_shmat = no
; then
3691 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
3692 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
3693 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
3694 echo $ECHO_N "(cached) $ECHO_C" >&6
3696 ac_check_lib_save_LIBS
=$LIBS
3698 cat >conftest.
$ac_ext <<_ACEOF
3701 cat confdefs.h
>>conftest.
$ac_ext
3702 cat >>conftest.
$ac_ext <<_ACEOF
3703 /* end confdefs.h. */
3705 /* Override any gcc2 internal prototype to avoid an error. */
3709 /* We use char because int might match the return type of a gcc2
3710 builtin and then its argument prototype would still apply. */
3720 rm -f conftest.
$ac_objext conftest
$ac_exeext
3721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3722 (eval $ac_link) 2>conftest.er1
3724 grep -v '^ *+' conftest.er1
>conftest.err
3726 cat conftest.err
>&5
3727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3728 (exit $ac_status); } &&
3729 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3734 (exit $ac_status); }; } &&
3735 { ac_try
='test -s conftest$ac_exeext'
3736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3740 (exit $ac_status); }; }; then
3741 ac_cv_lib_ipc_shmat
=yes
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.
$ac_ext >&5
3746 ac_cv_lib_ipc_shmat
=no
3748 rm -f conftest.err conftest.
$ac_objext \
3749 conftest
$ac_exeext conftest.
$ac_ext
3750 LIBS
=$ac_check_lib_save_LIBS
3752 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
3753 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
3754 if test $ac_cv_lib_ipc_shmat = yes; then
3755 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
3761 # Check for libraries that X11R6 Xt/Xaw programs need.
3762 ac_save_LDFLAGS
=$LDFLAGS
3763 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
3764 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
3765 # check for ICE first), but we must link in the order -lSM -lICE or
3766 # we get undefined symbols. So assume we have SM if we have ICE.
3767 # These have to be linked with before -lX11, unlike the other
3768 # libraries we check for below, so use a different variable.
3769 # John Interrante, Karl Berry
3770 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
3771 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
3772 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
3773 echo $ECHO_N "(cached) $ECHO_C" >&6
3775 ac_check_lib_save_LIBS
=$LIBS
3776 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
3777 cat >conftest.
$ac_ext <<_ACEOF
3780 cat confdefs.h
>>conftest.
$ac_ext
3781 cat >>conftest.
$ac_ext <<_ACEOF
3782 /* end confdefs.h. */
3784 /* Override any gcc2 internal prototype to avoid an error. */
3788 /* We use char because int might match the return type of a gcc2
3789 builtin and then its argument prototype would still apply. */
3790 char IceConnectionNumber ();
3794 IceConnectionNumber ();
3799 rm -f conftest.
$ac_objext conftest
$ac_exeext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3801 (eval $ac_link) 2>conftest.er1
3803 grep -v '^ *+' conftest.er1
>conftest.err
3805 cat conftest.err
>&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3813 (exit $ac_status); }; } &&
3814 { ac_try
='test -s conftest$ac_exeext'
3815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3819 (exit $ac_status); }; }; then
3820 ac_cv_lib_ICE_IceConnectionNumber
=yes
3822 echo "$as_me: failed program was:" >&5
3823 sed 's/^/| /' conftest.
$ac_ext >&5
3825 ac_cv_lib_ICE_IceConnectionNumber
=no
3827 rm -f conftest.err conftest.
$ac_objext \
3828 conftest
$ac_exeext conftest.
$ac_ext
3829 LIBS
=$ac_check_lib_save_LIBS
3831 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
3832 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
3833 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
3834 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
3837 LDFLAGS
=$ac_save_LDFLAGS
3843 echo "$as_me:$LINENO: checking for XkbOpenDisplay in -lX11" >&5
3844 echo $ECHO_N "checking for XkbOpenDisplay in -lX11... $ECHO_C" >&6
3845 if test "${ac_cv_lib_X11_XkbOpenDisplay+set}" = set; then
3846 echo $ECHO_N "(cached) $ECHO_C" >&6
3848 ac_check_lib_save_LIBS
=$LIBS
3851 cat >conftest.
$ac_ext <<_ACEOF
3854 cat confdefs.h
>>conftest.
$ac_ext
3855 cat >>conftest.
$ac_ext <<_ACEOF
3856 /* end confdefs.h. */
3858 /* Override any gcc2 internal prototype to avoid an error. */
3862 /* We use char because int might match the return type of a gcc2
3863 builtin and then its argument prototype would still apply. */
3864 char XkbOpenDisplay ();
3873 rm -f conftest.
$ac_objext conftest
$ac_exeext
3874 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3875 (eval $ac_link) 2>conftest.er1
3877 grep -v '^ *+' conftest.er1
>conftest.err
3879 cat conftest.err
>&5
3880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3881 (exit $ac_status); } &&
3882 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3887 (exit $ac_status); }; } &&
3888 { ac_try
='test -s conftest$ac_exeext'
3889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3893 (exit $ac_status); }; }; then
3894 ac_cv_lib_X11_XkbOpenDisplay
=yes
3896 echo "$as_me: failed program was:" >&5
3897 sed 's/^/| /' conftest.
$ac_ext >&5
3899 ac_cv_lib_X11_XkbOpenDisplay
=no
3901 rm -f conftest.err conftest.
$ac_objext \
3902 conftest
$ac_exeext conftest.
$ac_ext
3903 LIBS
=$ac_check_lib_save_LIBS
3905 echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbOpenDisplay" >&5
3906 echo "${ECHO_T}$ac_cv_lib_X11_XkbOpenDisplay" >&6
3907 if test $ac_cv_lib_X11_XkbOpenDisplay = yes; then
3908 cat >>confdefs.h
<<_ACEOF
3909 #define HAVE_LIBX11 1
3915 { { echo "$as_me:$LINENO: error: Fatal: no libX11 or no XkbOpenDisplay() in libX11" >&5
3916 echo "$as_me: error: Fatal: no libX11 or no XkbOpenDisplay() in libX11" >&2;}
3917 { (exit 1); exit 1; }; }
3922 echo "$as_me:$LINENO: checking for XpmReadFileToImage in -lXpm" >&5
3923 echo $ECHO_N "checking for XpmReadFileToImage in -lXpm... $ECHO_C" >&6
3924 if test "${ac_cv_lib_Xpm_XpmReadFileToImage+set}" = set; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 ac_check_lib_save_LIBS
=$LIBS
3930 cat >conftest.
$ac_ext <<_ACEOF
3933 cat confdefs.h
>>conftest.
$ac_ext
3934 cat >>conftest.
$ac_ext <<_ACEOF
3935 /* end confdefs.h. */
3937 /* Override any gcc2 internal prototype to avoid an error. */
3941 /* We use char because int might match the return type of a gcc2
3942 builtin and then its argument prototype would still apply. */
3943 char XpmReadFileToImage ();
3947 XpmReadFileToImage ();
3952 rm -f conftest.
$ac_objext conftest
$ac_exeext
3953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3954 (eval $ac_link) 2>conftest.er1
3956 grep -v '^ *+' conftest.er1
>conftest.err
3958 cat conftest.err
>&5
3959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3960 (exit $ac_status); } &&
3961 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3966 (exit $ac_status); }; } &&
3967 { ac_try
='test -s conftest$ac_exeext'
3968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); }; }; then
3973 ac_cv_lib_Xpm_XpmReadFileToImage
=yes
3975 echo "$as_me: failed program was:" >&5
3976 sed 's/^/| /' conftest.
$ac_ext >&5
3978 ac_cv_lib_Xpm_XpmReadFileToImage
=no
3980 rm -f conftest.err conftest.
$ac_objext \
3981 conftest
$ac_exeext conftest.
$ac_ext
3982 LIBS
=$ac_check_lib_save_LIBS
3984 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmReadFileToImage" >&5
3985 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmReadFileToImage" >&6
3986 if test $ac_cv_lib_Xpm_XpmReadFileToImage = yes; then
3987 cat >>confdefs.h
<<_ACEOF
3988 #define HAVE_LIBXPM 1
3994 { { echo "$as_me:$LINENO: error: Fatal: no libXpm found!" >&5
3995 echo "$as_me: error: Fatal: no libXpm found!" >&2;}
3996 { (exit 1); exit 1; }; }
4002 echo "$as_me:$LINENO: checking for egrep" >&5
4003 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
4004 if test "${ac_cv_prog_egrep+set}" = set; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
4008 then ac_cv_prog_egrep
='grep -E'
4009 else ac_cv_prog_egrep
='egrep'
4012 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
4013 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
4014 EGREP
=$ac_cv_prog_egrep
4017 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4018 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
4019 if test "${ac_cv_header_stdc+set}" = set; then
4020 echo $ECHO_N "(cached) $ECHO_C" >&6
4022 cat >conftest.
$ac_ext <<_ACEOF
4025 cat confdefs.h
>>conftest.
$ac_ext
4026 cat >>conftest.
$ac_ext <<_ACEOF
4027 /* end confdefs.h. */
4041 rm -f conftest.
$ac_objext
4042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4043 (eval $ac_compile) 2>conftest.er1
4045 grep -v '^ *+' conftest.er1
>conftest.err
4047 cat conftest.err
>&5
4048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049 (exit $ac_status); } &&
4050 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4055 (exit $ac_status); }; } &&
4056 { ac_try
='test -s conftest.$ac_objext'
4057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4061 (exit $ac_status); }; }; then
4062 ac_cv_header_stdc
=yes
4064 echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.
$ac_ext >&5
4067 ac_cv_header_stdc
=no
4069 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4071 if test $ac_cv_header_stdc = yes; then
4072 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4073 cat >conftest.
$ac_ext <<_ACEOF
4076 cat confdefs.h
>>conftest.
$ac_ext
4077 cat >>conftest.
$ac_ext <<_ACEOF
4078 /* end confdefs.h. */
4082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4083 $EGREP "memchr" >/dev
/null
2>&1; then
4086 ac_cv_header_stdc
=no
4092 if test $ac_cv_header_stdc = yes; then
4093 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4094 cat >conftest.
$ac_ext <<_ACEOF
4097 cat confdefs.h
>>conftest.
$ac_ext
4098 cat >>conftest.
$ac_ext <<_ACEOF
4099 /* end confdefs.h. */
4103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4104 $EGREP "free" >/dev
/null
2>&1; then
4107 ac_cv_header_stdc
=no
4113 if test $ac_cv_header_stdc = yes; then
4114 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4115 if test "$cross_compiling" = yes; then
4118 cat >conftest.
$ac_ext <<_ACEOF
4121 cat confdefs.h
>>conftest.
$ac_ext
4122 cat >>conftest.
$ac_ext <<_ACEOF
4123 /* end confdefs.h. */
4125 #if ((' ' & 0x0FF) == 0x020)
4126 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4127 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4129 # define ISLOWER(c) \
4130 (('a' <= (c) && (c) <= 'i') \
4131 || ('j' <= (c) && (c) <= 'r') \
4132 || ('s' <= (c) && (c) <= 'z'))
4133 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4136 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4141 for (i = 0; i < 256; i++)
4142 if (XOR (islower (i), ISLOWER (i))
4143 || toupper (i) != TOUPPER (i))
4148 rm -f conftest
$ac_exeext
4149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4150 (eval $ac_link) 2>&5
4152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4153 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4158 (exit $ac_status); }; }; then
4161 echo "$as_me: program exited with status $ac_status" >&5
4162 echo "$as_me: failed program was:" >&5
4163 sed 's/^/| /' conftest.
$ac_ext >&5
4166 ac_cv_header_stdc
=no
4168 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
4172 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4173 echo "${ECHO_T}$ac_cv_header_stdc" >&6
4174 if test $ac_cv_header_stdc = yes; then
4176 cat >>confdefs.h
<<\_ACEOF
4177 #define STDC_HEADERS 1
4182 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4192 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
4193 inttypes.h stdint.h unistd.h
4195 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4196 echo "$as_me:$LINENO: checking for $ac_header" >&5
4197 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4198 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4199 echo $ECHO_N "(cached) $ECHO_C" >&6
4201 cat >conftest.
$ac_ext <<_ACEOF
4204 cat confdefs.h
>>conftest.
$ac_ext
4205 cat >>conftest.
$ac_ext <<_ACEOF
4206 /* end confdefs.h. */
4207 $ac_includes_default
4209 #include <$ac_header>
4211 rm -f conftest.
$ac_objext
4212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4213 (eval $ac_compile) 2>conftest.er1
4215 grep -v '^ *+' conftest.er1
>conftest.err
4217 cat conftest.err
>&5
4218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4219 (exit $ac_status); } &&
4220 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4225 (exit $ac_status); }; } &&
4226 { ac_try
='test -s conftest.$ac_objext'
4227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231 (exit $ac_status); }; }; then
4232 eval "$as_ac_Header=yes"
4234 echo "$as_me: failed program was:" >&5
4235 sed 's/^/| /' conftest.
$ac_ext >&5
4237 eval "$as_ac_Header=no"
4239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4244 cat >>confdefs.h
<<_ACEOF
4245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4253 # Check whether --enable-libWUtil or --disable-libWUtil was given.
4254 if test "${enable_libWUtil+set}" = set; then
4255 enableval
="$enable_libWUtil"
4257 if test $enable_libWUtil = yes ; then
4259 echo "$as_me:$LINENO: checking for WMReadPropListFromFile in -lWUtil" >&5
4260 echo $ECHO_N "checking for WMReadPropListFromFile in -lWUtil... $ECHO_C" >&6
4261 if test "${ac_cv_lib_WUtil_WMReadPropListFromFile+set}" = set; then
4262 echo $ECHO_N "(cached) $ECHO_C" >&6
4264 ac_check_lib_save_LIBS
=$LIBS
4265 LIBS
="-lWUtil $X_LIBS
4267 cat >conftest.
$ac_ext <<_ACEOF
4270 cat confdefs.h
>>conftest.
$ac_ext
4271 cat >>conftest.
$ac_ext <<_ACEOF
4272 /* end confdefs.h. */
4274 /* Override any gcc2 internal prototype to avoid an error. */
4278 /* We use char because int might match the return type of a gcc2
4279 builtin and then its argument prototype would still apply. */
4280 char WMReadPropListFromFile ();
4284 WMReadPropListFromFile ();
4289 rm -f conftest.
$ac_objext conftest
$ac_exeext
4290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4291 (eval $ac_link) 2>conftest.er1
4293 grep -v '^ *+' conftest.er1
>conftest.err
4295 cat conftest.err
>&5
4296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4297 (exit $ac_status); } &&
4298 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4303 (exit $ac_status); }; } &&
4304 { ac_try
='test -s conftest$ac_exeext'
4305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4309 (exit $ac_status); }; }; then
4310 ac_cv_lib_WUtil_WMReadPropListFromFile
=yes
4312 echo "$as_me: failed program was:" >&5
4313 sed 's/^/| /' conftest.
$ac_ext >&5
4315 ac_cv_lib_WUtil_WMReadPropListFromFile
=no
4317 rm -f conftest.err conftest.
$ac_objext \
4318 conftest
$ac_exeext conftest.
$ac_ext
4319 LIBS
=$ac_check_lib_save_LIBS
4321 echo "$as_me:$LINENO: result: $ac_cv_lib_WUtil_WMReadPropListFromFile" >&5
4322 echo "${ECHO_T}$ac_cv_lib_WUtil_WMReadPropListFromFile" >&6
4323 if test $ac_cv_lib_WUtil_WMReadPropListFromFile = yes; then
4326 for ac_header
in WINGs
/WUtil.h
4328 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4329 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4330 echo "$as_me:$LINENO: checking for $ac_header" >&5
4331 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4332 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4333 echo $ECHO_N "(cached) $ECHO_C" >&6
4335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4336 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4338 # Is the header compilable?
4339 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4340 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4341 cat >conftest.
$ac_ext <<_ACEOF
4344 cat confdefs.h
>>conftest.
$ac_ext
4345 cat >>conftest.
$ac_ext <<_ACEOF
4346 /* end confdefs.h. */
4347 $ac_includes_default
4348 #include <$ac_header>
4350 rm -f conftest.
$ac_objext
4351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4352 (eval $ac_compile) 2>conftest.er1
4354 grep -v '^ *+' conftest.er1
>conftest.err
4356 cat conftest.err
>&5
4357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4358 (exit $ac_status); } &&
4359 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; } &&
4365 { ac_try
='test -s conftest.$ac_objext'
4366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4370 (exit $ac_status); }; }; then
4371 ac_header_compiler
=yes
4373 echo "$as_me: failed program was:" >&5
4374 sed 's/^/| /' conftest.
$ac_ext >&5
4376 ac_header_compiler
=no
4378 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4379 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4380 echo "${ECHO_T}$ac_header_compiler" >&6
4382 # Is the header present?
4383 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4384 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4385 cat >conftest.
$ac_ext <<_ACEOF
4388 cat confdefs.h
>>conftest.
$ac_ext
4389 cat >>conftest.
$ac_ext <<_ACEOF
4390 /* end confdefs.h. */
4391 #include <$ac_header>
4393 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4394 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4396 grep -v '^ *+' conftest.er1
>conftest.err
4398 cat conftest.err
>&5
4399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4400 (exit $ac_status); } >/dev
/null
; then
4401 if test -s conftest.err
; then
4402 ac_cpp_err
=$ac_c_preproc_warn_flag
4403 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4410 if test -z "$ac_cpp_err"; then
4411 ac_header_preproc
=yes
4413 echo "$as_me: failed program was:" >&5
4414 sed 's/^/| /' conftest.
$ac_ext >&5
4416 ac_header_preproc
=no
4418 rm -f conftest.err conftest.
$ac_ext
4419 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4420 echo "${ECHO_T}$ac_header_preproc" >&6
4422 # So? What about this header?
4423 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4425 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4426 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4427 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4428 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4429 ac_header_preproc
=yes
4432 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4433 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4434 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4435 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4436 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4437 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4438 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4439 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4441 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4442 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4443 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4446 ## ------------------------------------------ ##
4447 ## Report this to the AC_PACKAGE_NAME lists. ##
4448 ## ------------------------------------------ ##
4451 sed "s/^/$as_me: WARNING: /" >&2
4454 echo "$as_me:$LINENO: checking for $ac_header" >&5
4455 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4457 echo $ECHO_N "(cached) $ECHO_C" >&6
4459 eval "$as_ac_Header=\$ac_header_preproc"
4461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4462 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4466 cat >>confdefs.h
<<_ACEOF
4467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4472 { echo "$as_me:$LINENO: WARNING: No WINGs/WUtil.h found -- cannot compile version with property lists support. You should use X resources for customizing fookb; or, if you have libproplist, use older version of fookb" >&5
4473 echo "$as_me: WARNING: No WINGs/WUtil.h found -- cannot compile version with property lists support. You should use X resources for customizing fookb; or, if you have libproplist, use older version of fookb" >&2;}
4484 { echo "$as_me:$LINENO: WARNING: No libWUtil found or old libWUtil version. You should use X resources for setting up fookb. If you have libproplist, use older version of fookb" >&5
4485 echo "$as_me: WARNING: No libWUtil found or old libWUtil version. You should use X resources for setting up fookb. If you have libproplist, use older version of fookb" >&2;}
4497 echo "$as_me:$LINENO: checking for WMReadPropListFromFile in -lWUtil" >&5
4498 echo $ECHO_N "checking for WMReadPropListFromFile in -lWUtil... $ECHO_C" >&6
4499 if test "${ac_cv_lib_WUtil_WMReadPropListFromFile+set}" = set; then
4500 echo $ECHO_N "(cached) $ECHO_C" >&6
4502 ac_check_lib_save_LIBS
=$LIBS
4503 LIBS
="-lWUtil $X_LIBS
4505 cat >conftest.
$ac_ext <<_ACEOF
4508 cat confdefs.h
>>conftest.
$ac_ext
4509 cat >>conftest.
$ac_ext <<_ACEOF
4510 /* end confdefs.h. */
4512 /* Override any gcc2 internal prototype to avoid an error. */
4516 /* We use char because int might match the return type of a gcc2
4517 builtin and then its argument prototype would still apply. */
4518 char WMReadPropListFromFile ();
4522 WMReadPropListFromFile ();
4527 rm -f conftest.
$ac_objext conftest
$ac_exeext
4528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4529 (eval $ac_link) 2>conftest.er1
4531 grep -v '^ *+' conftest.er1
>conftest.err
4533 cat conftest.err
>&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); } &&
4536 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4541 (exit $ac_status); }; } &&
4542 { ac_try
='test -s conftest$ac_exeext'
4543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4547 (exit $ac_status); }; }; then
4548 ac_cv_lib_WUtil_WMReadPropListFromFile
=yes
4550 echo "$as_me: failed program was:" >&5
4551 sed 's/^/| /' conftest.
$ac_ext >&5
4553 ac_cv_lib_WUtil_WMReadPropListFromFile
=no
4555 rm -f conftest.err conftest.
$ac_objext \
4556 conftest
$ac_exeext conftest.
$ac_ext
4557 LIBS
=$ac_check_lib_save_LIBS
4559 echo "$as_me:$LINENO: result: $ac_cv_lib_WUtil_WMReadPropListFromFile" >&5
4560 echo "${ECHO_T}$ac_cv_lib_WUtil_WMReadPropListFromFile" >&6
4561 if test $ac_cv_lib_WUtil_WMReadPropListFromFile = yes; then
4564 for ac_header
in WINGs
/WUtil.h
4566 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4567 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4568 echo "$as_me:$LINENO: checking for $ac_header" >&5
4569 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4570 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4571 echo $ECHO_N "(cached) $ECHO_C" >&6
4573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4574 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4576 # Is the header compilable?
4577 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4578 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4579 cat >conftest.
$ac_ext <<_ACEOF
4582 cat confdefs.h
>>conftest.
$ac_ext
4583 cat >>conftest.
$ac_ext <<_ACEOF
4584 /* end confdefs.h. */
4585 $ac_includes_default
4586 #include <$ac_header>
4588 rm -f conftest.
$ac_objext
4589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4590 (eval $ac_compile) 2>conftest.er1
4592 grep -v '^ *+' conftest.er1
>conftest.err
4594 cat conftest.err
>&5
4595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4596 (exit $ac_status); } &&
4597 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4602 (exit $ac_status); }; } &&
4603 { ac_try
='test -s conftest.$ac_objext'
4604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4608 (exit $ac_status); }; }; then
4609 ac_header_compiler
=yes
4611 echo "$as_me: failed program was:" >&5
4612 sed 's/^/| /' conftest.
$ac_ext >&5
4614 ac_header_compiler
=no
4616 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
4617 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4618 echo "${ECHO_T}$ac_header_compiler" >&6
4620 # Is the header present?
4621 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4622 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4623 cat >conftest.
$ac_ext <<_ACEOF
4626 cat confdefs.h
>>conftest.
$ac_ext
4627 cat >>conftest.
$ac_ext <<_ACEOF
4628 /* end confdefs.h. */
4629 #include <$ac_header>
4631 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4632 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
4634 grep -v '^ *+' conftest.er1
>conftest.err
4636 cat conftest.err
>&5
4637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4638 (exit $ac_status); } >/dev
/null
; then
4639 if test -s conftest.err
; then
4640 ac_cpp_err
=$ac_c_preproc_warn_flag
4641 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
4648 if test -z "$ac_cpp_err"; then
4649 ac_header_preproc
=yes
4651 echo "$as_me: failed program was:" >&5
4652 sed 's/^/| /' conftest.
$ac_ext >&5
4654 ac_header_preproc
=no
4656 rm -f conftest.err conftest.
$ac_ext
4657 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4658 echo "${ECHO_T}$ac_header_preproc" >&6
4660 # So? What about this header?
4661 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4663 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4664 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4665 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4666 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4667 ac_header_preproc
=yes
4670 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4671 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4672 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4673 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4674 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4675 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4676 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4677 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4678 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4679 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4680 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4681 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4684 ## ------------------------------------------ ##
4685 ## Report this to the AC_PACKAGE_NAME lists. ##
4686 ## ------------------------------------------ ##
4689 sed "s/^/$as_me: WARNING: /" >&2
4692 echo "$as_me:$LINENO: checking for $ac_header" >&5
4693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4694 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4697 eval "$as_ac_Header=\$ac_header_preproc"
4699 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4700 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4703 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4704 cat >>confdefs.h
<<_ACEOF
4705 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4710 { echo "$as_me:$LINENO: WARNING: No WINGs/WUtil.h found -- cannot compile version with property lists support. You should use X resources for customizing fookb; or, if you have libproplist, use older version of fookb" >&5
4711 echo "$as_me: WARNING: No WINGs/WUtil.h found -- cannot compile version with property lists support. You should use X resources for customizing fookb; or, if you have libproplist, use older version of fookb" >&2;}
4722 { echo "$as_me:$LINENO: WARNING: No libWUtil found or old libWUtil version. You should use X resources for setting up fookb. If you have libproplist, use older version of fookb" >&5
4723 echo "$as_me: WARNING: No libWUtil found or old libWUtil version. You should use X resources for setting up fookb. If you have libproplist, use older version of fookb" >&2;}
4735 # Check whether --enable-wmaker or --disable-wmaker was given.
4736 if test "${enable_wmaker+set}" = set; then
4737 enableval
="$enable_wmaker"
4739 if test $enable_wmaker = yes ; then
4740 cat >>confdefs.h
<<\_ACEOF
4748 # Extract the first word of "wmaker", so it can be a program name with args.
4749 set dummy wmaker
; ac_word
=$2
4750 echo "$as_me:$LINENO: checking for $ac_word" >&5
4751 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4752 if test "${ac_cv_prog_HAVE_WMAKER+set}" = set; then
4753 echo $ECHO_N "(cached) $ECHO_C" >&6
4755 if test -n "$HAVE_WMAKER"; then
4756 ac_cv_prog_HAVE_WMAKER
="$HAVE_WMAKER" # Let the user override the test.
4758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4762 test -z "$as_dir" && as_dir
=.
4763 for ac_exec_ext
in '' $ac_executable_extensions; do
4764 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4765 ac_cv_prog_HAVE_WMAKER
="yes"
4766 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4772 test -z "$ac_cv_prog_HAVE_WMAKER" && ac_cv_prog_HAVE_WMAKER
="no"
4775 HAVE_WMAKER
=$ac_cv_prog_HAVE_WMAKER
4776 if test -n "$HAVE_WMAKER"; then
4777 echo "$as_me:$LINENO: result: $HAVE_WMAKER" >&5
4778 echo "${ECHO_T}$HAVE_WMAKER" >&6
4780 echo "$as_me:$LINENO: result: no" >&5
4781 echo "${ECHO_T}no" >&6
4785 if test $HAVE_WMAKER = yes ; then
4786 cat >>confdefs.h
<<\_ACEOF
4795 ac_config_files
="$ac_config_files Makefile"
4796 cat >confcache
<<\_ACEOF
4797 # This file is a shell script that caches the results of configure
4798 # tests run on this system so they can be shared between configure
4799 # scripts and configure runs, see configure's option --config-cache.
4800 # It is not useful on other systems. If it contains results you don't
4801 # want to keep, you may remove or edit it.
4803 # config.status only pays attention to the cache file if you give it
4804 # the --recheck option to rerun configure.
4806 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4807 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4812 # The following way of writing the cache mishandles newlines in values,
4813 # but we know of no workaround that is simple, portable, and efficient.
4814 # So, don't put newlines in cache variables' values.
4815 # Ultrix sh set writes to stderr and can't be redirected directly,
4816 # and sets the high bit in the cache file unless we assign to the vars.
4819 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4821 # `set' does not quote correctly, so add quotes (double-quote
4822 # substitution turns \\\\ into \\, and sed turns \\ into \).
4825 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4828 # `set' quotes correctly as required by POSIX, so do not add quotes.
4830 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4837 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4839 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4841 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
4842 if test -w $cache_file; then
4843 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4844 cat confcache
>$cache_file
4846 echo "not updating unwritable cache $cache_file"
4851 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4852 # Let make expand exec_prefix.
4853 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4855 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4856 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4857 # trailing colons and then remove the whole line if VPATH becomes empty
4858 # (actually we leave an empty line to preserve line numbers).
4859 if test "x$srcdir" = x.
; then
4860 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
4861 s/:*\$(srcdir):*/:/;
4862 s/:*\${srcdir}:*/:/;
4864 s/^\([^=]*=[ ]*\):*/\1/;
4870 # Transform confdefs.h into DEFS.
4871 # Protect against shell expansion while executing Makefile rules.
4872 # Protect against Makefile macro expansion.
4874 # If the first sed substitution is executed (which looks for macros that
4875 # take arguments), then we branch to the quote section. Otherwise,
4876 # look for a macro that doesn't take arguments.
4877 cat >confdef2opt.
sed <<\_ACEOF
4880 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g
4882 s
,^
[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g
4886 s
,[ `~#$^&*(){}\\|;'"<>?],\\&,g
4892 # We use echo to avoid assuming a particular line-breaking character.
4893 # The extra dot is to prevent the shell from consuming trailing
4894 # line-breaks from the sub-command output. A line-break within
4895 # single-quotes doesn't work because, if this script is created in a
4896 # platform that uses two characters for line-breaks (e.g., DOS), tr
4898 ac_LF_and_DOT=`echo; echo .
`
4899 DEFS=`sed -n -f confdef2opt.
sed confdefs.h |
tr "$ac_LF_and_DOT" ' .'`
4900 rm -f confdef2opt.sed
4905 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4906 # 1. Remove the extension, and $U if already installed.
4907 ac_i=`echo "$ac_i" |
4908 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
4910 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
4911 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
4915 LTLIBOBJS=$ac_ltlibobjs
4919 : ${CONFIG_STATUS=./config.status}
4920 ac_clean_files_save=$ac_clean_files
4921 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4922 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4923 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4924 cat >$CONFIG_STATUS <<_ACEOF
4926 # Generated by $as_me.
4927 # Run this file to recreate the current configuration.
4928 # Compiler output produced by configure, useful for debugging
4929 # configure, is in config.log if it exists.
4934 SHELL=\${CONFIG_SHELL-$SHELL}
4937 cat >>$CONFIG_STATUS <<\_ACEOF
4938 ## --------------------- ##
4939 ## M4sh Initialization. ##
4940 ## --------------------- ##
4942 # Be Bourne compatible
4943 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4946 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4947 # is contrary to our usage. Disable this feature.
4948 alias -g '${1+"$@"}'='"$@"'
4949 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
4952 DUALCASE=1; export DUALCASE # for MKS sh
4954 # Support unset when possible.
4955 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4962 # Work around bugs in pre-3.0 UWIN ksh.
4963 $as_unset ENV MAIL MAILPATH
4970 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4971 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4972 LC_TELEPHONE LC_TIME
4974 if (set +x; test -z "`(eval $as_var=C
; export $as_var) 2>&1`"); then
4975 eval $as_var=C; export $as_var
4981 # Required to use basename.
4982 if expr a : '\(a\)' >/dev/null 2>&1; then
4988 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
4989 as_basename=basename
4995 # Name of the executable.
4996 as_me=`$as_basename "$0" ||
4997 $as_expr X
/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4998 X
"$0" : 'X\(//\)$' \| \
4999 X
"$0" : 'X\(/\)$' \| \
5000 .
: '\(.\)' 2>/dev
/null ||
5002 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
5003 /^X\/\(\/\/\)$/{ s//\1/; q; }
5004 /^X\/\(\/\).*/{ s//\1/; q; }
5008 # PATH needs CR, and LINENO needs CR and PATH.
5009 # Avoid depending upon Character Ranges.
5010 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
5011 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5012 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
5013 as_cr_digits='0123456789'
5014 as_cr_alnum=$as_cr_Letters$as_cr_digits
5016 # The user is always right.
5017 if test "${PATH_SEPARATOR+set}" != set; then
5018 echo "#! /bin/sh" >conf$$.sh
5019 echo "exit 0" >>conf$$.sh
5021 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
5032 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev
/null
`
5033 test "x$as_lineno_1" != "x$as_lineno_2" &&
5034 test "x$as_lineno_3" = "x$as_lineno_2" || {
5035 # Find who we are. Look in the path if we contain no path at all
5038 *[\\/]* ) as_myself=$0 ;;
5039 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5043 test -z "$as_dir" && as_dir=.
5044 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5049 # We did not find ourselves, most probably we were run as `sh COMMAND
'
5050 # in which case we are not to be found in the path.
5051 if test "x$as_myself" = x; then
5054 if test ! -f "$as_myself"; then
5055 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
5056 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
5057 { (exit 1); exit 1; }; }
5059 case $CONFIG_SHELL in
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
5065 test -z "$as_dir" && as_dir=.
5066 for as_base in sh bash ksh sh5; do
5069 if ("$as_dir/$as_base" -c '
5072 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
5073 test "x$as_lineno_1" != "x$as_lineno_2" &&
5074 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
5075 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
5076 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
5077 CONFIG_SHELL=$as_dir/$as_base
5079 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
5087 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
5088 # uniformly replaced by the line number. The first 'sed' inserts a
5089 # line-number line before each line; the second 'sed' does the real
5090 # work. The second script uses 'N
' to pair each line-number line
5091 # with the numbered line, and appends trailing '-' during
5092 # substitution so that $LINENO is not a special case at line end.
5093 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
5094 # second 'sed' script. Blame Lee E. McMahon for sed's syntax.
:-)
5095 sed '=' <$as_myself |
5100 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
5103 s,^['$as_cr_digits']*\n,,
5105 chmod +x
$as_me.lineno ||
5106 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
5107 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
5108 { (exit 1); exit 1; }; }
5110 # Don't try to exec as it changes $[0], causing all sort of problems
5111 # (the dirname of $[0] is not the place where we might find the
5112 # original and so on. Autoconf is especially sensible to this).
5114 # Exit status is that of the last command.
5119 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
5120 *c
*,-n*) ECHO_N
= ECHO_C
='
5122 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
5123 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
5126 if expr a
: '\(a\)' >/dev
/null
2>&1; then
5132 rm -f conf$$ conf$$.exe conf$$.
file
5134 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5135 # We could just check for DJGPP; but this test a) works b) is more generic
5136 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
5137 if test -f conf$$.exe
; then
5138 # Don't use ln at all; we don't have any links
5143 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5148 rm -f conf$$ conf$$.exe conf$$.
file
5150 if mkdir
-p .
2>/dev
/null
; then
5153 test -d .
/-p && rmdir .
/-p
5157 as_executable_p
="test -f"
5159 # Sed expression to map a string onto a valid CPP name.
5160 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5162 # Sed expression to map a string onto a valid variable name.
5163 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5167 # We need space, tab and new line, in precisely that order.
5177 # Open the log real soon, to keep \$[0] and so on meaningful, and to
5178 # report actual input values of CONFIG_FILES etc. instead of their
5179 # values after options handling. Logging --version etc. is OK.
5183 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5184 ## Running $as_me. ##
5189 This file was extended by $as_me, which was
5190 generated by GNU Autoconf 2.59. Invocation command line was
5192 CONFIG_FILES = $CONFIG_FILES
5193 CONFIG_HEADERS = $CONFIG_HEADERS
5194 CONFIG_LINKS = $CONFIG_LINKS
5195 CONFIG_COMMANDS = $CONFIG_COMMANDS
5199 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
5203 # Files that config.status was made for.
5204 if test -n "$ac_config_files"; then
5205 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
5208 if test -n "$ac_config_headers"; then
5209 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
5212 if test -n "$ac_config_links"; then
5213 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
5216 if test -n "$ac_config_commands"; then
5217 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
5220 cat >>$CONFIG_STATUS <<\_ACEOF
5223 \`$as_me' instantiates files from templates according to the
5224 current configuration.
5226 Usage: $0 [OPTIONS] [FILE]...
5228 -h, --help print this help, then exit
5229 -V, --version print version number, then exit
5230 -q, --quiet do not print progress messages
5231 -d, --debug don't remove temporary files
5232 --recheck update $as_me by reconfiguring in the same conditions
5233 --file=FILE[:TEMPLATE]
5234 instantiate the configuration file FILE
5236 Configuration files:
5239 Report bugs to <bug-autoconf@gnu.org>."
5242 cat >>$CONFIG_STATUS <<_ACEOF
5245 configured by $0, generated by GNU Autoconf 2.59,
5246 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
5248 Copyright (C) 2003 Free Software Foundation, Inc.
5249 This config.status script is free software; the Free Software Foundation
5250 gives unlimited permission to copy, distribute and modify it."
5254 cat >>$CONFIG_STATUS <<\_ACEOF
5255 # If no file are specified by the user, then we need to provide default
5256 # value. By we need to know if files were specified by the user.
5262 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
5263 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
5271 *) # This is not an option, so the user has probably given explicit
5274 ac_need_defaults
=false
;;
5278 # Handling of the options.
5280 cat >>$CONFIG_STATUS <<\_ACEOF
5281 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5283 --version |
--vers* |
-V )
5284 echo "$ac_cs_version"; exit 0 ;;
5286 # Conflict between --help and --header
5287 { { echo "$as_me:$LINENO: error: ambiguous option: $1
5288 Try \`$0 --help' for more information." >&5
5289 echo "$as_me: error: ambiguous option: $1
5290 Try \`$0 --help' for more information." >&2;}
5291 { (exit 1); exit 1; }; };;
5292 --help |
--hel |
-h )
5293 echo "$ac_cs_usage"; exit 0 ;;
5294 --debug |
--d* |
-d )
5296 --file |
--fil |
--fi |
--f )
5298 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
5299 ac_need_defaults
=false
;;
5300 --header |
--heade |
--head |
--hea )
5302 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
5303 ac_need_defaults
=false
;;
5304 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5305 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5309 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
5310 Try \`$0 --help' for more information." >&5
5311 echo "$as_me: error: unrecognized option: $1
5312 Try \`$0 --help' for more information." >&2;}
5313 { (exit 1); exit 1; }; } ;;
5315 *) ac_config_targets
="$ac_config_targets $1" ;;
5321 ac_configure_extra_args
=
5323 if $ac_cs_silent; then
5325 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5329 cat >>$CONFIG_STATUS <<_ACEOF
5330 if \$ac_cs_recheck; then
5331 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
5332 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5341 cat >>$CONFIG_STATUS <<\_ACEOF
5342 for ac_config_target
in $ac_config_targets
5344 case "$ac_config_target" in
5345 # Handling of arguments.
5346 "Makefile" ) CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
5347 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
5348 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
5349 { (exit 1); exit 1; }; };;
5353 # If the user did not use the arguments to specify the items to instantiate,
5354 # then the envvar interface is used. Set only those that are not.
5355 # We use the long form for the default assignment because of an extremely
5356 # bizarre bug on SunOS 4.1.3.
5357 if $ac_need_defaults; then
5358 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
5361 # Have a temporary directory for convenience. Make it in the build tree
5362 # simply because there is no reason to put it here, and in addition,
5363 # creating and moving files from /tmp can sometimes cause problems.
5364 # Create a temporary directory, and hook for its removal unless debugging.
5367 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
5368 trap '{ (exit 1); exit 1; }' 1 2 13 15
5371 # Create a (secure) tmp directory for tmp files.
5374 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
5375 test -n "$tmp" && test -d "$tmp"
5378 tmp
=.
/confstat$$
-$RANDOM
5379 (umask 077 && mkdir
$tmp)
5382 echo "$me: cannot create a temporary directory in ." >&2
5383 { (exit 1); exit 1; }
5388 cat >>$CONFIG_STATUS <<_ACEOF
5391 # CONFIG_FILES section.
5394 # No need to generate the scripts if there are no CONFIG_FILES.
5395 # This happens for instance when ./config.status config.h
5396 if test -n "\$CONFIG_FILES"; then
5397 # Protect against being on the right side of a sed subst in config.status.
5398 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
5399 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
5400 s,@SHELL@,$SHELL,;t t
5401 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
5402 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
5403 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
5404 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
5405 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
5406 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
5407 s,@exec_prefix@,$exec_prefix,;t t
5408 s,@prefix@,$prefix,;t t
5409 s,@program_transform_name@,$program_transform_name,;t t
5410 s,@bindir@,$bindir,;t t
5411 s,@sbindir@,$sbindir,;t t
5412 s,@libexecdir@,$libexecdir,;t t
5413 s,@datadir@,$datadir,;t t
5414 s,@sysconfdir@,$sysconfdir,;t t
5415 s,@sharedstatedir@,$sharedstatedir,;t t
5416 s,@localstatedir@,$localstatedir,;t t
5417 s,@libdir@,$libdir,;t t
5418 s,@includedir@,$includedir,;t t
5419 s,@oldincludedir@,$oldincludedir,;t t
5420 s,@infodir@,$infodir,;t t
5421 s,@mandir@,$mandir,;t t
5422 s,@build_alias@,$build_alias,;t t
5423 s,@host_alias@,$host_alias,;t t
5424 s,@target_alias@,$target_alias,;t t
5426 s,@ECHO_C@,$ECHO_C,;t t
5427 s,@ECHO_N@,$ECHO_N,;t t
5428 s,@ECHO_T@,$ECHO_T,;t t
5431 s,@CFLAGS@,$CFLAGS,;t t
5432 s,@LDFLAGS@,$LDFLAGS,;t t
5433 s,@CPPFLAGS@,$CPPFLAGS,;t t
5434 s,@ac_ct_CC@,$ac_ct_CC,;t t
5435 s,@EXEEXT@,$EXEEXT,;t t
5436 s,@OBJEXT@,$OBJEXT,;t t
5437 s,@WUTIL_LIB@,$WUTIL_LIB,;t t
5439 s,@X_CFLAGS@,$X_CFLAGS,;t t
5440 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
5441 s,@X_LIBS@,$X_LIBS,;t t
5442 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
5443 s,@EGREP@,$EGREP,;t t
5444 s,@HAVE_WMAKER@,$HAVE_WMAKER,;t t
5445 s,@LIBOBJS@,$LIBOBJS,;t t
5446 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
5451 cat >>$CONFIG_STATUS <<\_ACEOF
5452 # Split the substitutions into bite-sized pieces for seds with
5453 # small command number limits, like on Digital OSF/1 and HP-UX.
5455 ac_sed_frag
=1 # Number of current file.
5456 ac_beg
=1 # First line for current file.
5457 ac_end
=$ac_max_sed_lines # Line after last line for current file.
5460 while $ac_more_lines; do
5461 if test $ac_beg -gt 1; then
5462 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5464 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
5466 if test ! -s $tmp/subs.frag
; then
5469 # The purpose of the label and of the branching condition is to
5470 # speed up the sed processing (if there are no `@' at all, there
5471 # is no need to browse any of the substitutions).
5472 # These are the two extra sed commands mentioned above.
5474 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
5475 if test -z "$ac_sed_cmds"; then
5476 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
5478 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
5480 ac_sed_frag
=`expr $ac_sed_frag + 1`
5482 ac_end
=`expr $ac_end + $ac_max_sed_lines`
5485 if test -z "$ac_sed_cmds"; then
5488 fi # test -n "$CONFIG_FILES"
5491 cat >>$CONFIG_STATUS <<\_ACEOF
5492 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
5493 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
5495 - |
*:- |
*:-:* ) # input from stdin
5497 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5498 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5499 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
5500 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
5501 * ) ac_file_in
=$ac_file.
in ;;
5504 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
5505 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
5506 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5507 X"$ac_file" : 'X\(//\)[^/]' \| \
5508 X"$ac_file" : 'X\(//\)$' \| \
5509 X"$ac_file" : 'X\(/\)' \| \
5510 . : '\(.\)' 2>/dev/null ||
5512 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5513 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5514 /^X\(\/\/\)$/{ s//\1/; q; }
5515 /^X\(\/\).*/{ s//\1/; q; }
5517 { if $as_mkdir_p; then
5522 while test ! -d "$as_dir"; do
5523 as_dirs
="$as_dir $as_dirs"
5524 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
5525 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5526 X"$as_dir" : 'X\(//\)[^/]' \| \
5527 X"$as_dir" : 'X\(//\)$' \| \
5528 X"$as_dir" : 'X\(/\)' \| \
5529 . : '\(.\)' 2>/dev/null ||
5531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
5532 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
5533 /^X\(\/\/\)$/{ s//\1/; q; }
5534 /^X\(\/\).*/{ s//\1/; q; }
5537 test ! -n "$as_dirs" || mkdir
$as_dirs
5538 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
5539 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
5540 { (exit 1); exit 1; }; }; }
5544 if test "$ac_dir" != .
; then
5545 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
5546 # A "../" for each directory in $ac_dir_suffix.
5547 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
5549 ac_dir_suffix
= ac_top_builddir
=
5553 .
) # No --srcdir option. We are building in place.
5555 if test -z "$ac_top_builddir"; then
5558 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
5560 [\\/]* | ?
:[\\/]* ) # Absolute path.
5561 ac_srcdir
=$srcdir$ac_dir_suffix;
5562 ac_top_srcdir
=$srcdir ;;
5564 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
5565 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
5568 # Do not use `cd foo && pwd` to compute absolute paths, because
5569 # the directories may not exist.
5571 .
) ac_abs_builddir
="$ac_dir";;
5574 .
) ac_abs_builddir
=`pwd`;;
5575 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
5576 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
5579 case $ac_abs_builddir in
5580 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5582 case ${ac_top_builddir}.
in
5583 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
5584 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
5585 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
5588 case $ac_abs_builddir in
5589 .
) ac_abs_srcdir
=$ac_srcdir;;
5592 .
) ac_abs_srcdir
=$ac_abs_builddir;;
5593 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
5594 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
5597 case $ac_abs_builddir in
5598 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
5600 case $ac_top_srcdir in
5601 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
5602 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
5603 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
5609 # Let's still pretend it is `configure' which instantiates (i.e., don't
5610 # use $as_me), people would be surprised to read:
5611 # /* config.h. Generated by config.status. */
5612 if test x
"$ac_file" = x-
; then
5615 configure_input
="$ac_file. "
5617 configure_input
=$configure_input"Generated from `echo $ac_file_in |
5618 sed 's,.*/,,'` by configure."
5620 # First look for the input files in the build tree, otherwise in the
5622 ac_file_inputs
=`IFS=:
5623 for f in $ac_file_in; do
5625 -) echo $tmp/stdin ;;
5627 # Absolute (can't be DOS-style, as IFS=:)
5628 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5629 echo "$as_me: error: cannot find input file: $f" >&2;}
5630 { (exit 1); exit 1; }; }
5633 if test -f "$f"; then
5636 elif test -f "$srcdir/$f"; then
5641 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
5642 echo "$as_me: error: cannot find input file: $f" >&2;}
5643 { (exit 1); exit 1; }; }
5646 done` ||
{ (exit 1); exit 1; }
5648 if test x
"$ac_file" != x-
; then
5649 { echo "$as_me:$LINENO: creating $ac_file" >&5
5650 echo "$as_me: creating $ac_file" >&6;}
5654 cat >>$CONFIG_STATUS <<_ACEOF
5658 cat >>$CONFIG_STATUS <<\_ACEOF
5660 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
5661 s
,@configure_input@
,$configure_input,;t t
5662 s
,@srcdir@
,$ac_srcdir,;t t
5663 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
5664 s
,@top_srcdir@
,$ac_top_srcdir,;t t
5665 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
5666 s
,@builddir@
,$ac_builddir,;t t
5667 s
,@abs_builddir@
,$ac_abs_builddir,;t t
5668 s
,@top_builddir@
,$ac_top_builddir,;t t
5669 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
5670 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
5672 if test x"$ac_file" != x-; then
5673 mv $tmp/out $ac_file
5682 cat >>$CONFIG_STATUS <<\_ACEOF
5684 { (exit 0); exit 0; }
5686 chmod +x $CONFIG_STATUS
5687 ac_clean_files=$ac_clean_files_save
5690 # configure is writing to config.log, and then calls config.status.
5691 # config.status does its own redirection, appending to config.log.
5692 # Unfortunately, on DOS this fails, as config.log is still kept open
5693 # by configure, so config.status won't be able to write to it; its
5694 # output is simply discarded. So we exec the FD to /dev/null,
5695 # effectively closing config.log, so it can be properly (re)opened and
5696 # appended to by config.status. When coming back to configure, we
5697 # need to make the FD available again.
5698 if test "$no_create" != yes; then
5700 ac_config_status_args=
5701 test "$silent" = yes &&
5702 ac_config_status_args="$ac_config_status_args --quiet"
5704 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5706 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5707 # would make configure fail if this is the last instruction.
5708 $ac_cs_success || { (exit 1); exit 1; }