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
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 --disable-gtktest Do not try to compile and run a
test GTK program
872 --disable-acl Don
't check for ACL support.
873 --disable-gpm Don't use gpm
(Linux mouse daemon
).
874 --disable-nls Don
't support NLS (gettext()).
877 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
878 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
879 --with-mac-arch=ARCH current, intel, ppc or both
880 --with-vim-name=NAME what to call the Vim executable
881 --with-ex-name=NAME what to call the Ex executable
882 --with-view-name=NAME what to call the View executable
883 --with-global-runtime=DIR global runtime directory in 'runtimepath
'
884 --with-modified-by=NAME name of who modified a release version
885 --with-features=TYPE tiny, small, normal, big or huge (default: normal)
886 --with-compiledby=NAME name to show in :version message
887 --with-plthome=PLTHOME Use PLTHOME.
888 --with-python-config-dir=PATH Python's config directory
889 --with-tclsh=PATH
which tclsh to use
(default
: tclsh8.0
)
890 --with-x use the X Window System
891 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
892 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
893 --with-gnome-includes=DIR Specify location of GNOME headers
894 --with-gnome-libs=DIR Specify location of GNOME libs
895 --with-gnome Specify prefix
for GNOME files
896 --with-motif-lib=STRING Library
for Motif
897 --with-tlib=library terminal library to be used
899 Some influential environment variables
:
900 CC C compiler
command
901 CFLAGS C compiler flags
902 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
903 nonstandard directory
<lib dir
>
904 CPPFLAGS C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if you have
905 headers
in a nonstandard directory
<include dir
>
908 Use these variables to override the choices made by
`configure' or to help
909 it to find libraries and programs with nonstandard names/locations.
914 if test "$ac_init_help" = "recursive"; then
915 # If there are subdirs, report their specific --help.
917 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
918 test -d $ac_dir || continue
921 if test "$ac_dir" != .; then
922 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
923 # A "../" for each directory in $ac_dir_suffix.
924 ac_top_builddir=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,../,g'`
926 ac_dir_suffix= ac_top_builddir=
930 .) # No --srcdir option. We are building in place.
932 if test -z "$ac_top_builddir"; then
935 ac_top_srcdir=`echo $ac_top_builddir |
sed 's,/$,,'`
937 [\\/]* | ?:[\\/]* ) # Absolute path.
938 ac_srcdir=$srcdir$ac_dir_suffix;
939 ac_top_srcdir=$srcdir ;;
941 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
942 ac_top_srcdir=$ac_top_builddir$srcdir ;;
945 # Do not use `cd foo
&& pwd` to compute absolute paths, because
946 # the directories may not exist.
948 .) ac_abs_builddir="$ac_dir";;
951 .) ac_abs_builddir=`pwd`;;
952 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
953 *) ac_abs_builddir=`pwd`/"$ac_dir";;
956 case $ac_abs_builddir in
957 .) ac_abs_top_builddir=${ac_top_builddir}.;;
959 case ${ac_top_builddir}. in
960 .) ac_abs_top_builddir=$ac_abs_builddir;;
961 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
962 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
965 case $ac_abs_builddir in
966 .) ac_abs_srcdir=$ac_srcdir;;
969 .) ac_abs_srcdir=$ac_abs_builddir;;
970 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
971 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
974 case $ac_abs_builddir in
975 .) ac_abs_top_srcdir=$ac_top_srcdir;;
977 case $ac_top_srcdir in
978 .) ac_abs_top_srcdir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
980 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
985 # Check for guested configure; otherwise get Cygnus style configure.
986 if test -f $ac_srcdir/configure.gnu; then
988 $SHELL $ac_srcdir/configure.gnu --help=recursive
989 elif test -f $ac_srcdir/configure; then
991 $SHELL $ac_srcdir/configure --help=recursive
992 elif test -f $ac_srcdir/configure.ac ||
993 test -f $ac_srcdir/configure.in; then
997 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1003 test -n "$ac_init_help" && exit 0
1004 if $ac_init_version; then
1007 Copyright (C) 2003 Free Software Foundation, Inc.
1008 This configure script is free software; the Free Software Foundation
1009 gives unlimited permission to copy, distribute and modify it.
1013 exec 5>auto/config.log
1015 This file contains any messages produced by compilers while
1016 running configure, to aid debugging if configure makes a mistake.
1018 It was created by $as_me, which was
1019 generated by GNU Autoconf 2.59. Invocation command line was
1030 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1031 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1032 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1033 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1034 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1036 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1037 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1039 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1040 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1041 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1042 hostinfo = `(hostinfo
) 2>/dev
/null ||
echo unknown
`
1043 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1044 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1045 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1053 test -z "$as_dir" && as_dir=.
1054 echo "PATH: $as_dir"
1069 # Keep a trace of the command line.
1070 # Strip out --no-create and --no-recursion so they do not pile up.
1071 # Strip out --silent because we don't want to record it for future runs.
1072 # Also quote any args containing shell meta-characters.
1073 # Make two passes to allow for proper duplicate-argument suppression.
1078 ac_must_keep_next=false
1084 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1085 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1086 | -silent | --silent | --silen | --sile | --sil)
1088 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1089 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1092 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1094 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1095 if test $ac_must_keep_next = true; then
1096 ac_must_keep_next=false # Got value, back to normal.
1099 *=* | --config-cache | -C | -disable-* | --disable-* \
1100 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1101 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1102 | -with-* | --with-* | -without-* | --without-* | --x)
1103 case "$ac_configure_args0 " in
1104 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1107 -* ) ac_must_keep_next=true ;;
1110 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1111 # Get rid of the leading space.
1117 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1118 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1120 # When interrupted or exit'd, cleanup temporary files, and complete
1121 # config.log. We remove comments because anyway the quotes in there
1122 # would cause problems or look ugly.
1123 # WARNING: Be sure not to use single quotes in there, as some shells,
1124 # such as our DU 5.0 friend, will then `close
' the trap.
1125 trap 'exit_status
=$?
1126 # Save into config.log some information that might help in debugging.
1131 ## ---------------- ##
1132 ## Cache variables. ##
1133 ## ---------------- ##
1136 # The following way of writing the cache mishandles newlines in values,
1139 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1142 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1143 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1147 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1154 ## ----------------- ##
1155 ## Output variables. ##
1156 ## ----------------- ##
1159 for ac_var
in $ac_subst_vars
1161 eval ac_val
=$
`echo $ac_var`
1162 echo "$ac_var='"'"'$ac_val'"'"'"
1166 if test -n "$ac_subst_files"; then
1173 for ac_var
in $ac_subst_files
1175 eval ac_val
=$
`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1181 if test -s confdefs.h
; then
1188 sed "/^$/d" confdefs.h |
sort
1191 test "$ac_signal" != 0 &&
1192 echo "$as_me: caught signal $ac_signal"
1193 echo "$as_me: exit $exit_status"
1195 rm -f core
*.core
&&
1196 rm -rf conftest
* confdefs
* conf$$
* $ac_clean_files &&
1199 for ac_signal in 1 2 13 15; do
1200 trap 'ac_signal
='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1204 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1205 rm -rf conftest* confdefs.h
1206 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1209 # Predefined preprocessor variables.
1211 cat >>confdefs.h <<_ACEOF
1212 #define PACKAGE_NAME "$PACKAGE_NAME"
1216 cat >>confdefs.h <<_ACEOF
1217 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1221 cat >>confdefs.h <<_ACEOF
1222 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1226 cat >>confdefs.h <<_ACEOF
1227 #define PACKAGE_STRING "$PACKAGE_STRING"
1231 cat >>confdefs.h <<_ACEOF
1232 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1236 # Let the site file select an alternate cache file if it wants to.
1237 # Prefer explicitly selected file to automatically selected ones.
1238 if test -z "$CONFIG_SITE"; then
1239 if test "x$prefix" != xNONE; then
1240 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1242 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1245 for ac_site_file in $CONFIG_SITE; do
1246 if test -r "$ac_site_file"; then
1247 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1248 echo "$as_me: loading site script $ac_site_file" >&6;}
1249 sed 's
/^
/|
/' "$ac_site_file" >&5
1254 if test -r "$cache_file"; then
1255 # Some versions of bash will fail to source /dev/null (special
1256 # files actually), so we avoid doing that.
1257 if test -f "$cache_file"; then
1258 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1259 echo "$as_me: loading cache $cache_file" >&6;}
1261 [\\/]* | ?:[\\/]* ) . $cache_file;;
1262 *) . ./$cache_file;;
1266 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1267 echo "$as_me: creating cache $cache_file" >&6;}
1271 # Check that the precious variables saved in the cache have kept the same
1273 ac_cache_corrupted=false
1274 for ac_var in `(set) 2>&1 |
1275 sed -n 's
/^ac_env_\
([a-zA-Z_0-9
]*\
)_set
=.
*/\
1/p
'`; do
1276 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1277 eval ac_new_set=\$ac_env_${ac_var}_set
1278 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1279 eval ac_new_val="\$ac_env_${ac_var}_value"
1280 case $ac_old_set,$ac_new_set in
1282 { echo "$as_me:$LINENO: error: \`$ac_var' was
set to \
`$ac_old_val' in the previous run" >&5
1283 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&2;}
1284 ac_cache_corrupted=: ;;
1286 { echo "$as_me:$LINENO: error
: \
`$ac_var' was not set in the previous run" >&5
1287 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1288 ac_cache_corrupted=: ;;
1291 if test "x$ac_old_val" != "x$ac_new_val"; then
1292 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run
:" >&5
1293 echo "$as_me: error
: \
`$ac_var' has changed since the previous run:" >&2;}
1294 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1295 echo "$as_me: former value: $ac_old_val" >&2;}
1296 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1297 echo "$as_me: current value: $ac_new_val" >&2;}
1298 ac_cache_corrupted=:
1301 # Pass precious variables to config.status.
1302 if test "$ac_new_set" = set; then
1304 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1305 ac_arg=$ac_var=`echo "$ac_new_val" |
sed "s/'/'\\\\\\\\''/g"` ;;
1306 *) ac_arg=$ac_var=$ac_new_val ;;
1308 case " $ac_configure_args " in
1309 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1310 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1314 if $ac_cache_corrupted; then
1315 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1316 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1317 { { echo "$as_me:$LINENO: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&5
1318 echo "$as_me: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1319 { (exit 1); exit 1; }; }
1323 ac_cpp='$CPP $CPPFLAGS'
1324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1325 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1346 ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
1349 cat >>confdefs.h <<\_ACEOF
1353 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1354 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1355 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y
,:.
/+-,___p_
,'`
1356 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1357 echo $ECHO_N "(cached) $ECHO_C" >&6
1359 cat >conftest.make <<\_ACEOF
1361 @echo 'ac_maketemp
="$(MAKE)"'
1363 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1364 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1365 if test -n "$ac_maketemp"; then
1366 eval ac_cv_prog_make_${ac_make}_set=yes
1368 eval ac_cv_prog_make_${ac_make}_set=no
1372 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1373 echo "$as_me:$LINENO: result: yes" >&5
1374 echo "${ECHO_T}yes" >&6
1377 echo "$as_me:$LINENO: result: no" >&5
1378 echo "${ECHO_T}no" >&6
1379 SET_MAKE="MAKE=${MAKE-make}"
1384 ac_cpp='$CPP $CPPFLAGS'
1385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
1386 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
1387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1388 if test -n "$ac_tool_prefix"; then
1389 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1390 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1391 echo "$as_me:$LINENO: checking for $ac_word" >&5
1392 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1393 if test "${ac_cv_prog_CC+set}" = set; then
1394 echo $ECHO_N "(cached) $ECHO_C" >&6
1396 if test -n "$CC"; then
1397 ac_cv_prog_CC="$CC" # Let the user override the test.
1399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1403 test -z "$as_dir" && as_dir=.
1404 for ac_exec_ext in '' $ac_executable_extensions; do
1405 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1406 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1407 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1416 if test -n "$CC"; then
1417 echo "$as_me:$LINENO: result: $CC" >&5
1418 echo "${ECHO_T}$CC" >&6
1420 echo "$as_me:$LINENO: result: no" >&5
1421 echo "${ECHO_T}no" >&6
1425 if test -z "$ac_cv_prog_CC"; then
1427 # Extract the first word of "gcc", so it can be a program name with args.
1428 set dummy gcc; ac_word=$2
1429 echo "$as_me:$LINENO: checking for $ac_word" >&5
1430 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1431 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1432 echo $ECHO_N "(cached) $ECHO_C" >&6
1434 if test -n "$ac_ct_CC"; then
1435 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1441 test -z "$as_dir" && as_dir=.
1442 for ac_exec_ext in '' $ac_executable_extensions; do
1443 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1444 ac_cv_prog_ac_ct_CC="gcc"
1445 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1453 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1454 if test -n "$ac_ct_CC"; then
1455 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1456 echo "${ECHO_T}$ac_ct_CC" >&6
1458 echo "$as_me:$LINENO: result: no" >&5
1459 echo "${ECHO_T}no" >&6
1467 if test -z "$CC"; then
1468 if test -n "$ac_tool_prefix"; then
1469 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1470 set dummy ${ac_tool_prefix}cc; ac_word=$2
1471 echo "$as_me:$LINENO: checking for $ac_word" >&5
1472 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1473 if test "${ac_cv_prog_CC+set}" = set; then
1474 echo $ECHO_N "(cached) $ECHO_C" >&6
1476 if test -n "$CC"; then
1477 ac_cv_prog_CC="$CC" # Let the user override the test.
1479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1483 test -z "$as_dir" && as_dir=.
1484 for ac_exec_ext in '' $ac_executable_extensions; do
1485 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1486 ac_cv_prog_CC="${ac_tool_prefix}cc"
1487 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1496 if test -n "$CC"; then
1497 echo "$as_me:$LINENO: result: $CC" >&5
1498 echo "${ECHO_T}$CC" >&6
1500 echo "$as_me:$LINENO: result: no" >&5
1501 echo "${ECHO_T}no" >&6
1505 if test -z "$ac_cv_prog_CC"; then
1507 # Extract the first word of "cc", so it can be a program name with args.
1508 set dummy cc; ac_word=$2
1509 echo "$as_me:$LINENO: checking for $ac_word" >&5
1510 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1511 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1514 if test -n "$ac_ct_CC"; then
1515 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1521 test -z "$as_dir" && as_dir=.
1522 for ac_exec_ext in '' $ac_executable_extensions; do
1523 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1524 ac_cv_prog_ac_ct_CC="cc"
1525 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1533 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1534 if test -n "$ac_ct_CC"; then
1535 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1536 echo "${ECHO_T}$ac_ct_CC" >&6
1538 echo "$as_me:$LINENO: result: no" >&5
1539 echo "${ECHO_T}no" >&6
1548 if test -z "$CC"; then
1549 # Extract the first word of "cc", so it can be a program name with args.
1550 set dummy cc; ac_word=$2
1551 echo "$as_me:$LINENO: checking for $ac_word" >&5
1552 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1553 if test "${ac_cv_prog_CC+set}" = set; then
1554 echo $ECHO_N "(cached) $ECHO_C" >&6
1556 if test -n "$CC"; then
1557 ac_cv_prog_CC="$CC" # Let the user override the test.
1560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1564 test -z "$as_dir" && as_dir=.
1565 for ac_exec_ext in '' $ac_executable_extensions; do
1566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1567 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1568 ac_prog_rejected=yes
1572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1578 if test $ac_prog_rejected = yes; then
1579 # We found a bogon in the path, so make sure we never use it.
1580 set dummy $ac_cv_prog_CC
1582 if test $# != 0; then
1583 # We chose a different compiler from the bogus one.
1584 # However, it has the same basename, so the bogon will be chosen
1585 # first if we set CC to just the basename; use the full file name.
1587 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1593 if test -n "$CC"; then
1594 echo "$as_me:$LINENO: result: $CC" >&5
1595 echo "${ECHO_T}$CC" >&6
1597 echo "$as_me:$LINENO: result: no" >&5
1598 echo "${ECHO_T}no" >&6
1602 if test -z "$CC"; then
1603 if test -n "$ac_tool_prefix"; then
1606 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1607 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1608 echo "$as_me:$LINENO: checking for $ac_word" >&5
1609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1610 if test "${ac_cv_prog_CC+set}" = set; then
1611 echo $ECHO_N "(cached) $ECHO_C" >&6
1613 if test -n "$CC"; then
1614 ac_cv_prog_CC="$CC" # Let the user override the test.
1616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1620 test -z "$as_dir" && as_dir=.
1621 for ac_exec_ext in '' $ac_executable_extensions; do
1622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1623 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1633 if test -n "$CC"; then
1634 echo "$as_me:$LINENO: result: $CC" >&5
1635 echo "${ECHO_T}$CC" >&6
1637 echo "$as_me:$LINENO: result: no" >&5
1638 echo "${ECHO_T}no" >&6
1641 test -n "$CC" && break
1644 if test -z "$CC"; then
1648 # Extract the first word of "$ac_prog", so it can be a program name with args.
1649 set dummy $ac_prog; ac_word=$2
1650 echo "$as_me:$LINENO: checking for $ac_word" >&5
1651 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1652 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1653 echo $ECHO_N "(cached) $ECHO_C" >&6
1655 if test -n "$ac_ct_CC"; then
1656 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1662 test -z "$as_dir" && as_dir=.
1663 for ac_exec_ext in '' $ac_executable_extensions; do
1664 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1665 ac_cv_prog_ac_ct_CC="$ac_prog"
1666 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1674 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1675 if test -n "$ac_ct_CC"; then
1676 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1677 echo "${ECHO_T}$ac_ct_CC" >&6
1679 echo "$as_me:$LINENO: result: no" >&5
1680 echo "${ECHO_T}no" >&6
1683 test -n "$ac_ct_CC" && break
1692 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1693 See \`config.log' for more details.
" >&5
1694 echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
1695 See \
`config.log' for more details." >&2;}
1696 { (exit 1); exit 1; }; }
1698 # Provide some information about the compiler.
1699 echo "$as_me:$LINENO:" \
1700 "checking for C compiler version" >&5
1701 ac_compiler=`set X
$ac_compile; echo $2`
1702 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
1703 (eval $ac_compiler --version </dev/null >&5) 2>&5
1705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1706 (exit $ac_status); }
1707 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
1708 (eval $ac_compiler -v </dev/null >&5) 2>&5
1710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1711 (exit $ac_status); }
1712 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
1713 (eval $ac_compiler -V </dev/null >&5) 2>&5
1715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1716 (exit $ac_status); }
1718 cat >conftest.$ac_ext <<_ACEOF
1721 cat confdefs.h >>conftest.$ac_ext
1722 cat >>conftest.$ac_ext <<_ACEOF
1723 /* end confdefs.h. */
1733 ac_clean_files_save=$ac_clean_files
1734 ac_clean_files="$ac_clean_files a.out a.exe b.out"
1735 # Try to create an executable without -o first, disregard a.out.
1736 # It will help us diagnose broken compilers, and finding out an intuition
1738 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
1739 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
1740 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
1741 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
1742 (eval $ac_link_default) 2>&5
1744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1745 (exit $ac_status); }; then
1746 # Find the output, starting from the most likely. This scheme is
1747 # not robust to junk in `.
', hence go to wildcards (a.*) only as a last
1750 # Be careful to initialize this variable, since it used to be cached.
1751 # Otherwise an old cache value of `no' led to
`EXEEXT = no' in a Makefile.
1753 # b.out is created by i960 compilers.
1754 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
1756 test -f "$ac_file" || continue
1758 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
1761 # This is the source file.
1764 # We found the default executable, but exeext='' is most
1768 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1769 # FIXME: I believe we export ac_cv_exeext for Libtool,
1770 # but it would be cool to find out if it's true. Does anybody
1771 # maintain Libtool? --akim.
1779 echo "$as_me: failed program was:" >&5
1780 sed 's/^/| /' conftest.$ac_ext >&5
1782 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
1783 See \`config.log
' for more details." >&5
1784 echo "$as_me: error: C compiler cannot create executables
1785 See \`config.log' for more details.
" >&2;}
1786 { (exit 77); exit 77; }; }
1789 ac_exeext=$ac_cv_exeext
1790 echo "$as_me:$LINENO: result
: $ac_file" >&5
1791 echo "${ECHO_T}$ac_file" >&6
1793 # Check the compiler produces executables we can run. If not, either
1794 # the compiler is broken, or we cross compile.
1795 echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
1796 echo $ECHO_N "checking whether the C compiler works...
$ECHO_C" >&6
1797 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1798 # If not cross compiling, check that we can run a simple program.
1799 if test "$cross_compiling" != yes; then
1800 if { ac_try='./$ac_file'
1801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1804 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
1805 (exit $ac_status); }; }; then
1808 if test "$cross_compiling" = maybe; then
1811 { { echo "$as_me:$LINENO: error
: cannot run C compiled programs.
1812 If you meant to cross compile
, use \
`--host'.
1813 See \`config.log
' for more details." >&5
1814 echo "$as_me: error: cannot run C compiled programs.
1815 If you meant to cross compile, use \`--host'.
1816 See \
`config.log' for more details." >&2;}
1817 { (exit 1); exit 1; }; }
1821 echo "$as_me:$LINENO: result: yes" >&5
1822 echo "${ECHO_T}yes" >&6
1824 rm -f a.out a.exe conftest$ac_cv_exeext b.out
1825 ac_clean_files=$ac_clean_files_save
1826 # Check the compiler produces executables we can run. If not, either
1827 # the compiler is broken, or we cross compile.
1828 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
1829 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1830 echo "$as_me:$LINENO: result: $cross_compiling" >&5
1831 echo "${ECHO_T}$cross_compiling" >&6
1833 echo "$as_me:$LINENO: checking for suffix of executables" >&5
1834 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
1835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
1836 (eval $ac_link) 2>&5
1838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1839 (exit $ac_status); }; then
1840 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
1841 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
1842 # work properly (i.e., refer to `conftest.exe'), while it won't with
1844 for ac_file
in conftest.exe conftest conftest.
*; do
1845 test -f "$ac_file" ||
continue
1847 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.o |
*.obj
) ;;
1848 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
1855 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
1856 See \`config.log' for more details." >&5
1857 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
1858 See \`config.log' for more details." >&2;}
1859 { (exit 1); exit 1; }; }
1862 rm -f conftest
$ac_cv_exeext
1863 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
1864 echo "${ECHO_T}$ac_cv_exeext" >&6
1866 rm -f conftest.
$ac_ext
1867 EXEEXT
=$ac_cv_exeext
1869 echo "$as_me:$LINENO: checking for suffix of object files" >&5
1870 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
1871 if test "${ac_cv_objext+set}" = set; then
1872 echo $ECHO_N "(cached) $ECHO_C" >&6
1874 cat >conftest.
$ac_ext <<_ACEOF
1877 cat confdefs.h
>>conftest.
$ac_ext
1878 cat >>conftest.
$ac_ext <<_ACEOF
1879 /* end confdefs.h. */
1889 rm -f conftest.o conftest.obj
1890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1891 (eval $ac_compile) 2>&5
1893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1894 (exit $ac_status); }; then
1895 for ac_file
in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1897 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg
) ;;
1898 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
1903 echo "$as_me: failed program was:" >&5
1904 sed 's/^/| /' conftest.
$ac_ext >&5
1906 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
1907 See \`config.log' for more details." >&5
1908 echo "$as_me: error: cannot compute suffix of object files: cannot compile
1909 See \`config.log' for more details." >&2;}
1910 { (exit 1); exit 1; }; }
1913 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
1915 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
1916 echo "${ECHO_T}$ac_cv_objext" >&6
1917 OBJEXT
=$ac_cv_objext
1919 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
1920 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1921 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1922 echo $ECHO_N "(cached) $ECHO_C" >&6
1924 cat >conftest.
$ac_ext <<_ACEOF
1927 cat confdefs.h
>>conftest.
$ac_ext
1928 cat >>conftest.
$ac_ext <<_ACEOF
1929 /* end confdefs.h. */
1942 rm -f conftest.
$ac_objext
1943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
1944 (eval $ac_compile) 2>conftest.er1
1946 grep -v '^ *+' conftest.er1
>conftest.err
1948 cat conftest.err
>&5
1949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1950 (exit $ac_status); } &&
1951 { ac_try
='test -z "$ac_c_werror_flag"
1952 || test ! -s conftest.err'
1953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1957 (exit $ac_status); }; } &&
1958 { ac_try
='test -s conftest.$ac_objext'
1959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
1962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1963 (exit $ac_status); }; }; then
1966 echo "$as_me: failed program was:" >&5
1967 sed 's/^/| /' conftest.
$ac_ext >&5
1971 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
1972 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
1975 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
1976 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1977 GCC
=`test $ac_compiler_gnu = yes && echo yes`
1978 ac_test_CFLAGS
=${CFLAGS+set}
1979 ac_save_CFLAGS
=$CFLAGS
1981 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
1982 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1983 if test "${ac_cv_prog_cc_g+set}" = set; then
1984 echo $ECHO_N "(cached) $ECHO_C" >&6
1986 cat >conftest.
$ac_ext <<_ACEOF
1989 cat confdefs.h
>>conftest.
$ac_ext
1990 cat >>conftest.
$ac_ext <<_ACEOF
1991 /* end confdefs.h. */
2001 rm -f conftest.
$ac_objext
2002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2003 (eval $ac_compile) 2>conftest.er1
2005 grep -v '^ *+' conftest.er1
>conftest.err
2007 cat conftest.err
>&5
2008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2009 (exit $ac_status); } &&
2010 { ac_try
='test -z "$ac_c_werror_flag"
2011 || test ! -s conftest.err'
2012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2016 (exit $ac_status); }; } &&
2017 { ac_try
='test -s conftest.$ac_objext'
2018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2022 (exit $ac_status); }; }; then
2025 echo "$as_me: failed program was:" >&5
2026 sed 's/^/| /' conftest.
$ac_ext >&5
2030 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2032 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2033 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2034 if test "$ac_test_CFLAGS" = set; then
2035 CFLAGS
=$ac_save_CFLAGS
2036 elif test $ac_cv_prog_cc_g = yes; then
2037 if test "$GCC" = yes; then
2043 if test "$GCC" = yes; then
2049 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2050 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2051 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2052 echo $ECHO_N "(cached) $ECHO_C" >&6
2054 ac_cv_prog_cc_stdc
=no
2056 cat >conftest.
$ac_ext <<_ACEOF
2059 cat confdefs.h
>>conftest.
$ac_ext
2060 cat >>conftest.
$ac_ext <<_ACEOF
2061 /* end confdefs.h. */
2064 #include <sys/types.h>
2065 #include <sys/stat.h>
2066 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2067 struct buf { int x; };
2068 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2069 static char *e (p, i)
2075 static char *f (char * (*g) (char **, int), char **p, ...)
2080 s = g (p, va_arg (v,int));
2085 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2086 function prototypes and stuff, but not '\xHH' hex character constants.
2087 These don't provoke an error unfortunately, instead are silently treated
2088 as 'x'. The following induces an error, until -std1 is added to get
2089 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2090 array size at least. It's necessary to write '\x00'==0 to get something
2091 that's true only with -std1. */
2092 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2094 int test (int i, double x);
2095 struct s1 {int (*f) (int a);};
2096 struct s2 {int (*f) (double a);};
2097 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2103 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2108 # Don't try gcc -ansi; that turns off useful extensions and
2109 # breaks some systems' header files.
2110 # AIX -qlanglvl=ansi
2111 # Ultrix and OSF/1 -std1
2112 # HP-UX 10.20 and later -Ae
2113 # HP-UX older versions -Aa -D_HPUX_SOURCE
2114 # SVR4 -Xc -D__EXTENSIONS__
2115 for ac_arg
in "" -qlanglvl=ansi
-std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2117 CC
="$ac_save_CC $ac_arg"
2118 rm -f conftest.
$ac_objext
2119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2120 (eval $ac_compile) 2>conftest.er1
2122 grep -v '^ *+' conftest.er1
>conftest.err
2124 cat conftest.err
>&5
2125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2126 (exit $ac_status); } &&
2127 { ac_try
='test -z "$ac_c_werror_flag"
2128 || test ! -s conftest.err'
2129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2133 (exit $ac_status); }; } &&
2134 { ac_try
='test -s conftest.$ac_objext'
2135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2139 (exit $ac_status); }; }; then
2140 ac_cv_prog_cc_stdc
=$ac_arg
2143 echo "$as_me: failed program was:" >&5
2144 sed 's/^/| /' conftest.
$ac_ext >&5
2147 rm -f conftest.err conftest.
$ac_objext
2149 rm -f conftest.
$ac_ext conftest.
$ac_objext
2154 case "x$ac_cv_prog_cc_stdc" in
2156 echo "$as_me:$LINENO: result: none needed" >&5
2157 echo "${ECHO_T}none needed" >&6 ;;
2159 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2160 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2161 CC
="$CC $ac_cv_prog_cc_stdc" ;;
2164 # Some people use a C++ compiler to compile C. Since we use `exit',
2165 # in C++ we need to declare it. In case someone uses the same compiler
2166 # for both compiling C and C++ we need to have the C++ compiler decide
2167 # the declaration of exit, since it's the most demanding environment.
2168 cat >conftest.
$ac_ext <<_ACEOF
2173 rm -f conftest.
$ac_objext
2174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2175 (eval $ac_compile) 2>conftest.er1
2177 grep -v '^ *+' conftest.er1
>conftest.err
2179 cat conftest.err
>&5
2180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2181 (exit $ac_status); } &&
2182 { ac_try
='test -z "$ac_c_werror_flag"
2183 || test ! -s conftest.err'
2184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2188 (exit $ac_status); }; } &&
2189 { ac_try
='test -s conftest.$ac_objext'
2190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2194 (exit $ac_status); }; }; then
2195 for ac_declaration
in \
2197 'extern "C" void std::exit (int) throw (); using std::exit;' \
2198 'extern "C" void std::exit (int); using std::exit;' \
2199 'extern "C" void exit (int) throw ();' \
2200 'extern "C" void exit (int);' \
2203 cat >conftest.
$ac_ext <<_ACEOF
2206 cat confdefs.h
>>conftest.
$ac_ext
2207 cat >>conftest.
$ac_ext <<_ACEOF
2208 /* end confdefs.h. */
2219 rm -f conftest.
$ac_objext
2220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2221 (eval $ac_compile) 2>conftest.er1
2223 grep -v '^ *+' conftest.er1
>conftest.err
2225 cat conftest.err
>&5
2226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2227 (exit $ac_status); } &&
2228 { ac_try
='test -z "$ac_c_werror_flag"
2229 || test ! -s conftest.err'
2230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2234 (exit $ac_status); }; } &&
2235 { ac_try
='test -s conftest.$ac_objext'
2236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2240 (exit $ac_status); }; }; then
2243 echo "$as_me: failed program was:" >&5
2244 sed 's/^/| /' conftest.
$ac_ext >&5
2248 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2249 cat >conftest.
$ac_ext <<_ACEOF
2252 cat confdefs.h
>>conftest.
$ac_ext
2253 cat >>conftest.
$ac_ext <<_ACEOF
2254 /* end confdefs.h. */
2264 rm -f conftest.
$ac_objext
2265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2266 (eval $ac_compile) 2>conftest.er1
2268 grep -v '^ *+' conftest.er1
>conftest.err
2270 cat conftest.err
>&5
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); } &&
2273 { ac_try
='test -z "$ac_c_werror_flag"
2274 || test ! -s conftest.err'
2275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); }; } &&
2280 { ac_try
='test -s conftest.$ac_objext'
2281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2285 (exit $ac_status); }; }; then
2288 echo "$as_me: failed program was:" >&5
2289 sed 's/^/| /' conftest.
$ac_ext >&5
2292 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2295 if test -n "$ac_declaration"; then
2296 echo '#ifdef __cplusplus' >>confdefs.h
2297 echo $ac_declaration >>confdefs.h
2298 echo '#endif' >>confdefs.h
2302 echo "$as_me: failed program was:" >&5
2303 sed 's/^/| /' conftest.
$ac_ext >&5
2306 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
2308 ac_cpp
='$CPP $CPPFLAGS'
2309 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2310 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2311 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2313 ac_cpp
='$CPP $CPPFLAGS'
2314 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2315 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2316 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2317 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2318 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2319 # On Suns, sometimes $CPP names a directory.
2320 if test -n "$CPP" && test -d "$CPP"; then
2323 if test -z "$CPP"; then
2324 if test "${ac_cv_prog_CPP+set}" = set; then
2325 echo $ECHO_N "(cached) $ECHO_C" >&6
2327 # Double quotes because CPP needs to be expanded
2328 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2331 for ac_c_preproc_warn_flag
in '' yes
2333 # Use a header file that comes with gcc, so configuring glibc
2334 # with a fresh cross-compiler works.
2335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2336 # <limits.h> exists even on freestanding compilers.
2337 # On the NeXT, cc -E runs the code through the compiler's parser,
2338 # not just through cpp. "Syntax error" is here to catch this case.
2339 cat >conftest.
$ac_ext <<_ACEOF
2342 cat confdefs.h
>>conftest.
$ac_ext
2343 cat >>conftest.
$ac_ext <<_ACEOF
2344 /* end confdefs.h. */
2346 # include <limits.h>
2348 # include <assert.h>
2352 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2353 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2355 grep -v '^ *+' conftest.er1
>conftest.err
2357 cat conftest.err
>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); } >/dev
/null
; then
2360 if test -s conftest.err
; then
2361 ac_cpp_err
=$ac_c_preproc_warn_flag
2362 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2369 if test -z "$ac_cpp_err"; then
2372 echo "$as_me: failed program was:" >&5
2373 sed 's/^/| /' conftest.
$ac_ext >&5
2375 # Broken: fails on valid input.
2378 rm -f conftest.err conftest.
$ac_ext
2380 # OK, works on sane cases. Now check whether non-existent headers
2381 # can be detected and how.
2382 cat >conftest.
$ac_ext <<_ACEOF
2385 cat confdefs.h
>>conftest.
$ac_ext
2386 cat >>conftest.
$ac_ext <<_ACEOF
2387 /* end confdefs.h. */
2388 #include <ac_nonexistent.h>
2390 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2391 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2393 grep -v '^ *+' conftest.er1
>conftest.err
2395 cat conftest.err
>&5
2396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2397 (exit $ac_status); } >/dev
/null
; then
2398 if test -s conftest.err
; then
2399 ac_cpp_err
=$ac_c_preproc_warn_flag
2400 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2407 if test -z "$ac_cpp_err"; then
2408 # Broken: success on invalid input.
2411 echo "$as_me: failed program was:" >&5
2412 sed 's/^/| /' conftest.
$ac_ext >&5
2414 # Passes both tests.
2418 rm -f conftest.err conftest.
$ac_ext
2421 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2422 rm -f conftest.err conftest.
$ac_ext
2423 if $ac_preproc_ok; then
2435 echo "$as_me:$LINENO: result: $CPP" >&5
2436 echo "${ECHO_T}$CPP" >&6
2438 for ac_c_preproc_warn_flag
in '' yes
2440 # Use a header file that comes with gcc, so configuring glibc
2441 # with a fresh cross-compiler works.
2442 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2443 # <limits.h> exists even on freestanding compilers.
2444 # On the NeXT, cc -E runs the code through the compiler's parser,
2445 # not just through cpp. "Syntax error" is here to catch this case.
2446 cat >conftest.
$ac_ext <<_ACEOF
2449 cat confdefs.h
>>conftest.
$ac_ext
2450 cat >>conftest.
$ac_ext <<_ACEOF
2451 /* end confdefs.h. */
2453 # include <limits.h>
2455 # include <assert.h>
2459 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2460 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2462 grep -v '^ *+' conftest.er1
>conftest.err
2464 cat conftest.err
>&5
2465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); } >/dev
/null
; then
2467 if test -s conftest.err
; then
2468 ac_cpp_err
=$ac_c_preproc_warn_flag
2469 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2476 if test -z "$ac_cpp_err"; then
2479 echo "$as_me: failed program was:" >&5
2480 sed 's/^/| /' conftest.
$ac_ext >&5
2482 # Broken: fails on valid input.
2485 rm -f conftest.err conftest.
$ac_ext
2487 # OK, works on sane cases. Now check whether non-existent headers
2488 # can be detected and how.
2489 cat >conftest.
$ac_ext <<_ACEOF
2492 cat confdefs.h
>>conftest.
$ac_ext
2493 cat >>conftest.
$ac_ext <<_ACEOF
2494 /* end confdefs.h. */
2495 #include <ac_nonexistent.h>
2497 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2498 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
2500 grep -v '^ *+' conftest.er1
>conftest.err
2502 cat conftest.err
>&5
2503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2504 (exit $ac_status); } >/dev
/null
; then
2505 if test -s conftest.err
; then
2506 ac_cpp_err
=$ac_c_preproc_warn_flag
2507 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
2514 if test -z "$ac_cpp_err"; then
2515 # Broken: success on invalid input.
2518 echo "$as_me: failed program was:" >&5
2519 sed 's/^/| /' conftest.
$ac_ext >&5
2521 # Passes both tests.
2525 rm -f conftest.err conftest.
$ac_ext
2528 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2529 rm -f conftest.err conftest.
$ac_ext
2530 if $ac_preproc_ok; then
2533 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2534 See \`config.log' for more details." >&5
2535 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2536 See \`config.log' for more details." >&2;}
2537 { (exit 1); exit 1; }; }
2541 ac_cpp
='$CPP $CPPFLAGS'
2542 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2543 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2544 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2547 echo "$as_me:$LINENO: checking for egrep" >&5
2548 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2549 if test "${ac_cv_prog_egrep+set}" = set; then
2550 echo $ECHO_N "(cached) $ECHO_C" >&6
2552 if echo a |
(grep -E '(a|b)') >/dev
/null
2>&1
2553 then ac_cv_prog_egrep
='grep -E'
2554 else ac_cv_prog_egrep
='egrep'
2557 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2558 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2559 EGREP
=$ac_cv_prog_egrep
2562 cat >conftest.
$ac_ext <<_ACEOF
2565 cat confdefs.h
>>conftest.
$ac_ext
2566 cat >>conftest.
$ac_ext <<_ACEOF
2567 /* end confdefs.h. */
2570 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2571 $EGREP "" >/dev
/null
2>&1; then
2575 echo "$as_me:$LINENO: checking for library containing strerror" >&5
2576 echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6
2577 if test "${ac_cv_search_strerror+set}" = set; then
2578 echo $ECHO_N "(cached) $ECHO_C" >&6
2580 ac_func_search_save_LIBS
=$LIBS
2581 ac_cv_search_strerror
=no
2582 cat >conftest.
$ac_ext <<_ACEOF
2585 cat confdefs.h
>>conftest.
$ac_ext
2586 cat >>conftest.
$ac_ext <<_ACEOF
2587 /* end confdefs.h. */
2589 /* Override any gcc2 internal prototype to avoid an error. */
2593 /* We use char because int might match the return type of a gcc2
2594 builtin and then its argument prototype would still apply. */
2604 rm -f conftest.
$ac_objext conftest
$ac_exeext
2605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2606 (eval $ac_link) 2>conftest.er1
2608 grep -v '^ *+' conftest.er1
>conftest.err
2610 cat conftest.err
>&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); } &&
2613 { ac_try
='test -z "$ac_c_werror_flag"
2614 || test ! -s conftest.err'
2615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2619 (exit $ac_status); }; } &&
2620 { ac_try
='test -s conftest$ac_exeext'
2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; }; then
2626 ac_cv_search_strerror
="none required"
2628 echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.
$ac_ext >&5
2632 rm -f conftest.err conftest.
$ac_objext \
2633 conftest
$ac_exeext conftest.
$ac_ext
2634 if test "$ac_cv_search_strerror" = no
; then
2635 for ac_lib
in cposix
; do
2636 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
2637 cat >conftest.
$ac_ext <<_ACEOF
2640 cat confdefs.h
>>conftest.
$ac_ext
2641 cat >>conftest.
$ac_ext <<_ACEOF
2642 /* end confdefs.h. */
2644 /* Override any gcc2 internal prototype to avoid an error. */
2648 /* We use char because int might match the return type of a gcc2
2649 builtin and then its argument prototype would still apply. */
2659 rm -f conftest.
$ac_objext conftest
$ac_exeext
2660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2661 (eval $ac_link) 2>conftest.er1
2663 grep -v '^ *+' conftest.er1
>conftest.err
2665 cat conftest.err
>&5
2666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2667 (exit $ac_status); } &&
2668 { ac_try
='test -z "$ac_c_werror_flag"
2669 || test ! -s conftest.err'
2670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2674 (exit $ac_status); }; } &&
2675 { ac_try
='test -s conftest$ac_exeext'
2676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2680 (exit $ac_status); }; }; then
2681 ac_cv_search_strerror
="-l$ac_lib"
2684 echo "$as_me: failed program was:" >&5
2685 sed 's/^/| /' conftest.
$ac_ext >&5
2688 rm -f conftest.err conftest.
$ac_objext \
2689 conftest
$ac_exeext conftest.
$ac_ext
2692 LIBS
=$ac_func_search_save_LIBS
2694 echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
2695 echo "${ECHO_T}$ac_cv_search_strerror" >&6
2696 if test "$ac_cv_search_strerror" != no
; then
2697 test "$ac_cv_search_strerror" = "none required" || LIBS
="$ac_cv_search_strerror $LIBS"
2700 for ac_prog
in gawk mawk nawk
awk
2702 # Extract the first word of "$ac_prog", so it can be a program name with args.
2703 set dummy
$ac_prog; ac_word
=$2
2704 echo "$as_me:$LINENO: checking for $ac_word" >&5
2705 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2706 if test "${ac_cv_prog_AWK+set}" = set; then
2707 echo $ECHO_N "(cached) $ECHO_C" >&6
2709 if test -n "$AWK"; then
2710 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2712 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2716 test -z "$as_dir" && as_dir
=.
2717 for ac_exec_ext
in '' $ac_executable_extensions; do
2718 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2719 ac_cv_prog_AWK
="$ac_prog"
2720 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2729 if test -n "$AWK"; then
2730 echo "$as_me:$LINENO: result: $AWK" >&5
2731 echo "${ECHO_T}$AWK" >&6
2733 echo "$as_me:$LINENO: result: no" >&5
2734 echo "${ECHO_T}no" >&6
2737 test -n "$AWK" && break
2740 # Extract the first word of "strip", so it can be a program name with args.
2741 set dummy strip
; ac_word
=$2
2742 echo "$as_me:$LINENO: checking for $ac_word" >&5
2743 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2744 if test "${ac_cv_prog_STRIP+set}" = set; then
2745 echo $ECHO_N "(cached) $ECHO_C" >&6
2747 if test -n "$STRIP"; then
2748 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2750 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2754 test -z "$as_dir" && as_dir
=.
2755 for ac_exec_ext
in '' $ac_executable_extensions; do
2756 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2757 ac_cv_prog_STRIP
="strip"
2758 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2764 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
=":"
2767 STRIP
=$ac_cv_prog_STRIP
2768 if test -n "$STRIP"; then
2769 echo "$as_me:$LINENO: result: $STRIP" >&5
2770 echo "${ECHO_T}$STRIP" >&6
2772 echo "$as_me:$LINENO: result: no" >&5
2773 echo "${ECHO_T}no" >&6
2779 if test -z "$CFLAGS"; then
2781 test "$GCC" = yes && CFLAGS
="-O2 -fno-strength-reduce -Wall"
2783 if test "$GCC" = yes; then
2784 gccversion
=`"$CC" -dumpversion`
2785 if test "x$gccversion" = "x"; then
2786 gccversion
=`"$CC" --version | sed -e '2,$d' -e 's/darwin.//' -e 's/^[^0-9]*\([0-9]\.[0-9.]*\).*$/\1/g'`
2788 if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
2789 echo 'GCC [34].0.[12] has a bug in the optimizer, disabling "-O#"'
2790 CFLAGS
=`echo "$CFLAGS" | sed 's/-O[23456789]/-O/'`
2792 if test "$gccversion" = "3.1" -o "$gccversion" = "3.2" -o "$gccversion" = "3.2.1" && `echo "$CFLAGS" | grep -v fno-strength-reduce >/dev/null`; then
2793 echo 'GCC 3.1 and 3.2 have a bug in the optimizer, adding "-fno-strength-reduce"'
2794 CFLAGS
="$CFLAGS -fno-strength-reduce"
2799 if test "$cross_compiling" = yes; then
2800 { { echo "$as_me:$LINENO: error: cannot compile a simple program, check CC and CFLAGS
2801 (cross compiling doesn't work)" >&5
2802 echo "$as_me: error: cannot compile a simple program, check CC and CFLAGS
2803 (cross compiling doesn't work)" >&2;}
2804 { (exit 1); exit 1; }; }
2807 test "$GCC" = yes && CPP_MM
=M
;
2809 if test -f .
/toolcheck
; then
2810 { echo "$as_me:$LINENO: checking for buggy tools..." >&5
2811 echo "$as_me: checking for buggy tools..." >&6;}
2815 OS_EXTRA_SRC
=""; OS_EXTRA_OBJ
=""
2817 echo "$as_me:$LINENO: checking for BeOS" >&5
2818 echo $ECHO_N "checking for BeOS... $ECHO_C" >&6
2820 BeOS
) OS_EXTRA_SRC
=os_beos.c
; OS_EXTRA_OBJ
=objects
/os_beos.o
2821 BEOS
=yes; echo "$as_me:$LINENO: result: yes" >&5
2822 echo "${ECHO_T}yes" >&6;;
2823 *) BEOS
=no
; echo "$as_me:$LINENO: result: no" >&5
2824 echo "${ECHO_T}no" >&6;;
2827 echo "$as_me:$LINENO: checking for QNX" >&5
2828 echo $ECHO_N "checking for QNX... $ECHO_C" >&6
2830 QNX
) OS_EXTRA_SRC
=os_qnx.c
; OS_EXTRA_OBJ
=objects
/os_qnx.o
2831 test -z "$with_x" && with_x
=no
2832 QNX
=yes; echo "$as_me:$LINENO: result: yes" >&5
2833 echo "${ECHO_T}yes" >&6;;
2834 *) QNX
=no
; echo "$as_me:$LINENO: result: no" >&5
2835 echo "${ECHO_T}no" >&6;;
2838 echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
2839 echo $ECHO_N "checking for Darwin (Mac OS X)... $ECHO_C" >&6
2840 if test "`(uname) 2>/dev/null`" = Darwin
; then
2841 echo "$as_me:$LINENO: result: yes" >&5
2842 echo "${ECHO_T}yes" >&6
2844 echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
2845 echo $ECHO_N "checking --disable-darwin argument... $ECHO_C" >&6
2846 # Check whether --enable-darwin or --disable-darwin was given.
2847 if test "${enable_darwin+set}" = set; then
2848 enableval
="$enable_darwin"
2853 if test "$enable_darwin" = "yes"; then
2854 echo "$as_me:$LINENO: result: no" >&5
2855 echo "${ECHO_T}no" >&6
2856 echo "$as_me:$LINENO: checking if Darwin files are there" >&5
2857 echo $ECHO_N "checking if Darwin files are there... $ECHO_C" >&6
2858 if test -f os_macosx.c
; then
2859 echo "$as_me:$LINENO: result: yes" >&5
2860 echo "${ECHO_T}yes" >&6
2862 echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
2863 echo "${ECHO_T}no, Darwin support disabled" >&6
2867 echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
2868 echo "${ECHO_T}yes, Darwin support excluded" >&6
2871 echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
2872 echo $ECHO_N "checking --with-mac-arch argument... $ECHO_C" >&6
2874 # Check whether --with-mac-arch or --without-mac-arch was given.
2875 if test "${with_mac_arch+set}" = set; then
2876 withval
="$with_mac_arch"
2877 MACARCH
="$withval"; echo "$as_me:$LINENO: result: $MACARCH" >&5
2878 echo "${ECHO_T}$MACARCH" >&6
2880 MACARCH
="current"; echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
2881 echo "${ECHO_T}defaulting to $MACARCH" >&6
2884 if test "x$MACARCH" = "xboth"; then
2885 echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
2886 echo $ECHO_N "checking for 10.4 universal SDK... $ECHO_C" >&6
2887 save_cppflags
="$CPPFLAGS"
2888 save_cflags
="$CFLAGS"
2889 save_ldflags
="$LDFLAGS"
2890 CFLAGS
="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
2891 cat >conftest.
$ac_ext <<_ACEOF
2894 cat confdefs.h
>>conftest.
$ac_ext
2895 cat >>conftest.
$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2906 rm -f conftest.
$ac_objext conftest
$ac_exeext
2907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2908 (eval $ac_link) 2>conftest.er1
2910 grep -v '^ *+' conftest.er1
>conftest.err
2912 cat conftest.err
>&5
2913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2914 (exit $ac_status); } &&
2915 { ac_try
='test -z "$ac_c_werror_flag"
2916 || test ! -s conftest.err'
2917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2921 (exit $ac_status); }; } &&
2922 { ac_try
='test -s conftest$ac_exeext'
2923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2927 (exit $ac_status); }; }; then
2928 echo "$as_me:$LINENO: result: found" >&5
2929 echo "${ECHO_T}found" >&6
2931 echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.
$ac_ext >&5
2934 echo "$as_me:$LINENO: result: not found" >&5
2935 echo "${ECHO_T}not found" >&6
2936 CFLAGS
="$save_cflags"
2937 echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
2938 echo $ECHO_N "checking if Intel architecture is supported... $ECHO_C" >&6
2939 CPPFLAGS
="$CPPFLAGS -arch i386"
2940 LDFLAGS
="$save_ldflags -arch i386"
2941 cat >conftest.
$ac_ext <<_ACEOF
2944 cat confdefs.h
>>conftest.
$ac_ext
2945 cat >>conftest.
$ac_ext <<_ACEOF
2946 /* end confdefs.h. */
2956 rm -f conftest.
$ac_objext conftest
$ac_exeext
2957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2958 (eval $ac_link) 2>conftest.er1
2960 grep -v '^ *+' conftest.er1
>conftest.err
2962 cat conftest.err
>&5
2963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964 (exit $ac_status); } &&
2965 { ac_try
='test -z "$ac_c_werror_flag"
2966 || test ! -s conftest.err'
2967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2971 (exit $ac_status); }; } &&
2972 { ac_try
='test -s conftest$ac_exeext'
2973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2977 (exit $ac_status); }; }; then
2978 echo "$as_me:$LINENO: result: yes" >&5
2979 echo "${ECHO_T}yes" >&6; MACARCH
="intel"
2981 echo "$as_me: failed program was:" >&5
2982 sed 's/^/| /' conftest.
$ac_ext >&5
2984 echo "$as_me:$LINENO: result: no" >&5
2985 echo "${ECHO_T}no" >&6
2987 CPPFLAGS
="$save_cppflags -arch ppc"
2988 LDFLAGS
="$save_ldflags -arch ppc"
2990 rm -f conftest.err conftest.
$ac_objext \
2991 conftest
$ac_exeext conftest.
$ac_ext
2993 rm -f conftest.err conftest.
$ac_objext \
2994 conftest
$ac_exeext conftest.
$ac_ext
2995 elif test "x$MACARCH" = "xintel"; then
2996 CPPFLAGS
="$CPPFLAGS -arch intel"
2997 LDFLAGS
="$LDFLAGS -arch intel"
2998 elif test "x$MACARCH" = "xppc"; then
2999 CPPFLAGS
="$CPPFLAGS -arch ppc"
3000 LDFLAGS
="$LDFLAGS -arch ppc"
3003 if test "$enable_darwin" = "yes"; then
3005 OS_EXTRA_SCR
="os_macosx.c os_mac_conv.c";
3006 OS_EXTRA_OBJ
="objects/os_macosx.o objects/os_mac_conv.o"
3007 CPPFLAGS
="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
3008 if test "x$MACARCH" = "xboth"; then
3009 CPPFLAGS
="$CPPFLAGS -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon"
3011 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon"
3014 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3015 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3016 if test "${ac_cv_header_stdc+set}" = set; then
3017 echo $ECHO_N "(cached) $ECHO_C" >&6
3019 cat >conftest.
$ac_ext <<_ACEOF
3022 cat confdefs.h
>>conftest.
$ac_ext
3023 cat >>conftest.
$ac_ext <<_ACEOF
3024 /* end confdefs.h. */
3038 rm -f conftest.
$ac_objext
3039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3040 (eval $ac_compile) 2>conftest.er1
3042 grep -v '^ *+' conftest.er1
>conftest.err
3044 cat conftest.err
>&5
3045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3046 (exit $ac_status); } &&
3047 { ac_try
='test -z "$ac_c_werror_flag"
3048 || test ! -s conftest.err'
3049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3053 (exit $ac_status); }; } &&
3054 { ac_try
='test -s conftest.$ac_objext'
3055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3059 (exit $ac_status); }; }; then
3060 ac_cv_header_stdc
=yes
3062 echo "$as_me: failed program was:" >&5
3063 sed 's/^/| /' conftest.
$ac_ext >&5
3065 ac_cv_header_stdc
=no
3067 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3069 if test $ac_cv_header_stdc = yes; then
3070 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3071 cat >conftest.
$ac_ext <<_ACEOF
3074 cat confdefs.h
>>conftest.
$ac_ext
3075 cat >>conftest.
$ac_ext <<_ACEOF
3076 /* end confdefs.h. */
3080 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3081 $EGREP "memchr" >/dev
/null
2>&1; then
3084 ac_cv_header_stdc
=no
3090 if test $ac_cv_header_stdc = yes; then
3091 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3092 cat >conftest.
$ac_ext <<_ACEOF
3095 cat confdefs.h
>>conftest.
$ac_ext
3096 cat >>conftest.
$ac_ext <<_ACEOF
3097 /* end confdefs.h. */
3101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3102 $EGREP "free" >/dev
/null
2>&1; then
3105 ac_cv_header_stdc
=no
3111 if test $ac_cv_header_stdc = yes; then
3112 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3113 if test "$cross_compiling" = yes; then
3116 cat >conftest.
$ac_ext <<_ACEOF
3119 cat confdefs.h
>>conftest.
$ac_ext
3120 cat >>conftest.
$ac_ext <<_ACEOF
3121 /* end confdefs.h. */
3123 #if ((' ' & 0x0FF) == 0x020)
3124 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3125 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3127 # define ISLOWER(c) \
3128 (('a' <= (c) && (c) <= 'i') \
3129 || ('j' <= (c) && (c) <= 'r') \
3130 || ('s' <= (c) && (c) <= 'z'))
3131 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3134 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3139 for (i = 0; i < 256; i++)
3140 if (XOR (islower (i), ISLOWER (i))
3141 || toupper (i) != TOUPPER (i))
3146 rm -f conftest
$ac_exeext
3147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3148 (eval $ac_link) 2>&5
3150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3151 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
3152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3156 (exit $ac_status); }; }; then
3159 echo "$as_me: program exited with status $ac_status" >&5
3160 echo "$as_me: failed program was:" >&5
3161 sed 's/^/| /' conftest.
$ac_ext >&5
3164 ac_cv_header_stdc
=no
3166 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3170 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3171 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3172 if test $ac_cv_header_stdc = yes; then
3174 cat >>confdefs.h
<<\_ACEOF
3175 #define STDC_HEADERS 1
3180 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3190 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3191 inttypes.h stdint.h unistd.h
3193 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3194 echo "$as_me:$LINENO: checking for $ac_header" >&5
3195 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3196 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3197 echo $ECHO_N "(cached) $ECHO_C" >&6
3199 cat >conftest.
$ac_ext <<_ACEOF
3202 cat confdefs.h
>>conftest.
$ac_ext
3203 cat >>conftest.
$ac_ext <<_ACEOF
3204 /* end confdefs.h. */
3205 $ac_includes_default
3207 #include <$ac_header>
3209 rm -f conftest.
$ac_objext
3210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3211 (eval $ac_compile) 2>conftest.er1
3213 grep -v '^ *+' conftest.er1
>conftest.err
3215 cat conftest.err
>&5
3216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3217 (exit $ac_status); } &&
3218 { ac_try
='test -z "$ac_c_werror_flag"
3219 || test ! -s conftest.err'
3220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3224 (exit $ac_status); }; } &&
3225 { ac_try
='test -s conftest.$ac_objext'
3226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3230 (exit $ac_status); }; }; then
3231 eval "$as_ac_Header=yes"
3233 echo "$as_me: failed program was:" >&5
3234 sed 's/^/| /' conftest.
$ac_ext >&5
3236 eval "$as_ac_Header=no"
3238 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3243 cat >>confdefs.h
<<_ACEOF
3244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3252 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3253 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
3254 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
3255 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3256 echo $ECHO_N "(cached) $ECHO_C" >&6
3258 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
3259 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
3261 # Is the header compilable?
3262 echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
3263 echo $ECHO_N "checking Carbon/Carbon.h usability... $ECHO_C" >&6
3264 cat >conftest.
$ac_ext <<_ACEOF
3267 cat confdefs.h
>>conftest.
$ac_ext
3268 cat >>conftest.
$ac_ext <<_ACEOF
3269 /* end confdefs.h. */
3270 $ac_includes_default
3271 #include <Carbon/Carbon.h>
3273 rm -f conftest.
$ac_objext
3274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3275 (eval $ac_compile) 2>conftest.er1
3277 grep -v '^ *+' conftest.er1
>conftest.err
3279 cat conftest.err
>&5
3280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3281 (exit $ac_status); } &&
3282 { ac_try
='test -z "$ac_c_werror_flag"
3283 || test ! -s conftest.err'
3284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3288 (exit $ac_status); }; } &&
3289 { ac_try
='test -s conftest.$ac_objext'
3290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3294 (exit $ac_status); }; }; then
3295 ac_header_compiler
=yes
3297 echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3300 ac_header_compiler
=no
3302 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3303 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3304 echo "${ECHO_T}$ac_header_compiler" >&6
3306 # Is the header present?
3307 echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
3308 echo $ECHO_N "checking Carbon/Carbon.h presence... $ECHO_C" >&6
3309 cat >conftest.
$ac_ext <<_ACEOF
3312 cat confdefs.h
>>conftest.
$ac_ext
3313 cat >>conftest.
$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3315 #include <Carbon/Carbon.h>
3317 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3318 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
3320 grep -v '^ *+' conftest.er1
>conftest.err
3322 cat conftest.err
>&5
3323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3324 (exit $ac_status); } >/dev
/null
; then
3325 if test -s conftest.err
; then
3326 ac_cpp_err
=$ac_c_preproc_warn_flag
3327 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
3334 if test -z "$ac_cpp_err"; then
3335 ac_header_preproc
=yes
3337 echo "$as_me: failed program was:" >&5
3338 sed 's/^/| /' conftest.
$ac_ext >&5
3340 ac_header_preproc
=no
3342 rm -f conftest.err conftest.
$ac_ext
3343 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3344 echo "${ECHO_T}$ac_header_preproc" >&6
3346 # So? What about this header?
3347 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3349 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
3350 echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
3351 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
3352 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
3353 ac_header_preproc
=yes
3356 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
3357 echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
3358 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
3359 echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
3360 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
3361 echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
3362 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
3363 echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
3364 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
3365 echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
3366 { echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
3367 echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
3370 ## ------------------------------------------ ##
3371 ## Report this to the AC_PACKAGE_NAME lists. ##
3372 ## ------------------------------------------ ##
3375 sed "s/^/$as_me: WARNING: /" >&2
3378 echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
3379 echo $ECHO_N "checking for Carbon/Carbon.h... $ECHO_C" >&6
3380 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
3381 echo $ECHO_N "(cached) $ECHO_C" >&6
3383 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
3385 echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
3386 echo "${ECHO_T}$ac_cv_header_Carbon_Carbon_h" >&6
3389 if test $ac_cv_header_Carbon_Carbon_h = yes; then
3394 if test "x$CARBON" = "xyes"; then
3395 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
3401 if test "$MACARCH" = "intel" -o "$MACARCH" = "both"; then
3402 CFLAGS
=`echo "$CFLAGS" | sed 's/-O[23456789]/-Oz/'`
3406 echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6
3413 have_local_include
=''
3415 if test "$GCC" = yes; then
3416 echo 'void f(){}' > conftest.c
3417 have_local_include
=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep '/usr/local/include'`
3418 have_local_lib
=`${CC-cc} -c -v conftest.c 2>&1 | grep '/usr/local/lib'`
3419 rm -f conftest.c conftest.o
3421 if test -z "$have_local_lib" -a -d /usr
/local
/lib
; then
3422 tt
=`echo "$LDFLAGS" | sed -e 's+-L/usr/local/lib ++g' -e 's+-L/usr/local/lib$++g'`
3423 if test "$tt" = "$LDFLAGS"; then
3424 LDFLAGS
="$LDFLAGS -L/usr/local/lib"
3427 if test -z "$have_local_include" -a -d /usr
/local
/include
; then
3428 tt
=`echo "$CPPFLAGS" | sed -e 's+-I/usr/local/include ++g' -e 's+-I/usr/local/include$++g'`
3429 if test "$tt" = "$CPPFLAGS"; then
3430 CPPFLAGS
="$CPPFLAGS -I/usr/local/include"
3434 echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
3435 echo $ECHO_N "checking --with-vim-name argument... $ECHO_C" >&6
3437 # Check whether --with-vim-name or --without-vim-name was given.
3438 if test "${with_vim_name+set}" = set; then
3439 withval
="$with_vim_name"
3440 VIMNAME
="$withval"; echo "$as_me:$LINENO: result: $VIMNAME" >&5
3441 echo "${ECHO_T}$VIMNAME" >&6
3443 VIMNAME
="vim"; echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
3444 echo "${ECHO_T}Defaulting to $VIMNAME" >&6
3447 echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
3448 echo $ECHO_N "checking --with-ex-name argument... $ECHO_C" >&6
3450 # Check whether --with-ex-name or --without-ex-name was given.
3451 if test "${with_ex_name+set}" = set; then
3452 withval
="$with_ex_name"
3453 EXNAME
="$withval"; echo "$as_me:$LINENO: result: $EXNAME" >&5
3454 echo "${ECHO_T}$EXNAME" >&6
3456 EXNAME
="ex"; echo "$as_me:$LINENO: result: Defaulting to ex" >&5
3457 echo "${ECHO_T}Defaulting to ex" >&6
3460 echo "$as_me:$LINENO: checking --with-view-name argument" >&5
3461 echo $ECHO_N "checking --with-view-name argument... $ECHO_C" >&6
3463 # Check whether --with-view-name or --without-view-name was given.
3464 if test "${with_view_name+set}" = set; then
3465 withval
="$with_view_name"
3466 VIEWNAME
="$withval"; echo "$as_me:$LINENO: result: $VIEWNAME" >&5
3467 echo "${ECHO_T}$VIEWNAME" >&6
3469 VIEWNAME
="view"; echo "$as_me:$LINENO: result: Defaulting to view" >&5
3470 echo "${ECHO_T}Defaulting to view" >&6
3474 echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
3475 echo $ECHO_N "checking --with-global-runtime argument... $ECHO_C" >&6
3477 # Check whether --with-global-runtime or --without-global-runtime was given.
3478 if test "${with_global_runtime+set}" = set; then
3479 withval
="$with_global_runtime"
3480 echo "$as_me:$LINENO: result: $withval" >&5
3481 echo "${ECHO_T}$withval" >&6; cat >>confdefs.h
<<_ACEOF
3482 #define RUNTIME_GLOBAL "$withval"
3486 echo "$as_me:$LINENO: result: no" >&5
3487 echo "${ECHO_T}no" >&6
3490 echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
3491 echo $ECHO_N "checking --with-modified-by argument... $ECHO_C" >&6
3493 # Check whether --with-modified-by or --without-modified-by was given.
3494 if test "${with_modified_by+set}" = set; then
3495 withval
="$with_modified_by"
3496 echo "$as_me:$LINENO: result: $withval" >&5
3497 echo "${ECHO_T}$withval" >&6; cat >>confdefs.h
<<_ACEOF
3498 #define MODIFIED_BY "$withval"
3502 echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6
3506 echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
3507 echo $ECHO_N "checking if character set is EBCDIC... $ECHO_C" >&6
3508 cat >conftest.
$ac_ext <<_ACEOF
3511 cat confdefs.h
>>conftest.
$ac_ext
3512 cat >>conftest.
$ac_ext <<_ACEOF
3513 /* end confdefs.h. */
3518 /* TryCompile function for CharSet.
3519 Treat any failure as ASCII for compatibility with existing art.
3520 Use compile-time rather than run-time tests for cross-compiler
3523 make an error "Character set is not EBCDIC"
3529 rm -f conftest.
$ac_objext
3530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3531 (eval $ac_compile) 2>conftest.er1
3533 grep -v '^ *+' conftest.er1
>conftest.err
3535 cat conftest.err
>&5
3536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537 (exit $ac_status); } &&
3538 { ac_try
='test -z "$ac_c_werror_flag"
3539 || test ! -s conftest.err'
3540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3544 (exit $ac_status); }; } &&
3545 { ac_try
='test -s conftest.$ac_objext'
3546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); }; }; then
3551 # TryCompile action if true
3554 echo "$as_me: failed program was:" >&5
3555 sed 's/^/| /' conftest.
$ac_ext >&5
3557 # TryCompile action if false
3560 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
3561 # end of TryCompile ])
3562 # end of CacheVal CvEbcdic
3563 echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
3564 echo "${ECHO_T}$cf_cv_ebcdic" >&6
3565 case "$cf_cv_ebcdic" in #(vi
3566 yes) cat >>confdefs.h
<<\_ACEOF
3572 *) line_break
='"\\012"';;
3576 if test "$cf_cv_ebcdic" = "yes"; then
3577 echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
3578 echo $ECHO_N "checking for OS/390 Unix... $ECHO_C" >&6
3580 OS
/390) OS390Unix
="yes";
3581 if test "$CC" = "cc"; then
3585 if test "$CC" = "c89"; then
3592 if test "$ccm" != "1"; then
3594 echo "------------------------------------------"
3595 echo " On OS/390 Unix, the environment variable"
3596 echo " __CC_${ccn}MODE must be set to \"1\"!"
3598 echo " export _CC_${ccn}MODE=1"
3599 echo " and then call configure again."
3600 echo "------------------------------------------"
3603 CFLAGS
="$CFLAGS -D_ALL_SOURCE"; LDFLAGS
="$LDFLAGS -Wl,EDIT=NO"
3604 echo "$as_me:$LINENO: result: yes" >&5
3605 echo "${ECHO_T}yes" >&6
3608 echo "$as_me:$LINENO: result: no" >&5
3609 echo "${ECHO_T}no" >&6
3616 echo "$as_me:$LINENO: checking --with-features argument" >&5
3617 echo $ECHO_N "checking --with-features argument... $ECHO_C" >&6
3619 # Check whether --with-features or --without-features was given.
3620 if test "${with_features+set}" = set; then
3621 withval
="$with_features"
3622 features
="$withval"; echo "$as_me:$LINENO: result: $features" >&5
3623 echo "${ECHO_T}$features" >&6
3625 features
="normal"; echo "$as_me:$LINENO: result: Defaulting to normal" >&5
3626 echo "${ECHO_T}Defaulting to normal" >&6
3632 tiny
) cat >>confdefs.h
<<\_ACEOF
3636 small
) cat >>confdefs.h
<<\_ACEOF
3637 #define FEAT_SMALL 1
3640 normal
) cat >>confdefs.h
<<\_ACEOF
3641 #define FEAT_NORMAL 1
3643 dovimdiff
="installvimdiff";
3644 dogvimdiff
="installgvimdiff" ;;
3645 big
) cat >>confdefs.h
<<\_ACEOF
3648 dovimdiff
="installvimdiff";
3649 dogvimdiff
="installgvimdiff" ;;
3650 huge
) cat >>confdefs.h
<<\_ACEOF
3653 dovimdiff
="installvimdiff";
3654 dogvimdiff
="installgvimdiff" ;;
3655 *) echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
3656 echo "${ECHO_T}Sorry, $features is not supported" >&6 ;;
3662 echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
3663 echo $ECHO_N "checking --with-compiledby argument... $ECHO_C" >&6
3665 # Check whether --with-compiledby or --without-compiledby was given.
3666 if test "${with_compiledby+set}" = set; then
3667 withval
="$with_compiledby"
3668 compiledby
="$withval"; echo "$as_me:$LINENO: result: $withval" >&5
3669 echo "${ECHO_T}$withval" >&6
3671 compiledby
=""; echo "$as_me:$LINENO: result: no" >&5
3672 echo "${ECHO_T}no" >&6
3676 echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
3677 echo $ECHO_N "checking --disable-xsmp argument... $ECHO_C" >&6
3678 # Check whether --enable-xsmp or --disable-xsmp was given.
3679 if test "${enable_xsmp+set}" = set; then
3680 enableval
="$enable_xsmp"
3686 if test "$enable_xsmp" = "yes"; then
3687 echo "$as_me:$LINENO: result: no" >&5
3688 echo "${ECHO_T}no" >&6
3689 echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
3690 echo $ECHO_N "checking --disable-xsmp-interact argument... $ECHO_C" >&6
3691 # Check whether --enable-xsmp-interact or --disable-xsmp-interact was given.
3692 if test "${enable_xsmp_interact+set}" = set; then
3693 enableval
="$enable_xsmp_interact"
3696 enable_xsmp_interact
="yes"
3698 if test "$enable_xsmp_interact" = "yes"; then
3699 echo "$as_me:$LINENO: result: no" >&5
3700 echo "${ECHO_T}no" >&6
3701 cat >>confdefs.h
<<\_ACEOF
3702 #define USE_XSMP_INTERACT 1
3706 echo "$as_me:$LINENO: result: yes" >&5
3707 echo "${ECHO_T}yes" >&6
3710 echo "$as_me:$LINENO: result: yes" >&5
3711 echo "${ECHO_T}yes" >&6
3714 echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
3715 echo $ECHO_N "checking --enable-mzschemeinterp argument... $ECHO_C" >&6
3716 # Check whether --enable-mzschemeinterp or --disable-mzschemeinterp was given.
3717 if test "${enable_mzschemeinterp+set}" = set; then
3718 enableval
="$enable_mzschemeinterp"
3721 enable_mzschemeinterp
="no"
3723 echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
3724 echo "${ECHO_T}$enable_mzschemeinterp" >&6
3726 if test "$enable_mzschemeinterp" = "yes"; then
3729 echo "$as_me:$LINENO: checking --with-plthome argument" >&5
3730 echo $ECHO_N "checking --with-plthome argument... $ECHO_C" >&6
3732 # Check whether --with-plthome or --without-plthome was given.
3733 if test "${with_plthome+set}" = set; then
3734 withval
="$with_plthome"
3735 with_plthome
="$withval"; echo "$as_me:$LINENO: result: $with_plthome" >&5
3736 echo "${ECHO_T}$with_plthome" >&6
3738 with_plthome
="";echo "$as_me:$LINENO: result: \"no\"" >&5
3739 echo "${ECHO_T}\"no\"" >&6
3742 if test "X$with_plthome" != "X"; then
3743 vi_cv_path_mzscheme_pfx
="$with_plthome"
3745 echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
3746 echo $ECHO_N "checking PLTHOME environment var... $ECHO_C" >&6
3747 if test "X$PLTHOME" != "X"; then
3748 echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
3749 echo "${ECHO_T}\"$PLTHOME\"" >&6
3750 vi_cv_path_mzscheme_pfx
="$PLTHOME"
3752 echo "$as_me:$LINENO: result: \"not set\"" >&5
3753 echo "${ECHO_T}\"not set\"" >&6
3754 # Extract the first word of "mzscheme", so it can be a program name with args.
3755 set dummy mzscheme
; ac_word
=$2
3756 echo "$as_me:$LINENO: checking for $ac_word" >&5
3757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3758 if test "${ac_cv_path_vi_cv_path_mzscheme+set}" = set; then
3759 echo $ECHO_N "(cached) $ECHO_C" >&6
3761 case $vi_cv_path_mzscheme in
3763 ac_cv_path_vi_cv_path_mzscheme
="$vi_cv_path_mzscheme" # Let the user override the test with a path.
3766 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3770 test -z "$as_dir" && as_dir
=.
3771 for ac_exec_ext
in '' $ac_executable_extensions; do
3772 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3773 ac_cv_path_vi_cv_path_mzscheme
="$as_dir/$ac_word$ac_exec_ext"
3774 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3783 vi_cv_path_mzscheme
=$ac_cv_path_vi_cv_path_mzscheme
3785 if test -n "$vi_cv_path_mzscheme"; then
3786 echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
3787 echo "${ECHO_T}$vi_cv_path_mzscheme" >&6
3789 echo "$as_me:$LINENO: result: no" >&5
3790 echo "${ECHO_T}no" >&6
3794 if test "X$vi_cv_path_mzscheme" != "X"; then
3795 lsout
=`ls -l $vi_cv_path_mzscheme`
3796 if echo "$lsout" |
grep -e '->' >/dev
/null
2>/dev
/null
; then
3797 vi_cv_path_mzscheme
=`echo "$lsout" | sed 's/.*-> \(.*\)/\1/'`
3801 if test "X$vi_cv_path_mzscheme" != "X"; then
3802 echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
3803 echo $ECHO_N "checking MzScheme install prefix... $ECHO_C" >&6
3804 if test "${vi_cv_path_mzscheme_pfx+set}" = set; then
3805 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 vi_cv_path_mzscheme_pfx
=`
3808 ${vi_cv_path_mzscheme} -evm \
3809 "(display (simplify-path \
3810 (build-path (call-with-values \
3811 (lambda () (split-path (find-system-path (quote exec-file)))) \
3812 (lambda (base name must-be-dir?) base)) (quote up))))"`
3814 echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
3815 echo "${ECHO_T}$vi_cv_path_mzscheme_pfx" >&6
3816 vi_cv_path_mzscheme_pfx
=`echo "$vi_cv_path_mzscheme_pfx" | sed 's+/$++'`
3822 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
3823 echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
3824 echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... $ECHO_C" >&6
3825 if test -f $vi_cv_path_mzscheme_pfx/include
/scheme.h
; then
3826 echo "$as_me:$LINENO: result: \"yes\"" >&5
3827 echo "${ECHO_T}\"yes\"" >&6
3829 echo "$as_me:$LINENO: result: \"no\"" >&5
3830 echo "${ECHO_T}\"no\"" >&6
3831 echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5
3832 echo $ECHO_N "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... $ECHO_C" >&6
3833 if test -f $vi_cv_path_mzscheme_pfx/include
/plt
/scheme.h
; then
3834 echo "$as_me:$LINENO: result: \"yes\"" >&5
3835 echo "${ECHO_T}\"yes\"" >&6
3838 echo "$as_me:$LINENO: result: \"no\"" >&5
3839 echo "${ECHO_T}\"no\"" >&6
3840 vi_cv_path_mzscheme_pfx
=
3845 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
3846 if test "x$MACOSX" = "xyes"; then
3847 MZSCHEME_LIBS
="-framework PLT_MzScheme"
3848 elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then
3849 MZSCHEME_LIBS
="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"
3851 MZSCHEME_LIBS
="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc"
3852 if test "$GCC" = yes; then
3853 MZSCHEME_LIBS
="$MZSCHEME_LIBS -Wl,-rpath -Wl,${vi_cv_path_mzscheme_pfx}/lib"
3854 elif test "`(uname) 2>/dev/null`" = SunOS
&&
3855 uname
-r |
grep '^5' >/dev
/null
; then
3856 MZSCHEME_LIBS
="$MZSCHEME_LIBS -R ${vi_cv_path_mzscheme_pfx}/lib"
3859 if test -d $vi_cv_path_mzscheme_pfx/lib
/plt
/collects
; then
3860 SCHEME_COLLECTS
=lib
/plt
/
3862 MZSCHEME_CFLAGS
="-I${vi_cv_path_mzscheme_pfx}/include${SCHEME_INC} \
3863 -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects\"'"
3864 MZSCHEME_SRC
="if_mzsch.c"
3865 MZSCHEME_OBJ
="objects/if_mzsch.o"
3866 MZSCHEME_PRO
="if_mzsch.pro"
3867 cat >>confdefs.h
<<\_ACEOF
3868 #define FEAT_MZSCHEME 1
3880 echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
3881 echo $ECHO_N "checking --enable-perlinterp argument... $ECHO_C" >&6
3882 # Check whether --enable-perlinterp or --disable-perlinterp was given.
3883 if test "${enable_perlinterp+set}" = set; then
3884 enableval
="$enable_perlinterp"
3887 enable_perlinterp
="no"
3889 echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
3890 echo "${ECHO_T}$enable_perlinterp" >&6
3891 if test "$enable_perlinterp" = "yes"; then
3893 # Extract the first word of "perl", so it can be a program name with args.
3894 set dummy perl
; ac_word
=$2
3895 echo "$as_me:$LINENO: checking for $ac_word" >&5
3896 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3897 if test "${ac_cv_path_vi_cv_path_perl+set}" = set; then
3898 echo $ECHO_N "(cached) $ECHO_C" >&6
3900 case $vi_cv_path_perl in
3902 ac_cv_path_vi_cv_path_perl
="$vi_cv_path_perl" # Let the user override the test with a path.
3905 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3909 test -z "$as_dir" && as_dir
=.
3910 for ac_exec_ext
in '' $ac_executable_extensions; do
3911 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3912 ac_cv_path_vi_cv_path_perl
="$as_dir/$ac_word$ac_exec_ext"
3913 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3922 vi_cv_path_perl
=$ac_cv_path_vi_cv_path_perl
3924 if test -n "$vi_cv_path_perl"; then
3925 echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
3926 echo "${ECHO_T}$vi_cv_path_perl" >&6
3928 echo "$as_me:$LINENO: result: no" >&5
3929 echo "${ECHO_T}no" >&6
3932 if test "X$vi_cv_path_perl" != "X"; then
3933 echo "$as_me:$LINENO: checking Perl version" >&5
3934 echo $ECHO_N "checking Perl version... $ECHO_C" >&6
3935 if $vi_cv_path_perl -e 'require 5.003_01' >/dev
/null
2>/dev
/null
; then
3936 eval `$vi_cv_path_perl -V:usethreads`
3937 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
3940 if $vi_cv_path_perl -e 'require 5.6.0' >/dev
/null
2>/dev
/null
; then
3941 eval `$vi_cv_path_perl -V:use5005threads`
3942 if test "X$use5005threads" = "XUNKNOWN" -o "X$use5005threads" = "Xundef"; then
3946 echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
3947 echo "${ECHO_T}>>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6
3951 echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
3952 echo "${ECHO_T}>>> Perl 5.5 with threads cannot be used <<<" >&6
3955 if test $badthreads = no
; then
3956 echo "$as_me:$LINENO: result: OK" >&5
3957 echo "${ECHO_T}OK" >&6
3958 eval `$vi_cv_path_perl -V:shrpenv`
3959 if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
3962 vi_cv_perllib
=`$vi_cv_path_perl -MConfig -e 'print $Config{privlibexp}'`
3964 perlcppflags
=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
3965 -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//'`
3966 perllibs
=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
3967 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
3968 -e 's/-bE:perl.exp//' -e 's/-lc //'`
3969 perlldflags
=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
3970 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
3972 echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
3973 echo $ECHO_N "checking if compile and link flags for Perl are sane... $ECHO_C" >&6
3976 ldflags_save
=$LDFLAGS
3977 CFLAGS
="$CFLAGS $perlcppflags"
3978 LIBS
="$LIBS $perllibs"
3979 LDFLAGS
="$perlldflags $LDFLAGS"
3980 cat >conftest.
$ac_ext <<_ACEOF
3983 cat confdefs.h
>>conftest.
$ac_ext
3984 cat >>conftest.
$ac_ext <<_ACEOF
3985 /* end confdefs.h. */
3995 rm -f conftest.
$ac_objext conftest
$ac_exeext
3996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3997 (eval $ac_link) 2>conftest.er1
3999 grep -v '^ *+' conftest.er1
>conftest.err
4001 cat conftest.err
>&5
4002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4003 (exit $ac_status); } &&
4004 { ac_try
='test -z "$ac_c_werror_flag"
4005 || test ! -s conftest.err'
4006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4010 (exit $ac_status); }; } &&
4011 { ac_try
='test -s conftest$ac_exeext'
4012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4016 (exit $ac_status); }; }; then
4017 echo "$as_me:$LINENO: result: yes" >&5
4018 echo "${ECHO_T}yes" >&6; perl_ok
=yes
4020 echo "$as_me: failed program was:" >&5
4021 sed 's/^/| /' conftest.
$ac_ext >&5
4023 echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
4024 echo "${ECHO_T}no: PERL DISABLED" >&6; perl_ok
=no
4026 rm -f conftest.err conftest.
$ac_objext \
4027 conftest
$ac_exeext conftest.
$ac_ext
4030 LDFLAGS
=$ldflags_save
4031 if test $perl_ok = yes; then
4032 if test "X$perlcppflags" != "X"; then
4033 PERL_CFLAGS
=`echo "$perlcppflags" | sed -e 's/-pipe //' -e 's/-W[^ ]*//'`
4035 if test "X$perlldflags" != "X"; then
4036 LDFLAGS
="$perlldflags $LDFLAGS"
4039 PERL_SRC
="auto/if_perl.c if_perlsfio.c"
4040 PERL_OBJ
="objects/if_perl.o objects/if_perlsfio.o"
4041 PERL_PRO
="if_perl.pro if_perlsfio.pro"
4042 cat >>confdefs.h
<<\_ACEOF
4049 echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
4050 echo "${ECHO_T}>>> too old; need Perl version 5.003_01 or later <<<" >&6
4054 if test "x$MACOSX" = "xyes"; then
4055 dir
=/System
/Library
/Perl
4056 darwindir
=$dir/darwin
4057 if test -d $darwindir; then
4060 dir
=/System
/Library
/Perl
/5.8.1
4061 darwindir
=$dir/darwin-thread-multi-2level
4062 if test -d $darwindir; then
4066 if test -n "$PERL"; then
4068 PERL_CFLAGS
="-DFEAT_PERL -I$darwindir/CORE"
4069 PERL_OBJ
="objects/if_perl.o objects/if_perlsfio.o $darwindir/auto/DynaLoader/DynaLoader.a"
4070 PERL_LIBS
="-L$darwindir/CORE -lperl"
4081 echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
4082 echo $ECHO_N "checking --enable-pythoninterp argument... $ECHO_C" >&6
4083 # Check whether --enable-pythoninterp or --disable-pythoninterp was given.
4084 if test "${enable_pythoninterp+set}" = set; then
4085 enableval
="$enable_pythoninterp"
4088 enable_pythoninterp
="no"
4090 echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
4091 echo "${ECHO_T}$enable_pythoninterp" >&6
4092 if test "$enable_pythoninterp" = "yes"; then
4093 # Extract the first word of "python", so it can be a program name with args.
4094 set dummy python
; ac_word
=$2
4095 echo "$as_me:$LINENO: checking for $ac_word" >&5
4096 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4097 if test "${ac_cv_path_vi_cv_path_python+set}" = set; then
4098 echo $ECHO_N "(cached) $ECHO_C" >&6
4100 case $vi_cv_path_python in
4102 ac_cv_path_vi_cv_path_python
="$vi_cv_path_python" # Let the user override the test with a path.
4105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4109 test -z "$as_dir" && as_dir
=.
4110 for ac_exec_ext
in '' $ac_executable_extensions; do
4111 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4112 ac_cv_path_vi_cv_path_python
="$as_dir/$ac_word$ac_exec_ext"
4113 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4122 vi_cv_path_python
=$ac_cv_path_vi_cv_path_python
4124 if test -n "$vi_cv_path_python"; then
4125 echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
4126 echo "${ECHO_T}$vi_cv_path_python" >&6
4128 echo "$as_me:$LINENO: result: no" >&5
4129 echo "${ECHO_T}no" >&6
4132 if test "X$vi_cv_path_python" != "X"; then
4134 echo "$as_me:$LINENO: checking Python version" >&5
4135 echo $ECHO_N "checking Python version... $ECHO_C" >&6
4136 if test "${vi_cv_var_python_version+set}" = set; then
4137 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 vi_cv_var_python_version
=`
4140 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'`
4143 echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
4144 echo "${ECHO_T}$vi_cv_var_python_version" >&6
4146 echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
4147 echo $ECHO_N "checking Python is 1.4 or better... $ECHO_C" >&6
4148 if ${vi_cv_path_python} -c \
4149 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)"
4151 echo "$as_me:$LINENO: result: yep" >&5
4152 echo "${ECHO_T}yep" >&6
4154 echo "$as_me:$LINENO: checking Python's install prefix" >&5
4155 echo $ECHO_N "checking Python's install prefix... $ECHO_C" >&6
4156 if test "${vi_cv_path_python_pfx+set}" = set; then
4157 echo $ECHO_N "(cached) $ECHO_C" >&6
4159 vi_cv_path_python_pfx
=`
4160 ${vi_cv_path_python} -c \
4161 "import sys; print sys.prefix"`
4163 echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
4164 echo "${ECHO_T}$vi_cv_path_python_pfx" >&6
4166 echo "$as_me:$LINENO: checking Python's execution prefix" >&5
4167 echo $ECHO_N "checking Python's execution prefix... $ECHO_C" >&6
4168 if test "${vi_cv_path_python_epfx+set}" = set; then
4169 echo $ECHO_N "(cached) $ECHO_C" >&6
4171 vi_cv_path_python_epfx
=`
4172 ${vi_cv_path_python} -c \
4173 "import sys; print sys.exec_prefix"`
4175 echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
4176 echo "${ECHO_T}$vi_cv_path_python_epfx" >&6
4179 if test "${vi_cv_path_pythonpath+set}" = set; then
4180 echo $ECHO_N "(cached) $ECHO_C" >&6
4182 vi_cv_path_pythonpath
=`
4184 ${vi_cv_path_python} -c \
4185 "import sys, string; print string.join(sys.path,':')"`
4191 # Check whether --with-python-config-dir or --without-python-config-dir was given.
4192 if test "${with_python_config_dir+set}" = set; then
4193 withval
="$with_python_config_dir"
4194 vi_cv_path_python_conf
="${withval}"
4197 echo "$as_me:$LINENO: checking Python's configuration directory" >&5
4198 echo $ECHO_N "checking Python's configuration directory... $ECHO_C" >&6
4199 if test "${vi_cv_path_python_conf+set}" = set; then
4200 echo $ECHO_N "(cached) $ECHO_C" >&6
4203 vi_cv_path_python_conf
=
4204 for path
in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
4205 for subdir
in lib share
; do
4206 d
="${path}/${subdir}/python${vi_cv_var_python_version}/config"
4207 if test -d "$d" && test -f "$d/config.c"; then
4208 vi_cv_path_python_conf
="$d"
4214 echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
4215 echo "${ECHO_T}$vi_cv_path_python_conf" >&6
4217 PYTHON_CONFDIR
="${vi_cv_path_python_conf}"
4219 if test "X$PYTHON_CONFDIR" = "X"; then
4220 echo "$as_me:$LINENO: result: can't find it!" >&5
4221 echo "${ECHO_T}can't find it!" >&6
4224 if test "${vi_cv_path_python_plibs+set}" = set; then
4225 echo $ECHO_N "(cached) $ECHO_C" >&6
4228 tmp_mkf
="/tmp/Makefile-conf$$"
4229 cat ${PYTHON_CONFDIR}/Makefile
- <<'eof' >${tmp_mkf}
4231 @echo "python_MODLIBS='$(MODLIBS)'"
4232 @echo "python_LIBS='$(LIBS)'"
4233 @echo "python_SYSLIBS='$(SYSLIBS)'"
4234 @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
4236 eval "`cd ${PYTHON_CONFDIR} && make -f ${tmp_mkf} __ | sed '/ directory /d'`"
4238 if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
4239 "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
4240 vi_cv_path_python_plibs
="-framework Python"
4242 if test "${vi_cv_var_python_version}" = "1.4"; then
4243 vi_cv_path_python_plibs
="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a"
4245 vi_cv_path_python_plibs
="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
4247 vi_cv_path_python_plibs
="${vi_cv_path_python_plibs} ${python_MODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}"
4248 vi_cv_path_python_plibs
=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//`
4254 PYTHON_LIBS
="${vi_cv_path_python_plibs}"
4255 if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
4256 PYTHON_CFLAGS
="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}"
4258 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}"
4260 PYTHON_SRC
="if_python.c"
4261 if test "x$MACOSX" = "xyes"; then
4262 PYTHON_OBJ
="objects/if_python.o"
4264 PYTHON_OBJ
="objects/if_python.o objects/py_config.o"
4266 if test "${vi_cv_var_python_version}" = "1.4"; then
4267 PYTHON_OBJ
="$PYTHON_OBJ objects/py_getpath.o"
4269 PYTHON_GETPATH_CFLAGS
="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'"
4271 echo "$as_me:$LINENO: checking if -pthread should be used" >&5
4272 echo $ECHO_N "checking if -pthread should be used... $ECHO_C" >&6
4275 if test "`(uname) 2>/dev/null`" != Darwin
; then
4276 test "$GCC" = yes && threadsafe_flag
="-pthread"
4277 if test "`(uname) 2>/dev/null`" = FreeBSD
; then
4278 threadsafe_flag
="-D_THREAD_SAFE"
4279 thread_lib
="-pthread"
4283 if test -n "$threadsafe_flag"; then
4285 CFLAGS
="$CFLAGS $threadsafe_flag"
4286 LIBS
="$LIBS $thread_lib"
4287 cat >conftest.
$ac_ext <<_ACEOF
4290 cat confdefs.h
>>conftest.
$ac_ext
4291 cat >>conftest.
$ac_ext <<_ACEOF
4292 /* end confdefs.h. */
4302 rm -f conftest.
$ac_objext conftest
$ac_exeext
4303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4304 (eval $ac_link) 2>conftest.er1
4306 grep -v '^ *+' conftest.er1
>conftest.err
4308 cat conftest.err
>&5
4309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4310 (exit $ac_status); } &&
4311 { ac_try
='test -z "$ac_c_werror_flag"
4312 || test ! -s conftest.err'
4313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4317 (exit $ac_status); }; } &&
4318 { ac_try
='test -s conftest$ac_exeext'
4319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4323 (exit $ac_status); }; }; then
4324 echo "$as_me:$LINENO: result: yes" >&5
4325 echo "${ECHO_T}yes" >&6; PYTHON_CFLAGS
="$PYTHON_CFLAGS $threadsafe_flag"
4327 echo "$as_me: failed program was:" >&5
4328 sed 's/^/| /' conftest.
$ac_ext >&5
4330 echo "$as_me:$LINENO: result: no" >&5
4331 echo "${ECHO_T}no" >&6; LIBS
=$libs_save_old
4334 rm -f conftest.err conftest.
$ac_objext \
4335 conftest
$ac_exeext conftest.
$ac_ext
4338 echo "$as_me:$LINENO: result: no" >&5
4339 echo "${ECHO_T}no" >&6
4342 echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
4343 echo $ECHO_N "checking if compile and link flags for Python are sane... $ECHO_C" >&6
4346 CFLAGS
="$CFLAGS $PYTHON_CFLAGS"
4347 LIBS
="$LIBS $PYTHON_LIBS"
4348 cat >conftest.
$ac_ext <<_ACEOF
4351 cat confdefs.h
>>conftest.
$ac_ext
4352 cat >>conftest.
$ac_ext <<_ACEOF
4353 /* end confdefs.h. */
4363 rm -f conftest.
$ac_objext conftest
$ac_exeext
4364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4365 (eval $ac_link) 2>conftest.er1
4367 grep -v '^ *+' conftest.er1
>conftest.err
4369 cat conftest.err
>&5
4370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4371 (exit $ac_status); } &&
4372 { ac_try
='test -z "$ac_c_werror_flag"
4373 || test ! -s conftest.err'
4374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4378 (exit $ac_status); }; } &&
4379 { ac_try
='test -s conftest$ac_exeext'
4380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4384 (exit $ac_status); }; }; then
4385 echo "$as_me:$LINENO: result: yes" >&5
4386 echo "${ECHO_T}yes" >&6; python_ok
=yes
4388 echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.
$ac_ext >&5
4391 echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
4392 echo "${ECHO_T}no: PYTHON DISABLED" >&6; python_ok
=no
4394 rm -f conftest.err conftest.
$ac_objext \
4395 conftest
$ac_exeext conftest.
$ac_ext
4398 if test $python_ok = yes; then
4399 cat >>confdefs.h
<<\_ACEOF
4400 #define FEAT_PYTHON 1
4413 echo "$as_me:$LINENO: result: too old" >&5
4414 echo "${ECHO_T}too old" >&6
4425 echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
4426 echo $ECHO_N "checking --enable-tclinterp argument... $ECHO_C" >&6
4427 # Check whether --enable-tclinterp or --disable-tclinterp was given.
4428 if test "${enable_tclinterp+set}" = set; then
4429 enableval
="$enable_tclinterp"
4432 enable_tclinterp
="no"
4434 echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
4435 echo "${ECHO_T}$enable_tclinterp" >&6
4437 if test "$enable_tclinterp" = "yes"; then
4439 echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
4440 echo $ECHO_N "checking --with-tclsh argument... $ECHO_C" >&6
4442 # Check whether --with-tclsh or --without-tclsh was given.
4443 if test "${with_tclsh+set}" = set; then
4444 withval
="$with_tclsh"
4445 tclsh_name
="$withval"; echo "$as_me:$LINENO: result: $tclsh_name" >&5
4446 echo "${ECHO_T}$tclsh_name" >&6
4448 tclsh_name
="tclsh8.4"; echo "$as_me:$LINENO: result: no" >&5
4449 echo "${ECHO_T}no" >&6
4451 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4452 set dummy
$tclsh_name; ac_word
=$2
4453 echo "$as_me:$LINENO: checking for $ac_word" >&5
4454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4455 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4456 echo $ECHO_N "(cached) $ECHO_C" >&6
4458 case $vi_cv_path_tcl in
4460 ac_cv_path_vi_cv_path_tcl
="$vi_cv_path_tcl" # Let the user override the test with a path.
4463 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4467 test -z "$as_dir" && as_dir
=.
4468 for ac_exec_ext
in '' $ac_executable_extensions; do
4469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4470 ac_cv_path_vi_cv_path_tcl
="$as_dir/$ac_word$ac_exec_ext"
4471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4480 vi_cv_path_tcl
=$ac_cv_path_vi_cv_path_tcl
4482 if test -n "$vi_cv_path_tcl"; then
4483 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4484 echo "${ECHO_T}$vi_cv_path_tcl" >&6
4486 echo "$as_me:$LINENO: result: no" >&5
4487 echo "${ECHO_T}no" >&6
4492 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then
4493 tclsh_name
="tclsh8.2"
4494 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4495 set dummy
$tclsh_name; ac_word
=$2
4496 echo "$as_me:$LINENO: checking for $ac_word" >&5
4497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4498 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4499 echo $ECHO_N "(cached) $ECHO_C" >&6
4501 case $vi_cv_path_tcl in
4503 ac_cv_path_vi_cv_path_tcl
="$vi_cv_path_tcl" # Let the user override the test with a path.
4506 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4510 test -z "$as_dir" && as_dir
=.
4511 for ac_exec_ext
in '' $ac_executable_extensions; do
4512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4513 ac_cv_path_vi_cv_path_tcl
="$as_dir/$ac_word$ac_exec_ext"
4514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4523 vi_cv_path_tcl
=$ac_cv_path_vi_cv_path_tcl
4525 if test -n "$vi_cv_path_tcl"; then
4526 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4527 echo "${ECHO_T}$vi_cv_path_tcl" >&6
4529 echo "$as_me:$LINENO: result: no" >&5
4530 echo "${ECHO_T}no" >&6
4534 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.2"; then
4535 tclsh_name
="tclsh8.0"
4536 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4537 set dummy
$tclsh_name; ac_word
=$2
4538 echo "$as_me:$LINENO: checking for $ac_word" >&5
4539 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4540 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4541 echo $ECHO_N "(cached) $ECHO_C" >&6
4543 case $vi_cv_path_tcl in
4545 ac_cv_path_vi_cv_path_tcl
="$vi_cv_path_tcl" # Let the user override the test with a path.
4548 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4552 test -z "$as_dir" && as_dir
=.
4553 for ac_exec_ext
in '' $ac_executable_extensions; do
4554 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4555 ac_cv_path_vi_cv_path_tcl
="$as_dir/$ac_word$ac_exec_ext"
4556 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4565 vi_cv_path_tcl
=$ac_cv_path_vi_cv_path_tcl
4567 if test -n "$vi_cv_path_tcl"; then
4568 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4569 echo "${ECHO_T}$vi_cv_path_tcl" >&6
4571 echo "$as_me:$LINENO: result: no" >&5
4572 echo "${ECHO_T}no" >&6
4576 if test "X$vi_cv_path_tcl" = "X"; then
4578 # Extract the first word of "$tclsh_name", so it can be a program name with args.
4579 set dummy
$tclsh_name; ac_word
=$2
4580 echo "$as_me:$LINENO: checking for $ac_word" >&5
4581 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4582 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
4583 echo $ECHO_N "(cached) $ECHO_C" >&6
4585 case $vi_cv_path_tcl in
4587 ac_cv_path_vi_cv_path_tcl
="$vi_cv_path_tcl" # Let the user override the test with a path.
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_exec_ext
in '' $ac_executable_extensions; do
4596 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4597 ac_cv_path_vi_cv_path_tcl
="$as_dir/$ac_word$ac_exec_ext"
4598 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4607 vi_cv_path_tcl
=$ac_cv_path_vi_cv_path_tcl
4609 if test -n "$vi_cv_path_tcl"; then
4610 echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
4611 echo "${ECHO_T}$vi_cv_path_tcl" >&6
4613 echo "$as_me:$LINENO: result: no" >&5
4614 echo "${ECHO_T}no" >&6
4618 if test "X$vi_cv_path_tcl" != "X"; then
4619 echo "$as_me:$LINENO: checking Tcl version" >&5
4620 echo $ECHO_N "checking Tcl version... $ECHO_C" >&6
4621 if echo 'exit [expr [info tclversion] < 8.0]' |
$vi_cv_path_tcl - ; then
4622 tclver
=`echo 'puts [info tclversion]' | $vi_cv_path_tcl -`
4623 echo "$as_me:$LINENO: result: $tclver - OK" >&5
4624 echo "${ECHO_T}$tclver - OK" >&6;
4625 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 -`
4627 echo "$as_me:$LINENO: checking for location of Tcl include" >&5
4628 echo $ECHO_N "checking for location of Tcl include... $ECHO_C" >&6
4629 if test "x$MACOSX" != "xyes"; then
4630 tclinc
="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/include"
4632 tclinc
="/System/Library/Frameworks/Tcl.framework/Headers"
4634 for try
in $tclinc; do
4635 if test -f "$try/tcl.h"; then
4636 echo "$as_me:$LINENO: result: $try/tcl.h" >&5
4637 echo "${ECHO_T}$try/tcl.h" >&6
4642 if test -z "$TCL_INC"; then
4643 echo "$as_me:$LINENO: result: <not found>" >&5
4644 echo "${ECHO_T}<not found>" >&6
4647 if test -z "$SKIP_TCL"; then
4648 echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
4649 echo $ECHO_N "checking for location of tclConfig.sh script... $ECHO_C" >&6
4650 if test "x$MACOSX" != "xyes"; then
4651 tclcnf
=`echo $tclinc | sed s/include/lib/g`
4653 tclcnf
="/System/Library/Frameworks/Tcl.framework"
4655 for try
in $tclcnf; do
4656 if test -f $try/tclConfig.sh
; then
4657 echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
4658 echo "${ECHO_T}$try/tclConfig.sh" >&6
4660 TCL_LIBS
=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
4661 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'`
4665 if test -z "$TCL_LIBS"; then
4666 echo "$as_me:$LINENO: result: <not found>" >&5
4667 echo "${ECHO_T}<not found>" >&6
4668 echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
4669 echo $ECHO_N "checking for Tcl library by myself... $ECHO_C" >&6
4670 tcllib
=`echo $tclinc | sed s/include/lib/g`
4671 for ext
in .so .a
; do
4672 for ver
in "" $tclver ; do
4673 for try
in $tcllib ; do
4675 if test -f $try/lib
$trylib ; then
4676 echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
4677 echo "${ECHO_T}$try/lib$trylib" >&6
4678 TCL_LIBS
="-L$try -ltcl$ver -ldl -lm"
4679 if test "`(uname) 2>/dev/null`" = SunOS
&&
4680 uname
-r |
grep '^5' >/dev
/null
; then
4681 TCL_LIBS
="$TCL_LIBS -R $try"
4688 if test -z "$TCL_LIBS"; then
4689 echo "$as_me:$LINENO: result: <not found>" >&5
4690 echo "${ECHO_T}<not found>" >&6
4694 if test -z "$SKIP_TCL"; then
4695 cat >>confdefs.h
<<\_ACEOF
4700 TCL_OBJ
=objects
/if_tcl.o
4702 TCL_CFLAGS
="-I$TCL_INC $TCL_DEFS"
4706 echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
4707 echo "${ECHO_T}too old; need Tcl version 8.0 or later" >&6
4717 echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
4718 echo $ECHO_N "checking --enable-rubyinterp argument... $ECHO_C" >&6
4719 # Check whether --enable-rubyinterp or --disable-rubyinterp was given.
4720 if test "${enable_rubyinterp+set}" = set; then
4721 enableval
="$enable_rubyinterp"
4724 enable_rubyinterp
="no"
4726 echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
4727 echo "${ECHO_T}$enable_rubyinterp" >&6
4728 if test "$enable_rubyinterp" = "yes"; then
4730 # Extract the first word of "ruby", so it can be a program name with args.
4731 set dummy ruby
; ac_word
=$2
4732 echo "$as_me:$LINENO: checking for $ac_word" >&5
4733 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4734 if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then
4735 echo $ECHO_N "(cached) $ECHO_C" >&6
4737 case $vi_cv_path_ruby in
4739 ac_cv_path_vi_cv_path_ruby
="$vi_cv_path_ruby" # Let the user override the test with a path.
4742 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4746 test -z "$as_dir" && as_dir
=.
4747 for ac_exec_ext
in '' $ac_executable_extensions; do
4748 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4749 ac_cv_path_vi_cv_path_ruby
="$as_dir/$ac_word$ac_exec_ext"
4750 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4759 vi_cv_path_ruby
=$ac_cv_path_vi_cv_path_ruby
4761 if test -n "$vi_cv_path_ruby"; then
4762 echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
4763 echo "${ECHO_T}$vi_cv_path_ruby" >&6
4765 echo "$as_me:$LINENO: result: no" >&5
4766 echo "${ECHO_T}no" >&6
4769 if test "X$vi_cv_path_ruby" != "X"; then
4770 echo "$as_me:$LINENO: checking Ruby version" >&5
4771 echo $ECHO_N "checking Ruby version... $ECHO_C" >&6
4772 if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev
/null
2>/dev
/null
; then
4773 echo "$as_me:$LINENO: result: OK" >&5
4774 echo "${ECHO_T}OK" >&6
4775 echo "$as_me:$LINENO: checking Ruby header files" >&5
4776 echo $ECHO_N "checking Ruby header files... $ECHO_C" >&6
4777 rubyhdrdir
=`$vi_cv_path_ruby -r mkmf -e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev/null`
4778 if test "X$rubyhdrdir" != "X"; then
4779 echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
4780 echo "${ECHO_T}$rubyhdrdir" >&6
4781 RUBY_CFLAGS
="-I$rubyhdrdir"
4782 rubylibs
=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LIBS"]'`
4783 if test "X$rubylibs" != "X"; then
4784 RUBY_LIBS
="$rubylibs"
4786 librubyarg
=`$vi_cv_path_ruby -r rbconfig -e 'print Config.expand(Config::CONFIG["LIBRUBYARG"])'`
4787 if test -f "$rubyhdrdir/$librubyarg"; then
4788 librubyarg
="$rubyhdrdir/$librubyarg"
4790 rubylibdir
=`$vi_cv_path_ruby -r rbconfig -e 'print Config.expand(Config::CONFIG["libdir"])'`
4791 if test -f "$rubylibdir/$librubyarg"; then
4792 librubyarg
="$rubylibdir/$librubyarg"
4793 elif test "$librubyarg" = "libruby.a"; then
4796 librubyarg
=`$vi_cv_path_ruby -r rbconfig -e "print '$librubyarg'.gsub(/-L\./, %'-L#{Config.expand(Config::CONFIG[\"libdir\"])}')"`
4800 if test "X$librubyarg" != "X"; then
4801 RUBY_LIBS
="$librubyarg $RUBY_LIBS"
4803 rubyldflags
=`$vi_cv_path_ruby -r rbconfig -e 'print Config::CONFIG["LDFLAGS"]'`
4804 if test "X$rubyldflags" != "X"; then
4805 LDFLAGS
="$rubyldflags $LDFLAGS"
4807 RUBY_SRC
="if_ruby.c"
4808 RUBY_OBJ
="objects/if_ruby.o"
4809 RUBY_PRO
="if_ruby.pro"
4810 cat >>confdefs.h
<<\_ACEOF
4815 echo "$as_me:$LINENO: result: not found" >&5
4816 echo "${ECHO_T}not found" >&6
4819 echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
4820 echo "${ECHO_T}too old; need Ruby version 1.6.0 or later" >&6
4830 echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
4831 echo $ECHO_N "checking --enable-cscope argument... $ECHO_C" >&6
4832 # Check whether --enable-cscope or --disable-cscope was given.
4833 if test "${enable_cscope+set}" = set; then
4834 enableval
="$enable_cscope"
4839 echo "$as_me:$LINENO: result: $enable_cscope" >&5
4840 echo "${ECHO_T}$enable_cscope" >&6
4841 if test "$enable_cscope" = "yes"; then
4842 cat >>confdefs.h
<<\_ACEOF
4843 #define FEAT_CSCOPE 1
4848 echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
4849 echo $ECHO_N "checking --enable-workshop argument... $ECHO_C" >&6
4850 # Check whether --enable-workshop or --disable-workshop was given.
4851 if test "${enable_workshop+set}" = set; then
4852 enableval
="$enable_workshop"
4855 enable_workshop
="no"
4857 echo "$as_me:$LINENO: result: $enable_workshop" >&5
4858 echo "${ECHO_T}$enable_workshop" >&6
4859 if test "$enable_workshop" = "yes"; then
4860 cat >>confdefs.h
<<\_ACEOF
4861 #define FEAT_SUN_WORKSHOP 1
4864 WORKSHOP_SRC
="workshop.c integration.c"
4866 WORKSHOP_OBJ
="objects/workshop.o objects/integration.o"
4868 if test "${enable_gui-xxx}" = xxx
; then
4873 echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
4874 echo $ECHO_N "checking --disable-netbeans argument... $ECHO_C" >&6
4875 # Check whether --enable-netbeans or --disable-netbeans was given.
4876 if test "${enable_netbeans+set}" = set; then
4877 enableval
="$enable_netbeans"
4880 enable_netbeans
="yes"
4882 if test "$enable_netbeans" = "yes"; then
4883 echo "$as_me:$LINENO: result: no" >&5
4884 echo "${ECHO_T}no" >&6
4886 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
4887 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
4888 if test "${ac_cv_lib_socket_socket+set}" = set; then
4889 echo $ECHO_N "(cached) $ECHO_C" >&6
4891 ac_check_lib_save_LIBS
=$LIBS
4892 LIBS
="-lsocket $LIBS"
4893 cat >conftest.
$ac_ext <<_ACEOF
4896 cat confdefs.h
>>conftest.
$ac_ext
4897 cat >>conftest.
$ac_ext <<_ACEOF
4898 /* end confdefs.h. */
4900 /* Override any gcc2 internal prototype to avoid an error. */
4904 /* We use char because int might match the return type of a gcc2
4905 builtin and then its argument prototype would still apply. */
4915 rm -f conftest.
$ac_objext conftest
$ac_exeext
4916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4917 (eval $ac_link) 2>conftest.er1
4919 grep -v '^ *+' conftest.er1
>conftest.err
4921 cat conftest.err
>&5
4922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4923 (exit $ac_status); } &&
4924 { ac_try
='test -z "$ac_c_werror_flag"
4925 || test ! -s conftest.err'
4926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4930 (exit $ac_status); }; } &&
4931 { ac_try
='test -s conftest$ac_exeext'
4932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4936 (exit $ac_status); }; }; then
4937 ac_cv_lib_socket_socket
=yes
4939 echo "$as_me: failed program was:" >&5
4940 sed 's/^/| /' conftest.
$ac_ext >&5
4942 ac_cv_lib_socket_socket
=no
4944 rm -f conftest.err conftest.
$ac_objext \
4945 conftest
$ac_exeext conftest.
$ac_ext
4946 LIBS
=$ac_check_lib_save_LIBS
4948 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
4949 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
4950 if test $ac_cv_lib_socket_socket = yes; then
4951 cat >>confdefs.h
<<_ACEOF
4952 #define HAVE_LIBSOCKET 1
4955 LIBS
="-lsocket $LIBS"
4960 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4961 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
4962 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4963 echo $ECHO_N "(cached) $ECHO_C" >&6
4965 ac_check_lib_save_LIBS
=$LIBS
4967 cat >conftest.
$ac_ext <<_ACEOF
4970 cat confdefs.h
>>conftest.
$ac_ext
4971 cat >>conftest.
$ac_ext <<_ACEOF
4972 /* end confdefs.h. */
4974 /* Override any gcc2 internal prototype to avoid an error. */
4978 /* We use char because int might match the return type of a gcc2
4979 builtin and then its argument prototype would still apply. */
4980 char gethostbyname ();
4989 rm -f conftest.
$ac_objext conftest
$ac_exeext
4990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4991 (eval $ac_link) 2>conftest.er1
4993 grep -v '^ *+' conftest.er1
>conftest.err
4995 cat conftest.err
>&5
4996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4997 (exit $ac_status); } &&
4998 { ac_try
='test -z "$ac_c_werror_flag"
4999 || test ! -s conftest.err'
5000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5004 (exit $ac_status); }; } &&
5005 { ac_try
='test -s conftest$ac_exeext'
5006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5010 (exit $ac_status); }; }; then
5011 ac_cv_lib_nsl_gethostbyname
=yes
5013 echo "$as_me: failed program was:" >&5
5014 sed 's/^/| /' conftest.
$ac_ext >&5
5016 ac_cv_lib_nsl_gethostbyname
=no
5018 rm -f conftest.err conftest.
$ac_objext \
5019 conftest
$ac_exeext conftest.
$ac_ext
5020 LIBS
=$ac_check_lib_save_LIBS
5022 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5023 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5024 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5025 cat >>confdefs.h
<<_ACEOF
5026 #define HAVE_LIBNSL 1
5033 echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
5034 echo $ECHO_N "checking whether compiling netbeans integration is possible... $ECHO_C" >&6
5035 cat >conftest.
$ac_ext <<_ACEOF
5038 cat confdefs.h
>>conftest.
$ac_ext
5039 cat >>conftest.
$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5047 #include <netinet/in.h>
5049 #include <sys/types.h>
5050 #include <sys/socket.h>
5051 /* Check bitfields */
5053 unsigned int initDone:1;
5061 /* Check creating a socket. */
5062 struct sockaddr_in server;
5063 (void)socket(AF_INET, SOCK_STREAM, 0);
5065 (void)gethostbyname("microsoft.com");
5066 if (errno == ECONNREFUSED)
5067 (void)connect(1, (struct sockaddr *)&server, sizeof(server));
5073 rm -f conftest.
$ac_objext conftest
$ac_exeext
5074 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5075 (eval $ac_link) 2>conftest.er1
5077 grep -v '^ *+' conftest.er1
>conftest.err
5079 cat conftest.err
>&5
5080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5081 (exit $ac_status); } &&
5082 { ac_try
='test -z "$ac_c_werror_flag"
5083 || test ! -s conftest.err'
5084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); }; } &&
5089 { ac_try
='test -s conftest$ac_exeext'
5090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5094 (exit $ac_status); }; }; then
5095 echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6
5098 echo "$as_me: failed program was:" >&5
5099 sed 's/^/| /' conftest.
$ac_ext >&5
5101 echo "$as_me:$LINENO: result: no" >&5
5102 echo "${ECHO_T}no" >&6; enable_netbeans
="no"
5104 rm -f conftest.err conftest.
$ac_objext \
5105 conftest
$ac_exeext conftest.
$ac_ext
5107 echo "$as_me:$LINENO: result: yes" >&5
5108 echo "${ECHO_T}yes" >&6
5110 if test "$enable_netbeans" = "yes"; then
5111 cat >>confdefs.h
<<\_ACEOF
5112 #define FEAT_NETBEANS_INTG 1
5115 NETBEANS_SRC
="netbeans.c"
5117 NETBEANS_OBJ
="objects/netbeans.o"
5121 echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
5122 echo $ECHO_N "checking --enable-sniff argument... $ECHO_C" >&6
5123 # Check whether --enable-sniff or --disable-sniff was given.
5124 if test "${enable_sniff+set}" = set; then
5125 enableval
="$enable_sniff"
5130 echo "$as_me:$LINENO: result: $enable_sniff" >&5
5131 echo "${ECHO_T}$enable_sniff" >&6
5132 if test "$enable_sniff" = "yes"; then
5133 cat >>confdefs.h
<<\_ACEOF
5134 #define FEAT_SNIFF 1
5137 SNIFF_SRC
="if_sniff.c"
5139 SNIFF_OBJ
="objects/if_sniff.o"
5143 echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
5144 echo $ECHO_N "checking --enable-multibyte argument... $ECHO_C" >&6
5145 # Check whether --enable-multibyte or --disable-multibyte was given.
5146 if test "${enable_multibyte+set}" = set; then
5147 enableval
="$enable_multibyte"
5150 enable_multibyte
="no"
5152 echo "$as_me:$LINENO: result: $enable_multibyte" >&5
5153 echo "${ECHO_T}$enable_multibyte" >&6
5154 if test "$enable_multibyte" = "yes"; then
5155 cat >>confdefs.h
<<\_ACEOF
5156 #define FEAT_MBYTE 1
5161 echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
5162 echo $ECHO_N "checking --enable-hangulinput argument... $ECHO_C" >&6
5163 # Check whether --enable-hangulinput or --disable-hangulinput was given.
5164 if test "${enable_hangulinput+set}" = set; then
5165 enableval
="$enable_hangulinput"
5168 enable_hangulinput
="no"
5170 echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
5171 echo "${ECHO_T}$enable_hangulinput" >&6
5173 echo "$as_me:$LINENO: checking --enable-xim argument" >&5
5174 echo $ECHO_N "checking --enable-xim argument... $ECHO_C" >&6
5175 # Check whether --enable-xim or --disable-xim was given.
5176 if test "${enable_xim+set}" = set; then
5177 enableval
="$enable_xim"
5178 echo "$as_me:$LINENO: result: $enable_xim" >&5
5179 echo "${ECHO_T}$enable_xim" >&6
5181 enable_xim
="auto"; echo "$as_me:$LINENO: result: defaulting to auto" >&5
5182 echo "${ECHO_T}defaulting to auto" >&6
5185 echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
5186 echo $ECHO_N "checking --enable-fontset argument... $ECHO_C" >&6
5187 # Check whether --enable-fontset or --disable-fontset was given.
5188 if test "${enable_fontset+set}" = set; then
5189 enableval
="$enable_fontset"
5194 echo "$as_me:$LINENO: result: $enable_fontset" >&5
5195 echo "${ECHO_T}$enable_fontset" >&6
5197 test -z "$with_x" && with_x
=yes
5198 test "${enable_gui-yes}" != no
-a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && with_x
=yes
5199 if test "$with_x" = no
; then
5200 echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
5201 echo "${ECHO_T}defaulting to: don't HAVE_X11" >&6
5204 # Extract the first word of "xmkmf", so it can be a program name with args.
5205 set dummy xmkmf
; ac_word
=$2
5206 echo "$as_me:$LINENO: checking for $ac_word" >&5
5207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5208 if test "${ac_cv_path_xmkmfpath+set}" = set; then
5209 echo $ECHO_N "(cached) $ECHO_C" >&6
5213 ac_cv_path_xmkmfpath
="$xmkmfpath" # Let the user override the test with a path.
5216 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5220 test -z "$as_dir" && as_dir
=.
5221 for ac_exec_ext
in '' $ac_executable_extensions; do
5222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5223 ac_cv_path_xmkmfpath
="$as_dir/$ac_word$ac_exec_ext"
5224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5233 xmkmfpath
=$ac_cv_path_xmkmfpath
5235 if test -n "$xmkmfpath"; then
5236 echo "$as_me:$LINENO: result: $xmkmfpath" >&5
5237 echo "${ECHO_T}$xmkmfpath" >&6
5239 echo "$as_me:$LINENO: result: no" >&5
5240 echo "${ECHO_T}no" >&6
5244 echo "$as_me:$LINENO: checking for X" >&5
5245 echo $ECHO_N "checking for X... $ECHO_C" >&6
5248 # Check whether --with-x or --without-x was given.
5249 if test "${with_x+set}" = set; then
5253 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
5254 if test "x$with_x" = xno
; then
5255 # The user explicitly disabled X.
5258 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
5259 # Both variables are already set.
5262 if test "${ac_cv_have_x+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5265 # One or both of the vars are not set, and there is no cached value.
5266 ac_x_includes
=no ac_x_libraries
=no
5268 if mkdir conftest.dir
; then
5270 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
5271 cat >Imakefile
<<'_ACEOF'
5273 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
5275 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
5276 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
5277 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
5278 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
5279 for ac_extension
in a so sl
; do
5280 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
5281 test -f $ac_im_libdir/libX11.
$ac_extension; then
5282 ac_im_usrlibdir
=$ac_im_libdir; break
5285 # Screen out bogus values from the imake configuration. They are
5286 # bogus both because they are the default anyway, and because
5287 # using them would break gcc on systems where it needs fixed includes.
5288 case $ac_im_incroot in
5290 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
5292 case $ac_im_usrlibdir in
5294 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
5301 # Standard set of common directories for X headers.
5302 # Check X11 before X11Rn because it is often a symlink to the current release.
5314 /usr/local/X11/include
5315 /usr/local/X11R6/include
5316 /usr/local/X11R5/include
5317 /usr/local/X11R4/include
5319 /usr/local/include/X11
5320 /usr/local/include/X11R6
5321 /usr/local/include/X11R5
5322 /usr/local/include/X11R4
5326 /usr/XFree86/include/X11
5330 /usr/unsupported/include
5332 /usr/local/x11r5/include
5333 /usr/lpp/Xamples/include
5335 /usr/openwin/include
5336 /usr/openwin/share/include'
5338 if test "$ac_x_includes" = no
; then
5339 # Guess where to find include files, by looking for Intrinsic.h.
5340 # First, try using that file with no special directory specified.
5341 cat >conftest.
$ac_ext <<_ACEOF
5344 cat confdefs.h
>>conftest.
$ac_ext
5345 cat >>conftest.
$ac_ext <<_ACEOF
5346 /* end confdefs.h. */
5347 #include <X11/Intrinsic.h>
5349 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5350 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
5352 grep -v '^ *+' conftest.er1
>conftest.err
5354 cat conftest.err
>&5
5355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5356 (exit $ac_status); } >/dev
/null
; then
5357 if test -s conftest.err
; then
5358 ac_cpp_err
=$ac_c_preproc_warn_flag
5359 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
5366 if test -z "$ac_cpp_err"; then
5367 # We can compile using X headers with no special include directory.
5370 echo "$as_me: failed program was:" >&5
5371 sed 's/^/| /' conftest.
$ac_ext >&5
5373 for ac_dir
in $ac_x_header_dirs; do
5374 if test -r "$ac_dir/X11/Intrinsic.h"; then
5375 ac_x_includes
=$ac_dir
5380 rm -f conftest.err conftest.
$ac_ext
5381 fi # $ac_x_includes = no
5383 if test "$ac_x_libraries" = no
; then
5384 # Check for the libraries.
5385 # See if we find them without any special options.
5386 # Don't add to $LIBS permanently.
5389 cat >conftest.
$ac_ext <<_ACEOF
5392 cat confdefs.h
>>conftest.
$ac_ext
5393 cat >>conftest.
$ac_ext <<_ACEOF
5394 /* end confdefs.h. */
5395 #include <X11/Intrinsic.h>
5404 rm -f conftest.
$ac_objext conftest
$ac_exeext
5405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5406 (eval $ac_link) 2>conftest.er1
5408 grep -v '^ *+' conftest.er1
>conftest.err
5410 cat conftest.err
>&5
5411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5412 (exit $ac_status); } &&
5413 { ac_try
='test -z "$ac_c_werror_flag"
5414 || test ! -s conftest.err'
5415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5419 (exit $ac_status); }; } &&
5420 { ac_try
='test -s conftest$ac_exeext'
5421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5425 (exit $ac_status); }; }; then
5427 # We can link X programs with no special library path.
5430 echo "$as_me: failed program was:" >&5
5431 sed 's/^/| /' conftest.
$ac_ext >&5
5434 for ac_dir
in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
5436 # Don't even attempt the hair of trying to link an X program!
5437 for ac_extension
in a so sl
; do
5438 if test -r $ac_dir/libXt.
$ac_extension; then
5439 ac_x_libraries
=$ac_dir
5445 rm -f conftest.err conftest.
$ac_objext \
5446 conftest
$ac_exeext conftest.
$ac_ext
5447 fi # $ac_x_libraries = no
5449 if test "$ac_x_includes" = no ||
test "$ac_x_libraries" = no
; then
5450 # Didn't find X anywhere. Cache the known absence of X.
5451 ac_cv_have_x
="have_x=no"
5453 # Record where we found X for the cache.
5454 ac_cv_have_x
="have_x=yes \
5455 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
5460 eval "$ac_cv_have_x"
5463 if test "$have_x" != yes; then
5464 echo "$as_me:$LINENO: result: $have_x" >&5
5465 echo "${ECHO_T}$have_x" >&6
5468 # If each of the values was on the command line, it overrides each guess.
5469 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
5470 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
5471 # Update the cache value to reflect the command line values.
5472 ac_cv_have_x
="have_x=yes \
5473 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
5474 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
5475 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6
5478 if test "$no_x" = yes; then
5479 # Not all programs may use this symbol, but it does not hurt to define it.
5481 cat >>confdefs.h
<<\_ACEOF
5482 #define X_DISPLAY_MISSING 1
5485 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
5487 if test -n "$x_includes"; then
5488 X_CFLAGS
="$X_CFLAGS -I$x_includes"
5491 # It would also be nice to do this for all -L options, not just this one.
5492 if test -n "$x_libraries"; then
5493 X_LIBS
="$X_LIBS -L$x_libraries"
5494 # For Solaris; some versions of Sun CC require a space after -R and
5495 # others require no space. Words are not sufficient . . . .
5496 case `(uname -sr) 2>/dev/null` in
5498 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
5499 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
5500 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
5501 cat >conftest.
$ac_ext <<_ACEOF
5504 cat confdefs.h
>>conftest.
$ac_ext
5505 cat >>conftest.
$ac_ext <<_ACEOF
5506 /* end confdefs.h. */
5516 rm -f conftest.
$ac_objext conftest
$ac_exeext
5517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5518 (eval $ac_link) 2>conftest.er1
5520 grep -v '^ *+' conftest.er1
>conftest.err
5522 cat conftest.err
>&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } &&
5525 { ac_try
='test -z "$ac_c_werror_flag"
5526 || test ! -s conftest.err'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; } &&
5532 { ac_try
='test -s conftest$ac_exeext'
5533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); }; }; then
5540 echo "$as_me: failed program was:" >&5
5541 sed 's/^/| /' conftest.
$ac_ext >&5
5545 rm -f conftest.err conftest.
$ac_objext \
5546 conftest
$ac_exeext conftest.
$ac_ext
5547 if test $ac_R_nospace = yes; then
5548 echo "$as_me:$LINENO: result: no" >&5
5549 echo "${ECHO_T}no" >&6
5550 X_LIBS
="$X_LIBS -R$x_libraries"
5552 LIBS
="$ac_xsave_LIBS -R $x_libraries"
5553 cat >conftest.
$ac_ext <<_ACEOF
5556 cat confdefs.h
>>conftest.
$ac_ext
5557 cat >>conftest.
$ac_ext <<_ACEOF
5558 /* end confdefs.h. */
5568 rm -f conftest.
$ac_objext conftest
$ac_exeext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570 (eval $ac_link) 2>conftest.er1
5572 grep -v '^ *+' conftest.er1
>conftest.err
5574 cat conftest.err
>&5
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); } &&
5577 { ac_try
='test -z "$ac_c_werror_flag"
5578 || test ! -s conftest.err'
5579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); }; } &&
5584 { ac_try
='test -s conftest$ac_exeext'
5585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5589 (exit $ac_status); }; }; then
5592 echo "$as_me: failed program was:" >&5
5593 sed 's/^/| /' conftest.
$ac_ext >&5
5597 rm -f conftest.err conftest.
$ac_objext \
5598 conftest
$ac_exeext conftest.
$ac_ext
5599 if test $ac_R_space = yes; then
5600 echo "$as_me:$LINENO: result: yes" >&5
5601 echo "${ECHO_T}yes" >&6
5602 X_LIBS
="$X_LIBS -R $x_libraries"
5604 echo "$as_me:$LINENO: result: neither works" >&5
5605 echo "${ECHO_T}neither works" >&6
5612 # Check for system-dependent libraries X programs must link with.
5613 # Do this before checking for the system-independent R6 libraries
5614 # (-lICE), since we may need -lsocket or whatever for X linking.
5616 if test "$ISC" = yes; then
5617 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
5619 # Martyn Johnson says this is needed for Ultrix, if the X
5620 # libraries were built with DECnet support. And Karl Berry says
5621 # the Alpha needs dnet_stub (dnet does not exist).
5622 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
5623 cat >conftest.
$ac_ext <<_ACEOF
5626 cat confdefs.h
>>conftest.
$ac_ext
5627 cat >>conftest.
$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5630 /* Override any gcc2 internal prototype to avoid an error. */
5634 /* We use char because int might match the return type of a gcc2
5635 builtin and then its argument prototype would still apply. */
5636 char XOpenDisplay ();
5645 rm -f conftest.
$ac_objext conftest
$ac_exeext
5646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5647 (eval $ac_link) 2>conftest.er1
5649 grep -v '^ *+' conftest.er1
>conftest.err
5651 cat conftest.err
>&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } &&
5654 { ac_try
='test -z "$ac_c_werror_flag"
5655 || test ! -s conftest.err'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; } &&
5661 { ac_try
='test -s conftest$ac_exeext'
5662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; }; then
5669 echo "$as_me: failed program was:" >&5
5670 sed 's/^/| /' conftest.
$ac_ext >&5
5672 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
5673 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
5674 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6
5677 ac_check_lib_save_LIBS
=$LIBS
5679 cat >conftest.
$ac_ext <<_ACEOF
5682 cat confdefs.h
>>conftest.
$ac_ext
5683 cat >>conftest.
$ac_ext <<_ACEOF
5684 /* end confdefs.h. */
5686 /* Override any gcc2 internal prototype to avoid an error. */
5690 /* We use char because int might match the return type of a gcc2
5691 builtin and then its argument prototype would still apply. */
5701 rm -f conftest.
$ac_objext conftest
$ac_exeext
5702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5703 (eval $ac_link) 2>conftest.er1
5705 grep -v '^ *+' conftest.er1
>conftest.err
5707 cat conftest.err
>&5
5708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5709 (exit $ac_status); } &&
5710 { ac_try
='test -z "$ac_c_werror_flag"
5711 || test ! -s conftest.err'
5712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5716 (exit $ac_status); }; } &&
5717 { ac_try
='test -s conftest$ac_exeext'
5718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5722 (exit $ac_status); }; }; then
5723 ac_cv_lib_dnet_dnet_ntoa
=yes
5725 echo "$as_me: failed program was:" >&5
5726 sed 's/^/| /' conftest.
$ac_ext >&5
5728 ac_cv_lib_dnet_dnet_ntoa
=no
5730 rm -f conftest.err conftest.
$ac_objext \
5731 conftest
$ac_exeext conftest.
$ac_ext
5732 LIBS
=$ac_check_lib_save_LIBS
5734 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
5735 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
5736 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
5737 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
5740 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
5741 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
5742 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
5743 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
5744 echo $ECHO_N "(cached) $ECHO_C" >&6
5746 ac_check_lib_save_LIBS
=$LIBS
5747 LIBS
="-ldnet_stub $LIBS"
5748 cat >conftest.
$ac_ext <<_ACEOF
5751 cat confdefs.h
>>conftest.
$ac_ext
5752 cat >>conftest.
$ac_ext <<_ACEOF
5753 /* end confdefs.h. */
5755 /* Override any gcc2 internal prototype to avoid an error. */
5759 /* We use char because int might match the return type of a gcc2
5760 builtin and then its argument prototype would still apply. */
5770 rm -f conftest.
$ac_objext conftest
$ac_exeext
5771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5772 (eval $ac_link) 2>conftest.er1
5774 grep -v '^ *+' conftest.er1
>conftest.err
5776 cat conftest.err
>&5
5777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5778 (exit $ac_status); } &&
5779 { ac_try
='test -z "$ac_c_werror_flag"
5780 || test ! -s conftest.err'
5781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5785 (exit $ac_status); }; } &&
5786 { ac_try
='test -s conftest$ac_exeext'
5787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5791 (exit $ac_status); }; }; then
5792 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
5794 echo "$as_me: failed program was:" >&5
5795 sed 's/^/| /' conftest.
$ac_ext >&5
5797 ac_cv_lib_dnet_stub_dnet_ntoa
=no
5799 rm -f conftest.err conftest.
$ac_objext \
5800 conftest
$ac_exeext conftest.
$ac_ext
5801 LIBS
=$ac_check_lib_save_LIBS
5803 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
5804 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
5805 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
5806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
5811 rm -f conftest.err conftest.
$ac_objext \
5812 conftest
$ac_exeext conftest.
$ac_ext
5813 LIBS
="$ac_xsave_LIBS"
5815 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
5816 # to get the SysV transport functions.
5817 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
5819 # The nsl library prevents programs from opening the X display
5820 # on Irix 5.2, according to T.E. Dickey.
5821 # The functions gethostbyname, getservbyname, and inet_addr are
5822 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
5823 echo "$as_me:$LINENO: checking for gethostbyname" >&5
5824 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
5825 if test "${ac_cv_func_gethostbyname+set}" = set; then
5826 echo $ECHO_N "(cached) $ECHO_C" >&6
5828 cat >conftest.
$ac_ext <<_ACEOF
5831 cat confdefs.h
>>conftest.
$ac_ext
5832 cat >>conftest.
$ac_ext <<_ACEOF
5833 /* end confdefs.h. */
5834 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
5835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5836 #define gethostbyname innocuous_gethostbyname
5838 /* System header to define __stub macros and hopefully few prototypes,
5839 which can conflict with char gethostbyname (); below.
5840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5841 <limits.h> exists even on freestanding compilers. */
5844 # include <limits.h>
5846 # include <assert.h>
5849 #undef gethostbyname
5851 /* Override any gcc2 internal prototype to avoid an error. */
5856 /* We use char because int might match the return type of a gcc2
5857 builtin and then its argument prototype would still apply. */
5858 char gethostbyname ();
5859 /* The GNU C library defines this for functions which it implements
5860 to always fail with ENOSYS. Some functions are actually named
5861 something starting with __ and the normal name is an alias. */
5862 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
5865 char (*f) () = gethostbyname;
5874 return f != gethostbyname;
5879 rm -f conftest.
$ac_objext conftest
$ac_exeext
5880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5881 (eval $ac_link) 2>conftest.er1
5883 grep -v '^ *+' conftest.er1
>conftest.err
5885 cat conftest.err
>&5
5886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5887 (exit $ac_status); } &&
5888 { ac_try
='test -z "$ac_c_werror_flag"
5889 || test ! -s conftest.err'
5890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); }; } &&
5895 { ac_try
='test -s conftest$ac_exeext'
5896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5900 (exit $ac_status); }; }; then
5901 ac_cv_func_gethostbyname
=yes
5903 echo "$as_me: failed program was:" >&5
5904 sed 's/^/| /' conftest.
$ac_ext >&5
5906 ac_cv_func_gethostbyname
=no
5908 rm -f conftest.err conftest.
$ac_objext \
5909 conftest
$ac_exeext conftest.
$ac_ext
5911 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
5912 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
5914 if test $ac_cv_func_gethostbyname = no
; then
5915 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5916 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5917 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5918 echo $ECHO_N "(cached) $ECHO_C" >&6
5920 ac_check_lib_save_LIBS
=$LIBS
5922 cat >conftest.
$ac_ext <<_ACEOF
5925 cat confdefs.h
>>conftest.
$ac_ext
5926 cat >>conftest.
$ac_ext <<_ACEOF
5927 /* end confdefs.h. */
5929 /* Override any gcc2 internal prototype to avoid an error. */
5933 /* We use char because int might match the return type of a gcc2
5934 builtin and then its argument prototype would still apply. */
5935 char gethostbyname ();
5944 rm -f conftest.
$ac_objext conftest
$ac_exeext
5945 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5946 (eval $ac_link) 2>conftest.er1
5948 grep -v '^ *+' conftest.er1
>conftest.err
5950 cat conftest.err
>&5
5951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5952 (exit $ac_status); } &&
5953 { ac_try
='test -z "$ac_c_werror_flag"
5954 || test ! -s conftest.err'
5955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); }; } &&
5960 { ac_try
='test -s conftest$ac_exeext'
5961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5965 (exit $ac_status); }; }; then
5966 ac_cv_lib_nsl_gethostbyname
=yes
5968 echo "$as_me: failed program was:" >&5
5969 sed 's/^/| /' conftest.
$ac_ext >&5
5971 ac_cv_lib_nsl_gethostbyname
=no
5973 rm -f conftest.err conftest.
$ac_objext \
5974 conftest
$ac_exeext conftest.
$ac_ext
5975 LIBS
=$ac_check_lib_save_LIBS
5977 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5978 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5979 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5980 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
5983 if test $ac_cv_lib_nsl_gethostbyname = no
; then
5984 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
5985 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
5986 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
5987 echo $ECHO_N "(cached) $ECHO_C" >&6
5989 ac_check_lib_save_LIBS
=$LIBS
5991 cat >conftest.
$ac_ext <<_ACEOF
5994 cat confdefs.h
>>conftest.
$ac_ext
5995 cat >>conftest.
$ac_ext <<_ACEOF
5996 /* end confdefs.h. */
5998 /* Override any gcc2 internal prototype to avoid an error. */
6002 /* We use char because int might match the return type of a gcc2
6003 builtin and then its argument prototype would still apply. */
6004 char gethostbyname ();
6013 rm -f conftest.
$ac_objext conftest
$ac_exeext
6014 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6015 (eval $ac_link) 2>conftest.er1
6017 grep -v '^ *+' conftest.er1
>conftest.err
6019 cat conftest.err
>&5
6020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6021 (exit $ac_status); } &&
6022 { ac_try
='test -z "$ac_c_werror_flag"
6023 || test ! -s conftest.err'
6024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6028 (exit $ac_status); }; } &&
6029 { ac_try
='test -s conftest$ac_exeext'
6030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6034 (exit $ac_status); }; }; then
6035 ac_cv_lib_bsd_gethostbyname
=yes
6037 echo "$as_me: failed program was:" >&5
6038 sed 's/^/| /' conftest.
$ac_ext >&5
6040 ac_cv_lib_bsd_gethostbyname
=no
6042 rm -f conftest.err conftest.
$ac_objext \
6043 conftest
$ac_exeext conftest.
$ac_ext
6044 LIBS
=$ac_check_lib_save_LIBS
6046 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6047 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
6048 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6049 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
6055 # lieder@skyler.mavd.honeywell.com says without -lsocket,
6056 # socket/setsockopt and other routines are undefined under SCO ODT
6057 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
6058 # on later versions), says Simon Leinen: it contains gethostby*
6059 # variants that don't use the name server (or something). -lsocket
6060 # must be given before -lnsl if both are needed. We assume that
6061 # if connect needs -lnsl, so does gethostbyname.
6062 echo "$as_me:$LINENO: checking for connect" >&5
6063 echo $ECHO_N "checking for connect... $ECHO_C" >&6
6064 if test "${ac_cv_func_connect+set}" = set; then
6065 echo $ECHO_N "(cached) $ECHO_C" >&6
6067 cat >conftest.
$ac_ext <<_ACEOF
6070 cat confdefs.h
>>conftest.
$ac_ext
6071 cat >>conftest.
$ac_ext <<_ACEOF
6072 /* end confdefs.h. */
6073 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
6074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6075 #define connect innocuous_connect
6077 /* System header to define __stub macros and hopefully few prototypes,
6078 which can conflict with char connect (); below.
6079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6080 <limits.h> exists even on freestanding compilers. */
6083 # include <limits.h>
6085 # include <assert.h>
6090 /* Override any gcc2 internal prototype to avoid an error. */
6095 /* We use char because int might match the return type of a gcc2
6096 builtin and then its argument prototype would still apply. */
6098 /* The GNU C library defines this for functions which it implements
6099 to always fail with ENOSYS. Some functions are actually named
6100 something starting with __ and the normal name is an alias. */
6101 #if defined (__stub_connect) || defined (__stub___connect)
6104 char (*f) () = connect;
6113 return f != connect;
6118 rm -f conftest.
$ac_objext conftest
$ac_exeext
6119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6120 (eval $ac_link) 2>conftest.er1
6122 grep -v '^ *+' conftest.er1
>conftest.err
6124 cat conftest.err
>&5
6125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6126 (exit $ac_status); } &&
6127 { ac_try
='test -z "$ac_c_werror_flag"
6128 || test ! -s conftest.err'
6129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); }; } &&
6134 { ac_try
='test -s conftest$ac_exeext'
6135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6139 (exit $ac_status); }; }; then
6140 ac_cv_func_connect
=yes
6142 echo "$as_me: failed program was:" >&5
6143 sed 's/^/| /' conftest.
$ac_ext >&5
6145 ac_cv_func_connect
=no
6147 rm -f conftest.err conftest.
$ac_objext \
6148 conftest
$ac_exeext conftest.
$ac_ext
6150 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
6151 echo "${ECHO_T}$ac_cv_func_connect" >&6
6153 if test $ac_cv_func_connect = no
; then
6154 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
6155 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
6156 if test "${ac_cv_lib_socket_connect+set}" = set; then
6157 echo $ECHO_N "(cached) $ECHO_C" >&6
6159 ac_check_lib_save_LIBS
=$LIBS
6160 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
6161 cat >conftest.
$ac_ext <<_ACEOF
6164 cat confdefs.h
>>conftest.
$ac_ext
6165 cat >>conftest.
$ac_ext <<_ACEOF
6166 /* end confdefs.h. */
6168 /* Override any gcc2 internal prototype to avoid an error. */
6172 /* We use char because int might match the return type of a gcc2
6173 builtin and then its argument prototype would still apply. */
6183 rm -f conftest.
$ac_objext conftest
$ac_exeext
6184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6185 (eval $ac_link) 2>conftest.er1
6187 grep -v '^ *+' conftest.er1
>conftest.err
6189 cat conftest.err
>&5
6190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6191 (exit $ac_status); } &&
6192 { ac_try
='test -z "$ac_c_werror_flag"
6193 || test ! -s conftest.err'
6194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6198 (exit $ac_status); }; } &&
6199 { ac_try
='test -s conftest$ac_exeext'
6200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6204 (exit $ac_status); }; }; then
6205 ac_cv_lib_socket_connect
=yes
6207 echo "$as_me: failed program was:" >&5
6208 sed 's/^/| /' conftest.
$ac_ext >&5
6210 ac_cv_lib_socket_connect
=no
6212 rm -f conftest.err conftest.
$ac_objext \
6213 conftest
$ac_exeext conftest.
$ac_ext
6214 LIBS
=$ac_check_lib_save_LIBS
6216 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
6217 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
6218 if test $ac_cv_lib_socket_connect = yes; then
6219 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
6224 # Guillermo Gomez says -lposix is necessary on A/UX.
6225 echo "$as_me:$LINENO: checking for remove" >&5
6226 echo $ECHO_N "checking for remove... $ECHO_C" >&6
6227 if test "${ac_cv_func_remove+set}" = set; then
6228 echo $ECHO_N "(cached) $ECHO_C" >&6
6230 cat >conftest.
$ac_ext <<_ACEOF
6233 cat confdefs.h
>>conftest.
$ac_ext
6234 cat >>conftest.
$ac_ext <<_ACEOF
6235 /* end confdefs.h. */
6236 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
6237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6238 #define remove innocuous_remove
6240 /* System header to define __stub macros and hopefully few prototypes,
6241 which can conflict with char remove (); below.
6242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6243 <limits.h> exists even on freestanding compilers. */
6246 # include <limits.h>
6248 # include <assert.h>
6253 /* Override any gcc2 internal prototype to avoid an error. */
6258 /* We use char because int might match the return type of a gcc2
6259 builtin and then its argument prototype would still apply. */
6261 /* The GNU C library defines this for functions which it implements
6262 to always fail with ENOSYS. Some functions are actually named
6263 something starting with __ and the normal name is an alias. */
6264 #if defined (__stub_remove) || defined (__stub___remove)
6267 char (*f) () = remove;
6281 rm -f conftest.
$ac_objext conftest
$ac_exeext
6282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6283 (eval $ac_link) 2>conftest.er1
6285 grep -v '^ *+' conftest.er1
>conftest.err
6287 cat conftest.err
>&5
6288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6289 (exit $ac_status); } &&
6290 { ac_try
='test -z "$ac_c_werror_flag"
6291 || test ! -s conftest.err'
6292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6296 (exit $ac_status); }; } &&
6297 { ac_try
='test -s conftest$ac_exeext'
6298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6302 (exit $ac_status); }; }; then
6303 ac_cv_func_remove
=yes
6305 echo "$as_me: failed program was:" >&5
6306 sed 's/^/| /' conftest.
$ac_ext >&5
6308 ac_cv_func_remove
=no
6310 rm -f conftest.err conftest.
$ac_objext \
6311 conftest
$ac_exeext conftest.
$ac_ext
6313 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
6314 echo "${ECHO_T}$ac_cv_func_remove" >&6
6316 if test $ac_cv_func_remove = no
; then
6317 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
6318 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
6319 if test "${ac_cv_lib_posix_remove+set}" = set; then
6320 echo $ECHO_N "(cached) $ECHO_C" >&6
6322 ac_check_lib_save_LIBS
=$LIBS
6323 LIBS
="-lposix $LIBS"
6324 cat >conftest.
$ac_ext <<_ACEOF
6327 cat confdefs.h
>>conftest.
$ac_ext
6328 cat >>conftest.
$ac_ext <<_ACEOF
6329 /* end confdefs.h. */
6331 /* Override any gcc2 internal prototype to avoid an error. */
6335 /* We use char because int might match the return type of a gcc2
6336 builtin and then its argument prototype would still apply. */
6346 rm -f conftest.
$ac_objext conftest
$ac_exeext
6347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6348 (eval $ac_link) 2>conftest.er1
6350 grep -v '^ *+' conftest.er1
>conftest.err
6352 cat conftest.err
>&5
6353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6354 (exit $ac_status); } &&
6355 { ac_try
='test -z "$ac_c_werror_flag"
6356 || test ! -s conftest.err'
6357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6361 (exit $ac_status); }; } &&
6362 { ac_try
='test -s conftest$ac_exeext'
6363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6367 (exit $ac_status); }; }; then
6368 ac_cv_lib_posix_remove
=yes
6370 echo "$as_me: failed program was:" >&5
6371 sed 's/^/| /' conftest.
$ac_ext >&5
6373 ac_cv_lib_posix_remove
=no
6375 rm -f conftest.err conftest.
$ac_objext \
6376 conftest
$ac_exeext conftest.
$ac_ext
6377 LIBS
=$ac_check_lib_save_LIBS
6379 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
6380 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
6381 if test $ac_cv_lib_posix_remove = yes; then
6382 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
6387 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
6388 echo "$as_me:$LINENO: checking for shmat" >&5
6389 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
6390 if test "${ac_cv_func_shmat+set}" = set; then
6391 echo $ECHO_N "(cached) $ECHO_C" >&6
6393 cat >conftest.
$ac_ext <<_ACEOF
6396 cat confdefs.h
>>conftest.
$ac_ext
6397 cat >>conftest.
$ac_ext <<_ACEOF
6398 /* end confdefs.h. */
6399 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
6400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6401 #define shmat innocuous_shmat
6403 /* System header to define __stub macros and hopefully few prototypes,
6404 which can conflict with char shmat (); below.
6405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6406 <limits.h> exists even on freestanding compilers. */
6409 # include <limits.h>
6411 # include <assert.h>
6416 /* Override any gcc2 internal prototype to avoid an error. */
6421 /* We use char because int might match the return type of a gcc2
6422 builtin and then its argument prototype would still apply. */
6424 /* The GNU C library defines this for functions which it implements
6425 to always fail with ENOSYS. Some functions are actually named
6426 something starting with __ and the normal name is an alias. */
6427 #if defined (__stub_shmat) || defined (__stub___shmat)
6430 char (*f) () = shmat;
6444 rm -f conftest.
$ac_objext conftest
$ac_exeext
6445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6446 (eval $ac_link) 2>conftest.er1
6448 grep -v '^ *+' conftest.er1
>conftest.err
6450 cat conftest.err
>&5
6451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6452 (exit $ac_status); } &&
6453 { ac_try
='test -z "$ac_c_werror_flag"
6454 || test ! -s conftest.err'
6455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6459 (exit $ac_status); }; } &&
6460 { ac_try
='test -s conftest$ac_exeext'
6461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6465 (exit $ac_status); }; }; then
6466 ac_cv_func_shmat
=yes
6468 echo "$as_me: failed program was:" >&5
6469 sed 's/^/| /' conftest.
$ac_ext >&5
6473 rm -f conftest.err conftest.
$ac_objext \
6474 conftest
$ac_exeext conftest.
$ac_ext
6476 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
6477 echo "${ECHO_T}$ac_cv_func_shmat" >&6
6479 if test $ac_cv_func_shmat = no
; then
6480 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
6481 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
6482 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
6483 echo $ECHO_N "(cached) $ECHO_C" >&6
6485 ac_check_lib_save_LIBS
=$LIBS
6487 cat >conftest.
$ac_ext <<_ACEOF
6490 cat confdefs.h
>>conftest.
$ac_ext
6491 cat >>conftest.
$ac_ext <<_ACEOF
6492 /* end confdefs.h. */
6494 /* Override any gcc2 internal prototype to avoid an error. */
6498 /* We use char because int might match the return type of a gcc2
6499 builtin and then its argument prototype would still apply. */
6509 rm -f conftest.
$ac_objext conftest
$ac_exeext
6510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6511 (eval $ac_link) 2>conftest.er1
6513 grep -v '^ *+' conftest.er1
>conftest.err
6515 cat conftest.err
>&5
6516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6517 (exit $ac_status); } &&
6518 { ac_try
='test -z "$ac_c_werror_flag"
6519 || test ! -s conftest.err'
6520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6524 (exit $ac_status); }; } &&
6525 { ac_try
='test -s conftest$ac_exeext'
6526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6530 (exit $ac_status); }; }; then
6531 ac_cv_lib_ipc_shmat
=yes
6533 echo "$as_me: failed program was:" >&5
6534 sed 's/^/| /' conftest.
$ac_ext >&5
6536 ac_cv_lib_ipc_shmat
=no
6538 rm -f conftest.err conftest.
$ac_objext \
6539 conftest
$ac_exeext conftest.
$ac_ext
6540 LIBS
=$ac_check_lib_save_LIBS
6542 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
6543 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
6544 if test $ac_cv_lib_ipc_shmat = yes; then
6545 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
6551 # Check for libraries that X11R6 Xt/Xaw programs need.
6552 ac_save_LDFLAGS
=$LDFLAGS
6553 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
6554 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
6555 # check for ICE first), but we must link in the order -lSM -lICE or
6556 # we get undefined symbols. So assume we have SM if we have ICE.
6557 # These have to be linked with before -lX11, unlike the other
6558 # libraries we check for below, so use a different variable.
6559 # John Interrante, Karl Berry
6560 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
6561 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
6562 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
6563 echo $ECHO_N "(cached) $ECHO_C" >&6
6565 ac_check_lib_save_LIBS
=$LIBS
6566 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6567 cat >conftest.
$ac_ext <<_ACEOF
6570 cat confdefs.h
>>conftest.
$ac_ext
6571 cat >>conftest.
$ac_ext <<_ACEOF
6572 /* end confdefs.h. */
6574 /* Override any gcc2 internal prototype to avoid an error. */
6578 /* We use char because int might match the return type of a gcc2
6579 builtin and then its argument prototype would still apply. */
6580 char IceConnectionNumber ();
6584 IceConnectionNumber ();
6589 rm -f conftest.
$ac_objext conftest
$ac_exeext
6590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6591 (eval $ac_link) 2>conftest.er1
6593 grep -v '^ *+' conftest.er1
>conftest.err
6595 cat conftest.err
>&5
6596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6597 (exit $ac_status); } &&
6598 { ac_try
='test -z "$ac_c_werror_flag"
6599 || test ! -s conftest.err'
6600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6604 (exit $ac_status); }; } &&
6605 { ac_try
='test -s conftest$ac_exeext'
6606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6610 (exit $ac_status); }; }; then
6611 ac_cv_lib_ICE_IceConnectionNumber
=yes
6613 echo "$as_me: failed program was:" >&5
6614 sed 's/^/| /' conftest.
$ac_ext >&5
6616 ac_cv_lib_ICE_IceConnectionNumber
=no
6618 rm -f conftest.err conftest.
$ac_objext \
6619 conftest
$ac_exeext conftest.
$ac_ext
6620 LIBS
=$ac_check_lib_save_LIBS
6622 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
6623 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
6624 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
6625 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
6628 LDFLAGS
=$ac_save_LDFLAGS
6633 if test "$OS390Unix" = "yes"; then
6634 CFLAGS
="$CFLAGS -W c,dll"
6635 LDFLAGS
="$LDFLAGS -W l,dll"
6636 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lSM -lICE -lXmu"
6640 if test -d "$x_includes" && test ! -d "$x_libraries"; then
6641 x_libraries
=`echo "$x_includes" | sed s/include/lib/`
6642 echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
6643 echo "${ECHO_T}Corrected X libraries to $x_libraries" >&6
6644 X_LIBS
="$X_LIBS -L$x_libraries"
6645 if test "`(uname) 2>/dev/null`" = SunOS
&&
6646 uname
-r |
grep '^5' >/dev
/null
; then
6647 X_LIBS
="$X_LIBS -R $x_libraries"
6651 if test -d "$x_libraries" && test ! -d "$x_includes"; then
6652 x_includes
=`echo "$x_libraries" | sed s/lib/include/`
6653 echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
6654 echo "${ECHO_T}Corrected X includes to $x_includes" >&6
6655 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6658 X_CFLAGS
="`echo $X_CFLAGS\ | sed 's%-I/usr/include %%'`"
6659 X_LIBS
="`echo $X_LIBS\ | sed 's%-L/usr/lib %%'`"
6660 X_LIBS
="`echo $X_LIBS\ | sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`"
6663 echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
6664 echo $ECHO_N "checking if X11 header files can be found... $ECHO_C" >&6
6666 CFLAGS
="$CFLAGS $X_CFLAGS"
6667 cat >conftest.
$ac_ext <<_ACEOF
6670 cat confdefs.h
>>conftest.
$ac_ext
6671 cat >>conftest.
$ac_ext <<_ACEOF
6672 /* end confdefs.h. */
6673 #include <X11/Xlib.h>
6682 rm -f conftest.
$ac_objext
6683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6684 (eval $ac_compile) 2>conftest.er1
6686 grep -v '^ *+' conftest.er1
>conftest.err
6688 cat conftest.err
>&5
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); } &&
6691 { ac_try
='test -z "$ac_c_werror_flag"
6692 || test ! -s conftest.err'
6693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6697 (exit $ac_status); }; } &&
6698 { ac_try
='test -s conftest.$ac_objext'
6699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6703 (exit $ac_status); }; }; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6707 echo "$as_me: failed program was:" >&5
6708 sed 's/^/| /' conftest.
$ac_ext >&5
6710 echo "$as_me:$LINENO: result: no" >&5
6711 echo "${ECHO_T}no" >&6; no_x
=yes
6713 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
6716 if test "${no_x-no}" = yes; then
6719 cat >>confdefs.h
<<\_ACEOF
6726 ac_save_LDFLAGS
="$LDFLAGS"
6727 LDFLAGS
="-L$x_libraries $LDFLAGS"
6729 echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
6730 echo $ECHO_N "checking for _XdmcpAuthDoIt in -lXdmcp... $ECHO_C" >&6
6731 if test "${ac_cv_lib_Xdmcp__XdmcpAuthDoIt+set}" = set; then
6732 echo $ECHO_N "(cached) $ECHO_C" >&6
6734 ac_check_lib_save_LIBS
=$LIBS
6735 LIBS
="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS"
6736 cat >conftest.
$ac_ext <<_ACEOF
6739 cat confdefs.h
>>conftest.
$ac_ext
6740 cat >>conftest.
$ac_ext <<_ACEOF
6741 /* end confdefs.h. */
6743 /* Override any gcc2 internal prototype to avoid an error. */
6747 /* We use char because int might match the return type of a gcc2
6748 builtin and then its argument prototype would still apply. */
6749 char _XdmcpAuthDoIt ();
6758 rm -f conftest.
$ac_objext conftest
$ac_exeext
6759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6760 (eval $ac_link) 2>conftest.er1
6762 grep -v '^ *+' conftest.er1
>conftest.err
6764 cat conftest.err
>&5
6765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6766 (exit $ac_status); } &&
6767 { ac_try
='test -z "$ac_c_werror_flag"
6768 || test ! -s conftest.err'
6769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); }; } &&
6774 { ac_try
='test -s conftest$ac_exeext'
6775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6779 (exit $ac_status); }; }; then
6780 ac_cv_lib_Xdmcp__XdmcpAuthDoIt
=yes
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.
$ac_ext >&5
6785 ac_cv_lib_Xdmcp__XdmcpAuthDoIt
=no
6787 rm -f conftest.err conftest.
$ac_objext \
6788 conftest
$ac_exeext conftest.
$ac_ext
6789 LIBS
=$ac_check_lib_save_LIBS
6791 echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
6792 echo "${ECHO_T}$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6
6793 if test $ac_cv_lib_Xdmcp__XdmcpAuthDoIt = yes; then
6794 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lXdmcp"
6798 echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
6799 echo $ECHO_N "checking for IceOpenConnection in -lICE... $ECHO_C" >&6
6800 if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then
6801 echo $ECHO_N "(cached) $ECHO_C" >&6
6803 ac_check_lib_save_LIBS
=$LIBS
6804 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
6805 cat >conftest.
$ac_ext <<_ACEOF
6808 cat confdefs.h
>>conftest.
$ac_ext
6809 cat >>conftest.
$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6812 /* Override any gcc2 internal prototype to avoid an error. */
6816 /* We use char because int might match the return type of a gcc2
6817 builtin and then its argument prototype would still apply. */
6818 char IceOpenConnection ();
6822 IceOpenConnection ();
6827 rm -f conftest.
$ac_objext conftest
$ac_exeext
6828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6829 (eval $ac_link) 2>conftest.er1
6831 grep -v '^ *+' conftest.er1
>conftest.err
6833 cat conftest.err
>&5
6834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6835 (exit $ac_status); } &&
6836 { ac_try
='test -z "$ac_c_werror_flag"
6837 || test ! -s conftest.err'
6838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6842 (exit $ac_status); }; } &&
6843 { ac_try
='test -s conftest$ac_exeext'
6844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); }; }; then
6849 ac_cv_lib_ICE_IceOpenConnection
=yes
6851 echo "$as_me: failed program was:" >&5
6852 sed 's/^/| /' conftest.
$ac_ext >&5
6854 ac_cv_lib_ICE_IceOpenConnection
=no
6856 rm -f conftest.err conftest.
$ac_objext \
6857 conftest
$ac_exeext conftest.
$ac_ext
6858 LIBS
=$ac_check_lib_save_LIBS
6860 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
6861 echo "${ECHO_T}$ac_cv_lib_ICE_IceOpenConnection" >&6
6862 if test $ac_cv_lib_ICE_IceOpenConnection = yes; then
6863 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lSM -lICE"
6867 LDFLAGS
="$X_LIBS $ac_save_LDFLAGS"
6868 echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
6869 echo $ECHO_N "checking for XpmCreatePixmapFromData in -lXpm... $ECHO_C" >&6
6870 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
6871 echo $ECHO_N "(cached) $ECHO_C" >&6
6873 ac_check_lib_save_LIBS
=$LIBS
6874 LIBS
="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS"
6875 cat >conftest.
$ac_ext <<_ACEOF
6878 cat confdefs.h
>>conftest.
$ac_ext
6879 cat >>conftest.
$ac_ext <<_ACEOF
6880 /* end confdefs.h. */
6882 /* Override any gcc2 internal prototype to avoid an error. */
6886 /* We use char because int might match the return type of a gcc2
6887 builtin and then its argument prototype would still apply. */
6888 char XpmCreatePixmapFromData ();
6892 XpmCreatePixmapFromData ();
6897 rm -f conftest.
$ac_objext conftest
$ac_exeext
6898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6899 (eval $ac_link) 2>conftest.er1
6901 grep -v '^ *+' conftest.er1
>conftest.err
6903 cat conftest.err
>&5
6904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } &&
6906 { ac_try
='test -z "$ac_c_werror_flag"
6907 || test ! -s conftest.err'
6908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6912 (exit $ac_status); }; } &&
6913 { ac_try
='test -s conftest$ac_exeext'
6914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); }; }; then
6919 ac_cv_lib_Xpm_XpmCreatePixmapFromData
=yes
6921 echo "$as_me: failed program was:" >&5
6922 sed 's/^/| /' conftest.
$ac_ext >&5
6924 ac_cv_lib_Xpm_XpmCreatePixmapFromData
=no
6926 rm -f conftest.err conftest.
$ac_objext \
6927 conftest
$ac_exeext conftest.
$ac_ext
6928 LIBS
=$ac_check_lib_save_LIBS
6930 echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
6931 echo "${ECHO_T}$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6
6932 if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
6933 X_PRE_LIBS
="$X_PRE_LIBS -lXpm"
6937 echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
6938 echo $ECHO_N "checking if X11 header files implicitly declare return values... $ECHO_C" >&6
6940 CFLAGS
="$CFLAGS $X_CFLAGS -Werror"
6941 cat >conftest.
$ac_ext <<_ACEOF
6944 cat confdefs.h
>>conftest.
$ac_ext
6945 cat >>conftest.
$ac_ext <<_ACEOF
6946 /* end confdefs.h. */
6947 #include <X11/Xlib.h>
6956 rm -f conftest.
$ac_objext
6957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6958 (eval $ac_compile) 2>conftest.er1
6960 grep -v '^ *+' conftest.er1
>conftest.err
6962 cat conftest.err
>&5
6963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6964 (exit $ac_status); } &&
6965 { ac_try
='test -z "$ac_c_werror_flag"
6966 || test ! -s conftest.err'
6967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6971 (exit $ac_status); }; } &&
6972 { ac_try
='test -s conftest.$ac_objext'
6973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6977 (exit $ac_status); }; }; then
6978 echo "$as_me:$LINENO: result: no" >&5
6979 echo "${ECHO_T}no" >&6
6981 echo "$as_me: failed program was:" >&5
6982 sed 's/^/| /' conftest.
$ac_ext >&5
6984 CFLAGS
="$CFLAGS -Wno-implicit-int"
6985 cat >conftest.
$ac_ext <<_ACEOF
6988 cat confdefs.h
>>conftest.
$ac_ext
6989 cat >>conftest.
$ac_ext <<_ACEOF
6990 /* end confdefs.h. */
6991 #include <X11/Xlib.h>
7000 rm -f conftest.
$ac_objext
7001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7002 (eval $ac_compile) 2>conftest.er1
7004 grep -v '^ *+' conftest.er1
>conftest.err
7006 cat conftest.err
>&5
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); } &&
7009 { ac_try
='test -z "$ac_c_werror_flag"
7010 || test ! -s conftest.err'
7011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7015 (exit $ac_status); }; } &&
7016 { ac_try
='test -s conftest.$ac_objext'
7017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7021 (exit $ac_status); }; }; then
7022 echo "$as_me:$LINENO: result: yes" >&5
7023 echo "${ECHO_T}yes" >&6; cflags_save
="$cflags_save -Wno-implicit-int"
7025 echo "$as_me: failed program was:" >&5
7026 sed 's/^/| /' conftest.
$ac_ext >&5
7028 echo "$as_me:$LINENO: result: test failed" >&5
7029 echo "${ECHO_T}test failed" >&6
7032 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7035 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
7038 LDFLAGS
="$ac_save_LDFLAGS"
7043 test "x$with_x" = xno
-a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui
=no
7045 echo "$as_me:$LINENO: checking --enable-gui argument" >&5
7046 echo $ECHO_N "checking --enable-gui argument... $ECHO_C" >&6
7047 # Check whether --enable-gui or --disable-gui was given.
7048 if test "${enable_gui+set}" = set; then
7049 enableval
="$enable_gui"
7055 enable_gui_canon
=`echo "_$enable_gui" | \
7056 sed 's/[ _+-]//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
7068 if test "x$QNX" = "xyes" -a "x$with_x" = "xno" ; then
7070 case "$enable_gui_canon" in
7071 no
) echo "$as_me:$LINENO: result: no GUI support" >&5
7072 echo "${ECHO_T}no GUI support" >&6
7074 yes|
"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
7075 echo "${ECHO_T}yes - automatic GUI support" >&6 ;;
7076 auto
) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
7077 echo "${ECHO_T}auto - automatic GUI support" >&6 ;;
7078 photon
) echo "$as_me:$LINENO: result: Photon GUI support" >&5
7079 echo "${ECHO_T}Photon GUI support" >&6 ;;
7080 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7081 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6
7085 elif test "x$MACOSX" = "xyes" -a "x$with_x" = "xno" ; then
7087 case "$enable_gui_canon" in
7088 no
) echo "$as_me:$LINENO: result: no GUI support" >&5
7089 echo "${ECHO_T}no GUI support" >&6
7091 yes|
"") echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
7092 echo "${ECHO_T}yes - automatic GUI support" >&6 ;;
7093 auto
) echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
7094 echo "${ECHO_T}auto - automatic GUI support" >&6 ;;
7095 carbon
) echo "$as_me:$LINENO: result: Carbon GUI support" >&5
7096 echo "${ECHO_T}Carbon GUI support" >&6 ;;
7097 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7098 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6
7104 case "$enable_gui_canon" in
7105 no|none
) echo "$as_me:$LINENO: result: no GUI support" >&5
7106 echo "${ECHO_T}no GUI support" >&6 ;;
7107 yes|
""|auto
) echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
7108 echo "${ECHO_T}yes/auto - automatic GUI support" >&6
7116 gtk
) echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
7117 echo "${ECHO_T}GTK+ 1.x GUI support" >&6
7119 gtk2
) echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
7120 echo "${ECHO_T}GTK+ 2.x GUI support" >&6
7123 gnome
) echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
7124 echo "${ECHO_T}GNOME 1.x GUI support" >&6
7127 gnome2
) echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
7128 echo "${ECHO_T}GNOME 2.x GUI support" >&6
7132 motif
) echo "$as_me:$LINENO: result: Motif GUI support" >&5
7133 echo "${ECHO_T}Motif GUI support" >&6
7135 athena
) echo "$as_me:$LINENO: result: Athena GUI support" >&5
7136 echo "${ECHO_T}Athena GUI support" >&6
7138 nextaw
) echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
7139 echo "${ECHO_T}neXtaw GUI support" >&6
7141 *) echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
7142 echo "${ECHO_T}Sorry, $enable_gui GUI is not supported" >&6 ;;
7147 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then
7148 echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
7149 echo $ECHO_N "checking whether or not to look for GTK... $ECHO_C" >&6
7150 # Check whether --enable-gtk-check or --disable-gtk-check was given.
7151 if test "${enable_gtk_check+set}" = set; then
7152 enableval
="$enable_gtk_check"
7155 enable_gtk_check
="yes"
7157 echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
7158 echo "${ECHO_T}$enable_gtk_check" >&6
7159 if test "x$enable_gtk_check" = "xno"; then
7165 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \
7166 -a "$enable_gui_canon" != "gnome2"; then
7167 echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
7168 echo $ECHO_N "checking whether or not to look for GTK+ 2... $ECHO_C" >&6
7169 # Check whether --enable-gtk2-check or --disable-gtk2-check was given.
7170 if test "${enable_gtk2_check+set}" = set; then
7171 enableval
="$enable_gtk2_check"
7174 enable_gtk2_check
="yes"
7176 echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
7177 echo "${ECHO_T}$enable_gtk2_check" >&6
7178 if test "x$enable_gtk2_check" = "xno"; then
7183 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \
7184 -a "$enable_gui_canon" != "gnome2"; then
7185 echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
7186 echo $ECHO_N "checking whether or not to look for GNOME... $ECHO_C" >&6
7187 # Check whether --enable-gnome-check or --disable-gnome-check was given.
7188 if test "${enable_gnome_check+set}" = set; then
7189 enableval
="$enable_gnome_check"
7192 enable_gnome_check
="no"
7194 echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
7195 echo "${ECHO_T}$enable_gnome_check" >&6
7196 if test "x$enable_gnome_check" = "xno"; then
7201 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then
7202 echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
7203 echo $ECHO_N "checking whether or not to look for Motif... $ECHO_C" >&6
7204 # Check whether --enable-motif-check or --disable-motif-check was given.
7205 if test "${enable_motif_check+set}" = set; then
7206 enableval
="$enable_motif_check"
7209 enable_motif_check
="yes"
7211 echo "$as_me:$LINENO: result: $enable_motif_check" >&5
7212 echo "${ECHO_T}$enable_motif_check" >&6
7213 if test "x$enable_motif_check" = "xno"; then
7218 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then
7219 echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
7220 echo $ECHO_N "checking whether or not to look for Athena... $ECHO_C" >&6
7221 # Check whether --enable-athena-check or --disable-athena-check was given.
7222 if test "${enable_athena_check+set}" = set; then
7223 enableval
="$enable_athena_check"
7226 enable_athena_check
="yes"
7228 echo "$as_me:$LINENO: result: $enable_athena_check" >&5
7229 echo "${ECHO_T}$enable_athena_check" >&6
7230 if test "x$enable_athena_check" = "xno"; then
7235 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then
7236 echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
7237 echo $ECHO_N "checking whether or not to look for neXtaw... $ECHO_C" >&6
7238 # Check whether --enable-nextaw-check or --disable-nextaw-check was given.
7239 if test "${enable_nextaw_check+set}" = set; then
7240 enableval
="$enable_nextaw_check"
7243 enable_nextaw_check
="yes"
7245 echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
7246 echo "${ECHO_T}$enable_nextaw_check" >&6;
7247 if test "x$enable_nextaw_check" = "xno"; then
7252 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then
7253 echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
7254 echo $ECHO_N "checking whether or not to look for Carbon... $ECHO_C" >&6
7255 # Check whether --enable-carbon-check or --disable-carbon-check was given.
7256 if test "${enable_carbon_check+set}" = set; then
7257 enableval
="$enable_carbon_check"
7260 enable_carbon_check
="yes"
7262 echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
7263 echo "${ECHO_T}$enable_carbon_check" >&6;
7264 if test "x$enable_carbon_check" = "xno"; then
7270 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then
7271 echo "$as_me:$LINENO: checking for Carbon GUI" >&5
7272 echo $ECHO_N "checking for Carbon GUI... $ECHO_C" >&6
7273 echo "$as_me:$LINENO: result: yes" >&5
7274 echo "${ECHO_T}yes" >&6;
7276 if test "$VIMNAME" = "vim"; then
7280 if test x
$prefix = xNONE
; then
7281 prefix
=/Applications
7284 datadir
='${prefix}/Vim.app/Contents/Resources'
7304 if test -z "$SKIP_GTK"; then
7306 echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
7307 echo $ECHO_N "checking --with-gtk-prefix argument... $ECHO_C" >&6
7309 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7310 if test "${with_gtk_prefix+set}" = set; then
7311 withval
="$with_gtk_prefix"
7312 gtk_config_prefix
="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
7313 echo "${ECHO_T}$gtk_config_prefix" >&6
7315 gtk_config_prefix
=""; echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6
7319 echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
7320 echo $ECHO_N "checking --with-gtk-exec-prefix argument... $ECHO_C" >&6
7322 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7323 if test "${with_gtk_exec_prefix+set}" = set; then
7324 withval
="$with_gtk_exec_prefix"
7325 gtk_config_exec_prefix
="$withval"; echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
7326 echo "${ECHO_T}$gtk_config_prefix" >&6
7328 gtk_config_exec_prefix
=""; echo "$as_me:$LINENO: result: no" >&5
7329 echo "${ECHO_T}no" >&6
7332 echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
7333 echo $ECHO_N "checking --disable-gtktest argument... $ECHO_C" >&6
7334 # Check whether --enable-gtktest or --disable-gtktest was given.
7335 if test "${enable_gtktest+set}" = set; then
7336 enableval
="$enable_gtktest"
7341 if test "x$enable_gtktest" = "xyes" ; then
7342 echo "$as_me:$LINENO: result: gtk test enabled" >&5
7343 echo "${ECHO_T}gtk test enabled" >&6
7345 echo "$as_me:$LINENO: result: gtk test disabled" >&5
7346 echo "${ECHO_T}gtk test disabled" >&6
7349 if test "x$gtk_config_prefix" != "x" ; then
7350 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7351 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk-config
7353 if test "x$gtk_config_exec_prefix" != "x" ; then
7354 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7355 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk-config
7357 if test "X$GTK_CONFIG" = "X"; then
7358 # Extract the first word of "gtk-config", so it can be a program name with args.
7359 set dummy gtk-config
; ac_word
=$2
7360 echo "$as_me:$LINENO: checking for $ac_word" >&5
7361 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7362 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
7363 echo $ECHO_N "(cached) $ECHO_C" >&6
7367 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7374 test -z "$as_dir" && as_dir
=.
7375 for ac_exec_ext
in '' $ac_executable_extensions; do
7376 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7377 ac_cv_path_GTK_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7384 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7388 GTK_CONFIG
=$ac_cv_path_GTK_CONFIG
7390 if test -n "$GTK_CONFIG"; then
7391 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
7392 echo "${ECHO_T}$GTK_CONFIG" >&6
7394 echo "$as_me:$LINENO: result: no" >&5
7395 echo "${ECHO_T}no" >&6
7398 if test "X$GTK_CONFIG" = "Xno"; then
7399 # Extract the first word of "gtk12-config", so it can be a program name with args.
7400 set dummy gtk12-config
; ac_word
=$2
7401 echo "$as_me:$LINENO: checking for $ac_word" >&5
7402 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7403 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
7404 echo $ECHO_N "(cached) $ECHO_C" >&6
7406 case $GTK12_CONFIG in
7408 ac_cv_path_GTK12_CONFIG
="$GTK12_CONFIG" # Let the user override the test with a path.
7411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7415 test -z "$as_dir" && as_dir
=.
7416 for ac_exec_ext
in '' $ac_executable_extensions; do
7417 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7418 ac_cv_path_GTK12_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7419 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7425 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG
="no"
7429 GTK12_CONFIG
=$ac_cv_path_GTK12_CONFIG
7431 if test -n "$GTK12_CONFIG"; then
7432 echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
7433 echo "${ECHO_T}$GTK12_CONFIG" >&6
7435 echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6
7439 GTK_CONFIG
="$GTK12_CONFIG"
7442 echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
7443 echo "${ECHO_T}Using GTK configuration program $GTK_CONFIG" >&6
7445 if test "X$PKG_CONFIG" = "X"; then
7446 # Extract the first word of "pkg-config", so it can be a program name with args.
7447 set dummy pkg-config
; ac_word
=$2
7448 echo "$as_me:$LINENO: checking for $ac_word" >&5
7449 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7450 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
7451 echo $ECHO_N "(cached) $ECHO_C" >&6
7455 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
7458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7462 test -z "$as_dir" && as_dir
=.
7463 for ac_exec_ext
in '' $ac_executable_extensions; do
7464 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7465 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7466 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7472 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
7476 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
7478 if test -n "$PKG_CONFIG"; then
7479 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
7480 echo "${ECHO_T}$PKG_CONFIG" >&6
7482 echo "$as_me:$LINENO: result: no" >&5
7483 echo "${ECHO_T}no" >&6
7488 if test "x$GTK_CONFIG:$PKG_CONFIG" != "xno:no"; then
7489 if test "X$SKIP_GTK2" != "XYES"; then
7491 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
7493 min_gtk_version
=2.2.0
7494 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
7495 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
7497 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
7498 && $PKG_CONFIG --exists gtk
+-2.0
; then
7500 GTK_CFLAGS
=`$PKG_CONFIG --cflags gtk+-2.0`
7501 GTK_LIBDIR
=`$PKG_CONFIG --libs-only-L gtk+-2.0`
7502 GTK_LIBS
=`$PKG_CONFIG --libs gtk+-2.0`
7503 gtk_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7504 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
7505 gtk_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7506 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
7507 gtk_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7508 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
7510 elif test "X$GTK_CONFIG" != "Xno"; then
7512 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
7514 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
7515 gtk_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
7516 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
7517 gtk_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
7518 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
7519 gtk_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
7520 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
7526 if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
7528 ac_save_CFLAGS
="$CFLAGS"
7529 ac_save_LIBS
="$LIBS"
7530 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7531 LIBS
="$LIBS $GTK_LIBS"
7534 if test "$cross_compiling" = yes; then
7535 echo $ac_n "cross compiling; assumed OK... $ac_c"
7537 cat >conftest.
$ac_ext <<_ACEOF
7540 cat confdefs.h
>>conftest.
$ac_ext
7541 cat >>conftest.
$ac_ext <<_ACEOF
7542 /* end confdefs.h. */
7544 #include <gtk/gtk.h>
7550 int major, minor, micro;
7553 system ("touch conf.gtktest");
7555 /* HP/UX 9 (%@#!) writes to sscanf strings */
7556 tmp_version = g_strdup("$min_gtk_version");
7557 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7558 printf("%s, bad version string\n", "$min_gtk_version");
7562 if ((gtk_major_version > major) ||
7563 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7564 ((gtk_major_version == major) && (gtk_minor_version == minor) &&
7565 (gtk_micro_version >= micro)))
7573 rm -f conftest
$ac_exeext
7574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7575 (eval $ac_link) 2>&5
7577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7578 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); }; }; then
7586 echo "$as_me: program exited with status $ac_status" >&5
7587 echo "$as_me: failed program was:" >&5
7588 sed 's/^/| /' conftest.
$ac_ext >&5
7593 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7595 CFLAGS
="$ac_save_CFLAGS"
7596 LIBS
="$ac_save_LIBS"
7599 if test "x$no_gtk" = x
; then
7600 if test "x$enable_gtktest" = "xyes"; then
7601 echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7602 echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
7604 echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7605 echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
7607 GUI_LIB_LOC
="$GTK_LIBDIR"
7608 GTK_LIBNAME
="$GTK_LIBS"
7609 GUI_INC_LOC
="$GTK_CFLAGS"
7612 echo "$as_me:$LINENO: result: no" >&5
7613 echo "${ECHO_T}no" >&6
7629 if test "x$GTK_CFLAGS" != "x"; then
7638 if test "x$GUITYPE" != "xGTK"; then
7641 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
7643 min_gtk_version
=1.1.16
7644 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
7645 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
7647 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
7648 && $PKG_CONFIG --exists gtk
+-2.0
; then
7650 GTK_CFLAGS
=`$PKG_CONFIG --cflags gtk+-2.0`
7651 GTK_LIBDIR
=`$PKG_CONFIG --libs-only-L gtk+-2.0`
7652 GTK_LIBS
=`$PKG_CONFIG --libs gtk+-2.0`
7653 gtk_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7654 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
7655 gtk_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7656 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
7657 gtk_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
7658 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
7660 elif test "X$GTK_CONFIG" != "Xno"; then
7662 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
7664 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
7665 gtk_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
7666 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
7667 gtk_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
7668 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
7669 gtk_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
7670 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
7676 if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
7678 ac_save_CFLAGS
="$CFLAGS"
7679 ac_save_LIBS
="$LIBS"
7680 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7681 LIBS
="$LIBS $GTK_LIBS"
7684 if test "$cross_compiling" = yes; then
7685 echo $ac_n "cross compiling; assumed OK... $ac_c"
7687 cat >conftest.
$ac_ext <<_ACEOF
7690 cat confdefs.h
>>conftest.
$ac_ext
7691 cat >>conftest.
$ac_ext <<_ACEOF
7692 /* end confdefs.h. */
7694 #include <gtk/gtk.h>
7700 int major, minor, micro;
7703 system ("touch conf.gtktest");
7705 /* HP/UX 9 (%@#!) writes to sscanf strings */
7706 tmp_version = g_strdup("$min_gtk_version");
7707 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7708 printf("%s, bad version string\n", "$min_gtk_version");
7712 if ((gtk_major_version > major) ||
7713 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7714 ((gtk_major_version == major) && (gtk_minor_version == minor) &&
7715 (gtk_micro_version >= micro)))
7723 rm -f conftest
$ac_exeext
7724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
7725 (eval $ac_link) 2>&5
7727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7728 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); }; }; then
7736 echo "$as_me: program exited with status $ac_status" >&5
7737 echo "$as_me: failed program was:" >&5
7738 sed 's/^/| /' conftest.
$ac_ext >&5
7743 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7745 CFLAGS
="$ac_save_CFLAGS"
7746 LIBS
="$ac_save_LIBS"
7749 if test "x$no_gtk" = x
; then
7750 if test "x$enable_gtktest" = "xyes"; then
7751 echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7752 echo "${ECHO_T}yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
7754 echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
7755 echo "${ECHO_T}found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6
7757 GTK_LIBNAME
="$GTK_LIBS"
7758 GUI_INC_LOC
="$GTK_CFLAGS"
7761 echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6
7778 if test "x$GTK_CFLAGS" != "x"; then
7787 if test "x$GUITYPE" = "xGTK"; then
7788 if test "$gtk_major_version" = 1 -a "0$gtk_minor_version" -lt 2 \
7789 -o "$gtk_major_version" = 1 -a "$gtk_minor_version" = 2 -a "0$gtk_micro_version" -lt 3; then
7790 echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
7791 echo "${ECHO_T}this GTK version is old; version 1.2.3 or later is recommended" >&6
7794 if test "0$gtk_major_version" -ge 2; then
7795 cat >>confdefs.h
<<\_ACEOF
7799 if test "$gtk_minor_version" = 1 -a "0$gtk_micro_version" -ge 1 \
7800 ||
test "0$gtk_minor_version" -ge 2 \
7801 ||
test "0$gtk_major_version" -gt 2; then
7802 cat >>confdefs.h
<<\_ACEOF
7803 #define HAVE_GTK_MULTIHEAD 1
7808 if test -z "$SKIP_GNOME"; then
7816 # Check whether --with-gnome-includes or --without-gnome-includes was given.
7817 if test "${with_gnome_includes+set}" = set; then
7818 withval
="$with_gnome_includes"
7819 CFLAGS
="$CFLAGS -I$withval"
7824 # Check whether --with-gnome-libs or --without-gnome-libs was given.
7825 if test "${with_gnome_libs+set}" = set; then
7826 withval
="$with_gnome_libs"
7827 LDFLAGS
="$LDFLAGS -L$withval" gnome_prefix
=$withval
7832 # Check whether --with-gnome or --without-gnome was given.
7833 if test "${with_gnome+set}" = set; then
7834 withval
="$with_gnome"
7835 if test x
$withval = xyes
; then
7839 if test "x$withval" = xno
; then
7843 LDFLAGS
="$LDFLAGS -L$withval/lib"
7844 CFLAGS
="$CFLAGS -I$withval/include"
7845 gnome_prefix
=$withval/lib
7852 if test "x$want_gnome" = xyes
-a "0$gtk_major_version" -ge 2; then
7854 echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
7855 echo $ECHO_N "checking for libgnomeui-2.0... $ECHO_C" >&6
7856 if $PKG_CONFIG --exists libgnomeui-2.0
; then
7857 echo "$as_me:$LINENO: result: yes" >&5
7858 echo "${ECHO_T}yes" >&6
7859 GNOME_LIBS
=`$PKG_CONFIG --libs-only-l libgnomeui-2.0`
7860 GNOME_LIBDIR
=`$PKG_CONFIG --libs-only-L libgnomeui-2.0`
7861 GNOME_INCLUDEDIR
=`$PKG_CONFIG --cflags libgnomeui-2.0`
7863 echo "$as_me:$LINENO: checking for FreeBSD" >&5
7864 echo $ECHO_N "checking for FreeBSD... $ECHO_C" >&6
7865 if test "`(uname) 2>/dev/null`" = FreeBSD
; then
7866 echo "$as_me:$LINENO: result: yes" >&5
7867 echo "${ECHO_T}yes" >&6
7868 GNOME_INCLUDEDIR
="$GNOME_INCLUDEDIR -D_THREAD_SAFE"
7869 GNOME_LIBS
="$GNOME_LIBS -pthread"
7871 echo "$as_me:$LINENO: result: no" >&5
7872 echo "${ECHO_T}no" >&6
7876 echo "$as_me:$LINENO: result: not found" >&5
7877 echo "${ECHO_T}not found" >&6
7878 if test "x" = xfail
; then
7879 { { echo "$as_me:$LINENO: error: Could not find libgnomeui-2.0 via pkg-config" >&5
7880 echo "$as_me: error: Could not find libgnomeui-2.0 via pkg-config" >&2;}
7881 { (exit 1); exit 1; }; }
7885 elif test "x$want_gnome" = xyes
; then
7887 # Extract the first word of "gnome-config", so it can be a program name with args.
7888 set dummy gnome-config
; ac_word
=$2
7889 echo "$as_me:$LINENO: checking for $ac_word" >&5
7890 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
7891 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
7892 echo $ECHO_N "(cached) $ECHO_C" >&6
7894 case $GNOME_CONFIG in
7896 ac_cv_path_GNOME_CONFIG
="$GNOME_CONFIG" # Let the user override the test with a path.
7899 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7903 test -z "$as_dir" && as_dir
=.
7904 for ac_exec_ext
in '' $ac_executable_extensions; do
7905 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_path_GNOME_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
7907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7913 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG
="no"
7917 GNOME_CONFIG
=$ac_cv_path_GNOME_CONFIG
7919 if test -n "$GNOME_CONFIG"; then
7920 echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
7921 echo "${ECHO_T}$GNOME_CONFIG" >&6
7923 echo "$as_me:$LINENO: result: no" >&5
7924 echo "${ECHO_T}no" >&6
7927 if test "$GNOME_CONFIG" = "no"; then
7928 no_gnome_config
="yes"
7930 echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
7931 echo $ECHO_N "checking if $GNOME_CONFIG works... $ECHO_C" >&6
7932 if $GNOME_CONFIG --libs-only-l gnome
>/dev
/null
2>&1; then
7933 echo "$as_me:$LINENO: result: yes" >&5
7934 echo "${ECHO_T}yes" >&6
7935 GNOME_LIBS
="`$GNOME_CONFIG --libs-only-l gnome gnomeui`"
7936 GNOME_LIBDIR
="`$GNOME_CONFIG --libs-only-L gnorba gnomeui`"
7937 GNOME_INCLUDEDIR
="`$GNOME_CONFIG --cflags gnorba gnomeui`"
7940 echo "$as_me:$LINENO: result: no" >&5
7941 echo "${ECHO_T}no" >&6
7942 no_gnome_config
="yes"
7946 if test x
$exec_prefix = xNONE
; then
7947 if test x
$prefix = xNONE
; then
7948 gnome_prefix
=$ac_default_prefix/lib
7950 gnome_prefix
=$prefix/lib
7953 gnome_prefix
=`eval echo \`echo $libdir\
``
7956 if test "$no_gnome_config" = "yes"; then
7957 echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
7958 echo $ECHO_N "checking for gnomeConf.sh file in $gnome_prefix... $ECHO_C" >&6
7959 if test -f $gnome_prefix/gnomeConf.sh
; then
7960 echo "$as_me:$LINENO: result: found" >&5
7961 echo "${ECHO_T}found" >&6
7962 echo "loading gnome configuration from" \
7963 "$gnome_prefix/gnomeConf.sh"
7964 .
$gnome_prefix/gnomeConf.sh
7967 echo "$as_me:$LINENO: result: not found" >&5
7968 echo "${ECHO_T}not found" >&6
7969 if test x
= xfail
; then
7970 { { echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
7971 echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
7972 { (exit 1); exit 1; }; }
7979 if test x
$have_gnome = xyes
; then
7980 cat >>confdefs.h
<<\_ACEOF
7981 #define FEAT_GUI_GNOME 1
7984 GUI_INC_LOC
="$GUI_INC_LOC $GNOME_INCLUDEDIR"
7985 GTK_LIBNAME
="$GTK_LIBNAME $GNOME_LIBDIR $GNOME_LIBS"
7995 if test -z "$SKIP_MOTIF"; then
7996 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"
7997 GUI_INC_LOC
="`echo $GUI_INC_LOC|sed 's%-I%%g'`"
7999 echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
8000 echo $ECHO_N "checking for location of Motif GUI includes... $ECHO_C" >&6
8001 gui_includes
="`echo $x_includes|sed 's%/^/^/*$%%'` `echo "$gui_XXX" | sed s/XXX/include/g` $GUI_INC_LOC"
8003 for try
in $gui_includes; do
8004 if test -f "$try/Xm/Xm.h"; then
8008 if test -n "$GUI_INC_LOC"; then
8009 if test "$GUI_INC_LOC" = /usr
/include
; then
8011 echo "$as_me:$LINENO: result: in default path" >&5
8012 echo "${ECHO_T}in default path" >&6
8014 echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
8015 echo "${ECHO_T}$GUI_INC_LOC" >&6
8018 echo "$as_me:$LINENO: result: <not found>" >&5
8019 echo "${ECHO_T}<not found>" >&6
8025 if test -z "$SKIP_MOTIF"; then
8026 echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
8027 echo $ECHO_N "checking --with-motif-lib argument... $ECHO_C" >&6
8029 # Check whether --with-motif-lib or --without-motif-lib was given.
8030 if test "${with_motif_lib+set}" = set; then
8031 withval
="$with_motif_lib"
8032 MOTIF_LIBNAME
="${withval}"
8035 if test -n "$MOTIF_LIBNAME"; then
8036 echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
8037 echo "${ECHO_T}$MOTIF_LIBNAME" >&6
8040 echo "$as_me:$LINENO: result: no" >&5
8041 echo "${ECHO_T}no" >&6
8043 GUI_LIB_LOC
="`echo $GUI_LIB_LOC|sed 's%-L%%g'`"
8045 echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
8046 echo $ECHO_N "checking for location of Motif GUI libs... $ECHO_C" >&6
8047 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"
8049 for try
in $gui_libs; do
8050 for libtry
in "$try"/libXm.a
"$try"/libXm.so
* "$try"/libXm.sl
"$try"/libXm.dylib
; do
8051 if test -f "$libtry"; then
8056 if test -n "$GUI_LIB_LOC"; then
8057 if test "$GUI_LIB_LOC" = /usr
/lib
; then
8059 echo "$as_me:$LINENO: result: in default path" >&5
8060 echo "${ECHO_T}in default path" >&6
8062 if test -n "$GUI_LIB_LOC"; then
8063 echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
8064 echo "${ECHO_T}$GUI_LIB_LOC" >&6
8065 if test "`(uname) 2>/dev/null`" = SunOS
&&
8066 uname
-r |
grep '^5' >/dev
/null
; then
8067 GUI_LIB_LOC
="$GUI_LIB_LOC -R $GUI_LIB_LOC"
8073 echo "$as_me:$LINENO: result: <not found>" >&5
8074 echo "${ECHO_T}<not found>" >&6
8080 if test -z "$SKIP_MOTIF"; then
8090 if test -z "$SKIP_ATHENA"; then
8091 echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
8092 echo $ECHO_N "checking if Athena header files can be found... $ECHO_C" >&6
8094 CFLAGS
="$CFLAGS $X_CFLAGS"
8095 cat >conftest.
$ac_ext <<_ACEOF
8098 cat confdefs.h
>>conftest.
$ac_ext
8099 cat >>conftest.
$ac_ext <<_ACEOF
8100 /* end confdefs.h. */
8102 #include <X11/Intrinsic.h>
8103 #include <X11/Xaw/Paned.h>
8112 rm -f conftest.
$ac_objext
8113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8114 (eval $ac_compile) 2>conftest.er1
8116 grep -v '^ *+' conftest.er1
>conftest.err
8118 cat conftest.err
>&5
8119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8120 (exit $ac_status); } &&
8121 { ac_try
='test -z "$ac_c_werror_flag"
8122 || test ! -s conftest.err'
8123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8127 (exit $ac_status); }; } &&
8128 { ac_try
='test -s conftest.$ac_objext'
8129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8133 (exit $ac_status); }; }; then
8134 echo "$as_me:$LINENO: result: yes" >&5
8135 echo "${ECHO_T}yes" >&6
8137 echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.
$ac_ext >&5
8140 echo "$as_me:$LINENO: result: no" >&5
8141 echo "${ECHO_T}no" >&6; SKIP_ATHENA
=YES
8143 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8147 if test -z "$SKIP_ATHENA"; then
8151 if test -z "$SKIP_NEXTAW"; then
8152 echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
8153 echo $ECHO_N "checking if neXtaw header files can be found... $ECHO_C" >&6
8155 CFLAGS
="$CFLAGS $X_CFLAGS"
8156 cat >conftest.
$ac_ext <<_ACEOF
8159 cat confdefs.h
>>conftest.
$ac_ext
8160 cat >>conftest.
$ac_ext <<_ACEOF
8161 /* end confdefs.h. */
8163 #include <X11/Intrinsic.h>
8164 #include <X11/neXtaw/Paned.h>
8173 rm -f conftest.
$ac_objext
8174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8175 (eval $ac_compile) 2>conftest.er1
8177 grep -v '^ *+' conftest.er1
>conftest.err
8179 cat conftest.err
>&5
8180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8181 (exit $ac_status); } &&
8182 { ac_try
='test -z "$ac_c_werror_flag"
8183 || test ! -s conftest.err'
8184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); }; } &&
8189 { ac_try
='test -s conftest.$ac_objext'
8190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); }; }; then
8195 echo "$as_me:$LINENO: result: yes" >&5
8196 echo "${ECHO_T}yes" >&6
8198 echo "$as_me: failed program was:" >&5
8199 sed 's/^/| /' conftest.
$ac_ext >&5
8201 echo "$as_me:$LINENO: result: no" >&5
8202 echo "${ECHO_T}no" >&6; SKIP_NEXTAW
=YES
8204 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8208 if test -z "$SKIP_NEXTAW"; then
8212 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
8213 if test -n "$GUI_INC_LOC"; then
8214 GUI_INC_LOC
=-I"`echo $GUI_INC_LOC|sed 's%-I%%'`"
8216 if test -n "$GUI_LIB_LOC"; then
8217 GUI_LIB_LOC
=-L"`echo $GUI_LIB_LOC|sed 's%-L%%'`"
8220 ldflags_save
=$LDFLAGS
8221 LDFLAGS
="$X_LIBS $LDFLAGS"
8222 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8223 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
8224 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8225 echo $ECHO_N "(cached) $ECHO_C" >&6
8227 ac_check_lib_save_LIBS
=$LIBS
8228 LIBS
="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8229 cat >conftest.
$ac_ext <<_ACEOF
8232 cat confdefs.h
>>conftest.
$ac_ext
8233 cat >>conftest.
$ac_ext <<_ACEOF
8234 /* end confdefs.h. */
8236 /* Override any gcc2 internal prototype to avoid an error. */
8240 /* We use char because int might match the return type of a gcc2
8241 builtin and then its argument prototype would still apply. */
8242 char XShapeQueryExtension ();
8246 XShapeQueryExtension ();
8251 rm -f conftest.
$ac_objext conftest
$ac_exeext
8252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8253 (eval $ac_link) 2>conftest.er1
8255 grep -v '^ *+' conftest.er1
>conftest.err
8257 cat conftest.err
>&5
8258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8259 (exit $ac_status); } &&
8260 { ac_try
='test -z "$ac_c_werror_flag"
8261 || test ! -s conftest.err'
8262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); }; } &&
8267 { ac_try
='test -s conftest$ac_exeext'
8268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8272 (exit $ac_status); }; }; then
8273 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8275 echo "$as_me: failed program was:" >&5
8276 sed 's/^/| /' conftest.
$ac_ext >&5
8278 ac_cv_lib_Xext_XShapeQueryExtension
=no
8280 rm -f conftest.err conftest.
$ac_objext \
8281 conftest
$ac_exeext conftest.
$ac_ext
8282 LIBS
=$ac_check_lib_save_LIBS
8284 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8285 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
8286 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8290 echo "$as_me:$LINENO: checking for wslen in -lw" >&5
8291 echo $ECHO_N "checking for wslen in -lw... $ECHO_C" >&6
8292 if test "${ac_cv_lib_w_wslen+set}" = set; then
8293 echo $ECHO_N "(cached) $ECHO_C" >&6
8295 ac_check_lib_save_LIBS
=$LIBS
8296 LIBS
="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8297 cat >conftest.
$ac_ext <<_ACEOF
8300 cat confdefs.h
>>conftest.
$ac_ext
8301 cat >>conftest.
$ac_ext <<_ACEOF
8302 /* end confdefs.h. */
8304 /* Override any gcc2 internal prototype to avoid an error. */
8308 /* We use char because int might match the return type of a gcc2
8309 builtin and then its argument prototype would still apply. */
8319 rm -f conftest.
$ac_objext conftest
$ac_exeext
8320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8321 (eval $ac_link) 2>conftest.er1
8323 grep -v '^ *+' conftest.er1
>conftest.err
8325 cat conftest.err
>&5
8326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8327 (exit $ac_status); } &&
8328 { ac_try
='test -z "$ac_c_werror_flag"
8329 || test ! -s conftest.err'
8330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334 (exit $ac_status); }; } &&
8335 { ac_try
='test -s conftest$ac_exeext'
8336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8340 (exit $ac_status); }; }; then
8341 ac_cv_lib_w_wslen
=yes
8343 echo "$as_me: failed program was:" >&5
8344 sed 's/^/| /' conftest.
$ac_ext >&5
8346 ac_cv_lib_w_wslen
=no
8348 rm -f conftest.err conftest.
$ac_objext \
8349 conftest
$ac_exeext conftest.
$ac_ext
8350 LIBS
=$ac_check_lib_save_LIBS
8352 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
8353 echo "${ECHO_T}$ac_cv_lib_w_wslen" >&6
8354 if test $ac_cv_lib_w_wslen = yes; then
8355 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lw"
8358 echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
8359 echo $ECHO_N "checking for dlsym in -ldl... $ECHO_C" >&6
8360 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
8361 echo $ECHO_N "(cached) $ECHO_C" >&6
8363 ac_check_lib_save_LIBS
=$LIBS
8364 LIBS
="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8365 cat >conftest.
$ac_ext <<_ACEOF
8368 cat confdefs.h
>>conftest.
$ac_ext
8369 cat >>conftest.
$ac_ext <<_ACEOF
8370 /* end confdefs.h. */
8372 /* Override any gcc2 internal prototype to avoid an error. */
8376 /* We use char because int might match the return type of a gcc2
8377 builtin and then its argument prototype would still apply. */
8387 rm -f conftest.
$ac_objext conftest
$ac_exeext
8388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8389 (eval $ac_link) 2>conftest.er1
8391 grep -v '^ *+' conftest.er1
>conftest.err
8393 cat conftest.err
>&5
8394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8395 (exit $ac_status); } &&
8396 { ac_try
='test -z "$ac_c_werror_flag"
8397 || test ! -s conftest.err'
8398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8402 (exit $ac_status); }; } &&
8403 { ac_try
='test -s conftest$ac_exeext'
8404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8408 (exit $ac_status); }; }; then
8409 ac_cv_lib_dl_dlsym
=yes
8411 echo "$as_me: failed program was:" >&5
8412 sed 's/^/| /' conftest.
$ac_ext >&5
8414 ac_cv_lib_dl_dlsym
=no
8416 rm -f conftest.err conftest.
$ac_objext \
8417 conftest
$ac_exeext conftest.
$ac_ext
8418 LIBS
=$ac_check_lib_save_LIBS
8420 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
8421 echo "${ECHO_T}$ac_cv_lib_dl_dlsym" >&6
8422 if test $ac_cv_lib_dl_dlsym = yes; then
8423 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldl"
8426 echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
8427 echo $ECHO_N "checking for XmuCreateStippledPixmap in -lXmu... $ECHO_C" >&6
8428 if test "${ac_cv_lib_Xmu_XmuCreateStippledPixmap+set}" = set; then
8429 echo $ECHO_N "(cached) $ECHO_C" >&6
8431 ac_check_lib_save_LIBS
=$LIBS
8432 LIBS
="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8433 cat >conftest.
$ac_ext <<_ACEOF
8436 cat confdefs.h
>>conftest.
$ac_ext
8437 cat >>conftest.
$ac_ext <<_ACEOF
8438 /* end confdefs.h. */
8440 /* Override any gcc2 internal prototype to avoid an error. */
8444 /* We use char because int might match the return type of a gcc2
8445 builtin and then its argument prototype would still apply. */
8446 char XmuCreateStippledPixmap ();
8450 XmuCreateStippledPixmap ();
8455 rm -f conftest.
$ac_objext conftest
$ac_exeext
8456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8457 (eval $ac_link) 2>conftest.er1
8459 grep -v '^ *+' conftest.er1
>conftest.err
8461 cat conftest.err
>&5
8462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8463 (exit $ac_status); } &&
8464 { ac_try
='test -z "$ac_c_werror_flag"
8465 || test ! -s conftest.err'
8466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8470 (exit $ac_status); }; } &&
8471 { ac_try
='test -s conftest$ac_exeext'
8472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8476 (exit $ac_status); }; }; then
8477 ac_cv_lib_Xmu_XmuCreateStippledPixmap
=yes
8479 echo "$as_me: failed program was:" >&5
8480 sed 's/^/| /' conftest.
$ac_ext >&5
8482 ac_cv_lib_Xmu_XmuCreateStippledPixmap
=no
8484 rm -f conftest.err conftest.
$ac_objext \
8485 conftest
$ac_exeext conftest.
$ac_ext
8486 LIBS
=$ac_check_lib_save_LIBS
8488 echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
8489 echo "${ECHO_T}$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6
8490 if test $ac_cv_lib_Xmu_XmuCreateStippledPixmap = yes; then
8491 GUI_X_LIBS
="-lXmu $GUI_X_LIBS"
8494 if test -z "$SKIP_MOTIF"; then
8495 echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
8496 echo $ECHO_N "checking for XpEndJob in -lXp... $ECHO_C" >&6
8497 if test "${ac_cv_lib_Xp_XpEndJob+set}" = set; then
8498 echo $ECHO_N "(cached) $ECHO_C" >&6
8500 ac_check_lib_save_LIBS
=$LIBS
8501 LIBS
="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8502 cat >conftest.
$ac_ext <<_ACEOF
8505 cat confdefs.h
>>conftest.
$ac_ext
8506 cat >>conftest.
$ac_ext <<_ACEOF
8507 /* end confdefs.h. */
8509 /* Override any gcc2 internal prototype to avoid an error. */
8513 /* We use char because int might match the return type of a gcc2
8514 builtin and then its argument prototype would still apply. */
8524 rm -f conftest.
$ac_objext conftest
$ac_exeext
8525 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8526 (eval $ac_link) 2>conftest.er1
8528 grep -v '^ *+' conftest.er1
>conftest.err
8530 cat conftest.err
>&5
8531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8532 (exit $ac_status); } &&
8533 { ac_try
='test -z "$ac_c_werror_flag"
8534 || test ! -s conftest.err'
8535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8539 (exit $ac_status); }; } &&
8540 { ac_try
='test -s conftest$ac_exeext'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; }; then
8546 ac_cv_lib_Xp_XpEndJob
=yes
8548 echo "$as_me: failed program was:" >&5
8549 sed 's/^/| /' conftest.
$ac_ext >&5
8551 ac_cv_lib_Xp_XpEndJob
=no
8553 rm -f conftest.err conftest.
$ac_objext \
8554 conftest
$ac_exeext conftest.
$ac_ext
8555 LIBS
=$ac_check_lib_save_LIBS
8557 echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
8558 echo "${ECHO_T}$ac_cv_lib_Xp_XpEndJob" >&6
8559 if test $ac_cv_lib_Xp_XpEndJob = yes; then
8560 GUI_X_LIBS
="-lXp $GUI_X_LIBS"
8564 LDFLAGS
=$ldflags_save
8566 echo "$as_me:$LINENO: checking for extra X11 defines" >&5
8567 echo $ECHO_N "checking for extra X11 defines... $ECHO_C" >&6
8570 if mkdir conftestdir
; then
8572 cat > Imakefile
<<'EOF'
8574 @echo 'NARROW_PROTO="${PROTO_DEFINES}"'
8576 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
8577 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
8582 if test -z "$NARROW_PROTO"; then
8583 echo "$as_me:$LINENO: result: no" >&5
8584 echo "${ECHO_T}no" >&6
8586 echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
8587 echo "${ECHO_T}$NARROW_PROTO" >&6
8592 if test "$enable_xsmp" = "yes"; then
8593 cppflags_save
=$CPPFLAGS
8594 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8596 for ac_header
in X11
/SM
/SMlib.h
8598 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8600 echo "$as_me:$LINENO: checking for $ac_header" >&5
8601 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8602 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8603 echo $ECHO_N "(cached) $ECHO_C" >&6
8605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8606 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8608 # Is the header compilable?
8609 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8610 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8611 cat >conftest.
$ac_ext <<_ACEOF
8614 cat confdefs.h
>>conftest.
$ac_ext
8615 cat >>conftest.
$ac_ext <<_ACEOF
8616 /* end confdefs.h. */
8617 $ac_includes_default
8618 #include <$ac_header>
8620 rm -f conftest.
$ac_objext
8621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8622 (eval $ac_compile) 2>conftest.er1
8624 grep -v '^ *+' conftest.er1
>conftest.err
8626 cat conftest.err
>&5
8627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8628 (exit $ac_status); } &&
8629 { ac_try
='test -z "$ac_c_werror_flag"
8630 || test ! -s conftest.err'
8631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8635 (exit $ac_status); }; } &&
8636 { ac_try
='test -s conftest.$ac_objext'
8637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8641 (exit $ac_status); }; }; then
8642 ac_header_compiler
=yes
8644 echo "$as_me: failed program was:" >&5
8645 sed 's/^/| /' conftest.
$ac_ext >&5
8647 ac_header_compiler
=no
8649 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8650 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8651 echo "${ECHO_T}$ac_header_compiler" >&6
8653 # Is the header present?
8654 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8655 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8656 cat >conftest.
$ac_ext <<_ACEOF
8659 cat confdefs.h
>>conftest.
$ac_ext
8660 cat >>conftest.
$ac_ext <<_ACEOF
8661 /* end confdefs.h. */
8662 #include <$ac_header>
8664 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8665 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8667 grep -v '^ *+' conftest.er1
>conftest.err
8669 cat conftest.err
>&5
8670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8671 (exit $ac_status); } >/dev
/null
; then
8672 if test -s conftest.err
; then
8673 ac_cpp_err
=$ac_c_preproc_warn_flag
8674 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8681 if test -z "$ac_cpp_err"; then
8682 ac_header_preproc
=yes
8684 echo "$as_me: failed program was:" >&5
8685 sed 's/^/| /' conftest.
$ac_ext >&5
8687 ac_header_preproc
=no
8689 rm -f conftest.err conftest.
$ac_ext
8690 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8691 echo "${ECHO_T}$ac_header_preproc" >&6
8693 # So? What about this header?
8694 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8697 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8699 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8700 ac_header_preproc
=yes
8703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8704 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8706 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8708 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8710 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8712 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8714 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8717 ## ------------------------------------------ ##
8718 ## Report this to the AC_PACKAGE_NAME lists. ##
8719 ## ------------------------------------------ ##
8722 sed "s/^/$as_me: WARNING: /" >&2
8725 echo "$as_me:$LINENO: checking for $ac_header" >&5
8726 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8728 echo $ECHO_N "(cached) $ECHO_C" >&6
8730 eval "$as_ac_Header=\$ac_header_preproc"
8732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8736 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8737 cat >>confdefs.h
<<_ACEOF
8738 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8745 CPPFLAGS
=$cppflags_save
8749 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF" -o -z "$SKIP_GTK"; then
8750 cppflags_save
=$CPPFLAGS
8751 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8754 for ac_header
in X11
/xpm.h X11
/Sunkeysym.h
8756 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8757 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8758 echo "$as_me:$LINENO: checking for $ac_header" >&5
8759 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8760 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8761 echo $ECHO_N "(cached) $ECHO_C" >&6
8763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8766 # Is the header compilable?
8767 echo "$as_me:$LINENO: checking $ac_header usability" >&5
8768 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
8769 cat >conftest.
$ac_ext <<_ACEOF
8772 cat confdefs.h
>>conftest.
$ac_ext
8773 cat >>conftest.
$ac_ext <<_ACEOF
8774 /* end confdefs.h. */
8775 $ac_includes_default
8776 #include <$ac_header>
8778 rm -f conftest.
$ac_objext
8779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8780 (eval $ac_compile) 2>conftest.er1
8782 grep -v '^ *+' conftest.er1
>conftest.err
8784 cat conftest.err
>&5
8785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8786 (exit $ac_status); } &&
8787 { ac_try
='test -z "$ac_c_werror_flag"
8788 || test ! -s conftest.err'
8789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8793 (exit $ac_status); }; } &&
8794 { ac_try
='test -s conftest.$ac_objext'
8795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8799 (exit $ac_status); }; }; then
8800 ac_header_compiler
=yes
8802 echo "$as_me: failed program was:" >&5
8803 sed 's/^/| /' conftest.
$ac_ext >&5
8805 ac_header_compiler
=no
8807 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8808 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8809 echo "${ECHO_T}$ac_header_compiler" >&6
8811 # Is the header present?
8812 echo "$as_me:$LINENO: checking $ac_header presence" >&5
8813 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
8814 cat >conftest.
$ac_ext <<_ACEOF
8817 cat confdefs.h
>>conftest.
$ac_ext
8818 cat >>conftest.
$ac_ext <<_ACEOF
8819 /* end confdefs.h. */
8820 #include <$ac_header>
8822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
8823 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
8825 grep -v '^ *+' conftest.er1
>conftest.err
8827 cat conftest.err
>&5
8828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8829 (exit $ac_status); } >/dev
/null
; then
8830 if test -s conftest.err
; then
8831 ac_cpp_err
=$ac_c_preproc_warn_flag
8832 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
8839 if test -z "$ac_cpp_err"; then
8840 ac_header_preproc
=yes
8842 echo "$as_me: failed program was:" >&5
8843 sed 's/^/| /' conftest.
$ac_ext >&5
8845 ac_header_preproc
=no
8847 rm -f conftest.err conftest.
$ac_ext
8848 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8849 echo "${ECHO_T}$ac_header_preproc" >&6
8851 # So? What about this header?
8852 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8854 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8855 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8856 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8857 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8858 ac_header_preproc
=yes
8861 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8862 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8863 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8864 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8865 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8866 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8867 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8868 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8870 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8871 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8872 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8875 ## ------------------------------------------ ##
8876 ## Report this to the AC_PACKAGE_NAME lists. ##
8877 ## ------------------------------------------ ##
8880 sed "s/^/$as_me: WARNING: /" >&2
8883 echo "$as_me:$LINENO: checking for $ac_header" >&5
8884 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8886 echo $ECHO_N "(cached) $ECHO_C" >&6
8888 eval "$as_ac_Header=\$ac_header_preproc"
8890 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8891 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8894 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8895 cat >>confdefs.h
<<_ACEOF
8896 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8904 if test ! "$enable_xim" = "no"; then
8905 echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
8906 echo $ECHO_N "checking for XIMText in X11/Xlib.h... $ECHO_C" >&6
8907 cat >conftest.
$ac_ext <<_ACEOF
8910 cat confdefs.h
>>conftest.
$ac_ext
8911 cat >>conftest.
$ac_ext <<_ACEOF
8912 /* end confdefs.h. */
8913 #include <X11/Xlib.h>
8915 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8916 $EGREP "XIMText" >/dev
/null
2>&1; then
8917 echo "$as_me:$LINENO: result: yes" >&5
8918 echo "${ECHO_T}yes" >&6
8920 echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
8921 echo "${ECHO_T}no; xim has been disabled" >&6; enable_xim
= "no"
8926 CPPFLAGS
=$cppflags_save
8928 if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \
8929 -a "x$GUITYPE" != "xNONE" ; then
8930 echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
8931 echo "${ECHO_T}X GUI selected; xim has been enabled" >&6
8936 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
8937 cppflags_save
=$CPPFLAGS
8938 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8939 echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
8940 echo $ECHO_N "checking for X11/Xmu/Editres.h... $ECHO_C" >&6
8941 cat >conftest.
$ac_ext <<_ACEOF
8944 cat confdefs.h
>>conftest.
$ac_ext
8945 cat >>conftest.
$ac_ext <<_ACEOF
8946 /* end confdefs.h. */
8948 #include <X11/Intrinsic.h>
8949 #include <X11/Xmu/Editres.h>
8958 rm -f conftest.
$ac_objext
8959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8960 (eval $ac_compile) 2>conftest.er1
8962 grep -v '^ *+' conftest.er1
>conftest.err
8964 cat conftest.err
>&5
8965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8966 (exit $ac_status); } &&
8967 { ac_try
='test -z "$ac_c_werror_flag"
8968 || test ! -s conftest.err'
8969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8973 (exit $ac_status); }; } &&
8974 { ac_try
='test -s conftest.$ac_objext'
8975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8979 (exit $ac_status); }; }; then
8980 echo "$as_me:$LINENO: result: yes" >&5
8981 echo "${ECHO_T}yes" >&6
8982 cat >>confdefs.h
<<\_ACEOF
8983 #define HAVE_X11_XMU_EDITRES_H 1
8987 echo "$as_me: failed program was:" >&5
8988 sed 's/^/| /' conftest.
$ac_ext >&5
8990 echo "$as_me:$LINENO: result: no" >&5
8991 echo "${ECHO_T}no" >&6
8993 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
8994 CPPFLAGS
=$cppflags_save
8997 if test -z "$SKIP_MOTIF"; then
8998 cppflags_save
=$CPPFLAGS
8999 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9007 for ac_header
in Xm
/Xm.h Xm
/XpmP.h Xm
/JoinSideT.h Xm
/TraitP.h Xm
/Manager.h \
9008 Xm
/UnhighlightT.h Xm
/Notebook.h
9010 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9012 echo "$as_me:$LINENO: checking for $ac_header" >&5
9013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9014 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9015 echo $ECHO_N "(cached) $ECHO_C" >&6
9017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9018 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9020 # Is the header compilable?
9021 echo "$as_me:$LINENO: checking $ac_header usability" >&5
9022 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
9023 cat >conftest.
$ac_ext <<_ACEOF
9026 cat confdefs.h
>>conftest.
$ac_ext
9027 cat >>conftest.
$ac_ext <<_ACEOF
9028 /* end confdefs.h. */
9029 $ac_includes_default
9030 #include <$ac_header>
9032 rm -f conftest.
$ac_objext
9033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9034 (eval $ac_compile) 2>conftest.er1
9036 grep -v '^ *+' conftest.er1
>conftest.err
9038 cat conftest.err
>&5
9039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9040 (exit $ac_status); } &&
9041 { ac_try
='test -z "$ac_c_werror_flag"
9042 || test ! -s conftest.err'
9043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9047 (exit $ac_status); }; } &&
9048 { ac_try
='test -s conftest.$ac_objext'
9049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9053 (exit $ac_status); }; }; then
9054 ac_header_compiler
=yes
9056 echo "$as_me: failed program was:" >&5
9057 sed 's/^/| /' conftest.
$ac_ext >&5
9059 ac_header_compiler
=no
9061 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9062 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9063 echo "${ECHO_T}$ac_header_compiler" >&6
9065 # Is the header present?
9066 echo "$as_me:$LINENO: checking $ac_header presence" >&5
9067 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
9068 cat >conftest.
$ac_ext <<_ACEOF
9071 cat confdefs.h
>>conftest.
$ac_ext
9072 cat >>conftest.
$ac_ext <<_ACEOF
9073 /* end confdefs.h. */
9074 #include <$ac_header>
9076 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9077 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9079 grep -v '^ *+' conftest.er1
>conftest.err
9081 cat conftest.err
>&5
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); } >/dev
/null
; then
9084 if test -s conftest.err
; then
9085 ac_cpp_err
=$ac_c_preproc_warn_flag
9086 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9093 if test -z "$ac_cpp_err"; then
9094 ac_header_preproc
=yes
9096 echo "$as_me: failed program was:" >&5
9097 sed 's/^/| /' conftest.
$ac_ext >&5
9099 ac_header_preproc
=no
9101 rm -f conftest.err conftest.
$ac_ext
9102 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9103 echo "${ECHO_T}$ac_header_preproc" >&6
9105 # So? What about this header?
9106 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9108 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9109 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9110 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9111 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9112 ac_header_preproc
=yes
9115 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9116 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9117 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9118 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9119 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9120 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9121 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9122 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9123 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9124 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9125 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9126 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9129 ## ------------------------------------------ ##
9130 ## Report this to the AC_PACKAGE_NAME lists. ##
9131 ## ------------------------------------------ ##
9134 sed "s/^/$as_me: WARNING: /" >&2
9137 echo "$as_me:$LINENO: checking for $ac_header" >&5
9138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
9139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9140 echo $ECHO_N "(cached) $ECHO_C" >&6
9142 eval "$as_ac_Header=\$ac_header_preproc"
9144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9145 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9148 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9149 cat >>confdefs.h
<<_ACEOF
9150 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9158 if test $ac_cv_header_Xm_XpmP_h = yes; then
9159 echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
9160 echo $ECHO_N "checking for XpmAttributes_21 in Xm/XpmP.h... $ECHO_C" >&6
9161 cat >conftest.
$ac_ext <<_ACEOF
9164 cat confdefs.h
>>conftest.
$ac_ext
9165 cat >>conftest.
$ac_ext <<_ACEOF
9166 /* end confdefs.h. */
9167 #include <Xm/XpmP.h>
9171 XpmAttributes_21 attr;
9176 rm -f conftest.
$ac_objext
9177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9178 (eval $ac_compile) 2>conftest.er1
9180 grep -v '^ *+' conftest.er1
>conftest.err
9182 cat conftest.err
>&5
9183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9184 (exit $ac_status); } &&
9185 { ac_try
='test -z "$ac_c_werror_flag"
9186 || test ! -s conftest.err'
9187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9191 (exit $ac_status); }; } &&
9192 { ac_try
='test -s conftest.$ac_objext'
9193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9197 (exit $ac_status); }; }; then
9198 echo "$as_me:$LINENO: result: yes" >&5
9199 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
9200 #define XPMATTRIBUTES_TYPE XpmAttributes_21
9204 echo "$as_me: failed program was:" >&5
9205 sed 's/^/| /' conftest.
$ac_ext >&5
9207 echo "$as_me:$LINENO: result: no" >&5
9208 echo "${ECHO_T}no" >&6; cat >>confdefs.h
<<\_ACEOF
9209 #define XPMATTRIBUTES_TYPE XpmAttributes
9214 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9216 cat >>confdefs.h
<<\_ACEOF
9217 #define XPMATTRIBUTES_TYPE XpmAttributes
9221 CPPFLAGS
=$cppflags_save
9224 if test "x$GUITYPE" = "xNONE" -a "$enable_xim" = "yes"; then
9225 echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
9226 echo "${ECHO_T}no GUI selected; xim has been disabled" >&6
9229 if test "x$GUITYPE" = "xNONE" -a "$enable_fontset" = "yes"; then
9230 echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
9231 echo "${ECHO_T}no GUI selected; fontset has been disabled" >&6
9234 if test "x$GUITYPE:$enable_fontset" = "xGTK:yes" -a "0$gtk_major_version" -ge 2; then
9235 echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
9236 echo "${ECHO_T}GTK+ 2 GUI selected; fontset has been disabled" >&6
9240 if test -z "$SKIP_PHOTON"; then
9249 if test "$enable_workshop" = "yes" -a -n "$SKIP_MOTIF"; then
9250 { { echo "$as_me:$LINENO: error: cannot use workshop without Motif" >&5
9251 echo "$as_me: error: cannot use workshop without Motif" >&2;}
9252 { (exit 1); exit 1; }; }
9255 if test "$enable_xim" = "yes"; then
9256 cat >>confdefs.h
<<\_ACEOF
9261 if test "$enable_fontset" = "yes"; then
9262 cat >>confdefs.h
<<\_ACEOF
9263 #define FEAT_XFONTSET 1
9271 if test "$enable_hangulinput" = "yes"; then
9272 if test "x$GUITYPE" = "xNONE"; then
9273 echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
9274 echo "${ECHO_T}no GUI selected; hangul input has been disabled" >&6
9275 enable_hangulinput
=no
9277 cat >>confdefs.h
<<\_ACEOF
9278 #define FEAT_HANGULIN 1
9281 HANGULIN_SRC
=hangulin.c
9283 HANGULIN_OBJ
=objects
/hangulin.o
9289 echo "$as_me:$LINENO: checking quality of toupper" >&5
9290 echo $ECHO_N "checking quality of toupper... $ECHO_C" >&6
9291 if test "$cross_compiling" = yes; then
9292 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
9293 echo "$as_me: error: failed to compile test program" >&2;}
9294 { (exit 1); exit 1; }; }
9296 cat >conftest.
$ac_ext <<_ACEOF
9299 cat confdefs.h
>>conftest.
$ac_ext
9300 cat >>conftest.
$ac_ext <<_ACEOF
9301 /* end confdefs.h. */
9303 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
9305 rm -f conftest
$ac_exeext
9306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9307 (eval $ac_link) 2>&5
9309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9310 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
9311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9315 (exit $ac_status); }; }; then
9316 cat >>confdefs.h
<<\_ACEOF
9317 #define BROKEN_TOUPPER 1
9319 echo "$as_me:$LINENO: result: bad" >&5
9320 echo "${ECHO_T}bad" >&6
9322 echo "$as_me: program exited with status $ac_status" >&5
9323 echo "$as_me: failed program was:" >&5
9324 sed 's/^/| /' conftest.
$ac_ext >&5
9327 echo "$as_me:$LINENO: result: good" >&5
9328 echo "${ECHO_T}good" >&6
9330 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
9333 echo "$as_me:$LINENO: checking whether __DATE__ and __TIME__ work" >&5
9334 echo $ECHO_N "checking whether __DATE__ and __TIME__ work... $ECHO_C" >&6
9335 cat >conftest.
$ac_ext <<_ACEOF
9338 cat confdefs.h
>>conftest.
$ac_ext
9339 cat >>conftest.
$ac_ext <<_ACEOF
9340 /* end confdefs.h. */
9345 printf("(" __DATE__ " " __TIME__ ")");
9350 rm -f conftest.
$ac_objext
9351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9352 (eval $ac_compile) 2>conftest.er1
9354 grep -v '^ *+' conftest.er1
>conftest.err
9356 cat conftest.err
>&5
9357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9358 (exit $ac_status); } &&
9359 { ac_try
='test -z "$ac_c_werror_flag"
9360 || test ! -s conftest.err'
9361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9365 (exit $ac_status); }; } &&
9366 { ac_try
='test -s conftest.$ac_objext'
9367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9371 (exit $ac_status); }; }; then
9372 echo "$as_me:$LINENO: result: yes" >&5
9373 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
9374 #define HAVE_DATE_TIME 1
9378 echo "$as_me: failed program was:" >&5
9379 sed 's/^/| /' conftest.
$ac_ext >&5
9381 echo "$as_me:$LINENO: result: no" >&5
9382 echo "${ECHO_T}no" >&6
9384 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9386 if test "${ac_cv_header_elf_h+set}" = set; then
9387 echo "$as_me:$LINENO: checking for elf.h" >&5
9388 echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
9389 if test "${ac_cv_header_elf_h+set}" = set; then
9390 echo $ECHO_N "(cached) $ECHO_C" >&6
9392 echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
9393 echo "${ECHO_T}$ac_cv_header_elf_h" >&6
9395 # Is the header compilable?
9396 echo "$as_me:$LINENO: checking elf.h usability" >&5
9397 echo $ECHO_N "checking elf.h usability... $ECHO_C" >&6
9398 cat >conftest.
$ac_ext <<_ACEOF
9401 cat confdefs.h
>>conftest.
$ac_ext
9402 cat >>conftest.
$ac_ext <<_ACEOF
9403 /* end confdefs.h. */
9404 $ac_includes_default
9407 rm -f conftest.
$ac_objext
9408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9409 (eval $ac_compile) 2>conftest.er1
9411 grep -v '^ *+' conftest.er1
>conftest.err
9413 cat conftest.err
>&5
9414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9415 (exit $ac_status); } &&
9416 { ac_try
='test -z "$ac_c_werror_flag"
9417 || test ! -s conftest.err'
9418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9422 (exit $ac_status); }; } &&
9423 { ac_try
='test -s conftest.$ac_objext'
9424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9428 (exit $ac_status); }; }; then
9429 ac_header_compiler
=yes
9431 echo "$as_me: failed program was:" >&5
9432 sed 's/^/| /' conftest.
$ac_ext >&5
9434 ac_header_compiler
=no
9436 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9437 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9438 echo "${ECHO_T}$ac_header_compiler" >&6
9440 # Is the header present?
9441 echo "$as_me:$LINENO: checking elf.h presence" >&5
9442 echo $ECHO_N "checking elf.h presence... $ECHO_C" >&6
9443 cat >conftest.
$ac_ext <<_ACEOF
9446 cat confdefs.h
>>conftest.
$ac_ext
9447 cat >>conftest.
$ac_ext <<_ACEOF
9448 /* end confdefs.h. */
9451 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
9452 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
9454 grep -v '^ *+' conftest.er1
>conftest.err
9456 cat conftest.err
>&5
9457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9458 (exit $ac_status); } >/dev
/null
; then
9459 if test -s conftest.err
; then
9460 ac_cpp_err
=$ac_c_preproc_warn_flag
9461 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9468 if test -z "$ac_cpp_err"; then
9469 ac_header_preproc
=yes
9471 echo "$as_me: failed program was:" >&5
9472 sed 's/^/| /' conftest.
$ac_ext >&5
9474 ac_header_preproc
=no
9476 rm -f conftest.err conftest.
$ac_ext
9477 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9478 echo "${ECHO_T}$ac_header_preproc" >&6
9480 # So? What about this header?
9481 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9483 { echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5
9484 echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9485 { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5
9486 echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;}
9487 ac_header_preproc
=yes
9490 { echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5
9491 echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;}
9492 { echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
9493 echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
9494 { echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5
9495 echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;}
9496 { echo "$as_me:$LINENO: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&5
9497 echo "$as_me: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&2;}
9498 { echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
9499 echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
9500 { echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
9501 echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
9504 ## ------------------------------------------ ##
9505 ## Report this to the AC_PACKAGE_NAME lists. ##
9506 ## ------------------------------------------ ##
9509 sed "s/^/$as_me: WARNING: /" >&2
9512 echo "$as_me:$LINENO: checking for elf.h" >&5
9513 echo $ECHO_N "checking for elf.h... $ECHO_C" >&6
9514 if test "${ac_cv_header_elf_h+set}" = set; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 ac_cv_header_elf_h
=$ac_header_preproc
9519 echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
9520 echo "${ECHO_T}$ac_cv_header_elf_h" >&6
9523 if test $ac_cv_header_elf_h = yes; then
9528 if test "$HAS_ELF" = 1; then
9530 echo "$as_me:$LINENO: checking for main in -lelf" >&5
9531 echo $ECHO_N "checking for main in -lelf... $ECHO_C" >&6
9532 if test "${ac_cv_lib_elf_main+set}" = set; then
9533 echo $ECHO_N "(cached) $ECHO_C" >&6
9535 ac_check_lib_save_LIBS
=$LIBS
9537 cat >conftest.
$ac_ext <<_ACEOF
9540 cat confdefs.h
>>conftest.
$ac_ext
9541 cat >>conftest.
$ac_ext <<_ACEOF
9542 /* end confdefs.h. */
9553 rm -f conftest.
$ac_objext conftest
$ac_exeext
9554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9555 (eval $ac_link) 2>conftest.er1
9557 grep -v '^ *+' conftest.er1
>conftest.err
9559 cat conftest.err
>&5
9560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9561 (exit $ac_status); } &&
9562 { ac_try
='test -z "$ac_c_werror_flag"
9563 || test ! -s conftest.err'
9564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9568 (exit $ac_status); }; } &&
9569 { ac_try
='test -s conftest$ac_exeext'
9570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9574 (exit $ac_status); }; }; then
9575 ac_cv_lib_elf_main
=yes
9577 echo "$as_me: failed program was:" >&5
9578 sed 's/^/| /' conftest.
$ac_ext >&5
9580 ac_cv_lib_elf_main
=no
9582 rm -f conftest.err conftest.
$ac_objext \
9583 conftest
$ac_exeext conftest.
$ac_ext
9584 LIBS
=$ac_check_lib_save_LIBS
9586 echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
9587 echo "${ECHO_T}$ac_cv_lib_elf_main" >&6
9588 if test $ac_cv_lib_elf_main = yes; then
9589 cat >>confdefs.h
<<_ACEOF
9590 #define HAVE_LIBELF 1
9605 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
9606 as_ac_Header
=`echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
9607 echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
9608 echo $ECHO_N "checking for $ac_hdr that defines DIR... $ECHO_C" >&6
9609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
9610 echo $ECHO_N "(cached) $ECHO_C" >&6
9612 cat >conftest.
$ac_ext <<_ACEOF
9615 cat confdefs.h
>>conftest.
$ac_ext
9616 cat >>conftest.
$ac_ext <<_ACEOF
9617 /* end confdefs.h. */
9618 #include <sys/types.h>
9630 rm -f conftest.
$ac_objext
9631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9632 (eval $ac_compile) 2>conftest.er1
9634 grep -v '^ *+' conftest.er1
>conftest.err
9636 cat conftest.err
>&5
9637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9638 (exit $ac_status); } &&
9639 { ac_try
='test -z "$ac_c_werror_flag"
9640 || test ! -s conftest.err'
9641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9645 (exit $ac_status); }; } &&
9646 { ac_try
='test -s conftest.$ac_objext'
9647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9651 (exit $ac_status); }; }; then
9652 eval "$as_ac_Header=yes"
9654 echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.
$ac_ext >&5
9657 eval "$as_ac_Header=no"
9659 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
9662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
9663 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9664 cat >>confdefs.h
<<_ACEOF
9665 #define `echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
9668 ac_header_dirent
=$ac_hdr; break
9672 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
9673 if test $ac_header_dirent = dirent.h
; then
9674 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9675 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9676 if test "${ac_cv_search_opendir+set}" = set; then
9677 echo $ECHO_N "(cached) $ECHO_C" >&6
9679 ac_func_search_save_LIBS
=$LIBS
9680 ac_cv_search_opendir
=no
9681 cat >conftest.
$ac_ext <<_ACEOF
9684 cat confdefs.h
>>conftest.
$ac_ext
9685 cat >>conftest.
$ac_ext <<_ACEOF
9686 /* end confdefs.h. */
9688 /* Override any gcc2 internal prototype to avoid an error. */
9692 /* We use char because int might match the return type of a gcc2
9693 builtin and then its argument prototype would still apply. */
9703 rm -f conftest.
$ac_objext conftest
$ac_exeext
9704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9705 (eval $ac_link) 2>conftest.er1
9707 grep -v '^ *+' conftest.er1
>conftest.err
9709 cat conftest.err
>&5
9710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9711 (exit $ac_status); } &&
9712 { ac_try
='test -z "$ac_c_werror_flag"
9713 || test ! -s conftest.err'
9714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9718 (exit $ac_status); }; } &&
9719 { ac_try
='test -s conftest$ac_exeext'
9720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9724 (exit $ac_status); }; }; then
9725 ac_cv_search_opendir
="none required"
9727 echo "$as_me: failed program was:" >&5
9728 sed 's/^/| /' conftest.
$ac_ext >&5
9731 rm -f conftest.err conftest.
$ac_objext \
9732 conftest
$ac_exeext conftest.
$ac_ext
9733 if test "$ac_cv_search_opendir" = no
; then
9734 for ac_lib
in dir
; do
9735 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9736 cat >conftest.
$ac_ext <<_ACEOF
9739 cat confdefs.h
>>conftest.
$ac_ext
9740 cat >>conftest.
$ac_ext <<_ACEOF
9741 /* end confdefs.h. */
9743 /* Override any gcc2 internal prototype to avoid an error. */
9747 /* We use char because int might match the return type of a gcc2
9748 builtin and then its argument prototype would still apply. */
9758 rm -f conftest.
$ac_objext conftest
$ac_exeext
9759 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9760 (eval $ac_link) 2>conftest.er1
9762 grep -v '^ *+' conftest.er1
>conftest.err
9764 cat conftest.err
>&5
9765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9766 (exit $ac_status); } &&
9767 { ac_try
='test -z "$ac_c_werror_flag"
9768 || test ! -s conftest.err'
9769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9773 (exit $ac_status); }; } &&
9774 { ac_try
='test -s conftest$ac_exeext'
9775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9779 (exit $ac_status); }; }; then
9780 ac_cv_search_opendir
="-l$ac_lib"
9783 echo "$as_me: failed program was:" >&5
9784 sed 's/^/| /' conftest.
$ac_ext >&5
9787 rm -f conftest.err conftest.
$ac_objext \
9788 conftest
$ac_exeext conftest.
$ac_ext
9791 LIBS
=$ac_func_search_save_LIBS
9793 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9794 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9795 if test "$ac_cv_search_opendir" != no
; then
9796 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9801 echo "$as_me:$LINENO: checking for library containing opendir" >&5
9802 echo $ECHO_N "checking for library containing opendir... $ECHO_C" >&6
9803 if test "${ac_cv_search_opendir+set}" = set; then
9804 echo $ECHO_N "(cached) $ECHO_C" >&6
9806 ac_func_search_save_LIBS
=$LIBS
9807 ac_cv_search_opendir
=no
9808 cat >conftest.
$ac_ext <<_ACEOF
9811 cat confdefs.h
>>conftest.
$ac_ext
9812 cat >>conftest.
$ac_ext <<_ACEOF
9813 /* end confdefs.h. */
9815 /* Override any gcc2 internal prototype to avoid an error. */
9819 /* We use char because int might match the return type of a gcc2
9820 builtin and then its argument prototype would still apply. */
9830 rm -f conftest.
$ac_objext conftest
$ac_exeext
9831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9832 (eval $ac_link) 2>conftest.er1
9834 grep -v '^ *+' conftest.er1
>conftest.err
9836 cat conftest.err
>&5
9837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9838 (exit $ac_status); } &&
9839 { ac_try
='test -z "$ac_c_werror_flag"
9840 || test ! -s conftest.err'
9841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9845 (exit $ac_status); }; } &&
9846 { ac_try
='test -s conftest$ac_exeext'
9847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9851 (exit $ac_status); }; }; then
9852 ac_cv_search_opendir
="none required"
9854 echo "$as_me: failed program was:" >&5
9855 sed 's/^/| /' conftest.
$ac_ext >&5
9858 rm -f conftest.err conftest.
$ac_objext \
9859 conftest
$ac_exeext conftest.
$ac_ext
9860 if test "$ac_cv_search_opendir" = no
; then
9862 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
9863 cat >conftest.
$ac_ext <<_ACEOF
9866 cat confdefs.h
>>conftest.
$ac_ext
9867 cat >>conftest.
$ac_ext <<_ACEOF
9868 /* end confdefs.h. */
9870 /* Override any gcc2 internal prototype to avoid an error. */
9874 /* We use char because int might match the return type of a gcc2
9875 builtin and then its argument prototype would still apply. */
9885 rm -f conftest.
$ac_objext conftest
$ac_exeext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9887 (eval $ac_link) 2>conftest.er1
9889 grep -v '^ *+' conftest.er1
>conftest.err
9891 cat conftest.err
>&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try
='test -z "$ac_c_werror_flag"
9895 || test ! -s conftest.err'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; } &&
9901 { ac_try
='test -s conftest$ac_exeext'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; }; then
9907 ac_cv_search_opendir
="-l$ac_lib"
9910 echo "$as_me: failed program was:" >&5
9911 sed 's/^/| /' conftest.
$ac_ext >&5
9914 rm -f conftest.err conftest.
$ac_objext \
9915 conftest
$ac_exeext conftest.
$ac_ext
9918 LIBS
=$ac_func_search_save_LIBS
9920 echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
9921 echo "${ECHO_T}$ac_cv_search_opendir" >&6
9922 if test "$ac_cv_search_opendir" != no
; then
9923 test "$ac_cv_search_opendir" = "none required" || LIBS
="$ac_cv_search_opendir $LIBS"
9930 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
9931 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
9932 if test "${ac_cv_header_stdc+set}" = set; then
9933 echo $ECHO_N "(cached) $ECHO_C" >&6
9935 cat >conftest.
$ac_ext <<_ACEOF
9938 cat confdefs.h
>>conftest.
$ac_ext
9939 cat >>conftest.
$ac_ext <<_ACEOF
9940 /* end confdefs.h. */
9954 rm -f conftest.
$ac_objext
9955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9956 (eval $ac_compile) 2>conftest.er1
9958 grep -v '^ *+' conftest.er1
>conftest.err
9960 cat conftest.err
>&5
9961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9962 (exit $ac_status); } &&
9963 { ac_try
='test -z "$ac_c_werror_flag"
9964 || test ! -s conftest.err'
9965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); }; } &&
9970 { ac_try
='test -s conftest.$ac_objext'
9971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9975 (exit $ac_status); }; }; then
9976 ac_cv_header_stdc
=yes
9978 echo "$as_me: failed program was:" >&5
9979 sed 's/^/| /' conftest.
$ac_ext >&5
9981 ac_cv_header_stdc
=no
9983 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
9985 if test $ac_cv_header_stdc = yes; then
9986 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9987 cat >conftest.
$ac_ext <<_ACEOF
9990 cat confdefs.h
>>conftest.
$ac_ext
9991 cat >>conftest.
$ac_ext <<_ACEOF
9992 /* end confdefs.h. */
9996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9997 $EGREP "memchr" >/dev
/null
2>&1; then
10000 ac_cv_header_stdc
=no
10006 if test $ac_cv_header_stdc = yes; then
10007 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
10008 cat >conftest.
$ac_ext <<_ACEOF
10011 cat confdefs.h
>>conftest.
$ac_ext
10012 cat >>conftest.
$ac_ext <<_ACEOF
10013 /* end confdefs.h. */
10014 #include <stdlib.h>
10017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10018 $EGREP "free" >/dev
/null
2>&1; then
10021 ac_cv_header_stdc
=no
10027 if test $ac_cv_header_stdc = yes; then
10028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
10029 if test "$cross_compiling" = yes; then
10032 cat >conftest.
$ac_ext <<_ACEOF
10035 cat confdefs.h
>>conftest.
$ac_ext
10036 cat >>conftest.
$ac_ext <<_ACEOF
10037 /* end confdefs.h. */
10039 #if ((' ' & 0x0FF) == 0x020)
10040 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
10041 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
10043 # define ISLOWER(c) \
10044 (('a' <= (c) && (c) <= 'i') \
10045 || ('j' <= (c) && (c) <= 'r') \
10046 || ('s' <= (c) && (c) <= 'z'))
10047 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
10050 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
10055 for (i = 0; i < 256; i++)
10056 if (XOR (islower (i), ISLOWER (i))
10057 || toupper (i) != TOUPPER (i))
10062 rm -f conftest
$ac_exeext
10063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10064 (eval $ac_link) 2>&5
10066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10067 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
10068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10069 (eval $ac_try) 2>&5
10071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10072 (exit $ac_status); }; }; then
10075 echo "$as_me: program exited with status $ac_status" >&5
10076 echo "$as_me: failed program was:" >&5
10077 sed 's/^/| /' conftest.
$ac_ext >&5
10079 ( exit $ac_status )
10080 ac_cv_header_stdc
=no
10082 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10086 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
10087 echo "${ECHO_T}$ac_cv_header_stdc" >&6
10088 if test $ac_cv_header_stdc = yes; then
10090 cat >>confdefs.h
<<\_ACEOF
10091 #define STDC_HEADERS 1
10096 echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
10097 echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6
10098 if test "${ac_cv_header_sys_wait_h+set}" = set; then
10099 echo $ECHO_N "(cached) $ECHO_C" >&6
10101 cat >conftest.
$ac_ext <<_ACEOF
10104 cat confdefs.h
>>conftest.
$ac_ext
10105 cat >>conftest.
$ac_ext <<_ACEOF
10106 /* end confdefs.h. */
10107 #include <sys/types.h>
10108 #include <sys/wait.h>
10109 #ifndef WEXITSTATUS
10110 # define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
10113 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
10121 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
10126 rm -f conftest.
$ac_objext
10127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10128 (eval $ac_compile) 2>conftest.er1
10130 grep -v '^ *+' conftest.er1
>conftest.err
10132 cat conftest.err
>&5
10133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10134 (exit $ac_status); } &&
10135 { ac_try
='test -z "$ac_c_werror_flag"
10136 || test ! -s conftest.err'
10137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10138 (eval $ac_try) 2>&5
10140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10141 (exit $ac_status); }; } &&
10142 { ac_try
='test -s conftest.$ac_objext'
10143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10144 (eval $ac_try) 2>&5
10146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10147 (exit $ac_status); }; }; then
10148 ac_cv_header_sys_wait_h
=yes
10150 echo "$as_me: failed program was:" >&5
10151 sed 's/^/| /' conftest.
$ac_ext >&5
10153 ac_cv_header_sys_wait_h
=no
10155 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10157 echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
10158 echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6
10159 if test $ac_cv_header_sys_wait_h = yes; then
10161 cat >>confdefs.h
<<\_ACEOF
10162 #define HAVE_SYS_WAIT_H 1
10168 if test $ac_cv_header_sys_wait_h = no
; then
10169 echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
10170 echo $ECHO_N "checking for sys/wait.h that defines union wait... $ECHO_C" >&6
10171 cat >conftest.
$ac_ext <<_ACEOF
10174 cat confdefs.h
>>conftest.
$ac_ext
10175 cat >>conftest.
$ac_ext <<_ACEOF
10176 /* end confdefs.h. */
10177 #include <sys/wait.h>
10181 union wait xx, yy; xx = yy
10186 rm -f conftest.
$ac_objext
10187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10188 (eval $ac_compile) 2>conftest.er1
10190 grep -v '^ *+' conftest.er1
>conftest.err
10192 cat conftest.err
>&5
10193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10194 (exit $ac_status); } &&
10195 { ac_try
='test -z "$ac_c_werror_flag"
10196 || test ! -s conftest.err'
10197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10198 (eval $ac_try) 2>&5
10200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10201 (exit $ac_status); }; } &&
10202 { ac_try
='test -s conftest.$ac_objext'
10203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10204 (eval $ac_try) 2>&5
10206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10207 (exit $ac_status); }; }; then
10208 echo "$as_me:$LINENO: result: yes" >&5
10209 echo "${ECHO_T}yes" >&6
10210 cat >>confdefs.h
<<\_ACEOF
10211 #define HAVE_SYS_WAIT_H 1
10214 cat >>confdefs.h
<<\_ACEOF
10215 #define HAVE_UNION_WAIT 1
10219 echo "$as_me: failed program was:" >&5
10220 sed 's/^/| /' conftest.
$ac_ext >&5
10222 echo "$as_me:$LINENO: result: no" >&5
10223 echo "${ECHO_T}no" >&6
10225 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10269 for ac_header
in stdarg.h stdlib.h string.h sys
/select.h sys
/utsname.h \
10270 termcap.h fcntl.h sgtty.h sys
/ioctl.h sys
/time.h sys
/types.h termio.h \
10271 iconv.h langinfo.h unistd.h stropts.h errno.h \
10272 sys
/resource.h sys
/systeminfo.h locale.h \
10273 sys
/stream.h sys
/ptem.h termios.h libc.h sys
/statfs.h \
10274 poll.h sys
/poll.h
pwd.h utime.h sys
/param.h libintl.h \
10275 libgen.h util
/debug.h util
/msg18n.h frame.h \
10276 sys
/acl.h sys
/access.h sys
/sysctl.h sys
/sysinfo.h wchar.h wctype.h
10278 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10280 echo "$as_me:$LINENO: checking for $ac_header" >&5
10281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10283 echo $ECHO_N "(cached) $ECHO_C" >&6
10285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10288 # Is the header compilable?
10289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10291 cat >conftest.
$ac_ext <<_ACEOF
10294 cat confdefs.h
>>conftest.
$ac_ext
10295 cat >>conftest.
$ac_ext <<_ACEOF
10296 /* end confdefs.h. */
10297 $ac_includes_default
10298 #include <$ac_header>
10300 rm -f conftest.
$ac_objext
10301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10302 (eval $ac_compile) 2>conftest.er1
10304 grep -v '^ *+' conftest.er1
>conftest.err
10306 cat conftest.err
>&5
10307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10308 (exit $ac_status); } &&
10309 { ac_try
='test -z "$ac_c_werror_flag"
10310 || test ! -s conftest.err'
10311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10312 (eval $ac_try) 2>&5
10314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10315 (exit $ac_status); }; } &&
10316 { ac_try
='test -s conftest.$ac_objext'
10317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10318 (eval $ac_try) 2>&5
10320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10321 (exit $ac_status); }; }; then
10322 ac_header_compiler
=yes
10324 echo "$as_me: failed program was:" >&5
10325 sed 's/^/| /' conftest.
$ac_ext >&5
10327 ac_header_compiler
=no
10329 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10331 echo "${ECHO_T}$ac_header_compiler" >&6
10333 # Is the header present?
10334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10336 cat >conftest.
$ac_ext <<_ACEOF
10339 cat confdefs.h
>>conftest.
$ac_ext
10340 cat >>conftest.
$ac_ext <<_ACEOF
10341 /* end confdefs.h. */
10342 #include <$ac_header>
10344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10345 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10347 grep -v '^ *+' conftest.er1
>conftest.err
10349 cat conftest.err
>&5
10350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10351 (exit $ac_status); } >/dev
/null
; then
10352 if test -s conftest.err
; then
10353 ac_cpp_err
=$ac_c_preproc_warn_flag
10354 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10361 if test -z "$ac_cpp_err"; then
10362 ac_header_preproc
=yes
10364 echo "$as_me: failed program was:" >&5
10365 sed 's/^/| /' conftest.
$ac_ext >&5
10367 ac_header_preproc
=no
10369 rm -f conftest.err conftest.
$ac_ext
10370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10371 echo "${ECHO_T}$ac_header_preproc" >&6
10373 # So? What about this header?
10374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10380 ac_header_preproc
=yes
10383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10387 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10389 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10390 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10393 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10397 ## ------------------------------------------ ##
10398 ## Report this to the AC_PACKAGE_NAME lists. ##
10399 ## ------------------------------------------ ##
10402 sed "s/^/$as_me: WARNING: /" >&2
10405 echo "$as_me:$LINENO: checking for $ac_header" >&5
10406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10408 echo $ECHO_N "(cached) $ECHO_C" >&6
10410 eval "$as_ac_Header=\$ac_header_preproc"
10412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10417 cat >>confdefs.h
<<_ACEOF
10418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10426 echo "$as_me:$LINENO: checking for pthread_np.h" >&5
10427 echo $ECHO_N "checking for pthread_np.h... $ECHO_C" >&6
10428 cat >conftest.
$ac_ext <<_ACEOF
10431 cat confdefs.h
>>conftest.
$ac_ext
10432 cat >>conftest.
$ac_ext <<_ACEOF
10433 /* end confdefs.h. */
10435 #include <pthread.h>
10436 #include <pthread_np.h>
10445 rm -f conftest.
$ac_objext
10446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10447 (eval $ac_compile) 2>conftest.er1
10449 grep -v '^ *+' conftest.er1
>conftest.err
10451 cat conftest.err
>&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); } &&
10454 { ac_try
='test -z "$ac_c_werror_flag"
10455 || test ! -s conftest.err'
10456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 (eval $ac_try) 2>&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); }; } &&
10461 { ac_try
='test -s conftest.$ac_objext'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; }; then
10467 echo "$as_me:$LINENO: result: yes" >&5
10468 echo "${ECHO_T}yes" >&6
10469 cat >>confdefs.h
<<\_ACEOF
10470 #define HAVE_PTHREAD_NP_H 1
10474 echo "$as_me: failed program was:" >&5
10475 sed 's/^/| /' conftest.
$ac_ext >&5
10477 echo "$as_me:$LINENO: result: no" >&5
10478 echo "${ECHO_T}no" >&6
10480 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10483 for ac_header
in strings.h
10485 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10487 echo "$as_me:$LINENO: checking for $ac_header" >&5
10488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10490 echo $ECHO_N "(cached) $ECHO_C" >&6
10492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10495 # Is the header compilable?
10496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
10497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
10498 cat >conftest.
$ac_ext <<_ACEOF
10501 cat confdefs.h
>>conftest.
$ac_ext
10502 cat >>conftest.
$ac_ext <<_ACEOF
10503 /* end confdefs.h. */
10504 $ac_includes_default
10505 #include <$ac_header>
10507 rm -f conftest.
$ac_objext
10508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10509 (eval $ac_compile) 2>conftest.er1
10511 grep -v '^ *+' conftest.er1
>conftest.err
10513 cat conftest.err
>&5
10514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10515 (exit $ac_status); } &&
10516 { ac_try
='test -z "$ac_c_werror_flag"
10517 || test ! -s conftest.err'
10518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10519 (eval $ac_try) 2>&5
10521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10522 (exit $ac_status); }; } &&
10523 { ac_try
='test -s conftest.$ac_objext'
10524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10525 (eval $ac_try) 2>&5
10527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10528 (exit $ac_status); }; }; then
10529 ac_header_compiler
=yes
10531 echo "$as_me: failed program was:" >&5
10532 sed 's/^/| /' conftest.
$ac_ext >&5
10534 ac_header_compiler
=no
10536 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10538 echo "${ECHO_T}$ac_header_compiler" >&6
10540 # Is the header present?
10541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
10542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
10543 cat >conftest.
$ac_ext <<_ACEOF
10546 cat confdefs.h
>>conftest.
$ac_ext
10547 cat >>conftest.
$ac_ext <<_ACEOF
10548 /* end confdefs.h. */
10549 #include <$ac_header>
10551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
10552 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
10554 grep -v '^ *+' conftest.er1
>conftest.err
10556 cat conftest.err
>&5
10557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10558 (exit $ac_status); } >/dev
/null
; then
10559 if test -s conftest.err
; then
10560 ac_cpp_err
=$ac_c_preproc_warn_flag
10561 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10568 if test -z "$ac_cpp_err"; then
10569 ac_header_preproc
=yes
10571 echo "$as_me: failed program was:" >&5
10572 sed 's/^/| /' conftest.
$ac_ext >&5
10574 ac_header_preproc
=no
10576 rm -f conftest.err conftest.
$ac_ext
10577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10578 echo "${ECHO_T}$ac_header_preproc" >&6
10580 # So? What about this header?
10581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10587 ac_header_preproc
=yes
10590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10604 ## ------------------------------------------ ##
10605 ## Report this to the AC_PACKAGE_NAME lists. ##
10606 ## ------------------------------------------ ##
10609 sed "s/^/$as_me: WARNING: /" >&2
10612 echo "$as_me:$LINENO: checking for $ac_header" >&5
10613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
10614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
10615 echo $ECHO_N "(cached) $ECHO_C" >&6
10617 eval "$as_ac_Header=\$ac_header_preproc"
10619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
10620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
10623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10624 cat >>confdefs.h
<<_ACEOF
10625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10632 if test "x$MACOSX" = "xyes"; then
10633 cat >>confdefs.h
<<\_ACEOF
10634 #define NO_STRINGS_WITH_STRING_H 1
10639 echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
10640 echo $ECHO_N "checking if strings.h can be included after string.h... $ECHO_C" >&6
10641 cppflags_save
=$CPPFLAGS
10642 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10643 cat >conftest.
$ac_ext <<_ACEOF
10646 cat confdefs.h
>>conftest.
$ac_ext
10647 cat >>conftest.
$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10650 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO)
10651 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */
10652 /* but don't do it on AIX 5.1 (Uribarri) */
10654 #ifdef HAVE_XM_XM_H
10655 # include <Xm/Xm.h> /* This breaks it for HP-UX 11 (Squassabia) */
10657 #ifdef HAVE_STRING_H
10658 # include <string.h>
10660 #if defined(HAVE_STRINGS_H)
10661 # include <strings.h>
10672 rm -f conftest.
$ac_objext
10673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10674 (eval $ac_compile) 2>conftest.er1
10676 grep -v '^ *+' conftest.er1
>conftest.err
10678 cat conftest.err
>&5
10679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10680 (exit $ac_status); } &&
10681 { ac_try
='test -z "$ac_c_werror_flag"
10682 || test ! -s conftest.err'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; } &&
10688 { ac_try
='test -s conftest.$ac_objext'
10689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10690 (eval $ac_try) 2>&5
10692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); }; }; then
10694 echo "$as_me:$LINENO: result: yes" >&5
10695 echo "${ECHO_T}yes" >&6
10697 echo "$as_me: failed program was:" >&5
10698 sed 's/^/| /' conftest.
$ac_ext >&5
10700 cat >>confdefs.h
<<\_ACEOF
10701 #define NO_STRINGS_WITH_STRING_H 1
10704 echo "$as_me:$LINENO: result: no" >&5
10705 echo "${ECHO_T}no" >&6
10707 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10708 CPPFLAGS
=$cppflags_save
10711 if test $ac_cv_c_compiler_gnu = yes; then
10712 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
10713 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
10714 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
10715 echo $ECHO_N "(cached) $ECHO_C" >&6
10717 ac_pattern
="Autoconf.*'x'"
10718 cat >conftest.
$ac_ext <<_ACEOF
10721 cat confdefs.h
>>conftest.
$ac_ext
10722 cat >>conftest.
$ac_ext <<_ACEOF
10723 /* end confdefs.h. */
10727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10728 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10729 ac_cv_prog_gcc_traditional
=yes
10731 ac_cv_prog_gcc_traditional
=no
10736 if test $ac_cv_prog_gcc_traditional = no
; then
10737 cat >conftest.
$ac_ext <<_ACEOF
10740 cat confdefs.h
>>conftest.
$ac_ext
10741 cat >>conftest.
$ac_ext <<_ACEOF
10742 /* end confdefs.h. */
10743 #include <termio.h>
10746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10747 $EGREP "$ac_pattern" >/dev
/null
2>&1; then
10748 ac_cv_prog_gcc_traditional
=yes
10754 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
10755 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
10756 if test $ac_cv_prog_gcc_traditional = yes; then
10757 CC
="$CC -traditional"
10761 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
10762 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
10763 if test "${ac_cv_c_const+set}" = set; then
10764 echo $ECHO_N "(cached) $ECHO_C" >&6
10766 cat >conftest.
$ac_ext <<_ACEOF
10769 cat confdefs.h
>>conftest.
$ac_ext
10770 cat >>conftest.
$ac_ext <<_ACEOF
10771 /* end confdefs.h. */
10776 /* FIXME: Include the comments suggested by Paul. */
10777 #ifndef __cplusplus
10778 /* Ultrix mips cc rejects this. */
10779 typedef int charset[2];
10781 /* SunOS 4.1.1 cc rejects this. */
10782 char const *const *ccp;
10784 /* NEC SVR4.0.2 mips cc rejects this. */
10785 struct point {int x, y;};
10786 static struct point const zero = {0,0};
10787 /* AIX XL C 1.02.0.0 rejects this.
10788 It does not let you subtract one const X* pointer from another in
10789 an arm of an if-expression whose if-part is not a constant
10791 const char *g = "string";
10792 ccp = &g + (g ? g-g : 0);
10793 /* HPUX 7.0 cc rejects these. */
10796 ccp = (char const *const *) p;
10797 { /* SCO 3.2v4 cc rejects this. */
10799 char const *s = 0 ? (char *) 0 : (char const *) 0;
10803 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10804 int x[] = {25, 17};
10805 const int *foo = &x[0];
10808 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10809 typedef const int *iptr;
10813 { /* AIX XL C 1.02.0.0 rejects this saying
10814 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10815 struct s { int j; const int *ap[3]; };
10816 struct s *b; b->j = 5;
10818 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10819 const int foo = 10;
10827 rm -f conftest.
$ac_objext
10828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10829 (eval $ac_compile) 2>conftest.er1
10831 grep -v '^ *+' conftest.er1
>conftest.err
10833 cat conftest.err
>&5
10834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10835 (exit $ac_status); } &&
10836 { ac_try
='test -z "$ac_c_werror_flag"
10837 || test ! -s conftest.err'
10838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10839 (eval $ac_try) 2>&5
10841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10842 (exit $ac_status); }; } &&
10843 { ac_try
='test -s conftest.$ac_objext'
10844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10845 (eval $ac_try) 2>&5
10847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10848 (exit $ac_status); }; }; then
10851 echo "$as_me: failed program was:" >&5
10852 sed 's/^/| /' conftest.
$ac_ext >&5
10856 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10858 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
10859 echo "${ECHO_T}$ac_cv_c_const" >&6
10860 if test $ac_cv_c_const = no
; then
10862 cat >>confdefs.h
<<\_ACEOF
10868 echo "$as_me:$LINENO: checking for mode_t" >&5
10869 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
10870 if test "${ac_cv_type_mode_t+set}" = set; then
10871 echo $ECHO_N "(cached) $ECHO_C" >&6
10873 cat >conftest.
$ac_ext <<_ACEOF
10876 cat confdefs.h
>>conftest.
$ac_ext
10877 cat >>conftest.
$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10879 $ac_includes_default
10885 if (sizeof (mode_t))
10891 rm -f conftest.
$ac_objext
10892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10893 (eval $ac_compile) 2>conftest.er1
10895 grep -v '^ *+' conftest.er1
>conftest.err
10897 cat conftest.err
>&5
10898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10899 (exit $ac_status); } &&
10900 { ac_try
='test -z "$ac_c_werror_flag"
10901 || test ! -s conftest.err'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; } &&
10907 { ac_try
='test -s conftest.$ac_objext'
10908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10909 (eval $ac_try) 2>&5
10911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10912 (exit $ac_status); }; }; then
10913 ac_cv_type_mode_t
=yes
10915 echo "$as_me: failed program was:" >&5
10916 sed 's/^/| /' conftest.
$ac_ext >&5
10918 ac_cv_type_mode_t
=no
10920 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10922 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
10923 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
10924 if test $ac_cv_type_mode_t = yes; then
10928 cat >>confdefs.h
<<_ACEOF
10934 echo "$as_me:$LINENO: checking for off_t" >&5
10935 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
10936 if test "${ac_cv_type_off_t+set}" = set; then
10937 echo $ECHO_N "(cached) $ECHO_C" >&6
10939 cat >conftest.
$ac_ext <<_ACEOF
10942 cat confdefs.h
>>conftest.
$ac_ext
10943 cat >>conftest.
$ac_ext <<_ACEOF
10944 /* end confdefs.h. */
10945 $ac_includes_default
10951 if (sizeof (off_t))
10957 rm -f conftest.
$ac_objext
10958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10959 (eval $ac_compile) 2>conftest.er1
10961 grep -v '^ *+' conftest.er1
>conftest.err
10963 cat conftest.err
>&5
10964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10965 (exit $ac_status); } &&
10966 { ac_try
='test -z "$ac_c_werror_flag"
10967 || test ! -s conftest.err'
10968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10969 (eval $ac_try) 2>&5
10971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10972 (exit $ac_status); }; } &&
10973 { ac_try
='test -s conftest.$ac_objext'
10974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10975 (eval $ac_try) 2>&5
10977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10978 (exit $ac_status); }; }; then
10979 ac_cv_type_off_t
=yes
10981 echo "$as_me: failed program was:" >&5
10982 sed 's/^/| /' conftest.
$ac_ext >&5
10984 ac_cv_type_off_t
=no
10986 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
10988 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
10989 echo "${ECHO_T}$ac_cv_type_off_t" >&6
10990 if test $ac_cv_type_off_t = yes; then
10994 cat >>confdefs.h
<<_ACEOF
11000 echo "$as_me:$LINENO: checking for pid_t" >&5
11001 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
11002 if test "${ac_cv_type_pid_t+set}" = set; then
11003 echo $ECHO_N "(cached) $ECHO_C" >&6
11005 cat >conftest.
$ac_ext <<_ACEOF
11008 cat confdefs.h
>>conftest.
$ac_ext
11009 cat >>conftest.
$ac_ext <<_ACEOF
11010 /* end confdefs.h. */
11011 $ac_includes_default
11017 if (sizeof (pid_t))
11023 rm -f conftest.
$ac_objext
11024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11025 (eval $ac_compile) 2>conftest.er1
11027 grep -v '^ *+' conftest.er1
>conftest.err
11029 cat conftest.err
>&5
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); } &&
11032 { ac_try
='test -z "$ac_c_werror_flag"
11033 || test ! -s conftest.err'
11034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11035 (eval $ac_try) 2>&5
11037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11038 (exit $ac_status); }; } &&
11039 { ac_try
='test -s conftest.$ac_objext'
11040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11041 (eval $ac_try) 2>&5
11043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11044 (exit $ac_status); }; }; then
11045 ac_cv_type_pid_t
=yes
11047 echo "$as_me: failed program was:" >&5
11048 sed 's/^/| /' conftest.
$ac_ext >&5
11050 ac_cv_type_pid_t
=no
11052 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11054 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11055 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
11056 if test $ac_cv_type_pid_t = yes; then
11060 cat >>confdefs.h
<<_ACEOF
11066 echo "$as_me:$LINENO: checking for size_t" >&5
11067 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
11068 if test "${ac_cv_type_size_t+set}" = set; then
11069 echo $ECHO_N "(cached) $ECHO_C" >&6
11071 cat >conftest.
$ac_ext <<_ACEOF
11074 cat confdefs.h
>>conftest.
$ac_ext
11075 cat >>conftest.
$ac_ext <<_ACEOF
11076 /* end confdefs.h. */
11077 $ac_includes_default
11083 if (sizeof (size_t))
11089 rm -f conftest.
$ac_objext
11090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11091 (eval $ac_compile) 2>conftest.er1
11093 grep -v '^ *+' conftest.er1
>conftest.err
11095 cat conftest.err
>&5
11096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11097 (exit $ac_status); } &&
11098 { ac_try
='test -z "$ac_c_werror_flag"
11099 || test ! -s conftest.err'
11100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11101 (eval $ac_try) 2>&5
11103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11104 (exit $ac_status); }; } &&
11105 { ac_try
='test -s conftest.$ac_objext'
11106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11107 (eval $ac_try) 2>&5
11109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11110 (exit $ac_status); }; }; then
11111 ac_cv_type_size_t
=yes
11113 echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.
$ac_ext >&5
11116 ac_cv_type_size_t
=no
11118 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11120 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
11121 echo "${ECHO_T}$ac_cv_type_size_t" >&6
11122 if test $ac_cv_type_size_t = yes; then
11126 cat >>confdefs.h
<<_ACEOF
11127 #define size_t unsigned
11132 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
11133 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
11134 if test "${ac_cv_type_uid_t+set}" = set; then
11135 echo $ECHO_N "(cached) $ECHO_C" >&6
11137 cat >conftest.
$ac_ext <<_ACEOF
11140 cat confdefs.h
>>conftest.
$ac_ext
11141 cat >>conftest.
$ac_ext <<_ACEOF
11142 /* end confdefs.h. */
11143 #include <sys/types.h>
11146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11147 $EGREP "uid_t" >/dev
/null
2>&1; then
11148 ac_cv_type_uid_t
=yes
11150 ac_cv_type_uid_t
=no
11155 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
11156 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
11157 if test $ac_cv_type_uid_t = no
; then
11159 cat >>confdefs.h
<<\_ACEOF
11164 cat >>confdefs.h
<<\_ACEOF
11170 echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
11171 echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6
11172 if test "${ac_cv_header_time+set}" = set; then
11173 echo $ECHO_N "(cached) $ECHO_C" >&6
11175 cat >conftest.
$ac_ext <<_ACEOF
11178 cat confdefs.h
>>conftest.
$ac_ext
11179 cat >>conftest.
$ac_ext <<_ACEOF
11180 /* end confdefs.h. */
11181 #include <sys/types.h>
11182 #include <sys/time.h>
11188 if ((struct tm *) 0)
11194 rm -f conftest.
$ac_objext
11195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11196 (eval $ac_compile) 2>conftest.er1
11198 grep -v '^ *+' conftest.er1
>conftest.err
11200 cat conftest.err
>&5
11201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11202 (exit $ac_status); } &&
11203 { ac_try
='test -z "$ac_c_werror_flag"
11204 || test ! -s conftest.err'
11205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11206 (eval $ac_try) 2>&5
11208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11209 (exit $ac_status); }; } &&
11210 { ac_try
='test -s conftest.$ac_objext'
11211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11212 (eval $ac_try) 2>&5
11214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11215 (exit $ac_status); }; }; then
11216 ac_cv_header_time
=yes
11218 echo "$as_me: failed program was:" >&5
11219 sed 's/^/| /' conftest.
$ac_ext >&5
11221 ac_cv_header_time
=no
11223 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11225 echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
11226 echo "${ECHO_T}$ac_cv_header_time" >&6
11227 if test $ac_cv_header_time = yes; then
11229 cat >>confdefs.h
<<\_ACEOF
11230 #define TIME_WITH_SYS_TIME 1
11235 echo "$as_me:$LINENO: checking for ino_t" >&5
11236 echo $ECHO_N "checking for ino_t... $ECHO_C" >&6
11237 if test "${ac_cv_type_ino_t+set}" = set; then
11238 echo $ECHO_N "(cached) $ECHO_C" >&6
11240 cat >conftest.
$ac_ext <<_ACEOF
11243 cat confdefs.h
>>conftest.
$ac_ext
11244 cat >>conftest.
$ac_ext <<_ACEOF
11245 /* end confdefs.h. */
11246 $ac_includes_default
11252 if (sizeof (ino_t))
11258 rm -f conftest.
$ac_objext
11259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11260 (eval $ac_compile) 2>conftest.er1
11262 grep -v '^ *+' conftest.er1
>conftest.err
11264 cat conftest.err
>&5
11265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11266 (exit $ac_status); } &&
11267 { ac_try
='test -z "$ac_c_werror_flag"
11268 || test ! -s conftest.err'
11269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11270 (eval $ac_try) 2>&5
11272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11273 (exit $ac_status); }; } &&
11274 { ac_try
='test -s conftest.$ac_objext'
11275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11276 (eval $ac_try) 2>&5
11278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11279 (exit $ac_status); }; }; then
11280 ac_cv_type_ino_t
=yes
11282 echo "$as_me: failed program was:" >&5
11283 sed 's/^/| /' conftest.
$ac_ext >&5
11285 ac_cv_type_ino_t
=no
11287 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11289 echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
11290 echo "${ECHO_T}$ac_cv_type_ino_t" >&6
11291 if test $ac_cv_type_ino_t = yes; then
11295 cat >>confdefs.h
<<_ACEOF
11301 echo "$as_me:$LINENO: checking for dev_t" >&5
11302 echo $ECHO_N "checking for dev_t... $ECHO_C" >&6
11303 if test "${ac_cv_type_dev_t+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11306 cat >conftest.
$ac_ext <<_ACEOF
11309 cat confdefs.h
>>conftest.
$ac_ext
11310 cat >>conftest.
$ac_ext <<_ACEOF
11311 /* end confdefs.h. */
11312 $ac_includes_default
11318 if (sizeof (dev_t))
11324 rm -f conftest.
$ac_objext
11325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11326 (eval $ac_compile) 2>conftest.er1
11328 grep -v '^ *+' conftest.er1
>conftest.err
11330 cat conftest.err
>&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); } &&
11333 { ac_try
='test -z "$ac_c_werror_flag"
11334 || test ! -s conftest.err'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; } &&
11340 { ac_try
='test -s conftest.$ac_objext'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; }; then
11346 ac_cv_type_dev_t
=yes
11348 echo "$as_me: failed program was:" >&5
11349 sed 's/^/| /' conftest.
$ac_ext >&5
11351 ac_cv_type_dev_t
=no
11353 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11355 echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
11356 echo "${ECHO_T}$ac_cv_type_dev_t" >&6
11357 if test $ac_cv_type_dev_t = yes; then
11361 cat >>confdefs.h
<<_ACEOF
11362 #define dev_t unsigned
11368 echo "$as_me:$LINENO: checking for rlim_t" >&5
11369 echo $ECHO_N "checking for rlim_t... $ECHO_C" >&6
11370 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then
11371 echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
11372 echo "${ECHO_T}(cached) $ac_cv_type_rlim_t" >&6
11374 cat >conftest.
$ac_ext <<_ACEOF
11377 cat confdefs.h
>>conftest.
$ac_ext
11378 cat >>conftest.
$ac_ext <<_ACEOF
11379 /* end confdefs.h. */
11381 #include <sys/types.h>
11383 #include <stdlib.h>
11384 #include <stddef.h>
11386 #ifdef HAVE_SYS_RESOURCE_H
11387 #include <sys/resource.h>
11391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11392 $EGREP "(^|[^a-zA-Z_0-9])rlim_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11393 ac_cv_type_rlim_t
=yes
11395 ac_cv_type_rlim_t
=no
11399 echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
11400 echo "${ECHO_T}$ac_cv_type_rlim_t" >&6
11402 if test $ac_cv_type_rlim_t = no
; then
11403 cat >> confdefs.h
<<\EOF
11404 #define rlim_t unsigned long
11408 echo "$as_me:$LINENO: checking for stack_t" >&5
11409 echo $ECHO_N "checking for stack_t... $ECHO_C" >&6
11410 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then
11411 echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
11412 echo "${ECHO_T}(cached) $ac_cv_type_stack_t" >&6
11414 cat >conftest.
$ac_ext <<_ACEOF
11417 cat confdefs.h
>>conftest.
$ac_ext
11418 cat >>conftest.
$ac_ext <<_ACEOF
11419 /* end confdefs.h. */
11421 #include <sys/types.h>
11423 #include <stdlib.h>
11424 #include <stddef.h>
11426 #include <signal.h>
11429 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11430 $EGREP "stack_t" >/dev
/null
2>&1; then
11431 ac_cv_type_stack_t
=yes
11433 ac_cv_type_stack_t
=no
11437 echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
11438 echo "${ECHO_T}$ac_cv_type_stack_t" >&6
11440 if test $ac_cv_type_stack_t = no
; then
11441 cat >> confdefs.h
<<\EOF
11442 #define stack_t struct sigaltstack
11446 echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
11447 echo $ECHO_N "checking whether stack_t has an ss_base field... $ECHO_C" >&6
11448 cat >conftest.
$ac_ext <<_ACEOF
11451 cat confdefs.h
>>conftest.
$ac_ext
11452 cat >>conftest.
$ac_ext <<_ACEOF
11453 /* end confdefs.h. */
11455 #include <sys/types.h>
11457 #include <stdlib.h>
11458 #include <stddef.h>
11460 #include <signal.h>
11461 #include "confdefs.h"
11466 stack_t sigstk; sigstk.ss_base = 0;
11471 rm -f conftest.
$ac_objext
11472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11473 (eval $ac_compile) 2>conftest.er1
11475 grep -v '^ *+' conftest.er1
>conftest.err
11477 cat conftest.err
>&5
11478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11479 (exit $ac_status); } &&
11480 { ac_try
='test -z "$ac_c_werror_flag"
11481 || test ! -s conftest.err'
11482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11483 (eval $ac_try) 2>&5
11485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11486 (exit $ac_status); }; } &&
11487 { ac_try
='test -s conftest.$ac_objext'
11488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11489 (eval $ac_try) 2>&5
11491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11492 (exit $ac_status); }; }; then
11493 echo "$as_me:$LINENO: result: yes" >&5
11494 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
11495 #define HAVE_SS_BASE 1
11499 echo "$as_me: failed program was:" >&5
11500 sed 's/^/| /' conftest.
$ac_ext >&5
11502 echo "$as_me:$LINENO: result: no" >&5
11503 echo "${ECHO_T}no" >&6
11505 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
11508 echo "$as_me:$LINENO: checking --with-tlib argument" >&5
11509 echo $ECHO_N "checking --with-tlib argument... $ECHO_C" >&6
11511 # Check whether --with-tlib or --without-tlib was given.
11512 if test "${with_tlib+set}" = set; then
11513 withval
="$with_tlib"
11516 if test -n "$with_tlib"; then
11517 echo "$as_me:$LINENO: result: $with_tlib" >&5
11518 echo "${ECHO_T}$with_tlib" >&6
11519 LIBS
="$LIBS -l$with_tlib"
11520 echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
11521 echo $ECHO_N "checking for linking with $with_tlib library... $ECHO_C" >&6
11522 cat >conftest.
$ac_ext <<_ACEOF
11525 cat confdefs.h
>>conftest.
$ac_ext
11526 cat >>conftest.
$ac_ext <<_ACEOF
11527 /* end confdefs.h. */
11537 rm -f conftest.
$ac_objext conftest
$ac_exeext
11538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11539 (eval $ac_link) 2>conftest.er1
11541 grep -v '^ *+' conftest.er1
>conftest.err
11543 cat conftest.err
>&5
11544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11545 (exit $ac_status); } &&
11546 { ac_try
='test -z "$ac_c_werror_flag"
11547 || test ! -s conftest.err'
11548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11549 (eval $ac_try) 2>&5
11551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11552 (exit $ac_status); }; } &&
11553 { ac_try
='test -s conftest$ac_exeext'
11554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11555 (eval $ac_try) 2>&5
11557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11558 (exit $ac_status); }; }; then
11559 echo "$as_me:$LINENO: result: OK" >&5
11560 echo "${ECHO_T}OK" >&6
11562 echo "$as_me: failed program was:" >&5
11563 sed 's/^/| /' conftest.
$ac_ext >&5
11565 { { echo "$as_me:$LINENO: error: FAILED" >&5
11566 echo "$as_me: error: FAILED" >&2;}
11567 { (exit 1); exit 1; }; }
11569 rm -f conftest.err conftest.
$ac_objext \
11570 conftest
$ac_exeext conftest.
$ac_ext
11573 echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
11574 echo "${ECHO_T}empty: automatic terminal library selection" >&6
11575 case "`uname -s 2>/dev/null`" in
11576 OSF1|SCO_SV
) tlibs
="ncurses curses termlib termcap";;
11577 *) tlibs
="ncurses termlib termcap curses";;
11579 for libname
in $tlibs; do
11581 as_ac_Lib
=`echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
11582 echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
11583 echo $ECHO_N "checking for tgetent in -l${libname}... $ECHO_C" >&6
11584 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
11585 echo $ECHO_N "(cached) $ECHO_C" >&6
11587 ac_check_lib_save_LIBS
=$LIBS
11588 LIBS
="-l${libname} $LIBS"
11589 cat >conftest.
$ac_ext <<_ACEOF
11592 cat confdefs.h
>>conftest.
$ac_ext
11593 cat >>conftest.
$ac_ext <<_ACEOF
11594 /* end confdefs.h. */
11596 /* Override any gcc2 internal prototype to avoid an error. */
11600 /* We use char because int might match the return type of a gcc2
11601 builtin and then its argument prototype would still apply. */
11611 rm -f conftest.
$ac_objext conftest
$ac_exeext
11612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11613 (eval $ac_link) 2>conftest.er1
11615 grep -v '^ *+' conftest.er1
>conftest.err
11617 cat conftest.err
>&5
11618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11619 (exit $ac_status); } &&
11620 { ac_try
='test -z "$ac_c_werror_flag"
11621 || test ! -s conftest.err'
11622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11623 (eval $ac_try) 2>&5
11625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11626 (exit $ac_status); }; } &&
11627 { ac_try
='test -s conftest$ac_exeext'
11628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11629 (eval $ac_try) 2>&5
11631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11632 (exit $ac_status); }; }; then
11633 eval "$as_ac_Lib=yes"
11635 echo "$as_me: failed program was:" >&5
11636 sed 's/^/| /' conftest.
$ac_ext >&5
11638 eval "$as_ac_Lib=no"
11640 rm -f conftest.err conftest.
$ac_objext \
11641 conftest
$ac_exeext conftest.
$ac_ext
11642 LIBS
=$ac_check_lib_save_LIBS
11644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
11645 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
11646 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
11647 cat >>confdefs.h
<<_ACEOF
11648 #define `echo "HAVE_LIB${libname}" | $as_tr_cpp` 1
11651 LIBS
="-l${libname} $LIBS"
11655 if test "x$olibs" != "x$LIBS"; then
11656 if test "$cross_compiling" = yes; then
11659 cat >conftest.
$ac_ext <<_ACEOF
11662 cat confdefs.h
>>conftest.
$ac_ext
11663 cat >>conftest.
$ac_ext <<_ACEOF
11664 /* end confdefs.h. */
11666 #ifdef HAVE_TERMCAP_H
11667 # include <termcap.h>
11669 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }
11671 rm -f conftest
$ac_exeext
11672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11673 (eval $ac_link) 2>&5
11675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11676 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11678 (eval $ac_try) 2>&5
11680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11681 (exit $ac_status); }; }; then
11684 echo "$as_me: program exited with status $ac_status" >&5
11685 echo "$as_me: failed program was:" >&5
11686 sed 's/^/| /' conftest.
$ac_ext >&5
11688 ( exit $ac_status )
11691 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11693 if test "$res" = "OK"; then
11696 echo "$as_me:$LINENO: result: $libname library is not usable" >&5
11697 echo "${ECHO_T}$libname library is not usable" >&6
11701 if test "x$olibs" = "x$LIBS"; then
11702 echo "$as_me:$LINENO: result: no terminal library found" >&5
11703 echo "${ECHO_T}no terminal library found" >&6
11707 if test "x$olibs" = "x$LIBS"; then
11708 echo "$as_me:$LINENO: checking for tgetent()" >&5
11709 echo $ECHO_N "checking for tgetent()... $ECHO_C" >&6
11710 cat >conftest.
$ac_ext <<_ACEOF
11713 cat confdefs.h
>>conftest.
$ac_ext
11714 cat >>conftest.
$ac_ext <<_ACEOF
11715 /* end confdefs.h. */
11720 char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");
11725 rm -f conftest.
$ac_objext conftest
$ac_exeext
11726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11727 (eval $ac_link) 2>conftest.er1
11729 grep -v '^ *+' conftest.er1
>conftest.err
11731 cat conftest.err
>&5
11732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11733 (exit $ac_status); } &&
11734 { ac_try
='test -z "$ac_c_werror_flag"
11735 || test ! -s conftest.err'
11736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11737 (eval $ac_try) 2>&5
11739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11740 (exit $ac_status); }; } &&
11741 { ac_try
='test -s conftest$ac_exeext'
11742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11743 (eval $ac_try) 2>&5
11745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11746 (exit $ac_status); }; }; then
11747 echo "$as_me:$LINENO: result: yes" >&5
11748 echo "${ECHO_T}yes" >&6
11750 echo "$as_me: failed program was:" >&5
11751 sed 's/^/| /' conftest.
$ac_ext >&5
11753 { { echo "$as_me:$LINENO: error: NOT FOUND!
11754 You need to install a terminal library; for example ncurses.
11755 Or specify the name of the library with --with-tlib." >&5
11756 echo "$as_me: error: NOT FOUND!
11757 You need to install a terminal library; for example ncurses.
11758 Or specify the name of the library with --with-tlib." >&2;}
11759 { (exit 1); exit 1; }; }
11761 rm -f conftest.err conftest.
$ac_objext \
11762 conftest
$ac_exeext conftest.
$ac_ext
11765 echo "$as_me:$LINENO: checking whether we talk terminfo" >&5
11766 echo $ECHO_N "checking whether we talk terminfo... $ECHO_C" >&6
11767 if test "$cross_compiling" = yes; then
11768 { { echo "$as_me:$LINENO: error: failed to compile test program." >&5
11769 echo "$as_me: error: failed to compile test program." >&2;}
11770 { (exit 1); exit 1; }; }
11772 cat >conftest.
$ac_ext <<_ACEOF
11775 cat confdefs.h
>>conftest.
$ac_ext
11776 cat >>conftest.
$ac_ext <<_ACEOF
11777 /* end confdefs.h. */
11779 #ifdef HAVE_TERMCAP_H
11780 # include <termcap.h>
11783 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
11785 rm -f conftest
$ac_exeext
11786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11787 (eval $ac_link) 2>&5
11789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11790 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11792 (eval $ac_try) 2>&5
11794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11795 (exit $ac_status); }; }; then
11796 echo "$as_me:$LINENO: result: no -- we are in termcap land" >&5
11797 echo "${ECHO_T}no -- we are in termcap land" >&6
11799 echo "$as_me: program exited with status $ac_status" >&5
11800 echo "$as_me: failed program was:" >&5
11801 sed 's/^/| /' conftest.
$ac_ext >&5
11803 ( exit $ac_status )
11804 echo "$as_me:$LINENO: result: yes -- terminfo spoken here" >&5
11805 echo "${ECHO_T}yes -- terminfo spoken here" >&6; cat >>confdefs.h
<<\_ACEOF
11810 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11813 if test "x$olibs" != "x$LIBS"; then
11814 echo "$as_me:$LINENO: checking what tgetent() returns for an unknown terminal" >&5
11815 echo $ECHO_N "checking what tgetent() returns for an unknown terminal... $ECHO_C" >&6
11816 if test "$cross_compiling" = yes; then
11817 { { echo "$as_me:$LINENO: error: failed to compile test program." >&5
11818 echo "$as_me: error: failed to compile test program." >&2;}
11819 { (exit 1); exit 1; }; }
11821 cat >conftest.
$ac_ext <<_ACEOF
11824 cat confdefs.h
>>conftest.
$ac_ext
11825 cat >>conftest.
$ac_ext <<_ACEOF
11826 /* end confdefs.h. */
11828 #ifdef HAVE_TERMCAP_H
11829 # include <termcap.h>
11832 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
11834 rm -f conftest
$ac_exeext
11835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11836 (eval $ac_link) 2>&5
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
11840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11841 (eval $ac_try) 2>&5
11843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11844 (exit $ac_status); }; }; then
11845 echo "$as_me:$LINENO: result: zero" >&5
11846 echo "${ECHO_T}zero" >&6; cat >>confdefs.h
<<\_ACEOF
11847 #define TGETENT_ZERO_ERR 0
11851 echo "$as_me: program exited with status $ac_status" >&5
11852 echo "$as_me: failed program was:" >&5
11853 sed 's/^/| /' conftest.
$ac_ext >&5
11855 ( exit $ac_status )
11856 echo "$as_me:$LINENO: result: non-zero" >&5
11857 echo "${ECHO_T}non-zero" >&6
11859 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
11863 echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
11864 echo $ECHO_N "checking whether termcap.h contains ospeed... $ECHO_C" >&6
11865 cat >conftest.
$ac_ext <<_ACEOF
11868 cat confdefs.h
>>conftest.
$ac_ext
11869 cat >>conftest.
$ac_ext <<_ACEOF
11870 /* end confdefs.h. */
11872 #ifdef HAVE_TERMCAP_H
11873 # include <termcap.h>
11884 rm -f conftest.
$ac_objext conftest
$ac_exeext
11885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11886 (eval $ac_link) 2>conftest.er1
11888 grep -v '^ *+' conftest.er1
>conftest.err
11890 cat conftest.err
>&5
11891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11892 (exit $ac_status); } &&
11893 { ac_try
='test -z "$ac_c_werror_flag"
11894 || test ! -s conftest.err'
11895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11896 (eval $ac_try) 2>&5
11898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11899 (exit $ac_status); }; } &&
11900 { ac_try
='test -s conftest$ac_exeext'
11901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11902 (eval $ac_try) 2>&5
11904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11905 (exit $ac_status); }; }; then
11906 echo "$as_me:$LINENO: result: yes" >&5
11907 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
11908 #define HAVE_OSPEED 1
11912 echo "$as_me: failed program was:" >&5
11913 sed 's/^/| /' conftest.
$ac_ext >&5
11915 echo "$as_me:$LINENO: result: no" >&5
11916 echo "${ECHO_T}no" >&6
11917 echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
11918 echo $ECHO_N "checking whether ospeed can be extern... $ECHO_C" >&6
11919 cat >conftest.
$ac_ext <<_ACEOF
11922 cat confdefs.h
>>conftest.
$ac_ext
11923 cat >>conftest.
$ac_ext <<_ACEOF
11924 /* end confdefs.h. */
11926 #ifdef HAVE_TERMCAP_H
11927 # include <termcap.h>
11929 extern short ospeed;
11939 rm -f conftest.
$ac_objext conftest
$ac_exeext
11940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11941 (eval $ac_link) 2>conftest.er1
11943 grep -v '^ *+' conftest.er1
>conftest.err
11945 cat conftest.err
>&5
11946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11947 (exit $ac_status); } &&
11948 { ac_try
='test -z "$ac_c_werror_flag"
11949 || test ! -s conftest.err'
11950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11951 (eval $ac_try) 2>&5
11953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11954 (exit $ac_status); }; } &&
11955 { ac_try
='test -s conftest$ac_exeext'
11956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11957 (eval $ac_try) 2>&5
11959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11960 (exit $ac_status); }; }; then
11961 echo "$as_me:$LINENO: result: yes" >&5
11962 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
11963 #define OSPEED_EXTERN 1
11967 echo "$as_me: failed program was:" >&5
11968 sed 's/^/| /' conftest.
$ac_ext >&5
11970 echo "$as_me:$LINENO: result: no" >&5
11971 echo "${ECHO_T}no" >&6
11973 rm -f conftest.err conftest.
$ac_objext \
11974 conftest
$ac_exeext conftest.
$ac_ext
11977 rm -f conftest.err conftest.
$ac_objext \
11978 conftest
$ac_exeext conftest.
$ac_ext
11980 echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
11981 echo $ECHO_N "checking whether termcap.h contains UP, BC and PC... $ECHO_C" >&6
11982 cat >conftest.
$ac_ext <<_ACEOF
11985 cat confdefs.h
>>conftest.
$ac_ext
11986 cat >>conftest.
$ac_ext <<_ACEOF
11987 /* end confdefs.h. */
11989 #ifdef HAVE_TERMCAP_H
11990 # include <termcap.h>
11996 if (UP == 0 && BC == 0) PC = 1
12001 rm -f conftest.
$ac_objext conftest
$ac_exeext
12002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12003 (eval $ac_link) 2>conftest.er1
12005 grep -v '^ *+' conftest.er1
>conftest.err
12007 cat conftest.err
>&5
12008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12009 (exit $ac_status); } &&
12010 { ac_try
='test -z "$ac_c_werror_flag"
12011 || test ! -s conftest.err'
12012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12013 (eval $ac_try) 2>&5
12015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12016 (exit $ac_status); }; } &&
12017 { ac_try
='test -s conftest$ac_exeext'
12018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12019 (eval $ac_try) 2>&5
12021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12022 (exit $ac_status); }; }; then
12023 echo "$as_me:$LINENO: result: yes" >&5
12024 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12025 #define HAVE_UP_BC_PC 1
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.
$ac_ext >&5
12032 echo "$as_me:$LINENO: result: no" >&5
12033 echo "${ECHO_T}no" >&6
12034 echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
12035 echo $ECHO_N "checking whether UP, BC and PC can be extern... $ECHO_C" >&6
12036 cat >conftest.
$ac_ext <<_ACEOF
12039 cat confdefs.h
>>conftest.
$ac_ext
12040 cat >>conftest.
$ac_ext <<_ACEOF
12041 /* end confdefs.h. */
12043 #ifdef HAVE_TERMCAP_H
12044 # include <termcap.h>
12046 extern char *UP, *BC, PC;
12051 if (UP == 0 && BC == 0) PC = 1
12056 rm -f conftest.
$ac_objext conftest
$ac_exeext
12057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12058 (eval $ac_link) 2>conftest.er1
12060 grep -v '^ *+' conftest.er1
>conftest.err
12062 cat conftest.err
>&5
12063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12064 (exit $ac_status); } &&
12065 { ac_try
='test -z "$ac_c_werror_flag"
12066 || test ! -s conftest.err'
12067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12068 (eval $ac_try) 2>&5
12070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12071 (exit $ac_status); }; } &&
12072 { ac_try
='test -s conftest$ac_exeext'
12073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12074 (eval $ac_try) 2>&5
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }; }; then
12078 echo "$as_me:$LINENO: result: yes" >&5
12079 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12080 #define UP_BC_PC_EXTERN 1
12084 echo "$as_me: failed program was:" >&5
12085 sed 's/^/| /' conftest.
$ac_ext >&5
12087 echo "$as_me:$LINENO: result: no" >&5
12088 echo "${ECHO_T}no" >&6
12090 rm -f conftest.err conftest.
$ac_objext \
12091 conftest
$ac_exeext conftest.
$ac_ext
12094 rm -f conftest.err conftest.
$ac_objext \
12095 conftest
$ac_exeext conftest.
$ac_ext
12097 echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
12098 echo $ECHO_N "checking whether tputs() uses outfuntype... $ECHO_C" >&6
12099 cat >conftest.
$ac_ext <<_ACEOF
12102 cat confdefs.h
>>conftest.
$ac_ext
12103 cat >>conftest.
$ac_ext <<_ACEOF
12104 /* end confdefs.h. */
12106 #ifdef HAVE_TERMCAP_H
12107 # include <termcap.h>
12113 extern int xx(); tputs("test", 1, (outfuntype)xx)
12118 rm -f conftest.
$ac_objext
12119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12120 (eval $ac_compile) 2>conftest.er1
12122 grep -v '^ *+' conftest.er1
>conftest.err
12124 cat conftest.err
>&5
12125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12126 (exit $ac_status); } &&
12127 { ac_try
='test -z "$ac_c_werror_flag"
12128 || test ! -s conftest.err'
12129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12130 (eval $ac_try) 2>&5
12132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12133 (exit $ac_status); }; } &&
12134 { ac_try
='test -s conftest.$ac_objext'
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); }; }; then
12140 echo "$as_me:$LINENO: result: yes" >&5
12141 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12142 #define HAVE_OUTFUNTYPE 1
12146 echo "$as_me: failed program was:" >&5
12147 sed 's/^/| /' conftest.
$ac_ext >&5
12149 echo "$as_me:$LINENO: result: no" >&5
12150 echo "${ECHO_T}no" >&6
12152 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12154 echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
12155 echo $ECHO_N "checking whether sys/select.h and sys/time.h may both be included... $ECHO_C" >&6
12156 cat >conftest.
$ac_ext <<_ACEOF
12159 cat confdefs.h
>>conftest.
$ac_ext
12160 cat >>conftest.
$ac_ext <<_ACEOF
12161 /* end confdefs.h. */
12163 #include <sys/types.h>
12164 #include <sys/time.h>
12165 #include <sys/select.h>
12174 rm -f conftest.
$ac_objext
12175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12176 (eval $ac_compile) 2>conftest.er1
12178 grep -v '^ *+' conftest.er1
>conftest.err
12180 cat conftest.err
>&5
12181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12182 (exit $ac_status); } &&
12183 { ac_try
='test -z "$ac_c_werror_flag"
12184 || test ! -s conftest.err'
12185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12186 (eval $ac_try) 2>&5
12188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12189 (exit $ac_status); }; } &&
12190 { ac_try
='test -s conftest.$ac_objext'
12191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12192 (eval $ac_try) 2>&5
12194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12195 (exit $ac_status); }; }; then
12196 echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6
12198 cat >>confdefs.h
<<\_ACEOF
12199 #define SYS_SELECT_WITH_SYS_TIME 1
12203 echo "$as_me: failed program was:" >&5
12204 sed 's/^/| /' conftest.
$ac_ext >&5
12206 echo "$as_me:$LINENO: result: no" >&5
12207 echo "${ECHO_T}no" >&6
12209 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12212 echo "$as_me:$LINENO: checking for /dev/ptc" >&5
12213 echo $ECHO_N "checking for /dev/ptc... $ECHO_C" >&6
12214 if test -r /dev
/ptc
; then
12215 cat >>confdefs.h
<<\_ACEOF
12216 #define HAVE_DEV_PTC 1
12219 echo "$as_me:$LINENO: result: yes" >&5
12220 echo "${ECHO_T}yes" >&6
12222 echo "$as_me:$LINENO: result: no" >&5
12223 echo "${ECHO_T}no" >&6
12226 echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
12227 echo $ECHO_N "checking for SVR4 ptys... $ECHO_C" >&6
12228 if test -c /dev
/ptmx
; then
12229 cat >conftest.
$ac_ext <<_ACEOF
12232 cat confdefs.h
>>conftest.
$ac_ext
12233 cat >>conftest.
$ac_ext <<_ACEOF
12234 /* end confdefs.h. */
12239 ptsname(0);grantpt(0);unlockpt(0);
12244 rm -f conftest.
$ac_objext conftest
$ac_exeext
12245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12246 (eval $ac_link) 2>conftest.er1
12248 grep -v '^ *+' conftest.er1
>conftest.err
12250 cat conftest.err
>&5
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); } &&
12253 { ac_try
='test -z "$ac_c_werror_flag"
12254 || test ! -s conftest.err'
12255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12256 (eval $ac_try) 2>&5
12258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12259 (exit $ac_status); }; } &&
12260 { ac_try
='test -s conftest$ac_exeext'
12261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12262 (eval $ac_try) 2>&5
12264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12265 (exit $ac_status); }; }; then
12266 echo "$as_me:$LINENO: result: yes" >&5
12267 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12268 #define HAVE_SVR4_PTYS 1
12272 echo "$as_me: failed program was:" >&5
12273 sed 's/^/| /' conftest.
$ac_ext >&5
12275 echo "$as_me:$LINENO: result: no" >&5
12276 echo "${ECHO_T}no" >&6
12278 rm -f conftest.err conftest.
$ac_objext \
12279 conftest
$ac_exeext conftest.
$ac_ext
12281 echo "$as_me:$LINENO: result: no" >&5
12282 echo "${ECHO_T}no" >&6
12285 echo "$as_me:$LINENO: checking for ptyranges" >&5
12286 echo $ECHO_N "checking for ptyranges... $ECHO_C" >&6
12287 if test -d /dev
/ptym
; then
12292 cat >conftest.
$ac_ext <<_ACEOF
12295 cat confdefs.h
>>conftest.
$ac_ext
12296 cat >>conftest.
$ac_ext <<_ACEOF
12297 /* end confdefs.h. */
12303 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12304 $EGREP "yes" >/dev
/null
2>&1; then
12305 ptys
=`echo /dev/ptyp??`
12307 ptys
=`echo $pdir/pty??`
12311 if test "$ptys" != "$pdir/pty??" ; then
12312 p0
=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
12313 p1
=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
12314 cat >>confdefs.h
<<_ACEOF
12315 #define PTYRANGE0 "$p0"
12318 cat >>confdefs.h
<<_ACEOF
12319 #define PTYRANGE1 "$p1"
12322 echo "$as_me:$LINENO: result: $p0 / $p1" >&5
12323 echo "${ECHO_T}$p0 / $p1" >&6
12325 echo "$as_me:$LINENO: result: don't know" >&5
12326 echo "${ECHO_T}don't know" >&6
12329 echo "$as_me:$LINENO: checking default tty permissions/group" >&5
12330 echo $ECHO_N "checking default tty permissions/group... $ECHO_C" >&6
12332 if test "$cross_compiling" = yes; then
12333 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
12334 echo "$as_me: error: failed to compile test program" >&2;}
12335 { (exit 1); exit 1; }; }
12337 cat >conftest.
$ac_ext <<_ACEOF
12340 cat confdefs.h
>>conftest.
$ac_ext
12341 cat >>conftest.
$ac_ext <<_ACEOF
12342 /* end confdefs.h. */
12344 #include <sys/types.h>
12345 #include <sys/stat.h>
12350 char *x,*ttyname();
12354 if (!(x = ttyname(0))) exit(1);
12355 if (stat(x, &sb)) exit(1);
12357 if (om & 002) exit(0);
12358 m = system("mesg y");
12359 if (m == -1 || m == 127) exit(1);
12360 if (stat(x, &sb)) exit(1);
12362 if (chmod(x, om)) exit(1);
12363 if (m & 002) exit(0);
12364 if (sb.st_gid == getgid()) exit(1);
12365 if (!(fp=fopen("conftest_grp", "w")))
12367 fprintf(fp, "%d\n", sb.st_gid);
12373 rm -f conftest
$ac_exeext
12374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12375 (eval $ac_link) 2>&5
12377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12380 (eval $ac_try) 2>&5
12382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12383 (exit $ac_status); }; }; then
12385 if test -f conftest_grp
; then
12386 ptygrp
=`cat conftest_grp`
12387 echo "$as_me:$LINENO: result: pty mode: 0620, group: $ptygrp" >&5
12388 echo "${ECHO_T}pty mode: 0620, group: $ptygrp" >&6
12389 cat >>confdefs.h
<<\_ACEOF
12390 #define PTYMODE 0620
12393 cat >>confdefs.h
<<_ACEOF
12394 #define PTYGROUP $ptygrp
12398 echo "$as_me:$LINENO: result: ptys are world accessable" >&5
12399 echo "${ECHO_T}ptys are world accessable" >&6
12403 echo "$as_me: program exited with status $ac_status" >&5
12404 echo "$as_me: failed program was:" >&5
12405 sed 's/^/| /' conftest.
$ac_ext >&5
12407 ( exit $ac_status )
12408 echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
12409 echo "${ECHO_T}can't determine - assume ptys are world accessable" >&6
12411 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12416 echo "$as_me:$LINENO: checking return type of signal handlers" >&5
12417 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6
12418 if test "${ac_cv_type_signal+set}" = set; then
12419 echo $ECHO_N "(cached) $ECHO_C" >&6
12421 cat >conftest.
$ac_ext <<_ACEOF
12424 cat confdefs.h
>>conftest.
$ac_ext
12425 cat >>conftest.
$ac_ext <<_ACEOF
12426 /* end confdefs.h. */
12427 #include <sys/types.h>
12428 #include <signal.h>
12433 extern "C" void (*signal (int, void (*)(int)))(int);
12435 void (*signal ()) ();
12446 rm -f conftest.
$ac_objext
12447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12448 (eval $ac_compile) 2>conftest.er1
12450 grep -v '^ *+' conftest.er1
>conftest.err
12452 cat conftest.err
>&5
12453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12454 (exit $ac_status); } &&
12455 { ac_try
='test -z "$ac_c_werror_flag"
12456 || test ! -s conftest.err'
12457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12458 (eval $ac_try) 2>&5
12460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12461 (exit $ac_status); }; } &&
12462 { ac_try
='test -s conftest.$ac_objext'
12463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12464 (eval $ac_try) 2>&5
12466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12467 (exit $ac_status); }; }; then
12468 ac_cv_type_signal
=void
12470 echo "$as_me: failed program was:" >&5
12471 sed 's/^/| /' conftest.
$ac_ext >&5
12473 ac_cv_type_signal
=int
12475 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12477 echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
12478 echo "${ECHO_T}$ac_cv_type_signal" >&6
12480 cat >>confdefs.h
<<_ACEOF
12481 #define RETSIGTYPE $ac_cv_type_signal
12486 if test $ac_cv_type_signal = void
; then
12487 cat >>confdefs.h
<<\_ACEOF
12488 #define SIGRETURN return
12492 cat >>confdefs.h
<<\_ACEOF
12493 #define SIGRETURN return 0
12498 echo "$as_me:$LINENO: checking for struct sigcontext" >&5
12499 echo $ECHO_N "checking for struct sigcontext... $ECHO_C" >&6
12500 cat >conftest.
$ac_ext <<_ACEOF
12503 cat confdefs.h
>>conftest.
$ac_ext
12504 cat >>conftest.
$ac_ext <<_ACEOF
12505 /* end confdefs.h. */
12507 #include <signal.h>
12510 struct sigcontext *scont;
12511 scont = (struct sigcontext *)0;
12522 rm -f conftest.
$ac_objext
12523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12524 (eval $ac_compile) 2>conftest.er1
12526 grep -v '^ *+' conftest.er1
>conftest.err
12528 cat conftest.err
>&5
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); } &&
12531 { ac_try
='test -z "$ac_c_werror_flag"
12532 || test ! -s conftest.err'
12533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12534 (eval $ac_try) 2>&5
12536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12537 (exit $ac_status); }; } &&
12538 { ac_try
='test -s conftest.$ac_objext'
12539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12540 (eval $ac_try) 2>&5
12542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12543 (exit $ac_status); }; }; then
12544 echo "$as_me:$LINENO: result: yes" >&5
12545 echo "${ECHO_T}yes" >&6
12546 cat >>confdefs.h
<<\_ACEOF
12547 #define HAVE_SIGCONTEXT 1
12551 echo "$as_me: failed program was:" >&5
12552 sed 's/^/| /' conftest.
$ac_ext >&5
12554 echo "$as_me:$LINENO: result: no" >&5
12555 echo "${ECHO_T}no" >&6
12557 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12559 echo "$as_me:$LINENO: checking getcwd implementation" >&5
12560 echo $ECHO_N "checking getcwd implementation... $ECHO_C" >&6
12561 if test "$cross_compiling" = yes; then
12562 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
12563 echo "$as_me: error: failed to compile test program" >&2;}
12564 { (exit 1); exit 1; }; }
12566 cat >conftest.
$ac_ext <<_ACEOF
12569 cat confdefs.h
>>conftest.
$ac_ext
12570 cat >>conftest.
$ac_ext <<_ACEOF
12571 /* end confdefs.h. */
12573 char *dagger[] = { "IFS=pwd", 0 };
12577 extern char **environ;
12579 return getcwd(buffer, 500) ? 0 : 1;
12582 rm -f conftest
$ac_exeext
12583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12584 (eval $ac_link) 2>&5
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12589 (eval $ac_try) 2>&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); }; }; then
12593 echo "$as_me:$LINENO: result: it is usable" >&5
12594 echo "${ECHO_T}it is usable" >&6
12596 echo "$as_me: program exited with status $ac_status" >&5
12597 echo "$as_me: failed program was:" >&5
12598 sed 's/^/| /' conftest.
$ac_ext >&5
12600 ( exit $ac_status )
12601 echo "$as_me:$LINENO: result: it stinks" >&5
12602 echo "${ECHO_T}it stinks" >&6
12603 cat >>confdefs.h
<<\_ACEOF
12604 #define BAD_GETCWD 1
12608 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12657 for ac_func
in bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
12658 getpwnam getpwuid getrlimit gettimeofday getwd lstat memcmp \
12659 memset nanosleep opendir putenv qsort readlink
select setenv \
12660 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
12661 sigvec strcasecmp strerror strftime stricmp strncasecmp \
12662 strnicmp strpbrk strtol tgetent towlower towupper iswupper \
12663 usleep utime utimes
12665 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12666 echo "$as_me:$LINENO: checking for $ac_func" >&5
12667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12668 if eval "test \"\${$as_ac_var+set}\" = set"; then
12669 echo $ECHO_N "(cached) $ECHO_C" >&6
12671 cat >conftest.
$ac_ext <<_ACEOF
12674 cat confdefs.h
>>conftest.
$ac_ext
12675 cat >>conftest.
$ac_ext <<_ACEOF
12676 /* end confdefs.h. */
12677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12679 #define $ac_func innocuous_$ac_func
12681 /* System header to define __stub macros and hopefully few prototypes,
12682 which can conflict with char $ac_func (); below.
12683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12684 <limits.h> exists even on freestanding compilers. */
12687 # include <limits.h>
12689 # include <assert.h>
12694 /* Override any gcc2 internal prototype to avoid an error. */
12699 /* We use char because int might match the return type of a gcc2
12700 builtin and then its argument prototype would still apply. */
12702 /* The GNU C library defines this for functions which it implements
12703 to always fail with ENOSYS. Some functions are actually named
12704 something starting with __ and the normal name is an alias. */
12705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12708 char (*f) () = $ac_func;
12717 return f != $ac_func;
12722 rm -f conftest.
$ac_objext conftest
$ac_exeext
12723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12724 (eval $ac_link) 2>conftest.er1
12726 grep -v '^ *+' conftest.er1
>conftest.err
12728 cat conftest.err
>&5
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); } &&
12731 { ac_try
='test -z "$ac_c_werror_flag"
12732 || test ! -s conftest.err'
12733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12734 (eval $ac_try) 2>&5
12736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12737 (exit $ac_status); }; } &&
12738 { ac_try
='test -s conftest$ac_exeext'
12739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12740 (eval $ac_try) 2>&5
12742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12743 (exit $ac_status); }; }; then
12744 eval "$as_ac_var=yes"
12746 echo "$as_me: failed program was:" >&5
12747 sed 's/^/| /' conftest.
$ac_ext >&5
12749 eval "$as_ac_var=no"
12751 rm -f conftest.err conftest.
$ac_objext \
12752 conftest
$ac_exeext conftest.
$ac_ext
12754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12756 if test `eval echo '${'$as_ac_var'}'` = yes; then
12757 cat >>confdefs.h
<<_ACEOF
12758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12765 echo "$as_me:$LINENO: checking for st_blksize" >&5
12766 echo $ECHO_N "checking for st_blksize... $ECHO_C" >&6
12767 cat >conftest.
$ac_ext <<_ACEOF
12770 cat confdefs.h
>>conftest.
$ac_ext
12771 cat >>conftest.
$ac_ext <<_ACEOF
12772 /* end confdefs.h. */
12773 #include <sys/types.h>
12774 #include <sys/stat.h>
12782 n = (int)st.st_blksize;
12787 rm -f conftest.
$ac_objext
12788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12789 (eval $ac_compile) 2>conftest.er1
12791 grep -v '^ *+' conftest.er1
>conftest.err
12793 cat conftest.err
>&5
12794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12795 (exit $ac_status); } &&
12796 { ac_try
='test -z "$ac_c_werror_flag"
12797 || test ! -s conftest.err'
12798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12799 (eval $ac_try) 2>&5
12801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12802 (exit $ac_status); }; } &&
12803 { ac_try
='test -s conftest.$ac_objext'
12804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12805 (eval $ac_try) 2>&5
12807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12808 (exit $ac_status); }; }; then
12809 echo "$as_me:$LINENO: result: yes" >&5
12810 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12811 #define HAVE_ST_BLKSIZE 1
12815 echo "$as_me: failed program was:" >&5
12816 sed 's/^/| /' conftest.
$ac_ext >&5
12818 echo "$as_me:$LINENO: result: no" >&5
12819 echo "${ECHO_T}no" >&6
12821 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
12823 echo "$as_me:$LINENO: checking whether stat() ignores a trailing slash" >&5
12824 echo $ECHO_N "checking whether stat() ignores a trailing slash... $ECHO_C" >&6
12825 if test "$cross_compiling" = yes; then
12826 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
12827 echo "$as_me: error: failed to compile test program" >&2;}
12828 { (exit 1); exit 1; }; }
12830 cat >conftest.
$ac_ext <<_ACEOF
12833 cat confdefs.h
>>conftest.
$ac_ext
12834 cat >>conftest.
$ac_ext <<_ACEOF
12835 /* end confdefs.h. */
12836 #include <sys/types.h>
12837 #include <sys/stat.h>
12838 main() {struct stat st; exit(stat("configure/", &st) != 0); }
12840 rm -f conftest
$ac_exeext
12841 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12842 (eval $ac_link) 2>&5
12844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12845 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12847 (eval $ac_try) 2>&5
12849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12850 (exit $ac_status); }; }; then
12851 echo "$as_me:$LINENO: result: yes" >&5
12852 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12853 #define STAT_IGNORES_SLASH 1
12857 echo "$as_me: program exited with status $ac_status" >&5
12858 echo "$as_me: failed program was:" >&5
12859 sed 's/^/| /' conftest.
$ac_ext >&5
12861 ( exit $ac_status )
12862 echo "$as_me:$LINENO: result: no" >&5
12863 echo "${ECHO_T}no" >&6
12865 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12868 echo "$as_me:$LINENO: checking for iconv_open()" >&5
12869 echo $ECHO_N "checking for iconv_open()... $ECHO_C" >&6
12871 LIBS
="$LIBS -liconv"
12872 cat >conftest.
$ac_ext <<_ACEOF
12875 cat confdefs.h
>>conftest.
$ac_ext
12876 cat >>conftest.
$ac_ext <<_ACEOF
12877 /* end confdefs.h. */
12879 #ifdef HAVE_ICONV_H
12880 # include <iconv.h>
12886 iconv_open("fr", "to");
12891 rm -f conftest.
$ac_objext conftest
$ac_exeext
12892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12893 (eval $ac_link) 2>conftest.er1
12895 grep -v '^ *+' conftest.er1
>conftest.err
12897 cat conftest.err
>&5
12898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12899 (exit $ac_status); } &&
12900 { ac_try
='test -z "$ac_c_werror_flag"
12901 || test ! -s conftest.err'
12902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12903 (eval $ac_try) 2>&5
12905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12906 (exit $ac_status); }; } &&
12907 { ac_try
='test -s conftest$ac_exeext'
12908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12909 (eval $ac_try) 2>&5
12911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12912 (exit $ac_status); }; }; then
12913 echo "$as_me:$LINENO: result: yes; with -liconv" >&5
12914 echo "${ECHO_T}yes; with -liconv" >&6; cat >>confdefs.h
<<\_ACEOF
12915 #define HAVE_ICONV 1
12919 echo "$as_me: failed program was:" >&5
12920 sed 's/^/| /' conftest.
$ac_ext >&5
12923 cat >conftest.
$ac_ext <<_ACEOF
12926 cat confdefs.h
>>conftest.
$ac_ext
12927 cat >>conftest.
$ac_ext <<_ACEOF
12928 /* end confdefs.h. */
12930 #ifdef HAVE_ICONV_H
12931 # include <iconv.h>
12937 iconv_open("fr", "to");
12942 rm -f conftest.
$ac_objext conftest
$ac_exeext
12943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12944 (eval $ac_link) 2>conftest.er1
12946 grep -v '^ *+' conftest.er1
>conftest.err
12948 cat conftest.err
>&5
12949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12950 (exit $ac_status); } &&
12951 { ac_try
='test -z "$ac_c_werror_flag"
12952 || test ! -s conftest.err'
12953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12954 (eval $ac_try) 2>&5
12956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12957 (exit $ac_status); }; } &&
12958 { ac_try
='test -s conftest$ac_exeext'
12959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12960 (eval $ac_try) 2>&5
12962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12963 (exit $ac_status); }; }; then
12964 echo "$as_me:$LINENO: result: yes" >&5
12965 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
12966 #define HAVE_ICONV 1
12970 echo "$as_me: failed program was:" >&5
12971 sed 's/^/| /' conftest.
$ac_ext >&5
12973 echo "$as_me:$LINENO: result: no" >&5
12974 echo "${ECHO_T}no" >&6
12976 rm -f conftest.err conftest.
$ac_objext \
12977 conftest
$ac_exeext conftest.
$ac_ext
12979 rm -f conftest.err conftest.
$ac_objext \
12980 conftest
$ac_exeext conftest.
$ac_ext
12983 echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
12984 echo $ECHO_N "checking for nl_langinfo(CODESET)... $ECHO_C" >&6
12985 cat >conftest.
$ac_ext <<_ACEOF
12988 cat confdefs.h
>>conftest.
$ac_ext
12989 cat >>conftest.
$ac_ext <<_ACEOF
12990 /* end confdefs.h. */
12992 #ifdef HAVE_LANGINFO_H
12993 # include <langinfo.h>
12999 char *cs = nl_langinfo(CODESET);
13004 rm -f conftest.
$ac_objext conftest
$ac_exeext
13005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13006 (eval $ac_link) 2>conftest.er1
13008 grep -v '^ *+' conftest.er1
>conftest.err
13010 cat conftest.err
>&5
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); } &&
13013 { ac_try
='test -z "$ac_c_werror_flag"
13014 || test ! -s conftest.err'
13015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13016 (eval $ac_try) 2>&5
13018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13019 (exit $ac_status); }; } &&
13020 { ac_try
='test -s conftest$ac_exeext'
13021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13022 (eval $ac_try) 2>&5
13024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13025 (exit $ac_status); }; }; then
13026 echo "$as_me:$LINENO: result: yes" >&5
13027 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13028 #define HAVE_NL_LANGINFO_CODESET 1
13032 echo "$as_me: failed program was:" >&5
13033 sed 's/^/| /' conftest.
$ac_ext >&5
13035 echo "$as_me:$LINENO: result: no" >&5
13036 echo "${ECHO_T}no" >&6
13038 rm -f conftest.err conftest.
$ac_objext \
13039 conftest
$ac_exeext conftest.
$ac_ext
13041 echo "$as_me:$LINENO: checking --disable-acl argument" >&5
13042 echo $ECHO_N "checking --disable-acl argument... $ECHO_C" >&6
13043 # Check whether --enable-acl or --disable-acl was given.
13044 if test "${enable_acl+set}" = set; then
13045 enableval
="$enable_acl"
13050 if test "$enable_acl" = "yes"; then
13051 echo "$as_me:$LINENO: result: no" >&5
13052 echo "${ECHO_T}no" >&6
13053 echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
13054 echo $ECHO_N "checking for acl_get_file in -lposix1e... $ECHO_C" >&6
13055 if test "${ac_cv_lib_posix1e_acl_get_file+set}" = set; then
13056 echo $ECHO_N "(cached) $ECHO_C" >&6
13058 ac_check_lib_save_LIBS
=$LIBS
13059 LIBS
="-lposix1e $LIBS"
13060 cat >conftest.
$ac_ext <<_ACEOF
13063 cat confdefs.h
>>conftest.
$ac_ext
13064 cat >>conftest.
$ac_ext <<_ACEOF
13065 /* end confdefs.h. */
13067 /* Override any gcc2 internal prototype to avoid an error. */
13071 /* We use char because int might match the return type of a gcc2
13072 builtin and then its argument prototype would still apply. */
13073 char acl_get_file ();
13082 rm -f conftest.
$ac_objext conftest
$ac_exeext
13083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13084 (eval $ac_link) 2>conftest.er1
13086 grep -v '^ *+' conftest.er1
>conftest.err
13088 cat conftest.err
>&5
13089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13090 (exit $ac_status); } &&
13091 { ac_try
='test -z "$ac_c_werror_flag"
13092 || test ! -s conftest.err'
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); }; } &&
13098 { ac_try
='test -s conftest$ac_exeext'
13099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13100 (eval $ac_try) 2>&5
13102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13103 (exit $ac_status); }; }; then
13104 ac_cv_lib_posix1e_acl_get_file
=yes
13106 echo "$as_me: failed program was:" >&5
13107 sed 's/^/| /' conftest.
$ac_ext >&5
13109 ac_cv_lib_posix1e_acl_get_file
=no
13111 rm -f conftest.err conftest.
$ac_objext \
13112 conftest
$ac_exeext conftest.
$ac_ext
13113 LIBS
=$ac_check_lib_save_LIBS
13115 echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
13116 echo "${ECHO_T}$ac_cv_lib_posix1e_acl_get_file" >&6
13117 if test $ac_cv_lib_posix1e_acl_get_file = yes; then
13118 LIBS
="$LIBS -lposix1e"
13120 echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
13121 echo $ECHO_N "checking for acl_get_file in -lacl... $ECHO_C" >&6
13122 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13125 ac_check_lib_save_LIBS
=$LIBS
13127 cat >conftest.
$ac_ext <<_ACEOF
13130 cat confdefs.h
>>conftest.
$ac_ext
13131 cat >>conftest.
$ac_ext <<_ACEOF
13132 /* end confdefs.h. */
13134 /* Override any gcc2 internal prototype to avoid an error. */
13138 /* We use char because int might match the return type of a gcc2
13139 builtin and then its argument prototype would still apply. */
13140 char acl_get_file ();
13149 rm -f conftest.
$ac_objext conftest
$ac_exeext
13150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13151 (eval $ac_link) 2>conftest.er1
13153 grep -v '^ *+' conftest.er1
>conftest.err
13155 cat conftest.err
>&5
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); } &&
13158 { ac_try
='test -z "$ac_c_werror_flag"
13159 || test ! -s conftest.err'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; } &&
13165 { ac_try
='test -s conftest$ac_exeext'
13166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13167 (eval $ac_try) 2>&5
13169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13170 (exit $ac_status); }; }; then
13171 ac_cv_lib_acl_acl_get_file
=yes
13173 echo "$as_me: failed program was:" >&5
13174 sed 's/^/| /' conftest.
$ac_ext >&5
13176 ac_cv_lib_acl_acl_get_file
=no
13178 rm -f conftest.err conftest.
$ac_objext \
13179 conftest
$ac_exeext conftest.
$ac_ext
13180 LIBS
=$ac_check_lib_save_LIBS
13182 echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
13183 echo "${ECHO_T}$ac_cv_lib_acl_acl_get_file" >&6
13184 if test $ac_cv_lib_acl_acl_get_file = yes; then
13186 echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
13187 echo $ECHO_N "checking for fgetxattr in -lattr... $ECHO_C" >&6
13188 if test "${ac_cv_lib_attr_fgetxattr+set}" = set; then
13189 echo $ECHO_N "(cached) $ECHO_C" >&6
13191 ac_check_lib_save_LIBS
=$LIBS
13192 LIBS
="-lattr $LIBS"
13193 cat >conftest.
$ac_ext <<_ACEOF
13196 cat confdefs.h
>>conftest.
$ac_ext
13197 cat >>conftest.
$ac_ext <<_ACEOF
13198 /* end confdefs.h. */
13200 /* Override any gcc2 internal prototype to avoid an error. */
13204 /* We use char because int might match the return type of a gcc2
13205 builtin and then its argument prototype would still apply. */
13215 rm -f conftest.
$ac_objext conftest
$ac_exeext
13216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13217 (eval $ac_link) 2>conftest.er1
13219 grep -v '^ *+' conftest.er1
>conftest.err
13221 cat conftest.err
>&5
13222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13223 (exit $ac_status); } &&
13224 { ac_try
='test -z "$ac_c_werror_flag"
13225 || test ! -s conftest.err'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; } &&
13231 { ac_try
='test -s conftest$ac_exeext'
13232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13233 (eval $ac_try) 2>&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); }; }; then
13237 ac_cv_lib_attr_fgetxattr
=yes
13239 echo "$as_me: failed program was:" >&5
13240 sed 's/^/| /' conftest.
$ac_ext >&5
13242 ac_cv_lib_attr_fgetxattr
=no
13244 rm -f conftest.err conftest.
$ac_objext \
13245 conftest
$ac_exeext conftest.
$ac_ext
13246 LIBS
=$ac_check_lib_save_LIBS
13248 echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
13249 echo "${ECHO_T}$ac_cv_lib_attr_fgetxattr" >&6
13250 if test $ac_cv_lib_attr_fgetxattr = yes; then
13251 LIBS
="$LIBS -lattr"
13259 echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
13260 echo $ECHO_N "checking for POSIX ACL support... $ECHO_C" >&6
13261 cat >conftest.
$ac_ext <<_ACEOF
13264 cat confdefs.h
>>conftest.
$ac_ext
13265 cat >>conftest.
$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13268 #include <sys/types.h>
13269 #ifdef HAVE_SYS_ACL_H
13270 # include <sys/acl.h>
13276 acl = acl_get_file("foo", ACL_TYPE_ACCESS);
13277 acl_set_file("foo", ACL_TYPE_ACCESS, acl);
13283 rm -f conftest.
$ac_objext conftest
$ac_exeext
13284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13285 (eval $ac_link) 2>conftest.er1
13287 grep -v '^ *+' conftest.er1
>conftest.err
13289 cat conftest.err
>&5
13290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13291 (exit $ac_status); } &&
13292 { ac_try
='test -z "$ac_c_werror_flag"
13293 || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try
='test -s conftest$ac_exeext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 echo "$as_me:$LINENO: result: yes" >&5
13306 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13307 #define HAVE_POSIX_ACL 1
13311 echo "$as_me: failed program was:" >&5
13312 sed 's/^/| /' conftest.
$ac_ext >&5
13314 echo "$as_me:$LINENO: result: no" >&5
13315 echo "${ECHO_T}no" >&6
13317 rm -f conftest.err conftest.
$ac_objext \
13318 conftest
$ac_exeext conftest.
$ac_ext
13320 echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
13321 echo $ECHO_N "checking for Solaris ACL support... $ECHO_C" >&6
13322 cat >conftest.
$ac_ext <<_ACEOF
13325 cat confdefs.h
>>conftest.
$ac_ext
13326 cat >>conftest.
$ac_ext <<_ACEOF
13327 /* end confdefs.h. */
13329 #ifdef HAVE_SYS_ACL_H
13330 # include <sys/acl.h>
13335 acl("foo", GETACLCNT, 0, NULL);
13341 rm -f conftest.
$ac_objext conftest
$ac_exeext
13342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13343 (eval $ac_link) 2>conftest.er1
13345 grep -v '^ *+' conftest.er1
>conftest.err
13347 cat conftest.err
>&5
13348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13349 (exit $ac_status); } &&
13350 { ac_try
='test -z "$ac_c_werror_flag"
13351 || test ! -s conftest.err'
13352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13353 (eval $ac_try) 2>&5
13355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13356 (exit $ac_status); }; } &&
13357 { ac_try
='test -s conftest$ac_exeext'
13358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13359 (eval $ac_try) 2>&5
13361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13362 (exit $ac_status); }; }; then
13363 echo "$as_me:$LINENO: result: yes" >&5
13364 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13365 #define HAVE_SOLARIS_ACL 1
13369 echo "$as_me: failed program was:" >&5
13370 sed 's/^/| /' conftest.
$ac_ext >&5
13372 echo "$as_me:$LINENO: result: no" >&5
13373 echo "${ECHO_T}no" >&6
13375 rm -f conftest.err conftest.
$ac_objext \
13376 conftest
$ac_exeext conftest.
$ac_ext
13378 echo "$as_me:$LINENO: checking for AIX ACL support" >&5
13379 echo $ECHO_N "checking for AIX ACL support... $ECHO_C" >&6
13380 cat >conftest.
$ac_ext <<_ACEOF
13383 cat confdefs.h
>>conftest.
$ac_ext
13384 cat >>conftest.
$ac_ext <<_ACEOF
13385 /* end confdefs.h. */
13387 #ifdef HAVE_SYS_ACL_H
13388 # include <sys/acl.h>
13390 #ifdef HAVE_SYS_ACCESS_H
13391 # include <sys/access.h>
13393 #define _ALL_SOURCE
13395 #include <sys/stat.h>
13398 struct acl *aclent;
13402 aclsize = sizeof(struct acl);
13403 aclent = (void *)malloc(aclsize);
13404 statacl("foo", STX_NORMAL, aclent, aclsize);
13410 rm -f conftest.
$ac_objext conftest
$ac_exeext
13411 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13412 (eval $ac_link) 2>conftest.er1
13414 grep -v '^ *+' conftest.er1
>conftest.err
13416 cat conftest.err
>&5
13417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13418 (exit $ac_status); } &&
13419 { ac_try
='test -z "$ac_c_werror_flag"
13420 || test ! -s conftest.err'
13421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13422 (eval $ac_try) 2>&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); }; } &&
13426 { ac_try
='test -s conftest$ac_exeext'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; }; then
13432 echo "$as_me:$LINENO: result: yes" >&5
13433 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13434 #define HAVE_AIX_ACL 1
13438 echo "$as_me: failed program was:" >&5
13439 sed 's/^/| /' conftest.
$ac_ext >&5
13441 echo "$as_me:$LINENO: result: no" >&5
13442 echo "${ECHO_T}no" >&6
13444 rm -f conftest.err conftest.
$ac_objext \
13445 conftest
$ac_exeext conftest.
$ac_ext
13447 echo "$as_me:$LINENO: result: yes" >&5
13448 echo "${ECHO_T}yes" >&6
13451 echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
13452 echo $ECHO_N "checking --disable-gpm argument... $ECHO_C" >&6
13453 # Check whether --enable-gpm or --disable-gpm was given.
13454 if test "${enable_gpm+set}" = set; then
13455 enableval
="$enable_gpm"
13461 if test "$enable_gpm" = "yes"; then
13462 echo "$as_me:$LINENO: result: no" >&5
13463 echo "${ECHO_T}no" >&6
13464 echo "$as_me:$LINENO: checking for gpm" >&5
13465 echo $ECHO_N "checking for gpm... $ECHO_C" >&6
13466 if test "${vi_cv_have_gpm+set}" = set; then
13467 echo $ECHO_N "(cached) $ECHO_C" >&6
13469 olibs
="$LIBS" ; LIBS
="-lgpm"
13470 cat >conftest.
$ac_ext <<_ACEOF
13473 cat confdefs.h
>>conftest.
$ac_ext
13474 cat >>conftest.
$ac_ext <<_ACEOF
13475 /* end confdefs.h. */
13477 #include <linux/keyboard.h>
13481 Gpm_GetLibVersion(NULL);
13486 rm -f conftest.
$ac_objext conftest
$ac_exeext
13487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13488 (eval $ac_link) 2>conftest.er1
13490 grep -v '^ *+' conftest.er1
>conftest.err
13492 cat conftest.err
>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } &&
13495 { ac_try
='test -z "$ac_c_werror_flag"
13496 || test ! -s conftest.err'
13497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13498 (eval $ac_try) 2>&5
13500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13501 (exit $ac_status); }; } &&
13502 { ac_try
='test -s conftest$ac_exeext'
13503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13504 (eval $ac_try) 2>&5
13506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13507 (exit $ac_status); }; }; then
13510 echo "$as_me: failed program was:" >&5
13511 sed 's/^/| /' conftest.
$ac_ext >&5
13515 rm -f conftest.err conftest.
$ac_objext \
13516 conftest
$ac_exeext conftest.
$ac_ext
13520 echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
13521 echo "${ECHO_T}$vi_cv_have_gpm" >&6
13522 if test $vi_cv_have_gpm = yes; then
13524 cat >>confdefs.h
<<\_ACEOF
13530 echo "$as_me:$LINENO: result: yes" >&5
13531 echo "${ECHO_T}yes" >&6
13534 echo "$as_me:$LINENO: checking for rename" >&5
13535 echo $ECHO_N "checking for rename... $ECHO_C" >&6
13536 cat >conftest.
$ac_ext <<_ACEOF
13539 cat confdefs.h
>>conftest.
$ac_ext
13540 cat >>conftest.
$ac_ext <<_ACEOF
13541 /* end confdefs.h. */
13546 rename("this", "that")
13551 rm -f conftest.
$ac_objext conftest
$ac_exeext
13552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13553 (eval $ac_link) 2>conftest.er1
13555 grep -v '^ *+' conftest.er1
>conftest.err
13557 cat conftest.err
>&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); } &&
13560 { ac_try
='test -z "$ac_c_werror_flag"
13561 || test ! -s conftest.err'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; } &&
13567 { ac_try
='test -s conftest$ac_exeext'
13568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13569 (eval $ac_try) 2>&5
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); }; }; then
13573 echo "$as_me:$LINENO: result: yes" >&5
13574 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13575 #define HAVE_RENAME 1
13579 echo "$as_me: failed program was:" >&5
13580 sed 's/^/| /' conftest.
$ac_ext >&5
13582 echo "$as_me:$LINENO: result: no" >&5
13583 echo "${ECHO_T}no" >&6
13585 rm -f conftest.err conftest.
$ac_objext \
13586 conftest
$ac_exeext conftest.
$ac_ext
13588 echo "$as_me:$LINENO: checking for sysctl" >&5
13589 echo $ECHO_N "checking for sysctl... $ECHO_C" >&6
13590 cat >conftest.
$ac_ext <<_ACEOF
13593 cat confdefs.h
>>conftest.
$ac_ext
13594 cat >>conftest.
$ac_ext <<_ACEOF
13595 /* end confdefs.h. */
13596 #include <sys/types.h>
13597 #include <sys/sysctl.h>
13605 mib[1] = HW_USERMEM;
13607 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0);
13613 rm -f conftest.
$ac_objext
13614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13615 (eval $ac_compile) 2>conftest.er1
13617 grep -v '^ *+' conftest.er1
>conftest.err
13619 cat conftest.err
>&5
13620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13621 (exit $ac_status); } &&
13622 { ac_try
='test -z "$ac_c_werror_flag"
13623 || test ! -s conftest.err'
13624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13625 (eval $ac_try) 2>&5
13627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13628 (exit $ac_status); }; } &&
13629 { ac_try
='test -s conftest.$ac_objext'
13630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13631 (eval $ac_try) 2>&5
13633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13634 (exit $ac_status); }; }; then
13635 echo "$as_me:$LINENO: result: yes" >&5
13636 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13637 #define HAVE_SYSCTL 1
13641 echo "$as_me: failed program was:" >&5
13642 sed 's/^/| /' conftest.
$ac_ext >&5
13644 echo "$as_me:$LINENO: result: not usable" >&5
13645 echo "${ECHO_T}not usable" >&6
13647 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13649 echo "$as_me:$LINENO: checking for sysinfo" >&5
13650 echo $ECHO_N "checking for sysinfo... $ECHO_C" >&6
13651 cat >conftest.
$ac_ext <<_ACEOF
13654 cat confdefs.h
>>conftest.
$ac_ext
13655 cat >>conftest.
$ac_ext <<_ACEOF
13656 /* end confdefs.h. */
13657 #include <sys/types.h>
13658 #include <sys/sysinfo.h>
13662 struct sysinfo sinfo;
13665 (void)sysinfo(&sinfo);
13666 t = sinfo.totalram;
13672 rm -f conftest.
$ac_objext
13673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13674 (eval $ac_compile) 2>conftest.er1
13676 grep -v '^ *+' conftest.er1
>conftest.err
13678 cat conftest.err
>&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } &&
13681 { ac_try
='test -z "$ac_c_werror_flag"
13682 || test ! -s conftest.err'
13683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13684 (eval $ac_try) 2>&5
13686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13687 (exit $ac_status); }; } &&
13688 { ac_try
='test -s conftest.$ac_objext'
13689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13690 (eval $ac_try) 2>&5
13692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13693 (exit $ac_status); }; }; then
13694 echo "$as_me:$LINENO: result: yes" >&5
13695 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13696 #define HAVE_SYSINFO 1
13700 echo "$as_me: failed program was:" >&5
13701 sed 's/^/| /' conftest.
$ac_ext >&5
13703 echo "$as_me:$LINENO: result: not usable" >&5
13704 echo "${ECHO_T}not usable" >&6
13706 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13708 echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
13709 echo $ECHO_N "checking for sysinfo.mem_unit... $ECHO_C" >&6
13710 cat >conftest.
$ac_ext <<_ACEOF
13713 cat confdefs.h
>>conftest.
$ac_ext
13714 cat >>conftest.
$ac_ext <<_ACEOF
13715 /* end confdefs.h. */
13716 #include <sys/types.h>
13717 #include <sys/sysinfo.h>
13721 struct sysinfo sinfo;
13722 sinfo.mem_unit = 1;
13728 rm -f conftest.
$ac_objext
13729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13730 (eval $ac_compile) 2>conftest.er1
13732 grep -v '^ *+' conftest.er1
>conftest.err
13734 cat conftest.err
>&5
13735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13736 (exit $ac_status); } &&
13737 { ac_try
='test -z "$ac_c_werror_flag"
13738 || test ! -s conftest.err'
13739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13740 (eval $ac_try) 2>&5
13742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13743 (exit $ac_status); }; } &&
13744 { ac_try
='test -s conftest.$ac_objext'
13745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13746 (eval $ac_try) 2>&5
13748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13749 (exit $ac_status); }; }; then
13750 echo "$as_me:$LINENO: result: yes" >&5
13751 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13752 #define HAVE_SYSINFO_MEM_UNIT 1
13756 echo "$as_me: failed program was:" >&5
13757 sed 's/^/| /' conftest.
$ac_ext >&5
13759 echo "$as_me:$LINENO: result: no" >&5
13760 echo "${ECHO_T}no" >&6
13762 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13764 echo "$as_me:$LINENO: checking for sysconf" >&5
13765 echo $ECHO_N "checking for sysconf... $ECHO_C" >&6
13766 cat >conftest.
$ac_ext <<_ACEOF
13769 cat confdefs.h
>>conftest.
$ac_ext
13770 cat >>conftest.
$ac_ext <<_ACEOF
13771 /* end confdefs.h. */
13772 #include <unistd.h>
13776 (void)sysconf(_SC_PAGESIZE);
13777 (void)sysconf(_SC_PHYS_PAGES);
13783 rm -f conftest.
$ac_objext
13784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13785 (eval $ac_compile) 2>conftest.er1
13787 grep -v '^ *+' conftest.er1
>conftest.err
13789 cat conftest.err
>&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } &&
13792 { ac_try
='test -z "$ac_c_werror_flag"
13793 || test ! -s conftest.err'
13794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13795 (eval $ac_try) 2>&5
13797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13798 (exit $ac_status); }; } &&
13799 { ac_try
='test -s conftest.$ac_objext'
13800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13801 (eval $ac_try) 2>&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 (exit $ac_status); }; }; then
13805 echo "$as_me:$LINENO: result: yes" >&5
13806 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
13807 #define HAVE_SYSCONF 1
13811 echo "$as_me: failed program was:" >&5
13812 sed 's/^/| /' conftest.
$ac_ext >&5
13814 echo "$as_me:$LINENO: result: not usable" >&5
13815 echo "${ECHO_T}not usable" >&6
13817 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
13820 echo "$as_me:$LINENO: checking size of int" >&5
13821 echo $ECHO_N "checking size of int... $ECHO_C" >&6
13822 if test "${ac_cv_sizeof_int+set}" = set; then
13823 echo $ECHO_N "(cached) $ECHO_C" >&6
13825 if test "$cross_compiling" = yes; then
13826 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
13827 echo "$as_me: error: failed to compile test program" >&2;}
13828 { (exit 1); exit 1; }; }
13830 cat >conftest.
$ac_ext <<_ACEOF
13833 cat confdefs.h
>>conftest.
$ac_ext
13834 cat >>conftest.
$ac_ext <<_ACEOF
13835 /* end confdefs.h. */
13839 FILE *f=fopen("conftestval", "w");
13841 fprintf(f, "%d\n", (int)sizeof(int));
13845 rm -f conftest
$ac_exeext
13846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13847 (eval $ac_link) 2>&5
13849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13850 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13852 (eval $ac_try) 2>&5
13854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13855 (exit $ac_status); }; }; then
13856 ac_cv_sizeof_int
=`cat conftestval`
13858 echo "$as_me: program exited with status $ac_status" >&5
13859 echo "$as_me: failed program was:" >&5
13860 sed 's/^/| /' conftest.
$ac_ext >&5
13862 ( exit $ac_status )
13865 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13869 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
13870 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
13871 cat >>confdefs.h
<<_ACEOF
13872 #define SIZEOF_INT $ac_cv_sizeof_int
13876 echo "$as_me:$LINENO: checking whether memmove/bcopy/memcpy handle overlaps" >&5
13877 echo $ECHO_N "checking whether memmove/bcopy/memcpy handle overlaps... $ECHO_C" >&6
13881 strcpy(buf, "abcdefghi");
13882 mch_memmove(buf, buf + 2, 3);
13883 if (strncmp(buf, "ababcf", 6))
13885 strcpy(buf, "abcdefghi");
13886 mch_memmove(buf + 2, buf, 3);
13887 if (strncmp(buf, "cdedef", 6))
13889 exit(0); /* libc version works properly. */
13893 if test "$cross_compiling" = yes; then
13894 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
13895 echo "$as_me: error: failed to compile test program" >&2;}
13896 { (exit 1); exit 1; }; }
13898 cat >conftest.
$ac_ext <<_ACEOF
13901 cat confdefs.h
>>conftest.
$ac_ext
13902 cat >>conftest.
$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog
13906 rm -f conftest
$ac_exeext
13907 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13908 (eval $ac_link) 2>&5
13910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13911 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13913 (eval $ac_try) 2>&5
13915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13916 (exit $ac_status); }; }; then
13917 cat >>confdefs.h
<<\_ACEOF
13918 #define USEMEMMOVE 1
13920 echo "$as_me:$LINENO: result: memmove does" >&5
13921 echo "${ECHO_T}memmove does" >&6
13923 echo "$as_me: program exited with status $ac_status" >&5
13924 echo "$as_me: failed program was:" >&5
13925 sed 's/^/| /' conftest.
$ac_ext >&5
13927 ( exit $ac_status )
13928 if test "$cross_compiling" = yes; then
13929 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
13930 echo "$as_me: error: failed to compile test program" >&2;}
13931 { (exit 1); exit 1; }; }
13933 cat >conftest.
$ac_ext <<_ACEOF
13936 cat confdefs.h
>>conftest.
$ac_ext
13937 cat >>conftest.
$ac_ext <<_ACEOF
13938 /* end confdefs.h. */
13939 #define mch_memmove(s,d,l) bcopy(d,s,l) $bcopy_test_prog
13941 rm -f conftest
$ac_exeext
13942 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13943 (eval $ac_link) 2>&5
13945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13946 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13948 (eval $ac_try) 2>&5
13950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13951 (exit $ac_status); }; }; then
13952 cat >>confdefs.h
<<\_ACEOF
13955 echo "$as_me:$LINENO: result: bcopy does" >&5
13956 echo "${ECHO_T}bcopy does" >&6
13958 echo "$as_me: program exited with status $ac_status" >&5
13959 echo "$as_me: failed program was:" >&5
13960 sed 's/^/| /' conftest.
$ac_ext >&5
13962 ( exit $ac_status )
13963 if test "$cross_compiling" = yes; then
13964 { { echo "$as_me:$LINENO: error: failed to compile test program" >&5
13965 echo "$as_me: error: failed to compile test program" >&2;}
13966 { (exit 1); exit 1; }; }
13968 cat >conftest.
$ac_ext <<_ACEOF
13971 cat confdefs.h
>>conftest.
$ac_ext
13972 cat >>conftest.
$ac_ext <<_ACEOF
13973 /* end confdefs.h. */
13974 #define mch_memmove(s,d,l) memcpy(d,s,l) $bcopy_test_prog
13976 rm -f conftest
$ac_exeext
13977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13978 (eval $ac_link) 2>&5
13980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13983 (eval $ac_try) 2>&5
13985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13986 (exit $ac_status); }; }; then
13987 cat >>confdefs.h
<<\_ACEOF
13988 #define USEMEMCPY 1
13990 echo "$as_me:$LINENO: result: memcpy does" >&5
13991 echo "${ECHO_T}memcpy does" >&6
13993 echo "$as_me: program exited with status $ac_status" >&5
13994 echo "$as_me: failed program was:" >&5
13995 sed 's/^/| /' conftest.
$ac_ext >&5
13997 ( exit $ac_status )
13998 echo "$as_me:$LINENO: result: no" >&5
13999 echo "${ECHO_T}no" >&6
14001 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14004 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14007 rm -f core
*.core gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
14011 if test "$enable_multibyte" = "yes"; then
14012 cflags_save
=$CFLAGS
14013 ldflags_save
=$LDFLAGS
14014 if test -n "$x_includes" ; then
14015 CFLAGS
="$CFLAGS -I$x_includes"
14016 LDFLAGS
="$X_LIBS $LDFLAGS -lX11"
14017 echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
14018 echo $ECHO_N "checking whether X_LOCALE needed... $ECHO_C" >&6
14019 cat >conftest.
$ac_ext <<_ACEOF
14022 cat confdefs.h
>>conftest.
$ac_ext
14023 cat >>conftest.
$ac_ext <<_ACEOF
14024 /* end confdefs.h. */
14025 #include <X11/Xlocale.h>
14034 rm -f conftest.
$ac_objext
14035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14036 (eval $ac_compile) 2>conftest.er1
14038 grep -v '^ *+' conftest.er1
>conftest.err
14040 cat conftest.err
>&5
14041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14042 (exit $ac_status); } &&
14043 { ac_try
='test -z "$ac_c_werror_flag"
14044 || test ! -s conftest.err'
14045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14046 (eval $ac_try) 2>&5
14048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14049 (exit $ac_status); }; } &&
14050 { ac_try
='test -s conftest.$ac_objext'
14051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14052 (eval $ac_try) 2>&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }; }; then
14056 cat >conftest.
$ac_ext <<_ACEOF
14059 cat confdefs.h
>>conftest.
$ac_ext
14060 cat >>conftest.
$ac_ext <<_ACEOF
14061 /* end confdefs.h. */
14063 /* Override any gcc2 internal prototype to avoid an error. */
14067 /* We use char because int might match the return type of a gcc2
14068 builtin and then its argument prototype would still apply. */
14069 char _Xsetlocale ();
14078 rm -f conftest.
$ac_objext conftest
$ac_exeext
14079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14080 (eval $ac_link) 2>conftest.er1
14082 grep -v '^ *+' conftest.er1
>conftest.err
14084 cat conftest.err
>&5
14085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14086 (exit $ac_status); } &&
14087 { ac_try
='test -z "$ac_c_werror_flag"
14088 || test ! -s conftest.err'
14089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14090 (eval $ac_try) 2>&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); }; } &&
14094 { ac_try
='test -s conftest$ac_exeext'
14095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14096 (eval $ac_try) 2>&5
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }; }; then
14100 echo "$as_me:$LINENO: result: yes" >&5
14101 echo "${ECHO_T}yes" >&6
14102 cat >>confdefs.h
<<\_ACEOF
14107 echo "$as_me: failed program was:" >&5
14108 sed 's/^/| /' conftest.
$ac_ext >&5
14110 echo "$as_me:$LINENO: result: no" >&5
14111 echo "${ECHO_T}no" >&6
14113 rm -f conftest.err conftest.
$ac_objext \
14114 conftest
$ac_exeext conftest.
$ac_ext
14116 echo "$as_me: failed program was:" >&5
14117 sed 's/^/| /' conftest.
$ac_ext >&5
14119 echo "$as_me:$LINENO: result: no" >&5
14120 echo "${ECHO_T}no" >&6
14122 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14124 CFLAGS
=$cflags_save
14125 LDFLAGS
=$ldflags_save
14128 echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
14129 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6
14130 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
14131 echo $ECHO_N "(cached) $ECHO_C" >&6
14133 ac_check_lib_save_LIBS
=$LIBS
14134 LIBS
="-lxpg4 $LIBS"
14135 cat >conftest.
$ac_ext <<_ACEOF
14138 cat confdefs.h
>>conftest.
$ac_ext
14139 cat >>conftest.
$ac_ext <<_ACEOF
14140 /* end confdefs.h. */
14142 /* Override any gcc2 internal prototype to avoid an error. */
14146 /* We use char because int might match the return type of a gcc2
14147 builtin and then its argument prototype would still apply. */
14148 char _xpg4_setrunelocale ();
14152 _xpg4_setrunelocale ();
14157 rm -f conftest.
$ac_objext conftest
$ac_exeext
14158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14159 (eval $ac_link) 2>conftest.er1
14161 grep -v '^ *+' conftest.er1
>conftest.err
14163 cat conftest.err
>&5
14164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14165 (exit $ac_status); } &&
14166 { ac_try
='test -z "$ac_c_werror_flag"
14167 || test ! -s conftest.err'
14168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14169 (eval $ac_try) 2>&5
14171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14172 (exit $ac_status); }; } &&
14173 { ac_try
='test -s conftest$ac_exeext'
14174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14175 (eval $ac_try) 2>&5
14177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14178 (exit $ac_status); }; }; then
14179 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
14181 echo "$as_me: failed program was:" >&5
14182 sed 's/^/| /' conftest.
$ac_ext >&5
14184 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
14186 rm -f conftest.err conftest.
$ac_objext \
14187 conftest
$ac_exeext conftest.
$ac_ext
14188 LIBS
=$ac_check_lib_save_LIBS
14190 echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
14191 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6
14192 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
14193 LIBS
="$LIBS -lxpg4"
14197 echo "$as_me:$LINENO: checking how to create tags" >&5
14198 echo $ECHO_N "checking how to create tags... $ECHO_C" >&6
14199 test -f tags
&& mv tags tags.save
14200 if (eval ctags
--version /dev
/null |
grep Exuberant
) < /dev
/null
1>&5 2>&1; then
14201 TAGPRG
="ctags -I INIT+ --fields=+S"
14203 (eval etags
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="etags"
14204 (eval etags
-c /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="etags -c"
14205 (eval ctags
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags"
14206 (eval ctags
-t /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -t"
14207 (eval ctags
-ts /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -ts"
14208 (eval ctags
-tvs /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -tvs"
14209 (eval ctags
-i+m
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -i+m"
14211 test -f tags.save
&& mv tags.save tags
14212 echo "$as_me:$LINENO: result: $TAGPRG" >&5
14213 echo "${ECHO_T}$TAGPRG" >&6
14215 echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
14216 echo $ECHO_N "checking how to run man with a section nr... $ECHO_C" >&6
14218 (eval man
-s 2 read) < /dev
/null
> /dev
/null
2>&5 && MANDEF
="man -s"
14219 echo "$as_me:$LINENO: result: $MANDEF" >&5
14220 echo "${ECHO_T}$MANDEF" >&6
14221 if test "$MANDEF" = "man -s"; then
14222 cat >>confdefs.h
<<\_ACEOF
14228 echo "$as_me:$LINENO: checking --disable-nls argument" >&5
14229 echo $ECHO_N "checking --disable-nls argument... $ECHO_C" >&6
14230 # Check whether --enable-nls or --disable-nls was given.
14231 if test "${enable_nls+set}" = set; then
14232 enableval
="$enable_nls"
14238 if test "$enable_nls" = "yes"; then
14239 echo "$as_me:$LINENO: result: no" >&5
14240 echo "${ECHO_T}no" >&6
14242 INSTALL_LANGS
=install-languages
14244 INSTALL_TOOL_LANGS
=install-tool-languages
14247 # Extract the first word of "msgfmt", so it can be a program name with args.
14248 set dummy msgfmt
; ac_word
=$2
14249 echo "$as_me:$LINENO: checking for $ac_word" >&5
14250 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14251 if test "${ac_cv_prog_MSGFMT+set}" = set; then
14252 echo $ECHO_N "(cached) $ECHO_C" >&6
14254 if test -n "$MSGFMT"; then
14255 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
14257 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
14258 for as_dir
in $PATH
14261 test -z "$as_dir" && as_dir
=.
14262 for ac_exec_ext
in '' $ac_executable_extensions; do
14263 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14264 ac_cv_prog_MSGFMT
="msgfmt"
14265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14273 MSGFMT
=$ac_cv_prog_MSGFMT
14274 if test -n "$MSGFMT"; then
14275 echo "$as_me:$LINENO: result: $MSGFMT" >&5
14276 echo "${ECHO_T}$MSGFMT" >&6
14278 echo "$as_me:$LINENO: result: no" >&5
14279 echo "${ECHO_T}no" >&6
14282 echo "$as_me:$LINENO: checking for NLS" >&5
14283 echo $ECHO_N "checking for NLS... $ECHO_C" >&6
14284 if test -f po
/Makefile
; then
14286 if test -n "$MSGFMT"; then
14287 cat >conftest.
$ac_ext <<_ACEOF
14290 cat confdefs.h
>>conftest.
$ac_ext
14291 cat >>conftest.
$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 #include <libintl.h>
14302 rm -f conftest.
$ac_objext conftest
$ac_exeext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14304 (eval $ac_link) 2>conftest.er1
14306 grep -v '^ *+' conftest.er1
>conftest.err
14308 cat conftest.err
>&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try
='test -z "$ac_c_werror_flag"
14312 || test ! -s conftest.err'
14313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14314 (eval $ac_try) 2>&5
14316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14317 (exit $ac_status); }; } &&
14318 { ac_try
='test -s conftest$ac_exeext'
14319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14320 (eval $ac_try) 2>&5
14322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14323 (exit $ac_status); }; }; then
14324 echo "$as_me:$LINENO: result: gettext() works" >&5
14325 echo "${ECHO_T}gettext() works" >&6; have_gettext
="yes"
14327 echo "$as_me: failed program was:" >&5
14328 sed 's/^/| /' conftest.
$ac_ext >&5
14331 LIBS
="$LIBS -lintl"
14332 cat >conftest.
$ac_ext <<_ACEOF
14335 cat confdefs.h
>>conftest.
$ac_ext
14336 cat >>conftest.
$ac_ext <<_ACEOF
14337 /* end confdefs.h. */
14338 #include <libintl.h>
14347 rm -f conftest.
$ac_objext conftest
$ac_exeext
14348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14349 (eval $ac_link) 2>conftest.er1
14351 grep -v '^ *+' conftest.er1
>conftest.err
14353 cat conftest.err
>&5
14354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14355 (exit $ac_status); } &&
14356 { ac_try
='test -z "$ac_c_werror_flag"
14357 || test ! -s conftest.err'
14358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14359 (eval $ac_try) 2>&5
14361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14362 (exit $ac_status); }; } &&
14363 { ac_try
='test -s conftest$ac_exeext'
14364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14365 (eval $ac_try) 2>&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); }; }; then
14369 echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
14370 echo "${ECHO_T}gettext() works with -lintl" >&6; have_gettext
="yes"
14372 echo "$as_me: failed program was:" >&5
14373 sed 's/^/| /' conftest.
$ac_ext >&5
14375 echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
14376 echo "${ECHO_T}gettext() doesn't work" >&6;
14379 rm -f conftest.err conftest.
$ac_objext \
14380 conftest
$ac_exeext conftest.
$ac_ext
14382 rm -f conftest.err conftest.
$ac_objext \
14383 conftest
$ac_exeext conftest.
$ac_ext
14385 echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
14386 echo "${ECHO_T}msgfmt not found - disabled" >&6;
14388 if test $have_gettext = "yes"; then
14389 cat >>confdefs.h
<<\_ACEOF
14390 #define HAVE_GETTEXT 1
14396 for ac_func
in bind_textdomain_codeset
14398 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14399 echo "$as_me:$LINENO: checking for $ac_func" >&5
14400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14401 if eval "test \"\${$as_ac_var+set}\" = set"; then
14402 echo $ECHO_N "(cached) $ECHO_C" >&6
14404 cat >conftest.
$ac_ext <<_ACEOF
14407 cat confdefs.h
>>conftest.
$ac_ext
14408 cat >>conftest.
$ac_ext <<_ACEOF
14409 /* end confdefs.h. */
14410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14412 #define $ac_func innocuous_$ac_func
14414 /* System header to define __stub macros and hopefully few prototypes,
14415 which can conflict with char $ac_func (); below.
14416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14417 <limits.h> exists even on freestanding compilers. */
14420 # include <limits.h>
14422 # include <assert.h>
14427 /* Override any gcc2 internal prototype to avoid an error. */
14432 /* We use char because int might match the return type of a gcc2
14433 builtin and then its argument prototype would still apply. */
14435 /* The GNU C library defines this for functions which it implements
14436 to always fail with ENOSYS. Some functions are actually named
14437 something starting with __ and the normal name is an alias. */
14438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14441 char (*f) () = $ac_func;
14450 return f != $ac_func;
14455 rm -f conftest.
$ac_objext conftest
$ac_exeext
14456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14457 (eval $ac_link) 2>conftest.er1
14459 grep -v '^ *+' conftest.er1
>conftest.err
14461 cat conftest.err
>&5
14462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14463 (exit $ac_status); } &&
14464 { ac_try
='test -z "$ac_c_werror_flag"
14465 || test ! -s conftest.err'
14466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14467 (eval $ac_try) 2>&5
14469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14470 (exit $ac_status); }; } &&
14471 { ac_try
='test -s conftest$ac_exeext'
14472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14473 (eval $ac_try) 2>&5
14475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14476 (exit $ac_status); }; }; then
14477 eval "$as_ac_var=yes"
14479 echo "$as_me: failed program was:" >&5
14480 sed 's/^/| /' conftest.
$ac_ext >&5
14482 eval "$as_ac_var=no"
14484 rm -f conftest.err conftest.
$ac_objext \
14485 conftest
$ac_exeext conftest.
$ac_ext
14487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14489 if test `eval echo '${'$as_ac_var'}'` = yes; then
14490 cat >>confdefs.h
<<_ACEOF
14491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14497 echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
14498 echo $ECHO_N "checking for _nl_msg_cat_cntr... $ECHO_C" >&6
14499 cat >conftest.
$ac_ext <<_ACEOF
14502 cat confdefs.h
>>conftest.
$ac_ext
14503 cat >>conftest.
$ac_ext <<_ACEOF
14504 /* end confdefs.h. */
14505 #include <libintl.h>
14506 extern int _nl_msg_cat_cntr;
14510 ++_nl_msg_cat_cntr;
14515 rm -f conftest.
$ac_objext conftest
$ac_exeext
14516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14517 (eval $ac_link) 2>conftest.er1
14519 grep -v '^ *+' conftest.er1
>conftest.err
14521 cat conftest.err
>&5
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); } &&
14524 { ac_try
='test -z "$ac_c_werror_flag"
14525 || test ! -s conftest.err'
14526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14527 (eval $ac_try) 2>&5
14529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14530 (exit $ac_status); }; } &&
14531 { ac_try
='test -s conftest$ac_exeext'
14532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14533 (eval $ac_try) 2>&5
14535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14536 (exit $ac_status); }; }; then
14537 echo "$as_me:$LINENO: result: yes" >&5
14538 echo "${ECHO_T}yes" >&6; cat >>confdefs.h
<<\_ACEOF
14539 #define HAVE_NL_MSG_CAT_CNTR 1
14543 echo "$as_me: failed program was:" >&5
14544 sed 's/^/| /' conftest.
$ac_ext >&5
14546 echo "$as_me:$LINENO: result: no" >&5
14547 echo "${ECHO_T}no" >&6
14549 rm -f conftest.err conftest.
$ac_objext \
14550 conftest
$ac_exeext conftest.
$ac_ext
14553 echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
14554 echo "${ECHO_T}no \"po/Makefile\" - disabled" >&6;
14557 echo "$as_me:$LINENO: result: yes" >&5
14558 echo "${ECHO_T}yes" >&6
14561 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14562 echo "$as_me:$LINENO: checking for dlfcn.h" >&5
14563 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
14564 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14565 echo $ECHO_N "(cached) $ECHO_C" >&6
14567 echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
14568 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
14570 # Is the header compilable?
14571 echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
14572 echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6
14573 cat >conftest.
$ac_ext <<_ACEOF
14576 cat confdefs.h
>>conftest.
$ac_ext
14577 cat >>conftest.
$ac_ext <<_ACEOF
14578 /* end confdefs.h. */
14579 $ac_includes_default
14582 rm -f conftest.
$ac_objext
14583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14584 (eval $ac_compile) 2>conftest.er1
14586 grep -v '^ *+' conftest.er1
>conftest.err
14588 cat conftest.err
>&5
14589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14590 (exit $ac_status); } &&
14591 { ac_try
='test -z "$ac_c_werror_flag"
14592 || test ! -s conftest.err'
14593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14594 (eval $ac_try) 2>&5
14596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14597 (exit $ac_status); }; } &&
14598 { ac_try
='test -s conftest.$ac_objext'
14599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14600 (eval $ac_try) 2>&5
14602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14603 (exit $ac_status); }; }; then
14604 ac_header_compiler
=yes
14606 echo "$as_me: failed program was:" >&5
14607 sed 's/^/| /' conftest.
$ac_ext >&5
14609 ac_header_compiler
=no
14611 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14612 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14613 echo "${ECHO_T}$ac_header_compiler" >&6
14615 # Is the header present?
14616 echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
14617 echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6
14618 cat >conftest.
$ac_ext <<_ACEOF
14621 cat confdefs.h
>>conftest.
$ac_ext
14622 cat >>conftest.
$ac_ext <<_ACEOF
14623 /* end confdefs.h. */
14626 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14627 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14629 grep -v '^ *+' conftest.er1
>conftest.err
14631 cat conftest.err
>&5
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); } >/dev
/null
; then
14634 if test -s conftest.err
; then
14635 ac_cpp_err
=$ac_c_preproc_warn_flag
14636 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14643 if test -z "$ac_cpp_err"; then
14644 ac_header_preproc
=yes
14646 echo "$as_me: failed program was:" >&5
14647 sed 's/^/| /' conftest.
$ac_ext >&5
14649 ac_header_preproc
=no
14651 rm -f conftest.err conftest.
$ac_ext
14652 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14653 echo "${ECHO_T}$ac_header_preproc" >&6
14655 # So? What about this header?
14656 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14658 { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
14659 echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14660 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
14661 echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
14662 ac_header_preproc
=yes
14665 { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
14666 echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
14667 { echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
14668 echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
14669 { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
14670 echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
14671 { echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
14672 echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
14673 { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
14674 echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
14675 { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
14676 echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
14679 ## ------------------------------------------ ##
14680 ## Report this to the AC_PACKAGE_NAME lists. ##
14681 ## ------------------------------------------ ##
14684 sed "s/^/$as_me: WARNING: /" >&2
14687 echo "$as_me:$LINENO: checking for dlfcn.h" >&5
14688 echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6
14689 if test "${ac_cv_header_dlfcn_h+set}" = set; then
14690 echo $ECHO_N "(cached) $ECHO_C" >&6
14692 ac_cv_header_dlfcn_h
=$ac_header_preproc
14694 echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
14695 echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6
14698 if test $ac_cv_header_dlfcn_h = yes; then
14701 if test "${ac_cv_header_dl_h+set}" = set; then
14702 echo "$as_me:$LINENO: checking for dl.h" >&5
14703 echo $ECHO_N "checking for dl.h... $ECHO_C" >&6
14704 if test "${ac_cv_header_dl_h+set}" = set; then
14705 echo $ECHO_N "(cached) $ECHO_C" >&6
14707 echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
14708 echo "${ECHO_T}$ac_cv_header_dl_h" >&6
14710 # Is the header compilable?
14711 echo "$as_me:$LINENO: checking dl.h usability" >&5
14712 echo $ECHO_N "checking dl.h usability... $ECHO_C" >&6
14713 cat >conftest.
$ac_ext <<_ACEOF
14716 cat confdefs.h
>>conftest.
$ac_ext
14717 cat >>conftest.
$ac_ext <<_ACEOF
14718 /* end confdefs.h. */
14719 $ac_includes_default
14722 rm -f conftest.
$ac_objext
14723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14724 (eval $ac_compile) 2>conftest.er1
14726 grep -v '^ *+' conftest.er1
>conftest.err
14728 cat conftest.err
>&5
14729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14730 (exit $ac_status); } &&
14731 { ac_try
='test -z "$ac_c_werror_flag"
14732 || test ! -s conftest.err'
14733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14734 (eval $ac_try) 2>&5
14736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14737 (exit $ac_status); }; } &&
14738 { ac_try
='test -s conftest.$ac_objext'
14739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14740 (eval $ac_try) 2>&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); }; }; then
14744 ac_header_compiler
=yes
14746 echo "$as_me: failed program was:" >&5
14747 sed 's/^/| /' conftest.
$ac_ext >&5
14749 ac_header_compiler
=no
14751 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
14752 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14753 echo "${ECHO_T}$ac_header_compiler" >&6
14755 # Is the header present?
14756 echo "$as_me:$LINENO: checking dl.h presence" >&5
14757 echo $ECHO_N "checking dl.h presence... $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. */
14766 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14767 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
14769 grep -v '^ *+' conftest.er1
>conftest.err
14771 cat conftest.err
>&5
14772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14773 (exit $ac_status); } >/dev
/null
; then
14774 if test -s conftest.err
; then
14775 ac_cpp_err
=$ac_c_preproc_warn_flag
14776 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
14783 if test -z "$ac_cpp_err"; then
14784 ac_header_preproc
=yes
14786 echo "$as_me: failed program was:" >&5
14787 sed 's/^/| /' conftest.
$ac_ext >&5
14789 ac_header_preproc
=no
14791 rm -f conftest.err conftest.
$ac_ext
14792 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14793 echo "${ECHO_T}$ac_header_preproc" >&6
14795 # So? What about this header?
14796 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14798 { echo "$as_me:$LINENO: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&5
14799 echo "$as_me: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
14800 { echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the compiler's result" >&5
14801 echo "$as_me: WARNING: dl.h: proceeding with the compiler's result" >&2;}
14802 ac_header_preproc
=yes
14805 { echo "$as_me:$LINENO: WARNING: dl.h: present but cannot be compiled" >&5
14806 echo "$as_me: WARNING: dl.h: present but cannot be compiled" >&2;}
14807 { echo "$as_me:$LINENO: WARNING: dl.h: check for missing prerequisite headers?" >&5
14808 echo "$as_me: WARNING: dl.h: check for missing prerequisite headers?" >&2;}
14809 { echo "$as_me:$LINENO: WARNING: dl.h: see the Autoconf documentation" >&5
14810 echo "$as_me: WARNING: dl.h: see the Autoconf documentation" >&2;}
14811 { echo "$as_me:$LINENO: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&5
14812 echo "$as_me: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&2;}
14813 { echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the preprocessor's result" >&5
14814 echo "$as_me: WARNING: dl.h: proceeding with the preprocessor's result" >&2;}
14815 { echo "$as_me:$LINENO: WARNING: dl.h: in the future, the compiler will take precedence" >&5
14816 echo "$as_me: WARNING: dl.h: in the future, the compiler will take precedence" >&2;}
14819 ## ------------------------------------------ ##
14820 ## Report this to the AC_PACKAGE_NAME lists. ##
14821 ## ------------------------------------------ ##
14824 sed "s/^/$as_me: WARNING: /" >&2
14827 echo "$as_me:$LINENO: checking for dl.h" >&5
14828 echo $ECHO_N "checking for dl.h... $ECHO_C" >&6
14829 if test "${ac_cv_header_dl_h+set}" = set; then
14830 echo $ECHO_N "(cached) $ECHO_C" >&6
14832 ac_cv_header_dl_h
=$ac_header_preproc
14834 echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
14835 echo "${ECHO_T}$ac_cv_header_dl_h" >&6
14838 if test $ac_cv_header_dl_h = yes; then
14846 if test x
${DLL} = xdlfcn.h
; then
14848 cat >>confdefs.h
<<\_ACEOF
14849 #define HAVE_DLFCN_H 1
14852 echo "$as_me:$LINENO: checking for dlopen()" >&5
14853 echo $ECHO_N "checking for dlopen()... $ECHO_C" >&6
14854 cat >conftest.
$ac_ext <<_ACEOF
14857 cat confdefs.h
>>conftest.
$ac_ext
14858 cat >>conftest.
$ac_ext <<_ACEOF
14859 /* end confdefs.h. */
14865 extern void* dlopen();
14872 rm -f conftest.
$ac_objext conftest
$ac_exeext
14873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14874 (eval $ac_link) 2>conftest.er1
14876 grep -v '^ *+' conftest.er1
>conftest.err
14878 cat conftest.err
>&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try
='test -z "$ac_c_werror_flag"
14882 || test ! -s conftest.err'
14883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14884 (eval $ac_try) 2>&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); }; } &&
14888 { ac_try
='test -s conftest$ac_exeext'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; }; then
14894 echo "$as_me:$LINENO: result: yes" >&5
14895 echo "${ECHO_T}yes" >&6;
14897 cat >>confdefs.h
<<\_ACEOF
14898 #define HAVE_DLOPEN 1
14902 echo "$as_me: failed program was:" >&5
14903 sed 's/^/| /' conftest.
$ac_ext >&5
14905 echo "$as_me:$LINENO: result: no" >&5
14906 echo "${ECHO_T}no" >&6;
14907 echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
14908 echo $ECHO_N "checking for dlopen() in -ldl... $ECHO_C" >&6
14911 cat >conftest.
$ac_ext <<_ACEOF
14914 cat confdefs.h
>>conftest.
$ac_ext
14915 cat >>conftest.
$ac_ext <<_ACEOF
14916 /* end confdefs.h. */
14922 extern void* dlopen();
14929 rm -f conftest.
$ac_objext conftest
$ac_exeext
14930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14931 (eval $ac_link) 2>conftest.er1
14933 grep -v '^ *+' conftest.er1
>conftest.err
14935 cat conftest.err
>&5
14936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14937 (exit $ac_status); } &&
14938 { ac_try
='test -z "$ac_c_werror_flag"
14939 || test ! -s conftest.err'
14940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14941 (eval $ac_try) 2>&5
14943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14944 (exit $ac_status); }; } &&
14945 { ac_try
='test -s conftest$ac_exeext'
14946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14947 (eval $ac_try) 2>&5
14949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14950 (exit $ac_status); }; }; then
14951 echo "$as_me:$LINENO: result: yes" >&5
14952 echo "${ECHO_T}yes" >&6;
14954 cat >>confdefs.h
<<\_ACEOF
14955 #define HAVE_DLOPEN 1
14959 echo "$as_me: failed program was:" >&5
14960 sed 's/^/| /' conftest.
$ac_ext >&5
14962 echo "$as_me:$LINENO: result: no" >&5
14963 echo "${ECHO_T}no" >&6;
14966 rm -f conftest.err conftest.
$ac_objext \
14967 conftest
$ac_exeext conftest.
$ac_ext
14969 rm -f conftest.err conftest.
$ac_objext \
14970 conftest
$ac_exeext conftest.
$ac_ext
14971 echo "$as_me:$LINENO: checking for dlsym()" >&5
14972 echo $ECHO_N "checking for dlsym()... $ECHO_C" >&6
14973 cat >conftest.
$ac_ext <<_ACEOF
14976 cat confdefs.h
>>conftest.
$ac_ext
14977 cat >>conftest.
$ac_ext <<_ACEOF
14978 /* end confdefs.h. */
14984 extern void* dlsym();
14991 rm -f conftest.
$ac_objext conftest
$ac_exeext
14992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14993 (eval $ac_link) 2>conftest.er1
14995 grep -v '^ *+' conftest.er1
>conftest.err
14997 cat conftest.err
>&5
14998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14999 (exit $ac_status); } &&
15000 { ac_try
='test -z "$ac_c_werror_flag"
15001 || test ! -s conftest.err'
15002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15003 (eval $ac_try) 2>&5
15005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15006 (exit $ac_status); }; } &&
15007 { ac_try
='test -s conftest$ac_exeext'
15008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15009 (eval $ac_try) 2>&5
15011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15012 (exit $ac_status); }; }; then
15013 echo "$as_me:$LINENO: result: yes" >&5
15014 echo "${ECHO_T}yes" >&6;
15016 cat >>confdefs.h
<<\_ACEOF
15017 #define HAVE_DLSYM 1
15021 echo "$as_me: failed program was:" >&5
15022 sed 's/^/| /' conftest.
$ac_ext >&5
15024 echo "$as_me:$LINENO: result: no" >&5
15025 echo "${ECHO_T}no" >&6;
15026 echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
15027 echo $ECHO_N "checking for dlsym() in -ldl... $ECHO_C" >&6
15030 cat >conftest.
$ac_ext <<_ACEOF
15033 cat confdefs.h
>>conftest.
$ac_ext
15034 cat >>conftest.
$ac_ext <<_ACEOF
15035 /* end confdefs.h. */
15041 extern void* dlsym();
15048 rm -f conftest.
$ac_objext conftest
$ac_exeext
15049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15050 (eval $ac_link) 2>conftest.er1
15052 grep -v '^ *+' conftest.er1
>conftest.err
15054 cat conftest.err
>&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try
='test -z "$ac_c_werror_flag"
15058 || test ! -s conftest.err'
15059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15060 (eval $ac_try) 2>&5
15062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15063 (exit $ac_status); }; } &&
15064 { ac_try
='test -s conftest$ac_exeext'
15065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15066 (eval $ac_try) 2>&5
15068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15069 (exit $ac_status); }; }; then
15070 echo "$as_me:$LINENO: result: yes" >&5
15071 echo "${ECHO_T}yes" >&6;
15073 cat >>confdefs.h
<<\_ACEOF
15074 #define HAVE_DLSYM 1
15078 echo "$as_me: failed program was:" >&5
15079 sed 's/^/| /' conftest.
$ac_ext >&5
15081 echo "$as_me:$LINENO: result: no" >&5
15082 echo "${ECHO_T}no" >&6;
15085 rm -f conftest.err conftest.
$ac_objext \
15086 conftest
$ac_exeext conftest.
$ac_ext
15088 rm -f conftest.err conftest.
$ac_objext \
15089 conftest
$ac_exeext conftest.
$ac_ext
15090 elif test x
${DLL} = xdl.h
; then
15092 cat >>confdefs.h
<<\_ACEOF
15093 #define HAVE_DL_H 1
15096 echo "$as_me:$LINENO: checking for shl_load()" >&5
15097 echo $ECHO_N "checking for shl_load()... $ECHO_C" >&6
15098 cat >conftest.
$ac_ext <<_ACEOF
15101 cat confdefs.h
>>conftest.
$ac_ext
15102 cat >>conftest.
$ac_ext <<_ACEOF
15103 /* end confdefs.h. */
15109 extern void* shl_load();
15116 rm -f conftest.
$ac_objext conftest
$ac_exeext
15117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15118 (eval $ac_link) 2>conftest.er1
15120 grep -v '^ *+' conftest.er1
>conftest.err
15122 cat conftest.err
>&5
15123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15124 (exit $ac_status); } &&
15125 { ac_try
='test -z "$ac_c_werror_flag"
15126 || test ! -s conftest.err'
15127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15128 (eval $ac_try) 2>&5
15130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15131 (exit $ac_status); }; } &&
15132 { ac_try
='test -s conftest$ac_exeext'
15133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15134 (eval $ac_try) 2>&5
15136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15137 (exit $ac_status); }; }; then
15138 echo "$as_me:$LINENO: result: yes" >&5
15139 echo "${ECHO_T}yes" >&6;
15141 cat >>confdefs.h
<<\_ACEOF
15142 #define HAVE_SHL_LOAD 1
15146 echo "$as_me: failed program was:" >&5
15147 sed 's/^/| /' conftest.
$ac_ext >&5
15149 echo "$as_me:$LINENO: result: no" >&5
15150 echo "${ECHO_T}no" >&6;
15151 echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
15152 echo $ECHO_N "checking for shl_load() in -ldld... $ECHO_C" >&6
15155 cat >conftest.
$ac_ext <<_ACEOF
15158 cat confdefs.h
>>conftest.
$ac_ext
15159 cat >>conftest.
$ac_ext <<_ACEOF
15160 /* end confdefs.h. */
15166 extern void* shl_load();
15173 rm -f conftest.
$ac_objext conftest
$ac_exeext
15174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15175 (eval $ac_link) 2>conftest.er1
15177 grep -v '^ *+' conftest.er1
>conftest.err
15179 cat conftest.err
>&5
15180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15181 (exit $ac_status); } &&
15182 { ac_try
='test -z "$ac_c_werror_flag"
15183 || test ! -s conftest.err'
15184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15185 (eval $ac_try) 2>&5
15187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15188 (exit $ac_status); }; } &&
15189 { ac_try
='test -s conftest$ac_exeext'
15190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15191 (eval $ac_try) 2>&5
15193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); }; }; then
15195 echo "$as_me:$LINENO: result: yes" >&5
15196 echo "${ECHO_T}yes" >&6;
15198 cat >>confdefs.h
<<\_ACEOF
15199 #define HAVE_SHL_LOAD 1
15203 echo "$as_me: failed program was:" >&5
15204 sed 's/^/| /' conftest.
$ac_ext >&5
15206 echo "$as_me:$LINENO: result: no" >&5
15207 echo "${ECHO_T}no" >&6;
15210 rm -f conftest.err conftest.
$ac_objext \
15211 conftest
$ac_exeext conftest.
$ac_ext
15213 rm -f conftest.err conftest.
$ac_objext \
15214 conftest
$ac_exeext conftest.
$ac_ext
15217 for ac_header
in setjmp.h
15219 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15221 echo "$as_me:$LINENO: checking for $ac_header" >&5
15222 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15224 echo $ECHO_N "(cached) $ECHO_C" >&6
15226 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15227 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15229 # Is the header compilable?
15230 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15231 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15232 cat >conftest.
$ac_ext <<_ACEOF
15235 cat confdefs.h
>>conftest.
$ac_ext
15236 cat >>conftest.
$ac_ext <<_ACEOF
15237 /* end confdefs.h. */
15238 $ac_includes_default
15239 #include <$ac_header>
15241 rm -f conftest.
$ac_objext
15242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15243 (eval $ac_compile) 2>conftest.er1
15245 grep -v '^ *+' conftest.er1
>conftest.err
15247 cat conftest.err
>&5
15248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15249 (exit $ac_status); } &&
15250 { ac_try
='test -z "$ac_c_werror_flag"
15251 || test ! -s conftest.err'
15252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15253 (eval $ac_try) 2>&5
15255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15256 (exit $ac_status); }; } &&
15257 { ac_try
='test -s conftest.$ac_objext'
15258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15259 (eval $ac_try) 2>&5
15261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15262 (exit $ac_status); }; }; then
15263 ac_header_compiler
=yes
15265 echo "$as_me: failed program was:" >&5
15266 sed 's/^/| /' conftest.
$ac_ext >&5
15268 ac_header_compiler
=no
15270 rm -f conftest.err conftest.
$ac_objext conftest.
$ac_ext
15271 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15272 echo "${ECHO_T}$ac_header_compiler" >&6
15274 # Is the header present?
15275 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15276 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15277 cat >conftest.
$ac_ext <<_ACEOF
15280 cat confdefs.h
>>conftest.
$ac_ext
15281 cat >>conftest.
$ac_ext <<_ACEOF
15282 /* end confdefs.h. */
15283 #include <$ac_header>
15285 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15286 (eval $ac_cpp conftest.
$ac_ext) 2>conftest.er1
15288 grep -v '^ *+' conftest.er1
>conftest.err
15290 cat conftest.err
>&5
15291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15292 (exit $ac_status); } >/dev
/null
; then
15293 if test -s conftest.err
; then
15294 ac_cpp_err
=$ac_c_preproc_warn_flag
15295 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
15302 if test -z "$ac_cpp_err"; then
15303 ac_header_preproc
=yes
15305 echo "$as_me: failed program was:" >&5
15306 sed 's/^/| /' conftest.
$ac_ext >&5
15308 ac_header_preproc
=no
15310 rm -f conftest.err conftest.
$ac_ext
15311 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15312 echo "${ECHO_T}$ac_header_preproc" >&6
15314 # So? What about this header?
15315 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15317 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15318 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15319 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15320 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15321 ac_header_preproc
=yes
15324 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15325 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15326 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15327 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15328 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15329 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15330 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15331 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15332 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15333 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15334 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15335 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15338 ## ------------------------------------------ ##
15339 ## Report this to the AC_PACKAGE_NAME lists. ##
15340 ## ------------------------------------------ ##
15343 sed "s/^/$as_me: WARNING: /" >&2
15346 echo "$as_me:$LINENO: checking for $ac_header" >&5
15347 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15348 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15349 echo $ECHO_N "(cached) $ECHO_C" >&6
15351 eval "$as_ac_Header=\$ac_header_preproc"
15353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15354 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15357 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15358 cat >>confdefs.h
<<_ACEOF
15359 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15367 if test "x$MACOSX" = "xyes" -a -n "$PERL"; then
15368 if echo $LIBS |
grep -e '-ldl' >/dev
/null
; then
15369 LIBS
=`echo $LIBS | sed s/-ldl//`
15370 PERL_LIBS
="$PERL_LIBS -ldl"
15374 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \
15375 && test "x$GUITYPE" != "xCARBONGUI"; then
15376 echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
15377 echo $ECHO_N "checking whether we need -framework Carbon... $ECHO_C" >&6
15378 if test "x$enable_multibyte" = "xyes" ||
test "x$features" = "xbig" \
15379 ||
test "x$features" = "xhuge"; then
15380 LIBS
="$LIBS -framework Carbon"
15381 echo "$as_me:$LINENO: result: yes" >&5
15382 echo "${ECHO_T}yes" >&6
15384 echo "$as_me:$LINENO: result: no" >&5
15385 echo "${ECHO_T}no" >&6
15388 if test "x$MACARCH" = "xboth"; then
15389 LDFLAGS
="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
15392 echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
15393 echo $ECHO_N "checking for GCC 3 or later... $ECHO_C" >&6
15394 DEPEND_CFLAGS_FILTER
=
15395 if test "$GCC" = yes; then
15396 gccmajor
=`echo "$gccversion" | sed -e 's/^\([1-9]\)\..*$/\1/g'`
15397 if test "$gccmajor" -gt "2"; then
15398 DEPEND_CFLAGS_FILTER
="| sed 's+-I */+-isystem /+g'"
15401 if test "$DEPEND_CFLAGS_FILTER" = ""; then
15402 echo "$as_me:$LINENO: result: no" >&5
15403 echo "${ECHO_T}no" >&6
15405 echo "$as_me:$LINENO: result: yes" >&5
15406 echo "${ECHO_T}yes" >&6
15410 ac_config_files
="$ac_config_files auto/config.mk:config.mk.in"
15411 cat >confcache
<<\_ACEOF
15412 # This file is a shell script that caches the results of configure
15413 # tests run on this system so they can be shared between configure
15414 # scripts and configure runs, see configure's option --config-cache.
15415 # It is not useful on other systems. If it contains results you don't
15416 # want to keep, you may remove or edit it.
15418 # config.status only pays attention to the cache file if you give it
15419 # the --recheck option to rerun configure.
15421 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15422 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15423 # following values.
15427 # The following way of writing the cache mishandles newlines in values,
15428 # but we know of no workaround that is simple, portable, and efficient.
15429 # So, don't put newlines in cache variables' values.
15430 # Ultrix sh set writes to stderr and can't be redirected directly,
15431 # and sets the high bit in the cache file unless we assign to the vars.
15434 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15436 # `set' does not quote correctly, so add quotes (double-quote
15437 # substitution turns \\\\ into \\, and sed turns \\ into \).
15440 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15443 # `set' quotes correctly as required by POSIX, so do not add quotes.
15445 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
15452 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15454 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15456 if diff $cache_file confcache
>/dev
/null
2>&1; then :; else
15457 if test -w $cache_file; then
15458 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
15459 cat confcache
>$cache_file
15461 echo "not updating unwritable cache $cache_file"
15466 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15467 # Let make expand exec_prefix.
15468 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15470 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15471 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
15472 # trailing colons and then remove the whole line if VPATH becomes empty
15473 # (actually we leave an empty line to preserve line numbers).
15474 if test "x$srcdir" = x.
; then
15475 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
15476 s/:*\$(srcdir):*/:/;
15477 s/:*\${srcdir}:*/:/;
15479 s/^\([^=]*=[ ]*\):*/\1/;
15485 DEFS
=-DHAVE_CONFIG_H
15489 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15490 # 1. Remove the extension, and $U if already installed.
15491 ac_i
=`echo "$ac_i" |
15492 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
15494 ac_libobjs
="$ac_libobjs $ac_i\$U.$ac_objext"
15495 ac_ltlibobjs
="$ac_ltlibobjs $ac_i"'$U.lo'
15497 LIBOBJS
=$ac_libobjs
15499 LTLIBOBJS
=$ac_ltlibobjs
15503 : ${CONFIG_STATUS=./config.status}
15504 ac_clean_files_save
=$ac_clean_files
15505 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15506 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15507 echo "$as_me: creating $CONFIG_STATUS" >&6;}
15508 cat >$CONFIG_STATUS <<_ACEOF
15510 # Generated by $as_me.
15511 # Run this file to recreate the current configuration.
15512 # Compiler output produced by configure, useful for debugging
15513 # configure, is in config.log if it exists.
15516 ac_cs_recheck=false
15518 SHELL=\${CONFIG_SHELL-$SHELL}
15521 cat >>$CONFIG_STATUS <<\_ACEOF
15522 ## --------------------- ##
15523 ## M4sh Initialization. ##
15524 ## --------------------- ##
15526 # Be Bourne compatible
15527 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
15530 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
15531 # is contrary to our usage. Disable this feature.
15532 alias -g '${1+"$@"}'='"$@"'
15533 elif test -n "${BASH_VERSION+set}" && (set -o posix
) >/dev
/null
2>&1; then
15536 DUALCASE
=1; export DUALCASE
# for MKS sh
15538 # Support unset when possible.
15539 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
15546 # Work around bugs in pre-3.0 UWIN ksh.
15547 $as_unset ENV MAIL MAILPATH
15554 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
15555 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
15556 LC_TELEPHONE LC_TIME
15558 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
15559 eval $as_var=C
; export $as_var
15565 # Required to use basename.
15566 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15572 if (basename /) >/dev
/null
2>&1 && test "X`basename / 2>&1`" = "X/"; then
15573 as_basename
=basename
15579 # Name of the executable.
15580 as_me
=`$as_basename "$0" ||
15581 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15582 X"$0" : 'X\(//\)$' \| \
15583 X"$0" : 'X\(/\)$' \| \
15584 . : '\(.\)' 2>/dev/null ||
15586 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
15587 /^X\/\(\/\/\)$/{ s//\1/; q; }
15588 /^X\/\(\/\).*/{ s//\1/; q; }
15592 # PATH needs CR, and LINENO needs CR and PATH.
15593 # Avoid depending upon Character Ranges.
15594 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15595 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15596 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15597 as_cr_digits
='0123456789'
15598 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15600 # The user is always right.
15601 if test "${PATH_SEPARATOR+set}" != set; then
15602 echo "#! /bin/sh" >conf$$.sh
15603 echo "exit 0" >>conf$$.sh
15605 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
15614 as_lineno_1
=$LINENO
15615 as_lineno_2
=$LINENO
15616 as_lineno_3
=`(expr $as_lineno_1 + 1) 2>/dev/null`
15617 test "x$as_lineno_1" != "x$as_lineno_2" &&
15618 test "x$as_lineno_3" = "x$as_lineno_2" ||
{
15619 # Find who we are. Look in the path if we contain no path at all
15622 *[\\/]* ) as_myself
=$0 ;;
15623 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15624 for as_dir
in $PATH
15627 test -z "$as_dir" && as_dir
=.
15628 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
15633 # We did not find ourselves, most probably we were run as `sh COMMAND'
15634 # in which case we are not to be found in the path.
15635 if test "x$as_myself" = x
; then
15638 if test ! -f "$as_myself"; then
15639 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
15640 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
15641 { (exit 1); exit 1; }; }
15643 case $CONFIG_SHELL in
15645 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15646 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
15649 test -z "$as_dir" && as_dir
=.
15650 for as_base
in sh bash ksh sh5
; do
15653 if ("$as_dir/$as_base" -c '
15654 as_lineno_1=$LINENO
15655 as_lineno_2=$LINENO
15656 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
15657 test "x$as_lineno_1" != "x$as_lineno_2" &&
15658 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev
/null
; then
15659 $as_unset BASH_ENV ||
test "${BASH_ENV+set}" != set ||
{ BASH_ENV
=; export BASH_ENV
; }
15660 $as_unset ENV ||
test "${ENV+set}" != set ||
{ ENV
=; export ENV
; }
15661 CONFIG_SHELL
=$as_dir/$as_base
15662 export CONFIG_SHELL
15663 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
15671 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
15672 # uniformly replaced by the line number. The first 'sed' inserts a
15673 # line-number line before each line; the second 'sed' does the real
15674 # work. The second script uses 'N' to pair each line-number line
15675 # with the numbered line, and appends trailing '-' during
15676 # substitution so that $LINENO is not a special case at line end.
15677 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
15678 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
15679 sed '=' <$as_myself |
15684 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
15687 s,^['$as_cr_digits']*\n,,
15688 ' >$as_me.lineno
&&
15689 chmod +x
$as_me.lineno ||
15690 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
15691 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
15692 { (exit 1); exit 1; }; }
15694 # Don't try to exec as it changes $[0], causing all sort of problems
15695 # (the dirname of $[0] is not the place where we might find the
15696 # original and so on. Autoconf is especially sensible to this).
15698 # Exit status is that of the last command.
15703 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
15704 *c
*,-n*) ECHO_N
= ECHO_C
='
15706 *c
*,* ) ECHO_N
=-n ECHO_C
= ECHO_T
= ;;
15707 *) ECHO_N
= ECHO_C
='\c' ECHO_T
= ;;
15710 if expr a
: '\(a\)' >/dev
/null
2>&1; then
15716 rm -f conf$$ conf$$.exe conf$$.
file
15718 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15719 # We could just check for DJGPP; but this test a) works b) is more generic
15720 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
15721 if test -f conf$$.exe
; then
15722 # Don't use ln at all; we don't have any links
15727 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15732 rm -f conf$$ conf$$.exe conf$$.
file
15734 if mkdir
-p .
2>/dev
/null
; then
15737 test -d .
/-p && rmdir .
/-p
15741 as_executable_p
="test -f"
15743 # Sed expression to map a string onto a valid CPP name.
15744 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15746 # Sed expression to map a string onto a valid variable name.
15747 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15751 # We need space, tab and new line, in precisely that order.
15761 # Open the log real soon, to keep \$[0] and so on meaningful, and to
15762 # report actual input values of CONFIG_FILES etc. instead of their
15763 # values after options handling. Logging --version etc. is OK.
15764 exec 5>>auto
/config.log
15767 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15768 ## Running $as_me. ##
15773 This file was extended by $as_me, which was
15774 generated by GNU Autoconf 2.59. Invocation command line was
15776 CONFIG_FILES = $CONFIG_FILES
15777 CONFIG_HEADERS = $CONFIG_HEADERS
15778 CONFIG_LINKS = $CONFIG_LINKS
15779 CONFIG_COMMANDS = $CONFIG_COMMANDS
15783 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
15787 # Files that config.status was made for.
15788 if test -n "$ac_config_files"; then
15789 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
15792 if test -n "$ac_config_headers"; then
15793 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
15796 if test -n "$ac_config_links"; then
15797 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
15800 if test -n "$ac_config_commands"; then
15801 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
15804 cat >>$CONFIG_STATUS <<\_ACEOF
15807 \`$as_me' instantiates files from templates according to the
15808 current configuration.
15810 Usage: $0 [OPTIONS] [FILE]...
15812 -h, --help print this help, then exit
15813 -V, --version print version number, then exit
15814 -q, --quiet do not print progress messages
15815 -d, --debug don't remove temporary files
15816 --recheck update $as_me by reconfiguring in the same conditions
15817 --file=FILE[:TEMPLATE]
15818 instantiate the configuration file FILE
15819 --header=FILE[:TEMPLATE]
15820 instantiate the configuration header FILE
15822 Configuration files:
15825 Configuration headers:
15828 Report bugs to <bug-autoconf@gnu.org>."
15831 cat >>$CONFIG_STATUS <<_ACEOF
15834 configured by $0, generated by GNU Autoconf 2.59,
15835 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
15837 Copyright (C) 2003 Free Software Foundation, Inc.
15838 This config.status script is free software; the Free Software Foundation
15839 gives unlimited permission to copy, distribute and modify it."
15843 cat >>$CONFIG_STATUS <<\_ACEOF
15844 # If no file are specified by the user, then we need to provide default
15845 # value. By we need to know if files were specified by the user.
15851 ac_option
=`expr "x$1" : 'x\([^=]*\)='`
15852 ac_optarg
=`expr "x$1" : 'x[^=]*=\(.*\)'`
15860 *) # This is not an option, so the user has probably given explicit
15863 ac_need_defaults
=false
;;
15867 # Handling of the options.
15869 cat >>$CONFIG_STATUS <<\_ACEOF
15870 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15872 --version |
--vers* |
-V )
15873 echo "$ac_cs_version"; exit 0 ;;
15875 # Conflict between --help and --header
15876 { { echo "$as_me:$LINENO: error: ambiguous option: $1
15877 Try \`$0 --help' for more information." >&5
15878 echo "$as_me: error: ambiguous option: $1
15879 Try \`$0 --help' for more information." >&2;}
15880 { (exit 1); exit 1; }; };;
15881 --help |
--hel |
-h )
15882 echo "$ac_cs_usage"; exit 0 ;;
15883 --debug |
--d* |
-d )
15885 --file |
--fil |
--fi |
--f )
15887 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
15888 ac_need_defaults
=false
;;
15889 --header |
--heade |
--head |
--hea )
15891 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
15892 ac_need_defaults
=false
;;
15893 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15894 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15897 # This is an error.
15898 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
15899 Try \`$0 --help' for more information." >&5
15900 echo "$as_me: error: unrecognized option: $1
15901 Try \`$0 --help' for more information." >&2;}
15902 { (exit 1); exit 1; }; } ;;
15904 *) ac_config_targets
="$ac_config_targets $1" ;;
15910 ac_configure_extra_args
=
15912 if $ac_cs_silent; then
15914 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15918 cat >>$CONFIG_STATUS <<_ACEOF
15919 if \$ac_cs_recheck; then
15920 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
15921 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15930 cat >>$CONFIG_STATUS <<\_ACEOF
15931 for ac_config_target
in $ac_config_targets
15933 case "$ac_config_target" in
15934 # Handling of arguments.
15935 "auto/config.mk" ) CONFIG_FILES
="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
15936 "auto/config.h" ) CONFIG_HEADERS
="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
15937 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
15938 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
15939 { (exit 1); exit 1; }; };;
15943 # If the user did not use the arguments to specify the items to instantiate,
15944 # then the envvar interface is used. Set only those that are not.
15945 # We use the long form for the default assignment because of an extremely
15946 # bizarre bug on SunOS 4.1.3.
15947 if $ac_need_defaults; then
15948 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15949 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15952 # Have a temporary directory for convenience. Make it in the build tree
15953 # simply because there is no reason to put it here, and in addition,
15954 # creating and moving files from /tmp can sometimes cause problems.
15955 # Create a temporary directory, and hook for its removal unless debugging.
15958 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
15959 trap '{ (exit 1); exit 1; }' 1 2 13 15
15962 # Create a (secure) tmp directory for tmp files.
15965 tmp
=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
15966 test -n "$tmp" && test -d "$tmp"
15969 tmp
=.
/confstat$$
-$RANDOM
15970 (umask 077 && mkdir
$tmp)
15973 echo "$me: cannot create a temporary directory in ." >&2
15974 { (exit 1); exit 1; }
15979 cat >>$CONFIG_STATUS <<_ACEOF
15982 # CONFIG_FILES section.
15985 # No need to generate the scripts if there are no CONFIG_FILES.
15986 # This happens for instance when ./config.status config.h
15987 if test -n "\$CONFIG_FILES"; then
15988 # Protect against being on the right side of a sed subst in config.status.
15989 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
15990 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
15991 s,@SHELL@,$SHELL,;t t
15992 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
15993 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
15994 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
15995 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
15996 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
15997 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
15998 s,@exec_prefix@,$exec_prefix,;t t
15999 s,@prefix@,$prefix,;t t
16000 s,@program_transform_name@,$program_transform_name,;t t
16001 s,@bindir@,$bindir,;t t
16002 s,@sbindir@,$sbindir,;t t
16003 s,@libexecdir@,$libexecdir,;t t
16004 s,@datadir@,$datadir,;t t
16005 s,@sysconfdir@,$sysconfdir,;t t
16006 s,@sharedstatedir@,$sharedstatedir,;t t
16007 s,@localstatedir@,$localstatedir,;t t
16008 s,@libdir@,$libdir,;t t
16009 s,@includedir@,$includedir,;t t
16010 s,@oldincludedir@,$oldincludedir,;t t
16011 s,@infodir@,$infodir,;t t
16012 s,@mandir@,$mandir,;t t
16013 s,@build_alias@,$build_alias,;t t
16014 s,@host_alias@,$host_alias,;t t
16015 s,@target_alias@,$target_alias,;t t
16016 s,@DEFS@,$DEFS,;t t
16017 s,@ECHO_C@,$ECHO_C,;t t
16018 s,@ECHO_N@,$ECHO_N,;t t
16019 s,@ECHO_T@,$ECHO_T,;t t
16020 s,@LIBS@,$LIBS,;t t
16021 s,@SET_MAKE@,$SET_MAKE,;t t
16023 s,@CFLAGS@,$CFLAGS,;t t
16024 s,@LDFLAGS@,$LDFLAGS,;t t
16025 s,@CPPFLAGS@,$CPPFLAGS,;t t
16026 s,@ac_ct_CC@,$ac_ct_CC,;t t
16027 s,@EXEEXT@,$EXEEXT,;t t
16028 s,@OBJEXT@,$OBJEXT,;t t
16030 s,@EGREP@,$EGREP,;t t
16032 s,@STRIP@,$STRIP,;t t
16033 s,@CPP_MM@,$CPP_MM,;t t
16034 s,@OS_EXTRA_SRC@,$OS_EXTRA_SRC,;t t
16035 s,@OS_EXTRA_OBJ@,$OS_EXTRA_OBJ,;t t
16036 s,@VIMNAME@,$VIMNAME,;t t
16037 s,@EXNAME@,$EXNAME,;t t
16038 s,@VIEWNAME@,$VIEWNAME,;t t
16039 s,@line_break@,$line_break,;t t
16040 s,@dovimdiff@,$dovimdiff,;t t
16041 s,@dogvimdiff@,$dogvimdiff,;t t
16042 s,@compiledby@,$compiledby,;t t
16043 s,@vi_cv_path_mzscheme@,$vi_cv_path_mzscheme,;t t
16044 s,@MZSCHEME_SRC@,$MZSCHEME_SRC,;t t
16045 s,@MZSCHEME_OBJ@,$MZSCHEME_OBJ,;t t
16046 s,@MZSCHEME_PRO@,$MZSCHEME_PRO,;t t
16047 s,@MZSCHEME_LIBS@,$MZSCHEME_LIBS,;t t
16048 s,@MZSCHEME_CFLAGS@,$MZSCHEME_CFLAGS,;t t
16049 s,@vi_cv_path_perl@,$vi_cv_path_perl,;t t
16050 s,@vi_cv_perllib@,$vi_cv_perllib,;t t
16051 s,@shrpenv@,$shrpenv,;t t
16052 s,@PERL_SRC@,$PERL_SRC,;t t
16053 s,@PERL_OBJ@,$PERL_OBJ,;t t
16054 s,@PERL_PRO@,$PERL_PRO,;t t
16055 s,@PERL_CFLAGS@,$PERL_CFLAGS,;t t
16056 s,@PERL_LIBS@,$PERL_LIBS,;t t
16057 s,@vi_cv_path_python@,$vi_cv_path_python,;t t
16058 s,@PYTHON_CONFDIR@,$PYTHON_CONFDIR,;t t
16059 s,@PYTHON_LIBS@,$PYTHON_LIBS,;t t
16060 s,@PYTHON_GETPATH_CFLAGS@,$PYTHON_GETPATH_CFLAGS,;t t
16061 s,@PYTHON_CFLAGS@,$PYTHON_CFLAGS,;t t
16062 s,@PYTHON_SRC@,$PYTHON_SRC,;t t
16063 s,@PYTHON_OBJ@,$PYTHON_OBJ,;t t
16064 s,@vi_cv_path_tcl@,$vi_cv_path_tcl,;t t
16065 s,@TCL_SRC@,$TCL_SRC,;t t
16066 s,@TCL_OBJ@,$TCL_OBJ,;t t
16067 s,@TCL_PRO@,$TCL_PRO,;t t
16068 s,@TCL_CFLAGS@,$TCL_CFLAGS,;t t
16069 s,@TCL_LIBS@,$TCL_LIBS,;t t
16070 s,@vi_cv_path_ruby@,$vi_cv_path_ruby,;t t
16071 s,@RUBY_SRC@,$RUBY_SRC,;t t
16072 s,@RUBY_OBJ@,$RUBY_OBJ,;t t
16073 s,@RUBY_PRO@,$RUBY_PRO,;t t
16074 s,@RUBY_CFLAGS@,$RUBY_CFLAGS,;t t
16075 s,@RUBY_LIBS@,$RUBY_LIBS,;t t
16076 s,@WORKSHOP_SRC@,$WORKSHOP_SRC,;t t
16077 s,@WORKSHOP_OBJ@,$WORKSHOP_OBJ,;t t
16078 s,@NETBEANS_SRC@,$NETBEANS_SRC,;t t
16079 s,@NETBEANS_OBJ@,$NETBEANS_OBJ,;t t
16080 s,@SNIFF_SRC@,$SNIFF_SRC,;t t
16081 s,@SNIFF_OBJ@,$SNIFF_OBJ,;t t
16082 s,@xmkmfpath@,$xmkmfpath,;t t
16083 s,@X_CFLAGS@,$X_CFLAGS,;t t
16084 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
16085 s,@X_LIBS@,$X_LIBS,;t t
16086 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
16087 s,@X_LIB@,$X_LIB,;t t
16088 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
16089 s,@GTK12_CONFIG@,$GTK12_CONFIG,;t t
16090 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
16091 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
16092 s,@GTK_LIBS@,$GTK_LIBS,;t t
16093 s,@GTK_LIBNAME@,$GTK_LIBNAME,;t t
16094 s,@GNOME_LIBS@,$GNOME_LIBS,;t t
16095 s,@GNOME_LIBDIR@,$GNOME_LIBDIR,;t t
16096 s,@GNOME_INCLUDEDIR@,$GNOME_INCLUDEDIR,;t t
16097 s,@GNOME_CONFIG@,$GNOME_CONFIG,;t t
16098 s,@MOTIF_LIBNAME@,$MOTIF_LIBNAME,;t t
16099 s,@NARROW_PROTO@,$NARROW_PROTO,;t t
16100 s,@GUI_INC_LOC@,$GUI_INC_LOC,;t t
16101 s,@GUI_LIB_LOC@,$GUI_LIB_LOC,;t t
16102 s,@GUITYPE@,$GUITYPE,;t t
16103 s,@GUI_X_LIBS@,$GUI_X_LIBS,;t t
16104 s,@HANGULIN_SRC@,$HANGULIN_SRC,;t t
16105 s,@HANGULIN_OBJ@,$HANGULIN_OBJ,;t t
16106 s,@TAGPRG@,$TAGPRG,;t t
16107 s,@INSTALL_LANGS@,$INSTALL_LANGS,;t t
16108 s,@INSTALL_TOOL_LANGS@,$INSTALL_TOOL_LANGS,;t t
16109 s,@MSGFMT@,$MSGFMT,;t t
16110 s,@MAKEMO@,$MAKEMO,;t t
16111 s,@DEPEND_CFLAGS_FILTER@,$DEPEND_CFLAGS_FILTER,;t t
16112 s,@LIBOBJS@,$LIBOBJS,;t t
16113 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
16118 cat >>$CONFIG_STATUS <<\_ACEOF
16119 # Split the substitutions into bite-sized pieces for seds with
16120 # small command number limits, like on Digital OSF/1 and HP-UX.
16121 ac_max_sed_lines
=48
16122 ac_sed_frag
=1 # Number of current file.
16123 ac_beg
=1 # First line for current file.
16124 ac_end
=$ac_max_sed_lines # Line after last line for current file.
16127 while $ac_more_lines; do
16128 if test $ac_beg -gt 1; then
16129 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16131 sed "${ac_end}q" $tmp/subs.
sed >$tmp/subs.frag
16133 if test ! -s $tmp/subs.frag
; then
16134 ac_more_lines
=false
16136 # The purpose of the label and of the branching condition is to
16137 # speed up the sed processing (if there are no `@' at all, there
16138 # is no need to browse any of the substitutions).
16139 # These are the two extra sed commands mentioned above.
16141 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag
) >$tmp/subs-
$ac_sed_frag.
sed
16142 if test -z "$ac_sed_cmds"; then
16143 ac_sed_cmds
="sed -f $tmp/subs-$ac_sed_frag.sed"
16145 ac_sed_cmds
="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
16147 ac_sed_frag
=`expr $ac_sed_frag + 1`
16149 ac_end
=`expr $ac_end + $ac_max_sed_lines`
16152 if test -z "$ac_sed_cmds"; then
16155 fi # test -n "$CONFIG_FILES"
16158 cat >>$CONFIG_STATUS <<\_ACEOF
16159 for ac_file
in : $CONFIG_FILES; do test "x$ac_file" = x
: && continue
16160 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16162 - |
*:- |
*:-:* ) # input from stdin
16164 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16165 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16166 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16167 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16168 * ) ac_file_in
=$ac_file.
in ;;
16171 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
16172 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16173 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16174 X"$ac_file" : 'X\(//\)[^/]' \| \
16175 X"$ac_file" : 'X\(//\)$' \| \
16176 X"$ac_file" : 'X\(/\)' \| \
16177 . : '\(.\)' 2>/dev/null ||
16179 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16180 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16181 /^X\(\/\/\)$/{ s//\1/; q; }
16182 /^X\(\/\).*/{ s//\1/; q; }
16184 { if $as_mkdir_p; then
16189 while test ! -d "$as_dir"; do
16190 as_dirs
="$as_dir $as_dirs"
16191 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16192 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16193 X"$as_dir" : 'X\(//\)[^/]' \| \
16194 X"$as_dir" : 'X\(//\)$' \| \
16195 X"$as_dir" : 'X\(/\)' \| \
16196 . : '\(.\)' 2>/dev/null ||
16198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16199 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16200 /^X\(\/\/\)$/{ s//\1/; q; }
16201 /^X\(\/\).*/{ s//\1/; q; }
16204 test ! -n "$as_dirs" || mkdir
$as_dirs
16205 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16206 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16207 { (exit 1); exit 1; }; }; }
16211 if test "$ac_dir" != .
; then
16212 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
16213 # A "../" for each directory in $ac_dir_suffix.
16214 ac_top_builddir
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
16216 ac_dir_suffix
= ac_top_builddir
=
16220 .
) # No --srcdir option. We are building in place.
16222 if test -z "$ac_top_builddir"; then
16225 ac_top_srcdir
=`echo $ac_top_builddir | sed 's,/$,,'`
16227 [\\/]* | ?
:[\\/]* ) # Absolute path.
16228 ac_srcdir
=$srcdir$ac_dir_suffix;
16229 ac_top_srcdir
=$srcdir ;;
16230 *) # Relative path.
16231 ac_srcdir
=$ac_top_builddir$srcdir$ac_dir_suffix
16232 ac_top_srcdir
=$ac_top_builddir$srcdir ;;
16235 # Do not use `cd foo && pwd` to compute absolute paths, because
16236 # the directories may not exist.
16238 .
) ac_abs_builddir
="$ac_dir";;
16241 .
) ac_abs_builddir
=`pwd`;;
16242 [\\/]* | ?
:[\\/]* ) ac_abs_builddir
="$ac_dir";;
16243 *) ac_abs_builddir
=`pwd`/"$ac_dir";;
16246 case $ac_abs_builddir in
16247 .
) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16249 case ${ac_top_builddir}.
in
16250 .
) ac_abs_top_builddir
=$ac_abs_builddir;;
16251 [\\/]* | ?
:[\\/]* ) ac_abs_top_builddir
=${ac_top_builddir}.
;;
16252 *) ac_abs_top_builddir
=$ac_abs_builddir/${ac_top_builddir}.
;;
16255 case $ac_abs_builddir in
16256 .
) ac_abs_srcdir
=$ac_srcdir;;
16259 .
) ac_abs_srcdir
=$ac_abs_builddir;;
16260 [\\/]* | ?
:[\\/]* ) ac_abs_srcdir
=$ac_srcdir;;
16261 *) ac_abs_srcdir
=$ac_abs_builddir/$ac_srcdir;;
16264 case $ac_abs_builddir in
16265 .
) ac_abs_top_srcdir
=$ac_top_srcdir;;
16267 case $ac_top_srcdir in
16268 .
) ac_abs_top_srcdir
=$ac_abs_builddir;;
16269 [\\/]* | ?
:[\\/]* ) ac_abs_top_srcdir
=$ac_top_srcdir;;
16270 *) ac_abs_top_srcdir
=$ac_abs_builddir/$ac_top_srcdir;;
16276 if test x
"$ac_file" != x-
; then
16277 { echo "$as_me:$LINENO: creating $ac_file" >&5
16278 echo "$as_me: creating $ac_file" >&6;}
16281 # Let's still pretend it is `configure' which instantiates (i.e., don't
16282 # use $as_me), people would be surprised to read:
16283 # /* config.h. Generated by config.status. */
16284 if test x
"$ac_file" = x-
; then
16287 configure_input
="$ac_file. "
16289 configure_input
=$configure_input"Generated from `echo $ac_file_in |
16290 sed 's,.*/,,'` by configure."
16292 # First look for the input files in the build tree, otherwise in the
16294 ac_file_inputs
=`IFS=:
16295 for f in $ac_file_in; do
16297 -) echo $tmp/stdin ;;
16299 # Absolute (can't be DOS-style, as IFS=:)
16300 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16301 echo "$as_me: error: cannot find input file: $f" >&2;}
16302 { (exit 1); exit 1; }; }
16305 if test -f "$f"; then
16308 elif test -f "$srcdir/$f"; then
16313 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16314 echo "$as_me: error: cannot find input file: $f" >&2;}
16315 { (exit 1); exit 1; }; }
16318 done` ||
{ (exit 1); exit 1; }
16320 cat >>$CONFIG_STATUS <<_ACEOF
16324 cat >>$CONFIG_STATUS <<\_ACEOF
16326 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16327 s
,@configure_input@
,$configure_input,;t t
16328 s
,@srcdir@
,$ac_srcdir,;t t
16329 s
,@abs_srcdir@
,$ac_abs_srcdir,;t t
16330 s
,@top_srcdir@
,$ac_top_srcdir,;t t
16331 s
,@abs_top_srcdir@
,$ac_abs_top_srcdir,;t t
16332 s
,@builddir@
,$ac_builddir,;t t
16333 s
,@abs_builddir@
,$ac_abs_builddir,;t t
16334 s
,@top_builddir@
,$ac_top_builddir,;t t
16335 s
,@abs_top_builddir@
,$ac_abs_top_builddir,;t t
16336 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
16338 if test x"$ac_file" != x-; then
16339 mv $tmp/out $ac_file
16347 cat >>$CONFIG_STATUS <<\_ACEOF
16350 # CONFIG_HEADER section.
16353 # These sed commands are passed to sed as "A NAME B NAME C VALUE D
", where
16354 # NAME is the cpp macro being defined and VALUE is the value it is being given.
16356 # ac_d sets the value in "#define NAME VALUE" lines.
16357 ac_dA
='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
16358 ac_dB
='[ ].*$,\1#\2'
16361 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
16362 ac_uA
='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
16363 ac_uB
='$,\1#\2define\3'
16367 for ac_file
in : $CONFIG_HEADERS; do test "x$ac_file" = x
: && continue
16368 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
16370 - |
*:- |
*:-:* ) # input from stdin
16372 ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16373 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16374 *:* ) ac_file_in
=`echo "$ac_file" | sed 's,[^:]*:,,'`
16375 ac_file
=`echo "$ac_file" | sed 's,:.*,,'` ;;
16376 * ) ac_file_in
=$ac_file.
in ;;
16379 test x
"$ac_file" != x-
&& { echo "$as_me:$LINENO: creating $ac_file" >&5
16380 echo "$as_me: creating $ac_file" >&6;}
16382 # First look for the input files in the build tree, otherwise in the
16384 ac_file_inputs
=`IFS=:
16385 for f in $ac_file_in; do
16387 -) echo $tmp/stdin ;;
16389 # Absolute (can't be DOS-style, as IFS=:)
16390 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16391 echo "$as_me: error: cannot find input file: $f" >&2;}
16392 { (exit 1); exit 1; }; }
16393 # Do quote $f, to prevent DOS paths from being IFS'd.
16396 if test -f "$f"; then
16399 elif test -f "$srcdir/$f"; then
16404 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
16405 echo "$as_me: error: cannot find input file: $f" >&2;}
16406 { (exit 1); exit 1; }; }
16409 done` ||
{ (exit 1); exit 1; }
16410 # Remove the trailing spaces.
16411 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
16415 # Transform confdefs.h into two sed scripts, `conftest.defines' and
16416 # `conftest.undefs', that substitutes the proper values into
16417 # config.h.in to produce config.h. The first handles `#define'
16418 # templates, and the second `#undef' templates.
16419 # And first: Protect against being on the right side of a sed subst in
16420 # config.status. Protect against being in an unquoted here document
16421 # in config.status.
16422 rm -f conftest.defines conftest.undefs
16423 # Using a here document instead of a string reduces the quoting nightmare.
16424 # Putting comments in sed scripts is not portable.
16426 # `end' is used to avoid that the second main sed command (meant for
16427 # 0-ary CPP macros) applies to n-ary macro definitions.
16428 # See the Autoconf documentation for `clear'.
16429 cat >confdef2sed.
sed <<\_ACEOF
16434 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
16436 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
16439 # If some macros were called several times there might be several times
16440 # the same #defines, which is useless. Nevertheless, we may not want to
16441 # sort them, since we want the *last* AC-DEFINE to be honored.
16442 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
16443 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
16444 rm -f confdef2sed.sed
16446 # This sed command replaces #undef with comments. This is necessary, for
16447 # example, in the case of _POSIX_SOURCE, which is predefined and required
16448 # on some systems where configure will not decide to define it.
16449 cat >>conftest.undefs <<\_ACEOF
16450 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
16453 # Break up conftest.defines because some shells have a limit on the size
16454 # of here documents, and old seds have small limits too (100 cmds).
16455 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
16456 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
16457 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
16458 echo ' :' >>$CONFIG_STATUS
16459 rm -f conftest.tail
16460 while grep . conftest.defines >/dev/null
16462 # Write a limited-size here document to $tmp/defines.sed.
16463 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
16464 # Speed up: don't consider the non `#define' lines.
16465 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
16466 # Work around the forget-to-reset-the-flag bug.
16467 echo 't clr' >>$CONFIG_STATUS
16468 echo ': clr' >>$CONFIG_STATUS
16469 sed ${ac_max_here_lines}q conftest.defines
>>$CONFIG_STATUS
16471 sed -f $tmp/defines.sed $tmp/in >$tmp/out
16473 mv $tmp/out $tmp/in
16475 sed 1,${ac_max_here_lines}d conftest.defines
>conftest.
tail
16476 rm -f conftest.defines
16477 mv conftest.
tail conftest.defines
16479 rm -f conftest.defines
16480 echo ' fi # grep' >>$CONFIG_STATUS
16481 echo >>$CONFIG_STATUS
16483 # Break up conftest.undefs because some shells have a limit on the size
16484 # of here documents, and old seds have small limits too (100 cmds).
16485 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
16486 rm -f conftest.
tail
16487 while grep . conftest.undefs
>/dev
/null
16489 # Write a limited-size here document to $tmp/undefs.sed.
16490 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
16491 # Speed up: don't consider the non
`#undef'
16492 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
16493 # Work around the forget-to-reset-the-flag bug.
16494 echo 't clr' >>$CONFIG_STATUS
16495 echo ': clr' >>$CONFIG_STATUS
16496 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
16498 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
16500 mv $tmp/out $tmp/in
16502 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
16503 rm -f conftest.undefs
16504 mv conftest.tail conftest.undefs
16506 rm -f conftest.undefs
16508 cat >>$CONFIG_STATUS <<\_ACEOF
16509 # Let's still pretend it is `configure
' which instantiates (i.e., don't
16510 # use $as_me), people would be surprised to read:
16511 # /* config.h. Generated by config.status. */
16512 if test x
"$ac_file" = x-
; then
16513 echo "/* Generated by configure. */" >$tmp/config.h
16515 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
16517 cat $tmp/in >>$tmp/config.h
16519 if test x
"$ac_file" != x-
; then
16520 if diff $ac_file $tmp/config.h
>/dev
/null
2>&1; then
16521 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
16522 echo "$as_me: $ac_file is unchanged" >&6;}
16524 ac_dir
=`(dirname "$ac_file") 2>/dev/null ||
16525 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16526 X"$ac_file" : 'X\(//\)[^/]' \| \
16527 X"$ac_file" : 'X\(//\)$' \| \
16528 X"$ac_file" : 'X\(/\)' \| \
16529 . : '\(.\)' 2>/dev/null ||
16531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16532 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16533 /^X\(\/\/\)$/{ s//\1/; q; }
16534 /^X\(\/\).*/{ s//\1/; q; }
16536 { if $as_mkdir_p; then
16541 while test ! -d "$as_dir"; do
16542 as_dirs
="$as_dir $as_dirs"
16543 as_dir
=`(dirname "$as_dir") 2>/dev/null ||
16544 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16545 X"$as_dir" : 'X\(//\)[^/]' \| \
16546 X"$as_dir" : 'X\(//\)$' \| \
16547 X"$as_dir" : 'X\(/\)' \| \
16548 . : '\(.\)' 2>/dev/null ||
16550 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
16551 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
16552 /^X\(\/\/\)$/{ s//\1/; q; }
16553 /^X\(\/\).*/{ s//\1/; q; }
16556 test ! -n "$as_dirs" || mkdir
$as_dirs
16557 fi ||
{ { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
16558 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
16559 { (exit 1); exit 1; }; }; }
16562 mv $tmp/config.h
$ac_file
16566 rm -f $tmp/config.h
16571 cat >>$CONFIG_STATUS <<\_ACEOF
16573 { (exit 0); exit 0; }
16575 chmod +x
$CONFIG_STATUS
16576 ac_clean_files
=$ac_clean_files_save
16579 # configure is writing to config.log, and then calls config.status.
16580 # config.status does its own redirection, appending to config.log.
16581 # Unfortunately, on DOS this fails, as config.log is still kept open
16582 # by configure, so config.status won't be able to write to it; its
16583 # output is simply discarded. So we exec the FD to /dev/null,
16584 # effectively closing config.log, so it can be properly (re)opened and
16585 # appended to by config.status. When coming back to configure, we
16586 # need to make the FD available again.
16587 if test "$no_create" != yes; then
16589 ac_config_status_args
=
16590 test "$silent" = yes &&
16591 ac_config_status_args
="$ac_config_status_args --quiet"
16593 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16594 exec 5>>auto
/config.log
16595 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16596 # would make configure fail if this is the last instruction.
16597 $ac_cs_success ||
{ (exit 1); exit 1; }