2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.63.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
9 ## --------------------- ##
10 ## M4sh Initialization. ##
11 ## --------------------- ##
13 # Be more Bourne compatible
14 DUALCASE
=1; export DUALCASE
# for MKS sh
15 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
18 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
23 case `(set -o) 2>/dev/null` in
24 *posix
*) set -o posix
;;
33 # Avoid depending upon Character Ranges.
34 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
35 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
36 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
37 as_cr_digits
='0123456789'
38 as_cr_alnum
=$as_cr_Letters$as_cr_digits
43 # Printing a long string crashes Solaris 7 /usr/bin/printf.
44 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
46 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
47 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
53 as_echo_n='/usr
/ucb
/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
66 as_echo_n='sh
-c $as_echo_n_body as_echo
'
69 as_echo='sh
-c $as_echo_body as_echo
'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 # Support unset when possible.
82 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
90 # We need space, tab and new line, in precisely that order. Quoting is
91 # there to prevent editors from complaining about space-tab.
92 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
93 # splitting by setting IFS to empty value.)
96 # Find who we are. Look in the path if we contain no directory separator.
98 *[\\/]* ) as_myself=$0 ;;
99 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
103 test -z "$as_dir" && as_dir=.
104 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
110 # We did not find ourselves, most probably we were run as `sh COMMAND'
111 # in which case we are not to be found in the path.
112 if test "x$as_myself" = x
; then
115 if test ! -f "$as_myself"; then
116 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 { (exit 1); exit 1; }
120 # Work around bugs in pre-3.0 UWIN ksh.
121 for as_var
in ENV MAIL MAILPATH
122 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
134 # Required to use basename.
135 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
136 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
142 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
149 # Name of the executable.
150 as_me
=`$as_basename -- "$0" ||
151 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
152 X"$0" : 'X\(//\)$' \| \
153 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
155 sed '/^.*\/\([^/][^/]*\)\/*$/{
173 if test "x$CONFIG_SHELL" = x
; then
174 if (eval ":") 2>/dev
/null
; then
180 if test $as_have_required = yes && (eval ":
190 as_func_ret_success () {
193 as_func_ret_failure () {
198 if as_func_success; then
202 echo as_func_success failed.
205 if as_func_failure; then
207 echo as_func_failure succeeded.
210 if as_func_ret_success; then
214 echo as_func_ret_success failed.
217 if as_func_ret_failure; then
219 echo as_func_ret_failure succeeded.
222 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
226 echo positional parameters were not saved.
229 test \$exitcode = 0) || { (exit 1); exit 1; }
234 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
235 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
236 ") 2> /dev
/null
; then
240 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
241 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
244 test -z "$as_dir" && as_dir
=.
247 for as_base
in sh bash ksh sh5
; do
248 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
255 for as_shell
in $as_candidate_shells $SHELL; do
256 # Try only shells that exist, to save several forks.
257 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
258 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in
268 *posix
*) set -o posix
;;
277 CONFIG_SHELL
=$as_shell
279 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
280 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
283 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
284 # is contrary to our usage. Disable this feature.
285 alias -g '${1+"$@"}'='"$@"'
288 case `(set -o) 2>/dev/null` in
289 *posix
*) set -o posix
;;
305 as_func_ret_success
() {
308 as_func_ret_failure
() {
313 if as_func_success
; then
317 echo as_func_success failed.
320 if as_func_failure
; then
322 echo as_func_failure succeeded.
325 if as_func_ret_success
; then
329 echo as_func_ret_success failed.
332 if as_func_ret_failure
; then
334 echo as_func_ret_failure succeeded.
337 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
341 echo positional parameters were not saved.
344 test $exitcode = 0) ||
{ (exit 1); exit 1; }
349 test "x$as_lineno_1" != "x$as_lineno_2" &&
350 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
361 if test "x$CONFIG_SHELL" != x
; then
362 for as_var
in BASH_ENV ENV
363 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
366 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
370 if test $as_have_required = no
; then
371 echo This
script requires a shell
more modern than all the
372 echo shells that I found on your system. Please
install a
373 echo modern shell
, or manually run the
script under such a
374 echo shell
if you
do have one.
375 { (exit 1); exit 1; }
385 (eval "as_func_return () {
394 as_func_ret_success () {
397 as_func_ret_failure () {
402 if as_func_success; then
406 echo as_func_success failed.
409 if as_func_failure; then
411 echo as_func_failure succeeded.
414 if as_func_ret_success; then
418 echo as_func_ret_success failed.
421 if as_func_ret_failure; then
423 echo as_func_ret_failure succeeded.
426 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
430 echo positional parameters were not saved.
433 test \$exitcode = 0") ||
{
434 echo No shell found that supports shell functions.
435 echo Please tell bug-autoconf@gnu.org about your system
,
436 echo including any error possibly output before this message.
437 echo This can
help us improve future autoconf versions.
438 echo Configuration will now proceed without shell functions.
445 test "x$as_lineno_1" != "x$as_lineno_2" &&
446 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
448 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
449 # uniformly replaced by the line number. The first 'sed' inserts a
450 # line-number line after each line using $LINENO; the second 'sed'
451 # does the real work. The second script uses 'N' to pair each
452 # line-number line with the line containing $LINENO, and appends
453 # trailing '-' during substitution so that $LINENO is not a special
455 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
456 # scripts with optimization help from Paolo Bonzini. Blame Lee
457 # E. McMahon (1931-1989) for sed's syntax. :-)
469 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
473 chmod +x
"$as_me.lineno" ||
474 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
475 { (exit 1); exit 1; }; }
477 # Don't try to exec as it changes $[0], causing all sort of problems
478 # (the dirname of $[0] is not the place where we might find the
479 # original and so on. Autoconf is especially sensitive to this).
481 # Exit status is that of the last command.
486 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
492 ECHO_C
= ECHO_N
= ECHO_T
=
496 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
502 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
503 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
509 rm -f conf$$ conf$$.exe conf$$.
file
510 if test -d conf$$.dir
; then
511 rm -f conf$$.dir
/conf$$.
file
514 mkdir conf$$.dir
2>/dev
/null
516 if (echo >conf$$.
file) 2>/dev
/null
; then
517 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
519 # ... but there are two gotchas:
520 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
521 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
522 # In both cases, we have to default to `cp -p'.
523 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
525 elif ln conf$$.
file conf$$
2>/dev
/null
; then
533 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
534 rmdir conf$$.dir
2>/dev
/null
536 if mkdir
-p .
2>/dev
/null
; then
539 test -d .
/-p && rmdir .
/-p
543 if test -x / >/dev
/null
2>&1; then
546 if ls -dL / >/dev
/null
2>&1; then
553 if test -d "$1"; then
559 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
560 ???[sx]*):;;*)false;;esac;fi
564 as_executable_p
=$as_test_x
566 # Sed expression to map a string onto a valid CPP name.
567 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
569 # Sed expression to map a string onto a valid variable name.
570 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
574 exec 7<&0 </dev
/null
6>&1
577 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
578 # so uname gets run too.
579 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
584 ac_default_prefix
=/usr
/local
586 ac_config_libobj_dir
=.
592 SHELL
=${CONFIG_SHELL-/bin/sh}
594 # Identity of this package.
601 ac_unique_file
="vim.h"
602 # Factoring default headers for most tests.
603 ac_includes_default
="\
605 #ifdef HAVE_SYS_TYPES_H
606 # include <sys/types.h>
608 #ifdef HAVE_SYS_STAT_H
609 # include <sys/stat.h>
615 # ifdef HAVE_STDLIB_H
620 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
625 #ifdef HAVE_STRINGS_H
626 # include <strings.h>
628 #ifdef HAVE_INTTYPES_H
629 # include <inttypes.h>
638 ac_subst_vars
='LTLIBOBJS
692 PYTHON_GETPATH_CFLAGS
762 program_transform_name
774 enable_option_checking
788 enable_mzschemeinterp
792 with_python_config_dir
829 ac_precious_vars
='build_alias
841 # Initialize some variables set by options.
843 ac_init_version
=false
844 ac_unrecognized_opts
=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name
=s
,x
,x
,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir
='${exec_prefix}/bin'
870 sbindir
='${exec_prefix}/sbin'
871 libexecdir
='${exec_prefix}/libexec'
872 datarootdir
='${prefix}/share'
873 datadir
='${datarootdir}'
874 sysconfdir
='${prefix}/etc'
875 sharedstatedir
='${prefix}/com'
876 localstatedir
='${prefix}/var'
877 includedir
='${prefix}/include'
878 oldincludedir
='/usr/include'
879 docdir
='${datarootdir}/doc/${PACKAGE}'
880 infodir
='${datarootdir}/info'
885 libdir
='${exec_prefix}/lib'
886 localedir
='${datarootdir}/locale'
887 mandir
='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\
$ac_option
901 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
905 # Accept the important Cygnus configure options, so we can diagnose typos.
907 case $ac_dashdash$ac_option in
911 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
913 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
916 -build |
--build |
--buil |
--bui |
--bu)
917 ac_prev
=build_alias
;;
918 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
919 build_alias
=$ac_optarg ;;
921 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
922 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
923 ac_prev
=cache_file
;;
924 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
925 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
926 cache_file
=$ac_optarg ;;
929 cache_file
=config.cache
;;
931 -datadir |
--datadir |
--datadi |
--datad)
933 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
934 datadir
=$ac_optarg ;;
936 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
937 |
--dataroo |
--dataro |
--datar)
938 ac_prev
=datarootdir
;;
939 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
940 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
941 datarootdir
=$ac_optarg ;;
943 -disable-* |
--disable-*)
944 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
945 # Reject names that are not valid shell variable names.
946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
947 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
948 { (exit 1); exit 1; }; }
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=no
;;
960 -docdir |
--docdir |
--docdi |
--doc |
--do)
962 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
965 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
967 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
970 -enable-* |
--enable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
975 { (exit 1); exit 1; }; }
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=\
$ac_optarg ;;
987 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
988 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
989 |
--exec |
--exe |
--ex)
990 ac_prev
=exec_prefix
;;
991 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
992 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
993 |
--exec=* |
--exe=* |
--ex=*)
994 exec_prefix
=$ac_optarg ;;
996 -gas |
--gas |
--ga |
--g)
997 # Obsolete; use --with-gas.
1000 -help |
--help |
--hel |
--he |
-h)
1001 ac_init_help
=long
;;
1002 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1003 ac_init_help
=recursive
;;
1004 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1005 ac_init_help
=short
;;
1007 -host |
--host |
--hos |
--ho)
1008 ac_prev
=host_alias
;;
1009 -host=* |
--host=* |
--hos=* |
--ho=*)
1010 host_alias
=$ac_optarg ;;
1012 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1014 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1016 htmldir
=$ac_optarg ;;
1018 -includedir |
--includedir |
--includedi |
--included |
--include \
1019 |
--includ |
--inclu |
--incl |
--inc)
1020 ac_prev
=includedir
;;
1021 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1022 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1023 includedir
=$ac_optarg ;;
1025 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1027 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1028 infodir
=$ac_optarg ;;
1030 -libdir |
--libdir |
--libdi |
--libd)
1032 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1033 libdir
=$ac_optarg ;;
1035 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1036 |
--libexe |
--libex |
--libe)
1037 ac_prev
=libexecdir
;;
1038 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1039 |
--libexe=* |
--libex=* |
--libe=*)
1040 libexecdir
=$ac_optarg ;;
1042 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1043 ac_prev
=localedir
;;
1044 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1045 localedir
=$ac_optarg ;;
1047 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1048 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1049 ac_prev
=localstatedir
;;
1050 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1051 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1052 localstatedir
=$ac_optarg ;;
1054 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1056 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1057 mandir
=$ac_optarg ;;
1059 -nfp |
--nfp |
--nf)
1060 # Obsolete; use --without-fp.
1063 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1064 |
--no-cr |
--no-c |
-n)
1067 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1068 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1071 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1072 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1073 |
--oldin |
--oldi |
--old |
--ol |
--o)
1074 ac_prev
=oldincludedir
;;
1075 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1076 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1077 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1078 oldincludedir
=$ac_optarg ;;
1080 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1082 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1083 prefix
=$ac_optarg ;;
1085 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1086 |
--program-pre |
--program-pr |
--program-p)
1087 ac_prev
=program_prefix
;;
1088 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1089 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1090 program_prefix
=$ac_optarg ;;
1092 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1093 |
--program-suf |
--program-su |
--program-s)
1094 ac_prev
=program_suffix
;;
1095 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1096 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1097 program_suffix
=$ac_optarg ;;
1099 -program-transform-name |
--program-transform-name \
1100 |
--program-transform-nam |
--program-transform-na \
1101 |
--program-transform-n |
--program-transform- \
1102 |
--program-transform |
--program-transfor \
1103 |
--program-transfo |
--program-transf \
1104 |
--program-trans |
--program-tran \
1105 |
--progr-tra |
--program-tr |
--program-t)
1106 ac_prev
=program_transform_name
;;
1107 -program-transform-name=* |
--program-transform-name=* \
1108 |
--program-transform-nam=* |
--program-transform-na=* \
1109 |
--program-transform-n=* |
--program-transform-=* \
1110 |
--program-transform=* |
--program-transfor=* \
1111 |
--program-transfo=* |
--program-transf=* \
1112 |
--program-trans=* |
--program-tran=* \
1113 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1114 program_transform_name
=$ac_optarg ;;
1116 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1118 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1119 pdfdir
=$ac_optarg ;;
1121 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1123 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1127 |
-silent |
--silent |
--silen |
--sile |
--sil)
1130 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1132 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1134 sbindir
=$ac_optarg ;;
1136 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1137 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1138 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1140 ac_prev
=sharedstatedir
;;
1141 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1142 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1143 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1145 sharedstatedir
=$ac_optarg ;;
1147 -site |
--site |
--sit)
1149 -site=* |
--site=* |
--sit=*)
1152 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1154 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1155 srcdir
=$ac_optarg ;;
1157 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1158 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1159 ac_prev
=sysconfdir
;;
1160 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1161 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1162 sysconfdir
=$ac_optarg ;;
1164 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1165 ac_prev
=target_alias
;;
1166 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1167 target_alias
=$ac_optarg ;;
1169 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1172 -version |
--version |
--versio |
--versi |
--vers |
-V)
1173 ac_init_version
=: ;;
1176 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1180 { (exit 1); exit 1; }; }
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=\
$ac_optarg ;;
1192 -without-* |
--without-*)
1193 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1197 { (exit 1); exit 1; }; }
1198 ac_useropt_orig
=$ac_useropt
1199 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1200 case $ac_user_opts in
1204 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1205 ac_unrecognized_sep
=', ';;
1207 eval with_
$ac_useropt=no
;;
1210 # Obsolete; use --with-x.
1213 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1214 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1215 ac_prev
=x_includes
;;
1216 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1217 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1218 x_includes
=$ac_optarg ;;
1220 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1221 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1222 ac_prev
=x_libraries
;;
1223 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1224 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1225 x_libraries
=$ac_optarg ;;
1227 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1228 Try \`$0 --help' for more information." >&2
1229 { (exit 1); exit 1; }; }
1233 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1234 # Reject names that are not valid shell variable names.
1235 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1236 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1237 { (exit 1); exit 1; }; }
1238 eval $ac_envvar=\
$ac_optarg
1239 export $ac_envvar ;;
1242 # FIXME: should be removed in autoconf 3.0.
1243 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1244 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1245 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1246 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1252 if test -n "$ac_prev"; then
1253 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1254 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1255 { (exit 1); exit 1; }; }
1258 if test -n "$ac_unrecognized_opts"; then
1259 case $enable_option_checking in
1261 fatal
) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1262 { (exit 1); exit 1; }; } ;;
1263 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1267 # Check all directory arguments for consistency.
1268 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1269 datadir sysconfdir sharedstatedir localstatedir includedir \
1270 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1271 libdir localedir mandir
1273 eval ac_val
=\$
$ac_var
1274 # Remove trailing slashes.
1277 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1278 eval $ac_var=\
$ac_val;;
1280 # Be sure to have absolute directory names.
1282 [\\/$
]* | ?
:[\\/]* ) continue;;
1283 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1285 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1286 { (exit 1); exit 1; }; }
1289 # There might be people who depend on the old broken behavior: `$host'
1290 # used to hold the argument of --host etc.
1291 # FIXME: To remove some day.
1294 target
=$target_alias
1296 # FIXME: To remove some day.
1297 if test "x$host_alias" != x
; then
1298 if test "x$build_alias" = x
; then
1299 cross_compiling
=maybe
1300 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1301 If a cross compiler is detected then cross compile mode will be used." >&2
1302 elif test "x$build_alias" != "x$host_alias"; then
1308 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1310 test "$silent" = yes && exec 6>/dev
/null
1313 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1314 ac_ls_di
=`ls -di .` &&
1315 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1316 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1317 { (exit 1); exit 1; }; }
1318 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1319 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1320 { (exit 1); exit 1; }; }
1323 # Find the source files, if location was not specified.
1324 if test -z "$srcdir"; then
1325 ac_srcdir_defaulted
=yes
1326 # Try the directory containing this script, then the parent directory.
1327 ac_confdir
=`$as_dirname -- "$as_myself" ||
1328 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1329 X"$as_myself" : 'X\(//\)[^/]' \| \
1330 X"$as_myself" : 'X\(//\)$' \| \
1331 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1332 $as_echo X"$as_myself" |
1333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1355 ac_srcdir_defaulted
=no
1357 if test ! -r "$srcdir/$ac_unique_file"; then
1358 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1359 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1360 { (exit 1); exit 1; }; }
1362 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1364 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1365 { (exit 1); exit 1; }; }
1367 # When building in place, set srcdir=.
1368 if test "$ac_abs_confdir" = "$ac_pwd"; then
1371 # Remove unnecessary trailing slashes from srcdir.
1372 # Double slashes in file names in object file debugging info
1373 # mess up M-x gdb in Emacs.
1375 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1377 for ac_var
in $ac_precious_vars; do
1378 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1379 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1380 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1381 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1385 # Report the --help message.
1387 if test "$ac_init_help" = "long"; then
1388 # Omit some internal or obsolete options to make the list less imposing.
1389 # This message is too long to be a string in the A/UX 3.1 sh.
1391 \`configure' configures this package to adapt to many kinds of systems.
1393 Usage: $0 [OPTION]... [VAR=VALUE]...
1395 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1396 VAR=VALUE. See below for descriptions of some of the useful variables.
1398 Defaults for the options are specified in brackets.
1401 -h, --help display this help and exit
1402 --help=short display options specific to this package
1403 --help=recursive display the short help of all the included packages
1404 -V, --version display version information and exit
1405 -q, --quiet, --silent do not print \`checking...' messages
1406 --cache-file=FILE cache test results in FILE [disabled]
1407 -C, --config-cache alias for \`--cache-file=config.cache'
1408 -n, --no-create do not create output files
1409 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1411 Installation directories:
1412 --prefix=PREFIX install architecture-independent files in PREFIX
1413 [$ac_default_prefix]
1414 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1417 By default, \`make install' will install all the files in
1418 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1419 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1420 for instance \`--prefix=\$HOME'.
1422 For better control, use the options below.
1424 Fine tuning of the installation directories:
1425 --bindir=DIR user executables [EPREFIX/bin]
1426 --sbindir=DIR system admin executables [EPREFIX/sbin]
1427 --libexecdir=DIR program executables [EPREFIX/libexec]
1428 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1429 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1430 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1431 --libdir=DIR object code libraries [EPREFIX/lib]
1432 --includedir=DIR C header files [PREFIX/include]
1433 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1434 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1435 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1436 --infodir=DIR info documentation [DATAROOTDIR/info]
1437 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1438 --mandir=DIR man documentation [DATAROOTDIR/man]
1439 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1440 --htmldir=DIR html documentation [DOCDIR]
1441 --dvidir=DIR dvi documentation [DOCDIR]
1442 --pdfdir=DIR pdf documentation [DOCDIR]
1443 --psdir=DIR ps documentation [DOCDIR]
1449 --x-includes=DIR X include files are
in DIR
1450 --x-libraries=DIR X library files are
in DIR
1454 if test -n "$ac_init_help"; then
1459 --disable-option-checking ignore unrecognized
--enable/--with options
1460 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1461 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1462 --disable-darwin Disable Darwin
(Mac OS X
) support.
1463 --disable-selinux Don
't check for SELinux support.
1464 --disable-xsmp Disable XSMP session management
1465 --disable-xsmp-interact Disable XSMP interaction
1466 --enable-mzschemeinterp Include MzScheme interpreter.
1467 --enable-perlinterp Include Perl interpreter.
1468 --enable-pythoninterp Include Python interpreter.
1469 --enable-tclinterp Include Tcl interpreter.
1470 --enable-rubyinterp Include Ruby interpreter.
1471 --enable-cscope Include cscope interface.
1472 --enable-workshop Include Sun Visual Workshop support.
1473 --disable-netbeans Disable NetBeans integration support.
1474 --enable-sniff Include Sniff interface.
1475 --enable-multibyte Include multibyte editing support.
1476 --enable-hangulinput Include Hangul input support.
1477 --enable-xim Include XIM input support.
1478 --enable-fontset Include X fontset output support.
1479 --enable-gui=OPTS X11 GUI default=auto OPTS=auto/no/gtk/gtk2/gnome/gnome2/motif/athena/neXtaw/photon/carbon/macvim
1480 --enable-gtk-check If auto-select GUI, check for GTK default=yes
1481 --enable-gtk2-check If GTK GUI, check for GTK+ 2 default=yes
1482 --enable-gnome-check If GTK GUI, check for GNOME default=no
1483 --enable-motif-check If auto-select GUI, check for Motif default=yes
1484 --enable-athena-check If auto-select GUI, check for Athena default=yes
1485 --enable-nextaw-check If auto-select GUI, check for neXtaw default=yes
1486 --enable-carbon-check If auto-select GUI, check for Carbon default=yes
1487 --enable-macvim-check If auto-select GUI, check for MacVim default=yes
1488 --disable-gtktest Do not try to compile and run a test GTK program
1489 --disable-uimfep Don't support UIMFEP.
1490 --disable-acl Don
't check for ACL support.
1491 --disable-gpm Don't use gpm
(Linux mouse daemon
).
1492 --disable-sysmouse Don
't use sysmouse (mouse in *BSD console).
1493 --disable-nls Don't support NLS
(gettext()).
1494 --disable-migemo Don
't support C/Migemo.
1497 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1498 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1499 --with-mac-arch=ARCH current, intel, ppc or both
1500 --with-local-dir=PATH search PATH instead of /usr/local for local libraries.
1501 --without-local-dir do not search /usr/local for local libraries.
1502 --with-vim-name=NAME what to call the Vim executable
1503 --with-ex-name=NAME what to call the Ex executable
1504 --with-view-name=NAME what to call the View executable
1505 --with-global-runtime=DIR global runtime directory in 'runtimepath
'
1506 --with-modified-by=NAME name of who modified a release version
1507 --with-features=TYPE tiny, small, normal, big or huge (default: normal)
1508 --with-compiledby=NAME name to show in :version message
1509 --with-plthome=PLTHOME Use PLTHOME.
1510 --with-python-config-dir=PATH Python's config directory
1511 --with-tclsh=PATH
which tclsh to use
(default
: tclsh8.0
)
1512 --with-x use the X Window System
1513 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1514 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1515 --with-gnome-includes=DIR Specify location of GNOME headers
1516 --with-gnome-libs=DIR Specify location of GNOME libs
1517 --with-gnome Specify prefix
for GNOME files
1518 --with-motif-lib=STRING Library
for Motif
1519 --with-tlib=library terminal library to be used
1521 Some influential environment variables
:
1522 CC C compiler
command
1523 CFLAGS C compiler flags
1524 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1525 nonstandard directory
<lib dir
>
1526 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1527 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1528 you have headers
in a nonstandard directory
<include dir
>
1530 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1532 Use these variables to override the choices made by
`configure' or to help
1533 it to find libraries and programs with nonstandard names/locations.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1548 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1550 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1555 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir=$ac_pwd
1559 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir=$ac_top_build_prefix
1564 .) # We are building in place.
1566 ac_top_srcdir=$ac_top_builddir_sub
1567 ac_abs_top_srcdir=$ac_pwd ;;
1568 [\\/]* | ?:[\\/]* ) # Absolute name.
1569 ac_srcdir=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir=$srcdir
1571 ac_abs_top_srcdir=$srcdir ;;
1573 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" || { ac_status=$?; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" || { ac_status=$?; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1598 generated by GNU Autoconf 2.63
1600 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1601 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1602 This configure script is free software; the Free Software Foundation
1603 gives unlimited permission to copy, distribute and modify it.
1607 cat >auto/config.log <<_ACEOF
1608 This file contains any messages produced by compilers while
1609 running configure, to aid debugging if configure makes a mistake.
1611 It was created by $as_me, which was
1612 generated by GNU Autoconf 2.63. Invocation command line was
1617 exec 5>>auto/config.log
1624 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1625 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1626 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1627 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1628 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1630 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1631 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1633 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1634 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1635 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1636 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1637 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1638 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1639 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1647 test -z "$as_dir" && as_dir=.
1648 $as_echo "PATH: $as_dir"
1664 # Keep a trace of the command line.
1665 # Strip out --no-create and --no-recursion so they do not pile up.
1666 # Strip out --silent because we don't want to record it for future runs.
1667 # Also quote any args containing shell meta-characters.
1668 # Make two passes to allow for proper duplicate-argument suppression.
1672 ac_must_keep_next=false
1678 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1679 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1680 | -silent | --silent | --silen | --sile | --sil)
1683 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1686 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1688 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1689 if test $ac_must_keep_next = true; then
1690 ac_must_keep_next=false # Got value, back to normal.
1693 *=* | --config-cache | -C | -disable-* | --disable-* \
1694 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1695 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1696 | -with-* | --with-* | -without-* | --without-* | --x)
1697 case "$ac_configure_args0 " in
1698 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1701 -* ) ac_must_keep_next=true ;;
1704 ac_configure_args="$ac_configure_args '$ac_arg'"
1709 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1710 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1712 # When interrupted or exit'd, cleanup temporary files, and complete
1713 # config.log. We remove comments because anyway the quotes in there
1714 # would cause problems or look ugly.
1715 # WARNING: Use '\'' to represent an apostrophe within the trap.
1716 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1717 trap 'exit_status=$?
1718 # Save into config.log some information that might help in debugging.
1723 ## ---------------- ##
1724 ## Cache variables. ##
1725 ## ---------------- ##
1728 # The following way of writing the cache mishandles newlines in values,
1730 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1731 eval ac_val=\$$ac_var
1735 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
1736 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1739 _ | IFS | as_nl) ;; #(
1740 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1741 *) $as_unset $ac_var ;;
1746 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1747 *${as_nl}ac_space=\ *)
1749 "s/'\''/'\''\\\\'\'''\''/g;
1750 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1753 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1761 ## ----------------- ##
1762 ## Output variables. ##
1763 ## ----------------- ##
1766 for ac_var in $ac_subst_vars
1768 eval ac_val=\$$ac_var
1770 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1772 $as_echo "$ac_var='\''$ac_val'\''"
1776 if test -n "$ac_subst_files"; then
1778 ## ------------------- ##
1779 ## File substitutions. ##
1780 ## ------------------- ##
1783 for ac_var in $ac_subst_files
1785 eval ac_val=\$$ac_var
1787 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1789 $as_echo "$ac_var='\''$ac_val'\''"
1794 if test -s confdefs.h; then
1804 test "$ac_signal" != 0 &&
1805 $as_echo "$as_me: caught signal $ac_signal"
1806 $as_echo "$as_me: exit $exit_status"
1808 rm -f core *.core core.conftest.* &&
1809 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1812 for ac_signal in 1 2 13 15; do
1813 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1817 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1818 rm -f -r conftest* confdefs.h
1820 # Predefined preprocessor variables.
1822 cat >>confdefs.h <<_ACEOF
1823 #define PACKAGE_NAME "$PACKAGE_NAME"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1832 cat >>confdefs.h <<_ACEOF
1833 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1837 cat >>confdefs.h <<_ACEOF
1838 #define PACKAGE_STRING "$PACKAGE_STRING"
1842 cat >>confdefs.h <<_ACEOF
1843 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1847 # Let the site file select an alternate cache file if it wants to.
1848 # Prefer an explicitly selected file to automatically selected ones.
1851 if test -n "$CONFIG_SITE"; then
1852 ac_site_file1=$CONFIG_SITE
1853 elif test "x$prefix" != xNONE; then
1854 ac_site_file1=$prefix/share/config.site
1855 ac_site_file2=$prefix/etc/config.site
1857 ac_site_file1=$ac_default_prefix/share/config.site
1858 ac_site_file2=$ac_default_prefix/etc/config.site
1860 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1862 test "x$ac_site_file" = xNONE && continue
1863 if test -r "$ac_site_file"; then
1864 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1865 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1866 sed 's/^/| /' "$ac_site_file" >&5
1871 if test -r "$cache_file"; then
1872 # Some versions of bash will fail to source /dev/null (special
1873 # files actually), so we avoid doing that.
1874 if test -f "$cache_file"; then
1875 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1876 $as_echo "$as_me: loading cache $cache_file" >&6;}
1878 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1879 *) . "./$cache_file";;
1883 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1884 $as_echo "$as_me: creating cache $cache_file" >&6;}
1888 # Check that the precious variables saved in the cache have kept the same
1890 ac_cache_corrupted=false
1891 for ac_var in $ac_precious_vars; do
1892 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1893 eval ac_new_set=\$ac_env_${ac_var}_set
1894 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1895 eval ac_new_val=\$ac_env_${ac_var}_value
1896 case $ac_old_set,$ac_new_set in
1898 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1899 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1900 ac_cache_corrupted=: ;;
1902 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1903 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1904 ac_cache_corrupted=: ;;
1907 if test "x$ac_old_val" != "x$ac_new_val"; then
1908 # differences in whitespace do not lead to failure.
1909 ac_old_val_w=`echo x
$ac_old_val`
1910 ac_new_val_w=`echo x
$ac_new_val`
1911 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1912 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1913 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1914 ac_cache_corrupted=:
1916 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1917 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1918 eval $ac_var=\$ac_old_val
1920 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1921 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1922 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1923 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1926 # Pass precious variables to config.status.
1927 if test "$ac_new_set" = set; then
1929 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1930 *) ac_arg=$ac_var=$ac_new_val ;;
1932 case " $ac_configure_args " in
1933 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1934 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1938 if $ac_cache_corrupted; then
1939 { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
1940 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1941 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1942 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1943 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&5
1944 $as_echo "$as_me: error: run \`make distclean
' and/or \`rm $cache_file' and start over
" >&2;}
1945 { (exit 1); exit 1; }; }
1965 ac_cpp='$CPP $CPPFLAGS'
1966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1971 ac_config_headers="$ac_config_headers auto
/config.h
:config.h.
in"
1974 cat >>confdefs.h <<\_ACEOF
1978 { $as_echo "$as_me:$LINENO: checking whether
${MAKE-make} sets \$
(MAKE
)" >&5
1979 $as_echo_n "checking whether
${MAKE-make} sets \$
(MAKE
)...
" >&6; }
1981 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1982 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1983 $as_echo_n "(cached
) " >&6
1985 cat >conftest.make <<\_ACEOF
1988 @echo '@@@%%%=$(MAKE)=@@@%%%'
1990 # GNU make sometimes prints "make[1]: Entering...
", which would confuse us.
1991 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1993 eval ac_cv_prog_make_${ac_make}_set=yes;;
1995 eval ac_cv_prog_make_${ac_make}_set=no;;
1999 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2000 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2001 $as_echo "yes" >&6; }
2004 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2005 $as_echo "no
" >&6; }
2006 SET_MAKE="MAKE
=${MAKE-make}"
2011 ac_cpp='$CPP $CPPFLAGS'
2012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2015 if test -n "$ac_tool_prefix"; then
2016 # Extract the first word of "${ac_tool_prefix}gcc
", so it can be a program name with args.
2017 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2018 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2019 $as_echo_n "checking
for $ac_word...
" >&6; }
2020 if test "${ac_cv_prog_CC+set}" = set; then
2021 $as_echo_n "(cached
) " >&6
2023 if test -n "$CC"; then
2024 ac_cv_prog_CC="$CC" # Let the user override the test.
2026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2030 test -z "$as_dir" && as_dir=.
2031 for ac_exec_ext in '' $ac_executable_extensions; do
2032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2033 ac_cv_prog_CC="${ac_tool_prefix}gcc
"
2034 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2044 if test -n "$CC"; then
2045 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2046 $as_echo "$CC" >&6; }
2048 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2049 $as_echo "no
" >&6; }
2054 if test -z "$ac_cv_prog_CC"; then
2056 # Extract the first word of "gcc
", so it can be a program name with args.
2057 set dummy gcc; ac_word=$2
2058 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2059 $as_echo_n "checking
for $ac_word...
" >&6; }
2060 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2061 $as_echo_n "(cached
) " >&6
2063 if test -n "$ac_ct_CC"; then
2064 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 test -z "$as_dir" && as_dir=.
2071 for ac_exec_ext in '' $ac_executable_extensions; do
2072 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2073 ac_cv_prog_ac_ct_CC="gcc
"
2074 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2083 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2084 if test -n "$ac_ct_CC"; then
2085 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2086 $as_echo "$ac_ct_CC" >&6; }
2088 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2089 $as_echo "no
" >&6; }
2092 if test "x
$ac_ct_CC" = x; then
2095 case $cross_compiling:$ac_tool_warned in
2097 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2098 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2099 ac_tool_warned=yes ;;
2107 if test -z "$CC"; then
2108 if test -n "$ac_tool_prefix"; then
2109 # Extract the first word of "${ac_tool_prefix}cc
", so it can be a program name with args.
2110 set dummy ${ac_tool_prefix}cc; ac_word=$2
2111 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2112 $as_echo_n "checking
for $ac_word...
" >&6; }
2113 if test "${ac_cv_prog_CC+set}" = set; then
2114 $as_echo_n "(cached
) " >&6
2116 if test -n "$CC"; then
2117 ac_cv_prog_CC="$CC" # Let the user override the test.
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_CC="${ac_tool_prefix}cc
"
2127 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2137 if test -n "$CC"; then
2138 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2139 $as_echo "$CC" >&6; }
2141 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2142 $as_echo "no
" >&6; }
2148 if test -z "$CC"; then
2149 # Extract the first word of "cc
", so it can be a program name with args.
2150 set dummy cc; ac_word=$2
2151 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2152 $as_echo_n "checking
for $ac_word...
" >&6; }
2153 if test "${ac_cv_prog_CC+set}" = set; then
2154 $as_echo_n "(cached
) " >&6
2156 if test -n "$CC"; then
2157 ac_cv_prog_CC="$CC" # Let the user override the test.
2160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2164 test -z "$as_dir" && as_dir=.
2165 for ac_exec_ext in '' $ac_executable_extensions; do
2166 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr
/ucb
/cc
"; then
2168 ac_prog_rejected=yes
2172 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2179 if test $ac_prog_rejected = yes; then
2180 # We found a bogon in the path, so make sure we never use it.
2181 set dummy $ac_cv_prog_CC
2183 if test $# != 0; then
2184 # We chose a different compiler from the bogus one.
2185 # However, it has the same basename, so the bogon will be chosen
2186 # first if we set CC to just the basename; use the full file name.
2188 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@
"
2194 if test -n "$CC"; then
2195 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2196 $as_echo "$CC" >&6; }
2198 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2199 $as_echo "no
" >&6; }
2204 if test -z "$CC"; then
2205 if test -n "$ac_tool_prefix"; then
2206 for ac_prog in cl.exe
2208 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2209 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2210 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2211 $as_echo_n "checking
for $ac_word...
" >&6; }
2212 if test "${ac_cv_prog_CC+set}" = set; then
2213 $as_echo_n "(cached
) " >&6
2215 if test -n "$CC"; then
2216 ac_cv_prog_CC="$CC" # Let the user override the test.
2218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir=.
2223 for ac_exec_ext in '' $ac_executable_extensions; do
2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2226 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2236 if test -n "$CC"; then
2237 { $as_echo "$as_me:$LINENO: result
: $CC" >&5
2238 $as_echo "$CC" >&6; }
2240 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2241 $as_echo "no
" >&6; }
2245 test -n "$CC" && break
2248 if test -z "$CC"; then
2250 for ac_prog in cl.exe
2252 # Extract the first word of "$ac_prog", so it can be a program name with args.
2253 set dummy $ac_prog; ac_word=$2
2254 { $as_echo "$as_me:$LINENO: checking
for $ac_word" >&5
2255 $as_echo_n "checking
for $ac_word...
" >&6; }
2256 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2257 $as_echo_n "(cached
) " >&6
2259 if test -n "$ac_ct_CC"; then
2260 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 test -z "$as_dir" && as_dir=.
2267 for ac_exec_ext in '' $ac_executable_extensions; do
2268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2269 ac_cv_prog_ac_ct_CC="$ac_prog"
2270 $as_echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
2279 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2280 if test -n "$ac_ct_CC"; then
2281 { $as_echo "$as_me:$LINENO: result
: $ac_ct_CC" >&5
2282 $as_echo "$ac_ct_CC" >&6; }
2284 { $as_echo "$as_me:$LINENO: result
: no
" >&5
2285 $as_echo "no
" >&6; }
2289 test -n "$ac_ct_CC" && break
2292 if test "x
$ac_ct_CC" = x; then
2295 case $cross_compiling:$ac_tool_warned in
2297 { $as_echo "$as_me:$LINENO: WARNING
: using cross tools not prefixed with
host triplet
" >&5
2298 $as_echo "$as_me: WARNING
: using cross tools not prefixed with
host triplet
" >&2;}
2299 ac_tool_warned=yes ;;
2308 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2310 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2311 See \`config.log' for more details.
" >&5
2312 $as_echo "$as_me: error
: no acceptable C compiler found
in \
$PATH
2313 See \
`config.log' for more details." >&2;}
2314 { (exit 1); exit 1; }; }; }
2316 # Provide some information about the compiler.
2317 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
2320 { (ac_try="$ac_compiler --version >&5"
2322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2323 *) ac_try_echo
=$ac_try;;
2325 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2326 $as_echo "$ac_try_echo") >&5
2327 (eval "$ac_compiler --version >&5") 2>&5
2329 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2330 (exit $ac_status); }
2331 { (ac_try
="$ac_compiler -v >&5"
2333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2334 *) ac_try_echo=$ac_try;;
2336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2337 $as_echo "$ac_try_echo") >&5
2338 (eval "$ac_compiler -v >&5") 2>&5
2340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2341 (exit $ac_status); }
2342 { (ac_try="$ac_compiler -V >&5"
2344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2345 *) ac_try_echo
=$ac_try;;
2347 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2348 $as_echo "$ac_try_echo") >&5
2349 (eval "$ac_compiler -V >&5") 2>&5
2351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2352 (exit $ac_status); }
2354 cat >conftest.
$ac_ext <<_ACEOF
2357 cat confdefs.h
>>conftest.
$ac_ext
2358 cat >>conftest.
$ac_ext <<_ACEOF
2359 /* end confdefs.h. */
2369 ac_clean_files_save
=$ac_clean_files
2370 ac_clean_files
="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2371 # Try to create an executable without -o first, disregard a.out.
2372 # It will help us diagnose broken compilers, and finding out an intuition
2374 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2375 $as_echo_n "checking for C compiler default output file name... " >&6; }
2376 ac_link_default
=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2378 # The possible output files:
2379 ac_files
="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2382 for ac_file
in $ac_files
2385 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2386 * ) ac_rmfiles
="$ac_rmfiles $ac_file";;
2391 if { (ac_try
="$ac_link_default"
2393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2394 *) ac_try_echo=$ac_try;;
2396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2397 $as_echo "$ac_try_echo") >&5
2398 (eval "$ac_link_default") 2>&5
2400 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; then
2402 # Autoconf-2.13 could set the ac_cv_exeext variable to `no
'.
2403 # So ignore a value of `no', otherwise this would lead to
`EXEEXT = no'
2404 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2405 # so that the user can short-circuit this test for compilers unknown to
2407 for ac_file in $ac_files ''
2409 test -f "$ac_file" || continue
2411 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2414 # We found the default executable, but exeext='' is most
2418 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2420 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2422 # We set ac_cv_exeext here because the later test for it is not
2423 # safe: cross compilers may not add the suffix if given an `-o'
2424 # argument, so we may need to know it at that point already.
2425 # Even if this section looks crufty: it has the advantage of
2432 test "$ac_cv_exeext" = no && ac_cv_exeext=
2438 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
2439 $as_echo "$ac_file" >&6; }
2440 if test -z "$ac_file"; then
2441 $as_echo "$as_me: failed program was:" >&5
2442 sed 's
/^
/|
/' conftest.$ac_ext >&5
2444 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2445 $as_echo "$as_me: error
: in \
`$ac_pwd':" >&2;}
2446 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
2447 See \`config.log
' for more details." >&5
2448 $as_echo "$as_me: error: C compiler cannot create executables
2449 See \`config.log' for more details.
" >&2;}
2450 { (exit 77); exit 77; }; }; }
2453 ac_exeext=$ac_cv_exeext
2455 # Check that the compiler produces executables we can run. If not, either
2456 # the compiler is broken, or we cross compile.
2457 { $as_echo "$as_me:$LINENO: checking whether the C compiler works
" >&5
2458 $as_echo_n "checking whether the C compiler works...
" >&6; }
2459 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2460 # If not cross compiling, check that we can run a simple program.
2461 if test "$cross_compiling" != yes; then
2462 if { ac_try='./$ac_file'
2463 { (case "(($ac_try" in
2464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2465 *) ac_try_echo=$ac_try;;
2467 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2468 $as_echo "$ac_try_echo") >&5
2469 (eval "$ac_try") 2>&5
2471 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2472 (exit $ac_status); }; }; then
2475 if test "$cross_compiling" = maybe; then
2478 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2480 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2481 If you meant to cross compile, use \`--host'.
2482 See \
`config.log' for more details." >&5
2483 $as_echo "$as_me: error: cannot run C compiled programs.
2484 If you meant to cross compile, use \`--host'.
2485 See \`config.log' for more details.
" >&2;}
2486 { (exit 1); exit 1; }; }; }
2490 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2491 $as_echo "yes" >&6; }
2493 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2494 ac_clean_files=$ac_clean_files_save
2495 # Check that the compiler produces executables we can run. If not, either
2496 # the compiler is broken, or we cross compile.
2497 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2498 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2499 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2500 $as_echo "$cross_compiling" >&6; }
2502 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2503 $as_echo_n "checking
for suffix of executables...
" >&6; }
2504 if { (ac_try="$ac_link"
2506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2507 *) ac_try_echo=$ac_try;;
2509 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2510 $as_echo "$ac_try_echo") >&5
2511 (eval "$ac_link") 2>&5
2513 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2514 (exit $ac_status); }; then
2515 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2516 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2517 # work properly (i.e., refer to `conftest.exe'), while it won't with
2519 for ac_file in conftest.exe conftest conftest.*; do
2520 test -f "$ac_file" || continue
2522 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2523 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2529 { { $as_echo "$as_me:$LINENO: error
: in \
`$ac_pwd':" >&5
2530 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2531 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2532 See \`config.log' for more details.
" >&5
2533 $as_echo "$as_me: error
: cannot compute suffix of executables
: cannot compile and link
2534 See \
`config.log' for more details." >&2;}
2535 { (exit 1); exit 1; }; }; }
2538 rm -f conftest$ac_cv_exeext
2539 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2540 $as_echo "$ac_cv_exeext" >&6; }
2542 rm -f conftest.$ac_ext
2543 EXEEXT=$ac_cv_exeext
2545 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2546 $as_echo_n "checking for suffix of object files... " >&6; }
2547 if test "${ac_cv_objext+set}" = set; then
2548 $as_echo_n "(cached) " >&6
2550 cat >conftest.$ac_ext <<_ACEOF
2553 cat confdefs.h >>conftest.$ac_ext
2554 cat >>conftest.$ac_ext <<_ACEOF
2555 /* end confdefs.h. */
2565 rm -f conftest.o conftest.obj
2566 if { (ac_try="$ac_compile"
2568 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2569 *) ac_try_echo
=$ac_try;;
2571 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2572 $as_echo "$ac_try_echo") >&5
2573 (eval "$ac_compile") 2>&5
2575 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2576 (exit $ac_status); }; then
2577 for ac_file
in conftest.o conftest.obj conftest.
*; do
2578 test -f "$ac_file" ||
continue;
2580 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM
) ;;
2581 *) ac_cv_objext
=`expr "$ac_file" : '.*\.\(.*\)'`
2586 $as_echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.
$ac_ext >&5
2589 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2591 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&5
2593 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details." >&2;}
2595 { (exit 1); exit 1; }; }; }
2598 rm -f conftest.
$ac_cv_objext conftest.
$ac_ext
2600 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2601 $as_echo "$ac_cv_objext" >&6; }
2602 OBJEXT
=$ac_cv_objext
2604 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2605 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2606 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2607 $as_echo_n "(cached) " >&6
2609 cat >conftest.
$ac_ext <<_ACEOF
2612 cat confdefs.h
>>conftest.
$ac_ext
2613 cat >>conftest.
$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2627 rm -f conftest.
$ac_objext
2628 if { (ac_try
="$ac_compile"
2630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2633 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2634 $as_echo "$ac_try_echo") >&5
2635 (eval "$ac_compile") 2>conftest.er1
2637 grep -v '^ *+' conftest.er1 >conftest.err
2639 cat conftest.err >&5
2640 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2641 (exit $ac_status); } && {
2642 test -z "$ac_c_werror_flag" ||
2643 test ! -s conftest.err
2644 } && test -s conftest.$ac_objext; then
2647 $as_echo "$as_me: failed program was:" >&5
2648 sed 's/^/| /' conftest.$ac_ext >&5
2653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2654 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2657 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2658 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2659 if test $ac_compiler_gnu = yes; then
2664 ac_test_CFLAGS=${CFLAGS+set}
2665 ac_save_CFLAGS=$CFLAGS
2666 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2667 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2668 if test "${ac_cv_prog_cc_g+set}" = set; then
2669 $as_echo_n "(cached) " >&6
2671 ac_save_c_werror_flag=$ac_c_werror_flag
2672 ac_c_werror_flag=yes
2675 cat >conftest.$ac_ext <<_ACEOF
2678 cat confdefs.h >>conftest.$ac_ext
2679 cat >>conftest.$ac_ext <<_ACEOF
2680 /* end confdefs.h. */
2690 rm -f conftest.$ac_objext
2691 if { (ac_try="$ac_compile"
2693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2694 *) ac_try_echo
=$ac_try;;
2696 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2697 $as_echo "$ac_try_echo") >&5
2698 (eval "$ac_compile") 2>conftest.er1
2700 grep -v '^ *+' conftest.er1
>conftest.err
2702 cat conftest.err
>&5
2703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2704 (exit $ac_status); } && {
2705 test -z "$ac_c_werror_flag" ||
2706 test ! -s conftest.err
2707 } && test -s conftest.
$ac_objext; then
2710 $as_echo "$as_me: failed program was:" >&5
2711 sed 's/^/| /' conftest.
$ac_ext >&5
2714 cat >conftest.
$ac_ext <<_ACEOF
2717 cat confdefs.h
>>conftest.
$ac_ext
2718 cat >>conftest.
$ac_ext <<_ACEOF
2719 /* end confdefs.h. */
2729 rm -f conftest.
$ac_objext
2730 if { (ac_try
="$ac_compile"
2732 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2733 *) ac_try_echo=$ac_try;;
2735 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2736 $as_echo "$ac_try_echo") >&5
2737 (eval "$ac_compile") 2>conftest.er1
2739 grep -v '^ *+' conftest.er1 >conftest.err
2741 cat conftest.err >&5
2742 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); } && {
2744 test -z "$ac_c_werror_flag" ||
2745 test ! -s conftest.err
2746 } && test -s conftest.$ac_objext; then
2749 $as_echo "$as_me: failed program was:" >&5
2750 sed 's/^/| /' conftest.$ac_ext >&5
2752 ac_c_werror_flag=$ac_save_c_werror_flag
2754 cat >conftest.$ac_ext <<_ACEOF
2757 cat confdefs.h >>conftest.$ac_ext
2758 cat >>conftest.$ac_ext <<_ACEOF
2759 /* end confdefs.h. */
2769 rm -f conftest.$ac_objext
2770 if { (ac_try="$ac_compile"
2772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2773 *) ac_try_echo
=$ac_try;;
2775 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2776 $as_echo "$ac_try_echo") >&5
2777 (eval "$ac_compile") 2>conftest.er1
2779 grep -v '^ *+' conftest.er1
>conftest.err
2781 cat conftest.err
>&5
2782 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2783 (exit $ac_status); } && {
2784 test -z "$ac_c_werror_flag" ||
2785 test ! -s conftest.err
2786 } && test -s conftest.
$ac_objext; then
2789 $as_echo "$as_me: failed program was:" >&5
2790 sed 's/^/| /' conftest.
$ac_ext >&5
2795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2798 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2802 ac_c_werror_flag
=$ac_save_c_werror_flag
2804 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2805 $as_echo "$ac_cv_prog_cc_g" >&6; }
2806 if test "$ac_test_CFLAGS" = set; then
2807 CFLAGS
=$ac_save_CFLAGS
2808 elif test $ac_cv_prog_cc_g = yes; then
2809 if test "$GCC" = yes; then
2815 if test "$GCC" = yes; then
2821 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2822 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2823 if test "${ac_cv_prog_cc_c89+set}" = set; then
2824 $as_echo_n "(cached) " >&6
2826 ac_cv_prog_cc_c89
=no
2828 cat >conftest.
$ac_ext <<_ACEOF
2831 cat confdefs.h
>>conftest.
$ac_ext
2832 cat >>conftest.
$ac_ext <<_ACEOF
2833 /* end confdefs.h. */
2836 #include <sys/types.h>
2837 #include <sys/stat.h>
2838 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2839 struct buf { int x; };
2840 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2841 static char *e (p, i)
2847 static char *f (char * (*g) (char **, int), char **p, ...)
2852 s = g (p, va_arg (v,int));
2857 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2858 function prototypes and stuff, but not '\xHH' hex character constants.
2859 These don't provoke an error unfortunately, instead are silently treated
2860 as 'x'. The following induces an error, until -std is added to get
2861 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2862 array size at least. It's necessary to write '\x00'==0 to get something
2863 that's true only with -std. */
2864 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2866 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2867 inside strings and character constants. */
2869 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2871 int test (int i, double x);
2872 struct s1 {int (*f) (int a);};
2873 struct s2 {int (*f) (double a);};
2874 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2880 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2885 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
2886 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2888 CC
="$ac_save_CC $ac_arg"
2889 rm -f conftest.
$ac_objext
2890 if { (ac_try
="$ac_compile"
2892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2893 *) ac_try_echo=$ac_try;;
2895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2896 $as_echo "$ac_try_echo") >&5
2897 (eval "$ac_compile") 2>conftest.er1
2899 grep -v '^ *+' conftest.er1 >conftest.err
2901 cat conftest.err >&5
2902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2903 (exit $ac_status); } && {
2904 test -z "$ac_c_werror_flag" ||
2905 test ! -s conftest.err
2906 } && test -s conftest.$ac_objext; then
2907 ac_cv_prog_cc_c89=$ac_arg
2909 $as_echo "$as_me: failed program was:" >&5
2910 sed 's/^/| /' conftest.$ac_ext >&5
2915 rm -f core conftest.err conftest.$ac_objext
2916 test "x$ac_cv_prog_cc_c89" != "xno" && break
2918 rm -f conftest.$ac_ext
2923 case "x$ac_cv_prog_cc_c89" in
2925 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2926 $as_echo "none needed" >&6; } ;;
2928 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2929 $as_echo "unsupported" >&6; } ;;
2931 CC="$CC $ac_cv_prog_cc_c89"
2932 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2933 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2938 ac_cpp='$CPP $CPPFLAGS'
2939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2943 ac_cpp='$CPP $CPPFLAGS'
2944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2947 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2948 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2949 # On Suns, sometimes $CPP names a directory.
2950 if test -n "$CPP" && test -d "$CPP"; then
2953 if test -z "$CPP"; then
2954 if test "${ac_cv_prog_CPP+set}" = set; then
2955 $as_echo_n "(cached) " >&6
2957 # Double quotes because CPP needs to be expanded
2958 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2961 for ac_c_preproc_warn_flag in '' yes
2963 # Use a header file that comes with gcc, so configuring glibc
2964 # with a fresh cross-compiler works.
2965 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2966 # <limits.h> exists even on freestanding compilers.
2967 # On the NeXT, cc -E runs the code through the compiler's parser,
2968 # not just through cpp. "Syntax error" is here to catch this case.
2969 cat >conftest.$ac_ext <<_ACEOF
2972 cat confdefs.h >>conftest.$ac_ext
2973 cat >>conftest.$ac_ext <<_ACEOF
2974 /* end confdefs.h. */
2976 # include <limits.h>
2978 # include <assert.h>
2982 if { (ac_try="$ac_cpp conftest.$ac_ext"
2984 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2985 *) ac_try_echo
=$ac_try;;
2987 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2988 $as_echo "$ac_try_echo") >&5
2989 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2991 grep -v '^ *+' conftest.er1
>conftest.err
2993 cat conftest.err
>&5
2994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2995 (exit $ac_status); } >/dev
/null
&& {
2996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2997 test ! -s conftest.err
3001 $as_echo "$as_me: failed program was:" >&5
3002 sed 's/^/| /' conftest.
$ac_ext >&5
3004 # Broken: fails on valid input.
3008 rm -f conftest.err conftest.
$ac_ext
3010 # OK, works on sane cases. Now check whether nonexistent headers
3011 # can be detected and how.
3012 cat >conftest.
$ac_ext <<_ACEOF
3015 cat confdefs.h
>>conftest.
$ac_ext
3016 cat >>conftest.
$ac_ext <<_ACEOF
3017 /* end confdefs.h. */
3018 #include <ac_nonexistent.h>
3020 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3022 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3023 *) ac_try_echo=$ac_try;;
3025 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3026 $as_echo "$ac_try_echo") >&5
3027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3029 grep -v '^ *+' conftest.er1 >conftest.err
3031 cat conftest.err >&5
3032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3033 (exit $ac_status); } >/dev/null && {
3034 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3035 test ! -s conftest.err
3037 # Broken: success on invalid input.
3040 $as_echo "$as_me: failed program was:" >&5
3041 sed 's/^/| /' conftest.$ac_ext >&5
3043 # Passes both tests.
3048 rm -f conftest.err conftest.$ac_ext
3051 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3052 rm -f conftest.err conftest.
$ac_ext
3053 if $ac_preproc_ok; then
3065 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3066 $as_echo "$CPP" >&6; }
3068 for ac_c_preproc_warn_flag
in '' yes
3070 # Use a header file that comes with gcc, so configuring glibc
3071 # with a fresh cross-compiler works.
3072 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3073 # <limits.h> exists even on freestanding compilers.
3074 # On the NeXT, cc -E runs the code through the compiler's parser,
3075 # not just through cpp. "Syntax error" is here to catch this case.
3076 cat >conftest.
$ac_ext <<_ACEOF
3079 cat confdefs.h
>>conftest.
$ac_ext
3080 cat >>conftest.
$ac_ext <<_ACEOF
3081 /* end confdefs.h. */
3083 # include <limits.h>
3085 # include <assert.h>
3089 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3091 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3092 *) ac_try_echo=$ac_try;;
3094 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3095 $as_echo "$ac_try_echo") >&5
3096 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3098 grep -v '^ *+' conftest.er1 >conftest.err
3100 cat conftest.err >&5
3101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); } >/dev/null && {
3103 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3104 test ! -s conftest.err
3108 $as_echo "$as_me: failed program was:" >&5
3109 sed 's/^/| /' conftest.$ac_ext >&5
3111 # Broken: fails on valid input.
3115 rm -f conftest.err conftest.$ac_ext
3117 # OK, works on sane cases. Now check whether nonexistent headers
3118 # can be detected and how.
3119 cat >conftest.$ac_ext <<_ACEOF
3122 cat confdefs.h >>conftest.$ac_ext
3123 cat >>conftest.$ac_ext <<_ACEOF
3124 /* end confdefs.h. */
3125 #include <ac_nonexistent.h>
3127 if { (ac_try="$ac_cpp conftest.$ac_ext"
3129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3130 *) ac_try_echo
=$ac_try;;
3132 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3133 $as_echo "$ac_try_echo") >&5
3134 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3136 grep -v '^ *+' conftest.er1
>conftest.err
3138 cat conftest.err
>&5
3139 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } >/dev
/null
&& {
3141 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3142 test ! -s conftest.err
3144 # Broken: success on invalid input.
3147 $as_echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.
$ac_ext >&5
3150 # Passes both tests.
3155 rm -f conftest.err conftest.
$ac_ext
3158 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3159 rm -f conftest.err conftest.
$ac_ext
3160 if $ac_preproc_ok; then
3163 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3166 See \`config.log' for more details." >&5
3167 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3168 See \`config.log' for more details." >&2;}
3169 { (exit 1); exit 1; }; }; }
3173 ac_cpp
='$CPP $CPPFLAGS'
3174 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3175 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3176 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3179 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3180 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3181 if test "${ac_cv_path_GREP+set}" = set; then
3182 $as_echo_n "(cached) " >&6
3184 if test -z "$GREP"; then
3185 ac_path_GREP_found
=false
3186 # Loop through the user's path and test for each of PROGNAME-LIST
3187 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3188 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3191 test -z "$as_dir" && as_dir
=.
3192 for ac_prog
in grep ggrep
; do
3193 for ac_exec_ext
in '' $ac_executable_extensions; do
3194 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3195 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3196 # Check for GNU ac_path_GREP and select it if it is found.
3197 # Check for GNU $ac_path_GREP
3198 case `"$ac_path_GREP" --version 2>&1` in
3200 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3203 $as_echo_n 0123456789 >"conftest.in"
3206 cat "conftest.in" "conftest.in" >"conftest.tmp"
3207 mv "conftest.tmp" "conftest.in"
3208 cp "conftest.in" "conftest.nl"
3209 $as_echo 'GREP' >> "conftest.nl"
3210 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3211 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3212 ac_count
=`expr $ac_count + 1`
3213 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3214 # Best one so far, save it but keep looking for a better one
3215 ac_cv_path_GREP
="$ac_path_GREP"
3216 ac_path_GREP_max
=$ac_count
3218 # 10*(2^10) chars as input seems more than enough
3219 test $ac_count -gt 10 && break
3221 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3224 $ac_path_GREP_found && break 3
3229 if test -z "$ac_cv_path_GREP"; then
3230 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3231 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3232 { (exit 1); exit 1; }; }
3235 ac_cv_path_GREP
=$GREP
3239 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3240 $as_echo "$ac_cv_path_GREP" >&6; }
3241 GREP
="$ac_cv_path_GREP"
3244 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3245 $as_echo_n "checking for egrep... " >&6; }
3246 if test "${ac_cv_path_EGREP+set}" = set; then
3247 $as_echo_n "(cached) " >&6
3249 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3250 then ac_cv_path_EGREP
="$GREP -E"
3252 if test -z "$EGREP"; then
3253 ac_path_EGREP_found
=false
3254 # Loop through the user's path and test for each of PROGNAME-LIST
3255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3256 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3259 test -z "$as_dir" && as_dir
=.
3260 for ac_prog
in egrep; do
3261 for ac_exec_ext
in '' $ac_executable_extensions; do
3262 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3263 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3264 # Check for GNU ac_path_EGREP and select it if it is found.
3265 # Check for GNU $ac_path_EGREP
3266 case `"$ac_path_EGREP" --version 2>&1` in
3268 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3271 $as_echo_n 0123456789 >"conftest.in"
3274 cat "conftest.in" "conftest.in" >"conftest.tmp"
3275 mv "conftest.tmp" "conftest.in"
3276 cp "conftest.in" "conftest.nl"
3277 $as_echo 'EGREP' >> "conftest.nl"
3278 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3279 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3280 ac_count
=`expr $ac_count + 1`
3281 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3282 # Best one so far, save it but keep looking for a better one
3283 ac_cv_path_EGREP
="$ac_path_EGREP"
3284 ac_path_EGREP_max
=$ac_count
3286 # 10*(2^10) chars as input seems more than enough
3287 test $ac_count -gt 10 && break
3289 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3292 $ac_path_EGREP_found && break 3
3297 if test -z "$ac_cv_path_EGREP"; then
3298 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3299 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3300 { (exit 1); exit 1; }; }
3303 ac_cv_path_EGREP
=$EGREP
3308 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3309 $as_echo "$ac_cv_path_EGREP" >&6; }
3310 EGREP
="$ac_cv_path_EGREP"
3313 cat >conftest.
$ac_ext <<_ACEOF
3316 cat confdefs.h
>>conftest.
$ac_ext
3317 cat >>conftest.
$ac_ext <<_ACEOF
3318 /* end confdefs.h. */
3322 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3323 $as_echo_n "checking for library containing strerror... " >&6; }
3324 if test "${ac_cv_search_strerror+set}" = set; then
3325 $as_echo_n "(cached) " >&6
3327 ac_func_search_save_LIBS
=$LIBS
3328 cat >conftest.
$ac_ext <<_ACEOF
3331 cat confdefs.h
>>conftest.
$ac_ext
3332 cat >>conftest.
$ac_ext <<_ACEOF
3333 /* end confdefs.h. */
3335 /* Override any GCC internal prototype to avoid an error.
3336 Use char because int might match the return type of a GCC
3337 builtin and then its argument prototype would still apply. */
3350 for ac_lib
in '' cposix
; do
3351 if test -z "$ac_lib"; then
3352 ac_res
="none required"
3355 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3357 rm -f conftest.
$ac_objext conftest
$ac_exeext
3358 if { (ac_try
="$ac_link"
3360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3361 *) ac_try_echo=$ac_try;;
3363 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3364 $as_echo "$ac_try_echo") >&5
3365 (eval "$ac_link") 2>conftest.er1
3367 grep -v '^ *+' conftest.er1 >conftest.err
3369 cat conftest.err >&5
3370 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); } && {
3372 test -z "$ac_c_werror_flag" ||
3373 test ! -s conftest.err
3374 } && test -s conftest$ac_exeext && {
3375 test "$cross_compiling" = yes ||
3376 $as_test_x conftest$ac_exeext
3378 ac_cv_search_strerror=$ac_res
3380 $as_echo "$as_me: failed program was:" >&5
3381 sed 's/^/| /' conftest.$ac_ext >&5
3386 rm -rf conftest.dSYM
3387 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3389 if test "${ac_cv_search_strerror+set}" = set; then
3393 if test "${ac_cv_search_strerror+set}" = set; then
3396 ac_cv_search_strerror=no
3399 LIBS=$ac_func_search_save_LIBS
3401 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3402 $as_echo "$ac_cv_search_strerror" >&6; }
3403 ac_res=$ac_cv_search_strerror
3404 if test "$ac_res" != no; then
3405 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3408 for ac_prog in gawk mawk nawk awk
3410 # Extract the first word of "$ac_prog", so it can be a program name with args.
3411 set dummy $ac_prog; ac_word=$2
3412 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3413 $as_echo_n "checking for $ac_word... " >&6; }
3414 if test "${ac_cv_prog_AWK+set}" = set; then
3415 $as_echo_n "(cached) " >&6
3417 if test -n "$AWK"; then
3418 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3424 test -z "$as_dir" && as_dir=.
3425 for ac_exec_ext in '' $ac_executable_extensions; do
3426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3427 ac_cv_prog_AWK="$ac_prog"
3428 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3438 if test -n "$AWK"; then
3439 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3440 $as_echo "$AWK" >&6; }
3442 { $as_echo "$as_me:$LINENO: result: no" >&5
3443 $as_echo "no" >&6; }
3447 test -n "$AWK" && break
3450 # Extract the first word of "strip", so it can be a program name with args.
3451 set dummy strip; ac_word=$2
3452 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3453 $as_echo_n "checking for $ac_word... " >&6; }
3454 if test "${ac_cv_prog_STRIP+set}" = set; then
3455 $as_echo_n "(cached) " >&6
3457 if test -n "$STRIP"; then
3458 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3464 test -z "$as_dir" && as_dir=.
3465 for ac_exec_ext in '' $ac_executable_extensions; do
3466 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3467 ac_cv_prog_STRIP="strip"
3468 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3475 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
3478 STRIP=$ac_cv_prog_STRIP
3479 if test -n "$STRIP"; then
3480 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3481 $as_echo "$STRIP" >&6; }
3483 { $as_echo "$as_me:$LINENO: result: no" >&5
3484 $as_echo "no" >&6; }
3491 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3492 $as_echo_n "checking for ANSI C header files... " >&6; }
3493 if test "${ac_cv_header_stdc+set}" = set; then
3494 $as_echo_n "(cached) " >&6
3496 cat >conftest.$ac_ext <<_ACEOF
3499 cat confdefs.h >>conftest.$ac_ext
3500 cat >>conftest.$ac_ext <<_ACEOF
3501 /* end confdefs.h. */
3515 rm -f conftest.$ac_objext
3516 if { (ac_try="$ac_compile"
3518 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3519 *) ac_try_echo
=$ac_try;;
3521 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3522 $as_echo "$ac_try_echo") >&5
3523 (eval "$ac_compile") 2>conftest.er1
3525 grep -v '^ *+' conftest.er1
>conftest.err
3527 cat conftest.err
>&5
3528 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3529 (exit $ac_status); } && {
3530 test -z "$ac_c_werror_flag" ||
3531 test ! -s conftest.err
3532 } && test -s conftest.
$ac_objext; then
3533 ac_cv_header_stdc
=yes
3535 $as_echo "$as_me: failed program was:" >&5
3536 sed 's/^/| /' conftest.
$ac_ext >&5
3538 ac_cv_header_stdc
=no
3541 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3543 if test $ac_cv_header_stdc = yes; then
3544 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3545 cat >conftest.
$ac_ext <<_ACEOF
3548 cat confdefs.h
>>conftest.
$ac_ext
3549 cat >>conftest.
$ac_ext <<_ACEOF
3550 /* end confdefs.h. */
3554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3555 $EGREP "memchr" >/dev
/null
2>&1; then
3558 ac_cv_header_stdc
=no
3564 if test $ac_cv_header_stdc = yes; then
3565 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3566 cat >conftest.
$ac_ext <<_ACEOF
3569 cat confdefs.h
>>conftest.
$ac_ext
3570 cat >>conftest.
$ac_ext <<_ACEOF
3571 /* end confdefs.h. */
3575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3576 $EGREP "free" >/dev
/null
2>&1; then
3579 ac_cv_header_stdc
=no
3585 if test $ac_cv_header_stdc = yes; then
3586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3587 if test "$cross_compiling" = yes; then
3590 cat >conftest.
$ac_ext <<_ACEOF
3593 cat confdefs.h
>>conftest.
$ac_ext
3594 cat >>conftest.
$ac_ext <<_ACEOF
3595 /* end confdefs.h. */
3598 #if ((' ' & 0x0FF) == 0x020)
3599 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3600 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3602 # define ISLOWER(c) \
3603 (('a' <= (c) && (c) <= 'i') \
3604 || ('j' <= (c) && (c) <= 'r') \
3605 || ('s' <= (c) && (c) <= 'z'))
3606 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3609 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3614 for (i = 0; i < 256; i++)
3615 if (XOR (islower (i), ISLOWER (i))
3616 || toupper (i) != TOUPPER (i))
3621 rm -f conftest
$ac_exeext
3622 if { (ac_try
="$ac_link"
3624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3628 $as_echo "$ac_try_echo") >&5
3629 (eval "$ac_link") 2>&5
3631 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3633 { (case "(($ac_try" in
3634 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3635 *) ac_try_echo
=$ac_try;;
3637 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3638 $as_echo "$ac_try_echo") >&5
3639 (eval "$ac_try") 2>&5
3641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); }; }; then
3645 $as_echo "$as_me: program exited with status $ac_status" >&5
3646 $as_echo "$as_me: failed program was:" >&5
3647 sed 's/^/| /' conftest.
$ac_ext >&5
3650 ac_cv_header_stdc
=no
3652 rm -rf conftest.dSYM
3653 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3659 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3660 $as_echo "$ac_cv_header_stdc" >&6; }
3661 if test $ac_cv_header_stdc = yes; then
3663 cat >>confdefs.h
<<\_ACEOF
3664 #define STDC_HEADERS 1
3669 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3670 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
3671 if test "${ac_cv_header_sys_wait_h+set}" = set; then
3672 $as_echo_n "(cached) " >&6
3674 cat >conftest.
$ac_ext <<_ACEOF
3677 cat confdefs.h
>>conftest.
$ac_ext
3678 cat >>conftest.
$ac_ext <<_ACEOF
3679 /* end confdefs.h. */
3680 #include <sys/types.h>
3681 #include <sys/wait.h>
3683 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3686 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3694 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3699 rm -f conftest.
$ac_objext
3700 if { (ac_try
="$ac_compile"
3702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3703 *) ac_try_echo=$ac_try;;
3705 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3706 $as_echo "$ac_try_echo") >&5
3707 (eval "$ac_compile") 2>conftest.er1
3709 grep -v '^ *+' conftest.er1 >conftest.err
3711 cat conftest.err >&5
3712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3713 (exit $ac_status); } && {
3714 test -z "$ac_c_werror_flag" ||
3715 test ! -s conftest.err
3716 } && test -s conftest.$ac_objext; then
3717 ac_cv_header_sys_wait_h=yes
3719 $as_echo "$as_me: failed program was:" >&5
3720 sed 's/^/| /' conftest.$ac_ext >&5
3722 ac_cv_header_sys_wait_h=no
3725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3727 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3728 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
3729 if test $ac_cv_header_sys_wait_h = yes; then
3731 cat >>confdefs.h <<\_ACEOF
3732 #define HAVE_SYS_WAIT_H 1
3738 if test -z "$CFLAGS"; then
3740 test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
3742 if test "$GCC" = yes; then
3743 gccversion=`"$CC" -dumpversion`
3744 if test "x$gccversion" = "x"; then
3745 gccversion=`"$CC" --version |
sed -e '2,$d' -e 's/darwin.//' -e 's/^[^0-9]*\([0-9]\.[0-9.]*\).*$/\1/g'`
3747 if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
3748 echo 'GCC [34].0.[12] has a bug in the optimizer, disabling "-O#"'
3749 CFLAGS=`echo "$CFLAGS" |
sed 's/-O[23456789]/-O/'`
3751 if test "$gccversion" = "3.1" -o "$gccversion" = "3.2" -o "$gccversion" = "3.2.1" && `echo "$CFLAGS" |
grep -v fno-strength-reduce
>/dev
/null
`; then
3752 echo 'GCC 3.1 and 3.2 have a bug in the optimizer, adding "-fno-strength-reduce"'
3753 CFLAGS="$CFLAGS -fno-strength-reduce"
3758 if test "$cross_compiling" = yes; then
3759 { $as_echo "$as_me:$LINENO: result: cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&5
3760 $as_echo "cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&6; }
3763 test "$GCC" = yes && CPP_MM=M;
3765 if test -f ./toolcheck; then
3766 { $as_echo "$as_me:$LINENO: checking for buggy tools..." >&5
3767 $as_echo "$as_me: checking for buggy tools..." >&6;}
3771 OS_EXTRA_SRC=""; OS_EXTRA_OBJ=""
3773 { $as_echo "$as_me:$LINENO: checking for BeOS" >&5
3774 $as_echo_n "checking for BeOS... " >&6; }
3776 BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o
3777 BEOS=yes; { $as_echo "$as_me:$LINENO: result: yes" >&5
3778 $as_echo "yes" >&6; };;
3779 *) BEOS=no; { $as_echo "$as_me:$LINENO: result: no" >&5
3780 $as_echo "no" >&6; };;
3783 { $as_echo "$as_me:$LINENO: checking for QNX" >&5
3784 $as_echo_n "checking for QNX... " >&6; }
3786 QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o
3787 test -z "$with_x" && with_x=no
3788 QNX=yes; { $as_echo "$as_me:$LINENO: result: yes" >&5
3789 $as_echo "yes" >&6; };;
3790 *) QNX=no; { $as_echo "$as_me:$LINENO: result: no" >&5
3791 $as_echo "no" >&6; };;
3794 { $as_echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
3795 $as_echo_n "checking for Darwin (Mac OS X)... " >&6; }
3796 if test "`(uname
) 2>/dev
/null
`" = Darwin; then
3797 { $as_echo "$as_me:$LINENO: result: yes" >&5
3798 $as_echo "yes" >&6; }
3800 { $as_echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
3801 $as_echo_n "checking --disable-darwin argument... " >&6; }
3802 # Check whether --enable-darwin was given.
3803 if test "${enable_darwin+set}" = set; then
3804 enableval=$enable_darwin;
3809 if test "$enable_darwin" = "yes"; then
3810 { $as_echo "$as_me:$LINENO: result: no" >&5
3811 $as_echo "no" >&6; }
3812 { $as_echo "$as_me:$LINENO: checking if Darwin files are there" >&5
3813 $as_echo_n "checking if Darwin files are there... " >&6; }
3814 if test -f os_macosx.c; then
3815 { $as_echo "$as_me:$LINENO: result: yes" >&5
3816 $as_echo "yes" >&6; }
3818 { $as_echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
3819 $as_echo "no, Darwin support disabled" >&6; }
3823 { $as_echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
3824 $as_echo "yes, Darwin support excluded" >&6; }
3827 { $as_echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
3828 $as_echo_n "checking --with-mac-arch argument... " >&6; }
3830 # Check whether --with-mac-arch was given.
3831 if test "${with_mac_arch+set}" = set; then
3832 withval=$with_mac_arch; MACARCH="$withval"; { $as_echo "$as_me:$LINENO: result: $MACARCH" >&5
3833 $as_echo "$MACARCH" >&6; }
3835 MACARCH="current"; { $as_echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
3836 $as_echo "defaulting to $MACARCH" >&6; }
3840 if test "x$MACARCH" = "xboth"; then
3841 { $as_echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
3842 $as_echo_n "checking for 10.4 universal SDK... " >&6; }
3843 save_cppflags="$CPPFLAGS"
3844 save_cflags="$CFLAGS"
3845 save_ldflags="$LDFLAGS"
3846 CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
3847 cat >conftest.$ac_ext <<_ACEOF
3850 cat confdefs.h >>conftest.$ac_ext
3851 cat >>conftest.$ac_ext <<_ACEOF
3852 /* end confdefs.h. */
3862 rm -f conftest.$ac_objext conftest$ac_exeext
3863 if { (ac_try="$ac_link"
3865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3866 *) ac_try_echo
=$ac_try;;
3868 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3869 $as_echo "$ac_try_echo") >&5
3870 (eval "$ac_link") 2>conftest.er1
3872 grep -v '^ *+' conftest.er1
>conftest.err
3874 cat conftest.err
>&5
3875 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3876 (exit $ac_status); } && {
3877 test -z "$ac_c_werror_flag" ||
3878 test ! -s conftest.err
3879 } && test -s conftest
$ac_exeext && {
3880 test "$cross_compiling" = yes ||
3881 $as_test_x conftest
$ac_exeext
3883 { $as_echo "$as_me:$LINENO: result: found" >&5
3884 $as_echo "found" >&6; }
3886 $as_echo "$as_me: failed program was:" >&5
3887 sed 's/^/| /' conftest.
$ac_ext >&5
3889 { $as_echo "$as_me:$LINENO: result: not found" >&5
3890 $as_echo "not found" >&6; }
3891 CFLAGS
="$save_cflags"
3892 { $as_echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
3893 $as_echo_n "checking if Intel architecture is supported... " >&6; }
3894 CPPFLAGS
="$CPPFLAGS -arch i386"
3895 LDFLAGS
="$save_ldflags -arch i386"
3896 cat >conftest.
$ac_ext <<_ACEOF
3899 cat confdefs.h
>>conftest.
$ac_ext
3900 cat >>conftest.
$ac_ext <<_ACEOF
3901 /* end confdefs.h. */
3911 rm -f conftest.
$ac_objext conftest
$ac_exeext
3912 if { (ac_try
="$ac_link"
3914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3915 *) ac_try_echo=$ac_try;;
3917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3918 $as_echo "$ac_try_echo") >&5
3919 (eval "$ac_link") 2>conftest.er1
3921 grep -v '^ *+' conftest.er1 >conftest.err
3923 cat conftest.err >&5
3924 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3925 (exit $ac_status); } && {
3926 test -z "$ac_c_werror_flag" ||
3927 test ! -s conftest.err
3928 } && test -s conftest$ac_exeext && {
3929 test "$cross_compiling" = yes ||
3930 $as_test_x conftest$ac_exeext
3932 { $as_echo "$as_me:$LINENO: result: yes" >&5
3933 $as_echo "yes" >&6; }; MACARCH="intel"
3935 $as_echo "$as_me: failed program was:" >&5
3936 sed 's/^/| /' conftest.$ac_ext >&5
3938 { $as_echo "$as_me:$LINENO: result: no" >&5
3939 $as_echo "no" >&6; }
3941 CPPFLAGS="$save_cppflags -arch ppc"
3942 LDFLAGS="$save_ldflags -arch ppc"
3945 rm -rf conftest.dSYM
3946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3947 conftest$ac_exeext conftest.$ac_ext
3950 rm -rf conftest.dSYM
3951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3952 conftest$ac_exeext conftest.$ac_ext
3953 elif test "x$MACARCH" = "xintel"; then
3954 CPPFLAGS="$CPPFLAGS -arch intel"
3955 LDFLAGS="$LDFLAGS -arch intel"
3956 elif test "x$MACARCH" = "xppc"; then
3957 CPPFLAGS="$CPPFLAGS -arch ppc"
3958 LDFLAGS="$LDFLAGS -arch ppc"
3961 if test "$enable_darwin" = "yes"; then
3963 OS_EXTRA_SRC="os_macosx.c os_mac_conv.c";
3964 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
3965 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
3966 if test "x$MACARCH" = "xboth"; then
3967 CPPFLAGS="$CPPFLAGS -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon"
3969 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon"
3972 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3982 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3983 inttypes.h stdint.h unistd.h
3985 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3986 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3987 $as_echo_n "checking for $ac_header... " >&6; }
3988 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3989 $as_echo_n "(cached) " >&6
3991 cat >conftest.$ac_ext <<_ACEOF
3994 cat confdefs.h >>conftest.$ac_ext
3995 cat >>conftest.$ac_ext <<_ACEOF
3996 /* end confdefs.h. */
3997 $ac_includes_default
3999 #include <$ac_header>
4001 rm -f conftest.$ac_objext
4002 if { (ac_try="$ac_compile"
4004 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4005 *) ac_try_echo
=$ac_try;;
4007 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4008 $as_echo "$ac_try_echo") >&5
4009 (eval "$ac_compile") 2>conftest.er1
4011 grep -v '^ *+' conftest.er1
>conftest.err
4013 cat conftest.err
>&5
4014 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4015 (exit $ac_status); } && {
4016 test -z "$ac_c_werror_flag" ||
4017 test ! -s conftest.err
4018 } && test -s conftest.
$ac_objext; then
4019 eval "$as_ac_Header=yes"
4021 $as_echo "$as_me: failed program was:" >&5
4022 sed 's/^/| /' conftest.
$ac_ext >&5
4024 eval "$as_ac_Header=no"
4027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4029 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4030 $as_echo "$as_val"'`
4031 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4032 $as_echo "$ac_res" >&6; }
4033 as_val
=`eval 'as_val=${'$as_ac_Header'}
4034 $as_echo "$as_val"'`
4035 if test "x$as_val" = x
""yes; then
4036 cat >>confdefs.h
<<_ACEOF
4037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4045 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4046 { $as_echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
4047 $as_echo_n "checking for Carbon/Carbon.h... " >&6; }
4048 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4049 $as_echo_n "(cached) " >&6
4051 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
4052 $as_echo "$ac_cv_header_Carbon_Carbon_h" >&6; }
4054 # Is the header compilable?
4055 { $as_echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
4056 $as_echo_n "checking Carbon/Carbon.h usability... " >&6; }
4057 cat >conftest.
$ac_ext <<_ACEOF
4060 cat confdefs.h
>>conftest.
$ac_ext
4061 cat >>conftest.
$ac_ext <<_ACEOF
4062 /* end confdefs.h. */
4063 $ac_includes_default
4064 #include <Carbon/Carbon.h>
4066 rm -f conftest.
$ac_objext
4067 if { (ac_try
="$ac_compile"
4069 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4070 *) ac_try_echo=$ac_try;;
4072 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4073 $as_echo "$ac_try_echo") >&5
4074 (eval "$ac_compile") 2>conftest.er1
4076 grep -v '^ *+' conftest.er1 >conftest.err
4078 cat conftest.err >&5
4079 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4080 (exit $ac_status); } && {
4081 test -z "$ac_c_werror_flag" ||
4082 test ! -s conftest.err
4083 } && test -s conftest.$ac_objext; then
4084 ac_header_compiler=yes
4086 $as_echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.$ac_ext >&5
4089 ac_header_compiler=no
4092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4093 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4094 $as_echo "$ac_header_compiler" >&6; }
4096 # Is the header present?
4097 { $as_echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
4098 $as_echo_n "checking Carbon/Carbon.h presence... " >&6; }
4099 cat >conftest.$ac_ext <<_ACEOF
4102 cat confdefs.h >>conftest.$ac_ext
4103 cat >>conftest.$ac_ext <<_ACEOF
4104 /* end confdefs.h. */
4105 #include <Carbon/Carbon.h>
4107 if { (ac_try="$ac_cpp conftest.$ac_ext"
4109 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4110 *) ac_try_echo
=$ac_try;;
4112 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4113 $as_echo "$ac_try_echo") >&5
4114 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4116 grep -v '^ *+' conftest.er1
>conftest.err
4118 cat conftest.err
>&5
4119 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4120 (exit $ac_status); } >/dev
/null
&& {
4121 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4122 test ! -s conftest.err
4124 ac_header_preproc
=yes
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.
$ac_ext >&5
4129 ac_header_preproc
=no
4132 rm -f conftest.err conftest.
$ac_ext
4133 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4134 $as_echo "$ac_header_preproc" >&6; }
4136 # So? What about this header?
4137 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4139 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
4140 $as_echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4141 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
4142 $as_echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
4143 ac_header_preproc
=yes
4146 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
4147 $as_echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
4148 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
4149 $as_echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
4150 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
4151 $as_echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
4152 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
4153 $as_echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
4154 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
4155 $as_echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
4156 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
4157 $as_echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
4161 { $as_echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
4162 $as_echo_n "checking for Carbon/Carbon.h... " >&6; }
4163 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4164 $as_echo_n "(cached) " >&6
4166 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
4168 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
4169 $as_echo "$ac_cv_header_Carbon_Carbon_h" >&6; }
4172 if test "x$ac_cv_header_Carbon_Carbon_h" = x
""yes; then
4178 SAVE_CPPFLAGS
=$CPPFLAGS
4180 CPPFLAGS
="$CPPFLAGS -ObjC"
4181 CFLAGS
="$CFLAGS -ObjC"
4182 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
4183 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
4184 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
4185 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
4186 $as_echo_n "(cached) " >&6
4188 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
4189 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
4191 # Is the header compilable?
4192 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h usability" >&5
4193 $as_echo_n "checking Cocoa/Cocoa.h usability... " >&6; }
4194 cat >conftest.
$ac_ext <<_ACEOF
4197 cat confdefs.h
>>conftest.
$ac_ext
4198 cat >>conftest.
$ac_ext <<_ACEOF
4199 /* end confdefs.h. */
4200 $ac_includes_default
4201 #include <Cocoa/Cocoa.h>
4203 rm -f conftest.
$ac_objext
4204 if { (ac_try
="$ac_compile"
4206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4207 *) ac_try_echo=$ac_try;;
4209 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4210 $as_echo "$ac_try_echo") >&5
4211 (eval "$ac_compile") 2>conftest.er1
4213 grep -v '^ *+' conftest.er1 >conftest.err
4215 cat conftest.err >&5
4216 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); } && {
4218 test -z "$ac_c_werror_flag" ||
4219 test ! -s conftest.err
4220 } && test -s conftest.$ac_objext; then
4221 ac_header_compiler=yes
4223 $as_echo "$as_me: failed program was:" >&5
4224 sed 's/^/| /' conftest.$ac_ext >&5
4226 ac_header_compiler=no
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4231 $as_echo "$ac_header_compiler" >&6; }
4233 # Is the header present?
4234 { $as_echo "$as_me:$LINENO: checking Cocoa/Cocoa.h presence" >&5
4235 $as_echo_n "checking Cocoa/Cocoa.h presence... " >&6; }
4236 cat >conftest.$ac_ext <<_ACEOF
4239 cat confdefs.h >>conftest.$ac_ext
4240 cat >>conftest.$ac_ext <<_ACEOF
4241 /* end confdefs.h. */
4242 #include <Cocoa/Cocoa.h>
4244 if { (ac_try="$ac_cpp conftest.$ac_ext"
4246 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4247 *) ac_try_echo
=$ac_try;;
4249 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4250 $as_echo "$ac_try_echo") >&5
4251 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4253 grep -v '^ *+' conftest.er1
>conftest.err
4255 cat conftest.err
>&5
4256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4257 (exit $ac_status); } >/dev
/null
&& {
4258 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4259 test ! -s conftest.err
4261 ac_header_preproc
=yes
4263 $as_echo "$as_me: failed program was:" >&5
4264 sed 's/^/| /' conftest.
$ac_ext >&5
4266 ac_header_preproc
=no
4269 rm -f conftest.err conftest.
$ac_ext
4270 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4271 $as_echo "$ac_header_preproc" >&6; }
4273 # So? What about this header?
4274 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4276 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&5
4277 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4278 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&5
4279 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the compiler's result" >&2;}
4280 ac_header_preproc
=yes
4283 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&5
4284 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: present but cannot be compiled" >&2;}
4285 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&5
4286 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: check for missing prerequisite headers?" >&2;}
4287 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&5
4288 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: see the Autoconf documentation" >&2;}
4289 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&5
4290 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: section \"Present But Cannot Be Compiled\"" >&2;}
4291 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&5
4292 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: proceeding with the preprocessor's result" >&2;}
4293 { $as_echo "$as_me:$LINENO: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&5
4294 $as_echo "$as_me: WARNING: Cocoa/Cocoa.h: in the future, the compiler will take precedence" >&2;}
4298 { $as_echo "$as_me:$LINENO: checking for Cocoa/Cocoa.h" >&5
4299 $as_echo_n "checking for Cocoa/Cocoa.h... " >&6; }
4300 if test "${ac_cv_header_Cocoa_Cocoa_h+set}" = set; then
4301 $as_echo_n "(cached) " >&6
4303 ac_cv_header_Cocoa_Cocoa_h
=$ac_header_preproc
4305 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cocoa_Cocoa_h" >&5
4306 $as_echo "$ac_cv_header_Cocoa_Cocoa_h" >&6; }
4309 if test "x$ac_cv_header_Cocoa_Cocoa_h" = x
""yes; then
4314 CPPFLAGS
=$SAVE_CPPFLAGS
4317 if test "x$CARBON" = "xyes" -o "x$COCOA" = "xyes"; then
4318 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
4324 if test "$MACARCH" = "intel" -o "$MACARCH" = "both"; then
4325 CFLAGS
=`echo "$CFLAGS" | sed 's/-O[23456789]/-Oz/'`
4329 { $as_echo "$as_me:$LINENO: result: no" >&5
4330 $as_echo "no" >&6; }
4336 if test "$cross_compiling" = no
; then
4337 { $as_echo "$as_me:$LINENO: checking --with-local-dir argument" >&5
4338 $as_echo_n "checking --with-local-dir argument... " >&6; }
4339 have_local_include
=''
4342 # Check whether --with-local-dir was given.
4343 if test "${with_local_dir+set}" = set; then
4344 withval
=$with_local_dir;
4345 local_dir
="$withval"
4349 # avoid adding local dir to LDFLAGS and CPPFLAGS
4353 *) { { $as_echo "$as_me:$LINENO: error: must pass path argument to --with-local-dir" >&5
4354 $as_echo "$as_me: error: must pass path argument to --with-local-dir" >&2;}
4355 { (exit 1); exit 1; }; } ;;
4357 { $as_echo "$as_me:$LINENO: result: $local_dir" >&5
4358 $as_echo "$local_dir" >&6; }
4362 local_dir
=/usr
/local
4363 { $as_echo "$as_me:$LINENO: result: Defaulting to $local_dir" >&5
4364 $as_echo "Defaulting to $local_dir" >&6; }
4368 if test "$GCC" = yes -a "$local_dir" != no
; then
4369 echo 'void f(){}' > conftest.c
4370 have_local_include
=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
4371 have_local_lib
=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
4372 rm -f conftest.c conftest.o
4374 if test -z "$have_local_lib" -a -d "${local_dir}/lib"; then
4375 tt
=`echo "$LDFLAGS" | sed -e "s+-L${local_dir}/lib ++g" -e "s+-L${local_dir}/lib$++g"`
4376 if test "$tt" = "$LDFLAGS"; then
4377 LDFLAGS
="$LDFLAGS -L${local_dir}/lib"
4380 if test -z "$have_local_include" -a -d "${local_dir}/include"; then
4381 tt
=`echo "$CPPFLAGS" | sed -e "s+-I${local_dir}/include ++g" -e "s+-I${local_dir}/include$++g"`
4382 if test "$tt" = "$CPPFLAGS"; then
4383 CPPFLAGS
="$CPPFLAGS -I${local_dir}/include"
4388 { $as_echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
4389 $as_echo_n "checking --with-vim-name argument... " >&6; }
4391 # Check whether --with-vim-name was given.
4392 if test "${with_vim_name+set}" = set; then
4393 withval
=$with_vim_name; VIMNAME
="$withval"; { $as_echo "$as_me:$LINENO: result: $VIMNAME" >&5
4394 $as_echo "$VIMNAME" >&6; }
4396 VIMNAME
="vim"; { $as_echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
4397 $as_echo "Defaulting to $VIMNAME" >&6; }
4401 { $as_echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
4402 $as_echo_n "checking --with-ex-name argument... " >&6; }
4404 # Check whether --with-ex-name was given.
4405 if test "${with_ex_name+set}" = set; then
4406 withval
=$with_ex_name; EXNAME
="$withval"; { $as_echo "$as_me:$LINENO: result: $EXNAME" >&5
4407 $as_echo "$EXNAME" >&6; }
4409 EXNAME
="ex"; { $as_echo "$as_me:$LINENO: result: Defaulting to ex" >&5
4410 $as_echo "Defaulting to ex" >&6; }
4414 { $as_echo "$as_me:$LINENO: checking --with-view-name argument" >&5
4415 $as_echo_n "checking --with-view-name argument... " >&6; }
4417 # Check whether --with-view-name was given.
4418 if test "${with_view_name+set}" = set; then
4419 withval
=$with_view_name; VIEWNAME
="$withval"; { $as_echo "$as_me:$LINENO: result: $VIEWNAME" >&5
4420 $as_echo "$VIEWNAME" >&6; }
4422 VIEWNAME
="view"; { $as_echo "$as_me:$LINENO: result: Defaulting to view" >&5
4423 $as_echo "Defaulting to view" >&6; }
4428 { $as_echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
4429 $as_echo_n "checking --with-global-runtime argument... " >&6; }
4431 # Check whether --with-global-runtime was given.
4432 if test "${with_global_runtime+set}" = set; then
4433 withval
=$with_global_runtime; { $as_echo "$as_me:$LINENO: result: $withval" >&5
4434 $as_echo "$withval" >&6; }; cat >>confdefs.h
<<_ACEOF
4435 #define RUNTIME_GLOBAL "$withval"
4439 { $as_echo "$as_me:$LINENO: result: no" >&5
4440 $as_echo "no" >&6; }
4444 { $as_echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
4445 $as_echo_n "checking --with-modified-by argument... " >&6; }
4447 # Check whether --with-modified-by was given.
4448 if test "${with_modified_by+set}" = set; then
4449 withval
=$with_modified_by; { $as_echo "$as_me:$LINENO: result: $withval" >&5
4450 $as_echo "$withval" >&6; }; cat >>confdefs.h
<<_ACEOF
4451 #define MODIFIED_BY "$withval"
4455 { $as_echo "$as_me:$LINENO: result: no" >&5
4456 $as_echo "no" >&6; }
4460 { $as_echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
4461 $as_echo_n "checking if character set is EBCDIC... " >&6; }
4462 cat >conftest.
$ac_ext <<_ACEOF
4465 cat confdefs.h
>>conftest.
$ac_ext
4466 cat >>conftest.
$ac_ext <<_ACEOF
4467 /* end confdefs.h. */
4472 /* TryCompile function for CharSet.
4473 Treat any failure as ASCII for compatibility with existing art.
4474 Use compile-time rather than run-time tests for cross-compiler
4477 make an error "Character set is not EBCDIC"
4483 rm -f conftest.
$ac_objext
4484 if { (ac_try
="$ac_compile"
4486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4487 *) ac_try_echo=$ac_try;;
4489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4490 $as_echo "$ac_try_echo") >&5
4491 (eval "$ac_compile") 2>conftest.er1
4493 grep -v '^ *+' conftest.er1 >conftest.err
4495 cat conftest.err >&5
4496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4497 (exit $ac_status); } && {
4498 test -z "$ac_c_werror_flag" ||
4499 test ! -s conftest.err
4500 } && test -s conftest.$ac_objext; then
4501 # TryCompile action if true
4504 $as_echo "$as_me: failed program was:" >&5
4505 sed 's/^/| /' conftest.$ac_ext >&5
4507 # TryCompile action if false
4511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4512 # end of TryCompile ])
4513 # end of CacheVal CvEbcdic
4514 { $as_echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
4515 $as_echo "$cf_cv_ebcdic" >&6; }
4516 case "$cf_cv_ebcdic" in #(vi
4517 yes) cat >>confdefs.h <<\_ACEOF
4523 *) line_break='"\\012"';;
4527 if test "$cf_cv_ebcdic" = "yes"; then
4528 { $as_echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
4529 $as_echo_n "checking for OS/390 Unix... " >&6; }
4531 OS/390) OS390Unix="yes";
4532 if test "$CC" = "cc"; then
4536 if test "$CC" = "c89"; then
4543 if test "$ccm" != "1"; then
4545 echo "------------------------------------------"
4546 echo " On OS/390 Unix, the environment variable"
4547 echo " __CC_${ccn}MODE must be set to \"1\"!"
4549 echo " export _CC_${ccn}MODE=1"
4550 echo " and then call configure again."
4551 echo "------------------------------------------"
4554 CFLAGS="$CFLAGS -D_ALL_SOURCE"; LDFLAGS="$LDFLAGS -Wl,EDIT=NO"
4555 { $as_echo "$as_me:$LINENO: result: yes" >&5
4556 $as_echo "yes" >&6; }
4559 { $as_echo "$as_me:$LINENO: result: no" >&5
4560 $as_echo "no" >&6; }
4565 { $as_echo "$as_me:$LINENO: checking --disable-selinux argument" >&5
4566 $as_echo_n "checking --disable-selinux argument... " >&6; }
4567 # Check whether --enable-selinux was given.
4568 if test "${enable_selinux+set}" = set; then
4569 enableval=$enable_selinux;
4571 enable_selinux="yes"
4574 if test "$enable_selinux" = "yes"; then
4575 { $as_echo "$as_me:$LINENO: result: no" >&5
4576 $as_echo "no" >&6; }
4577 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
4578 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
4579 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
4580 $as_echo_n "(cached) " >&6
4582 ac_check_lib_save_LIBS=$LIBS
4583 LIBS="-lselinux $LIBS"
4584 cat >conftest.$ac_ext <<_ACEOF
4587 cat confdefs.h >>conftest.$ac_ext
4588 cat >>conftest.$ac_ext <<_ACEOF
4589 /* end confdefs.h. */
4591 /* Override any GCC internal prototype to avoid an error.
4592 Use char because int might match the return type of a GCC
4593 builtin and then its argument prototype would still apply. */
4597 char is_selinux_enabled ();
4601 return is_selinux_enabled ();
4606 rm -f conftest.$ac_objext conftest$ac_exeext
4607 if { (ac_try="$ac_link"
4609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4610 *) ac_try_echo
=$ac_try;;
4612 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4613 $as_echo "$ac_try_echo") >&5
4614 (eval "$ac_link") 2>conftest.er1
4616 grep -v '^ *+' conftest.er1
>conftest.err
4618 cat conftest.err
>&5
4619 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4620 (exit $ac_status); } && {
4621 test -z "$ac_c_werror_flag" ||
4622 test ! -s conftest.err
4623 } && test -s conftest
$ac_exeext && {
4624 test "$cross_compiling" = yes ||
4625 $as_test_x conftest
$ac_exeext
4627 ac_cv_lib_selinux_is_selinux_enabled
=yes
4629 $as_echo "$as_me: failed program was:" >&5
4630 sed 's/^/| /' conftest.
$ac_ext >&5
4632 ac_cv_lib_selinux_is_selinux_enabled
=no
4635 rm -rf conftest.dSYM
4636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4637 conftest
$ac_exeext conftest.
$ac_ext
4638 LIBS
=$ac_check_lib_save_LIBS
4640 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
4641 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
4642 if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x
""yes; then
4643 LIBS
="$LIBS -lselinux"
4644 cat >>confdefs.h
<<\_ACEOF
4645 #define HAVE_SELINUX 1
4651 { $as_echo "$as_me:$LINENO: result: yes" >&5
4652 $as_echo "yes" >&6; }
4656 { $as_echo "$as_me:$LINENO: checking --with-features argument" >&5
4657 $as_echo_n "checking --with-features argument... " >&6; }
4659 # Check whether --with-features was given.
4660 if test "${with_features+set}" = set; then
4661 withval
=$with_features; features
="$withval"; { $as_echo "$as_me:$LINENO: result: $features" >&5
4662 $as_echo "$features" >&6; }
4664 features
="normal"; { $as_echo "$as_me:$LINENO: result: Defaulting to normal" >&5
4665 $as_echo "Defaulting to normal" >&6; }
4672 tiny
) cat >>confdefs.h
<<\_ACEOF
4676 small
) cat >>confdefs.h
<<\_ACEOF
4677 #define FEAT_SMALL 1
4680 normal
) cat >>confdefs.h
<<\_ACEOF
4681 #define FEAT_NORMAL 1
4683 dovimdiff
="installvimdiff";
4684 dogvimdiff
="installgvimdiff" ;;
4685 big
) cat >>confdefs.h
<<\_ACEOF
4688 dovimdiff
="installvimdiff";
4689 dogvimdiff
="installgvimdiff" ;;
4690 huge
) cat >>confdefs.h
<<\_ACEOF
4693 dovimdiff
="installvimdiff";
4694 dogvimdiff
="installgvimdiff" ;;
4695 *) { $as_echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
4696 $as_echo "Sorry, $features is not supported" >&6; } ;;
4702 { $as_echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
4703 $as_echo_n "checking --with-compiledby argument... " >&6; }
4705 # Check whether --with-compiledby was given.
4706 if test "${with_compiledby+set}" = set; then
4707 withval
=$with_compiledby; compiledby
="$withval"; { $as_echo "$as_me:$LINENO: result: $withval" >&5
4708 $as_echo "$withval" >&6; }
4710 compiledby
=""; { $as_echo "$as_me:$LINENO: result: no" >&5
4711 $as_echo "no" >&6; }
4716 { $as_echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
4717 $as_echo_n "checking --disable-xsmp argument... " >&6; }
4718 # Check whether --enable-xsmp was given.
4719 if test "${enable_xsmp+set}" = set; then
4720 enableval
=$enable_xsmp;
4726 if test "$enable_xsmp" = "yes"; then
4727 { $as_echo "$as_me:$LINENO: result: no" >&5
4728 $as_echo "no" >&6; }
4729 { $as_echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
4730 $as_echo_n "checking --disable-xsmp-interact argument... " >&6; }
4731 # Check whether --enable-xsmp-interact was given.
4732 if test "${enable_xsmp_interact+set}" = set; then
4733 enableval
=$enable_xsmp_interact;
4735 enable_xsmp_interact
="yes"
4738 if test "$enable_xsmp_interact" = "yes"; then
4739 { $as_echo "$as_me:$LINENO: result: no" >&5
4740 $as_echo "no" >&6; }
4741 cat >>confdefs.h
<<\_ACEOF
4742 #define USE_XSMP_INTERACT 1
4746 { $as_echo "$as_me:$LINENO: result: yes" >&5
4747 $as_echo "yes" >&6; }
4750 { $as_echo "$as_me:$LINENO: result: yes" >&5
4751 $as_echo "yes" >&6; }
4754 { $as_echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
4755 $as_echo_n "checking --enable-mzschemeinterp argument... " >&6; }
4756 # Check whether --enable-mzschemeinterp was given.
4757 if test "${enable_mzschemeinterp+set}" = set; then
4758 enableval
=$enable_mzschemeinterp;
4760 enable_mzschemeinterp
="no"
4763 { $as_echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
4764 $as_echo "$enable_mzschemeinterp" >&6; }
4766 if test "$enable_mzschemeinterp" = "yes"; then
4769 { $as_echo "$as_me:$LINENO: checking --with-plthome argument" >&5
4770 $as_echo_n "checking --with-plthome argument... " >&6; }
4772 # Check whether --with-plthome was given.
4773 if test "${with_plthome+set}" = set; then
4774 withval
=$with_plthome; with_plthome
="$withval"; { $as_echo "$as_me:$LINENO: result: $with_plthome" >&5
4775 $as_echo "$with_plthome" >&6; }
4777 with_plthome
="";{ $as_echo "$as_me:$LINENO: result: \"no\"" >&5
4778 $as_echo "\"no\"" >&6; }
4782 if test "X$with_plthome" != "X"; then
4783 vi_cv_path_mzscheme_pfx
="$with_plthome"
4785 { $as_echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
4786 $as_echo_n "checking PLTHOME environment var... " >&6; }
4787 if test "X$PLTHOME" != "X"; then
4788 { $as_echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
4789 $as_echo "\"$PLTHOME\"" >&6; }
4790 vi_cv_path_mzscheme_pfx
="$PLTHOME"
4792 { $as_echo "$as_me:$LINENO: result: not set" >&5
4793 $as_echo "not set" >&6; }
4794 # Extract the first word of "mzscheme", so it can be a program name with args.
4795 set dummy mzscheme
; ac_word
=$2
4796 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4797 $as_echo_n "checking for $ac_word... " >&6; }
4798 if test "${ac_cv_path_vi_cv_path_mzscheme+set}" = set; then
4799 $as_echo_n "(cached) " >&6
4801 case $vi_cv_path_mzscheme in
4803 ac_cv_path_vi_cv_path_mzscheme
="$vi_cv_path_mzscheme" # Let the user override the test with a path.
4806 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4810 test -z "$as_dir" && as_dir
=.
4811 for ac_exec_ext
in '' $ac_executable_extensions; do
4812 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4813 ac_cv_path_vi_cv_path_mzscheme
="$as_dir/$ac_word$ac_exec_ext"
4814 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4824 vi_cv_path_mzscheme
=$ac_cv_path_vi_cv_path_mzscheme
4825 if test -n "$vi_cv_path_mzscheme"; then
4826 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
4827 $as_echo "$vi_cv_path_mzscheme" >&6; }
4829 { $as_echo "$as_me:$LINENO: result: no" >&5
4830 $as_echo "no" >&6; }
4835 if test "X$vi_cv_path_mzscheme" != "X"; then
4836 lsout
=`ls -l $vi_cv_path_mzscheme`
4837 if echo "$lsout" |
grep -e '->' >/dev
/null
2>/dev
/null
; then
4838 vi_cv_path_mzscheme
=`echo "$lsout" | sed 's/.*-> \(.*\)/\1/'`
4842 if test "X$vi_cv_path_mzscheme" != "X"; then
4843 { $as_echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
4844 $as_echo_n "checking MzScheme install prefix... " >&6; }
4845 if test "${vi_cv_path_mzscheme_pfx+set}" = set; then
4846 $as_echo_n "(cached) " >&6
4848 echo "(display (simplify-path \
4849 (build-path (call-with-values \
4850 (lambda () (split-path (find-system-path (quote exec-file)))) \
4851 (lambda (base name must-be-dir?) base)) (quote up))))" > mzdirs.scm
4852 vi_cv_path_mzscheme_pfx
=`${vi_cv_path_mzscheme} -r mzdirs.scm | \
4855 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
4856 $as_echo "$vi_cv_path_mzscheme_pfx" >&6; }
4863 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
4864 { $as_echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
4865 $as_echo_n "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... " >&6; }
4866 if test -f $vi_cv_path_mzscheme_pfx/include
/scheme.h
; then
4867 SCHEME_INC
=${vi_cv_path_mzscheme_pfx}/include
4868 { $as_echo "$as_me:$LINENO: result: yes" >&5
4869 $as_echo "yes" >&6; }
4871 { $as_echo "$as_me:$LINENO: result: no" >&5
4872 $as_echo "no" >&6; }
4873 { $as_echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include/plt" >&5
4874 $as_echo_n "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include/plt... " >&6; }
4875 if test -f $vi_cv_path_mzscheme_pfx/include
/plt
/scheme.h
; then
4876 { $as_echo "$as_me:$LINENO: result: yes" >&5
4877 $as_echo "yes" >&6; }
4878 SCHEME_INC
=${vi_cv_path_mzscheme_pfx}/include
/plt
4880 { $as_echo "$as_me:$LINENO: result: no" >&5
4881 $as_echo "no" >&6; }
4882 { $as_echo "$as_me:$LINENO: checking if scheme.h can be found in /usr/include/plt/" >&5
4883 $as_echo_n "checking if scheme.h can be found in /usr/include/plt/... " >&6; }
4884 if test -f /usr
/include
/plt
/scheme.h
; then
4885 { $as_echo "$as_me:$LINENO: result: yes" >&5
4886 $as_echo "yes" >&6; }
4887 SCHEME_INC
=/usr
/include
/plt
4889 { $as_echo "$as_me:$LINENO: result: no" >&5
4890 $as_echo "no" >&6; }
4891 vi_cv_path_mzscheme_pfx
=
4897 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
4898 if test "x$MACOSX" = "xyes"; then
4899 MZSCHEME_LIBS
="-framework PLT_MzScheme"
4900 elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"; then
4901 MZSCHEME_LIBS
="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.a"
4902 MZSCHEME_CFLAGS
="-DMZ_PRECISE_GC"
4903 elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then
4904 MZSCHEME_LIBS
="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"
4906 if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzscheme3m.so"; then
4907 MZSCHEME_LIBS
="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme3m"
4908 MZSCHEME_CFLAGS
="-DMZ_PRECISE_GC"
4910 MZSCHEME_LIBS
="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc"
4912 if test "$GCC" = yes; then
4913 MZSCHEME_LIBS
="${MZSCHEME_LIBS} -Wl,-rpath -Wl,${vi_cv_path_mzscheme_pfx}/lib"
4914 elif test "`(uname) 2>/dev/null`" = SunOS
&&
4915 uname
-r |
grep '^5' >/dev
/null
; then
4916 MZSCHEME_LIBS
="${MZSCHEME_LIBS} -R ${vi_cv_path_mzscheme_pfx}/lib"
4919 if test -d $vi_cv_path_mzscheme_pfx/lib
/plt
/collects
; then
4920 SCHEME_COLLECTS
=lib
/plt
/
4922 if test -f "${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects/scheme/base.ss" ; then
4923 MZSCHEME_EXTRA
="mzscheme_base.c"
4924 MZSCHEME_CFLAGS
="${MZSCHEME_CFLAGS} -DINCLUDE_MZSCHEME_BASE"
4925 MZSCHEME_MZC
="${vi_cv_path_mzscheme_pfx}/bin/mzc"
4927 MZSCHEME_CFLAGS
="${MZSCHEME_CFLAGS} -I${SCHEME_INC} \
4928 -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects\"'"
4929 MZSCHEME_SRC
="if_mzsch.c"
4930 MZSCHEME_OBJ
="objects/if_mzsch.o"
4931 MZSCHEME_PRO
="if_mzsch.pro"
4932 cat >>confdefs.h
<<\_ACEOF
4933 #define FEAT_MZSCHEME 1
4947 { $as_echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
4948 $as_echo_n "checking --enable-perlinterp argument... " >&6; }
4949 # Check whether --enable-perlinterp was given.
4950 if test "${enable_perlinterp+set}" = set; then
4951 enableval
=$enable_perlinterp;
4953 enable_perlinterp
="no"
4956 { $as_echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
4957 $as_echo "$enable_perlinterp" >&6; }
4958 if test "$enable_perlinterp" = "yes"; then
4960 # Extract the first word of "perl", so it can be a program name with args.
4961 set dummy perl
; ac_word
=$2
4962 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_path_vi_cv_path_perl+set}" = set; then
4965 $as_echo_n "(cached) " >&6
4967 case $vi_cv_path_perl in
4969 ac_cv_path_vi_cv_path_perl
="$vi_cv_path_perl" # Let the user override the test with a path.
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir
=.
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4979 ac_cv_path_vi_cv_path_perl
="$as_dir/$ac_word$ac_exec_ext"
4980 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4990 vi_cv_path_perl
=$ac_cv_path_vi_cv_path_perl
4991 if test -n "$vi_cv_path_perl"; then
4992 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
4993 $as_echo "$vi_cv_path_perl" >&6; }
4995 { $as_echo "$as_me:$LINENO: result: no" >&5
4996 $as_echo "no" >&6; }
5000 if test "X$vi_cv_path_perl" != "X"; then
5001 { $as_echo "$as_me:$LINENO: checking Perl version" >&5
5002 $as_echo_n "checking Perl version... " >&6; }
5003 if $vi_cv_path_perl -e 'require 5.003_01' >/dev
/null
2>/dev
/null
; then
5004 eval `$vi_cv_path_perl -V:usethreads`
5005 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
5008 if $vi_cv_path_perl -e 'require 5.6.0' >/dev
/null
2>/dev
/null
; then
5009 eval `$vi_cv_path_perl -V:use5005threads`
5010 if test "X$use5005threads" = "XUNKNOWN" -o "X$use5005threads" = "Xundef"; then
5014 { $as_echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
5015 $as_echo ">>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6; }
5019 { $as_echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
5020 $as_echo ">>> Perl 5.5 with threads cannot be used <<<" >&6; }
5023 if test $badthreads = no
; then
5024 { $as_echo "$as_me:$LINENO: result: OK" >&5
5025 $as_echo "OK" >&6; }
5026 eval `$vi_cv_path_perl -V:shrpenv`
5027 if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
5030 vi_cv_perllib
=`$vi_cv_path_perl -MConfig -e 'print $Config{privlibexp}'`
5032 perlcppflags
=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
5033 -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//'`
5034 perllibs
=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
5035 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
5036 -e 's/-bE:perl.exp//' -e 's/-lc //'`
5037 perlldflags
=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
5038 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
5040 { $as_echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
5041 $as_echo_n "checking if compile and link flags for Perl are sane... " >&6; }
5044 ldflags_save
=$LDFLAGS
5045 CFLAGS
="$CFLAGS $perlcppflags"
5046 LIBS
="$LIBS $perllibs"
5047 LDFLAGS
="$perlldflags $LDFLAGS"
5048 cat >conftest.
$ac_ext <<_ACEOF
5051 cat confdefs.h
>>conftest.
$ac_ext
5052 cat >>conftest.
$ac_ext <<_ACEOF
5053 /* end confdefs.h. */
5063 rm -f conftest.
$ac_objext conftest
$ac_exeext
5064 if { (ac_try
="$ac_link"
5066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5067 *) ac_try_echo=$ac_try;;
5069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5070 $as_echo "$ac_try_echo") >&5
5071 (eval "$ac_link") 2>conftest.er1
5073 grep -v '^ *+' conftest.er1 >conftest.err
5075 cat conftest.err >&5
5076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5077 (exit $ac_status); } && {
5078 test -z "$ac_c_werror_flag" ||
5079 test ! -s conftest.err
5080 } && test -s conftest$ac_exeext && {
5081 test "$cross_compiling" = yes ||
5082 $as_test_x conftest$ac_exeext
5084 { $as_echo "$as_me:$LINENO: result: yes" >&5
5085 $as_echo "yes" >&6; }; perl_ok=yes
5087 $as_echo "$as_me: failed program was:" >&5
5088 sed 's/^/| /' conftest.$ac_ext >&5
5090 { $as_echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
5091 $as_echo "no: PERL DISABLED" >&6; }; perl_ok=no
5094 rm -rf conftest.dSYM
5095 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5096 conftest$ac_exeext conftest.$ac_ext
5099 LDFLAGS=$ldflags_save
5100 if test $perl_ok = yes; then
5101 if test "X$perlcppflags" != "X"; then
5102 PERL_CFLAGS=`echo "$perlcppflags" |
sed -e 's/-pipe //' -e 's/-W[^ ]*//'`
5104 if test "X$perlldflags" != "X"; then
5105 LDFLAGS="$perlldflags $LDFLAGS"
5108 PERL_SRC="auto/if_perl.c if_perlsfio.c"
5109 PERL_OBJ="objects/if_perl.o objects/if_perlsfio.o"
5110 PERL_PRO="if_perl.pro if_perlsfio.pro"
5111 cat >>confdefs.h <<\_ACEOF
5118 { $as_echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
5119 $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
5123 if test "x$MACOSX" = "xyes"; then
5124 dir=/System/Library/Perl
5125 darwindir=$dir/darwin
5126 if test -d $darwindir; then
5129 dir=/System/Library/Perl/5.8.1
5130 darwindir=$dir/darwin-thread-multi-2level
5131 if test -d $darwindir; then
5135 if test -n "$PERL"; then
5137 PERL_CFLAGS="-DFEAT_PERL -I$darwindir/CORE"
5138 PERL_OBJ="objects/if_perl.o objects/if_perlsfio.o $darwindir/auto/DynaLoader/DynaLoader.a"
5139 PERL_LIBS="-L$darwindir/CORE -lperl"
5150 { $as_echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
5151 $as_echo_n "checking --enable-pythoninterp argument... " >&6; }
5152 # Check whether --enable-pythoninterp was given.
5153 if test "${enable_pythoninterp+set}" = set; then
5154 enableval=$enable_pythoninterp;
5156 enable_pythoninterp="no"
5159 { $as_echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
5160 $as_echo "$enable_pythoninterp" >&6; }
5161 if test "$enable_pythoninterp" = "yes"; then
5162 # Extract the first word of "python", so it can be a program name with args.
5163 set dummy python; ac_word=$2
5164 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5165 $as_echo_n "checking for $ac_word... " >&6; }
5166 if test "${ac_cv_path_vi_cv_path_python+set}" = set; then
5167 $as_echo_n "(cached) " >&6
5169 case $vi_cv_path_python in
5171 ac_cv_path_vi_cv_path_python="$vi_cv_path_python" # Let the user override the test with a path.
5174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 test -z "$as_dir" && as_dir=.
5179 for ac_exec_ext in '' $ac_executable_extensions; do
5180 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5181 ac_cv_path_vi_cv_path_python="$as_dir/$ac_word$ac_exec_ext"
5182 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5192 vi_cv_path_python=$ac_cv_path_vi_cv_path_python
5193 if test -n "$vi_cv_path_python"; then
5194 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
5195 $as_echo "$vi_cv_path_python" >&6; }
5197 { $as_echo "$as_me:$LINENO: result: no" >&5
5198 $as_echo "no" >&6; }
5202 if test "X$vi_cv_path_python" != "X"; then
5204 { $as_echo "$as_me:$LINENO: checking Python version" >&5
5205 $as_echo_n "checking Python version... " >&6; }
5206 if test "${vi_cv_var_python_version+set}" = set; then
5207 $as_echo_n "(cached) " >&6
5209 vi_cv_var_python_version=`
5210 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'`
5213 { $as_echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
5214 $as_echo "$vi_cv_var_python_version" >&6; }
5216 { $as_echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
5217 $as_echo_n "checking Python is 1.4 or better... " >&6; }
5218 if ${vi_cv_path_python} -c \
5219 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)"
5221 { $as_echo "$as_me:$LINENO: result: yep" >&5
5222 $as_echo "yep" >&6; }
5224 { $as_echo "$as_me:$LINENO: checking Python's install prefix" >&5
5225 $as_echo_n "checking Python's install prefix... " >&6; }
5226 if test "${vi_cv_path_python_pfx+set}" = set; then
5227 $as_echo_n "(cached) " >&6
5229 vi_cv_path_python_pfx=`
5230 ${vi_cv_path_python} -c \
5231 "import sys; print sys.prefix"`
5233 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
5234 $as_echo "$vi_cv_path_python_pfx" >&6; }
5236 { $as_echo "$as_me:$LINENO: checking Python's execution prefix" >&5
5237 $as_echo_n "checking Python's execution prefix... " >&6; }
5238 if test "${vi_cv_path_python_epfx+set}" = set; then
5239 $as_echo_n "(cached) " >&6
5241 vi_cv_path_python_epfx=`
5242 ${vi_cv_path_python} -c \
5243 "import sys; print sys.exec_prefix"`
5245 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
5246 $as_echo "$vi_cv_path_python_epfx" >&6; }
5249 if test "${vi_cv_path_pythonpath+set}" = set; then
5250 $as_echo_n "(cached) " >&6
5252 vi_cv_path_pythonpath=`
5254 ${vi_cv_path_python} -c \
5255 "import sys, string; print string.join(sys.path,':')"`
5261 # Check whether --with-python-config-dir was given.
5262 if test "${with_python_config_dir+set}" = set; then
5263 withval=$with_python_config_dir; vi_cv_path_python_conf="${withval}"
5267 { $as_echo "$as_me:$LINENO: checking Python's configuration directory" >&5
5268 $as_echo_n "checking Python's configuration directory... " >&6; }
5269 if test "${vi_cv_path_python_conf+set}" = set; then
5270 $as_echo_n "(cached) " >&6
5273 vi_cv_path_python_conf=
5274 for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
5275 for subdir in lib share; do
5276 d="${path}/${subdir}/python${vi_cv_var_python_version}/config"
5277 if test -d "$d" && test -f "$d/config.c"; then
5278 vi_cv_path_python_conf="$d"
5284 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
5285 $as_echo "$vi_cv_path_python_conf" >&6; }
5287 PYTHON_CONFDIR="${vi_cv_path_python_conf}"
5289 if test "X$PYTHON_CONFDIR" = "X"; then
5290 { $as_echo "$as_me:$LINENO: result: can't find it!" >&5
5291 $as_echo "can't find it!" >&6; }
5294 if test "${vi_cv_path_python_plibs+set}" = set; then
5295 $as_echo_n "(cached) " >&6
5299 tmp_mkf="$pwd/config-PyMake$$"
5300 cat -- "${PYTHON_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
5302 @echo "python_MODLIBS='$(MODLIBS)'"
5303 @echo "python_LIBS='$(LIBS)'"
5304 @echo "python_SYSLIBS='$(SYSLIBS)'"
5305 @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
5307 eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ |
sed '/ directory /d'`"
5308 rm -f -- "${tmp_mkf}"
5309 if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
5310 "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
5311 vi_cv_path_python_plibs="-framework Python"
5313 if test "${vi_cv_var_python_version}" = "1.4"; then
5314 vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a"
5316 vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
5318 vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_MODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}"
5319 vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs |
sed s
/-ltermcap//`
5325 PYTHON_LIBS="${vi_cv_path_python_plibs}"
5326 if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
5327 PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}"
5329 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}"
5331 PYTHON_SRC="if_python.c"
5332 if test "x$MACOSX" = "xyes"; then
5333 PYTHON_OBJ="objects/if_python.o"
5335 PYTHON_OBJ="objects/if_python.o objects/py_config.o"
5337 if test "${vi_cv_var_python_version}" = "1.4"; then
5338 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o"
5340 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'"
5342 { $as_echo "$as_me:$LINENO: checking if -pthread should be used" >&5
5343 $as_echo_n "checking if -pthread should be used... " >&6; }
5346 if test "`(uname
) 2>/dev
/null
`" != Darwin; then
5347 test "$GCC" = yes && threadsafe_flag="-pthread"
5348 if test "`(uname
) 2>/dev
/null
`" = FreeBSD; then
5349 threadsafe_flag="-D_THREAD_SAFE"
5350 thread_lib="-pthread"
5354 if test -n "$threadsafe_flag"; then
5356 CFLAGS="$CFLAGS $threadsafe_flag"
5357 LIBS="$LIBS $thread_lib"
5358 cat >conftest.$ac_ext <<_ACEOF
5361 cat confdefs.h >>conftest.$ac_ext
5362 cat >>conftest.$ac_ext <<_ACEOF
5363 /* end confdefs.h. */
5373 rm -f conftest.$ac_objext conftest$ac_exeext
5374 if { (ac_try="$ac_link"
5376 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5377 *) ac_try_echo
=$ac_try;;
5379 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5380 $as_echo "$ac_try_echo") >&5
5381 (eval "$ac_link") 2>conftest.er1
5383 grep -v '^ *+' conftest.er1
>conftest.err
5385 cat conftest.err
>&5
5386 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5387 (exit $ac_status); } && {
5388 test -z "$ac_c_werror_flag" ||
5389 test ! -s conftest.err
5390 } && test -s conftest
$ac_exeext && {
5391 test "$cross_compiling" = yes ||
5392 $as_test_x conftest
$ac_exeext
5394 { $as_echo "$as_me:$LINENO: result: yes" >&5
5395 $as_echo "yes" >&6; }; PYTHON_CFLAGS
="$PYTHON_CFLAGS $threadsafe_flag"
5397 $as_echo "$as_me: failed program was:" >&5
5398 sed 's/^/| /' conftest.
$ac_ext >&5
5400 { $as_echo "$as_me:$LINENO: result: no" >&5
5401 $as_echo "no" >&6; }; LIBS
=$libs_save_old
5405 rm -rf conftest.dSYM
5406 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5407 conftest
$ac_exeext conftest.
$ac_ext
5410 { $as_echo "$as_me:$LINENO: result: no" >&5
5411 $as_echo "no" >&6; }
5414 { $as_echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
5415 $as_echo_n "checking if compile and link flags for Python are sane... " >&6; }
5418 CFLAGS
="$CFLAGS $PYTHON_CFLAGS"
5419 LIBS
="$LIBS $PYTHON_LIBS"
5420 cat >conftest.
$ac_ext <<_ACEOF
5423 cat confdefs.h
>>conftest.
$ac_ext
5424 cat >>conftest.
$ac_ext <<_ACEOF
5425 /* end confdefs.h. */
5435 rm -f conftest.
$ac_objext conftest
$ac_exeext
5436 if { (ac_try
="$ac_link"
5438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5439 *) ac_try_echo=$ac_try;;
5441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5442 $as_echo "$ac_try_echo") >&5
5443 (eval "$ac_link") 2>conftest.er1
5445 grep -v '^ *+' conftest.er1 >conftest.err
5447 cat conftest.err >&5
5448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5449 (exit $ac_status); } && {
5450 test -z "$ac_c_werror_flag" ||
5451 test ! -s conftest.err
5452 } && test -s conftest$ac_exeext && {
5453 test "$cross_compiling" = yes ||
5454 $as_test_x conftest$ac_exeext
5456 { $as_echo "$as_me:$LINENO: result: yes" >&5
5457 $as_echo "yes" >&6; }; python_ok=yes
5459 $as_echo "$as_me: failed program was:" >&5
5460 sed 's/^/| /' conftest.$ac_ext >&5
5462 { $as_echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
5463 $as_echo "no: PYTHON DISABLED" >&6; }; python_ok=no
5466 rm -rf conftest.dSYM
5467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5468 conftest$ac_exeext conftest.$ac_ext
5471 if test $python_ok = yes; then
5472 cat >>confdefs.h <<\_ACEOF
5473 #define FEAT_PYTHON 1
5486 { $as_echo "$as_me:$LINENO: result: too old" >&5
5487 $as_echo "too old" >&6; }
5498 { $as_echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
5499 $as_echo_n "checking --enable-tclinterp argument... " >&6; }
5500 # Check whether --enable-tclinterp was given.
5501 if test "${enable_tclinterp+set}" = set; then
5502 enableval=$enable_tclinterp;
5504 enable_tclinterp="no"
5507 { $as_echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
5508 $as_echo "$enable_tclinterp" >&6; }
5510 if test "$enable_tclinterp" = "yes"; then
5512 { $as_echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
5513 $as_echo_n "checking --with-tclsh argument... " >&6; }
5515 # Check whether --with-tclsh was given.
5516 if test "${with_tclsh+set}" = set; then
5517 withval=$with_tclsh; tclsh_name="$withval"; { $as_echo "$as_me:$LINENO: result: $tclsh_name" >&5
5518 $as_echo "$tclsh_name" >&6; }
5520 tclsh_name="tclsh8.5"; { $as_echo "$as_me:$LINENO: result: no" >&5
5521 $as_echo "no" >&6; }
5524 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5525 set dummy $tclsh_name; ac_word=$2
5526 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5527 $as_echo_n "checking for $ac_word... " >&6; }
5528 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5529 $as_echo_n "(cached) " >&6
5531 case $vi_cv_path_tcl in
5533 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5540 test -z "$as_dir" && as_dir=.
5541 for ac_exec_ext in '' $ac_executable_extensions; do
5542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5543 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5544 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5554 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5555 if test -n "$vi_cv_path_tcl"; then
5556 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5557 $as_echo "$vi_cv_path_tcl" >&6; }
5559 { $as_echo "$as_me:$LINENO: result: no" >&5
5560 $as_echo "no" >&6; }
5566 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.5"; then
5567 tclsh_name="tclsh8.4"
5568 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5569 set dummy $tclsh_name; ac_word=$2
5570 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5571 $as_echo_n "checking for $ac_word... " >&6; }
5572 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5573 $as_echo_n "(cached) " >&6
5575 case $vi_cv_path_tcl in
5577 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 test -z "$as_dir" && as_dir=.
5585 for ac_exec_ext in '' $ac_executable_extensions; do
5586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5587 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5588 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5598 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5599 if test -n "$vi_cv_path_tcl"; then
5600 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5601 $as_echo "$vi_cv_path_tcl" >&6; }
5603 { $as_echo "$as_me:$LINENO: result: no" >&5
5604 $as_echo "no" >&6; }
5609 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then
5610 tclsh_name="tclsh8.2"
5611 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5612 set dummy $tclsh_name; ac_word=$2
5613 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5614 $as_echo_n "checking for $ac_word... " >&6; }
5615 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5616 $as_echo_n "(cached) " >&6
5618 case $vi_cv_path_tcl in
5620 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5623 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 test -z "$as_dir" && as_dir=.
5628 for ac_exec_ext in '' $ac_executable_extensions; do
5629 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5630 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5631 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5642 if test -n "$vi_cv_path_tcl"; then
5643 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5644 $as_echo "$vi_cv_path_tcl" >&6; }
5646 { $as_echo "$as_me:$LINENO: result: no" >&5
5647 $as_echo "no" >&6; }
5652 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.2"; then
5653 tclsh_name="tclsh8.0"
5654 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5655 set dummy $tclsh_name; ac_word=$2
5656 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5657 $as_echo_n "checking for $ac_word... " >&6; }
5658 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5659 $as_echo_n "(cached) " >&6
5661 case $vi_cv_path_tcl in
5663 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5666 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5670 test -z "$as_dir" && as_dir=.
5671 for ac_exec_ext in '' $ac_executable_extensions; do
5672 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5673 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5674 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5684 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5685 if test -n "$vi_cv_path_tcl"; then
5686 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5687 $as_echo "$vi_cv_path_tcl" >&6; }
5689 { $as_echo "$as_me:$LINENO: result: no" >&5
5690 $as_echo "no" >&6; }
5695 if test "X$vi_cv_path_tcl" = "X"; then
5697 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5698 set dummy $tclsh_name; ac_word=$2
5699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5700 $as_echo_n "checking for $ac_word... " >&6; }
5701 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5702 $as_echo_n "(cached) " >&6
5704 case $vi_cv_path_tcl in
5706 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5713 test -z "$as_dir" && as_dir=.
5714 for ac_exec_ext in '' $ac_executable_extensions; do
5715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5716 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5717 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5727 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5728 if test -n "$vi_cv_path_tcl"; then
5729 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5730 $as_echo "$vi_cv_path_tcl" >&6; }
5732 { $as_echo "$as_me:$LINENO: result: no" >&5
5733 $as_echo "no" >&6; }
5738 if test "X$vi_cv_path_tcl" != "X"; then
5739 { $as_echo "$as_me:$LINENO: checking Tcl version" >&5
5740 $as_echo_n "checking Tcl version... " >&6; }
5741 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then
5742 tclver=`echo 'puts [info tclversion]' |
$vi_cv_path_tcl -`
5743 { $as_echo "$as_me:$LINENO: result: $tclver - OK" >&5
5744 $as_echo "$tclver - OK" >&6; };
5745 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 -`
5747 { $as_echo "$as_me:$LINENO: checking for location of Tcl include" >&5
5748 $as_echo_n "checking for location of Tcl include... " >&6; }
5749 if test "x$MACOSX" != "xyes"; then
5750 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver"
5752 tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
5755 for try in $tclinc; do
5756 if test -f "$try/tcl.h"; then
5757 { $as_echo "$as_me:$LINENO: result: $try/tcl.h" >&5
5758 $as_echo "$try/tcl.h" >&6; }
5763 if test -z "$TCL_INC"; then
5764 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
5765 $as_echo "<not found>" >&6; }
5768 if test -z "$SKIP_TCL"; then
5769 { $as_echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
5770 $as_echo_n "checking for location of tclConfig.sh script... " >&6; }
5771 if test "x$MACOSX" != "xyes"; then
5772 tclcnf=`echo $tclinc |
sed s
/include
/lib
/g
`
5773 tclcnf="$tclcnf `echo $tclinc |
sed s
/include
/lib64
/g
`"
5775 tclcnf="/System/Library/Frameworks/Tcl.framework"
5777 for try in $tclcnf; do
5778 if test -f $try/tclConfig.sh; then
5779 { $as_echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
5780 $as_echo "$try/tclConfig.sh" >&6; }
5782 TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
5783 TCL_DEFS=`echo $TCL_DEFS |
sed -e 's/\\\\ /\\\\X/g' |
tr ' ' '\012' |
sed -e '/^[^-]/d' -e '/^-[^D]/d' -e '/-D[^_]/d' -e 's/-D_/ -D_/' |
tr '\012' ' ' |
sed -e 's/\\\\X/\\\\ /g'`
5787 if test -z "$TCL_LIBS"; then
5788 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
5789 $as_echo "<not found>" >&6; }
5790 { $as_echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
5791 $as_echo_n "checking for Tcl library by myself... " >&6; }
5792 tcllib=`echo $tclinc |
sed s
/include
/lib
/g
`
5793 tcllib="$tcllib `echo $tclinc |
sed s
/include
/lib64
/g
`"
5794 for ext in .so .a ; do
5795 for ver in "" $tclver ; do
5796 for try in $tcllib ; do
5798 if test -f $try/lib$trylib ; then
5799 { $as_echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
5800 $as_echo "$try/lib$trylib" >&6; }
5801 TCL_LIBS="-L$try -ltcl$ver -ldl -lm"
5802 if test "`(uname
) 2>/dev
/null
`" = SunOS &&
5803 uname -r | grep '^5' >/dev/null; then
5804 TCL_LIBS="$TCL_LIBS -R $try"
5811 if test -z "$TCL_LIBS"; then
5812 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
5813 $as_echo "<not found>" >&6; }
5817 if test -z "$SKIP_TCL"; then
5818 cat >>confdefs.h <<\_ACEOF
5823 TCL_OBJ=objects/if_tcl.o
5825 TCL_CFLAGS="-I$TCL_INC $TCL_DEFS"
5829 { $as_echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
5830 $as_echo "too old; need Tcl version 8.0 or later" >&6; }
5840 { $as_echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
5841 $as_echo_n "checking --enable-rubyinterp argument... " >&6; }
5842 # Check whether --enable-rubyinterp was given.
5843 if test "${enable_rubyinterp+set}" = set; then
5844 enableval=$enable_rubyinterp;
5846 enable_rubyinterp="no"
5849 { $as_echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
5850 $as_echo "$enable_rubyinterp" >&6; }
5851 if test "$enable_rubyinterp" = "yes"; then
5853 # Extract the first word of "ruby", so it can be a program name with args.
5854 set dummy ruby; ac_word=$2
5855 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then
5858 $as_echo_n "(cached) " >&6
5860 case $vi_cv_path_ruby in
5862 ac_cv_path_vi_cv_path_ruby="$vi_cv_path_ruby" # Let the user override the test with a path.
5865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5869 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5872 ac_cv_path_vi_cv_path_ruby="$as_dir/$ac_word$ac_exec_ext"
5873 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5883 vi_cv_path_ruby=$ac_cv_path_vi_cv_path_ruby
5884 if test -n "$vi_cv_path_ruby"; then
5885 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
5886 $as_echo "$vi_cv_path_ruby" >&6; }
5888 { $as_echo "$as_me:$LINENO: result: no" >&5
5889 $as_echo "no" >&6; }
5893 if test "X$vi_cv_path_ruby" != "X"; then
5894 { $as_echo "$as_me:$LINENO: checking Ruby version" >&5
5895 $as_echo_n "checking Ruby version... " >&6; }
5896 if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
5897 { $as_echo "$as_me:$LINENO: result: OK" >&5
5898 $as_echo "OK" >&6; }
5899 { $as_echo "$as_me:$LINENO: checking Ruby header files" >&5
5900 $as_echo_n "checking Ruby header files... " >&6; }
5901 rubyhdrdir=`$vi_cv_path_ruby -r mkmf
-e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev
/null
`
5902 if test "X$rubyhdrdir" != "X"; then
5903 { $as_echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
5904 $as_echo "$rubyhdrdir" >&6; }
5905 RUBY_CFLAGS="-I$rubyhdrdir"
5906 rubylibs=`$vi_cv_path_ruby -r rbconfig
-e 'print Config::CONFIG["LIBS"]'`
5907 if test "X$rubylibs" != "X"; then
5908 RUBY_LIBS="$rubylibs"
5910 librubyarg=`$vi_cv_path_ruby -r rbconfig
-e 'print Config.expand(Config::CONFIG["LIBRUBYARG"])'`
5911 if test -f "$rubyhdrdir/$librubyarg"; then
5912 librubyarg="$rubyhdrdir/$librubyarg"
5914 rubylibdir=`$vi_cv_path_ruby -r rbconfig
-e 'print Config.expand(Config::CONFIG["libdir"])'`
5915 if test -f "$rubylibdir/$librubyarg"; then
5916 librubyarg="$rubylibdir/$librubyarg"
5917 elif test "$librubyarg" = "libruby.a"; then
5920 librubyarg=`$vi_cv_path_ruby -r rbconfig
-e "print '$librubyarg'.gsub(/-L\./, %'-L#{Config.expand(Config::CONFIG[\"libdir\"])}')"`
5924 if test "X$librubyarg" != "X"; then
5925 RUBY_LIBS="$librubyarg $RUBY_LIBS"
5927 rubyldflags=`$vi_cv_path_ruby -r rbconfig
-e 'print Config::CONFIG["LDFLAGS"]'`
5928 if test "X$rubyldflags" != "X"; then
5929 LDFLAGS="$rubyldflags $LDFLAGS"
5931 RUBY_SRC="if_ruby.c"
5932 RUBY_OBJ="objects/if_ruby.o"
5933 RUBY_PRO="if_ruby.pro"
5934 cat >>confdefs.h <<\_ACEOF
5939 { $as_echo "$as_me:$LINENO: result: not found" >&5
5940 $as_echo "not found" >&6; }
5943 { $as_echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
5944 $as_echo "too old; need Ruby version 1.6.0 or later" >&6; }
5954 { $as_echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
5955 $as_echo_n "checking --enable-cscope argument... " >&6; }
5956 # Check whether --enable-cscope was given.
5957 if test "${enable_cscope+set}" = set; then
5958 enableval=$enable_cscope;
5963 { $as_echo "$as_me:$LINENO: result: $enable_cscope" >&5
5964 $as_echo "$enable_cscope" >&6; }
5965 if test "$enable_cscope" = "yes"; then
5966 cat >>confdefs.h <<\_ACEOF
5967 #define FEAT_CSCOPE 1
5972 { $as_echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
5973 $as_echo_n "checking --enable-workshop argument... " >&6; }
5974 # Check whether --enable-workshop was given.
5975 if test "${enable_workshop+set}" = set; then
5976 enableval=$enable_workshop;
5978 enable_workshop="no"
5981 { $as_echo "$as_me:$LINENO: result: $enable_workshop" >&5
5982 $as_echo "$enable_workshop" >&6; }
5983 if test "$enable_workshop" = "yes"; then
5984 cat >>confdefs.h <<\_ACEOF
5985 #define FEAT_SUN_WORKSHOP 1
5988 WORKSHOP_SRC="workshop.c integration.c"
5990 WORKSHOP_OBJ="objects/workshop.o objects/integration.o"
5992 if test "${enable_gui-xxx}" = xxx; then
5997 { $as_echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
5998 $as_echo_n "checking --disable-netbeans argument... " >&6; }
5999 # Check whether --enable-netbeans was given.
6000 if test "${enable_netbeans+set}" = set; then
6001 enableval=$enable_netbeans;
6003 enable_netbeans="yes"
6006 if test "$enable_netbeans" = "yes"; then
6007 { $as_echo "$as_me:$LINENO: result: no" >&5
6008 $as_echo "no" >&6; }
6010 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
6011 $as_echo_n "checking for socket in -lsocket... " >&6; }
6012 if test "${ac_cv_lib_socket_socket+set}" = set; then
6013 $as_echo_n "(cached) " >&6
6015 ac_check_lib_save_LIBS=$LIBS
6016 LIBS="-lsocket $LIBS"
6017 cat >conftest.$ac_ext <<_ACEOF
6020 cat confdefs.h >>conftest.$ac_ext
6021 cat >>conftest.$ac_ext <<_ACEOF
6022 /* end confdefs.h. */
6024 /* Override any GCC internal prototype to avoid an error.
6025 Use char because int might match the return type of a GCC
6026 builtin and then its argument prototype would still apply. */
6039 rm -f conftest.$ac_objext conftest$ac_exeext
6040 if { (ac_try="$ac_link"
6042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6043 *) ac_try_echo
=$ac_try;;
6045 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6046 $as_echo "$ac_try_echo") >&5
6047 (eval "$ac_link") 2>conftest.er1
6049 grep -v '^ *+' conftest.er1
>conftest.err
6051 cat conftest.err
>&5
6052 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6053 (exit $ac_status); } && {
6054 test -z "$ac_c_werror_flag" ||
6055 test ! -s conftest.err
6056 } && test -s conftest
$ac_exeext && {
6057 test "$cross_compiling" = yes ||
6058 $as_test_x conftest
$ac_exeext
6060 ac_cv_lib_socket_socket
=yes
6062 $as_echo "$as_me: failed program was:" >&5
6063 sed 's/^/| /' conftest.
$ac_ext >&5
6065 ac_cv_lib_socket_socket
=no
6068 rm -rf conftest.dSYM
6069 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6070 conftest
$ac_exeext conftest.
$ac_ext
6071 LIBS
=$ac_check_lib_save_LIBS
6073 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
6074 $as_echo "$ac_cv_lib_socket_socket" >&6; }
6075 if test "x$ac_cv_lib_socket_socket" = x
""yes; then
6076 cat >>confdefs.h
<<_ACEOF
6077 #define HAVE_LIBSOCKET 1
6080 LIBS
="-lsocket $LIBS"
6085 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6086 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
6087 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6088 $as_echo_n "(cached) " >&6
6090 ac_check_lib_save_LIBS
=$LIBS
6092 cat >conftest.
$ac_ext <<_ACEOF
6095 cat confdefs.h
>>conftest.
$ac_ext
6096 cat >>conftest.
$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6099 /* Override any GCC internal prototype to avoid an error.
6100 Use char because int might match the return type of a GCC
6101 builtin and then its argument prototype would still apply. */
6105 char gethostbyname ();
6109 return gethostbyname ();
6114 rm -f conftest.
$ac_objext conftest
$ac_exeext
6115 if { (ac_try
="$ac_link"
6117 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6118 *) ac_try_echo=$ac_try;;
6120 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6121 $as_echo "$ac_try_echo") >&5
6122 (eval "$ac_link") 2>conftest.er1
6124 grep -v '^ *+' conftest.er1 >conftest.err
6126 cat conftest.err >&5
6127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6128 (exit $ac_status); } && {
6129 test -z "$ac_c_werror_flag" ||
6130 test ! -s conftest.err
6131 } && test -s conftest$ac_exeext && {
6132 test "$cross_compiling" = yes ||
6133 $as_test_x conftest$ac_exeext
6135 ac_cv_lib_nsl_gethostbyname=yes
6137 $as_echo "$as_me: failed program was:" >&5
6138 sed 's/^/| /' conftest.$ac_ext >&5
6140 ac_cv_lib_nsl_gethostbyname=no
6143 rm -rf conftest.dSYM
6144 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6145 conftest$ac_exeext conftest.$ac_ext
6146 LIBS=$ac_check_lib_save_LIBS
6148 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6149 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
6150 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
6151 cat >>confdefs.h <<_ACEOF
6152 #define HAVE_LIBNSL 1
6159 { $as_echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
6160 $as_echo_n "checking whether compiling netbeans integration is possible... " >&6; }
6161 cat >conftest.$ac_ext <<_ACEOF
6164 cat confdefs.h >>conftest.$ac_ext
6165 cat >>conftest.$ac_ext <<_ACEOF
6166 /* end confdefs.h. */
6173 #include <netinet/in.h>
6175 #include <sys/types.h>
6176 #include <sys/socket.h>
6177 /* Check bitfields */
6179 unsigned int initDone:1;
6187 /* Check creating a socket. */
6188 struct sockaddr_in server;
6189 (void)socket(AF_INET, SOCK_STREAM, 0);
6191 (void)gethostbyname("microsoft.com");
6192 if (errno == ECONNREFUSED)
6193 (void)connect(1, (struct sockaddr *)&server, sizeof(server));
6199 rm -f conftest.$ac_objext conftest$ac_exeext
6200 if { (ac_try="$ac_link"
6202 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6203 *) ac_try_echo
=$ac_try;;
6205 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6206 $as_echo "$ac_try_echo") >&5
6207 (eval "$ac_link") 2>conftest.er1
6209 grep -v '^ *+' conftest.er1
>conftest.err
6211 cat conftest.err
>&5
6212 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6213 (exit $ac_status); } && {
6214 test -z "$ac_c_werror_flag" ||
6215 test ! -s conftest.err
6216 } && test -s conftest
$ac_exeext && {
6217 test "$cross_compiling" = yes ||
6218 $as_test_x conftest
$ac_exeext
6220 { $as_echo "$as_me:$LINENO: result: yes" >&5
6221 $as_echo "yes" >&6; }
6223 $as_echo "$as_me: failed program was:" >&5
6224 sed 's/^/| /' conftest.
$ac_ext >&5
6226 { $as_echo "$as_me:$LINENO: result: no" >&5
6227 $as_echo "no" >&6; }; enable_netbeans
="no"
6230 rm -rf conftest.dSYM
6231 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6232 conftest
$ac_exeext conftest.
$ac_ext
6234 { $as_echo "$as_me:$LINENO: result: yes" >&5
6235 $as_echo "yes" >&6; }
6237 if test "$enable_netbeans" = "yes"; then
6238 cat >>confdefs.h
<<\_ACEOF
6239 #define FEAT_NETBEANS_INTG 1
6242 NETBEANS_SRC
="netbeans.c"
6244 NETBEANS_OBJ
="objects/netbeans.o"
6248 { $as_echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
6249 $as_echo_n "checking --enable-sniff argument... " >&6; }
6250 # Check whether --enable-sniff was given.
6251 if test "${enable_sniff+set}" = set; then
6252 enableval
=$enable_sniff;
6257 { $as_echo "$as_me:$LINENO: result: $enable_sniff" >&5
6258 $as_echo "$enable_sniff" >&6; }
6259 if test "$enable_sniff" = "yes"; then
6260 cat >>confdefs.h
<<\_ACEOF
6261 #define FEAT_SNIFF 1
6264 SNIFF_SRC
="if_sniff.c"
6266 SNIFF_OBJ
="objects/if_sniff.o"
6270 { $as_echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
6271 $as_echo_n "checking --enable-multibyte argument... " >&6; }
6272 # Check whether --enable-multibyte was given.
6273 if test "${enable_multibyte+set}" = set; then
6274 enableval
=$enable_multibyte;
6276 enable_multibyte
="no"
6279 { $as_echo "$as_me:$LINENO: result: $enable_multibyte" >&5
6280 $as_echo "$enable_multibyte" >&6; }
6281 if test "$enable_multibyte" = "yes"; then
6282 cat >>confdefs.h
<<\_ACEOF
6283 #define FEAT_MBYTE 1
6288 { $as_echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
6289 $as_echo_n "checking --enable-hangulinput argument... " >&6; }
6290 # Check whether --enable-hangulinput was given.
6291 if test "${enable_hangulinput+set}" = set; then
6292 enableval
=$enable_hangulinput;
6294 enable_hangulinput
="no"
6297 { $as_echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
6298 $as_echo "$enable_hangulinput" >&6; }
6300 { $as_echo "$as_me:$LINENO: checking --enable-xim argument" >&5
6301 $as_echo_n "checking --enable-xim argument... " >&6; }
6302 # Check whether --enable-xim was given.
6303 if test "${enable_xim+set}" = set; then
6304 enableval
=$enable_xim; { $as_echo "$as_me:$LINENO: result: $enable_xim" >&5
6305 $as_echo "$enable_xim" >&6; }
6307 enable_xim
="auto"; { $as_echo "$as_me:$LINENO: result: defaulting to auto" >&5
6308 $as_echo "defaulting to auto" >&6; }
6312 { $as_echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
6313 $as_echo_n "checking --enable-fontset argument... " >&6; }
6314 # Check whether --enable-fontset was given.
6315 if test "${enable_fontset+set}" = set; then
6316 enableval
=$enable_fontset;
6321 { $as_echo "$as_me:$LINENO: result: $enable_fontset" >&5
6322 $as_echo "$enable_fontset" >&6; }
6324 test -z "$with_x" && with_x
=yes
6325 test "${enable_gui-yes}" != no
-a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && with_x
=yes
6326 if test "$with_x" = no
; then
6327 { $as_echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
6328 $as_echo "defaulting to: don't HAVE_X11" >&6; }
6331 # Extract the first word of "xmkmf", so it can be a program name with args.
6332 set dummy xmkmf
; ac_word
=$2
6333 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if test "${ac_cv_path_xmkmfpath+set}" = set; then
6336 $as_echo_n "(cached) " >&6
6340 ac_cv_path_xmkmfpath
="$xmkmfpath" # Let the user override the test with a path.
6343 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6347 test -z "$as_dir" && as_dir
=.
6348 for ac_exec_ext
in '' $ac_executable_extensions; do
6349 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6350 ac_cv_path_xmkmfpath
="$as_dir/$ac_word$ac_exec_ext"
6351 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6361 xmkmfpath
=$ac_cv_path_xmkmfpath
6362 if test -n "$xmkmfpath"; then
6363 { $as_echo "$as_me:$LINENO: result: $xmkmfpath" >&5
6364 $as_echo "$xmkmfpath" >&6; }
6366 { $as_echo "$as_me:$LINENO: result: no" >&5
6367 $as_echo "no" >&6; }
6372 { $as_echo "$as_me:$LINENO: checking for X" >&5
6373 $as_echo_n "checking for X... " >&6; }
6376 # Check whether --with-x was given.
6377 if test "${with_x+set}" = set; then
6381 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6382 if test "x$with_x" = xno
; then
6383 # The user explicitly disabled X.
6386 case $x_includes,$x_libraries in #(
6387 *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
6388 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
6389 { (exit 1); exit 1; }; };; #(
6390 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
6391 $as_echo_n "(cached) " >&6
6393 # One or both of the vars are not set, and there is no cached value.
6394 ac_x_includes
=no ac_x_libraries
=no
6395 rm -f -r conftest.dir
6396 if mkdir conftest.dir
; then
6398 cat >Imakefile
<<'_ACEOF'
6400 @echo incroot='${INCROOT}'
6402 @echo usrlibdir='${USRLIBDIR}'
6404 @echo libdir='${LIBDIR}'
6406 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6407 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6408 for ac_var
in incroot usrlibdir libdir
; do
6409 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6411 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6412 for ac_extension
in a so sl dylib la dll
; do
6413 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
6414 test -f "$ac_im_libdir/libX11.$ac_extension"; then
6415 ac_im_usrlibdir
=$ac_im_libdir; break
6418 # Screen out bogus values from the imake configuration. They are
6419 # bogus both because they are the default anyway, and because
6420 # using them would break gcc on systems where it needs fixed includes.
6421 case $ac_im_incroot in
6422 /usr
/include
) ac_x_includes
= ;;
6423 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6425 case $ac_im_usrlibdir in
6426 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
6427 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6431 rm -f -r conftest.dir
6434 # Standard set of common directories for X headers.
6435 # Check X11 before X11Rn because it is often a symlink to the current release.
6447 /usr/local/X11/include
6448 /usr/local/X11R6/include
6449 /usr/local/X11R5/include
6450 /usr/local/X11R4/include
6452 /usr/local/include/X11
6453 /usr/local/include/X11R6
6454 /usr/local/include/X11R5
6455 /usr/local/include/X11R4
6459 /usr/XFree86/include/X11
6463 /usr/unsupported/include
6465 /usr/local/x11r5/include
6466 /usr/lpp/Xamples/include
6468 /usr/openwin/include
6469 /usr/openwin/share/include'
6471 if test "$ac_x_includes" = no
; then
6472 # Guess where to find include files, by looking for Xlib.h.
6473 # First, try using that file with no special directory specified.
6474 cat >conftest.
$ac_ext <<_ACEOF
6477 cat confdefs.h
>>conftest.
$ac_ext
6478 cat >>conftest.
$ac_ext <<_ACEOF
6479 /* end confdefs.h. */
6480 #include <X11/Xlib.h>
6482 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6484 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6485 *) ac_try_echo=$ac_try;;
6487 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6488 $as_echo "$ac_try_echo") >&5
6489 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6491 grep -v '^ *+' conftest.er1 >conftest.err
6493 cat conftest.err >&5
6494 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); } >/dev/null && {
6496 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6497 test ! -s conftest.err
6499 # We can compile using X headers with no special include directory.
6502 $as_echo "$as_me: failed program was:" >&5
6503 sed 's/^/| /' conftest.$ac_ext >&5
6505 for ac_dir in $ac_x_header_dirs; do
6506 if test -r "$ac_dir/X11/Xlib.h"; then
6507 ac_x_includes=$ac_dir
6513 rm -f conftest.err conftest.$ac_ext
6514 fi # $ac_x_includes = no
6516 if test "$ac_x_libraries" = no; then
6517 # Check for the libraries.
6518 # See if we find them without any special options.
6519 # Don't add to $LIBS permanently.
6522 cat >conftest.$ac_ext <<_ACEOF
6525 cat confdefs.h >>conftest.$ac_ext
6526 cat >>conftest.$ac_ext <<_ACEOF
6527 /* end confdefs.h. */
6528 #include <X11/Xlib.h>
6537 rm -f conftest.$ac_objext conftest$ac_exeext
6538 if { (ac_try="$ac_link"
6540 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6541 *) ac_try_echo
=$ac_try;;
6543 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6544 $as_echo "$ac_try_echo") >&5
6545 (eval "$ac_link") 2>conftest.er1
6547 grep -v '^ *+' conftest.er1
>conftest.err
6549 cat conftest.err
>&5
6550 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); } && {
6552 test -z "$ac_c_werror_flag" ||
6553 test ! -s conftest.err
6554 } && test -s conftest
$ac_exeext && {
6555 test "$cross_compiling" = yes ||
6556 $as_test_x conftest
$ac_exeext
6559 # We can link X programs with no special library path.
6562 $as_echo "$as_me: failed program was:" >&5
6563 sed 's/^/| /' conftest.
$ac_ext >&5
6566 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6568 # Don't even attempt the hair of trying to link an X program!
6569 for ac_extension
in a so sl dylib la dll
; do
6570 if test -r "$ac_dir/libX11.$ac_extension"; then
6571 ac_x_libraries
=$ac_dir
6578 rm -rf conftest.dSYM
6579 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6580 conftest
$ac_exeext conftest.
$ac_ext
6581 fi # $ac_x_libraries = no
6583 case $ac_x_includes,$ac_x_libraries in #(
6585 # Didn't find X, or a directory has "'" in its name.
6586 ac_cv_have_x
="have_x=no";; #(
6588 # Record where we found X for the cache.
6589 ac_cv_have_x
="have_x=yes\
6590 ac_x_includes='$ac_x_includes'\
6591 ac_x_libraries='$ac_x_libraries'"
6597 eval "$ac_cv_have_x"
6600 if test "$have_x" != yes; then
6601 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
6602 $as_echo "$have_x" >&6; }
6605 # If each of the values was on the command line, it overrides each guess.
6606 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6607 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6608 # Update the cache value to reflect the command line values.
6609 ac_cv_have_x
="have_x=yes\
6610 ac_x_includes='$x_includes'\
6611 ac_x_libraries='$x_libraries'"
6612 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
6613 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
6616 if test "$no_x" = yes; then
6617 # Not all programs may use this symbol, but it does not hurt to define it.
6619 cat >>confdefs.h
<<\_ACEOF
6620 #define X_DISPLAY_MISSING 1
6623 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6625 if test -n "$x_includes"; then
6626 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6629 # It would also be nice to do this for all -L options, not just this one.
6630 if test -n "$x_libraries"; then
6631 X_LIBS
="$X_LIBS -L$x_libraries"
6632 # For Solaris; some versions of Sun CC require a space after -R and
6633 # others require no space. Words are not sufficient . . . .
6634 { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
6635 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
6636 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
6637 ac_xsave_c_werror_flag
=$ac_c_werror_flag
6638 ac_c_werror_flag
=yes
6639 cat >conftest.
$ac_ext <<_ACEOF
6642 cat confdefs.h
>>conftest.
$ac_ext
6643 cat >>conftest.
$ac_ext <<_ACEOF
6644 /* end confdefs.h. */
6654 rm -f conftest.
$ac_objext conftest
$ac_exeext
6655 if { (ac_try
="$ac_link"
6657 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6658 *) ac_try_echo=$ac_try;;
6660 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6661 $as_echo "$ac_try_echo") >&5
6662 (eval "$ac_link") 2>conftest.er1
6664 grep -v '^ *+' conftest.er1 >conftest.err
6666 cat conftest.err >&5
6667 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } && {
6669 test -z "$ac_c_werror_flag" ||
6670 test ! -s conftest.err
6671 } && test -s conftest$ac_exeext && {
6672 test "$cross_compiling" = yes ||
6673 $as_test_x conftest$ac_exeext
6675 { $as_echo "$as_me:$LINENO: result: no" >&5
6676 $as_echo "no" >&6; }
6677 X_LIBS="$X_LIBS -R$x_libraries"
6679 $as_echo "$as_me: failed program was:" >&5
6680 sed 's/^/| /' conftest.$ac_ext >&5
6682 LIBS="$ac_xsave_LIBS -R $x_libraries"
6683 cat >conftest.$ac_ext <<_ACEOF
6686 cat confdefs.h >>conftest.$ac_ext
6687 cat >>conftest.$ac_ext <<_ACEOF
6688 /* end confdefs.h. */
6698 rm -f conftest.$ac_objext conftest$ac_exeext
6699 if { (ac_try="$ac_link"
6701 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6702 *) ac_try_echo
=$ac_try;;
6704 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6705 $as_echo "$ac_try_echo") >&5
6706 (eval "$ac_link") 2>conftest.er1
6708 grep -v '^ *+' conftest.er1
>conftest.err
6710 cat conftest.err
>&5
6711 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6712 (exit $ac_status); } && {
6713 test -z "$ac_c_werror_flag" ||
6714 test ! -s conftest.err
6715 } && test -s conftest
$ac_exeext && {
6716 test "$cross_compiling" = yes ||
6717 $as_test_x conftest
$ac_exeext
6719 { $as_echo "$as_me:$LINENO: result: yes" >&5
6720 $as_echo "yes" >&6; }
6721 X_LIBS
="$X_LIBS -R $x_libraries"
6723 $as_echo "$as_me: failed program was:" >&5
6724 sed 's/^/| /' conftest.
$ac_ext >&5
6726 { $as_echo "$as_me:$LINENO: result: neither works" >&5
6727 $as_echo "neither works" >&6; }
6730 rm -rf conftest.dSYM
6731 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6732 conftest
$ac_exeext conftest.
$ac_ext
6735 rm -rf conftest.dSYM
6736 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6737 conftest
$ac_exeext conftest.
$ac_ext
6738 ac_c_werror_flag
=$ac_xsave_c_werror_flag
6742 # Check for system-dependent libraries X programs must link with.
6743 # Do this before checking for the system-independent R6 libraries
6744 # (-lICE), since we may need -lsocket or whatever for X linking.
6746 if test "$ISC" = yes; then
6747 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6749 # Martyn Johnson says this is needed for Ultrix, if the X
6750 # libraries were built with DECnet support. And Karl Berry says
6751 # the Alpha needs dnet_stub (dnet does not exist).
6752 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
6753 cat >conftest.
$ac_ext <<_ACEOF
6756 cat confdefs.h
>>conftest.
$ac_ext
6757 cat >>conftest.
$ac_ext <<_ACEOF
6758 /* end confdefs.h. */
6760 /* Override any GCC internal prototype to avoid an error.
6761 Use char because int might match the return type of a GCC
6762 builtin and then its argument prototype would still apply. */
6766 char XOpenDisplay ();
6770 return XOpenDisplay ();
6775 rm -f conftest.
$ac_objext conftest
$ac_exeext
6776 if { (ac_try
="$ac_link"
6778 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6779 *) ac_try_echo=$ac_try;;
6781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6782 $as_echo "$ac_try_echo") >&5
6783 (eval "$ac_link") 2>conftest.er1
6785 grep -v '^ *+' conftest.er1 >conftest.err
6787 cat conftest.err >&5
6788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6789 (exit $ac_status); } && {
6790 test -z "$ac_c_werror_flag" ||
6791 test ! -s conftest.err
6792 } && test -s conftest$ac_exeext && {
6793 test "$cross_compiling" = yes ||
6794 $as_test_x conftest$ac_exeext
6798 $as_echo "$as_me: failed program was:" >&5
6799 sed 's/^/| /' conftest.$ac_ext >&5
6801 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6802 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
6803 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6804 $as_echo_n "(cached) " >&6
6806 ac_check_lib_save_LIBS=$LIBS
6808 cat >conftest.$ac_ext <<_ACEOF
6811 cat confdefs.h >>conftest.$ac_ext
6812 cat >>conftest.$ac_ext <<_ACEOF
6813 /* end confdefs.h. */
6815 /* Override any GCC internal prototype to avoid an error.
6816 Use char because int might match the return type of a GCC
6817 builtin and then its argument prototype would still apply. */
6825 return dnet_ntoa ();
6830 rm -f conftest.$ac_objext conftest$ac_exeext
6831 if { (ac_try="$ac_link"
6833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6834 *) ac_try_echo
=$ac_try;;
6836 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6837 $as_echo "$ac_try_echo") >&5
6838 (eval "$ac_link") 2>conftest.er1
6840 grep -v '^ *+' conftest.er1
>conftest.err
6842 cat conftest.err
>&5
6843 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844 (exit $ac_status); } && {
6845 test -z "$ac_c_werror_flag" ||
6846 test ! -s conftest.err
6847 } && test -s conftest
$ac_exeext && {
6848 test "$cross_compiling" = yes ||
6849 $as_test_x conftest
$ac_exeext
6851 ac_cv_lib_dnet_dnet_ntoa
=yes
6853 $as_echo "$as_me: failed program was:" >&5
6854 sed 's/^/| /' conftest.
$ac_ext >&5
6856 ac_cv_lib_dnet_dnet_ntoa
=no
6859 rm -rf conftest.dSYM
6860 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6861 conftest
$ac_exeext conftest.
$ac_ext
6862 LIBS
=$ac_check_lib_save_LIBS
6864 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6865 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
6866 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then
6867 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
6870 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
6871 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
6872 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
6873 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
6874 $as_echo_n "(cached) " >&6
6876 ac_check_lib_save_LIBS
=$LIBS
6877 LIBS
="-ldnet_stub $LIBS"
6878 cat >conftest.
$ac_ext <<_ACEOF
6881 cat confdefs.h
>>conftest.
$ac_ext
6882 cat >>conftest.
$ac_ext <<_ACEOF
6883 /* end confdefs.h. */
6885 /* Override any GCC internal prototype to avoid an error.
6886 Use char because int might match the return type of a GCC
6887 builtin and then its argument prototype would still apply. */
6895 return dnet_ntoa ();
6900 rm -f conftest.
$ac_objext conftest
$ac_exeext
6901 if { (ac_try
="$ac_link"
6903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6904 *) ac_try_echo=$ac_try;;
6906 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6907 $as_echo "$ac_try_echo") >&5
6908 (eval "$ac_link") 2>conftest.er1
6910 grep -v '^ *+' conftest.er1 >conftest.err
6912 cat conftest.err >&5
6913 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6914 (exit $ac_status); } && {
6915 test -z "$ac_c_werror_flag" ||
6916 test ! -s conftest.err
6917 } && test -s conftest$ac_exeext && {
6918 test "$cross_compiling" = yes ||
6919 $as_test_x conftest$ac_exeext
6921 ac_cv_lib_dnet_stub_dnet_ntoa=yes
6923 $as_echo "$as_me: failed program was:" >&5
6924 sed 's/^/| /' conftest.$ac_ext >&5
6926 ac_cv_lib_dnet_stub_dnet_ntoa=no
6929 rm -rf conftest.dSYM
6930 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6931 conftest$ac_exeext conftest.$ac_ext
6932 LIBS=$ac_check_lib_save_LIBS
6934 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
6935 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
6936 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then
6937 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
6943 rm -rf conftest.dSYM
6944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6945 conftest$ac_exeext conftest.$ac_ext
6946 LIBS="$ac_xsave_LIBS"
6948 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
6949 # to get the SysV transport functions.
6950 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
6952 # The nsl library prevents programs from opening the X display
6953 # on Irix 5.2, according to T.E. Dickey.
6954 # The functions gethostbyname, getservbyname, and inet_addr are
6955 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
6956 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
6957 $as_echo_n "checking for gethostbyname... " >&6; }
6958 if test "${ac_cv_func_gethostbyname+set}" = set; then
6959 $as_echo_n "(cached) " >&6
6961 cat >conftest.$ac_ext <<_ACEOF
6964 cat confdefs.h >>conftest.$ac_ext
6965 cat >>conftest.$ac_ext <<_ACEOF
6966 /* end confdefs.h. */
6967 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6969 #define gethostbyname innocuous_gethostbyname
6971 /* System header to define __stub macros and hopefully few prototypes,
6972 which can conflict with char gethostbyname (); below.
6973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6974 <limits.h> exists even on freestanding compilers. */
6977 # include <limits.h>
6979 # include <assert.h>
6982 #undef gethostbyname
6984 /* Override any GCC internal prototype to avoid an error.
6985 Use char because int might match the return type of a GCC
6986 builtin and then its argument prototype would still apply. */
6990 char gethostbyname ();
6991 /* The GNU C library defines this for functions which it implements
6992 to always fail with ENOSYS. Some functions are actually named
6993 something starting with __ and the normal name is an alias. */
6994 #if defined __stub_gethostbyname || defined __stub___gethostbyname
7001 return gethostbyname ();
7006 rm -f conftest.$ac_objext conftest$ac_exeext
7007 if { (ac_try="$ac_link"
7009 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7010 *) ac_try_echo
=$ac_try;;
7012 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7013 $as_echo "$ac_try_echo") >&5
7014 (eval "$ac_link") 2>conftest.er1
7016 grep -v '^ *+' conftest.er1
>conftest.err
7018 cat conftest.err
>&5
7019 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7020 (exit $ac_status); } && {
7021 test -z "$ac_c_werror_flag" ||
7022 test ! -s conftest.err
7023 } && test -s conftest
$ac_exeext && {
7024 test "$cross_compiling" = yes ||
7025 $as_test_x conftest
$ac_exeext
7027 ac_cv_func_gethostbyname
=yes
7029 $as_echo "$as_me: failed program was:" >&5
7030 sed 's/^/| /' conftest.
$ac_ext >&5
7032 ac_cv_func_gethostbyname
=no
7035 rm -rf conftest.dSYM
7036 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7037 conftest
$ac_exeext conftest.
$ac_ext
7039 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
7040 $as_echo "$ac_cv_func_gethostbyname" >&6; }
7042 if test $ac_cv_func_gethostbyname = no
; then
7043 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
7044 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7045 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
7046 $as_echo_n "(cached) " >&6
7048 ac_check_lib_save_LIBS
=$LIBS
7050 cat >conftest.
$ac_ext <<_ACEOF
7053 cat confdefs.h
>>conftest.
$ac_ext
7054 cat >>conftest.
$ac_ext <<_ACEOF
7055 /* end confdefs.h. */
7057 /* Override any GCC internal prototype to avoid an error.
7058 Use char because int might match the return type of a GCC
7059 builtin and then its argument prototype would still apply. */
7063 char gethostbyname ();
7067 return gethostbyname ();
7072 rm -f conftest.
$ac_objext conftest
$ac_exeext
7073 if { (ac_try
="$ac_link"
7075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7076 *) ac_try_echo=$ac_try;;
7078 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7079 $as_echo "$ac_try_echo") >&5
7080 (eval "$ac_link") 2>conftest.er1
7082 grep -v '^ *+' conftest.er1 >conftest.err
7084 cat conftest.err >&5
7085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7086 (exit $ac_status); } && {
7087 test -z "$ac_c_werror_flag" ||
7088 test ! -s conftest.err
7089 } && test -s conftest$ac_exeext && {
7090 test "$cross_compiling" = yes ||
7091 $as_test_x conftest$ac_exeext
7093 ac_cv_lib_nsl_gethostbyname=yes
7095 $as_echo "$as_me: failed program was:" >&5
7096 sed 's/^/| /' conftest.$ac_ext >&5
7098 ac_cv_lib_nsl_gethostbyname=no
7101 rm -rf conftest.dSYM
7102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7103 conftest$ac_exeext conftest.$ac_ext
7104 LIBS=$ac_check_lib_save_LIBS
7106 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
7107 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7108 if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then
7109 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
7112 if test $ac_cv_lib_nsl_gethostbyname = no; then
7113 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
7114 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7115 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
7116 $as_echo_n "(cached) " >&6
7118 ac_check_lib_save_LIBS=$LIBS
7120 cat >conftest.$ac_ext <<_ACEOF
7123 cat confdefs.h >>conftest.$ac_ext
7124 cat >>conftest.$ac_ext <<_ACEOF
7125 /* end confdefs.h. */
7127 /* Override any GCC internal prototype to avoid an error.
7128 Use char because int might match the return type of a GCC
7129 builtin and then its argument prototype would still apply. */
7133 char gethostbyname ();
7137 return gethostbyname ();
7142 rm -f conftest.$ac_objext conftest$ac_exeext
7143 if { (ac_try="$ac_link"
7145 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7146 *) ac_try_echo
=$ac_try;;
7148 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7149 $as_echo "$ac_try_echo") >&5
7150 (eval "$ac_link") 2>conftest.er1
7152 grep -v '^ *+' conftest.er1
>conftest.err
7154 cat conftest.err
>&5
7155 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); } && {
7157 test -z "$ac_c_werror_flag" ||
7158 test ! -s conftest.err
7159 } && test -s conftest
$ac_exeext && {
7160 test "$cross_compiling" = yes ||
7161 $as_test_x conftest
$ac_exeext
7163 ac_cv_lib_bsd_gethostbyname
=yes
7165 $as_echo "$as_me: failed program was:" >&5
7166 sed 's/^/| /' conftest.
$ac_ext >&5
7168 ac_cv_lib_bsd_gethostbyname
=no
7171 rm -rf conftest.dSYM
7172 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7173 conftest
$ac_exeext conftest.
$ac_ext
7174 LIBS
=$ac_check_lib_save_LIBS
7176 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
7177 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7178 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then
7179 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7185 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7186 # socket/setsockopt and other routines are undefined under SCO ODT
7187 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7188 # on later versions), says Simon Leinen: it contains gethostby*
7189 # variants that don't use the name server (or something). -lsocket
7190 # must be given before -lnsl if both are needed. We assume that
7191 # if connect needs -lnsl, so does gethostbyname.
7192 { $as_echo "$as_me:$LINENO: checking for connect" >&5
7193 $as_echo_n "checking for connect... " >&6; }
7194 if test "${ac_cv_func_connect+set}" = set; then
7195 $as_echo_n "(cached) " >&6
7197 cat >conftest.
$ac_ext <<_ACEOF
7200 cat confdefs.h
>>conftest.
$ac_ext
7201 cat >>conftest.
$ac_ext <<_ACEOF
7202 /* end confdefs.h. */
7203 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
7204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7205 #define connect innocuous_connect
7207 /* System header to define __stub macros and hopefully few prototypes,
7208 which can conflict with char connect (); below.
7209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7210 <limits.h> exists even on freestanding compilers. */
7213 # include <limits.h>
7215 # include <assert.h>
7220 /* Override any GCC internal prototype to avoid an error.
7221 Use char because int might match the return type of a GCC
7222 builtin and then its argument prototype would still apply. */
7227 /* The GNU C library defines this for functions which it implements
7228 to always fail with ENOSYS. Some functions are actually named
7229 something starting with __ and the normal name is an alias. */
7230 #if defined __stub_connect || defined __stub___connect
7242 rm -f conftest.
$ac_objext conftest
$ac_exeext
7243 if { (ac_try
="$ac_link"
7245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7246 *) ac_try_echo=$ac_try;;
7248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7249 $as_echo "$ac_try_echo") >&5
7250 (eval "$ac_link") 2>conftest.er1
7252 grep -v '^ *+' conftest.er1 >conftest.err
7254 cat conftest.err >&5
7255 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7256 (exit $ac_status); } && {
7257 test -z "$ac_c_werror_flag" ||
7258 test ! -s conftest.err
7259 } && test -s conftest$ac_exeext && {
7260 test "$cross_compiling" = yes ||
7261 $as_test_x conftest$ac_exeext
7263 ac_cv_func_connect=yes
7265 $as_echo "$as_me: failed program was:" >&5
7266 sed 's/^/| /' conftest.$ac_ext >&5
7268 ac_cv_func_connect=no
7271 rm -rf conftest.dSYM
7272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7273 conftest$ac_exeext conftest.$ac_ext
7275 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
7276 $as_echo "$ac_cv_func_connect" >&6; }
7278 if test $ac_cv_func_connect = no; then
7279 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7280 $as_echo_n "checking for connect in -lsocket... " >&6; }
7281 if test "${ac_cv_lib_socket_connect+set}" = set; then
7282 $as_echo_n "(cached) " >&6
7284 ac_check_lib_save_LIBS=$LIBS
7285 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7286 cat >conftest.$ac_ext <<_ACEOF
7289 cat confdefs.h >>conftest.$ac_ext
7290 cat >>conftest.$ac_ext <<_ACEOF
7291 /* end confdefs.h. */
7293 /* Override any GCC internal prototype to avoid an error.
7294 Use char because int might match the return type of a GCC
7295 builtin and then its argument prototype would still apply. */
7308 rm -f conftest.$ac_objext conftest$ac_exeext
7309 if { (ac_try="$ac_link"
7311 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7312 *) ac_try_echo
=$ac_try;;
7314 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7315 $as_echo "$ac_try_echo") >&5
7316 (eval "$ac_link") 2>conftest.er1
7318 grep -v '^ *+' conftest.er1
>conftest.err
7320 cat conftest.err
>&5
7321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7322 (exit $ac_status); } && {
7323 test -z "$ac_c_werror_flag" ||
7324 test ! -s conftest.err
7325 } && test -s conftest
$ac_exeext && {
7326 test "$cross_compiling" = yes ||
7327 $as_test_x conftest
$ac_exeext
7329 ac_cv_lib_socket_connect
=yes
7331 $as_echo "$as_me: failed program was:" >&5
7332 sed 's/^/| /' conftest.
$ac_ext >&5
7334 ac_cv_lib_socket_connect
=no
7337 rm -rf conftest.dSYM
7338 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7339 conftest
$ac_exeext conftest.
$ac_ext
7340 LIBS
=$ac_check_lib_save_LIBS
7342 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7343 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7344 if test "x$ac_cv_lib_socket_connect" = x
""yes; then
7345 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7350 # Guillermo Gomez says -lposix is necessary on A/UX.
7351 { $as_echo "$as_me:$LINENO: checking for remove" >&5
7352 $as_echo_n "checking for remove... " >&6; }
7353 if test "${ac_cv_func_remove+set}" = set; then
7354 $as_echo_n "(cached) " >&6
7356 cat >conftest.
$ac_ext <<_ACEOF
7359 cat confdefs.h
>>conftest.
$ac_ext
7360 cat >>conftest.
$ac_ext <<_ACEOF
7361 /* end confdefs.h. */
7362 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
7363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7364 #define remove innocuous_remove
7366 /* System header to define __stub macros and hopefully few prototypes,
7367 which can conflict with char remove (); below.
7368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7369 <limits.h> exists even on freestanding compilers. */
7372 # include <limits.h>
7374 # include <assert.h>
7379 /* Override any GCC internal prototype to avoid an error.
7380 Use char because int might match the return type of a GCC
7381 builtin and then its argument prototype would still apply. */
7386 /* The GNU C library defines this for functions which it implements
7387 to always fail with ENOSYS. Some functions are actually named
7388 something starting with __ and the normal name is an alias. */
7389 #if defined __stub_remove || defined __stub___remove
7401 rm -f conftest.
$ac_objext conftest
$ac_exeext
7402 if { (ac_try
="$ac_link"
7404 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7405 *) ac_try_echo=$ac_try;;
7407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7408 $as_echo "$ac_try_echo") >&5
7409 (eval "$ac_link") 2>conftest.er1
7411 grep -v '^ *+' conftest.er1 >conftest.err
7413 cat conftest.err >&5
7414 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7415 (exit $ac_status); } && {
7416 test -z "$ac_c_werror_flag" ||
7417 test ! -s conftest.err
7418 } && test -s conftest$ac_exeext && {
7419 test "$cross_compiling" = yes ||
7420 $as_test_x conftest$ac_exeext
7422 ac_cv_func_remove=yes
7424 $as_echo "$as_me: failed program was:" >&5
7425 sed 's/^/| /' conftest.$ac_ext >&5
7427 ac_cv_func_remove=no
7430 rm -rf conftest.dSYM
7431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7432 conftest$ac_exeext conftest.$ac_ext
7434 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
7435 $as_echo "$ac_cv_func_remove" >&6; }
7437 if test $ac_cv_func_remove = no; then
7438 { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
7439 $as_echo_n "checking for remove in -lposix... " >&6; }
7440 if test "${ac_cv_lib_posix_remove+set}" = set; then
7441 $as_echo_n "(cached) " >&6
7443 ac_check_lib_save_LIBS=$LIBS
7444 LIBS="-lposix $LIBS"
7445 cat >conftest.$ac_ext <<_ACEOF
7448 cat confdefs.h >>conftest.$ac_ext
7449 cat >>conftest.$ac_ext <<_ACEOF
7450 /* end confdefs.h. */
7452 /* Override any GCC internal prototype to avoid an error.
7453 Use char because int might match the return type of a GCC
7454 builtin and then its argument prototype would still apply. */
7467 rm -f conftest.$ac_objext conftest$ac_exeext
7468 if { (ac_try="$ac_link"
7470 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7471 *) ac_try_echo
=$ac_try;;
7473 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7474 $as_echo "$ac_try_echo") >&5
7475 (eval "$ac_link") 2>conftest.er1
7477 grep -v '^ *+' conftest.er1
>conftest.err
7479 cat conftest.err
>&5
7480 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7481 (exit $ac_status); } && {
7482 test -z "$ac_c_werror_flag" ||
7483 test ! -s conftest.err
7484 } && test -s conftest
$ac_exeext && {
7485 test "$cross_compiling" = yes ||
7486 $as_test_x conftest
$ac_exeext
7488 ac_cv_lib_posix_remove
=yes
7490 $as_echo "$as_me: failed program was:" >&5
7491 sed 's/^/| /' conftest.
$ac_ext >&5
7493 ac_cv_lib_posix_remove
=no
7496 rm -rf conftest.dSYM
7497 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7498 conftest
$ac_exeext conftest.
$ac_ext
7499 LIBS
=$ac_check_lib_save_LIBS
7501 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
7502 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7503 if test "x$ac_cv_lib_posix_remove" = x
""yes; then
7504 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7509 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7510 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
7511 $as_echo_n "checking for shmat... " >&6; }
7512 if test "${ac_cv_func_shmat+set}" = set; then
7513 $as_echo_n "(cached) " >&6
7515 cat >conftest.
$ac_ext <<_ACEOF
7518 cat confdefs.h
>>conftest.
$ac_ext
7519 cat >>conftest.
$ac_ext <<_ACEOF
7520 /* end confdefs.h. */
7521 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
7522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7523 #define shmat innocuous_shmat
7525 /* System header to define __stub macros and hopefully few prototypes,
7526 which can conflict with char shmat (); below.
7527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7528 <limits.h> exists even on freestanding compilers. */
7531 # include <limits.h>
7533 # include <assert.h>
7538 /* Override any GCC internal prototype to avoid an error.
7539 Use char because int might match the return type of a GCC
7540 builtin and then its argument prototype would still apply. */
7545 /* The GNU C library defines this for functions which it implements
7546 to always fail with ENOSYS. Some functions are actually named
7547 something starting with __ and the normal name is an alias. */
7548 #if defined __stub_shmat || defined __stub___shmat
7560 rm -f conftest.
$ac_objext conftest
$ac_exeext
7561 if { (ac_try
="$ac_link"
7563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7564 *) ac_try_echo=$ac_try;;
7566 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7567 $as_echo "$ac_try_echo") >&5
7568 (eval "$ac_link") 2>conftest.er1
7570 grep -v '^ *+' conftest.er1 >conftest.err
7572 cat conftest.err >&5
7573 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7574 (exit $ac_status); } && {
7575 test -z "$ac_c_werror_flag" ||
7576 test ! -s conftest.err
7577 } && test -s conftest$ac_exeext && {
7578 test "$cross_compiling" = yes ||
7579 $as_test_x conftest$ac_exeext
7581 ac_cv_func_shmat=yes
7583 $as_echo "$as_me: failed program was:" >&5
7584 sed 's/^/| /' conftest.$ac_ext >&5
7589 rm -rf conftest.dSYM
7590 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7591 conftest$ac_exeext conftest.$ac_ext
7593 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7594 $as_echo "$ac_cv_func_shmat" >&6; }
7596 if test $ac_cv_func_shmat = no; then
7597 { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7598 $as_echo_n "checking for shmat in -lipc... " >&6; }
7599 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7600 $as_echo_n "(cached) " >&6
7602 ac_check_lib_save_LIBS=$LIBS
7604 cat >conftest.$ac_ext <<_ACEOF
7607 cat confdefs.h >>conftest.$ac_ext
7608 cat >>conftest.$ac_ext <<_ACEOF
7609 /* end confdefs.h. */
7611 /* Override any GCC internal prototype to avoid an error.
7612 Use char because int might match the return type of a GCC
7613 builtin and then its argument prototype would still apply. */
7626 rm -f conftest.$ac_objext conftest$ac_exeext
7627 if { (ac_try="$ac_link"
7629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7630 *) ac_try_echo
=$ac_try;;
7632 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7633 $as_echo "$ac_try_echo") >&5
7634 (eval "$ac_link") 2>conftest.er1
7636 grep -v '^ *+' conftest.er1
>conftest.err
7638 cat conftest.err
>&5
7639 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7640 (exit $ac_status); } && {
7641 test -z "$ac_c_werror_flag" ||
7642 test ! -s conftest.err
7643 } && test -s conftest
$ac_exeext && {
7644 test "$cross_compiling" = yes ||
7645 $as_test_x conftest
$ac_exeext
7647 ac_cv_lib_ipc_shmat
=yes
7649 $as_echo "$as_me: failed program was:" >&5
7650 sed 's/^/| /' conftest.
$ac_ext >&5
7652 ac_cv_lib_ipc_shmat
=no
7655 rm -rf conftest.dSYM
7656 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7657 conftest
$ac_exeext conftest.
$ac_ext
7658 LIBS
=$ac_check_lib_save_LIBS
7660 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7661 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7662 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then
7663 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7669 # Check for libraries that X11R6 Xt/Xaw programs need.
7670 ac_save_LDFLAGS
=$LDFLAGS
7671 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7672 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7673 # check for ICE first), but we must link in the order -lSM -lICE or
7674 # we get undefined symbols. So assume we have SM if we have ICE.
7675 # These have to be linked with before -lX11, unlike the other
7676 # libraries we check for below, so use a different variable.
7677 # John Interrante, Karl Berry
7678 { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
7679 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7680 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7681 $as_echo_n "(cached) " >&6
7683 ac_check_lib_save_LIBS
=$LIBS
7684 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7685 cat >conftest.
$ac_ext <<_ACEOF
7688 cat confdefs.h
>>conftest.
$ac_ext
7689 cat >>conftest.
$ac_ext <<_ACEOF
7690 /* end confdefs.h. */
7692 /* Override any GCC internal prototype to avoid an error.
7693 Use char because int might match the return type of a GCC
7694 builtin and then its argument prototype would still apply. */
7698 char IceConnectionNumber ();
7702 return IceConnectionNumber ();
7707 rm -f conftest.
$ac_objext conftest
$ac_exeext
7708 if { (ac_try
="$ac_link"
7710 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7711 *) ac_try_echo=$ac_try;;
7713 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7714 $as_echo "$ac_try_echo") >&5
7715 (eval "$ac_link") 2>conftest.er1
7717 grep -v '^ *+' conftest.er1 >conftest.err
7719 cat conftest.err >&5
7720 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7721 (exit $ac_status); } && {
7722 test -z "$ac_c_werror_flag" ||
7723 test ! -s conftest.err
7724 } && test -s conftest$ac_exeext && {
7725 test "$cross_compiling" = yes ||
7726 $as_test_x conftest$ac_exeext
7728 ac_cv_lib_ICE_IceConnectionNumber=yes
7730 $as_echo "$as_me: failed program was:" >&5
7731 sed 's/^/| /' conftest.$ac_ext >&5
7733 ac_cv_lib_ICE_IceConnectionNumber=no
7736 rm -rf conftest.dSYM
7737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7738 conftest$ac_exeext conftest.$ac_ext
7739 LIBS=$ac_check_lib_save_LIBS
7741 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7742 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7743 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then
7744 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7747 LDFLAGS=$ac_save_LDFLAGS
7752 if test "$OS390Unix" = "yes"; then
7753 CFLAGS="$CFLAGS -W c,dll"
7754 LDFLAGS="$LDFLAGS -W l,dll"
7755 X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE -lXmu"
7759 if test -d "$x_includes" && test ! -d "$x_libraries"; then
7760 x_libraries=`echo "$x_includes" |
sed s
/include
/lib
/`
7761 { $as_echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
7762 $as_echo "Corrected X libraries to $x_libraries" >&6; }
7763 X_LIBS="$X_LIBS -L$x_libraries"
7764 if test "`(uname
) 2>/dev
/null
`" = SunOS &&
7765 uname -r | grep '^5' >/dev/null; then
7766 X_LIBS="$X_LIBS -R $x_libraries"
7770 if test -d "$x_libraries" && test ! -d "$x_includes"; then
7771 x_includes=`echo "$x_libraries" |
sed s
/lib
/include
/`
7772 { $as_echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
7773 $as_echo "Corrected X includes to $x_includes" >&6; }
7774 X_CFLAGS="$X_CFLAGS -I$x_includes"
7777 X_CFLAGS="`echo $X_CFLAGS\ |
sed 's%-I/usr/include %%'`"
7778 X_LIBS="`echo $X_LIBS\ |
sed 's%-L/usr/lib %%'`"
7779 X_LIBS="`echo $X_LIBS\ |
sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`"
7782 { $as_echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
7783 $as_echo_n "checking if X11 header files can be found... " >&6; }
7785 CFLAGS="$CFLAGS $X_CFLAGS"
7786 cat >conftest.$ac_ext <<_ACEOF
7789 cat confdefs.h >>conftest.$ac_ext
7790 cat >>conftest.$ac_ext <<_ACEOF
7791 /* end confdefs.h. */
7792 #include <X11/Xlib.h>
7793 #include <X11/Intrinsic.h>
7802 rm -f conftest.$ac_objext
7803 if { (ac_try="$ac_compile"
7805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7806 *) ac_try_echo
=$ac_try;;
7808 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7809 $as_echo "$ac_try_echo") >&5
7810 (eval "$ac_compile") 2>conftest.er1
7812 grep -v '^ *+' conftest.er1
>conftest.err
7814 cat conftest.err
>&5
7815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7816 (exit $ac_status); } && {
7817 test -z "$ac_c_werror_flag" ||
7818 test ! -s conftest.err
7819 } && test -s conftest.
$ac_objext; then
7820 { $as_echo "$as_me:$LINENO: result: yes" >&5
7821 $as_echo "yes" >&6; }
7823 $as_echo "$as_me: failed program was:" >&5
7824 sed 's/^/| /' conftest.
$ac_ext >&5
7826 { $as_echo "$as_me:$LINENO: result: no" >&5
7827 $as_echo "no" >&6; }; no_x
=yes
7830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7833 if test "${no_x-no}" = yes; then
7836 cat >>confdefs.h
<<\_ACEOF
7843 ac_save_LDFLAGS
="$LDFLAGS"
7844 LDFLAGS
="-L$x_libraries $LDFLAGS"
7846 { $as_echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
7847 $as_echo_n "checking for _XdmcpAuthDoIt in -lXdmcp... " >&6; }
7848 if test "${ac_cv_lib_Xdmcp__XdmcpAuthDoIt+set}" = set; then
7849 $as_echo_n "(cached) " >&6
7851 ac_check_lib_save_LIBS
=$LIBS
7852 LIBS
="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS"
7853 cat >conftest.
$ac_ext <<_ACEOF
7856 cat confdefs.h
>>conftest.
$ac_ext
7857 cat >>conftest.
$ac_ext <<_ACEOF
7858 /* end confdefs.h. */
7860 /* Override any GCC internal prototype to avoid an error.
7861 Use char because int might match the return type of a GCC
7862 builtin and then its argument prototype would still apply. */
7866 char _XdmcpAuthDoIt ();
7870 return _XdmcpAuthDoIt ();
7875 rm -f conftest.
$ac_objext conftest
$ac_exeext
7876 if { (ac_try
="$ac_link"
7878 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7879 *) ac_try_echo=$ac_try;;
7881 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7882 $as_echo "$ac_try_echo") >&5
7883 (eval "$ac_link") 2>conftest.er1
7885 grep -v '^ *+' conftest.er1 >conftest.err
7887 cat conftest.err >&5
7888 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7889 (exit $ac_status); } && {
7890 test -z "$ac_c_werror_flag" ||
7891 test ! -s conftest.err
7892 } && test -s conftest$ac_exeext && {
7893 test "$cross_compiling" = yes ||
7894 $as_test_x conftest$ac_exeext
7896 ac_cv_lib_Xdmcp__XdmcpAuthDoIt=yes
7898 $as_echo "$as_me: failed program was:" >&5
7899 sed 's/^/| /' conftest.$ac_ext >&5
7901 ac_cv_lib_Xdmcp__XdmcpAuthDoIt=no
7904 rm -rf conftest.dSYM
7905 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7906 conftest$ac_exeext conftest.$ac_ext
7907 LIBS=$ac_check_lib_save_LIBS
7909 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
7910 $as_echo "$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6; }
7911 if test "x$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" = x""yes; then
7912 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXdmcp"
7916 { $as_echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
7917 $as_echo_n "checking for IceOpenConnection in -lICE... " >&6; }
7918 if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then
7919 $as_echo_n "(cached) " >&6
7921 ac_check_lib_save_LIBS=$LIBS
7922 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7923 cat >conftest.$ac_ext <<_ACEOF
7926 cat confdefs.h >>conftest.$ac_ext
7927 cat >>conftest.$ac_ext <<_ACEOF
7928 /* end confdefs.h. */
7930 /* Override any GCC internal prototype to avoid an error.
7931 Use char because int might match the return type of a GCC
7932 builtin and then its argument prototype would still apply. */
7936 char IceOpenConnection ();
7940 return IceOpenConnection ();
7945 rm -f conftest.$ac_objext conftest$ac_exeext
7946 if { (ac_try="$ac_link"
7948 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7949 *) ac_try_echo
=$ac_try;;
7951 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7952 $as_echo "$ac_try_echo") >&5
7953 (eval "$ac_link") 2>conftest.er1
7955 grep -v '^ *+' conftest.er1
>conftest.err
7957 cat conftest.err
>&5
7958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7959 (exit $ac_status); } && {
7960 test -z "$ac_c_werror_flag" ||
7961 test ! -s conftest.err
7962 } && test -s conftest
$ac_exeext && {
7963 test "$cross_compiling" = yes ||
7964 $as_test_x conftest
$ac_exeext
7966 ac_cv_lib_ICE_IceOpenConnection
=yes
7968 $as_echo "$as_me: failed program was:" >&5
7969 sed 's/^/| /' conftest.
$ac_ext >&5
7971 ac_cv_lib_ICE_IceOpenConnection
=no
7974 rm -rf conftest.dSYM
7975 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7976 conftest
$ac_exeext conftest.
$ac_ext
7977 LIBS
=$ac_check_lib_save_LIBS
7979 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
7980 $as_echo "$ac_cv_lib_ICE_IceOpenConnection" >&6; }
7981 if test "x$ac_cv_lib_ICE_IceOpenConnection" = x
""yes; then
7982 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lSM -lICE"
7986 LDFLAGS
="$X_LIBS $ac_save_LDFLAGS"
7987 { $as_echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
7988 $as_echo_n "checking for XpmCreatePixmapFromData in -lXpm... " >&6; }
7989 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
7990 $as_echo_n "(cached) " >&6
7992 ac_check_lib_save_LIBS
=$LIBS
7993 LIBS
="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS"
7994 cat >conftest.
$ac_ext <<_ACEOF
7997 cat confdefs.h
>>conftest.
$ac_ext
7998 cat >>conftest.
$ac_ext <<_ACEOF
7999 /* end confdefs.h. */
8001 /* Override any GCC internal prototype to avoid an error.
8002 Use char because int might match the return type of a GCC
8003 builtin and then its argument prototype would still apply. */
8007 char XpmCreatePixmapFromData ();
8011 return XpmCreatePixmapFromData ();
8016 rm -f conftest.
$ac_objext conftest
$ac_exeext
8017 if { (ac_try
="$ac_link"
8019 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8020 *) ac_try_echo=$ac_try;;
8022 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8023 $as_echo "$ac_try_echo") >&5
8024 (eval "$ac_link") 2>conftest.er1
8026 grep -v '^ *+' conftest.er1 >conftest.err
8028 cat conftest.err >&5
8029 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8030 (exit $ac_status); } && {
8031 test -z "$ac_c_werror_flag" ||
8032 test ! -s conftest.err
8033 } && test -s conftest$ac_exeext && {
8034 test "$cross_compiling" = yes ||
8035 $as_test_x conftest$ac_exeext
8037 ac_cv_lib_Xpm_XpmCreatePixmapFromData=yes
8039 $as_echo "$as_me: failed program was:" >&5
8040 sed 's/^/| /' conftest.$ac_ext >&5
8042 ac_cv_lib_Xpm_XpmCreatePixmapFromData=no
8045 rm -rf conftest.dSYM
8046 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8047 conftest$ac_exeext conftest.$ac_ext
8048 LIBS=$ac_check_lib_save_LIBS
8050 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
8051 $as_echo "$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6; }
8052 if test "x$ac_cv_lib_Xpm_XpmCreatePixmapFromData" = x""yes; then
8053 X_PRE_LIBS="$X_PRE_LIBS -lXpm"
8057 { $as_echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
8058 $as_echo_n "checking if X11 header files implicitly declare return values... " >&6; }
8060 CFLAGS="$CFLAGS $X_CFLAGS -Werror"
8061 cat >conftest.$ac_ext <<_ACEOF
8064 cat confdefs.h >>conftest.$ac_ext
8065 cat >>conftest.$ac_ext <<_ACEOF
8066 /* end confdefs.h. */
8067 #include <X11/Xlib.h>
8076 rm -f conftest.$ac_objext
8077 if { (ac_try="$ac_compile"
8079 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8080 *) ac_try_echo
=$ac_try;;
8082 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8083 $as_echo "$ac_try_echo") >&5
8084 (eval "$ac_compile") 2>conftest.er1
8086 grep -v '^ *+' conftest.er1
>conftest.err
8088 cat conftest.err
>&5
8089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8090 (exit $ac_status); } && {
8091 test -z "$ac_c_werror_flag" ||
8092 test ! -s conftest.err
8093 } && test -s conftest.
$ac_objext; then
8094 { $as_echo "$as_me:$LINENO: result: no" >&5
8095 $as_echo "no" >&6; }
8097 $as_echo "$as_me: failed program was:" >&5
8098 sed 's/^/| /' conftest.
$ac_ext >&5
8100 CFLAGS
="$CFLAGS -Wno-implicit-int"
8101 cat >conftest.
$ac_ext <<_ACEOF
8104 cat confdefs.h
>>conftest.
$ac_ext
8105 cat >>conftest.
$ac_ext <<_ACEOF
8106 /* end confdefs.h. */
8107 #include <X11/Xlib.h>
8116 rm -f conftest.
$ac_objext
8117 if { (ac_try
="$ac_compile"
8119 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8120 *) ac_try_echo=$ac_try;;
8122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8123 $as_echo "$ac_try_echo") >&5
8124 (eval "$ac_compile") 2>conftest.er1
8126 grep -v '^ *+' conftest.er1 >conftest.err
8128 cat conftest.err >&5
8129 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8130 (exit $ac_status); } && {
8131 test -z "$ac_c_werror_flag" ||
8132 test ! -s conftest.err
8133 } && test -s conftest.$ac_objext; then
8134 { $as_echo "$as_me:$LINENO: result: yes" >&5
8135 $as_echo "yes" >&6; }; cflags_save="$cflags_save -Wno-implicit-int"
8137 $as_echo "$as_me: failed program was:" >&5
8138 sed 's/^/| /' conftest.$ac_ext >&5
8140 { $as_echo "$as_me:$LINENO: result: test failed" >&5
8141 $as_echo "test failed" >&6; }
8145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8152 LDFLAGS="$ac_save_LDFLAGS"
8154 { $as_echo "$as_me:$LINENO: checking size of wchar_t is 2 bytes" >&5
8155 $as_echo_n "checking size of wchar_t is 2 bytes... " >&6; }
8156 if test "${ac_cv_small_wchar_t+set}" = set; then
8157 $as_echo_n "(cached) " >&6
8159 if test "$cross_compiling" = yes; then
8160 { { $as_echo "$as_me:$LINENO: error: failed to compile test program" >&5
8161 $as_echo "$as_me: error: failed to compile test program" >&2;}
8162 { (exit 1); exit 1; }; }
8164 cat >conftest.$ac_ext <<_ACEOF
8167 cat confdefs.h >>conftest.$ac_ext
8168 cat >>conftest.$ac_ext <<_ACEOF
8169 /* end confdefs.h. */
8171 #include <X11/Xlib.h>
8173 # include <stdlib.h>
8174 # include <stddef.h>
8178 if (sizeof(wchar_t) <= 2)
8183 rm -f conftest$ac_exeext
8184 if { (ac_try="$ac_link"
8186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8187 *) ac_try_echo
=$ac_try;;
8189 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8190 $as_echo "$ac_try_echo") >&5
8191 (eval "$ac_link") 2>&5
8193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8194 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8195 { (case "(($ac_try" in
8196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8197 *) ac_try_echo=$ac_try;;
8199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8200 $as_echo "$ac_try_echo") >&5
8201 (eval "$ac_try") 2>&5
8203 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8204 (exit $ac_status); }; }; then
8205 ac_cv_small_wchar_t="no"
8207 $as_echo "$as_me: program exited with status $ac_status" >&5
8208 $as_echo "$as_me: failed program was:" >&5
8209 sed 's/^/| /' conftest.$ac_ext >&5
8212 ac_cv_small_wchar_t="yes"
8214 rm -rf conftest.dSYM
8215 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8221 { $as_echo "$as_me:$LINENO: result: $ac_cv_small_wchar_t" >&5
8222 $as_echo "$ac_cv_small_wchar_t" >&6; }
8223 if test "x$ac_cv_small_wchar_t" = "xyes" ; then
8224 cat >>confdefs.h <<\_ACEOF
8225 #define SMALL_WCHAR_T 1
8233 test "x$with_x" = xno -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no
8235 { $as_echo "$as_me:$LINENO: checking --enable-gui argument" >&5
8236 $as_echo_n "checking --enable-gui argument... " >&6; }
8237 # Check whether --enable-gui was given.
8238 if test "${enable_gui+set}" = set; then
8239 enableval=$enable_gui;
8245 enable_gui_canon=`echo "_$enable_gui" | \
8246 sed 's/[ _+-]//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
8259 if test "x$QNX" = "xyes" -a "x$with_x" = "xno" ; then
8261 case "$enable_gui_canon" in
8262 no) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
8263 $as_echo "no GUI support" >&6; }
8265 yes|"") { $as_echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
8266 $as_echo "yes - automatic GUI support" >&6; } ;;
8267 auto) { $as_echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
8268 $as_echo "auto - automatic GUI support" >&6; } ;;
8269 photon) { $as_echo "$as_me:$LINENO: result: Photon GUI support" >&5
8270 $as_echo "Photon GUI support" >&6; } ;;
8271 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
8272 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; }
8276 elif test "x$MACOSX" = "xyes" -a "x$with_x" = "xno" ; then
8279 case "$enable_gui_canon" in
8280 no) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
8281 $as_echo "no GUI support" >&6; }
8284 yes|"") { $as_echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
8285 $as_echo "yes - automatic GUI support" >&6; } ;;
8286 auto) { $as_echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
8287 $as_echo "auto - automatic GUI support" >&6; } ;;
8288 carbon) { $as_echo "$as_me:$LINENO: result: Carbon GUI support" >&5
8289 $as_echo "Carbon GUI support" >&6; }
8291 macvim) { $as_echo "$as_me:$LINENO: result: MacVim GUI support" >&5
8292 $as_echo "MacVim GUI support" >&6; }
8294 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
8295 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; }
8302 case "$enable_gui_canon" in
8303 no|none) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
8304 $as_echo "no GUI support" >&6; } ;;
8305 yes|""|auto) { $as_echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
8306 $as_echo "yes/auto - automatic GUI support" >&6; }
8315 gtk) { $as_echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
8316 $as_echo "GTK+ 1.x GUI support" >&6; }
8318 gtk2) { $as_echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
8319 $as_echo "GTK+ 2.x GUI support" >&6; }
8322 gnome) { $as_echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
8323 $as_echo "GNOME 1.x GUI support" >&6; }
8326 gnome2) { $as_echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
8327 $as_echo "GNOME 2.x GUI support" >&6; }
8331 motif) { $as_echo "$as_me:$LINENO: result: Motif GUI support" >&5
8332 $as_echo "Motif GUI support" >&6; }
8334 athena) { $as_echo "$as_me:$LINENO: result: Athena GUI support" >&5
8335 $as_echo "Athena GUI support" >&6; }
8337 nextaw) { $as_echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
8338 $as_echo "neXtaw GUI support" >&6; }
8340 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
8341 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; } ;;
8346 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then
8347 { $as_echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
8348 $as_echo_n "checking whether or not to look for GTK... " >&6; }
8349 # Check whether --enable-gtk-check was given.
8350 if test "${enable_gtk_check+set}" = set; then
8351 enableval=$enable_gtk_check;
8353 enable_gtk_check="yes"
8356 { $as_echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
8357 $as_echo "$enable_gtk_check" >&6; }
8358 if test "x$enable_gtk_check" = "xno"; then
8364 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \
8365 -a "$enable_gui_canon" != "gnome2"; then
8366 { $as_echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
8367 $as_echo_n "checking whether or not to look for GTK+ 2... " >&6; }
8368 # Check whether --enable-gtk2-check was given.
8369 if test "${enable_gtk2_check+set}" = set; then
8370 enableval=$enable_gtk2_check;
8372 enable_gtk2_check="yes"
8375 { $as_echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
8376 $as_echo "$enable_gtk2_check" >&6; }
8377 if test "x$enable_gtk2_check" = "xno"; then
8382 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \
8383 -a "$enable_gui_canon" != "gnome2"; then
8384 { $as_echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
8385 $as_echo_n "checking whether or not to look for GNOME... " >&6; }
8386 # Check whether --enable-gnome-check was given.
8387 if test "${enable_gnome_check+set}" = set; then
8388 enableval=$enable_gnome_check;
8390 enable_gnome_check="no"
8393 { $as_echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
8394 $as_echo "$enable_gnome_check" >&6; }
8395 if test "x$enable_gnome_check" = "xno"; then
8400 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then
8401 { $as_echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
8402 $as_echo_n "checking whether or not to look for Motif... " >&6; }
8403 # Check whether --enable-motif-check was given.
8404 if test "${enable_motif_check+set}" = set; then
8405 enableval=$enable_motif_check;
8407 enable_motif_check="yes"
8410 { $as_echo "$as_me:$LINENO: result: $enable_motif_check" >&5
8411 $as_echo "$enable_motif_check" >&6; }
8412 if test "x$enable_motif_check" = "xno"; then
8417 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then
8418 { $as_echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
8419 $as_echo_n "checking whether or not to look for Athena... " >&6; }
8420 # Check whether --enable-athena-check was given.
8421 if test "${enable_athena_check+set}" = set; then
8422 enableval=$enable_athena_check;
8424 enable_athena_check="yes"
8427 { $as_echo "$as_me:$LINENO: result: $enable_athena_check" >&5
8428 $as_echo "$enable_athena_check" >&6; }
8429 if test "x$enable_athena_check" = "xno"; then
8434 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then
8435 { $as_echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
8436 $as_echo_n "checking whether or not to look for neXtaw... " >&6; }
8437 # Check whether --enable-nextaw-check was given.
8438 if test "${enable_nextaw_check+set}" = set; then
8439 enableval=$enable_nextaw_check;
8441 enable_nextaw_check="yes"
8444 { $as_echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
8445 $as_echo "$enable_nextaw_check" >&6; };
8446 if test "x$enable_nextaw_check" = "xno"; then
8451 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then
8452 { $as_echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
8453 $as_echo_n "checking whether or not to look for Carbon... " >&6; }
8454 # Check whether --enable-carbon-check was given.
8455 if test "${enable_carbon_check+set}" = set; then
8456 enableval=$enable_carbon_check;
8458 enable_carbon_check="yes"
8461 { $as_echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
8462 $as_echo "$enable_carbon_check" >&6; };
8463 if test "x$enable_carbon_check" = "xno"; then
8468 if test "x$SKIP_MACVIM" != "xYES" -a "$enable_gui_canon" != "macvim"; then
8469 { $as_echo "$as_me:$LINENO: checking whether or not to look for MacVim" >&5
8470 $as_echo_n "checking whether or not to look for MacVim... " >&6; }
8471 # Check whether --enable-macvim-check was given.
8472 if test "${enable_macvim_check+set}" = set; then
8473 enableval=$enable_macvim_check;
8475 enable_macvim_check="yes"
8478 { $as_echo "$as_me:$LINENO: result: $enable_macvim_check" >&5
8479 $as_echo "$enable_macvim_check" >&6; };
8480 if test "x$enable_macvim_check" = "xno"; then
8485 if test "x$MACOSX" = "xyes"; then
8486 if test -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then
8487 { $as_echo "$as_me:$LINENO: checking for Carbon GUI" >&5
8488 $as_echo_n "checking for Carbon GUI... " >&6; }
8489 { $as_echo "$as_me:$LINENO: result: yes" >&5
8490 $as_echo "yes" >&6; };
8492 elif test -z "$SKIP_MACVIM" -a "x$COCOA" = "xyes"; then
8493 { $as_echo "$as_me:$LINENO: checking for MacVim GUI" >&5
8494 $as_echo_n "checking for MacVim GUI... " >&6; }
8495 { $as_echo "$as_me:$LINENO: result: yes" >&5
8496 $as_echo "yes" >&6; };
8500 if test "$VIMNAME" = "vim"; then
8504 if test x$prefix = xNONE; then
8505 prefix=/Applications
8508 datadir='${prefix}/Vim.app/Contents/Resources'
8529 if test -z "$SKIP_GTK"; then
8531 { $as_echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
8532 $as_echo_n "checking --with-gtk-prefix argument... " >&6; }
8534 # Check whether --with-gtk-prefix was given.
8535 if test "${with_gtk_prefix+set}" = set; then
8536 withval=$with_gtk_prefix; gtk_config_prefix="$withval"; { $as_echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
8537 $as_echo "$gtk_config_prefix" >&6; }
8539 gtk_config_prefix=""; { $as_echo "$as_me:$LINENO: result: no" >&5
8540 $as_echo "no" >&6; }
8544 { $as_echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
8545 $as_echo_n "checking --with-gtk-exec-prefix argument... " >&6; }
8547 # Check whether --with-gtk-exec-prefix was given.
8548 if test "${with_gtk_exec_prefix+set}" = set; then
8549 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"; { $as_echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
8550 $as_echo "$gtk_config_prefix" >&6; }
8552 gtk_config_exec_prefix=""; { $as_echo "$as_me:$LINENO: result: no" >&5
8553 $as_echo "no" >&6; }
8557 { $as_echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
8558 $as_echo_n "checking --disable-gtktest argument... " >&6; }
8559 # Check whether --enable-gtktest was given.
8560 if test "${enable_gtktest+set}" = set; then
8561 enableval=$enable_gtktest;
8566 if test "x$enable_gtktest" = "xyes" ; then
8567 { $as_echo "$as_me:$LINENO: result: gtk test enabled" >&5
8568 $as_echo "gtk test enabled" >&6; }
8570 { $as_echo "$as_me:$LINENO: result: gtk test disabled" >&5
8571 $as_echo "gtk test disabled" >&6; }
8574 if test "x$gtk_config_prefix" != "x" ; then
8575 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
8576 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
8578 if test "x$gtk_config_exec_prefix" != "x" ; then
8579 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8580 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
8582 if test "X$GTK_CONFIG" = "X"; then
8583 # Extract the first word of "gtk-config", so it can be a program name with args.
8584 set dummy gtk-config; ac_word=$2
8585 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8586 $as_echo_n "checking for $ac_word... " >&6; }
8587 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
8588 $as_echo_n "(cached) " >&6
8592 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
8595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8599 test -z "$as_dir" && as_dir=.
8600 for ac_exec_ext in '' $ac_executable_extensions; do
8601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8602 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8603 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8610 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
8614 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
8615 if test -n "$GTK_CONFIG"; then
8616 { $as_echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
8617 $as_echo "$GTK_CONFIG" >&6; }
8619 { $as_echo "$as_me:$LINENO: result: no" >&5
8620 $as_echo "no" >&6; }
8624 if test "X$GTK_CONFIG" = "Xno"; then
8625 # Extract the first word of "gtk12-config", so it can be a program name with args.
8626 set dummy gtk12-config; ac_word=$2
8627 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8628 $as_echo_n "checking for $ac_word... " >&6; }
8629 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
8630 $as_echo_n "(cached) " >&6
8632 case $GTK12_CONFIG in
8634 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
8637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8641 test -z "$as_dir" && as_dir=.
8642 for ac_exec_ext in '' $ac_executable_extensions; do
8643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8644 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8645 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8652 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
8656 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
8657 if test -n "$GTK12_CONFIG"; then
8658 { $as_echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
8659 $as_echo "$GTK12_CONFIG" >&6; }
8661 { $as_echo "$as_me:$LINENO: result: no" >&5
8662 $as_echo "no" >&6; }
8666 GTK_CONFIG="$GTK12_CONFIG"
8669 { $as_echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
8670 $as_echo "Using GTK configuration program $GTK_CONFIG" >&6; }
8672 if test "X$PKG_CONFIG" = "X"; then
8673 # Extract the first word of "pkg-config", so it can be a program name with args.
8674 set dummy pkg-config; ac_word=$2
8675 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8676 $as_echo_n "checking for $ac_word... " >&6; }
8677 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8678 $as_echo_n "(cached) " >&6
8682 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8689 test -z "$as_dir" && as_dir=.
8690 for ac_exec_ext in '' $ac_executable_extensions; do
8691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8692 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8693 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8700 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
8704 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8705 if test -n "$PKG_CONFIG"; then
8706 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8707 $as_echo "$PKG_CONFIG" >&6; }
8709 { $as_echo "$as_me:$LINENO: result: no" >&5
8710 $as_echo "no" >&6; }
8716 if test "x$GTK_CONFIG:$PKG_CONFIG" != "xno:no"; then
8717 if test "X$SKIP_GTK2" != "XYES"; then
8719 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
8721 min_gtk_version=2.2.0
8722 { $as_echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
8723 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
8725 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
8726 && $PKG_CONFIG --exists gtk+-2.0; then
8728 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk
+-2.0
`
8729 GTK_LIBDIR=`$PKG_CONFIG --libs-only-L gtk
+-2.0
`
8730 GTK_LIBS=`$PKG_CONFIG --libs gtk
+-2.0
`
8731 gtk_major_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8732 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8733 gtk_minor_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8734 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8735 gtk_micro_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8736 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8738 elif test "X$GTK_CONFIG" != "Xno"; then
8740 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
8742 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
8743 gtk_major_version=`$GTK_CONFIG $gtk_config_args --version | \
8744 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8745 gtk_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
8746 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8747 gtk_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
8748 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8754 if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
8756 ac_save_CFLAGS="$CFLAGS"
8757 ac_save_LIBS="$LIBS"
8758 CFLAGS="$CFLAGS $GTK_CFLAGS"
8759 LIBS="$LIBS $GTK_LIBS"
8762 if test "$cross_compiling" = yes; then
8763 echo $ac_n "cross compiling; assumed OK... $ac_c"
8765 cat >conftest.$ac_ext <<_ACEOF
8768 cat confdefs.h >>conftest.$ac_ext
8769 cat >>conftest.$ac_ext <<_ACEOF
8770 /* end confdefs.h. */
8772 #include <gtk/gtk.h>
8775 # include <stdlib.h>
8776 # include <stddef.h>
8782 int major, minor, micro;
8785 system ("touch conf.gtktest");
8787 /* HP/UX 9 (%@#!) writes to sscanf strings */
8788 tmp_version = g_strdup("$min_gtk_version");
8789 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8790 printf("%s, bad version string\n", "$min_gtk_version");
8794 if ((gtk_major_version > major) ||
8795 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8796 ((gtk_major_version == major) && (gtk_minor_version == minor) &&
8797 (gtk_micro_version >= micro)))
8805 rm -f conftest$ac_exeext
8806 if { (ac_try="$ac_link"
8808 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8809 *) ac_try_echo
=$ac_try;;
8811 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8812 $as_echo "$ac_try_echo") >&5
8813 (eval "$ac_link") 2>&5
8815 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8816 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8817 { (case "(($ac_try" in
8818 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8819 *) ac_try_echo=$ac_try;;
8821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8822 $as_echo "$ac_try_echo") >&5
8823 (eval "$ac_try") 2>&5
8825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8826 (exit $ac_status); }; }; then
8829 $as_echo "$as_me: program exited with status $ac_status" >&5
8830 $as_echo "$as_me: failed program was:" >&5
8831 sed 's/^/| /' conftest.$ac_ext >&5
8836 rm -rf conftest.dSYM
8837 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8841 CFLAGS="$ac_save_CFLAGS"
8842 LIBS="$ac_save_LIBS"
8845 if test "x$no_gtk" = x ; then
8846 if test "x$enable_gtktest" = "xyes"; then
8847 { $as_echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
8848 $as_echo "yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
8850 { $as_echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
8851 $as_echo "found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
8853 GUI_LIB_LOC="$GTK_LIBDIR"
8854 GTK_LIBNAME="$GTK_LIBS"
8855 GUI_INC_LOC="$GTK_CFLAGS"
8858 { $as_echo "$as_me:$LINENO: result: no" >&5
8859 $as_echo "no" >&6; }
8875 if test "x$GTK_CFLAGS" != "x"; then
8884 if test "x$GUITYPE" != "xGTK"; then
8887 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
8889 min_gtk_version=1.1.16
8890 { $as_echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
8891 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
8893 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
8894 && $PKG_CONFIG --exists gtk+-2.0; then
8896 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk
+-2.0
`
8897 GTK_LIBDIR=`$PKG_CONFIG --libs-only-L gtk
+-2.0
`
8898 GTK_LIBS=`$PKG_CONFIG --libs gtk
+-2.0
`
8899 gtk_major_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8900 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8901 gtk_minor_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8902 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8903 gtk_micro_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8904 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8906 elif test "X$GTK_CONFIG" != "Xno"; then
8908 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
8910 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
8911 gtk_major_version=`$GTK_CONFIG $gtk_config_args --version | \
8912 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8913 gtk_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
8914 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8915 gtk_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
8916 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8922 if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
8924 ac_save_CFLAGS="$CFLAGS"
8925 ac_save_LIBS="$LIBS"
8926 CFLAGS="$CFLAGS $GTK_CFLAGS"
8927 LIBS="$LIBS $GTK_LIBS"
8930 if test "$cross_compiling" = yes; then
8931 echo $ac_n "cross compiling; assumed OK... $ac_c"
8933 cat >conftest.$ac_ext <<_ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8940 #include <gtk/gtk.h>
8943 # include <stdlib.h>
8944 # include <stddef.h>
8950 int major, minor, micro;
8953 system ("touch conf.gtktest");
8955 /* HP/UX 9 (%@#!) writes to sscanf strings */
8956 tmp_version = g_strdup("$min_gtk_version");
8957 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8958 printf("%s, bad version string\n", "$min_gtk_version");
8962 if ((gtk_major_version > major) ||
8963 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8964 ((gtk_major_version == major) && (gtk_minor_version == minor) &&
8965 (gtk_micro_version >= micro)))
8973 rm -f conftest$ac_exeext
8974 if { (ac_try="$ac_link"
8976 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8977 *) ac_try_echo
=$ac_try;;
8979 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8980 $as_echo "$ac_try_echo") >&5
8981 (eval "$ac_link") 2>&5
8983 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8985 { (case "(($ac_try" in
8986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8987 *) ac_try_echo=$ac_try;;
8989 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8990 $as_echo "$ac_try_echo") >&5
8991 (eval "$ac_try") 2>&5
8993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8997 $as_echo "$as_me: program exited with status $ac_status" >&5
8998 $as_echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9004 rm -rf conftest.dSYM
9005 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
9009 CFLAGS="$ac_save_CFLAGS"
9010 LIBS="$ac_save_LIBS"
9013 if test "x$no_gtk" = x ; then
9014 if test "x$enable_gtktest" = "xyes"; then
9015 { $as_echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
9016 $as_echo "yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
9018 { $as_echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
9019 $as_echo "found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
9021 GTK_LIBNAME="$GTK_LIBS"
9022 GUI_INC_LOC="$GTK_CFLAGS"
9025 { $as_echo "$as_me:$LINENO: result: no" >&5
9026 $as_echo "no" >&6; }
9042 if test "x$GTK_CFLAGS" != "x"; then
9051 if test "x$GUITYPE" = "xGTK"; then
9052 if test "$gtk_major_version" = 1 -a "0$gtk_minor_version" -lt 2 \
9053 -o "$gtk_major_version" = 1 -a "$gtk_minor_version" = 2 -a "0$gtk_micro_version" -lt 3; then
9054 { $as_echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
9055 $as_echo "this GTK version is old; version 1.2.3 or later is recommended" >&6; }
9058 if test "0$gtk_major_version" -ge 2; then
9059 cat >>confdefs.h <<\_ACEOF
9063 if test "$gtk_minor_version" = 1 -a "0$gtk_micro_version" -ge 1 \
9064 || test "0$gtk_minor_version" -ge 2 \
9065 || test "0$gtk_major_version" -gt 2; then
9066 cat >>confdefs.h <<\_ACEOF
9067 #define HAVE_GTK_MULTIHEAD 1
9072 if test -z "$SKIP_GNOME"; then
9080 # Check whether --with-gnome-includes was given.
9081 if test "${with_gnome_includes+set}" = set; then
9082 withval=$with_gnome_includes; CFLAGS="$CFLAGS -I$withval"
9088 # Check whether --with-gnome-libs was given.
9089 if test "${with_gnome_libs+set}" = set; then
9090 withval=$with_gnome_libs; LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval
9096 # Check whether --with-gnome was given.
9097 if test "${with_gnome+set}" = set; then
9098 withval=$with_gnome; if test x$withval = xyes; then
9102 if test "x$withval" = xno; then
9106 LDFLAGS="$LDFLAGS -L$withval/lib"
9107 CFLAGS="$CFLAGS -I$withval/include"
9108 gnome_prefix=$withval/lib
9116 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then
9118 { $as_echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
9119 $as_echo_n "checking for libgnomeui-2.0... " >&6; }
9120 if $PKG_CONFIG --exists libgnomeui-2.0; then
9121 { $as_echo "$as_me:$LINENO: result: yes" >&5
9122 $as_echo "yes" >&6; }
9123 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0
`
9124 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0
`
9125 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0
`
9127 { $as_echo "$as_me:$LINENO: checking for FreeBSD" >&5
9128 $as_echo_n "checking for FreeBSD... " >&6; }
9129 if test "`(uname
) 2>/dev
/null
`" = FreeBSD; then
9130 { $as_echo "$as_me:$LINENO: result: yes" >&5
9131 $as_echo "yes" >&6; }
9132 GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR -D_THREAD_SAFE"
9133 GNOME_LIBS="$GNOME_LIBS -pthread"
9135 { $as_echo "$as_me:$LINENO: result: no" >&5
9136 $as_echo "no" >&6; }
9140 { $as_echo "$as_me:$LINENO: result: not found" >&5
9141 $as_echo "not found" >&6; }
9142 if test "x" = xfail; then
9143 { { $as_echo "$as_me:$LINENO: error: Could not find libgnomeui-2.0 via pkg-config" >&5
9144 $as_echo "$as_me: error: Could not find libgnomeui-2.0 via pkg-config" >&2;}
9145 { (exit 1); exit 1; }; }
9149 elif test "x$want_gnome" = xyes; then
9151 # Extract the first word of "gnome-config", so it can be a program name with args.
9152 set dummy gnome-config; ac_word=$2
9153 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
9154 $as_echo_n "checking for $ac_word... " >&6; }
9155 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
9156 $as_echo_n "(cached) " >&6
9158 case $GNOME_CONFIG in
9160 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
9163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9167 test -z "$as_dir" && as_dir=.
9168 for ac_exec_ext in '' $ac_executable_extensions; do
9169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9170 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
9171 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
9178 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
9182 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
9183 if test -n "$GNOME_CONFIG"; then
9184 { $as_echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
9185 $as_echo "$GNOME_CONFIG" >&6; }
9187 { $as_echo "$as_me:$LINENO: result: no" >&5
9188 $as_echo "no" >&6; }
9192 if test "$GNOME_CONFIG" = "no"; then
9193 no_gnome_config="yes"
9195 { $as_echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
9196 $as_echo_n "checking if $GNOME_CONFIG works... " >&6; }
9197 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
9198 { $as_echo "$as_me:$LINENO: result: yes" >&5
9199 $as_echo "yes" >&6; }
9200 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui
`"
9201 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui
`"
9202 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui
`"
9205 { $as_echo "$as_me:$LINENO: result: no" >&5
9206 $as_echo "no" >&6; }
9207 no_gnome_config="yes"
9211 if test x$exec_prefix = xNONE; then
9212 if test x$prefix = xNONE; then
9213 gnome_prefix=$ac_default_prefix/lib
9215 gnome_prefix=$prefix/lib
9218 gnome_prefix=`eval echo \
`echo $libdir\``
9221 if test "$no_gnome_config" = "yes"; then
9222 { $as_echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
9223 $as_echo_n "checking for gnomeConf.sh file in $gnome_prefix... " >&6; }
9224 if test -f $gnome_prefix/gnomeConf.sh; then
9225 { $as_echo "$as_me:$LINENO: result: found" >&5
9226 $as_echo "found" >&6; }
9227 echo "loading gnome configuration from" \
9228 "$gnome_prefix/gnomeConf.sh"
9229 . $gnome_prefix/gnomeConf.sh
9232 { $as_echo "$as_me:$LINENO: result: not found" >&5
9233 $as_echo "not found" >&6; }
9234 if test x = xfail; then
9235 { { $as_echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
9236 $as_echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
9237 { (exit 1); exit 1; }; }
9244 if test x$have_gnome = xyes ; then
9245 cat >>confdefs.h <<\_ACEOF
9246 #define FEAT_GUI_GNOME 1
9249 GUI_INC_LOC="$GUI_INC_LOC $GNOME_INCLUDEDIR"
9250 GTK_LIBNAME="$GTK_LIBNAME $GNOME_LIBDIR $GNOME_LIBS"
9260 if test -z "$SKIP_MOTIF"; then
9261 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"
9262 GUI_INC_LOC="`echo $GUI_INC_LOC|
sed 's%-I%%g'`"
9264 { $as_echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
9265 $as_echo_n "checking for location of Motif GUI includes... " >&6; }
9266 gui_includes="`echo $x_includes|
sed 's%/^/^/*$%%'` `echo "$gui_XXX" |
sed s
/XXX
/include
/g
` $GUI_INC_LOC"
9268 for try in $gui_includes; do
9269 if test -f "$try/Xm/Xm.h"; then
9273 if test -n "$GUI_INC_LOC"; then
9274 if test "$GUI_INC_LOC" = /usr/include; then
9276 { $as_echo "$as_me:$LINENO: result: in default path" >&5
9277 $as_echo "in default path" >&6; }
9279 { $as_echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
9280 $as_echo "$GUI_INC_LOC" >&6; }
9283 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
9284 $as_echo "<not found>" >&6; }
9290 if test -z "$SKIP_MOTIF"; then
9291 { $as_echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
9292 $as_echo_n "checking --with-motif-lib argument... " >&6; }
9294 # Check whether --with-motif-lib was given.
9295 if test "${with_motif_lib+set}" = set; then
9296 withval=$with_motif_lib; MOTIF_LIBNAME="${withval}"
9300 if test -n "$MOTIF_LIBNAME"; then
9301 { $as_echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
9302 $as_echo "$MOTIF_LIBNAME" >&6; }
9305 { $as_echo "$as_me:$LINENO: result: no" >&5
9306 $as_echo "no" >&6; }
9308 GUI_LIB_LOC="`echo $GUI_LIB_LOC|
sed 's%-L%%g'`"
9310 { $as_echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
9311 $as_echo_n "checking for location of Motif GUI libs... " >&6; }
9312 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"
9314 for try in $gui_libs; do
9315 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
9316 if test -f "$libtry"; then
9321 if test -n "$GUI_LIB_LOC"; then
9322 if test "$GUI_LIB_LOC" = /usr/lib; then
9324 { $as_echo "$as_me:$LINENO: result: in default path" >&5
9325 $as_echo "in default path" >&6; }
9327 if test -n "$GUI_LIB_LOC"; then
9328 { $as_echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
9329 $as_echo "$GUI_LIB_LOC" >&6; }
9330 if test "`(uname
) 2>/dev
/null
`" = SunOS &&
9331 uname -r | grep '^5' >/dev/null; then
9332 GUI_LIB_LOC="$GUI_LIB_LOC -R $GUI_LIB_LOC"
9338 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
9339 $as_echo "<not found>" >&6; }
9345 if test -z "$SKIP_MOTIF"; then
9355 if test -z "$SKIP_ATHENA"; then
9356 { $as_echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
9357 $as_echo_n "checking if Athena header files can be found... " >&6; }
9359 CFLAGS="$CFLAGS $X_CFLAGS"
9360 cat >conftest.$ac_ext <<_ACEOF
9363 cat confdefs.h >>conftest.$ac_ext
9364 cat >>conftest.$ac_ext <<_ACEOF
9365 /* end confdefs.h. */
9367 #include <X11/Intrinsic.h>
9368 #include <X11/Xaw/Paned.h>
9377 rm -f conftest.$ac_objext
9378 if { (ac_try="$ac_compile"
9380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9381 *) ac_try_echo
=$ac_try;;
9383 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9384 $as_echo "$ac_try_echo") >&5
9385 (eval "$ac_compile") 2>conftest.er1
9387 grep -v '^ *+' conftest.er1
>conftest.err
9389 cat conftest.err
>&5
9390 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9391 (exit $ac_status); } && {
9392 test -z "$ac_c_werror_flag" ||
9393 test ! -s conftest.err
9394 } && test -s conftest.
$ac_objext; then
9395 { $as_echo "$as_me:$LINENO: result: yes" >&5
9396 $as_echo "yes" >&6; }
9398 $as_echo "$as_me: failed program was:" >&5
9399 sed 's/^/| /' conftest.
$ac_ext >&5
9401 { $as_echo "$as_me:$LINENO: result: no" >&5
9402 $as_echo "no" >&6; }; SKIP_ATHENA
=YES
9405 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9409 if test -z "$SKIP_ATHENA"; then
9413 if test -z "$SKIP_NEXTAW"; then
9414 { $as_echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
9415 $as_echo_n "checking if neXtaw header files can be found... " >&6; }
9417 CFLAGS
="$CFLAGS $X_CFLAGS"
9418 cat >conftest.
$ac_ext <<_ACEOF
9421 cat confdefs.h
>>conftest.
$ac_ext
9422 cat >>conftest.
$ac_ext <<_ACEOF
9423 /* end confdefs.h. */
9425 #include <X11/Intrinsic.h>
9426 #include <X11/neXtaw/Paned.h>
9435 rm -f conftest.
$ac_objext
9436 if { (ac_try
="$ac_compile"
9438 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9439 *) ac_try_echo=$ac_try;;
9441 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9442 $as_echo "$ac_try_echo") >&5
9443 (eval "$ac_compile") 2>conftest.er1
9445 grep -v '^ *+' conftest.er1 >conftest.err
9447 cat conftest.err >&5
9448 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9449 (exit $ac_status); } && {
9450 test -z "$ac_c_werror_flag" ||
9451 test ! -s conftest.err
9452 } && test -s conftest.$ac_objext; then
9453 { $as_echo "$as_me:$LINENO: result: yes" >&5
9454 $as_echo "yes" >&6; }
9456 $as_echo "$as_me: failed program was:" >&5
9457 sed 's/^/| /' conftest.$ac_ext >&5
9459 { $as_echo "$as_me:$LINENO: result: no" >&5
9460 $as_echo "no" >&6; }; SKIP_NEXTAW=YES
9463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9467 if test -z "$SKIP_NEXTAW"; then
9471 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
9472 if test -n "$GUI_INC_LOC"; then
9473 GUI_INC_LOC=-I"`echo $GUI_INC_LOC|
sed 's%-I%%'`"
9475 if test -n "$GUI_LIB_LOC"; then
9476 GUI_LIB_LOC=-L"`echo $GUI_LIB_LOC|
sed 's%-L%%'`"
9479 ldflags_save=$LDFLAGS
9480 LDFLAGS="$X_LIBS $LDFLAGS"
9481 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9482 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9483 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9484 $as_echo_n "(cached) " >&6
9486 ac_check_lib_save_LIBS=$LIBS
9487 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9488 cat >conftest.$ac_ext <<_ACEOF
9491 cat confdefs.h >>conftest.$ac_ext
9492 cat >>conftest.$ac_ext <<_ACEOF
9493 /* end confdefs.h. */
9495 /* Override any GCC internal prototype to avoid an error.
9496 Use char because int might match the return type of a GCC
9497 builtin and then its argument prototype would still apply. */
9501 char XShapeQueryExtension ();
9505 return XShapeQueryExtension ();
9510 rm -f conftest.$ac_objext conftest$ac_exeext
9511 if { (ac_try="$ac_link"
9513 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9514 *) ac_try_echo
=$ac_try;;
9516 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9517 $as_echo "$ac_try_echo") >&5
9518 (eval "$ac_link") 2>conftest.er1
9520 grep -v '^ *+' conftest.er1
>conftest.err
9522 cat conftest.err
>&5
9523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); } && {
9525 test -z "$ac_c_werror_flag" ||
9526 test ! -s conftest.err
9527 } && test -s conftest
$ac_exeext && {
9528 test "$cross_compiling" = yes ||
9529 $as_test_x conftest
$ac_exeext
9531 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9533 $as_echo "$as_me: failed program was:" >&5
9534 sed 's/^/| /' conftest.
$ac_ext >&5
9536 ac_cv_lib_Xext_XShapeQueryExtension
=no
9539 rm -rf conftest.dSYM
9540 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9541 conftest
$ac_exeext conftest.
$ac_ext
9542 LIBS
=$ac_check_lib_save_LIBS
9544 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9545 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9546 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then
9550 { $as_echo "$as_me:$LINENO: checking for wslen in -lw" >&5
9551 $as_echo_n "checking for wslen in -lw... " >&6; }
9552 if test "${ac_cv_lib_w_wslen+set}" = set; then
9553 $as_echo_n "(cached) " >&6
9555 ac_check_lib_save_LIBS
=$LIBS
9556 LIBS
="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9557 cat >conftest.
$ac_ext <<_ACEOF
9560 cat confdefs.h
>>conftest.
$ac_ext
9561 cat >>conftest.
$ac_ext <<_ACEOF
9562 /* end confdefs.h. */
9564 /* Override any GCC internal prototype to avoid an error.
9565 Use char because int might match the return type of a GCC
9566 builtin and then its argument prototype would still apply. */
9579 rm -f conftest.
$ac_objext conftest
$ac_exeext
9580 if { (ac_try
="$ac_link"
9582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9583 *) ac_try_echo=$ac_try;;
9585 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9586 $as_echo "$ac_try_echo") >&5
9587 (eval "$ac_link") 2>conftest.er1
9589 grep -v '^ *+' conftest.er1 >conftest.err
9591 cat conftest.err >&5
9592 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9593 (exit $ac_status); } && {
9594 test -z "$ac_c_werror_flag" ||
9595 test ! -s conftest.err
9596 } && test -s conftest$ac_exeext && {
9597 test "$cross_compiling" = yes ||
9598 $as_test_x conftest$ac_exeext
9600 ac_cv_lib_w_wslen=yes
9602 $as_echo "$as_me: failed program was:" >&5
9603 sed 's/^/| /' conftest.$ac_ext >&5
9605 ac_cv_lib_w_wslen=no
9608 rm -rf conftest.dSYM
9609 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9610 conftest$ac_exeext conftest.$ac_ext
9611 LIBS=$ac_check_lib_save_LIBS
9613 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
9614 $as_echo "$ac_cv_lib_w_wslen" >&6; }
9615 if test "x$ac_cv_lib_w_wslen" = x""yes; then
9616 X_EXTRA_LIBS="$X_EXTRA_LIBS -lw"
9619 { $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
9620 $as_echo_n "checking for dlsym in -ldl... " >&6; }
9621 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
9622 $as_echo_n "(cached) " >&6
9624 ac_check_lib_save_LIBS=$LIBS
9625 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9626 cat >conftest.$ac_ext <<_ACEOF
9629 cat confdefs.h >>conftest.$ac_ext
9630 cat >>conftest.$ac_ext <<_ACEOF
9631 /* end confdefs.h. */
9633 /* Override any GCC internal prototype to avoid an error.
9634 Use char because int might match the return type of a GCC
9635 builtin and then its argument prototype would still apply. */
9648 rm -f conftest.$ac_objext conftest$ac_exeext
9649 if { (ac_try="$ac_link"
9651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9652 *) ac_try_echo
=$ac_try;;
9654 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9655 $as_echo "$ac_try_echo") >&5
9656 (eval "$ac_link") 2>conftest.er1
9658 grep -v '^ *+' conftest.er1
>conftest.err
9660 cat conftest.err
>&5
9661 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9662 (exit $ac_status); } && {
9663 test -z "$ac_c_werror_flag" ||
9664 test ! -s conftest.err
9665 } && test -s conftest
$ac_exeext && {
9666 test "$cross_compiling" = yes ||
9667 $as_test_x conftest
$ac_exeext
9669 ac_cv_lib_dl_dlsym
=yes
9671 $as_echo "$as_me: failed program was:" >&5
9672 sed 's/^/| /' conftest.
$ac_ext >&5
9674 ac_cv_lib_dl_dlsym
=no
9677 rm -rf conftest.dSYM
9678 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9679 conftest
$ac_exeext conftest.
$ac_ext
9680 LIBS
=$ac_check_lib_save_LIBS
9682 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
9683 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
9684 if test "x$ac_cv_lib_dl_dlsym" = x
""yes; then
9685 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldl"
9688 { $as_echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
9689 $as_echo_n "checking for XmuCreateStippledPixmap in -lXmu... " >&6; }
9690 if test "${ac_cv_lib_Xmu_XmuCreateStippledPixmap+set}" = set; then
9691 $as_echo_n "(cached) " >&6
9693 ac_check_lib_save_LIBS
=$LIBS
9694 LIBS
="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9695 cat >conftest.
$ac_ext <<_ACEOF
9698 cat confdefs.h
>>conftest.
$ac_ext
9699 cat >>conftest.
$ac_ext <<_ACEOF
9700 /* end confdefs.h. */
9702 /* Override any GCC internal prototype to avoid an error.
9703 Use char because int might match the return type of a GCC
9704 builtin and then its argument prototype would still apply. */
9708 char XmuCreateStippledPixmap ();
9712 return XmuCreateStippledPixmap ();
9717 rm -f conftest.
$ac_objext conftest
$ac_exeext
9718 if { (ac_try
="$ac_link"
9720 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9721 *) ac_try_echo=$ac_try;;
9723 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9724 $as_echo "$ac_try_echo") >&5
9725 (eval "$ac_link") 2>conftest.er1
9727 grep -v '^ *+' conftest.er1 >conftest.err
9729 cat conftest.err >&5
9730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9731 (exit $ac_status); } && {
9732 test -z "$ac_c_werror_flag" ||
9733 test ! -s conftest.err
9734 } && test -s conftest$ac_exeext && {
9735 test "$cross_compiling" = yes ||
9736 $as_test_x conftest$ac_exeext
9738 ac_cv_lib_Xmu_XmuCreateStippledPixmap=yes
9740 $as_echo "$as_me: failed program was:" >&5
9741 sed 's/^/| /' conftest.$ac_ext >&5
9743 ac_cv_lib_Xmu_XmuCreateStippledPixmap=no
9746 rm -rf conftest.dSYM
9747 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9748 conftest$ac_exeext conftest.$ac_ext
9749 LIBS=$ac_check_lib_save_LIBS
9751 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
9752 $as_echo "$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6; }
9753 if test "x$ac_cv_lib_Xmu_XmuCreateStippledPixmap" = x""yes; then
9754 GUI_X_LIBS="-lXmu $GUI_X_LIBS"
9757 if test -z "$SKIP_MOTIF"; then
9758 { $as_echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
9759 $as_echo_n "checking for XpEndJob in -lXp... " >&6; }
9760 if test "${ac_cv_lib_Xp_XpEndJob+set}" = set; then
9761 $as_echo_n "(cached) " >&6
9763 ac_check_lib_save_LIBS=$LIBS
9764 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9765 cat >conftest.$ac_ext <<_ACEOF
9768 cat confdefs.h >>conftest.$ac_ext
9769 cat >>conftest.$ac_ext <<_ACEOF
9770 /* end confdefs.h. */
9772 /* Override any GCC internal prototype to avoid an error.
9773 Use char because int might match the return type of a GCC
9774 builtin and then its argument prototype would still apply. */
9787 rm -f conftest.$ac_objext conftest$ac_exeext
9788 if { (ac_try="$ac_link"
9790 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9791 *) ac_try_echo
=$ac_try;;
9793 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9794 $as_echo "$ac_try_echo") >&5
9795 (eval "$ac_link") 2>conftest.er1
9797 grep -v '^ *+' conftest.er1
>conftest.err
9799 cat conftest.err
>&5
9800 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9801 (exit $ac_status); } && {
9802 test -z "$ac_c_werror_flag" ||
9803 test ! -s conftest.err
9804 } && test -s conftest
$ac_exeext && {
9805 test "$cross_compiling" = yes ||
9806 $as_test_x conftest
$ac_exeext
9808 ac_cv_lib_Xp_XpEndJob
=yes
9810 $as_echo "$as_me: failed program was:" >&5
9811 sed 's/^/| /' conftest.
$ac_ext >&5
9813 ac_cv_lib_Xp_XpEndJob
=no
9816 rm -rf conftest.dSYM
9817 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9818 conftest
$ac_exeext conftest.
$ac_ext
9819 LIBS
=$ac_check_lib_save_LIBS
9821 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
9822 $as_echo "$ac_cv_lib_Xp_XpEndJob" >&6; }
9823 if test "x$ac_cv_lib_Xp_XpEndJob" = x
""yes; then
9824 GUI_X_LIBS
="-lXp $GUI_X_LIBS"
9828 LDFLAGS
=$ldflags_save
9830 { $as_echo "$as_me:$LINENO: checking for extra X11 defines" >&5
9831 $as_echo_n "checking for extra X11 defines... " >&6; }
9834 if mkdir conftestdir
; then
9836 cat > Imakefile
<<'EOF'
9838 @echo 'NARROW_PROTO="${PROTO_DEFINES}"'
9840 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9841 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9846 if test -z "$NARROW_PROTO"; then
9847 { $as_echo "$as_me:$LINENO: result: no" >&5
9848 $as_echo "no" >&6; }
9850 { $as_echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
9851 $as_echo "$NARROW_PROTO" >&6; }
9856 if test "$enable_xsmp" = "yes"; then
9857 cppflags_save
=$CPPFLAGS
9858 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9860 for ac_header
in X11
/SM
/SMlib.h
9862 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9863 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9864 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9865 $as_echo_n "checking for $ac_header... " >&6; }
9866 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9867 $as_echo_n "(cached) " >&6
9869 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9870 $as_echo "$as_val"'`
9871 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9872 $as_echo "$ac_res" >&6; }
9874 # Is the header compilable?
9875 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9876 $as_echo_n "checking $ac_header usability... " >&6; }
9877 cat >conftest.
$ac_ext <<_ACEOF
9880 cat confdefs.h
>>conftest.
$ac_ext
9881 cat >>conftest.
$ac_ext <<_ACEOF
9882 /* end confdefs.h. */
9883 $ac_includes_default
9884 #include <$ac_header>
9886 rm -f conftest.
$ac_objext
9887 if { (ac_try
="$ac_compile"
9889 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9890 *) ac_try_echo=$ac_try;;
9892 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9893 $as_echo "$ac_try_echo") >&5
9894 (eval "$ac_compile") 2>conftest.er1
9896 grep -v '^ *+' conftest.er1 >conftest.err
9898 cat conftest.err >&5
9899 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); } && {
9901 test -z "$ac_c_werror_flag" ||
9902 test ! -s conftest.err
9903 } && test -s conftest.$ac_objext; then
9904 ac_header_compiler=yes
9906 $as_echo "$as_me: failed program was:" >&5
9907 sed 's/^/| /' conftest.$ac_ext >&5
9909 ac_header_compiler=no
9912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9913 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9914 $as_echo "$ac_header_compiler" >&6; }
9916 # Is the header present?
9917 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9918 $as_echo_n "checking $ac_header presence... " >&6; }
9919 cat >conftest.$ac_ext <<_ACEOF
9922 cat confdefs.h >>conftest.$ac_ext
9923 cat >>conftest.$ac_ext <<_ACEOF
9924 /* end confdefs.h. */
9925 #include <$ac_header>
9927 if { (ac_try="$ac_cpp conftest.$ac_ext"
9929 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9930 *) ac_try_echo
=$ac_try;;
9932 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9933 $as_echo "$ac_try_echo") >&5
9934 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9936 grep -v '^ *+' conftest.er1
>conftest.err
9938 cat conftest.err
>&5
9939 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9940 (exit $ac_status); } >/dev
/null
&& {
9941 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9942 test ! -s conftest.err
9944 ac_header_preproc
=yes
9946 $as_echo "$as_me: failed program was:" >&5
9947 sed 's/^/| /' conftest.
$ac_ext >&5
9949 ac_header_preproc
=no
9952 rm -f conftest.err conftest.
$ac_ext
9953 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9954 $as_echo "$ac_header_preproc" >&6; }
9956 # So? What about this header?
9957 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9959 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9960 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9961 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9962 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9963 ac_header_preproc
=yes
9966 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9967 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9968 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9969 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9970 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9971 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9972 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9973 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9974 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9975 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9976 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9977 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9981 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9982 $as_echo_n "checking for $ac_header... " >&6; }
9983 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9984 $as_echo_n "(cached) " >&6
9986 eval "$as_ac_Header=\$ac_header_preproc"
9988 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9989 $as_echo "$as_val"'`
9990 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9991 $as_echo "$ac_res" >&6; }
9994 as_val
=`eval 'as_val=${'$as_ac_Header'}
9995 $as_echo "$as_val"'`
9996 if test "x$as_val" = x
""yes; then
9997 cat >>confdefs.h
<<_ACEOF
9998 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10005 CPPFLAGS
=$cppflags_save
10009 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF" -o -z "$SKIP_GTK"; then
10010 cppflags_save
=$CPPFLAGS
10011 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10014 for ac_header
in X11
/xpm.h X11
/Sunkeysym.h
10016 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10017 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10018 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10019 $as_echo_n "checking for $ac_header... " >&6; }
10020 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10021 $as_echo_n "(cached) " >&6
10023 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10024 $as_echo "$as_val"'`
10025 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10026 $as_echo "$ac_res" >&6; }
10028 # Is the header compilable?
10029 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10030 $as_echo_n "checking $ac_header usability... " >&6; }
10031 cat >conftest.
$ac_ext <<_ACEOF
10034 cat confdefs.h
>>conftest.
$ac_ext
10035 cat >>conftest.
$ac_ext <<_ACEOF
10036 /* end confdefs.h. */
10037 $ac_includes_default
10038 #include <$ac_header>
10040 rm -f conftest.
$ac_objext
10041 if { (ac_try
="$ac_compile"
10042 case "(($ac_try" in
10043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10044 *) ac_try_echo=$ac_try;;
10046 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10047 $as_echo "$ac_try_echo") >&5
10048 (eval "$ac_compile") 2>conftest.er1
10050 grep -v '^ *+' conftest.er1 >conftest.err
10052 cat conftest.err >&5
10053 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10054 (exit $ac_status); } && {
10055 test -z "$ac_c_werror_flag" ||
10056 test ! -s conftest.err
10057 } && test -s conftest.$ac_objext; then
10058 ac_header_compiler=yes
10060 $as_echo "$as_me: failed program was:" >&5
10061 sed 's/^/| /' conftest.$ac_ext >&5
10063 ac_header_compiler=no
10066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10067 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10068 $as_echo "$ac_header_compiler" >&6; }
10070 # Is the header present?
10071 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10072 $as_echo_n "checking $ac_header presence... " >&6; }
10073 cat >conftest.$ac_ext <<_ACEOF
10076 cat confdefs.h >>conftest.$ac_ext
10077 cat >>conftest.$ac_ext <<_ACEOF
10078 /* end confdefs.h. */
10079 #include <$ac_header>
10081 if { (ac_try="$ac_cpp conftest.$ac_ext"
10082 case "(($ac_try" in
10083 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10084 *) ac_try_echo
=$ac_try;;
10086 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10087 $as_echo "$ac_try_echo") >&5
10088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10090 grep -v '^ *+' conftest.er1
>conftest.err
10092 cat conftest.err
>&5
10093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10094 (exit $ac_status); } >/dev
/null
&& {
10095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10096 test ! -s conftest.err
10098 ac_header_preproc
=yes
10100 $as_echo "$as_me: failed program was:" >&5
10101 sed 's/^/| /' conftest.
$ac_ext >&5
10103 ac_header_preproc
=no
10106 rm -f conftest.err conftest.
$ac_ext
10107 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10108 $as_echo "$ac_header_preproc" >&6; }
10110 # So? What about this header?
10111 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10113 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10114 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10115 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10116 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10117 ac_header_preproc
=yes
10120 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10121 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10122 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10123 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10125 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10127 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10128 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10129 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10130 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10131 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10135 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10136 $as_echo_n "checking for $ac_header... " >&6; }
10137 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10138 $as_echo_n "(cached) " >&6
10140 eval "$as_ac_Header=\$ac_header_preproc"
10142 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10143 $as_echo "$as_val"'`
10144 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10145 $as_echo "$ac_res" >&6; }
10148 as_val
=`eval 'as_val=${'$as_ac_Header'}
10149 $as_echo "$as_val"'`
10150 if test "x$as_val" = x
""yes; then
10151 cat >>confdefs.h
<<_ACEOF
10152 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10160 if test ! "$enable_xim" = "no"; then
10161 { $as_echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
10162 $as_echo_n "checking for XIMText in X11/Xlib.h... " >&6; }
10163 cat >conftest.
$ac_ext <<_ACEOF
10166 cat confdefs.h
>>conftest.
$ac_ext
10167 cat >>conftest.
$ac_ext <<_ACEOF
10168 /* end confdefs.h. */
10169 #include <X11/Xlib.h>
10171 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
10172 $EGREP "XIMText" >/dev
/null
2>&1; then
10173 { $as_echo "$as_me:$LINENO: result: yes" >&5
10174 $as_echo "yes" >&6; }
10176 { $as_echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
10177 $as_echo "no; xim has been disabled" >&6; }; enable_xim
= "no"
10182 CPPFLAGS
=$cppflags_save
10184 if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \
10185 -a "x$GUITYPE" != "xNONE" ; then
10186 { $as_echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
10187 $as_echo "X GUI selected; xim has been enabled" >&6; }
10192 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
10193 cppflags_save
=$CPPFLAGS
10194 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10195 { $as_echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
10196 $as_echo_n "checking for X11/Xmu/Editres.h... " >&6; }
10197 cat >conftest.
$ac_ext <<_ACEOF
10200 cat confdefs.h
>>conftest.
$ac_ext
10201 cat >>conftest.
$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10204 #include <X11/Intrinsic.h>
10205 #include <X11/Xmu/Editres.h>
10214 rm -f conftest.
$ac_objext
10215 if { (ac_try
="$ac_compile"
10216 case "(($ac_try" in
10217 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10218 *) ac_try_echo=$ac_try;;
10220 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10221 $as_echo "$ac_try_echo") >&5
10222 (eval "$ac_compile") 2>conftest.er1
10224 grep -v '^ *+' conftest.er1 >conftest.err
10226 cat conftest.err >&5
10227 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10228 (exit $ac_status); } && {
10229 test -z "$ac_c_werror_flag" ||
10230 test ! -s conftest.err
10231 } && test -s conftest.$ac_objext; then
10232 { $as_echo "$as_me:$LINENO: result: yes" >&5
10233 $as_echo "yes" >&6; }
10234 cat >>confdefs.h <<\_ACEOF
10235 #define HAVE_X11_XMU_EDITRES_H 1
10239 $as_echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10242 { $as_echo "$as_me:$LINENO: result: no" >&5
10243 $as_echo "no" >&6; }
10246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10247 CPPFLAGS=$cppflags_save
10250 if test -z "$SKIP_MOTIF"; then
10251 cppflags_save=$CPPFLAGS
10252 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
10260 for ac_header in Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h \
10261 Xm/UnhighlightT.h Xm/Notebook.h
10263 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10264 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10265 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10266 $as_echo_n "checking for $ac_header... " >&6; }
10267 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10268 $as_echo_n "(cached) " >&6
10270 ac_res=`eval 'as_val=${'$as_ac_Header'}
10271 $as_echo "$as_val"'`
10272 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10273 $as_echo "$ac_res" >&6; }
10275 # Is the header compilable?
10276 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10277 $as_echo_n "checking $ac_header usability... " >&6; }
10278 cat >conftest.$ac_ext <<_ACEOF
10281 cat confdefs.h >>conftest.$ac_ext
10282 cat >>conftest.$ac_ext <<_ACEOF
10283 /* end confdefs.h. */
10284 $ac_includes_default
10285 #include <$ac_header>
10287 rm -f conftest.$ac_objext
10288 if { (ac_try="$ac_compile"
10289 case "(($ac_try" in
10290 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10291 *) ac_try_echo
=$ac_try;;
10293 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10294 $as_echo "$ac_try_echo") >&5
10295 (eval "$ac_compile") 2>conftest.er1
10297 grep -v '^ *+' conftest.er1
>conftest.err
10299 cat conftest.err
>&5
10300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10301 (exit $ac_status); } && {
10302 test -z "$ac_c_werror_flag" ||
10303 test ! -s conftest.err
10304 } && test -s conftest.
$ac_objext; then
10305 ac_header_compiler
=yes
10307 $as_echo "$as_me: failed program was:" >&5
10308 sed 's/^/| /' conftest.
$ac_ext >&5
10310 ac_header_compiler
=no
10313 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10314 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10315 $as_echo "$ac_header_compiler" >&6; }
10317 # Is the header present?
10318 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10319 $as_echo_n "checking $ac_header presence... " >&6; }
10320 cat >conftest.
$ac_ext <<_ACEOF
10323 cat confdefs.h
>>conftest.
$ac_ext
10324 cat >>conftest.
$ac_ext <<_ACEOF
10325 /* end confdefs.h. */
10326 #include <$ac_header>
10328 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10329 case "(($ac_try" in
10330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10331 *) ac_try_echo=$ac_try;;
10333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10334 $as_echo "$ac_try_echo") >&5
10335 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10337 grep -v '^ *+' conftest.er1 >conftest.err
10339 cat conftest.err >&5
10340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10341 (exit $ac_status); } >/dev/null && {
10342 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10343 test ! -s conftest.err
10345 ac_header_preproc=yes
10347 $as_echo "$as_me: failed program was:" >&5
10348 sed 's/^/| /' conftest.$ac_ext >&5
10350 ac_header_preproc=no
10353 rm -f conftest.err conftest.$ac_ext
10354 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10355 $as_echo "$ac_header_preproc" >&6; }
10357 # So? What about this header?
10358 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10360 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10361 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10362 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10363 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10364 ac_header_preproc=yes
10367 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10368 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10369 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10370 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10371 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10372 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10373 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10374 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10375 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10376 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10377 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10378 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10382 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10383 $as_echo_n "checking for $ac_header... " >&6; }
10384 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10385 $as_echo_n "(cached) " >&6
10387 eval "$as_ac_Header=\$ac_header_preproc"
10389 ac_res=`eval 'as_val=${'$as_ac_Header'}
10390 $as_echo "$as_val"'`
10391 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10392 $as_echo "$ac_res" >&6; }
10395 as_val=`eval 'as_val=${'$as_ac_Header'}
10396 $as_echo "$as_val"'`
10397 if test "x$as_val" = x""yes; then
10398 cat >>confdefs.h <<_ACEOF
10399 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10407 if test $ac_cv_header_Xm_XpmP_h = yes; then
10408 { $as_echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
10409 $as_echo_n "checking for XpmAttributes_21 in Xm/XpmP.h... " >&6; }
10410 cat >conftest.$ac_ext <<_ACEOF
10413 cat confdefs.h >>conftest.$ac_ext
10414 cat >>conftest.$ac_ext <<_ACEOF
10415 /* end confdefs.h. */
10416 #include <Xm/XpmP.h>
10420 XpmAttributes_21 attr;
10425 rm -f conftest.$ac_objext
10426 if { (ac_try="$ac_compile"
10427 case "(($ac_try" in
10428 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10429 *) ac_try_echo
=$ac_try;;
10431 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10432 $as_echo "$ac_try_echo") >&5
10433 (eval "$ac_compile") 2>conftest.er1
10435 grep -v '^ *+' conftest.er1
>conftest.err
10437 cat conftest.err
>&5
10438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10439 (exit $ac_status); } && {
10440 test -z "$ac_c_werror_flag" ||
10441 test ! -s conftest.err
10442 } && test -s conftest.
$ac_objext; then
10443 { $as_echo "$as_me:$LINENO: result: yes" >&5
10444 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
10445 #define XPMATTRIBUTES_TYPE XpmAttributes_21
10449 $as_echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.
$ac_ext >&5
10452 { $as_echo "$as_me:$LINENO: result: no" >&5
10453 $as_echo "no" >&6; }; cat >>confdefs.h
<<\_ACEOF
10454 #define XPMATTRIBUTES_TYPE XpmAttributes
10460 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10462 cat >>confdefs.h
<<\_ACEOF
10463 #define XPMATTRIBUTES_TYPE XpmAttributes
10467 CPPFLAGS
=$cppflags_save
10470 if test "x$GUITYPE" = "xNONE" -a "$enable_xim" = "yes"; then
10471 { $as_echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
10472 $as_echo "no GUI selected; xim has been disabled" >&6; }
10475 if test "x$GUITYPE" = "xNONE" -a "$enable_fontset" = "yes"; then
10476 { $as_echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
10477 $as_echo "no GUI selected; fontset has been disabled" >&6; }
10478 enable_fontset
="no"
10480 if test "x$GUITYPE:$enable_fontset" = "xGTK:yes" -a "0$gtk_major_version" -ge 2; then
10481 { $as_echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
10482 $as_echo "GTK+ 2 GUI selected; fontset has been disabled" >&6; }
10483 enable_fontset
="no"
10486 if test -z "$SKIP_PHOTON"; then
10495 if test "$enable_workshop" = "yes" -a -n "$SKIP_MOTIF"; then
10496 { { $as_echo "$as_me:$LINENO: error: cannot use workshop without Motif" >&5
10497 $as_echo "$as_me: error: cannot use workshop without Motif" >&2;}
10498 { (exit 1); exit 1; }; }
10501 if test "$enable_xim" = "yes"; then
10502 cat >>confdefs.h
<<\_ACEOF
10507 if test "$enable_fontset" = "yes"; then
10508 cat >>confdefs.h
<<\_ACEOF
10509 #define FEAT_XFONTSET 1
10517 if test "$enable_hangulinput" = "yes"; then
10518 if test "x$GUITYPE" = "xNONE"; then
10519 { $as_echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
10520 $as_echo "no GUI selected; hangul input has been disabled" >&6; }
10521 enable_hangulinput
=no
10523 cat >>confdefs.h
<<\_ACEOF
10524 #define FEAT_HANGULIN 1
10527 HANGULIN_SRC
=hangulin.c
10529 HANGULIN_OBJ
=objects
/hangulin.o
10534 { $as_echo "$as_me:$LINENO: checking --disable-uimfep argument" >&5
10535 $as_echo_n "checking --disable-uimfep argument... " >&6; }
10536 # Check whether --enable-uimfep was given.
10537 if test "${enable_uimfep+set}" = set; then
10538 enableval
=$enable_uimfep;
10540 enable_uimfep
="yes"
10543 if test "$enable_uimfep" = "yes"; then
10544 { $as_echo "$as_me:$LINENO: result: no" >&5
10545 $as_echo "no" >&6; }
10546 cat >>confdefs.h
<<\_ACEOF
10547 #define FEAT_UIMFEP 1
10551 { $as_echo "$as_me:$LINENO: result: yes" >&5
10552 $as_echo "yes" >&6; }
10557 { $as_echo "$as_me:$LINENO: checking whether toupper is broken" >&5
10558 $as_echo_n "checking whether toupper is broken... " >&6; }
10559 if test "${vim_cv_toupper_broken+set}" = set; then
10560 $as_echo_n "(cached) " >&6
10563 if test "$cross_compiling" = yes; then
10565 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_toupper_broken'" >&5
10566 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_toupper_broken'" >&2;}
10567 { (exit 1); exit 1; }; }
10570 cat >conftest.
$ac_ext <<_ACEOF
10572 #include "confdefs.h"
10575 # include <stdlib.h>
10576 # include <stddef.h>
10578 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
10581 rm -f conftest
$ac_exeext
10582 if { (ac_try
="$ac_link"
10583 case "(($ac_try" in
10584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10585 *) ac_try_echo=$ac_try;;
10587 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10588 $as_echo "$ac_try_echo") >&5
10589 (eval "$ac_link") 2>&5
10591 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10592 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10593 { (case "(($ac_try" in
10594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10595 *) ac_try_echo
=$ac_try;;
10597 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10598 $as_echo "$ac_try_echo") >&5
10599 (eval "$ac_try") 2>&5
10601 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10602 (exit $ac_status); }; }; then
10604 vim_cv_toupper_broken
=yes
10607 $as_echo "$as_me: program exited with status $ac_status" >&5
10608 $as_echo "$as_me: failed program was:" >&5
10609 sed 's/^/| /' conftest.
$ac_ext >&5
10611 ( exit $ac_status )
10613 vim_cv_toupper_broken
=no
10616 rm -rf conftest.dSYM
10617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10622 { $as_echo "$as_me:$LINENO: result: $vim_cv_toupper_broken" >&5
10623 $as_echo "$vim_cv_toupper_broken" >&6; }
10625 if test "x$vim_cv_toupper_broken" = "xyes" ; then
10626 cat >>confdefs.h
<<\_ACEOF
10627 #define BROKEN_TOUPPER 1
10632 { $as_echo "$as_me:$LINENO: checking whether __DATE__ and __TIME__ work" >&5
10633 $as_echo_n "checking whether __DATE__ and __TIME__ work... " >&6; }
10634 cat >conftest.
$ac_ext <<_ACEOF
10637 cat confdefs.h
>>conftest.
$ac_ext
10638 cat >>conftest.
$ac_ext <<_ACEOF
10639 /* end confdefs.h. */
10644 printf("(" __DATE__ " " __TIME__ ")");
10649 rm -f conftest.
$ac_objext
10650 if { (ac_try
="$ac_compile"
10651 case "(($ac_try" in
10652 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10653 *) ac_try_echo=$ac_try;;
10655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10656 $as_echo "$ac_try_echo") >&5
10657 (eval "$ac_compile") 2>conftest.er1
10659 grep -v '^ *+' conftest.er1 >conftest.err
10661 cat conftest.err >&5
10662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } && {
10664 test -z "$ac_c_werror_flag" ||
10665 test ! -s conftest.err
10666 } && test -s conftest.$ac_objext; then
10667 { $as_echo "$as_me:$LINENO: result: yes" >&5
10668 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
10669 #define HAVE_DATE_TIME 1
10673 $as_echo "$as_me: failed program was:" >&5
10674 sed 's/^/| /' conftest.$ac_ext >&5
10676 { $as_echo "$as_me:$LINENO: result: no" >&5
10677 $as_echo "no" >&6; }
10680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10682 { $as_echo "$as_me:$LINENO: checking whether __attribute__((unused)) is allowed" >&5
10683 $as_echo_n "checking whether __attribute__((unused)) is allowed... " >&6; }
10684 cat >conftest.$ac_ext <<_ACEOF
10687 cat confdefs.h >>conftest.$ac_ext
10688 cat >>conftest.$ac_ext <<_ACEOF
10689 /* end confdefs.h. */
10694 int x __attribute__((unused));
10699 rm -f conftest.$ac_objext
10700 if { (ac_try="$ac_compile"
10701 case "(($ac_try" in
10702 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10703 *) ac_try_echo
=$ac_try;;
10705 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10706 $as_echo "$ac_try_echo") >&5
10707 (eval "$ac_compile") 2>conftest.er1
10709 grep -v '^ *+' conftest.er1
>conftest.err
10711 cat conftest.err
>&5
10712 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); } && {
10714 test -z "$ac_c_werror_flag" ||
10715 test ! -s conftest.err
10716 } && test -s conftest.
$ac_objext; then
10717 { $as_echo "$as_me:$LINENO: result: yes" >&5
10718 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
10719 #define HAVE_ATTRIBUTE_UNUSED 1
10723 $as_echo "$as_me: failed program was:" >&5
10724 sed 's/^/| /' conftest.
$ac_ext >&5
10726 { $as_echo "$as_me:$LINENO: result: no" >&5
10727 $as_echo "no" >&6; }
10730 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10732 if test "${ac_cv_header_elf_h+set}" = set; then
10733 { $as_echo "$as_me:$LINENO: checking for elf.h" >&5
10734 $as_echo_n "checking for elf.h... " >&6; }
10735 if test "${ac_cv_header_elf_h+set}" = set; then
10736 $as_echo_n "(cached) " >&6
10738 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
10739 $as_echo "$ac_cv_header_elf_h" >&6; }
10741 # Is the header compilable?
10742 { $as_echo "$as_me:$LINENO: checking elf.h usability" >&5
10743 $as_echo_n "checking elf.h usability... " >&6; }
10744 cat >conftest.
$ac_ext <<_ACEOF
10747 cat confdefs.h
>>conftest.
$ac_ext
10748 cat >>conftest.
$ac_ext <<_ACEOF
10749 /* end confdefs.h. */
10750 $ac_includes_default
10753 rm -f conftest.
$ac_objext
10754 if { (ac_try
="$ac_compile"
10755 case "(($ac_try" in
10756 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10757 *) ac_try_echo=$ac_try;;
10759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10760 $as_echo "$ac_try_echo") >&5
10761 (eval "$ac_compile") 2>conftest.er1
10763 grep -v '^ *+' conftest.er1 >conftest.err
10765 cat conftest.err >&5
10766 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10767 (exit $ac_status); } && {
10768 test -z "$ac_c_werror_flag" ||
10769 test ! -s conftest.err
10770 } && test -s conftest.$ac_objext; then
10771 ac_header_compiler=yes
10773 $as_echo "$as_me: failed program was:" >&5
10774 sed 's/^/| /' conftest.$ac_ext >&5
10776 ac_header_compiler=no
10779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10780 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10781 $as_echo "$ac_header_compiler" >&6; }
10783 # Is the header present?
10784 { $as_echo "$as_me:$LINENO: checking elf.h presence" >&5
10785 $as_echo_n "checking elf.h presence... " >&6; }
10786 cat >conftest.$ac_ext <<_ACEOF
10789 cat confdefs.h >>conftest.$ac_ext
10790 cat >>conftest.$ac_ext <<_ACEOF
10791 /* end confdefs.h. */
10794 if { (ac_try="$ac_cpp conftest.$ac_ext"
10795 case "(($ac_try" in
10796 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10797 *) ac_try_echo
=$ac_try;;
10799 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10800 $as_echo "$ac_try_echo") >&5
10801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10803 grep -v '^ *+' conftest.er1
>conftest.err
10805 cat conftest.err
>&5
10806 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10807 (exit $ac_status); } >/dev
/null
&& {
10808 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10809 test ! -s conftest.err
10811 ac_header_preproc
=yes
10813 $as_echo "$as_me: failed program was:" >&5
10814 sed 's/^/| /' conftest.
$ac_ext >&5
10816 ac_header_preproc
=no
10819 rm -f conftest.err conftest.
$ac_ext
10820 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10821 $as_echo "$ac_header_preproc" >&6; }
10823 # So? What about this header?
10824 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10826 { $as_echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5
10827 $as_echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10828 { $as_echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5
10829 $as_echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;}
10830 ac_header_preproc
=yes
10833 { $as_echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5
10834 $as_echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;}
10835 { $as_echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
10836 $as_echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
10837 { $as_echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5
10838 $as_echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;}
10839 { $as_echo "$as_me:$LINENO: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&5
10840 $as_echo "$as_me: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&2;}
10841 { $as_echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
10842 $as_echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
10843 { $as_echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
10844 $as_echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
10848 { $as_echo "$as_me:$LINENO: checking for elf.h" >&5
10849 $as_echo_n "checking for elf.h... " >&6; }
10850 if test "${ac_cv_header_elf_h+set}" = set; then
10851 $as_echo_n "(cached) " >&6
10853 ac_cv_header_elf_h
=$ac_header_preproc
10855 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
10856 $as_echo "$ac_cv_header_elf_h" >&6; }
10859 if test "x$ac_cv_header_elf_h" = x
""yes; then
10864 if test "$HAS_ELF" = 1; then
10866 { $as_echo "$as_me:$LINENO: checking for main in -lelf" >&5
10867 $as_echo_n "checking for main in -lelf... " >&6; }
10868 if test "${ac_cv_lib_elf_main+set}" = set; then
10869 $as_echo_n "(cached) " >&6
10871 ac_check_lib_save_LIBS
=$LIBS
10873 cat >conftest.
$ac_ext <<_ACEOF
10876 cat confdefs.h
>>conftest.
$ac_ext
10877 cat >>conftest.
$ac_ext <<_ACEOF
10878 /* end confdefs.h. */
10889 rm -f conftest.
$ac_objext conftest
$ac_exeext
10890 if { (ac_try
="$ac_link"
10891 case "(($ac_try" in
10892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10893 *) ac_try_echo=$ac_try;;
10895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10896 $as_echo "$ac_try_echo") >&5
10897 (eval "$ac_link") 2>conftest.er1
10899 grep -v '^ *+' conftest.er1 >conftest.err
10901 cat conftest.err >&5
10902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10903 (exit $ac_status); } && {
10904 test -z "$ac_c_werror_flag" ||
10905 test ! -s conftest.err
10906 } && test -s conftest$ac_exeext && {
10907 test "$cross_compiling" = yes ||
10908 $as_test_x conftest$ac_exeext
10910 ac_cv_lib_elf_main=yes
10912 $as_echo "$as_me: failed program was:" >&5
10913 sed 's/^/| /' conftest.$ac_ext >&5
10915 ac_cv_lib_elf_main=no
10918 rm -rf conftest.dSYM
10919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10920 conftest$ac_exeext conftest.$ac_ext
10921 LIBS=$ac_check_lib_save_LIBS
10923 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
10924 $as_echo "$ac_cv_lib_elf_main" >&6; }
10925 if test "x$ac_cv_lib_elf_main" = x""yes; then
10926 cat >>confdefs.h <<_ACEOF
10927 #define HAVE_LIBELF 1
10941 ac_header_dirent=no
10942 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
10943 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" |
$as_tr_sh`
10944 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10945 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
10946 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10947 $as_echo_n "(cached) " >&6
10949 cat >conftest.$ac_ext <<_ACEOF
10952 cat confdefs.h >>conftest.$ac_ext
10953 cat >>conftest.$ac_ext <<_ACEOF
10954 /* end confdefs.h. */
10955 #include <sys/types.h>
10967 rm -f conftest.$ac_objext
10968 if { (ac_try="$ac_compile"
10969 case "(($ac_try" in
10970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10971 *) ac_try_echo
=$ac_try;;
10973 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10974 $as_echo "$ac_try_echo") >&5
10975 (eval "$ac_compile") 2>conftest.er1
10977 grep -v '^ *+' conftest.er1
>conftest.err
10979 cat conftest.err
>&5
10980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10981 (exit $ac_status); } && {
10982 test -z "$ac_c_werror_flag" ||
10983 test ! -s conftest.err
10984 } && test -s conftest.
$ac_objext; then
10985 eval "$as_ac_Header=yes"
10987 $as_echo "$as_me: failed program was:" >&5
10988 sed 's/^/| /' conftest.
$ac_ext >&5
10990 eval "$as_ac_Header=no"
10993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10995 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10996 $as_echo "$as_val"'`
10997 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10998 $as_echo "$ac_res" >&6; }
10999 as_val
=`eval 'as_val=${'$as_ac_Header'}
11000 $as_echo "$as_val"'`
11001 if test "x$as_val" = x
""yes; then
11002 cat >>confdefs.h
<<_ACEOF
11003 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
11006 ac_header_dirent
=$ac_hdr; break
11010 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
11011 if test $ac_header_dirent = dirent.h
; then
11012 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
11013 $as_echo_n "checking for library containing opendir... " >&6; }
11014 if test "${ac_cv_search_opendir+set}" = set; then
11015 $as_echo_n "(cached) " >&6
11017 ac_func_search_save_LIBS
=$LIBS
11018 cat >conftest.
$ac_ext <<_ACEOF
11021 cat confdefs.h
>>conftest.
$ac_ext
11022 cat >>conftest.
$ac_ext <<_ACEOF
11023 /* end confdefs.h. */
11025 /* Override any GCC internal prototype to avoid an error.
11026 Use char because int might match the return type of a GCC
11027 builtin and then its argument prototype would still apply. */
11040 for ac_lib
in '' dir
; do
11041 if test -z "$ac_lib"; then
11042 ac_res
="none required"
11045 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
11047 rm -f conftest.
$ac_objext conftest
$ac_exeext
11048 if { (ac_try
="$ac_link"
11049 case "(($ac_try" in
11050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11051 *) ac_try_echo=$ac_try;;
11053 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11054 $as_echo "$ac_try_echo") >&5
11055 (eval "$ac_link") 2>conftest.er1
11057 grep -v '^ *+' conftest.er1 >conftest.err
11059 cat conftest.err >&5
11060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11061 (exit $ac_status); } && {
11062 test -z "$ac_c_werror_flag" ||
11063 test ! -s conftest.err
11064 } && test -s conftest$ac_exeext && {
11065 test "$cross_compiling" = yes ||
11066 $as_test_x conftest$ac_exeext
11068 ac_cv_search_opendir=$ac_res
11070 $as_echo "$as_me: failed program was:" >&5
11071 sed 's/^/| /' conftest.$ac_ext >&5
11076 rm -rf conftest.dSYM
11077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11079 if test "${ac_cv_search_opendir+set}" = set; then
11083 if test "${ac_cv_search_opendir+set}" = set; then
11086 ac_cv_search_opendir=no
11088 rm conftest.$ac_ext
11089 LIBS=$ac_func_search_save_LIBS
11091 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11092 $as_echo "$ac_cv_search_opendir" >&6; }
11093 ac_res=$ac_cv_search_opendir
11094 if test "$ac_res" != no; then
11095 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
11100 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
11101 $as_echo_n "checking for library containing opendir... " >&6; }
11102 if test "${ac_cv_search_opendir+set}" = set; then
11103 $as_echo_n "(cached) " >&6
11105 ac_func_search_save_LIBS=$LIBS
11106 cat >conftest.$ac_ext <<_ACEOF
11109 cat confdefs.h >>conftest.$ac_ext
11110 cat >>conftest.$ac_ext <<_ACEOF
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11128 for ac_lib in '' x; do
11129 if test -z "$ac_lib"; then
11130 ac_res="none required"
11133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
11135 rm -f conftest.$ac_objext conftest$ac_exeext
11136 if { (ac_try="$ac_link"
11137 case "(($ac_try" in
11138 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11139 *) ac_try_echo
=$ac_try;;
11141 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11142 $as_echo "$ac_try_echo") >&5
11143 (eval "$ac_link") 2>conftest.er1
11145 grep -v '^ *+' conftest.er1
>conftest.err
11147 cat conftest.err
>&5
11148 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11149 (exit $ac_status); } && {
11150 test -z "$ac_c_werror_flag" ||
11151 test ! -s conftest.err
11152 } && test -s conftest
$ac_exeext && {
11153 test "$cross_compiling" = yes ||
11154 $as_test_x conftest
$ac_exeext
11156 ac_cv_search_opendir
=$ac_res
11158 $as_echo "$as_me: failed program was:" >&5
11159 sed 's/^/| /' conftest.
$ac_ext >&5
11164 rm -rf conftest.dSYM
11165 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11167 if test "${ac_cv_search_opendir+set}" = set; then
11171 if test "${ac_cv_search_opendir+set}" = set; then
11174 ac_cv_search_opendir
=no
11176 rm conftest.
$ac_ext
11177 LIBS
=$ac_func_search_save_LIBS
11179 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
11180 $as_echo "$ac_cv_search_opendir" >&6; }
11181 ac_res
=$ac_cv_search_opendir
11182 if test "$ac_res" != no
; then
11183 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
11190 if test $ac_cv_header_sys_wait_h = no
; then
11191 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
11192 $as_echo_n "checking for sys/wait.h that defines union wait... " >&6; }
11193 cat >conftest.
$ac_ext <<_ACEOF
11196 cat confdefs.h
>>conftest.
$ac_ext
11197 cat >>conftest.
$ac_ext <<_ACEOF
11198 /* end confdefs.h. */
11199 #include <sys/wait.h>
11203 union wait xx, yy; xx = yy
11208 rm -f conftest.
$ac_objext
11209 if { (ac_try
="$ac_compile"
11210 case "(($ac_try" in
11211 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11212 *) ac_try_echo=$ac_try;;
11214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11215 $as_echo "$ac_try_echo") >&5
11216 (eval "$ac_compile") 2>conftest.er1
11218 grep -v '^ *+' conftest.er1 >conftest.err
11220 cat conftest.err >&5
11221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11222 (exit $ac_status); } && {
11223 test -z "$ac_c_werror_flag" ||
11224 test ! -s conftest.err
11225 } && test -s conftest.$ac_objext; then
11226 { $as_echo "$as_me:$LINENO: result: yes" >&5
11227 $as_echo "yes" >&6; }
11228 cat >>confdefs.h <<\_ACEOF
11229 #define HAVE_SYS_WAIT_H 1
11232 cat >>confdefs.h <<\_ACEOF
11233 #define HAVE_UNION_WAIT 1
11237 $as_echo "$as_me: failed program was:" >&5
11238 sed 's/^/| /' conftest.$ac_ext >&5
11240 { $as_echo "$as_me:$LINENO: result: no" >&5
11241 $as_echo "no" >&6; }
11244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11288 for ac_header in stdarg.h stdlib.h string.h sys/select.h sys/utsname.h \
11289 termcap.h fcntl.h sgtty.h sys/ioctl.h sys/time.h sys/types.h termio.h \
11290 iconv.h langinfo.h math.h unistd.h stropts.h errno.h \
11292 sys/resource.h sys/systeminfo.h locale.h \
11293 sys/stream.h termios.h libc.h sys/statfs.h \
11294 poll.h sys/poll.h pwd.h utime.h sys/param.h libintl.h \
11295 libgen.h util/debug.h util/msg18n.h frame.h \
11296 sys/acl.h sys/access.h sys/sysinfo.h wchar.h wctype.h
11298 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11299 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11300 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11301 $as_echo_n "checking for $ac_header... " >&6; }
11302 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11303 $as_echo_n "(cached) " >&6
11305 ac_res=`eval 'as_val=${'$as_ac_Header'}
11306 $as_echo "$as_val"'`
11307 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11308 $as_echo "$ac_res" >&6; }
11310 # Is the header compilable?
11311 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11312 $as_echo_n "checking $ac_header usability... " >&6; }
11313 cat >conftest.$ac_ext <<_ACEOF
11316 cat confdefs.h >>conftest.$ac_ext
11317 cat >>conftest.$ac_ext <<_ACEOF
11318 /* end confdefs.h. */
11319 $ac_includes_default
11320 #include <$ac_header>
11322 rm -f conftest.$ac_objext
11323 if { (ac_try="$ac_compile"
11324 case "(($ac_try" in
11325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11326 *) ac_try_echo
=$ac_try;;
11328 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11329 $as_echo "$ac_try_echo") >&5
11330 (eval "$ac_compile") 2>conftest.er1
11332 grep -v '^ *+' conftest.er1
>conftest.err
11334 cat conftest.err
>&5
11335 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 (exit $ac_status); } && {
11337 test -z "$ac_c_werror_flag" ||
11338 test ! -s conftest.err
11339 } && test -s conftest.
$ac_objext; then
11340 ac_header_compiler
=yes
11342 $as_echo "$as_me: failed program was:" >&5
11343 sed 's/^/| /' conftest.
$ac_ext >&5
11345 ac_header_compiler
=no
11348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11349 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11350 $as_echo "$ac_header_compiler" >&6; }
11352 # Is the header present?
11353 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11354 $as_echo_n "checking $ac_header presence... " >&6; }
11355 cat >conftest.
$ac_ext <<_ACEOF
11358 cat confdefs.h
>>conftest.
$ac_ext
11359 cat >>conftest.
$ac_ext <<_ACEOF
11360 /* end confdefs.h. */
11361 #include <$ac_header>
11363 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11364 case "(($ac_try" in
11365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11366 *) ac_try_echo=$ac_try;;
11368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11369 $as_echo "$ac_try_echo") >&5
11370 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11372 grep -v '^ *+' conftest.er1 >conftest.err
11374 cat conftest.err >&5
11375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11376 (exit $ac_status); } >/dev/null && {
11377 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11378 test ! -s conftest.err
11380 ac_header_preproc=yes
11382 $as_echo "$as_me: failed program was:" >&5
11383 sed 's/^/| /' conftest.$ac_ext >&5
11385 ac_header_preproc=no
11388 rm -f conftest.err conftest.$ac_ext
11389 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11390 $as_echo "$ac_header_preproc" >&6; }
11392 # So? What about this header?
11393 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11395 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11396 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11397 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11398 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11399 ac_header_preproc=yes
11402 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11403 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11404 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11405 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11406 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11407 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11408 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11409 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11410 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11411 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11412 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11413 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11417 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11418 $as_echo_n "checking for $ac_header... " >&6; }
11419 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11420 $as_echo_n "(cached) " >&6
11422 eval "$as_ac_Header=\$ac_header_preproc"
11424 ac_res=`eval 'as_val=${'$as_ac_Header'}
11425 $as_echo "$as_val"'`
11426 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11427 $as_echo "$ac_res" >&6; }
11430 as_val=`eval 'as_val=${'$as_ac_Header'}
11431 $as_echo "$as_val"'`
11432 if test "x$as_val" = x""yes; then
11433 cat >>confdefs.h <<_ACEOF
11434 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11443 for ac_header in sys/ptem.h
11445 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
11446 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11447 $as_echo_n "checking for $ac_header... " >&6; }
11448 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11449 $as_echo_n "(cached) " >&6
11451 cat >conftest.$ac_ext <<_ACEOF
11454 cat confdefs.h >>conftest.$ac_ext
11455 cat >>conftest.$ac_ext <<_ACEOF
11456 /* end confdefs.h. */
11457 #if defined HAVE_SYS_STREAM_H
11458 # include <sys/stream.h>
11461 #include <$ac_header>
11463 rm -f conftest.$ac_objext
11464 if { (ac_try="$ac_compile"
11465 case "(($ac_try" in
11466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11467 *) ac_try_echo
=$ac_try;;
11469 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11470 $as_echo "$ac_try_echo") >&5
11471 (eval "$ac_compile") 2>conftest.er1
11473 grep -v '^ *+' conftest.er1
>conftest.err
11475 cat conftest.err
>&5
11476 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11477 (exit $ac_status); } && {
11478 test -z "$ac_c_werror_flag" ||
11479 test ! -s conftest.err
11480 } && test -s conftest.
$ac_objext; then
11481 eval "$as_ac_Header=yes"
11483 $as_echo "$as_me: failed program was:" >&5
11484 sed 's/^/| /' conftest.
$ac_ext >&5
11486 eval "$as_ac_Header=no"
11489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11491 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11492 $as_echo "$as_val"'`
11493 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11494 $as_echo "$ac_res" >&6; }
11495 as_val
=`eval 'as_val=${'$as_ac_Header'}
11496 $as_echo "$as_val"'`
11497 if test "x$as_val" = x
""yes; then
11498 cat >>confdefs.h
<<_ACEOF
11499 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11508 for ac_header
in sys
/sysctl.h
11510 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11511 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11512 $as_echo_n "checking for $ac_header... " >&6; }
11513 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11514 $as_echo_n "(cached) " >&6
11516 cat >conftest.
$ac_ext <<_ACEOF
11519 cat confdefs.h
>>conftest.
$ac_ext
11520 cat >>conftest.
$ac_ext <<_ACEOF
11521 /* end confdefs.h. */
11522 #if defined HAVE_SYS_PARAM_H
11523 # include <sys/param.h>
11526 #include <$ac_header>
11528 rm -f conftest.
$ac_objext
11529 if { (ac_try
="$ac_compile"
11530 case "(($ac_try" in
11531 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11532 *) ac_try_echo=$ac_try;;
11534 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11535 $as_echo "$ac_try_echo") >&5
11536 (eval "$ac_compile") 2>conftest.er1
11538 grep -v '^ *+' conftest.er1 >conftest.err
11540 cat conftest.err >&5
11541 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 (exit $ac_status); } && {
11543 test -z "$ac_c_werror_flag" ||
11544 test ! -s conftest.err
11545 } && test -s conftest.$ac_objext; then
11546 eval "$as_ac_Header=yes"
11548 $as_echo "$as_me: failed program was:" >&5
11549 sed 's/^/| /' conftest.$ac_ext >&5
11551 eval "$as_ac_Header=no"
11554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11556 ac_res=`eval 'as_val=${'$as_ac_Header'}
11557 $as_echo "$as_val"'`
11558 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11559 $as_echo "$ac_res" >&6; }
11560 as_val=`eval 'as_val=${'$as_ac_Header'}
11561 $as_echo "$as_val"'`
11562 if test "x$as_val" = x""yes; then
11563 cat >>confdefs.h <<_ACEOF
11564 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11573 { $as_echo "$as_me:$LINENO: checking for pthread_np.h" >&5
11574 $as_echo_n "checking for pthread_np.h... " >&6; }
11575 cat >conftest.$ac_ext <<_ACEOF
11578 cat confdefs.h >>conftest.$ac_ext
11579 cat >>conftest.$ac_ext <<_ACEOF
11580 /* end confdefs.h. */
11582 #include <pthread.h>
11583 #include <pthread_np.h>
11592 rm -f conftest.$ac_objext
11593 if { (ac_try="$ac_compile"
11594 case "(($ac_try" in
11595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11596 *) ac_try_echo
=$ac_try;;
11598 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11599 $as_echo "$ac_try_echo") >&5
11600 (eval "$ac_compile") 2>conftest.er1
11602 grep -v '^ *+' conftest.er1
>conftest.err
11604 cat conftest.err
>&5
11605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } && {
11607 test -z "$ac_c_werror_flag" ||
11608 test ! -s conftest.err
11609 } && test -s conftest.
$ac_objext; then
11610 { $as_echo "$as_me:$LINENO: result: yes" >&5
11611 $as_echo "yes" >&6; }
11612 cat >>confdefs.h
<<\_ACEOF
11613 #define HAVE_PTHREAD_NP_H 1
11617 $as_echo "$as_me: failed program was:" >&5
11618 sed 's/^/| /' conftest.
$ac_ext >&5
11620 { $as_echo "$as_me:$LINENO: result: no" >&5
11621 $as_echo "no" >&6; }
11624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11627 for ac_header
in strings.h
11629 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11630 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11631 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11632 $as_echo_n "checking for $ac_header... " >&6; }
11633 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11634 $as_echo_n "(cached) " >&6
11636 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11637 $as_echo "$as_val"'`
11638 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11639 $as_echo "$ac_res" >&6; }
11641 # Is the header compilable?
11642 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11643 $as_echo_n "checking $ac_header usability... " >&6; }
11644 cat >conftest.
$ac_ext <<_ACEOF
11647 cat confdefs.h
>>conftest.
$ac_ext
11648 cat >>conftest.
$ac_ext <<_ACEOF
11649 /* end confdefs.h. */
11650 $ac_includes_default
11651 #include <$ac_header>
11653 rm -f conftest.
$ac_objext
11654 if { (ac_try
="$ac_compile"
11655 case "(($ac_try" in
11656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11657 *) ac_try_echo=$ac_try;;
11659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11660 $as_echo "$ac_try_echo") >&5
11661 (eval "$ac_compile") 2>conftest.er1
11663 grep -v '^ *+' conftest.er1 >conftest.err
11665 cat conftest.err >&5
11666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11667 (exit $ac_status); } && {
11668 test -z "$ac_c_werror_flag" ||
11669 test ! -s conftest.err
11670 } && test -s conftest.$ac_objext; then
11671 ac_header_compiler=yes
11673 $as_echo "$as_me: failed program was:" >&5
11674 sed 's/^/| /' conftest.$ac_ext >&5
11676 ac_header_compiler=no
11679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11680 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11681 $as_echo "$ac_header_compiler" >&6; }
11683 # Is the header present?
11684 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11685 $as_echo_n "checking $ac_header presence... " >&6; }
11686 cat >conftest.$ac_ext <<_ACEOF
11689 cat confdefs.h >>conftest.$ac_ext
11690 cat >>conftest.$ac_ext <<_ACEOF
11691 /* end confdefs.h. */
11692 #include <$ac_header>
11694 if { (ac_try="$ac_cpp conftest.$ac_ext"
11695 case "(($ac_try" in
11696 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11697 *) ac_try_echo
=$ac_try;;
11699 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11700 $as_echo "$ac_try_echo") >&5
11701 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11703 grep -v '^ *+' conftest.er1
>conftest.err
11705 cat conftest.err
>&5
11706 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 (exit $ac_status); } >/dev
/null
&& {
11708 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11709 test ! -s conftest.err
11711 ac_header_preproc
=yes
11713 $as_echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.
$ac_ext >&5
11716 ac_header_preproc
=no
11719 rm -f conftest.err conftest.
$ac_ext
11720 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11721 $as_echo "$ac_header_preproc" >&6; }
11723 # So? What about this header?
11724 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11726 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11727 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11728 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11729 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11730 ac_header_preproc
=yes
11733 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11734 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11735 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11736 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11737 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11738 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11739 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11740 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11741 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11742 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11743 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11744 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11748 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11749 $as_echo_n "checking for $ac_header... " >&6; }
11750 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11751 $as_echo_n "(cached) " >&6
11753 eval "$as_ac_Header=\$ac_header_preproc"
11755 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11756 $as_echo "$as_val"'`
11757 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11758 $as_echo "$ac_res" >&6; }
11761 as_val
=`eval 'as_val=${'$as_ac_Header'}
11762 $as_echo "$as_val"'`
11763 if test "x$as_val" = x
""yes; then
11764 cat >>confdefs.h
<<_ACEOF
11765 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11772 if test "x$MACOSX" = "xyes"; then
11773 cat >>confdefs.h
<<\_ACEOF
11774 #define NO_STRINGS_WITH_STRING_H 1
11779 { $as_echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
11780 $as_echo_n "checking if strings.h can be included after string.h... " >&6; }
11781 cppflags_save
=$CPPFLAGS
11782 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11783 cat >conftest.
$ac_ext <<_ACEOF
11786 cat confdefs.h
>>conftest.
$ac_ext
11787 cat >>conftest.
$ac_ext <<_ACEOF
11788 /* end confdefs.h. */
11790 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO)
11791 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */
11792 /* but don't do it on AIX 5.1 (Uribarri) */
11794 #ifdef HAVE_XM_XM_H
11795 # include <Xm/Xm.h> /* This breaks it for HP-UX 11 (Squassabia) */
11797 #ifdef HAVE_STRING_H
11798 # include <string.h>
11800 #if defined(HAVE_STRINGS_H)
11801 # include <strings.h>
11812 rm -f conftest.
$ac_objext
11813 if { (ac_try
="$ac_compile"
11814 case "(($ac_try" in
11815 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11816 *) ac_try_echo=$ac_try;;
11818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11819 $as_echo "$ac_try_echo") >&5
11820 (eval "$ac_compile") 2>conftest.er1
11822 grep -v '^ *+' conftest.er1 >conftest.err
11824 cat conftest.err >&5
11825 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } && {
11827 test -z "$ac_c_werror_flag" ||
11828 test ! -s conftest.err
11829 } && test -s conftest.$ac_objext; then
11830 { $as_echo "$as_me:$LINENO: result: yes" >&5
11831 $as_echo "yes" >&6; }
11833 $as_echo "$as_me: failed program was:" >&5
11834 sed 's/^/| /' conftest.$ac_ext >&5
11836 cat >>confdefs.h <<\_ACEOF
11837 #define NO_STRINGS_WITH_STRING_H 1
11840 { $as_echo "$as_me:$LINENO: result: no" >&5
11841 $as_echo "no" >&6; }
11844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11845 CPPFLAGS=$cppflags_save
11848 if test $ac_cv_c_compiler_gnu = yes; then
11849 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11850 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
11851 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11852 $as_echo_n "(cached) " >&6
11854 ac_pattern="Autoconf.*'x'"
11855 cat >conftest.$ac_ext <<_ACEOF
11858 cat confdefs.h >>conftest.$ac_ext
11859 cat >>conftest.$ac_ext <<_ACEOF
11860 /* end confdefs.h. */
11864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11865 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11866 ac_cv_prog_gcc_traditional=yes
11868 ac_cv_prog_gcc_traditional=no
11873 if test $ac_cv_prog_gcc_traditional = no; then
11874 cat >conftest.$ac_ext <<_ACEOF
11877 cat confdefs.h >>conftest.$ac_ext
11878 cat >>conftest.$ac_ext <<_ACEOF
11879 /* end confdefs.h. */
11880 #include <termio.h>
11883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11884 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11885 ac_cv_prog_gcc_traditional=yes
11891 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11892 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11893 if test $ac_cv_prog_gcc_traditional = yes; then
11894 CC="$CC -traditional"
11898 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11899 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11900 if test "${ac_cv_c_const+set}" = set; then
11901 $as_echo_n "(cached) " >&6
11903 cat >conftest.$ac_ext <<_ACEOF
11906 cat confdefs.h >>conftest.$ac_ext
11907 cat >>conftest.$ac_ext <<_ACEOF
11908 /* end confdefs.h. */
11913 /* FIXME: Include the comments suggested by Paul. */
11914 #ifndef __cplusplus
11915 /* Ultrix mips cc rejects this. */
11916 typedef int charset[2];
11918 /* SunOS 4.1.1 cc rejects this. */
11919 char const *const *pcpcc;
11921 /* NEC SVR4.0.2 mips cc rejects this. */
11922 struct point {int x, y;};
11923 static struct point const zero = {0,0};
11924 /* AIX XL C 1.02.0.0 rejects this.
11925 It does not let you subtract one const X* pointer from another in
11926 an arm of an if-expression whose if-part is not a constant
11928 const char *g = "string";
11929 pcpcc = &g + (g ? g-g : 0);
11930 /* HPUX 7.0 cc rejects these. */
11932 ppc = (char**) pcpcc;
11933 pcpcc = (char const *const *) ppc;
11934 { /* SCO 3.2v4 cc rejects this. */
11936 char const *s = 0 ? (char *) 0 : (char const *) 0;
11941 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11942 int x[] = {25, 17};
11943 const int *foo = &x[0];
11946 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11947 typedef const int *iptr;
11951 { /* AIX XL C 1.02.0.0 rejects this saying
11952 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11953 struct s { int j; const int *ap[3]; };
11954 struct s *b; b->j = 5;
11956 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11957 const int foo = 10;
11958 if (!foo) return 0;
11960 return !cs[0] && !zero.x;
11967 rm -f conftest.$ac_objext
11968 if { (ac_try="$ac_compile"
11969 case "(($ac_try" in
11970 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11971 *) ac_try_echo
=$ac_try;;
11973 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11974 $as_echo "$ac_try_echo") >&5
11975 (eval "$ac_compile") 2>conftest.er1
11977 grep -v '^ *+' conftest.er1
>conftest.err
11979 cat conftest.err
>&5
11980 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11981 (exit $ac_status); } && {
11982 test -z "$ac_c_werror_flag" ||
11983 test ! -s conftest.err
11984 } && test -s conftest.
$ac_objext; then
11987 $as_echo "$as_me: failed program was:" >&5
11988 sed 's/^/| /' conftest.
$ac_ext >&5
11993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11995 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11996 $as_echo "$ac_cv_c_const" >&6; }
11997 if test $ac_cv_c_const = no
; then
11999 cat >>confdefs.h
<<\_ACEOF
12005 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5
12006 $as_echo_n "checking for working volatile... " >&6; }
12007 if test "${ac_cv_c_volatile+set}" = set; then
12008 $as_echo_n "(cached) " >&6
12010 cat >conftest.
$ac_ext <<_ACEOF
12013 cat confdefs.h
>>conftest.
$ac_ext
12014 cat >>conftest.
$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12022 int * volatile y = (int *) 0;
12028 rm -f conftest.
$ac_objext
12029 if { (ac_try
="$ac_compile"
12030 case "(($ac_try" in
12031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12032 *) ac_try_echo=$ac_try;;
12034 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12035 $as_echo "$ac_try_echo") >&5
12036 (eval "$ac_compile") 2>conftest.er1
12038 grep -v '^ *+' conftest.er1 >conftest.err
12040 cat conftest.err >&5
12041 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12042 (exit $ac_status); } && {
12043 test -z "$ac_c_werror_flag" ||
12044 test ! -s conftest.err
12045 } && test -s conftest.$ac_objext; then
12046 ac_cv_c_volatile=yes
12048 $as_echo "$as_me: failed program was:" >&5
12049 sed 's/^/| /' conftest.$ac_ext >&5
12051 ac_cv_c_volatile=no
12054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12056 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
12057 $as_echo "$ac_cv_c_volatile" >&6; }
12058 if test $ac_cv_c_volatile = no; then
12060 cat >>confdefs.h <<\_ACEOF
12061 #define volatile /**/
12066 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
12067 $as_echo_n "checking for mode_t... " >&6; }
12068 if test "${ac_cv_type_mode_t+set}" = set; then
12069 $as_echo_n "(cached) " >&6
12071 ac_cv_type_mode_t=no
12072 cat >conftest.$ac_ext <<_ACEOF
12075 cat confdefs.h >>conftest.$ac_ext
12076 cat >>conftest.$ac_ext <<_ACEOF
12077 /* end confdefs.h. */
12078 $ac_includes_default
12082 if (sizeof (mode_t))
12088 rm -f conftest.$ac_objext
12089 if { (ac_try="$ac_compile"
12090 case "(($ac_try" in
12091 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12092 *) ac_try_echo
=$ac_try;;
12094 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12095 $as_echo "$ac_try_echo") >&5
12096 (eval "$ac_compile") 2>conftest.er1
12098 grep -v '^ *+' conftest.er1
>conftest.err
12100 cat conftest.err
>&5
12101 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12102 (exit $ac_status); } && {
12103 test -z "$ac_c_werror_flag" ||
12104 test ! -s conftest.err
12105 } && test -s conftest.
$ac_objext; then
12106 cat >conftest.
$ac_ext <<_ACEOF
12109 cat confdefs.h
>>conftest.
$ac_ext
12110 cat >>conftest.
$ac_ext <<_ACEOF
12111 /* end confdefs.h. */
12112 $ac_includes_default
12116 if (sizeof ((mode_t)))
12122 rm -f conftest.
$ac_objext
12123 if { (ac_try
="$ac_compile"
12124 case "(($ac_try" in
12125 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12126 *) ac_try_echo=$ac_try;;
12128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12129 $as_echo "$ac_try_echo") >&5
12130 (eval "$ac_compile") 2>conftest.er1
12132 grep -v '^ *+' conftest.er1 >conftest.err
12134 cat conftest.err >&5
12135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12136 (exit $ac_status); } && {
12137 test -z "$ac_c_werror_flag" ||
12138 test ! -s conftest.err
12139 } && test -s conftest.$ac_objext; then
12142 $as_echo "$as_me: failed program was:" >&5
12143 sed 's/^/| /' conftest.$ac_ext >&5
12145 ac_cv_type_mode_t=yes
12148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12150 $as_echo "$as_me: failed program was:" >&5
12151 sed 's/^/| /' conftest.$ac_ext >&5
12156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12158 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
12159 $as_echo "$ac_cv_type_mode_t" >&6; }
12160 if test "x$ac_cv_type_mode_t" = x""yes; then
12164 cat >>confdefs.h <<_ACEOF
12170 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
12171 $as_echo_n "checking for off_t... " >&6; }
12172 if test "${ac_cv_type_off_t+set}" = set; then
12173 $as_echo_n "(cached) " >&6
12175 ac_cv_type_off_t=no
12176 cat >conftest.$ac_ext <<_ACEOF
12179 cat confdefs.h >>conftest.$ac_ext
12180 cat >>conftest.$ac_ext <<_ACEOF
12181 /* end confdefs.h. */
12182 $ac_includes_default
12186 if (sizeof (off_t))
12192 rm -f conftest.$ac_objext
12193 if { (ac_try="$ac_compile"
12194 case "(($ac_try" in
12195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12196 *) ac_try_echo
=$ac_try;;
12198 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12199 $as_echo "$ac_try_echo") >&5
12200 (eval "$ac_compile") 2>conftest.er1
12202 grep -v '^ *+' conftest.er1
>conftest.err
12204 cat conftest.err
>&5
12205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12206 (exit $ac_status); } && {
12207 test -z "$ac_c_werror_flag" ||
12208 test ! -s conftest.err
12209 } && test -s conftest.
$ac_objext; then
12210 cat >conftest.
$ac_ext <<_ACEOF
12213 cat confdefs.h
>>conftest.
$ac_ext
12214 cat >>conftest.
$ac_ext <<_ACEOF
12215 /* end confdefs.h. */
12216 $ac_includes_default
12220 if (sizeof ((off_t)))
12226 rm -f conftest.
$ac_objext
12227 if { (ac_try
="$ac_compile"
12228 case "(($ac_try" in
12229 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12230 *) ac_try_echo=$ac_try;;
12232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12233 $as_echo "$ac_try_echo") >&5
12234 (eval "$ac_compile") 2>conftest.er1
12236 grep -v '^ *+' conftest.er1 >conftest.err
12238 cat conftest.err >&5
12239 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12240 (exit $ac_status); } && {
12241 test -z "$ac_c_werror_flag" ||
12242 test ! -s conftest.err
12243 } && test -s conftest.$ac_objext; then
12246 $as_echo "$as_me: failed program was:" >&5
12247 sed 's/^/| /' conftest.$ac_ext >&5
12249 ac_cv_type_off_t=yes
12252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12254 $as_echo "$as_me: failed program was:" >&5
12255 sed 's/^/| /' conftest.$ac_ext >&5
12260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12262 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
12263 $as_echo "$ac_cv_type_off_t" >&6; }
12264 if test "x$ac_cv_type_off_t" = x""yes; then
12268 cat >>confdefs.h <<_ACEOF
12269 #define off_t long int
12274 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
12275 $as_echo_n "checking for pid_t... " >&6; }
12276 if test "${ac_cv_type_pid_t+set}" = set; then
12277 $as_echo_n "(cached) " >&6
12279 ac_cv_type_pid_t=no
12280 cat >conftest.$ac_ext <<_ACEOF
12283 cat confdefs.h >>conftest.$ac_ext
12284 cat >>conftest.$ac_ext <<_ACEOF
12285 /* end confdefs.h. */
12286 $ac_includes_default
12290 if (sizeof (pid_t))
12296 rm -f conftest.$ac_objext
12297 if { (ac_try="$ac_compile"
12298 case "(($ac_try" in
12299 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12300 *) ac_try_echo
=$ac_try;;
12302 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12303 $as_echo "$ac_try_echo") >&5
12304 (eval "$ac_compile") 2>conftest.er1
12306 grep -v '^ *+' conftest.er1
>conftest.err
12308 cat conftest.err
>&5
12309 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12310 (exit $ac_status); } && {
12311 test -z "$ac_c_werror_flag" ||
12312 test ! -s conftest.err
12313 } && test -s conftest.
$ac_objext; then
12314 cat >conftest.
$ac_ext <<_ACEOF
12317 cat confdefs.h
>>conftest.
$ac_ext
12318 cat >>conftest.
$ac_ext <<_ACEOF
12319 /* end confdefs.h. */
12320 $ac_includes_default
12324 if (sizeof ((pid_t)))
12330 rm -f conftest.
$ac_objext
12331 if { (ac_try
="$ac_compile"
12332 case "(($ac_try" in
12333 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12334 *) ac_try_echo=$ac_try;;
12336 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12337 $as_echo "$ac_try_echo") >&5
12338 (eval "$ac_compile") 2>conftest.er1
12340 grep -v '^ *+' conftest.er1 >conftest.err
12342 cat conftest.err >&5
12343 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12344 (exit $ac_status); } && {
12345 test -z "$ac_c_werror_flag" ||
12346 test ! -s conftest.err
12347 } && test -s conftest.$ac_objext; then
12350 $as_echo "$as_me: failed program was:" >&5
12351 sed 's/^/| /' conftest.$ac_ext >&5
12353 ac_cv_type_pid_t=yes
12356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12358 $as_echo "$as_me: failed program was:" >&5
12359 sed 's/^/| /' conftest.$ac_ext >&5
12364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12366 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
12367 $as_echo "$ac_cv_type_pid_t" >&6; }
12368 if test "x$ac_cv_type_pid_t" = x""yes; then
12372 cat >>confdefs.h <<_ACEOF
12378 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
12379 $as_echo_n "checking for size_t... " >&6; }
12380 if test "${ac_cv_type_size_t+set}" = set; then
12381 $as_echo_n "(cached) " >&6
12383 ac_cv_type_size_t=no
12384 cat >conftest.$ac_ext <<_ACEOF
12387 cat confdefs.h >>conftest.$ac_ext
12388 cat >>conftest.$ac_ext <<_ACEOF
12389 /* end confdefs.h. */
12390 $ac_includes_default
12394 if (sizeof (size_t))
12400 rm -f conftest.$ac_objext
12401 if { (ac_try="$ac_compile"
12402 case "(($ac_try" in
12403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12404 *) ac_try_echo
=$ac_try;;
12406 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12407 $as_echo "$ac_try_echo") >&5
12408 (eval "$ac_compile") 2>conftest.er1
12410 grep -v '^ *+' conftest.er1
>conftest.err
12412 cat conftest.err
>&5
12413 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12414 (exit $ac_status); } && {
12415 test -z "$ac_c_werror_flag" ||
12416 test ! -s conftest.err
12417 } && test -s conftest.
$ac_objext; then
12418 cat >conftest.
$ac_ext <<_ACEOF
12421 cat confdefs.h
>>conftest.
$ac_ext
12422 cat >>conftest.
$ac_ext <<_ACEOF
12423 /* end confdefs.h. */
12424 $ac_includes_default
12428 if (sizeof ((size_t)))
12434 rm -f conftest.
$ac_objext
12435 if { (ac_try
="$ac_compile"
12436 case "(($ac_try" in
12437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12438 *) ac_try_echo=$ac_try;;
12440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12441 $as_echo "$ac_try_echo") >&5
12442 (eval "$ac_compile") 2>conftest.er1
12444 grep -v '^ *+' conftest.er1 >conftest.err
12446 cat conftest.err >&5
12447 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12448 (exit $ac_status); } && {
12449 test -z "$ac_c_werror_flag" ||
12450 test ! -s conftest.err
12451 } && test -s conftest.$ac_objext; then
12454 $as_echo "$as_me: failed program was:" >&5
12455 sed 's/^/| /' conftest.$ac_ext >&5
12457 ac_cv_type_size_t=yes
12460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12462 $as_echo "$as_me: failed program was:" >&5
12463 sed 's/^/| /' conftest.$ac_ext >&5
12468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12470 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12471 $as_echo "$ac_cv_type_size_t" >&6; }
12472 if test "x$ac_cv_type_size_t" = x""yes; then
12476 cat >>confdefs.h <<_ACEOF
12477 #define size_t unsigned int
12482 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
12483 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12484 if test "${ac_cv_type_uid_t+set}" = set; then
12485 $as_echo_n "(cached) " >&6
12487 cat >conftest.$ac_ext <<_ACEOF
12490 cat confdefs.h >>conftest.$ac_ext
12491 cat >>conftest.$ac_ext <<_ACEOF
12492 /* end confdefs.h. */
12493 #include <sys/types.h>
12496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12497 $EGREP "uid_t" >/dev/null 2>&1; then
12498 ac_cv_type_uid_t=yes
12500 ac_cv_type_uid_t=no
12505 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
12506 $as_echo "$ac_cv_type_uid_t" >&6; }
12507 if test $ac_cv_type_uid_t = no; then
12509 cat >>confdefs.h <<\_ACEOF
12514 cat >>confdefs.h <<\_ACEOF
12520 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
12521 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12522 if test "${ac_cv_header_time+set}" = set; then
12523 $as_echo_n "(cached) " >&6
12525 cat >conftest.$ac_ext <<_ACEOF
12528 cat confdefs.h >>conftest.$ac_ext
12529 cat >>conftest.$ac_ext <<_ACEOF
12530 /* end confdefs.h. */
12531 #include <sys/types.h>
12532 #include <sys/time.h>
12538 if ((struct tm *) 0)
12544 rm -f conftest.$ac_objext
12545 if { (ac_try="$ac_compile"
12546 case "(($ac_try" in
12547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12548 *) ac_try_echo
=$ac_try;;
12550 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12551 $as_echo "$ac_try_echo") >&5
12552 (eval "$ac_compile") 2>conftest.er1
12554 grep -v '^ *+' conftest.er1
>conftest.err
12556 cat conftest.err
>&5
12557 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12558 (exit $ac_status); } && {
12559 test -z "$ac_c_werror_flag" ||
12560 test ! -s conftest.err
12561 } && test -s conftest.
$ac_objext; then
12562 ac_cv_header_time
=yes
12564 $as_echo "$as_me: failed program was:" >&5
12565 sed 's/^/| /' conftest.
$ac_ext >&5
12567 ac_cv_header_time
=no
12570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12572 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
12573 $as_echo "$ac_cv_header_time" >&6; }
12574 if test $ac_cv_header_time = yes; then
12576 cat >>confdefs.h
<<\_ACEOF
12577 #define TIME_WITH_SYS_TIME 1
12582 { $as_echo "$as_me:$LINENO: checking for ino_t" >&5
12583 $as_echo_n "checking for ino_t... " >&6; }
12584 if test "${ac_cv_type_ino_t+set}" = set; then
12585 $as_echo_n "(cached) " >&6
12587 ac_cv_type_ino_t
=no
12588 cat >conftest.
$ac_ext <<_ACEOF
12591 cat confdefs.h
>>conftest.
$ac_ext
12592 cat >>conftest.
$ac_ext <<_ACEOF
12593 /* end confdefs.h. */
12594 $ac_includes_default
12598 if (sizeof (ino_t))
12604 rm -f conftest.
$ac_objext
12605 if { (ac_try
="$ac_compile"
12606 case "(($ac_try" in
12607 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12608 *) ac_try_echo=$ac_try;;
12610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12611 $as_echo "$ac_try_echo") >&5
12612 (eval "$ac_compile") 2>conftest.er1
12614 grep -v '^ *+' conftest.er1 >conftest.err
12616 cat conftest.err >&5
12617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12618 (exit $ac_status); } && {
12619 test -z "$ac_c_werror_flag" ||
12620 test ! -s conftest.err
12621 } && test -s conftest.$ac_objext; then
12622 cat >conftest.$ac_ext <<_ACEOF
12625 cat confdefs.h >>conftest.$ac_ext
12626 cat >>conftest.$ac_ext <<_ACEOF
12627 /* end confdefs.h. */
12628 $ac_includes_default
12632 if (sizeof ((ino_t)))
12638 rm -f conftest.$ac_objext
12639 if { (ac_try="$ac_compile"
12640 case "(($ac_try" in
12641 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12642 *) ac_try_echo
=$ac_try;;
12644 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12645 $as_echo "$ac_try_echo") >&5
12646 (eval "$ac_compile") 2>conftest.er1
12648 grep -v '^ *+' conftest.er1
>conftest.err
12650 cat conftest.err
>&5
12651 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12652 (exit $ac_status); } && {
12653 test -z "$ac_c_werror_flag" ||
12654 test ! -s conftest.err
12655 } && test -s conftest.
$ac_objext; then
12658 $as_echo "$as_me: failed program was:" >&5
12659 sed 's/^/| /' conftest.
$ac_ext >&5
12661 ac_cv_type_ino_t
=yes
12664 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12666 $as_echo "$as_me: failed program was:" >&5
12667 sed 's/^/| /' conftest.
$ac_ext >&5
12672 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12674 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
12675 $as_echo "$ac_cv_type_ino_t" >&6; }
12676 if test "x$ac_cv_type_ino_t" = x
""yes; then
12680 cat >>confdefs.h
<<_ACEOF
12686 { $as_echo "$as_me:$LINENO: checking for dev_t" >&5
12687 $as_echo_n "checking for dev_t... " >&6; }
12688 if test "${ac_cv_type_dev_t+set}" = set; then
12689 $as_echo_n "(cached) " >&6
12691 ac_cv_type_dev_t
=no
12692 cat >conftest.
$ac_ext <<_ACEOF
12695 cat confdefs.h
>>conftest.
$ac_ext
12696 cat >>conftest.
$ac_ext <<_ACEOF
12697 /* end confdefs.h. */
12698 $ac_includes_default
12702 if (sizeof (dev_t))
12708 rm -f conftest.
$ac_objext
12709 if { (ac_try
="$ac_compile"
12710 case "(($ac_try" in
12711 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12712 *) ac_try_echo=$ac_try;;
12714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12715 $as_echo "$ac_try_echo") >&5
12716 (eval "$ac_compile") 2>conftest.er1
12718 grep -v '^ *+' conftest.er1 >conftest.err
12720 cat conftest.err >&5
12721 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12722 (exit $ac_status); } && {
12723 test -z "$ac_c_werror_flag" ||
12724 test ! -s conftest.err
12725 } && test -s conftest.$ac_objext; then
12726 cat >conftest.$ac_ext <<_ACEOF
12729 cat confdefs.h >>conftest.$ac_ext
12730 cat >>conftest.$ac_ext <<_ACEOF
12731 /* end confdefs.h. */
12732 $ac_includes_default
12736 if (sizeof ((dev_t)))
12742 rm -f conftest.$ac_objext
12743 if { (ac_try="$ac_compile"
12744 case "(($ac_try" in
12745 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12746 *) ac_try_echo
=$ac_try;;
12748 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12749 $as_echo "$ac_try_echo") >&5
12750 (eval "$ac_compile") 2>conftest.er1
12752 grep -v '^ *+' conftest.er1
>conftest.err
12754 cat conftest.err
>&5
12755 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12756 (exit $ac_status); } && {
12757 test -z "$ac_c_werror_flag" ||
12758 test ! -s conftest.err
12759 } && test -s conftest.
$ac_objext; then
12762 $as_echo "$as_me: failed program was:" >&5
12763 sed 's/^/| /' conftest.
$ac_ext >&5
12765 ac_cv_type_dev_t
=yes
12768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12770 $as_echo "$as_me: failed program was:" >&5
12771 sed 's/^/| /' conftest.
$ac_ext >&5
12776 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12778 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
12779 $as_echo "$ac_cv_type_dev_t" >&6; }
12780 if test "x$ac_cv_type_dev_t" = x
""yes; then
12784 cat >>confdefs.h
<<_ACEOF
12785 #define dev_t unsigned
12791 { $as_echo "$as_me:$LINENO: checking for rlim_t" >&5
12792 $as_echo_n "checking for rlim_t... " >&6; }
12793 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then
12794 { $as_echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
12795 $as_echo "(cached) $ac_cv_type_rlim_t" >&6; }
12797 cat >conftest.
$ac_ext <<_ACEOF
12800 cat confdefs.h
>>conftest.
$ac_ext
12801 cat >>conftest.
$ac_ext <<_ACEOF
12802 /* end confdefs.h. */
12804 #include <sys/types.h>
12806 # include <stdlib.h>
12807 # include <stddef.h>
12809 #ifdef HAVE_SYS_RESOURCE_H
12810 # include <sys/resource.h>
12814 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12815 $EGREP "(^|[^a-zA-Z_0-9])rlim_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12816 ac_cv_type_rlim_t
=yes
12818 ac_cv_type_rlim_t
=no
12822 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
12823 $as_echo "$ac_cv_type_rlim_t" >&6; }
12825 if test $ac_cv_type_rlim_t = no
; then
12826 cat >> confdefs.h
<<\EOF
12827 #define rlim_t unsigned long
12831 { $as_echo "$as_me:$LINENO: checking for stack_t" >&5
12832 $as_echo_n "checking for stack_t... " >&6; }
12833 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then
12834 { $as_echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
12835 $as_echo "(cached) $ac_cv_type_stack_t" >&6; }
12837 cat >conftest.
$ac_ext <<_ACEOF
12840 cat confdefs.h
>>conftest.
$ac_ext
12841 cat >>conftest.
$ac_ext <<_ACEOF
12842 /* end confdefs.h. */
12844 #include <sys/types.h>
12846 # include <stdlib.h>
12847 # include <stddef.h>
12849 #include <signal.h>
12852 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12853 $EGREP "stack_t" >/dev
/null
2>&1; then
12854 ac_cv_type_stack_t
=yes
12856 ac_cv_type_stack_t
=no
12860 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
12861 $as_echo "$ac_cv_type_stack_t" >&6; }
12863 if test $ac_cv_type_stack_t = no
; then
12864 cat >> confdefs.h
<<\EOF
12865 #define stack_t struct sigaltstack
12869 { $as_echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
12870 $as_echo_n "checking whether stack_t has an ss_base field... " >&6; }
12871 cat >conftest.
$ac_ext <<_ACEOF
12874 cat confdefs.h
>>conftest.
$ac_ext
12875 cat >>conftest.
$ac_ext <<_ACEOF
12876 /* end confdefs.h. */
12878 #include <sys/types.h>
12880 # include <stdlib.h>
12881 # include <stddef.h>
12883 #include <signal.h>
12884 #include "confdefs.h"
12889 stack_t sigstk; sigstk.ss_base = 0;
12894 rm -f conftest.
$ac_objext
12895 if { (ac_try
="$ac_compile"
12896 case "(($ac_try" in
12897 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12898 *) ac_try_echo=$ac_try;;
12900 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12901 $as_echo "$ac_try_echo") >&5
12902 (eval "$ac_compile") 2>conftest.er1
12904 grep -v '^ *+' conftest.er1 >conftest.err
12906 cat conftest.err >&5
12907 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12908 (exit $ac_status); } && {
12909 test -z "$ac_c_werror_flag" ||
12910 test ! -s conftest.err
12911 } && test -s conftest.$ac_objext; then
12912 { $as_echo "$as_me:$LINENO: result: yes" >&5
12913 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12914 #define HAVE_SS_BASE 1
12918 $as_echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.$ac_ext >&5
12921 { $as_echo "$as_me:$LINENO: result: no" >&5
12922 $as_echo "no" >&6; }
12925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12928 { $as_echo "$as_me:$LINENO: checking --with-tlib argument" >&5
12929 $as_echo_n "checking --with-tlib argument... " >&6; }
12931 # Check whether --with-tlib was given.
12932 if test "${with_tlib+set}" = set; then
12933 withval=$with_tlib;
12936 if test -n "$with_tlib"; then
12937 { $as_echo "$as_me:$LINENO: result: $with_tlib" >&5
12938 $as_echo "$with_tlib" >&6; }
12939 LIBS="$LIBS -l$with_tlib"
12940 { $as_echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
12941 $as_echo_n "checking for linking with $with_tlib library... " >&6; }
12942 cat >conftest.$ac_ext <<_ACEOF
12945 cat confdefs.h >>conftest.$ac_ext
12946 cat >>conftest.$ac_ext <<_ACEOF
12947 /* end confdefs.h. */
12957 rm -f conftest.$ac_objext conftest$ac_exeext
12958 if { (ac_try="$ac_link"
12959 case "(($ac_try" in
12960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12961 *) ac_try_echo
=$ac_try;;
12963 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12964 $as_echo "$ac_try_echo") >&5
12965 (eval "$ac_link") 2>conftest.er1
12967 grep -v '^ *+' conftest.er1
>conftest.err
12969 cat conftest.err
>&5
12970 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12971 (exit $ac_status); } && {
12972 test -z "$ac_c_werror_flag" ||
12973 test ! -s conftest.err
12974 } && test -s conftest
$ac_exeext && {
12975 test "$cross_compiling" = yes ||
12976 $as_test_x conftest
$ac_exeext
12978 { $as_echo "$as_me:$LINENO: result: OK" >&5
12979 $as_echo "OK" >&6; }
12981 $as_echo "$as_me: failed program was:" >&5
12982 sed 's/^/| /' conftest.
$ac_ext >&5
12984 { { $as_echo "$as_me:$LINENO: error: FAILED" >&5
12985 $as_echo "$as_me: error: FAILED" >&2;}
12986 { (exit 1); exit 1; }; }
12989 rm -rf conftest.dSYM
12990 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12991 conftest
$ac_exeext conftest.
$ac_ext
12994 { $as_echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
12995 $as_echo "empty: automatic terminal library selection" >&6; }
12996 case "`uname -s 2>/dev/null`" in
12997 OSF1|SCO_SV
) tlibs
="ncurses curses termlib termcap";;
12998 *) tlibs
="ncurses termlib termcap curses";;
13000 for libname
in $tlibs; do
13002 as_ac_Lib
=`$as_echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
13003 { $as_echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
13004 $as_echo_n "checking for tgetent in -l${libname}... " >&6; }
13005 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
13006 $as_echo_n "(cached) " >&6
13008 ac_check_lib_save_LIBS
=$LIBS
13009 LIBS
="-l${libname} $LIBS"
13010 cat >conftest.
$ac_ext <<_ACEOF
13013 cat confdefs.h
>>conftest.
$ac_ext
13014 cat >>conftest.
$ac_ext <<_ACEOF
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13032 rm -f conftest.
$ac_objext conftest
$ac_exeext
13033 if { (ac_try
="$ac_link"
13034 case "(($ac_try" in
13035 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13036 *) ac_try_echo=$ac_try;;
13038 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13039 $as_echo "$ac_try_echo") >&5
13040 (eval "$ac_link") 2>conftest.er1
13042 grep -v '^ *+' conftest.er1 >conftest.err
13044 cat conftest.err >&5
13045 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13046 (exit $ac_status); } && {
13047 test -z "$ac_c_werror_flag" ||
13048 test ! -s conftest.err
13049 } && test -s conftest$ac_exeext && {
13050 test "$cross_compiling" = yes ||
13051 $as_test_x conftest$ac_exeext
13053 eval "$as_ac_Lib=yes"
13055 $as_echo "$as_me: failed program was:" >&5
13056 sed 's/^/| /' conftest.$ac_ext >&5
13058 eval "$as_ac_Lib=no"
13061 rm -rf conftest.dSYM
13062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13063 conftest$ac_exeext conftest.$ac_ext
13064 LIBS=$ac_check_lib_save_LIBS
13066 ac_res=`eval 'as_val=${'$as_ac_Lib'}
13067 $as_echo "$as_val"'`
13068 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13069 $as_echo "$ac_res" >&6; }
13070 as_val=`eval 'as_val=${'$as_ac_Lib'}
13071 $as_echo "$as_val"'`
13072 if test "x$as_val" = x""yes; then
13073 cat >>confdefs.h <<_ACEOF
13074 #define `$as_echo "HAVE_LIB${libname}" |
$as_tr_cpp` 1
13077 LIBS="-l${libname} $LIBS"
13081 if test "x$olibs" != "x$LIBS"; then
13082 if test "$cross_compiling" = yes; then
13085 cat >conftest.$ac_ext <<_ACEOF
13088 cat confdefs.h >>conftest.$ac_ext
13089 cat >>conftest.$ac_ext <<_ACEOF
13090 /* end confdefs.h. */
13092 #ifdef HAVE_TERMCAP_H
13093 # include <termcap.h>
13096 # include <stdlib.h>
13097 # include <stddef.h>
13099 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }
13101 rm -f conftest$ac_exeext
13102 if { (ac_try="$ac_link"
13103 case "(($ac_try" in
13104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13105 *) ac_try_echo
=$ac_try;;
13107 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13108 $as_echo "$ac_try_echo") >&5
13109 (eval "$ac_link") 2>&5
13111 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13112 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13113 { (case "(($ac_try" in
13114 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13115 *) ac_try_echo=$ac_try;;
13117 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13118 $as_echo "$ac_try_echo") >&5
13119 (eval "$ac_try") 2>&5
13121 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13122 (exit $ac_status); }; }; then
13125 $as_echo "$as_me: program exited with status $ac_status" >&5
13126 $as_echo "$as_me: failed program was:" >&5
13127 sed 's/^/| /' conftest.$ac_ext >&5
13129 ( exit $ac_status )
13132 rm -rf conftest.dSYM
13133 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13137 if test "$res" = "OK"; then
13140 { $as_echo "$as_me:$LINENO: result: $libname library is not usable" >&5
13141 $as_echo "$libname library is not usable" >&6; }
13145 if test "x$olibs" = "x$LIBS"; then
13146 { $as_echo "$as_me:$LINENO: result: no terminal library found" >&5
13147 $as_echo "no terminal library found" >&6; }
13151 if test "x$olibs" = "x$LIBS"; then
13152 { $as_echo "$as_me:$LINENO: checking for tgetent()" >&5
13153 $as_echo_n "checking for tgetent()... " >&6; }
13154 cat >conftest.$ac_ext <<_ACEOF
13157 cat confdefs.h >>conftest.$ac_ext
13158 cat >>conftest.$ac_ext <<_ACEOF
13159 /* end confdefs.h. */
13164 char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");
13169 rm -f conftest.$ac_objext conftest$ac_exeext
13170 if { (ac_try="$ac_link"
13171 case "(($ac_try" in
13172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13173 *) ac_try_echo
=$ac_try;;
13175 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13176 $as_echo "$ac_try_echo") >&5
13177 (eval "$ac_link") 2>conftest.er1
13179 grep -v '^ *+' conftest.er1
>conftest.err
13181 cat conftest.err
>&5
13182 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13183 (exit $ac_status); } && {
13184 test -z "$ac_c_werror_flag" ||
13185 test ! -s conftest.err
13186 } && test -s conftest
$ac_exeext && {
13187 test "$cross_compiling" = yes ||
13188 $as_test_x conftest
$ac_exeext
13190 { $as_echo "$as_me:$LINENO: result: yes" >&5
13191 $as_echo "yes" >&6; }
13193 $as_echo "$as_me: failed program was:" >&5
13194 sed 's/^/| /' conftest.
$ac_ext >&5
13196 { { $as_echo "$as_me:$LINENO: error: NOT FOUND!
13197 You need to install a terminal library; for example ncurses.
13198 Or specify the name of the library with --with-tlib." >&5
13199 $as_echo "$as_me: error: NOT FOUND!
13200 You need to install a terminal library; for example ncurses.
13201 Or specify the name of the library with --with-tlib." >&2;}
13202 { (exit 1); exit 1; }; }
13205 rm -rf conftest.dSYM
13206 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13207 conftest
$ac_exeext conftest.
$ac_ext
13210 { $as_echo "$as_me:$LINENO: checking whether we talk terminfo" >&5
13211 $as_echo_n "checking whether we talk terminfo... " >&6; }
13212 if test "${vim_cv_terminfo+set}" = set; then
13213 $as_echo_n "(cached) " >&6
13216 if test "$cross_compiling" = yes; then
13218 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_terminfo'" >&5
13219 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_terminfo'" >&2;}
13220 { (exit 1); exit 1; }; }
13223 cat >conftest.
$ac_ext <<_ACEOF
13225 #include "confdefs.h"
13226 #ifdef HAVE_TERMCAP_H
13227 # include <termcap.h>
13229 #ifdef HAVE_STRING_H
13230 # include <string.h>
13233 # include <stdlib.h>
13234 # include <stddef.h>
13237 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
13240 rm -f conftest
$ac_exeext
13241 if { (ac_try
="$ac_link"
13242 case "(($ac_try" in
13243 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13244 *) ac_try_echo=$ac_try;;
13246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13247 $as_echo "$ac_try_echo") >&5
13248 (eval "$ac_link") 2>&5
13250 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13251 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13252 { (case "(($ac_try" in
13253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13254 *) ac_try_echo
=$ac_try;;
13256 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13257 $as_echo "$ac_try_echo") >&5
13258 (eval "$ac_try") 2>&5
13260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); }; }; then
13266 $as_echo "$as_me: program exited with status $ac_status" >&5
13267 $as_echo "$as_me: failed program was:" >&5
13268 sed 's/^/| /' conftest.
$ac_ext >&5
13270 ( exit $ac_status )
13272 vim_cv_terminfo
=yes
13275 rm -rf conftest.dSYM
13276 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13282 { $as_echo "$as_me:$LINENO: result: $vim_cv_terminfo" >&5
13283 $as_echo "$vim_cv_terminfo" >&6; }
13285 if test "x$vim_cv_terminfo" = "xyes" ; then
13286 cat >>confdefs.h
<<\_ACEOF
13292 if test "x$olibs" != "x$LIBS"; then
13293 { $as_echo "$as_me:$LINENO: checking what tgetent() returns for an unknown terminal" >&5
13294 $as_echo_n "checking what tgetent() returns for an unknown terminal... " >&6; }
13295 if test "${vim_cv_tgent+set}" = set; then
13296 $as_echo_n "(cached) " >&6
13299 if test "$cross_compiling" = yes; then
13301 { { $as_echo "$as_me:$LINENO: error: failed to compile test program." >&5
13302 $as_echo "$as_me: error: failed to compile test program." >&2;}
13303 { (exit 1); exit 1; }; }
13306 cat >conftest.
$ac_ext <<_ACEOF
13308 #include "confdefs.h"
13309 #ifdef HAVE_TERMCAP_H
13310 # include <termcap.h>
13313 # include <stdlib.h>
13314 # include <stddef.h>
13317 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
13320 rm -f conftest
$ac_exeext
13321 if { (ac_try
="$ac_link"
13322 case "(($ac_try" in
13323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13324 *) ac_try_echo=$ac_try;;
13326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13327 $as_echo "$ac_try_echo") >&5
13328 (eval "$ac_link") 2>&5
13330 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13331 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
13332 { (case "(($ac_try" in
13333 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13334 *) ac_try_echo
=$ac_try;;
13336 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13337 $as_echo "$ac_try_echo") >&5
13338 (eval "$ac_try") 2>&5
13340 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13341 (exit $ac_status); }; }; then
13346 $as_echo "$as_me: program exited with status $ac_status" >&5
13347 $as_echo "$as_me: failed program was:" >&5
13348 sed 's/^/| /' conftest.
$ac_ext >&5
13350 ( exit $ac_status )
13352 vim_cv_tgent
=non-zero
13355 rm -rf conftest.dSYM
13356 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
13362 { $as_echo "$as_me:$LINENO: result: $vim_cv_tgent" >&5
13363 $as_echo "$vim_cv_tgent" >&6; }
13365 if test "x$vim_cv_tgent" = "xzero" ; then
13366 cat >>confdefs.h
<<\_ACEOF
13367 #define TGETENT_ZERO_ERR 0
13373 { $as_echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
13374 $as_echo_n "checking whether termcap.h contains ospeed... " >&6; }
13375 cat >conftest.
$ac_ext <<_ACEOF
13378 cat confdefs.h
>>conftest.
$ac_ext
13379 cat >>conftest.
$ac_ext <<_ACEOF
13380 /* end confdefs.h. */
13382 #ifdef HAVE_TERMCAP_H
13383 # include <termcap.h>
13394 rm -f conftest.
$ac_objext conftest
$ac_exeext
13395 if { (ac_try
="$ac_link"
13396 case "(($ac_try" in
13397 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13398 *) ac_try_echo=$ac_try;;
13400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13401 $as_echo "$ac_try_echo") >&5
13402 (eval "$ac_link") 2>conftest.er1
13404 grep -v '^ *+' conftest.er1 >conftest.err
13406 cat conftest.err >&5
13407 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13408 (exit $ac_status); } && {
13409 test -z "$ac_c_werror_flag" ||
13410 test ! -s conftest.err
13411 } && test -s conftest$ac_exeext && {
13412 test "$cross_compiling" = yes ||
13413 $as_test_x conftest$ac_exeext
13415 { $as_echo "$as_me:$LINENO: result: yes" >&5
13416 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13417 #define HAVE_OSPEED 1
13421 $as_echo "$as_me: failed program was:" >&5
13422 sed 's/^/| /' conftest.$ac_ext >&5
13424 { $as_echo "$as_me:$LINENO: result: no" >&5
13425 $as_echo "no" >&6; }
13426 { $as_echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
13427 $as_echo_n "checking whether ospeed can be extern... " >&6; }
13428 cat >conftest.$ac_ext <<_ACEOF
13431 cat confdefs.h >>conftest.$ac_ext
13432 cat >>conftest.$ac_ext <<_ACEOF
13433 /* end confdefs.h. */
13435 #ifdef HAVE_TERMCAP_H
13436 # include <termcap.h>
13438 extern short ospeed;
13448 rm -f conftest.$ac_objext conftest$ac_exeext
13449 if { (ac_try="$ac_link"
13450 case "(($ac_try" in
13451 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13452 *) ac_try_echo
=$ac_try;;
13454 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13455 $as_echo "$ac_try_echo") >&5
13456 (eval "$ac_link") 2>conftest.er1
13458 grep -v '^ *+' conftest.er1
>conftest.err
13460 cat conftest.err
>&5
13461 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13462 (exit $ac_status); } && {
13463 test -z "$ac_c_werror_flag" ||
13464 test ! -s conftest.err
13465 } && test -s conftest
$ac_exeext && {
13466 test "$cross_compiling" = yes ||
13467 $as_test_x conftest
$ac_exeext
13469 { $as_echo "$as_me:$LINENO: result: yes" >&5
13470 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
13471 #define OSPEED_EXTERN 1
13475 $as_echo "$as_me: failed program was:" >&5
13476 sed 's/^/| /' conftest.
$ac_ext >&5
13478 { $as_echo "$as_me:$LINENO: result: no" >&5
13479 $as_echo "no" >&6; }
13482 rm -rf conftest.dSYM
13483 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13484 conftest
$ac_exeext conftest.
$ac_ext
13488 rm -rf conftest.dSYM
13489 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13490 conftest
$ac_exeext conftest.
$ac_ext
13492 { $as_echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
13493 $as_echo_n "checking whether termcap.h contains UP, BC and PC... " >&6; }
13494 cat >conftest.
$ac_ext <<_ACEOF
13497 cat confdefs.h
>>conftest.
$ac_ext
13498 cat >>conftest.
$ac_ext <<_ACEOF
13499 /* end confdefs.h. */
13501 #ifdef HAVE_TERMCAP_H
13502 # include <termcap.h>
13508 if (UP == 0 && BC == 0) PC = 1
13513 rm -f conftest.
$ac_objext conftest
$ac_exeext
13514 if { (ac_try
="$ac_link"
13515 case "(($ac_try" in
13516 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13517 *) ac_try_echo=$ac_try;;
13519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13520 $as_echo "$ac_try_echo") >&5
13521 (eval "$ac_link") 2>conftest.er1
13523 grep -v '^ *+' conftest.er1 >conftest.err
13525 cat conftest.err >&5
13526 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13527 (exit $ac_status); } && {
13528 test -z "$ac_c_werror_flag" ||
13529 test ! -s conftest.err
13530 } && test -s conftest$ac_exeext && {
13531 test "$cross_compiling" = yes ||
13532 $as_test_x conftest$ac_exeext
13534 { $as_echo "$as_me:$LINENO: result: yes" >&5
13535 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13536 #define HAVE_UP_BC_PC 1
13540 $as_echo "$as_me: failed program was:" >&5
13541 sed 's/^/| /' conftest.$ac_ext >&5
13543 { $as_echo "$as_me:$LINENO: result: no" >&5
13544 $as_echo "no" >&6; }
13545 { $as_echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
13546 $as_echo_n "checking whether UP, BC and PC can be extern... " >&6; }
13547 cat >conftest.$ac_ext <<_ACEOF
13550 cat confdefs.h >>conftest.$ac_ext
13551 cat >>conftest.$ac_ext <<_ACEOF
13552 /* end confdefs.h. */
13554 #ifdef HAVE_TERMCAP_H
13555 # include <termcap.h>
13557 extern char *UP, *BC, PC;
13562 if (UP == 0 && BC == 0) PC = 1
13567 rm -f conftest.$ac_objext conftest$ac_exeext
13568 if { (ac_try="$ac_link"
13569 case "(($ac_try" in
13570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13571 *) ac_try_echo
=$ac_try;;
13573 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13574 $as_echo "$ac_try_echo") >&5
13575 (eval "$ac_link") 2>conftest.er1
13577 grep -v '^ *+' conftest.er1
>conftest.err
13579 cat conftest.err
>&5
13580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13581 (exit $ac_status); } && {
13582 test -z "$ac_c_werror_flag" ||
13583 test ! -s conftest.err
13584 } && test -s conftest
$ac_exeext && {
13585 test "$cross_compiling" = yes ||
13586 $as_test_x conftest
$ac_exeext
13588 { $as_echo "$as_me:$LINENO: result: yes" >&5
13589 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
13590 #define UP_BC_PC_EXTERN 1
13594 $as_echo "$as_me: failed program was:" >&5
13595 sed 's/^/| /' conftest.
$ac_ext >&5
13597 { $as_echo "$as_me:$LINENO: result: no" >&5
13598 $as_echo "no" >&6; }
13601 rm -rf conftest.dSYM
13602 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13603 conftest
$ac_exeext conftest.
$ac_ext
13607 rm -rf conftest.dSYM
13608 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13609 conftest
$ac_exeext conftest.
$ac_ext
13611 { $as_echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
13612 $as_echo_n "checking whether tputs() uses outfuntype... " >&6; }
13613 cat >conftest.
$ac_ext <<_ACEOF
13616 cat confdefs.h
>>conftest.
$ac_ext
13617 cat >>conftest.
$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13620 #ifdef HAVE_TERMCAP_H
13621 # include <termcap.h>
13627 extern int xx(); tputs("test", 1, (outfuntype)xx)
13632 rm -f conftest.
$ac_objext
13633 if { (ac_try
="$ac_compile"
13634 case "(($ac_try" in
13635 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13636 *) ac_try_echo=$ac_try;;
13638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13639 $as_echo "$ac_try_echo") >&5
13640 (eval "$ac_compile") 2>conftest.er1
13642 grep -v '^ *+' conftest.er1 >conftest.err
13644 cat conftest.err >&5
13645 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13646 (exit $ac_status); } && {
13647 test -z "$ac_c_werror_flag" ||
13648 test ! -s conftest.err
13649 } && test -s conftest.$ac_objext; then
13650 { $as_echo "$as_me:$LINENO: result: yes" >&5
13651 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13652 #define HAVE_OUTFUNTYPE 1
13656 $as_echo "$as_me: failed program was:" >&5
13657 sed 's/^/| /' conftest.$ac_ext >&5
13659 { $as_echo "$as_me:$LINENO: result: no" >&5
13660 $as_echo "no" >&6; }
13663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13665 { $as_echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
13666 $as_echo_n "checking whether sys/select.h and sys/time.h may both be included... " >&6; }
13667 cat >conftest.$ac_ext <<_ACEOF
13670 cat confdefs.h >>conftest.$ac_ext
13671 cat >>conftest.$ac_ext <<_ACEOF
13672 /* end confdefs.h. */
13674 #include <sys/types.h>
13675 #include <sys/time.h>
13676 #include <sys/select.h>
13685 rm -f conftest.$ac_objext
13686 if { (ac_try="$ac_compile"
13687 case "(($ac_try" in
13688 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13689 *) ac_try_echo
=$ac_try;;
13691 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13692 $as_echo "$ac_try_echo") >&5
13693 (eval "$ac_compile") 2>conftest.er1
13695 grep -v '^ *+' conftest.er1
>conftest.err
13697 cat conftest.err
>&5
13698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } && {
13700 test -z "$ac_c_werror_flag" ||
13701 test ! -s conftest.err
13702 } && test -s conftest.
$ac_objext; then
13703 { $as_echo "$as_me:$LINENO: result: yes" >&5
13704 $as_echo "yes" >&6; }
13705 cat >>confdefs.h
<<\_ACEOF
13706 #define SYS_SELECT_WITH_SYS_TIME 1
13710 $as_echo "$as_me: failed program was:" >&5
13711 sed 's/^/| /' conftest.
$ac_ext >&5
13713 { $as_echo "$as_me:$LINENO: result: no" >&5
13714 $as_echo "no" >&6; }
13717 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13720 { $as_echo "$as_me:$LINENO: checking for /dev/ptc" >&5
13721 $as_echo_n "checking for /dev/ptc... " >&6; }
13722 if test -r /dev
/ptc
; then
13723 cat >>confdefs.h
<<\_ACEOF
13724 #define HAVE_DEV_PTC 1
13727 { $as_echo "$as_me:$LINENO: result: yes" >&5
13728 $as_echo "yes" >&6; }
13730 { $as_echo "$as_me:$LINENO: result: no" >&5
13731 $as_echo "no" >&6; }
13734 { $as_echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
13735 $as_echo_n "checking for SVR4 ptys... " >&6; }
13736 if test -c /dev
/ptmx
; then
13737 cat >conftest.
$ac_ext <<_ACEOF
13740 cat confdefs.h
>>conftest.
$ac_ext
13741 cat >>conftest.
$ac_ext <<_ACEOF
13742 /* end confdefs.h. */
13747 ptsname(0);grantpt(0);unlockpt(0);
13752 rm -f conftest.
$ac_objext conftest
$ac_exeext
13753 if { (ac_try
="$ac_link"
13754 case "(($ac_try" in
13755 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13756 *) ac_try_echo=$ac_try;;
13758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13759 $as_echo "$ac_try_echo") >&5
13760 (eval "$ac_link") 2>conftest.er1
13762 grep -v '^ *+' conftest.er1 >conftest.err
13764 cat conftest.err >&5
13765 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } && {
13767 test -z "$ac_c_werror_flag" ||
13768 test ! -s conftest.err
13769 } && test -s conftest$ac_exeext && {
13770 test "$cross_compiling" = yes ||
13771 $as_test_x conftest$ac_exeext
13773 { $as_echo "$as_me:$LINENO: result: yes" >&5
13774 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13775 #define HAVE_SVR4_PTYS 1
13779 $as_echo "$as_me: failed program was:" >&5
13780 sed 's/^/| /' conftest.$ac_ext >&5
13782 { $as_echo "$as_me:$LINENO: result: no" >&5
13783 $as_echo "no" >&6; }
13786 rm -rf conftest.dSYM
13787 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13788 conftest$ac_exeext conftest.$ac_ext
13790 { $as_echo "$as_me:$LINENO: result: no" >&5
13791 $as_echo "no" >&6; }
13794 { $as_echo "$as_me:$LINENO: checking for ptyranges" >&5
13795 $as_echo_n "checking for ptyranges... " >&6; }
13796 if test -d /dev/ptym ; then
13801 cat >conftest.$ac_ext <<_ACEOF
13804 cat confdefs.h >>conftest.$ac_ext
13805 cat >>conftest.$ac_ext <<_ACEOF
13806 /* end confdefs.h. */
13812 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13813 $EGREP "yes" >/dev/null 2>&1; then
13814 ptys=`echo /dev
/ptyp??
`
13816 ptys=`echo $pdir/pty??
`
13820 if test "$ptys" != "$pdir/pty??" ; then
13821 p0=`echo $ptys |
tr ' ' '\012' |
sed -e 's/^.*\(.\).$/\1/g' |
sort -u |
tr -d '\012'`
13822 p1=`echo $ptys |
tr ' ' '\012' |
sed -e 's/^.*\(.\)$/\1/g' |
sort -u |
tr -d '\012'`
13823 cat >>confdefs.h <<_ACEOF
13824 #define PTYRANGE0 "$p0"
13827 cat >>confdefs.h <<_ACEOF
13828 #define PTYRANGE1 "$p1"
13831 { $as_echo "$as_me:$LINENO: result: $p0 / $p1" >&5
13832 $as_echo "$p0 / $p1" >&6; }
13834 { $as_echo "$as_me:$LINENO: result: don't know" >&5
13835 $as_echo "don't know" >&6; }
13839 { $as_echo "$as_me:$LINENO: checking default tty permissions/group" >&5
13840 $as_echo_n "checking default tty permissions/group... " >&6; }
13841 if test "${vim_cv_tty_group+set}" = set; then
13842 $as_echo_n "(cached) " >&6
13845 if test "$cross_compiling" = yes; then
13847 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode'" >&5
13848 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode'" >&2;}
13849 { (exit 1); exit 1; }; }
13852 cat >conftest.$ac_ext <<_ACEOF
13854 #include "confdefs.h"
13855 #include <sys/types.h>
13857 # include <stdlib.h>
13858 # include <stddef.h>
13860 #ifdef HAVE_UNISTD_H
13861 #include <unistd.h>
13863 #include <sys/stat.h>
13868 char *x,*ttyname();
13872 if (!(x = ttyname(0))) exit(1);
13873 if (stat(x, &sb)) exit(1);
13875 if (om & 002) exit(0);
13876 m = system("mesg y");
13877 if (m == -1 || m == 127) exit(1);
13878 if (stat(x, &sb)) exit(1);
13880 if (chmod(x, om)) exit(1);
13881 if (m & 002) exit(0);
13882 if (sb.st_gid == getgid()) exit(1);
13883 if (!(fp=fopen("conftest_grp", "w")))
13885 fprintf(fp, "%d\n", sb.st_gid);
13891 rm -f conftest$ac_exeext
13892 if { (ac_try="$ac_link"
13893 case "(($ac_try" in
13894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13895 *) ac_try_echo
=$ac_try;;
13897 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13898 $as_echo "$ac_try_echo") >&5
13899 (eval "$ac_link") 2>&5
13901 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13902 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13903 { (case "(($ac_try" in
13904 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13905 *) ac_try_echo=$ac_try;;
13907 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13908 $as_echo "$ac_try_echo") >&5
13909 (eval "$ac_try") 2>&5
13911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13912 (exit $ac_status); }; }; then
13914 if test -f conftest_grp; then
13915 vim_cv_tty_group=`cat conftest_grp
`
13916 if test "x$vim_cv_tty_mode" = "x" ; then
13917 vim_cv_tty_mode=0620
13919 { $as_echo "$as_me:$LINENO: result: pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&5
13920 $as_echo "pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&6; }
13922 vim_cv_tty_group=world
13923 { $as_echo "$as_me:$LINENO: result: ptys are world accessable" >&5
13924 $as_echo "ptys are world accessable" >&6; }
13928 $as_echo "$as_me: program exited with status $ac_status" >&5
13929 $as_echo "$as_me: failed program was:" >&5
13930 sed 's/^/| /' conftest.$ac_ext >&5
13932 ( exit $ac_status )
13934 vim_cv_tty_group=world
13935 { $as_echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
13936 $as_echo "can't determine - assume ptys are world accessable" >&6; }
13939 rm -rf conftest.dSYM
13940 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13946 { $as_echo "$as_me:$LINENO: result: $vim_cv_tty_group" >&5
13947 $as_echo "$vim_cv_tty_group" >&6; }
13950 if test "x$vim_cv_tty_group" != "xworld" ; then
13951 cat >>confdefs.h <<_ACEOF
13952 #define PTYGROUP $vim_cv_tty_group
13955 if test "x$vim_cv_tty_mode" = "x" ; then
13956 { { $as_echo "$as_me:$LINENO: error: It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)" >&5
13957 $as_echo "$as_me: error: It seems you're cross compiling and have 'vim_cv_tty_group' set, please also set the environment variable 'vim_cv_tty_mode' to the correct mode (propably 0620)" >&2;}
13958 { (exit 1); exit 1; }; }
13960 cat >>confdefs.h <<\_ACEOF
13961 #define PTYMODE 0620
13968 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13969 $as_echo_n "checking return type of signal handlers... " >&6; }
13970 if test "${ac_cv_type_signal+set}" = set; then
13971 $as_echo_n "(cached) " >&6
13973 cat >conftest.$ac_ext <<_ACEOF
13976 cat confdefs.h >>conftest.$ac_ext
13977 cat >>conftest.$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13979 #include <sys/types.h>
13980 #include <signal.h>
13985 return *(signal (0, 0)) (0) == 1;
13990 rm -f conftest.$ac_objext
13991 if { (ac_try="$ac_compile"
13992 case "(($ac_try" in
13993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13994 *) ac_try_echo
=$ac_try;;
13996 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13997 $as_echo "$ac_try_echo") >&5
13998 (eval "$ac_compile") 2>conftest.er1
14000 grep -v '^ *+' conftest.er1
>conftest.err
14002 cat conftest.err
>&5
14003 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14004 (exit $ac_status); } && {
14005 test -z "$ac_c_werror_flag" ||
14006 test ! -s conftest.err
14007 } && test -s conftest.
$ac_objext; then
14008 ac_cv_type_signal
=int
14010 $as_echo "$as_me: failed program was:" >&5
14011 sed 's/^/| /' conftest.
$ac_ext >&5
14013 ac_cv_type_signal
=void
14016 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14018 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
14019 $as_echo "$ac_cv_type_signal" >&6; }
14021 cat >>confdefs.h
<<_ACEOF
14022 #define RETSIGTYPE $ac_cv_type_signal
14027 if test $ac_cv_type_signal = void
; then
14028 cat >>confdefs.h
<<\_ACEOF
14029 #define SIGRETURN return
14033 cat >>confdefs.h
<<\_ACEOF
14034 #define SIGRETURN return 0
14039 { $as_echo "$as_me:$LINENO: checking for struct sigcontext" >&5
14040 $as_echo_n "checking for struct sigcontext... " >&6; }
14041 cat >conftest.
$ac_ext <<_ACEOF
14044 cat confdefs.h
>>conftest.
$ac_ext
14045 cat >>conftest.
$ac_ext <<_ACEOF
14046 /* end confdefs.h. */
14048 #include <signal.h>
14051 struct sigcontext *scont;
14052 scont = (struct sigcontext *)0;
14063 rm -f conftest.
$ac_objext
14064 if { (ac_try
="$ac_compile"
14065 case "(($ac_try" in
14066 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14067 *) ac_try_echo=$ac_try;;
14069 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14070 $as_echo "$ac_try_echo") >&5
14071 (eval "$ac_compile") 2>conftest.er1
14073 grep -v '^ *+' conftest.er1 >conftest.err
14075 cat conftest.err >&5
14076 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14077 (exit $ac_status); } && {
14078 test -z "$ac_c_werror_flag" ||
14079 test ! -s conftest.err
14080 } && test -s conftest.$ac_objext; then
14081 { $as_echo "$as_me:$LINENO: result: yes" >&5
14082 $as_echo "yes" >&6; }
14083 cat >>confdefs.h <<\_ACEOF
14084 #define HAVE_SIGCONTEXT 1
14088 $as_echo "$as_me: failed program was:" >&5
14089 sed 's/^/| /' conftest.$ac_ext >&5
14091 { $as_echo "$as_me:$LINENO: result: no" >&5
14092 $as_echo "no" >&6; }
14095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14097 { $as_echo "$as_me:$LINENO: checking getcwd implementation is broken" >&5
14098 $as_echo_n "checking getcwd implementation is broken... " >&6; }
14099 if test "${vim_cv_getcwd_broken+set}" = set; then
14100 $as_echo_n "(cached) " >&6
14103 if test "$cross_compiling" = yes; then
14105 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_getcwd_broken'" >&5
14106 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_getcwd_broken'" >&2;}
14107 { (exit 1); exit 1; }; }
14110 cat >conftest.$ac_ext <<_ACEOF
14112 #include "confdefs.h"
14113 #ifdef HAVE_UNISTD_H
14114 #include <unistd.h>
14116 char *dagger[] = { "IFS=pwd", 0 };
14120 extern char **environ;
14122 return getcwd(buffer, 500) ? 0 : 1;
14126 rm -f conftest$ac_exeext
14127 if { (ac_try="$ac_link"
14128 case "(($ac_try" in
14129 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14130 *) ac_try_echo
=$ac_try;;
14132 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14133 $as_echo "$ac_try_echo") >&5
14134 (eval "$ac_link") 2>&5
14136 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14138 { (case "(($ac_try" in
14139 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14140 *) ac_try_echo=$ac_try;;
14142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14143 $as_echo "$ac_try_echo") >&5
14144 (eval "$ac_try") 2>&5
14146 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14147 (exit $ac_status); }; }; then
14149 vim_cv_getcwd_broken=no
14152 $as_echo "$as_me: program exited with status $ac_status" >&5
14153 $as_echo "$as_me: failed program was:" >&5
14154 sed 's/^/| /' conftest.$ac_ext >&5
14156 ( exit $ac_status )
14158 vim_cv_getcwd_broken=yes
14161 rm -rf conftest.dSYM
14162 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14168 { $as_echo "$as_me:$LINENO: result: $vim_cv_getcwd_broken" >&5
14169 $as_echo "$vim_cv_getcwd_broken" >&6; }
14171 if test "x$vim_cv_getcwd_broken" = "xyes" ; then
14172 cat >>confdefs.h <<\_ACEOF
14173 #define BAD_GETCWD 1
14224 for ac_func in bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
14225 getpwnam getpwuid getrlimit gettimeofday getwd lstat memcmp \
14226 memset nanosleep opendir putenv qsort readlink select setenv \
14227 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
14228 sigvec strcasecmp strerror strftime stricmp strncasecmp \
14229 strnicmp strpbrk strtol tgetent towlower towupper iswupper \
14230 usleep utime utimes
14232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
14233 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
14234 $as_echo_n "checking for $ac_func... " >&6; }
14235 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
14236 $as_echo_n "(cached) " >&6
14238 cat >conftest.$ac_ext <<_ACEOF
14241 cat confdefs.h >>conftest.$ac_ext
14242 cat >>conftest.$ac_ext <<_ACEOF
14243 /* end confdefs.h. */
14244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14246 #define $ac_func innocuous_$ac_func
14248 /* System header to define __stub macros and hopefully few prototypes,
14249 which can conflict with char $ac_func (); below.
14250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14251 <limits.h> exists even on freestanding compilers. */
14254 # include <limits.h>
14256 # include <assert.h>
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14268 /* The GNU C library defines this for functions which it implements
14269 to always fail with ENOSYS. Some functions are actually named
14270 something starting with __ and the normal name is an alias. */
14271 #if defined __stub_$ac_func || defined __stub___$ac_func
14278 return $ac_func ();
14283 rm -f conftest.$ac_objext conftest$ac_exeext
14284 if { (ac_try="$ac_link"
14285 case "(($ac_try" in
14286 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14287 *) ac_try_echo
=$ac_try;;
14289 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14290 $as_echo "$ac_try_echo") >&5
14291 (eval "$ac_link") 2>conftest.er1
14293 grep -v '^ *+' conftest.er1
>conftest.err
14295 cat conftest.err
>&5
14296 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } && {
14298 test -z "$ac_c_werror_flag" ||
14299 test ! -s conftest.err
14300 } && test -s conftest
$ac_exeext && {
14301 test "$cross_compiling" = yes ||
14302 $as_test_x conftest
$ac_exeext
14304 eval "$as_ac_var=yes"
14306 $as_echo "$as_me: failed program was:" >&5
14307 sed 's/^/| /' conftest.
$ac_ext >&5
14309 eval "$as_ac_var=no"
14312 rm -rf conftest.dSYM
14313 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14314 conftest
$ac_exeext conftest.
$ac_ext
14316 ac_res
=`eval 'as_val=${'$as_ac_var'}
14317 $as_echo "$as_val"'`
14318 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
14319 $as_echo "$ac_res" >&6; }
14320 as_val
=`eval 'as_val=${'$as_ac_var'}
14321 $as_echo "$as_val"'`
14322 if test "x$as_val" = x
""yes; then
14323 cat >>confdefs.h
<<_ACEOF
14324 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14331 { $as_echo "$as_me:$LINENO: checking for st_blksize" >&5
14332 $as_echo_n "checking for st_blksize... " >&6; }
14333 cat >conftest.
$ac_ext <<_ACEOF
14336 cat confdefs.h
>>conftest.
$ac_ext
14337 cat >>conftest.
$ac_ext <<_ACEOF
14338 /* end confdefs.h. */
14339 #include <sys/types.h>
14340 #include <sys/stat.h>
14348 n = (int)st.st_blksize;
14353 rm -f conftest.
$ac_objext
14354 if { (ac_try
="$ac_compile"
14355 case "(($ac_try" in
14356 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14357 *) ac_try_echo=$ac_try;;
14359 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14360 $as_echo "$ac_try_echo") >&5
14361 (eval "$ac_compile") 2>conftest.er1
14363 grep -v '^ *+' conftest.er1 >conftest.err
14365 cat conftest.err >&5
14366 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14367 (exit $ac_status); } && {
14368 test -z "$ac_c_werror_flag" ||
14369 test ! -s conftest.err
14370 } && test -s conftest.$ac_objext; then
14371 { $as_echo "$as_me:$LINENO: result: yes" >&5
14372 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
14373 #define HAVE_ST_BLKSIZE 1
14377 $as_echo "$as_me: failed program was:" >&5
14378 sed 's/^/| /' conftest.$ac_ext >&5
14380 { $as_echo "$as_me:$LINENO: result: no" >&5
14381 $as_echo "no" >&6; }
14384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14386 { $as_echo "$as_me:$LINENO: checking whether stat() ignores a trailing slash" >&5
14387 $as_echo_n "checking whether stat() ignores a trailing slash... " >&6; }
14388 if test "${vim_cv_stat_ignores_slash+set}" = set; then
14389 $as_echo_n "(cached) " >&6
14392 if test "$cross_compiling" = yes; then
14394 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_stat_ignores_slash'" >&5
14395 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_stat_ignores_slash'" >&2;}
14396 { (exit 1); exit 1; }; }
14399 cat >conftest.$ac_ext <<_ACEOF
14401 #include "confdefs.h"
14403 # include <stdlib.h>
14404 # include <stddef.h>
14406 #include <sys/types.h>
14407 #include <sys/stat.h>
14408 main() {struct stat st; exit(stat("configure/", &st) != 0); }
14411 rm -f conftest$ac_exeext
14412 if { (ac_try="$ac_link"
14413 case "(($ac_try" in
14414 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14415 *) ac_try_echo
=$ac_try;;
14417 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14418 $as_echo "$ac_try_echo") >&5
14419 (eval "$ac_link") 2>&5
14421 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14422 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14423 { (case "(($ac_try" in
14424 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14425 *) ac_try_echo=$ac_try;;
14427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14428 $as_echo "$ac_try_echo") >&5
14429 (eval "$ac_try") 2>&5
14431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14432 (exit $ac_status); }; }; then
14434 vim_cv_stat_ignores_slash=yes
14437 $as_echo "$as_me: program exited with status $ac_status" >&5
14438 $as_echo "$as_me: failed program was:" >&5
14439 sed 's/^/| /' conftest.$ac_ext >&5
14441 ( exit $ac_status )
14443 vim_cv_stat_ignores_slash=no
14446 rm -rf conftest.dSYM
14447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14453 { $as_echo "$as_me:$LINENO: result: $vim_cv_stat_ignores_slash" >&5
14454 $as_echo "$vim_cv_stat_ignores_slash" >&6; }
14456 if test "x$vim_cv_stat_ignores_slash" = "xyes" ; then
14457 cat >>confdefs.h <<\_ACEOF
14458 #define STAT_IGNORES_SLASH 1
14463 { $as_echo "$as_me:$LINENO: checking for iconv_open()" >&5
14464 $as_echo_n "checking for iconv_open()... " >&6; }
14466 LIBS="$LIBS -liconv"
14467 cat >conftest.$ac_ext <<_ACEOF
14470 cat confdefs.h >>conftest.$ac_ext
14471 cat >>conftest.$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14474 #ifdef HAVE_ICONV_H
14475 # include <iconv.h>
14481 iconv_open("fr", "to");
14486 rm -f conftest.$ac_objext conftest$ac_exeext
14487 if { (ac_try="$ac_link"
14488 case "(($ac_try" in
14489 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14490 *) ac_try_echo
=$ac_try;;
14492 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14493 $as_echo "$ac_try_echo") >&5
14494 (eval "$ac_link") 2>conftest.er1
14496 grep -v '^ *+' conftest.er1
>conftest.err
14498 cat conftest.err
>&5
14499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); } && {
14501 test -z "$ac_c_werror_flag" ||
14502 test ! -s conftest.err
14503 } && test -s conftest
$ac_exeext && {
14504 test "$cross_compiling" = yes ||
14505 $as_test_x conftest
$ac_exeext
14507 { $as_echo "$as_me:$LINENO: result: yes; with -liconv" >&5
14508 $as_echo "yes; with -liconv" >&6; }; cat >>confdefs.h
<<\_ACEOF
14509 #define HAVE_ICONV 1
14513 $as_echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.
$ac_ext >&5
14517 cat >conftest.
$ac_ext <<_ACEOF
14520 cat confdefs.h
>>conftest.
$ac_ext
14521 cat >>conftest.
$ac_ext <<_ACEOF
14522 /* end confdefs.h. */
14524 #ifdef HAVE_ICONV_H
14525 # include <iconv.h>
14531 iconv_open("fr", "to");
14536 rm -f conftest.
$ac_objext conftest
$ac_exeext
14537 if { (ac_try
="$ac_link"
14538 case "(($ac_try" in
14539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14540 *) ac_try_echo=$ac_try;;
14542 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14543 $as_echo "$ac_try_echo") >&5
14544 (eval "$ac_link") 2>conftest.er1
14546 grep -v '^ *+' conftest.er1 >conftest.err
14548 cat conftest.err >&5
14549 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14550 (exit $ac_status); } && {
14551 test -z "$ac_c_werror_flag" ||
14552 test ! -s conftest.err
14553 } && test -s conftest$ac_exeext && {
14554 test "$cross_compiling" = yes ||
14555 $as_test_x conftest$ac_exeext
14557 { $as_echo "$as_me:$LINENO: result: yes" >&5
14558 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
14559 #define HAVE_ICONV 1
14563 $as_echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14566 { $as_echo "$as_me:$LINENO: result: no" >&5
14567 $as_echo "no" >&6; }
14570 rm -rf conftest.dSYM
14571 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14572 conftest$ac_exeext conftest.$ac_ext
14575 rm -rf conftest.dSYM
14576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14577 conftest$ac_exeext conftest.$ac_ext
14580 { $as_echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
14581 $as_echo_n "checking for nl_langinfo(CODESET)... " >&6; }
14582 cat >conftest.$ac_ext <<_ACEOF
14585 cat confdefs.h >>conftest.$ac_ext
14586 cat >>conftest.$ac_ext <<_ACEOF
14587 /* end confdefs.h. */
14589 #ifdef HAVE_LANGINFO_H
14590 # include <langinfo.h>
14596 char *cs = nl_langinfo(CODESET);
14601 rm -f conftest.$ac_objext conftest$ac_exeext
14602 if { (ac_try="$ac_link"
14603 case "(($ac_try" in
14604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14605 *) ac_try_echo
=$ac_try;;
14607 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14608 $as_echo "$ac_try_echo") >&5
14609 (eval "$ac_link") 2>conftest.er1
14611 grep -v '^ *+' conftest.er1
>conftest.err
14613 cat conftest.err
>&5
14614 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14615 (exit $ac_status); } && {
14616 test -z "$ac_c_werror_flag" ||
14617 test ! -s conftest.err
14618 } && test -s conftest
$ac_exeext && {
14619 test "$cross_compiling" = yes ||
14620 $as_test_x conftest
$ac_exeext
14622 { $as_echo "$as_me:$LINENO: result: yes" >&5
14623 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
14624 #define HAVE_NL_LANGINFO_CODESET 1
14628 $as_echo "$as_me: failed program was:" >&5
14629 sed 's/^/| /' conftest.
$ac_ext >&5
14631 { $as_echo "$as_me:$LINENO: result: no" >&5
14632 $as_echo "no" >&6; }
14635 rm -rf conftest.dSYM
14636 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14637 conftest
$ac_exeext conftest.
$ac_ext
14640 { $as_echo "$as_me:$LINENO: checking for strtod in -lm" >&5
14641 $as_echo_n "checking for strtod in -lm... " >&6; }
14642 if test "${ac_cv_lib_m_strtod+set}" = set; then
14643 $as_echo_n "(cached) " >&6
14645 ac_check_lib_save_LIBS
=$LIBS
14647 cat >conftest.
$ac_ext <<_ACEOF
14650 cat confdefs.h
>>conftest.
$ac_ext
14651 cat >>conftest.
$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14654 /* Override any GCC internal prototype to avoid an error.
14655 Use char because int might match the return type of a GCC
14656 builtin and then its argument prototype would still apply. */
14669 rm -f conftest.
$ac_objext conftest
$ac_exeext
14670 if { (ac_try
="$ac_link"
14671 case "(($ac_try" in
14672 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14673 *) ac_try_echo=$ac_try;;
14675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14676 $as_echo "$ac_try_echo") >&5
14677 (eval "$ac_link") 2>conftest.er1
14679 grep -v '^ *+' conftest.er1 >conftest.err
14681 cat conftest.err >&5
14682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14683 (exit $ac_status); } && {
14684 test -z "$ac_c_werror_flag" ||
14685 test ! -s conftest.err
14686 } && test -s conftest$ac_exeext && {
14687 test "$cross_compiling" = yes ||
14688 $as_test_x conftest$ac_exeext
14690 ac_cv_lib_m_strtod=yes
14692 $as_echo "$as_me: failed program was:" >&5
14693 sed 's/^/| /' conftest.$ac_ext >&5
14695 ac_cv_lib_m_strtod=no
14698 rm -rf conftest.dSYM
14699 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14700 conftest$ac_exeext conftest.$ac_ext
14701 LIBS=$ac_check_lib_save_LIBS
14703 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_strtod" >&5
14704 $as_echo "$ac_cv_lib_m_strtod" >&6; }
14705 if test "x$ac_cv_lib_m_strtod" = x""yes; then
14706 cat >>confdefs.h <<_ACEOF
14707 #define HAVE_LIBM 1
14714 { $as_echo "$as_me:$LINENO: checking for strtod() and other floating point functions" >&5
14715 $as_echo_n "checking for strtod() and other floating point functions... " >&6; }
14716 cat >conftest.$ac_ext <<_ACEOF
14719 cat confdefs.h >>conftest.$ac_ext
14720 cat >>conftest.$ac_ext <<_ACEOF
14721 /* end confdefs.h. */
14727 # include <stdlib.h>
14728 # include <stddef.h>
14735 d = strtod("1.1", &s);
14740 d = pow(1.11, 2.22);
14750 rm -f conftest.$ac_objext conftest$ac_exeext
14751 if { (ac_try="$ac_link"
14752 case "(($ac_try" in
14753 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14754 *) ac_try_echo
=$ac_try;;
14756 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14757 $as_echo "$ac_try_echo") >&5
14758 (eval "$ac_link") 2>conftest.er1
14760 grep -v '^ *+' conftest.er1
>conftest.err
14762 cat conftest.err
>&5
14763 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14764 (exit $ac_status); } && {
14765 test -z "$ac_c_werror_flag" ||
14766 test ! -s conftest.err
14767 } && test -s conftest
$ac_exeext && {
14768 test "$cross_compiling" = yes ||
14769 $as_test_x conftest
$ac_exeext
14771 { $as_echo "$as_me:$LINENO: result: yes" >&5
14772 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
14773 #define HAVE_FLOAT_FUNCS 1
14777 $as_echo "$as_me: failed program was:" >&5
14778 sed 's/^/| /' conftest.
$ac_ext >&5
14780 { $as_echo "$as_me:$LINENO: result: no" >&5
14781 $as_echo "no" >&6; }
14784 rm -rf conftest.dSYM
14785 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14786 conftest
$ac_exeext conftest.
$ac_ext
14788 { $as_echo "$as_me:$LINENO: checking --disable-acl argument" >&5
14789 $as_echo_n "checking --disable-acl argument... " >&6; }
14790 # Check whether --enable-acl was given.
14791 if test "${enable_acl+set}" = set; then
14792 enableval
=$enable_acl;
14797 if test "$enable_acl" = "yes"; then
14798 { $as_echo "$as_me:$LINENO: result: no" >&5
14799 $as_echo "no" >&6; }
14800 { $as_echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
14801 $as_echo_n "checking for acl_get_file in -lposix1e... " >&6; }
14802 if test "${ac_cv_lib_posix1e_acl_get_file+set}" = set; then
14803 $as_echo_n "(cached) " >&6
14805 ac_check_lib_save_LIBS
=$LIBS
14806 LIBS
="-lposix1e $LIBS"
14807 cat >conftest.
$ac_ext <<_ACEOF
14810 cat confdefs.h
>>conftest.
$ac_ext
14811 cat >>conftest.
$ac_ext <<_ACEOF
14812 /* end confdefs.h. */
14814 /* Override any GCC internal prototype to avoid an error.
14815 Use char because int might match the return type of a GCC
14816 builtin and then its argument prototype would still apply. */
14820 char acl_get_file ();
14824 return acl_get_file ();
14829 rm -f conftest.
$ac_objext conftest
$ac_exeext
14830 if { (ac_try
="$ac_link"
14831 case "(($ac_try" in
14832 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14833 *) ac_try_echo=$ac_try;;
14835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14836 $as_echo "$ac_try_echo") >&5
14837 (eval "$ac_link") 2>conftest.er1
14839 grep -v '^ *+' conftest.er1 >conftest.err
14841 cat conftest.err >&5
14842 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14843 (exit $ac_status); } && {
14844 test -z "$ac_c_werror_flag" ||
14845 test ! -s conftest.err
14846 } && test -s conftest$ac_exeext && {
14847 test "$cross_compiling" = yes ||
14848 $as_test_x conftest$ac_exeext
14850 ac_cv_lib_posix1e_acl_get_file=yes
14852 $as_echo "$as_me: failed program was:" >&5
14853 sed 's/^/| /' conftest.$ac_ext >&5
14855 ac_cv_lib_posix1e_acl_get_file=no
14858 rm -rf conftest.dSYM
14859 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14860 conftest$ac_exeext conftest.$ac_ext
14861 LIBS=$ac_check_lib_save_LIBS
14863 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
14864 $as_echo "$ac_cv_lib_posix1e_acl_get_file" >&6; }
14865 if test "x$ac_cv_lib_posix1e_acl_get_file" = x""yes; then
14866 LIBS="$LIBS -lposix1e"
14868 { $as_echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
14869 $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
14870 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
14871 $as_echo_n "(cached) " >&6
14873 ac_check_lib_save_LIBS=$LIBS
14875 cat >conftest.$ac_ext <<_ACEOF
14878 cat confdefs.h >>conftest.$ac_ext
14879 cat >>conftest.$ac_ext <<_ACEOF
14880 /* end confdefs.h. */
14882 /* Override any GCC internal prototype to avoid an error.
14883 Use char because int might match the return type of a GCC
14884 builtin and then its argument prototype would still apply. */
14888 char acl_get_file ();
14892 return acl_get_file ();
14897 rm -f conftest.$ac_objext conftest$ac_exeext
14898 if { (ac_try="$ac_link"
14899 case "(($ac_try" in
14900 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14901 *) ac_try_echo
=$ac_try;;
14903 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14904 $as_echo "$ac_try_echo") >&5
14905 (eval "$ac_link") 2>conftest.er1
14907 grep -v '^ *+' conftest.er1
>conftest.err
14909 cat conftest.err
>&5
14910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14911 (exit $ac_status); } && {
14912 test -z "$ac_c_werror_flag" ||
14913 test ! -s conftest.err
14914 } && test -s conftest
$ac_exeext && {
14915 test "$cross_compiling" = yes ||
14916 $as_test_x conftest
$ac_exeext
14918 ac_cv_lib_acl_acl_get_file
=yes
14920 $as_echo "$as_me: failed program was:" >&5
14921 sed 's/^/| /' conftest.
$ac_ext >&5
14923 ac_cv_lib_acl_acl_get_file
=no
14926 rm -rf conftest.dSYM
14927 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14928 conftest
$ac_exeext conftest.
$ac_ext
14929 LIBS
=$ac_check_lib_save_LIBS
14931 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
14932 $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
14933 if test "x$ac_cv_lib_acl_acl_get_file" = x
""yes; then
14935 { $as_echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
14936 $as_echo_n "checking for fgetxattr in -lattr... " >&6; }
14937 if test "${ac_cv_lib_attr_fgetxattr+set}" = set; then
14938 $as_echo_n "(cached) " >&6
14940 ac_check_lib_save_LIBS
=$LIBS
14941 LIBS
="-lattr $LIBS"
14942 cat >conftest.
$ac_ext <<_ACEOF
14945 cat confdefs.h
>>conftest.
$ac_ext
14946 cat >>conftest.
$ac_ext <<_ACEOF
14947 /* end confdefs.h. */
14949 /* Override any GCC internal prototype to avoid an error.
14950 Use char because int might match the return type of a GCC
14951 builtin and then its argument prototype would still apply. */
14959 return fgetxattr ();
14964 rm -f conftest.
$ac_objext conftest
$ac_exeext
14965 if { (ac_try
="$ac_link"
14966 case "(($ac_try" in
14967 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14968 *) ac_try_echo=$ac_try;;
14970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14971 $as_echo "$ac_try_echo") >&5
14972 (eval "$ac_link") 2>conftest.er1
14974 grep -v '^ *+' conftest.er1 >conftest.err
14976 cat conftest.err >&5
14977 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); } && {
14979 test -z "$ac_c_werror_flag" ||
14980 test ! -s conftest.err
14981 } && test -s conftest$ac_exeext && {
14982 test "$cross_compiling" = yes ||
14983 $as_test_x conftest$ac_exeext
14985 ac_cv_lib_attr_fgetxattr=yes
14987 $as_echo "$as_me: failed program was:" >&5
14988 sed 's/^/| /' conftest.$ac_ext >&5
14990 ac_cv_lib_attr_fgetxattr=no
14993 rm -rf conftest.dSYM
14994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14995 conftest$ac_exeext conftest.$ac_ext
14996 LIBS=$ac_check_lib_save_LIBS
14998 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
14999 $as_echo "$ac_cv_lib_attr_fgetxattr" >&6; }
15000 if test "x$ac_cv_lib_attr_fgetxattr" = x""yes; then
15001 LIBS="$LIBS -lattr"
15009 { $as_echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
15010 $as_echo_n "checking for POSIX ACL support... " >&6; }
15011 cat >conftest.$ac_ext <<_ACEOF
15014 cat confdefs.h >>conftest.$ac_ext
15015 cat >>conftest.$ac_ext <<_ACEOF
15016 /* end confdefs.h. */
15018 #include <sys/types.h>
15019 #ifdef HAVE_SYS_ACL_H
15020 # include <sys/acl.h>
15026 acl = acl_get_file("foo", ACL_TYPE_ACCESS);
15027 acl_set_file("foo", ACL_TYPE_ACCESS, acl);
15033 rm -f conftest.$ac_objext conftest$ac_exeext
15034 if { (ac_try="$ac_link"
15035 case "(($ac_try" in
15036 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15037 *) ac_try_echo
=$ac_try;;
15039 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15040 $as_echo "$ac_try_echo") >&5
15041 (eval "$ac_link") 2>conftest.er1
15043 grep -v '^ *+' conftest.er1
>conftest.err
15045 cat conftest.err
>&5
15046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047 (exit $ac_status); } && {
15048 test -z "$ac_c_werror_flag" ||
15049 test ! -s conftest.err
15050 } && test -s conftest
$ac_exeext && {
15051 test "$cross_compiling" = yes ||
15052 $as_test_x conftest
$ac_exeext
15054 { $as_echo "$as_me:$LINENO: result: yes" >&5
15055 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
15056 #define HAVE_POSIX_ACL 1
15060 $as_echo "$as_me: failed program was:" >&5
15061 sed 's/^/| /' conftest.
$ac_ext >&5
15063 { $as_echo "$as_me:$LINENO: result: no" >&5
15064 $as_echo "no" >&6; }
15067 rm -rf conftest.dSYM
15068 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15069 conftest
$ac_exeext conftest.
$ac_ext
15071 { $as_echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
15072 $as_echo_n "checking for Solaris ACL support... " >&6; }
15073 cat >conftest.
$ac_ext <<_ACEOF
15076 cat confdefs.h
>>conftest.
$ac_ext
15077 cat >>conftest.
$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15080 #ifdef HAVE_SYS_ACL_H
15081 # include <sys/acl.h>
15086 acl("foo", GETACLCNT, 0, NULL);
15092 rm -f conftest.
$ac_objext conftest
$ac_exeext
15093 if { (ac_try
="$ac_link"
15094 case "(($ac_try" in
15095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15096 *) ac_try_echo=$ac_try;;
15098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15099 $as_echo "$ac_try_echo") >&5
15100 (eval "$ac_link") 2>conftest.er1
15102 grep -v '^ *+' conftest.er1 >conftest.err
15104 cat conftest.err >&5
15105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15106 (exit $ac_status); } && {
15107 test -z "$ac_c_werror_flag" ||
15108 test ! -s conftest.err
15109 } && test -s conftest$ac_exeext && {
15110 test "$cross_compiling" = yes ||
15111 $as_test_x conftest$ac_exeext
15113 { $as_echo "$as_me:$LINENO: result: yes" >&5
15114 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
15115 #define HAVE_SOLARIS_ACL 1
15119 $as_echo "$as_me: failed program was:" >&5
15120 sed 's/^/| /' conftest.$ac_ext >&5
15122 { $as_echo "$as_me:$LINENO: result: no" >&5
15123 $as_echo "no" >&6; }
15126 rm -rf conftest.dSYM
15127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15128 conftest$ac_exeext conftest.$ac_ext
15130 { $as_echo "$as_me:$LINENO: checking for AIX ACL support" >&5
15131 $as_echo_n "checking for AIX ACL support... " >&6; }
15132 cat >conftest.$ac_ext <<_ACEOF
15135 cat confdefs.h >>conftest.$ac_ext
15136 cat >>conftest.$ac_ext <<_ACEOF
15137 /* end confdefs.h. */
15140 # include <stdlib.h>
15141 # include <stddef.h>
15143 #ifdef HAVE_SYS_ACL_H
15144 # include <sys/acl.h>
15146 #ifdef HAVE_SYS_ACCESS_H
15147 # include <sys/access.h>
15149 #define _ALL_SOURCE
15151 #include <sys/stat.h>
15154 struct acl *aclent;
15158 aclsize = sizeof(struct acl);
15159 aclent = (void *)malloc(aclsize);
15160 statacl("foo", STX_NORMAL, aclent, aclsize);
15166 rm -f conftest.$ac_objext conftest$ac_exeext
15167 if { (ac_try="$ac_link"
15168 case "(($ac_try" in
15169 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15170 *) ac_try_echo
=$ac_try;;
15172 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15173 $as_echo "$ac_try_echo") >&5
15174 (eval "$ac_link") 2>conftest.er1
15176 grep -v '^ *+' conftest.er1
>conftest.err
15178 cat conftest.err
>&5
15179 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15180 (exit $ac_status); } && {
15181 test -z "$ac_c_werror_flag" ||
15182 test ! -s conftest.err
15183 } && test -s conftest
$ac_exeext && {
15184 test "$cross_compiling" = yes ||
15185 $as_test_x conftest
$ac_exeext
15187 { $as_echo "$as_me:$LINENO: result: yes" >&5
15188 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
15189 #define HAVE_AIX_ACL 1
15193 $as_echo "$as_me: failed program was:" >&5
15194 sed 's/^/| /' conftest.
$ac_ext >&5
15196 { $as_echo "$as_me:$LINENO: result: no" >&5
15197 $as_echo "no" >&6; }
15200 rm -rf conftest.dSYM
15201 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15202 conftest
$ac_exeext conftest.
$ac_ext
15204 { $as_echo "$as_me:$LINENO: result: yes" >&5
15205 $as_echo "yes" >&6; }
15208 { $as_echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
15209 $as_echo_n "checking --disable-gpm argument... " >&6; }
15210 # Check whether --enable-gpm was given.
15211 if test "${enable_gpm+set}" = set; then
15212 enableval
=$enable_gpm;
15218 if test "$enable_gpm" = "yes"; then
15219 { $as_echo "$as_me:$LINENO: result: no" >&5
15220 $as_echo "no" >&6; }
15221 { $as_echo "$as_me:$LINENO: checking for gpm" >&5
15222 $as_echo_n "checking for gpm... " >&6; }
15223 if test "${vi_cv_have_gpm+set}" = set; then
15224 $as_echo_n "(cached) " >&6
15226 olibs
="$LIBS" ; LIBS
="-lgpm"
15227 cat >conftest.
$ac_ext <<_ACEOF
15230 cat confdefs.h
>>conftest.
$ac_ext
15231 cat >>conftest.
$ac_ext <<_ACEOF
15232 /* end confdefs.h. */
15234 #include <linux/keyboard.h>
15238 Gpm_GetLibVersion(NULL);
15243 rm -f conftest.
$ac_objext conftest
$ac_exeext
15244 if { (ac_try
="$ac_link"
15245 case "(($ac_try" in
15246 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15247 *) ac_try_echo=$ac_try;;
15249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15250 $as_echo "$ac_try_echo") >&5
15251 (eval "$ac_link") 2>conftest.er1
15253 grep -v '^ *+' conftest.er1 >conftest.err
15255 cat conftest.err >&5
15256 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); } && {
15258 test -z "$ac_c_werror_flag" ||
15259 test ! -s conftest.err
15260 } && test -s conftest$ac_exeext && {
15261 test "$cross_compiling" = yes ||
15262 $as_test_x conftest$ac_exeext
15266 $as_echo "$as_me: failed program was:" >&5
15267 sed 's/^/| /' conftest.$ac_ext >&5
15272 rm -rf conftest.dSYM
15273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15274 conftest$ac_exeext conftest.$ac_ext
15278 { $as_echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
15279 $as_echo "$vi_cv_have_gpm" >&6; }
15280 if test $vi_cv_have_gpm = yes; then
15282 cat >>confdefs.h <<\_ACEOF
15288 { $as_echo "$as_me:$LINENO: result: yes" >&5
15289 $as_echo "yes" >&6; }
15292 { $as_echo "$as_me:$LINENO: checking --disable-sysmouse argument" >&5
15293 $as_echo_n "checking --disable-sysmouse argument... " >&6; }
15294 # Check whether --enable-sysmouse was given.
15295 if test "${enable_sysmouse+set}" = set; then
15296 enableval=$enable_sysmouse;
15298 enable_sysmouse="yes"
15302 if test "$enable_sysmouse" = "yes"; then
15303 { $as_echo "$as_me:$LINENO: result: no" >&5
15304 $as_echo "no" >&6; }
15305 { $as_echo "$as_me:$LINENO: checking for sysmouse" >&5
15306 $as_echo_n "checking for sysmouse... " >&6; }
15307 if test "${vi_cv_have_sysmouse+set}" = set; then
15308 $as_echo_n "(cached) " >&6
15310 cat >conftest.$ac_ext <<_ACEOF
15313 cat confdefs.h >>conftest.$ac_ext
15314 cat >>conftest.$ac_ext <<_ACEOF
15315 /* end confdefs.h. */
15316 #include <sys/consio.h>
15317 #include <signal.h>
15318 #include <sys/fbio.h>
15322 struct mouse_info mouse;
15323 mouse.operation = MOUSE_MODE;
15324 mouse.operation = MOUSE_SHOW;
15325 mouse.u.mode.mode = 0;
15326 mouse.u.mode.signal = SIGUSR2;
15331 rm -f conftest.$ac_objext conftest$ac_exeext
15332 if { (ac_try="$ac_link"
15333 case "(($ac_try" in
15334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15335 *) ac_try_echo
=$ac_try;;
15337 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15338 $as_echo "$ac_try_echo") >&5
15339 (eval "$ac_link") 2>conftest.er1
15341 grep -v '^ *+' conftest.er1
>conftest.err
15343 cat conftest.err
>&5
15344 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15345 (exit $ac_status); } && {
15346 test -z "$ac_c_werror_flag" ||
15347 test ! -s conftest.err
15348 } && test -s conftest
$ac_exeext && {
15349 test "$cross_compiling" = yes ||
15350 $as_test_x conftest
$ac_exeext
15352 vi_cv_have_sysmouse
=yes
15354 $as_echo "$as_me: failed program was:" >&5
15355 sed 's/^/| /' conftest.
$ac_ext >&5
15357 vi_cv_have_sysmouse
=no
15360 rm -rf conftest.dSYM
15361 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15362 conftest
$ac_exeext conftest.
$ac_ext
15365 { $as_echo "$as_me:$LINENO: result: $vi_cv_have_sysmouse" >&5
15366 $as_echo "$vi_cv_have_sysmouse" >&6; }
15367 if test $vi_cv_have_sysmouse = yes; then
15368 cat >>confdefs.h
<<\_ACEOF
15369 #define HAVE_SYSMOUSE 1
15374 { $as_echo "$as_me:$LINENO: result: yes" >&5
15375 $as_echo "yes" >&6; }
15378 { $as_echo "$as_me:$LINENO: checking for rename" >&5
15379 $as_echo_n "checking for rename... " >&6; }
15380 cat >conftest.
$ac_ext <<_ACEOF
15383 cat confdefs.h
>>conftest.
$ac_ext
15384 cat >>conftest.
$ac_ext <<_ACEOF
15385 /* end confdefs.h. */
15390 rename("this", "that")
15395 rm -f conftest.
$ac_objext conftest
$ac_exeext
15396 if { (ac_try
="$ac_link"
15397 case "(($ac_try" in
15398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15399 *) ac_try_echo=$ac_try;;
15401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15402 $as_echo "$ac_try_echo") >&5
15403 (eval "$ac_link") 2>conftest.er1
15405 grep -v '^ *+' conftest.er1 >conftest.err
15407 cat conftest.err >&5
15408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15409 (exit $ac_status); } && {
15410 test -z "$ac_c_werror_flag" ||
15411 test ! -s conftest.err
15412 } && test -s conftest$ac_exeext && {
15413 test "$cross_compiling" = yes ||
15414 $as_test_x conftest$ac_exeext
15416 { $as_echo "$as_me:$LINENO: result: yes" >&5
15417 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
15418 #define HAVE_RENAME 1
15422 $as_echo "$as_me: failed program was:" >&5
15423 sed 's/^/| /' conftest.$ac_ext >&5
15425 { $as_echo "$as_me:$LINENO: result: no" >&5
15426 $as_echo "no" >&6; }
15429 rm -rf conftest.dSYM
15430 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15431 conftest$ac_exeext conftest.$ac_ext
15433 { $as_echo "$as_me:$LINENO: checking for sysctl" >&5
15434 $as_echo_n "checking for sysctl... " >&6; }
15435 cat >conftest.$ac_ext <<_ACEOF
15438 cat confdefs.h >>conftest.$ac_ext
15439 cat >>conftest.$ac_ext <<_ACEOF
15440 /* end confdefs.h. */
15441 #include <sys/types.h>
15442 #include <sys/sysctl.h>
15450 mib[1] = HW_USERMEM;
15452 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0);
15458 rm -f conftest.$ac_objext
15459 if { (ac_try="$ac_compile"
15460 case "(($ac_try" in
15461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15462 *) ac_try_echo
=$ac_try;;
15464 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15465 $as_echo "$ac_try_echo") >&5
15466 (eval "$ac_compile") 2>conftest.er1
15468 grep -v '^ *+' conftest.er1
>conftest.err
15470 cat conftest.err
>&5
15471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } && {
15473 test -z "$ac_c_werror_flag" ||
15474 test ! -s conftest.err
15475 } && test -s conftest.
$ac_objext; then
15476 { $as_echo "$as_me:$LINENO: result: yes" >&5
15477 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
15478 #define HAVE_SYSCTL 1
15482 $as_echo "$as_me: failed program was:" >&5
15483 sed 's/^/| /' conftest.
$ac_ext >&5
15485 { $as_echo "$as_me:$LINENO: result: not usable" >&5
15486 $as_echo "not usable" >&6; }
15489 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15491 { $as_echo "$as_me:$LINENO: checking for sysinfo" >&5
15492 $as_echo_n "checking for sysinfo... " >&6; }
15493 cat >conftest.
$ac_ext <<_ACEOF
15496 cat confdefs.h
>>conftest.
$ac_ext
15497 cat >>conftest.
$ac_ext <<_ACEOF
15498 /* end confdefs.h. */
15499 #include <sys/types.h>
15500 #include <sys/sysinfo.h>
15504 struct sysinfo sinfo;
15507 (void)sysinfo(&sinfo);
15508 t = sinfo.totalram;
15514 rm -f conftest.
$ac_objext
15515 if { (ac_try
="$ac_compile"
15516 case "(($ac_try" in
15517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15518 *) ac_try_echo=$ac_try;;
15520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15521 $as_echo "$ac_try_echo") >&5
15522 (eval "$ac_compile") 2>conftest.er1
15524 grep -v '^ *+' conftest.er1 >conftest.err
15526 cat conftest.err >&5
15527 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15528 (exit $ac_status); } && {
15529 test -z "$ac_c_werror_flag" ||
15530 test ! -s conftest.err
15531 } && test -s conftest.$ac_objext; then
15532 { $as_echo "$as_me:$LINENO: result: yes" >&5
15533 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
15534 #define HAVE_SYSINFO 1
15538 $as_echo "$as_me: failed program was:" >&5
15539 sed 's/^/| /' conftest.$ac_ext >&5
15541 { $as_echo "$as_me:$LINENO: result: not usable" >&5
15542 $as_echo "not usable" >&6; }
15545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15547 { $as_echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
15548 $as_echo_n "checking for sysinfo.mem_unit... " >&6; }
15549 cat >conftest.$ac_ext <<_ACEOF
15552 cat confdefs.h >>conftest.$ac_ext
15553 cat >>conftest.$ac_ext <<_ACEOF
15554 /* end confdefs.h. */
15555 #include <sys/types.h>
15556 #include <sys/sysinfo.h>
15560 struct sysinfo sinfo;
15561 sinfo.mem_unit = 1;
15567 rm -f conftest.$ac_objext
15568 if { (ac_try="$ac_compile"
15569 case "(($ac_try" in
15570 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15571 *) ac_try_echo
=$ac_try;;
15573 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15574 $as_echo "$ac_try_echo") >&5
15575 (eval "$ac_compile") 2>conftest.er1
15577 grep -v '^ *+' conftest.er1
>conftest.err
15579 cat conftest.err
>&5
15580 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15581 (exit $ac_status); } && {
15582 test -z "$ac_c_werror_flag" ||
15583 test ! -s conftest.err
15584 } && test -s conftest.
$ac_objext; then
15585 { $as_echo "$as_me:$LINENO: result: yes" >&5
15586 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
15587 #define HAVE_SYSINFO_MEM_UNIT 1
15591 $as_echo "$as_me: failed program was:" >&5
15592 sed 's/^/| /' conftest.
$ac_ext >&5
15594 { $as_echo "$as_me:$LINENO: result: no" >&5
15595 $as_echo "no" >&6; }
15598 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15600 { $as_echo "$as_me:$LINENO: checking for sysconf" >&5
15601 $as_echo_n "checking for sysconf... " >&6; }
15602 cat >conftest.
$ac_ext <<_ACEOF
15605 cat confdefs.h
>>conftest.
$ac_ext
15606 cat >>conftest.
$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15608 #include <unistd.h>
15612 (void)sysconf(_SC_PAGESIZE);
15613 (void)sysconf(_SC_PHYS_PAGES);
15619 rm -f conftest.
$ac_objext
15620 if { (ac_try
="$ac_compile"
15621 case "(($ac_try" in
15622 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15623 *) ac_try_echo=$ac_try;;
15625 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15626 $as_echo "$ac_try_echo") >&5
15627 (eval "$ac_compile") 2>conftest.er1
15629 grep -v '^ *+' conftest.er1 >conftest.err
15631 cat conftest.err >&5
15632 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15633 (exit $ac_status); } && {
15634 test -z "$ac_c_werror_flag" ||
15635 test ! -s conftest.err
15636 } && test -s conftest.$ac_objext; then
15637 { $as_echo "$as_me:$LINENO: result: yes" >&5
15638 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
15639 #define HAVE_SYSCONF 1
15643 $as_echo "$as_me: failed program was:" >&5
15644 sed 's/^/| /' conftest.$ac_ext >&5
15646 { $as_echo "$as_me:$LINENO: result: not usable" >&5
15647 $as_echo "not usable" >&6; }
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15653 { $as_echo "$as_me:$LINENO: checking size of int" >&5
15654 $as_echo_n "checking size of int... " >&6; }
15655 if test "${ac_cv_sizeof_int+set}" = set; then
15656 $as_echo_n "(cached) " >&6
15658 if test "$cross_compiling" = yes; then
15659 { { $as_echo "$as_me:$LINENO: error: failed to compile test program" >&5
15660 $as_echo "$as_me: error: failed to compile test program" >&2;}
15661 { (exit 1); exit 1; }; }
15663 cat >conftest.$ac_ext <<_ACEOF
15666 cat confdefs.h >>conftest.$ac_ext
15667 cat >>conftest.$ac_ext <<_ACEOF
15668 /* end confdefs.h. */
15672 # include <stdlib.h>
15673 # include <stddef.h>
15677 FILE *f=fopen("conftestval", "w");
15679 fprintf(f, "%d\n", (int)sizeof(int));
15683 rm -f conftest$ac_exeext
15684 if { (ac_try="$ac_link"
15685 case "(($ac_try" in
15686 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15687 *) ac_try_echo
=$ac_try;;
15689 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15690 $as_echo "$ac_try_echo") >&5
15691 (eval "$ac_link") 2>&5
15693 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15694 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15695 { (case "(($ac_try" in
15696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15699 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15700 $as_echo "$ac_try_echo") >&5
15701 (eval "$ac_try") 2>&5
15703 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15704 (exit $ac_status); }; }; then
15705 ac_cv_sizeof_int=`cat conftestval
`
15707 $as_echo "$as_me: program exited with status $ac_status" >&5
15708 $as_echo "$as_me: failed program was:" >&5
15709 sed 's/^/| /' conftest.$ac_ext >&5
15711 ( exit $ac_status )
15714 rm -rf conftest.dSYM
15715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15721 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15722 $as_echo "$ac_cv_sizeof_int" >&6; }
15723 cat >>confdefs.h <<_ACEOF
15724 #define SIZEOF_INT $ac_cv_sizeof_int
15730 #include "confdefs.h"
15731 #ifdef HAVE_STRING_H
15732 # include <string.h>
15735 # include <stdlib.h>
15736 # include <stddef.h>
15740 strcpy(buf, "abcdefghi");
15741 mch_memmove(buf, buf + 2, 3);
15742 if (strncmp(buf, "ababcf", 6))
15744 strcpy(buf, "abcdefghi");
15745 mch_memmove(buf + 2, buf, 3);
15746 if (strncmp(buf, "cdedef", 6))
15748 exit(0); /* libc version works properly. */
15751 { $as_echo "$as_me:$LINENO: checking whether memmove handles overlaps" >&5
15752 $as_echo_n "checking whether memmove handles overlaps... " >&6; }
15753 if test "${vim_cv_memmove_handles_overlap+set}" = set; then
15754 $as_echo_n "(cached) " >&6
15757 if test "$cross_compiling" = yes; then
15759 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_memmove_handles_overlap'" >&5
15760 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_memmove_handles_overlap'" >&2;}
15761 { (exit 1); exit 1; }; }
15764 cat >conftest.$ac_ext <<_ACEOF
15765 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog
15767 rm -f conftest$ac_exeext
15768 if { (ac_try="$ac_link"
15769 case "(($ac_try" in
15770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15771 *) ac_try_echo
=$ac_try;;
15773 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15774 $as_echo "$ac_try_echo") >&5
15775 (eval "$ac_link") 2>&5
15777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15778 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15779 { (case "(($ac_try" in
15780 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15781 *) ac_try_echo=$ac_try;;
15783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15784 $as_echo "$ac_try_echo") >&5
15785 (eval "$ac_try") 2>&5
15787 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15788 (exit $ac_status); }; }; then
15790 vim_cv_memmove_handles_overlap=yes
15793 $as_echo "$as_me: program exited with status $ac_status" >&5
15794 $as_echo "$as_me: failed program was:" >&5
15795 sed 's/^/| /' conftest.$ac_ext >&5
15797 ( exit $ac_status )
15799 vim_cv_memmove_handles_overlap=no
15802 rm -rf conftest.dSYM
15803 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15809 { $as_echo "$as_me:$LINENO: result: $vim_cv_memmove_handles_overlap" >&5
15810 $as_echo "$vim_cv_memmove_handles_overlap" >&6; }
15812 if test "x$vim_cv_memmove_handles_overlap" = "xyes" ; then
15813 cat >>confdefs.h <<\_ACEOF
15814 #define USEMEMMOVE 1
15818 { $as_echo "$as_me:$LINENO: checking whether bcopy handles overlaps" >&5
15819 $as_echo_n "checking whether bcopy handles overlaps... " >&6; }
15820 if test "${vim_cv_bcopy_handles_overlap+set}" = set; then
15821 $as_echo_n "(cached) " >&6
15824 if test "$cross_compiling" = yes; then
15826 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_bcopy_handles_overlap'" >&5
15827 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_bcopy_handles_overlap'" >&2;}
15828 { (exit 1); exit 1; }; }
15831 cat >conftest.$ac_ext <<_ACEOF
15832 #define mch_bcopy(s,d,l) bcopy(d,s,l) $bcopy_test_prog
15834 rm -f conftest$ac_exeext
15835 if { (ac_try="$ac_link"
15836 case "(($ac_try" in
15837 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15838 *) ac_try_echo
=$ac_try;;
15840 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15841 $as_echo "$ac_try_echo") >&5
15842 (eval "$ac_link") 2>&5
15844 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15845 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15846 { (case "(($ac_try" in
15847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15848 *) ac_try_echo=$ac_try;;
15850 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15851 $as_echo "$ac_try_echo") >&5
15852 (eval "$ac_try") 2>&5
15854 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15855 (exit $ac_status); }; }; then
15857 vim_cv_bcopy_handles_overlap=yes
15860 $as_echo "$as_me: program exited with status $ac_status" >&5
15861 $as_echo "$as_me: failed program was:" >&5
15862 sed 's/^/| /' conftest.$ac_ext >&5
15864 ( exit $ac_status )
15866 vim_cv_bcopy_handles_overlap=no
15869 rm -rf conftest.dSYM
15870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15876 { $as_echo "$as_me:$LINENO: result: $vim_cv_bcopy_handles_overlap" >&5
15877 $as_echo "$vim_cv_bcopy_handles_overlap" >&6; }
15879 if test "x$vim_cv_bcopy_handles_overlap" = "xyes" ; then
15880 cat >>confdefs.h <<\_ACEOF
15885 { $as_echo "$as_me:$LINENO: checking whether memcpy handles overlaps" >&5
15886 $as_echo_n "checking whether memcpy handles overlaps... " >&6; }
15887 if test "${vim_cv_memcpy_handles_overlap+set}" = set; then
15888 $as_echo_n "(cached) " >&6
15891 if test "$cross_compiling" = yes; then
15893 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_memcpy_handles_overlap'" >&5
15894 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_memcpy_handles_overlap'" >&2;}
15895 { (exit 1); exit 1; }; }
15898 cat >conftest.$ac_ext <<_ACEOF
15899 #define mch_memcpy(s,d,l) memcpy(d,s,l) $bcopy_test_prog
15901 rm -f conftest$ac_exeext
15902 if { (ac_try="$ac_link"
15903 case "(($ac_try" in
15904 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15905 *) ac_try_echo
=$ac_try;;
15907 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15908 $as_echo "$ac_try_echo") >&5
15909 (eval "$ac_link") 2>&5
15911 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15913 { (case "(($ac_try" in
15914 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15915 *) ac_try_echo=$ac_try;;
15917 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15918 $as_echo "$ac_try_echo") >&5
15919 (eval "$ac_try") 2>&5
15921 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15922 (exit $ac_status); }; }; then
15924 vim_cv_memcpy_handles_overlap=yes
15927 $as_echo "$as_me: program exited with status $ac_status" >&5
15928 $as_echo "$as_me: failed program was:" >&5
15929 sed 's/^/| /' conftest.$ac_ext >&5
15931 ( exit $ac_status )
15933 vim_cv_memcpy_handles_overlap=no
15936 rm -rf conftest.dSYM
15937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15943 { $as_echo "$as_me:$LINENO: result: $vim_cv_memcpy_handles_overlap" >&5
15944 $as_echo "$vim_cv_memcpy_handles_overlap" >&6; }
15946 if test "x$vim_cv_memcpy_handles_overlap" = "xyes" ; then
15947 cat >>confdefs.h <<\_ACEOF
15948 #define USEMEMCPY 1
15957 if test "$enable_multibyte" = "yes"; then
15958 cflags_save=$CFLAGS
15959 ldflags_save=$LDFLAGS
15960 if test "x$x_includes" != "xNONE" ; then
15961 CFLAGS="$CFLAGS -I$x_includes"
15962 LDFLAGS="$X_LIBS $LDFLAGS -lX11"
15963 { $as_echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
15964 $as_echo_n "checking whether X_LOCALE needed... " >&6; }
15965 cat >conftest.$ac_ext <<_ACEOF
15968 cat confdefs.h >>conftest.$ac_ext
15969 cat >>conftest.$ac_ext <<_ACEOF
15970 /* end confdefs.h. */
15971 #include <X11/Xlocale.h>
15980 rm -f conftest.$ac_objext
15981 if { (ac_try="$ac_compile"
15982 case "(($ac_try" in
15983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15984 *) ac_try_echo
=$ac_try;;
15986 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15987 $as_echo "$ac_try_echo") >&5
15988 (eval "$ac_compile") 2>conftest.er1
15990 grep -v '^ *+' conftest.er1
>conftest.err
15992 cat conftest.err
>&5
15993 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15994 (exit $ac_status); } && {
15995 test -z "$ac_c_werror_flag" ||
15996 test ! -s conftest.err
15997 } && test -s conftest.
$ac_objext; then
15998 cat >conftest.
$ac_ext <<_ACEOF
16001 cat confdefs.h
>>conftest.
$ac_ext
16002 cat >>conftest.
$ac_ext <<_ACEOF
16003 /* end confdefs.h. */
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16011 char _Xsetlocale ();
16015 return _Xsetlocale ();
16020 rm -f conftest.
$ac_objext conftest
$ac_exeext
16021 if { (ac_try
="$ac_link"
16022 case "(($ac_try" in
16023 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16024 *) ac_try_echo=$ac_try;;
16026 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16027 $as_echo "$ac_try_echo") >&5
16028 (eval "$ac_link") 2>conftest.er1
16030 grep -v '^ *+' conftest.er1 >conftest.err
16032 cat conftest.err >&5
16033 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16034 (exit $ac_status); } && {
16035 test -z "$ac_c_werror_flag" ||
16036 test ! -s conftest.err
16037 } && test -s conftest$ac_exeext && {
16038 test "$cross_compiling" = yes ||
16039 $as_test_x conftest$ac_exeext
16041 { $as_echo "$as_me:$LINENO: result: yes" >&5
16042 $as_echo "yes" >&6; }
16043 cat >>confdefs.h <<\_ACEOF
16048 $as_echo "$as_me: failed program was:" >&5
16049 sed 's/^/| /' conftest.$ac_ext >&5
16051 { $as_echo "$as_me:$LINENO: result: no" >&5
16052 $as_echo "no" >&6; }
16055 rm -rf conftest.dSYM
16056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16057 conftest$ac_exeext conftest.$ac_ext
16059 $as_echo "$as_me: failed program was:" >&5
16060 sed 's/^/| /' conftest.$ac_ext >&5
16062 { $as_echo "$as_me:$LINENO: result: no" >&5
16063 $as_echo "no" >&6; }
16066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16068 CFLAGS=$cflags_save
16069 LDFLAGS=$ldflags_save
16072 { $as_echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
16073 $as_echo_n "checking for _xpg4_setrunelocale in -lxpg4... " >&6; }
16074 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
16075 $as_echo_n "(cached) " >&6
16077 ac_check_lib_save_LIBS=$LIBS
16078 LIBS="-lxpg4 $LIBS"
16079 cat >conftest.$ac_ext <<_ACEOF
16082 cat confdefs.h >>conftest.$ac_ext
16083 cat >>conftest.$ac_ext <<_ACEOF
16084 /* end confdefs.h. */
16086 /* Override any GCC internal prototype to avoid an error.
16087 Use char because int might match the return type of a GCC
16088 builtin and then its argument prototype would still apply. */
16092 char _xpg4_setrunelocale ();
16096 return _xpg4_setrunelocale ();
16101 rm -f conftest.$ac_objext conftest$ac_exeext
16102 if { (ac_try="$ac_link"
16103 case "(($ac_try" in
16104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16105 *) ac_try_echo
=$ac_try;;
16107 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16108 $as_echo "$ac_try_echo") >&5
16109 (eval "$ac_link") 2>conftest.er1
16111 grep -v '^ *+' conftest.er1
>conftest.err
16113 cat conftest.err
>&5
16114 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16115 (exit $ac_status); } && {
16116 test -z "$ac_c_werror_flag" ||
16117 test ! -s conftest.err
16118 } && test -s conftest
$ac_exeext && {
16119 test "$cross_compiling" = yes ||
16120 $as_test_x conftest
$ac_exeext
16122 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
16124 $as_echo "$as_me: failed program was:" >&5
16125 sed 's/^/| /' conftest.
$ac_ext >&5
16127 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
16130 rm -rf conftest.dSYM
16131 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16132 conftest
$ac_exeext conftest.
$ac_ext
16133 LIBS
=$ac_check_lib_save_LIBS
16135 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
16136 $as_echo "$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
16137 if test "x$ac_cv_lib_xpg4__xpg4_setrunelocale" = x
""yes; then
16138 LIBS
="$LIBS -lxpg4"
16142 { $as_echo "$as_me:$LINENO: checking how to create tags" >&5
16143 $as_echo_n "checking how to create tags... " >&6; }
16144 test -f tags
&& mv tags tags.save
16145 if (eval ctags
--version /dev
/null |
grep Exuberant
) < /dev
/null
1>&5 2>&1; then
16146 TAGPRG
="ctags -I INIT+ --fields=+S"
16149 (eval etags
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="etags"
16150 (eval etags
-c /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="etags -c"
16151 (eval ctags
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags"
16152 (eval ctags
-t /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -t"
16153 (eval ctags
-ts /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -ts"
16154 (eval ctags
-tvs /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -tvs"
16155 (eval ctags
-i+m
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -i+m"
16157 test -f tags.save
&& mv tags.save tags
16158 { $as_echo "$as_me:$LINENO: result: $TAGPRG" >&5
16159 $as_echo "$TAGPRG" >&6; }
16161 { $as_echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
16162 $as_echo_n "checking how to run man with a section nr... " >&6; }
16164 (eval MANPAGER
=cat PAGER
=cat man
-s 2 read) < /dev
/null
> /dev
/null
2>&5 && MANDEF
="man -s"
16165 { $as_echo "$as_me:$LINENO: result: $MANDEF" >&5
16166 $as_echo "$MANDEF" >&6; }
16167 if test "$MANDEF" = "man -s"; then
16168 cat >>confdefs.h
<<\_ACEOF
16174 { $as_echo "$as_me:$LINENO: checking --disable-nls argument" >&5
16175 $as_echo_n "checking --disable-nls argument... " >&6; }
16176 # Check whether --enable-nls was given.
16177 if test "${enable_nls+set}" = set; then
16178 enableval
=$enable_nls;
16184 if test "$enable_nls" = "yes"; then
16185 { $as_echo "$as_me:$LINENO: result: no" >&5
16186 $as_echo "no" >&6; }
16188 INSTALL_LANGS
=install-languages
16190 INSTALL_TOOL_LANGS
=install-tool-languages
16193 # Extract the first word of "msgfmt", so it can be a program name with args.
16194 set dummy msgfmt
; ac_word
=$2
16195 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
16196 $as_echo_n "checking for $ac_word... " >&6; }
16197 if test "${ac_cv_prog_MSGFMT+set}" = set; then
16198 $as_echo_n "(cached) " >&6
16200 if test -n "$MSGFMT"; then
16201 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
16203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16204 for as_dir
in $PATH
16207 test -z "$as_dir" && as_dir
=.
16208 for ac_exec_ext
in '' $ac_executable_extensions; do
16209 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16210 ac_cv_prog_MSGFMT
="msgfmt"
16211 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16220 MSGFMT
=$ac_cv_prog_MSGFMT
16221 if test -n "$MSGFMT"; then
16222 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
16223 $as_echo "$MSGFMT" >&6; }
16225 { $as_echo "$as_me:$LINENO: result: no" >&5
16226 $as_echo "no" >&6; }
16230 { $as_echo "$as_me:$LINENO: checking for NLS" >&5
16231 $as_echo_n "checking for NLS... " >&6; }
16232 if test -f po
/Makefile
; then
16234 if test -n "$MSGFMT"; then
16235 cat >conftest.
$ac_ext <<_ACEOF
16238 cat confdefs.h
>>conftest.
$ac_ext
16239 cat >>conftest.
$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241 #include <libintl.h>
16250 rm -f conftest.
$ac_objext conftest
$ac_exeext
16251 if { (ac_try
="$ac_link"
16252 case "(($ac_try" in
16253 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16254 *) ac_try_echo=$ac_try;;
16256 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16257 $as_echo "$ac_try_echo") >&5
16258 (eval "$ac_link") 2>conftest.er1
16260 grep -v '^ *+' conftest.er1 >conftest.err
16262 cat conftest.err >&5
16263 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); } && {
16265 test -z "$ac_c_werror_flag" ||
16266 test ! -s conftest.err
16267 } && test -s conftest$ac_exeext && {
16268 test "$cross_compiling" = yes ||
16269 $as_test_x conftest$ac_exeext
16271 { $as_echo "$as_me:$LINENO: result: gettext() works" >&5
16272 $as_echo "gettext() works" >&6; }; have_gettext="yes"
16274 $as_echo "$as_me: failed program was:" >&5
16275 sed 's/^/| /' conftest.$ac_ext >&5
16278 LIBS="$LIBS -lintl"
16279 cat >conftest.$ac_ext <<_ACEOF
16282 cat confdefs.h >>conftest.$ac_ext
16283 cat >>conftest.$ac_ext <<_ACEOF
16284 /* end confdefs.h. */
16285 #include <libintl.h>
16294 rm -f conftest.$ac_objext conftest$ac_exeext
16295 if { (ac_try="$ac_link"
16296 case "(($ac_try" in
16297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16298 *) ac_try_echo
=$ac_try;;
16300 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16301 $as_echo "$ac_try_echo") >&5
16302 (eval "$ac_link") 2>conftest.er1
16304 grep -v '^ *+' conftest.er1
>conftest.err
16306 cat conftest.err
>&5
16307 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); } && {
16309 test -z "$ac_c_werror_flag" ||
16310 test ! -s conftest.err
16311 } && test -s conftest
$ac_exeext && {
16312 test "$cross_compiling" = yes ||
16313 $as_test_x conftest
$ac_exeext
16315 { $as_echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
16316 $as_echo "gettext() works with -lintl" >&6; }; have_gettext
="yes"
16318 $as_echo "$as_me: failed program was:" >&5
16319 sed 's/^/| /' conftest.
$ac_ext >&5
16321 { $as_echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
16322 $as_echo "gettext() doesn't work" >&6; };
16326 rm -rf conftest.dSYM
16327 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16328 conftest
$ac_exeext conftest.
$ac_ext
16331 rm -rf conftest.dSYM
16332 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16333 conftest
$ac_exeext conftest.
$ac_ext
16335 { $as_echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
16336 $as_echo "msgfmt not found - disabled" >&6; };
16338 if test $have_gettext = "yes"; then
16339 cat >>confdefs.h
<<\_ACEOF
16340 #define HAVE_GETTEXT 1
16346 for ac_func
in bind_textdomain_codeset
16348 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16349 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
16350 $as_echo_n "checking for $ac_func... " >&6; }
16351 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
16352 $as_echo_n "(cached) " >&6
16354 cat >conftest.
$ac_ext <<_ACEOF
16357 cat confdefs.h
>>conftest.
$ac_ext
16358 cat >>conftest.
$ac_ext <<_ACEOF
16359 /* end confdefs.h. */
16360 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16361 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16362 #define $ac_func innocuous_$ac_func
16364 /* System header to define __stub macros and hopefully few prototypes,
16365 which can conflict with char $ac_func (); below.
16366 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16367 <limits.h> exists even on freestanding compilers. */
16370 # include <limits.h>
16372 # include <assert.h>
16377 /* Override any GCC internal prototype to avoid an error.
16378 Use char because int might match the return type of a GCC
16379 builtin and then its argument prototype would still apply. */
16384 /* The GNU C library defines this for functions which it implements
16385 to always fail with ENOSYS. Some functions are actually named
16386 something starting with __ and the normal name is an alias. */
16387 #if defined __stub_$ac_func || defined __stub___$ac_func
16394 return $ac_func ();
16399 rm -f conftest.
$ac_objext conftest
$ac_exeext
16400 if { (ac_try
="$ac_link"
16401 case "(($ac_try" in
16402 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16403 *) ac_try_echo=$ac_try;;
16405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16406 $as_echo "$ac_try_echo") >&5
16407 (eval "$ac_link") 2>conftest.er1
16409 grep -v '^ *+' conftest.er1 >conftest.err
16411 cat conftest.err >&5
16412 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16413 (exit $ac_status); } && {
16414 test -z "$ac_c_werror_flag" ||
16415 test ! -s conftest.err
16416 } && test -s conftest$ac_exeext && {
16417 test "$cross_compiling" = yes ||
16418 $as_test_x conftest$ac_exeext
16420 eval "$as_ac_var=yes"
16422 $as_echo "$as_me: failed program was:" >&5
16423 sed 's/^/| /' conftest.$ac_ext >&5
16425 eval "$as_ac_var=no"
16428 rm -rf conftest.dSYM
16429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16430 conftest$ac_exeext conftest.$ac_ext
16432 ac_res=`eval 'as_val=${'$as_ac_var'}
16433 $as_echo "$as_val"'`
16434 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16435 $as_echo "$ac_res" >&6; }
16436 as_val=`eval 'as_val=${'$as_ac_var'}
16437 $as_echo "$as_val"'`
16438 if test "x$as_val" = x""yes; then
16439 cat >>confdefs.h <<_ACEOF
16440 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16446 { $as_echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
16447 $as_echo_n "checking for _nl_msg_cat_cntr... " >&6; }
16448 cat >conftest.$ac_ext <<_ACEOF
16451 cat confdefs.h >>conftest.$ac_ext
16452 cat >>conftest.$ac_ext <<_ACEOF
16453 /* end confdefs.h. */
16454 #include <libintl.h>
16455 extern int _nl_msg_cat_cntr;
16459 ++_nl_msg_cat_cntr;
16464 rm -f conftest.$ac_objext conftest$ac_exeext
16465 if { (ac_try="$ac_link"
16466 case "(($ac_try" in
16467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16468 *) ac_try_echo
=$ac_try;;
16470 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16471 $as_echo "$ac_try_echo") >&5
16472 (eval "$ac_link") 2>conftest.er1
16474 grep -v '^ *+' conftest.er1
>conftest.err
16476 cat conftest.err
>&5
16477 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16478 (exit $ac_status); } && {
16479 test -z "$ac_c_werror_flag" ||
16480 test ! -s conftest.err
16481 } && test -s conftest
$ac_exeext && {
16482 test "$cross_compiling" = yes ||
16483 $as_test_x conftest
$ac_exeext
16485 { $as_echo "$as_me:$LINENO: result: yes" >&5
16486 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
16487 #define HAVE_NL_MSG_CAT_CNTR 1
16491 $as_echo "$as_me: failed program was:" >&5
16492 sed 's/^/| /' conftest.
$ac_ext >&5
16494 { $as_echo "$as_me:$LINENO: result: no" >&5
16495 $as_echo "no" >&6; }
16498 rm -rf conftest.dSYM
16499 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16500 conftest
$ac_exeext conftest.
$ac_ext
16503 { $as_echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
16504 $as_echo "no \"po/Makefile\" - disabled" >&6; };
16507 { $as_echo "$as_me:$LINENO: result: yes" >&5
16508 $as_echo "yes" >&6; }
16511 { $as_echo "$as_me:$LINENO: checking --disable-migemo argument" >&5
16512 $as_echo_n "checking --disable-migemo argument... " >&6; }
16513 # Check whether --enable-migemo was given.
16514 if test "${enable_migemo+set}" = set; then
16515 enableval
=$enable_migemo;
16517 enable_migemo
="yes"
16520 if test "$enable_migemo" = "yes"; then
16521 { $as_echo "$as_me:$LINENO: result: no" >&5
16522 $as_echo "no" >&6; }
16523 { $as_echo "$as_me:$LINENO: checking for migemo_open in -lmigemo" >&5
16524 $as_echo_n "checking for migemo_open in -lmigemo... " >&6; }
16525 if test "${ac_cv_lib_migemo_migemo_open+set}" = set; then
16526 $as_echo_n "(cached) " >&6
16528 ac_check_lib_save_LIBS
=$LIBS
16529 LIBS
="-lmigemo $LIBS"
16530 cat >conftest.
$ac_ext <<_ACEOF
16533 cat confdefs.h
>>conftest.
$ac_ext
16534 cat >>conftest.
$ac_ext <<_ACEOF
16535 /* end confdefs.h. */
16537 /* Override any GCC internal prototype to avoid an error.
16538 Use char because int might match the return type of a GCC
16539 builtin and then its argument prototype would still apply. */
16543 char migemo_open ();
16547 return migemo_open ();
16552 rm -f conftest.
$ac_objext conftest
$ac_exeext
16553 if { (ac_try
="$ac_link"
16554 case "(($ac_try" in
16555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16556 *) ac_try_echo=$ac_try;;
16558 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16559 $as_echo "$ac_try_echo") >&5
16560 (eval "$ac_link") 2>conftest.er1
16562 grep -v '^ *+' conftest.er1 >conftest.err
16564 cat conftest.err >&5
16565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16566 (exit $ac_status); } && {
16567 test -z "$ac_c_werror_flag" ||
16568 test ! -s conftest.err
16569 } && test -s conftest$ac_exeext && {
16570 test "$cross_compiling" = yes ||
16571 $as_test_x conftest$ac_exeext
16573 ac_cv_lib_migemo_migemo_open=yes
16575 $as_echo "$as_me: failed program was:" >&5
16576 sed 's/^/| /' conftest.$ac_ext >&5
16578 ac_cv_lib_migemo_migemo_open=no
16581 rm -rf conftest.dSYM
16582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16583 conftest$ac_exeext conftest.$ac_ext
16584 LIBS=$ac_check_lib_save_LIBS
16586 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_migemo_migemo_open" >&5
16587 $as_echo "$ac_cv_lib_migemo_migemo_open" >&6; }
16588 if test "x$ac_cv_lib_migemo_migemo_open" = x""yes; then
16589 LIBS="$LIBS -lmigemo"; cat >>confdefs.h <<\_ACEOF
16590 #define HAVE_MIGEMO 1
16596 { $as_echo "$as_me:$LINENO: result: yes" >&5
16597 $as_echo "yes" >&6; }
16600 if test "${ac_cv_header_dlfcn_h+set}" = set; then
16601 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
16602 $as_echo_n "checking for dlfcn.h... " >&6; }
16603 if test "${ac_cv_header_dlfcn_h+set}" = set; then
16604 $as_echo_n "(cached) " >&6
16606 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
16607 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
16609 # Is the header compilable?
16610 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
16611 $as_echo_n "checking dlfcn.h usability... " >&6; }
16612 cat >conftest.$ac_ext <<_ACEOF
16615 cat confdefs.h >>conftest.$ac_ext
16616 cat >>conftest.$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16618 $ac_includes_default
16621 rm -f conftest.$ac_objext
16622 if { (ac_try="$ac_compile"
16623 case "(($ac_try" in
16624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16625 *) ac_try_echo
=$ac_try;;
16627 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16628 $as_echo "$ac_try_echo") >&5
16629 (eval "$ac_compile") 2>conftest.er1
16631 grep -v '^ *+' conftest.er1
>conftest.err
16633 cat conftest.err
>&5
16634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } && {
16636 test -z "$ac_c_werror_flag" ||
16637 test ! -s conftest.err
16638 } && test -s conftest.
$ac_objext; then
16639 ac_header_compiler
=yes
16641 $as_echo "$as_me: failed program was:" >&5
16642 sed 's/^/| /' conftest.
$ac_ext >&5
16644 ac_header_compiler
=no
16647 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16648 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16649 $as_echo "$ac_header_compiler" >&6; }
16651 # Is the header present?
16652 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
16653 $as_echo_n "checking dlfcn.h presence... " >&6; }
16654 cat >conftest.
$ac_ext <<_ACEOF
16657 cat confdefs.h
>>conftest.
$ac_ext
16658 cat >>conftest.
$ac_ext <<_ACEOF
16659 /* end confdefs.h. */
16662 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16663 case "(($ac_try" in
16664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16668 $as_echo "$ac_try_echo") >&5
16669 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16671 grep -v '^ *+' conftest.er1 >conftest.err
16673 cat conftest.err >&5
16674 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16675 (exit $ac_status); } >/dev/null && {
16676 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16677 test ! -s conftest.err
16679 ac_header_preproc=yes
16681 $as_echo "$as_me: failed program was:" >&5
16682 sed 's/^/| /' conftest.$ac_ext >&5
16684 ac_header_preproc=no
16687 rm -f conftest.err conftest.$ac_ext
16688 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16689 $as_echo "$ac_header_preproc" >&6; }
16691 # So? What about this header?
16692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16694 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
16695 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16696 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
16697 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
16698 ac_header_preproc=yes
16701 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
16702 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
16703 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
16704 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
16705 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
16706 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
16707 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
16708 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
16709 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
16710 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
16711 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
16712 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
16716 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
16717 $as_echo_n "checking for dlfcn.h... " >&6; }
16718 if test "${ac_cv_header_dlfcn_h+set}" = set; then
16719 $as_echo_n "(cached) " >&6
16721 ac_cv_header_dlfcn_h=$ac_header_preproc
16723 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
16724 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
16727 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
16730 if test "${ac_cv_header_dl_h+set}" = set; then
16731 { $as_echo "$as_me:$LINENO: checking for dl.h" >&5
16732 $as_echo_n "checking for dl.h... " >&6; }
16733 if test "${ac_cv_header_dl_h+set}" = set; then
16734 $as_echo_n "(cached) " >&6
16736 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
16737 $as_echo "$ac_cv_header_dl_h" >&6; }
16739 # Is the header compilable?
16740 { $as_echo "$as_me:$LINENO: checking dl.h usability" >&5
16741 $as_echo_n "checking dl.h usability... " >&6; }
16742 cat >conftest.$ac_ext <<_ACEOF
16745 cat confdefs.h >>conftest.$ac_ext
16746 cat >>conftest.$ac_ext <<_ACEOF
16747 /* end confdefs.h. */
16748 $ac_includes_default
16751 rm -f conftest.$ac_objext
16752 if { (ac_try="$ac_compile"
16753 case "(($ac_try" in
16754 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16755 *) ac_try_echo
=$ac_try;;
16757 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16758 $as_echo "$ac_try_echo") >&5
16759 (eval "$ac_compile") 2>conftest.er1
16761 grep -v '^ *+' conftest.er1
>conftest.err
16763 cat conftest.err
>&5
16764 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16765 (exit $ac_status); } && {
16766 test -z "$ac_c_werror_flag" ||
16767 test ! -s conftest.err
16768 } && test -s conftest.
$ac_objext; then
16769 ac_header_compiler
=yes
16771 $as_echo "$as_me: failed program was:" >&5
16772 sed 's/^/| /' conftest.
$ac_ext >&5
16774 ac_header_compiler
=no
16777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
16778 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16779 $as_echo "$ac_header_compiler" >&6; }
16781 # Is the header present?
16782 { $as_echo "$as_me:$LINENO: checking dl.h presence" >&5
16783 $as_echo_n "checking dl.h presence... " >&6; }
16784 cat >conftest.
$ac_ext <<_ACEOF
16787 cat confdefs.h
>>conftest.
$ac_ext
16788 cat >>conftest.
$ac_ext <<_ACEOF
16789 /* end confdefs.h. */
16792 if { (ac_try
="$ac_cpp conftest.$ac_ext"
16793 case "(($ac_try" in
16794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16795 *) ac_try_echo=$ac_try;;
16797 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16798 $as_echo "$ac_try_echo") >&5
16799 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16801 grep -v '^ *+' conftest.er1 >conftest.err
16803 cat conftest.err >&5
16804 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16805 (exit $ac_status); } >/dev/null && {
16806 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16807 test ! -s conftest.err
16809 ac_header_preproc=yes
16811 $as_echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16814 ac_header_preproc=no
16817 rm -f conftest.err conftest.$ac_ext
16818 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16819 $as_echo "$ac_header_preproc" >&6; }
16821 # So? What about this header?
16822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16824 { $as_echo "$as_me:$LINENO: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&5
16825 $as_echo "$as_me: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16826 { $as_echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the compiler's result" >&5
16827 $as_echo "$as_me: WARNING: dl.h: proceeding with the compiler's result" >&2;}
16828 ac_header_preproc=yes
16831 { $as_echo "$as_me:$LINENO: WARNING: dl.h: present but cannot be compiled" >&5
16832 $as_echo "$as_me: WARNING: dl.h: present but cannot be compiled" >&2;}
16833 { $as_echo "$as_me:$LINENO: WARNING: dl.h: check for missing prerequisite headers?" >&5
16834 $as_echo "$as_me: WARNING: dl.h: check for missing prerequisite headers?" >&2;}
16835 { $as_echo "$as_me:$LINENO: WARNING: dl.h: see the Autoconf documentation" >&5
16836 $as_echo "$as_me: WARNING: dl.h: see the Autoconf documentation" >&2;}
16837 { $as_echo "$as_me:$LINENO: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&5
16838 $as_echo "$as_me: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&2;}
16839 { $as_echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the preprocessor's result" >&5
16840 $as_echo "$as_me: WARNING: dl.h: proceeding with the preprocessor's result" >&2;}
16841 { $as_echo "$as_me:$LINENO: WARNING: dl.h: in the future, the compiler will take precedence" >&5
16842 $as_echo "$as_me: WARNING: dl.h: in the future, the compiler will take precedence" >&2;}
16846 { $as_echo "$as_me:$LINENO: checking for dl.h" >&5
16847 $as_echo_n "checking for dl.h... " >&6; }
16848 if test "${ac_cv_header_dl_h+set}" = set; then
16849 $as_echo_n "(cached) " >&6
16851 ac_cv_header_dl_h=$ac_header_preproc
16853 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
16854 $as_echo "$ac_cv_header_dl_h" >&6; }
16857 if test "x$ac_cv_header_dl_h" = x""yes; then
16865 if test x${DLL} = xdlfcn.h; then
16867 cat >>confdefs.h <<\_ACEOF
16868 #define HAVE_DLFCN_H 1
16871 { $as_echo "$as_me:$LINENO: checking for dlopen()" >&5
16872 $as_echo_n "checking for dlopen()... " >&6; }
16873 cat >conftest.$ac_ext <<_ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16884 extern void* dlopen();
16891 rm -f conftest.$ac_objext conftest$ac_exeext
16892 if { (ac_try="$ac_link"
16893 case "(($ac_try" in
16894 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16895 *) ac_try_echo
=$ac_try;;
16897 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16898 $as_echo "$ac_try_echo") >&5
16899 (eval "$ac_link") 2>conftest.er1
16901 grep -v '^ *+' conftest.er1
>conftest.err
16903 cat conftest.err
>&5
16904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16905 (exit $ac_status); } && {
16906 test -z "$ac_c_werror_flag" ||
16907 test ! -s conftest.err
16908 } && test -s conftest
$ac_exeext && {
16909 test "$cross_compiling" = yes ||
16910 $as_test_x conftest
$ac_exeext
16912 { $as_echo "$as_me:$LINENO: result: yes" >&5
16913 $as_echo "yes" >&6; };
16915 cat >>confdefs.h
<<\_ACEOF
16916 #define HAVE_DLOPEN 1
16920 $as_echo "$as_me: failed program was:" >&5
16921 sed 's/^/| /' conftest.
$ac_ext >&5
16923 { $as_echo "$as_me:$LINENO: result: no" >&5
16924 $as_echo "no" >&6; };
16925 { $as_echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
16926 $as_echo_n "checking for dlopen() in -ldl... " >&6; }
16929 cat >conftest.
$ac_ext <<_ACEOF
16932 cat confdefs.h
>>conftest.
$ac_ext
16933 cat >>conftest.
$ac_ext <<_ACEOF
16934 /* end confdefs.h. */
16940 extern void* dlopen();
16947 rm -f conftest.
$ac_objext conftest
$ac_exeext
16948 if { (ac_try
="$ac_link"
16949 case "(($ac_try" in
16950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16951 *) ac_try_echo=$ac_try;;
16953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16954 $as_echo "$ac_try_echo") >&5
16955 (eval "$ac_link") 2>conftest.er1
16957 grep -v '^ *+' conftest.er1 >conftest.err
16959 cat conftest.err >&5
16960 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); } && {
16962 test -z "$ac_c_werror_flag" ||
16963 test ! -s conftest.err
16964 } && test -s conftest$ac_exeext && {
16965 test "$cross_compiling" = yes ||
16966 $as_test_x conftest$ac_exeext
16968 { $as_echo "$as_me:$LINENO: result: yes" >&5
16969 $as_echo "yes" >&6; };
16971 cat >>confdefs.h <<\_ACEOF
16972 #define HAVE_DLOPEN 1
16976 $as_echo "$as_me: failed program was:" >&5
16977 sed 's/^/| /' conftest.$ac_ext >&5
16979 { $as_echo "$as_me:$LINENO: result: no" >&5
16980 $as_echo "no" >&6; };
16984 rm -rf conftest.dSYM
16985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16986 conftest$ac_exeext conftest.$ac_ext
16989 rm -rf conftest.dSYM
16990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16991 conftest$ac_exeext conftest.$ac_ext
16992 { $as_echo "$as_me:$LINENO: checking for dlsym()" >&5
16993 $as_echo_n "checking for dlsym()... " >&6; }
16994 cat >conftest.$ac_ext <<_ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17005 extern void* dlsym();
17012 rm -f conftest.$ac_objext conftest$ac_exeext
17013 if { (ac_try="$ac_link"
17014 case "(($ac_try" in
17015 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17016 *) ac_try_echo
=$ac_try;;
17018 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17019 $as_echo "$ac_try_echo") >&5
17020 (eval "$ac_link") 2>conftest.er1
17022 grep -v '^ *+' conftest.er1
>conftest.err
17024 cat conftest.err
>&5
17025 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17026 (exit $ac_status); } && {
17027 test -z "$ac_c_werror_flag" ||
17028 test ! -s conftest.err
17029 } && test -s conftest
$ac_exeext && {
17030 test "$cross_compiling" = yes ||
17031 $as_test_x conftest
$ac_exeext
17033 { $as_echo "$as_me:$LINENO: result: yes" >&5
17034 $as_echo "yes" >&6; };
17036 cat >>confdefs.h
<<\_ACEOF
17037 #define HAVE_DLSYM 1
17041 $as_echo "$as_me: failed program was:" >&5
17042 sed 's/^/| /' conftest.
$ac_ext >&5
17044 { $as_echo "$as_me:$LINENO: result: no" >&5
17045 $as_echo "no" >&6; };
17046 { $as_echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
17047 $as_echo_n "checking for dlsym() in -ldl... " >&6; }
17050 cat >conftest.
$ac_ext <<_ACEOF
17053 cat confdefs.h
>>conftest.
$ac_ext
17054 cat >>conftest.
$ac_ext <<_ACEOF
17055 /* end confdefs.h. */
17061 extern void* dlsym();
17068 rm -f conftest.
$ac_objext conftest
$ac_exeext
17069 if { (ac_try
="$ac_link"
17070 case "(($ac_try" in
17071 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17072 *) ac_try_echo=$ac_try;;
17074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17075 $as_echo "$ac_try_echo") >&5
17076 (eval "$ac_link") 2>conftest.er1
17078 grep -v '^ *+' conftest.er1 >conftest.err
17080 cat conftest.err >&5
17081 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } && {
17083 test -z "$ac_c_werror_flag" ||
17084 test ! -s conftest.err
17085 } && test -s conftest$ac_exeext && {
17086 test "$cross_compiling" = yes ||
17087 $as_test_x conftest$ac_exeext
17089 { $as_echo "$as_me:$LINENO: result: yes" >&5
17090 $as_echo "yes" >&6; };
17092 cat >>confdefs.h <<\_ACEOF
17093 #define HAVE_DLSYM 1
17097 $as_echo "$as_me: failed program was:" >&5
17098 sed 's/^/| /' conftest.$ac_ext >&5
17100 { $as_echo "$as_me:$LINENO: result: no" >&5
17101 $as_echo "no" >&6; };
17105 rm -rf conftest.dSYM
17106 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17107 conftest$ac_exeext conftest.$ac_ext
17110 rm -rf conftest.dSYM
17111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17112 conftest$ac_exeext conftest.$ac_ext
17113 elif test x${DLL} = xdl.h; then
17115 cat >>confdefs.h <<\_ACEOF
17116 #define HAVE_DL_H 1
17119 { $as_echo "$as_me:$LINENO: checking for shl_load()" >&5
17120 $as_echo_n "checking for shl_load()... " >&6; }
17121 cat >conftest.$ac_ext <<_ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17132 extern void* shl_load();
17139 rm -f conftest.$ac_objext conftest$ac_exeext
17140 if { (ac_try="$ac_link"
17141 case "(($ac_try" in
17142 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17143 *) ac_try_echo
=$ac_try;;
17145 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17146 $as_echo "$ac_try_echo") >&5
17147 (eval "$ac_link") 2>conftest.er1
17149 grep -v '^ *+' conftest.er1
>conftest.err
17151 cat conftest.err
>&5
17152 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } && {
17154 test -z "$ac_c_werror_flag" ||
17155 test ! -s conftest.err
17156 } && test -s conftest
$ac_exeext && {
17157 test "$cross_compiling" = yes ||
17158 $as_test_x conftest
$ac_exeext
17160 { $as_echo "$as_me:$LINENO: result: yes" >&5
17161 $as_echo "yes" >&6; };
17163 cat >>confdefs.h
<<\_ACEOF
17164 #define HAVE_SHL_LOAD 1
17168 $as_echo "$as_me: failed program was:" >&5
17169 sed 's/^/| /' conftest.
$ac_ext >&5
17171 { $as_echo "$as_me:$LINENO: result: no" >&5
17172 $as_echo "no" >&6; };
17173 { $as_echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
17174 $as_echo_n "checking for shl_load() in -ldld... " >&6; }
17177 cat >conftest.
$ac_ext <<_ACEOF
17180 cat confdefs.h
>>conftest.
$ac_ext
17181 cat >>conftest.
$ac_ext <<_ACEOF
17182 /* end confdefs.h. */
17188 extern void* shl_load();
17195 rm -f conftest.
$ac_objext conftest
$ac_exeext
17196 if { (ac_try
="$ac_link"
17197 case "(($ac_try" in
17198 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17199 *) ac_try_echo=$ac_try;;
17201 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17202 $as_echo "$ac_try_echo") >&5
17203 (eval "$ac_link") 2>conftest.er1
17205 grep -v '^ *+' conftest.er1 >conftest.err
17207 cat conftest.err >&5
17208 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17209 (exit $ac_status); } && {
17210 test -z "$ac_c_werror_flag" ||
17211 test ! -s conftest.err
17212 } && test -s conftest$ac_exeext && {
17213 test "$cross_compiling" = yes ||
17214 $as_test_x conftest$ac_exeext
17216 { $as_echo "$as_me:$LINENO: result: yes" >&5
17217 $as_echo "yes" >&6; };
17219 cat >>confdefs.h <<\_ACEOF
17220 #define HAVE_SHL_LOAD 1
17224 $as_echo "$as_me: failed program was:" >&5
17225 sed 's/^/| /' conftest.$ac_ext >&5
17227 { $as_echo "$as_me:$LINENO: result: no" >&5
17228 $as_echo "no" >&6; };
17232 rm -rf conftest.dSYM
17233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17234 conftest$ac_exeext conftest.$ac_ext
17237 rm -rf conftest.dSYM
17238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17239 conftest$ac_exeext conftest.$ac_ext
17242 for ac_header in setjmp.h
17244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
17245 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17246 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17247 $as_echo_n "checking for $ac_header... " >&6; }
17248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17249 $as_echo_n "(cached) " >&6
17251 ac_res=`eval 'as_val=${'$as_ac_Header'}
17252 $as_echo "$as_val"'`
17253 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17254 $as_echo "$ac_res" >&6; }
17256 # Is the header compilable?
17257 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
17258 $as_echo_n "checking $ac_header usability... " >&6; }
17259 cat >conftest.$ac_ext <<_ACEOF
17262 cat confdefs.h >>conftest.$ac_ext
17263 cat >>conftest.$ac_ext <<_ACEOF
17264 /* end confdefs.h. */
17265 $ac_includes_default
17266 #include <$ac_header>
17268 rm -f conftest.$ac_objext
17269 if { (ac_try="$ac_compile"
17270 case "(($ac_try" in
17271 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17272 *) ac_try_echo
=$ac_try;;
17274 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
17275 $as_echo "$ac_try_echo") >&5
17276 (eval "$ac_compile") 2>conftest.er1
17278 grep -v '^ *+' conftest.er1
>conftest.err
17280 cat conftest.err
>&5
17281 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17282 (exit $ac_status); } && {
17283 test -z "$ac_c_werror_flag" ||
17284 test ! -s conftest.err
17285 } && test -s conftest.
$ac_objext; then
17286 ac_header_compiler
=yes
17288 $as_echo "$as_me: failed program was:" >&5
17289 sed 's/^/| /' conftest.
$ac_ext >&5
17291 ac_header_compiler
=no
17294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
17295 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17296 $as_echo "$ac_header_compiler" >&6; }
17298 # Is the header present?
17299 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
17300 $as_echo_n "checking $ac_header presence... " >&6; }
17301 cat >conftest.
$ac_ext <<_ACEOF
17304 cat confdefs.h
>>conftest.
$ac_ext
17305 cat >>conftest.
$ac_ext <<_ACEOF
17306 /* end confdefs.h. */
17307 #include <$ac_header>
17309 if { (ac_try
="$ac_cpp conftest.$ac_ext"
17310 case "(($ac_try" in
17311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17312 *) ac_try_echo=$ac_try;;
17314 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17315 $as_echo "$ac_try_echo") >&5
17316 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
17318 grep -v '^ *+' conftest.er1 >conftest.err
17320 cat conftest.err >&5
17321 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322 (exit $ac_status); } >/dev/null && {
17323 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
17324 test ! -s conftest.err
17326 ac_header_preproc=yes
17328 $as_echo "$as_me: failed program was:" >&5
17329 sed 's/^/| /' conftest.$ac_ext >&5
17331 ac_header_preproc=no
17334 rm -f conftest.err conftest.$ac_ext
17335 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17336 $as_echo "$ac_header_preproc" >&6; }
17338 # So? What about this header?
17339 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
17341 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17342 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17343 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17344 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17345 ac_header_preproc=yes
17348 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17349 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17350 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17351 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17352 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17353 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17354 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17355 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17356 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17357 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17358 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17359 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17363 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
17364 $as_echo_n "checking for $ac_header... " >&6; }
17365 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17366 $as_echo_n "(cached) " >&6
17368 eval "$as_ac_Header=\$ac_header_preproc"
17370 ac_res=`eval 'as_val=${'$as_ac_Header'}
17371 $as_echo "$as_val"'`
17372 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
17373 $as_echo "$ac_res" >&6; }
17376 as_val=`eval 'as_val=${'$as_ac_Header'}
17377 $as_echo "$as_val"'`
17378 if test "x$as_val" = x""yes; then
17379 cat >>confdefs.h <<_ACEOF
17380 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
17388 if test "x$MACOSX" = "xyes" -a -n "$PERL"; then
17389 if echo $LIBS | grep -e '-ldl' >/dev/null; then
17390 LIBS=`echo $LIBS |
sed s
/-ldl//`
17391 PERL_LIBS="$PERL_LIBS -ldl"
17395 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \
17396 && test "x$GUITYPE" != "xCARBONGUI" && test "x$GUITYPE" != "xMACVIMGUI"; then
17397 { $as_echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
17398 $as_echo_n "checking whether we need -framework Carbon... " >&6; }
17399 if test "x$enable_multibyte" = "xyes" || test "x$features" = "xbig" \
17400 || test "x$features" = "xhuge"; then
17401 LIBS="$LIBS -framework Carbon"
17402 { $as_echo "$as_me:$LINENO: result: yes" >&5
17403 $as_echo "yes" >&6; }
17405 { $as_echo "$as_me:$LINENO: result: no" >&5
17406 $as_echo "no" >&6; }
17409 if test "x$MACARCH" = "xboth"; then
17410 LDFLAGS="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
17413 DEPEND_CFLAGS_FILTER=
17414 if test "$GCC" = yes; then
17415 { $as_echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
17416 $as_echo_n "checking for GCC 3 or later... " >&6; }
17417 gccmajor=`echo "$gccversion" |
sed -e 's/^\([1-9]\)\..*$/\1/g'`
17418 if test "$gccmajor" -gt "2"; then
17419 DEPEND_CFLAGS_FILTER="| sed 's+-I */+-isystem /+g'"
17420 { $as_echo "$as_me:$LINENO: result: yes" >&5
17421 $as_echo "yes" >&6; }
17423 { $as_echo "$as_me:$LINENO: result: no" >&5
17424 $as_echo "no" >&6; }
17426 { $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5
17427 $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; }
17428 if test "$gccmajor" -gt "3"; then
17429 CFLAGS="$CFLAGS -D_FORTIFY_SOURCE=1"
17430 { $as_echo "$as_me:$LINENO: result: yes" >&5
17431 $as_echo "yes" >&6; }
17433 { $as_echo "$as_me:$LINENO: result: no" >&5
17434 $as_echo "no" >&6; }
17439 ac_config_files="$ac_config_files auto/config.mk:config.mk.in"
17441 cat >confcache <<\_ACEOF
17442 # This file is a shell script that caches the results of configure
17443 # tests run on this system so they can be shared between configure
17444 # scripts and configure runs, see configure's option --config-cache.
17445 # It is not useful on other systems. If it contains results you don't
17446 # want to keep, you may remove or edit it.
17448 # config.status only pays attention to the cache file if you give it
17449 # the --recheck option to rerun configure.
17451 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
17452 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17453 # following values.
17457 # The following way of writing the cache mishandles newlines in values,
17458 # but we know of no workaround that is simple, portable, and efficient.
17459 # So, we kill variables containing newlines.
17460 # Ultrix sh set writes to stderr and can't be redirected directly,
17461 # and sets the high bit in the cache file unless we assign to the vars.
17463 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17464 eval ac_val
=\$
$ac_var
17468 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
17469 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17472 _ | IFS | as_nl
) ;; #(
17473 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
17474 *) $as_unset $ac_var ;;
17480 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17481 *${as_nl}ac_space
=\
*)
17482 # `set' does not quote correctly, so add quotes (double-quote
17483 # substitution turns \\\\ into \\, and sed turns \\ into \).
17486 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17489 # `set' quotes correctly as required by POSIX, so do not add quotes.
17490 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17499 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17501 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17503 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
17504 if test -w "$cache_file"; then
17505 test "x$cache_file" != "x/dev/null" &&
17506 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
17507 $as_echo "$as_me: updating cache $cache_file" >&6;}
17508 cat confcache
>$cache_file
17510 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
17511 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17516 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17517 # Let make expand exec_prefix.
17518 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17520 DEFS
=-DHAVE_CONFIG_H
17524 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
17525 # 1. Remove the extension, and $U if already installed.
17526 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
17527 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
17528 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17529 # will be set to the directory where LIBOBJS objects are built.
17530 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17531 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
17533 LIBOBJS
=$ac_libobjs
17535 LTLIBOBJS
=$ac_ltlibobjs
17539 : ${CONFIG_STATUS=./config.status}
17541 ac_clean_files_save
=$ac_clean_files
17542 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17543 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17544 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17545 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17547 # Generated by $as_me.
17548 # Run this file to recreate the current configuration.
17549 # Compiler output produced by configure, useful for debugging
17550 # configure, is in config.log if it exists.
17553 ac_cs_recheck=false
17555 SHELL=\${CONFIG_SHELL-$SHELL}
17558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17559 ## --------------------- ##
17560 ## M4sh Initialization. ##
17561 ## --------------------- ##
17563 # Be more Bourne compatible
17564 DUALCASE
=1; export DUALCASE
# for MKS sh
17565 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17568 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17569 # is contrary to our usage. Disable this feature.
17570 alias -g '${1+"$@"}'='"$@"'
17571 setopt NO_GLOB_SUBST
17573 case `(set -o) 2>/dev/null` in
17574 *posix
*) set -o posix
;;
17583 # Avoid depending upon Character Ranges.
17584 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17585 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17586 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17587 as_cr_digits
='0123456789'
17588 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17593 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17594 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17595 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17596 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17597 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17598 as_echo='printf %s
\n'
17599 as_echo_n='printf %s
'
17601 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17602 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17603 as_echo_n='/usr
/ucb
/echo -n'
17605 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17606 as_echo_n_body='eval
17610 expr "X$arg" : "X\\(.*\\)$as_nl";
17611 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17613 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17615 export as_echo_n_body
17616 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17618 export as_echo_body
17619 as_echo='sh
-c $as_echo_body as_echo
'
17622 # The user is always right.
17623 if test "${PATH_SEPARATOR+set}" != set; then
17625 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17626 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17631 # Support unset when possible.
17632 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17640 # We need space, tab and new line, in precisely that order. Quoting is
17641 # there to prevent editors from complaining about space-tab.
17642 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17643 # splitting by setting IFS to empty value.)
17646 # Find who we are. Look in the path if we contain no directory separator.
17648 *[\\/]* ) as_myself=$0 ;;
17649 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17650 for as_dir in $PATH
17653 test -z "$as_dir" && as_dir=.
17654 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17660 # We did not find ourselves, most probably we were run as `sh COMMAND'
17661 # in which case we are not to be found in the path.
17662 if test "x$as_myself" = x
; then
17665 if test ! -f "$as_myself"; then
17666 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17667 { (exit 1); exit 1; }
17670 # Work around bugs in pre-3.0 UWIN ksh.
17671 for as_var
in ENV MAIL MAILPATH
17672 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
17684 # Required to use basename.
17685 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17686 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17692 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17693 as_basename
=basename
17699 # Name of the executable.
17700 as_me
=`$as_basename -- "$0" ||
17701 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17702 X"$0" : 'X\(//\)$' \| \
17703 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17705 sed '/^.*\/\([^/][^/]*\)\/*$/{
17724 as_lineno_1
=$LINENO
17725 as_lineno_2
=$LINENO
17726 test "x$as_lineno_1" != "x$as_lineno_2" &&
17727 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
17729 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17730 # uniformly replaced by the line number. The first 'sed' inserts a
17731 # line-number line after each line using $LINENO; the second 'sed'
17732 # does the real work. The second script uses 'N' to pair each
17733 # line-number line with the line containing $LINENO, and appends
17734 # trailing '-' during substitution so that $LINENO is not a special
17735 # case at line end.
17736 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17737 # scripts with optimization help from Paolo Bonzini. Blame Lee
17738 # E. McMahon (1931-1989) for sed's syntax. :-)
17750 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17753 ' >$as_me.lineno
&&
17754 chmod +x
"$as_me.lineno" ||
17755 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17756 { (exit 1); exit 1; }; }
17758 # Don't try to exec as it changes $[0], causing all sort of problems
17759 # (the dirname of $[0] is not the place where we might find the
17760 # original and so on. Autoconf is especially sensitive to this).
17761 .
"./$as_me.lineno"
17762 # Exit status is that of the last command.
17767 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17773 ECHO_C
= ECHO_N
= ECHO_T
=
17774 case `echo -n x` in
17776 case `echo 'x\c'` in
17777 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17783 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17784 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17790 rm -f conf$$ conf$$.exe conf$$.
file
17791 if test -d conf$$.dir
; then
17792 rm -f conf$$.dir
/conf$$.
file
17795 mkdir conf$$.dir
2>/dev
/null
17797 if (echo >conf$$.
file) 2>/dev
/null
; then
17798 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17800 # ... but there are two gotchas:
17801 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17802 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17803 # In both cases, we have to default to `cp -p'.
17804 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17806 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17814 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17815 rmdir conf$$.dir
2>/dev
/null
17817 if mkdir
-p .
2>/dev
/null
; then
17820 test -d .
/-p && rmdir .
/-p
17824 if test -x / >/dev
/null
2>&1; then
17825 as_test_x
='test -x'
17827 if ls -dL / >/dev
/null
2>&1; then
17834 if test -d "$1"; then
17840 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17841 ???[sx]*):;;*)false;;esac;fi
17845 as_executable_p
=$as_test_x
17847 # Sed expression to map a string onto a valid CPP name.
17848 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17850 # Sed expression to map a string onto a valid variable name.
17851 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17856 # Save the log message, to keep $[0] and so on meaningful, and to
17857 # report actual input values of CONFIG_FILES etc. instead of their
17858 # values after options handling.
17860 This file was extended by $as_me, which was
17861 generated by GNU Autoconf 2.63. Invocation command line was
17863 CONFIG_FILES = $CONFIG_FILES
17864 CONFIG_HEADERS = $CONFIG_HEADERS
17865 CONFIG_LINKS = $CONFIG_LINKS
17866 CONFIG_COMMANDS = $CONFIG_COMMANDS
17869 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17874 case $ac_config_files in *"
17875 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17878 case $ac_config_headers in *"
17879 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17883 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17884 # Files that config.status was made for.
17885 config_files="$ac_config_files"
17886 config_headers="$ac_config_headers"
17890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17892 \`$as_me' instantiates files from templates according to the
17893 current configuration.
17895 Usage: $0 [OPTION]... [FILE]...
17897 -h, --help print this help, then exit
17898 -V, --version print version number and configuration settings, then exit
17899 -q, --quiet, --silent
17900 do not print progress messages
17901 -d, --debug don't remove temporary files
17902 --recheck update $as_me by reconfiguring in the same conditions
17903 --file=FILE[:TEMPLATE]
17904 instantiate the configuration file FILE
17905 --header=FILE[:TEMPLATE]
17906 instantiate the configuration header FILE
17908 Configuration files:
17911 Configuration headers:
17914 Report bugs to <bug-autoconf@gnu.org>."
17917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17920 configured by $0, generated by GNU Autoconf 2.63,
17921 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17923 Copyright (C) 2008 Free Software Foundation, Inc.
17924 This config.status script is free software; the Free Software Foundation
17925 gives unlimited permission to copy, distribute and modify it."
17930 test -n "\$AWK" || AWK=awk
17933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17934 # The default lists apply if the user does not specify any file.
17940 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17941 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17952 # Handling of the options.
17953 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17955 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17956 $as_echo "$ac_cs_version"; exit ;;
17957 --debug |
--debu |
--deb |
--de |
--d |
-d )
17959 --file |
--fil |
--fi |
--f )
17962 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17964 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
17965 ac_need_defaults
=false
;;
17966 --header |
--heade |
--head |
--hea )
17969 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17971 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
17972 ac_need_defaults
=false
;;
17974 # Conflict between --help and --header
17975 { $as_echo "$as_me: error: ambiguous option: $1
17976 Try \`$0 --help' for more information." >&2
17977 { (exit 1); exit 1; }; };;
17978 --help |
--hel |
-h )
17979 $as_echo "$ac_cs_usage"; exit ;;
17980 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17981 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17984 # This is an error.
17985 -*) { $as_echo "$as_me: error: unrecognized option: $1
17986 Try \`$0 --help' for more information." >&2
17987 { (exit 1); exit 1; }; } ;;
17989 *) ac_config_targets
="$ac_config_targets $1"
17990 ac_need_defaults
=false
;;
17996 ac_configure_extra_args
=
17998 if $ac_cs_silent; then
18000 ac_configure_extra_args
="$ac_configure_extra_args --silent"
18004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18005 if \$ac_cs_recheck; then
18006 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18008 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18009 CONFIG_SHELL='$SHELL'
18010 export CONFIG_SHELL
18015 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18016 exec 5>>auto
/config.log
18019 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18020 ## Running $as_me. ##
18026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18031 # Handling of arguments.
18032 for ac_config_target
in $ac_config_targets
18034 case $ac_config_target in
18035 "auto/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
18036 "auto/config.mk") CONFIG_FILES
="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
18038 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
18039 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
18040 { (exit 1); exit 1; }; };;
18045 # If the user did not use the arguments to specify the items to instantiate,
18046 # then the envvar interface is used. Set only those that are not.
18047 # We use the long form for the default assignment because of an extremely
18048 # bizarre bug on SunOS 4.1.3.
18049 if $ac_need_defaults; then
18050 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
18051 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
18054 # Have a temporary directory for convenience. Make it in the build tree
18055 # simply because there is no reason against having it here, and in addition,
18056 # creating and moving files from /tmp can sometimes cause problems.
18057 # Hook for its removal unless debugging.
18058 # Note that there is a small window in which the directory will not be cleaned:
18059 # after its creation but before its name has been assigned to `$tmp'.
18063 trap 'exit_status=$?
18064 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
18066 trap '{ (exit 1); exit 1; }' 1 2 13 15
18068 # Create a (secure) tmp directory for tmp files.
18071 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18072 test -n "$tmp" && test -d "$tmp"
18075 tmp
=.
/conf$$
-$RANDOM
18076 (umask 077 && mkdir
"$tmp")
18079 $as_echo "$as_me: cannot create a temporary directory in ." >&2
18080 { (exit 1); exit 1; }
18083 # Set up the scripts for CONFIG_FILES section.
18084 # No need to generate them if there are no CONFIG_FILES.
18085 # This happens for instance with `./config.status config.h'.
18086 if test -n "$CONFIG_FILES"; then
18090 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18091 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18094 ac_cs_awk_cr
=$ac_cr
18097 echo 'BEGIN {' >"$tmp/subs1.awk" &&
18102 echo "cat >conf$$subs.awk <<_ACEOF" &&
18103 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18105 } >conf$$subs.sh ||
18106 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18107 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18108 { (exit 1); exit 1; }; }
18109 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
18111 for ac_last_try in false false false false false :; do
18112 . ./conf$$subs.sh ||
18113 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18114 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18115 { (exit 1); exit 1; }; }
18117 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
18118 if test $ac_delim_n = $ac_delim_num; then
18120 elif $ac_last_try; then
18121 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
18122 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
18123 { (exit 1); exit 1; }; }
18125 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18128 rm -f conf$$subs.sh
18130 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18131 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
18135 s/^/S["/; s
/!.
*/"]=/
18145 s/\(.\{148\}\).*/\1/
18147 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
18152 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18159 s/\(.\{148\}\).*/\1/
18161 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
18165 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
18170 ' <conf$$subs.awk | sed '
18175 ' >>$CONFIG_STATUS || ac_write_fail=1
18176 rm -f conf$$subs.awk
18177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18179 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
18180 for (key in S) S_is_set[key] = 1
18186 nfields = split(line, field, "@
")
18188 len = length(field[1])
18189 for (i = 2; i < nfields; i++) {
18191 keylen = length(key)
18192 if (S_is_set[key]) {
18194 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18195 len += length(value) + length(field[++i])
18206 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18207 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18208 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
18211 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
18212 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
18213 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
18214 { (exit 1); exit 1; }; }
18217 # VPATH may cause trouble with some makes, so we remove $(srcdir),
18218 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
18219 # trailing colons and then remove the whole line if VPATH becomes empty
18220 # (actually we leave an empty line to preserve line numbers).
18221 if test "x
$srcdir" = x.; then
18222 ac_vpsub='/^[ ]*VPATH[ ]*=/{
18223 s/:*\$(srcdir):*/:/
18224 s/:*\${srcdir}:*/:/
18226 s/^\([^=]*=[ ]*\):*/\1/
18232 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18233 fi # test -n "$CONFIG_FILES"
18235 # Set up the scripts for CONFIG_HEADERS section.
18236 # No need to generate them if there are no CONFIG_HEADERS.
18237 # This happens for instance with `./config.status Makefile'.
18238 if test -n "$CONFIG_HEADERS"; then
18239 cat >"$tmp/defines.
awk" <<\_ACAWK ||
18243 # Transform confdefs.h into an awk script `defines.awk', embedded as
18244 # here-document in config.status, that substitutes the proper values into
18245 # config.h.in to produce config.h.
18247 # Create a delimiter string that does not exist in confdefs.h, to ease
18248 # handling of long lines.
18250 for ac_last_try in false false :; do
18251 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
18252 if test -z "$ac_t"; then
18254 elif $ac_last_try; then
18255 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
18256 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
18257 { (exit 1); exit 1; }; }
18259 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
18263 # For the awk script, D is an array of macro values keyed by name,
18264 # likewise P contains macro parameters if any. Preserve backslash
18265 # newline sequences.
18267 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18269 s/.\{148\}/&'"$ac_delim"'/g
18272 s/^[ ]*#[ ]*define[ ][ ]*/ /
18279 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
18281 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
18285 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
18286 D["\
1"]=" \
3\\\\\\n
"\\/p
18288 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
18293 s/.\{148\}/&'"$ac_delim"'/g
18298 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
18301 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
18303 ' <confdefs.h | sed '
18304 s/'"$ac_delim"'/"\\\
18305 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18308 for (key in D) D_is_set[key] = 1
18311 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18313 split(line, arg, " ")
18314 if (arg[1] == "#") {
18318 defundef
= substr
(arg
[1], 2)
18321 split(mac1
, mac2
, "(") #)
18323 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
18324 if (D_is_set
[macro
]) {
18325 # Preserve the white space surrounding the "#".
18326 print prefix
"define", macro P
[macro
] D
[macro
]
18329 # Replace #undef with comments. This is necessary, for example,
18330 # in the case of _POSIX_SOURCE, which is predefined and required
18331 # on some systems where configure will not decide to define it.
18332 if (defundef
== "undef") {
18333 print
"/*", prefix defundef
, macro
, "*/"
18341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18342 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
18343 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
18344 { (exit 1); exit 1; }; }
18345 fi # test -n "$CONFIG_HEADERS"
18348 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
18353 :[FHLC
]) ac_mode
=$ac_tag; continue;;
18355 case $ac_mode$ac_tag in
18357 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
18358 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
18359 { (exit 1); exit 1; }; };;
18360 :[FH
]-) ac_tag
=-:-;;
18361 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
18378 -) ac_f
="$tmp/stdin";;
18379 *) # Look for the file first in the build tree, then in the source tree
18380 # (if the path is not absolute). The absolute path cannot be DOS-style,
18381 # because $ac_f cannot contain `:'.
18385 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
18387 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
18388 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
18389 { (exit 1); exit 1; }; };;
18391 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18392 ac_file_inputs
="$ac_file_inputs '$ac_f'"
18395 # Let's still pretend it is `configure' which instantiates (i.e., don't
18396 # use $as_me), people would be surprised to read:
18397 # /* config.h. Generated by config.status. */
18398 configure_input
='Generated from '`
18399 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18401 if test x
"$ac_file" != x-
; then
18402 configure_input
="$ac_file. $configure_input"
18403 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
18404 $as_echo "$as_me: creating $ac_file" >&6;}
18406 # Neutralize special characters interpreted by sed in replacement strings.
18407 case $configure_input in #(
18408 *\
&* |
*\|
* |
*\\* )
18409 ac_sed_conf_input
=`$as_echo "$configure_input" |
18410 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18411 *) ac_sed_conf_input
=$configure_input;;
18415 *:-:* |
*:-) cat >"$tmp/stdin" \
18416 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18417 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18418 { (exit 1); exit 1; }; } ;;
18423 ac_dir
=`$as_dirname -- "$ac_file" ||
18424 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18425 X"$ac_file" : 'X\(//\)[^/]' \| \
18426 X"$ac_file" : 'X\(//\)$' \| \
18427 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18428 $as_echo X"$ac_file" |
18429 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18433 /^X\(\/\/\)[^/].*/{
18448 -*) as_dir
=.
/$as_dir;;
18450 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
18454 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18455 *) as_qdir
=$as_dir;;
18457 as_dirs
="'$as_qdir' $as_dirs"
18458 as_dir
=`$as_dirname -- "$as_dir" ||
18459 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18460 X"$as_dir" : 'X\(//\)[^/]' \| \
18461 X"$as_dir" : 'X\(//\)$' \| \
18462 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18463 $as_echo X"$as_dir" |
18464 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18468 /^X\(\/\/\)[^/].*/{
18481 test -d "$as_dir" && break
18483 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
18484 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
18485 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
18486 { (exit 1); exit 1; }; }; }
18490 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18492 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18493 # A ".." for each directory in $ac_dir_suffix.
18494 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18495 case $ac_top_builddir_sub in
18496 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
18497 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
18500 ac_abs_top_builddir
=$ac_pwd
18501 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
18502 # for backward compatibility:
18503 ac_top_builddir
=$ac_top_build_prefix
18506 .
) # We are building in place.
18508 ac_top_srcdir
=$ac_top_builddir_sub
18509 ac_abs_top_srcdir
=$ac_pwd ;;
18510 [\\/]* | ?
:[\\/]* ) # Absolute name.
18511 ac_srcdir
=$srcdir$ac_dir_suffix;
18512 ac_top_srcdir
=$srcdir
18513 ac_abs_top_srcdir
=$srcdir ;;
18514 *) # Relative name.
18515 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
18516 ac_top_srcdir
=$ac_top_build_prefix$srcdir
18517 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
18519 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
18530 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18531 # If the template does not know about datarootdir, expand it.
18532 # FIXME: This hack should be removed a few years after 2.60.
18533 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18546 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18547 *datarootdir
*) ac_datarootdir_seen
=yes;;
18548 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18549 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18550 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18552 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18553 ac_datarootdir_hack='
18554 s&@datadir@&$datadir&g
18555 s&@docdir@&$docdir&g
18556 s&@infodir@&$infodir&g
18557 s&@localedir@&$localedir&g
18558 s&@mandir@&$mandir&g
18559 s&\\\${datarootdir}&$datarootdir&g' ;;
18563 # Neutralize VPATH when `$srcdir' = `.'.
18564 # Shell code in configure.ac might set extrasub.
18565 # FIXME: do we really want to maintain this feature?
18566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18567 ac_sed_extra="$ac_vpsub
18570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18572 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18573 s|@configure_input@|
$ac_sed_conf_input|
;t t
18574 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18575 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18576 s
&@srcdir@
&$ac_srcdir&;t t
18577 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18578 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18579 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18580 s
&@builddir@
&$ac_builddir&;t t
18581 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18582 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18583 $ac_datarootdir_hack
18585 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18586 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
18587 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
18588 { (exit 1); exit 1; }; }
18590 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18591 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18592 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18593 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18594 which seems to be undefined. Please make sure it is defined." >&5
18595 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18596 which seems to be undefined. Please make sure it is defined." >&2;}
18600 -) cat "$tmp/out" && rm -f "$tmp/out";;
18601 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18603 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18604 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18605 { (exit 1); exit 1; }; }
18611 if test x"$ac_file" != x-; then
18613 $as_echo "/* $configure_input */" \
18614 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18615 } >"$tmp/config.h" \
18616 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18617 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18618 { (exit 1); exit 1; }; }
18619 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18620 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18621 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18624 mv "$tmp/config.h" "$ac_file" \
18625 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18626 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18627 { (exit 1); exit 1; }; }
18630 $as_echo "/* $configure_input */" \
18631 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18632 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18633 $as_echo "$as_me: error: could not create -" >&2;}
18634 { (exit 1); exit 1; }; }
18644 { (exit 0); exit 0; }
18646 chmod +x $CONFIG_STATUS
18647 ac_clean_files=$ac_clean_files_save
18649 test $ac_write_fail = 0 ||
18650 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
18651 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
18652 { (exit 1); exit 1; }; }
18655 # configure is writing to config.log, and then calls config.status.
18656 # config.status does its own redirection, appending to config.log.
18657 # Unfortunately, on DOS this fails, as config.log is still kept open
18658 # by configure, so config.status won't be able to
write to it
; its
18659 # output is simply discarded. So we exec the FD to /dev/null,
18660 # effectively closing config.log, so it can be properly (re)opened and
18661 # appended to by config.status. When coming back to configure, we
18662 # need to make the FD available again.
18663 if test "$no_create" != yes; then
18665 ac_config_status_args
=
18666 test "$silent" = yes &&
18667 ac_config_status_args
="$ac_config_status_args --quiet"
18669 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18670 exec 5>>auto
/config.log
18671 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18672 # would make configure fail if this is the last instruction.
18673 $ac_cs_success ||
{ (exit 1); exit 1; }
18675 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18676 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18677 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}