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
="vim.h"
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 SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP AWK STRIP CPP_MM OS_EXTRA_SRC OS_EXTRA_OBJ VIMNAME EXNAME VIEWNAME line_break dovimdiff dogvimdiff compiledby vi_cv_path_mzscheme MZSCHEME_SRC MZSCHEME_OBJ MZSCHEME_PRO MZSCHEME_LIBS MZSCHEME_CFLAGS vi_cv_path_perl vi_cv_perllib shrpenv PERL_SRC PERL_OBJ PERL_PRO PERL_CFLAGS PERL_LIBS vi_cv_path_python PYTHON_CONFDIR PYTHON_LIBS PYTHON_GETPATH_CFLAGS PYTHON_CFLAGS PYTHON_SRC PYTHON_OBJ vi_cv_path_tcl TCL_SRC TCL_OBJ TCL_PRO TCL_CFLAGS TCL_LIBS vi_cv_path_ruby RUBY_SRC RUBY_OBJ RUBY_PRO RUBY_CFLAGS RUBY_LIBS WORKSHOP_SRC WORKSHOP_OBJ NETBEANS_SRC NETBEANS_OBJ SNIFF_SRC SNIFF_OBJ xmkmfpath X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS X_LIB GTK_CONFIG GTK12_CONFIG PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_LIBNAME GNOME_LIBS GNOME_LIBDIR GNOME_INCLUDEDIR GNOME_CONFIG MOTIF_LIBNAME NARROW_PROTO GUI_INC_LOC GUI_LIB_LOC GUITYPE GUI_X_LIBS HANGULIN_SRC HANGULIN_OBJ TAGPRG INSTALL_LANGS INSTALL_TOOL_LANGS MSGFMT MAKEMO DEPEND_CFLAGS_FILTER 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 --disable-darwin Disable Darwin
(Mac OS X
) support.
848 --disable-xsmp Disable XSMP session management
849 --disable-xsmp-interact Disable XSMP interaction
850 --enable-mzschemeinterp Include MzScheme interpreter.
851 --enable-perlinterp Include Perl interpreter.
852 --enable-pythoninterp Include Python interpreter.
853 --enable-tclinterp Include Tcl interpreter.
854 --enable-rubyinterp Include Ruby interpreter.
855 --enable-cscope Include cscope interface.
856 --enable-workshop Include Sun Visual Workshop support.
857 --disable-netbeans Disable NetBeans integration support.
858 --enable-sniff Include Sniff interface.
859 --enable-multibyte Include multibyte editing support.
860 --enable-hangulinput Include Hangul input support.
861 --enable-xim Include XIM input support.
862 --enable-fontset Include X fontset output support.
863 --enable-gui=OPTS X11 GUI default
=auto OPTS
=auto
/no
/gtk
/gtk
2/gnome
/gnome
2/motif
/athena
/neXtaw
/photon
/carbon
/macvim
864 --enable-gtk-check If auto-select GUI
, check
for GTK default
=yes
865 --enable-gtk2-check If GTK GUI
, check
for GTK
+ 2 default
=yes
866 --enable-gnome-check If GTK GUI
, check
for GNOME default
=no
867 --enable-motif-check If auto-select GUI
, check
for Motif default
=yes
868 --enable-athena-check If auto-select GUI
, check
for Athena default
=yes
869 --enable-nextaw-check If auto-select GUI
, check
for neXtaw default
=yes
870 --enable-carbon-check If auto-select GUI
, check
for Carbon default
=yes
871 --enable-macvim-check If auto-select GUI
, check
for MacVim default
=yes
872 --disable-gtktest Do not try to compile and run a
test GTK program
873 --disable-acl Don
't check for ACL support.
874 --disable-gpm Don't use gpm
(Linux mouse daemon
).
875 --disable-nls Don
't support NLS (gettext()).
878 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
879 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
880 --with-mac-arch=ARCH current, intel, ppc or both
881 --with-vim-name=NAME what to call the Vim executable
882 --with-ex-name=NAME what to call the Ex executable
883 --with-view-name=NAME what to call the View executable
884 --with-global-runtime=DIR global runtime directory in 'runtimepath
'
885 --with-modified-by=NAME name of who modified a release version
886 --with-features=TYPE tiny, small, normal, big or huge (default: normal)
887 --with-compiledby=NAME name to show in :version message
888 --with-plthome=PLTHOME Use PLTHOME.
889 --with-python-config-dir=PATH Python's config directory
890 --with-tclsh=PATH
which tclsh to use
(default
: tclsh8.0
)
891 --with-x use the X Window System
892 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
893 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
894 --with-gnome-includes=DIR Specify location of GNOME headers
895 --with-gnome-libs=DIR Specify location of GNOME libs
896 --with-gnome Specify prefix
for GNOME files
897 --with-motif-lib=STRING Library
for Motif
898 --with-tlib=library terminal library to be used
900 Some influential environment variables
:
901 CC C compiler
command
902 CFLAGS C compiler flags
903 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
904 nonstandard directory
<lib dir
>
905 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
906 headers
in a nonstandard directory
<include dir
>
909 Use these variables to override the choices made by
`configure' or to help
910 it to find libraries and programs with nonstandard names/locations.
915 if test "$ac_init_help" = "recursive"; then
916 # If there are subdirs, report their specific --help.
918 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
919 test -d $ac_dir || continue
922 if test "$ac_dir" != .; then
923 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
924 # A "../" for each directory in $ac_dir_suffix.
925 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
927 ac_dir_suffix= ac_top_builddir=
931 .) # No --srcdir option. We are building in place.
933 if test -z "$ac_top_builddir"; then
936 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
938 [\\/]* | ?:[\\/]* ) # Absolute path.
939 ac_srcdir=$srcdir$ac_dir_suffix;
940 ac_top_srcdir=$srcdir ;;
942 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
943 ac_top_srcdir=$ac_top_builddir$srcdir ;;
946 # Do not use `cd foo
&& pwd` to compute absolute paths, because
947 # the directories may not exist.
949 .) ac_abs_builddir="$ac_dir";;
952 .) ac_abs_builddir=`pwd`;;
953 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
954 *) ac_abs_builddir=`pwd`/"$ac_dir";;
957 case $ac_abs_builddir in
958 .) ac_abs_top_builddir=${ac_top_builddir}.;;
960 case ${ac_top_builddir}. in
961 .) ac_abs_top_builddir=$ac_abs_builddir;;
962 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
963 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
966 case $ac_abs_builddir in
967 .) ac_abs_srcdir=$ac_srcdir;;
970 .) ac_abs_srcdir=$ac_abs_builddir;;
971 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
972 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
975 case $ac_abs_builddir in
976 .) ac_abs_top_srcdir=$ac_top_srcdir;;
978 case $ac_top_srcdir in
979 .) ac_abs_top_srcdir=$ac_abs_builddir;;
980 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
981 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
986 # Check for guested configure; otherwise get Cygnus style configure.
987 if test -f $ac_srcdir/configure.gnu; then
989 $SHELL $ac_srcdir/configure.gnu --help=recursive
990 elif test -f $ac_srcdir/configure; then
992 $SHELL $ac_srcdir/configure --help=recursive
993 elif test -f $ac_srcdir/configure.ac ||
994 test -f $ac_srcdir/configure.in; then
998 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1004 test -n "$ac_init_help" && exit 0
1005 if $ac_init_version; then
1008 Copyright (C) 2003 Free Software Foundation, Inc.
1009 This configure script is free software; the Free Software Foundation
1010 gives unlimited permission to copy, distribute and modify it.
1016 This file contains any messages produced by compilers while
1017 running configure, to aid debugging if configure makes a mistake.
1019 It was created by $as_me, which was
1020 generated by GNU Autoconf 2.59. Invocation command line was
1031 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1032 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1033 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1034 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1035 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1037 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1038 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1040 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1041 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1042 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1043 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1044 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1045 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1046 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1054 test -z "$as_dir" && as_dir=.
1055 echo "PATH: $as_dir"
1070 # Keep a trace of the command line.
1071 # Strip out --no-create and --no-recursion so they do not pile up.
1072 # Strip out --silent because we don't want to record it for future runs.
1073 # Also quote any args containing shell meta-characters.
1074 # Make two passes to allow for proper duplicate-argument suppression.
1079 ac_must_keep_next=false
1085 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1086 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1087 | -silent | --silent | --silen | --sile | --sil)
1089 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1090 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1093 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1095 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1096 if test $ac_must_keep_next = true; then
1097 ac_must_keep_next=false # Got value, back to normal.
1100 *=* | --config-cache | -C | -disable-* | --disable-* \
1101 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1102 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1103 | -with-* | --with-* | -without-* | --without-* | --x)
1104 case "$ac_configure_args0 " in
1105 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1108 -* ) ac_must_keep_next=true ;;
1111 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1112 # Get rid of the leading space.
1118 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1119 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1121 # When interrupted or exit'd, cleanup temporary files, and complete
1122 # config.log. We remove comments because anyway the quotes in there
1123 # would cause problems or look ugly.
1124 # WARNING: Be sure not to use single quotes in there, as some shells,
1125 # such as our DU 5.0 friend, will then `close
' the trap.
1126 trap 'exit_status
=$?
1127 # Save into config.log some information that might help in debugging.
1132 ## ---------------- ##
1133 ## Cache variables. ##
1134 ## ---------------- ##
1137 # The following way of writing the cache mishandles newlines in values,
1140 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1143 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1148 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1155 ## ----------------- ##
1156 ## Output variables. ##
1157 ## ----------------- ##
1160 for ac_var
in $ac_subst_vars
1162 eval ac_val
=$
`echo $ac_var`
1163 echo "$ac_var='"'"'$ac_val'"'"'"
1167 if test -n "$ac_subst_files"; then
1174 for ac_var
in $ac_subst_files
1176 eval ac_val
=$
`echo $ac_var`
1177 echo "$ac_var='"'"'$ac_val'"'"'"
1182 if test -s confdefs.h
; then
1189 sed "/^$/d" confdefs.h |
sort
1192 test "$ac_signal" != 0 &&
1193 echo "$as_me: caught signal $ac_signal"
1194 echo "$as_me: exit $exit_status"
1196 rm -f core
*.core
&&
1197 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1200 for ac_signal in 1 2 13 15; do
1201 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1205 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1206 rm -rf conftest* confdefs.h
1207 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1210 # Predefined preprocessor variables.
1212 cat >>confdefs.h <<_ACEOF
1213 #define PACKAGE_NAME "$PACKAGE_NAME"
1217 cat >>confdefs.h <<_ACEOF
1218 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_STRING "$PACKAGE_STRING"
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1237 # Let the site file select an alternate cache file if it wants to.
1238 # Prefer explicitly selected file to automatically selected ones.
1239 if test -z "$CONFIG_SITE"; then
1240 if test "x$prefix" != xNONE; then
1241 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1243 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1246 for ac_site_file in $CONFIG_SITE; do
1247 if test -r "$ac_site_file"; then
1248 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1249 echo "$as_me: loading site script $ac_site_file" >&6;}
1250 sed 's
/^
/|
/' "$ac_site_file" >&5
1255 if test -r "$cache_file"; then
1256 # Some versions of bash will fail to source /dev/null (special
1257 # files actually), so we avoid doing that.
1258 if test -f "$cache_file"; then
1259 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1260 echo "$as_me: loading cache $cache_file" >&6;}
1262 [\\/]* | ?:[\\/]* ) . $cache_file;;
1263 *) . ./$cache_file;;
1267 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1268 echo "$as_me: creating cache $cache_file" >&6;}
1272 # Check that the precious variables saved in the cache have kept the same
1274 ac_cache_corrupted=false
1275 for ac_var in `(set) 2>&1 |
1276 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1277 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1278 eval ac_new_set=\$ac_env_${ac_var}_set
1279 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1280 eval ac_new_val="\$ac_env_${ac_var}_value"
1281 case $ac_old_set,$ac_new_set in
1283 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1284 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1285 ac_cache_corrupted=: ;;
1287 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1288 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1289 ac_cache_corrupted=: ;;
1292 if test "x$ac_old_val" != "x$ac_new_val"; then
1293 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1294 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1295 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1296 echo "$as_me: former value: $ac_old_val" >&2;}
1297 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1298 echo "$as_me: current value: $ac_new_val" >&2;}
1299 ac_cache_corrupted=:
1302 # Pass precious variables to config.status.
1303 if test "$ac_new_set" = set; then
1305 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1306 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1307 *) ac_arg=$ac_var=$ac_new_val ;;
1309 case " $ac_configure_args " in
1310 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1311 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1315 if $ac_cache_corrupted; then
1316 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1317 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1318 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1319 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1320 { (exit 1); exit 1; }; }
1324 ac_cpp='$CPP $CPPFLAGS'
1325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1326 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1347 ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
1350 cat >>confdefs.h <<\_ACEOF
1354 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1355 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1356 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1357 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1358 echo $ECHO_N "(cached) $ECHO_C" >&6
1360 cat >conftest.make <<\_ACEOF
1362 @echo 'ac_maketemp
="$(MAKE)"'
1364 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1365 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1366 if test -n "$ac_maketemp"; then
1367 eval ac_cv_prog_make_${ac_make}_set=yes
1369 eval ac_cv_prog_make_${ac_make}_set=no
1373 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1374 echo "$as_me:$LINENO: result: yes" >&5
1375 echo "${ECHO_T}yes" >&6
1378 echo "$as_me:$LINENO: result: no" >&5
1379 echo "${ECHO_T}no" >&6
1380 SET_MAKE="MAKE=${MAKE-make}"
1385 ac_cpp='$CPP $CPPFLAGS'
1386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1387 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1389 if test -n "$ac_tool_prefix"; then
1390 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1391 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1392 echo "$as_me:$LINENO: checking for $ac_word" >&5
1393 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1394 if test "${ac_cv_prog_CC+set}" = set; then
1395 echo $ECHO_N "(cached) $ECHO_C" >&6
1397 if test -n "$CC"; then
1398 ac_cv_prog_CC="$CC" # Let the user override the test.
1400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1404 test -z "$as_dir" && as_dir=.
1405 for ac_exec_ext in '' $ac_executable_extensions; do
1406 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1407 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1408 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1417 if test -n "$CC"; then
1418 echo "$as_me:$LINENO: result: $CC" >&5
1419 echo "${ECHO_T}$CC" >&6
1421 echo "$as_me:$LINENO: result: no" >&5
1422 echo "${ECHO_T}no" >&6
1426 if test -z "$ac_cv_prog_CC"; then
1428 # Extract the first word of "gcc", so it can be a program name with args.
1429 set dummy gcc; ac_word=$2
1430 echo "$as_me:$LINENO: checking for $ac_word" >&5
1431 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1432 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1433 echo $ECHO_N "(cached) $ECHO_C" >&6
1435 if test -n "$ac_ct_CC"; then
1436 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1442 test -z "$as_dir" && as_dir=.
1443 for ac_exec_ext in '' $ac_executable_extensions; do
1444 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1445 ac_cv_prog_ac_ct_CC="gcc"
1446 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1454 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1455 if test -n "$ac_ct_CC"; then
1456 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1457 echo "${ECHO_T}$ac_ct_CC" >&6
1459 echo "$as_me:$LINENO: result: no" >&5
1460 echo "${ECHO_T}no" >&6
1468 if test -z "$CC"; then
1469 if test -n "$ac_tool_prefix"; then
1470 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1471 set dummy ${ac_tool_prefix}cc; ac_word=$2
1472 echo "$as_me:$LINENO: checking for $ac_word" >&5
1473 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1474 if test "${ac_cv_prog_CC+set}" = set; then
1475 echo $ECHO_N "(cached) $ECHO_C" >&6
1477 if test -n "$CC"; then
1478 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 ac_cv_prog_CC="${ac_tool_prefix}cc"
1488 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1497 if test -n "$CC"; then
1498 echo "$as_me:$LINENO: result: $CC" >&5
1499 echo "${ECHO_T}$CC" >&6
1501 echo "$as_me:$LINENO: result: no" >&5
1502 echo "${ECHO_T}no" >&6
1506 if test -z "$ac_cv_prog_CC"; then
1508 # Extract the first word of "cc", so it can be a program name with args.
1509 set dummy cc; ac_word=$2
1510 echo "$as_me:$LINENO: checking for $ac_word" >&5
1511 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1512 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1513 echo $ECHO_N "(cached) $ECHO_C" >&6
1515 if test -n "$ac_ct_CC"; then
1516 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1522 test -z "$as_dir" && as_dir=.
1523 for ac_exec_ext in '' $ac_executable_extensions; do
1524 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1525 ac_cv_prog_ac_ct_CC="cc"
1526 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1534 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1535 if test -n "$ac_ct_CC"; then
1536 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1537 echo "${ECHO_T}$ac_ct_CC" >&6
1539 echo "$as_me:$LINENO: result: no" >&5
1540 echo "${ECHO_T}no" >&6
1549 if test -z "$CC"; then
1550 # Extract the first word of "cc", so it can be a program name with args.
1551 set dummy cc; ac_word=$2
1552 echo "$as_me:$LINENO: checking for $ac_word" >&5
1553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1554 if test "${ac_cv_prog_CC+set}" = set; then
1555 echo $ECHO_N "(cached) $ECHO_C" >&6
1557 if test -n "$CC"; then
1558 ac_cv_prog_CC="$CC" # Let the user override the test.
1561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1565 test -z "$as_dir" && as_dir=.
1566 for ac_exec_ext in '' $ac_executable_extensions; do
1567 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1568 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1569 ac_prog_rejected=yes
1573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1579 if test $ac_prog_rejected = yes; then
1580 # We found a bogon in the path, so make sure we never use it.
1581 set dummy $ac_cv_prog_CC
1583 if test $# != 0; then
1584 # We chose a different compiler from the bogus one.
1585 # However, it has the same basename, so the bogon will be chosen
1586 # first if we set CC to just the basename; use the full file name.
1588 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1594 if test -n "$CC"; then
1595 echo "$as_me:$LINENO: result: $CC" >&5
1596 echo "${ECHO_T}$CC" >&6
1598 echo "$as_me:$LINENO: result: no" >&5
1599 echo "${ECHO_T}no" >&6
1603 if test -z "$CC"; then
1604 if test -n "$ac_tool_prefix"; then
1607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1609 echo "$as_me:$LINENO: checking for $ac_word" >&5
1610 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1611 if test "${ac_cv_prog_CC+set}" = set; then
1612 echo $ECHO_N "(cached) $ECHO_C" >&6
1614 if test -n "$CC"; then
1615 ac_cv_prog_CC="$CC" # Let the user override the test.
1617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1621 test -z "$as_dir" && as_dir=.
1622 for ac_exec_ext in '' $ac_executable_extensions; do
1623 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1624 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1634 if test -n "$CC"; then
1635 echo "$as_me:$LINENO: result: $CC" >&5
1636 echo "${ECHO_T}$CC" >&6
1638 echo "$as_me:$LINENO: result: no" >&5
1639 echo "${ECHO_T}no" >&6
1642 test -n "$CC" && break
1645 if test -z "$CC"; then
1649 # Extract the first word of "$ac_prog", so it can be a program name with args.
1650 set dummy $ac_prog; ac_word=$2
1651 echo "$as_me:$LINENO: checking for $ac_word" >&5
1652 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1653 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1654 echo $ECHO_N "(cached) $ECHO_C" >&6
1656 if test -n "$ac_ct_CC"; then
1657 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1663 test -z "$as_dir" && as_dir=.
1664 for ac_exec_ext in '' $ac_executable_extensions; do
1665 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1666 ac_cv_prog_ac_ct_CC="$ac_prog"
1667 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1675 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1676 if test -n "$ac_ct_CC"; then
1677 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1678 echo "${ECHO_T}$ac_ct_CC" >&6
1680 echo "$as_me:$LINENO: result: no" >&5
1681 echo "${ECHO_T}no" >&6
1684 test -n "$ac_ct_CC" && break
1693 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1694 See \`config.log' for more details.
" >&5
1695 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1696 See \
`config.log' for more details." >&2;}
1697 { (exit 1); exit 1; }; }
1699 # Provide some information about the compiler.
1700 echo "$as_me:$LINENO:" \
1701 "checking for C compiler version" >&5
1702 ac_compiler=`set X
$ac_compile; echo $2`
1703 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1704 (eval $ac_compiler --version </dev/null >&5) 2>&5
1706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1707 (exit $ac_status); }
1708 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1709 (eval $ac_compiler -v </dev/null >&5) 2>&5
1711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1712 (exit $ac_status); }
1713 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1714 (eval $ac_compiler -V </dev/null >&5) 2>&5
1716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1717 (exit $ac_status); }
1719 cat >conftest.$ac_ext <<_ACEOF
1722 cat confdefs.h >>conftest.$ac_ext
1723 cat >>conftest.$ac_ext <<_ACEOF
1724 /* end confdefs.h. */
1734 ac_clean_files_save=$ac_clean_files
1735 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1736 # Try to create an executable without -o first, disregard a.out.
1737 # It will help us diagnose broken compilers, and finding out an intuition
1739 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1740 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1741 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1742 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1743 (eval $ac_link_default) 2>&5
1745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1746 (exit $ac_status); }; then
1747 # Find the output, starting from the most likely. This scheme is
1748 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1751 # Be careful to initialize this variable, since it used to be cached.
1752 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1754 # b.out is created by i960 compilers.
1755 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1757 test -f "$ac_file" || continue
1759 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1762 # This is the source file.
1765 # We found the default executable, but exeext='' is most
1769 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1770 # FIXME: I believe we export ac_cv_exeext for Libtool,
1771 # but it would be cool to find out if it's true. Does anybody
1772 # maintain Libtool? --akim.
1780 echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1784 See \`config.log
' for more details." >&5
1785 echo "$as_me: error: C compiler cannot create executables
1786 See \`config.log' for more details.
" >&2;}
1787 { (exit 77); exit 77; }; }
1790 ac_exeext=$ac_cv_exeext
1791 echo "$as_me:$LINENO: result
: $ac_file" >&5
1792 echo "${ECHO_T}$ac_file" >&6
1794 # Check the compiler produces executables we can run. If not, either
1795 # the compiler is broken, or we cross compile.
1796 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1797 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1798 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1799 # If not cross compiling, check that we can run a simple program.
1800 if test "$cross_compiling" != yes; then
1801 if { ac_try='./$ac_file'
1802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1805 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1806 (exit $ac_status); }; }; then
1809 if test "$cross_compiling" = maybe; then
1812 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1813 If you meant to cross compile
, use \
`--host'.
1814 See \`config.log
' for more details." >&5
1815 echo "$as_me: error: cannot run C compiled programs.
1816 If you meant to cross compile, use \`--host'.
1817 See \
`config.log' for more details." >&2;}
1818 { (exit 1); exit 1; }; }
1822 echo "$as_me:$LINENO: result: yes" >&5
1823 echo "${ECHO_T}yes" >&6
1825 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1826 ac_clean_files=$ac_clean_files_save
1827 # Check the compiler produces executables we can run. If not, either
1828 # the compiler is broken, or we cross compile.
1829 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1830 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1831 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1832 echo "${ECHO_T}$cross_compiling" >&6
1834 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1835 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1837 (eval $ac_link) 2>&5
1839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1840 (exit $ac_status); }; then
1841 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1842 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1843 # work properly (i.e., refer to `conftest.exe'), while it won't with
1845 for ac_file
in conftest.exe conftest conftest.
*; do
1846 test -f "$ac_file" ||
continue
1848 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1849 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1856 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1857 See \`config.log' for more details." >&5
1858 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1859 See \`config.log' for more details." >&2;}
1860 { (exit 1); exit 1; }; }
1863 rm -f conftest
$ac_cv_exeext
1864 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1865 echo "${ECHO_T}$ac_cv_exeext" >&6
1867 rm -f conftest.
$ac_ext
1868 EXEEXT
=$ac_cv_exeext
1870 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1871 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1872 if test "${ac_cv_objext+set}" = set; then
1873 echo $ECHO_N "(cached) $ECHO_C" >&6
1875 cat >conftest.
$ac_ext <<_ACEOF
1878 cat confdefs.h
>>conftest.
$ac_ext
1879 cat >>conftest.
$ac_ext <<_ACEOF
1880 /* end confdefs.h. */
1890 rm -f conftest.o conftest.obj
1891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1892 (eval $ac_compile) 2>&5
1894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1895 (exit $ac_status); }; then
1896 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1898 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1899 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1904 echo "$as_me: failed program was:" >&5
1905 sed 's/^/| /' conftest.
$ac_ext >&5
1907 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1908 See \`config.log' for more details." >&5
1909 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1910 See \`config.log' for more details." >&2;}
1911 { (exit 1); exit 1; }; }
1914 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1916 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1917 echo "${ECHO_T}$ac_cv_objext" >&6
1918 OBJEXT
=$ac_cv_objext
1920 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1921 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1922 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1923 echo $ECHO_N "(cached) $ECHO_C" >&6
1925 cat >conftest.
$ac_ext <<_ACEOF
1928 cat confdefs.h
>>conftest.
$ac_ext
1929 cat >>conftest.
$ac_ext <<_ACEOF
1930 /* end confdefs.h. */
1943 rm -f conftest.
$ac_objext
1944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1945 (eval $ac_compile) 2>conftest.er1
1947 grep -v '^ *+' conftest.er1
>conftest.err
1949 cat conftest.err
>&5
1950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1951 (exit $ac_status); } &&
1952 { ac_try
='test -z "$ac_c_werror_flag"
1953 || test ! -s conftest.err'
1954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1958 (exit $ac_status); }; } &&
1959 { ac_try
='test -s conftest.$ac_objext'
1960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1964 (exit $ac_status); }; }; then
1967 echo "$as_me: failed program was:" >&5
1968 sed 's/^/| /' conftest.
$ac_ext >&5
1972 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1973 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1976 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1977 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1978 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1979 ac_test_CFLAGS
=${CFLAGS+set}
1980 ac_save_CFLAGS
=$CFLAGS
1982 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1983 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1984 if test "${ac_cv_prog_cc_g+set}" = set; then
1985 echo $ECHO_N "(cached) $ECHO_C" >&6
1987 cat >conftest.
$ac_ext <<_ACEOF
1990 cat confdefs.h
>>conftest.
$ac_ext
1991 cat >>conftest.
$ac_ext <<_ACEOF
1992 /* end confdefs.h. */
2002 rm -f conftest.
$ac_objext
2003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2004 (eval $ac_compile) 2>conftest.er1
2006 grep -v '^ *+' conftest.er1
>conftest.err
2008 cat conftest.err
>&5
2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2010 (exit $ac_status); } &&
2011 { ac_try
='test -z "$ac_c_werror_flag"
2012 || test ! -s conftest.err'
2013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2017 (exit $ac_status); }; } &&
2018 { ac_try
='test -s conftest.$ac_objext'
2019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2023 (exit $ac_status); }; }; then
2026 echo "$as_me: failed program was:" >&5
2027 sed 's/^/| /' conftest.
$ac_ext >&5
2031 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2033 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2034 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2035 if test "$ac_test_CFLAGS" = set; then
2036 CFLAGS
=$ac_save_CFLAGS
2037 elif test $ac_cv_prog_cc_g = yes; then
2038 if test "$GCC" = yes; then
2044 if test "$GCC" = yes; then
2050 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2051 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2052 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2053 echo $ECHO_N "(cached) $ECHO_C" >&6
2055 ac_cv_prog_cc_stdc
=no
2057 cat >conftest.
$ac_ext <<_ACEOF
2060 cat confdefs.h
>>conftest.
$ac_ext
2061 cat >>conftest.
$ac_ext <<_ACEOF
2062 /* end confdefs.h. */
2065 #include <sys/types.h>
2066 #include <sys/stat.h>
2067 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2068 struct buf { int x; };
2069 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2070 static char *e (p, i)
2076 static char *f (char * (*g) (char **, int), char **p, ...)
2081 s = g (p, va_arg (v,int));
2086 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2087 function prototypes and stuff, but not '\xHH' hex character constants.
2088 These don't provoke an error unfortunately, instead are silently treated
2089 as 'x'. The following induces an error, until -std1 is added to get
2090 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2091 array size at least. It's necessary to write '\x00'==0 to get something
2092 that's true only with -std1. */
2093 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2095 int test (int i, double x);
2096 struct s1 {int (*f) (int a);};
2097 struct s2 {int (*f) (double a);};
2098 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2104 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2109 # Don't try gcc -ansi; that turns off useful extensions and
2110 # breaks some systems' header files.
2111 # AIX -qlanglvl=ansi
2112 # Ultrix and OSF/1 -std1
2113 # HP-UX 10.20 and later -Ae
2114 # HP-UX older versions -Aa -D_HPUX_SOURCE
2115 # SVR4 -Xc -D__EXTENSIONS__
2116 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2118 CC
="$ac_save_CC $ac_arg"
2119 rm -f conftest.
$ac_objext
2120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2121 (eval $ac_compile) 2>conftest.er1
2123 grep -v '^ *+' conftest.er1
>conftest.err
2125 cat conftest.err
>&5
2126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2127 (exit $ac_status); } &&
2128 { ac_try
='test -z "$ac_c_werror_flag"
2129 || test ! -s conftest.err'
2130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2134 (exit $ac_status); }; } &&
2135 { ac_try
='test -s conftest.$ac_objext'
2136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2140 (exit $ac_status); }; }; then
2141 ac_cv_prog_cc_stdc
=$ac_arg
2144 echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.
$ac_ext >&5
2148 rm -f conftest.err conftest.
$ac_objext
2150 rm -f conftest.
$ac_ext conftest.
$ac_objext
2155 case "x$ac_cv_prog_cc_stdc" in
2157 echo "$as_me:$LINENO: result: none needed" >&5
2158 echo "${ECHO_T}none needed" >&6 ;;
2160 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2161 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2162 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2165 # Some people use a C++ compiler to compile C. Since we use `exit',
2166 # in C++ we need to declare it. In case someone uses the same compiler
2167 # for both compiling C and C++ we need to have the C++ compiler decide
2168 # the declaration of exit, since it's the most demanding environment.
2169 cat >conftest.
$ac_ext <<_ACEOF
2174 rm -f conftest.
$ac_objext
2175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2176 (eval $ac_compile) 2>conftest.er1
2178 grep -v '^ *+' conftest.er1
>conftest.err
2180 cat conftest.err
>&5
2181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2182 (exit $ac_status); } &&
2183 { ac_try
='test -z "$ac_c_werror_flag"
2184 || test ! -s conftest.err'
2185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2189 (exit $ac_status); }; } &&
2190 { ac_try
='test -s conftest.$ac_objext'
2191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2195 (exit $ac_status); }; }; then
2196 for ac_declaration
in \
2198 'extern "C" void std::exit (int) throw (); using std::exit;' \
2199 'extern "C" void std::exit (int); using std::exit;' \
2200 'extern "C" void exit (int) throw ();' \
2201 'extern "C" void exit (int);' \
2204 cat >conftest.
$ac_ext <<_ACEOF
2207 cat confdefs.h
>>conftest.
$ac_ext
2208 cat >>conftest.
$ac_ext <<_ACEOF
2209 /* end confdefs.h. */
2220 rm -f conftest.
$ac_objext
2221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2222 (eval $ac_compile) 2>conftest.er1
2224 grep -v '^ *+' conftest.er1
>conftest.err
2226 cat conftest.err
>&5
2227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2228 (exit $ac_status); } &&
2229 { ac_try
='test -z "$ac_c_werror_flag"
2230 || test ! -s conftest.err'
2231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2235 (exit $ac_status); }; } &&
2236 { ac_try
='test -s conftest.$ac_objext'
2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2241 (exit $ac_status); }; }; then
2244 echo "$as_me: failed program was:" >&5
2245 sed 's/^/| /' conftest.
$ac_ext >&5
2249 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2250 cat >conftest.
$ac_ext <<_ACEOF
2253 cat confdefs.h
>>conftest.
$ac_ext
2254 cat >>conftest.
$ac_ext <<_ACEOF
2255 /* end confdefs.h. */
2265 rm -f conftest.
$ac_objext
2266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2267 (eval $ac_compile) 2>conftest.er1
2269 grep -v '^ *+' conftest.er1
>conftest.err
2271 cat conftest.err
>&5
2272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2273 (exit $ac_status); } &&
2274 { ac_try
='test -z "$ac_c_werror_flag"
2275 || test ! -s conftest.err'
2276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2280 (exit $ac_status); }; } &&
2281 { ac_try
='test -s conftest.$ac_objext'
2282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2286 (exit $ac_status); }; }; then
2289 echo "$as_me: failed program was:" >&5
2290 sed 's/^/| /' conftest.
$ac_ext >&5
2293 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2296 if test -n "$ac_declaration"; then
2297 echo '#ifdef __cplusplus' >>confdefs.h
2298 echo $ac_declaration >>confdefs.h
2299 echo '#endif' >>confdefs.h
2303 echo "$as_me: failed program was:" >&5
2304 sed 's/^/| /' conftest.
$ac_ext >&5
2307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2309 ac_cpp
='$CPP $CPPFLAGS'
2310 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2311 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2312 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2314 ac_cpp
='$CPP $CPPFLAGS'
2315 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2316 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2317 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2318 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2319 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2320 # On Suns, sometimes $CPP names a directory.
2321 if test -n "$CPP" && test -d "$CPP"; then
2324 if test -z "$CPP"; then
2325 if test "${ac_cv_prog_CPP+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 # Double quotes because CPP needs to be expanded
2329 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2332 for ac_c_preproc_warn_flag
in '' yes
2334 # Use a header file that comes with gcc, so configuring glibc
2335 # with a fresh cross-compiler works.
2336 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2337 # <limits.h> exists even on freestanding compilers.
2338 # On the NeXT, cc -E runs the code through the compiler's parser,
2339 # not just through cpp. "Syntax error" is here to catch this case.
2340 cat >conftest.
$ac_ext <<_ACEOF
2343 cat confdefs.h
>>conftest.
$ac_ext
2344 cat >>conftest.
$ac_ext <<_ACEOF
2345 /* end confdefs.h. */
2347 # include <limits.h>
2349 # include <assert.h>
2353 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2354 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2356 grep -v '^ *+' conftest.er1
>conftest.err
2358 cat conftest.err
>&5
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); } >/dev
/null
; then
2361 if test -s conftest.err
; then
2362 ac_cpp_err
=$ac_c_preproc_warn_flag
2363 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2370 if test -z "$ac_cpp_err"; then
2373 echo "$as_me: failed program was:" >&5
2374 sed 's/^/| /' conftest.
$ac_ext >&5
2376 # Broken: fails on valid input.
2379 rm -f conftest.err conftest.
$ac_ext
2381 # OK, works on sane cases. Now check whether non-existent headers
2382 # can be detected and how.
2383 cat >conftest.
$ac_ext <<_ACEOF
2386 cat confdefs.h
>>conftest.
$ac_ext
2387 cat >>conftest.
$ac_ext <<_ACEOF
2388 /* end confdefs.h. */
2389 #include <ac_nonexistent.h>
2391 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2392 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2394 grep -v '^ *+' conftest.er1
>conftest.err
2396 cat conftest.err
>&5
2397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2398 (exit $ac_status); } >/dev
/null
; then
2399 if test -s conftest.err
; then
2400 ac_cpp_err
=$ac_c_preproc_warn_flag
2401 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2408 if test -z "$ac_cpp_err"; then
2409 # Broken: success on invalid input.
2412 echo "$as_me: failed program was:" >&5
2413 sed 's/^/| /' conftest.
$ac_ext >&5
2415 # Passes both tests.
2419 rm -f conftest.err conftest.
$ac_ext
2422 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2423 rm -f conftest.err conftest.
$ac_ext
2424 if $ac_preproc_ok; then
2436 echo "$as_me:$LINENO: result: $CPP" >&5
2437 echo "${ECHO_T}$CPP" >&6
2439 for ac_c_preproc_warn_flag
in '' yes
2441 # Use a header file that comes with gcc, so configuring glibc
2442 # with a fresh cross-compiler works.
2443 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2444 # <limits.h> exists even on freestanding compilers.
2445 # On the NeXT, cc -E runs the code through the compiler's parser,
2446 # not just through cpp. "Syntax error" is here to catch this case.
2447 cat >conftest.
$ac_ext <<_ACEOF
2450 cat confdefs.h
>>conftest.
$ac_ext
2451 cat >>conftest.
$ac_ext <<_ACEOF
2452 /* end confdefs.h. */
2454 # include <limits.h>
2456 # include <assert.h>
2460 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2461 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2463 grep -v '^ *+' conftest.er1
>conftest.err
2465 cat conftest.err
>&5
2466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2467 (exit $ac_status); } >/dev
/null
; then
2468 if test -s conftest.err
; then
2469 ac_cpp_err
=$ac_c_preproc_warn_flag
2470 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2477 if test -z "$ac_cpp_err"; then
2480 echo "$as_me: failed program was:" >&5
2481 sed 's/^/| /' conftest.
$ac_ext >&5
2483 # Broken: fails on valid input.
2486 rm -f conftest.err conftest.
$ac_ext
2488 # OK, works on sane cases. Now check whether non-existent headers
2489 # can be detected and how.
2490 cat >conftest.
$ac_ext <<_ACEOF
2493 cat confdefs.h
>>conftest.
$ac_ext
2494 cat >>conftest.
$ac_ext <<_ACEOF
2495 /* end confdefs.h. */
2496 #include <ac_nonexistent.h>
2498 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2499 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2501 grep -v '^ *+' conftest.er1
>conftest.err
2503 cat conftest.err
>&5
2504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2505 (exit $ac_status); } >/dev
/null
; then
2506 if test -s conftest.err
; then
2507 ac_cpp_err
=$ac_c_preproc_warn_flag
2508 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2515 if test -z "$ac_cpp_err"; then
2516 # Broken: success on invalid input.
2519 echo "$as_me: failed program was:" >&5
2520 sed 's/^/| /' conftest.
$ac_ext >&5
2522 # Passes both tests.
2526 rm -f conftest.err conftest.
$ac_ext
2529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2530 rm -f conftest.err conftest.
$ac_ext
2531 if $ac_preproc_ok; then
2534 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2542 ac_cpp
='$CPP $CPPFLAGS'
2543 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2544 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2545 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2548 echo "$as_me:$LINENO: checking for egrep" >&5
2549 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2550 if test "${ac_cv_prog_egrep+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2554 then ac_cv_prog_egrep
='grep -E'
2555 else ac_cv_prog_egrep
='egrep'
2558 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2559 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2560 EGREP
=$ac_cv_prog_egrep
2563 cat >conftest.
$ac_ext <<_ACEOF
2566 cat confdefs.h
>>conftest.
$ac_ext
2567 cat >>conftest.
$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2572 $EGREP "" >/dev
/null
2>&1; then
2576 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2577 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2578 if test "${ac_cv_search_strerror+set}" = set; then
2579 echo $ECHO_N "(cached) $ECHO_C" >&6
2581 ac_func_search_save_LIBS
=$LIBS
2582 ac_cv_search_strerror
=no
2583 cat >conftest.
$ac_ext <<_ACEOF
2586 cat confdefs.h
>>conftest.
$ac_ext
2587 cat >>conftest.
$ac_ext <<_ACEOF
2588 /* end confdefs.h. */
2590 /* Override any gcc2 internal prototype to avoid an error. */
2594 /* We use char because int might match the return type of a gcc2
2595 builtin and then its argument prototype would still apply. */
2605 rm -f conftest.
$ac_objext conftest
$ac_exeext
2606 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2607 (eval $ac_link) 2>conftest.er1
2609 grep -v '^ *+' conftest.er1
>conftest.err
2611 cat conftest.err
>&5
2612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2613 (exit $ac_status); } &&
2614 { ac_try
='test -z "$ac_c_werror_flag"
2615 || test ! -s conftest.err'
2616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2620 (exit $ac_status); }; } &&
2621 { ac_try
='test -s conftest$ac_exeext'
2622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2626 (exit $ac_status); }; }; then
2627 ac_cv_search_strerror
="none required"
2629 echo "$as_me: failed program was:" >&5
2630 sed 's/^/| /' conftest.
$ac_ext >&5
2633 rm -f conftest.err conftest.
$ac_objext \
2634 conftest
$ac_exeext conftest.
$ac_ext
2635 if test "$ac_cv_search_strerror" = no
; then
2636 for ac_lib
in cposix
; do
2637 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2638 cat >conftest.
$ac_ext <<_ACEOF
2641 cat confdefs.h
>>conftest.
$ac_ext
2642 cat >>conftest.
$ac_ext <<_ACEOF
2643 /* end confdefs.h. */
2645 /* Override any gcc2 internal prototype to avoid an error. */
2649 /* We use char because int might match the return type of a gcc2
2650 builtin and then its argument prototype would still apply. */
2660 rm -f conftest.
$ac_objext conftest
$ac_exeext
2661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2662 (eval $ac_link) 2>conftest.er1
2664 grep -v '^ *+' conftest.er1
>conftest.err
2666 cat conftest.err
>&5
2667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2668 (exit $ac_status); } &&
2669 { ac_try
='test -z "$ac_c_werror_flag"
2670 || test ! -s conftest.err'
2671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2675 (exit $ac_status); }; } &&
2676 { ac_try
='test -s conftest$ac_exeext'
2677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2681 (exit $ac_status); }; }; then
2682 ac_cv_search_strerror
="-l$ac_lib"
2685 echo "$as_me: failed program was:" >&5
2686 sed 's/^/| /' conftest.
$ac_ext >&5
2689 rm -f conftest.err conftest.
$ac_objext \
2690 conftest
$ac_exeext conftest.
$ac_ext
2693 LIBS
=$ac_func_search_save_LIBS
2695 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2696 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2697 if test "$ac_cv_search_strerror" != no
; then
2698 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2701 for ac_prog
in gawk mawk nawk
awk
2703 # Extract the first word of "$ac_prog", so it can be a program name with args.
2704 set dummy
$ac_prog; ac_word
=$2
2705 echo "$as_me:$LINENO: checking for $ac_word" >&5
2706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2707 if test "${ac_cv_prog_AWK+set}" = set; then
2708 echo $ECHO_N "(cached) $ECHO_C" >&6
2710 if test -n "$AWK"; then
2711 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2713 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2717 test -z "$as_dir" && as_dir
=.
2718 for ac_exec_ext
in '' $ac_executable_extensions; do
2719 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2720 ac_cv_prog_AWK
="$ac_prog"
2721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2730 if test -n "$AWK"; then
2731 echo "$as_me:$LINENO: result: $AWK" >&5
2732 echo "${ECHO_T}$AWK" >&6
2734 echo "$as_me:$LINENO: result: no" >&5
2735 echo "${ECHO_T}no" >&6
2738 test -n "$AWK" && break
2741 # Extract the first word of "strip", so it can be a program name with args.
2742 set dummy strip
; ac_word
=$2
2743 echo "$as_me:$LINENO: checking for $ac_word" >&5
2744 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2745 if test "${ac_cv_prog_STRIP+set}" = set; then
2746 echo $ECHO_N "(cached) $ECHO_C" >&6
2748 if test -n "$STRIP"; then
2749 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2755 test -z "$as_dir" && as_dir
=.
2756 for ac_exec_ext
in '' $ac_executable_extensions; do
2757 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2758 ac_cv_prog_STRIP
="strip"
2759 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2765 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2768 STRIP
=$ac_cv_prog_STRIP
2769 if test -n "$STRIP"; then
2770 echo "$as_me:$LINENO: result: $STRIP" >&5
2771 echo "${ECHO_T}$STRIP" >&6
2773 echo "$as_me:$LINENO: result: no" >&5
2774 echo "${ECHO_T}no" >&6
2780 if test -z "$CFLAGS"; then
2782 test "$GCC" = yes && CFLAGS
="-O2 -fno-strength-reduce -Wall"
2784 if test "$GCC" = yes; then
2785 gccversion
=`"$CC" -dumpversion`
2786 if test "x$gccversion" = "x"; then
2787 gccversion
=`"$CC" --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[^0-9]*\([0-9]\.[0-9.]*\).*$/\1/g'`
2789 if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
2790 echo 'GCC [34].0.[12] has a bug in the optimizer, disabling "-O#"'
2791 CFLAGS
=`echo "$CFLAGS" | sed 's/-O[23456789]/-O/'`
2793 if test "$gccversion" = "3.1" -o "$gccversion" = "3.2" -o "$gccversion" = "3.2.1" && `echo "$CFLAGS" | grep -v fno-strength-reduce >/dev/null`; then
2794 echo 'GCC 3.1 and 3.2 have a bug in the optimizer, adding "-fno-strength-reduce"'
2795 CFLAGS
="$CFLAGS -fno-strength-reduce"
2800 if test "$cross_compiling" = yes; then
2801 { { echo "$as_me:$LINENO: error: cannot compile a simple program, check CC and CFLAGS
2802 (cross compiling doesn't work)" >&5
2803 echo "$as_me: error: cannot compile a simple program, check CC and CFLAGS
2804 (cross compiling doesn't work)" >&2;}
2805 { (exit 1); exit 1; }; }
2808 test "$GCC" = yes && CPP_MM
=M
;
2810 if test -f .
/toolcheck
; then
2811 { echo "$as_me:$LINENO: checking for buggy tools..." >&5
2812 echo "$as_me: checking for buggy tools..." >&6;}
2816 OS_EXTRA_SRC
=""; OS_EXTRA_OBJ
=""
2818 echo "$as_me:$LINENO: checking for BeOS" >&5
2819 echo $ECHO_N "checking for BeOS... $ECHO_C" >&6
2821 BeOS
) OS_EXTRA_SRC
=os_beos.c
; OS_EXTRA_OBJ
=objects
/os_beos.o
2822 BEOS
=yes; echo "$as_me:$LINENO: result: yes" >&5
2823 echo "${ECHO_T}yes" >&6;;
2824 *) BEOS
=no
; echo "$as_me:$LINENO: result: no" >&5
2825 echo "${ECHO_T}no" >&6;;
2828 echo "$as_me:$LINENO: checking for QNX" >&5
2829 echo $ECHO_N "checking for QNX... $ECHO_C" >&6
2831 QNX
) OS_EXTRA_SRC
=os_qnx.c
; OS_EXTRA_OBJ
=objects
/os_qnx.o
2832 test -z "$with_x" && with_x
=no
2833 QNX
=yes; echo "$as_me:$LINENO: result: yes" >&5
2834 echo "${ECHO_T}yes" >&6;;
2835 *) QNX
=no
; echo "$as_me:$LINENO: result: no" >&5
2836 echo "${ECHO_T}no" >&6;;
2839 echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
2840 echo $ECHO_N "checking for Darwin (Mac OS X)... $ECHO_C" >&6
2841 if test "`(uname) 2>/dev/null`" = Darwin
; then
2842 echo "$as_me:$LINENO: result: yes" >&5
2843 echo "${ECHO_T}yes" >&6
2845 echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
2846 echo $ECHO_N "checking --disable-darwin argument... $ECHO_C" >&6
2847 # Check whether --enable-darwin or --disable-darwin was given.
2848 if test "${enable_darwin+set}" = set; then
2849 enableval
="$enable_darwin"
2854 if test "$enable_darwin" = "yes"; then
2855 echo "$as_me:$LINENO: result: no" >&5
2856 echo "${ECHO_T}no" >&6
2857 echo "$as_me:$LINENO: checking if Darwin files are there" >&5
2858 echo $ECHO_N "checking if Darwin files are there... $ECHO_C" >&6
2859 if test -f os_macosx.c
; then
2860 echo "$as_me:$LINENO: result: yes" >&5
2861 echo "${ECHO_T}yes" >&6
2863 echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
2864 echo "${ECHO_T}no, Darwin support disabled" >&6
2868 echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
2869 echo "${ECHO_T}yes, Darwin support excluded" >&6
2872 echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
2873 echo $ECHO_N "checking --with-mac-arch argument... $ECHO_C" >&6
2875 # Check whether --with-mac-arch or --without-mac-arch was given.
2876 if test "${with_mac_arch+set}" = set; then
2877 withval
="$with_mac_arch"
2878 MACARCH
="$withval"; echo "$as_me:$LINENO: result: $MACARCH" >&5
2879 echo "${ECHO_T}$MACARCH" >&6
2881 MACARCH
="current"; echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
2882 echo "${ECHO_T}defaulting to $MACARCH" >&6
2885 if test "x$MACARCH" = "xboth"; then
2886 echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
2887 echo $ECHO_N "checking for 10.4 universal SDK... $ECHO_C" >&6
2888 save_cppflags
="$CPPFLAGS"
2889 save_cflags
="$CFLAGS"
2890 save_ldflags
="$LDFLAGS"
2891 CFLAGS
="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
2892 cat >conftest.
$ac_ext <<_ACEOF
2895 cat confdefs.h
>>conftest.
$ac_ext
2896 cat >>conftest.
$ac_ext <<_ACEOF
2897 /* end confdefs.h. */
2907 rm -f conftest.
$ac_objext conftest
$ac_exeext
2908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2909 (eval $ac_link) 2>conftest.er1
2911 grep -v '^ *+' conftest.er1
>conftest.err
2913 cat conftest.err
>&5
2914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2915 (exit $ac_status); } &&
2916 { ac_try
='test -z "$ac_c_werror_flag"
2917 || test ! -s conftest.err'
2918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2922 (exit $ac_status); }; } &&
2923 { ac_try
='test -s conftest$ac_exeext'
2924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2928 (exit $ac_status); }; }; then
2929 echo "$as_me:$LINENO: result: found" >&5
2930 echo "${ECHO_T}found" >&6
2932 echo "$as_me: failed program was:" >&5
2933 sed 's/^/| /' conftest.
$ac_ext >&5
2935 echo "$as_me:$LINENO: result: not found" >&5
2936 echo "${ECHO_T}not found" >&6
2937 CFLAGS
="$save_cflags"
2938 echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
2939 echo $ECHO_N "checking if Intel architecture is supported... $ECHO_C" >&6
2940 CPPFLAGS
="$CPPFLAGS -arch i386"
2941 LDFLAGS
="$save_ldflags -arch i386"
2942 cat >conftest.
$ac_ext <<_ACEOF
2945 cat confdefs.h
>>conftest.
$ac_ext
2946 cat >>conftest.
$ac_ext <<_ACEOF
2947 /* end confdefs.h. */
2957 rm -f conftest.
$ac_objext conftest
$ac_exeext
2958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2959 (eval $ac_link) 2>conftest.er1
2961 grep -v '^ *+' conftest.er1
>conftest.err
2963 cat conftest.err
>&5
2964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2965 (exit $ac_status); } &&
2966 { ac_try
='test -z "$ac_c_werror_flag"
2967 || test ! -s conftest.err'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try
='test -s conftest$ac_exeext'
2974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2978 (exit $ac_status); }; }; then
2979 echo "$as_me:$LINENO: result: yes" >&5
2980 echo "${ECHO_T}yes" >&6; MACARCH
="intel"
2982 echo "$as_me: failed program was:" >&5
2983 sed 's/^/| /' conftest.
$ac_ext >&5
2985 echo "$as_me:$LINENO: result: no" >&5
2986 echo "${ECHO_T}no" >&6
2988 CPPFLAGS
="$save_cppflags -arch ppc"
2989 LDFLAGS
="$save_ldflags -arch ppc"
2991 rm -f conftest.err conftest.
$ac_objext \
2992 conftest
$ac_exeext conftest.
$ac_ext
2994 rm -f conftest.err conftest.
$ac_objext \
2995 conftest
$ac_exeext conftest.
$ac_ext
2996 elif test "x$MACARCH" = "xintel"; then
2997 CPPFLAGS
="$CPPFLAGS -arch intel"
2998 LDFLAGS
="$LDFLAGS -arch intel"
2999 elif test "x$MACARCH" = "xppc"; then
3000 CPPFLAGS
="$CPPFLAGS -arch ppc"
3001 LDFLAGS
="$LDFLAGS -arch ppc"
3004 if test "$enable_darwin" = "yes"; then
3006 OS_EXTRA_SCR
="os_macosx.c os_mac_conv.c";
3007 OS_EXTRA_OBJ
="objects/os_macosx.o objects/os_mac_conv.o"
3008 CPPFLAGS
="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
3009 if test "x$MACARCH" = "xboth"; then
3010 CPPFLAGS
="$CPPFLAGS -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon"
3012 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon"
3015 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3016 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3017 if test "${ac_cv_header_stdc+set}" = set; then
3018 echo $ECHO_N "(cached) $ECHO_C" >&6
3020 cat >conftest.
$ac_ext <<_ACEOF
3023 cat confdefs.h
>>conftest.
$ac_ext
3024 cat >>conftest.
$ac_ext <<_ACEOF
3025 /* end confdefs.h. */
3039 rm -f conftest.
$ac_objext
3040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3041 (eval $ac_compile) 2>conftest.er1
3043 grep -v '^ *+' conftest.er1
>conftest.err
3045 cat conftest.err
>&5
3046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3047 (exit $ac_status); } &&
3048 { ac_try
='test -z "$ac_c_werror_flag"
3049 || test ! -s conftest.err'
3050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3054 (exit $ac_status); }; } &&
3055 { ac_try
='test -s conftest.$ac_objext'
3056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3060 (exit $ac_status); }; }; then
3061 ac_cv_header_stdc
=yes
3063 echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.
$ac_ext >&5
3066 ac_cv_header_stdc
=no
3068 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3070 if test $ac_cv_header_stdc = yes; then
3071 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3072 cat >conftest.
$ac_ext <<_ACEOF
3075 cat confdefs.h
>>conftest.
$ac_ext
3076 cat >>conftest.
$ac_ext <<_ACEOF
3077 /* end confdefs.h. */
3081 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3082 $EGREP "memchr" >/dev
/null
2>&1; then
3085 ac_cv_header_stdc
=no
3091 if test $ac_cv_header_stdc = yes; then
3092 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3093 cat >conftest.
$ac_ext <<_ACEOF
3096 cat confdefs.h
>>conftest.
$ac_ext
3097 cat >>conftest.
$ac_ext <<_ACEOF
3098 /* end confdefs.h. */
3102 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3103 $EGREP "free" >/dev
/null
2>&1; then
3106 ac_cv_header_stdc
=no
3112 if test $ac_cv_header_stdc = yes; then
3113 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3114 if test "$cross_compiling" = yes; then
3117 cat >conftest.
$ac_ext <<_ACEOF
3120 cat confdefs.h
>>conftest.
$ac_ext
3121 cat >>conftest.
$ac_ext <<_ACEOF
3122 /* end confdefs.h. */
3124 #if ((' ' & 0x0FF) == 0x020)
3125 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3126 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3128 # define ISLOWER(c) \
3129 (('a' <= (c) && (c) <= 'i') \
3130 || ('j' <= (c) && (c) <= 'r') \
3131 || ('s' <= (c) && (c) <= 'z'))
3132 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3135 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3140 for (i = 0; i < 256; i++)
3141 if (XOR (islower (i), ISLOWER (i))
3142 || toupper (i) != TOUPPER (i))
3147 rm -f conftest
$ac_exeext
3148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3149 (eval $ac_link) 2>&5
3151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3152 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3157 (exit $ac_status); }; }; then
3160 echo "$as_me: program exited with status $ac_status" >&5
3161 echo "$as_me: failed program was:" >&5
3162 sed 's/^/| /' conftest.
$ac_ext >&5
3165 ac_cv_header_stdc
=no
3167 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3171 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3172 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3173 if test $ac_cv_header_stdc = yes; then
3175 cat >>confdefs.h
<<\_ACEOF
3176 #define STDC_HEADERS 1
3181 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3191 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3192 inttypes.h stdint.h unistd.h
3194 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3195 echo "$as_me:$LINENO: checking for $ac_header" >&5
3196 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 cat >conftest.
$ac_ext <<_ACEOF
3203 cat confdefs.h
>>conftest.
$ac_ext
3204 cat >>conftest.
$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3206 $ac_includes_default
3208 #include <$ac_header>
3210 rm -f conftest.
$ac_objext
3211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3212 (eval $ac_compile) 2>conftest.er1
3214 grep -v '^ *+' conftest.er1
>conftest.err
3216 cat conftest.err
>&5
3217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3218 (exit $ac_status); } &&
3219 { ac_try
='test -z "$ac_c_werror_flag"
3220 || test ! -s conftest.err'
3221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3225 (exit $ac_status); }; } &&
3226 { ac_try
='test -s conftest.$ac_objext'
3227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3231 (exit $ac_status); }; }; then
3232 eval "$as_ac_Header=yes"
3234 echo "$as_me: failed program was:" >&5
3235 sed 's/^/| /' conftest.
$ac_ext >&5
3237 eval "$as_ac_Header=no"
3239 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3241 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3242 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3243 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3244 cat >>confdefs.h
<<_ACEOF
3245 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3253 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3254 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
3255 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
3256 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3257 echo $ECHO_N "(cached) $ECHO_C" >&6
3259 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
3260 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
3262 # Is the header compilable?
3263 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
3264 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
3265 cat >conftest.
$ac_ext <<_ACEOF
3268 cat confdefs.h
>>conftest.
$ac_ext
3269 cat >>conftest.
$ac_ext <<_ACEOF
3270 /* end confdefs.h. */
3271 $ac_includes_default
3272 #include <Carbon/Carbon.h>
3274 rm -f conftest.
$ac_objext
3275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3276 (eval $ac_compile) 2>conftest.er1
3278 grep -v '^ *+' conftest.er1
>conftest.err
3280 cat conftest.err
>&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); } &&
3283 { ac_try
='test -z "$ac_c_werror_flag"
3284 || test ! -s conftest.err'
3285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3289 (exit $ac_status); }; } &&
3290 { ac_try
='test -s conftest.$ac_objext'
3291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3295 (exit $ac_status); }; }; then
3296 ac_header_compiler
=yes
3298 echo "$as_me: failed program was:" >&5
3299 sed 's/^/| /' conftest.
$ac_ext >&5
3301 ac_header_compiler
=no
3303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3304 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3305 echo "${ECHO_T}$ac_header_compiler" >&6
3307 # Is the header present?
3308 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
3309 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
3310 cat >conftest.
$ac_ext <<_ACEOF
3313 cat confdefs.h
>>conftest.
$ac_ext
3314 cat >>conftest.
$ac_ext <<_ACEOF
3315 /* end confdefs.h. */
3316 #include <Carbon/Carbon.h>
3318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3319 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3321 grep -v '^ *+' conftest.er1
>conftest.err
3323 cat conftest.err
>&5
3324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3325 (exit $ac_status); } >/dev
/null
; then
3326 if test -s conftest.err
; then
3327 ac_cpp_err
=$ac_c_preproc_warn_flag
3328 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3335 if test -z "$ac_cpp_err"; then
3336 ac_header_preproc
=yes
3338 echo "$as_me: failed program was:" >&5
3339 sed 's/^/| /' conftest.
$ac_ext >&5
3341 ac_header_preproc
=no
3343 rm -f conftest.err conftest.
$ac_ext
3344 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3345 echo "${ECHO_T}$ac_header_preproc" >&6
3347 # So? What about this header?
3348 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3350 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
3351 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3352 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
3353 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
3354 ac_header_preproc
=yes
3357 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
3358 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
3359 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
3360 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
3361 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
3362 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
3363 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
3364 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
3365 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
3366 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
3367 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
3368 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
3371 ## ------------------------------------------ ##
3372 ## Report this to the AC_PACKAGE_NAME lists. ##
3373 ## ------------------------------------------ ##
3376 sed "s/^/$as_me: WARNING: /" >&2
3379 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
3380 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
3381 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3382 echo $ECHO_N "(cached) $ECHO_C" >&6
3384 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
3386 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
3387 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
3390 if test $ac_cv_header_Carbon_Carbon_h = yes; then
3396 SAVE_CPPFLAGS
=$CPPFLAGS
3398 CPPFLAGS
="$CPPFLAGS -ObjC"
3399 CFLAGS
="$CFLAGS -ObjC"
3400 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
3401 echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
3402 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6
3403 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
3404 echo $ECHO_N "(cached) $ECHO_C" >&6
3406 echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
3407 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6
3409 # Is the header compilable?
3410 echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
3411 echo $ECHO_N "checking Cocoa/Cocoa.h usability... $ECHO_C" >&6
3412 cat >conftest.
$ac_ext <<_ACEOF
3415 cat confdefs.h
>>conftest.
$ac_ext
3416 cat >>conftest.
$ac_ext <<_ACEOF
3417 /* end confdefs.h. */
3418 $ac_includes_default
3419 #include <Cocoa/Cocoa.h>
3421 rm -f conftest.
$ac_objext
3422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3423 (eval $ac_compile) 2>conftest.er1
3425 grep -v '^ *+' conftest.er1
>conftest.err
3427 cat conftest.err
>&5
3428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3429 (exit $ac_status); } &&
3430 { ac_try
='test -z "$ac_c_werror_flag"
3431 || test ! -s conftest.err'
3432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3436 (exit $ac_status); }; } &&
3437 { ac_try
='test -s conftest.$ac_objext'
3438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3442 (exit $ac_status); }; }; then
3443 ac_header_compiler
=yes
3445 echo "$as_me: failed program was:" >&5
3446 sed 's/^/| /' conftest.
$ac_ext >&5
3448 ac_header_compiler
=no
3450 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3452 echo "${ECHO_T}$ac_header_compiler" >&6
3454 # Is the header present?
3455 echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
3456 echo $ECHO_N "checking Cocoa/Cocoa.h presence... $ECHO_C" >&6
3457 cat >conftest.
$ac_ext <<_ACEOF
3460 cat confdefs.h
>>conftest.
$ac_ext
3461 cat >>conftest.
$ac_ext <<_ACEOF
3462 /* end confdefs.h. */
3463 #include <Cocoa/Cocoa.h>
3465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3466 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3468 grep -v '^ *+' conftest.er1
>conftest.err
3470 cat conftest.err
>&5
3471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472 (exit $ac_status); } >/dev
/null
; then
3473 if test -s conftest.err
; then
3474 ac_cpp_err
=$ac_c_preproc_warn_flag
3475 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3482 if test -z "$ac_cpp_err"; then
3483 ac_header_preproc
=yes
3485 echo "$as_me: failed program was:" >&5
3486 sed 's/^/| /' conftest.
$ac_ext >&5
3488 ac_header_preproc
=no
3490 rm -f conftest.err conftest.
$ac_ext
3491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3492 echo "${ECHO_T}$ac_header_preproc" >&6
3494 # So? What about this header?
3495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3497 { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
3498 echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3499 { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
3500 echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
3501 ac_header_preproc
=yes
3504 { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
3505 echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
3506 { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&5
3507 echo "$as_me: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&2;}
3508 { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
3509 echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
3510 { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&5
3511 echo "$as_me: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&2;}
3512 { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
3513 echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
3514 { echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
3515 echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
3518 ## ------------------------------------------ ##
3519 ## Report this to the AC_PACKAGE_NAME lists. ##
3520 ## ------------------------------------------ ##
3523 sed "s/^/$as_me: WARNING: /" >&2
3526 echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
3527 echo $ECHO_N "checking for Cocoa/Cocoa.h... $ECHO_C" >&6
3528 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
3529 echo $ECHO_N "(cached) $ECHO_C" >&6
3531 ac_cv_header_Cocoa_Cocoa_h
=$ac_header_preproc
3533 echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
3534 echo "${ECHO_T}$ac_cv_header_Cocoa_Cocoa_h" >&6
3537 if test $ac_cv_header_Cocoa_Cocoa_h = yes; then
3542 CPPFLAGS
=$SAVE_CPPFLAGS
3545 if test "x$CARBON" = "xyes" -o "x$COCOA" = "xyes"; then
3546 if test -z "$with_x" -a "X$enable_gui" != Xmotif
-a "X$enable_gui" != Xathena
-a "X$enable_gui" != Xgtk
-a "X$enable_gui" != Xgtk2
; then
3552 if test "$MACARCH" = "intel" -o "$MACARCH" = "both"; then
3553 CFLAGS
=`echo "$CFLAGS" | sed 's/-O[23456789]/-Oz/'`
3557 echo "$as_me:$LINENO: result: no" >&5
3558 echo "${ECHO_T}no" >&6
3564 have_local_include
=''
3566 if test "$GCC" = yes; then
3567 echo 'void f(){}' > conftest.c
3568 have_local_include
=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'`
3569 have_local_lib
=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'`
3570 rm -f conftest.c conftest.o
3572 if test -z "$have_local_lib" -a -d /usr
/local
/lib
; then
3573 tt
=`echo "$LDFLAGS" | sed -e 's+-L/usr/local/lib ++g' -e 's+-L/usr/local/lib$++g'`
3574 if test "$tt" = "$LDFLAGS"; then
3575 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
3578 if test -z "$have_local_include" -a -d /usr
/local
/include
; then
3579 tt
=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 's+-I/usr/local/include$++g'`
3580 if test "$tt" = "$CPPFLAGS"; then
3581 CPPFLAGS
="$CPPFLAGS -I/usr/local/include"
3585 echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
3586 echo $ECHO_N "checking --with-vim-name argument... $ECHO_C" >&6
3588 # Check whether --with-vim-name or --without-vim-name was given.
3589 if test "${with_vim_name+set}" = set; then
3590 withval
="$with_vim_name"
3591 VIMNAME
="$withval"; echo "$as_me:$LINENO: result: $VIMNAME" >&5
3592 echo "${ECHO_T}$VIMNAME" >&6
3594 VIMNAME
="vim"; echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
3595 echo "${ECHO_T}Defaulting to $VIMNAME" >&6
3598 echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
3599 echo $ECHO_N "checking --with-ex-name argument... $ECHO_C" >&6
3601 # Check whether --with-ex-name or --without-ex-name was given.
3602 if test "${with_ex_name+set}" = set; then
3603 withval
="$with_ex_name"
3604 EXNAME
="$withval"; echo "$as_me:$LINENO: result: $EXNAME" >&5
3605 echo "${ECHO_T}$EXNAME" >&6
3607 EXNAME
="ex"; echo "$as_me:$LINENO: result: Defaulting to ex" >&5
3608 echo "${ECHO_T}Defaulting to ex" >&6
3611 echo "$as_me:$LINENO: checking --with-view-name argument" >&5
3612 echo $ECHO_N "checking --with-view-name argument... $ECHO_C" >&6
3614 # Check whether --with-view-name or --without-view-name was given.
3615 if test "${with_view_name+set}" = set; then
3616 withval
="$with_view_name"
3617 VIEWNAME
="$withval"; echo "$as_me:$LINENO: result: $VIEWNAME" >&5
3618 echo "${ECHO_T}$VIEWNAME" >&6
3620 VIEWNAME
="view"; echo "$as_me:$LINENO: result: Defaulting to view" >&5
3621 echo "${ECHO_T}Defaulting to view" >&6
3625 echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
3626 echo $ECHO_N "checking --with-global-runtime argument... $ECHO_C" >&6
3628 # Check whether --with-global-runtime or --without-global-runtime was given.
3629 if test "${with_global_runtime+set}" = set; then
3630 withval
="$with_global_runtime"
3631 echo "$as_me:$LINENO: result: $withval" >&5
3632 echo "${ECHO_T}$withval" >&6; cat >>confdefs.h
<<_ACEOF
3633 #define RUNTIME_GLOBAL "$withval"
3637 echo "$as_me:$LINENO: result: no" >&5
3638 echo "${ECHO_T}no" >&6
3641 echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
3642 echo $ECHO_N "checking --with-modified-by argument... $ECHO_C" >&6
3644 # Check whether --with-modified-by or --without-modified-by was given.
3645 if test "${with_modified_by+set}" = set; then
3646 withval
="$with_modified_by"
3647 echo "$as_me:$LINENO: result: $withval" >&5
3648 echo "${ECHO_T}$withval" >&6; cat >>confdefs.h
<<_ACEOF
3649 #define MODIFIED_BY "$withval"
3653 echo "$as_me:$LINENO: result: no" >&5
3654 echo "${ECHO_T}no" >&6
3657 echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
3658 echo $ECHO_N "checking if character set is EBCDIC... $ECHO_C" >&6
3659 cat >conftest.
$ac_ext <<_ACEOF
3662 cat confdefs.h
>>conftest.
$ac_ext
3663 cat >>conftest.
$ac_ext <<_ACEOF
3664 /* end confdefs.h. */
3669 /* TryCompile function for CharSet.
3670 Treat any failure as ASCII for compatibility with existing art.
3671 Use compile-time rather than run-time tests for cross-compiler
3674 make an error "Character set is not EBCDIC"
3680 rm -f conftest.
$ac_objext
3681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3682 (eval $ac_compile) 2>conftest.er1
3684 grep -v '^ *+' conftest.er1
>conftest.err
3686 cat conftest.err
>&5
3687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3688 (exit $ac_status); } &&
3689 { ac_try
='test -z "$ac_c_werror_flag"
3690 || test ! -s conftest.err'
3691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3695 (exit $ac_status); }; } &&
3696 { ac_try
='test -s conftest.$ac_objext'
3697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); }; }; then
3702 # TryCompile action if true
3705 echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.
$ac_ext >&5
3708 # TryCompile action if false
3711 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3712 # end of TryCompile ])
3713 # end of CacheVal CvEbcdic
3714 echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
3715 echo "${ECHO_T}$cf_cv_ebcdic" >&6
3716 case "$cf_cv_ebcdic" in #(vi
3717 yes) cat >>confdefs.h
<<\_ACEOF
3723 *) line_break
='"\\012"';;
3727 if test "$cf_cv_ebcdic" = "yes"; then
3728 echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
3729 echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6
3731 OS
/390) OS390Unix
="yes";
3732 if test "$CC" = "cc"; then
3736 if test "$CC" = "c89"; then
3743 if test "$ccm" != "1"; then
3745 echo "------------------------------------------"
3746 echo " On OS/390 Unix, the environment variable"
3747 echo " __CC_${ccn}MODE must be set to \"1\"!"
3749 echo " export _CC_${ccn}MODE=1"
3750 echo " and then call configure again."
3751 echo "------------------------------------------"
3754 CFLAGS
="$CFLAGS -D_ALL_SOURCE"; LDFLAGS
="$LDFLAGS -Wl,EDIT=NO"
3755 echo "$as_me:$LINENO: result: yes" >&5
3756 echo "${ECHO_T}yes" >&6
3759 echo "$as_me:$LINENO: result: no" >&5
3760 echo "${ECHO_T}no" >&6
3767 echo "$as_me:$LINENO: checking --with-features argument" >&5
3768 echo $ECHO_N "checking --with-features argument... $ECHO_C" >&6
3770 # Check whether --with-features or --without-features was given.
3771 if test "${with_features+set}" = set; then
3772 withval
="$with_features"
3773 features
="$withval"; echo "$as_me:$LINENO: result: $features" >&5
3774 echo "${ECHO_T}$features" >&6
3776 features
="normal"; echo "$as_me:$LINENO: result: Defaulting to normal" >&5
3777 echo "${ECHO_T}Defaulting to normal" >&6
3783 tiny
) cat >>confdefs.h
<<\_ACEOF
3787 small
) cat >>confdefs.h
<<\_ACEOF
3788 #define FEAT_SMALL 1
3791 normal
) cat >>confdefs.h
<<\_ACEOF
3792 #define FEAT_NORMAL 1
3794 dovimdiff
="installvimdiff";
3795 dogvimdiff
="installgvimdiff" ;;
3796 big
) cat >>confdefs.h
<<\_ACEOF
3799 dovimdiff
="installvimdiff";
3800 dogvimdiff
="installgvimdiff" ;;
3801 huge
) cat >>confdefs.h
<<\_ACEOF
3804 dovimdiff
="installvimdiff";
3805 dogvimdiff
="installgvimdiff" ;;
3806 *) echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
3807 echo "${ECHO_T}Sorry, $features is not supported" >&6 ;;
3813 echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
3814 echo $ECHO_N "checking --with-compiledby argument... $ECHO_C" >&6
3816 # Check whether --with-compiledby or --without-compiledby was given.
3817 if test "${with_compiledby+set}" = set; then
3818 withval
="$with_compiledby"
3819 compiledby
="$withval"; echo "$as_me:$LINENO: result: $withval" >&5
3820 echo "${ECHO_T}$withval" >&6
3822 compiledby
=""; echo "$as_me:$LINENO: result: no" >&5
3823 echo "${ECHO_T}no" >&6
3827 echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
3828 echo $ECHO_N "checking --disable-xsmp argument... $ECHO_C" >&6
3829 # Check whether --enable-xsmp or --disable-xsmp was given.
3830 if test "${enable_xsmp+set}" = set; then
3831 enableval
="$enable_xsmp"
3837 if test "$enable_xsmp" = "yes"; then
3838 echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6
3840 echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
3841 echo $ECHO_N "checking --disable-xsmp-interact argument... $ECHO_C" >&6
3842 # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given.
3843 if test "${enable_xsmp_interact+set}" = set; then
3844 enableval
="$enable_xsmp_interact"
3847 enable_xsmp_interact
="yes"
3849 if test "$enable_xsmp_interact" = "yes"; then
3850 echo "$as_me:$LINENO: result: no" >&5
3851 echo "${ECHO_T}no" >&6
3852 cat >>confdefs.h
<<\_ACEOF
3853 #define USE_XSMP_INTERACT 1
3857 echo "$as_me:$LINENO: result: yes" >&5
3858 echo "${ECHO_T}yes" >&6
3861 echo "$as_me:$LINENO: result: yes" >&5
3862 echo "${ECHO_T}yes" >&6
3865 echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
3866 echo $ECHO_N "checking --enable-mzschemeinterp argument... $ECHO_C" >&6
3867 # Check whether --enable-mzschemeinterp or --disable-mzschemeinterp was given.
3868 if test "${enable_mzschemeinterp+set}" = set; then
3869 enableval
="$enable_mzschemeinterp"
3872 enable_mzschemeinterp
="no"
3874 echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
3875 echo "${ECHO_T}$enable_mzschemeinterp" >&6
3877 if test "$enable_mzschemeinterp" = "yes"; then
3880 echo "$as_me:$LINENO: checking --with-plthome argument" >&5
3881 echo $ECHO_N "checking --with-plthome argument... $ECHO_C" >&6
3883 # Check whether --with-plthome or --without-plthome was given.
3884 if test "${with_plthome+set}" = set; then
3885 withval
="$with_plthome"
3886 with_plthome
="$withval"; echo "$as_me:$LINENO: result: $with_plthome" >&5
3887 echo "${ECHO_T}$with_plthome" >&6
3889 with_plthome
="";echo "$as_me:$LINENO: result: \"no\"" >&5
3890 echo "${ECHO_T}\"no\"" >&6
3893 if test "X$with_plthome" != "X"; then
3894 vi_cv_path_mzscheme_pfx
="$with_plthome"
3896 echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
3897 echo $ECHO_N "checking PLTHOME environment var... $ECHO_C" >&6
3898 if test "X$PLTHOME" != "X"; then
3899 echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
3900 echo "${ECHO_T}\"$PLTHOME\"" >&6
3901 vi_cv_path_mzscheme_pfx
="$PLTHOME"
3903 echo "$as_me:$LINENO: result: \"not set\"" >&5
3904 echo "${ECHO_T}\"not set\"" >&6
3905 # Extract the first word of "mzscheme", so it can be a program name with args.
3906 set dummy mzscheme
; ac_word
=$2
3907 echo "$as_me:$LINENO: checking for $ac_word" >&5
3908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3909 if test "${ac_cv_path_vi_cv_path_mzscheme+set}" = set; then
3910 echo $ECHO_N "(cached) $ECHO_C" >&6
3912 case $vi_cv_path_mzscheme in
3914 ac_cv_path_vi_cv_path_mzscheme
="$vi_cv_path_mzscheme" # Let the user override the test with a path.
3917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3921 test -z "$as_dir" && as_dir
=.
3922 for ac_exec_ext
in '' $ac_executable_extensions; do
3923 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3924 ac_cv_path_vi_cv_path_mzscheme
="$as_dir/$ac_word$ac_exec_ext"
3925 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3934 vi_cv_path_mzscheme
=$ac_cv_path_vi_cv_path_mzscheme
3936 if test -n "$vi_cv_path_mzscheme"; then
3937 echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
3938 echo "${ECHO_T}$vi_cv_path_mzscheme" >&6
3940 echo "$as_me:$LINENO: result: no" >&5
3941 echo "${ECHO_T}no" >&6
3945 if test "X$vi_cv_path_mzscheme" != "X"; then
3946 lsout
=`ls -l $vi_cv_path_mzscheme`
3947 if echo "$lsout" |
grep -e '->' >/dev
/null
2>/dev
/null
; then
3948 vi_cv_path_mzscheme
=`echo "$lsout" | sed 's/.*-> \(.*\)/\1/'`
3952 if test "X$vi_cv_path_mzscheme" != "X"; then
3953 echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
3954 echo $ECHO_N "checking MzScheme install prefix... $ECHO_C" >&6
3955 if test "${vi_cv_path_mzscheme_pfx+set}" = set; then
3956 echo $ECHO_N "(cached) $ECHO_C" >&6
3958 vi_cv_path_mzscheme_pfx
=`
3959 ${vi_cv_path_mzscheme} -evm \
3960 "(display (simplify-path \
3961 (build-path (call-with-values \
3962 (lambda () (split-path (find-system-path (quote exec-file)))) \
3963 (lambda (base name must-be-dir?) base)) (quote up))))"`
3965 echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
3966 echo "${ECHO_T}$vi_cv_path_mzscheme_pfx" >&6
3967 vi_cv_path_mzscheme_pfx
=`echo "$vi_cv_path_mzscheme_pfx" | sed 's+/$++'`
3973 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
3974 echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
3975 echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... $ECHO_C" >&6
3976 if test -f $vi_cv_path_mzscheme_pfx/include
/scheme.h
; then
3977 echo "$as_me:$LINENO: result: \"yes\"" >&5
3978 echo "${ECHO_T}\"yes\"" >&6
3980 echo "$as_me:$LINENO: result: \"no\"" >&5
3981 echo "${ECHO_T}\"no\"" >&6
3982 echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5
3983 echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... $ECHO_C" >&6
3984 if test -f $vi_cv_path_mzscheme_pfx/include
/plt
/scheme.h
; then
3985 echo "$as_me:$LINENO: result: \"yes\"" >&5
3986 echo "${ECHO_T}\"yes\"" >&6
3989 echo "$as_me:$LINENO: result: \"no\"" >&5
3990 echo "${ECHO_T}\"no\"" >&6
3991 vi_cv_path_mzscheme_pfx
=
3996 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
3997 if test "x$MACOSX" = "xyes"; then
3998 MZSCHEME_LIBS
="-framework PLT_MzScheme"
3999 elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then
4000 MZSCHEME_LIBS
="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"
4002 MZSCHEME_LIBS
="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc"
4003 if test "$GCC" = yes; then
4004 MZSCHEME_LIBS
="$MZSCHEME_LIBS -Wl,-rpath -Wl,${vi_cv_path_mzscheme_pfx}/lib"
4005 elif test "`(uname) 2>/dev/null`" = SunOS
&&
4006 uname
-r |
grep '^5' >/dev
/null
; then
4007 MZSCHEME_LIBS
="$MZSCHEME_LIBS -R ${vi_cv_path_mzscheme_pfx}/lib"
4010 if test -d $vi_cv_path_mzscheme_pfx/lib
/plt
/collects
; then
4011 SCHEME_COLLECTS
=lib
/plt
/
4013 MZSCHEME_CFLAGS
="-I${vi_cv_path_mzscheme_pfx}/include${SCHEME_INC} \
4014 -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects\"'"
4015 MZSCHEME_SRC
="if_mzsch.c"
4016 MZSCHEME_OBJ
="objects/if_mzsch.o"
4017 MZSCHEME_PRO
="if_mzsch.pro"
4018 cat >>confdefs.h
<<\_ACEOF
4019 #define FEAT_MZSCHEME 1
4031 echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
4032 echo $ECHO_N "checking --enable-perlinterp argument... $ECHO_C" >&6
4033 # Check whether --enable-perlinterp or --disable-perlinterp was given.
4034 if test "${enable_perlinterp+set}" = set; then
4035 enableval
="$enable_perlinterp"
4038 enable_perlinterp
="no"
4040 echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
4041 echo "${ECHO_T}$enable_perlinterp" >&6
4042 if test "$enable_perlinterp" = "yes"; then
4044 # Extract the first word of "perl", so it can be a program name with args.
4045 set dummy perl
; ac_word
=$2
4046 echo "$as_me:$LINENO: checking for $ac_word" >&5
4047 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4048 if test "${ac_cv_path_vi_cv_path_perl+set}" = set; then
4049 echo $ECHO_N "(cached) $ECHO_C" >&6
4051 case $vi_cv_path_perl in
4053 ac_cv_path_vi_cv_path_perl
="$vi_cv_path_perl" # Let the user override the test with a path.
4056 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4060 test -z "$as_dir" && as_dir
=.
4061 for ac_exec_ext
in '' $ac_executable_extensions; do
4062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4063 ac_cv_path_vi_cv_path_perl
="$as_dir/$ac_word$ac_exec_ext"
4064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4073 vi_cv_path_perl
=$ac_cv_path_vi_cv_path_perl
4075 if test -n "$vi_cv_path_perl"; then
4076 echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
4077 echo "${ECHO_T}$vi_cv_path_perl" >&6
4079 echo "$as_me:$LINENO: result: no" >&5
4080 echo "${ECHO_T}no" >&6
4083 if test "X$vi_cv_path_perl" != "X"; then
4084 echo "$as_me:$LINENO: checking Perl version" >&5
4085 echo $ECHO_N "checking Perl version... $ECHO_C" >&6
4086 if $vi_cv_path_perl -e 'require 5.003_01' >/dev
/null
2>/dev
/null
; then
4087 eval `$vi_cv_path_perl -V:usethreads`
4088 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
4091 if $vi_cv_path_perl -e 'require 5.6.0' >/dev
/null
2>/dev
/null
; then
4092 eval `$vi_cv_path_perl -V:use5005threads`
4093 if test "X$use5005threads" = "XUNKNOWN" -o "X$use5005threads" = "Xundef"; then
4097 echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
4098 echo "${ECHO_T}>>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6
4102 echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
4103 echo "${ECHO_T}>>> Perl 5.5 with threads cannot be used <<<" >&6
4106 if test $badthreads = no
; then
4107 echo "$as_me:$LINENO: result: OK" >&5
4108 echo "${ECHO_T}OK" >&6
4109 eval `$vi_cv_path_perl -V:shrpenv`
4110 if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
4113 vi_cv_perllib
=`$vi_cv_path_perl -MConfig -e 'print $Config{privlibexp}'`
4115 perlcppflags
=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
4116 -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//'`
4117 perllibs
=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
4118 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
4119 -e 's/-bE:perl.exp//' -e 's/-lc //'`
4120 perlldflags
=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
4121 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
4123 echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
4124 echo $ECHO_N "checking if compile and link flags for Perl are sane... $ECHO_C" >&6
4127 ldflags_save
=$LDFLAGS
4128 CFLAGS
="$CFLAGS $perlcppflags"
4129 LIBS
="$LIBS $perllibs"
4130 LDFLAGS
="$perlldflags $LDFLAGS"
4131 cat >conftest.
$ac_ext <<_ACEOF
4134 cat confdefs.h
>>conftest.
$ac_ext
4135 cat >>conftest.
$ac_ext <<_ACEOF
4136 /* end confdefs.h. */
4146 rm -f conftest.
$ac_objext conftest
$ac_exeext
4147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4148 (eval $ac_link) 2>conftest.er1
4150 grep -v '^ *+' conftest.er1
>conftest.err
4152 cat conftest.err
>&5
4153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4154 (exit $ac_status); } &&
4155 { ac_try
='test -z "$ac_c_werror_flag"
4156 || test ! -s conftest.err'
4157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4161 (exit $ac_status); }; } &&
4162 { ac_try
='test -s conftest$ac_exeext'
4163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4167 (exit $ac_status); }; }; then
4168 echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6; perl_ok
=yes
4171 echo "$as_me: failed program was:" >&5
4172 sed 's/^/| /' conftest.
$ac_ext >&5
4174 echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
4175 echo "${ECHO_T}no: PERL DISABLED" >&6; perl_ok
=no
4177 rm -f conftest.err conftest.
$ac_objext \
4178 conftest
$ac_exeext conftest.
$ac_ext
4181 LDFLAGS
=$ldflags_save
4182 if test $perl_ok = yes; then
4183 if test "X$perlcppflags" != "X"; then
4184 PERL_CFLAGS
=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[^ ]*//'`
4186 if test "X$perlldflags" != "X"; then
4187 LDFLAGS
="$perlldflags $LDFLAGS"
4190 PERL_SRC
="auto/if_perl.c if_perlsfio.c"
4191 PERL_OBJ
="objects/if_perl.o objects/if_perlsfio.o"
4192 PERL_PRO
="if_perl.pro if_perlsfio.pro"
4193 cat >>confdefs.h
<<\_ACEOF
4200 echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
4201 echo "${ECHO_T}>>> too old; need Perl version 5.003_01 or later <<<" >&6
4205 if test "x$MACOSX" = "xyes"; then
4206 dir
=/System
/Library
/Perl
4207 darwindir
=$dir/darwin
4208 if test -d $darwindir; then
4211 dir
=/System
/Library
/Perl
/5.8.1
4212 darwindir
=$dir/darwin-thread-multi-2level
4213 if test -d $darwindir; then
4217 if test -n "$PERL"; then
4219 PERL_CFLAGS
="-DFEAT_PERL -I$darwindir/CORE"
4220 PERL_OBJ
="objects/if_perl.o objects/if_perlsfio.o $darwindir/auto/DynaLoader/DynaLoader.a"
4221 PERL_LIBS
="-L$darwindir/CORE -lperl"
4232 echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
4233 echo $ECHO_N "checking --enable-pythoninterp argument... $ECHO_C" >&6
4234 # Check whether --enable-pythoninterp or --disable-pythoninterp was given.
4235 if test "${enable_pythoninterp+set}" = set; then
4236 enableval
="$enable_pythoninterp"
4239 enable_pythoninterp
="no"
4241 echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
4242 echo "${ECHO_T}$enable_pythoninterp" >&6
4243 if test "$enable_pythoninterp" = "yes"; then
4244 # Extract the first word of "python", so it can be a program name with args.
4245 set dummy python
; ac_word
=$2
4246 echo "$as_me:$LINENO: checking for $ac_word" >&5
4247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4248 if test "${ac_cv_path_vi_cv_path_python+set}" = set; then
4249 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 case $vi_cv_path_python in
4253 ac_cv_path_vi_cv_path_python
="$vi_cv_path_python" # Let the user override the test with a path.
4256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir
=.
4261 for ac_exec_ext
in '' $ac_executable_extensions; do
4262 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4263 ac_cv_path_vi_cv_path_python
="$as_dir/$ac_word$ac_exec_ext"
4264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 vi_cv_path_python
=$ac_cv_path_vi_cv_path_python
4275 if test -n "$vi_cv_path_python"; then
4276 echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
4277 echo "${ECHO_T}$vi_cv_path_python" >&6
4279 echo "$as_me:$LINENO: result: no" >&5
4280 echo "${ECHO_T}no" >&6
4283 if test "X$vi_cv_path_python" != "X"; then
4285 echo "$as_me:$LINENO: checking Python version" >&5
4286 echo $ECHO_N "checking Python version... $ECHO_C" >&6
4287 if test "${vi_cv_var_python_version+set}" = set; then
4288 echo $ECHO_N "(cached) $ECHO_C" >&6
4290 vi_cv_var_python_version
=`
4291 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'`
4294 echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
4295 echo "${ECHO_T}$vi_cv_var_python_version" >&6
4297 echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
4298 echo $ECHO_N "checking Python is 1.4 or better... $ECHO_C" >&6
4299 if ${vi_cv_path_python} -c \
4300 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)"
4302 echo "$as_me:$LINENO: result: yep" >&5
4303 echo "${ECHO_T}yep" >&6
4305 echo "$as_me:$LINENO: checking Python's install prefix" >&5
4306 echo $ECHO_N "checking Python's install prefix... $ECHO_C" >&6
4307 if test "${vi_cv_path_python_pfx+set}" = set; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 vi_cv_path_python_pfx
=`
4311 ${vi_cv_path_python} -c \
4312 "import sys; print sys.prefix"`
4314 echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
4315 echo "${ECHO_T}$vi_cv_path_python_pfx" >&6
4317 echo "$as_me:$LINENO: checking Python's execution prefix" >&5
4318 echo $ECHO_N "checking Python's execution prefix... $ECHO_C" >&6
4319 if test "${vi_cv_path_python_epfx+set}" = set; then
4320 echo $ECHO_N "(cached) $ECHO_C" >&6
4322 vi_cv_path_python_epfx
=`
4323 ${vi_cv_path_python} -c \
4324 "import sys; print sys.exec_prefix"`
4326 echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
4327 echo "${ECHO_T}$vi_cv_path_python_epfx" >&6
4330 if test "${vi_cv_path_pythonpath+set}" = set; then
4331 echo $ECHO_N "(cached) $ECHO_C" >&6
4333 vi_cv_path_pythonpath
=`
4335 ${vi_cv_path_python} -c \
4336 "import sys, string; print string.join(sys.path,':')"`
4342 # Check whether --with-python-config-dir or --without-python-config-dir was given.
4343 if test "${with_python_config_dir+set}" = set; then
4344 withval
="$with_python_config_dir"
4345 vi_cv_path_python_conf
="${withval}"
4348 echo "$as_me:$LINENO: checking Python's configuration directory" >&5
4349 echo $ECHO_N "checking Python's configuration directory... $ECHO_C" >&6
4350 if test "${vi_cv_path_python_conf+set}" = set; then
4351 echo $ECHO_N "(cached) $ECHO_C" >&6
4354 vi_cv_path_python_conf
=
4355 for path
in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
4356 for subdir
in lib share
; do
4357 d
="${path}/${subdir}/python${vi_cv_var_python_version}/config"
4358 if test -d "$d" && test -f "$d/config.c"; then
4359 vi_cv_path_python_conf
="$d"
4365 echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
4366 echo "${ECHO_T}$vi_cv_path_python_conf" >&6
4368 PYTHON_CONFDIR
="${vi_cv_path_python_conf}"
4370 if test "X$PYTHON_CONFDIR" = "X"; then
4371 echo "$as_me:$LINENO: result: can't find it!" >&5
4372 echo "${ECHO_T}can't find it!" >&6
4375 if test "${vi_cv_path_python_plibs+set}" = set; then
4376 echo $ECHO_N "(cached) $ECHO_C" >&6
4379 tmp_mkf
="/tmp/Makefile-conf$$"
4380 cat ${PYTHON_CONFDIR}/Makefile
- <<'eof' >${tmp_mkf}
4382 @echo "python_MODLIBS='$(MODLIBS)'"
4383 @echo "python_LIBS='$(LIBS)'"
4384 @echo "python_SYSLIBS='$(SYSLIBS)'"
4385 @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
4387 eval "`cd ${PYTHON_CONFDIR} && make -f ${tmp_mkf} __ | sed '/ directory /d'`"
4389 if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
4390 "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
4391 vi_cv_path_python_plibs
="-framework Python"
4393 if test "${vi_cv_var_python_version}" = "1.4"; then
4394 vi_cv_path_python_plibs
="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a"
4396 vi_cv_path_python_plibs
="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
4398 vi_cv_path_python_plibs
="${vi_cv_path_python_plibs} ${python_MODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}"
4399 vi_cv_path_python_plibs
=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//`
4405 PYTHON_LIBS
="${vi_cv_path_python_plibs}"
4406 if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
4407 PYTHON_CFLAGS
="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}"
4409 PYTHON_CFLAGS
="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version} -I${vi_cv_path_python_epfx}/include/python${vi_cv_var_python_version}"
4411 PYTHON_SRC
="if_python.c"
4412 if test "x$MACOSX" = "xyes"; then
4413 PYTHON_OBJ
="objects/if_python.o"
4415 PYTHON_OBJ
="objects/if_python.o objects/py_config.o"
4417 if test "${vi_cv_var_python_version}" = "1.4"; then
4418 PYTHON_OBJ
="$PYTHON_OBJ objects/py_getpath.o"
4420 PYTHON_GETPATH_CFLAGS
="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'"
4422 echo "$as_me:$LINENO: checking if -pthread should be used" >&5
4423 echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6
4426 if test "`(uname) 2>/dev/null`" != Darwin
; then
4427 test "$GCC" = yes && threadsafe_flag
="-pthread"
4428 if test "`(uname) 2>/dev/null`" = FreeBSD
; then
4429 threadsafe_flag
="-D_THREAD_SAFE"
4430 thread_lib
="-pthread"
4434 if test -n "$threadsafe_flag"; then
4436 CFLAGS
="$CFLAGS $threadsafe_flag"
4437 LIBS
="$LIBS $thread_lib"
4438 cat >conftest.
$ac_ext <<_ACEOF
4441 cat confdefs.h
>>conftest.
$ac_ext
4442 cat >>conftest.
$ac_ext <<_ACEOF
4443 /* end confdefs.h. */
4453 rm -f conftest.
$ac_objext conftest
$ac_exeext
4454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4455 (eval $ac_link) 2>conftest.er1
4457 grep -v '^ *+' conftest.er1
>conftest.err
4459 cat conftest.err
>&5
4460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4461 (exit $ac_status); } &&
4462 { ac_try
='test -z "$ac_c_werror_flag"
4463 || test ! -s conftest.err'
4464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4468 (exit $ac_status); }; } &&
4469 { ac_try
='test -s conftest$ac_exeext'
4470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4474 (exit $ac_status); }; }; then
4475 echo "$as_me:$LINENO: result: yes" >&5
4476 echo "${ECHO_T}yes" >&6; PYTHON_CFLAGS
="$PYTHON_CFLAGS $threadsafe_flag"
4478 echo "$as_me: failed program was:" >&5
4479 sed 's/^/| /' conftest.
$ac_ext >&5
4481 echo "$as_me:$LINENO: result: no" >&5
4482 echo "${ECHO_T}no" >&6; LIBS
=$libs_save_old
4485 rm -f conftest.err conftest.
$ac_objext \
4486 conftest
$ac_exeext conftest.
$ac_ext
4489 echo "$as_me:$LINENO: result: no" >&5
4490 echo "${ECHO_T}no" >&6
4493 echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
4494 echo $ECHO_N "checking if compile and link flags for Python are sane... $ECHO_C" >&6
4497 CFLAGS
="$CFLAGS $PYTHON_CFLAGS"
4498 LIBS
="$LIBS $PYTHON_LIBS"
4499 cat >conftest.
$ac_ext <<_ACEOF
4502 cat confdefs.h
>>conftest.
$ac_ext
4503 cat >>conftest.
$ac_ext <<_ACEOF
4504 /* end confdefs.h. */
4514 rm -f conftest.
$ac_objext conftest
$ac_exeext
4515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4516 (eval $ac_link) 2>conftest.er1
4518 grep -v '^ *+' conftest.er1
>conftest.err
4520 cat conftest.err
>&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); } &&
4523 { ac_try
='test -z "$ac_c_werror_flag"
4524 || test ! -s conftest.err'
4525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4529 (exit $ac_status); }; } &&
4530 { ac_try
='test -s conftest$ac_exeext'
4531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4535 (exit $ac_status); }; }; then
4536 echo "$as_me:$LINENO: result: yes" >&5
4537 echo "${ECHO_T}yes" >&6; python_ok
=yes
4539 echo "$as_me: failed program was:" >&5
4540 sed 's/^/| /' conftest.
$ac_ext >&5
4542 echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
4543 echo "${ECHO_T}no: PYTHON DISABLED" >&6; python_ok
=no
4545 rm -f conftest.err conftest.
$ac_objext \
4546 conftest
$ac_exeext conftest.
$ac_ext
4549 if test $python_ok = yes; then
4550 cat >>confdefs.h
<<\_ACEOF
4551 #define FEAT_PYTHON 1
4564 echo "$as_me:$LINENO: result: too old" >&5
4565 echo "${ECHO_T}too old" >&6
4576 echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
4577 echo $ECHO_N "checking --enable-tclinterp argument... $ECHO_C" >&6
4578 # Check whether --enable-tclinterp or --disable-tclinterp was given.
4579 if test "${enable_tclinterp+set}" = set; then
4580 enableval
="$enable_tclinterp"
4583 enable_tclinterp
="no"
4585 echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
4586 echo "${ECHO_T}$enable_tclinterp" >&6
4588 if test "$enable_tclinterp" = "yes"; then
4590 echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
4591 echo $ECHO_N "checking --with-tclsh argument... $ECHO_C" >&6
4593 # Check whether --with-tclsh or --without-tclsh was given.
4594 if test "${with_tclsh+set}" = set; then
4595 withval
="$with_tclsh"
4596 tclsh_name
="$withval"; echo "$as_me:$LINENO: result: $tclsh_name" >&5
4597 echo "${ECHO_T}$tclsh_name" >&6
4599 tclsh_name
="tclsh8.4"; echo "$as_me:$LINENO: result: no" >&5
4600 echo "${ECHO_T}no" >&6
4602 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4603 set dummy
$tclsh_name; ac_word
=$2
4604 echo "$as_me:$LINENO: checking for $ac_word" >&5
4605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4606 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4607 echo $ECHO_N "(cached) $ECHO_C" >&6
4609 case $vi_cv_path_tcl in
4611 ac_cv_path_vi_cv_path_tcl
="$vi_cv_path_tcl" # Let the user override the test with a path.
4614 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4618 test -z "$as_dir" && as_dir
=.
4619 for ac_exec_ext
in '' $ac_executable_extensions; do
4620 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4621 ac_cv_path_vi_cv_path_tcl
="$as_dir/$ac_word$ac_exec_ext"
4622 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4631 vi_cv_path_tcl
=$ac_cv_path_vi_cv_path_tcl
4633 if test -n "$vi_cv_path_tcl"; then
4634 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4635 echo "${ECHO_T}$vi_cv_path_tcl" >&6
4637 echo "$as_me:$LINENO: result: no" >&5
4638 echo "${ECHO_T}no" >&6
4643 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then
4644 tclsh_name
="tclsh8.2"
4645 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4646 set dummy
$tclsh_name; ac_word
=$2
4647 echo "$as_me:$LINENO: checking for $ac_word" >&5
4648 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4649 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4650 echo $ECHO_N "(cached) $ECHO_C" >&6
4652 case $vi_cv_path_tcl in
4654 ac_cv_path_vi_cv_path_tcl
="$vi_cv_path_tcl" # Let the user override the test with a path.
4657 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4661 test -z "$as_dir" && as_dir
=.
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4664 ac_cv_path_vi_cv_path_tcl
="$as_dir/$ac_word$ac_exec_ext"
4665 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4674 vi_cv_path_tcl
=$ac_cv_path_vi_cv_path_tcl
4676 if test -n "$vi_cv_path_tcl"; then
4677 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4678 echo "${ECHO_T}$vi_cv_path_tcl" >&6
4680 echo "$as_me:$LINENO: result: no" >&5
4681 echo "${ECHO_T}no" >&6
4685 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.2"; then
4686 tclsh_name
="tclsh8.0"
4687 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4688 set dummy
$tclsh_name; ac_word
=$2
4689 echo "$as_me:$LINENO: checking for $ac_word" >&5
4690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4691 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4692 echo $ECHO_N "(cached) $ECHO_C" >&6
4694 case $vi_cv_path_tcl in
4696 ac_cv_path_vi_cv_path_tcl
="$vi_cv_path_tcl" # Let the user override the test with a path.
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4703 test -z "$as_dir" && as_dir
=.
4704 for ac_exec_ext
in '' $ac_executable_extensions; do
4705 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4706 ac_cv_path_vi_cv_path_tcl
="$as_dir/$ac_word$ac_exec_ext"
4707 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4716 vi_cv_path_tcl
=$ac_cv_path_vi_cv_path_tcl
4718 if test -n "$vi_cv_path_tcl"; then
4719 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4720 echo "${ECHO_T}$vi_cv_path_tcl" >&6
4722 echo "$as_me:$LINENO: result: no" >&5
4723 echo "${ECHO_T}no" >&6
4727 if test "X$vi_cv_path_tcl" = "X"; then
4729 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4730 set dummy
$tclsh_name; ac_word
=$2
4731 echo "$as_me:$LINENO: checking for $ac_word" >&5
4732 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4733 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4734 echo $ECHO_N "(cached) $ECHO_C" >&6
4736 case $vi_cv_path_tcl in
4738 ac_cv_path_vi_cv_path_tcl
="$vi_cv_path_tcl" # Let the user override the test with a path.
4741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4745 test -z "$as_dir" && as_dir
=.
4746 for ac_exec_ext
in '' $ac_executable_extensions; do
4747 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4748 ac_cv_path_vi_cv_path_tcl
="$as_dir/$ac_word$ac_exec_ext"
4749 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4758 vi_cv_path_tcl
=$ac_cv_path_vi_cv_path_tcl
4760 if test -n "$vi_cv_path_tcl"; then
4761 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4762 echo "${ECHO_T}$vi_cv_path_tcl" >&6
4764 echo "$as_me:$LINENO: result: no" >&5
4765 echo "${ECHO_T}no" >&6
4769 if test "X$vi_cv_path_tcl" != "X"; then
4770 echo "$as_me:$LINENO: checking Tcl version" >&5
4771 echo $ECHO_N "checking Tcl version... $ECHO_C" >&6
4772 if echo 'exit [expr [info tclversion] < 8.0]' |
$vi_cv_path_tcl - ; then
4773 tclver
=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -`
4774 echo "$as_me:$LINENO: result: $tclver - OK" >&5
4775 echo "${ECHO_T}$tclver - OK" >&6;
4776 tclloc
=`echo 'set l [info library];set i [string last lib $l];incr i -2;puts [string range $l 0 $i]' | $vi_cv_path_tcl -`
4778 echo "$as_me:$LINENO: checking for location of Tcl include" >&5
4779 echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6
4780 if test "x$MACOSX" != "xyes"; then
4781 tclinc
="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include"
4783 tclinc
="/System/Library/Frameworks/Tcl.framework/Headers"
4785 for try
in $tclinc; do
4786 if test -f "$try/tcl.h"; then
4787 echo "$as_me:$LINENO: result: $try/tcl.h" >&5
4788 echo "${ECHO_T}$try/tcl.h" >&6
4793 if test -z "$TCL_INC"; then
4794 echo "$as_me:$LINENO: result: <not found>" >&5
4795 echo "${ECHO_T}<not found>" >&6
4798 if test -z "$SKIP_TCL"; then
4799 echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
4800 echo $ECHO_N "checking for location of tclConfig.sh script... $ECHO_C" >&6
4801 if test "x$MACOSX" != "xyes"; then
4802 tclcnf
=`echo $tclinc | sed s/include/lib/g`
4804 tclcnf
="/System/Library/Frameworks/Tcl.framework"
4806 for try
in $tclcnf; do
4807 if test -f $try/tclConfig.sh
; then
4808 echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
4809 echo "${ECHO_T}$try/tclConfig.sh" >&6
4811 TCL_LIBS
=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
4812 TCL_DEFS
=`echo $TCL_DEFS | sed -e 's/\\\\ /\\\\X/g' | tr ' ' '\012' | sed -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' | tr '\012' ' ' | sed -e 's/\\\\X/\\\\ /g'`
4816 if test -z "$TCL_LIBS"; then
4817 echo "$as_me:$LINENO: result: <not found>" >&5
4818 echo "${ECHO_T}<not found>" >&6
4819 echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
4820 echo $ECHO_N "checking for Tcl library by myself... $ECHO_C" >&6
4821 tcllib
=`echo $tclinc | sed s/include/lib/g`
4822 for ext
in .so .a
; do
4823 for ver
in "" $tclver ; do
4824 for try
in $tcllib ; do
4826 if test -f $try/lib
$trylib ; then
4827 echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
4828 echo "${ECHO_T}$try/lib$trylib" >&6
4829 TCL_LIBS
="-L$try -ltcl$ver -ldl -lm"
4830 if test "`(uname) 2>/dev/null`" = SunOS
&&
4831 uname
-r |
grep '^5' >/dev
/null
; then
4832 TCL_LIBS
="$TCL_LIBS -R $try"
4839 if test -z "$TCL_LIBS"; then
4840 echo "$as_me:$LINENO: result: <not found>" >&5
4841 echo "${ECHO_T}<not found>" >&6
4845 if test -z "$SKIP_TCL"; then
4846 cat >>confdefs.h
<<\_ACEOF
4851 TCL_OBJ
=objects
/if_tcl.o
4853 TCL_CFLAGS
="-I$TCL_INC $TCL_DEFS"
4857 echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
4858 echo "${ECHO_T}too old; need Tcl version 8.0 or later" >&6
4868 echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
4869 echo $ECHO_N "checking --enable-rubyinterp argument... $ECHO_C" >&6
4870 # Check whether --enable-rubyinterp or --disable-rubyinterp was given.
4871 if test "${enable_rubyinterp+set}" = set; then
4872 enableval
="$enable_rubyinterp"
4875 enable_rubyinterp
="no"
4877 echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
4878 echo "${ECHO_T}$enable_rubyinterp" >&6
4879 if test "$enable_rubyinterp" = "yes"; then
4881 # Extract the first word of "ruby", so it can be a program name with args.
4882 set dummy ruby
; ac_word
=$2
4883 echo "$as_me:$LINENO: checking for $ac_word" >&5
4884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4885 if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then
4886 echo $ECHO_N "(cached) $ECHO_C" >&6
4888 case $vi_cv_path_ruby in
4890 ac_cv_path_vi_cv_path_ruby
="$vi_cv_path_ruby" # Let the user override the test with a path.
4893 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4897 test -z "$as_dir" && as_dir
=.
4898 for ac_exec_ext
in '' $ac_executable_extensions; do
4899 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4900 ac_cv_path_vi_cv_path_ruby
="$as_dir/$ac_word$ac_exec_ext"
4901 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4910 vi_cv_path_ruby
=$ac_cv_path_vi_cv_path_ruby
4912 if test -n "$vi_cv_path_ruby"; then
4913 echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
4914 echo "${ECHO_T}$vi_cv_path_ruby" >&6
4916 echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6
4920 if test "X$vi_cv_path_ruby" != "X"; then
4921 echo "$as_me:$LINENO: checking Ruby version" >&5
4922 echo $ECHO_N "checking Ruby version... $ECHO_C" >&6
4923 if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev
/null
2>/dev
/null
; then
4924 echo "$as_me:$LINENO: result: OK" >&5
4925 echo "${ECHO_T}OK" >&6
4926 echo "$as_me:$LINENO: checking Ruby header files" >&5
4927 echo $ECHO_N "checking Ruby header files... $ECHO_C" >&6
4928 rubyhdrdir
=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null`
4929 if test "X$rubyhdrdir" != "X"; then
4930 echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
4931 echo "${ECHO_T}$rubyhdrdir" >&6
4932 RUBY_CFLAGS
="-I$rubyhdrdir"
4933 rubylibs
=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'`
4934 if test "X$rubylibs" != "X"; then
4935 RUBY_LIBS
="$rubylibs"
4937 librubyarg
=`$vi_cv_path_ruby -r rbconfig -e 'print Config.expand(Config::CONFIG["LIBRUBYARG"])'`
4938 if test -f "$rubyhdrdir/$librubyarg"; then
4939 librubyarg
="$rubyhdrdir/$librubyarg"
4941 rubylibdir
=`$vi_cv_path_ruby -r rbconfig -e 'print Config.expand(Config::CONFIG["libdir"])'`
4942 if test -f "$rubylibdir/$librubyarg"; then
4943 librubyarg
="$rubylibdir/$librubyarg"
4944 elif test "$librubyarg" = "libruby.a"; then
4947 librubyarg
=`$vi_cv_path_ruby -r rbconfig -e "print '$librubyarg'.gsub(/-L\./, %'-L#{Config.expand(Config::CONFIG[\"libdir\"])}')"`
4951 if test "X$librubyarg" != "X"; then
4952 RUBY_LIBS
="$librubyarg $RUBY_LIBS"
4954 rubyldflags
=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'`
4955 if test "X$rubyldflags" != "X"; then
4956 LDFLAGS
="$rubyldflags $LDFLAGS"
4958 RUBY_SRC
="if_ruby.c"
4959 RUBY_OBJ
="objects/if_ruby.o"
4960 RUBY_PRO
="if_ruby.pro"
4961 cat >>confdefs.h
<<\_ACEOF
4966 echo "$as_me:$LINENO: result: not found" >&5
4967 echo "${ECHO_T}not found" >&6
4970 echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
4971 echo "${ECHO_T}too old; need Ruby version 1.6.0 or later" >&6
4981 echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
4982 echo $ECHO_N "checking --enable-cscope argument... $ECHO_C" >&6
4983 # Check whether --enable-cscope or --disable-cscope was given.
4984 if test "${enable_cscope+set}" = set; then
4985 enableval
="$enable_cscope"
4990 echo "$as_me:$LINENO: result: $enable_cscope" >&5
4991 echo "${ECHO_T}$enable_cscope" >&6
4992 if test "$enable_cscope" = "yes"; then
4993 cat >>confdefs.h
<<\_ACEOF
4994 #define FEAT_CSCOPE 1
4999 echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
5000 echo $ECHO_N "checking --enable-workshop argument... $ECHO_C" >&6
5001 # Check whether --enable-workshop or --disable-workshop was given.
5002 if test "${enable_workshop+set}" = set; then
5003 enableval
="$enable_workshop"
5006 enable_workshop
="no"
5008 echo "$as_me:$LINENO: result: $enable_workshop" >&5
5009 echo "${ECHO_T}$enable_workshop" >&6
5010 if test "$enable_workshop" = "yes"; then
5011 cat >>confdefs.h
<<\_ACEOF
5012 #define FEAT_SUN_WORKSHOP 1
5015 WORKSHOP_SRC
="workshop.c integration.c"
5017 WORKSHOP_OBJ
="objects/workshop.o objects/integration.o"
5019 if test "${enable_gui-xxx}" = xxx
; then
5024 echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
5025 echo $ECHO_N "checking --disable-netbeans argument... $ECHO_C" >&6
5026 # Check whether --enable-netbeans or --disable-netbeans was given.
5027 if test "${enable_netbeans+set}" = set; then
5028 enableval
="$enable_netbeans"
5031 enable_netbeans
="yes"
5033 if test "$enable_netbeans" = "yes"; then
5034 echo "$as_me:$LINENO: result: no" >&5
5035 echo "${ECHO_T}no" >&6
5037 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5038 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
5039 if test "${ac_cv_lib_socket_socket+set}" = set; then
5040 echo $ECHO_N "(cached) $ECHO_C" >&6
5042 ac_check_lib_save_LIBS
=$LIBS
5043 LIBS
="-lsocket $LIBS"
5044 cat >conftest.
$ac_ext <<_ACEOF
5047 cat confdefs.h
>>conftest.
$ac_ext
5048 cat >>conftest.
$ac_ext <<_ACEOF
5049 /* end confdefs.h. */
5051 /* Override any gcc2 internal prototype to avoid an error. */
5055 /* We use char because int might match the return type of a gcc2
5056 builtin and then its argument prototype would still apply. */
5066 rm -f conftest.
$ac_objext conftest
$ac_exeext
5067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5068 (eval $ac_link) 2>conftest.er1
5070 grep -v '^ *+' conftest.er1
>conftest.err
5072 cat conftest.err
>&5
5073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5074 (exit $ac_status); } &&
5075 { ac_try
='test -z "$ac_c_werror_flag"
5076 || test ! -s conftest.err'
5077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); }; } &&
5082 { ac_try
='test -s conftest$ac_exeext'
5083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5087 (exit $ac_status); }; }; then
5088 ac_cv_lib_socket_socket
=yes
5090 echo "$as_me: failed program was:" >&5
5091 sed 's/^/| /' conftest.
$ac_ext >&5
5093 ac_cv_lib_socket_socket
=no
5095 rm -f conftest.err conftest.
$ac_objext \
5096 conftest
$ac_exeext conftest.
$ac_ext
5097 LIBS
=$ac_check_lib_save_LIBS
5099 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5100 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
5101 if test $ac_cv_lib_socket_socket = yes; then
5102 cat >>confdefs.h
<<_ACEOF
5103 #define HAVE_LIBSOCKET 1
5106 LIBS
="-lsocket $LIBS"
5111 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5112 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5113 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5114 echo $ECHO_N "(cached) $ECHO_C" >&6
5116 ac_check_lib_save_LIBS
=$LIBS
5118 cat >conftest.
$ac_ext <<_ACEOF
5121 cat confdefs.h
>>conftest.
$ac_ext
5122 cat >>conftest.
$ac_ext <<_ACEOF
5123 /* end confdefs.h. */
5125 /* Override any gcc2 internal prototype to avoid an error. */
5129 /* We use char because int might match the return type of a gcc2
5130 builtin and then its argument prototype would still apply. */
5131 char gethostbyname ();
5140 rm -f conftest.
$ac_objext conftest
$ac_exeext
5141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5142 (eval $ac_link) 2>conftest.er1
5144 grep -v '^ *+' conftest.er1
>conftest.err
5146 cat conftest.err
>&5
5147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5148 (exit $ac_status); } &&
5149 { ac_try
='test -z "$ac_c_werror_flag"
5150 || test ! -s conftest.err'
5151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5155 (exit $ac_status); }; } &&
5156 { ac_try
='test -s conftest$ac_exeext'
5157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); }; }; then
5162 ac_cv_lib_nsl_gethostbyname
=yes
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.
$ac_ext >&5
5167 ac_cv_lib_nsl_gethostbyname
=no
5169 rm -f conftest.err conftest.
$ac_objext \
5170 conftest
$ac_exeext conftest.
$ac_ext
5171 LIBS
=$ac_check_lib_save_LIBS
5173 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5174 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5175 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5176 cat >>confdefs.h
<<_ACEOF
5177 #define HAVE_LIBNSL 1
5184 echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
5185 echo $ECHO_N "checking whether compiling netbeans integration is possible... $ECHO_C" >&6
5186 cat >conftest.
$ac_ext <<_ACEOF
5189 cat confdefs.h
>>conftest.
$ac_ext
5190 cat >>conftest.
$ac_ext <<_ACEOF
5191 /* end confdefs.h. */
5198 #include <netinet/in.h>
5200 #include <sys/types.h>
5201 #include <sys/socket.h>
5202 /* Check bitfields */
5204 unsigned int initDone:1;
5212 /* Check creating a socket. */
5213 struct sockaddr_in server;
5214 (void)socket(AF_INET, SOCK_STREAM, 0);
5216 (void)gethostbyname("microsoft.com");
5217 if (errno == ECONNREFUSED)
5218 (void)connect(1, (struct sockaddr *)&server, sizeof(server));
5224 rm -f conftest.
$ac_objext conftest
$ac_exeext
5225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5226 (eval $ac_link) 2>conftest.er1
5228 grep -v '^ *+' conftest.er1
>conftest.err
5230 cat conftest.err
>&5
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); } &&
5233 { ac_try
='test -z "$ac_c_werror_flag"
5234 || test ! -s conftest.err'
5235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5239 (exit $ac_status); }; } &&
5240 { ac_try
='test -s conftest$ac_exeext'
5241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5245 (exit $ac_status); }; }; then
5246 echo "$as_me:$LINENO: result: yes" >&5
5247 echo "${ECHO_T}yes" >&6
5249 echo "$as_me: failed program was:" >&5
5250 sed 's/^/| /' conftest.
$ac_ext >&5
5252 echo "$as_me:$LINENO: result: no" >&5
5253 echo "${ECHO_T}no" >&6; enable_netbeans
="no"
5255 rm -f conftest.err conftest.
$ac_objext \
5256 conftest
$ac_exeext conftest.
$ac_ext
5258 echo "$as_me:$LINENO: result: yes" >&5
5259 echo "${ECHO_T}yes" >&6
5261 if test "$enable_netbeans" = "yes"; then
5262 cat >>confdefs.h
<<\_ACEOF
5263 #define FEAT_NETBEANS_INTG 1
5266 NETBEANS_SRC
="netbeans.c"
5268 NETBEANS_OBJ
="objects/netbeans.o"
5272 echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
5273 echo $ECHO_N "checking --enable-sniff argument... $ECHO_C" >&6
5274 # Check whether --enable-sniff or --disable-sniff was given.
5275 if test "${enable_sniff+set}" = set; then
5276 enableval
="$enable_sniff"
5281 echo "$as_me:$LINENO: result: $enable_sniff" >&5
5282 echo "${ECHO_T}$enable_sniff" >&6
5283 if test "$enable_sniff" = "yes"; then
5284 cat >>confdefs.h
<<\_ACEOF
5285 #define FEAT_SNIFF 1
5288 SNIFF_SRC
="if_sniff.c"
5290 SNIFF_OBJ
="objects/if_sniff.o"
5294 echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
5295 echo $ECHO_N "checking --enable-multibyte argument... $ECHO_C" >&6
5296 # Check whether --enable-multibyte or --disable-multibyte was given.
5297 if test "${enable_multibyte+set}" = set; then
5298 enableval
="$enable_multibyte"
5301 enable_multibyte
="no"
5303 echo "$as_me:$LINENO: result: $enable_multibyte" >&5
5304 echo "${ECHO_T}$enable_multibyte" >&6
5305 if test "$enable_multibyte" = "yes"; then
5306 cat >>confdefs.h
<<\_ACEOF
5307 #define FEAT_MBYTE 1
5312 echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
5313 echo $ECHO_N "checking --enable-hangulinput argument... $ECHO_C" >&6
5314 # Check whether --enable-hangulinput or --disable-hangulinput was given.
5315 if test "${enable_hangulinput+set}" = set; then
5316 enableval
="$enable_hangulinput"
5319 enable_hangulinput
="no"
5321 echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
5322 echo "${ECHO_T}$enable_hangulinput" >&6
5324 echo "$as_me:$LINENO: checking --enable-xim argument" >&5
5325 echo $ECHO_N "checking --enable-xim argument... $ECHO_C" >&6
5326 # Check whether --enable-xim or --disable-xim was given.
5327 if test "${enable_xim+set}" = set; then
5328 enableval
="$enable_xim"
5329 echo "$as_me:$LINENO: result: $enable_xim" >&5
5330 echo "${ECHO_T}$enable_xim" >&6
5332 enable_xim
="auto"; echo "$as_me:$LINENO: result: defaulting to auto" >&5
5333 echo "${ECHO_T}defaulting to auto" >&6
5336 echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
5337 echo $ECHO_N "checking --enable-fontset argument... $ECHO_C" >&6
5338 # Check whether --enable-fontset or --disable-fontset was given.
5339 if test "${enable_fontset+set}" = set; then
5340 enableval
="$enable_fontset"
5345 echo "$as_me:$LINENO: result: $enable_fontset" >&5
5346 echo "${ECHO_T}$enable_fontset" >&6
5348 test -z "$with_x" && with_x
=yes
5349 test "${enable_gui-yes}" != no
-a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && with_x
=yes
5350 if test "$with_x" = no
; then
5351 echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
5352 echo "${ECHO_T}defaulting to: don't HAVE_X11" >&6
5355 # Extract the first word of "xmkmf", so it can be a program name with args.
5356 set dummy xmkmf
; ac_word
=$2
5357 echo "$as_me:$LINENO: checking for $ac_word" >&5
5358 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5359 if test "${ac_cv_path_xmkmfpath+set}" = set; then
5360 echo $ECHO_N "(cached) $ECHO_C" >&6
5364 ac_cv_path_xmkmfpath
="$xmkmfpath" # Let the user override the test with a path.
5367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5371 test -z "$as_dir" && as_dir
=.
5372 for ac_exec_ext
in '' $ac_executable_extensions; do
5373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_path_xmkmfpath
="$as_dir/$ac_word$ac_exec_ext"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5384 xmkmfpath
=$ac_cv_path_xmkmfpath
5386 if test -n "$xmkmfpath"; then
5387 echo "$as_me:$LINENO: result: $xmkmfpath" >&5
5388 echo "${ECHO_T}$xmkmfpath" >&6
5390 echo "$as_me:$LINENO: result: no" >&5
5391 echo "${ECHO_T}no" >&6
5395 echo "$as_me:$LINENO: checking for X" >&5
5396 echo $ECHO_N "checking for X... $ECHO_C" >&6
5399 # Check whether --with-x or --without-x was given.
5400 if test "${with_x+set}" = set; then
5404 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5405 if test "x$with_x" = xno
; then
5406 # The user explicitly disabled X.
5409 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
5410 # Both variables are already set.
5413 if test "${ac_cv_have_x+set}" = set; then
5414 echo $ECHO_N "(cached) $ECHO_C" >&6
5416 # One or both of the vars are not set, and there is no cached value.
5417 ac_x_includes
=no ac_x_libraries
=no
5419 if mkdir conftest.dir
; then
5421 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5422 cat >Imakefile
<<'_ACEOF'
5424 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5426 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5427 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5428 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5429 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5430 for ac_extension
in a so sl
; do
5431 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
5432 test -f $ac_im_libdir/libX11.
$ac_extension; then
5433 ac_im_usrlibdir
=$ac_im_libdir; break
5436 # Screen out bogus values from the imake configuration. They are
5437 # bogus both because they are the default anyway, and because
5438 # using them would break gcc on systems where it needs fixed includes.
5439 case $ac_im_incroot in
5441 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
5443 case $ac_im_usrlibdir in
5445 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
5452 # Standard set of common directories for X headers.
5453 # Check X11 before X11Rn because it is often a symlink to the current release.
5465 /usr/local/X11/include
5466 /usr/local/X11R6/include
5467 /usr/local/X11R5/include
5468 /usr/local/X11R4/include
5470 /usr/local/include/X11
5471 /usr/local/include/X11R6
5472 /usr/local/include/X11R5
5473 /usr/local/include/X11R4
5477 /usr/XFree86/include/X11
5481 /usr/unsupported/include
5483 /usr/local/x11r5/include
5484 /usr/lpp/Xamples/include
5486 /usr/openwin/include
5487 /usr/openwin/share/include'
5489 if test "$ac_x_includes" = no
; then
5490 # Guess where to find include files, by looking for Intrinsic.h.
5491 # First, try using that file with no special directory specified.
5492 cat >conftest.
$ac_ext <<_ACEOF
5495 cat confdefs.h
>>conftest.
$ac_ext
5496 cat >>conftest.
$ac_ext <<_ACEOF
5497 /* end confdefs.h. */
5498 #include <X11/Intrinsic.h>
5500 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5501 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5503 grep -v '^ *+' conftest.er1
>conftest.err
5505 cat conftest.err
>&5
5506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5507 (exit $ac_status); } >/dev
/null
; then
5508 if test -s conftest.err
; then
5509 ac_cpp_err
=$ac_c_preproc_warn_flag
5510 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5517 if test -z "$ac_cpp_err"; then
5518 # We can compile using X headers with no special include directory.
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.
$ac_ext >&5
5524 for ac_dir
in $ac_x_header_dirs; do
5525 if test -r "$ac_dir/X11/Intrinsic.h"; then
5526 ac_x_includes
=$ac_dir
5531 rm -f conftest.err conftest.
$ac_ext
5532 fi # $ac_x_includes = no
5534 if test "$ac_x_libraries" = no
; then
5535 # Check for the libraries.
5536 # See if we find them without any special options.
5537 # Don't add to $LIBS permanently.
5540 cat >conftest.
$ac_ext <<_ACEOF
5543 cat confdefs.h
>>conftest.
$ac_ext
5544 cat >>conftest.
$ac_ext <<_ACEOF
5545 /* end confdefs.h. */
5546 #include <X11/Intrinsic.h>
5555 rm -f conftest.
$ac_objext conftest
$ac_exeext
5556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5557 (eval $ac_link) 2>conftest.er1
5559 grep -v '^ *+' conftest.er1
>conftest.err
5561 cat conftest.err
>&5
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); } &&
5564 { ac_try
='test -z "$ac_c_werror_flag"
5565 || test ! -s conftest.err'
5566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5570 (exit $ac_status); }; } &&
5571 { ac_try
='test -s conftest$ac_exeext'
5572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; }; then
5578 # We can link X programs with no special library path.
5581 echo "$as_me: failed program was:" >&5
5582 sed 's/^/| /' conftest.
$ac_ext >&5
5585 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5587 # Don't even attempt the hair of trying to link an X program!
5588 for ac_extension
in a so sl
; do
5589 if test -r $ac_dir/libXt.
$ac_extension; then
5590 ac_x_libraries
=$ac_dir
5596 rm -f conftest.err conftest.
$ac_objext \
5597 conftest
$ac_exeext conftest.
$ac_ext
5598 fi # $ac_x_libraries = no
5600 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5601 # Didn't find X anywhere. Cache the known absence of X.
5602 ac_cv_have_x
="have_x=no"
5604 # Record where we found X for the cache.
5605 ac_cv_have_x
="have_x=yes \
5606 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5611 eval "$ac_cv_have_x"
5614 if test "$have_x" != yes; then
5615 echo "$as_me:$LINENO: result: $have_x" >&5
5616 echo "${ECHO_T}$have_x" >&6
5619 # If each of the values was on the command line, it overrides each guess.
5620 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5621 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5622 # Update the cache value to reflect the command line values.
5623 ac_cv_have_x
="have_x=yes \
5624 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5625 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5626 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5629 if test "$no_x" = yes; then
5630 # Not all programs may use this symbol, but it does not hurt to define it.
5632 cat >>confdefs.h
<<\_ACEOF
5633 #define X_DISPLAY_MISSING 1
5636 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5638 if test -n "$x_includes"; then
5639 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5642 # It would also be nice to do this for all -L options, not just this one.
5643 if test -n "$x_libraries"; then
5644 X_LIBS
="$X_LIBS -L$x_libraries"
5645 # For Solaris; some versions of Sun CC require a space after -R and
5646 # others require no space. Words are not sufficient . . . .
5647 case `(uname -sr) 2>/dev/null` in
5649 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5650 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5651 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5652 cat >conftest.
$ac_ext <<_ACEOF
5655 cat confdefs.h
>>conftest.
$ac_ext
5656 cat >>conftest.
$ac_ext <<_ACEOF
5657 /* end confdefs.h. */
5667 rm -f conftest.
$ac_objext conftest
$ac_exeext
5668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5669 (eval $ac_link) 2>conftest.er1
5671 grep -v '^ *+' conftest.er1
>conftest.err
5673 cat conftest.err
>&5
5674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5675 (exit $ac_status); } &&
5676 { ac_try
='test -z "$ac_c_werror_flag"
5677 || test ! -s conftest.err'
5678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5682 (exit $ac_status); }; } &&
5683 { ac_try
='test -s conftest$ac_exeext'
5684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5688 (exit $ac_status); }; }; then
5691 echo "$as_me: failed program was:" >&5
5692 sed 's/^/| /' conftest.
$ac_ext >&5
5696 rm -f conftest.err conftest.
$ac_objext \
5697 conftest
$ac_exeext conftest.
$ac_ext
5698 if test $ac_R_nospace = yes; then
5699 echo "$as_me:$LINENO: result: no" >&5
5700 echo "${ECHO_T}no" >&6
5701 X_LIBS
="$X_LIBS -R$x_libraries"
5703 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5704 cat >conftest.
$ac_ext <<_ACEOF
5707 cat confdefs.h
>>conftest.
$ac_ext
5708 cat >>conftest.
$ac_ext <<_ACEOF
5709 /* end confdefs.h. */
5719 rm -f conftest.
$ac_objext conftest
$ac_exeext
5720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5721 (eval $ac_link) 2>conftest.er1
5723 grep -v '^ *+' conftest.er1
>conftest.err
5725 cat conftest.err
>&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); } &&
5728 { ac_try
='test -z "$ac_c_werror_flag"
5729 || test ! -s conftest.err'
5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); }; } &&
5735 { ac_try
='test -s conftest$ac_exeext'
5736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); }; }; then
5743 echo "$as_me: failed program was:" >&5
5744 sed 's/^/| /' conftest.
$ac_ext >&5
5748 rm -f conftest.err conftest.
$ac_objext \
5749 conftest
$ac_exeext conftest.
$ac_ext
5750 if test $ac_R_space = yes; then
5751 echo "$as_me:$LINENO: result: yes" >&5
5752 echo "${ECHO_T}yes" >&6
5753 X_LIBS
="$X_LIBS -R $x_libraries"
5755 echo "$as_me:$LINENO: result: neither works" >&5
5756 echo "${ECHO_T}neither works" >&6
5763 # Check for system-dependent libraries X programs must link with.
5764 # Do this before checking for the system-independent R6 libraries
5765 # (-lICE), since we may need -lsocket or whatever for X linking.
5767 if test "$ISC" = yes; then
5768 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
5770 # Martyn Johnson says this is needed for Ultrix, if the X
5771 # libraries were built with DECnet support. And Karl Berry says
5772 # the Alpha needs dnet_stub (dnet does not exist).
5773 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
5774 cat >conftest.
$ac_ext <<_ACEOF
5777 cat confdefs.h
>>conftest.
$ac_ext
5778 cat >>conftest.
$ac_ext <<_ACEOF
5779 /* end confdefs.h. */
5781 /* Override any gcc2 internal prototype to avoid an error. */
5785 /* We use char because int might match the return type of a gcc2
5786 builtin and then its argument prototype would still apply. */
5787 char XOpenDisplay ();
5796 rm -f conftest.
$ac_objext conftest
$ac_exeext
5797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5798 (eval $ac_link) 2>conftest.er1
5800 grep -v '^ *+' conftest.er1
>conftest.err
5802 cat conftest.err
>&5
5803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5804 (exit $ac_status); } &&
5805 { ac_try
='test -z "$ac_c_werror_flag"
5806 || test ! -s conftest.err'
5807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5811 (exit $ac_status); }; } &&
5812 { ac_try
='test -s conftest$ac_exeext'
5813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); }; }; then
5820 echo "$as_me: failed program was:" >&5
5821 sed 's/^/| /' conftest.
$ac_ext >&5
5823 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5824 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5825 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5826 echo $ECHO_N "(cached) $ECHO_C" >&6
5828 ac_check_lib_save_LIBS
=$LIBS
5830 cat >conftest.
$ac_ext <<_ACEOF
5833 cat confdefs.h
>>conftest.
$ac_ext
5834 cat >>conftest.
$ac_ext <<_ACEOF
5835 /* end confdefs.h. */
5837 /* Override any gcc2 internal prototype to avoid an error. */
5841 /* We use char because int might match the return type of a gcc2
5842 builtin and then its argument prototype would still apply. */
5852 rm -f conftest.
$ac_objext conftest
$ac_exeext
5853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5854 (eval $ac_link) 2>conftest.er1
5856 grep -v '^ *+' conftest.er1
>conftest.err
5858 cat conftest.err
>&5
5859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5860 (exit $ac_status); } &&
5861 { ac_try
='test -z "$ac_c_werror_flag"
5862 || test ! -s conftest.err'
5863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5867 (exit $ac_status); }; } &&
5868 { ac_try
='test -s conftest$ac_exeext'
5869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); }; }; then
5874 ac_cv_lib_dnet_dnet_ntoa
=yes
5876 echo "$as_me: failed program was:" >&5
5877 sed 's/^/| /' conftest.
$ac_ext >&5
5879 ac_cv_lib_dnet_dnet_ntoa
=no
5881 rm -f conftest.err conftest.
$ac_objext \
5882 conftest
$ac_exeext conftest.
$ac_ext
5883 LIBS
=$ac_check_lib_save_LIBS
5885 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5886 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5887 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5888 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
5891 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
5892 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5893 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
5894 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5895 echo $ECHO_N "(cached) $ECHO_C" >&6
5897 ac_check_lib_save_LIBS
=$LIBS
5898 LIBS
="-ldnet_stub $LIBS"
5899 cat >conftest.
$ac_ext <<_ACEOF
5902 cat confdefs.h
>>conftest.
$ac_ext
5903 cat >>conftest.
$ac_ext <<_ACEOF
5904 /* end confdefs.h. */
5906 /* Override any gcc2 internal prototype to avoid an error. */
5910 /* We use char because int might match the return type of a gcc2
5911 builtin and then its argument prototype would still apply. */
5921 rm -f conftest.
$ac_objext conftest
$ac_exeext
5922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5923 (eval $ac_link) 2>conftest.er1
5925 grep -v '^ *+' conftest.er1
>conftest.err
5927 cat conftest.err
>&5
5928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5929 (exit $ac_status); } &&
5930 { ac_try
='test -z "$ac_c_werror_flag"
5931 || test ! -s conftest.err'
5932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5936 (exit $ac_status); }; } &&
5937 { ac_try
='test -s conftest$ac_exeext'
5938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5942 (exit $ac_status); }; }; then
5943 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
5945 echo "$as_me: failed program was:" >&5
5946 sed 's/^/| /' conftest.
$ac_ext >&5
5948 ac_cv_lib_dnet_stub_dnet_ntoa
=no
5950 rm -f conftest.err conftest.
$ac_objext \
5951 conftest
$ac_exeext conftest.
$ac_ext
5952 LIBS
=$ac_check_lib_save_LIBS
5954 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5955 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
5956 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5957 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
5962 rm -f conftest.err conftest.
$ac_objext \
5963 conftest
$ac_exeext conftest.
$ac_ext
5964 LIBS
="$ac_xsave_LIBS"
5966 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5967 # to get the SysV transport functions.
5968 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5970 # The nsl library prevents programs from opening the X display
5971 # on Irix 5.2, according to T.E. Dickey.
5972 # The functions gethostbyname, getservbyname, and inet_addr are
5973 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5974 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5975 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5976 if test "${ac_cv_func_gethostbyname+set}" = set; then
5977 echo $ECHO_N "(cached) $ECHO_C" >&6
5979 cat >conftest.
$ac_ext <<_ACEOF
5982 cat confdefs.h
>>conftest.
$ac_ext
5983 cat >>conftest.
$ac_ext <<_ACEOF
5984 /* end confdefs.h. */
5985 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
5986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5987 #define gethostbyname innocuous_gethostbyname
5989 /* System header to define __stub macros and hopefully few prototypes,
5990 which can conflict with char gethostbyname (); below.
5991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5992 <limits.h> exists even on freestanding compilers. */
5995 # include <limits.h>
5997 # include <assert.h>
6000 #undef gethostbyname
6002 /* Override any gcc2 internal prototype to avoid an error. */
6007 /* We use char because int might match the return type of a gcc2
6008 builtin and then its argument prototype would still apply. */
6009 char gethostbyname ();
6010 /* The GNU C library defines this for functions which it implements
6011 to always fail with ENOSYS. Some functions are actually named
6012 something starting with __ and the normal name is an alias. */
6013 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
6016 char (*f) () = gethostbyname;
6025 return f != gethostbyname;
6030 rm -f conftest.
$ac_objext conftest
$ac_exeext
6031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6032 (eval $ac_link) 2>conftest.er1
6034 grep -v '^ *+' conftest.er1
>conftest.err
6036 cat conftest.err
>&5
6037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6038 (exit $ac_status); } &&
6039 { ac_try
='test -z "$ac_c_werror_flag"
6040 || test ! -s conftest.err'
6041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6045 (exit $ac_status); }; } &&
6046 { ac_try
='test -s conftest$ac_exeext'
6047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6051 (exit $ac_status); }; }; then
6052 ac_cv_func_gethostbyname
=yes
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.
$ac_ext >&5
6057 ac_cv_func_gethostbyname
=no
6059 rm -f conftest.err conftest.
$ac_objext \
6060 conftest
$ac_exeext conftest.
$ac_ext
6062 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6063 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
6065 if test $ac_cv_func_gethostbyname = no
; then
6066 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6067 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
6068 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6069 echo $ECHO_N "(cached) $ECHO_C" >&6
6071 ac_check_lib_save_LIBS
=$LIBS
6073 cat >conftest.
$ac_ext <<_ACEOF
6076 cat confdefs.h
>>conftest.
$ac_ext
6077 cat >>conftest.
$ac_ext <<_ACEOF
6078 /* end confdefs.h. */
6080 /* Override any gcc2 internal prototype to avoid an error. */
6084 /* We use char because int might match the return type of a gcc2
6085 builtin and then its argument prototype would still apply. */
6086 char gethostbyname ();
6095 rm -f conftest.
$ac_objext conftest
$ac_exeext
6096 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6097 (eval $ac_link) 2>conftest.er1
6099 grep -v '^ *+' conftest.er1
>conftest.err
6101 cat conftest.err
>&5
6102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6103 (exit $ac_status); } &&
6104 { ac_try
='test -z "$ac_c_werror_flag"
6105 || test ! -s conftest.err'
6106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110 (exit $ac_status); }; } &&
6111 { ac_try
='test -s conftest$ac_exeext'
6112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6116 (exit $ac_status); }; }; then
6117 ac_cv_lib_nsl_gethostbyname
=yes
6119 echo "$as_me: failed program was:" >&5
6120 sed 's/^/| /' conftest.
$ac_ext >&5
6122 ac_cv_lib_nsl_gethostbyname
=no
6124 rm -f conftest.err conftest.
$ac_objext \
6125 conftest
$ac_exeext conftest.
$ac_ext
6126 LIBS
=$ac_check_lib_save_LIBS
6128 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6129 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
6130 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6131 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
6134 if test $ac_cv_lib_nsl_gethostbyname = no
; then
6135 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6136 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
6137 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6138 echo $ECHO_N "(cached) $ECHO_C" >&6
6140 ac_check_lib_save_LIBS
=$LIBS
6142 cat >conftest.
$ac_ext <<_ACEOF
6145 cat confdefs.h
>>conftest.
$ac_ext
6146 cat >>conftest.
$ac_ext <<_ACEOF
6147 /* end confdefs.h. */
6149 /* Override any gcc2 internal prototype to avoid an error. */
6153 /* We use char because int might match the return type of a gcc2
6154 builtin and then its argument prototype would still apply. */
6155 char gethostbyname ();
6164 rm -f conftest.
$ac_objext conftest
$ac_exeext
6165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6166 (eval $ac_link) 2>conftest.er1
6168 grep -v '^ *+' conftest.er1
>conftest.err
6170 cat conftest.err
>&5
6171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6172 (exit $ac_status); } &&
6173 { ac_try
='test -z "$ac_c_werror_flag"
6174 || test ! -s conftest.err'
6175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6179 (exit $ac_status); }; } &&
6180 { ac_try
='test -s conftest$ac_exeext'
6181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6185 (exit $ac_status); }; }; then
6186 ac_cv_lib_bsd_gethostbyname
=yes
6188 echo "$as_me: failed program was:" >&5
6189 sed 's/^/| /' conftest.
$ac_ext >&5
6191 ac_cv_lib_bsd_gethostbyname
=no
6193 rm -f conftest.err conftest.
$ac_objext \
6194 conftest
$ac_exeext conftest.
$ac_ext
6195 LIBS
=$ac_check_lib_save_LIBS
6197 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6198 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
6199 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6200 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
6206 # lieder@skyler.mavd.honeywell.com says without -lsocket,
6207 # socket/setsockopt and other routines are undefined under SCO ODT
6208 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6209 # on later versions), says Simon Leinen: it contains gethostby*
6210 # variants that don't use the name server (or something). -lsocket
6211 # must be given before -lnsl if both are needed. We assume that
6212 # if connect needs -lnsl, so does gethostbyname.
6213 echo "$as_me:$LINENO: checking for connect" >&5
6214 echo $ECHO_N "checking for connect... $ECHO_C" >&6
6215 if test "${ac_cv_func_connect+set}" = set; then
6216 echo $ECHO_N "(cached) $ECHO_C" >&6
6218 cat >conftest.
$ac_ext <<_ACEOF
6221 cat confdefs.h
>>conftest.
$ac_ext
6222 cat >>conftest.
$ac_ext <<_ACEOF
6223 /* end confdefs.h. */
6224 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6225 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6226 #define connect innocuous_connect
6228 /* System header to define __stub macros and hopefully few prototypes,
6229 which can conflict with char connect (); below.
6230 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6231 <limits.h> exists even on freestanding compilers. */
6234 # include <limits.h>
6236 # include <assert.h>
6241 /* Override any gcc2 internal prototype to avoid an error. */
6246 /* We use char because int might match the return type of a gcc2
6247 builtin and then its argument prototype would still apply. */
6249 /* The GNU C library defines this for functions which it implements
6250 to always fail with ENOSYS. Some functions are actually named
6251 something starting with __ and the normal name is an alias. */
6252 #if defined (__stub_connect) || defined (__stub___connect)
6255 char (*f) () = connect;
6264 return f != connect;
6269 rm -f conftest.
$ac_objext conftest
$ac_exeext
6270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6271 (eval $ac_link) 2>conftest.er1
6273 grep -v '^ *+' conftest.er1
>conftest.err
6275 cat conftest.err
>&5
6276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6277 (exit $ac_status); } &&
6278 { ac_try
='test -z "$ac_c_werror_flag"
6279 || test ! -s conftest.err'
6280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6284 (exit $ac_status); }; } &&
6285 { ac_try
='test -s conftest$ac_exeext'
6286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); }; }; then
6291 ac_cv_func_connect
=yes
6293 echo "$as_me: failed program was:" >&5
6294 sed 's/^/| /' conftest.
$ac_ext >&5
6296 ac_cv_func_connect
=no
6298 rm -f conftest.err conftest.
$ac_objext \
6299 conftest
$ac_exeext conftest.
$ac_ext
6301 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6302 echo "${ECHO_T}$ac_cv_func_connect" >&6
6304 if test $ac_cv_func_connect = no
; then
6305 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6306 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6307 if test "${ac_cv_lib_socket_connect+set}" = set; then
6308 echo $ECHO_N "(cached) $ECHO_C" >&6
6310 ac_check_lib_save_LIBS
=$LIBS
6311 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
6312 cat >conftest.
$ac_ext <<_ACEOF
6315 cat confdefs.h
>>conftest.
$ac_ext
6316 cat >>conftest.
$ac_ext <<_ACEOF
6317 /* end confdefs.h. */
6319 /* Override any gcc2 internal prototype to avoid an error. */
6323 /* We use char because int might match the return type of a gcc2
6324 builtin and then its argument prototype would still apply. */
6334 rm -f conftest.
$ac_objext conftest
$ac_exeext
6335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6336 (eval $ac_link) 2>conftest.er1
6338 grep -v '^ *+' conftest.er1
>conftest.err
6340 cat conftest.err
>&5
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); } &&
6343 { ac_try
='test -z "$ac_c_werror_flag"
6344 || test ! -s conftest.err'
6345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6349 (exit $ac_status); }; } &&
6350 { ac_try
='test -s conftest$ac_exeext'
6351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6355 (exit $ac_status); }; }; then
6356 ac_cv_lib_socket_connect
=yes
6358 echo "$as_me: failed program was:" >&5
6359 sed 's/^/| /' conftest.
$ac_ext >&5
6361 ac_cv_lib_socket_connect
=no
6363 rm -f conftest.err conftest.
$ac_objext \
6364 conftest
$ac_exeext conftest.
$ac_ext
6365 LIBS
=$ac_check_lib_save_LIBS
6367 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6368 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6369 if test $ac_cv_lib_socket_connect = yes; then
6370 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
6375 # Guillermo Gomez says -lposix is necessary on A/UX.
6376 echo "$as_me:$LINENO: checking for remove" >&5
6377 echo $ECHO_N "checking for remove... $ECHO_C" >&6
6378 if test "${ac_cv_func_remove+set}" = set; then
6379 echo $ECHO_N "(cached) $ECHO_C" >&6
6381 cat >conftest.
$ac_ext <<_ACEOF
6384 cat confdefs.h
>>conftest.
$ac_ext
6385 cat >>conftest.
$ac_ext <<_ACEOF
6386 /* end confdefs.h. */
6387 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
6388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6389 #define remove innocuous_remove
6391 /* System header to define __stub macros and hopefully few prototypes,
6392 which can conflict with char remove (); below.
6393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6394 <limits.h> exists even on freestanding compilers. */
6397 # include <limits.h>
6399 # include <assert.h>
6404 /* Override any gcc2 internal prototype to avoid an error. */
6409 /* We use char because int might match the return type of a gcc2
6410 builtin and then its argument prototype would still apply. */
6412 /* The GNU C library defines this for functions which it implements
6413 to always fail with ENOSYS. Some functions are actually named
6414 something starting with __ and the normal name is an alias. */
6415 #if defined (__stub_remove) || defined (__stub___remove)
6418 char (*f) () = remove;
6432 rm -f conftest.
$ac_objext conftest
$ac_exeext
6433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6434 (eval $ac_link) 2>conftest.er1
6436 grep -v '^ *+' conftest.er1
>conftest.err
6438 cat conftest.err
>&5
6439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6440 (exit $ac_status); } &&
6441 { ac_try
='test -z "$ac_c_werror_flag"
6442 || test ! -s conftest.err'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; } &&
6448 { ac_try
='test -s conftest$ac_exeext'
6449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6453 (exit $ac_status); }; }; then
6454 ac_cv_func_remove
=yes
6456 echo "$as_me: failed program was:" >&5
6457 sed 's/^/| /' conftest.
$ac_ext >&5
6459 ac_cv_func_remove
=no
6461 rm -f conftest.err conftest.
$ac_objext \
6462 conftest
$ac_exeext conftest.
$ac_ext
6464 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6465 echo "${ECHO_T}$ac_cv_func_remove" >&6
6467 if test $ac_cv_func_remove = no
; then
6468 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6469 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
6470 if test "${ac_cv_lib_posix_remove+set}" = set; then
6471 echo $ECHO_N "(cached) $ECHO_C" >&6
6473 ac_check_lib_save_LIBS
=$LIBS
6474 LIBS
="-lposix $LIBS"
6475 cat >conftest.
$ac_ext <<_ACEOF
6478 cat confdefs.h
>>conftest.
$ac_ext
6479 cat >>conftest.
$ac_ext <<_ACEOF
6480 /* end confdefs.h. */
6482 /* Override any gcc2 internal prototype to avoid an error. */
6486 /* We use char because int might match the return type of a gcc2
6487 builtin and then its argument prototype would still apply. */
6497 rm -f conftest.
$ac_objext conftest
$ac_exeext
6498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6499 (eval $ac_link) 2>conftest.er1
6501 grep -v '^ *+' conftest.er1
>conftest.err
6503 cat conftest.err
>&5
6504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6505 (exit $ac_status); } &&
6506 { ac_try
='test -z "$ac_c_werror_flag"
6507 || test ! -s conftest.err'
6508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6512 (exit $ac_status); }; } &&
6513 { ac_try
='test -s conftest$ac_exeext'
6514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); }; }; then
6519 ac_cv_lib_posix_remove
=yes
6521 echo "$as_me: failed program was:" >&5
6522 sed 's/^/| /' conftest.
$ac_ext >&5
6524 ac_cv_lib_posix_remove
=no
6526 rm -f conftest.err conftest.
$ac_objext \
6527 conftest
$ac_exeext conftest.
$ac_ext
6528 LIBS
=$ac_check_lib_save_LIBS
6530 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6531 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
6532 if test $ac_cv_lib_posix_remove = yes; then
6533 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
6538 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6539 echo "$as_me:$LINENO: checking for shmat" >&5
6540 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
6541 if test "${ac_cv_func_shmat+set}" = set; then
6542 echo $ECHO_N "(cached) $ECHO_C" >&6
6544 cat >conftest.
$ac_ext <<_ACEOF
6547 cat confdefs.h
>>conftest.
$ac_ext
6548 cat >>conftest.
$ac_ext <<_ACEOF
6549 /* end confdefs.h. */
6550 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6552 #define shmat innocuous_shmat
6554 /* System header to define __stub macros and hopefully few prototypes,
6555 which can conflict with char shmat (); below.
6556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6557 <limits.h> exists even on freestanding compilers. */
6560 # include <limits.h>
6562 # include <assert.h>
6567 /* Override any gcc2 internal prototype to avoid an error. */
6572 /* We use char because int might match the return type of a gcc2
6573 builtin and then its argument prototype would still apply. */
6575 /* The GNU C library defines this for functions which it implements
6576 to always fail with ENOSYS. Some functions are actually named
6577 something starting with __ and the normal name is an alias. */
6578 #if defined (__stub_shmat) || defined (__stub___shmat)
6581 char (*f) () = shmat;
6595 rm -f conftest.
$ac_objext conftest
$ac_exeext
6596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6597 (eval $ac_link) 2>conftest.er1
6599 grep -v '^ *+' conftest.er1
>conftest.err
6601 cat conftest.err
>&5
6602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6603 (exit $ac_status); } &&
6604 { ac_try
='test -z "$ac_c_werror_flag"
6605 || test ! -s conftest.err'
6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; } &&
6611 { ac_try
='test -s conftest$ac_exeext'
6612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6616 (exit $ac_status); }; }; then
6617 ac_cv_func_shmat
=yes
6619 echo "$as_me: failed program was:" >&5
6620 sed 's/^/| /' conftest.
$ac_ext >&5
6624 rm -f conftest.err conftest.
$ac_objext \
6625 conftest
$ac_exeext conftest.
$ac_ext
6627 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6628 echo "${ECHO_T}$ac_cv_func_shmat" >&6
6630 if test $ac_cv_func_shmat = no
; then
6631 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6632 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
6633 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6634 echo $ECHO_N "(cached) $ECHO_C" >&6
6636 ac_check_lib_save_LIBS
=$LIBS
6638 cat >conftest.
$ac_ext <<_ACEOF
6641 cat confdefs.h
>>conftest.
$ac_ext
6642 cat >>conftest.
$ac_ext <<_ACEOF
6643 /* end confdefs.h. */
6645 /* Override any gcc2 internal prototype to avoid an error. */
6649 /* We use char because int might match the return type of a gcc2
6650 builtin and then its argument prototype would still apply. */
6660 rm -f conftest.
$ac_objext conftest
$ac_exeext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6662 (eval $ac_link) 2>conftest.er1
6664 grep -v '^ *+' conftest.er1
>conftest.err
6666 cat conftest.err
>&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } &&
6669 { ac_try
='test -z "$ac_c_werror_flag"
6670 || test ! -s conftest.err'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; } &&
6676 { ac_try
='test -s conftest$ac_exeext'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; }; then
6682 ac_cv_lib_ipc_shmat
=yes
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.
$ac_ext >&5
6687 ac_cv_lib_ipc_shmat
=no
6689 rm -f conftest.err conftest.
$ac_objext \
6690 conftest
$ac_exeext conftest.
$ac_ext
6691 LIBS
=$ac_check_lib_save_LIBS
6693 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6694 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
6695 if test $ac_cv_lib_ipc_shmat = yes; then
6696 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
6702 # Check for libraries that X11R6 Xt/Xaw programs need.
6703 ac_save_LDFLAGS
=$LDFLAGS
6704 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
6705 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6706 # check for ICE first), but we must link in the order -lSM -lICE or
6707 # we get undefined symbols. So assume we have SM if we have ICE.
6708 # These have to be linked with before -lX11, unlike the other
6709 # libraries we check for below, so use a different variable.
6710 # John Interrante, Karl Berry
6711 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6712 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
6713 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6714 echo $ECHO_N "(cached) $ECHO_C" >&6
6716 ac_check_lib_save_LIBS
=$LIBS
6717 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6718 cat >conftest.
$ac_ext <<_ACEOF
6721 cat confdefs.h
>>conftest.
$ac_ext
6722 cat >>conftest.
$ac_ext <<_ACEOF
6723 /* end confdefs.h. */
6725 /* Override any gcc2 internal prototype to avoid an error. */
6729 /* We use char because int might match the return type of a gcc2
6730 builtin and then its argument prototype would still apply. */
6731 char IceConnectionNumber ();
6735 IceConnectionNumber ();
6740 rm -f conftest.
$ac_objext conftest
$ac_exeext
6741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6742 (eval $ac_link) 2>conftest.er1
6744 grep -v '^ *+' conftest.er1
>conftest.err
6746 cat conftest.err
>&5
6747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748 (exit $ac_status); } &&
6749 { ac_try
='test -z "$ac_c_werror_flag"
6750 || test ! -s conftest.err'
6751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6755 (exit $ac_status); }; } &&
6756 { ac_try
='test -s conftest$ac_exeext'
6757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6761 (exit $ac_status); }; }; then
6762 ac_cv_lib_ICE_IceConnectionNumber
=yes
6764 echo "$as_me: failed program was:" >&5
6765 sed 's/^/| /' conftest.
$ac_ext >&5
6767 ac_cv_lib_ICE_IceConnectionNumber
=no
6769 rm -f conftest.err conftest.
$ac_objext \
6770 conftest
$ac_exeext conftest.
$ac_ext
6771 LIBS
=$ac_check_lib_save_LIBS
6773 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6774 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
6775 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6776 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
6779 LDFLAGS
=$ac_save_LDFLAGS
6784 if test "$OS390Unix" = "yes"; then
6785 CFLAGS
="$CFLAGS -W c,dll"
6786 LDFLAGS
="$LDFLAGS -W l,dll"
6787 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lSM -lICE -lXmu"
6791 if test -d "$x_includes" && test ! -d "$x_libraries"; then
6792 x_libraries
=`echo "$x_includes" | sed s/include/lib/`
6793 echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
6794 echo "${ECHO_T}Corrected X libraries to $x_libraries" >&6
6795 X_LIBS
="$X_LIBS -L$x_libraries"
6796 if test "`(uname) 2>/dev/null`" = SunOS
&&
6797 uname
-r |
grep '^5' >/dev
/null
; then
6798 X_LIBS
="$X_LIBS -R $x_libraries"
6802 if test -d "$x_libraries" && test ! -d "$x_includes"; then
6803 x_includes
=`echo "$x_libraries" | sed s/lib/include/`
6804 echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
6805 echo "${ECHO_T}Corrected X includes to $x_includes" >&6
6806 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6809 X_CFLAGS
="`echo $X_CFLAGS\ | sed 's%-I/usr/include %%'`"
6810 X_LIBS
="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`"
6811 X_LIBS
="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`"
6814 echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
6815 echo $ECHO_N "checking if X11 header files can be found... $ECHO_C" >&6
6817 CFLAGS
="$CFLAGS $X_CFLAGS"
6818 cat >conftest.
$ac_ext <<_ACEOF
6821 cat confdefs.h
>>conftest.
$ac_ext
6822 cat >>conftest.
$ac_ext <<_ACEOF
6823 /* end confdefs.h. */
6824 #include <X11/Xlib.h>
6833 rm -f conftest.
$ac_objext
6834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6835 (eval $ac_compile) 2>conftest.er1
6837 grep -v '^ *+' conftest.er1
>conftest.err
6839 cat conftest.err
>&5
6840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6841 (exit $ac_status); } &&
6842 { ac_try
='test -z "$ac_c_werror_flag"
6843 || test ! -s conftest.err'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; } &&
6849 { ac_try
='test -s conftest.$ac_objext'
6850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6854 (exit $ac_status); }; }; then
6855 echo "$as_me:$LINENO: result: yes" >&5
6856 echo "${ECHO_T}yes" >&6
6858 echo "$as_me: failed program was:" >&5
6859 sed 's/^/| /' conftest.
$ac_ext >&5
6861 echo "$as_me:$LINENO: result: no" >&5
6862 echo "${ECHO_T}no" >&6; no_x
=yes
6864 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6867 if test "${no_x-no}" = yes; then
6870 cat >>confdefs.h
<<\_ACEOF
6877 ac_save_LDFLAGS
="$LDFLAGS"
6878 LDFLAGS
="-L$x_libraries $LDFLAGS"
6880 echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
6881 echo $ECHO_N "checking for _XdmcpAuthDoIt in -lXdmcp... $ECHO_C" >&6
6882 if test "${ac_cv_lib_Xdmcp__XdmcpAuthDoIt+set}" = set; then
6883 echo $ECHO_N "(cached) $ECHO_C" >&6
6885 ac_check_lib_save_LIBS
=$LIBS
6886 LIBS
="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS"
6887 cat >conftest.
$ac_ext <<_ACEOF
6890 cat confdefs.h
>>conftest.
$ac_ext
6891 cat >>conftest.
$ac_ext <<_ACEOF
6892 /* end confdefs.h. */
6894 /* Override any gcc2 internal prototype to avoid an error. */
6898 /* We use char because int might match the return type of a gcc2
6899 builtin and then its argument prototype would still apply. */
6900 char _XdmcpAuthDoIt ();
6909 rm -f conftest.
$ac_objext conftest
$ac_exeext
6910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6911 (eval $ac_link) 2>conftest.er1
6913 grep -v '^ *+' conftest.er1
>conftest.err
6915 cat conftest.err
>&5
6916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6917 (exit $ac_status); } &&
6918 { ac_try
='test -z "$ac_c_werror_flag"
6919 || test ! -s conftest.err'
6920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6924 (exit $ac_status); }; } &&
6925 { ac_try
='test -s conftest$ac_exeext'
6926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6930 (exit $ac_status); }; }; then
6931 ac_cv_lib_Xdmcp__XdmcpAuthDoIt
=yes
6933 echo "$as_me: failed program was:" >&5
6934 sed 's/^/| /' conftest.
$ac_ext >&5
6936 ac_cv_lib_Xdmcp__XdmcpAuthDoIt
=no
6938 rm -f conftest.err conftest.
$ac_objext \
6939 conftest
$ac_exeext conftest.
$ac_ext
6940 LIBS
=$ac_check_lib_save_LIBS
6942 echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
6943 echo "${ECHO_T}$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6
6944 if test $ac_cv_lib_Xdmcp__XdmcpAuthDoIt = yes; then
6945 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXdmcp"
6949 echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
6950 echo $ECHO_N "checking for IceOpenConnection in -lICE... $ECHO_C" >&6
6951 if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then
6952 echo $ECHO_N "(cached) $ECHO_C" >&6
6954 ac_check_lib_save_LIBS
=$LIBS
6955 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6956 cat >conftest.
$ac_ext <<_ACEOF
6959 cat confdefs.h
>>conftest.
$ac_ext
6960 cat >>conftest.
$ac_ext <<_ACEOF
6961 /* end confdefs.h. */
6963 /* Override any gcc2 internal prototype to avoid an error. */
6967 /* We use char because int might match the return type of a gcc2
6968 builtin and then its argument prototype would still apply. */
6969 char IceOpenConnection ();
6973 IceOpenConnection ();
6978 rm -f conftest.
$ac_objext conftest
$ac_exeext
6979 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6980 (eval $ac_link) 2>conftest.er1
6982 grep -v '^ *+' conftest.er1
>conftest.err
6984 cat conftest.err
>&5
6985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6986 (exit $ac_status); } &&
6987 { ac_try
='test -z "$ac_c_werror_flag"
6988 || test ! -s conftest.err'
6989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6993 (exit $ac_status); }; } &&
6994 { ac_try
='test -s conftest$ac_exeext'
6995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6999 (exit $ac_status); }; }; then
7000 ac_cv_lib_ICE_IceOpenConnection
=yes
7002 echo "$as_me: failed program was:" >&5
7003 sed 's/^/| /' conftest.
$ac_ext >&5
7005 ac_cv_lib_ICE_IceOpenConnection
=no
7007 rm -f conftest.err conftest.
$ac_objext \
7008 conftest
$ac_exeext conftest.
$ac_ext
7009 LIBS
=$ac_check_lib_save_LIBS
7011 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
7012 echo "${ECHO_T}$ac_cv_lib_ICE_IceOpenConnection" >&6
7013 if test $ac_cv_lib_ICE_IceOpenConnection = yes; then
7014 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lSM -lICE"
7018 LDFLAGS
="$X_LIBS $ac_save_LDFLAGS"
7019 echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
7020 echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6
7021 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
7022 echo $ECHO_N "(cached) $ECHO_C" >&6
7024 ac_check_lib_save_LIBS
=$LIBS
7025 LIBS
="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS"
7026 cat >conftest.
$ac_ext <<_ACEOF
7029 cat confdefs.h
>>conftest.
$ac_ext
7030 cat >>conftest.
$ac_ext <<_ACEOF
7031 /* end confdefs.h. */
7033 /* Override any gcc2 internal prototype to avoid an error. */
7037 /* We use char because int might match the return type of a gcc2
7038 builtin and then its argument prototype would still apply. */
7039 char XpmCreatePixmapFromData ();
7043 XpmCreatePixmapFromData ();
7048 rm -f conftest.
$ac_objext conftest
$ac_exeext
7049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7050 (eval $ac_link) 2>conftest.er1
7052 grep -v '^ *+' conftest.er1
>conftest.err
7054 cat conftest.err
>&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } &&
7057 { ac_try
='test -z "$ac_c_werror_flag"
7058 || test ! -s conftest.err'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; } &&
7064 { ac_try
='test -s conftest$ac_exeext'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; }; then
7070 ac_cv_lib_Xpm_XpmCreatePixmapFromData
=yes
7072 echo "$as_me: failed program was:" >&5
7073 sed 's/^/| /' conftest.
$ac_ext >&5
7075 ac_cv_lib_Xpm_XpmCreatePixmapFromData
=no
7077 rm -f conftest.err conftest.
$ac_objext \
7078 conftest
$ac_exeext conftest.
$ac_ext
7079 LIBS
=$ac_check_lib_save_LIBS
7081 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
7082 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6
7083 if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
7084 X_PRE_LIBS
="$X_PRE_LIBS -lXpm"
7088 echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
7089 echo $ECHO_N "checking if X11 header files implicitly declare return values... $ECHO_C" >&6
7091 CFLAGS
="$CFLAGS $X_CFLAGS -Werror"
7092 cat >conftest.
$ac_ext <<_ACEOF
7095 cat confdefs.h
>>conftest.
$ac_ext
7096 cat >>conftest.
$ac_ext <<_ACEOF
7097 /* end confdefs.h. */
7098 #include <X11/Xlib.h>
7107 rm -f conftest.
$ac_objext
7108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7109 (eval $ac_compile) 2>conftest.er1
7111 grep -v '^ *+' conftest.er1
>conftest.err
7113 cat conftest.err
>&5
7114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7115 (exit $ac_status); } &&
7116 { ac_try
='test -z "$ac_c_werror_flag"
7117 || test ! -s conftest.err'
7118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7122 (exit $ac_status); }; } &&
7123 { ac_try
='test -s conftest.$ac_objext'
7124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7128 (exit $ac_status); }; }; then
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7132 echo "$as_me: failed program was:" >&5
7133 sed 's/^/| /' conftest.
$ac_ext >&5
7135 CFLAGS
="$CFLAGS -Wno-implicit-int"
7136 cat >conftest.
$ac_ext <<_ACEOF
7139 cat confdefs.h
>>conftest.
$ac_ext
7140 cat >>conftest.
$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 #include <X11/Xlib.h>
7151 rm -f conftest.
$ac_objext
7152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7153 (eval $ac_compile) 2>conftest.er1
7155 grep -v '^ *+' conftest.er1
>conftest.err
7157 cat conftest.err
>&5
7158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7159 (exit $ac_status); } &&
7160 { ac_try
='test -z "$ac_c_werror_flag"
7161 || test ! -s conftest.err'
7162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7166 (exit $ac_status); }; } &&
7167 { ac_try
='test -s conftest.$ac_objext'
7168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7172 (exit $ac_status); }; }; then
7173 echo "$as_me:$LINENO: result: yes" >&5
7174 echo "${ECHO_T}yes" >&6; cflags_save
="$cflags_save -Wno-implicit-int"
7176 echo "$as_me: failed program was:" >&5
7177 sed 's/^/| /' conftest.
$ac_ext >&5
7179 echo "$as_me:$LINENO: result: test failed" >&5
7180 echo "${ECHO_T}test failed" >&6
7183 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7186 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7189 LDFLAGS
="$ac_save_LDFLAGS"
7194 test "x$with_x" = xno
-a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui
=no
7196 echo "$as_me:$LINENO: checking --enable-gui argument" >&5
7197 echo $ECHO_N "checking --enable-gui argument... $ECHO_C" >&6
7198 # Check whether --enable-gui or --disable-gui was given.
7199 if test "${enable_gui+set}" = set; then
7200 enableval
="$enable_gui"
7206 enable_gui_canon
=`echo "_$enable_gui" | \
7207 sed 's/[ _+-]//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
7220 if test "x$QNX" = "xyes" -a "x$with_x" = "xno" ; then
7222 case "$enable_gui_canon" in
7223 no
) echo "$as_me:$LINENO: result: no GUI support" >&5
7224 echo "${ECHO_T}no GUI support" >&6
7226 yes|
"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
7227 echo "${ECHO_T}yes - automatic GUI support" >&6 ;;
7228 auto
) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
7229 echo "${ECHO_T}auto - automatic GUI support" >&6 ;;
7230 photon
) echo "$as_me:$LINENO: result: Photon GUI support" >&5
7231 echo "${ECHO_T}Photon GUI support" >&6 ;;
7232 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7233 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6
7237 elif test "x$MACOSX" = "xyes" -a "x$with_x" = "xno" ; then
7240 case "$enable_gui_canon" in
7241 no
) echo "$as_me:$LINENO: result: no GUI support" >&5
7242 echo "${ECHO_T}no GUI support" >&6
7245 yes|
"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
7246 echo "${ECHO_T}yes - automatic GUI support" >&6 ;;
7247 auto
) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
7248 echo "${ECHO_T}auto - automatic GUI support" >&6 ;;
7249 carbon
) echo "$as_me:$LINENO: result: Carbon GUI support" >&5
7250 echo "${ECHO_T}Carbon GUI support" >&6
7252 macvim
) echo "$as_me:$LINENO: result: MacVim GUI support" >&5
7253 echo "${ECHO_T}MacVim GUI support" >&6
7255 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7256 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6
7263 case "$enable_gui_canon" in
7264 no|none
) echo "$as_me:$LINENO: result: no GUI support" >&5
7265 echo "${ECHO_T}no GUI support" >&6 ;;
7266 yes|
""|auto
) echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
7267 echo "${ECHO_T}yes/auto - automatic GUI support" >&6
7276 gtk
) echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
7277 echo "${ECHO_T}GTK+ 1.x GUI support" >&6
7279 gtk2
) echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
7280 echo "${ECHO_T}GTK+ 2.x GUI support" >&6
7283 gnome
) echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
7284 echo "${ECHO_T}GNOME 1.x GUI support" >&6
7287 gnome2
) echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
7288 echo "${ECHO_T}GNOME 2.x GUI support" >&6
7292 motif
) echo "$as_me:$LINENO: result: Motif GUI support" >&5
7293 echo "${ECHO_T}Motif GUI support" >&6
7295 athena
) echo "$as_me:$LINENO: result: Athena GUI support" >&5
7296 echo "${ECHO_T}Athena GUI support" >&6
7298 nextaw
) echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
7299 echo "${ECHO_T}neXtaw GUI support" >&6
7301 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7302 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6 ;;
7307 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then
7308 echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
7309 echo $ECHO_N "checking whether or not to look for GTK... $ECHO_C" >&6
7310 # Check whether --enable-gtk-check or --disable-gtk-check was given.
7311 if test "${enable_gtk_check+set}" = set; then
7312 enableval
="$enable_gtk_check"
7315 enable_gtk_check
="yes"
7317 echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
7318 echo "${ECHO_T}$enable_gtk_check" >&6
7319 if test "x$enable_gtk_check" = "xno"; then
7325 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \
7326 -a "$enable_gui_canon" != "gnome2"; then
7327 echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
7328 echo $ECHO_N "checking whether or not to look for GTK+ 2... $ECHO_C" >&6
7329 # Check whether --enable-gtk2-check or --disable-gtk2-check was given.
7330 if test "${enable_gtk2_check+set}" = set; then
7331 enableval
="$enable_gtk2_check"
7334 enable_gtk2_check
="yes"
7336 echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
7337 echo "${ECHO_T}$enable_gtk2_check" >&6
7338 if test "x$enable_gtk2_check" = "xno"; then
7343 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \
7344 -a "$enable_gui_canon" != "gnome2"; then
7345 echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
7346 echo $ECHO_N "checking whether or not to look for GNOME... $ECHO_C" >&6
7347 # Check whether --enable-gnome-check or --disable-gnome-check was given.
7348 if test "${enable_gnome_check+set}" = set; then
7349 enableval
="$enable_gnome_check"
7352 enable_gnome_check
="no"
7354 echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
7355 echo "${ECHO_T}$enable_gnome_check" >&6
7356 if test "x$enable_gnome_check" = "xno"; then
7361 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then
7362 echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
7363 echo $ECHO_N "checking whether or not to look for Motif... $ECHO_C" >&6
7364 # Check whether --enable-motif-check or --disable-motif-check was given.
7365 if test "${enable_motif_check+set}" = set; then
7366 enableval
="$enable_motif_check"
7369 enable_motif_check
="yes"
7371 echo "$as_me:$LINENO: result: $enable_motif_check" >&5
7372 echo "${ECHO_T}$enable_motif_check" >&6
7373 if test "x$enable_motif_check" = "xno"; then
7378 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then
7379 echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
7380 echo $ECHO_N "checking whether or not to look for Athena... $ECHO_C" >&6
7381 # Check whether --enable-athena-check or --disable-athena-check was given.
7382 if test "${enable_athena_check+set}" = set; then
7383 enableval
="$enable_athena_check"
7386 enable_athena_check
="yes"
7388 echo "$as_me:$LINENO: result: $enable_athena_check" >&5
7389 echo "${ECHO_T}$enable_athena_check" >&6
7390 if test "x$enable_athena_check" = "xno"; then
7395 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then
7396 echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
7397 echo $ECHO_N "checking whether or not to look for neXtaw... $ECHO_C" >&6
7398 # Check whether --enable-nextaw-check or --disable-nextaw-check was given.
7399 if test "${enable_nextaw_check+set}" = set; then
7400 enableval
="$enable_nextaw_check"
7403 enable_nextaw_check
="yes"
7405 echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
7406 echo "${ECHO_T}$enable_nextaw_check" >&6;
7407 if test "x$enable_nextaw_check" = "xno"; then
7412 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then
7413 echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
7414 echo $ECHO_N "checking whether or not to look for Carbon... $ECHO_C" >&6
7415 # Check whether --enable-carbon-check or --disable-carbon-check was given.
7416 if test "${enable_carbon_check+set}" = set; then
7417 enableval
="$enable_carbon_check"
7420 enable_carbon_check
="yes"
7422 echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
7423 echo "${ECHO_T}$enable_carbon_check" >&6;
7424 if test "x$enable_carbon_check" = "xno"; then
7429 if test "x$SKIP_MACVIM" != "xYES" -a "$enable_gui_canon" != "macvim"; then
7430 echo "$as_me:$LINENO: checking whether or not to look for MacVim" >&5
7431 echo $ECHO_N "checking whether or not to look for MacVim... $ECHO_C" >&6
7432 # Check whether --enable-macvim-check or --disable-macvim-check was given.
7433 if test "${enable_macvim_check+set}" = set; then
7434 enableval
="$enable_macvim_check"
7437 enable_macvim_check
="yes"
7439 echo "$as_me:$LINENO: result: $enable_macvim_check" >&5
7440 echo "${ECHO_T}$enable_macvim_check" >&6;
7441 if test "x$enable_macvim_check" = "xno"; then
7446 if test "x$MACOSX" = "xyes"; then
7447 if test -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then
7448 echo "$as_me:$LINENO: checking for Carbon GUI" >&5
7449 echo $ECHO_N "checking for Carbon GUI... $ECHO_C" >&6
7450 echo "$as_me:$LINENO: result: yes" >&5
7451 echo "${ECHO_T}yes" >&6;
7453 elif test -z "$SKIP_MACVIM" -a "x$COCOA" = "xyes"; then
7454 echo "$as_me:$LINENO: checking for MacVim GUI" >&5
7455 echo $ECHO_N "checking for MacVim GUI... $ECHO_C" >&6
7456 echo "$as_me:$LINENO: result: yes" >&5
7457 echo "${ECHO_T}yes" >&6;
7461 if test "$VIMNAME" = "vim"; then
7465 if test x
$prefix = xNONE
; then
7466 prefix
=/Applications
7469 datadir
='${prefix}/Vim.app/Contents/Resources'
7490 if test -z "$SKIP_GTK"; then
7492 echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
7493 echo $ECHO_N "checking --with-gtk-prefix argument... $ECHO_C" >&6
7495 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7496 if test "${with_gtk_prefix+set}" = set; then
7497 withval
="$with_gtk_prefix"
7498 gtk_config_prefix
="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
7499 echo "${ECHO_T}$gtk_config_prefix" >&6
7501 gtk_config_prefix
=""; echo "$as_me:$LINENO: result: no" >&5
7502 echo "${ECHO_T}no" >&6
7505 echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
7506 echo $ECHO_N "checking --with-gtk-exec-prefix argument... $ECHO_C" >&6
7508 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7509 if test "${with_gtk_exec_prefix+set}" = set; then
7510 withval
="$with_gtk_exec_prefix"
7511 gtk_config_exec_prefix
="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
7512 echo "${ECHO_T}$gtk_config_prefix" >&6
7514 gtk_config_exec_prefix
=""; echo "$as_me:$LINENO: result: no" >&5
7515 echo "${ECHO_T}no" >&6
7518 echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
7519 echo $ECHO_N "checking --disable-gtktest argument... $ECHO_C" >&6
7520 # Check whether --enable-gtktest or --disable-gtktest was given.
7521 if test "${enable_gtktest+set}" = set; then
7522 enableval
="$enable_gtktest"
7527 if test "x$enable_gtktest" = "xyes" ; then
7528 echo "$as_me:$LINENO: result: gtk test enabled" >&5
7529 echo "${ECHO_T}gtk test enabled" >&6
7531 echo "$as_me:$LINENO: result: gtk test disabled" >&5
7532 echo "${ECHO_T}gtk test disabled" >&6
7535 if test "x$gtk_config_prefix" != "x" ; then
7536 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7537 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk-config
7539 if test "x$gtk_config_exec_prefix" != "x" ; then
7540 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7541 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk-config
7543 if test "X$GTK_CONFIG" = "X"; then
7544 # Extract the first word of "gtk-config", so it can be a program name with args.
7545 set dummy gtk-config
; ac_word
=$2
7546 echo "$as_me:$LINENO: checking for $ac_word" >&5
7547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7548 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
7549 echo $ECHO_N "(cached) $ECHO_C" >&6
7553 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7556 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir
=.
7561 for ac_exec_ext
in '' $ac_executable_extensions; do
7562 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7563 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7564 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7570 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7574 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
7576 if test -n "$GTK_CONFIG"; then
7577 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
7578 echo "${ECHO_T}$GTK_CONFIG" >&6
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7584 if test "X$GTK_CONFIG" = "Xno"; then
7585 # Extract the first word of "gtk12-config", so it can be a program name with args.
7586 set dummy gtk12-config
; ac_word
=$2
7587 echo "$as_me:$LINENO: checking for $ac_word" >&5
7588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7589 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
7590 echo $ECHO_N "(cached) $ECHO_C" >&6
7592 case $GTK12_CONFIG in
7594 ac_cv_path_GTK12_CONFIG
="$GTK12_CONFIG" # Let the user override the test with a path.
7597 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7601 test -z "$as_dir" && as_dir
=.
7602 for ac_exec_ext
in '' $ac_executable_extensions; do
7603 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7604 ac_cv_path_GTK12_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7605 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7611 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG
="no"
7615 GTK12_CONFIG
=$ac_cv_path_GTK12_CONFIG
7617 if test -n "$GTK12_CONFIG"; then
7618 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
7619 echo "${ECHO_T}$GTK12_CONFIG" >&6
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7625 GTK_CONFIG
="$GTK12_CONFIG"
7628 echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
7629 echo "${ECHO_T}Using GTK configuration program $GTK_CONFIG" >&6
7631 if test "X$PKG_CONFIG" = "X"; then
7632 # Extract the first word of "pkg-config", so it can be a program name with args.
7633 set dummy pkg-config
; ac_word
=$2
7634 echo "$as_me:$LINENO: checking for $ac_word" >&5
7635 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7636 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7637 echo $ECHO_N "(cached) $ECHO_C" >&6
7641 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7648 test -z "$as_dir" && as_dir
=.
7649 for ac_exec_ext
in '' $ac_executable_extensions; do
7650 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7651 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7652 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7662 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7664 if test -n "$PKG_CONFIG"; then
7665 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7666 echo "${ECHO_T}$PKG_CONFIG" >&6
7668 echo "$as_me:$LINENO: result: no" >&5
7669 echo "${ECHO_T}no" >&6
7674 if test "x$GTK_CONFIG:$PKG_CONFIG" != "xno:no"; then
7675 if test "X$SKIP_GTK2" != "XYES"; then
7677 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
7679 min_gtk_version
=2.2.0
7680 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
7681 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
7683 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
7684 && $PKG_CONFIG --exists gtk
+-2.0
; then
7686 GTK_CFLAGS
=`$PKG_CONFIG --cflags gtk+-2.0`
7687 GTK_LIBDIR
=`$PKG_CONFIG --libs-only-L gtk+-2.0`
7688 GTK_LIBS
=`$PKG_CONFIG --libs gtk+-2.0`
7689 gtk_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7690 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
7691 gtk_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7692 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
7693 gtk_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7694 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
7696 elif test "X$GTK_CONFIG" != "Xno"; then
7698 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
7700 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
7701 gtk_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
7702 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
7703 gtk_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
7704 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
7705 gtk_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
7706 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
7712 if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
7714 ac_save_CFLAGS
="$CFLAGS"
7715 ac_save_LIBS
="$LIBS"
7716 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7717 LIBS
="$LIBS $GTK_LIBS"
7720 if test "$cross_compiling" = yes; then
7721 echo $ac_n "cross compiling; assumed OK... $ac_c"
7723 cat >conftest.
$ac_ext <<_ACEOF
7726 cat confdefs.h
>>conftest.
$ac_ext
7727 cat >>conftest.
$ac_ext <<_ACEOF
7728 /* end confdefs.h. */
7730 #include <gtk/gtk.h>
7736 int major, minor, micro;
7739 system ("touch conf.gtktest");
7741 /* HP/UX 9 (%@#!) writes to sscanf strings */
7742 tmp_version = g_strdup("$min_gtk_version");
7743 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7744 printf("%s, bad version string\n", "$min_gtk_version");
7748 if ((gtk_major_version > major) ||
7749 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7750 ((gtk_major_version == major) && (gtk_minor_version == minor) &&
7751 (gtk_micro_version >= micro)))
7759 rm -f conftest
$ac_exeext
7760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7761 (eval $ac_link) 2>&5
7763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7764 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7769 (exit $ac_status); }; }; then
7772 echo "$as_me: program exited with status $ac_status" >&5
7773 echo "$as_me: failed program was:" >&5
7774 sed 's/^/| /' conftest.
$ac_ext >&5
7779 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7781 CFLAGS
="$ac_save_CFLAGS"
7782 LIBS
="$ac_save_LIBS"
7785 if test "x$no_gtk" = x
; then
7786 if test "x$enable_gtktest" = "xyes"; then
7787 echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7788 echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
7790 echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7791 echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
7793 GUI_LIB_LOC
="$GTK_LIBDIR"
7794 GTK_LIBNAME
="$GTK_LIBS"
7795 GUI_INC_LOC
="$GTK_CFLAGS"
7798 echo "$as_me:$LINENO: result: no" >&5
7799 echo "${ECHO_T}no" >&6
7815 if test "x$GTK_CFLAGS" != "x"; then
7824 if test "x$GUITYPE" != "xGTK"; then
7827 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
7829 min_gtk_version
=1.1.16
7830 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
7831 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
7833 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
7834 && $PKG_CONFIG --exists gtk
+-2.0
; then
7836 GTK_CFLAGS
=`$PKG_CONFIG --cflags gtk+-2.0`
7837 GTK_LIBDIR
=`$PKG_CONFIG --libs-only-L gtk+-2.0`
7838 GTK_LIBS
=`$PKG_CONFIG --libs gtk+-2.0`
7839 gtk_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7840 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
7841 gtk_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7842 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
7843 gtk_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7844 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
7846 elif test "X$GTK_CONFIG" != "Xno"; then
7848 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
7850 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
7851 gtk_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
7852 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
7853 gtk_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
7854 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
7855 gtk_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
7856 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
7862 if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
7864 ac_save_CFLAGS
="$CFLAGS"
7865 ac_save_LIBS
="$LIBS"
7866 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7867 LIBS
="$LIBS $GTK_LIBS"
7870 if test "$cross_compiling" = yes; then
7871 echo $ac_n "cross compiling; assumed OK... $ac_c"
7873 cat >conftest.
$ac_ext <<_ACEOF
7876 cat confdefs.h
>>conftest.
$ac_ext
7877 cat >>conftest.
$ac_ext <<_ACEOF
7878 /* end confdefs.h. */
7880 #include <gtk/gtk.h>
7886 int major, minor, micro;
7889 system ("touch conf.gtktest");
7891 /* HP/UX 9 (%@#!) writes to sscanf strings */
7892 tmp_version = g_strdup("$min_gtk_version");
7893 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7894 printf("%s, bad version string\n", "$min_gtk_version");
7898 if ((gtk_major_version > major) ||
7899 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7900 ((gtk_major_version == major) && (gtk_minor_version == minor) &&
7901 (gtk_micro_version >= micro)))
7909 rm -f conftest
$ac_exeext
7910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7911 (eval $ac_link) 2>&5
7913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7914 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7919 (exit $ac_status); }; }; then
7922 echo "$as_me: program exited with status $ac_status" >&5
7923 echo "$as_me: failed program was:" >&5
7924 sed 's/^/| /' conftest.
$ac_ext >&5
7929 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7931 CFLAGS
="$ac_save_CFLAGS"
7932 LIBS
="$ac_save_LIBS"
7935 if test "x$no_gtk" = x
; then
7936 if test "x$enable_gtktest" = "xyes"; then
7937 echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7938 echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
7940 echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7941 echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
7943 GTK_LIBNAME
="$GTK_LIBS"
7944 GUI_INC_LOC
="$GTK_CFLAGS"
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7964 if test "x$GTK_CFLAGS" != "x"; then
7973 if test "x$GUITYPE" = "xGTK"; then
7974 if test "$gtk_major_version" = 1 -a "0$gtk_minor_version" -lt 2 \
7975 -o "$gtk_major_version" = 1 -a "$gtk_minor_version" = 2 -a "0$gtk_micro_version" -lt 3; then
7976 echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
7977 echo "${ECHO_T}this GTK version is old; version 1.2.3 or later is recommended" >&6
7980 if test "0$gtk_major_version" -ge 2; then
7981 cat >>confdefs.h
<<\_ACEOF
7985 if test "$gtk_minor_version" = 1 -a "0$gtk_micro_version" -ge 1 \
7986 ||
test "0$gtk_minor_version" -ge 2 \
7987 ||
test "0$gtk_major_version" -gt 2; then
7988 cat >>confdefs.h
<<\_ACEOF
7989 #define HAVE_GTK_MULTIHEAD 1
7994 if test -z "$SKIP_GNOME"; then
8002 # Check whether --with-gnome-includes or --without-gnome-includes was given.
8003 if test "${with_gnome_includes+set}" = set; then
8004 withval
="$with_gnome_includes"
8005 CFLAGS
="$CFLAGS -I$withval"
8010 # Check whether --with-gnome-libs or --without-gnome-libs was given.
8011 if test "${with_gnome_libs+set}" = set; then
8012 withval
="$with_gnome_libs"
8013 LDFLAGS
="$LDFLAGS -L$withval" gnome_prefix
=$withval
8018 # Check whether --with-gnome or --without-gnome was given.
8019 if test "${with_gnome+set}" = set; then
8020 withval
="$with_gnome"
8021 if test x
$withval = xyes
; then
8025 if test "x$withval" = xno
; then
8029 LDFLAGS
="$LDFLAGS -L$withval/lib"
8030 CFLAGS
="$CFLAGS -I$withval/include"
8031 gnome_prefix
=$withval/lib
8038 if test "x$want_gnome" = xyes
-a "0$gtk_major_version" -ge 2; then
8040 echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
8041 echo $ECHO_N "checking for libgnomeui-2.0... $ECHO_C" >&6
8042 if $PKG_CONFIG --exists libgnomeui-2.0
; then
8043 echo "$as_me:$LINENO: result: yes" >&5
8044 echo "${ECHO_T}yes" >&6
8045 GNOME_LIBS
=`$PKG_CONFIG --libs-only-l libgnomeui-2.0`
8046 GNOME_LIBDIR
=`$PKG_CONFIG --libs-only-L libgnomeui-2.0`
8047 GNOME_INCLUDEDIR
=`$PKG_CONFIG --cflags libgnomeui-2.0`
8049 echo "$as_me:$LINENO: checking for FreeBSD" >&5
8050 echo $ECHO_N "checking for FreeBSD... $ECHO_C" >&6
8051 if test "`(uname) 2>/dev/null`" = FreeBSD
; then
8052 echo "$as_me:$LINENO: result: yes" >&5
8053 echo "${ECHO_T}yes" >&6
8054 GNOME_INCLUDEDIR
="$GNOME_INCLUDEDIR -D_THREAD_SAFE"
8055 GNOME_LIBS
="$GNOME_LIBS -pthread"
8057 echo "$as_me:$LINENO: result: no" >&5
8058 echo "${ECHO_T}no" >&6
8062 echo "$as_me:$LINENO: result: not found" >&5
8063 echo "${ECHO_T}not found" >&6
8064 if test "x" = xfail
; then
8065 { { echo "$as_me:$LINENO: error: Could not find libgnomeui-2.0 via pkg-config" >&5
8066 echo "$as_me: error: Could not find libgnomeui-2.0 via pkg-config" >&2;}
8067 { (exit 1); exit 1; }; }
8071 elif test "x$want_gnome" = xyes
; then
8073 # Extract the first word of "gnome-config", so it can be a program name with args.
8074 set dummy gnome-config
; ac_word
=$2
8075 echo "$as_me:$LINENO: checking for $ac_word" >&5
8076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
8077 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
8078 echo $ECHO_N "(cached) $ECHO_C" >&6
8080 case $GNOME_CONFIG in
8082 ac_cv_path_GNOME_CONFIG
="$GNOME_CONFIG" # Let the user override the test with a path.
8085 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8089 test -z "$as_dir" && as_dir
=.
8090 for ac_exec_ext
in '' $ac_executable_extensions; do
8091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8092 ac_cv_path_GNOME_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
8093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8099 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG
="no"
8103 GNOME_CONFIG
=$ac_cv_path_GNOME_CONFIG
8105 if test -n "$GNOME_CONFIG"; then
8106 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
8107 echo "${ECHO_T}$GNOME_CONFIG" >&6
8109 echo "$as_me:$LINENO: result: no" >&5
8110 echo "${ECHO_T}no" >&6
8113 if test "$GNOME_CONFIG" = "no"; then
8114 no_gnome_config
="yes"
8116 echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
8117 echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6
8118 if $GNOME_CONFIG --libs-only-l gnome
>/dev
/null
2>&1; then
8119 echo "$as_me:$LINENO: result: yes" >&5
8120 echo "${ECHO_T}yes" >&6
8121 GNOME_LIBS
="`$GNOME_CONFIG --libs-only-l gnome gnomeui`"
8122 GNOME_LIBDIR
="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
8123 GNOME_INCLUDEDIR
="`$GNOME_CONFIG --cflags gnorba gnomeui`"
8126 echo "$as_me:$LINENO: result: no" >&5
8127 echo "${ECHO_T}no" >&6
8128 no_gnome_config
="yes"
8132 if test x
$exec_prefix = xNONE
; then
8133 if test x
$prefix = xNONE
; then
8134 gnome_prefix
=$ac_default_prefix/lib
8136 gnome_prefix
=$prefix/lib
8139 gnome_prefix
=`eval echo \`echo $libdir\
``
8142 if test "$no_gnome_config" = "yes"; then
8143 echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
8144 echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6
8145 if test -f $gnome_prefix/gnomeConf.sh
; then
8146 echo "$as_me:$LINENO: result: found" >&5
8147 echo "${ECHO_T}found" >&6
8148 echo "loading gnome configuration from" \
8149 "$gnome_prefix/gnomeConf.sh"
8150 .
$gnome_prefix/gnomeConf.sh
8153 echo "$as_me:$LINENO: result: not found" >&5
8154 echo "${ECHO_T}not found" >&6
8155 if test x
= xfail
; then
8156 { { echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
8157 echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
8158 { (exit 1); exit 1; }; }
8165 if test x
$have_gnome = xyes
; then
8166 cat >>confdefs.h
<<\_ACEOF
8167 #define FEAT_GUI_GNOME 1
8170 GUI_INC_LOC
="$GUI_INC_LOC $GNOME_INCLUDEDIR"
8171 GTK_LIBNAME
="$GTK_LIBNAME $GNOME_LIBDIR $GNOME_LIBS"
8181 if test -z "$SKIP_MOTIF"; then
8182 gui_XXX
="/usr/XXX/Motif* /usr/Motif*/XXX /usr/XXX /usr/shlib /usr/X11*/XXX /usr/XXX/X11* /usr/dt/XXX /local/Motif*/XXX /local/XXX/Motif* /usr/local/Motif*/XXX /usr/local/XXX/Motif* /usr/local/XXX /usr/local/X11*/XXX /usr/local/LessTif/Motif*/XXX $MOTIFHOME/XXX"
8183 GUI_INC_LOC
="`echo $GUI_INC_LOC|sed 's%-I%%g'`"
8185 echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
8186 echo $ECHO_N "checking for location of Motif GUI includes... $ECHO_C" >&6
8187 gui_includes
="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC"
8189 for try
in $gui_includes; do
8190 if test -f "$try/Xm/Xm.h"; then
8194 if test -n "$GUI_INC_LOC"; then
8195 if test "$GUI_INC_LOC" = /usr
/include
; then
8197 echo "$as_me:$LINENO: result: in default path" >&5
8198 echo "${ECHO_T}in default path" >&6
8200 echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
8201 echo "${ECHO_T}$GUI_INC_LOC" >&6
8204 echo "$as_me:$LINENO: result: <not found>" >&5
8205 echo "${ECHO_T}<not found>" >&6
8211 if test -z "$SKIP_MOTIF"; then
8212 echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
8213 echo $ECHO_N "checking --with-motif-lib argument... $ECHO_C" >&6
8215 # Check whether --with-motif-lib or --without-motif-lib was given.
8216 if test "${with_motif_lib+set}" = set; then
8217 withval
="$with_motif_lib"
8218 MOTIF_LIBNAME
="${withval}"
8221 if test -n "$MOTIF_LIBNAME"; then
8222 echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
8223 echo "${ECHO_T}$MOTIF_LIBNAME" >&6
8226 echo "$as_me:$LINENO: result: no" >&5
8227 echo "${ECHO_T}no" >&6
8229 GUI_LIB_LOC
="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
8231 echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
8232 echo $ECHO_N "checking for location of Motif GUI libs... $ECHO_C" >&6
8233 gui_libs
="`echo $x_libraries|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/lib/g` `echo "$GUI_INC_LOC" | sed s/include/lib/` $GUI_LIB_LOC"
8235 for try
in $gui_libs; do
8236 for libtry
in "$try"/libXm.a
"$try"/libXm.so
* "$try"/libXm.sl
"$try"/libXm.dylib
; do
8237 if test -f "$libtry"; then
8242 if test -n "$GUI_LIB_LOC"; then
8243 if test "$GUI_LIB_LOC" = /usr
/lib
; then
8245 echo "$as_me:$LINENO: result: in default path" >&5
8246 echo "${ECHO_T}in default path" >&6
8248 if test -n "$GUI_LIB_LOC"; then
8249 echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
8250 echo "${ECHO_T}$GUI_LIB_LOC" >&6
8251 if test "`(uname) 2>/dev/null`" = SunOS
&&
8252 uname
-r |
grep '^5' >/dev
/null
; then
8253 GUI_LIB_LOC
="$GUI_LIB_LOC -R $GUI_LIB_LOC"
8259 echo "$as_me:$LINENO: result: <not found>" >&5
8260 echo "${ECHO_T}<not found>" >&6
8266 if test -z "$SKIP_MOTIF"; then
8276 if test -z "$SKIP_ATHENA"; then
8277 echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
8278 echo $ECHO_N "checking if Athena header files can be found... $ECHO_C" >&6
8280 CFLAGS
="$CFLAGS $X_CFLAGS"
8281 cat >conftest.
$ac_ext <<_ACEOF
8284 cat confdefs.h
>>conftest.
$ac_ext
8285 cat >>conftest.
$ac_ext <<_ACEOF
8286 /* end confdefs.h. */
8288 #include <X11/Intrinsic.h>
8289 #include <X11/Xaw/Paned.h>
8298 rm -f conftest.
$ac_objext
8299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8300 (eval $ac_compile) 2>conftest.er1
8302 grep -v '^ *+' conftest.er1
>conftest.err
8304 cat conftest.err
>&5
8305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8306 (exit $ac_status); } &&
8307 { ac_try
='test -z "$ac_c_werror_flag"
8308 || test ! -s conftest.err'
8309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8313 (exit $ac_status); }; } &&
8314 { ac_try
='test -s conftest.$ac_objext'
8315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); }; }; then
8320 echo "$as_me:$LINENO: result: yes" >&5
8321 echo "${ECHO_T}yes" >&6
8323 echo "$as_me: failed program was:" >&5
8324 sed 's/^/| /' conftest.
$ac_ext >&5
8326 echo "$as_me:$LINENO: result: no" >&5
8327 echo "${ECHO_T}no" >&6; SKIP_ATHENA
=YES
8329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8333 if test -z "$SKIP_ATHENA"; then
8337 if test -z "$SKIP_NEXTAW"; then
8338 echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
8339 echo $ECHO_N "checking if neXtaw header files can be found... $ECHO_C" >&6
8341 CFLAGS
="$CFLAGS $X_CFLAGS"
8342 cat >conftest.
$ac_ext <<_ACEOF
8345 cat confdefs.h
>>conftest.
$ac_ext
8346 cat >>conftest.
$ac_ext <<_ACEOF
8347 /* end confdefs.h. */
8349 #include <X11/Intrinsic.h>
8350 #include <X11/neXtaw/Paned.h>
8359 rm -f conftest.
$ac_objext
8360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8361 (eval $ac_compile) 2>conftest.er1
8363 grep -v '^ *+' conftest.er1
>conftest.err
8365 cat conftest.err
>&5
8366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8367 (exit $ac_status); } &&
8368 { ac_try
='test -z "$ac_c_werror_flag"
8369 || test ! -s conftest.err'
8370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8374 (exit $ac_status); }; } &&
8375 { ac_try
='test -s conftest.$ac_objext'
8376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; }; then
8381 echo "$as_me:$LINENO: result: yes" >&5
8382 echo "${ECHO_T}yes" >&6
8384 echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.
$ac_ext >&5
8387 echo "$as_me:$LINENO: result: no" >&5
8388 echo "${ECHO_T}no" >&6; SKIP_NEXTAW
=YES
8390 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8394 if test -z "$SKIP_NEXTAW"; then
8398 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
8399 if test -n "$GUI_INC_LOC"; then
8400 GUI_INC_LOC
=-I"`echo $GUI_INC_LOC|sed 's%-I%%'`"
8402 if test -n "$GUI_LIB_LOC"; then
8403 GUI_LIB_LOC
=-L"`echo $GUI_LIB_LOC|sed 's%-L%%'`"
8406 ldflags_save
=$LDFLAGS
8407 LDFLAGS
="$X_LIBS $LDFLAGS"
8408 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8409 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
8410 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8411 echo $ECHO_N "(cached) $ECHO_C" >&6
8413 ac_check_lib_save_LIBS
=$LIBS
8414 LIBS
="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8415 cat >conftest.
$ac_ext <<_ACEOF
8418 cat confdefs.h
>>conftest.
$ac_ext
8419 cat >>conftest.
$ac_ext <<_ACEOF
8420 /* end confdefs.h. */
8422 /* Override any gcc2 internal prototype to avoid an error. */
8426 /* We use char because int might match the return type of a gcc2
8427 builtin and then its argument prototype would still apply. */
8428 char XShapeQueryExtension ();
8432 XShapeQueryExtension ();
8437 rm -f conftest.
$ac_objext conftest
$ac_exeext
8438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8439 (eval $ac_link) 2>conftest.er1
8441 grep -v '^ *+' conftest.er1
>conftest.err
8443 cat conftest.err
>&5
8444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8445 (exit $ac_status); } &&
8446 { ac_try
='test -z "$ac_c_werror_flag"
8447 || test ! -s conftest.err'
8448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8452 (exit $ac_status); }; } &&
8453 { ac_try
='test -s conftest$ac_exeext'
8454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8458 (exit $ac_status); }; }; then
8459 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.
$ac_ext >&5
8464 ac_cv_lib_Xext_XShapeQueryExtension
=no
8466 rm -f conftest.err conftest.
$ac_objext \
8467 conftest
$ac_exeext conftest.
$ac_ext
8468 LIBS
=$ac_check_lib_save_LIBS
8470 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8471 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8472 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8476 echo "$as_me:$LINENO: checking for wslen in -lw" >&5
8477 echo $ECHO_N "checking for wslen in -lw... $ECHO_C" >&6
8478 if test "${ac_cv_lib_w_wslen+set}" = set; then
8479 echo $ECHO_N "(cached) $ECHO_C" >&6
8481 ac_check_lib_save_LIBS
=$LIBS
8482 LIBS
="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8483 cat >conftest.
$ac_ext <<_ACEOF
8486 cat confdefs.h
>>conftest.
$ac_ext
8487 cat >>conftest.
$ac_ext <<_ACEOF
8488 /* end confdefs.h. */
8490 /* Override any gcc2 internal prototype to avoid an error. */
8494 /* We use char because int might match the return type of a gcc2
8495 builtin and then its argument prototype would still apply. */
8505 rm -f conftest.
$ac_objext conftest
$ac_exeext
8506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8507 (eval $ac_link) 2>conftest.er1
8509 grep -v '^ *+' conftest.er1
>conftest.err
8511 cat conftest.err
>&5
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); } &&
8514 { ac_try
='test -z "$ac_c_werror_flag"
8515 || test ! -s conftest.err'
8516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 (exit $ac_status); }; } &&
8521 { ac_try
='test -s conftest$ac_exeext'
8522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8526 (exit $ac_status); }; }; then
8527 ac_cv_lib_w_wslen
=yes
8529 echo "$as_me: failed program was:" >&5
8530 sed 's/^/| /' conftest.
$ac_ext >&5
8532 ac_cv_lib_w_wslen
=no
8534 rm -f conftest.err conftest.
$ac_objext \
8535 conftest
$ac_exeext conftest.
$ac_ext
8536 LIBS
=$ac_check_lib_save_LIBS
8538 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
8539 echo "${ECHO_T}$ac_cv_lib_w_wslen" >&6
8540 if test $ac_cv_lib_w_wslen = yes; then
8541 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lw"
8544 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
8545 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
8546 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
8547 echo $ECHO_N "(cached) $ECHO_C" >&6
8549 ac_check_lib_save_LIBS
=$LIBS
8550 LIBS
="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8551 cat >conftest.
$ac_ext <<_ACEOF
8554 cat confdefs.h
>>conftest.
$ac_ext
8555 cat >>conftest.
$ac_ext <<_ACEOF
8556 /* end confdefs.h. */
8558 /* Override any gcc2 internal prototype to avoid an error. */
8562 /* We use char because int might match the return type of a gcc2
8563 builtin and then its argument prototype would still apply. */
8573 rm -f conftest.
$ac_objext conftest
$ac_exeext
8574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8575 (eval $ac_link) 2>conftest.er1
8577 grep -v '^ *+' conftest.er1
>conftest.err
8579 cat conftest.err
>&5
8580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8581 (exit $ac_status); } &&
8582 { ac_try
='test -z "$ac_c_werror_flag"
8583 || test ! -s conftest.err'
8584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8588 (exit $ac_status); }; } &&
8589 { ac_try
='test -s conftest$ac_exeext'
8590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8594 (exit $ac_status); }; }; then
8595 ac_cv_lib_dl_dlsym
=yes
8597 echo "$as_me: failed program was:" >&5
8598 sed 's/^/| /' conftest.
$ac_ext >&5
8600 ac_cv_lib_dl_dlsym
=no
8602 rm -f conftest.err conftest.
$ac_objext \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 LIBS
=$ac_check_lib_save_LIBS
8606 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
8607 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
8608 if test $ac_cv_lib_dl_dlsym = yes; then
8609 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldl"
8612 echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
8613 echo $ECHO_N "checking for XmuCreateStippledPixmap in -lXmu... $ECHO_C" >&6
8614 if test "${ac_cv_lib_Xmu_XmuCreateStippledPixmap+set}" = set; then
8615 echo $ECHO_N "(cached) $ECHO_C" >&6
8617 ac_check_lib_save_LIBS
=$LIBS
8618 LIBS
="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8619 cat >conftest.
$ac_ext <<_ACEOF
8622 cat confdefs.h
>>conftest.
$ac_ext
8623 cat >>conftest.
$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8626 /* Override any gcc2 internal prototype to avoid an error. */
8630 /* We use char because int might match the return type of a gcc2
8631 builtin and then its argument prototype would still apply. */
8632 char XmuCreateStippledPixmap ();
8636 XmuCreateStippledPixmap ();
8641 rm -f conftest.
$ac_objext conftest
$ac_exeext
8642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8643 (eval $ac_link) 2>conftest.er1
8645 grep -v '^ *+' conftest.er1
>conftest.err
8647 cat conftest.err
>&5
8648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8649 (exit $ac_status); } &&
8650 { ac_try
='test -z "$ac_c_werror_flag"
8651 || test ! -s conftest.err'
8652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8656 (exit $ac_status); }; } &&
8657 { ac_try
='test -s conftest$ac_exeext'
8658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8662 (exit $ac_status); }; }; then
8663 ac_cv_lib_Xmu_XmuCreateStippledPixmap
=yes
8665 echo "$as_me: failed program was:" >&5
8666 sed 's/^/| /' conftest.
$ac_ext >&5
8668 ac_cv_lib_Xmu_XmuCreateStippledPixmap
=no
8670 rm -f conftest.err conftest.
$ac_objext \
8671 conftest
$ac_exeext conftest.
$ac_ext
8672 LIBS
=$ac_check_lib_save_LIBS
8674 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
8675 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6
8676 if test $ac_cv_lib_Xmu_XmuCreateStippledPixmap = yes; then
8677 GUI_X_LIBS
="-lXmu $GUI_X_LIBS"
8680 if test -z "$SKIP_MOTIF"; then
8681 echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
8682 echo $ECHO_N "checking for XpEndJob in -lXp... $ECHO_C" >&6
8683 if test "${ac_cv_lib_Xp_XpEndJob+set}" = set; then
8684 echo $ECHO_N "(cached) $ECHO_C" >&6
8686 ac_check_lib_save_LIBS
=$LIBS
8687 LIBS
="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8688 cat >conftest.
$ac_ext <<_ACEOF
8691 cat confdefs.h
>>conftest.
$ac_ext
8692 cat >>conftest.
$ac_ext <<_ACEOF
8693 /* end confdefs.h. */
8695 /* Override any gcc2 internal prototype to avoid an error. */
8699 /* We use char because int might match the return type of a gcc2
8700 builtin and then its argument prototype would still apply. */
8710 rm -f conftest.
$ac_objext conftest
$ac_exeext
8711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8712 (eval $ac_link) 2>conftest.er1
8714 grep -v '^ *+' conftest.er1
>conftest.err
8716 cat conftest.err
>&5
8717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8718 (exit $ac_status); } &&
8719 { ac_try
='test -z "$ac_c_werror_flag"
8720 || test ! -s conftest.err'
8721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8725 (exit $ac_status); }; } &&
8726 { ac_try
='test -s conftest$ac_exeext'
8727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8731 (exit $ac_status); }; }; then
8732 ac_cv_lib_Xp_XpEndJob
=yes
8734 echo "$as_me: failed program was:" >&5
8735 sed 's/^/| /' conftest.
$ac_ext >&5
8737 ac_cv_lib_Xp_XpEndJob
=no
8739 rm -f conftest.err conftest.
$ac_objext \
8740 conftest
$ac_exeext conftest.
$ac_ext
8741 LIBS
=$ac_check_lib_save_LIBS
8743 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
8744 echo "${ECHO_T}$ac_cv_lib_Xp_XpEndJob" >&6
8745 if test $ac_cv_lib_Xp_XpEndJob = yes; then
8746 GUI_X_LIBS
="-lXp $GUI_X_LIBS"
8750 LDFLAGS
=$ldflags_save
8752 echo "$as_me:$LINENO: checking for extra X11 defines" >&5
8753 echo $ECHO_N "checking for extra X11 defines... $ECHO_C" >&6
8756 if mkdir conftestdir
; then
8758 cat > Imakefile
<<'EOF'
8760 @echo 'NARROW_PROTO="${PROTO_DEFINES}"'
8762 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8763 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8768 if test -z "$NARROW_PROTO"; then
8769 echo "$as_me:$LINENO: result: no" >&5
8770 echo "${ECHO_T}no" >&6
8772 echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
8773 echo "${ECHO_T}$NARROW_PROTO" >&6
8778 if test "$enable_xsmp" = "yes"; then
8779 cppflags_save
=$CPPFLAGS
8780 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8782 for ac_header
in X11
/SM
/SMlib.h
8784 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8786 echo "$as_me:$LINENO: checking for $ac_header" >&5
8787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8789 echo $ECHO_N "(cached) $ECHO_C" >&6
8791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8794 # Is the header compilable?
8795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8797 cat >conftest.
$ac_ext <<_ACEOF
8800 cat confdefs.h
>>conftest.
$ac_ext
8801 cat >>conftest.
$ac_ext <<_ACEOF
8802 /* end confdefs.h. */
8803 $ac_includes_default
8804 #include <$ac_header>
8806 rm -f conftest.
$ac_objext
8807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8808 (eval $ac_compile) 2>conftest.er1
8810 grep -v '^ *+' conftest.er1
>conftest.err
8812 cat conftest.err
>&5
8813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8814 (exit $ac_status); } &&
8815 { ac_try
='test -z "$ac_c_werror_flag"
8816 || test ! -s conftest.err'
8817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8821 (exit $ac_status); }; } &&
8822 { ac_try
='test -s conftest.$ac_objext'
8823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8827 (exit $ac_status); }; }; then
8828 ac_header_compiler
=yes
8830 echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.
$ac_ext >&5
8833 ac_header_compiler
=no
8835 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8837 echo "${ECHO_T}$ac_header_compiler" >&6
8839 # Is the header present?
8840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8842 cat >conftest.
$ac_ext <<_ACEOF
8845 cat confdefs.h
>>conftest.
$ac_ext
8846 cat >>conftest.
$ac_ext <<_ACEOF
8847 /* end confdefs.h. */
8848 #include <$ac_header>
8850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8851 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8853 grep -v '^ *+' conftest.er1
>conftest.err
8855 cat conftest.err
>&5
8856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8857 (exit $ac_status); } >/dev
/null
; then
8858 if test -s conftest.err
; then
8859 ac_cpp_err
=$ac_c_preproc_warn_flag
8860 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8867 if test -z "$ac_cpp_err"; then
8868 ac_header_preproc
=yes
8870 echo "$as_me: failed program was:" >&5
8871 sed 's/^/| /' conftest.
$ac_ext >&5
8873 ac_header_preproc
=no
8875 rm -f conftest.err conftest.
$ac_ext
8876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8877 echo "${ECHO_T}$ac_header_preproc" >&6
8879 # So? What about this header?
8880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8886 ac_header_preproc
=yes
8889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8903 ## ------------------------------------------ ##
8904 ## Report this to the AC_PACKAGE_NAME lists. ##
8905 ## ------------------------------------------ ##
8908 sed "s/^/$as_me: WARNING: /" >&2
8911 echo "$as_me:$LINENO: checking for $ac_header" >&5
8912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8914 echo $ECHO_N "(cached) $ECHO_C" >&6
8916 eval "$as_ac_Header=\$ac_header_preproc"
8918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8923 cat >>confdefs.h
<<_ACEOF
8924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8931 CPPFLAGS
=$cppflags_save
8935 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF" -o -z "$SKIP_GTK"; then
8936 cppflags_save
=$CPPFLAGS
8937 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8940 for ac_header
in X11
/xpm.h X11
/Sunkeysym.h
8942 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8943 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8944 echo "$as_me:$LINENO: checking for $ac_header" >&5
8945 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6
8949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8950 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8952 # Is the header compilable?
8953 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8954 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8955 cat >conftest.
$ac_ext <<_ACEOF
8958 cat confdefs.h
>>conftest.
$ac_ext
8959 cat >>conftest.
$ac_ext <<_ACEOF
8960 /* end confdefs.h. */
8961 $ac_includes_default
8962 #include <$ac_header>
8964 rm -f conftest.
$ac_objext
8965 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8966 (eval $ac_compile) 2>conftest.er1
8968 grep -v '^ *+' conftest.er1
>conftest.err
8970 cat conftest.err
>&5
8971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8972 (exit $ac_status); } &&
8973 { ac_try
='test -z "$ac_c_werror_flag"
8974 || test ! -s conftest.err'
8975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }; } &&
8980 { ac_try
='test -s conftest.$ac_objext'
8981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8985 (exit $ac_status); }; }; then
8986 ac_header_compiler
=yes
8988 echo "$as_me: failed program was:" >&5
8989 sed 's/^/| /' conftest.
$ac_ext >&5
8991 ac_header_compiler
=no
8993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8994 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8995 echo "${ECHO_T}$ac_header_compiler" >&6
8997 # Is the header present?
8998 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8999 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9000 cat >conftest.
$ac_ext <<_ACEOF
9003 cat confdefs.h
>>conftest.
$ac_ext
9004 cat >>conftest.
$ac_ext <<_ACEOF
9005 /* end confdefs.h. */
9006 #include <$ac_header>
9008 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9009 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9011 grep -v '^ *+' conftest.er1
>conftest.err
9013 cat conftest.err
>&5
9014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9015 (exit $ac_status); } >/dev
/null
; then
9016 if test -s conftest.err
; then
9017 ac_cpp_err
=$ac_c_preproc_warn_flag
9018 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9025 if test -z "$ac_cpp_err"; then
9026 ac_header_preproc
=yes
9028 echo "$as_me: failed program was:" >&5
9029 sed 's/^/| /' conftest.
$ac_ext >&5
9031 ac_header_preproc
=no
9033 rm -f conftest.err conftest.
$ac_ext
9034 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9035 echo "${ECHO_T}$ac_header_preproc" >&6
9037 # So? What about this header?
9038 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9040 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9041 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9043 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9044 ac_header_preproc
=yes
9047 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9048 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9049 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9050 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9051 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9052 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9053 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9054 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9055 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9056 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9057 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9058 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9061 ## ------------------------------------------ ##
9062 ## Report this to the AC_PACKAGE_NAME lists. ##
9063 ## ------------------------------------------ ##
9066 sed "s/^/$as_me: WARNING: /" >&2
9069 echo "$as_me:$LINENO: checking for $ac_header" >&5
9070 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9071 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9072 echo $ECHO_N "(cached) $ECHO_C" >&6
9074 eval "$as_ac_Header=\$ac_header_preproc"
9076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9077 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9080 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9081 cat >>confdefs.h
<<_ACEOF
9082 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9090 if test ! "$enable_xim" = "no"; then
9091 echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
9092 echo $ECHO_N "checking for XIMText in X11/Xlib.h... $ECHO_C" >&6
9093 cat >conftest.
$ac_ext <<_ACEOF
9096 cat confdefs.h
>>conftest.
$ac_ext
9097 cat >>conftest.
$ac_ext <<_ACEOF
9098 /* end confdefs.h. */
9099 #include <X11/Xlib.h>
9101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9102 $EGREP "XIMText" >/dev
/null
2>&1; then
9103 echo "$as_me:$LINENO: result: yes" >&5
9104 echo "${ECHO_T}yes" >&6
9106 echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
9107 echo "${ECHO_T}no; xim has been disabled" >&6; enable_xim
= "no"
9112 CPPFLAGS
=$cppflags_save
9114 if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \
9115 -a "x$GUITYPE" != "xNONE" ; then
9116 echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
9117 echo "${ECHO_T}X GUI selected; xim has been enabled" >&6
9122 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
9123 cppflags_save
=$CPPFLAGS
9124 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9125 echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
9126 echo $ECHO_N "checking for X11/Xmu/Editres.h... $ECHO_C" >&6
9127 cat >conftest.
$ac_ext <<_ACEOF
9130 cat confdefs.h
>>conftest.
$ac_ext
9131 cat >>conftest.
$ac_ext <<_ACEOF
9132 /* end confdefs.h. */
9134 #include <X11/Intrinsic.h>
9135 #include <X11/Xmu/Editres.h>
9144 rm -f conftest.
$ac_objext
9145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9146 (eval $ac_compile) 2>conftest.er1
9148 grep -v '^ *+' conftest.er1
>conftest.err
9150 cat conftest.err
>&5
9151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9152 (exit $ac_status); } &&
9153 { ac_try
='test -z "$ac_c_werror_flag"
9154 || test ! -s conftest.err'
9155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9159 (exit $ac_status); }; } &&
9160 { ac_try
='test -s conftest.$ac_objext'
9161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9165 (exit $ac_status); }; }; then
9166 echo "$as_me:$LINENO: result: yes" >&5
9167 echo "${ECHO_T}yes" >&6
9168 cat >>confdefs.h
<<\_ACEOF
9169 #define HAVE_X11_XMU_EDITRES_H 1
9173 echo "$as_me: failed program was:" >&5
9174 sed 's/^/| /' conftest.
$ac_ext >&5
9176 echo "$as_me:$LINENO: result: no" >&5
9177 echo "${ECHO_T}no" >&6
9179 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9180 CPPFLAGS
=$cppflags_save
9183 if test -z "$SKIP_MOTIF"; then
9184 cppflags_save
=$CPPFLAGS
9185 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9193 for ac_header
in Xm
/Xm.h Xm
/XpmP.h Xm
/JoinSideT.h Xm
/TraitP.h Xm
/Manager.h \
9194 Xm
/UnhighlightT.h Xm
/Notebook.h
9196 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9197 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9198 echo "$as_me:$LINENO: checking for $ac_header" >&5
9199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9201 echo $ECHO_N "(cached) $ECHO_C" >&6
9203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9204 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9206 # Is the header compilable?
9207 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9208 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9209 cat >conftest.
$ac_ext <<_ACEOF
9212 cat confdefs.h
>>conftest.
$ac_ext
9213 cat >>conftest.
$ac_ext <<_ACEOF
9214 /* end confdefs.h. */
9215 $ac_includes_default
9216 #include <$ac_header>
9218 rm -f conftest.
$ac_objext
9219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9220 (eval $ac_compile) 2>conftest.er1
9222 grep -v '^ *+' conftest.er1
>conftest.err
9224 cat conftest.err
>&5
9225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9226 (exit $ac_status); } &&
9227 { ac_try
='test -z "$ac_c_werror_flag"
9228 || test ! -s conftest.err'
9229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9233 (exit $ac_status); }; } &&
9234 { ac_try
='test -s conftest.$ac_objext'
9235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9239 (exit $ac_status); }; }; then
9240 ac_header_compiler
=yes
9242 echo "$as_me: failed program was:" >&5
9243 sed 's/^/| /' conftest.
$ac_ext >&5
9245 ac_header_compiler
=no
9247 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9248 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9249 echo "${ECHO_T}$ac_header_compiler" >&6
9251 # Is the header present?
9252 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9253 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9254 cat >conftest.
$ac_ext <<_ACEOF
9257 cat confdefs.h
>>conftest.
$ac_ext
9258 cat >>conftest.
$ac_ext <<_ACEOF
9259 /* end confdefs.h. */
9260 #include <$ac_header>
9262 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9263 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9265 grep -v '^ *+' conftest.er1
>conftest.err
9267 cat conftest.err
>&5
9268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9269 (exit $ac_status); } >/dev
/null
; then
9270 if test -s conftest.err
; then
9271 ac_cpp_err
=$ac_c_preproc_warn_flag
9272 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9279 if test -z "$ac_cpp_err"; then
9280 ac_header_preproc
=yes
9282 echo "$as_me: failed program was:" >&5
9283 sed 's/^/| /' conftest.
$ac_ext >&5
9285 ac_header_preproc
=no
9287 rm -f conftest.err conftest.
$ac_ext
9288 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9289 echo "${ECHO_T}$ac_header_preproc" >&6
9291 # So? What about this header?
9292 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9294 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9295 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9296 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9297 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9298 ac_header_preproc
=yes
9301 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9302 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9303 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9304 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9305 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9306 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9307 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9308 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9309 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9310 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9311 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9312 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9315 ## ------------------------------------------ ##
9316 ## Report this to the AC_PACKAGE_NAME lists. ##
9317 ## ------------------------------------------ ##
9320 sed "s/^/$as_me: WARNING: /" >&2
9323 echo "$as_me:$LINENO: checking for $ac_header" >&5
9324 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9326 echo $ECHO_N "(cached) $ECHO_C" >&6
9328 eval "$as_ac_Header=\$ac_header_preproc"
9330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9331 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9334 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9335 cat >>confdefs.h
<<_ACEOF
9336 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9344 if test $ac_cv_header_Xm_XpmP_h = yes; then
9345 echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
9346 echo $ECHO_N "checking for XpmAttributes_21 in Xm/XpmP.h... $ECHO_C" >&6
9347 cat >conftest.
$ac_ext <<_ACEOF
9350 cat confdefs.h
>>conftest.
$ac_ext
9351 cat >>conftest.
$ac_ext <<_ACEOF
9352 /* end confdefs.h. */
9353 #include <Xm/XpmP.h>
9357 XpmAttributes_21 attr;
9362 rm -f conftest.
$ac_objext
9363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9364 (eval $ac_compile) 2>conftest.er1
9366 grep -v '^ *+' conftest.er1
>conftest.err
9368 cat conftest.err
>&5
9369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); } &&
9371 { ac_try
='test -z "$ac_c_werror_flag"
9372 || test ! -s conftest.err'
9373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9377 (exit $ac_status); }; } &&
9378 { ac_try
='test -s conftest.$ac_objext'
9379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9383 (exit $ac_status); }; }; then
9384 echo "$as_me:$LINENO: result: yes" >&5
9385 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
9386 #define XPMATTRIBUTES_TYPE XpmAttributes_21
9390 echo "$as_me: failed program was:" >&5
9391 sed 's/^/| /' conftest.
$ac_ext >&5
9393 echo "$as_me:$LINENO: result: no" >&5
9394 echo "${ECHO_T}no" >&6; cat >>confdefs.h
<<\_ACEOF
9395 #define XPMATTRIBUTES_TYPE XpmAttributes
9400 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9402 cat >>confdefs.h
<<\_ACEOF
9403 #define XPMATTRIBUTES_TYPE XpmAttributes
9407 CPPFLAGS
=$cppflags_save
9410 if test "x$GUITYPE" = "xNONE" -a "$enable_xim" = "yes"; then
9411 echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
9412 echo "${ECHO_T}no GUI selected; xim has been disabled" >&6
9415 if test "x$GUITYPE" = "xNONE" -a "$enable_fontset" = "yes"; then
9416 echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
9417 echo "${ECHO_T}no GUI selected; fontset has been disabled" >&6
9420 if test "x$GUITYPE:$enable_fontset" = "xGTK:yes" -a "0$gtk_major_version" -ge 2; then
9421 echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
9422 echo "${ECHO_T}GTK+ 2 GUI selected; fontset has been disabled" >&6
9426 if test -z "$SKIP_PHOTON"; then
9435 if test "$enable_workshop" = "yes" -a -n "$SKIP_MOTIF"; then
9436 { { echo "$as_me:$LINENO: error: cannot use workshop without Motif" >&5
9437 echo "$as_me: error: cannot use workshop without Motif" >&2;}
9438 { (exit 1); exit 1; }; }
9441 if test "$enable_xim" = "yes"; then
9442 cat >>confdefs.h
<<\_ACEOF
9447 if test "$enable_fontset" = "yes"; then
9448 cat >>confdefs.h
<<\_ACEOF
9449 #define FEAT_XFONTSET 1
9457 if test "$enable_hangulinput" = "yes"; then
9458 if test "x$GUITYPE" = "xNONE"; then
9459 echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
9460 echo "${ECHO_T}no GUI selected; hangul input has been disabled" >&6
9461 enable_hangulinput
=no
9463 cat >>confdefs.h
<<\_ACEOF
9464 #define FEAT_HANGULIN 1
9467 HANGULIN_SRC
=hangulin.c
9469 HANGULIN_OBJ
=objects
/hangulin.o
9475 echo "$as_me:$LINENO: checking quality of toupper" >&5
9476 echo $ECHO_N "checking quality of toupper... $ECHO_C" >&6
9477 if test "$cross_compiling" = yes; then
9478 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
9479 echo "$as_me: error: failed to compile test program" >&2;}
9480 { (exit 1); exit 1; }; }
9482 cat >conftest.
$ac_ext <<_ACEOF
9485 cat confdefs.h
>>conftest.
$ac_ext
9486 cat >>conftest.
$ac_ext <<_ACEOF
9487 /* end confdefs.h. */
9489 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
9491 rm -f conftest
$ac_exeext
9492 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9493 (eval $ac_link) 2>&5
9495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9496 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9501 (exit $ac_status); }; }; then
9502 cat >>confdefs.h
<<\_ACEOF
9503 #define BROKEN_TOUPPER 1
9505 echo "$as_me:$LINENO: result: bad" >&5
9506 echo "${ECHO_T}bad" >&6
9508 echo "$as_me: program exited with status $ac_status" >&5
9509 echo "$as_me: failed program was:" >&5
9510 sed 's/^/| /' conftest.
$ac_ext >&5
9513 echo "$as_me:$LINENO: result: good" >&5
9514 echo "${ECHO_T}good" >&6
9516 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9519 echo "$as_me:$LINENO: checking whether __DATE__ and __TIME__ work" >&5
9520 echo $ECHO_N "checking whether __DATE__ and __TIME__ work... $ECHO_C" >&6
9521 cat >conftest.
$ac_ext <<_ACEOF
9524 cat confdefs.h
>>conftest.
$ac_ext
9525 cat >>conftest.
$ac_ext <<_ACEOF
9526 /* end confdefs.h. */
9531 printf("(" __DATE__ " " __TIME__ ")");
9536 rm -f conftest.
$ac_objext
9537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9538 (eval $ac_compile) 2>conftest.er1
9540 grep -v '^ *+' conftest.er1
>conftest.err
9542 cat conftest.err
>&5
9543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9544 (exit $ac_status); } &&
9545 { ac_try
='test -z "$ac_c_werror_flag"
9546 || test ! -s conftest.err'
9547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9551 (exit $ac_status); }; } &&
9552 { ac_try
='test -s conftest.$ac_objext'
9553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9557 (exit $ac_status); }; }; then
9558 echo "$as_me:$LINENO: result: yes" >&5
9559 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
9560 #define HAVE_DATE_TIME 1
9564 echo "$as_me: failed program was:" >&5
9565 sed 's/^/| /' conftest.
$ac_ext >&5
9567 echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6
9570 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9572 if test "${ac_cv_header_elf_h+set}" = set; then
9573 echo "$as_me:$LINENO: checking for elf.h" >&5
9574 echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
9575 if test "${ac_cv_header_elf_h+set}" = set; then
9576 echo $ECHO_N "(cached) $ECHO_C" >&6
9578 echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
9579 echo "${ECHO_T}$ac_cv_header_elf_h" >&6
9581 # Is the header compilable?
9582 echo "$as_me:$LINENO: checking elf.h usability" >&5
9583 echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6
9584 cat >conftest.
$ac_ext <<_ACEOF
9587 cat confdefs.h
>>conftest.
$ac_ext
9588 cat >>conftest.
$ac_ext <<_ACEOF
9589 /* end confdefs.h. */
9590 $ac_includes_default
9593 rm -f conftest.
$ac_objext
9594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9595 (eval $ac_compile) 2>conftest.er1
9597 grep -v '^ *+' conftest.er1
>conftest.err
9599 cat conftest.err
>&5
9600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9601 (exit $ac_status); } &&
9602 { ac_try
='test -z "$ac_c_werror_flag"
9603 || test ! -s conftest.err'
9604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); }; } &&
9609 { ac_try
='test -s conftest.$ac_objext'
9610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 (exit $ac_status); }; }; then
9615 ac_header_compiler
=yes
9617 echo "$as_me: failed program was:" >&5
9618 sed 's/^/| /' conftest.
$ac_ext >&5
9620 ac_header_compiler
=no
9622 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9623 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9624 echo "${ECHO_T}$ac_header_compiler" >&6
9626 # Is the header present?
9627 echo "$as_me:$LINENO: checking elf.h presence" >&5
9628 echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6
9629 cat >conftest.
$ac_ext <<_ACEOF
9632 cat confdefs.h
>>conftest.
$ac_ext
9633 cat >>conftest.
$ac_ext <<_ACEOF
9634 /* end confdefs.h. */
9637 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9638 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9640 grep -v '^ *+' conftest.er1
>conftest.err
9642 cat conftest.err
>&5
9643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9644 (exit $ac_status); } >/dev
/null
; then
9645 if test -s conftest.err
; then
9646 ac_cpp_err
=$ac_c_preproc_warn_flag
9647 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9654 if test -z "$ac_cpp_err"; then
9655 ac_header_preproc
=yes
9657 echo "$as_me: failed program was:" >&5
9658 sed 's/^/| /' conftest.
$ac_ext >&5
9660 ac_header_preproc
=no
9662 rm -f conftest.err conftest.
$ac_ext
9663 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9664 echo "${ECHO_T}$ac_header_preproc" >&6
9666 # So? What about this header?
9667 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9669 { echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5
9670 echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9671 { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5
9672 echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;}
9673 ac_header_preproc
=yes
9676 { echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5
9677 echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;}
9678 { echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
9679 echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
9680 { echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5
9681 echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;}
9682 { echo "$as_me:$LINENO: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&5
9683 echo "$as_me: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&2;}
9684 { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
9685 echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
9686 { echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
9687 echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
9690 ## ------------------------------------------ ##
9691 ## Report this to the AC_PACKAGE_NAME lists. ##
9692 ## ------------------------------------------ ##
9695 sed "s/^/$as_me: WARNING: /" >&2
9698 echo "$as_me:$LINENO: checking for elf.h" >&5
9699 echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
9700 if test "${ac_cv_header_elf_h+set}" = set; then
9701 echo $ECHO_N "(cached) $ECHO_C" >&6
9703 ac_cv_header_elf_h
=$ac_header_preproc
9705 echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
9706 echo "${ECHO_T}$ac_cv_header_elf_h" >&6
9709 if test $ac_cv_header_elf_h = yes; then
9714 if test "$HAS_ELF" = 1; then
9716 echo "$as_me:$LINENO: checking for main in -lelf" >&5
9717 echo $ECHO_N "checking for main in -lelf... $ECHO_C" >&6
9718 if test "${ac_cv_lib_elf_main+set}" = set; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 ac_check_lib_save_LIBS
=$LIBS
9723 cat >conftest.
$ac_ext <<_ACEOF
9726 cat confdefs.h
>>conftest.
$ac_ext
9727 cat >>conftest.
$ac_ext <<_ACEOF
9728 /* end confdefs.h. */
9739 rm -f conftest.
$ac_objext conftest
$ac_exeext
9740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9741 (eval $ac_link) 2>conftest.er1
9743 grep -v '^ *+' conftest.er1
>conftest.err
9745 cat conftest.err
>&5
9746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9747 (exit $ac_status); } &&
9748 { ac_try
='test -z "$ac_c_werror_flag"
9749 || test ! -s conftest.err'
9750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9754 (exit $ac_status); }; } &&
9755 { ac_try
='test -s conftest$ac_exeext'
9756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9760 (exit $ac_status); }; }; then
9761 ac_cv_lib_elf_main
=yes
9763 echo "$as_me: failed program was:" >&5
9764 sed 's/^/| /' conftest.
$ac_ext >&5
9766 ac_cv_lib_elf_main
=no
9768 rm -f conftest.err conftest.
$ac_objext \
9769 conftest
$ac_exeext conftest.
$ac_ext
9770 LIBS
=$ac_check_lib_save_LIBS
9772 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
9773 echo "${ECHO_T}$ac_cv_lib_elf_main" >&6
9774 if test $ac_cv_lib_elf_main = yes; then
9775 cat >>confdefs.h
<<_ACEOF
9776 #define HAVE_LIBELF 1
9791 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9792 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9793 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9794 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9796 echo $ECHO_N "(cached) $ECHO_C" >&6
9798 cat >conftest.
$ac_ext <<_ACEOF
9801 cat confdefs.h
>>conftest.
$ac_ext
9802 cat >>conftest.
$ac_ext <<_ACEOF
9803 /* end confdefs.h. */
9804 #include <sys/types.h>
9816 rm -f conftest.
$ac_objext
9817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9818 (eval $ac_compile) 2>conftest.er1
9820 grep -v '^ *+' conftest.er1
>conftest.err
9822 cat conftest.err
>&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); } &&
9825 { ac_try
='test -z "$ac_c_werror_flag"
9826 || test ! -s conftest.err'
9827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9831 (exit $ac_status); }; } &&
9832 { ac_try
='test -s conftest.$ac_objext'
9833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9837 (exit $ac_status); }; }; then
9838 eval "$as_ac_Header=yes"
9840 echo "$as_me: failed program was:" >&5
9841 sed 's/^/| /' conftest.
$ac_ext >&5
9843 eval "$as_ac_Header=no"
9845 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9848 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9849 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9850 cat >>confdefs.h
<<_ACEOF
9851 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9854 ac_header_dirent
=$ac_hdr; break
9858 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9859 if test $ac_header_dirent = dirent.h
; then
9860 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9861 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9862 if test "${ac_cv_search_opendir+set}" = set; then
9863 echo $ECHO_N "(cached) $ECHO_C" >&6
9865 ac_func_search_save_LIBS
=$LIBS
9866 ac_cv_search_opendir
=no
9867 cat >conftest.
$ac_ext <<_ACEOF
9870 cat confdefs.h
>>conftest.
$ac_ext
9871 cat >>conftest.
$ac_ext <<_ACEOF
9872 /* end confdefs.h. */
9874 /* Override any gcc2 internal prototype to avoid an error. */
9878 /* We use char because int might match the return type of a gcc2
9879 builtin and then its argument prototype would still apply. */
9889 rm -f conftest.
$ac_objext conftest
$ac_exeext
9890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9891 (eval $ac_link) 2>conftest.er1
9893 grep -v '^ *+' conftest.er1
>conftest.err
9895 cat conftest.err
>&5
9896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9897 (exit $ac_status); } &&
9898 { ac_try
='test -z "$ac_c_werror_flag"
9899 || test ! -s conftest.err'
9900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9904 (exit $ac_status); }; } &&
9905 { ac_try
='test -s conftest$ac_exeext'
9906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); }; }; then
9911 ac_cv_search_opendir
="none required"
9913 echo "$as_me: failed program was:" >&5
9914 sed 's/^/| /' conftest.
$ac_ext >&5
9917 rm -f conftest.err conftest.
$ac_objext \
9918 conftest
$ac_exeext conftest.
$ac_ext
9919 if test "$ac_cv_search_opendir" = no
; then
9920 for ac_lib
in dir
; do
9921 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9922 cat >conftest.
$ac_ext <<_ACEOF
9925 cat confdefs.h
>>conftest.
$ac_ext
9926 cat >>conftest.
$ac_ext <<_ACEOF
9927 /* end confdefs.h. */
9929 /* Override any gcc2 internal prototype to avoid an error. */
9933 /* We use char because int might match the return type of a gcc2
9934 builtin and then its argument prototype would still apply. */
9944 rm -f conftest.
$ac_objext conftest
$ac_exeext
9945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9946 (eval $ac_link) 2>conftest.er1
9948 grep -v '^ *+' conftest.er1
>conftest.err
9950 cat conftest.err
>&5
9951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9952 (exit $ac_status); } &&
9953 { ac_try
='test -z "$ac_c_werror_flag"
9954 || test ! -s conftest.err'
9955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9959 (exit $ac_status); }; } &&
9960 { ac_try
='test -s conftest$ac_exeext'
9961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9965 (exit $ac_status); }; }; then
9966 ac_cv_search_opendir
="-l$ac_lib"
9969 echo "$as_me: failed program was:" >&5
9970 sed 's/^/| /' conftest.
$ac_ext >&5
9973 rm -f conftest.err conftest.
$ac_objext \
9974 conftest
$ac_exeext conftest.
$ac_ext
9977 LIBS
=$ac_func_search_save_LIBS
9979 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9980 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9981 if test "$ac_cv_search_opendir" != no
; then
9982 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9987 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9988 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9989 if test "${ac_cv_search_opendir+set}" = set; then
9990 echo $ECHO_N "(cached) $ECHO_C" >&6
9992 ac_func_search_save_LIBS
=$LIBS
9993 ac_cv_search_opendir
=no
9994 cat >conftest.
$ac_ext <<_ACEOF
9997 cat confdefs.h
>>conftest.
$ac_ext
9998 cat >>conftest.
$ac_ext <<_ACEOF
9999 /* end confdefs.h. */
10001 /* Override any gcc2 internal prototype to avoid an error. */
10005 /* We use char because int might match the return type of a gcc2
10006 builtin and then its argument prototype would still apply. */
10016 rm -f conftest.
$ac_objext conftest
$ac_exeext
10017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10018 (eval $ac_link) 2>conftest.er1
10020 grep -v '^ *+' conftest.er1
>conftest.err
10022 cat conftest.err
>&5
10023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10024 (exit $ac_status); } &&
10025 { ac_try
='test -z "$ac_c_werror_flag"
10026 || test ! -s conftest.err'
10027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10028 (eval $ac_try) 2>&5
10030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10031 (exit $ac_status); }; } &&
10032 { ac_try
='test -s conftest$ac_exeext'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; }; then
10038 ac_cv_search_opendir
="none required"
10040 echo "$as_me: failed program was:" >&5
10041 sed 's/^/| /' conftest.
$ac_ext >&5
10044 rm -f conftest.err conftest.
$ac_objext \
10045 conftest
$ac_exeext conftest.
$ac_ext
10046 if test "$ac_cv_search_opendir" = no
; then
10047 for ac_lib
in x
; do
10048 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10049 cat >conftest.
$ac_ext <<_ACEOF
10052 cat confdefs.h
>>conftest.
$ac_ext
10053 cat >>conftest.
$ac_ext <<_ACEOF
10054 /* end confdefs.h. */
10056 /* Override any gcc2 internal prototype to avoid an error. */
10060 /* We use char because int might match the return type of a gcc2
10061 builtin and then its argument prototype would still apply. */
10071 rm -f conftest.
$ac_objext conftest
$ac_exeext
10072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10073 (eval $ac_link) 2>conftest.er1
10075 grep -v '^ *+' conftest.er1
>conftest.err
10077 cat conftest.err
>&5
10078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10079 (exit $ac_status); } &&
10080 { ac_try
='test -z "$ac_c_werror_flag"
10081 || test ! -s conftest.err'
10082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10083 (eval $ac_try) 2>&5
10085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10086 (exit $ac_status); }; } &&
10087 { ac_try
='test -s conftest$ac_exeext'
10088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10089 (eval $ac_try) 2>&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); }; }; then
10093 ac_cv_search_opendir
="-l$ac_lib"
10096 echo "$as_me: failed program was:" >&5
10097 sed 's/^/| /' conftest.
$ac_ext >&5
10100 rm -f conftest.err conftest.
$ac_objext \
10101 conftest
$ac_exeext conftest.
$ac_ext
10104 LIBS
=$ac_func_search_save_LIBS
10106 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10107 echo "${ECHO_T}$ac_cv_search_opendir" >&6
10108 if test "$ac_cv_search_opendir" != no
; then
10109 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
10116 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
10117 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
10118 if test "${ac_cv_header_stdc+set}" = set; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10121 cat >conftest.
$ac_ext <<_ACEOF
10124 cat confdefs.h
>>conftest.
$ac_ext
10125 cat >>conftest.
$ac_ext <<_ACEOF
10126 /* end confdefs.h. */
10127 #include <stdlib.h>
10128 #include <stdarg.h>
10129 #include <string.h>
10140 rm -f conftest.
$ac_objext
10141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10142 (eval $ac_compile) 2>conftest.er1
10144 grep -v '^ *+' conftest.er1
>conftest.err
10146 cat conftest.err
>&5
10147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10148 (exit $ac_status); } &&
10149 { ac_try
='test -z "$ac_c_werror_flag"
10150 || test ! -s conftest.err'
10151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10152 (eval $ac_try) 2>&5
10154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10155 (exit $ac_status); }; } &&
10156 { ac_try
='test -s conftest.$ac_objext'
10157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10158 (eval $ac_try) 2>&5
10160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10161 (exit $ac_status); }; }; then
10162 ac_cv_header_stdc
=yes
10164 echo "$as_me: failed program was:" >&5
10165 sed 's/^/| /' conftest.
$ac_ext >&5
10167 ac_cv_header_stdc
=no
10169 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10171 if test $ac_cv_header_stdc = yes; then
10172 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
10173 cat >conftest.
$ac_ext <<_ACEOF
10176 cat confdefs.h
>>conftest.
$ac_ext
10177 cat >>conftest.
$ac_ext <<_ACEOF
10178 /* end confdefs.h. */
10179 #include <string.h>
10182 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10183 $EGREP "memchr" >/dev
/null
2>&1; then
10186 ac_cv_header_stdc
=no
10192 if test $ac_cv_header_stdc = yes; then
10193 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10194 cat >conftest.
$ac_ext <<_ACEOF
10197 cat confdefs.h
>>conftest.
$ac_ext
10198 cat >>conftest.
$ac_ext <<_ACEOF
10199 /* end confdefs.h. */
10200 #include <stdlib.h>
10203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10204 $EGREP "free" >/dev
/null
2>&1; then
10207 ac_cv_header_stdc
=no
10213 if test $ac_cv_header_stdc = yes; then
10214 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10215 if test "$cross_compiling" = yes; then
10218 cat >conftest.
$ac_ext <<_ACEOF
10221 cat confdefs.h
>>conftest.
$ac_ext
10222 cat >>conftest.
$ac_ext <<_ACEOF
10223 /* end confdefs.h. */
10225 #if ((' ' & 0x0FF) == 0x020)
10226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10229 # define ISLOWER(c) \
10230 (('a' <= (c) && (c) <= 'i') \
10231 || ('j' <= (c) && (c) <= 'r') \
10232 || ('s' <= (c) && (c) <= 'z'))
10233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10241 for (i = 0; i < 256; i++)
10242 if (XOR (islower (i), ISLOWER (i))
10243 || toupper (i) != TOUPPER (i))
10248 rm -f conftest
$ac_exeext
10249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10250 (eval $ac_link) 2>&5
10252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10253 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; }; then
10261 echo "$as_me: program exited with status $ac_status" >&5
10262 echo "$as_me: failed program was:" >&5
10263 sed 's/^/| /' conftest.
$ac_ext >&5
10265 ( exit $ac_status )
10266 ac_cv_header_stdc
=no
10268 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10272 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10273 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10274 if test $ac_cv_header_stdc = yes; then
10276 cat >>confdefs.h
<<\_ACEOF
10277 #define STDC_HEADERS 1
10282 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
10283 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
10284 if test "${ac_cv_header_sys_wait_h+set}" = set; then
10285 echo $ECHO_N "(cached) $ECHO_C" >&6
10287 cat >conftest.
$ac_ext <<_ACEOF
10290 cat confdefs.h
>>conftest.
$ac_ext
10291 cat >>conftest.
$ac_ext <<_ACEOF
10292 /* end confdefs.h. */
10293 #include <sys/types.h>
10294 #include <sys/wait.h>
10295 #ifndef WEXITSTATUS
10296 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
10299 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
10307 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
10312 rm -f conftest.
$ac_objext
10313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10314 (eval $ac_compile) 2>conftest.er1
10316 grep -v '^ *+' conftest.er1
>conftest.err
10318 cat conftest.err
>&5
10319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10320 (exit $ac_status); } &&
10321 { ac_try
='test -z "$ac_c_werror_flag"
10322 || test ! -s conftest.err'
10323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10324 (eval $ac_try) 2>&5
10326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10327 (exit $ac_status); }; } &&
10328 { ac_try
='test -s conftest.$ac_objext'
10329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10330 (eval $ac_try) 2>&5
10332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10333 (exit $ac_status); }; }; then
10334 ac_cv_header_sys_wait_h
=yes
10336 echo "$as_me: failed program was:" >&5
10337 sed 's/^/| /' conftest.
$ac_ext >&5
10339 ac_cv_header_sys_wait_h
=no
10341 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10343 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
10344 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
10345 if test $ac_cv_header_sys_wait_h = yes; then
10347 cat >>confdefs.h
<<\_ACEOF
10348 #define HAVE_SYS_WAIT_H 1
10354 if test $ac_cv_header_sys_wait_h = no
; then
10355 echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
10356 echo $ECHO_N "checking for sys/wait.h that defines union wait... $ECHO_C" >&6
10357 cat >conftest.
$ac_ext <<_ACEOF
10360 cat confdefs.h
>>conftest.
$ac_ext
10361 cat >>conftest.
$ac_ext <<_ACEOF
10362 /* end confdefs.h. */
10363 #include <sys/wait.h>
10367 union wait xx, yy; xx = yy
10372 rm -f conftest.
$ac_objext
10373 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10374 (eval $ac_compile) 2>conftest.er1
10376 grep -v '^ *+' conftest.er1
>conftest.err
10378 cat conftest.err
>&5
10379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10380 (exit $ac_status); } &&
10381 { ac_try
='test -z "$ac_c_werror_flag"
10382 || test ! -s conftest.err'
10383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10384 (eval $ac_try) 2>&5
10386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10387 (exit $ac_status); }; } &&
10388 { ac_try
='test -s conftest.$ac_objext'
10389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10390 (eval $ac_try) 2>&5
10392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10393 (exit $ac_status); }; }; then
10394 echo "$as_me:$LINENO: result: yes" >&5
10395 echo "${ECHO_T}yes" >&6
10396 cat >>confdefs.h
<<\_ACEOF
10397 #define HAVE_SYS_WAIT_H 1
10400 cat >>confdefs.h
<<\_ACEOF
10401 #define HAVE_UNION_WAIT 1
10405 echo "$as_me: failed program was:" >&5
10406 sed 's/^/| /' conftest.
$ac_ext >&5
10408 echo "$as_me:$LINENO: result: no" >&5
10409 echo "${ECHO_T}no" >&6
10411 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10454 for ac_header
in stdarg.h stdlib.h string.h sys
/select.h sys
/utsname.h \
10455 termcap.h fcntl.h sgtty.h sys
/ioctl.h sys
/time.h termio.h \
10456 iconv.h langinfo.h unistd.h stropts.h errno.h \
10457 sys
/resource.h sys
/systeminfo.h locale.h \
10458 sys
/stream.h sys
/ptem.h termios.h libc.h sys
/statfs.h \
10459 poll.h sys
/poll.h
pwd.h utime.h sys
/param.h libintl.h \
10460 libgen.h util
/debug.h util
/msg18n.h frame.h \
10461 sys
/acl.h sys
/access.h sys
/sysctl.h sys
/sysinfo.h wchar.h wctype.h
10463 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10464 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10465 echo "$as_me:$LINENO: checking for $ac_header" >&5
10466 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10467 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10468 echo $ECHO_N "(cached) $ECHO_C" >&6
10470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10473 # Is the header compilable?
10474 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10475 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10476 cat >conftest.
$ac_ext <<_ACEOF
10479 cat confdefs.h
>>conftest.
$ac_ext
10480 cat >>conftest.
$ac_ext <<_ACEOF
10481 /* end confdefs.h. */
10482 $ac_includes_default
10483 #include <$ac_header>
10485 rm -f conftest.
$ac_objext
10486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10487 (eval $ac_compile) 2>conftest.er1
10489 grep -v '^ *+' conftest.er1
>conftest.err
10491 cat conftest.err
>&5
10492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10493 (exit $ac_status); } &&
10494 { ac_try
='test -z "$ac_c_werror_flag"
10495 || test ! -s conftest.err'
10496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10497 (eval $ac_try) 2>&5
10499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10500 (exit $ac_status); }; } &&
10501 { ac_try
='test -s conftest.$ac_objext'
10502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10503 (eval $ac_try) 2>&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); }; }; then
10507 ac_header_compiler
=yes
10509 echo "$as_me: failed program was:" >&5
10510 sed 's/^/| /' conftest.
$ac_ext >&5
10512 ac_header_compiler
=no
10514 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10515 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10516 echo "${ECHO_T}$ac_header_compiler" >&6
10518 # Is the header present?
10519 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10520 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10521 cat >conftest.
$ac_ext <<_ACEOF
10524 cat confdefs.h
>>conftest.
$ac_ext
10525 cat >>conftest.
$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10527 #include <$ac_header>
10529 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10530 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10532 grep -v '^ *+' conftest.er1
>conftest.err
10534 cat conftest.err
>&5
10535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } >/dev
/null
; then
10537 if test -s conftest.err
; then
10538 ac_cpp_err
=$ac_c_preproc_warn_flag
10539 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10546 if test -z "$ac_cpp_err"; then
10547 ac_header_preproc
=yes
10549 echo "$as_me: failed program was:" >&5
10550 sed 's/^/| /' conftest.
$ac_ext >&5
10552 ac_header_preproc
=no
10554 rm -f conftest.err conftest.
$ac_ext
10555 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10556 echo "${ECHO_T}$ac_header_preproc" >&6
10558 # So? What about this header?
10559 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10565 ac_header_preproc
=yes
10568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10582 ## ------------------------------------------ ##
10583 ## Report this to the AC_PACKAGE_NAME lists. ##
10584 ## ------------------------------------------ ##
10587 sed "s/^/$as_me: WARNING: /" >&2
10590 echo "$as_me:$LINENO: checking for $ac_header" >&5
10591 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10592 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10593 echo $ECHO_N "(cached) $ECHO_C" >&6
10595 eval "$as_ac_Header=\$ac_header_preproc"
10597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10601 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10602 cat >>confdefs.h
<<_ACEOF
10603 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10611 echo "$as_me:$LINENO: checking for pthread_np.h" >&5
10612 echo $ECHO_N "checking for pthread_np.h... $ECHO_C" >&6
10613 cat >conftest.
$ac_ext <<_ACEOF
10616 cat confdefs.h
>>conftest.
$ac_ext
10617 cat >>conftest.
$ac_ext <<_ACEOF
10618 /* end confdefs.h. */
10620 #include <pthread.h>
10621 #include <pthread_np.h>
10630 rm -f conftest.
$ac_objext
10631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10632 (eval $ac_compile) 2>conftest.er1
10634 grep -v '^ *+' conftest.er1
>conftest.err
10636 cat conftest.err
>&5
10637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10638 (exit $ac_status); } &&
10639 { ac_try
='test -z "$ac_c_werror_flag"
10640 || test ! -s conftest.err'
10641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10642 (eval $ac_try) 2>&5
10644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10645 (exit $ac_status); }; } &&
10646 { ac_try
='test -s conftest.$ac_objext'
10647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10648 (eval $ac_try) 2>&5
10650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10651 (exit $ac_status); }; }; then
10652 echo "$as_me:$LINENO: result: yes" >&5
10653 echo "${ECHO_T}yes" >&6
10654 cat >>confdefs.h
<<\_ACEOF
10655 #define HAVE_PTHREAD_NP_H 1
10659 echo "$as_me: failed program was:" >&5
10660 sed 's/^/| /' conftest.
$ac_ext >&5
10662 echo "$as_me:$LINENO: result: no" >&5
10663 echo "${ECHO_T}no" >&6
10665 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10668 for ac_header
in strings.h
10670 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10672 echo "$as_me:$LINENO: checking for $ac_header" >&5
10673 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10674 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10675 echo $ECHO_N "(cached) $ECHO_C" >&6
10677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10678 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10680 # Is the header compilable?
10681 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10682 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10683 cat >conftest.
$ac_ext <<_ACEOF
10686 cat confdefs.h
>>conftest.
$ac_ext
10687 cat >>conftest.
$ac_ext <<_ACEOF
10688 /* end confdefs.h. */
10689 $ac_includes_default
10690 #include <$ac_header>
10692 rm -f conftest.
$ac_objext
10693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10694 (eval $ac_compile) 2>conftest.er1
10696 grep -v '^ *+' conftest.er1
>conftest.err
10698 cat conftest.err
>&5
10699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10700 (exit $ac_status); } &&
10701 { ac_try
='test -z "$ac_c_werror_flag"
10702 || test ! -s conftest.err'
10703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10704 (eval $ac_try) 2>&5
10706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10707 (exit $ac_status); }; } &&
10708 { ac_try
='test -s conftest.$ac_objext'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; }; then
10714 ac_header_compiler
=yes
10716 echo "$as_me: failed program was:" >&5
10717 sed 's/^/| /' conftest.
$ac_ext >&5
10719 ac_header_compiler
=no
10721 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10722 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10723 echo "${ECHO_T}$ac_header_compiler" >&6
10725 # Is the header present?
10726 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10727 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10728 cat >conftest.
$ac_ext <<_ACEOF
10731 cat confdefs.h
>>conftest.
$ac_ext
10732 cat >>conftest.
$ac_ext <<_ACEOF
10733 /* end confdefs.h. */
10734 #include <$ac_header>
10736 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10737 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10739 grep -v '^ *+' conftest.er1
>conftest.err
10741 cat conftest.err
>&5
10742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10743 (exit $ac_status); } >/dev
/null
; then
10744 if test -s conftest.err
; then
10745 ac_cpp_err
=$ac_c_preproc_warn_flag
10746 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10753 if test -z "$ac_cpp_err"; then
10754 ac_header_preproc
=yes
10756 echo "$as_me: failed program was:" >&5
10757 sed 's/^/| /' conftest.
$ac_ext >&5
10759 ac_header_preproc
=no
10761 rm -f conftest.err conftest.
$ac_ext
10762 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10763 echo "${ECHO_T}$ac_header_preproc" >&6
10765 # So? What about this header?
10766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10772 ac_header_preproc
=yes
10775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10789 ## ------------------------------------------ ##
10790 ## Report this to the AC_PACKAGE_NAME lists. ##
10791 ## ------------------------------------------ ##
10794 sed "s/^/$as_me: WARNING: /" >&2
10797 echo "$as_me:$LINENO: checking for $ac_header" >&5
10798 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10799 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10800 echo $ECHO_N "(cached) $ECHO_C" >&6
10802 eval "$as_ac_Header=\$ac_header_preproc"
10804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10805 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10809 cat >>confdefs.h
<<_ACEOF
10810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10817 if test "x$MACOSX" = "xyes"; then
10818 cat >>confdefs.h
<<\_ACEOF
10819 #define NO_STRINGS_WITH_STRING_H 1
10824 echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
10825 echo $ECHO_N "checking if strings.h can be included after string.h... $ECHO_C" >&6
10826 cppflags_save
=$CPPFLAGS
10827 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10828 cat >conftest.
$ac_ext <<_ACEOF
10831 cat confdefs.h
>>conftest.
$ac_ext
10832 cat >>conftest.
$ac_ext <<_ACEOF
10833 /* end confdefs.h. */
10835 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO)
10836 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */
10837 /* but don't do it on AIX 5.1 (Uribarri) */
10839 #ifdef HAVE_XM_XM_H
10840 # include <Xm/Xm.h> /* This breaks it for HP-UX 11 (Squassabia) */
10842 #ifdef HAVE_STRING_H
10843 # include <string.h>
10845 #if defined(HAVE_STRINGS_H)
10846 # include <strings.h>
10857 rm -f conftest.
$ac_objext
10858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10859 (eval $ac_compile) 2>conftest.er1
10861 grep -v '^ *+' conftest.er1
>conftest.err
10863 cat conftest.err
>&5
10864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10865 (exit $ac_status); } &&
10866 { ac_try
='test -z "$ac_c_werror_flag"
10867 || test ! -s conftest.err'
10868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10869 (eval $ac_try) 2>&5
10871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10872 (exit $ac_status); }; } &&
10873 { ac_try
='test -s conftest.$ac_objext'
10874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10875 (eval $ac_try) 2>&5
10877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10878 (exit $ac_status); }; }; then
10879 echo "$as_me:$LINENO: result: yes" >&5
10880 echo "${ECHO_T}yes" >&6
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.
$ac_ext >&5
10885 cat >>confdefs.h
<<\_ACEOF
10886 #define NO_STRINGS_WITH_STRING_H 1
10889 echo "$as_me:$LINENO: result: no" >&5
10890 echo "${ECHO_T}no" >&6
10892 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10893 CPPFLAGS
=$cppflags_save
10896 if test $ac_cv_c_compiler_gnu = yes; then
10897 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10898 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10899 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10900 echo $ECHO_N "(cached) $ECHO_C" >&6
10902 ac_pattern
="Autoconf.*'x'"
10903 cat >conftest.
$ac_ext <<_ACEOF
10906 cat confdefs.h
>>conftest.
$ac_ext
10907 cat >>conftest.
$ac_ext <<_ACEOF
10908 /* end confdefs.h. */
10912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10913 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10914 ac_cv_prog_gcc_traditional
=yes
10916 ac_cv_prog_gcc_traditional
=no
10921 if test $ac_cv_prog_gcc_traditional = no
; then
10922 cat >conftest.
$ac_ext <<_ACEOF
10925 cat confdefs.h
>>conftest.
$ac_ext
10926 cat >>conftest.
$ac_ext <<_ACEOF
10927 /* end confdefs.h. */
10928 #include <termio.h>
10931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10932 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10933 ac_cv_prog_gcc_traditional
=yes
10939 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10940 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10941 if test $ac_cv_prog_gcc_traditional = yes; then
10942 CC
="$CC -traditional"
10946 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10947 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10948 if test "${ac_cv_c_const+set}" = set; then
10949 echo $ECHO_N "(cached) $ECHO_C" >&6
10951 cat >conftest.
$ac_ext <<_ACEOF
10954 cat confdefs.h
>>conftest.
$ac_ext
10955 cat >>conftest.
$ac_ext <<_ACEOF
10956 /* end confdefs.h. */
10961 /* FIXME: Include the comments suggested by Paul. */
10962 #ifndef __cplusplus
10963 /* Ultrix mips cc rejects this. */
10964 typedef int charset[2];
10966 /* SunOS 4.1.1 cc rejects this. */
10967 char const *const *ccp;
10969 /* NEC SVR4.0.2 mips cc rejects this. */
10970 struct point {int x, y;};
10971 static struct point const zero = {0,0};
10972 /* AIX XL C 1.02.0.0 rejects this.
10973 It does not let you subtract one const X* pointer from another in
10974 an arm of an if-expression whose if-part is not a constant
10976 const char *g = "string";
10977 ccp = &g + (g ? g-g : 0);
10978 /* HPUX 7.0 cc rejects these. */
10981 ccp = (char const *const *) p;
10982 { /* SCO 3.2v4 cc rejects this. */
10984 char const *s = 0 ? (char *) 0 : (char const *) 0;
10988 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10989 int x[] = {25, 17};
10990 const int *foo = &x[0];
10993 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10994 typedef const int *iptr;
10998 { /* AIX XL C 1.02.0.0 rejects this saying
10999 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11000 struct s { int j; const int *ap[3]; };
11001 struct s *b; b->j = 5;
11003 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11004 const int foo = 10;
11012 rm -f conftest.
$ac_objext
11013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11014 (eval $ac_compile) 2>conftest.er1
11016 grep -v '^ *+' conftest.er1
>conftest.err
11018 cat conftest.err
>&5
11019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11020 (exit $ac_status); } &&
11021 { ac_try
='test -z "$ac_c_werror_flag"
11022 || test ! -s conftest.err'
11023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11024 (eval $ac_try) 2>&5
11026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11027 (exit $ac_status); }; } &&
11028 { ac_try
='test -s conftest.$ac_objext'
11029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11030 (eval $ac_try) 2>&5
11032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11033 (exit $ac_status); }; }; then
11036 echo "$as_me: failed program was:" >&5
11037 sed 's/^/| /' conftest.
$ac_ext >&5
11041 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11043 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11044 echo "${ECHO_T}$ac_cv_c_const" >&6
11045 if test $ac_cv_c_const = no
; then
11047 cat >>confdefs.h
<<\_ACEOF
11053 echo "$as_me:$LINENO: checking for mode_t" >&5
11054 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
11055 if test "${ac_cv_type_mode_t+set}" = set; then
11056 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 cat >conftest.
$ac_ext <<_ACEOF
11061 cat confdefs.h
>>conftest.
$ac_ext
11062 cat >>conftest.
$ac_ext <<_ACEOF
11063 /* end confdefs.h. */
11064 $ac_includes_default
11070 if (sizeof (mode_t))
11076 rm -f conftest.
$ac_objext
11077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11078 (eval $ac_compile) 2>conftest.er1
11080 grep -v '^ *+' conftest.er1
>conftest.err
11082 cat conftest.err
>&5
11083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11084 (exit $ac_status); } &&
11085 { ac_try
='test -z "$ac_c_werror_flag"
11086 || test ! -s conftest.err'
11087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11088 (eval $ac_try) 2>&5
11090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11091 (exit $ac_status); }; } &&
11092 { ac_try
='test -s conftest.$ac_objext'
11093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11094 (eval $ac_try) 2>&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); }; }; then
11098 ac_cv_type_mode_t
=yes
11100 echo "$as_me: failed program was:" >&5
11101 sed 's/^/| /' conftest.
$ac_ext >&5
11103 ac_cv_type_mode_t
=no
11105 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11107 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
11108 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
11109 if test $ac_cv_type_mode_t = yes; then
11113 cat >>confdefs.h
<<_ACEOF
11119 echo "$as_me:$LINENO: checking for off_t" >&5
11120 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
11121 if test "${ac_cv_type_off_t+set}" = set; then
11122 echo $ECHO_N "(cached) $ECHO_C" >&6
11124 cat >conftest.
$ac_ext <<_ACEOF
11127 cat confdefs.h
>>conftest.
$ac_ext
11128 cat >>conftest.
$ac_ext <<_ACEOF
11129 /* end confdefs.h. */
11130 $ac_includes_default
11136 if (sizeof (off_t))
11142 rm -f conftest.
$ac_objext
11143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11144 (eval $ac_compile) 2>conftest.er1
11146 grep -v '^ *+' conftest.er1
>conftest.err
11148 cat conftest.err
>&5
11149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11150 (exit $ac_status); } &&
11151 { ac_try
='test -z "$ac_c_werror_flag"
11152 || test ! -s conftest.err'
11153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11154 (eval $ac_try) 2>&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 (exit $ac_status); }; } &&
11158 { ac_try
='test -s conftest.$ac_objext'
11159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11160 (eval $ac_try) 2>&5
11162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11163 (exit $ac_status); }; }; then
11164 ac_cv_type_off_t
=yes
11166 echo "$as_me: failed program was:" >&5
11167 sed 's/^/| /' conftest.
$ac_ext >&5
11169 ac_cv_type_off_t
=no
11171 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11173 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11174 echo "${ECHO_T}$ac_cv_type_off_t" >&6
11175 if test $ac_cv_type_off_t = yes; then
11179 cat >>confdefs.h
<<_ACEOF
11185 echo "$as_me:$LINENO: checking for pid_t" >&5
11186 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11187 if test "${ac_cv_type_pid_t+set}" = set; then
11188 echo $ECHO_N "(cached) $ECHO_C" >&6
11190 cat >conftest.
$ac_ext <<_ACEOF
11193 cat confdefs.h
>>conftest.
$ac_ext
11194 cat >>conftest.
$ac_ext <<_ACEOF
11195 /* end confdefs.h. */
11196 $ac_includes_default
11202 if (sizeof (pid_t))
11208 rm -f conftest.
$ac_objext
11209 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11210 (eval $ac_compile) 2>conftest.er1
11212 grep -v '^ *+' conftest.er1
>conftest.err
11214 cat conftest.err
>&5
11215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11216 (exit $ac_status); } &&
11217 { ac_try
='test -z "$ac_c_werror_flag"
11218 || test ! -s conftest.err'
11219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11220 (eval $ac_try) 2>&5
11222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11223 (exit $ac_status); }; } &&
11224 { ac_try
='test -s conftest.$ac_objext'
11225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11226 (eval $ac_try) 2>&5
11228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11229 (exit $ac_status); }; }; then
11230 ac_cv_type_pid_t
=yes
11232 echo "$as_me: failed program was:" >&5
11233 sed 's/^/| /' conftest.
$ac_ext >&5
11235 ac_cv_type_pid_t
=no
11237 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11239 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11240 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11241 if test $ac_cv_type_pid_t = yes; then
11245 cat >>confdefs.h
<<_ACEOF
11251 echo "$as_me:$LINENO: checking for size_t" >&5
11252 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
11253 if test "${ac_cv_type_size_t+set}" = set; then
11254 echo $ECHO_N "(cached) $ECHO_C" >&6
11256 cat >conftest.
$ac_ext <<_ACEOF
11259 cat confdefs.h
>>conftest.
$ac_ext
11260 cat >>conftest.
$ac_ext <<_ACEOF
11261 /* end confdefs.h. */
11262 $ac_includes_default
11268 if (sizeof (size_t))
11274 rm -f conftest.
$ac_objext
11275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11276 (eval $ac_compile) 2>conftest.er1
11278 grep -v '^ *+' conftest.er1
>conftest.err
11280 cat conftest.err
>&5
11281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11282 (exit $ac_status); } &&
11283 { ac_try
='test -z "$ac_c_werror_flag"
11284 || test ! -s conftest.err'
11285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11286 (eval $ac_try) 2>&5
11288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11289 (exit $ac_status); }; } &&
11290 { ac_try
='test -s conftest.$ac_objext'
11291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11292 (eval $ac_try) 2>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; }; then
11296 ac_cv_type_size_t
=yes
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.
$ac_ext >&5
11301 ac_cv_type_size_t
=no
11303 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11305 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11306 echo "${ECHO_T}$ac_cv_type_size_t" >&6
11307 if test $ac_cv_type_size_t = yes; then
11311 cat >>confdefs.h
<<_ACEOF
11312 #define size_t unsigned
11317 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
11318 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
11319 if test "${ac_cv_type_uid_t+set}" = set; then
11320 echo $ECHO_N "(cached) $ECHO_C" >&6
11322 cat >conftest.
$ac_ext <<_ACEOF
11325 cat confdefs.h
>>conftest.
$ac_ext
11326 cat >>conftest.
$ac_ext <<_ACEOF
11327 /* end confdefs.h. */
11328 #include <sys/types.h>
11331 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11332 $EGREP "uid_t" >/dev
/null
2>&1; then
11333 ac_cv_type_uid_t
=yes
11335 ac_cv_type_uid_t
=no
11340 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
11341 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
11342 if test $ac_cv_type_uid_t = no
; then
11344 cat >>confdefs.h
<<\_ACEOF
11349 cat >>confdefs.h
<<\_ACEOF
11355 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11356 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11357 if test "${ac_cv_header_time+set}" = set; then
11358 echo $ECHO_N "(cached) $ECHO_C" >&6
11360 cat >conftest.
$ac_ext <<_ACEOF
11363 cat confdefs.h
>>conftest.
$ac_ext
11364 cat >>conftest.
$ac_ext <<_ACEOF
11365 /* end confdefs.h. */
11366 #include <sys/types.h>
11367 #include <sys/time.h>
11373 if ((struct tm *) 0)
11379 rm -f conftest.
$ac_objext
11380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11381 (eval $ac_compile) 2>conftest.er1
11383 grep -v '^ *+' conftest.er1
>conftest.err
11385 cat conftest.err
>&5
11386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11387 (exit $ac_status); } &&
11388 { ac_try
='test -z "$ac_c_werror_flag"
11389 || test ! -s conftest.err'
11390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11391 (eval $ac_try) 2>&5
11393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11394 (exit $ac_status); }; } &&
11395 { ac_try
='test -s conftest.$ac_objext'
11396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11397 (eval $ac_try) 2>&5
11399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11400 (exit $ac_status); }; }; then
11401 ac_cv_header_time
=yes
11403 echo "$as_me: failed program was:" >&5
11404 sed 's/^/| /' conftest.
$ac_ext >&5
11406 ac_cv_header_time
=no
11408 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11410 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11411 echo "${ECHO_T}$ac_cv_header_time" >&6
11412 if test $ac_cv_header_time = yes; then
11414 cat >>confdefs.h
<<\_ACEOF
11415 #define TIME_WITH_SYS_TIME 1
11420 echo "$as_me:$LINENO: checking for ino_t" >&5
11421 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
11422 if test "${ac_cv_type_ino_t+set}" = set; then
11423 echo $ECHO_N "(cached) $ECHO_C" >&6
11425 cat >conftest.
$ac_ext <<_ACEOF
11428 cat confdefs.h
>>conftest.
$ac_ext
11429 cat >>conftest.
$ac_ext <<_ACEOF
11430 /* end confdefs.h. */
11431 $ac_includes_default
11437 if (sizeof (ino_t))
11443 rm -f conftest.
$ac_objext
11444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11445 (eval $ac_compile) 2>conftest.er1
11447 grep -v '^ *+' conftest.er1
>conftest.err
11449 cat conftest.err
>&5
11450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11451 (exit $ac_status); } &&
11452 { ac_try
='test -z "$ac_c_werror_flag"
11453 || test ! -s conftest.err'
11454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11455 (eval $ac_try) 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; } &&
11459 { ac_try
='test -s conftest.$ac_objext'
11460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11461 (eval $ac_try) 2>&5
11463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11464 (exit $ac_status); }; }; then
11465 ac_cv_type_ino_t
=yes
11467 echo "$as_me: failed program was:" >&5
11468 sed 's/^/| /' conftest.
$ac_ext >&5
11470 ac_cv_type_ino_t
=no
11472 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11474 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
11475 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
11476 if test $ac_cv_type_ino_t = yes; then
11480 cat >>confdefs.h
<<_ACEOF
11486 echo "$as_me:$LINENO: checking for dev_t" >&5
11487 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
11488 if test "${ac_cv_type_dev_t+set}" = set; then
11489 echo $ECHO_N "(cached) $ECHO_C" >&6
11491 cat >conftest.
$ac_ext <<_ACEOF
11494 cat confdefs.h
>>conftest.
$ac_ext
11495 cat >>conftest.
$ac_ext <<_ACEOF
11496 /* end confdefs.h. */
11497 $ac_includes_default
11503 if (sizeof (dev_t))
11509 rm -f conftest.
$ac_objext
11510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11511 (eval $ac_compile) 2>conftest.er1
11513 grep -v '^ *+' conftest.er1
>conftest.err
11515 cat conftest.err
>&5
11516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11517 (exit $ac_status); } &&
11518 { ac_try
='test -z "$ac_c_werror_flag"
11519 || test ! -s conftest.err'
11520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11521 (eval $ac_try) 2>&5
11523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11524 (exit $ac_status); }; } &&
11525 { ac_try
='test -s conftest.$ac_objext'
11526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11527 (eval $ac_try) 2>&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); }; }; then
11531 ac_cv_type_dev_t
=yes
11533 echo "$as_me: failed program was:" >&5
11534 sed 's/^/| /' conftest.
$ac_ext >&5
11536 ac_cv_type_dev_t
=no
11538 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11540 echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
11541 echo "${ECHO_T}$ac_cv_type_dev_t" >&6
11542 if test $ac_cv_type_dev_t = yes; then
11546 cat >>confdefs.h
<<_ACEOF
11547 #define dev_t unsigned
11553 echo "$as_me:$LINENO: checking for rlim_t" >&5
11554 echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6
11555 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then
11556 echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
11557 echo "${ECHO_T}(cached) $ac_cv_type_rlim_t" >&6
11559 cat >conftest.
$ac_ext <<_ACEOF
11562 cat confdefs.h
>>conftest.
$ac_ext
11563 cat >>conftest.
$ac_ext <<_ACEOF
11564 /* end confdefs.h. */
11566 #include <sys/types.h>
11568 #include <stdlib.h>
11569 #include <stddef.h>
11571 #ifdef HAVE_SYS_RESOURCE_H
11572 #include <sys/resource.h>
11576 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11577 $EGREP "(^|[^a-zA-Z_0-9])rlim_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11578 ac_cv_type_rlim_t
=yes
11580 ac_cv_type_rlim_t
=no
11584 echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
11585 echo "${ECHO_T}$ac_cv_type_rlim_t" >&6
11587 if test $ac_cv_type_rlim_t = no
; then
11588 cat >> confdefs.h
<<\EOF
11589 #define rlim_t unsigned long
11593 echo "$as_me:$LINENO: checking for stack_t" >&5
11594 echo $ECHO_N "checking for stack_t... $ECHO_C" >&6
11595 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then
11596 echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
11597 echo "${ECHO_T}(cached) $ac_cv_type_stack_t" >&6
11599 cat >conftest.
$ac_ext <<_ACEOF
11602 cat confdefs.h
>>conftest.
$ac_ext
11603 cat >>conftest.
$ac_ext <<_ACEOF
11604 /* end confdefs.h. */
11606 #include <sys/types.h>
11608 #include <stdlib.h>
11609 #include <stddef.h>
11611 #include <signal.h>
11614 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11615 $EGREP "stack_t" >/dev
/null
2>&1; then
11616 ac_cv_type_stack_t
=yes
11618 ac_cv_type_stack_t
=no
11622 echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
11623 echo "${ECHO_T}$ac_cv_type_stack_t" >&6
11625 if test $ac_cv_type_stack_t = no
; then
11626 cat >> confdefs.h
<<\EOF
11627 #define stack_t struct sigaltstack
11631 echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
11632 echo $ECHO_N "checking whether stack_t has an ss_base field... $ECHO_C" >&6
11633 cat >conftest.
$ac_ext <<_ACEOF
11636 cat confdefs.h
>>conftest.
$ac_ext
11637 cat >>conftest.
$ac_ext <<_ACEOF
11638 /* end confdefs.h. */
11640 #include <sys/types.h>
11642 #include <stdlib.h>
11643 #include <stddef.h>
11645 #include <signal.h>
11646 #include "confdefs.h"
11651 stack_t sigstk; sigstk.ss_base = 0;
11656 rm -f conftest.
$ac_objext
11657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11658 (eval $ac_compile) 2>conftest.er1
11660 grep -v '^ *+' conftest.er1
>conftest.err
11662 cat conftest.err
>&5
11663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11664 (exit $ac_status); } &&
11665 { ac_try
='test -z "$ac_c_werror_flag"
11666 || test ! -s conftest.err'
11667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11668 (eval $ac_try) 2>&5
11670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11671 (exit $ac_status); }; } &&
11672 { ac_try
='test -s conftest.$ac_objext'
11673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11674 (eval $ac_try) 2>&5
11676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11677 (exit $ac_status); }; }; then
11678 echo "$as_me:$LINENO: result: yes" >&5
11679 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
11680 #define HAVE_SS_BASE 1
11684 echo "$as_me: failed program was:" >&5
11685 sed 's/^/| /' conftest.
$ac_ext >&5
11687 echo "$as_me:$LINENO: result: no" >&5
11688 echo "${ECHO_T}no" >&6
11690 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11693 echo "$as_me:$LINENO: checking --with-tlib argument" >&5
11694 echo $ECHO_N "checking --with-tlib argument... $ECHO_C" >&6
11696 # Check whether --with-tlib or --without-tlib was given.
11697 if test "${with_tlib+set}" = set; then
11698 withval
="$with_tlib"
11701 if test -n "$with_tlib"; then
11702 echo "$as_me:$LINENO: result: $with_tlib" >&5
11703 echo "${ECHO_T}$with_tlib" >&6
11704 LIBS
="$LIBS -l$with_tlib"
11705 echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
11706 echo $ECHO_N "checking for linking with $with_tlib library... $ECHO_C" >&6
11707 cat >conftest.
$ac_ext <<_ACEOF
11710 cat confdefs.h
>>conftest.
$ac_ext
11711 cat >>conftest.
$ac_ext <<_ACEOF
11712 /* end confdefs.h. */
11722 rm -f conftest.
$ac_objext conftest
$ac_exeext
11723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11724 (eval $ac_link) 2>conftest.er1
11726 grep -v '^ *+' conftest.er1
>conftest.err
11728 cat conftest.err
>&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); } &&
11731 { ac_try
='test -z "$ac_c_werror_flag"
11732 || test ! -s conftest.err'
11733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11734 (eval $ac_try) 2>&5
11736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11737 (exit $ac_status); }; } &&
11738 { ac_try
='test -s conftest$ac_exeext'
11739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11740 (eval $ac_try) 2>&5
11742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11743 (exit $ac_status); }; }; then
11744 echo "$as_me:$LINENO: result: OK" >&5
11745 echo "${ECHO_T}OK" >&6
11747 echo "$as_me: failed program was:" >&5
11748 sed 's/^/| /' conftest.
$ac_ext >&5
11750 { { echo "$as_me:$LINENO: error: FAILED" >&5
11751 echo "$as_me: error: FAILED" >&2;}
11752 { (exit 1); exit 1; }; }
11754 rm -f conftest.err conftest.
$ac_objext \
11755 conftest
$ac_exeext conftest.
$ac_ext
11758 echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
11759 echo "${ECHO_T}empty: automatic terminal library selection" >&6
11760 case "`uname -s 2>/dev/null`" in
11761 OSF1|SCO_SV
) tlibs
="ncurses curses termlib termcap";;
11762 *) tlibs
="ncurses termlib termcap curses";;
11764 for libname
in $tlibs; do
11766 as_ac_Lib
=`echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
11767 echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
11768 echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6
11769 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
11770 echo $ECHO_N "(cached) $ECHO_C" >&6
11772 ac_check_lib_save_LIBS
=$LIBS
11773 LIBS
="-l${libname} $LIBS"
11774 cat >conftest.
$ac_ext <<_ACEOF
11777 cat confdefs.h
>>conftest.
$ac_ext
11778 cat >>conftest.
$ac_ext <<_ACEOF
11779 /* end confdefs.h. */
11781 /* Override any gcc2 internal prototype to avoid an error. */
11785 /* We use char because int might match the return type of a gcc2
11786 builtin and then its argument prototype would still apply. */
11796 rm -f conftest.
$ac_objext conftest
$ac_exeext
11797 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11798 (eval $ac_link) 2>conftest.er1
11800 grep -v '^ *+' conftest.er1
>conftest.err
11802 cat conftest.err
>&5
11803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11804 (exit $ac_status); } &&
11805 { ac_try
='test -z "$ac_c_werror_flag"
11806 || test ! -s conftest.err'
11807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11808 (eval $ac_try) 2>&5
11810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811 (exit $ac_status); }; } &&
11812 { ac_try
='test -s conftest$ac_exeext'
11813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814 (eval $ac_try) 2>&5
11816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11817 (exit $ac_status); }; }; then
11818 eval "$as_ac_Lib=yes"
11820 echo "$as_me: failed program was:" >&5
11821 sed 's/^/| /' conftest.
$ac_ext >&5
11823 eval "$as_ac_Lib=no"
11825 rm -f conftest.err conftest.
$ac_objext \
11826 conftest
$ac_exeext conftest.
$ac_ext
11827 LIBS
=$ac_check_lib_save_LIBS
11829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
11830 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
11831 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
11832 cat >>confdefs.h
<<_ACEOF
11833 #define `echo "HAVE_LIB${libname}" | $as_tr_cpp` 1
11836 LIBS
="-l${libname} $LIBS"
11840 if test "x$olibs" != "x$LIBS"; then
11841 if test "$cross_compiling" = yes; then
11844 cat >conftest.
$ac_ext <<_ACEOF
11847 cat confdefs.h
>>conftest.
$ac_ext
11848 cat >>conftest.
$ac_ext <<_ACEOF
11849 /* end confdefs.h. */
11851 #ifdef HAVE_TERMCAP_H
11852 # include <termcap.h>
11854 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }
11856 rm -f conftest
$ac_exeext
11857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11858 (eval $ac_link) 2>&5
11860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11861 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11863 (eval $ac_try) 2>&5
11865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11866 (exit $ac_status); }; }; then
11869 echo "$as_me: program exited with status $ac_status" >&5
11870 echo "$as_me: failed program was:" >&5
11871 sed 's/^/| /' conftest.
$ac_ext >&5
11873 ( exit $ac_status )
11876 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11878 if test "$res" = "OK"; then
11881 echo "$as_me:$LINENO: result: $libname library is not usable" >&5
11882 echo "${ECHO_T}$libname library is not usable" >&6
11886 if test "x$olibs" = "x$LIBS"; then
11887 echo "$as_me:$LINENO: result: no terminal library found" >&5
11888 echo "${ECHO_T}no terminal library found" >&6
11892 if test "x$olibs" = "x$LIBS"; then
11893 echo "$as_me:$LINENO: checking for tgetent()" >&5
11894 echo $ECHO_N "checking for tgetent()... $ECHO_C" >&6
11895 cat >conftest.
$ac_ext <<_ACEOF
11898 cat confdefs.h
>>conftest.
$ac_ext
11899 cat >>conftest.
$ac_ext <<_ACEOF
11900 /* end confdefs.h. */
11905 char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");
11910 rm -f conftest.
$ac_objext conftest
$ac_exeext
11911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11912 (eval $ac_link) 2>conftest.er1
11914 grep -v '^ *+' conftest.er1
>conftest.err
11916 cat conftest.err
>&5
11917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11918 (exit $ac_status); } &&
11919 { ac_try
='test -z "$ac_c_werror_flag"
11920 || test ! -s conftest.err'
11921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11922 (eval $ac_try) 2>&5
11924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11925 (exit $ac_status); }; } &&
11926 { ac_try
='test -s conftest$ac_exeext'
11927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11928 (eval $ac_try) 2>&5
11930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11931 (exit $ac_status); }; }; then
11932 echo "$as_me:$LINENO: result: yes" >&5
11933 echo "${ECHO_T}yes" >&6
11935 echo "$as_me: failed program was:" >&5
11936 sed 's/^/| /' conftest.
$ac_ext >&5
11938 { { echo "$as_me:$LINENO: error: NOT FOUND!
11939 You need to install a terminal library; for example ncurses.
11940 Or specify the name of the library with --with-tlib." >&5
11941 echo "$as_me: error: NOT FOUND!
11942 You need to install a terminal library; for example ncurses.
11943 Or specify the name of the library with --with-tlib." >&2;}
11944 { (exit 1); exit 1; }; }
11946 rm -f conftest.err conftest.
$ac_objext \
11947 conftest
$ac_exeext conftest.
$ac_ext
11950 echo "$as_me:$LINENO: checking whether we talk terminfo" >&5
11951 echo $ECHO_N "checking whether we talk terminfo... $ECHO_C" >&6
11952 if test "$cross_compiling" = yes; then
11953 { { echo "$as_me:$LINENO: error: failed to compile test program." >&5
11954 echo "$as_me: error: failed to compile test program." >&2;}
11955 { (exit 1); exit 1; }; }
11957 cat >conftest.
$ac_ext <<_ACEOF
11960 cat confdefs.h
>>conftest.
$ac_ext
11961 cat >>conftest.
$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11964 #ifdef HAVE_TERMCAP_H
11965 # include <termcap.h>
11968 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
11970 rm -f conftest
$ac_exeext
11971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11972 (eval $ac_link) 2>&5
11974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11975 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11977 (eval $ac_try) 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; }; then
11981 echo "$as_me:$LINENO: result: no -- we are in termcap land" >&5
11982 echo "${ECHO_T}no -- we are in termcap land" >&6
11984 echo "$as_me: program exited with status $ac_status" >&5
11985 echo "$as_me: failed program was:" >&5
11986 sed 's/^/| /' conftest.
$ac_ext >&5
11988 ( exit $ac_status )
11989 echo "$as_me:$LINENO: result: yes -- terminfo spoken here" >&5
11990 echo "${ECHO_T}yes -- terminfo spoken here" >&6; cat >>confdefs.h
<<\_ACEOF
11995 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11998 if test "x$olibs" != "x$LIBS"; then
11999 echo "$as_me:$LINENO: checking what tgetent() returns for an unknown terminal" >&5
12000 echo $ECHO_N "checking what tgetent() returns for an unknown terminal... $ECHO_C" >&6
12001 if test "$cross_compiling" = yes; then
12002 { { echo "$as_me:$LINENO: error: failed to compile test program." >&5
12003 echo "$as_me: error: failed to compile test program." >&2;}
12004 { (exit 1); exit 1; }; }
12006 cat >conftest.
$ac_ext <<_ACEOF
12009 cat confdefs.h
>>conftest.
$ac_ext
12010 cat >>conftest.
$ac_ext <<_ACEOF
12011 /* end confdefs.h. */
12013 #ifdef HAVE_TERMCAP_H
12014 # include <termcap.h>
12017 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
12019 rm -f conftest
$ac_exeext
12020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12021 (eval $ac_link) 2>&5
12023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12024 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12026 (eval $ac_try) 2>&5
12028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12029 (exit $ac_status); }; }; then
12030 echo "$as_me:$LINENO: result: zero" >&5
12031 echo "${ECHO_T}zero" >&6; cat >>confdefs.h
<<\_ACEOF
12032 #define TGETENT_ZERO_ERR 0
12036 echo "$as_me: program exited with status $ac_status" >&5
12037 echo "$as_me: failed program was:" >&5
12038 sed 's/^/| /' conftest.
$ac_ext >&5
12040 ( exit $ac_status )
12041 echo "$as_me:$LINENO: result: non-zero" >&5
12042 echo "${ECHO_T}non-zero" >&6
12044 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12048 echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
12049 echo $ECHO_N "checking whether termcap.h contains ospeed... $ECHO_C" >&6
12050 cat >conftest.
$ac_ext <<_ACEOF
12053 cat confdefs.h
>>conftest.
$ac_ext
12054 cat >>conftest.
$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12057 #ifdef HAVE_TERMCAP_H
12058 # include <termcap.h>
12069 rm -f conftest.
$ac_objext conftest
$ac_exeext
12070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12071 (eval $ac_link) 2>conftest.er1
12073 grep -v '^ *+' conftest.er1
>conftest.err
12075 cat conftest.err
>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); } &&
12078 { ac_try
='test -z "$ac_c_werror_flag"
12079 || test ! -s conftest.err'
12080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12081 (eval $ac_try) 2>&5
12083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12084 (exit $ac_status); }; } &&
12085 { ac_try
='test -s conftest$ac_exeext'
12086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12087 (eval $ac_try) 2>&5
12089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12090 (exit $ac_status); }; }; then
12091 echo "$as_me:$LINENO: result: yes" >&5
12092 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12093 #define HAVE_OSPEED 1
12097 echo "$as_me: failed program was:" >&5
12098 sed 's/^/| /' conftest.
$ac_ext >&5
12100 echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6
12102 echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
12103 echo $ECHO_N "checking whether ospeed can be extern... $ECHO_C" >&6
12104 cat >conftest.
$ac_ext <<_ACEOF
12107 cat confdefs.h
>>conftest.
$ac_ext
12108 cat >>conftest.
$ac_ext <<_ACEOF
12109 /* end confdefs.h. */
12111 #ifdef HAVE_TERMCAP_H
12112 # include <termcap.h>
12114 extern short ospeed;
12124 rm -f conftest.
$ac_objext conftest
$ac_exeext
12125 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12126 (eval $ac_link) 2>conftest.er1
12128 grep -v '^ *+' conftest.er1
>conftest.err
12130 cat conftest.err
>&5
12131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12132 (exit $ac_status); } &&
12133 { ac_try
='test -z "$ac_c_werror_flag"
12134 || test ! -s conftest.err'
12135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12136 (eval $ac_try) 2>&5
12138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12139 (exit $ac_status); }; } &&
12140 { ac_try
='test -s conftest$ac_exeext'
12141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12142 (eval $ac_try) 2>&5
12144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12145 (exit $ac_status); }; }; then
12146 echo "$as_me:$LINENO: result: yes" >&5
12147 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12148 #define OSPEED_EXTERN 1
12152 echo "$as_me: failed program was:" >&5
12153 sed 's/^/| /' conftest.
$ac_ext >&5
12155 echo "$as_me:$LINENO: result: no" >&5
12156 echo "${ECHO_T}no" >&6
12158 rm -f conftest.err conftest.
$ac_objext \
12159 conftest
$ac_exeext conftest.
$ac_ext
12162 rm -f conftest.err conftest.
$ac_objext \
12163 conftest
$ac_exeext conftest.
$ac_ext
12165 echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
12166 echo $ECHO_N "checking whether termcap.h contains UP, BC and PC... $ECHO_C" >&6
12167 cat >conftest.
$ac_ext <<_ACEOF
12170 cat confdefs.h
>>conftest.
$ac_ext
12171 cat >>conftest.
$ac_ext <<_ACEOF
12172 /* end confdefs.h. */
12174 #ifdef HAVE_TERMCAP_H
12175 # include <termcap.h>
12181 if (UP == 0 && BC == 0) PC = 1
12186 rm -f conftest.
$ac_objext conftest
$ac_exeext
12187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12188 (eval $ac_link) 2>conftest.er1
12190 grep -v '^ *+' conftest.er1
>conftest.err
12192 cat conftest.err
>&5
12193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12194 (exit $ac_status); } &&
12195 { ac_try
='test -z "$ac_c_werror_flag"
12196 || test ! -s conftest.err'
12197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12198 (eval $ac_try) 2>&5
12200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12201 (exit $ac_status); }; } &&
12202 { ac_try
='test -s conftest$ac_exeext'
12203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12204 (eval $ac_try) 2>&5
12206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12207 (exit $ac_status); }; }; then
12208 echo "$as_me:$LINENO: result: yes" >&5
12209 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12210 #define HAVE_UP_BC_PC 1
12214 echo "$as_me: failed program was:" >&5
12215 sed 's/^/| /' conftest.
$ac_ext >&5
12217 echo "$as_me:$LINENO: result: no" >&5
12218 echo "${ECHO_T}no" >&6
12219 echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
12220 echo $ECHO_N "checking whether UP, BC and PC can be extern... $ECHO_C" >&6
12221 cat >conftest.
$ac_ext <<_ACEOF
12224 cat confdefs.h
>>conftest.
$ac_ext
12225 cat >>conftest.
$ac_ext <<_ACEOF
12226 /* end confdefs.h. */
12228 #ifdef HAVE_TERMCAP_H
12229 # include <termcap.h>
12231 extern char *UP, *BC, PC;
12236 if (UP == 0 && BC == 0) PC = 1
12241 rm -f conftest.
$ac_objext conftest
$ac_exeext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12243 (eval $ac_link) 2>conftest.er1
12245 grep -v '^ *+' conftest.er1
>conftest.err
12247 cat conftest.err
>&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } &&
12250 { ac_try
='test -z "$ac_c_werror_flag"
12251 || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try
='test -s conftest$ac_exeext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 echo "$as_me:$LINENO: result: yes" >&5
12264 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12265 #define UP_BC_PC_EXTERN 1
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.
$ac_ext >&5
12272 echo "$as_me:$LINENO: result: no" >&5
12273 echo "${ECHO_T}no" >&6
12275 rm -f conftest.err conftest.
$ac_objext \
12276 conftest
$ac_exeext conftest.
$ac_ext
12279 rm -f conftest.err conftest.
$ac_objext \
12280 conftest
$ac_exeext conftest.
$ac_ext
12282 echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
12283 echo $ECHO_N "checking whether tputs() uses outfuntype... $ECHO_C" >&6
12284 cat >conftest.
$ac_ext <<_ACEOF
12287 cat confdefs.h
>>conftest.
$ac_ext
12288 cat >>conftest.
$ac_ext <<_ACEOF
12289 /* end confdefs.h. */
12291 #ifdef HAVE_TERMCAP_H
12292 # include <termcap.h>
12298 extern int xx(); tputs("test", 1, (outfuntype)xx)
12303 rm -f conftest.
$ac_objext
12304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12305 (eval $ac_compile) 2>conftest.er1
12307 grep -v '^ *+' conftest.er1
>conftest.err
12309 cat conftest.err
>&5
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } &&
12312 { ac_try
='test -z "$ac_c_werror_flag"
12313 || test ! -s conftest.err'
12314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12315 (eval $ac_try) 2>&5
12317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12318 (exit $ac_status); }; } &&
12319 { ac_try
='test -s conftest.$ac_objext'
12320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12321 (eval $ac_try) 2>&5
12323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12324 (exit $ac_status); }; }; then
12325 echo "$as_me:$LINENO: result: yes" >&5
12326 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12327 #define HAVE_OUTFUNTYPE 1
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.
$ac_ext >&5
12334 echo "$as_me:$LINENO: result: no" >&5
12335 echo "${ECHO_T}no" >&6
12337 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12339 echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
12340 echo $ECHO_N "checking whether sys/select.h and sys/time.h may both be included... $ECHO_C" >&6
12341 cat >conftest.
$ac_ext <<_ACEOF
12344 cat confdefs.h
>>conftest.
$ac_ext
12345 cat >>conftest.
$ac_ext <<_ACEOF
12346 /* end confdefs.h. */
12348 #include <sys/types.h>
12349 #include <sys/time.h>
12350 #include <sys/select.h>
12359 rm -f conftest.
$ac_objext
12360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12361 (eval $ac_compile) 2>conftest.er1
12363 grep -v '^ *+' conftest.er1
>conftest.err
12365 cat conftest.err
>&5
12366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12367 (exit $ac_status); } &&
12368 { ac_try
='test -z "$ac_c_werror_flag"
12369 || test ! -s conftest.err'
12370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12371 (eval $ac_try) 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; } &&
12375 { ac_try
='test -s conftest.$ac_objext'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; }; then
12381 echo "$as_me:$LINENO: result: yes" >&5
12382 echo "${ECHO_T}yes" >&6
12383 cat >>confdefs.h
<<\_ACEOF
12384 #define SYS_SELECT_WITH_SYS_TIME 1
12388 echo "$as_me: failed program was:" >&5
12389 sed 's/^/| /' conftest.
$ac_ext >&5
12391 echo "$as_me:$LINENO: result: no" >&5
12392 echo "${ECHO_T}no" >&6
12394 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12397 echo "$as_me:$LINENO: checking for /dev/ptc" >&5
12398 echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
12399 if test -r /dev
/ptc
; then
12400 cat >>confdefs.h
<<\_ACEOF
12401 #define HAVE_DEV_PTC 1
12404 echo "$as_me:$LINENO: result: yes" >&5
12405 echo "${ECHO_T}yes" >&6
12407 echo "$as_me:$LINENO: result: no" >&5
12408 echo "${ECHO_T}no" >&6
12411 echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
12412 echo $ECHO_N "checking for SVR4 ptys... $ECHO_C" >&6
12413 if test -c /dev
/ptmx
; then
12414 cat >conftest.
$ac_ext <<_ACEOF
12417 cat confdefs.h
>>conftest.
$ac_ext
12418 cat >>conftest.
$ac_ext <<_ACEOF
12419 /* end confdefs.h. */
12424 ptsname(0);grantpt(0);unlockpt(0);
12429 rm -f conftest.
$ac_objext conftest
$ac_exeext
12430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12431 (eval $ac_link) 2>conftest.er1
12433 grep -v '^ *+' conftest.er1
>conftest.err
12435 cat conftest.err
>&5
12436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12437 (exit $ac_status); } &&
12438 { ac_try
='test -z "$ac_c_werror_flag"
12439 || test ! -s conftest.err'
12440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12441 (eval $ac_try) 2>&5
12443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12444 (exit $ac_status); }; } &&
12445 { ac_try
='test -s conftest$ac_exeext'
12446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12447 (eval $ac_try) 2>&5
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; }; then
12451 echo "$as_me:$LINENO: result: yes" >&5
12452 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12453 #define HAVE_SVR4_PTYS 1
12457 echo "$as_me: failed program was:" >&5
12458 sed 's/^/| /' conftest.
$ac_ext >&5
12460 echo "$as_me:$LINENO: result: no" >&5
12461 echo "${ECHO_T}no" >&6
12463 rm -f conftest.err conftest.
$ac_objext \
12464 conftest
$ac_exeext conftest.
$ac_ext
12466 echo "$as_me:$LINENO: result: no" >&5
12467 echo "${ECHO_T}no" >&6
12470 echo "$as_me:$LINENO: checking for ptyranges" >&5
12471 echo $ECHO_N "checking for ptyranges... $ECHO_C" >&6
12472 if test -d /dev
/ptym
; then
12477 cat >conftest.
$ac_ext <<_ACEOF
12480 cat confdefs.h
>>conftest.
$ac_ext
12481 cat >>conftest.
$ac_ext <<_ACEOF
12482 /* end confdefs.h. */
12488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12489 $EGREP "yes" >/dev
/null
2>&1; then
12490 ptys
=`echo /dev/ptyp??`
12492 ptys
=`echo $pdir/pty??`
12496 if test "$ptys" != "$pdir/pty??" ; then
12497 p0
=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
12498 p1
=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
12499 cat >>confdefs.h
<<_ACEOF
12500 #define PTYRANGE0 "$p0"
12503 cat >>confdefs.h
<<_ACEOF
12504 #define PTYRANGE1 "$p1"
12507 echo "$as_me:$LINENO: result: $p0 / $p1" >&5
12508 echo "${ECHO_T}$p0 / $p1" >&6
12510 echo "$as_me:$LINENO: result: don't know" >&5
12511 echo "${ECHO_T}don't know" >&6
12514 echo "$as_me:$LINENO: checking default tty permissions/group" >&5
12515 echo $ECHO_N "checking default tty permissions/group... $ECHO_C" >&6
12517 if test "$cross_compiling" = yes; then
12518 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
12519 echo "$as_me: error: failed to compile test program" >&2;}
12520 { (exit 1); exit 1; }; }
12522 cat >conftest.
$ac_ext <<_ACEOF
12525 cat confdefs.h
>>conftest.
$ac_ext
12526 cat >>conftest.
$ac_ext <<_ACEOF
12527 /* end confdefs.h. */
12529 #include <sys/types.h>
12530 #include <sys/stat.h>
12535 char *x,*ttyname();
12539 if (!(x = ttyname(0))) exit(1);
12540 if (stat(x, &sb)) exit(1);
12542 if (om & 002) exit(0);
12543 m = system("mesg y");
12544 if (m == -1 || m == 127) exit(1);
12545 if (stat(x, &sb)) exit(1);
12547 if (chmod(x, om)) exit(1);
12548 if (m & 002) exit(0);
12549 if (sb.st_gid == getgid()) exit(1);
12550 if (!(fp=fopen("conftest_grp", "w")))
12552 fprintf(fp, "%d\n", sb.st_gid);
12558 rm -f conftest
$ac_exeext
12559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12560 (eval $ac_link) 2>&5
12562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12563 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12565 (eval $ac_try) 2>&5
12567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12568 (exit $ac_status); }; }; then
12570 if test -f conftest_grp
; then
12571 ptygrp
=`cat conftest_grp`
12572 echo "$as_me:$LINENO: result: pty mode: 0620, group: $ptygrp" >&5
12573 echo "${ECHO_T}pty mode: 0620, group: $ptygrp" >&6
12574 cat >>confdefs.h
<<\_ACEOF
12575 #define PTYMODE 0620
12578 cat >>confdefs.h
<<_ACEOF
12579 #define PTYGROUP $ptygrp
12583 echo "$as_me:$LINENO: result: ptys are world accessable" >&5
12584 echo "${ECHO_T}ptys are world accessable" >&6
12588 echo "$as_me: program exited with status $ac_status" >&5
12589 echo "$as_me: failed program was:" >&5
12590 sed 's/^/| /' conftest.
$ac_ext >&5
12592 ( exit $ac_status )
12593 echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
12594 echo "${ECHO_T}can't determine - assume ptys are world accessable" >&6
12596 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12601 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12602 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
12603 if test "${ac_cv_type_signal+set}" = set; then
12604 echo $ECHO_N "(cached) $ECHO_C" >&6
12606 cat >conftest.
$ac_ext <<_ACEOF
12609 cat confdefs.h
>>conftest.
$ac_ext
12610 cat >>conftest.
$ac_ext <<_ACEOF
12611 /* end confdefs.h. */
12612 #include <sys/types.h>
12613 #include <signal.h>
12618 extern "C" void (*signal (int, void (*)(int)))(int);
12620 void (*signal ()) ();
12631 rm -f conftest.
$ac_objext
12632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12633 (eval $ac_compile) 2>conftest.er1
12635 grep -v '^ *+' conftest.er1
>conftest.err
12637 cat conftest.err
>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } &&
12640 { ac_try
='test -z "$ac_c_werror_flag"
12641 || test ! -s conftest.err'
12642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12643 (eval $ac_try) 2>&5
12645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12646 (exit $ac_status); }; } &&
12647 { ac_try
='test -s conftest.$ac_objext'
12648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12649 (eval $ac_try) 2>&5
12651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); }; }; then
12653 ac_cv_type_signal
=void
12655 echo "$as_me: failed program was:" >&5
12656 sed 's/^/| /' conftest.
$ac_ext >&5
12658 ac_cv_type_signal
=int
12660 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12662 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12663 echo "${ECHO_T}$ac_cv_type_signal" >&6
12665 cat >>confdefs.h
<<_ACEOF
12666 #define RETSIGTYPE $ac_cv_type_signal
12671 if test $ac_cv_type_signal = void
; then
12672 cat >>confdefs.h
<<\_ACEOF
12673 #define SIGRETURN return
12677 cat >>confdefs.h
<<\_ACEOF
12678 #define SIGRETURN return 0
12683 echo "$as_me:$LINENO: checking for struct sigcontext" >&5
12684 echo $ECHO_N "checking for struct sigcontext... $ECHO_C" >&6
12685 cat >conftest.
$ac_ext <<_ACEOF
12688 cat confdefs.h
>>conftest.
$ac_ext
12689 cat >>conftest.
$ac_ext <<_ACEOF
12690 /* end confdefs.h. */
12692 #include <signal.h>
12695 struct sigcontext *scont;
12696 scont = (struct sigcontext *)0;
12707 rm -f conftest.
$ac_objext
12708 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12709 (eval $ac_compile) 2>conftest.er1
12711 grep -v '^ *+' conftest.er1
>conftest.err
12713 cat conftest.err
>&5
12714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12715 (exit $ac_status); } &&
12716 { ac_try
='test -z "$ac_c_werror_flag"
12717 || test ! -s conftest.err'
12718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12719 (eval $ac_try) 2>&5
12721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); }; } &&
12723 { ac_try
='test -s conftest.$ac_objext'
12724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12725 (eval $ac_try) 2>&5
12727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12728 (exit $ac_status); }; }; then
12729 echo "$as_me:$LINENO: result: yes" >&5
12730 echo "${ECHO_T}yes" >&6
12731 cat >>confdefs.h
<<\_ACEOF
12732 #define HAVE_SIGCONTEXT 1
12736 echo "$as_me: failed program was:" >&5
12737 sed 's/^/| /' conftest.
$ac_ext >&5
12739 echo "$as_me:$LINENO: result: no" >&5
12740 echo "${ECHO_T}no" >&6
12742 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12744 echo "$as_me:$LINENO: checking getcwd implementation" >&5
12745 echo $ECHO_N "checking getcwd implementation... $ECHO_C" >&6
12746 if test "$cross_compiling" = yes; then
12747 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
12748 echo "$as_me: error: failed to compile test program" >&2;}
12749 { (exit 1); exit 1; }; }
12751 cat >conftest.
$ac_ext <<_ACEOF
12754 cat confdefs.h
>>conftest.
$ac_ext
12755 cat >>conftest.
$ac_ext <<_ACEOF
12756 /* end confdefs.h. */
12758 char *dagger[] = { "IFS=pwd", 0 };
12762 extern char **environ;
12764 return getcwd(buffer, 500) ? 0 : 1;
12767 rm -f conftest
$ac_exeext
12768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12769 (eval $ac_link) 2>&5
12771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12772 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12774 (eval $ac_try) 2>&5
12776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12777 (exit $ac_status); }; }; then
12778 echo "$as_me:$LINENO: result: it is usable" >&5
12779 echo "${ECHO_T}it is usable" >&6
12781 echo "$as_me: program exited with status $ac_status" >&5
12782 echo "$as_me: failed program was:" >&5
12783 sed 's/^/| /' conftest.
$ac_ext >&5
12785 ( exit $ac_status )
12786 echo "$as_me:$LINENO: result: it stinks" >&5
12787 echo "${ECHO_T}it stinks" >&6
12788 cat >>confdefs.h
<<\_ACEOF
12789 #define BAD_GETCWD 1
12793 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12842 for ac_func
in bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
12843 getpwnam getpwuid getrlimit gettimeofday getwd lstat memcmp \
12844 memset nanosleep opendir putenv qsort readlink
select setenv \
12845 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
12846 sigvec strcasecmp strerror strftime stricmp strncasecmp \
12847 strnicmp strpbrk strtol tgetent towlower towupper iswupper \
12848 usleep utime utimes
12850 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12851 echo "$as_me:$LINENO: checking for $ac_func" >&5
12852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12853 if eval "test \"\${$as_ac_var+set}\" = set"; then
12854 echo $ECHO_N "(cached) $ECHO_C" >&6
12856 cat >conftest.
$ac_ext <<_ACEOF
12859 cat confdefs.h
>>conftest.
$ac_ext
12860 cat >>conftest.
$ac_ext <<_ACEOF
12861 /* end confdefs.h. */
12862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12864 #define $ac_func innocuous_$ac_func
12866 /* System header to define __stub macros and hopefully few prototypes,
12867 which can conflict with char $ac_func (); below.
12868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12869 <limits.h> exists even on freestanding compilers. */
12872 # include <limits.h>
12874 # include <assert.h>
12879 /* Override any gcc2 internal prototype to avoid an error. */
12884 /* We use char because int might match the return type of a gcc2
12885 builtin and then its argument prototype would still apply. */
12887 /* The GNU C library defines this for functions which it implements
12888 to always fail with ENOSYS. Some functions are actually named
12889 something starting with __ and the normal name is an alias. */
12890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12893 char (*f) () = $ac_func;
12902 return f != $ac_func;
12907 rm -f conftest.
$ac_objext conftest
$ac_exeext
12908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12909 (eval $ac_link) 2>conftest.er1
12911 grep -v '^ *+' conftest.er1
>conftest.err
12913 cat conftest.err
>&5
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); } &&
12916 { ac_try
='test -z "$ac_c_werror_flag"
12917 || test ! -s conftest.err'
12918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12919 (eval $ac_try) 2>&5
12921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12922 (exit $ac_status); }; } &&
12923 { ac_try
='test -s conftest$ac_exeext'
12924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12925 (eval $ac_try) 2>&5
12927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12928 (exit $ac_status); }; }; then
12929 eval "$as_ac_var=yes"
12931 echo "$as_me: failed program was:" >&5
12932 sed 's/^/| /' conftest.
$ac_ext >&5
12934 eval "$as_ac_var=no"
12936 rm -f conftest.err conftest.
$ac_objext \
12937 conftest
$ac_exeext conftest.
$ac_ext
12939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12941 if test `eval echo '${'$as_ac_var'}'` = yes; then
12942 cat >>confdefs.h
<<_ACEOF
12943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12950 echo "$as_me:$LINENO: checking for st_blksize" >&5
12951 echo $ECHO_N "checking for st_blksize... $ECHO_C" >&6
12952 cat >conftest.
$ac_ext <<_ACEOF
12955 cat confdefs.h
>>conftest.
$ac_ext
12956 cat >>conftest.
$ac_ext <<_ACEOF
12957 /* end confdefs.h. */
12958 #include <sys/types.h>
12959 #include <sys/stat.h>
12967 n = (int)st.st_blksize;
12972 rm -f conftest.
$ac_objext
12973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12974 (eval $ac_compile) 2>conftest.er1
12976 grep -v '^ *+' conftest.er1
>conftest.err
12978 cat conftest.err
>&5
12979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12980 (exit $ac_status); } &&
12981 { ac_try
='test -z "$ac_c_werror_flag"
12982 || test ! -s conftest.err'
12983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12984 (eval $ac_try) 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); }; } &&
12988 { ac_try
='test -s conftest.$ac_objext'
12989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12990 (eval $ac_try) 2>&5
12992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12993 (exit $ac_status); }; }; then
12994 echo "$as_me:$LINENO: result: yes" >&5
12995 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12996 #define HAVE_ST_BLKSIZE 1
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.
$ac_ext >&5
13003 echo "$as_me:$LINENO: result: no" >&5
13004 echo "${ECHO_T}no" >&6
13006 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13008 echo "$as_me:$LINENO: checking whether stat() ignores a trailing slash" >&5
13009 echo $ECHO_N "checking whether stat() ignores a trailing slash... $ECHO_C" >&6
13010 if test "$cross_compiling" = yes; then
13011 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
13012 echo "$as_me: error: failed to compile test program" >&2;}
13013 { (exit 1); exit 1; }; }
13015 cat >conftest.
$ac_ext <<_ACEOF
13018 cat confdefs.h
>>conftest.
$ac_ext
13019 cat >>conftest.
$ac_ext <<_ACEOF
13020 /* end confdefs.h. */
13021 #include <sys/types.h>
13022 #include <sys/stat.h>
13023 main() {struct stat st; exit(stat("configure/", &st) != 0); }
13025 rm -f conftest
$ac_exeext
13026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13027 (eval $ac_link) 2>&5
13029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13030 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13032 (eval $ac_try) 2>&5
13034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13035 (exit $ac_status); }; }; then
13036 echo "$as_me:$LINENO: result: yes" >&5
13037 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13038 #define STAT_IGNORES_SLASH 1
13042 echo "$as_me: program exited with status $ac_status" >&5
13043 echo "$as_me: failed program was:" >&5
13044 sed 's/^/| /' conftest.
$ac_ext >&5
13046 ( exit $ac_status )
13047 echo "$as_me:$LINENO: result: no" >&5
13048 echo "${ECHO_T}no" >&6
13050 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13053 echo "$as_me:$LINENO: checking for iconv_open()" >&5
13054 echo $ECHO_N "checking for iconv_open()... $ECHO_C" >&6
13056 LIBS
="$LIBS -liconv"
13057 cat >conftest.
$ac_ext <<_ACEOF
13060 cat confdefs.h
>>conftest.
$ac_ext
13061 cat >>conftest.
$ac_ext <<_ACEOF
13062 /* end confdefs.h. */
13064 #ifdef HAVE_ICONV_H
13065 # include <iconv.h>
13071 iconv_open("fr", "to");
13076 rm -f conftest.
$ac_objext conftest
$ac_exeext
13077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13078 (eval $ac_link) 2>conftest.er1
13080 grep -v '^ *+' conftest.er1
>conftest.err
13082 cat conftest.err
>&5
13083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13084 (exit $ac_status); } &&
13085 { ac_try
='test -z "$ac_c_werror_flag"
13086 || test ! -s conftest.err'
13087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13088 (eval $ac_try) 2>&5
13090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13091 (exit $ac_status); }; } &&
13092 { ac_try
='test -s conftest$ac_exeext'
13093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13094 (eval $ac_try) 2>&5
13096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13097 (exit $ac_status); }; }; then
13098 echo "$as_me:$LINENO: result: yes; with -liconv" >&5
13099 echo "${ECHO_T}yes; with -liconv" >&6; cat >>confdefs.h
<<\_ACEOF
13100 #define HAVE_ICONV 1
13104 echo "$as_me: failed program was:" >&5
13105 sed 's/^/| /' conftest.
$ac_ext >&5
13108 cat >conftest.
$ac_ext <<_ACEOF
13111 cat confdefs.h
>>conftest.
$ac_ext
13112 cat >>conftest.
$ac_ext <<_ACEOF
13113 /* end confdefs.h. */
13115 #ifdef HAVE_ICONV_H
13116 # include <iconv.h>
13122 iconv_open("fr", "to");
13127 rm -f conftest.
$ac_objext conftest
$ac_exeext
13128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13129 (eval $ac_link) 2>conftest.er1
13131 grep -v '^ *+' conftest.er1
>conftest.err
13133 cat conftest.err
>&5
13134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13135 (exit $ac_status); } &&
13136 { ac_try
='test -z "$ac_c_werror_flag"
13137 || test ! -s conftest.err'
13138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13139 (eval $ac_try) 2>&5
13141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13142 (exit $ac_status); }; } &&
13143 { ac_try
='test -s conftest$ac_exeext'
13144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13145 (eval $ac_try) 2>&5
13147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13148 (exit $ac_status); }; }; then
13149 echo "$as_me:$LINENO: result: yes" >&5
13150 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13151 #define HAVE_ICONV 1
13155 echo "$as_me: failed program was:" >&5
13156 sed 's/^/| /' conftest.
$ac_ext >&5
13158 echo "$as_me:$LINENO: result: no" >&5
13159 echo "${ECHO_T}no" >&6
13161 rm -f conftest.err conftest.
$ac_objext \
13162 conftest
$ac_exeext conftest.
$ac_ext
13164 rm -f conftest.err conftest.
$ac_objext \
13165 conftest
$ac_exeext conftest.
$ac_ext
13168 echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
13169 echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6
13170 cat >conftest.
$ac_ext <<_ACEOF
13173 cat confdefs.h
>>conftest.
$ac_ext
13174 cat >>conftest.
$ac_ext <<_ACEOF
13175 /* end confdefs.h. */
13177 #ifdef HAVE_LANGINFO_H
13178 # include <langinfo.h>
13184 char *cs = nl_langinfo(CODESET);
13189 rm -f conftest.
$ac_objext conftest
$ac_exeext
13190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13191 (eval $ac_link) 2>conftest.er1
13193 grep -v '^ *+' conftest.er1
>conftest.err
13195 cat conftest.err
>&5
13196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13197 (exit $ac_status); } &&
13198 { ac_try
='test -z "$ac_c_werror_flag"
13199 || test ! -s conftest.err'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; } &&
13205 { ac_try
='test -s conftest$ac_exeext'
13206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13207 (eval $ac_try) 2>&5
13209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13210 (exit $ac_status); }; }; then
13211 echo "$as_me:$LINENO: result: yes" >&5
13212 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13213 #define HAVE_NL_LANGINFO_CODESET 1
13217 echo "$as_me: failed program was:" >&5
13218 sed 's/^/| /' conftest.
$ac_ext >&5
13220 echo "$as_me:$LINENO: result: no" >&5
13221 echo "${ECHO_T}no" >&6
13223 rm -f conftest.err conftest.
$ac_objext \
13224 conftest
$ac_exeext conftest.
$ac_ext
13226 echo "$as_me:$LINENO: checking --disable-acl argument" >&5
13227 echo $ECHO_N "checking --disable-acl argument... $ECHO_C" >&6
13228 # Check whether --enable-acl or --disable-acl was given.
13229 if test "${enable_acl+set}" = set; then
13230 enableval
="$enable_acl"
13235 if test "$enable_acl" = "yes"; then
13236 echo "$as_me:$LINENO: result: no" >&5
13237 echo "${ECHO_T}no" >&6
13238 echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
13239 echo $ECHO_N "checking for acl_get_file in -lposix1e... $ECHO_C" >&6
13240 if test "${ac_cv_lib_posix1e_acl_get_file+set}" = set; then
13241 echo $ECHO_N "(cached) $ECHO_C" >&6
13243 ac_check_lib_save_LIBS
=$LIBS
13244 LIBS
="-lposix1e $LIBS"
13245 cat >conftest.
$ac_ext <<_ACEOF
13248 cat confdefs.h
>>conftest.
$ac_ext
13249 cat >>conftest.
$ac_ext <<_ACEOF
13250 /* end confdefs.h. */
13252 /* Override any gcc2 internal prototype to avoid an error. */
13256 /* We use char because int might match the return type of a gcc2
13257 builtin and then its argument prototype would still apply. */
13258 char acl_get_file ();
13267 rm -f conftest.
$ac_objext conftest
$ac_exeext
13268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13269 (eval $ac_link) 2>conftest.er1
13271 grep -v '^ *+' conftest.er1
>conftest.err
13273 cat conftest.err
>&5
13274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13275 (exit $ac_status); } &&
13276 { ac_try
='test -z "$ac_c_werror_flag"
13277 || test ! -s conftest.err'
13278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13279 (eval $ac_try) 2>&5
13281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13282 (exit $ac_status); }; } &&
13283 { ac_try
='test -s conftest$ac_exeext'
13284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13285 (eval $ac_try) 2>&5
13287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13288 (exit $ac_status); }; }; then
13289 ac_cv_lib_posix1e_acl_get_file
=yes
13291 echo "$as_me: failed program was:" >&5
13292 sed 's/^/| /' conftest.
$ac_ext >&5
13294 ac_cv_lib_posix1e_acl_get_file
=no
13296 rm -f conftest.err conftest.
$ac_objext \
13297 conftest
$ac_exeext conftest.
$ac_ext
13298 LIBS
=$ac_check_lib_save_LIBS
13300 echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
13301 echo "${ECHO_T}$ac_cv_lib_posix1e_acl_get_file" >&6
13302 if test $ac_cv_lib_posix1e_acl_get_file = yes; then
13303 LIBS
="$LIBS -lposix1e"
13305 echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
13306 echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6
13307 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
13308 echo $ECHO_N "(cached) $ECHO_C" >&6
13310 ac_check_lib_save_LIBS
=$LIBS
13312 cat >conftest.
$ac_ext <<_ACEOF
13315 cat confdefs.h
>>conftest.
$ac_ext
13316 cat >>conftest.
$ac_ext <<_ACEOF
13317 /* end confdefs.h. */
13319 /* Override any gcc2 internal prototype to avoid an error. */
13323 /* We use char because int might match the return type of a gcc2
13324 builtin and then its argument prototype would still apply. */
13325 char acl_get_file ();
13334 rm -f conftest.
$ac_objext conftest
$ac_exeext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13336 (eval $ac_link) 2>conftest.er1
13338 grep -v '^ *+' conftest.er1
>conftest.err
13340 cat conftest.err
>&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try
='test -z "$ac_c_werror_flag"
13344 || test ! -s conftest.err'
13345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13346 (eval $ac_try) 2>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); }; } &&
13350 { ac_try
='test -s conftest$ac_exeext'
13351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13352 (eval $ac_try) 2>&5
13354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13355 (exit $ac_status); }; }; then
13356 ac_cv_lib_acl_acl_get_file
=yes
13358 echo "$as_me: failed program was:" >&5
13359 sed 's/^/| /' conftest.
$ac_ext >&5
13361 ac_cv_lib_acl_acl_get_file
=no
13363 rm -f conftest.err conftest.
$ac_objext \
13364 conftest
$ac_exeext conftest.
$ac_ext
13365 LIBS
=$ac_check_lib_save_LIBS
13367 echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
13368 echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6
13369 if test $ac_cv_lib_acl_acl_get_file = yes; then
13371 echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
13372 echo $ECHO_N "checking for fgetxattr in -lattr... $ECHO_C" >&6
13373 if test "${ac_cv_lib_attr_fgetxattr+set}" = set; then
13374 echo $ECHO_N "(cached) $ECHO_C" >&6
13376 ac_check_lib_save_LIBS
=$LIBS
13377 LIBS
="-lattr $LIBS"
13378 cat >conftest.
$ac_ext <<_ACEOF
13381 cat confdefs.h
>>conftest.
$ac_ext
13382 cat >>conftest.
$ac_ext <<_ACEOF
13383 /* end confdefs.h. */
13385 /* Override any gcc2 internal prototype to avoid an error. */
13389 /* We use char because int might match the return type of a gcc2
13390 builtin and then its argument prototype would still apply. */
13400 rm -f conftest.
$ac_objext conftest
$ac_exeext
13401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13402 (eval $ac_link) 2>conftest.er1
13404 grep -v '^ *+' conftest.er1
>conftest.err
13406 cat conftest.err
>&5
13407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } &&
13409 { ac_try
='test -z "$ac_c_werror_flag"
13410 || test ! -s conftest.err'
13411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13412 (eval $ac_try) 2>&5
13414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13415 (exit $ac_status); }; } &&
13416 { ac_try
='test -s conftest$ac_exeext'
13417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13418 (eval $ac_try) 2>&5
13420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13421 (exit $ac_status); }; }; then
13422 ac_cv_lib_attr_fgetxattr
=yes
13424 echo "$as_me: failed program was:" >&5
13425 sed 's/^/| /' conftest.
$ac_ext >&5
13427 ac_cv_lib_attr_fgetxattr
=no
13429 rm -f conftest.err conftest.
$ac_objext \
13430 conftest
$ac_exeext conftest.
$ac_ext
13431 LIBS
=$ac_check_lib_save_LIBS
13433 echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
13434 echo "${ECHO_T}$ac_cv_lib_attr_fgetxattr" >&6
13435 if test $ac_cv_lib_attr_fgetxattr = yes; then
13436 LIBS
="$LIBS -lattr"
13444 echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
13445 echo $ECHO_N "checking for POSIX ACL support... $ECHO_C" >&6
13446 cat >conftest.
$ac_ext <<_ACEOF
13449 cat confdefs.h
>>conftest.
$ac_ext
13450 cat >>conftest.
$ac_ext <<_ACEOF
13451 /* end confdefs.h. */
13453 #include <sys/types.h>
13454 #ifdef HAVE_SYS_ACL_H
13455 # include <sys/acl.h>
13461 acl = acl_get_file("foo", ACL_TYPE_ACCESS);
13462 acl_set_file("foo", ACL_TYPE_ACCESS, acl);
13468 rm -f conftest.
$ac_objext conftest
$ac_exeext
13469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13470 (eval $ac_link) 2>conftest.er1
13472 grep -v '^ *+' conftest.er1
>conftest.err
13474 cat conftest.err
>&5
13475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13476 (exit $ac_status); } &&
13477 { ac_try
='test -z "$ac_c_werror_flag"
13478 || test ! -s conftest.err'
13479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13480 (eval $ac_try) 2>&5
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; } &&
13484 { ac_try
='test -s conftest$ac_exeext'
13485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13486 (eval $ac_try) 2>&5
13488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13489 (exit $ac_status); }; }; then
13490 echo "$as_me:$LINENO: result: yes" >&5
13491 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13492 #define HAVE_POSIX_ACL 1
13496 echo "$as_me: failed program was:" >&5
13497 sed 's/^/| /' conftest.
$ac_ext >&5
13499 echo "$as_me:$LINENO: result: no" >&5
13500 echo "${ECHO_T}no" >&6
13502 rm -f conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13505 echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
13506 echo $ECHO_N "checking for Solaris ACL support... $ECHO_C" >&6
13507 cat >conftest.
$ac_ext <<_ACEOF
13510 cat confdefs.h
>>conftest.
$ac_ext
13511 cat >>conftest.
$ac_ext <<_ACEOF
13512 /* end confdefs.h. */
13514 #ifdef HAVE_SYS_ACL_H
13515 # include <sys/acl.h>
13520 acl("foo", GETACLCNT, 0, NULL);
13526 rm -f conftest.
$ac_objext conftest
$ac_exeext
13527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13528 (eval $ac_link) 2>conftest.er1
13530 grep -v '^ *+' conftest.er1
>conftest.err
13532 cat conftest.err
>&5
13533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13534 (exit $ac_status); } &&
13535 { ac_try
='test -z "$ac_c_werror_flag"
13536 || test ! -s conftest.err'
13537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13538 (eval $ac_try) 2>&5
13540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13541 (exit $ac_status); }; } &&
13542 { ac_try
='test -s conftest$ac_exeext'
13543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13544 (eval $ac_try) 2>&5
13546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13547 (exit $ac_status); }; }; then
13548 echo "$as_me:$LINENO: result: yes" >&5
13549 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13550 #define HAVE_SOLARIS_ACL 1
13554 echo "$as_me: failed program was:" >&5
13555 sed 's/^/| /' conftest.
$ac_ext >&5
13557 echo "$as_me:$LINENO: result: no" >&5
13558 echo "${ECHO_T}no" >&6
13560 rm -f conftest.err conftest.
$ac_objext \
13561 conftest
$ac_exeext conftest.
$ac_ext
13563 echo "$as_me:$LINENO: checking for AIX ACL support" >&5
13564 echo $ECHO_N "checking for AIX ACL support... $ECHO_C" >&6
13565 cat >conftest.
$ac_ext <<_ACEOF
13568 cat confdefs.h
>>conftest.
$ac_ext
13569 cat >>conftest.
$ac_ext <<_ACEOF
13570 /* end confdefs.h. */
13572 #ifdef HAVE_SYS_ACL_H
13573 # include <sys/acl.h>
13575 #ifdef HAVE_SYS_ACCESS_H
13576 # include <sys/access.h>
13578 #define _ALL_SOURCE
13580 #include <sys/stat.h>
13583 struct acl *aclent;
13587 aclsize = sizeof(struct acl);
13588 aclent = (void *)malloc(aclsize);
13589 statacl("foo", STX_NORMAL, aclent, aclsize);
13595 rm -f conftest.
$ac_objext conftest
$ac_exeext
13596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13597 (eval $ac_link) 2>conftest.er1
13599 grep -v '^ *+' conftest.er1
>conftest.err
13601 cat conftest.err
>&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } &&
13604 { ac_try
='test -z "$ac_c_werror_flag"
13605 || test ! -s conftest.err'
13606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13607 (eval $ac_try) 2>&5
13609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13610 (exit $ac_status); }; } &&
13611 { ac_try
='test -s conftest$ac_exeext'
13612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13613 (eval $ac_try) 2>&5
13615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13616 (exit $ac_status); }; }; then
13617 echo "$as_me:$LINENO: result: yes" >&5
13618 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13619 #define HAVE_AIX_ACL 1
13623 echo "$as_me: failed program was:" >&5
13624 sed 's/^/| /' conftest.
$ac_ext >&5
13626 echo "$as_me:$LINENO: result: no" >&5
13627 echo "${ECHO_T}no" >&6
13629 rm -f conftest.err conftest.
$ac_objext \
13630 conftest
$ac_exeext conftest.
$ac_ext
13632 echo "$as_me:$LINENO: result: yes" >&5
13633 echo "${ECHO_T}yes" >&6
13636 echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
13637 echo $ECHO_N "checking --disable-gpm argument... $ECHO_C" >&6
13638 # Check whether --enable-gpm or --disable-gpm was given.
13639 if test "${enable_gpm+set}" = set; then
13640 enableval
="$enable_gpm"
13646 if test "$enable_gpm" = "yes"; then
13647 echo "$as_me:$LINENO: result: no" >&5
13648 echo "${ECHO_T}no" >&6
13649 echo "$as_me:$LINENO: checking for gpm" >&5
13650 echo $ECHO_N "checking for gpm... $ECHO_C" >&6
13651 if test "${vi_cv_have_gpm+set}" = set; then
13652 echo $ECHO_N "(cached) $ECHO_C" >&6
13654 olibs
="$LIBS" ; LIBS
="-lgpm"
13655 cat >conftest.
$ac_ext <<_ACEOF
13658 cat confdefs.h
>>conftest.
$ac_ext
13659 cat >>conftest.
$ac_ext <<_ACEOF
13660 /* end confdefs.h. */
13662 #include <linux/keyboard.h>
13666 Gpm_GetLibVersion(NULL);
13671 rm -f conftest.
$ac_objext conftest
$ac_exeext
13672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13673 (eval $ac_link) 2>conftest.er1
13675 grep -v '^ *+' conftest.er1
>conftest.err
13677 cat conftest.err
>&5
13678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13679 (exit $ac_status); } &&
13680 { ac_try
='test -z "$ac_c_werror_flag"
13681 || test ! -s conftest.err'
13682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13683 (eval $ac_try) 2>&5
13685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13686 (exit $ac_status); }; } &&
13687 { ac_try
='test -s conftest$ac_exeext'
13688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13689 (eval $ac_try) 2>&5
13691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13692 (exit $ac_status); }; }; then
13695 echo "$as_me: failed program was:" >&5
13696 sed 's/^/| /' conftest.
$ac_ext >&5
13700 rm -f conftest.err conftest.
$ac_objext \
13701 conftest
$ac_exeext conftest.
$ac_ext
13705 echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
13706 echo "${ECHO_T}$vi_cv_have_gpm" >&6
13707 if test $vi_cv_have_gpm = yes; then
13709 cat >>confdefs.h
<<\_ACEOF
13715 echo "$as_me:$LINENO: result: yes" >&5
13716 echo "${ECHO_T}yes" >&6
13719 echo "$as_me:$LINENO: checking for rename" >&5
13720 echo $ECHO_N "checking for rename... $ECHO_C" >&6
13721 cat >conftest.
$ac_ext <<_ACEOF
13724 cat confdefs.h
>>conftest.
$ac_ext
13725 cat >>conftest.
$ac_ext <<_ACEOF
13726 /* end confdefs.h. */
13731 rename("this", "that")
13736 rm -f conftest.
$ac_objext conftest
$ac_exeext
13737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13738 (eval $ac_link) 2>conftest.er1
13740 grep -v '^ *+' conftest.er1
>conftest.err
13742 cat conftest.err
>&5
13743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13744 (exit $ac_status); } &&
13745 { ac_try
='test -z "$ac_c_werror_flag"
13746 || test ! -s conftest.err'
13747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13748 (eval $ac_try) 2>&5
13750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13751 (exit $ac_status); }; } &&
13752 { ac_try
='test -s conftest$ac_exeext'
13753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13754 (eval $ac_try) 2>&5
13756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13757 (exit $ac_status); }; }; then
13758 echo "$as_me:$LINENO: result: yes" >&5
13759 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13760 #define HAVE_RENAME 1
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.
$ac_ext >&5
13767 echo "$as_me:$LINENO: result: no" >&5
13768 echo "${ECHO_T}no" >&6
13770 rm -f conftest.err conftest.
$ac_objext \
13771 conftest
$ac_exeext conftest.
$ac_ext
13773 echo "$as_me:$LINENO: checking for sysctl" >&5
13774 echo $ECHO_N "checking for sysctl... $ECHO_C" >&6
13775 cat >conftest.
$ac_ext <<_ACEOF
13778 cat confdefs.h
>>conftest.
$ac_ext
13779 cat >>conftest.
$ac_ext <<_ACEOF
13780 /* end confdefs.h. */
13781 #include <sys/types.h>
13782 #include <sys/sysctl.h>
13790 mib[1] = HW_USERMEM;
13792 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0);
13798 rm -f conftest.
$ac_objext
13799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13800 (eval $ac_compile) 2>conftest.er1
13802 grep -v '^ *+' conftest.er1
>conftest.err
13804 cat conftest.err
>&5
13805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13806 (exit $ac_status); } &&
13807 { ac_try
='test -z "$ac_c_werror_flag"
13808 || test ! -s conftest.err'
13809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13810 (eval $ac_try) 2>&5
13812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13813 (exit $ac_status); }; } &&
13814 { ac_try
='test -s conftest.$ac_objext'
13815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13816 (eval $ac_try) 2>&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); }; }; then
13820 echo "$as_me:$LINENO: result: yes" >&5
13821 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13822 #define HAVE_SYSCTL 1
13826 echo "$as_me: failed program was:" >&5
13827 sed 's/^/| /' conftest.
$ac_ext >&5
13829 echo "$as_me:$LINENO: result: not usable" >&5
13830 echo "${ECHO_T}not usable" >&6
13832 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13834 echo "$as_me:$LINENO: checking for sysinfo" >&5
13835 echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6
13836 cat >conftest.
$ac_ext <<_ACEOF
13839 cat confdefs.h
>>conftest.
$ac_ext
13840 cat >>conftest.
$ac_ext <<_ACEOF
13841 /* end confdefs.h. */
13842 #include <sys/types.h>
13843 #include <sys/sysinfo.h>
13847 struct sysinfo sinfo;
13850 (void)sysinfo(&sinfo);
13851 t = sinfo.totalram;
13857 rm -f conftest.
$ac_objext
13858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13859 (eval $ac_compile) 2>conftest.er1
13861 grep -v '^ *+' conftest.er1
>conftest.err
13863 cat conftest.err
>&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); } &&
13866 { ac_try
='test -z "$ac_c_werror_flag"
13867 || test ! -s conftest.err'
13868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13869 (eval $ac_try) 2>&5
13871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13872 (exit $ac_status); }; } &&
13873 { ac_try
='test -s conftest.$ac_objext'
13874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13875 (eval $ac_try) 2>&5
13877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13878 (exit $ac_status); }; }; then
13879 echo "$as_me:$LINENO: result: yes" >&5
13880 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13881 #define HAVE_SYSINFO 1
13885 echo "$as_me: failed program was:" >&5
13886 sed 's/^/| /' conftest.
$ac_ext >&5
13888 echo "$as_me:$LINENO: result: not usable" >&5
13889 echo "${ECHO_T}not usable" >&6
13891 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13893 echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
13894 echo $ECHO_N "checking for sysinfo.mem_unit... $ECHO_C" >&6
13895 cat >conftest.
$ac_ext <<_ACEOF
13898 cat confdefs.h
>>conftest.
$ac_ext
13899 cat >>conftest.
$ac_ext <<_ACEOF
13900 /* end confdefs.h. */
13901 #include <sys/types.h>
13902 #include <sys/sysinfo.h>
13906 struct sysinfo sinfo;
13907 sinfo.mem_unit = 1;
13913 rm -f conftest.
$ac_objext
13914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13915 (eval $ac_compile) 2>conftest.er1
13917 grep -v '^ *+' conftest.er1
>conftest.err
13919 cat conftest.err
>&5
13920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13921 (exit $ac_status); } &&
13922 { ac_try
='test -z "$ac_c_werror_flag"
13923 || test ! -s conftest.err'
13924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13925 (eval $ac_try) 2>&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); }; } &&
13929 { ac_try
='test -s conftest.$ac_objext'
13930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13931 (eval $ac_try) 2>&5
13933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13934 (exit $ac_status); }; }; then
13935 echo "$as_me:$LINENO: result: yes" >&5
13936 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13937 #define HAVE_SYSINFO_MEM_UNIT 1
13941 echo "$as_me: failed program was:" >&5
13942 sed 's/^/| /' conftest.
$ac_ext >&5
13944 echo "$as_me:$LINENO: result: no" >&5
13945 echo "${ECHO_T}no" >&6
13947 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13949 echo "$as_me:$LINENO: checking for sysconf" >&5
13950 echo $ECHO_N "checking for sysconf... $ECHO_C" >&6
13951 cat >conftest.
$ac_ext <<_ACEOF
13954 cat confdefs.h
>>conftest.
$ac_ext
13955 cat >>conftest.
$ac_ext <<_ACEOF
13956 /* end confdefs.h. */
13957 #include <unistd.h>
13961 (void)sysconf(_SC_PAGESIZE);
13962 (void)sysconf(_SC_PHYS_PAGES);
13968 rm -f conftest.
$ac_objext
13969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13970 (eval $ac_compile) 2>conftest.er1
13972 grep -v '^ *+' conftest.er1
>conftest.err
13974 cat conftest.err
>&5
13975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13976 (exit $ac_status); } &&
13977 { ac_try
='test -z "$ac_c_werror_flag"
13978 || test ! -s conftest.err'
13979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13980 (eval $ac_try) 2>&5
13982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); }; } &&
13984 { ac_try
='test -s conftest.$ac_objext'
13985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13986 (eval $ac_try) 2>&5
13988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13989 (exit $ac_status); }; }; then
13990 echo "$as_me:$LINENO: result: yes" >&5
13991 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13992 #define HAVE_SYSCONF 1
13996 echo "$as_me: failed program was:" >&5
13997 sed 's/^/| /' conftest.
$ac_ext >&5
13999 echo "$as_me:$LINENO: result: not usable" >&5
14000 echo "${ECHO_T}not usable" >&6
14002 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14005 echo "$as_me:$LINENO: checking size of int" >&5
14006 echo $ECHO_N "checking size of int... $ECHO_C" >&6
14007 if test "${ac_cv_sizeof_int+set}" = set; then
14008 echo $ECHO_N "(cached) $ECHO_C" >&6
14010 if test "$cross_compiling" = yes; then
14011 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
14012 echo "$as_me: error: failed to compile test program" >&2;}
14013 { (exit 1); exit 1; }; }
14015 cat >conftest.
$ac_ext <<_ACEOF
14018 cat confdefs.h
>>conftest.
$ac_ext
14019 cat >>conftest.
$ac_ext <<_ACEOF
14020 /* end confdefs.h. */
14024 FILE *f=fopen("conftestval", "w");
14026 fprintf(f, "%d\n", (int)sizeof(int));
14030 rm -f conftest
$ac_exeext
14031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14032 (eval $ac_link) 2>&5
14034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14035 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14037 (eval $ac_try) 2>&5
14039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14040 (exit $ac_status); }; }; then
14041 ac_cv_sizeof_int
=`cat conftestval`
14043 echo "$as_me: program exited with status $ac_status" >&5
14044 echo "$as_me: failed program was:" >&5
14045 sed 's/^/| /' conftest.
$ac_ext >&5
14047 ( exit $ac_status )
14050 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14054 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
14055 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
14056 cat >>confdefs.h
<<_ACEOF
14057 #define SIZEOF_INT $ac_cv_sizeof_int
14061 echo "$as_me:$LINENO: checking whether memmove/bcopy/memcpy handle overlaps" >&5
14062 echo $ECHO_N "checking whether memmove/bcopy/memcpy handle overlaps... $ECHO_C" >&6
14066 strcpy(buf, "abcdefghi");
14067 mch_memmove(buf, buf + 2, 3);
14068 if (strncmp(buf, "ababcf", 6))
14070 strcpy(buf, "abcdefghi");
14071 mch_memmove(buf + 2, buf, 3);
14072 if (strncmp(buf, "cdedef", 6))
14074 exit(0); /* libc version works properly. */
14078 if test "$cross_compiling" = yes; then
14079 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
14080 echo "$as_me: error: failed to compile test program" >&2;}
14081 { (exit 1); exit 1; }; }
14083 cat >conftest.
$ac_ext <<_ACEOF
14086 cat confdefs.h
>>conftest.
$ac_ext
14087 cat >>conftest.
$ac_ext <<_ACEOF
14088 /* end confdefs.h. */
14089 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog
14091 rm -f conftest
$ac_exeext
14092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14093 (eval $ac_link) 2>&5
14095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14096 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14098 (eval $ac_try) 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; }; then
14102 cat >>confdefs.h
<<\_ACEOF
14103 #define USEMEMMOVE 1
14105 echo "$as_me:$LINENO: result: memmove does" >&5
14106 echo "${ECHO_T}memmove does" >&6
14108 echo "$as_me: program exited with status $ac_status" >&5
14109 echo "$as_me: failed program was:" >&5
14110 sed 's/^/| /' conftest.
$ac_ext >&5
14112 ( exit $ac_status )
14113 if test "$cross_compiling" = yes; then
14114 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
14115 echo "$as_me: error: failed to compile test program" >&2;}
14116 { (exit 1); exit 1; }; }
14118 cat >conftest.
$ac_ext <<_ACEOF
14121 cat confdefs.h
>>conftest.
$ac_ext
14122 cat >>conftest.
$ac_ext <<_ACEOF
14123 /* end confdefs.h. */
14124 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog
14126 rm -f conftest
$ac_exeext
14127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14128 (eval $ac_link) 2>&5
14130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14131 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14133 (eval $ac_try) 2>&5
14135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14136 (exit $ac_status); }; }; then
14137 cat >>confdefs.h
<<\_ACEOF
14140 echo "$as_me:$LINENO: result: bcopy does" >&5
14141 echo "${ECHO_T}bcopy does" >&6
14143 echo "$as_me: program exited with status $ac_status" >&5
14144 echo "$as_me: failed program was:" >&5
14145 sed 's/^/| /' conftest.
$ac_ext >&5
14147 ( exit $ac_status )
14148 if test "$cross_compiling" = yes; then
14149 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
14150 echo "$as_me: error: failed to compile test program" >&2;}
14151 { (exit 1); exit 1; }; }
14153 cat >conftest.
$ac_ext <<_ACEOF
14156 cat confdefs.h
>>conftest.
$ac_ext
14157 cat >>conftest.
$ac_ext <<_ACEOF
14158 /* end confdefs.h. */
14159 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog
14161 rm -f conftest
$ac_exeext
14162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14163 (eval $ac_link) 2>&5
14165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14166 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14168 (eval $ac_try) 2>&5
14170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14171 (exit $ac_status); }; }; then
14172 cat >>confdefs.h
<<\_ACEOF
14173 #define USEMEMCPY 1
14175 echo "$as_me:$LINENO: result: memcpy does" >&5
14176 echo "${ECHO_T}memcpy does" >&6
14178 echo "$as_me: program exited with status $ac_status" >&5
14179 echo "$as_me: failed program was:" >&5
14180 sed 's/^/| /' conftest.
$ac_ext >&5
14182 ( exit $ac_status )
14183 echo "$as_me:$LINENO: result: no" >&5
14184 echo "${ECHO_T}no" >&6
14186 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14189 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14192 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14196 if test "$enable_multibyte" = "yes"; then
14197 cflags_save
=$CFLAGS
14198 ldflags_save
=$LDFLAGS
14199 if test -n "$x_includes" ; then
14200 CFLAGS
="$CFLAGS -I$x_includes"
14201 LDFLAGS
="$X_LIBS $LDFLAGS -lX11"
14202 echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
14203 echo $ECHO_N "checking whether X_LOCALE needed... $ECHO_C" >&6
14204 cat >conftest.
$ac_ext <<_ACEOF
14207 cat confdefs.h
>>conftest.
$ac_ext
14208 cat >>conftest.
$ac_ext <<_ACEOF
14209 /* end confdefs.h. */
14210 #include <X11/Xlocale.h>
14219 rm -f conftest.
$ac_objext
14220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14221 (eval $ac_compile) 2>conftest.er1
14223 grep -v '^ *+' conftest.er1
>conftest.err
14225 cat conftest.err
>&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } &&
14228 { ac_try
='test -z "$ac_c_werror_flag"
14229 || test ! -s conftest.err'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; } &&
14235 { ac_try
='test -s conftest.$ac_objext'
14236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14237 (eval $ac_try) 2>&5
14239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14240 (exit $ac_status); }; }; then
14241 cat >conftest.
$ac_ext <<_ACEOF
14244 cat confdefs.h
>>conftest.
$ac_ext
14245 cat >>conftest.
$ac_ext <<_ACEOF
14246 /* end confdefs.h. */
14248 /* Override any gcc2 internal prototype to avoid an error. */
14252 /* We use char because int might match the return type of a gcc2
14253 builtin and then its argument prototype would still apply. */
14254 char _Xsetlocale ();
14263 rm -f conftest.
$ac_objext conftest
$ac_exeext
14264 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14265 (eval $ac_link) 2>conftest.er1
14267 grep -v '^ *+' conftest.er1
>conftest.err
14269 cat conftest.err
>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); } &&
14272 { ac_try
='test -z "$ac_c_werror_flag"
14273 || test ! -s conftest.err'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; } &&
14279 { ac_try
='test -s conftest$ac_exeext'
14280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14281 (eval $ac_try) 2>&5
14283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14284 (exit $ac_status); }; }; then
14285 echo "$as_me:$LINENO: result: yes" >&5
14286 echo "${ECHO_T}yes" >&6
14287 cat >>confdefs.h
<<\_ACEOF
14292 echo "$as_me: failed program was:" >&5
14293 sed 's/^/| /' conftest.
$ac_ext >&5
14295 echo "$as_me:$LINENO: result: no" >&5
14296 echo "${ECHO_T}no" >&6
14298 rm -f conftest.err conftest.
$ac_objext \
14299 conftest
$ac_exeext conftest.
$ac_ext
14301 echo "$as_me: failed program was:" >&5
14302 sed 's/^/| /' conftest.
$ac_ext >&5
14304 echo "$as_me:$LINENO: result: no" >&5
14305 echo "${ECHO_T}no" >&6
14307 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14309 CFLAGS
=$cflags_save
14310 LDFLAGS
=$ldflags_save
14313 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
14314 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
14315 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
14316 echo $ECHO_N "(cached) $ECHO_C" >&6
14318 ac_check_lib_save_LIBS
=$LIBS
14319 LIBS
="-lxpg4 $LIBS"
14320 cat >conftest.
$ac_ext <<_ACEOF
14323 cat confdefs.h
>>conftest.
$ac_ext
14324 cat >>conftest.
$ac_ext <<_ACEOF
14325 /* end confdefs.h. */
14327 /* Override any gcc2 internal prototype to avoid an error. */
14331 /* We use char because int might match the return type of a gcc2
14332 builtin and then its argument prototype would still apply. */
14333 char _xpg4_setrunelocale ();
14337 _xpg4_setrunelocale ();
14342 rm -f conftest.
$ac_objext conftest
$ac_exeext
14343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14344 (eval $ac_link) 2>conftest.er1
14346 grep -v '^ *+' conftest.er1
>conftest.err
14348 cat conftest.err
>&5
14349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14350 (exit $ac_status); } &&
14351 { ac_try
='test -z "$ac_c_werror_flag"
14352 || test ! -s conftest.err'
14353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14354 (eval $ac_try) 2>&5
14356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14357 (exit $ac_status); }; } &&
14358 { ac_try
='test -s conftest$ac_exeext'
14359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14360 (eval $ac_try) 2>&5
14362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14363 (exit $ac_status); }; }; then
14364 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.
$ac_ext >&5
14369 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
14371 rm -f conftest.err conftest.
$ac_objext \
14372 conftest
$ac_exeext conftest.
$ac_ext
14373 LIBS
=$ac_check_lib_save_LIBS
14375 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
14376 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
14377 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
14378 LIBS
="$LIBS -lxpg4"
14382 echo "$as_me:$LINENO: checking how to create tags" >&5
14383 echo $ECHO_N "checking how to create tags... $ECHO_C" >&6
14384 test -f tags
&& mv tags tags.save
14385 if (eval ctags
--version /dev
/null |
grep Exuberant
) < /dev
/null
1>&5 2>&1; then
14386 TAGPRG
="ctags -I INIT+ --fields=+S"
14388 (eval etags
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="etags"
14389 (eval etags
-c /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="etags -c"
14390 (eval ctags
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags"
14391 (eval ctags
-t /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -t"
14392 (eval ctags
-ts /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -ts"
14393 (eval ctags
-tvs /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -tvs"
14394 (eval ctags
-i+m
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -i+m"
14396 test -f tags.save
&& mv tags.save tags
14397 echo "$as_me:$LINENO: result: $TAGPRG" >&5
14398 echo "${ECHO_T}$TAGPRG" >&6
14400 echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
14401 echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
14403 (eval man
-s 2 read) < /dev
/null
> /dev
/null
2>&5 && MANDEF
="man -s"
14404 echo "$as_me:$LINENO: result: $MANDEF" >&5
14405 echo "${ECHO_T}$MANDEF" >&6
14406 if test "$MANDEF" = "man -s"; then
14407 cat >>confdefs.h
<<\_ACEOF
14413 echo "$as_me:$LINENO: checking --disable-nls argument" >&5
14414 echo $ECHO_N "checking --disable-nls argument... $ECHO_C" >&6
14415 # Check whether --enable-nls or --disable-nls was given.
14416 if test "${enable_nls+set}" = set; then
14417 enableval
="$enable_nls"
14423 if test "$enable_nls" = "yes"; then
14424 echo "$as_me:$LINENO: result: no" >&5
14425 echo "${ECHO_T}no" >&6
14427 INSTALL_LANGS
=install-languages
14429 INSTALL_TOOL_LANGS
=install-tool-languages
14432 # Extract the first word of "msgfmt", so it can be a program name with args.
14433 set dummy msgfmt
; ac_word
=$2
14434 echo "$as_me:$LINENO: checking for $ac_word" >&5
14435 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14436 if test "${ac_cv_prog_MSGFMT+set}" = set; then
14437 echo $ECHO_N "(cached) $ECHO_C" >&6
14439 if test -n "$MSGFMT"; then
14440 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
14442 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14443 for as_dir
in $PATH
14446 test -z "$as_dir" && as_dir
=.
14447 for ac_exec_ext
in '' $ac_executable_extensions; do
14448 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14449 ac_cv_prog_MSGFMT
="msgfmt"
14450 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14458 MSGFMT
=$ac_cv_prog_MSGFMT
14459 if test -n "$MSGFMT"; then
14460 echo "$as_me:$LINENO: result: $MSGFMT" >&5
14461 echo "${ECHO_T}$MSGFMT" >&6
14463 echo "$as_me:$LINENO: result: no" >&5
14464 echo "${ECHO_T}no" >&6
14467 echo "$as_me:$LINENO: checking for NLS" >&5
14468 echo $ECHO_N "checking for NLS... $ECHO_C" >&6
14469 if test -f po
/Makefile
; then
14471 if test -n "$MSGFMT"; then
14472 cat >conftest.
$ac_ext <<_ACEOF
14475 cat confdefs.h
>>conftest.
$ac_ext
14476 cat >>conftest.
$ac_ext <<_ACEOF
14477 /* end confdefs.h. */
14478 #include <libintl.h>
14487 rm -f conftest.
$ac_objext conftest
$ac_exeext
14488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14489 (eval $ac_link) 2>conftest.er1
14491 grep -v '^ *+' conftest.er1
>conftest.err
14493 cat conftest.err
>&5
14494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14495 (exit $ac_status); } &&
14496 { ac_try
='test -z "$ac_c_werror_flag"
14497 || test ! -s conftest.err'
14498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14499 (eval $ac_try) 2>&5
14501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14502 (exit $ac_status); }; } &&
14503 { ac_try
='test -s conftest$ac_exeext'
14504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14505 (eval $ac_try) 2>&5
14507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14508 (exit $ac_status); }; }; then
14509 echo "$as_me:$LINENO: result: gettext() works" >&5
14510 echo "${ECHO_T}gettext() works" >&6; have_gettext
="yes"
14512 echo "$as_me: failed program was:" >&5
14513 sed 's/^/| /' conftest.
$ac_ext >&5
14516 LIBS
="$LIBS -lintl"
14517 cat >conftest.
$ac_ext <<_ACEOF
14520 cat confdefs.h
>>conftest.
$ac_ext
14521 cat >>conftest.
$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14523 #include <libintl.h>
14532 rm -f conftest.
$ac_objext conftest
$ac_exeext
14533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14534 (eval $ac_link) 2>conftest.er1
14536 grep -v '^ *+' conftest.er1
>conftest.err
14538 cat conftest.err
>&5
14539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14540 (exit $ac_status); } &&
14541 { ac_try
='test -z "$ac_c_werror_flag"
14542 || test ! -s conftest.err'
14543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14544 (eval $ac_try) 2>&5
14546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14547 (exit $ac_status); }; } &&
14548 { ac_try
='test -s conftest$ac_exeext'
14549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14550 (eval $ac_try) 2>&5
14552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14553 (exit $ac_status); }; }; then
14554 echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
14555 echo "${ECHO_T}gettext() works with -lintl" >&6; have_gettext
="yes"
14557 echo "$as_me: failed program was:" >&5
14558 sed 's/^/| /' conftest.
$ac_ext >&5
14560 echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
14561 echo "${ECHO_T}gettext() doesn't work" >&6;
14564 rm -f conftest.err conftest.
$ac_objext \
14565 conftest
$ac_exeext conftest.
$ac_ext
14567 rm -f conftest.err conftest.
$ac_objext \
14568 conftest
$ac_exeext conftest.
$ac_ext
14570 echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
14571 echo "${ECHO_T}msgfmt not found - disabled" >&6;
14573 if test $have_gettext = "yes"; then
14574 cat >>confdefs.h
<<\_ACEOF
14575 #define HAVE_GETTEXT 1
14581 for ac_func
in bind_textdomain_codeset
14583 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14584 echo "$as_me:$LINENO: checking for $ac_func" >&5
14585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14586 if eval "test \"\${$as_ac_var+set}\" = set"; then
14587 echo $ECHO_N "(cached) $ECHO_C" >&6
14589 cat >conftest.
$ac_ext <<_ACEOF
14592 cat confdefs.h
>>conftest.
$ac_ext
14593 cat >>conftest.
$ac_ext <<_ACEOF
14594 /* end confdefs.h. */
14595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14597 #define $ac_func innocuous_$ac_func
14599 /* System header to define __stub macros and hopefully few prototypes,
14600 which can conflict with char $ac_func (); below.
14601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14602 <limits.h> exists even on freestanding compilers. */
14605 # include <limits.h>
14607 # include <assert.h>
14612 /* Override any gcc2 internal prototype to avoid an error. */
14617 /* We use char because int might match the return type of a gcc2
14618 builtin and then its argument prototype would still apply. */
14620 /* The GNU C library defines this for functions which it implements
14621 to always fail with ENOSYS. Some functions are actually named
14622 something starting with __ and the normal name is an alias. */
14623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14626 char (*f) () = $ac_func;
14635 return f != $ac_func;
14640 rm -f conftest.
$ac_objext conftest
$ac_exeext
14641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14642 (eval $ac_link) 2>conftest.er1
14644 grep -v '^ *+' conftest.er1
>conftest.err
14646 cat conftest.err
>&5
14647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14648 (exit $ac_status); } &&
14649 { ac_try
='test -z "$ac_c_werror_flag"
14650 || test ! -s conftest.err'
14651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14652 (eval $ac_try) 2>&5
14654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14655 (exit $ac_status); }; } &&
14656 { ac_try
='test -s conftest$ac_exeext'
14657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14658 (eval $ac_try) 2>&5
14660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14661 (exit $ac_status); }; }; then
14662 eval "$as_ac_var=yes"
14664 echo "$as_me: failed program was:" >&5
14665 sed 's/^/| /' conftest.
$ac_ext >&5
14667 eval "$as_ac_var=no"
14669 rm -f conftest.err conftest.
$ac_objext \
14670 conftest
$ac_exeext conftest.
$ac_ext
14672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14674 if test `eval echo '${'$as_ac_var'}'` = yes; then
14675 cat >>confdefs.h
<<_ACEOF
14676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14682 echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
14683 echo $ECHO_N "checking for _nl_msg_cat_cntr... $ECHO_C" >&6
14684 cat >conftest.
$ac_ext <<_ACEOF
14687 cat confdefs.h
>>conftest.
$ac_ext
14688 cat >>conftest.
$ac_ext <<_ACEOF
14689 /* end confdefs.h. */
14690 #include <libintl.h>
14691 extern int _nl_msg_cat_cntr;
14695 ++_nl_msg_cat_cntr;
14700 rm -f conftest.
$ac_objext conftest
$ac_exeext
14701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14702 (eval $ac_link) 2>conftest.er1
14704 grep -v '^ *+' conftest.er1
>conftest.err
14706 cat conftest.err
>&5
14707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14708 (exit $ac_status); } &&
14709 { ac_try
='test -z "$ac_c_werror_flag"
14710 || test ! -s conftest.err'
14711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14712 (eval $ac_try) 2>&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); }; } &&
14716 { ac_try
='test -s conftest$ac_exeext'
14717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14718 (eval $ac_try) 2>&5
14720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14721 (exit $ac_status); }; }; then
14722 echo "$as_me:$LINENO: result: yes" >&5
14723 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
14724 #define HAVE_NL_MSG_CAT_CNTR 1
14728 echo "$as_me: failed program was:" >&5
14729 sed 's/^/| /' conftest.
$ac_ext >&5
14731 echo "$as_me:$LINENO: result: no" >&5
14732 echo "${ECHO_T}no" >&6
14734 rm -f conftest.err conftest.
$ac_objext \
14735 conftest
$ac_exeext conftest.
$ac_ext
14738 echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
14739 echo "${ECHO_T}no \"po/Makefile\" - disabled" >&6;
14742 echo "$as_me:$LINENO: result: yes" >&5
14743 echo "${ECHO_T}yes" >&6
14746 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14747 echo "$as_me:$LINENO: checking for dlfcn.h" >&5
14748 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
14749 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14752 echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
14753 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
14755 # Is the header compilable?
14756 echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
14757 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
14758 cat >conftest.
$ac_ext <<_ACEOF
14761 cat confdefs.h
>>conftest.
$ac_ext
14762 cat >>conftest.
$ac_ext <<_ACEOF
14763 /* end confdefs.h. */
14764 $ac_includes_default
14767 rm -f conftest.
$ac_objext
14768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14769 (eval $ac_compile) 2>conftest.er1
14771 grep -v '^ *+' conftest.er1
>conftest.err
14773 cat conftest.err
>&5
14774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14775 (exit $ac_status); } &&
14776 { ac_try
='test -z "$ac_c_werror_flag"
14777 || test ! -s conftest.err'
14778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14779 (eval $ac_try) 2>&5
14781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14782 (exit $ac_status); }; } &&
14783 { ac_try
='test -s conftest.$ac_objext'
14784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14785 (eval $ac_try) 2>&5
14787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14788 (exit $ac_status); }; }; then
14789 ac_header_compiler
=yes
14791 echo "$as_me: failed program was:" >&5
14792 sed 's/^/| /' conftest.
$ac_ext >&5
14794 ac_header_compiler
=no
14796 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14797 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14798 echo "${ECHO_T}$ac_header_compiler" >&6
14800 # Is the header present?
14801 echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
14802 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
14803 cat >conftest.
$ac_ext <<_ACEOF
14806 cat confdefs.h
>>conftest.
$ac_ext
14807 cat >>conftest.
$ac_ext <<_ACEOF
14808 /* end confdefs.h. */
14811 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14812 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14814 grep -v '^ *+' conftest.er1
>conftest.err
14816 cat conftest.err
>&5
14817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } >/dev
/null
; then
14819 if test -s conftest.err
; then
14820 ac_cpp_err
=$ac_c_preproc_warn_flag
14821 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14828 if test -z "$ac_cpp_err"; then
14829 ac_header_preproc
=yes
14831 echo "$as_me: failed program was:" >&5
14832 sed 's/^/| /' conftest.
$ac_ext >&5
14834 ac_header_preproc
=no
14836 rm -f conftest.err conftest.
$ac_ext
14837 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14838 echo "${ECHO_T}$ac_header_preproc" >&6
14840 # So? What about this header?
14841 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14843 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
14844 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14845 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
14846 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
14847 ac_header_preproc
=yes
14850 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
14851 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
14852 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
14853 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
14854 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
14855 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
14856 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
14857 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
14858 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
14859 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
14860 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
14861 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
14864 ## ------------------------------------------ ##
14865 ## Report this to the AC_PACKAGE_NAME lists. ##
14866 ## ------------------------------------------ ##
14869 sed "s/^/$as_me: WARNING: /" >&2
14872 echo "$as_me:$LINENO: checking for dlfcn.h" >&5
14873 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
14874 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14875 echo $ECHO_N "(cached) $ECHO_C" >&6
14877 ac_cv_header_dlfcn_h
=$ac_header_preproc
14879 echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
14880 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
14883 if test $ac_cv_header_dlfcn_h = yes; then
14886 if test "${ac_cv_header_dl_h+set}" = set; then
14887 echo "$as_me:$LINENO: checking for dl.h" >&5
14888 echo $ECHO_N "checking for dl.h... $ECHO_C" >&6
14889 if test "${ac_cv_header_dl_h+set}" = set; then
14890 echo $ECHO_N "(cached) $ECHO_C" >&6
14892 echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
14893 echo "${ECHO_T}$ac_cv_header_dl_h" >&6
14895 # Is the header compilable?
14896 echo "$as_me:$LINENO: checking dl.h usability" >&5
14897 echo $ECHO_N "checking dl.h usability... $ECHO_C" >&6
14898 cat >conftest.
$ac_ext <<_ACEOF
14901 cat confdefs.h
>>conftest.
$ac_ext
14902 cat >>conftest.
$ac_ext <<_ACEOF
14903 /* end confdefs.h. */
14904 $ac_includes_default
14907 rm -f conftest.
$ac_objext
14908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14909 (eval $ac_compile) 2>conftest.er1
14911 grep -v '^ *+' conftest.er1
>conftest.err
14913 cat conftest.err
>&5
14914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14915 (exit $ac_status); } &&
14916 { ac_try
='test -z "$ac_c_werror_flag"
14917 || test ! -s conftest.err'
14918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14919 (eval $ac_try) 2>&5
14921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14922 (exit $ac_status); }; } &&
14923 { ac_try
='test -s conftest.$ac_objext'
14924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14925 (eval $ac_try) 2>&5
14927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14928 (exit $ac_status); }; }; then
14929 ac_header_compiler
=yes
14931 echo "$as_me: failed program was:" >&5
14932 sed 's/^/| /' conftest.
$ac_ext >&5
14934 ac_header_compiler
=no
14936 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14937 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14938 echo "${ECHO_T}$ac_header_compiler" >&6
14940 # Is the header present?
14941 echo "$as_me:$LINENO: checking dl.h presence" >&5
14942 echo $ECHO_N "checking dl.h presence... $ECHO_C" >&6
14943 cat >conftest.
$ac_ext <<_ACEOF
14946 cat confdefs.h
>>conftest.
$ac_ext
14947 cat >>conftest.
$ac_ext <<_ACEOF
14948 /* end confdefs.h. */
14951 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14952 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14954 grep -v '^ *+' conftest.er1
>conftest.err
14956 cat conftest.err
>&5
14957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14958 (exit $ac_status); } >/dev
/null
; then
14959 if test -s conftest.err
; then
14960 ac_cpp_err
=$ac_c_preproc_warn_flag
14961 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14968 if test -z "$ac_cpp_err"; then
14969 ac_header_preproc
=yes
14971 echo "$as_me: failed program was:" >&5
14972 sed 's/^/| /' conftest.
$ac_ext >&5
14974 ac_header_preproc
=no
14976 rm -f conftest.err conftest.
$ac_ext
14977 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14978 echo "${ECHO_T}$ac_header_preproc" >&6
14980 # So? What about this header?
14981 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14983 { echo "$as_me:$LINENO: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&5
14984 echo "$as_me: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14985 { echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the compiler's result" >&5
14986 echo "$as_me: WARNING: dl.h: proceeding with the compiler's result" >&2;}
14987 ac_header_preproc
=yes
14990 { echo "$as_me:$LINENO: WARNING: dl.h: present but cannot be compiled" >&5
14991 echo "$as_me: WARNING: dl.h: present but cannot be compiled" >&2;}
14992 { echo "$as_me:$LINENO: WARNING: dl.h: check for missing prerequisite headers?" >&5
14993 echo "$as_me: WARNING: dl.h: check for missing prerequisite headers?" >&2;}
14994 { echo "$as_me:$LINENO: WARNING: dl.h: see the Autoconf documentation" >&5
14995 echo "$as_me: WARNING: dl.h: see the Autoconf documentation" >&2;}
14996 { echo "$as_me:$LINENO: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&5
14997 echo "$as_me: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&2;}
14998 { echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the preprocessor's result" >&5
14999 echo "$as_me: WARNING: dl.h: proceeding with the preprocessor's result" >&2;}
15000 { echo "$as_me:$LINENO: WARNING: dl.h: in the future, the compiler will take precedence" >&5
15001 echo "$as_me: WARNING: dl.h: in the future, the compiler will take precedence" >&2;}
15004 ## ------------------------------------------ ##
15005 ## Report this to the AC_PACKAGE_NAME lists. ##
15006 ## ------------------------------------------ ##
15009 sed "s/^/$as_me: WARNING: /" >&2
15012 echo "$as_me:$LINENO: checking for dl.h" >&5
15013 echo $ECHO_N "checking for dl.h... $ECHO_C" >&6
15014 if test "${ac_cv_header_dl_h+set}" = set; then
15015 echo $ECHO_N "(cached) $ECHO_C" >&6
15017 ac_cv_header_dl_h
=$ac_header_preproc
15019 echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
15020 echo "${ECHO_T}$ac_cv_header_dl_h" >&6
15023 if test $ac_cv_header_dl_h = yes; then
15031 if test x
${DLL} = xdlfcn.h
; then
15033 cat >>confdefs.h
<<\_ACEOF
15034 #define HAVE_DLFCN_H 1
15037 echo "$as_me:$LINENO: checking for dlopen()" >&5
15038 echo $ECHO_N "checking for dlopen()... $ECHO_C" >&6
15039 cat >conftest.
$ac_ext <<_ACEOF
15042 cat confdefs.h
>>conftest.
$ac_ext
15043 cat >>conftest.
$ac_ext <<_ACEOF
15044 /* end confdefs.h. */
15050 extern void* dlopen();
15057 rm -f conftest.
$ac_objext conftest
$ac_exeext
15058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15059 (eval $ac_link) 2>conftest.er1
15061 grep -v '^ *+' conftest.er1
>conftest.err
15063 cat conftest.err
>&5
15064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15065 (exit $ac_status); } &&
15066 { ac_try
='test -z "$ac_c_werror_flag"
15067 || test ! -s conftest.err'
15068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15069 (eval $ac_try) 2>&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); }; } &&
15073 { ac_try
='test -s conftest$ac_exeext'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; }; then
15079 echo "$as_me:$LINENO: result: yes" >&5
15080 echo "${ECHO_T}yes" >&6;
15082 cat >>confdefs.h
<<\_ACEOF
15083 #define HAVE_DLOPEN 1
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.
$ac_ext >&5
15090 echo "$as_me:$LINENO: result: no" >&5
15091 echo "${ECHO_T}no" >&6;
15092 echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
15093 echo $ECHO_N "checking for dlopen() in -ldl... $ECHO_C" >&6
15096 cat >conftest.
$ac_ext <<_ACEOF
15099 cat confdefs.h
>>conftest.
$ac_ext
15100 cat >>conftest.
$ac_ext <<_ACEOF
15101 /* end confdefs.h. */
15107 extern void* dlopen();
15114 rm -f conftest.
$ac_objext conftest
$ac_exeext
15115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15116 (eval $ac_link) 2>conftest.er1
15118 grep -v '^ *+' conftest.er1
>conftest.err
15120 cat conftest.err
>&5
15121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15122 (exit $ac_status); } &&
15123 { ac_try
='test -z "$ac_c_werror_flag"
15124 || test ! -s conftest.err'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; } &&
15130 { ac_try
='test -s conftest$ac_exeext'
15131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15132 (eval $ac_try) 2>&5
15134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15135 (exit $ac_status); }; }; then
15136 echo "$as_me:$LINENO: result: yes" >&5
15137 echo "${ECHO_T}yes" >&6;
15139 cat >>confdefs.h
<<\_ACEOF
15140 #define HAVE_DLOPEN 1
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.
$ac_ext >&5
15147 echo "$as_me:$LINENO: result: no" >&5
15148 echo "${ECHO_T}no" >&6;
15151 rm -f conftest.err conftest.
$ac_objext \
15152 conftest
$ac_exeext conftest.
$ac_ext
15154 rm -f conftest.err conftest.
$ac_objext \
15155 conftest
$ac_exeext conftest.
$ac_ext
15156 echo "$as_me:$LINENO: checking for dlsym()" >&5
15157 echo $ECHO_N "checking for dlsym()... $ECHO_C" >&6
15158 cat >conftest.
$ac_ext <<_ACEOF
15161 cat confdefs.h
>>conftest.
$ac_ext
15162 cat >>conftest.
$ac_ext <<_ACEOF
15163 /* end confdefs.h. */
15169 extern void* dlsym();
15176 rm -f conftest.
$ac_objext conftest
$ac_exeext
15177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15178 (eval $ac_link) 2>conftest.er1
15180 grep -v '^ *+' conftest.er1
>conftest.err
15182 cat conftest.err
>&5
15183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15184 (exit $ac_status); } &&
15185 { ac_try
='test -z "$ac_c_werror_flag"
15186 || test ! -s conftest.err'
15187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15188 (eval $ac_try) 2>&5
15190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15191 (exit $ac_status); }; } &&
15192 { ac_try
='test -s conftest$ac_exeext'
15193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15194 (eval $ac_try) 2>&5
15196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15197 (exit $ac_status); }; }; then
15198 echo "$as_me:$LINENO: result: yes" >&5
15199 echo "${ECHO_T}yes" >&6;
15201 cat >>confdefs.h
<<\_ACEOF
15202 #define HAVE_DLSYM 1
15206 echo "$as_me: failed program was:" >&5
15207 sed 's/^/| /' conftest.
$ac_ext >&5
15209 echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6;
15211 echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
15212 echo $ECHO_N "checking for dlsym() in -ldl... $ECHO_C" >&6
15215 cat >conftest.
$ac_ext <<_ACEOF
15218 cat confdefs.h
>>conftest.
$ac_ext
15219 cat >>conftest.
$ac_ext <<_ACEOF
15220 /* end confdefs.h. */
15226 extern void* dlsym();
15233 rm -f conftest.
$ac_objext conftest
$ac_exeext
15234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15235 (eval $ac_link) 2>conftest.er1
15237 grep -v '^ *+' conftest.er1
>conftest.err
15239 cat conftest.err
>&5
15240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15241 (exit $ac_status); } &&
15242 { ac_try
='test -z "$ac_c_werror_flag"
15243 || test ! -s conftest.err'
15244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15245 (eval $ac_try) 2>&5
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }; } &&
15249 { ac_try
='test -s conftest$ac_exeext'
15250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15251 (eval $ac_try) 2>&5
15253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15254 (exit $ac_status); }; }; then
15255 echo "$as_me:$LINENO: result: yes" >&5
15256 echo "${ECHO_T}yes" >&6;
15258 cat >>confdefs.h
<<\_ACEOF
15259 #define HAVE_DLSYM 1
15263 echo "$as_me: failed program was:" >&5
15264 sed 's/^/| /' conftest.
$ac_ext >&5
15266 echo "$as_me:$LINENO: result: no" >&5
15267 echo "${ECHO_T}no" >&6;
15270 rm -f conftest.err conftest.
$ac_objext \
15271 conftest
$ac_exeext conftest.
$ac_ext
15273 rm -f conftest.err conftest.
$ac_objext \
15274 conftest
$ac_exeext conftest.
$ac_ext
15275 elif test x
${DLL} = xdl.h
; then
15277 cat >>confdefs.h
<<\_ACEOF
15278 #define HAVE_DL_H 1
15281 echo "$as_me:$LINENO: checking for shl_load()" >&5
15282 echo $ECHO_N "checking for shl_load()... $ECHO_C" >&6
15283 cat >conftest.
$ac_ext <<_ACEOF
15286 cat confdefs.h
>>conftest.
$ac_ext
15287 cat >>conftest.
$ac_ext <<_ACEOF
15288 /* end confdefs.h. */
15294 extern void* shl_load();
15301 rm -f conftest.
$ac_objext conftest
$ac_exeext
15302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15303 (eval $ac_link) 2>conftest.er1
15305 grep -v '^ *+' conftest.er1
>conftest.err
15307 cat conftest.err
>&5
15308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15309 (exit $ac_status); } &&
15310 { ac_try
='test -z "$ac_c_werror_flag"
15311 || test ! -s conftest.err'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; } &&
15317 { ac_try
='test -s conftest$ac_exeext'
15318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15319 (eval $ac_try) 2>&5
15321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15322 (exit $ac_status); }; }; then
15323 echo "$as_me:$LINENO: result: yes" >&5
15324 echo "${ECHO_T}yes" >&6;
15326 cat >>confdefs.h
<<\_ACEOF
15327 #define HAVE_SHL_LOAD 1
15331 echo "$as_me: failed program was:" >&5
15332 sed 's/^/| /' conftest.
$ac_ext >&5
15334 echo "$as_me:$LINENO: result: no" >&5
15335 echo "${ECHO_T}no" >&6;
15336 echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
15337 echo $ECHO_N "checking for shl_load() in -ldld... $ECHO_C" >&6
15340 cat >conftest.
$ac_ext <<_ACEOF
15343 cat confdefs.h
>>conftest.
$ac_ext
15344 cat >>conftest.
$ac_ext <<_ACEOF
15345 /* end confdefs.h. */
15351 extern void* shl_load();
15358 rm -f conftest.
$ac_objext conftest
$ac_exeext
15359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15360 (eval $ac_link) 2>conftest.er1
15362 grep -v '^ *+' conftest.er1
>conftest.err
15364 cat conftest.err
>&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try
='test -z "$ac_c_werror_flag"
15368 || test ! -s conftest.err'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; } &&
15374 { ac_try
='test -s conftest$ac_exeext'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; }; then
15380 echo "$as_me:$LINENO: result: yes" >&5
15381 echo "${ECHO_T}yes" >&6;
15383 cat >>confdefs.h
<<\_ACEOF
15384 #define HAVE_SHL_LOAD 1
15388 echo "$as_me: failed program was:" >&5
15389 sed 's/^/| /' conftest.
$ac_ext >&5
15391 echo "$as_me:$LINENO: result: no" >&5
15392 echo "${ECHO_T}no" >&6;
15395 rm -f conftest.err conftest.
$ac_objext \
15396 conftest
$ac_exeext conftest.
$ac_ext
15398 rm -f conftest.err conftest.
$ac_objext \
15399 conftest
$ac_exeext conftest.
$ac_ext
15402 for ac_header
in setjmp.h
15404 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15405 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15406 echo "$as_me:$LINENO: checking for $ac_header" >&5
15407 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15408 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15412 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15414 # Is the header compilable?
15415 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15416 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15417 cat >conftest.
$ac_ext <<_ACEOF
15420 cat confdefs.h
>>conftest.
$ac_ext
15421 cat >>conftest.
$ac_ext <<_ACEOF
15422 /* end confdefs.h. */
15423 $ac_includes_default
15424 #include <$ac_header>
15426 rm -f conftest.
$ac_objext
15427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15428 (eval $ac_compile) 2>conftest.er1
15430 grep -v '^ *+' conftest.er1
>conftest.err
15432 cat conftest.err
>&5
15433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15434 (exit $ac_status); } &&
15435 { ac_try
='test -z "$ac_c_werror_flag"
15436 || test ! -s conftest.err'
15437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15438 (eval $ac_try) 2>&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); }; } &&
15442 { ac_try
='test -s conftest.$ac_objext'
15443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15444 (eval $ac_try) 2>&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); }; }; then
15448 ac_header_compiler
=yes
15450 echo "$as_me: failed program was:" >&5
15451 sed 's/^/| /' conftest.
$ac_ext >&5
15453 ac_header_compiler
=no
15455 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15456 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15457 echo "${ECHO_T}$ac_header_compiler" >&6
15459 # Is the header present?
15460 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15461 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15462 cat >conftest.
$ac_ext <<_ACEOF
15465 cat confdefs.h
>>conftest.
$ac_ext
15466 cat >>conftest.
$ac_ext <<_ACEOF
15467 /* end confdefs.h. */
15468 #include <$ac_header>
15470 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15471 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15473 grep -v '^ *+' conftest.er1
>conftest.err
15475 cat conftest.err
>&5
15476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15477 (exit $ac_status); } >/dev
/null
; then
15478 if test -s conftest.err
; then
15479 ac_cpp_err
=$ac_c_preproc_warn_flag
15480 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15487 if test -z "$ac_cpp_err"; then
15488 ac_header_preproc
=yes
15490 echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.
$ac_ext >&5
15493 ac_header_preproc
=no
15495 rm -f conftest.err conftest.
$ac_ext
15496 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15497 echo "${ECHO_T}$ac_header_preproc" >&6
15499 # So? What about this header?
15500 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15502 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15503 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15504 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15505 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15506 ac_header_preproc
=yes
15509 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15510 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15511 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15512 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15513 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15514 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15515 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15516 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15517 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15518 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15519 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15520 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15523 ## ------------------------------------------ ##
15524 ## Report this to the AC_PACKAGE_NAME lists. ##
15525 ## ------------------------------------------ ##
15528 sed "s/^/$as_me: WARNING: /" >&2
15531 echo "$as_me:$LINENO: checking for $ac_header" >&5
15532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15534 echo $ECHO_N "(cached) $ECHO_C" >&6
15536 eval "$as_ac_Header=\$ac_header_preproc"
15538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15542 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15543 cat >>confdefs.h
<<_ACEOF
15544 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15552 if test "x$MACOSX" = "xyes" -a -n "$PERL"; then
15553 if echo $LIBS |
grep -e '-ldl' >/dev
/null
; then
15554 LIBS
=`echo $LIBS | sed s/-ldl//`
15555 PERL_LIBS
="$PERL_LIBS -ldl"
15559 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \
15560 && test "x$GUITYPE" != "xCARBONGUI" && test "x$GUITYPE" != "xMACVIMGUI"; then
15561 echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
15562 echo $ECHO_N "checking whether we need -framework Carbon... $ECHO_C" >&6
15563 if test "x$enable_multibyte" = "xyes" ||
test "x$features" = "xbig" \
15564 ||
test "x$features" = "xhuge"; then
15565 LIBS
="$LIBS -framework Carbon"
15566 echo "$as_me:$LINENO: result: yes" >&5
15567 echo "${ECHO_T}yes" >&6
15569 echo "$as_me:$LINENO: result: no" >&5
15570 echo "${ECHO_T}no" >&6
15573 if test "x$MACARCH" = "xboth"; then
15574 LDFLAGS
="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
15577 echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
15578 echo $ECHO_N "checking for GCC 3 or later... $ECHO_C" >&6
15579 DEPEND_CFLAGS_FILTER
=
15580 if test "$GCC" = yes; then
15581 gccmajor
=`echo "$gccversion" | sed -e 's/^\([1-9]\)\..*$/\1/g'`
15582 if test "$gccmajor" -gt "2"; then
15583 DEPEND_CFLAGS_FILTER
="| sed 's+-I */+-isystem /+g'"
15586 if test "$DEPEND_CFLAGS_FILTER" = ""; then
15587 echo "$as_me:$LINENO: result: no" >&5
15588 echo "${ECHO_T}no" >&6
15590 echo "$as_me:$LINENO: result: yes" >&5
15591 echo "${ECHO_T}yes" >&6
15595 ac_config_files
="$ac_config_files auto/config.mk:config.mk.in"
15596 cat >confcache
<<\_ACEOF
15597 # This file is a shell script that caches the results of configure
15598 # tests run on this system so they can be shared between configure
15599 # scripts and configure runs, see configure's option --config-cache.
15600 # It is not useful on other systems. If it contains results you don't
15601 # want to keep, you may remove or edit it.
15603 # config.status only pays attention to the cache file if you give it
15604 # the --recheck option to rerun configure.
15606 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15607 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15608 # following values.
15612 # The following way of writing the cache mishandles newlines in values,
15613 # but we know of no workaround that is simple, portable, and efficient.
15614 # So, don't put newlines in cache variables' values.
15615 # Ultrix sh set writes to stderr and can't be redirected directly,
15616 # and sets the high bit in the cache file unless we assign to the vars.
15619 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15621 # `set' does not quote correctly, so add quotes (double-quote
15622 # substitution turns \\\\ into \\, and sed turns \\ into \).
15625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15628 # `set' quotes correctly as required by POSIX, so do not add quotes.
15630 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15637 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15639 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15641 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15642 if test -w $cache_file; then
15643 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15644 cat confcache
>$cache_file
15646 echo "not updating unwritable cache $cache_file"
15651 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15652 # Let make expand exec_prefix.
15653 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15655 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15656 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15657 # trailing colons and then remove the whole line if VPATH becomes empty
15658 # (actually we leave an empty line to preserve line numbers).
15659 if test "x$srcdir" = x.
; then
15660 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15661 s/:*\$(srcdir):*/:/;
15662 s/:*\${srcdir}:*/:/;
15664 s/^\([^=]*=[ ]*\):*/\1/;
15670 DEFS
=-DHAVE_CONFIG_H
15674 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15675 # 1. Remove the extension, and $U if already installed.
15676 ac_i
=`echo "$ac_i" |
15677 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15679 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15680 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15682 LIBOBJS
=$ac_libobjs
15684 LTLIBOBJS
=$ac_ltlibobjs
15688 : ${CONFIG_STATUS=./config.status}
15689 ac_clean_files_save
=$ac_clean_files
15690 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15691 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15692 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15693 cat >$CONFIG_STATUS <<_ACEOF
15695 # Generated by $as_me.
15696 # Run this file to recreate the current configuration.
15697 # Compiler output produced by configure, useful for debugging
15698 # configure, is in config.log if it exists.
15701 ac_cs_recheck=false
15703 SHELL=\${CONFIG_SHELL-$SHELL}
15706 cat >>$CONFIG_STATUS <<\_ACEOF
15707 ## --------------------- ##
15708 ## M4sh Initialization. ##
15709 ## --------------------- ##
15711 # Be Bourne compatible
15712 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15715 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15716 # is contrary to our usage. Disable this feature.
15717 alias -g '${1+"$@"}'='"$@"'
15718 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15721 DUALCASE
=1; export DUALCASE
# for MKS sh
15723 # Support unset when possible.
15724 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15731 # Work around bugs in pre-3.0 UWIN ksh.
15732 $as_unset ENV MAIL MAILPATH
15739 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15740 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15741 LC_TELEPHONE LC_TIME
15743 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15744 eval $as_var=C
; export $as_var
15750 # Required to use basename.
15751 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15757 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15758 as_basename
=basename
15764 # Name of the executable.
15765 as_me
=`$as_basename "$0" ||
15766 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15767 X"$0" : 'X\(//\)$' \| \
15768 X"$0" : 'X\(/\)$' \| \
15769 . : '\(.\)' 2>/dev/null ||
15771 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15772 /^X\/\(\/\/\)$/{ s//\1/; q; }
15773 /^X\/\(\/\).*/{ s//\1/; q; }
15777 # PATH needs CR, and LINENO needs CR and PATH.
15778 # Avoid depending upon Character Ranges.
15779 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15780 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15781 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15782 as_cr_digits
='0123456789'
15783 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15785 # The user is always right.
15786 if test "${PATH_SEPARATOR+set}" != set; then
15787 echo "#! /bin/sh" >conf$$.sh
15788 echo "exit 0" >>conf$$.sh
15790 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15799 as_lineno_1
=$LINENO
15800 as_lineno_2
=$LINENO
15801 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15802 test "x$as_lineno_1" != "x$as_lineno_2" &&
15803 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15804 # Find who we are. Look in the path if we contain no path at all
15807 *[\\/]* ) as_myself
=$0 ;;
15808 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15809 for as_dir
in $PATH
15812 test -z "$as_dir" && as_dir
=.
15813 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15818 # We did not find ourselves, most probably we were run as `sh COMMAND'
15819 # in which case we are not to be found in the path.
15820 if test "x$as_myself" = x
; then
15823 if test ! -f "$as_myself"; then
15824 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15825 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15826 { (exit 1); exit 1; }; }
15828 case $CONFIG_SHELL in
15830 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15831 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15834 test -z "$as_dir" && as_dir
=.
15835 for as_base
in sh bash ksh sh5
; do
15838 if ("$as_dir/$as_base" -c '
15839 as_lineno_1=$LINENO
15840 as_lineno_2=$LINENO
15841 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15842 test "x$as_lineno_1" != "x$as_lineno_2" &&
15843 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15844 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15845 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15846 CONFIG_SHELL
=$as_dir/$as_base
15847 export CONFIG_SHELL
15848 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15856 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15857 # uniformly replaced by the line number. The first 'sed' inserts a
15858 # line-number line before each line; the second 'sed' does the real
15859 # work. The second script uses 'N' to pair each line-number line
15860 # with the numbered line, and appends trailing '-' during
15861 # substitution so that $LINENO is not a special case at line end.
15862 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15863 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15864 sed '=' <$as_myself |
15869 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15872 s,^['$as_cr_digits']*\n,,
15873 ' >$as_me.lineno
&&
15874 chmod +x
$as_me.lineno ||
15875 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15876 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15877 { (exit 1); exit 1; }; }
15879 # Don't try to exec as it changes $[0], causing all sort of problems
15880 # (the dirname of $[0] is not the place where we might find the
15881 # original and so on. Autoconf is especially sensible to this).
15883 # Exit status is that of the last command.
15888 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15889 *c
*,-n*) ECHO_N
= ECHO_C
='
15891 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15892 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15895 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15901 rm -f conf$$ conf$$.exe conf$$.
file
15903 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15904 # We could just check for DJGPP; but this test a) works b) is more generic
15905 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15906 if test -f conf$$.exe
; then
15907 # Don't use ln at all; we don't have any links
15912 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15917 rm -f conf$$ conf$$.exe conf$$.
file
15919 if mkdir
-p .
2>/dev
/null
; then
15922 test -d .
/-p && rmdir .
/-p
15926 as_executable_p
="test -f"
15928 # Sed expression to map a string onto a valid CPP name.
15929 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15931 # Sed expression to map a string onto a valid variable name.
15932 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15936 # We need space, tab and new line, in precisely that order.
15946 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15947 # report actual input values of CONFIG_FILES etc. instead of their
15948 # values after options handling. Logging --version etc. is OK.
15952 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15953 ## Running $as_me. ##
15958 This file was extended by $as_me, which was
15959 generated by GNU Autoconf 2.59. Invocation command line was
15961 CONFIG_FILES = $CONFIG_FILES
15962 CONFIG_HEADERS = $CONFIG_HEADERS
15963 CONFIG_LINKS = $CONFIG_LINKS
15964 CONFIG_COMMANDS = $CONFIG_COMMANDS
15968 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15972 # Files that config.status was made for.
15973 if test -n "$ac_config_files"; then
15974 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15977 if test -n "$ac_config_headers"; then
15978 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15981 if test -n "$ac_config_links"; then
15982 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15985 if test -n "$ac_config_commands"; then
15986 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15989 cat >>$CONFIG_STATUS <<\_ACEOF
15992 \`$as_me' instantiates files from templates according to the
15993 current configuration.
15995 Usage: $0 [OPTIONS] [FILE]...
15997 -h, --help print this help, then exit
15998 -V, --version print version number, then exit
15999 -q, --quiet do not print progress messages
16000 -d, --debug don't remove temporary files
16001 --recheck update $as_me by reconfiguring in the same conditions
16002 --file=FILE[:TEMPLATE]
16003 instantiate the configuration file FILE
16004 --header=FILE[:TEMPLATE]
16005 instantiate the configuration header FILE
16007 Configuration files:
16010 Configuration headers:
16013 Report bugs to <bug-autoconf@gnu.org>."
16016 cat >>$CONFIG_STATUS <<_ACEOF
16019 configured by $0, generated by GNU Autoconf 2.59,
16020 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
16022 Copyright (C) 2003 Free Software Foundation, Inc.
16023 This config.status script is free software; the Free Software Foundation
16024 gives unlimited permission to copy, distribute and modify it."
16028 cat >>$CONFIG_STATUS <<\_ACEOF
16029 # If no file are specified by the user, then we need to provide default
16030 # value. By we need to know if files were specified by the user.
16036 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
16037 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
16045 *) # This is not an option, so the user has probably given explicit
16048 ac_need_defaults
=false
;;
16052 # Handling of the options.
16054 cat >>$CONFIG_STATUS <<\_ACEOF
16055 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16057 --version |
--vers* |
-V )
16058 echo "$ac_cs_version"; exit 0 ;;
16060 # Conflict between --help and --header
16061 { { echo "$as_me:$LINENO: error: ambiguous option: $1
16062 Try \`$0 --help' for more information." >&5
16063 echo "$as_me: error: ambiguous option: $1
16064 Try \`$0 --help' for more information." >&2;}
16065 { (exit 1); exit 1; }; };;
16066 --help |
--hel |
-h )
16067 echo "$ac_cs_usage"; exit 0 ;;
16068 --debug |
--d* |
-d )
16070 --file |
--fil |
--fi |
--f )
16072 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
16073 ac_need_defaults
=false
;;
16074 --header |
--heade |
--head |
--hea )
16076 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
16077 ac_need_defaults
=false
;;
16078 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16079 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16082 # This is an error.
16083 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
16084 Try \`$0 --help' for more information." >&5
16085 echo "$as_me: error: unrecognized option: $1
16086 Try \`$0 --help' for more information." >&2;}
16087 { (exit 1); exit 1; }; } ;;
16089 *) ac_config_targets
="$ac_config_targets $1" ;;
16095 ac_configure_extra_args
=
16097 if $ac_cs_silent; then
16099 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16103 cat >>$CONFIG_STATUS <<_ACEOF
16104 if \$ac_cs_recheck; then
16105 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
16106 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16115 cat >>$CONFIG_STATUS <<\_ACEOF
16116 for ac_config_target
in $ac_config_targets
16118 case "$ac_config_target" in
16119 # Handling of arguments.
16120 "auto/config.mk" ) CONFIG_FILES
="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
16121 "auto/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
16122 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
16123 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
16124 { (exit 1); exit 1; }; };;
16128 # If the user did not use the arguments to specify the items to instantiate,
16129 # then the envvar interface is used. Set only those that are not.
16130 # We use the long form for the default assignment because of an extremely
16131 # bizarre bug on SunOS 4.1.3.
16132 if $ac_need_defaults; then
16133 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16134 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16137 # Have a temporary directory for convenience. Make it in the build tree
16138 # simply because there is no reason to put it here, and in addition,
16139 # creating and moving files from /tmp can sometimes cause problems.
16140 # Create a temporary directory, and hook for its removal unless debugging.
16143 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
16144 trap '{ (exit 1); exit 1; }' 1 2 13 15
16147 # Create a (secure) tmp directory for tmp files.
16150 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
16151 test -n "$tmp" && test -d "$tmp"
16154 tmp
=.
/confstat$$
-$RANDOM
16155 (umask 077 && mkdir
$tmp)
16158 echo "$me: cannot create a temporary directory in ." >&2
16159 { (exit 1); exit 1; }
16164 cat >>$CONFIG_STATUS <<_ACEOF
16167 # CONFIG_FILES section.
16170 # No need to generate the scripts if there are no CONFIG_FILES.
16171 # This happens for instance when ./config.status config.h
16172 if test -n "\$CONFIG_FILES"; then
16173 # Protect against being on the right side of a sed subst in config.status.
16174 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
16175 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
16176 s,@SHELL@,$SHELL,;t t
16177 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
16178 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
16179 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
16180 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
16181 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
16182 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
16183 s,@exec_prefix@,$exec_prefix,;t t
16184 s,@prefix@,$prefix,;t t
16185 s,@program_transform_name@,$program_transform_name,;t t
16186 s,@bindir@,$bindir,;t t
16187 s,@sbindir@,$sbindir,;t t
16188 s,@libexecdir@,$libexecdir,;t t
16189 s,@datadir@,$datadir,;t t
16190 s,@sysconfdir@,$sysconfdir,;t t
16191 s,@sharedstatedir@,$sharedstatedir,;t t
16192 s,@localstatedir@,$localstatedir,;t t
16193 s,@libdir@,$libdir,;t t
16194 s,@includedir@,$includedir,;t t
16195 s,@oldincludedir@,$oldincludedir,;t t
16196 s,@infodir@,$infodir,;t t
16197 s,@mandir@,$mandir,;t t
16198 s,@build_alias@,$build_alias,;t t
16199 s,@host_alias@,$host_alias,;t t
16200 s,@target_alias@,$target_alias,;t t
16201 s,@DEFS@,$DEFS,;t t
16202 s,@ECHO_C@,$ECHO_C,;t t
16203 s,@ECHO_N@,$ECHO_N,;t t
16204 s,@ECHO_T@,$ECHO_T,;t t
16205 s,@LIBS@,$LIBS,;t t
16206 s,@SET_MAKE@,$SET_MAKE,;t t
16208 s,@CFLAGS@,$CFLAGS,;t t
16209 s,@LDFLAGS@,$LDFLAGS,;t t
16210 s,@CPPFLAGS@,$CPPFLAGS,;t t
16211 s,@ac_ct_CC@,$ac_ct_CC,;t t
16212 s,@EXEEXT@,$EXEEXT,;t t
16213 s,@OBJEXT@,$OBJEXT,;t t
16215 s,@EGREP@,$EGREP,;t t
16217 s,@STRIP@,$STRIP,;t t
16218 s,@CPP_MM@,$CPP_MM,;t t
16219 s,@OS_EXTRA_SRC@,$OS_EXTRA_SRC,;t t
16220 s,@OS_EXTRA_OBJ@,$OS_EXTRA_OBJ,;t t
16221 s,@VIMNAME@,$VIMNAME,;t t
16222 s,@EXNAME@,$EXNAME,;t t
16223 s,@VIEWNAME@,$VIEWNAME,;t t
16224 s,@line_break@,$line_break,;t t
16225 s,@dovimdiff@,$dovimdiff,;t t
16226 s,@dogvimdiff@,$dogvimdiff,;t t
16227 s,@compiledby@,$compiledby,;t t
16228 s,@vi_cv_path_mzscheme@,$vi_cv_path_mzscheme,;t t
16229 s,@MZSCHEME_SRC@,$MZSCHEME_SRC,;t t
16230 s,@MZSCHEME_OBJ@,$MZSCHEME_OBJ,;t t
16231 s,@MZSCHEME_PRO@,$MZSCHEME_PRO,;t t
16232 s,@MZSCHEME_LIBS@,$MZSCHEME_LIBS,;t t
16233 s,@MZSCHEME_CFLAGS@,$MZSCHEME_CFLAGS,;t t
16234 s,@vi_cv_path_perl@,$vi_cv_path_perl,;t t
16235 s,@vi_cv_perllib@,$vi_cv_perllib,;t t
16236 s,@shrpenv@,$shrpenv,;t t
16237 s,@PERL_SRC@,$PERL_SRC,;t t
16238 s,@PERL_OBJ@,$PERL_OBJ,;t t
16239 s,@PERL_PRO@,$PERL_PRO,;t t
16240 s,@PERL_CFLAGS@,$PERL_CFLAGS,;t t
16241 s,@PERL_LIBS@,$PERL_LIBS,;t t
16242 s,@vi_cv_path_python@,$vi_cv_path_python,;t t
16243 s,@PYTHON_CONFDIR@,$PYTHON_CONFDIR,;t t
16244 s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
16245 s,@PYTHON_GETPATH_CFLAGS@,$PYTHON_GETPATH_CFLAGS,;t t
16246 s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t
16247 s,@PYTHON_SRC@,$PYTHON_SRC,;t t
16248 s,@PYTHON_OBJ@,$PYTHON_OBJ,;t t
16249 s,@vi_cv_path_tcl@,$vi_cv_path_tcl,;t t
16250 s,@TCL_SRC@,$TCL_SRC,;t t
16251 s,@TCL_OBJ@,$TCL_OBJ,;t t
16252 s,@TCL_PRO@,$TCL_PRO,;t t
16253 s,@TCL_CFLAGS@,$TCL_CFLAGS,;t t
16254 s,@TCL_LIBS@,$TCL_LIBS,;t t
16255 s,@vi_cv_path_ruby@,$vi_cv_path_ruby,;t t
16256 s,@RUBY_SRC@,$RUBY_SRC,;t t
16257 s,@RUBY_OBJ@,$RUBY_OBJ,;t t
16258 s,@RUBY_PRO@,$RUBY_PRO,;t t
16259 s,@RUBY_CFLAGS@,$RUBY_CFLAGS,;t t
16260 s,@RUBY_LIBS@,$RUBY_LIBS,;t t
16261 s,@WORKSHOP_SRC@,$WORKSHOP_SRC,;t t
16262 s,@WORKSHOP_OBJ@,$WORKSHOP_OBJ,;t t
16263 s,@NETBEANS_SRC@,$NETBEANS_SRC,;t t
16264 s,@NETBEANS_OBJ@,$NETBEANS_OBJ,;t t
16265 s,@SNIFF_SRC@,$SNIFF_SRC,;t t
16266 s,@SNIFF_OBJ@,$SNIFF_OBJ,;t t
16267 s,@xmkmfpath@,$xmkmfpath,;t t
16268 s,@X_CFLAGS@,$X_CFLAGS,;t t
16269 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16270 s,@X_LIBS@,$X_LIBS,;t t
16271 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16272 s,@X_LIB@,$X_LIB,;t t
16273 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
16274 s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
16275 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
16276 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
16277 s,@GTK_LIBS@,$GTK_LIBS,;t t
16278 s,@GTK_LIBNAME@,$GTK_LIBNAME,;t t
16279 s,@GNOME_LIBS@,$GNOME_LIBS,;t t
16280 s,@GNOME_LIBDIR@,$GNOME_LIBDIR,;t t
16281 s,@GNOME_INCLUDEDIR@,$GNOME_INCLUDEDIR,;t t
16282 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
16283 s,@MOTIF_LIBNAME@,$MOTIF_LIBNAME,;t t
16284 s,@NARROW_PROTO@,$NARROW_PROTO,;t t
16285 s,@GUI_INC_LOC@,$GUI_INC_LOC,;t t
16286 s,@GUI_LIB_LOC@,$GUI_LIB_LOC,;t t
16287 s,@GUITYPE@,$GUITYPE,;t t
16288 s,@GUI_X_LIBS@,$GUI_X_LIBS,;t t
16289 s,@HANGULIN_SRC@,$HANGULIN_SRC,;t t
16290 s,@HANGULIN_OBJ@,$HANGULIN_OBJ,;t t
16291 s,@TAGPRG@,$TAGPRG,;t t
16292 s,@INSTALL_LANGS@,$INSTALL_LANGS,;t t
16293 s,@INSTALL_TOOL_LANGS@,$INSTALL_TOOL_LANGS,;t t
16294 s,@MSGFMT@,$MSGFMT,;t t
16295 s,@MAKEMO@,$MAKEMO,;t t
16296 s,@DEPEND_CFLAGS_FILTER@,$DEPEND_CFLAGS_FILTER,;t t
16297 s,@LIBOBJS@,$LIBOBJS,;t t
16298 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16303 cat >>$CONFIG_STATUS <<\_ACEOF
16304 # Split the substitutions into bite-sized pieces for seds with
16305 # small command number limits, like on Digital OSF/1 and HP-UX.
16306 ac_max_sed_lines
=48
16307 ac_sed_frag
=1 # Number of current file.
16308 ac_beg
=1 # First line for current file.
16309 ac_end
=$ac_max_sed_lines # Line after last line for current file.
16312 while $ac_more_lines; do
16313 if test $ac_beg -gt 1; then
16314 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16316 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16318 if test ! -s $tmp/subs.frag
; then
16319 ac_more_lines
=false
16321 # The purpose of the label and of the branching condition is to
16322 # speed up the sed processing (if there are no `@' at all, there
16323 # is no need to browse any of the substitutions).
16324 # These are the two extra sed commands mentioned above.
16326 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
16327 if test -z "$ac_sed_cmds"; then
16328 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
16330 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16332 ac_sed_frag
=`expr $ac_sed_frag + 1`
16334 ac_end
=`expr $ac_end + $ac_max_sed_lines`
16337 if test -z "$ac_sed_cmds"; then
16340 fi # test -n "$CONFIG_FILES"
16343 cat >>$CONFIG_STATUS <<\_ACEOF
16344 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
16345 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16347 - |
*:- |
*:-:* ) # input from stdin
16349 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16350 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16351 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16352 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16353 * ) ac_file_in
=$ac_file.
in ;;
16356 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16357 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16359 X"$ac_file" : 'X\(//\)[^/]' \| \
16360 X"$ac_file" : 'X\(//\)$' \| \
16361 X"$ac_file" : 'X\(/\)' \| \
16362 . : '\(.\)' 2>/dev/null ||
16364 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16365 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16366 /^X\(\/\/\)$/{ s//\1/; q; }
16367 /^X\(\/\).*/{ s//\1/; q; }
16369 { if $as_mkdir_p; then
16374 while test ! -d "$as_dir"; do
16375 as_dirs
="$as_dir $as_dirs"
16376 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16377 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16378 X"$as_dir" : 'X\(//\)[^/]' \| \
16379 X"$as_dir" : 'X\(//\)$' \| \
16380 X"$as_dir" : 'X\(/\)' \| \
16381 . : '\(.\)' 2>/dev/null ||
16383 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16384 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16385 /^X\(\/\/\)$/{ s//\1/; q; }
16386 /^X\(\/\).*/{ s//\1/; q; }
16389 test ! -n "$as_dirs" || mkdir
$as_dirs
16390 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16391 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16392 { (exit 1); exit 1; }; }; }
16396 if test "$ac_dir" != .
; then
16397 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16398 # A "../" for each directory in $ac_dir_suffix.
16399 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16401 ac_dir_suffix
= ac_top_builddir
=
16405 .
) # No --srcdir option. We are building in place.
16407 if test -z "$ac_top_builddir"; then
16410 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16412 [\\/]* | ?
:[\\/]* ) # Absolute path.
16413 ac_srcdir
=$srcdir$ac_dir_suffix;
16414 ac_top_srcdir
=$srcdir ;;
16415 *) # Relative path.
16416 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16417 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16420 # Do not use `cd foo && pwd` to compute absolute paths, because
16421 # the directories may not exist.
16423 .
) ac_abs_builddir
="$ac_dir";;
16426 .
) ac_abs_builddir
=`pwd`;;
16427 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16428 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16431 case $ac_abs_builddir in
16432 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16434 case ${ac_top_builddir}.
in
16435 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16436 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16437 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16440 case $ac_abs_builddir in
16441 .
) ac_abs_srcdir
=$ac_srcdir;;
16444 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16445 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16446 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16449 case $ac_abs_builddir in
16450 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16452 case $ac_top_srcdir in
16453 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16454 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16455 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16461 if test x
"$ac_file" != x-
; then
16462 { echo "$as_me:$LINENO: creating $ac_file" >&5
16463 echo "$as_me: creating $ac_file" >&6;}
16466 # Let's still pretend it is `configure' which instantiates (i.e., don't
16467 # use $as_me), people would be surprised to read:
16468 # /* config.h. Generated by config.status. */
16469 if test x
"$ac_file" = x-
; then
16472 configure_input
="$ac_file. "
16474 configure_input
=$configure_input"Generated from `echo $ac_file_in |
16475 sed 's,.*/,,'` by configure."
16477 # First look for the input files in the build tree, otherwise in the
16479 ac_file_inputs
=`IFS=:
16480 for f in $ac_file_in; do
16482 -) echo $tmp/stdin ;;
16484 # Absolute (can't be DOS-style, as IFS=:)
16485 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16486 echo "$as_me: error: cannot find input file: $f" >&2;}
16487 { (exit 1); exit 1; }; }
16490 if test -f "$f"; then
16493 elif test -f "$srcdir/$f"; then
16498 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16499 echo "$as_me: error: cannot find input file: $f" >&2;}
16500 { (exit 1); exit 1; }; }
16503 done` ||
{ (exit 1); exit 1; }
16505 cat >>$CONFIG_STATUS <<_ACEOF
16509 cat >>$CONFIG_STATUS <<\_ACEOF
16511 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16512 s
,@configure_input@
,$configure_input,;t t
16513 s
,@srcdir@
,$ac_srcdir,;t t
16514 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16515 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16516 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16517 s
,@builddir@
,$ac_builddir,;t t
16518 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16519 s
,@top_builddir@
,$ac_top_builddir,;t t
16520 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16521 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16523 if test x"$ac_file" != x-; then
16524 mv $tmp/out $ac_file
16532 cat >>$CONFIG_STATUS <<\_ACEOF
16535 # CONFIG_HEADER section.
16538 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16539 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16541 # ac_d sets the value in "#define NAME VALUE" lines.
16542 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16543 ac_dB
='[ ].*$,\1#\2'
16546 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16547 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16548 ac_uB
='$,\1#\2define\3'
16552 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16553 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16555 - |
*:- |
*:-:* ) # input from stdin
16557 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16558 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16559 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16560 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16561 * ) ac_file_in
=$ac_file.
in ;;
16564 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16565 echo "$as_me: creating $ac_file" >&6;}
16567 # First look for the input files in the build tree, otherwise in the
16569 ac_file_inputs
=`IFS=:
16570 for f in $ac_file_in; do
16572 -) echo $tmp/stdin ;;
16574 # Absolute (can't be DOS-style, as IFS=:)
16575 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16576 echo "$as_me: error: cannot find input file: $f" >&2;}
16577 { (exit 1); exit 1; }; }
16578 # Do quote $f, to prevent DOS paths from being IFS'd.
16581 if test -f "$f"; then
16584 elif test -f "$srcdir/$f"; then
16589 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16590 echo "$as_me: error: cannot find input file: $f" >&2;}
16591 { (exit 1); exit 1; }; }
16594 done` ||
{ (exit 1); exit 1; }
16595 # Remove the trailing spaces.
16596 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16600 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16601 # `conftest.undefs', that substitutes the proper values into
16602 # config.h.in to produce config.h. The first handles `#define'
16603 # templates, and the second `#undef' templates.
16604 # And first: Protect against being on the right side of a sed subst in
16605 # config.status. Protect against being in an unquoted here document
16606 # in config.status.
16607 rm -f conftest.defines conftest.undefs
16608 # Using a here document instead of a string reduces the quoting nightmare.
16609 # Putting comments in sed scripts is not portable.
16611 # `end' is used to avoid that the second main sed command (meant for
16612 # 0-ary CPP macros) applies to n-ary macro definitions.
16613 # See the Autoconf documentation for `clear'.
16614 cat >confdef2sed.
sed <<\_ACEOF
16619 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16621 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16624 # If some macros were called several times there might be several times
16625 # the same #defines, which is useless. Nevertheless, we may not want to
16626 # sort them, since we want the *last* AC-DEFINE to be honored.
16627 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16628 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16629 rm -f confdef2sed.sed
16631 # This sed command replaces #undef with comments. This is necessary, for
16632 # example, in the case of _POSIX_SOURCE, which is predefined and required
16633 # on some systems where configure will not decide to define it.
16634 cat >>conftest.undefs <<\_ACEOF
16635 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16638 # Break up conftest.defines because some shells have a limit on the size
16639 # of here documents, and old seds have small limits too (100 cmds).
16640 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16641 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16642 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16643 echo ' :' >>$CONFIG_STATUS
16644 rm -f conftest.tail
16645 while grep . conftest.defines >/dev/null
16647 # Write a limited-size here document to $tmp/defines.sed.
16648 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16649 # Speed up: don't consider the non `#define' lines.
16650 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16651 # Work around the forget-to-reset-the-flag bug.
16652 echo 't clr' >>$CONFIG_STATUS
16653 echo ': clr' >>$CONFIG_STATUS
16654 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16656 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16658 mv $tmp/out $tmp/in
16660 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16661 rm -f conftest.defines
16662 mv conftest.
tail conftest.defines
16664 rm -f conftest.defines
16665 echo ' fi # grep' >>$CONFIG_STATUS
16666 echo >>$CONFIG_STATUS
16668 # Break up conftest.undefs because some shells have a limit on the size
16669 # of here documents, and old seds have small limits too (100 cmds).
16670 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16671 rm -f conftest.
tail
16672 while grep . conftest.undefs
>/dev
/null
16674 # Write a limited-size here document to $tmp/undefs.sed.
16675 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16676 # Speed up: don't consider the non
`#undef'
16677 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16678 # Work around the forget-to-reset-the-flag bug.
16679 echo 't clr' >>$CONFIG_STATUS
16680 echo ': clr' >>$CONFIG_STATUS
16681 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16683 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16685 mv $tmp/out $tmp/in
16687 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16688 rm -f conftest.undefs
16689 mv conftest.tail conftest.undefs
16691 rm -f conftest.undefs
16693 cat >>$CONFIG_STATUS <<\_ACEOF
16694 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16695 # use $as_me), people would be surprised to read:
16696 # /* config.h. Generated by config.status. */
16697 if test x
"$ac_file" = x-
; then
16698 echo "/* Generated by configure. */" >$tmp/config.h
16700 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16702 cat $tmp/in >>$tmp/config.h
16704 if test x
"$ac_file" != x-
; then
16705 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16706 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16707 echo "$as_me: $ac_file is unchanged" >&6;}
16709 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16710 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16711 X"$ac_file" : 'X\(//\)[^/]' \| \
16712 X"$ac_file" : 'X\(//\)$' \| \
16713 X"$ac_file" : 'X\(/\)' \| \
16714 . : '\(.\)' 2>/dev/null ||
16716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16718 /^X\(\/\/\)$/{ s//\1/; q; }
16719 /^X\(\/\).*/{ s//\1/; q; }
16721 { if $as_mkdir_p; then
16726 while test ! -d "$as_dir"; do
16727 as_dirs
="$as_dir $as_dirs"
16728 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16729 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16730 X"$as_dir" : 'X\(//\)[^/]' \| \
16731 X"$as_dir" : 'X\(//\)$' \| \
16732 X"$as_dir" : 'X\(/\)' \| \
16733 . : '\(.\)' 2>/dev/null ||
16735 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16736 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16737 /^X\(\/\/\)$/{ s//\1/; q; }
16738 /^X\(\/\).*/{ s//\1/; q; }
16741 test ! -n "$as_dirs" || mkdir
$as_dirs
16742 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16743 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16744 { (exit 1); exit 1; }; }; }
16747 mv $tmp/config.h
$ac_file
16751 rm -f $tmp/config.h
16756 cat >>$CONFIG_STATUS <<\_ACEOF
16758 { (exit 0); exit 0; }
16760 chmod +x
$CONFIG_STATUS
16761 ac_clean_files
=$ac_clean_files_save
16764 # configure is writing to config.log, and then calls config.status.
16765 # config.status does its own redirection, appending to config.log.
16766 # Unfortunately, on DOS this fails, as config.log is still kept open
16767 # by configure, so config.status won't be able to write to it; its
16768 # output is simply discarded. So we exec the FD to /dev/null,
16769 # effectively closing config.log, so it can be properly (re)opened and
16770 # appended to by config.status. When coming back to configure, we
16771 # need to make the FD available again.
16772 if test "$no_create" != yes; then
16774 ac_config_status_args
=
16775 test "$silent" = yes &&
16776 ac_config_status_args
="$ac_config_status_args --quiet"
16778 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16780 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16781 # would make configure fail if this is the last instruction.
16782 $ac_cs_success ||
{ (exit 1); exit 1; }