2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.62.
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>
647 program_transform_name
715 PYTHON_GETPATH_CFLAGS
772 enable_option_checking
786 enable_mzschemeinterp
790 with_python_config_dir
824 ac_precious_vars
='build_alias
836 # Initialize some variables set by options.
838 ac_init_version
=false
839 ac_unrecognized_opts
=
841 # The variables have the same names as the options, with
842 # dashes changed to underlines.
850 program_transform_name
=s
,x
,x
,
858 # Installation directory options.
859 # These are left unexpanded so users can "make install exec_prefix=/foo"
860 # and all the variables that are supposed to be based on exec_prefix
861 # by default will actually change.
862 # Use braces instead of parens because sh, perl, etc. also accept them.
863 # (The list follows the same order as the GNU Coding Standards.)
864 bindir
='${exec_prefix}/bin'
865 sbindir
='${exec_prefix}/sbin'
866 libexecdir
='${exec_prefix}/libexec'
867 datarootdir
='${prefix}/share'
868 datadir
='${datarootdir}'
869 sysconfdir
='${prefix}/etc'
870 sharedstatedir
='${prefix}/com'
871 localstatedir
='${prefix}/var'
872 includedir
='${prefix}/include'
873 oldincludedir
='/usr/include'
874 docdir
='${datarootdir}/doc/${PACKAGE}'
875 infodir
='${datarootdir}/info'
880 libdir
='${exec_prefix}/lib'
881 localedir
='${datarootdir}/locale'
882 mandir
='${datarootdir}/man'
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\
$ac_option
896 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
900 # Accept the important Cygnus configure options, so we can diagnose typos.
902 case $ac_dashdash$ac_option in
906 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
908 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
911 -build |
--build |
--buil |
--bui |
--bu)
912 ac_prev
=build_alias
;;
913 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
914 build_alias
=$ac_optarg ;;
916 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
917 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
918 ac_prev
=cache_file
;;
919 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
920 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
921 cache_file
=$ac_optarg ;;
924 cache_file
=config.cache
;;
926 -datadir |
--datadir |
--datadi |
--datad)
928 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
929 datadir
=$ac_optarg ;;
931 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
932 |
--dataroo |
--dataro |
--datar)
933 ac_prev
=datarootdir
;;
934 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
935 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
936 datarootdir
=$ac_optarg ;;
938 -disable-* |
--disable-*)
939 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
940 # Reject names that are not valid shell variable names.
941 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
942 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
943 { (exit 1); exit 1; }; }
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
970 { (exit 1); exit 1; }; }
971 ac_useropt_orig
=$ac_useropt
972 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
973 case $ac_user_opts in
977 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
978 ac_unrecognized_sep
=', ';;
980 eval enable_
$ac_useropt=\
$ac_optarg ;;
982 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
983 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
984 |
--exec |
--exe |
--ex)
985 ac_prev
=exec_prefix
;;
986 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
987 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
988 |
--exec=* |
--exe=* |
--ex=*)
989 exec_prefix
=$ac_optarg ;;
991 -gas |
--gas |
--ga |
--g)
992 # Obsolete; use --with-gas.
995 -help |
--help |
--hel |
--he |
-h)
997 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
998 ac_init_help
=recursive
;;
999 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1000 ac_init_help
=short
;;
1002 -host |
--host |
--hos |
--ho)
1003 ac_prev
=host_alias
;;
1004 -host=* |
--host=* |
--hos=* |
--ho=*)
1005 host_alias
=$ac_optarg ;;
1007 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1009 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1011 htmldir
=$ac_optarg ;;
1013 -includedir |
--includedir |
--includedi |
--included |
--include \
1014 |
--includ |
--inclu |
--incl |
--inc)
1015 ac_prev
=includedir
;;
1016 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1017 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1018 includedir
=$ac_optarg ;;
1020 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1022 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1023 infodir
=$ac_optarg ;;
1025 -libdir |
--libdir |
--libdi |
--libd)
1027 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1028 libdir
=$ac_optarg ;;
1030 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1031 |
--libexe |
--libex |
--libe)
1032 ac_prev
=libexecdir
;;
1033 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1034 |
--libexe=* |
--libex=* |
--libe=*)
1035 libexecdir
=$ac_optarg ;;
1037 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1038 ac_prev
=localedir
;;
1039 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1040 localedir
=$ac_optarg ;;
1042 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1043 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1044 ac_prev
=localstatedir
;;
1045 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1046 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1047 localstatedir
=$ac_optarg ;;
1049 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1051 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1052 mandir
=$ac_optarg ;;
1054 -nfp |
--nfp |
--nf)
1055 # Obsolete; use --without-fp.
1058 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1059 |
--no-cr |
--no-c |
-n)
1062 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1063 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1066 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1067 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1068 |
--oldin |
--oldi |
--old |
--ol |
--o)
1069 ac_prev
=oldincludedir
;;
1070 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1071 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1072 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1073 oldincludedir
=$ac_optarg ;;
1075 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1077 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1078 prefix
=$ac_optarg ;;
1080 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1081 |
--program-pre |
--program-pr |
--program-p)
1082 ac_prev
=program_prefix
;;
1083 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1084 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1085 program_prefix
=$ac_optarg ;;
1087 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1088 |
--program-suf |
--program-su |
--program-s)
1089 ac_prev
=program_suffix
;;
1090 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1091 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1092 program_suffix
=$ac_optarg ;;
1094 -program-transform-name |
--program-transform-name \
1095 |
--program-transform-nam |
--program-transform-na \
1096 |
--program-transform-n |
--program-transform- \
1097 |
--program-transform |
--program-transfor \
1098 |
--program-transfo |
--program-transf \
1099 |
--program-trans |
--program-tran \
1100 |
--progr-tra |
--program-tr |
--program-t)
1101 ac_prev
=program_transform_name
;;
1102 -program-transform-name=* |
--program-transform-name=* \
1103 |
--program-transform-nam=* |
--program-transform-na=* \
1104 |
--program-transform-n=* |
--program-transform-=* \
1105 |
--program-transform=* |
--program-transfor=* \
1106 |
--program-transfo=* |
--program-transf=* \
1107 |
--program-trans=* |
--program-tran=* \
1108 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1109 program_transform_name
=$ac_optarg ;;
1111 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1113 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1114 pdfdir
=$ac_optarg ;;
1116 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1118 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1121 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1122 |
-silent |
--silent |
--silen |
--sile |
--sil)
1125 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1127 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1129 sbindir
=$ac_optarg ;;
1131 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1132 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1133 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1135 ac_prev
=sharedstatedir
;;
1136 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1137 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1138 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1140 sharedstatedir
=$ac_optarg ;;
1142 -site |
--site |
--sit)
1144 -site=* |
--site=* |
--sit=*)
1147 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1149 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1150 srcdir
=$ac_optarg ;;
1152 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1153 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1154 ac_prev
=sysconfdir
;;
1155 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1156 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1157 sysconfdir
=$ac_optarg ;;
1159 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1160 ac_prev
=target_alias
;;
1161 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1162 target_alias
=$ac_optarg ;;
1164 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1167 -version |
--version |
--versio |
--versi |
--vers |
-V)
1168 ac_init_version
=: ;;
1171 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1174 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1175 { (exit 1); exit 1; }; }
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=\
$ac_optarg ;;
1187 -without-* |
--without-*)
1188 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1191 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1192 { (exit 1); exit 1; }; }
1193 ac_useropt_orig
=$ac_useropt
1194 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1195 case $ac_user_opts in
1199 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1200 ac_unrecognized_sep
=', ';;
1202 eval with_
$ac_useropt=no
;;
1205 # Obsolete; use --with-x.
1208 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1209 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1210 ac_prev
=x_includes
;;
1211 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1212 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1213 x_includes
=$ac_optarg ;;
1215 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1216 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1217 ac_prev
=x_libraries
;;
1218 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1219 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1220 x_libraries
=$ac_optarg ;;
1222 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1223 Try \`$0 --help' for more information." >&2
1224 { (exit 1); exit 1; }; }
1228 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1229 # Reject names that are not valid shell variable names.
1230 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1231 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1232 { (exit 1); exit 1; }; }
1233 eval $ac_envvar=\
$ac_optarg
1234 export $ac_envvar ;;
1237 # FIXME: should be removed in autoconf 3.0.
1238 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1239 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1240 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1241 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1247 if test -n "$ac_prev"; then
1248 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1249 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1250 { (exit 1); exit 1; }; }
1253 if test -n "$ac_unrecognized_opts"; then
1254 case $enable_option_checking in
1256 fatal
) { $as_echo "$as_me: error: Unrecognized options: $ac_unrecognized_opts" >&2
1257 { (exit 1); exit 1; }; } ;;
1258 *) $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1269 # Remove trailing slashes.
1272 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\
$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$
]* | ?
:[\\/]* ) continue;;
1278 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1280 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1281 { (exit 1); exit 1; }; }
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target
=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x
; then
1293 if test "x$build_alias" = x
; then
1294 cross_compiling
=maybe
1295 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1296 If a cross compiler is detected then cross compile mode will be used." >&2
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1305 test "$silent" = yes && exec 6>/dev
/null
1308 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di
=`ls -di .` &&
1310 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1311 { $as_echo "$as_me: error: Working directory cannot be determined" >&2
1312 { (exit 1); exit 1; }; }
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1315 { (exit 1); exit 1; }; }
1318 # Find the source files, if location was not specified.
1319 if test -z "$srcdir"; then
1320 ac_srcdir_defaulted
=yes
1321 # Try the directory containing this script, then the parent directory.
1322 ac_confdir
=`$as_dirname -- "$as_myself" ||
1323 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1324 X"$as_myself" : 'X\(//\)[^/]' \| \
1325 X"$as_myself" : 'X\(//\)$' \| \
1326 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1327 $as_echo X"$as_myself" |
1328 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1350 ac_srcdir_defaulted
=no
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1354 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1355 { (exit 1); exit 1; }; }
1357 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1359 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1360 { (exit 1); exit 1; }; }
1362 # When building in place, set srcdir=.
1363 if test "$ac_abs_confdir" = "$ac_pwd"; then
1366 # Remove unnecessary trailing slashes from srcdir.
1367 # Double slashes in file names in object file debugging info
1368 # mess up M-x gdb in Emacs.
1370 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1372 for ac_var
in $ac_precious_vars; do
1373 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1374 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1375 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1376 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1380 # Report the --help message.
1382 if test "$ac_init_help" = "long"; then
1383 # Omit some internal or obsolete options to make the list less imposing.
1384 # This message is too long to be a string in the A/UX 3.1 sh.
1386 \`configure' configures this package to adapt to many kinds of systems.
1388 Usage: $0 [OPTION]... [VAR=VALUE]...
1390 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1391 VAR=VALUE. See below for descriptions of some of the useful variables.
1393 Defaults for the options are specified in brackets.
1396 -h, --help display this help and exit
1397 --help=short display options specific to this package
1398 --help=recursive display the short help of all the included packages
1399 -V, --version display version information and exit
1400 -q, --quiet, --silent do not print \`checking...' messages
1401 --cache-file=FILE cache test results in FILE [disabled]
1402 -C, --config-cache alias for \`--cache-file=config.cache'
1403 -n, --no-create do not create output files
1404 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1406 Installation directories:
1407 --prefix=PREFIX install architecture-independent files in PREFIX
1408 [$ac_default_prefix]
1409 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1412 By default, \`make install' will install all the files in
1413 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1414 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1415 for instance \`--prefix=\$HOME'.
1417 For better control, use the options below.
1419 Fine tuning of the installation directories:
1420 --bindir=DIR user executables [EPREFIX/bin]
1421 --sbindir=DIR system admin executables [EPREFIX/sbin]
1422 --libexecdir=DIR program executables [EPREFIX/libexec]
1423 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1424 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1425 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1426 --libdir=DIR object code libraries [EPREFIX/lib]
1427 --includedir=DIR C header files [PREFIX/include]
1428 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1429 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1430 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1431 --infodir=DIR info documentation [DATAROOTDIR/info]
1432 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1433 --mandir=DIR man documentation [DATAROOTDIR/man]
1434 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1435 --htmldir=DIR html documentation [DOCDIR]
1436 --dvidir=DIR dvi documentation [DOCDIR]
1437 --pdfdir=DIR pdf documentation [DOCDIR]
1438 --psdir=DIR ps documentation [DOCDIR]
1444 --x-includes=DIR X include files are
in DIR
1445 --x-libraries=DIR X library files are
in DIR
1449 if test -n "$ac_init_help"; then
1454 --disable-option-checking ignore unrecognized
--enable/--with options
1455 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1456 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1457 --disable-darwin Disable Darwin
(Mac OS X
) support.
1458 --disable-selinux Don
't check for SELinux support.
1459 --disable-xsmp Disable XSMP session management
1460 --disable-xsmp-interact Disable XSMP interaction
1461 --enable-mzschemeinterp Include MzScheme interpreter.
1462 --enable-perlinterp Include Perl interpreter.
1463 --enable-pythoninterp Include Python interpreter.
1464 --enable-tclinterp Include Tcl interpreter.
1465 --enable-rubyinterp Include Ruby interpreter.
1466 --enable-cscope Include cscope interface.
1467 --enable-workshop Include Sun Visual Workshop support.
1468 --disable-netbeans Disable NetBeans integration support.
1469 --enable-sniff Include Sniff interface.
1470 --enable-multibyte Include multibyte editing support.
1471 --enable-hangulinput Include Hangul input support.
1472 --enable-xim Include XIM input support.
1473 --enable-fontset Include X fontset output support.
1474 --enable-gui=OPTS X11 GUI default=auto OPTS=auto/no/gtk/gtk2/gnome/gnome2/motif/athena/neXtaw/photon/carbon
1475 --enable-gtk-check If auto-select GUI, check for GTK default=yes
1476 --enable-gtk2-check If GTK GUI, check for GTK+ 2 default=yes
1477 --enable-gnome-check If GTK GUI, check for GNOME default=no
1478 --enable-motif-check If auto-select GUI, check for Motif default=yes
1479 --enable-athena-check If auto-select GUI, check for Athena default=yes
1480 --enable-nextaw-check If auto-select GUI, check for neXtaw default=yes
1481 --enable-carbon-check If auto-select GUI, check for Carbon default=yes
1482 --disable-gtktest Do not try to compile and run a test GTK program
1483 --disable-acl Don't check
for ACL support.
1484 --disable-gpm Don
't use gpm (Linux mouse daemon).
1485 --disable-sysmouse Don't use sysmouse
(mouse
in *BSD console
).
1486 --disable-nls Don
't support NLS (gettext()).
1489 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1490 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1491 --with-mac-arch=ARCH current, intel, ppc or both
1492 --with-local-dir=PATH search PATH instead of /usr/local for local libraries.
1493 --without-local-dir do not search /usr/local for local libraries.
1494 --with-vim-name=NAME what to call the Vim executable
1495 --with-ex-name=NAME what to call the Ex executable
1496 --with-view-name=NAME what to call the View executable
1497 --with-global-runtime=DIR global runtime directory in 'runtimepath
'
1498 --with-modified-by=NAME name of who modified a release version
1499 --with-features=TYPE tiny, small, normal, big or huge (default: normal)
1500 --with-compiledby=NAME name to show in :version message
1501 --with-plthome=PLTHOME Use PLTHOME.
1502 --with-python-config-dir=PATH Python's config directory
1503 --with-tclsh=PATH
which tclsh to use
(default
: tclsh8.0
)
1504 --with-x use the X Window System
1505 --with-gtk-prefix=PFX Prefix where GTK is installed
(optional
)
1506 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed
(optional
)
1507 --with-gnome-includes=DIR Specify location of GNOME headers
1508 --with-gnome-libs=DIR Specify location of GNOME libs
1509 --with-gnome Specify prefix
for GNOME files
1510 --with-motif-lib=STRING Library
for Motif
1511 --with-tlib=library terminal library to be used
1513 Some influential environment variables
:
1514 CC C compiler
command
1515 CFLAGS C compiler flags
1516 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1517 nonstandard directory
<lib dir
>
1518 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1519 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1520 you have headers
in a nonstandard directory
<include dir
>
1522 XMKMF Path to xmkmf
, Makefile generator
for X Window System
1524 Use these variables to override the choices made by
`configure' or to help
1525 it to find libraries and programs with nonstandard names/locations.
1531 if test "$ac_init_help" = "recursive"; then
1532 # If there are subdirs, report their specific --help.
1533 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1534 test -d "$ac_dir" ||
1535 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1540 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1542 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1543 # A ".." for each directory in $ac_dir_suffix.
1544 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1545 case $ac_top_builddir_sub in
1546 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1547 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1550 ac_abs_top_builddir=$ac_pwd
1551 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1552 # for backward compatibility:
1553 ac_top_builddir=$ac_top_build_prefix
1556 .) # We are building in place.
1558 ac_top_srcdir=$ac_top_builddir_sub
1559 ac_abs_top_srcdir=$ac_pwd ;;
1560 [\\/]* | ?:[\\/]* ) # Absolute name.
1561 ac_srcdir=$srcdir$ac_dir_suffix;
1562 ac_top_srcdir=$srcdir
1563 ac_abs_top_srcdir=$srcdir ;;
1565 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1566 ac_top_srcdir=$ac_top_build_prefix$srcdir
1567 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1569 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1571 cd "$ac_dir" || { ac_status=$?; continue; }
1572 # Check for guested configure.
1573 if test -f "$ac_srcdir/configure.gnu"; then
1575 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1576 elif test -f "$ac_srcdir/configure"; then
1578 $SHELL "$ac_srcdir/configure" --help=recursive
1580 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1582 cd "$ac_pwd" || { ac_status=$?; break; }
1586 test -n "$ac_init_help" && exit $ac_status
1587 if $ac_init_version; then
1590 generated by GNU Autoconf 2.62
1592 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1593 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1594 This configure script is free software; the Free Software Foundation
1595 gives unlimited permission to copy, distribute and modify it.
1599 cat >auto/config.log <<_ACEOF
1600 This file contains any messages produced by compilers while
1601 running configure, to aid debugging if configure makes a mistake.
1603 It was created by $as_me, which was
1604 generated by GNU Autoconf 2.62. Invocation command line was
1609 exec 5>>auto/config.log
1616 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1617 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1618 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1619 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1620 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1622 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1623 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1625 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1626 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1627 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1628 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1629 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1630 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1631 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1639 test -z "$as_dir" && as_dir=.
1640 $as_echo "PATH: $as_dir"
1656 # Keep a trace of the command line.
1657 # Strip out --no-create and --no-recursion so they do not pile up.
1658 # Strip out --silent because we don't want to record it for future runs.
1659 # Also quote any args containing shell meta-characters.
1660 # Make two passes to allow for proper duplicate-argument suppression.
1664 ac_must_keep_next=false
1670 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1671 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1672 | -silent | --silent | --silen | --sile | --sil)
1675 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1678 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1680 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1681 if test $ac_must_keep_next = true; then
1682 ac_must_keep_next=false # Got value, back to normal.
1685 *=* | --config-cache | -C | -disable-* | --disable-* \
1686 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1687 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1688 | -with-* | --with-* | -without-* | --without-* | --x)
1689 case "$ac_configure_args0 " in
1690 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1693 -* ) ac_must_keep_next=true ;;
1696 ac_configure_args="$ac_configure_args '$ac_arg'"
1701 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1702 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1704 # When interrupted or exit'd, cleanup temporary files, and complete
1705 # config.log. We remove comments because anyway the quotes in there
1706 # would cause problems or look ugly.
1707 # WARNING: Use '\'' to represent an apostrophe within the trap.
1708 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1709 trap 'exit_status=$?
1710 # Save into config.log some information that might help in debugging.
1715 ## ---------------- ##
1716 ## Cache variables. ##
1717 ## ---------------- ##
1720 # The following way of writing the cache mishandles newlines in values,
1722 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1723 eval ac_val=\$$ac_var
1727 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1728 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1731 _ | IFS | as_nl) ;; #(
1732 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1733 *) $as_unset $ac_var ;;
1738 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1739 *${as_nl}ac_space=\ *)
1741 "s/'\''/'\''\\\\'\'''\''/g;
1742 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1745 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1753 ## ----------------- ##
1754 ## Output variables. ##
1755 ## ----------------- ##
1758 for ac_var in $ac_subst_vars
1760 eval ac_val=\$$ac_var
1762 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1764 $as_echo "$ac_var='\''$ac_val'\''"
1768 if test -n "$ac_subst_files"; then
1770 ## ------------------- ##
1771 ## File substitutions. ##
1772 ## ------------------- ##
1775 for ac_var in $ac_subst_files
1777 eval ac_val=\$$ac_var
1779 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1781 $as_echo "$ac_var='\''$ac_val'\''"
1786 if test -s confdefs.h; then
1796 test "$ac_signal" != 0 &&
1797 $as_echo "$as_me: caught signal $ac_signal"
1798 $as_echo "$as_me: exit $exit_status"
1800 rm -f core *.core core.conftest.* &&
1801 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1804 for ac_signal in 1 2 13 15; do
1805 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1809 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1810 rm -f -r conftest* confdefs.h
1812 # Predefined preprocessor variables.
1814 cat >>confdefs.h <<_ACEOF
1815 #define PACKAGE_NAME "$PACKAGE_NAME"
1819 cat >>confdefs.h <<_ACEOF
1820 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1824 cat >>confdefs.h <<_ACEOF
1825 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1829 cat >>confdefs.h <<_ACEOF
1830 #define PACKAGE_STRING "$PACKAGE_STRING"
1834 cat >>confdefs.h <<_ACEOF
1835 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1839 # Let the site file select an alternate cache file if it wants to.
1840 # Prefer an explicitly selected file to automatically selected ones.
1843 if test -n "$CONFIG_SITE"; then
1844 ac_site_file1=$CONFIG_SITE
1845 elif test "x$prefix" != xNONE; then
1846 ac_site_file1=$prefix/share/config.site
1847 ac_site_file2=$prefix/etc/config.site
1849 ac_site_file1=$ac_default_prefix/share/config.site
1850 ac_site_file2=$ac_default_prefix/etc/config.site
1852 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1854 test "x$ac_site_file" = xNONE && continue
1855 if test -r "$ac_site_file"; then
1856 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1857 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1858 sed 's/^/| /' "$ac_site_file" >&5
1863 if test -r "$cache_file"; then
1864 # Some versions of bash will fail to source /dev/null (special
1865 # files actually), so we avoid doing that.
1866 if test -f "$cache_file"; then
1867 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
1868 $as_echo "$as_me: loading cache $cache_file" >&6;}
1870 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1871 *) . "./$cache_file";;
1875 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
1876 $as_echo "$as_me: creating cache $cache_file" >&6;}
1880 # Check that the precious variables saved in the cache have kept the same
1882 ac_cache_corrupted=false
1883 for ac_var in $ac_precious_vars; do
1884 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1885 eval ac_new_set=\$ac_env_${ac_var}_set
1886 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1887 eval ac_new_val=\$ac_env_${ac_var}_value
1888 case $ac_old_set,$ac_new_set in
1890 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1891 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1892 ac_cache_corrupted=: ;;
1894 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1895 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1896 ac_cache_corrupted=: ;;
1899 if test "x$ac_old_val" != "x$ac_new_val"; then
1900 # differences in whitespace do not lead to failure.
1901 ac_old_val_w=`echo x
$ac_old_val`
1902 ac_new_val_w=`echo x
$ac_new_val`
1903 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1904 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1905 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1906 ac_cache_corrupted=:
1908 { $as_echo "$as_me:$LINENO: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
1909 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1910 eval $ac_var=\$ac_old_val
1912 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1913 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
1914 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1915 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1918 # Pass precious variables to config.status.
1919 if test "$ac_new_set" = set; then
1921 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1922 *) ac_arg=$ac_var=$ac_new_val ;;
1924 case " $ac_configure_args " in
1925 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1926 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1930 if $ac_cache_corrupted; then
1931 { $as_echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1932 $as_echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1933 { { $as_echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1934 $as_echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1935 { (exit 1); exit 1; }; }
1955 ac_cpp='$CPP $CPPFLAGS'
1956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1961 ac_config_headers="$ac_config_headers auto/config.h:config.h.in"
1964 cat >>confdefs.h <<\_ACEOF
1968 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1969 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
1971 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1972 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1973 $as_echo_n "(cached) " >&6
1975 cat >conftest.make <<\_ACEOF
1978 @echo '@@@%%%=$(MAKE)=@@@%%%'
1980 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1981 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
1983 eval ac_cv_prog_make_${ac_make}_set=yes;;
1985 eval ac_cv_prog_make_${ac_make}_set=no;;
1989 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
1990 { $as_echo "$as_me:$LINENO: result: yes" >&5
1991 $as_echo "yes" >&6; }
1994 { $as_echo "$as_me:$LINENO: result: no" >&5
1995 $as_echo "no" >&6; }
1996 SET_MAKE="MAKE=${MAKE-make}"
2001 ac_cpp='$CPP $CPPFLAGS'
2002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2005 if test -n "$ac_tool_prefix"; then
2006 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2007 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2008 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2009 $as_echo_n "checking for $ac_word... " >&6; }
2010 if test "${ac_cv_prog_CC+set}" = set; then
2011 $as_echo_n "(cached) " >&6
2013 if test -n "$CC"; then
2014 ac_cv_prog_CC="$CC" # Let the user override the test.
2016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2020 test -z "$as_dir" && as_dir=.
2021 for ac_exec_ext in '' $ac_executable_extensions; do
2022 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2023 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2024 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2034 if test -n "$CC"; then
2035 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2036 $as_echo "$CC" >&6; }
2038 { $as_echo "$as_me:$LINENO: result: no" >&5
2039 $as_echo "no" >&6; }
2044 if test -z "$ac_cv_prog_CC"; then
2046 # Extract the first word of "gcc", so it can be a program name with args.
2047 set dummy gcc; ac_word=$2
2048 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2049 $as_echo_n "checking for $ac_word... " >&6; }
2050 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2051 $as_echo_n "(cached) " >&6
2053 if test -n "$ac_ct_CC"; then
2054 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2060 test -z "$as_dir" && as_dir=.
2061 for ac_exec_ext in '' $ac_executable_extensions; do
2062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2063 ac_cv_prog_ac_ct_CC="gcc"
2064 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2073 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2074 if test -n "$ac_ct_CC"; then
2075 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2076 $as_echo "$ac_ct_CC" >&6; }
2078 { $as_echo "$as_me:$LINENO: result: no" >&5
2079 $as_echo "no" >&6; }
2082 if test "x$ac_ct_CC" = x; then
2085 case $cross_compiling:$ac_tool_warned in
2087 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2088 whose name does not start with the host triplet. If you think this
2089 configuration is useful to you, please write to autoconf@gnu.org." >&5
2090 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2091 whose name does not start with the host triplet. If you think this
2092 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2093 ac_tool_warned=yes ;;
2101 if test -z "$CC"; then
2102 if test -n "$ac_tool_prefix"; then
2103 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2104 set dummy ${ac_tool_prefix}cc; ac_word=$2
2105 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 $as_echo_n "checking for $ac_word... " >&6; }
2107 if test "${ac_cv_prog_CC+set}" = set; then
2108 $as_echo_n "(cached) " >&6
2110 if test -n "$CC"; then
2111 ac_cv_prog_CC="$CC" # Let the user override the test.
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2120 ac_cv_prog_CC="${ac_tool_prefix}cc"
2121 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2131 if test -n "$CC"; then
2132 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2133 $as_echo "$CC" >&6; }
2135 { $as_echo "$as_me:$LINENO: result: no" >&5
2136 $as_echo "no" >&6; }
2142 if test -z "$CC"; then
2143 # Extract the first word of "cc", so it can be a program name with args.
2144 set dummy cc; ac_word=$2
2145 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2146 $as_echo_n "checking for $ac_word... " >&6; }
2147 if test "${ac_cv_prog_CC+set}" = set; then
2148 $as_echo_n "(cached) " >&6
2150 if test -n "$CC"; then
2151 ac_cv_prog_CC="$CC" # Let the user override the test.
2154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2158 test -z "$as_dir" && as_dir=.
2159 for ac_exec_ext in '' $ac_executable_extensions; do
2160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2161 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2162 ac_prog_rejected=yes
2166 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2173 if test $ac_prog_rejected = yes; then
2174 # We found a bogon in the path, so make sure we never use it.
2175 set dummy $ac_cv_prog_CC
2177 if test $# != 0; then
2178 # We chose a different compiler from the bogus one.
2179 # However, it has the same basename, so the bogon will be chosen
2180 # first if we set CC to just the basename; use the full file name.
2182 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2188 if test -n "$CC"; then
2189 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2190 $as_echo "$CC" >&6; }
2192 { $as_echo "$as_me:$LINENO: result: no" >&5
2193 $as_echo "no" >&6; }
2198 if test -z "$CC"; then
2199 if test -n "$ac_tool_prefix"; then
2200 for ac_prog in cl.exe
2202 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2203 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2204 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2205 $as_echo_n "checking for $ac_word... " >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then
2207 $as_echo_n "(cached) " >&6
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir=.
2217 for ac_exec_ext in '' $ac_executable_extensions; do
2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2220 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2230 if test -n "$CC"; then
2231 { $as_echo "$as_me:$LINENO: result: $CC" >&5
2232 $as_echo "$CC" >&6; }
2234 { $as_echo "$as_me:$LINENO: result: no" >&5
2235 $as_echo "no" >&6; }
2239 test -n "$CC" && break
2242 if test -z "$CC"; then
2244 for ac_prog in cl.exe
2246 # Extract the first word of "$ac_prog", so it can be a program name with args.
2247 set dummy $ac_prog; ac_word=$2
2248 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2249 $as_echo_n "checking for $ac_word... " >&6; }
2250 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2251 $as_echo_n "(cached) " >&6
2253 if test -n "$ac_ct_CC"; then
2254 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2260 test -z "$as_dir" && as_dir=.
2261 for ac_exec_ext in '' $ac_executable_extensions; do
2262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2263 ac_cv_prog_ac_ct_CC="$ac_prog"
2264 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2273 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2274 if test -n "$ac_ct_CC"; then
2275 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2276 $as_echo "$ac_ct_CC" >&6; }
2278 { $as_echo "$as_me:$LINENO: result: no" >&5
2279 $as_echo "no" >&6; }
2283 test -n "$ac_ct_CC" && break
2286 if test "x$ac_ct_CC" = x; then
2289 case $cross_compiling:$ac_tool_warned in
2291 { $as_echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2292 whose name does not start with the host triplet. If you think this
2293 configuration is useful to you, please write to autoconf@gnu.org." >&5
2294 $as_echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2295 whose name does not start with the host triplet. If you think this
2296 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2297 ac_tool_warned=yes ;;
2306 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2307 See \`config.log
' for more details." >&5
2308 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
2309 See \`config.log' for more details.
" >&2;}
2310 { (exit 1); exit 1; }; }
2312 # Provide some information about the compiler.
2313 $as_echo "$as_me:$LINENO: checking
for C compiler version
" >&5
2316 { (ac_try="$ac_compiler --version >&5"
2318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2319 *) ac_try_echo=$ac_try;;
2321 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2322 $as_echo "$ac_try_echo") >&5
2323 (eval "$ac_compiler --version >&5") 2>&5
2325 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2326 (exit $ac_status); }
2327 { (ac_try="$ac_compiler -v >&5"
2329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2330 *) ac_try_echo=$ac_try;;
2332 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2333 $as_echo "$ac_try_echo") >&5
2334 (eval "$ac_compiler -v >&5") 2>&5
2336 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2337 (exit $ac_status); }
2338 { (ac_try="$ac_compiler -V >&5"
2340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2341 *) ac_try_echo=$ac_try;;
2343 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2344 $as_echo "$ac_try_echo") >&5
2345 (eval "$ac_compiler -V >&5") 2>&5
2347 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2348 (exit $ac_status); }
2350 cat >conftest.$ac_ext <<_ACEOF
2353 cat confdefs.h >>conftest.$ac_ext
2354 cat >>conftest.$ac_ext <<_ACEOF
2355 /* end confdefs.h. */
2365 ac_clean_files_save=$ac_clean_files
2366 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out
"
2367 # Try to create an executable without -o first, disregard a.out.
2368 # It will help us diagnose broken compilers, and finding out an intuition
2370 { $as_echo "$as_me:$LINENO: checking
for C compiler default output
file name
" >&5
2371 $as_echo_n "checking
for C compiler default output
file name...
" >&6; }
2372 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2374 # The possible output files:
2375 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.
*"
2378 for ac_file in $ac_files
2381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2382 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2387 if { (ac_try="$ac_link_default"
2389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2390 *) ac_try_echo=$ac_try;;
2392 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2393 $as_echo "$ac_try_echo") >&5
2394 (eval "$ac_link_default") 2>&5
2396 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2397 (exit $ac_status); }; then
2398 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2399 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2400 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2401 # so that the user can short-circuit this test for compilers unknown to
2403 for ac_file in $ac_files ''
2405 test -f "$ac_file" || continue
2407 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2410 # We found the default executable, but exeext='' is most
2414 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2416 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2418 # We set ac_cv_exeext here because the later test for it is not
2419 # safe: cross compilers may not add the suffix if given an `-o'
2420 # argument, so we may need to know it at that point already.
2421 # Even if this section looks crufty: it has the advantage of
2428 test "$ac_cv_exeext" = no && ac_cv_exeext=
2434 { $as_echo "$as_me:$LINENO: result
: $ac_file" >&5
2435 $as_echo "$ac_file" >&6; }
2436 if test -z "$ac_file"; then
2437 $as_echo "$as_me: failed program was
:" >&5
2438 sed 's/^/| /' conftest.$ac_ext >&5
2440 { { $as_echo "$as_me:$LINENO: error
: C compiler cannot create executables
2441 See \
`config.log' for more details." >&5
2442 $as_echo "$as_me: error: C compiler cannot create executables
2443 See \`config.log
' for more details." >&2;}
2444 { (exit 77); exit 77; }; }
2447 ac_exeext=$ac_cv_exeext
2449 # Check that the compiler produces executables we can run. If not, either
2450 # the compiler is broken, or we cross compile.
2451 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2452 $as_echo_n "checking whether the C compiler works... " >&6; }
2453 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2454 # If not cross compiling, check that we can run a simple program.
2455 if test "$cross_compiling" != yes; then
2456 if { ac_try='.
/$ac_file'
2457 { (case "(($ac_try" in
2458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2459 *) ac_try_echo=$ac_try;;
2461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2462 $as_echo "$ac_try_echo") >&5
2463 (eval "$ac_try") 2>&5
2465 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2466 (exit $ac_status); }; }; then
2469 if test "$cross_compiling" = maybe; then
2472 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
2473 If you meant to cross compile, use \`--host'.
2474 See \
`config.log' for more details." >&5
2475 $as_echo "$as_me: error: cannot run C compiled programs.
2476 If you meant to cross compile, use \`--host'.
2477 See \`config.log' for more details.
" >&2;}
2478 { (exit 1); exit 1; }; }
2482 { $as_echo "$as_me:$LINENO: result
: yes" >&5
2483 $as_echo "yes" >&6; }
2485 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2486 ac_clean_files=$ac_clean_files_save
2487 # Check that the compiler produces executables we can run. If not, either
2488 # the compiler is broken, or we cross compile.
2489 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling
" >&5
2490 $as_echo_n "checking whether we are cross compiling...
" >&6; }
2491 { $as_echo "$as_me:$LINENO: result
: $cross_compiling" >&5
2492 $as_echo "$cross_compiling" >&6; }
2494 { $as_echo "$as_me:$LINENO: checking
for suffix of executables
" >&5
2495 $as_echo_n "checking
for suffix of executables...
" >&6; }
2496 if { (ac_try="$ac_link"
2498 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2499 *) ac_try_echo=$ac_try;;
2501 eval ac_try_echo="\"\
$as_me:$LINENO: $ac_try_echo\""
2502 $as_echo "$ac_try_echo") >&5
2503 (eval "$ac_link") 2>&5
2505 $as_echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2506 (exit $ac_status); }; then
2507 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2508 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2509 # work properly (i.e., refer to `conftest.exe'), while it won't with
2511 for ac_file in conftest.exe conftest conftest.*; do
2512 test -f "$ac_file" || continue
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2515 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2521 { { $as_echo "$as_me:$LINENO: error
: cannot compute suffix of executables
: cannot compile and link
2522 See \
`config.log' for more details." >&5
2523 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2524 See \`config.log
' for more details." >&2;}
2525 { (exit 1); exit 1; }; }
2528 rm -f conftest$ac_cv_exeext
2529 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2530 $as_echo "$ac_cv_exeext" >&6; }
2532 rm -f conftest.$ac_ext
2533 EXEEXT=$ac_cv_exeext
2535 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
2536 $as_echo_n "checking for suffix of object files... " >&6; }
2537 if test "${ac_cv_objext+set}" = set; then
2538 $as_echo_n "(cached) " >&6
2540 cat >conftest.$ac_ext <<_ACEOF
2543 cat confdefs.h >>conftest.$ac_ext
2544 cat >>conftest.$ac_ext <<_ACEOF
2545 /* end confdefs.h. */
2555 rm -f conftest.o conftest.obj
2556 if { (ac_try="$ac_compile"
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2562 $as_echo "$ac_try_echo") >&5
2563 (eval "$ac_compile") 2>&5
2565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2566 (exit $ac_status); }; then
2567 for ac_file in conftest.o conftest.obj conftest.*; do
2568 test -f "$ac_file" || continue;
2570 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2571 *) ac_cv_objext=`expr "$ac_file" : '.
*\.\
(.
*\
)'`
2576 $as_echo "$as_me: failed program was:" >&5
2577 sed 's
/^
/|
/' conftest.$ac_ext >&5
2579 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2580 See \`config.log' for more details.
" >&5
2581 $as_echo "$as_me: error
: cannot compute suffix of object files
: cannot compile
2582 See \
`config.log' for more details." >&2;}
2583 { (exit 1); exit 1; }; }
2586 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2588 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2589 $as_echo "$ac_cv_objext" >&6; }
2590 OBJEXT=$ac_cv_objext
2592 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2593 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2594 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2595 $as_echo_n "(cached) " >&6
2597 cat >conftest.$ac_ext <<_ACEOF
2600 cat confdefs.h >>conftest.$ac_ext
2601 cat >>conftest.$ac_ext <<_ACEOF
2602 /* end confdefs.h. */
2615 rm -f conftest.$ac_objext
2616 if { (ac_try="$ac_compile"
2618 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2619 *) ac_try_echo
=$ac_try;;
2621 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2622 $as_echo "$ac_try_echo") >&5
2623 (eval "$ac_compile") 2>conftest.er1
2625 grep -v '^ *+' conftest.er1
>conftest.err
2627 cat conftest.err
>&5
2628 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2629 (exit $ac_status); } && {
2630 test -z "$ac_c_werror_flag" ||
2631 test ! -s conftest.err
2632 } && test -s conftest.
$ac_objext; then
2635 $as_echo "$as_me: failed program was:" >&5
2636 sed 's/^/| /' conftest.
$ac_ext >&5
2641 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2642 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
2645 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2646 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2647 if test $ac_compiler_gnu = yes; then
2652 ac_test_CFLAGS
=${CFLAGS+set}
2653 ac_save_CFLAGS
=$CFLAGS
2654 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2655 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2656 if test "${ac_cv_prog_cc_g+set}" = set; then
2657 $as_echo_n "(cached) " >&6
2659 ac_save_c_werror_flag
=$ac_c_werror_flag
2660 ac_c_werror_flag
=yes
2663 cat >conftest.
$ac_ext <<_ACEOF
2666 cat confdefs.h
>>conftest.
$ac_ext
2667 cat >>conftest.
$ac_ext <<_ACEOF
2668 /* end confdefs.h. */
2678 rm -f conftest.
$ac_objext
2679 if { (ac_try
="$ac_compile"
2681 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2682 *) ac_try_echo=$ac_try;;
2684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2685 $as_echo "$ac_try_echo") >&5
2686 (eval "$ac_compile") 2>conftest.er1
2688 grep -v '^ *+' conftest.er1 >conftest.err
2690 cat conftest.err >&5
2691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } && {
2693 test -z "$ac_c_werror_flag" ||
2694 test ! -s conftest.err
2695 } && test -s conftest.$ac_objext; then
2698 $as_echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2702 cat >conftest.$ac_ext <<_ACEOF
2705 cat confdefs.h >>conftest.$ac_ext
2706 cat >>conftest.$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2717 rm -f conftest.$ac_objext
2718 if { (ac_try="$ac_compile"
2720 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2721 *) ac_try_echo
=$ac_try;;
2723 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2724 $as_echo "$ac_try_echo") >&5
2725 (eval "$ac_compile") 2>conftest.er1
2727 grep -v '^ *+' conftest.er1
>conftest.err
2729 cat conftest.err
>&5
2730 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2731 (exit $ac_status); } && {
2732 test -z "$ac_c_werror_flag" ||
2733 test ! -s conftest.err
2734 } && test -s conftest.
$ac_objext; then
2737 $as_echo "$as_me: failed program was:" >&5
2738 sed 's/^/| /' conftest.
$ac_ext >&5
2740 ac_c_werror_flag
=$ac_save_c_werror_flag
2742 cat >conftest.
$ac_ext <<_ACEOF
2745 cat confdefs.h
>>conftest.
$ac_ext
2746 cat >>conftest.
$ac_ext <<_ACEOF
2747 /* end confdefs.h. */
2757 rm -f conftest.
$ac_objext
2758 if { (ac_try
="$ac_compile"
2760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2764 $as_echo "$ac_try_echo") >&5
2765 (eval "$ac_compile") 2>conftest.er1
2767 grep -v '^ *+' conftest.er1 >conftest.err
2769 cat conftest.err >&5
2770 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2771 (exit $ac_status); } && {
2772 test -z "$ac_c_werror_flag" ||
2773 test ! -s conftest.err
2774 } && test -s conftest.$ac_objext; then
2777 $as_echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2790 ac_c_werror_flag=$ac_save_c_werror_flag
2792 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2793 $as_echo "$ac_cv_prog_cc_g" >&6; }
2794 if test "$ac_test_CFLAGS" = set; then
2795 CFLAGS=$ac_save_CFLAGS
2796 elif test $ac_cv_prog_cc_g = yes; then
2797 if test "$GCC" = yes; then
2803 if test "$GCC" = yes; then
2809 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2810 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2811 if test "${ac_cv_prog_cc_c89+set}" = set; then
2812 $as_echo_n "(cached) " >&6
2814 ac_cv_prog_cc_c89=no
2816 cat >conftest.$ac_ext <<_ACEOF
2819 cat confdefs.h >>conftest.$ac_ext
2820 cat >>conftest.$ac_ext <<_ACEOF
2821 /* end confdefs.h. */
2824 #include <sys/types.h>
2825 #include <sys/stat.h>
2826 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2827 struct buf { int x; };
2828 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2829 static char *e (p, i)
2835 static char *f (char * (*g) (char **, int), char **p, ...)
2840 s = g (p, va_arg (v,int));
2845 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2846 function prototypes and stuff, but not '\xHH' hex character constants.
2847 These don't provoke an error unfortunately, instead are silently treated
2848 as 'x'. The following induces an error, until -std is added to get
2849 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2850 array size at least. It's necessary to write '\x00'==0 to get something
2851 that's true only with -std. */
2852 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2854 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2855 inside strings and character constants. */
2857 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2859 int test (int i, double x);
2860 struct s1 {int (*f) (int a);};
2861 struct s2 {int (*f) (double a);};
2862 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2868 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2873 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2874 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2876 CC="$ac_save_CC $ac_arg"
2877 rm -f conftest.$ac_objext
2878 if { (ac_try="$ac_compile"
2880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2881 *) ac_try_echo
=$ac_try;;
2883 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
2884 $as_echo "$ac_try_echo") >&5
2885 (eval "$ac_compile") 2>conftest.er1
2887 grep -v '^ *+' conftest.er1
>conftest.err
2889 cat conftest.err
>&5
2890 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2891 (exit $ac_status); } && {
2892 test -z "$ac_c_werror_flag" ||
2893 test ! -s conftest.err
2894 } && test -s conftest.
$ac_objext; then
2895 ac_cv_prog_cc_c89
=$ac_arg
2897 $as_echo "$as_me: failed program was:" >&5
2898 sed 's/^/| /' conftest.
$ac_ext >&5
2903 rm -f core conftest.err conftest.
$ac_objext
2904 test "x$ac_cv_prog_cc_c89" != "xno" && break
2906 rm -f conftest.
$ac_ext
2911 case "x$ac_cv_prog_cc_c89" in
2913 { $as_echo "$as_me:$LINENO: result: none needed" >&5
2914 $as_echo "none needed" >&6; } ;;
2916 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
2917 $as_echo "unsupported" >&6; } ;;
2919 CC
="$CC $ac_cv_prog_cc_c89"
2920 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2921 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2926 ac_cpp
='$CPP $CPPFLAGS'
2927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2931 ac_cpp
='$CPP $CPPFLAGS'
2932 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2933 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2934 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2935 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2936 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2937 # On Suns, sometimes $CPP names a directory.
2938 if test -n "$CPP" && test -d "$CPP"; then
2941 if test -z "$CPP"; then
2942 if test "${ac_cv_prog_CPP+set}" = set; then
2943 $as_echo_n "(cached) " >&6
2945 # Double quotes because CPP needs to be expanded
2946 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2949 for ac_c_preproc_warn_flag
in '' yes
2951 # Use a header file that comes with gcc, so configuring glibc
2952 # with a fresh cross-compiler works.
2953 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2954 # <limits.h> exists even on freestanding compilers.
2955 # On the NeXT, cc -E runs the code through the compiler's parser,
2956 # not just through cpp. "Syntax error" is here to catch this case.
2957 cat >conftest.
$ac_ext <<_ACEOF
2960 cat confdefs.h
>>conftest.
$ac_ext
2961 cat >>conftest.
$ac_ext <<_ACEOF
2962 /* end confdefs.h. */
2964 # include <limits.h>
2966 # include <assert.h>
2970 if { (ac_try
="$ac_cpp conftest.$ac_ext"
2972 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2973 *) ac_try_echo=$ac_try;;
2975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
2976 $as_echo "$ac_try_echo") >&5
2977 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2979 grep -v '^ *+' conftest.er1 >conftest.err
2981 cat conftest.err >&5
2982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); } >/dev/null && {
2984 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2985 test ! -s conftest.err
2989 $as_echo "$as_me: failed program was:" >&5
2990 sed 's/^/| /' conftest.$ac_ext >&5
2992 # Broken: fails on valid input.
2996 rm -f conftest.err conftest.$ac_ext
2998 # OK, works on sane cases. Now check whether nonexistent headers
2999 # can be detected and how.
3000 cat >conftest.$ac_ext <<_ACEOF
3003 cat confdefs.h >>conftest.$ac_ext
3004 cat >>conftest.$ac_ext <<_ACEOF
3005 /* end confdefs.h. */
3006 #include <ac_nonexistent.h>
3008 if { (ac_try="$ac_cpp conftest.$ac_ext"
3010 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3011 *) ac_try_echo
=$ac_try;;
3013 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3014 $as_echo "$ac_try_echo") >&5
3015 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3017 grep -v '^ *+' conftest.er1
>conftest.err
3019 cat conftest.err
>&5
3020 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3021 (exit $ac_status); } >/dev
/null
&& {
3022 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3023 test ! -s conftest.err
3025 # Broken: success on invalid input.
3028 $as_echo "$as_me: failed program was:" >&5
3029 sed 's/^/| /' conftest.
$ac_ext >&5
3031 # Passes both tests.
3036 rm -f conftest.err conftest.
$ac_ext
3039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3040 rm -f conftest.err conftest.
$ac_ext
3041 if $ac_preproc_ok; then
3053 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
3054 $as_echo "$CPP" >&6; }
3056 for ac_c_preproc_warn_flag
in '' yes
3058 # Use a header file that comes with gcc, so configuring glibc
3059 # with a fresh cross-compiler works.
3060 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3061 # <limits.h> exists even on freestanding compilers.
3062 # On the NeXT, cc -E runs the code through the compiler's parser,
3063 # not just through cpp. "Syntax error" is here to catch this case.
3064 cat >conftest.
$ac_ext <<_ACEOF
3067 cat confdefs.h
>>conftest.
$ac_ext
3068 cat >>conftest.
$ac_ext <<_ACEOF
3069 /* end confdefs.h. */
3071 # include <limits.h>
3073 # include <assert.h>
3077 if { (ac_try
="$ac_cpp conftest.$ac_ext"
3079 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3080 *) ac_try_echo=$ac_try;;
3082 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3083 $as_echo "$ac_try_echo") >&5
3084 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3086 grep -v '^ *+' conftest.er1 >conftest.err
3088 cat conftest.err >&5
3089 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3090 (exit $ac_status); } >/dev/null && {
3091 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3092 test ! -s conftest.err
3096 $as_echo "$as_me: failed program was:" >&5
3097 sed 's/^/| /' conftest.$ac_ext >&5
3099 # Broken: fails on valid input.
3103 rm -f conftest.err conftest.$ac_ext
3105 # OK, works on sane cases. Now check whether nonexistent headers
3106 # can be detected and how.
3107 cat >conftest.$ac_ext <<_ACEOF
3110 cat confdefs.h >>conftest.$ac_ext
3111 cat >>conftest.$ac_ext <<_ACEOF
3112 /* end confdefs.h. */
3113 #include <ac_nonexistent.h>
3115 if { (ac_try="$ac_cpp conftest.$ac_ext"
3117 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3118 *) ac_try_echo
=$ac_try;;
3120 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3121 $as_echo "$ac_try_echo") >&5
3122 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3124 grep -v '^ *+' conftest.er1
>conftest.err
3126 cat conftest.err
>&5
3127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); } >/dev
/null
&& {
3129 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3130 test ! -s conftest.err
3132 # Broken: success on invalid input.
3135 $as_echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.
$ac_ext >&5
3138 # Passes both tests.
3143 rm -f conftest.err conftest.
$ac_ext
3146 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3147 rm -f conftest.err conftest.
$ac_ext
3148 if $ac_preproc_ok; then
3151 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3152 See \`config.log' for more details." >&5
3153 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3154 See \`config.log' for more details." >&2;}
3155 { (exit 1); exit 1; }; }
3159 ac_cpp
='$CPP $CPPFLAGS'
3160 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3161 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3162 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3165 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
3166 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3167 if test "${ac_cv_path_GREP+set}" = set; then
3168 $as_echo_n "(cached) " >&6
3170 if test -z "$GREP"; then
3171 ac_path_GREP_found
=false
3172 # Loop through the user's path and test for each of PROGNAME-LIST
3173 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3174 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3177 test -z "$as_dir" && as_dir
=.
3178 for ac_prog
in grep ggrep
; do
3179 for ac_exec_ext
in '' $ac_executable_extensions; do
3180 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3181 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3182 # Check for GNU ac_path_GREP and select it if it is found.
3183 # Check for GNU $ac_path_GREP
3184 case `"$ac_path_GREP" --version 2>&1` in
3186 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3189 $as_echo_n 0123456789 >"conftest.in"
3192 cat "conftest.in" "conftest.in" >"conftest.tmp"
3193 mv "conftest.tmp" "conftest.in"
3194 cp "conftest.in" "conftest.nl"
3195 $as_echo 'GREP' >> "conftest.nl"
3196 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3197 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3198 ac_count
=`expr $ac_count + 1`
3199 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3200 # Best one so far, save it but keep looking for a better one
3201 ac_cv_path_GREP
="$ac_path_GREP"
3202 ac_path_GREP_max
=$ac_count
3204 # 10*(2^10) chars as input seems more than enough
3205 test $ac_count -gt 10 && break
3207 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3210 $ac_path_GREP_found && break 3
3215 if test -z "$ac_cv_path_GREP"; then
3216 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3217 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3218 { (exit 1); exit 1; }; }
3221 ac_cv_path_GREP
=$GREP
3225 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
3226 $as_echo "$ac_cv_path_GREP" >&6; }
3227 GREP
="$ac_cv_path_GREP"
3230 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
3231 $as_echo_n "checking for egrep... " >&6; }
3232 if test "${ac_cv_path_EGREP+set}" = set; then
3233 $as_echo_n "(cached) " >&6
3235 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3236 then ac_cv_path_EGREP
="$GREP -E"
3238 if test -z "$EGREP"; then
3239 ac_path_EGREP_found
=false
3240 # Loop through the user's path and test for each of PROGNAME-LIST
3241 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3242 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3245 test -z "$as_dir" && as_dir
=.
3246 for ac_prog
in egrep; do
3247 for ac_exec_ext
in '' $ac_executable_extensions; do
3248 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3249 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3250 # Check for GNU ac_path_EGREP and select it if it is found.
3251 # Check for GNU $ac_path_EGREP
3252 case `"$ac_path_EGREP" --version 2>&1` in
3254 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3257 $as_echo_n 0123456789 >"conftest.in"
3260 cat "conftest.in" "conftest.in" >"conftest.tmp"
3261 mv "conftest.tmp" "conftest.in"
3262 cp "conftest.in" "conftest.nl"
3263 $as_echo 'EGREP' >> "conftest.nl"
3264 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3265 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3266 ac_count
=`expr $ac_count + 1`
3267 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3268 # Best one so far, save it but keep looking for a better one
3269 ac_cv_path_EGREP
="$ac_path_EGREP"
3270 ac_path_EGREP_max
=$ac_count
3272 # 10*(2^10) chars as input seems more than enough
3273 test $ac_count -gt 10 && break
3275 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3278 $ac_path_EGREP_found && break 3
3283 if test -z "$ac_cv_path_EGREP"; then
3284 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
3285 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
3286 { (exit 1); exit 1; }; }
3289 ac_cv_path_EGREP
=$EGREP
3294 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
3295 $as_echo "$ac_cv_path_EGREP" >&6; }
3296 EGREP
="$ac_cv_path_EGREP"
3299 cat >conftest.
$ac_ext <<_ACEOF
3302 cat confdefs.h
>>conftest.
$ac_ext
3303 cat >>conftest.
$ac_ext <<_ACEOF
3304 /* end confdefs.h. */
3308 { $as_echo "$as_me:$LINENO: checking for library containing strerror" >&5
3309 $as_echo_n "checking for library containing strerror... " >&6; }
3310 if test "${ac_cv_search_strerror+set}" = set; then
3311 $as_echo_n "(cached) " >&6
3313 ac_func_search_save_LIBS
=$LIBS
3314 cat >conftest.
$ac_ext <<_ACEOF
3317 cat confdefs.h
>>conftest.
$ac_ext
3318 cat >>conftest.
$ac_ext <<_ACEOF
3319 /* end confdefs.h. */
3321 /* Override any GCC internal prototype to avoid an error.
3322 Use char because int might match the return type of a GCC
3323 builtin and then its argument prototype would still apply. */
3336 for ac_lib
in '' cposix
; do
3337 if test -z "$ac_lib"; then
3338 ac_res
="none required"
3341 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3343 rm -f conftest.
$ac_objext conftest
$ac_exeext
3344 if { (ac_try
="$ac_link"
3346 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3347 *) ac_try_echo=$ac_try;;
3349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3350 $as_echo "$ac_try_echo") >&5
3351 (eval "$ac_link") 2>conftest.er1
3353 grep -v '^ *+' conftest.er1 >conftest.err
3355 cat conftest.err >&5
3356 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3357 (exit $ac_status); } && {
3358 test -z "$ac_c_werror_flag" ||
3359 test ! -s conftest.err
3360 } && test -s conftest$ac_exeext && {
3361 test "$cross_compiling" = yes ||
3362 $as_test_x conftest$ac_exeext
3364 ac_cv_search_strerror=$ac_res
3366 $as_echo "$as_me: failed program was:" >&5
3367 sed 's/^/| /' conftest.$ac_ext >&5
3372 rm -rf conftest.dSYM
3373 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3375 if test "${ac_cv_search_strerror+set}" = set; then
3379 if test "${ac_cv_search_strerror+set}" = set; then
3382 ac_cv_search_strerror=no
3385 LIBS=$ac_func_search_save_LIBS
3387 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_strerror" >&5
3388 $as_echo "$ac_cv_search_strerror" >&6; }
3389 ac_res=$ac_cv_search_strerror
3390 if test "$ac_res" != no; then
3391 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3394 for ac_prog in gawk mawk nawk awk
3396 # Extract the first word of "$ac_prog", so it can be a program name with args.
3397 set dummy $ac_prog; ac_word=$2
3398 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3399 $as_echo_n "checking for $ac_word... " >&6; }
3400 if test "${ac_cv_prog_AWK+set}" = set; then
3401 $as_echo_n "(cached) " >&6
3403 if test -n "$AWK"; then
3404 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3410 test -z "$as_dir" && as_dir=.
3411 for ac_exec_ext in '' $ac_executable_extensions; do
3412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3413 ac_cv_prog_AWK="$ac_prog"
3414 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3424 if test -n "$AWK"; then
3425 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
3426 $as_echo "$AWK" >&6; }
3428 { $as_echo "$as_me:$LINENO: result: no" >&5
3429 $as_echo "no" >&6; }
3433 test -n "$AWK" && break
3436 # Extract the first word of "strip", so it can be a program name with args.
3437 set dummy strip; ac_word=$2
3438 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3439 $as_echo_n "checking for $ac_word... " >&6; }
3440 if test "${ac_cv_prog_STRIP+set}" = set; then
3441 $as_echo_n "(cached) " >&6
3443 if test -n "$STRIP"; then
3444 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3450 test -z "$as_dir" && as_dir=.
3451 for ac_exec_ext in '' $ac_executable_extensions; do
3452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3453 ac_cv_prog_STRIP="strip"
3454 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3461 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP=":"
3464 STRIP=$ac_cv_prog_STRIP
3465 if test -n "$STRIP"; then
3466 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
3467 $as_echo "$STRIP" >&6; }
3469 { $as_echo "$as_me:$LINENO: result: no" >&5
3470 $as_echo "no" >&6; }
3477 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3478 $as_echo_n "checking for ANSI C header files... " >&6; }
3479 if test "${ac_cv_header_stdc+set}" = set; then
3480 $as_echo_n "(cached) " >&6
3482 cat >conftest.$ac_ext <<_ACEOF
3485 cat confdefs.h >>conftest.$ac_ext
3486 cat >>conftest.$ac_ext <<_ACEOF
3487 /* end confdefs.h. */
3501 rm -f conftest.$ac_objext
3502 if { (ac_try="$ac_compile"
3504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3505 *) ac_try_echo
=$ac_try;;
3507 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3508 $as_echo "$ac_try_echo") >&5
3509 (eval "$ac_compile") 2>conftest.er1
3511 grep -v '^ *+' conftest.er1
>conftest.err
3513 cat conftest.err
>&5
3514 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3515 (exit $ac_status); } && {
3516 test -z "$ac_c_werror_flag" ||
3517 test ! -s conftest.err
3518 } && test -s conftest.
$ac_objext; then
3519 ac_cv_header_stdc
=yes
3521 $as_echo "$as_me: failed program was:" >&5
3522 sed 's/^/| /' conftest.
$ac_ext >&5
3524 ac_cv_header_stdc
=no
3527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3529 if test $ac_cv_header_stdc = yes; then
3530 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3531 cat >conftest.
$ac_ext <<_ACEOF
3534 cat confdefs.h
>>conftest.
$ac_ext
3535 cat >>conftest.
$ac_ext <<_ACEOF
3536 /* end confdefs.h. */
3540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3541 $EGREP "memchr" >/dev
/null
2>&1; then
3544 ac_cv_header_stdc
=no
3550 if test $ac_cv_header_stdc = yes; then
3551 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3552 cat >conftest.
$ac_ext <<_ACEOF
3555 cat confdefs.h
>>conftest.
$ac_ext
3556 cat >>conftest.
$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3561 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3562 $EGREP "free" >/dev
/null
2>&1; then
3565 ac_cv_header_stdc
=no
3571 if test $ac_cv_header_stdc = yes; then
3572 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3573 if test "$cross_compiling" = yes; then
3576 cat >conftest.
$ac_ext <<_ACEOF
3579 cat confdefs.h
>>conftest.
$ac_ext
3580 cat >>conftest.
$ac_ext <<_ACEOF
3581 /* end confdefs.h. */
3584 #if ((' ' & 0x0FF) == 0x020)
3585 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3586 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3588 # define ISLOWER(c) \
3589 (('a' <= (c) && (c) <= 'i') \
3590 || ('j' <= (c) && (c) <= 'r') \
3591 || ('s' <= (c) && (c) <= 'z'))
3592 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3595 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3600 for (i = 0; i < 256; i++)
3601 if (XOR (islower (i), ISLOWER (i))
3602 || toupper (i) != TOUPPER (i))
3607 rm -f conftest
$ac_exeext
3608 if { (ac_try
="$ac_link"
3610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3611 *) ac_try_echo=$ac_try;;
3613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3614 $as_echo "$ac_try_echo") >&5
3615 (eval "$ac_link") 2>&5
3617 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3618 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3619 { (case "(($ac_try" in
3620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3621 *) ac_try_echo
=$ac_try;;
3623 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3624 $as_echo "$ac_try_echo") >&5
3625 (eval "$ac_try") 2>&5
3627 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3628 (exit $ac_status); }; }; then
3631 $as_echo "$as_me: program exited with status $ac_status" >&5
3632 $as_echo "$as_me: failed program was:" >&5
3633 sed 's/^/| /' conftest.
$ac_ext >&5
3636 ac_cv_header_stdc
=no
3638 rm -rf conftest.dSYM
3639 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
3645 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3646 $as_echo "$ac_cv_header_stdc" >&6; }
3647 if test $ac_cv_header_stdc = yes; then
3649 cat >>confdefs.h
<<\_ACEOF
3650 #define STDC_HEADERS 1
3655 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
3656 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
3657 if test "${ac_cv_header_sys_wait_h+set}" = set; then
3658 $as_echo_n "(cached) " >&6
3660 cat >conftest.
$ac_ext <<_ACEOF
3663 cat confdefs.h
>>conftest.
$ac_ext
3664 cat >>conftest.
$ac_ext <<_ACEOF
3665 /* end confdefs.h. */
3666 #include <sys/types.h>
3667 #include <sys/wait.h>
3669 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3672 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3680 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3685 rm -f conftest.
$ac_objext
3686 if { (ac_try
="$ac_compile"
3688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3689 *) ac_try_echo=$ac_try;;
3691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3692 $as_echo "$ac_try_echo") >&5
3693 (eval "$ac_compile") 2>conftest.er1
3695 grep -v '^ *+' conftest.er1 >conftest.err
3697 cat conftest.err >&5
3698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3699 (exit $ac_status); } && {
3700 test -z "$ac_c_werror_flag" ||
3701 test ! -s conftest.err
3702 } && test -s conftest.$ac_objext; then
3703 ac_cv_header_sys_wait_h=yes
3705 $as_echo "$as_me: failed program was:" >&5
3706 sed 's/^/| /' conftest.$ac_ext >&5
3708 ac_cv_header_sys_wait_h=no
3711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3713 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
3714 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
3715 if test $ac_cv_header_sys_wait_h = yes; then
3717 cat >>confdefs.h <<\_ACEOF
3718 #define HAVE_SYS_WAIT_H 1
3724 if test -z "$CFLAGS"; then
3726 test "$GCC" = yes && CFLAGS="-O2 -fno-strength-reduce -Wall"
3728 if test "$GCC" = yes; then
3729 gccversion=`"$CC" -dumpversion`
3730 if test "x$gccversion" = "x"; then
3731 gccversion=`"$CC" --version |
sed -e '2,$d' -e 's/darwin.//' -e 's/^[^0-9]*\([0-9]\.[0-9.]*\).*$/\1/g'`
3733 if test "$gccversion" = "3.0.1" -o "$gccversion" = "3.0.2" -o "$gccversion" = "4.0.1"; then
3734 echo 'GCC [34].0.[12] has a bug in the optimizer, disabling "-O#"'
3735 CFLAGS=`echo "$CFLAGS" |
sed 's/-O[23456789]/-O/'`
3737 if test "$gccversion" = "3.1" -o "$gccversion" = "3.2" -o "$gccversion" = "3.2.1" && `echo "$CFLAGS" |
grep -v fno-strength-reduce
>/dev
/null
`; then
3738 echo 'GCC 3.1 and 3.2 have a bug in the optimizer, adding "-fno-strength-reduce"'
3739 CFLAGS="$CFLAGS -fno-strength-reduce"
3744 if test "$cross_compiling" = yes; then
3745 { $as_echo "$as_me:$LINENO: result: cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&5
3746 $as_echo "cannot compile a simple program; if not cross compiling check CC and CFLAGS" >&6; }
3749 test "$GCC" = yes && CPP_MM=M;
3751 if test -f ./toolcheck; then
3752 { $as_echo "$as_me:$LINENO: checking for buggy tools..." >&5
3753 $as_echo "$as_me: checking for buggy tools..." >&6;}
3757 OS_EXTRA_SRC=""; OS_EXTRA_OBJ=""
3759 { $as_echo "$as_me:$LINENO: checking for BeOS" >&5
3760 $as_echo_n "checking for BeOS... " >&6; }
3762 BeOS) OS_EXTRA_SRC=os_beos.c; OS_EXTRA_OBJ=objects/os_beos.o
3763 BEOS=yes; { $as_echo "$as_me:$LINENO: result: yes" >&5
3764 $as_echo "yes" >&6; };;
3765 *) BEOS=no; { $as_echo "$as_me:$LINENO: result: no" >&5
3766 $as_echo "no" >&6; };;
3769 { $as_echo "$as_me:$LINENO: checking for QNX" >&5
3770 $as_echo_n "checking for QNX... " >&6; }
3772 QNX) OS_EXTRA_SRC=os_qnx.c; OS_EXTRA_OBJ=objects/os_qnx.o
3773 test -z "$with_x" && with_x=no
3774 QNX=yes; { $as_echo "$as_me:$LINENO: result: yes" >&5
3775 $as_echo "yes" >&6; };;
3776 *) QNX=no; { $as_echo "$as_me:$LINENO: result: no" >&5
3777 $as_echo "no" >&6; };;
3780 { $as_echo "$as_me:$LINENO: checking for Darwin (Mac OS X)" >&5
3781 $as_echo_n "checking for Darwin (Mac OS X)... " >&6; }
3782 if test "`(uname
) 2>/dev
/null
`" = Darwin; then
3783 { $as_echo "$as_me:$LINENO: result: yes" >&5
3784 $as_echo "yes" >&6; }
3786 { $as_echo "$as_me:$LINENO: checking --disable-darwin argument" >&5
3787 $as_echo_n "checking --disable-darwin argument... " >&6; }
3788 # Check whether --enable-darwin was given.
3789 if test "${enable_darwin+set}" = set; then
3790 enableval=$enable_darwin;
3795 if test "$enable_darwin" = "yes"; then
3796 { $as_echo "$as_me:$LINENO: result: no" >&5
3797 $as_echo "no" >&6; }
3798 { $as_echo "$as_me:$LINENO: checking if Darwin files are there" >&5
3799 $as_echo_n "checking if Darwin files are there... " >&6; }
3800 if test -f os_macosx.c; then
3801 { $as_echo "$as_me:$LINENO: result: yes" >&5
3802 $as_echo "yes" >&6; }
3804 { $as_echo "$as_me:$LINENO: result: no, Darwin support disabled" >&5
3805 $as_echo "no, Darwin support disabled" >&6; }
3809 { $as_echo "$as_me:$LINENO: result: yes, Darwin support excluded" >&5
3810 $as_echo "yes, Darwin support excluded" >&6; }
3813 { $as_echo "$as_me:$LINENO: checking --with-mac-arch argument" >&5
3814 $as_echo_n "checking --with-mac-arch argument... " >&6; }
3816 # Check whether --with-mac-arch was given.
3817 if test "${with_mac_arch+set}" = set; then
3818 withval=$with_mac_arch; MACARCH="$withval"; { $as_echo "$as_me:$LINENO: result: $MACARCH" >&5
3819 $as_echo "$MACARCH" >&6; }
3821 MACARCH="current"; { $as_echo "$as_me:$LINENO: result: defaulting to $MACARCH" >&5
3822 $as_echo "defaulting to $MACARCH" >&6; }
3826 if test "x$MACARCH" = "xboth"; then
3827 { $as_echo "$as_me:$LINENO: checking for 10.4 universal SDK" >&5
3828 $as_echo_n "checking for 10.4 universal SDK... " >&6; }
3829 save_cppflags="$CPPFLAGS"
3830 save_cflags="$CFLAGS"
3831 save_ldflags="$LDFLAGS"
3832 CFLAGS="$CFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
3833 cat >conftest.$ac_ext <<_ACEOF
3836 cat confdefs.h >>conftest.$ac_ext
3837 cat >>conftest.$ac_ext <<_ACEOF
3838 /* end confdefs.h. */
3848 rm -f conftest.$ac_objext conftest$ac_exeext
3849 if { (ac_try="$ac_link"
3851 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3852 *) ac_try_echo
=$ac_try;;
3854 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3855 $as_echo "$ac_try_echo") >&5
3856 (eval "$ac_link") 2>conftest.er1
3858 grep -v '^ *+' conftest.er1
>conftest.err
3860 cat conftest.err
>&5
3861 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3862 (exit $ac_status); } && {
3863 test -z "$ac_c_werror_flag" ||
3864 test ! -s conftest.err
3865 } && test -s conftest
$ac_exeext && {
3866 test "$cross_compiling" = yes ||
3867 $as_test_x conftest
$ac_exeext
3869 { $as_echo "$as_me:$LINENO: result: found" >&5
3870 $as_echo "found" >&6; }
3872 $as_echo "$as_me: failed program was:" >&5
3873 sed 's/^/| /' conftest.
$ac_ext >&5
3875 { $as_echo "$as_me:$LINENO: result: not found" >&5
3876 $as_echo "not found" >&6; }
3877 CFLAGS
="$save_cflags"
3878 { $as_echo "$as_me:$LINENO: checking if Intel architecture is supported" >&5
3879 $as_echo_n "checking if Intel architecture is supported... " >&6; }
3880 CPPFLAGS
="$CPPFLAGS -arch i386"
3881 LDFLAGS
="$save_ldflags -arch i386"
3882 cat >conftest.
$ac_ext <<_ACEOF
3885 cat confdefs.h
>>conftest.
$ac_ext
3886 cat >>conftest.
$ac_ext <<_ACEOF
3887 /* end confdefs.h. */
3897 rm -f conftest.
$ac_objext conftest
$ac_exeext
3898 if { (ac_try
="$ac_link"
3900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3901 *) ac_try_echo=$ac_try;;
3903 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3904 $as_echo "$ac_try_echo") >&5
3905 (eval "$ac_link") 2>conftest.er1
3907 grep -v '^ *+' conftest.er1 >conftest.err
3909 cat conftest.err >&5
3910 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3911 (exit $ac_status); } && {
3912 test -z "$ac_c_werror_flag" ||
3913 test ! -s conftest.err
3914 } && test -s conftest$ac_exeext && {
3915 test "$cross_compiling" = yes ||
3916 $as_test_x conftest$ac_exeext
3918 { $as_echo "$as_me:$LINENO: result: yes" >&5
3919 $as_echo "yes" >&6; }; MACARCH="intel"
3921 $as_echo "$as_me: failed program was:" >&5
3922 sed 's/^/| /' conftest.$ac_ext >&5
3924 { $as_echo "$as_me:$LINENO: result: no" >&5
3925 $as_echo "no" >&6; }
3927 CPPFLAGS="$save_cppflags -arch ppc"
3928 LDFLAGS="$save_ldflags -arch ppc"
3931 rm -rf conftest.dSYM
3932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3933 conftest$ac_exeext conftest.$ac_ext
3936 rm -rf conftest.dSYM
3937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3938 conftest$ac_exeext conftest.$ac_ext
3939 elif test "x$MACARCH" = "xintel"; then
3940 CPPFLAGS="$CPPFLAGS -arch intel"
3941 LDFLAGS="$LDFLAGS -arch intel"
3942 elif test "x$MACARCH" = "xppc"; then
3943 CPPFLAGS="$CPPFLAGS -arch ppc"
3944 LDFLAGS="$LDFLAGS -arch ppc"
3947 if test "$enable_darwin" = "yes"; then
3949 OS_EXTRA_SRC="os_macosx.c os_mac_conv.c";
3950 OS_EXTRA_OBJ="objects/os_macosx.o objects/os_mac_conv.o"
3951 CPPFLAGS="$CPPFLAGS -DMACOS_X_UNIX -no-cpp-precomp"
3952 if test "x$MACARCH" = "xboth"; then
3953 CPPFLAGS="$CPPFLAGS -I/Developer/SDKs/MacOSX10.4u.sdk/Developer/Headers/FlatCarbon"
3955 CPPFLAGS="$CPPFLAGS -I/Developer/Headers/FlatCarbon"
3958 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3968 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3969 inttypes.h stdint.h unistd.h
3971 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
3972 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
3973 $as_echo_n "checking for $ac_header... " >&6; }
3974 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
3975 $as_echo_n "(cached) " >&6
3977 cat >conftest.$ac_ext <<_ACEOF
3980 cat confdefs.h >>conftest.$ac_ext
3981 cat >>conftest.$ac_ext <<_ACEOF
3982 /* end confdefs.h. */
3983 $ac_includes_default
3985 #include <$ac_header>
3987 rm -f conftest.$ac_objext
3988 if { (ac_try="$ac_compile"
3990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3991 *) ac_try_echo
=$ac_try;;
3993 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
3994 $as_echo "$ac_try_echo") >&5
3995 (eval "$ac_compile") 2>conftest.er1
3997 grep -v '^ *+' conftest.er1
>conftest.err
3999 cat conftest.err
>&5
4000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4001 (exit $ac_status); } && {
4002 test -z "$ac_c_werror_flag" ||
4003 test ! -s conftest.err
4004 } && test -s conftest.
$ac_objext; then
4005 eval "$as_ac_Header=yes"
4007 $as_echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.
$ac_ext >&5
4010 eval "$as_ac_Header=no"
4013 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4015 ac_res
=`eval 'as_val=${'$as_ac_Header'}
4016 $as_echo "$as_val"'`
4017 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4018 $as_echo "$ac_res" >&6; }
4019 if test `eval 'as_val=${'$as_ac_Header'}
4020 $as_echo "$as_val"'` = yes; then
4021 cat >>confdefs.h
<<_ACEOF
4022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4030 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4031 { $as_echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
4032 $as_echo_n "checking for Carbon/Carbon.h... " >&6; }
4033 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4034 $as_echo_n "(cached) " >&6
4036 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
4037 $as_echo "$ac_cv_header_Carbon_Carbon_h" >&6; }
4039 # Is the header compilable?
4040 { $as_echo "$as_me:$LINENO: checking Carbon/Carbon.h usability" >&5
4041 $as_echo_n "checking Carbon/Carbon.h usability... " >&6; }
4042 cat >conftest.
$ac_ext <<_ACEOF
4045 cat confdefs.h
>>conftest.
$ac_ext
4046 cat >>conftest.
$ac_ext <<_ACEOF
4047 /* end confdefs.h. */
4048 $ac_includes_default
4049 #include <Carbon/Carbon.h>
4051 rm -f conftest.
$ac_objext
4052 if { (ac_try
="$ac_compile"
4054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4055 *) ac_try_echo=$ac_try;;
4057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4058 $as_echo "$ac_try_echo") >&5
4059 (eval "$ac_compile") 2>conftest.er1
4061 grep -v '^ *+' conftest.er1 >conftest.err
4063 cat conftest.err >&5
4064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4065 (exit $ac_status); } && {
4066 test -z "$ac_c_werror_flag" ||
4067 test ! -s conftest.err
4068 } && test -s conftest.$ac_objext; then
4069 ac_header_compiler=yes
4071 $as_echo "$as_me: failed program was:" >&5
4072 sed 's/^/| /' conftest.$ac_ext >&5
4074 ac_header_compiler=no
4077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4078 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4079 $as_echo "$ac_header_compiler" >&6; }
4081 # Is the header present?
4082 { $as_echo "$as_me:$LINENO: checking Carbon/Carbon.h presence" >&5
4083 $as_echo_n "checking Carbon/Carbon.h presence... " >&6; }
4084 cat >conftest.$ac_ext <<_ACEOF
4087 cat confdefs.h >>conftest.$ac_ext
4088 cat >>conftest.$ac_ext <<_ACEOF
4089 /* end confdefs.h. */
4090 #include <Carbon/Carbon.h>
4092 if { (ac_try="$ac_cpp conftest.$ac_ext"
4094 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4095 *) ac_try_echo
=$ac_try;;
4097 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4098 $as_echo "$ac_try_echo") >&5
4099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4101 grep -v '^ *+' conftest.er1
>conftest.err
4103 cat conftest.err
>&5
4104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105 (exit $ac_status); } >/dev
/null
&& {
4106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4107 test ! -s conftest.err
4109 ac_header_preproc
=yes
4111 $as_echo "$as_me: failed program was:" >&5
4112 sed 's/^/| /' conftest.
$ac_ext >&5
4114 ac_header_preproc
=no
4117 rm -f conftest.err conftest.
$ac_ext
4118 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4119 $as_echo "$ac_header_preproc" >&6; }
4121 # So? What about this header?
4122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4124 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&5
4125 $as_echo "$as_me: WARNING: Carbon/Carbon.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4126 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&5
4127 $as_echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the compiler's result" >&2;}
4128 ac_header_preproc
=yes
4131 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&5
4132 $as_echo "$as_me: WARNING: Carbon/Carbon.h: present but cannot be compiled" >&2;}
4133 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&5
4134 $as_echo "$as_me: WARNING: Carbon/Carbon.h: check for missing prerequisite headers?" >&2;}
4135 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&5
4136 $as_echo "$as_me: WARNING: Carbon/Carbon.h: see the Autoconf documentation" >&2;}
4137 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&5
4138 $as_echo "$as_me: WARNING: Carbon/Carbon.h: section \"Present But Cannot Be Compiled\"" >&2;}
4139 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&5
4140 $as_echo "$as_me: WARNING: Carbon/Carbon.h: proceeding with the preprocessor's result" >&2;}
4141 { $as_echo "$as_me:$LINENO: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&5
4142 $as_echo "$as_me: WARNING: Carbon/Carbon.h: in the future, the compiler will take precedence" >&2;}
4146 { $as_echo "$as_me:$LINENO: checking for Carbon/Carbon.h" >&5
4147 $as_echo_n "checking for Carbon/Carbon.h... " >&6; }
4148 if test "${ac_cv_header_Carbon_Carbon_h+set}" = set; then
4149 $as_echo_n "(cached) " >&6
4151 ac_cv_header_Carbon_Carbon_h
=$ac_header_preproc
4153 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Carbon_Carbon_h" >&5
4154 $as_echo "$ac_cv_header_Carbon_Carbon_h" >&6; }
4157 if test $ac_cv_header_Carbon_Carbon_h = yes; then
4162 if test "x$CARBON" = "xyes"; then
4163 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
4169 if test "$MACARCH" = "intel" -o "$MACARCH" = "both"; then
4170 CFLAGS
=`echo "$CFLAGS" | sed 's/-O[23456789]/-Oz/'`
4174 { $as_echo "$as_me:$LINENO: result: no" >&5
4175 $as_echo "no" >&6; }
4181 if test "$cross_compiling" = no
; then
4182 { $as_echo "$as_me:$LINENO: checking --with-local-dir argument" >&5
4183 $as_echo_n "checking --with-local-dir argument... " >&6; }
4184 have_local_include
=''
4187 # Check whether --with-local-dir was given.
4188 if test "${with_local_dir+set}" = set; then
4189 withval
=$with_local_dir;
4190 local_dir
="$withval"
4194 # avoid adding local dir to LDFLAGS and CPPFLAGS
4198 *) { { $as_echo "$as_me:$LINENO: error: must pass path argument to --with-local-dir" >&5
4199 $as_echo "$as_me: error: must pass path argument to --with-local-dir" >&2;}
4200 { (exit 1); exit 1; }; } ;;
4202 { $as_echo "$as_me:$LINENO: result: $local_dir" >&5
4203 $as_echo "$local_dir" >&6; }
4207 local_dir
=/usr
/local
4208 { $as_echo "$as_me:$LINENO: result: Defaulting to $local_dir" >&5
4209 $as_echo "Defaulting to $local_dir" >&6; }
4213 if test "$GCC" = yes -a "$local_dir" != no
; then
4214 echo 'void f(){}' > conftest.c
4215 have_local_include
=`${CC-cc} -no-cpp-precomp -c -v conftest.c 2>&1 | grep "${local_dir}/include"`
4216 have_local_lib
=`${CC-cc} -c -v conftest.c 2>&1 | grep "${local_dir}/lib"`
4217 rm -f conftest.c conftest.o
4219 if test -z "$have_local_lib" -a -d "${local_dir}/lib"; then
4220 tt
=`echo "$LDFLAGS" | sed -e "s+-L${local_dir}/lib ++g" -e "s+-L${local_dir}/lib$++g"`
4221 if test "$tt" = "$LDFLAGS"; then
4222 LDFLAGS
="$LDFLAGS -L${local_dir}/lib"
4225 if test -z "$have_local_include" -a -d "${local_dir}/include"; then
4226 tt
=`echo "$CPPFLAGS" | sed -e "s+-I${local_dir}/include ++g" -e "s+-I${local_dir}/include$++g"`
4227 if test "$tt" = "$CPPFLAGS"; then
4228 CPPFLAGS
="$CPPFLAGS -I${local_dir}/include"
4233 { $as_echo "$as_me:$LINENO: checking --with-vim-name argument" >&5
4234 $as_echo_n "checking --with-vim-name argument... " >&6; }
4236 # Check whether --with-vim-name was given.
4237 if test "${with_vim_name+set}" = set; then
4238 withval
=$with_vim_name; VIMNAME
="$withval"; { $as_echo "$as_me:$LINENO: result: $VIMNAME" >&5
4239 $as_echo "$VIMNAME" >&6; }
4241 VIMNAME
="vim"; { $as_echo "$as_me:$LINENO: result: Defaulting to $VIMNAME" >&5
4242 $as_echo "Defaulting to $VIMNAME" >&6; }
4246 { $as_echo "$as_me:$LINENO: checking --with-ex-name argument" >&5
4247 $as_echo_n "checking --with-ex-name argument... " >&6; }
4249 # Check whether --with-ex-name was given.
4250 if test "${with_ex_name+set}" = set; then
4251 withval
=$with_ex_name; EXNAME
="$withval"; { $as_echo "$as_me:$LINENO: result: $EXNAME" >&5
4252 $as_echo "$EXNAME" >&6; }
4254 EXNAME
="ex"; { $as_echo "$as_me:$LINENO: result: Defaulting to ex" >&5
4255 $as_echo "Defaulting to ex" >&6; }
4259 { $as_echo "$as_me:$LINENO: checking --with-view-name argument" >&5
4260 $as_echo_n "checking --with-view-name argument... " >&6; }
4262 # Check whether --with-view-name was given.
4263 if test "${with_view_name+set}" = set; then
4264 withval
=$with_view_name; VIEWNAME
="$withval"; { $as_echo "$as_me:$LINENO: result: $VIEWNAME" >&5
4265 $as_echo "$VIEWNAME" >&6; }
4267 VIEWNAME
="view"; { $as_echo "$as_me:$LINENO: result: Defaulting to view" >&5
4268 $as_echo "Defaulting to view" >&6; }
4273 { $as_echo "$as_me:$LINENO: checking --with-global-runtime argument" >&5
4274 $as_echo_n "checking --with-global-runtime argument... " >&6; }
4276 # Check whether --with-global-runtime was given.
4277 if test "${with_global_runtime+set}" = set; then
4278 withval
=$with_global_runtime; { $as_echo "$as_me:$LINENO: result: $withval" >&5
4279 $as_echo "$withval" >&6; }; cat >>confdefs.h
<<_ACEOF
4280 #define RUNTIME_GLOBAL "$withval"
4284 { $as_echo "$as_me:$LINENO: result: no" >&5
4285 $as_echo "no" >&6; }
4289 { $as_echo "$as_me:$LINENO: checking --with-modified-by argument" >&5
4290 $as_echo_n "checking --with-modified-by argument... " >&6; }
4292 # Check whether --with-modified-by was given.
4293 if test "${with_modified_by+set}" = set; then
4294 withval
=$with_modified_by; { $as_echo "$as_me:$LINENO: result: $withval" >&5
4295 $as_echo "$withval" >&6; }; cat >>confdefs.h
<<_ACEOF
4296 #define MODIFIED_BY "$withval"
4300 { $as_echo "$as_me:$LINENO: result: no" >&5
4301 $as_echo "no" >&6; }
4305 { $as_echo "$as_me:$LINENO: checking if character set is EBCDIC" >&5
4306 $as_echo_n "checking if character set is EBCDIC... " >&6; }
4307 cat >conftest.
$ac_ext <<_ACEOF
4310 cat confdefs.h
>>conftest.
$ac_ext
4311 cat >>conftest.
$ac_ext <<_ACEOF
4312 /* end confdefs.h. */
4317 /* TryCompile function for CharSet.
4318 Treat any failure as ASCII for compatibility with existing art.
4319 Use compile-time rather than run-time tests for cross-compiler
4322 make an error "Character set is not EBCDIC"
4328 rm -f conftest.
$ac_objext
4329 if { (ac_try
="$ac_compile"
4331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4332 *) ac_try_echo=$ac_try;;
4334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4335 $as_echo "$ac_try_echo") >&5
4336 (eval "$ac_compile") 2>conftest.er1
4338 grep -v '^ *+' conftest.er1 >conftest.err
4340 cat conftest.err >&5
4341 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); } && {
4343 test -z "$ac_c_werror_flag" ||
4344 test ! -s conftest.err
4345 } && test -s conftest.$ac_objext; then
4346 # TryCompile action if true
4349 $as_echo "$as_me: failed program was:" >&5
4350 sed 's/^/| /' conftest.$ac_ext >&5
4352 # TryCompile action if false
4356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4357 # end of TryCompile ])
4358 # end of CacheVal CvEbcdic
4359 { $as_echo "$as_me:$LINENO: result: $cf_cv_ebcdic" >&5
4360 $as_echo "$cf_cv_ebcdic" >&6; }
4361 case "$cf_cv_ebcdic" in #(vi
4362 yes) cat >>confdefs.h <<\_ACEOF
4368 *) line_break='"\\012"';;
4372 if test "$cf_cv_ebcdic" = "yes"; then
4373 { $as_echo "$as_me:$LINENO: checking for OS/390 Unix" >&5
4374 $as_echo_n "checking for OS/390 Unix... " >&6; }
4376 OS/390) OS390Unix="yes";
4377 if test "$CC" = "cc"; then
4381 if test "$CC" = "c89"; then
4388 if test "$ccm" != "1"; then
4390 echo "------------------------------------------"
4391 echo " On OS/390 Unix, the environment variable"
4392 echo " __CC_${ccn}MODE must be set to \"1\"!"
4394 echo " export _CC_${ccn}MODE=1"
4395 echo " and then call configure again."
4396 echo "------------------------------------------"
4399 CFLAGS="$CFLAGS -D_ALL_SOURCE"; LDFLAGS="$LDFLAGS -Wl,EDIT=NO"
4400 { $as_echo "$as_me:$LINENO: result: yes" >&5
4401 $as_echo "yes" >&6; }
4404 { $as_echo "$as_me:$LINENO: result: no" >&5
4405 $as_echo "no" >&6; }
4410 { $as_echo "$as_me:$LINENO: checking --disable-selinux argument" >&5
4411 $as_echo_n "checking --disable-selinux argument... " >&6; }
4412 # Check whether --enable-selinux was given.
4413 if test "${enable_selinux+set}" = set; then
4414 enableval=$enable_selinux;
4416 enable_selinux="yes"
4419 if test "$enable_selinux" = "yes"; then
4420 { $as_echo "$as_me:$LINENO: result: no" >&5
4421 $as_echo "no" >&6; }
4422 { $as_echo "$as_me:$LINENO: checking for is_selinux_enabled in -lselinux" >&5
4423 $as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
4424 if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then
4425 $as_echo_n "(cached) " >&6
4427 ac_check_lib_save_LIBS=$LIBS
4428 LIBS="-lselinux $LIBS"
4429 cat >conftest.$ac_ext <<_ACEOF
4432 cat confdefs.h >>conftest.$ac_ext
4433 cat >>conftest.$ac_ext <<_ACEOF
4434 /* end confdefs.h. */
4436 /* Override any GCC internal prototype to avoid an error.
4437 Use char because int might match the return type of a GCC
4438 builtin and then its argument prototype would still apply. */
4442 char is_selinux_enabled ();
4446 return is_selinux_enabled ();
4451 rm -f conftest.$ac_objext conftest$ac_exeext
4452 if { (ac_try="$ac_link"
4454 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4455 *) ac_try_echo
=$ac_try;;
4457 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
4458 $as_echo "$ac_try_echo") >&5
4459 (eval "$ac_link") 2>conftest.er1
4461 grep -v '^ *+' conftest.er1
>conftest.err
4463 cat conftest.err
>&5
4464 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); } && {
4466 test -z "$ac_c_werror_flag" ||
4467 test ! -s conftest.err
4468 } && test -s conftest
$ac_exeext && {
4469 test "$cross_compiling" = yes ||
4470 $as_test_x conftest
$ac_exeext
4472 ac_cv_lib_selinux_is_selinux_enabled
=yes
4474 $as_echo "$as_me: failed program was:" >&5
4475 sed 's/^/| /' conftest.
$ac_ext >&5
4477 ac_cv_lib_selinux_is_selinux_enabled
=no
4480 rm -rf conftest.dSYM
4481 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4482 conftest
$ac_exeext conftest.
$ac_ext
4483 LIBS
=$ac_check_lib_save_LIBS
4485 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
4486 $as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
4487 if test $ac_cv_lib_selinux_is_selinux_enabled = yes; then
4488 LIBS
="$LIBS -lselinux"
4489 cat >>confdefs.h
<<\_ACEOF
4490 #define HAVE_SELINUX 1
4496 { $as_echo "$as_me:$LINENO: result: yes" >&5
4497 $as_echo "yes" >&6; }
4501 { $as_echo "$as_me:$LINENO: checking --with-features argument" >&5
4502 $as_echo_n "checking --with-features argument... " >&6; }
4504 # Check whether --with-features was given.
4505 if test "${with_features+set}" = set; then
4506 withval
=$with_features; features
="$withval"; { $as_echo "$as_me:$LINENO: result: $features" >&5
4507 $as_echo "$features" >&6; }
4509 features
="normal"; { $as_echo "$as_me:$LINENO: result: Defaulting to normal" >&5
4510 $as_echo "Defaulting to normal" >&6; }
4517 tiny
) cat >>confdefs.h
<<\_ACEOF
4521 small
) cat >>confdefs.h
<<\_ACEOF
4522 #define FEAT_SMALL 1
4525 normal
) cat >>confdefs.h
<<\_ACEOF
4526 #define FEAT_NORMAL 1
4528 dovimdiff
="installvimdiff";
4529 dogvimdiff
="installgvimdiff" ;;
4530 big
) cat >>confdefs.h
<<\_ACEOF
4533 dovimdiff
="installvimdiff";
4534 dogvimdiff
="installgvimdiff" ;;
4535 huge
) cat >>confdefs.h
<<\_ACEOF
4538 dovimdiff
="installvimdiff";
4539 dogvimdiff
="installgvimdiff" ;;
4540 *) { $as_echo "$as_me:$LINENO: result: Sorry, $features is not supported" >&5
4541 $as_echo "Sorry, $features is not supported" >&6; } ;;
4547 { $as_echo "$as_me:$LINENO: checking --with-compiledby argument" >&5
4548 $as_echo_n "checking --with-compiledby argument... " >&6; }
4550 # Check whether --with-compiledby was given.
4551 if test "${with_compiledby+set}" = set; then
4552 withval
=$with_compiledby; compiledby
="$withval"; { $as_echo "$as_me:$LINENO: result: $withval" >&5
4553 $as_echo "$withval" >&6; }
4555 compiledby
=""; { $as_echo "$as_me:$LINENO: result: no" >&5
4556 $as_echo "no" >&6; }
4561 { $as_echo "$as_me:$LINENO: checking --disable-xsmp argument" >&5
4562 $as_echo_n "checking --disable-xsmp argument... " >&6; }
4563 # Check whether --enable-xsmp was given.
4564 if test "${enable_xsmp+set}" = set; then
4565 enableval
=$enable_xsmp;
4571 if test "$enable_xsmp" = "yes"; then
4572 { $as_echo "$as_me:$LINENO: result: no" >&5
4573 $as_echo "no" >&6; }
4574 { $as_echo "$as_me:$LINENO: checking --disable-xsmp-interact argument" >&5
4575 $as_echo_n "checking --disable-xsmp-interact argument... " >&6; }
4576 # Check whether --enable-xsmp-interact was given.
4577 if test "${enable_xsmp_interact+set}" = set; then
4578 enableval
=$enable_xsmp_interact;
4580 enable_xsmp_interact
="yes"
4583 if test "$enable_xsmp_interact" = "yes"; then
4584 { $as_echo "$as_me:$LINENO: result: no" >&5
4585 $as_echo "no" >&6; }
4586 cat >>confdefs.h
<<\_ACEOF
4587 #define USE_XSMP_INTERACT 1
4591 { $as_echo "$as_me:$LINENO: result: yes" >&5
4592 $as_echo "yes" >&6; }
4595 { $as_echo "$as_me:$LINENO: result: yes" >&5
4596 $as_echo "yes" >&6; }
4599 { $as_echo "$as_me:$LINENO: checking --enable-mzschemeinterp argument" >&5
4600 $as_echo_n "checking --enable-mzschemeinterp argument... " >&6; }
4601 # Check whether --enable-mzschemeinterp was given.
4602 if test "${enable_mzschemeinterp+set}" = set; then
4603 enableval
=$enable_mzschemeinterp;
4605 enable_mzschemeinterp
="no"
4608 { $as_echo "$as_me:$LINENO: result: $enable_mzschemeinterp" >&5
4609 $as_echo "$enable_mzschemeinterp" >&6; }
4611 if test "$enable_mzschemeinterp" = "yes"; then
4614 { $as_echo "$as_me:$LINENO: checking --with-plthome argument" >&5
4615 $as_echo_n "checking --with-plthome argument... " >&6; }
4617 # Check whether --with-plthome was given.
4618 if test "${with_plthome+set}" = set; then
4619 withval
=$with_plthome; with_plthome
="$withval"; { $as_echo "$as_me:$LINENO: result: $with_plthome" >&5
4620 $as_echo "$with_plthome" >&6; }
4622 with_plthome
="";{ $as_echo "$as_me:$LINENO: result: \"no\"" >&5
4623 $as_echo "\"no\"" >&6; }
4627 if test "X$with_plthome" != "X"; then
4628 vi_cv_path_mzscheme_pfx
="$with_plthome"
4630 { $as_echo "$as_me:$LINENO: checking PLTHOME environment var" >&5
4631 $as_echo_n "checking PLTHOME environment var... " >&6; }
4632 if test "X$PLTHOME" != "X"; then
4633 { $as_echo "$as_me:$LINENO: result: \"$PLTHOME\"" >&5
4634 $as_echo "\"$PLTHOME\"" >&6; }
4635 vi_cv_path_mzscheme_pfx
="$PLTHOME"
4637 { $as_echo "$as_me:$LINENO: result: \"not set\"" >&5
4638 $as_echo "\"not set\"" >&6; }
4639 # Extract the first word of "mzscheme", so it can be a program name with args.
4640 set dummy mzscheme
; ac_word
=$2
4641 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4642 $as_echo_n "checking for $ac_word... " >&6; }
4643 if test "${ac_cv_path_vi_cv_path_mzscheme+set}" = set; then
4644 $as_echo_n "(cached) " >&6
4646 case $vi_cv_path_mzscheme in
4648 ac_cv_path_vi_cv_path_mzscheme
="$vi_cv_path_mzscheme" # Let the user override the test with a path.
4651 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir
=.
4656 for ac_exec_ext
in '' $ac_executable_extensions; do
4657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4658 ac_cv_path_vi_cv_path_mzscheme
="$as_dir/$ac_word$ac_exec_ext"
4659 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4669 vi_cv_path_mzscheme
=$ac_cv_path_vi_cv_path_mzscheme
4670 if test -n "$vi_cv_path_mzscheme"; then
4671 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme" >&5
4672 $as_echo "$vi_cv_path_mzscheme" >&6; }
4674 { $as_echo "$as_me:$LINENO: result: no" >&5
4675 $as_echo "no" >&6; }
4680 if test "X$vi_cv_path_mzscheme" != "X"; then
4681 lsout
=`ls -l $vi_cv_path_mzscheme`
4682 if echo "$lsout" |
grep -e '->' >/dev
/null
2>/dev
/null
; then
4683 vi_cv_path_mzscheme
=`echo "$lsout" | sed 's/.*-> \(.*\)/\1/'`
4687 if test "X$vi_cv_path_mzscheme" != "X"; then
4688 { $as_echo "$as_me:$LINENO: checking MzScheme install prefix" >&5
4689 $as_echo_n "checking MzScheme install prefix... " >&6; }
4690 if test "${vi_cv_path_mzscheme_pfx+set}" = set; then
4691 $as_echo_n "(cached) " >&6
4693 vi_cv_path_mzscheme_pfx
=`
4694 ${vi_cv_path_mzscheme} -evm \
4695 "(display (simplify-path \
4696 (build-path (call-with-values \
4697 (lambda () (split-path (find-system-path (quote exec-file)))) \
4698 (lambda (base name must-be-dir?) base)) (quote up))))"`
4700 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_mzscheme_pfx" >&5
4701 $as_echo "$vi_cv_path_mzscheme_pfx" >&6; }
4702 vi_cv_path_mzscheme_pfx
=`echo "$vi_cv_path_mzscheme_pfx" | sed 's+/$++'`
4708 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
4709 { $as_echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include" >&5
4710 $as_echo_n "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/include... " >&6; }
4711 if test -f $vi_cv_path_mzscheme_pfx/include
/scheme.h
; then
4712 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
4713 $as_echo "\"yes\"" >&6; }
4715 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5
4716 $as_echo "\"no\"" >&6; }
4717 { $as_echo "$as_me:$LINENO: checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include" >&5
4718 $as_echo_n "checking if scheme.h can be found in $vi_cv_path_mzscheme_pfx/plt/include... " >&6; }
4719 if test -f $vi_cv_path_mzscheme_pfx/include
/plt
/scheme.h
; then
4720 { $as_echo "$as_me:$LINENO: result: \"yes\"" >&5
4721 $as_echo "\"yes\"" >&6; }
4724 { $as_echo "$as_me:$LINENO: result: \"no\"" >&5
4725 $as_echo "\"no\"" >&6; }
4726 vi_cv_path_mzscheme_pfx
=
4731 if test "X$vi_cv_path_mzscheme_pfx" != "X"; then
4732 if test "x$MACOSX" = "xyes"; then
4733 MZSCHEME_LIBS
="-framework PLT_MzScheme"
4734 elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then
4735 MZSCHEME_LIBS
="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"
4737 MZSCHEME_LIBS
="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc"
4738 if test "$GCC" = yes; then
4739 MZSCHEME_LIBS
="$MZSCHEME_LIBS -Wl,-rpath -Wl,${vi_cv_path_mzscheme_pfx}/lib"
4740 elif test "`(uname) 2>/dev/null`" = SunOS
&&
4741 uname
-r |
grep '^5' >/dev
/null
; then
4742 MZSCHEME_LIBS
="$MZSCHEME_LIBS -R ${vi_cv_path_mzscheme_pfx}/lib"
4745 if test -d $vi_cv_path_mzscheme_pfx/lib
/plt
/collects
; then
4746 SCHEME_COLLECTS
=lib
/plt
/
4748 MZSCHEME_CFLAGS
="-I${vi_cv_path_mzscheme_pfx}/include${SCHEME_INC} \
4749 -DMZSCHEME_COLLECTS='\"${vi_cv_path_mzscheme_pfx}/${SCHEME_COLLECTS}collects\"'"
4750 MZSCHEME_SRC
="if_mzsch.c"
4751 MZSCHEME_OBJ
="objects/if_mzsch.o"
4752 MZSCHEME_PRO
="if_mzsch.pro"
4753 cat >>confdefs.h
<<\_ACEOF
4754 #define FEAT_MZSCHEME 1
4766 { $as_echo "$as_me:$LINENO: checking --enable-perlinterp argument" >&5
4767 $as_echo_n "checking --enable-perlinterp argument... " >&6; }
4768 # Check whether --enable-perlinterp was given.
4769 if test "${enable_perlinterp+set}" = set; then
4770 enableval
=$enable_perlinterp;
4772 enable_perlinterp
="no"
4775 { $as_echo "$as_me:$LINENO: result: $enable_perlinterp" >&5
4776 $as_echo "$enable_perlinterp" >&6; }
4777 if test "$enable_perlinterp" = "yes"; then
4779 # Extract the first word of "perl", so it can be a program name with args.
4780 set dummy perl
; ac_word
=$2
4781 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4782 $as_echo_n "checking for $ac_word... " >&6; }
4783 if test "${ac_cv_path_vi_cv_path_perl+set}" = set; then
4784 $as_echo_n "(cached) " >&6
4786 case $vi_cv_path_perl in
4788 ac_cv_path_vi_cv_path_perl
="$vi_cv_path_perl" # Let the user override the test with a path.
4791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4795 test -z "$as_dir" && as_dir
=.
4796 for ac_exec_ext
in '' $ac_executable_extensions; do
4797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4798 ac_cv_path_vi_cv_path_perl
="$as_dir/$ac_word$ac_exec_ext"
4799 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4809 vi_cv_path_perl
=$ac_cv_path_vi_cv_path_perl
4810 if test -n "$vi_cv_path_perl"; then
4811 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_perl" >&5
4812 $as_echo "$vi_cv_path_perl" >&6; }
4814 { $as_echo "$as_me:$LINENO: result: no" >&5
4815 $as_echo "no" >&6; }
4819 if test "X$vi_cv_path_perl" != "X"; then
4820 { $as_echo "$as_me:$LINENO: checking Perl version" >&5
4821 $as_echo_n "checking Perl version... " >&6; }
4822 if $vi_cv_path_perl -e 'require 5.003_01' >/dev
/null
2>/dev
/null
; then
4823 eval `$vi_cv_path_perl -V:usethreads`
4824 if test "X$usethreads" = "XUNKNOWN" -o "X$usethreads" = "Xundef"; then
4827 if $vi_cv_path_perl -e 'require 5.6.0' >/dev
/null
2>/dev
/null
; then
4828 eval `$vi_cv_path_perl -V:use5005threads`
4829 if test "X$use5005threads" = "XUNKNOWN" -o "X$use5005threads" = "Xundef"; then
4833 { $as_echo "$as_me:$LINENO: result: >>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&5
4834 $as_echo ">>> Perl > 5.6 with 5.5 threads cannot be used <<<" >&6; }
4838 { $as_echo "$as_me:$LINENO: result: >>> Perl 5.5 with threads cannot be used <<<" >&5
4839 $as_echo ">>> Perl 5.5 with threads cannot be used <<<" >&6; }
4842 if test $badthreads = no
; then
4843 { $as_echo "$as_me:$LINENO: result: OK" >&5
4844 $as_echo "OK" >&6; }
4845 eval `$vi_cv_path_perl -V:shrpenv`
4846 if test "X$shrpenv" = "XUNKNOWN"; then # pre 5.003_04
4849 vi_cv_perllib
=`$vi_cv_path_perl -MConfig -e 'print $Config{privlibexp}'`
4851 perlcppflags
=`$vi_cv_path_perl -Mlib=$srcdir -MExtUtils::Embed \
4852 -e 'ccflags;perl_inc;print"\n"' | sed -e 's/-fno[^ ]*//'`
4853 perllibs
=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed -e 'ldopts' | \
4854 sed -e '/Warning/d' -e '/Note (probably harmless)/d' \
4855 -e 's/-bE:perl.exp//' -e 's/-lc //'`
4856 perlldflags
=`cd $srcdir; $vi_cv_path_perl -MExtUtils::Embed \
4857 -e 'ccdlflags' | sed -e 's/-bE:perl.exp//'`
4859 { $as_echo "$as_me:$LINENO: checking if compile and link flags for Perl are sane" >&5
4860 $as_echo_n "checking if compile and link flags for Perl are sane... " >&6; }
4863 ldflags_save
=$LDFLAGS
4864 CFLAGS
="$CFLAGS $perlcppflags"
4865 LIBS
="$LIBS $perllibs"
4866 LDFLAGS
="$perlldflags $LDFLAGS"
4867 cat >conftest.
$ac_ext <<_ACEOF
4870 cat confdefs.h
>>conftest.
$ac_ext
4871 cat >>conftest.
$ac_ext <<_ACEOF
4872 /* end confdefs.h. */
4882 rm -f conftest.
$ac_objext conftest
$ac_exeext
4883 if { (ac_try
="$ac_link"
4885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4886 *) ac_try_echo=$ac_try;;
4888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4889 $as_echo "$ac_try_echo") >&5
4890 (eval "$ac_link") 2>conftest.er1
4892 grep -v '^ *+' conftest.er1 >conftest.err
4894 cat conftest.err >&5
4895 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4896 (exit $ac_status); } && {
4897 test -z "$ac_c_werror_flag" ||
4898 test ! -s conftest.err
4899 } && test -s conftest$ac_exeext && {
4900 test "$cross_compiling" = yes ||
4901 $as_test_x conftest$ac_exeext
4903 { $as_echo "$as_me:$LINENO: result: yes" >&5
4904 $as_echo "yes" >&6; }; perl_ok=yes
4906 $as_echo "$as_me: failed program was:" >&5
4907 sed 's/^/| /' conftest.$ac_ext >&5
4909 { $as_echo "$as_me:$LINENO: result: no: PERL DISABLED" >&5
4910 $as_echo "no: PERL DISABLED" >&6; }; perl_ok=no
4913 rm -rf conftest.dSYM
4914 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4915 conftest$ac_exeext conftest.$ac_ext
4918 LDFLAGS=$ldflags_save
4919 if test $perl_ok = yes; then
4920 if test "X$perlcppflags" != "X"; then
4921 PERL_CFLAGS=`echo "$perlcppflags" |
sed -e 's/-pipe //' -e 's/-W[^ ]*//'`
4923 if test "X$perlldflags" != "X"; then
4924 LDFLAGS="$perlldflags $LDFLAGS"
4927 PERL_SRC="auto/if_perl.c if_perlsfio.c"
4928 PERL_OBJ="objects/if_perl.o objects/if_perlsfio.o"
4929 PERL_PRO="if_perl.pro if_perlsfio.pro"
4930 cat >>confdefs.h <<\_ACEOF
4937 { $as_echo "$as_me:$LINENO: result: >>> too old; need Perl version 5.003_01 or later <<<" >&5
4938 $as_echo ">>> too old; need Perl version 5.003_01 or later <<<" >&6; }
4942 if test "x$MACOSX" = "xyes"; then
4943 dir=/System/Library/Perl
4944 darwindir=$dir/darwin
4945 if test -d $darwindir; then
4948 dir=/System/Library/Perl/5.8.1
4949 darwindir=$dir/darwin-thread-multi-2level
4950 if test -d $darwindir; then
4954 if test -n "$PERL"; then
4956 PERL_CFLAGS="-DFEAT_PERL -I$darwindir/CORE"
4957 PERL_OBJ="objects/if_perl.o objects/if_perlsfio.o $darwindir/auto/DynaLoader/DynaLoader.a"
4958 PERL_LIBS="-L$darwindir/CORE -lperl"
4969 { $as_echo "$as_me:$LINENO: checking --enable-pythoninterp argument" >&5
4970 $as_echo_n "checking --enable-pythoninterp argument... " >&6; }
4971 # Check whether --enable-pythoninterp was given.
4972 if test "${enable_pythoninterp+set}" = set; then
4973 enableval=$enable_pythoninterp;
4975 enable_pythoninterp="no"
4978 { $as_echo "$as_me:$LINENO: result: $enable_pythoninterp" >&5
4979 $as_echo "$enable_pythoninterp" >&6; }
4980 if test "$enable_pythoninterp" = "yes"; then
4981 # Extract the first word of "python", so it can be a program name with args.
4982 set dummy python; ac_word=$2
4983 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4984 $as_echo_n "checking for $ac_word... " >&6; }
4985 if test "${ac_cv_path_vi_cv_path_python+set}" = set; then
4986 $as_echo_n "(cached) " >&6
4988 case $vi_cv_path_python in
4990 ac_cv_path_vi_cv_path_python="$vi_cv_path_python" # Let the user override the test with a path.
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_path_vi_cv_path_python="$as_dir/$ac_word$ac_exec_ext"
5001 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5011 vi_cv_path_python=$ac_cv_path_vi_cv_path_python
5012 if test -n "$vi_cv_path_python"; then
5013 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python" >&5
5014 $as_echo "$vi_cv_path_python" >&6; }
5016 { $as_echo "$as_me:$LINENO: result: no" >&5
5017 $as_echo "no" >&6; }
5021 if test "X$vi_cv_path_python" != "X"; then
5023 { $as_echo "$as_me:$LINENO: checking Python version" >&5
5024 $as_echo_n "checking Python version... " >&6; }
5025 if test "${vi_cv_var_python_version+set}" = set; then
5026 $as_echo_n "(cached) " >&6
5028 vi_cv_var_python_version=`
5029 ${vi_cv_path_python} -c 'import sys; print sys.version[:3]'`
5032 { $as_echo "$as_me:$LINENO: result: $vi_cv_var_python_version" >&5
5033 $as_echo "$vi_cv_var_python_version" >&6; }
5035 { $as_echo "$as_me:$LINENO: checking Python is 1.4 or better" >&5
5036 $as_echo_n "checking Python is 1.4 or better... " >&6; }
5037 if ${vi_cv_path_python} -c \
5038 "import sys; sys.exit(${vi_cv_var_python_version} < 1.4)"
5040 { $as_echo "$as_me:$LINENO: result: yep" >&5
5041 $as_echo "yep" >&6; }
5043 { $as_echo "$as_me:$LINENO: checking Python's install prefix" >&5
5044 $as_echo_n "checking Python's install prefix... " >&6; }
5045 if test "${vi_cv_path_python_pfx+set}" = set; then
5046 $as_echo_n "(cached) " >&6
5048 vi_cv_path_python_pfx=`
5049 ${vi_cv_path_python} -c \
5050 "import sys; print sys.prefix"`
5052 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_pfx" >&5
5053 $as_echo "$vi_cv_path_python_pfx" >&6; }
5055 { $as_echo "$as_me:$LINENO: checking Python's execution prefix" >&5
5056 $as_echo_n "checking Python's execution prefix... " >&6; }
5057 if test "${vi_cv_path_python_epfx+set}" = set; then
5058 $as_echo_n "(cached) " >&6
5060 vi_cv_path_python_epfx=`
5061 ${vi_cv_path_python} -c \
5062 "import sys; print sys.exec_prefix"`
5064 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_epfx" >&5
5065 $as_echo "$vi_cv_path_python_epfx" >&6; }
5068 if test "${vi_cv_path_pythonpath+set}" = set; then
5069 $as_echo_n "(cached) " >&6
5071 vi_cv_path_pythonpath=`
5073 ${vi_cv_path_python} -c \
5074 "import sys, string; print string.join(sys.path,':')"`
5080 # Check whether --with-python-config-dir was given.
5081 if test "${with_python_config_dir+set}" = set; then
5082 withval=$with_python_config_dir; vi_cv_path_python_conf="${withval}"
5086 { $as_echo "$as_me:$LINENO: checking Python's configuration directory" >&5
5087 $as_echo_n "checking Python's configuration directory... " >&6; }
5088 if test "${vi_cv_path_python_conf+set}" = set; then
5089 $as_echo_n "(cached) " >&6
5092 vi_cv_path_python_conf=
5093 for path in "${vi_cv_path_python_pfx}" "${vi_cv_path_python_epfx}"; do
5094 for subdir in lib share; do
5095 d="${path}/${subdir}/python${vi_cv_var_python_version}/config"
5096 if test -d "$d" && test -f "$d/config.c"; then
5097 vi_cv_path_python_conf="$d"
5103 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_python_conf" >&5
5104 $as_echo "$vi_cv_path_python_conf" >&6; }
5106 PYTHON_CONFDIR="${vi_cv_path_python_conf}"
5108 if test "X$PYTHON_CONFDIR" = "X"; then
5109 { $as_echo "$as_me:$LINENO: result: can't find it!" >&5
5110 $as_echo "can't find it!" >&6; }
5113 if test "${vi_cv_path_python_plibs+set}" = set; then
5114 $as_echo_n "(cached) " >&6
5118 tmp_mkf="$pwd/config-PyMake$$"
5119 cat -- "${PYTHON_CONFDIR}/Makefile" - <<'eof' >"${tmp_mkf}"
5121 @echo "python_MODLIBS='$(MODLIBS)'"
5122 @echo "python_LIBS='$(LIBS)'"
5123 @echo "python_SYSLIBS='$(SYSLIBS)'"
5124 @echo "python_LINKFORSHARED='$(LINKFORSHARED)'"
5126 eval "`cd ${PYTHON_CONFDIR} && make -f "${tmp_mkf}" __ |
sed '/ directory /d'`"
5127 rm -f -- "${tmp_mkf}"
5128 if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \
5129 "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then
5130 vi_cv_path_python_plibs="-framework Python"
5132 if test "${vi_cv_var_python_version}" = "1.4"; then
5133 vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a"
5135 vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}"
5137 vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_MODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}"
5138 vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs |
sed s
/-ltermcap//`
5144 PYTHON_LIBS="${vi_cv_path_python_plibs}"
5145 if test "${vi_cv_path_python_pfx}" = "${vi_cv_path_python_epfx}"; then
5146 PYTHON_CFLAGS="-I${vi_cv_path_python_pfx}/include/python${vi_cv_var_python_version}"
5148 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}"
5150 PYTHON_SRC="if_python.c"
5151 if test "x$MACOSX" = "xyes"; then
5152 PYTHON_OBJ="objects/if_python.o"
5154 PYTHON_OBJ="objects/if_python.o objects/py_config.o"
5156 if test "${vi_cv_var_python_version}" = "1.4"; then
5157 PYTHON_OBJ="$PYTHON_OBJ objects/py_getpath.o"
5159 PYTHON_GETPATH_CFLAGS="-DPYTHONPATH='\"${vi_cv_path_pythonpath}\"' -DPREFIX='\"${vi_cv_path_python_pfx}\"' -DEXEC_PREFIX='\"${vi_cv_path_python_epfx}\"'"
5161 { $as_echo "$as_me:$LINENO: checking if -pthread should be used" >&5
5162 $as_echo_n "checking if -pthread should be used... " >&6; }
5165 if test "`(uname
) 2>/dev
/null
`" != Darwin; then
5166 test "$GCC" = yes && threadsafe_flag="-pthread"
5167 if test "`(uname
) 2>/dev
/null
`" = FreeBSD; then
5168 threadsafe_flag="-D_THREAD_SAFE"
5169 thread_lib="-pthread"
5173 if test -n "$threadsafe_flag"; then
5175 CFLAGS="$CFLAGS $threadsafe_flag"
5176 LIBS="$LIBS $thread_lib"
5177 cat >conftest.$ac_ext <<_ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5192 rm -f conftest.$ac_objext conftest$ac_exeext
5193 if { (ac_try="$ac_link"
5195 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5196 *) ac_try_echo
=$ac_try;;
5198 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5199 $as_echo "$ac_try_echo") >&5
5200 (eval "$ac_link") 2>conftest.er1
5202 grep -v '^ *+' conftest.er1
>conftest.err
5204 cat conftest.err
>&5
5205 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5206 (exit $ac_status); } && {
5207 test -z "$ac_c_werror_flag" ||
5208 test ! -s conftest.err
5209 } && test -s conftest
$ac_exeext && {
5210 test "$cross_compiling" = yes ||
5211 $as_test_x conftest
$ac_exeext
5213 { $as_echo "$as_me:$LINENO: result: yes" >&5
5214 $as_echo "yes" >&6; }; PYTHON_CFLAGS
="$PYTHON_CFLAGS $threadsafe_flag"
5216 $as_echo "$as_me: failed program was:" >&5
5217 sed 's/^/| /' conftest.
$ac_ext >&5
5219 { $as_echo "$as_me:$LINENO: result: no" >&5
5220 $as_echo "no" >&6; }; LIBS
=$libs_save_old
5224 rm -rf conftest.dSYM
5225 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5226 conftest
$ac_exeext conftest.
$ac_ext
5229 { $as_echo "$as_me:$LINENO: result: no" >&5
5230 $as_echo "no" >&6; }
5233 { $as_echo "$as_me:$LINENO: checking if compile and link flags for Python are sane" >&5
5234 $as_echo_n "checking if compile and link flags for Python are sane... " >&6; }
5237 CFLAGS
="$CFLAGS $PYTHON_CFLAGS"
5238 LIBS
="$LIBS $PYTHON_LIBS"
5239 cat >conftest.
$ac_ext <<_ACEOF
5242 cat confdefs.h
>>conftest.
$ac_ext
5243 cat >>conftest.
$ac_ext <<_ACEOF
5244 /* end confdefs.h. */
5254 rm -f conftest.
$ac_objext conftest
$ac_exeext
5255 if { (ac_try
="$ac_link"
5257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5258 *) ac_try_echo=$ac_try;;
5260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5261 $as_echo "$ac_try_echo") >&5
5262 (eval "$ac_link") 2>conftest.er1
5264 grep -v '^ *+' conftest.er1 >conftest.err
5266 cat conftest.err >&5
5267 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } && {
5269 test -z "$ac_c_werror_flag" ||
5270 test ! -s conftest.err
5271 } && test -s conftest$ac_exeext && {
5272 test "$cross_compiling" = yes ||
5273 $as_test_x conftest$ac_exeext
5275 { $as_echo "$as_me:$LINENO: result: yes" >&5
5276 $as_echo "yes" >&6; }; python_ok=yes
5278 $as_echo "$as_me: failed program was:" >&5
5279 sed 's/^/| /' conftest.$ac_ext >&5
5281 { $as_echo "$as_me:$LINENO: result: no: PYTHON DISABLED" >&5
5282 $as_echo "no: PYTHON DISABLED" >&6; }; python_ok=no
5285 rm -rf conftest.dSYM
5286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5287 conftest$ac_exeext conftest.$ac_ext
5290 if test $python_ok = yes; then
5291 cat >>confdefs.h <<\_ACEOF
5292 #define FEAT_PYTHON 1
5305 { $as_echo "$as_me:$LINENO: result: too old" >&5
5306 $as_echo "too old" >&6; }
5317 { $as_echo "$as_me:$LINENO: checking --enable-tclinterp argument" >&5
5318 $as_echo_n "checking --enable-tclinterp argument... " >&6; }
5319 # Check whether --enable-tclinterp was given.
5320 if test "${enable_tclinterp+set}" = set; then
5321 enableval=$enable_tclinterp;
5323 enable_tclinterp="no"
5326 { $as_echo "$as_me:$LINENO: result: $enable_tclinterp" >&5
5327 $as_echo "$enable_tclinterp" >&6; }
5329 if test "$enable_tclinterp" = "yes"; then
5331 { $as_echo "$as_me:$LINENO: checking --with-tclsh argument" >&5
5332 $as_echo_n "checking --with-tclsh argument... " >&6; }
5334 # Check whether --with-tclsh was given.
5335 if test "${with_tclsh+set}" = set; then
5336 withval=$with_tclsh; tclsh_name="$withval"; { $as_echo "$as_me:$LINENO: result: $tclsh_name" >&5
5337 $as_echo "$tclsh_name" >&6; }
5339 tclsh_name="tclsh8.5"; { $as_echo "$as_me:$LINENO: result: no" >&5
5340 $as_echo "no" >&6; }
5343 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5344 set dummy $tclsh_name; ac_word=$2
5345 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5346 $as_echo_n "checking for $ac_word... " >&6; }
5347 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5348 $as_echo_n "(cached) " >&6
5350 case $vi_cv_path_tcl in
5352 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5362 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5363 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5373 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5374 if test -n "$vi_cv_path_tcl"; then
5375 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5376 $as_echo "$vi_cv_path_tcl" >&6; }
5378 { $as_echo "$as_me:$LINENO: result: no" >&5
5379 $as_echo "no" >&6; }
5385 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.5"; then
5386 tclsh_name="tclsh8.4"
5387 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5388 set dummy $tclsh_name; ac_word=$2
5389 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5390 $as_echo_n "checking for $ac_word... " >&6; }
5391 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5392 $as_echo_n "(cached) " >&6
5394 case $vi_cv_path_tcl in
5396 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5403 test -z "$as_dir" && as_dir=.
5404 for ac_exec_ext in '' $ac_executable_extensions; do
5405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5406 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5407 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5417 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5418 if test -n "$vi_cv_path_tcl"; then
5419 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5420 $as_echo "$vi_cv_path_tcl" >&6; }
5422 { $as_echo "$as_me:$LINENO: result: no" >&5
5423 $as_echo "no" >&6; }
5428 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.4"; then
5429 tclsh_name="tclsh8.2"
5430 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5431 set dummy $tclsh_name; ac_word=$2
5432 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5433 $as_echo_n "checking for $ac_word... " >&6; }
5434 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5435 $as_echo_n "(cached) " >&6
5437 case $vi_cv_path_tcl in
5439 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5446 test -z "$as_dir" && as_dir=.
5447 for ac_exec_ext in '' $ac_executable_extensions; do
5448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5449 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5450 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5460 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5461 if test -n "$vi_cv_path_tcl"; then
5462 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5463 $as_echo "$vi_cv_path_tcl" >&6; }
5465 { $as_echo "$as_me:$LINENO: result: no" >&5
5466 $as_echo "no" >&6; }
5471 if test "X$vi_cv_path_tcl" = "X" -a $tclsh_name = "tclsh8.2"; then
5472 tclsh_name="tclsh8.0"
5473 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5474 set dummy $tclsh_name; ac_word=$2
5475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5478 $as_echo_n "(cached) " >&6
5480 case $vi_cv_path_tcl in
5482 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5492 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5493 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5503 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5504 if test -n "$vi_cv_path_tcl"; then
5505 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5506 $as_echo "$vi_cv_path_tcl" >&6; }
5508 { $as_echo "$as_me:$LINENO: result: no" >&5
5509 $as_echo "no" >&6; }
5514 if test "X$vi_cv_path_tcl" = "X"; then
5516 # Extract the first word of "$tclsh_name", so it can be a program name with args.
5517 set dummy $tclsh_name; ac_word=$2
5518 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5519 $as_echo_n "checking for $ac_word... " >&6; }
5520 if test "${ac_cv_path_vi_cv_path_tcl+set}" = set; then
5521 $as_echo_n "(cached) " >&6
5523 case $vi_cv_path_tcl in
5525 ac_cv_path_vi_cv_path_tcl="$vi_cv_path_tcl" # Let the user override the test with a path.
5528 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5532 test -z "$as_dir" && as_dir=.
5533 for ac_exec_ext in '' $ac_executable_extensions; do
5534 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5535 ac_cv_path_vi_cv_path_tcl="$as_dir/$ac_word$ac_exec_ext"
5536 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5546 vi_cv_path_tcl=$ac_cv_path_vi_cv_path_tcl
5547 if test -n "$vi_cv_path_tcl"; then
5548 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_tcl" >&5
5549 $as_echo "$vi_cv_path_tcl" >&6; }
5551 { $as_echo "$as_me:$LINENO: result: no" >&5
5552 $as_echo "no" >&6; }
5557 if test "X$vi_cv_path_tcl" != "X"; then
5558 { $as_echo "$as_me:$LINENO: checking Tcl version" >&5
5559 $as_echo_n "checking Tcl version... " >&6; }
5560 if echo 'exit [expr [info tclversion] < 8.0]' | $vi_cv_path_tcl - ; then
5561 tclver=`echo 'puts [info tclversion]' |
$vi_cv_path_tcl -`
5562 { $as_echo "$as_me:$LINENO: result: $tclver - OK" >&5
5563 $as_echo "$tclver - OK" >&6; };
5564 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 -`
5566 { $as_echo "$as_me:$LINENO: checking for location of Tcl include" >&5
5567 $as_echo_n "checking for location of Tcl include... " >&6; }
5568 if test "x$MACOSX" != "xyes"; then
5569 tclinc="$tclloc/include $tclloc/include/tcl $tclloc/include/tcl$tclver /usr/local/include /usr/local/include/tcl$tclver /usr/include /usr/include/tcl$tclver"
5571 tclinc="/System/Library/Frameworks/Tcl.framework/Headers"
5574 for try in $tclinc; do
5575 if test -f "$try/tcl.h"; then
5576 { $as_echo "$as_me:$LINENO: result: $try/tcl.h" >&5
5577 $as_echo "$try/tcl.h" >&6; }
5582 if test -z "$TCL_INC"; then
5583 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
5584 $as_echo "<not found>" >&6; }
5587 if test -z "$SKIP_TCL"; then
5588 { $as_echo "$as_me:$LINENO: checking for location of tclConfig.sh script" >&5
5589 $as_echo_n "checking for location of tclConfig.sh script... " >&6; }
5590 if test "x$MACOSX" != "xyes"; then
5591 tclcnf=`echo $tclinc |
sed s
/include
/lib
/g
`
5592 tclcnf="$tclcnf `echo $tclinc |
sed s
/include
/lib64
/g
`"
5594 tclcnf="/System/Library/Frameworks/Tcl.framework"
5596 for try in $tclcnf; do
5597 if test -f $try/tclConfig.sh; then
5598 { $as_echo "$as_me:$LINENO: result: $try/tclConfig.sh" >&5
5599 $as_echo "$try/tclConfig.sh" >&6; }
5601 TCL_LIBS=`eval echo "$TCL_LIB_SPEC $TCL_LIBS"`
5602 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'`
5606 if test -z "$TCL_LIBS"; then
5607 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
5608 $as_echo "<not found>" >&6; }
5609 { $as_echo "$as_me:$LINENO: checking for Tcl library by myself" >&5
5610 $as_echo_n "checking for Tcl library by myself... " >&6; }
5611 tcllib=`echo $tclinc |
sed s
/include
/lib
/g
`
5612 tcllib="$tcllib `echo $tclinc |
sed s
/include
/lib64
/g
`"
5613 for ext in .so .a ; do
5614 for ver in "" $tclver ; do
5615 for try in $tcllib ; do
5617 if test -f $try/lib$trylib ; then
5618 { $as_echo "$as_me:$LINENO: result: $try/lib$trylib" >&5
5619 $as_echo "$try/lib$trylib" >&6; }
5620 TCL_LIBS="-L$try -ltcl$ver -ldl -lm"
5621 if test "`(uname
) 2>/dev
/null
`" = SunOS &&
5622 uname -r | grep '^5' >/dev/null; then
5623 TCL_LIBS="$TCL_LIBS -R $try"
5630 if test -z "$TCL_LIBS"; then
5631 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
5632 $as_echo "<not found>" >&6; }
5636 if test -z "$SKIP_TCL"; then
5637 cat >>confdefs.h <<\_ACEOF
5642 TCL_OBJ=objects/if_tcl.o
5644 TCL_CFLAGS="-I$TCL_INC $TCL_DEFS"
5648 { $as_echo "$as_me:$LINENO: result: too old; need Tcl version 8.0 or later" >&5
5649 $as_echo "too old; need Tcl version 8.0 or later" >&6; }
5659 { $as_echo "$as_me:$LINENO: checking --enable-rubyinterp argument" >&5
5660 $as_echo_n "checking --enable-rubyinterp argument... " >&6; }
5661 # Check whether --enable-rubyinterp was given.
5662 if test "${enable_rubyinterp+set}" = set; then
5663 enableval=$enable_rubyinterp;
5665 enable_rubyinterp="no"
5668 { $as_echo "$as_me:$LINENO: result: $enable_rubyinterp" >&5
5669 $as_echo "$enable_rubyinterp" >&6; }
5670 if test "$enable_rubyinterp" = "yes"; then
5672 # Extract the first word of "ruby", so it can be a program name with args.
5673 set dummy ruby; ac_word=$2
5674 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5675 $as_echo_n "checking for $ac_word... " >&6; }
5676 if test "${ac_cv_path_vi_cv_path_ruby+set}" = set; then
5677 $as_echo_n "(cached) " >&6
5679 case $vi_cv_path_ruby in
5681 ac_cv_path_vi_cv_path_ruby="$vi_cv_path_ruby" # Let the user override the test with a path.
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5691 ac_cv_path_vi_cv_path_ruby="$as_dir/$ac_word$ac_exec_ext"
5692 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 vi_cv_path_ruby=$ac_cv_path_vi_cv_path_ruby
5703 if test -n "$vi_cv_path_ruby"; then
5704 { $as_echo "$as_me:$LINENO: result: $vi_cv_path_ruby" >&5
5705 $as_echo "$vi_cv_path_ruby" >&6; }
5707 { $as_echo "$as_me:$LINENO: result: no" >&5
5708 $as_echo "no" >&6; }
5712 if test "X$vi_cv_path_ruby" != "X"; then
5713 { $as_echo "$as_me:$LINENO: checking Ruby version" >&5
5714 $as_echo_n "checking Ruby version... " >&6; }
5715 if $vi_cv_path_ruby -e '(VERSION rescue RUBY_VERSION) >= "1.6.0" or exit 1' >/dev/null 2>/dev/null; then
5716 { $as_echo "$as_me:$LINENO: result: OK" >&5
5717 $as_echo "OK" >&6; }
5718 { $as_echo "$as_me:$LINENO: checking Ruby header files" >&5
5719 $as_echo_n "checking Ruby header files... " >&6; }
5720 rubyhdrdir=`$vi_cv_path_ruby -r mkmf
-e 'print Config::CONFIG["archdir"] || $hdrdir' 2>/dev
/null
`
5721 if test "X$rubyhdrdir" != "X"; then
5722 { $as_echo "$as_me:$LINENO: result: $rubyhdrdir" >&5
5723 $as_echo "$rubyhdrdir" >&6; }
5724 RUBY_CFLAGS="-I$rubyhdrdir"
5725 rubylibs=`$vi_cv_path_ruby -r rbconfig
-e 'print Config::CONFIG["LIBS"]'`
5726 if test "X$rubylibs" != "X"; then
5727 RUBY_LIBS="$rubylibs"
5729 librubyarg=`$vi_cv_path_ruby -r rbconfig
-e 'print Config.expand(Config::CONFIG["LIBRUBYARG"])'`
5730 if test -f "$rubyhdrdir/$librubyarg"; then
5731 librubyarg="$rubyhdrdir/$librubyarg"
5733 rubylibdir=`$vi_cv_path_ruby -r rbconfig
-e 'print Config.expand(Config::CONFIG["libdir"])'`
5734 if test -f "$rubylibdir/$librubyarg"; then
5735 librubyarg="$rubylibdir/$librubyarg"
5736 elif test "$librubyarg" = "libruby.a"; then
5739 librubyarg=`$vi_cv_path_ruby -r rbconfig
-e "print '$librubyarg'.gsub(/-L\./, %'-L#{Config.expand(Config::CONFIG[\"libdir\"])}')"`
5743 if test "X$librubyarg" != "X"; then
5744 RUBY_LIBS="$librubyarg $RUBY_LIBS"
5746 rubyldflags=`$vi_cv_path_ruby -r rbconfig
-e 'print Config::CONFIG["LDFLAGS"]'`
5747 if test "X$rubyldflags" != "X"; then
5748 LDFLAGS="$rubyldflags $LDFLAGS"
5750 RUBY_SRC="if_ruby.c"
5751 RUBY_OBJ="objects/if_ruby.o"
5752 RUBY_PRO="if_ruby.pro"
5753 cat >>confdefs.h <<\_ACEOF
5758 { $as_echo "$as_me:$LINENO: result: not found" >&5
5759 $as_echo "not found" >&6; }
5762 { $as_echo "$as_me:$LINENO: result: too old; need Ruby version 1.6.0 or later" >&5
5763 $as_echo "too old; need Ruby version 1.6.0 or later" >&6; }
5773 { $as_echo "$as_me:$LINENO: checking --enable-cscope argument" >&5
5774 $as_echo_n "checking --enable-cscope argument... " >&6; }
5775 # Check whether --enable-cscope was given.
5776 if test "${enable_cscope+set}" = set; then
5777 enableval=$enable_cscope;
5782 { $as_echo "$as_me:$LINENO: result: $enable_cscope" >&5
5783 $as_echo "$enable_cscope" >&6; }
5784 if test "$enable_cscope" = "yes"; then
5785 cat >>confdefs.h <<\_ACEOF
5786 #define FEAT_CSCOPE 1
5791 { $as_echo "$as_me:$LINENO: checking --enable-workshop argument" >&5
5792 $as_echo_n "checking --enable-workshop argument... " >&6; }
5793 # Check whether --enable-workshop was given.
5794 if test "${enable_workshop+set}" = set; then
5795 enableval=$enable_workshop;
5797 enable_workshop="no"
5800 { $as_echo "$as_me:$LINENO: result: $enable_workshop" >&5
5801 $as_echo "$enable_workshop" >&6; }
5802 if test "$enable_workshop" = "yes"; then
5803 cat >>confdefs.h <<\_ACEOF
5804 #define FEAT_SUN_WORKSHOP 1
5807 WORKSHOP_SRC="workshop.c integration.c"
5809 WORKSHOP_OBJ="objects/workshop.o objects/integration.o"
5811 if test "${enable_gui-xxx}" = xxx; then
5816 { $as_echo "$as_me:$LINENO: checking --disable-netbeans argument" >&5
5817 $as_echo_n "checking --disable-netbeans argument... " >&6; }
5818 # Check whether --enable-netbeans was given.
5819 if test "${enable_netbeans+set}" = set; then
5820 enableval=$enable_netbeans;
5822 enable_netbeans="yes"
5825 if test "$enable_netbeans" = "yes"; then
5826 { $as_echo "$as_me:$LINENO: result: no" >&5
5827 $as_echo "no" >&6; }
5829 { $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
5830 $as_echo_n "checking for socket in -lsocket... " >&6; }
5831 if test "${ac_cv_lib_socket_socket+set}" = set; then
5832 $as_echo_n "(cached) " >&6
5834 ac_check_lib_save_LIBS=$LIBS
5835 LIBS="-lsocket $LIBS"
5836 cat >conftest.$ac_ext <<_ACEOF
5839 cat confdefs.h >>conftest.$ac_ext
5840 cat >>conftest.$ac_ext <<_ACEOF
5841 /* end confdefs.h. */
5843 /* Override any GCC internal prototype to avoid an error.
5844 Use char because int might match the return type of a GCC
5845 builtin and then its argument prototype would still apply. */
5858 rm -f conftest.$ac_objext conftest$ac_exeext
5859 if { (ac_try="$ac_link"
5861 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5862 *) ac_try_echo
=$ac_try;;
5864 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
5865 $as_echo "$ac_try_echo") >&5
5866 (eval "$ac_link") 2>conftest.er1
5868 grep -v '^ *+' conftest.er1
>conftest.err
5870 cat conftest.err
>&5
5871 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5872 (exit $ac_status); } && {
5873 test -z "$ac_c_werror_flag" ||
5874 test ! -s conftest.err
5875 } && test -s conftest
$ac_exeext && {
5876 test "$cross_compiling" = yes ||
5877 $as_test_x conftest
$ac_exeext
5879 ac_cv_lib_socket_socket
=yes
5881 $as_echo "$as_me: failed program was:" >&5
5882 sed 's/^/| /' conftest.
$ac_ext >&5
5884 ac_cv_lib_socket_socket
=no
5887 rm -rf conftest.dSYM
5888 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5889 conftest
$ac_exeext conftest.
$ac_ext
5890 LIBS
=$ac_check_lib_save_LIBS
5892 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
5893 $as_echo "$ac_cv_lib_socket_socket" >&6; }
5894 if test $ac_cv_lib_socket_socket = yes; then
5895 cat >>confdefs.h
<<_ACEOF
5896 #define HAVE_LIBSOCKET 1
5899 LIBS
="-lsocket $LIBS"
5904 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5905 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
5906 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5907 $as_echo_n "(cached) " >&6
5909 ac_check_lib_save_LIBS
=$LIBS
5911 cat >conftest.
$ac_ext <<_ACEOF
5914 cat confdefs.h
>>conftest.
$ac_ext
5915 cat >>conftest.
$ac_ext <<_ACEOF
5916 /* end confdefs.h. */
5918 /* Override any GCC internal prototype to avoid an error.
5919 Use char because int might match the return type of a GCC
5920 builtin and then its argument prototype would still apply. */
5924 char gethostbyname ();
5928 return gethostbyname ();
5933 rm -f conftest.
$ac_objext conftest
$ac_exeext
5934 if { (ac_try
="$ac_link"
5936 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5937 *) ac_try_echo=$ac_try;;
5939 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5940 $as_echo "$ac_try_echo") >&5
5941 (eval "$ac_link") 2>conftest.er1
5943 grep -v '^ *+' conftest.er1 >conftest.err
5945 cat conftest.err >&5
5946 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } && {
5948 test -z "$ac_c_werror_flag" ||
5949 test ! -s conftest.err
5950 } && test -s conftest$ac_exeext && {
5951 test "$cross_compiling" = yes ||
5952 $as_test_x conftest$ac_exeext
5954 ac_cv_lib_nsl_gethostbyname=yes
5956 $as_echo "$as_me: failed program was:" >&5
5957 sed 's/^/| /' conftest.$ac_ext >&5
5959 ac_cv_lib_nsl_gethostbyname=no
5962 rm -rf conftest.dSYM
5963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5964 conftest$ac_exeext conftest.$ac_ext
5965 LIBS=$ac_check_lib_save_LIBS
5967 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5968 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
5969 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5970 cat >>confdefs.h <<_ACEOF
5971 #define HAVE_LIBNSL 1
5978 { $as_echo "$as_me:$LINENO: checking whether compiling netbeans integration is possible" >&5
5979 $as_echo_n "checking whether compiling netbeans integration is possible... " >&6; }
5980 cat >conftest.$ac_ext <<_ACEOF
5983 cat confdefs.h >>conftest.$ac_ext
5984 cat >>conftest.$ac_ext <<_ACEOF
5985 /* end confdefs.h. */
5992 #include <netinet/in.h>
5994 #include <sys/types.h>
5995 #include <sys/socket.h>
5996 /* Check bitfields */
5998 unsigned int initDone:1;
6006 /* Check creating a socket. */
6007 struct sockaddr_in server;
6008 (void)socket(AF_INET, SOCK_STREAM, 0);
6010 (void)gethostbyname("microsoft.com");
6011 if (errno == ECONNREFUSED)
6012 (void)connect(1, (struct sockaddr *)&server, sizeof(server));
6018 rm -f conftest.$ac_objext conftest$ac_exeext
6019 if { (ac_try="$ac_link"
6021 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6022 *) ac_try_echo
=$ac_try;;
6024 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6025 $as_echo "$ac_try_echo") >&5
6026 (eval "$ac_link") 2>conftest.er1
6028 grep -v '^ *+' conftest.er1
>conftest.err
6030 cat conftest.err
>&5
6031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6032 (exit $ac_status); } && {
6033 test -z "$ac_c_werror_flag" ||
6034 test ! -s conftest.err
6035 } && test -s conftest
$ac_exeext && {
6036 test "$cross_compiling" = yes ||
6037 $as_test_x conftest
$ac_exeext
6039 { $as_echo "$as_me:$LINENO: result: yes" >&5
6040 $as_echo "yes" >&6; }
6042 $as_echo "$as_me: failed program was:" >&5
6043 sed 's/^/| /' conftest.
$ac_ext >&5
6045 { $as_echo "$as_me:$LINENO: result: no" >&5
6046 $as_echo "no" >&6; }; enable_netbeans
="no"
6049 rm -rf conftest.dSYM
6050 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6051 conftest
$ac_exeext conftest.
$ac_ext
6053 { $as_echo "$as_me:$LINENO: result: yes" >&5
6054 $as_echo "yes" >&6; }
6056 if test "$enable_netbeans" = "yes"; then
6057 cat >>confdefs.h
<<\_ACEOF
6058 #define FEAT_NETBEANS_INTG 1
6061 NETBEANS_SRC
="netbeans.c"
6063 NETBEANS_OBJ
="objects/netbeans.o"
6067 { $as_echo "$as_me:$LINENO: checking --enable-sniff argument" >&5
6068 $as_echo_n "checking --enable-sniff argument... " >&6; }
6069 # Check whether --enable-sniff was given.
6070 if test "${enable_sniff+set}" = set; then
6071 enableval
=$enable_sniff;
6076 { $as_echo "$as_me:$LINENO: result: $enable_sniff" >&5
6077 $as_echo "$enable_sniff" >&6; }
6078 if test "$enable_sniff" = "yes"; then
6079 cat >>confdefs.h
<<\_ACEOF
6080 #define FEAT_SNIFF 1
6083 SNIFF_SRC
="if_sniff.c"
6085 SNIFF_OBJ
="objects/if_sniff.o"
6089 { $as_echo "$as_me:$LINENO: checking --enable-multibyte argument" >&5
6090 $as_echo_n "checking --enable-multibyte argument... " >&6; }
6091 # Check whether --enable-multibyte was given.
6092 if test "${enable_multibyte+set}" = set; then
6093 enableval
=$enable_multibyte;
6095 enable_multibyte
="no"
6098 { $as_echo "$as_me:$LINENO: result: $enable_multibyte" >&5
6099 $as_echo "$enable_multibyte" >&6; }
6100 if test "$enable_multibyte" = "yes"; then
6101 cat >>confdefs.h
<<\_ACEOF
6102 #define FEAT_MBYTE 1
6107 { $as_echo "$as_me:$LINENO: checking --enable-hangulinput argument" >&5
6108 $as_echo_n "checking --enable-hangulinput argument... " >&6; }
6109 # Check whether --enable-hangulinput was given.
6110 if test "${enable_hangulinput+set}" = set; then
6111 enableval
=$enable_hangulinput;
6113 enable_hangulinput
="no"
6116 { $as_echo "$as_me:$LINENO: result: $enable_hangulinput" >&5
6117 $as_echo "$enable_hangulinput" >&6; }
6119 { $as_echo "$as_me:$LINENO: checking --enable-xim argument" >&5
6120 $as_echo_n "checking --enable-xim argument... " >&6; }
6121 # Check whether --enable-xim was given.
6122 if test "${enable_xim+set}" = set; then
6123 enableval
=$enable_xim; { $as_echo "$as_me:$LINENO: result: $enable_xim" >&5
6124 $as_echo "$enable_xim" >&6; }
6126 enable_xim
="auto"; { $as_echo "$as_me:$LINENO: result: defaulting to auto" >&5
6127 $as_echo "defaulting to auto" >&6; }
6131 { $as_echo "$as_me:$LINENO: checking --enable-fontset argument" >&5
6132 $as_echo_n "checking --enable-fontset argument... " >&6; }
6133 # Check whether --enable-fontset was given.
6134 if test "${enable_fontset+set}" = set; then
6135 enableval
=$enable_fontset;
6140 { $as_echo "$as_me:$LINENO: result: $enable_fontset" >&5
6141 $as_echo "$enable_fontset" >&6; }
6143 test -z "$with_x" && with_x
=yes
6144 test "${enable_gui-yes}" != no
-a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && with_x
=yes
6145 if test "$with_x" = no
; then
6146 { $as_echo "$as_me:$LINENO: result: defaulting to: don't HAVE_X11" >&5
6147 $as_echo "defaulting to: don't HAVE_X11" >&6; }
6150 # Extract the first word of "xmkmf", so it can be a program name with args.
6151 set dummy xmkmf
; ac_word
=$2
6152 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6153 $as_echo_n "checking for $ac_word... " >&6; }
6154 if test "${ac_cv_path_xmkmfpath+set}" = set; then
6155 $as_echo_n "(cached) " >&6
6159 ac_cv_path_xmkmfpath
="$xmkmfpath" # Let the user override the test with a path.
6162 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6166 test -z "$as_dir" && as_dir
=.
6167 for ac_exec_ext
in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_path_xmkmfpath
="$as_dir/$ac_word$ac_exec_ext"
6170 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6180 xmkmfpath
=$ac_cv_path_xmkmfpath
6181 if test -n "$xmkmfpath"; then
6182 { $as_echo "$as_me:$LINENO: result: $xmkmfpath" >&5
6183 $as_echo "$xmkmfpath" >&6; }
6185 { $as_echo "$as_me:$LINENO: result: no" >&5
6186 $as_echo "no" >&6; }
6191 { $as_echo "$as_me:$LINENO: checking for X" >&5
6192 $as_echo_n "checking for X... " >&6; }
6195 # Check whether --with-x was given.
6196 if test "${with_x+set}" = set; then
6200 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6201 if test "x$with_x" = xno
; then
6202 # The user explicitly disabled X.
6205 case $x_includes,$x_libraries in #(
6206 *\'*) { { $as_echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
6207 $as_echo "$as_me: error: Cannot use X directory names containing '" >&2;}
6208 { (exit 1); exit 1; }; };; #(
6209 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then
6210 $as_echo_n "(cached) " >&6
6212 # One or both of the vars are not set, and there is no cached value.
6213 ac_x_includes
=no ac_x_libraries
=no
6214 rm -f -r conftest.dir
6215 if mkdir conftest.dir
; then
6217 cat >Imakefile
<<'_ACEOF'
6219 @echo incroot='${INCROOT}'
6221 @echo usrlibdir='${USRLIBDIR}'
6223 @echo libdir='${LIBDIR}'
6225 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6226 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6227 for ac_var
in incroot usrlibdir libdir
; do
6228 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
6230 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6231 for ac_extension
in a so sl dylib la dll
; do
6232 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
6233 test -f "$ac_im_libdir/libX11.$ac_extension"; then
6234 ac_im_usrlibdir
=$ac_im_libdir; break
6237 # Screen out bogus values from the imake configuration. They are
6238 # bogus both because they are the default anyway, and because
6239 # using them would break gcc on systems where it needs fixed includes.
6240 case $ac_im_incroot in
6241 /usr
/include
) ac_x_includes
= ;;
6242 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
6244 case $ac_im_usrlibdir in
6246 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
6250 rm -f -r conftest.dir
6253 # Standard set of common directories for X headers.
6254 # Check X11 before X11Rn because it is often a symlink to the current release.
6266 /usr/local/X11/include
6267 /usr/local/X11R6/include
6268 /usr/local/X11R5/include
6269 /usr/local/X11R4/include
6271 /usr/local/include/X11
6272 /usr/local/include/X11R6
6273 /usr/local/include/X11R5
6274 /usr/local/include/X11R4
6278 /usr/XFree86/include/X11
6282 /usr/unsupported/include
6284 /usr/local/x11r5/include
6285 /usr/lpp/Xamples/include
6287 /usr/openwin/include
6288 /usr/openwin/share/include'
6290 if test "$ac_x_includes" = no
; then
6291 # Guess where to find include files, by looking for Xlib.h.
6292 # First, try using that file with no special directory specified.
6293 cat >conftest.
$ac_ext <<_ACEOF
6296 cat confdefs.h
>>conftest.
$ac_ext
6297 cat >>conftest.
$ac_ext <<_ACEOF
6298 /* end confdefs.h. */
6299 #include <X11/Xlib.h>
6301 if { (ac_try
="$ac_cpp conftest.$ac_ext"
6303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6304 *) ac_try_echo=$ac_try;;
6306 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6307 $as_echo "$ac_try_echo") >&5
6308 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6310 grep -v '^ *+' conftest.er1 >conftest.err
6312 cat conftest.err >&5
6313 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6314 (exit $ac_status); } >/dev/null && {
6315 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6316 test ! -s conftest.err
6318 # We can compile using X headers with no special include directory.
6321 $as_echo "$as_me: failed program was:" >&5
6322 sed 's/^/| /' conftest.$ac_ext >&5
6324 for ac_dir in $ac_x_header_dirs; do
6325 if test -r "$ac_dir/X11/Xlib.h"; then
6326 ac_x_includes=$ac_dir
6332 rm -f conftest.err conftest.$ac_ext
6333 fi # $ac_x_includes = no
6335 if test "$ac_x_libraries" = no; then
6336 # Check for the libraries.
6337 # See if we find them without any special options.
6338 # Don't add to $LIBS permanently.
6341 cat >conftest.$ac_ext <<_ACEOF
6344 cat confdefs.h >>conftest.$ac_ext
6345 cat >>conftest.$ac_ext <<_ACEOF
6346 /* end confdefs.h. */
6347 #include <X11/Xlib.h>
6356 rm -f conftest.$ac_objext conftest$ac_exeext
6357 if { (ac_try="$ac_link"
6359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6360 *) ac_try_echo
=$ac_try;;
6362 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6363 $as_echo "$ac_try_echo") >&5
6364 (eval "$ac_link") 2>conftest.er1
6366 grep -v '^ *+' conftest.er1
>conftest.err
6368 cat conftest.err
>&5
6369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6370 (exit $ac_status); } && {
6371 test -z "$ac_c_werror_flag" ||
6372 test ! -s conftest.err
6373 } && test -s conftest
$ac_exeext && {
6374 test "$cross_compiling" = yes ||
6375 $as_test_x conftest
$ac_exeext
6378 # We can link X programs with no special library path.
6381 $as_echo "$as_me: failed program was:" >&5
6382 sed 's/^/| /' conftest.
$ac_ext >&5
6385 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
6387 # Don't even attempt the hair of trying to link an X program!
6388 for ac_extension
in a so sl dylib la dll
; do
6389 if test -r "$ac_dir/libX11.$ac_extension"; then
6390 ac_x_libraries
=$ac_dir
6397 rm -rf conftest.dSYM
6398 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6399 conftest
$ac_exeext conftest.
$ac_ext
6400 fi # $ac_x_libraries = no
6402 case $ac_x_includes,$ac_x_libraries in #(
6404 # Didn't find X, or a directory has "'" in its name.
6405 ac_cv_have_x
="have_x=no";; #(
6407 # Record where we found X for the cache.
6408 ac_cv_have_x
="have_x=yes\
6409 ac_x_includes='$ac_x_includes'\
6410 ac_x_libraries='$ac_x_libraries'"
6416 eval "$ac_cv_have_x"
6419 if test "$have_x" != yes; then
6420 { $as_echo "$as_me:$LINENO: result: $have_x" >&5
6421 $as_echo "$have_x" >&6; }
6424 # If each of the values was on the command line, it overrides each guess.
6425 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6426 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6427 # Update the cache value to reflect the command line values.
6428 ac_cv_have_x
="have_x=yes\
6429 ac_x_includes='$x_includes'\
6430 ac_x_libraries='$x_libraries'"
6431 { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
6432 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
6435 if test "$no_x" = yes; then
6436 # Not all programs may use this symbol, but it does not hurt to define it.
6438 cat >>confdefs.h
<<\_ACEOF
6439 #define X_DISPLAY_MISSING 1
6442 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6444 if test -n "$x_includes"; then
6445 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6448 # It would also be nice to do this for all -L options, not just this one.
6449 if test -n "$x_libraries"; then
6450 X_LIBS
="$X_LIBS -L$x_libraries"
6451 # For Solaris; some versions of Sun CC require a space after -R and
6452 # others require no space. Words are not sufficient . . . .
6453 { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
6454 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
6455 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
6456 ac_xsave_c_werror_flag
=$ac_c_werror_flag
6457 ac_c_werror_flag
=yes
6458 cat >conftest.
$ac_ext <<_ACEOF
6461 cat confdefs.h
>>conftest.
$ac_ext
6462 cat >>conftest.
$ac_ext <<_ACEOF
6463 /* end confdefs.h. */
6473 rm -f conftest.
$ac_objext conftest
$ac_exeext
6474 if { (ac_try
="$ac_link"
6476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6477 *) ac_try_echo=$ac_try;;
6479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6480 $as_echo "$ac_try_echo") >&5
6481 (eval "$ac_link") 2>conftest.er1
6483 grep -v '^ *+' conftest.er1 >conftest.err
6485 cat conftest.err >&5
6486 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6487 (exit $ac_status); } && {
6488 test -z "$ac_c_werror_flag" ||
6489 test ! -s conftest.err
6490 } && test -s conftest$ac_exeext && {
6491 test "$cross_compiling" = yes ||
6492 $as_test_x conftest$ac_exeext
6494 { $as_echo "$as_me:$LINENO: result: no" >&5
6495 $as_echo "no" >&6; }
6496 X_LIBS="$X_LIBS -R$x_libraries"
6498 $as_echo "$as_me: failed program was:" >&5
6499 sed 's/^/| /' conftest.$ac_ext >&5
6501 LIBS="$ac_xsave_LIBS -R $x_libraries"
6502 cat >conftest.$ac_ext <<_ACEOF
6505 cat confdefs.h >>conftest.$ac_ext
6506 cat >>conftest.$ac_ext <<_ACEOF
6507 /* end confdefs.h. */
6517 rm -f conftest.$ac_objext conftest$ac_exeext
6518 if { (ac_try="$ac_link"
6520 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6521 *) ac_try_echo
=$ac_try;;
6523 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6524 $as_echo "$ac_try_echo") >&5
6525 (eval "$ac_link") 2>conftest.er1
6527 grep -v '^ *+' conftest.er1
>conftest.err
6529 cat conftest.err
>&5
6530 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); } && {
6532 test -z "$ac_c_werror_flag" ||
6533 test ! -s conftest.err
6534 } && test -s conftest
$ac_exeext && {
6535 test "$cross_compiling" = yes ||
6536 $as_test_x conftest
$ac_exeext
6538 { $as_echo "$as_me:$LINENO: result: yes" >&5
6539 $as_echo "yes" >&6; }
6540 X_LIBS
="$X_LIBS -R $x_libraries"
6542 $as_echo "$as_me: failed program was:" >&5
6543 sed 's/^/| /' conftest.
$ac_ext >&5
6545 { $as_echo "$as_me:$LINENO: result: neither works" >&5
6546 $as_echo "neither works" >&6; }
6549 rm -rf conftest.dSYM
6550 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6551 conftest
$ac_exeext conftest.
$ac_ext
6554 rm -rf conftest.dSYM
6555 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6556 conftest
$ac_exeext conftest.
$ac_ext
6557 ac_c_werror_flag
=$ac_xsave_c_werror_flag
6561 # Check for system-dependent libraries X programs must link with.
6562 # Do this before checking for the system-independent R6 libraries
6563 # (-lICE), since we may need -lsocket or whatever for X linking.
6565 if test "$ISC" = yes; then
6566 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6568 # Martyn Johnson says this is needed for Ultrix, if the X
6569 # libraries were built with DECnet support. And Karl Berry says
6570 # the Alpha needs dnet_stub (dnet does not exist).
6571 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
6572 cat >conftest.
$ac_ext <<_ACEOF
6575 cat confdefs.h
>>conftest.
$ac_ext
6576 cat >>conftest.
$ac_ext <<_ACEOF
6577 /* end confdefs.h. */
6579 /* Override any GCC internal prototype to avoid an error.
6580 Use char because int might match the return type of a GCC
6581 builtin and then its argument prototype would still apply. */
6585 char XOpenDisplay ();
6589 return XOpenDisplay ();
6594 rm -f conftest.
$ac_objext conftest
$ac_exeext
6595 if { (ac_try
="$ac_link"
6597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6598 *) ac_try_echo=$ac_try;;
6600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6601 $as_echo "$ac_try_echo") >&5
6602 (eval "$ac_link") 2>conftest.er1
6604 grep -v '^ *+' conftest.er1 >conftest.err
6606 cat conftest.err >&5
6607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6608 (exit $ac_status); } && {
6609 test -z "$ac_c_werror_flag" ||
6610 test ! -s conftest.err
6611 } && test -s conftest$ac_exeext && {
6612 test "$cross_compiling" = yes ||
6613 $as_test_x conftest$ac_exeext
6617 $as_echo "$as_me: failed program was:" >&5
6618 sed 's/^/| /' conftest.$ac_ext >&5
6620 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
6621 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
6622 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
6623 $as_echo_n "(cached) " >&6
6625 ac_check_lib_save_LIBS=$LIBS
6627 cat >conftest.$ac_ext <<_ACEOF
6630 cat confdefs.h >>conftest.$ac_ext
6631 cat >>conftest.$ac_ext <<_ACEOF
6632 /* end confdefs.h. */
6634 /* Override any GCC internal prototype to avoid an error.
6635 Use char because int might match the return type of a GCC
6636 builtin and then its argument prototype would still apply. */
6644 return dnet_ntoa ();
6649 rm -f conftest.$ac_objext conftest$ac_exeext
6650 if { (ac_try="$ac_link"
6652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6653 *) ac_try_echo
=$ac_try;;
6655 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6656 $as_echo "$ac_try_echo") >&5
6657 (eval "$ac_link") 2>conftest.er1
6659 grep -v '^ *+' conftest.er1
>conftest.err
6661 cat conftest.err
>&5
6662 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6663 (exit $ac_status); } && {
6664 test -z "$ac_c_werror_flag" ||
6665 test ! -s conftest.err
6666 } && test -s conftest
$ac_exeext && {
6667 test "$cross_compiling" = yes ||
6668 $as_test_x conftest
$ac_exeext
6670 ac_cv_lib_dnet_dnet_ntoa
=yes
6672 $as_echo "$as_me: failed program was:" >&5
6673 sed 's/^/| /' conftest.
$ac_ext >&5
6675 ac_cv_lib_dnet_dnet_ntoa
=no
6678 rm -rf conftest.dSYM
6679 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6680 conftest
$ac_exeext conftest.
$ac_ext
6681 LIBS
=$ac_check_lib_save_LIBS
6683 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
6684 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
6685 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
6686 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
6689 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
6690 { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
6691 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
6692 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
6693 $as_echo_n "(cached) " >&6
6695 ac_check_lib_save_LIBS
=$LIBS
6696 LIBS
="-ldnet_stub $LIBS"
6697 cat >conftest.
$ac_ext <<_ACEOF
6700 cat confdefs.h
>>conftest.
$ac_ext
6701 cat >>conftest.
$ac_ext <<_ACEOF
6702 /* end confdefs.h. */
6704 /* Override any GCC internal prototype to avoid an error.
6705 Use char because int might match the return type of a GCC
6706 builtin and then its argument prototype would still apply. */
6714 return dnet_ntoa ();
6719 rm -f conftest.
$ac_objext conftest
$ac_exeext
6720 if { (ac_try
="$ac_link"
6722 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6723 *) ac_try_echo=$ac_try;;
6725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6726 $as_echo "$ac_try_echo") >&5
6727 (eval "$ac_link") 2>conftest.er1
6729 grep -v '^ *+' conftest.er1 >conftest.err
6731 cat conftest.err >&5
6732 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6733 (exit $ac_status); } && {
6734 test -z "$ac_c_werror_flag" ||
6735 test ! -s conftest.err
6736 } && test -s conftest$ac_exeext && {
6737 test "$cross_compiling" = yes ||
6738 $as_test_x conftest$ac_exeext
6740 ac_cv_lib_dnet_stub_dnet_ntoa=yes
6742 $as_echo "$as_me: failed program was:" >&5
6743 sed 's/^/| /' conftest.$ac_ext >&5
6745 ac_cv_lib_dnet_stub_dnet_ntoa=no
6748 rm -rf conftest.dSYM
6749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6750 conftest$ac_exeext conftest.$ac_ext
6751 LIBS=$ac_check_lib_save_LIBS
6753 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
6754 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
6755 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
6756 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
6762 rm -rf conftest.dSYM
6763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6764 conftest$ac_exeext conftest.$ac_ext
6765 LIBS="$ac_xsave_LIBS"
6767 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
6768 # to get the SysV transport functions.
6769 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
6771 # The nsl library prevents programs from opening the X display
6772 # on Irix 5.2, according to T.E. Dickey.
6773 # The functions gethostbyname, getservbyname, and inet_addr are
6774 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
6775 { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5
6776 $as_echo_n "checking for gethostbyname... " >&6; }
6777 if test "${ac_cv_func_gethostbyname+set}" = set; then
6778 $as_echo_n "(cached) " >&6
6780 cat >conftest.$ac_ext <<_ACEOF
6783 cat confdefs.h >>conftest.$ac_ext
6784 cat >>conftest.$ac_ext <<_ACEOF
6785 /* end confdefs.h. */
6786 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
6787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6788 #define gethostbyname innocuous_gethostbyname
6790 /* System header to define __stub macros and hopefully few prototypes,
6791 which can conflict with char gethostbyname (); below.
6792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6793 <limits.h> exists even on freestanding compilers. */
6796 # include <limits.h>
6798 # include <assert.h>
6801 #undef gethostbyname
6803 /* Override any GCC internal prototype to avoid an error.
6804 Use char because int might match the return type of a GCC
6805 builtin and then its argument prototype would still apply. */
6809 char gethostbyname ();
6810 /* The GNU C library defines this for functions which it implements
6811 to always fail with ENOSYS. Some functions are actually named
6812 something starting with __ and the normal name is an alias. */
6813 #if defined __stub_gethostbyname || defined __stub___gethostbyname
6820 return gethostbyname ();
6825 rm -f conftest.$ac_objext conftest$ac_exeext
6826 if { (ac_try="$ac_link"
6828 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6829 *) ac_try_echo
=$ac_try;;
6831 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6832 $as_echo "$ac_try_echo") >&5
6833 (eval "$ac_link") 2>conftest.er1
6835 grep -v '^ *+' conftest.er1
>conftest.err
6837 cat conftest.err
>&5
6838 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6839 (exit $ac_status); } && {
6840 test -z "$ac_c_werror_flag" ||
6841 test ! -s conftest.err
6842 } && test -s conftest
$ac_exeext && {
6843 test "$cross_compiling" = yes ||
6844 $as_test_x conftest
$ac_exeext
6846 ac_cv_func_gethostbyname
=yes
6848 $as_echo "$as_me: failed program was:" >&5
6849 sed 's/^/| /' conftest.
$ac_ext >&5
6851 ac_cv_func_gethostbyname
=no
6854 rm -rf conftest.dSYM
6855 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6856 conftest
$ac_exeext conftest.
$ac_ext
6858 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
6859 $as_echo "$ac_cv_func_gethostbyname" >&6; }
6861 if test $ac_cv_func_gethostbyname = no
; then
6862 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
6863 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
6864 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
6865 $as_echo_n "(cached) " >&6
6867 ac_check_lib_save_LIBS
=$LIBS
6869 cat >conftest.
$ac_ext <<_ACEOF
6872 cat confdefs.h
>>conftest.
$ac_ext
6873 cat >>conftest.
$ac_ext <<_ACEOF
6874 /* end confdefs.h. */
6876 /* Override any GCC internal prototype to avoid an error.
6877 Use char because int might match the return type of a GCC
6878 builtin and then its argument prototype would still apply. */
6882 char gethostbyname ();
6886 return gethostbyname ();
6891 rm -f conftest.
$ac_objext conftest
$ac_exeext
6892 if { (ac_try
="$ac_link"
6894 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6895 *) ac_try_echo=$ac_try;;
6897 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
6898 $as_echo "$ac_try_echo") >&5
6899 (eval "$ac_link") 2>conftest.er1
6901 grep -v '^ *+' conftest.er1 >conftest.err
6903 cat conftest.err >&5
6904 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6905 (exit $ac_status); } && {
6906 test -z "$ac_c_werror_flag" ||
6907 test ! -s conftest.err
6908 } && test -s conftest$ac_exeext && {
6909 test "$cross_compiling" = yes ||
6910 $as_test_x conftest$ac_exeext
6912 ac_cv_lib_nsl_gethostbyname=yes
6914 $as_echo "$as_me: failed program was:" >&5
6915 sed 's/^/| /' conftest.$ac_ext >&5
6917 ac_cv_lib_nsl_gethostbyname=no
6920 rm -rf conftest.dSYM
6921 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6922 conftest$ac_exeext conftest.$ac_ext
6923 LIBS=$ac_check_lib_save_LIBS
6925 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
6926 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
6927 if test $ac_cv_lib_nsl_gethostbyname = yes; then
6928 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
6931 if test $ac_cv_lib_nsl_gethostbyname = no; then
6932 { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
6933 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
6934 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
6935 $as_echo_n "(cached) " >&6
6937 ac_check_lib_save_LIBS=$LIBS
6939 cat >conftest.$ac_ext <<_ACEOF
6942 cat confdefs.h >>conftest.$ac_ext
6943 cat >>conftest.$ac_ext <<_ACEOF
6944 /* end confdefs.h. */
6946 /* Override any GCC internal prototype to avoid an error.
6947 Use char because int might match the return type of a GCC
6948 builtin and then its argument prototype would still apply. */
6952 char gethostbyname ();
6956 return gethostbyname ();
6961 rm -f conftest.$ac_objext conftest$ac_exeext
6962 if { (ac_try="$ac_link"
6964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6965 *) ac_try_echo
=$ac_try;;
6967 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
6968 $as_echo "$ac_try_echo") >&5
6969 (eval "$ac_link") 2>conftest.er1
6971 grep -v '^ *+' conftest.er1
>conftest.err
6973 cat conftest.err
>&5
6974 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
6975 (exit $ac_status); } && {
6976 test -z "$ac_c_werror_flag" ||
6977 test ! -s conftest.err
6978 } && test -s conftest
$ac_exeext && {
6979 test "$cross_compiling" = yes ||
6980 $as_test_x conftest
$ac_exeext
6982 ac_cv_lib_bsd_gethostbyname
=yes
6984 $as_echo "$as_me: failed program was:" >&5
6985 sed 's/^/| /' conftest.
$ac_ext >&5
6987 ac_cv_lib_bsd_gethostbyname
=no
6990 rm -rf conftest.dSYM
6991 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6992 conftest
$ac_exeext conftest.
$ac_ext
6993 LIBS
=$ac_check_lib_save_LIBS
6995 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
6996 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
6997 if test $ac_cv_lib_bsd_gethostbyname = yes; then
6998 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7004 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7005 # socket/setsockopt and other routines are undefined under SCO ODT
7006 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7007 # on later versions), says Simon Leinen: it contains gethostby*
7008 # variants that don't use the name server (or something). -lsocket
7009 # must be given before -lnsl if both are needed. We assume that
7010 # if connect needs -lnsl, so does gethostbyname.
7011 { $as_echo "$as_me:$LINENO: checking for connect" >&5
7012 $as_echo_n "checking for connect... " >&6; }
7013 if test "${ac_cv_func_connect+set}" = set; then
7014 $as_echo_n "(cached) " >&6
7016 cat >conftest.
$ac_ext <<_ACEOF
7019 cat confdefs.h
>>conftest.
$ac_ext
7020 cat >>conftest.
$ac_ext <<_ACEOF
7021 /* end confdefs.h. */
7022 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
7023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7024 #define connect innocuous_connect
7026 /* System header to define __stub macros and hopefully few prototypes,
7027 which can conflict with char connect (); below.
7028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7029 <limits.h> exists even on freestanding compilers. */
7032 # include <limits.h>
7034 # include <assert.h>
7039 /* Override any GCC internal prototype to avoid an error.
7040 Use char because int might match the return type of a GCC
7041 builtin and then its argument prototype would still apply. */
7046 /* The GNU C library defines this for functions which it implements
7047 to always fail with ENOSYS. Some functions are actually named
7048 something starting with __ and the normal name is an alias. */
7049 #if defined __stub_connect || defined __stub___connect
7061 rm -f conftest.
$ac_objext conftest
$ac_exeext
7062 if { (ac_try
="$ac_link"
7064 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7065 *) ac_try_echo=$ac_try;;
7067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7068 $as_echo "$ac_try_echo") >&5
7069 (eval "$ac_link") 2>conftest.er1
7071 grep -v '^ *+' conftest.er1 >conftest.err
7073 cat conftest.err >&5
7074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); } && {
7076 test -z "$ac_c_werror_flag" ||
7077 test ! -s conftest.err
7078 } && test -s conftest$ac_exeext && {
7079 test "$cross_compiling" = yes ||
7080 $as_test_x conftest$ac_exeext
7082 ac_cv_func_connect=yes
7084 $as_echo "$as_me: failed program was:" >&5
7085 sed 's/^/| /' conftest.$ac_ext >&5
7087 ac_cv_func_connect=no
7090 rm -rf conftest.dSYM
7091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7092 conftest$ac_exeext conftest.$ac_ext
7094 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
7095 $as_echo "$ac_cv_func_connect" >&6; }
7097 if test $ac_cv_func_connect = no; then
7098 { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
7099 $as_echo_n "checking for connect in -lsocket... " >&6; }
7100 if test "${ac_cv_lib_socket_connect+set}" = set; then
7101 $as_echo_n "(cached) " >&6
7103 ac_check_lib_save_LIBS=$LIBS
7104 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
7105 cat >conftest.$ac_ext <<_ACEOF
7108 cat confdefs.h >>conftest.$ac_ext
7109 cat >>conftest.$ac_ext <<_ACEOF
7110 /* end confdefs.h. */
7112 /* Override any GCC internal prototype to avoid an error.
7113 Use char because int might match the return type of a GCC
7114 builtin and then its argument prototype would still apply. */
7127 rm -f conftest.$ac_objext conftest$ac_exeext
7128 if { (ac_try="$ac_link"
7130 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7131 *) ac_try_echo
=$ac_try;;
7133 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7134 $as_echo "$ac_try_echo") >&5
7135 (eval "$ac_link") 2>conftest.er1
7137 grep -v '^ *+' conftest.er1
>conftest.err
7139 cat conftest.err
>&5
7140 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7141 (exit $ac_status); } && {
7142 test -z "$ac_c_werror_flag" ||
7143 test ! -s conftest.err
7144 } && test -s conftest
$ac_exeext && {
7145 test "$cross_compiling" = yes ||
7146 $as_test_x conftest
$ac_exeext
7148 ac_cv_lib_socket_connect
=yes
7150 $as_echo "$as_me: failed program was:" >&5
7151 sed 's/^/| /' conftest.
$ac_ext >&5
7153 ac_cv_lib_socket_connect
=no
7156 rm -rf conftest.dSYM
7157 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7158 conftest
$ac_exeext conftest.
$ac_ext
7159 LIBS
=$ac_check_lib_save_LIBS
7161 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
7162 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7163 if test $ac_cv_lib_socket_connect = yes; then
7164 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7169 # Guillermo Gomez says -lposix is necessary on A/UX.
7170 { $as_echo "$as_me:$LINENO: checking for remove" >&5
7171 $as_echo_n "checking for remove... " >&6; }
7172 if test "${ac_cv_func_remove+set}" = set; then
7173 $as_echo_n "(cached) " >&6
7175 cat >conftest.
$ac_ext <<_ACEOF
7178 cat confdefs.h
>>conftest.
$ac_ext
7179 cat >>conftest.
$ac_ext <<_ACEOF
7180 /* end confdefs.h. */
7181 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
7182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7183 #define remove innocuous_remove
7185 /* System header to define __stub macros and hopefully few prototypes,
7186 which can conflict with char remove (); below.
7187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7188 <limits.h> exists even on freestanding compilers. */
7191 # include <limits.h>
7193 # include <assert.h>
7198 /* Override any GCC internal prototype to avoid an error.
7199 Use char because int might match the return type of a GCC
7200 builtin and then its argument prototype would still apply. */
7205 /* The GNU C library defines this for functions which it implements
7206 to always fail with ENOSYS. Some functions are actually named
7207 something starting with __ and the normal name is an alias. */
7208 #if defined __stub_remove || defined __stub___remove
7220 rm -f conftest.
$ac_objext conftest
$ac_exeext
7221 if { (ac_try
="$ac_link"
7223 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7224 *) ac_try_echo=$ac_try;;
7226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7227 $as_echo "$ac_try_echo") >&5
7228 (eval "$ac_link") 2>conftest.er1
7230 grep -v '^ *+' conftest.er1 >conftest.err
7232 cat conftest.err >&5
7233 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7234 (exit $ac_status); } && {
7235 test -z "$ac_c_werror_flag" ||
7236 test ! -s conftest.err
7237 } && test -s conftest$ac_exeext && {
7238 test "$cross_compiling" = yes ||
7239 $as_test_x conftest$ac_exeext
7241 ac_cv_func_remove=yes
7243 $as_echo "$as_me: failed program was:" >&5
7244 sed 's/^/| /' conftest.$ac_ext >&5
7246 ac_cv_func_remove=no
7249 rm -rf conftest.dSYM
7250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7251 conftest$ac_exeext conftest.$ac_ext
7253 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
7254 $as_echo "$ac_cv_func_remove" >&6; }
7256 if test $ac_cv_func_remove = no; then
7257 { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5
7258 $as_echo_n "checking for remove in -lposix... " >&6; }
7259 if test "${ac_cv_lib_posix_remove+set}" = set; then
7260 $as_echo_n "(cached) " >&6
7262 ac_check_lib_save_LIBS=$LIBS
7263 LIBS="-lposix $LIBS"
7264 cat >conftest.$ac_ext <<_ACEOF
7267 cat confdefs.h >>conftest.$ac_ext
7268 cat >>conftest.$ac_ext <<_ACEOF
7269 /* end confdefs.h. */
7271 /* Override any GCC internal prototype to avoid an error.
7272 Use char because int might match the return type of a GCC
7273 builtin and then its argument prototype would still apply. */
7286 rm -f conftest.$ac_objext conftest$ac_exeext
7287 if { (ac_try="$ac_link"
7289 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7290 *) ac_try_echo
=$ac_try;;
7292 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7293 $as_echo "$ac_try_echo") >&5
7294 (eval "$ac_link") 2>conftest.er1
7296 grep -v '^ *+' conftest.er1
>conftest.err
7298 cat conftest.err
>&5
7299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7300 (exit $ac_status); } && {
7301 test -z "$ac_c_werror_flag" ||
7302 test ! -s conftest.err
7303 } && test -s conftest
$ac_exeext && {
7304 test "$cross_compiling" = yes ||
7305 $as_test_x conftest
$ac_exeext
7307 ac_cv_lib_posix_remove
=yes
7309 $as_echo "$as_me: failed program was:" >&5
7310 sed 's/^/| /' conftest.
$ac_ext >&5
7312 ac_cv_lib_posix_remove
=no
7315 rm -rf conftest.dSYM
7316 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7317 conftest
$ac_exeext conftest.
$ac_ext
7318 LIBS
=$ac_check_lib_save_LIBS
7320 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
7321 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7322 if test $ac_cv_lib_posix_remove = yes; then
7323 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7328 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7329 { $as_echo "$as_me:$LINENO: checking for shmat" >&5
7330 $as_echo_n "checking for shmat... " >&6; }
7331 if test "${ac_cv_func_shmat+set}" = set; then
7332 $as_echo_n "(cached) " >&6
7334 cat >conftest.
$ac_ext <<_ACEOF
7337 cat confdefs.h
>>conftest.
$ac_ext
7338 cat >>conftest.
$ac_ext <<_ACEOF
7339 /* end confdefs.h. */
7340 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
7341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7342 #define shmat innocuous_shmat
7344 /* System header to define __stub macros and hopefully few prototypes,
7345 which can conflict with char shmat (); below.
7346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7347 <limits.h> exists even on freestanding compilers. */
7350 # include <limits.h>
7352 # include <assert.h>
7357 /* Override any GCC internal prototype to avoid an error.
7358 Use char because int might match the return type of a GCC
7359 builtin and then its argument prototype would still apply. */
7364 /* The GNU C library defines this for functions which it implements
7365 to always fail with ENOSYS. Some functions are actually named
7366 something starting with __ and the normal name is an alias. */
7367 #if defined __stub_shmat || defined __stub___shmat
7379 rm -f conftest.
$ac_objext conftest
$ac_exeext
7380 if { (ac_try
="$ac_link"
7382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7383 *) ac_try_echo=$ac_try;;
7385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7386 $as_echo "$ac_try_echo") >&5
7387 (eval "$ac_link") 2>conftest.er1
7389 grep -v '^ *+' conftest.er1 >conftest.err
7391 cat conftest.err >&5
7392 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7393 (exit $ac_status); } && {
7394 test -z "$ac_c_werror_flag" ||
7395 test ! -s conftest.err
7396 } && test -s conftest$ac_exeext && {
7397 test "$cross_compiling" = yes ||
7398 $as_test_x conftest$ac_exeext
7400 ac_cv_func_shmat=yes
7402 $as_echo "$as_me: failed program was:" >&5
7403 sed 's/^/| /' conftest.$ac_ext >&5
7408 rm -rf conftest.dSYM
7409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7410 conftest$ac_exeext conftest.$ac_ext
7412 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
7413 $as_echo "$ac_cv_func_shmat" >&6; }
7415 if test $ac_cv_func_shmat = no; then
7416 { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
7417 $as_echo_n "checking for shmat in -lipc... " >&6; }
7418 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
7419 $as_echo_n "(cached) " >&6
7421 ac_check_lib_save_LIBS=$LIBS
7423 cat >conftest.$ac_ext <<_ACEOF
7426 cat confdefs.h >>conftest.$ac_ext
7427 cat >>conftest.$ac_ext <<_ACEOF
7428 /* end confdefs.h. */
7430 /* Override any GCC internal prototype to avoid an error.
7431 Use char because int might match the return type of a GCC
7432 builtin and then its argument prototype would still apply. */
7445 rm -f conftest.$ac_objext conftest$ac_exeext
7446 if { (ac_try="$ac_link"
7448 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7449 *) ac_try_echo
=$ac_try;;
7451 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7452 $as_echo "$ac_try_echo") >&5
7453 (eval "$ac_link") 2>conftest.er1
7455 grep -v '^ *+' conftest.er1
>conftest.err
7457 cat conftest.err
>&5
7458 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); } && {
7460 test -z "$ac_c_werror_flag" ||
7461 test ! -s conftest.err
7462 } && test -s conftest
$ac_exeext && {
7463 test "$cross_compiling" = yes ||
7464 $as_test_x conftest
$ac_exeext
7466 ac_cv_lib_ipc_shmat
=yes
7468 $as_echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.
$ac_ext >&5
7471 ac_cv_lib_ipc_shmat
=no
7474 rm -rf conftest.dSYM
7475 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7476 conftest
$ac_exeext conftest.
$ac_ext
7477 LIBS
=$ac_check_lib_save_LIBS
7479 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
7480 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7481 if test $ac_cv_lib_ipc_shmat = yes; then
7482 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7488 # Check for libraries that X11R6 Xt/Xaw programs need.
7489 ac_save_LDFLAGS
=$LDFLAGS
7490 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7491 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7492 # check for ICE first), but we must link in the order -lSM -lICE or
7493 # we get undefined symbols. So assume we have SM if we have ICE.
7494 # These have to be linked with before -lX11, unlike the other
7495 # libraries we check for below, so use a different variable.
7496 # John Interrante, Karl Berry
7497 { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
7498 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7499 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
7500 $as_echo_n "(cached) " >&6
7502 ac_check_lib_save_LIBS
=$LIBS
7503 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7504 cat >conftest.
$ac_ext <<_ACEOF
7507 cat confdefs.h
>>conftest.
$ac_ext
7508 cat >>conftest.
$ac_ext <<_ACEOF
7509 /* end confdefs.h. */
7511 /* Override any GCC internal prototype to avoid an error.
7512 Use char because int might match the return type of a GCC
7513 builtin and then its argument prototype would still apply. */
7517 char IceConnectionNumber ();
7521 return IceConnectionNumber ();
7526 rm -f conftest.
$ac_objext conftest
$ac_exeext
7527 if { (ac_try
="$ac_link"
7529 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7530 *) ac_try_echo=$ac_try;;
7532 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7533 $as_echo "$ac_try_echo") >&5
7534 (eval "$ac_link") 2>conftest.er1
7536 grep -v '^ *+' conftest.er1 >conftest.err
7538 cat conftest.err >&5
7539 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7540 (exit $ac_status); } && {
7541 test -z "$ac_c_werror_flag" ||
7542 test ! -s conftest.err
7543 } && test -s conftest$ac_exeext && {
7544 test "$cross_compiling" = yes ||
7545 $as_test_x conftest$ac_exeext
7547 ac_cv_lib_ICE_IceConnectionNumber=yes
7549 $as_echo "$as_me: failed program was:" >&5
7550 sed 's/^/| /' conftest.$ac_ext >&5
7552 ac_cv_lib_ICE_IceConnectionNumber=no
7555 rm -rf conftest.dSYM
7556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7557 conftest$ac_exeext conftest.$ac_ext
7558 LIBS=$ac_check_lib_save_LIBS
7560 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7561 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7562 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
7563 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
7566 LDFLAGS=$ac_save_LDFLAGS
7571 if test "$OS390Unix" = "yes"; then
7572 CFLAGS="$CFLAGS -W c,dll"
7573 LDFLAGS="$LDFLAGS -W l,dll"
7574 X_EXTRA_LIBS="$X_EXTRA_LIBS -lSM -lICE -lXmu"
7578 if test -d "$x_includes" && test ! -d "$x_libraries"; then
7579 x_libraries=`echo "$x_includes" |
sed s
/include
/lib
/`
7580 { $as_echo "$as_me:$LINENO: result: Corrected X libraries to $x_libraries" >&5
7581 $as_echo "Corrected X libraries to $x_libraries" >&6; }
7582 X_LIBS="$X_LIBS -L$x_libraries"
7583 if test "`(uname
) 2>/dev
/null
`" = SunOS &&
7584 uname -r | grep '^5' >/dev/null; then
7585 X_LIBS="$X_LIBS -R $x_libraries"
7589 if test -d "$x_libraries" && test ! -d "$x_includes"; then
7590 x_includes=`echo "$x_libraries" |
sed s
/lib
/include
/`
7591 { $as_echo "$as_me:$LINENO: result: Corrected X includes to $x_includes" >&5
7592 $as_echo "Corrected X includes to $x_includes" >&6; }
7593 X_CFLAGS="$X_CFLAGS -I$x_includes"
7596 X_CFLAGS="`echo $X_CFLAGS\ |
sed 's%-I/usr/include %%'`"
7597 X_LIBS="`echo $X_LIBS\ |
sed 's%-L/usr/lib %%'`"
7598 X_LIBS="`echo $X_LIBS\ |
sed -e 's%-R/usr/lib %%' -e 's%-R /usr/lib %%'`"
7601 { $as_echo "$as_me:$LINENO: checking if X11 header files can be found" >&5
7602 $as_echo_n "checking if X11 header files can be found... " >&6; }
7604 CFLAGS="$CFLAGS $X_CFLAGS"
7605 cat >conftest.$ac_ext <<_ACEOF
7608 cat confdefs.h >>conftest.$ac_ext
7609 cat >>conftest.$ac_ext <<_ACEOF
7610 /* end confdefs.h. */
7611 #include <X11/Xlib.h>
7612 #include <X11/Intrinsic.h>
7621 rm -f conftest.$ac_objext
7622 if { (ac_try="$ac_compile"
7624 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7625 *) ac_try_echo
=$ac_try;;
7627 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7628 $as_echo "$ac_try_echo") >&5
7629 (eval "$ac_compile") 2>conftest.er1
7631 grep -v '^ *+' conftest.er1
>conftest.err
7633 cat conftest.err
>&5
7634 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); } && {
7636 test -z "$ac_c_werror_flag" ||
7637 test ! -s conftest.err
7638 } && test -s conftest.
$ac_objext; then
7639 { $as_echo "$as_me:$LINENO: result: yes" >&5
7640 $as_echo "yes" >&6; }
7642 $as_echo "$as_me: failed program was:" >&5
7643 sed 's/^/| /' conftest.
$ac_ext >&5
7645 { $as_echo "$as_me:$LINENO: result: no" >&5
7646 $as_echo "no" >&6; }; no_x
=yes
7649 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7652 if test "${no_x-no}" = yes; then
7655 cat >>confdefs.h
<<\_ACEOF
7662 ac_save_LDFLAGS
="$LDFLAGS"
7663 LDFLAGS
="-L$x_libraries $LDFLAGS"
7665 { $as_echo "$as_me:$LINENO: checking for _XdmcpAuthDoIt in -lXdmcp" >&5
7666 $as_echo_n "checking for _XdmcpAuthDoIt in -lXdmcp... " >&6; }
7667 if test "${ac_cv_lib_Xdmcp__XdmcpAuthDoIt+set}" = set; then
7668 $as_echo_n "(cached) " >&6
7670 ac_check_lib_save_LIBS
=$LIBS
7671 LIBS
="-lXdmcp -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS -lXdmcp $LIBS"
7672 cat >conftest.
$ac_ext <<_ACEOF
7675 cat confdefs.h
>>conftest.
$ac_ext
7676 cat >>conftest.
$ac_ext <<_ACEOF
7677 /* end confdefs.h. */
7679 /* Override any GCC internal prototype to avoid an error.
7680 Use char because int might match the return type of a GCC
7681 builtin and then its argument prototype would still apply. */
7685 char _XdmcpAuthDoIt ();
7689 return _XdmcpAuthDoIt ();
7694 rm -f conftest.
$ac_objext conftest
$ac_exeext
7695 if { (ac_try
="$ac_link"
7697 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7698 *) ac_try_echo=$ac_try;;
7700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7701 $as_echo "$ac_try_echo") >&5
7702 (eval "$ac_link") 2>conftest.er1
7704 grep -v '^ *+' conftest.er1 >conftest.err
7706 cat conftest.err >&5
7707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7708 (exit $ac_status); } && {
7709 test -z "$ac_c_werror_flag" ||
7710 test ! -s conftest.err
7711 } && test -s conftest$ac_exeext && {
7712 test "$cross_compiling" = yes ||
7713 $as_test_x conftest$ac_exeext
7715 ac_cv_lib_Xdmcp__XdmcpAuthDoIt=yes
7717 $as_echo "$as_me: failed program was:" >&5
7718 sed 's/^/| /' conftest.$ac_ext >&5
7720 ac_cv_lib_Xdmcp__XdmcpAuthDoIt=no
7723 rm -rf conftest.dSYM
7724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7725 conftest$ac_exeext conftest.$ac_ext
7726 LIBS=$ac_check_lib_save_LIBS
7728 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&5
7729 $as_echo "$ac_cv_lib_Xdmcp__XdmcpAuthDoIt" >&6; }
7730 if test $ac_cv_lib_Xdmcp__XdmcpAuthDoIt = yes; then
7731 X_EXTRA_LIBS="$X_EXTRA_LIBS -lXdmcp"
7735 { $as_echo "$as_me:$LINENO: checking for IceOpenConnection in -lICE" >&5
7736 $as_echo_n "checking for IceOpenConnection in -lICE... " >&6; }
7737 if test "${ac_cv_lib_ICE_IceOpenConnection+set}" = set; then
7738 $as_echo_n "(cached) " >&6
7740 ac_check_lib_save_LIBS=$LIBS
7741 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
7742 cat >conftest.$ac_ext <<_ACEOF
7745 cat confdefs.h >>conftest.$ac_ext
7746 cat >>conftest.$ac_ext <<_ACEOF
7747 /* end confdefs.h. */
7749 /* Override any GCC internal prototype to avoid an error.
7750 Use char because int might match the return type of a GCC
7751 builtin and then its argument prototype would still apply. */
7755 char IceOpenConnection ();
7759 return IceOpenConnection ();
7764 rm -f conftest.$ac_objext conftest$ac_exeext
7765 if { (ac_try="$ac_link"
7767 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7768 *) ac_try_echo
=$ac_try;;
7770 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7771 $as_echo "$ac_try_echo") >&5
7772 (eval "$ac_link") 2>conftest.er1
7774 grep -v '^ *+' conftest.er1
>conftest.err
7776 cat conftest.err
>&5
7777 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7778 (exit $ac_status); } && {
7779 test -z "$ac_c_werror_flag" ||
7780 test ! -s conftest.err
7781 } && test -s conftest
$ac_exeext && {
7782 test "$cross_compiling" = yes ||
7783 $as_test_x conftest
$ac_exeext
7785 ac_cv_lib_ICE_IceOpenConnection
=yes
7787 $as_echo "$as_me: failed program was:" >&5
7788 sed 's/^/| /' conftest.
$ac_ext >&5
7790 ac_cv_lib_ICE_IceOpenConnection
=no
7793 rm -rf conftest.dSYM
7794 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7795 conftest
$ac_exeext conftest.
$ac_ext
7796 LIBS
=$ac_check_lib_save_LIBS
7798 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceOpenConnection" >&5
7799 $as_echo "$ac_cv_lib_ICE_IceOpenConnection" >&6; }
7800 if test $ac_cv_lib_ICE_IceOpenConnection = yes; then
7801 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lSM -lICE"
7805 LDFLAGS
="$X_LIBS $ac_save_LDFLAGS"
7806 { $as_echo "$as_me:$LINENO: checking for XpmCreatePixmapFromData in -lXpm" >&5
7807 $as_echo_n "checking for XpmCreatePixmapFromData in -lXpm... " >&6; }
7808 if test "${ac_cv_lib_Xpm_XpmCreatePixmapFromData+set}" = set; then
7809 $as_echo_n "(cached) " >&6
7811 ac_check_lib_save_LIBS
=$LIBS
7812 LIBS
="-lXpm -lXt $X_PRE_LIBS -lXpm -lX11 $X_EXTRA_LIBS $LIBS"
7813 cat >conftest.
$ac_ext <<_ACEOF
7816 cat confdefs.h
>>conftest.
$ac_ext
7817 cat >>conftest.
$ac_ext <<_ACEOF
7818 /* end confdefs.h. */
7820 /* Override any GCC internal prototype to avoid an error.
7821 Use char because int might match the return type of a GCC
7822 builtin and then its argument prototype would still apply. */
7826 char XpmCreatePixmapFromData ();
7830 return XpmCreatePixmapFromData ();
7835 rm -f conftest.
$ac_objext conftest
$ac_exeext
7836 if { (ac_try
="$ac_link"
7838 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7839 *) ac_try_echo=$ac_try;;
7841 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7842 $as_echo "$ac_try_echo") >&5
7843 (eval "$ac_link") 2>conftest.er1
7845 grep -v '^ *+' conftest.er1 >conftest.err
7847 cat conftest.err >&5
7848 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7849 (exit $ac_status); } && {
7850 test -z "$ac_c_werror_flag" ||
7851 test ! -s conftest.err
7852 } && test -s conftest$ac_exeext && {
7853 test "$cross_compiling" = yes ||
7854 $as_test_x conftest$ac_exeext
7856 ac_cv_lib_Xpm_XpmCreatePixmapFromData=yes
7858 $as_echo "$as_me: failed program was:" >&5
7859 sed 's/^/| /' conftest.$ac_ext >&5
7861 ac_cv_lib_Xpm_XpmCreatePixmapFromData=no
7864 rm -rf conftest.dSYM
7865 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7866 conftest$ac_exeext conftest.$ac_ext
7867 LIBS=$ac_check_lib_save_LIBS
7869 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&5
7870 $as_echo "$ac_cv_lib_Xpm_XpmCreatePixmapFromData" >&6; }
7871 if test $ac_cv_lib_Xpm_XpmCreatePixmapFromData = yes; then
7872 X_PRE_LIBS="$X_PRE_LIBS -lXpm"
7876 { $as_echo "$as_me:$LINENO: checking if X11 header files implicitly declare return values" >&5
7877 $as_echo_n "checking if X11 header files implicitly declare return values... " >&6; }
7879 CFLAGS="$CFLAGS $X_CFLAGS -Werror"
7880 cat >conftest.$ac_ext <<_ACEOF
7883 cat confdefs.h >>conftest.$ac_ext
7884 cat >>conftest.$ac_ext <<_ACEOF
7885 /* end confdefs.h. */
7886 #include <X11/Xlib.h>
7895 rm -f conftest.$ac_objext
7896 if { (ac_try="$ac_compile"
7898 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7899 *) ac_try_echo
=$ac_try;;
7901 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
7902 $as_echo "$ac_try_echo") >&5
7903 (eval "$ac_compile") 2>conftest.er1
7905 grep -v '^ *+' conftest.er1
>conftest.err
7907 cat conftest.err
>&5
7908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7909 (exit $ac_status); } && {
7910 test -z "$ac_c_werror_flag" ||
7911 test ! -s conftest.err
7912 } && test -s conftest.
$ac_objext; then
7913 { $as_echo "$as_me:$LINENO: result: no" >&5
7914 $as_echo "no" >&6; }
7916 $as_echo "$as_me: failed program was:" >&5
7917 sed 's/^/| /' conftest.
$ac_ext >&5
7919 CFLAGS
="$CFLAGS -Wno-implicit-int"
7920 cat >conftest.
$ac_ext <<_ACEOF
7923 cat confdefs.h
>>conftest.
$ac_ext
7924 cat >>conftest.
$ac_ext <<_ACEOF
7925 /* end confdefs.h. */
7926 #include <X11/Xlib.h>
7935 rm -f conftest.
$ac_objext
7936 if { (ac_try
="$ac_compile"
7938 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7939 *) ac_try_echo=$ac_try;;
7941 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7942 $as_echo "$ac_try_echo") >&5
7943 (eval "$ac_compile") 2>conftest.er1
7945 grep -v '^ *+' conftest.er1 >conftest.err
7947 cat conftest.err >&5
7948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } && {
7950 test -z "$ac_c_werror_flag" ||
7951 test ! -s conftest.err
7952 } && test -s conftest.$ac_objext; then
7953 { $as_echo "$as_me:$LINENO: result: yes" >&5
7954 $as_echo "yes" >&6; }; cflags_save="$cflags_save -Wno-implicit-int"
7956 $as_echo "$as_me: failed program was:" >&5
7957 sed 's/^/| /' conftest.$ac_ext >&5
7959 { $as_echo "$as_me:$LINENO: result: test failed" >&5
7960 $as_echo "test failed" >&6; }
7964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7971 LDFLAGS="$ac_save_LDFLAGS"
7976 test "x$with_x" = xno -a "x$MACOSX" != "xyes" -a "x$QNX" != "xyes" && enable_gui=no
7978 { $as_echo "$as_me:$LINENO: checking --enable-gui argument" >&5
7979 $as_echo_n "checking --enable-gui argument... " >&6; }
7980 # Check whether --enable-gui was given.
7981 if test "${enable_gui+set}" = set; then
7982 enableval=$enable_gui;
7988 enable_gui_canon=`echo "_$enable_gui" | \
7989 sed 's/[ _+-]//g;y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
8001 if test "x$QNX" = "xyes" -a "x$with_x" = "xno" ; then
8003 case "$enable_gui_canon" in
8004 no) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
8005 $as_echo "no GUI support" >&6; }
8007 yes|"") { $as_echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
8008 $as_echo "yes - automatic GUI support" >&6; } ;;
8009 auto) { $as_echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
8010 $as_echo "auto - automatic GUI support" >&6; } ;;
8011 photon) { $as_echo "$as_me:$LINENO: result: Photon GUI support" >&5
8012 $as_echo "Photon GUI support" >&6; } ;;
8013 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
8014 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; }
8018 elif test "x$MACOSX" = "xyes" -a "x$with_x" = "xno" ; then
8020 case "$enable_gui_canon" in
8021 no) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
8022 $as_echo "no GUI support" >&6; }
8024 yes|"") { $as_echo "$as_me:$LINENO: result: yes - automatic GUI support" >&5
8025 $as_echo "yes - automatic GUI support" >&6; } ;;
8026 auto) { $as_echo "$as_me:$LINENO: result: auto - automatic GUI support" >&5
8027 $as_echo "auto - automatic GUI support" >&6; } ;;
8028 carbon) { $as_echo "$as_me:$LINENO: result: Carbon GUI support" >&5
8029 $as_echo "Carbon GUI support" >&6; } ;;
8030 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
8031 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; }
8037 case "$enable_gui_canon" in
8038 no|none) { $as_echo "$as_me:$LINENO: result: no GUI support" >&5
8039 $as_echo "no GUI support" >&6; } ;;
8040 yes|""|auto) { $as_echo "$as_me:$LINENO: result: yes/auto - automatic GUI support" >&5
8041 $as_echo "yes/auto - automatic GUI support" >&6; }
8049 gtk) { $as_echo "$as_me:$LINENO: result: GTK+ 1.x GUI support" >&5
8050 $as_echo "GTK+ 1.x GUI support" >&6; }
8052 gtk2) { $as_echo "$as_me:$LINENO: result: GTK+ 2.x GUI support" >&5
8053 $as_echo "GTK+ 2.x GUI support" >&6; }
8056 gnome) { $as_echo "$as_me:$LINENO: result: GNOME 1.x GUI support" >&5
8057 $as_echo "GNOME 1.x GUI support" >&6; }
8060 gnome2) { $as_echo "$as_me:$LINENO: result: GNOME 2.x GUI support" >&5
8061 $as_echo "GNOME 2.x GUI support" >&6; }
8065 motif) { $as_echo "$as_me:$LINENO: result: Motif GUI support" >&5
8066 $as_echo "Motif GUI support" >&6; }
8068 athena) { $as_echo "$as_me:$LINENO: result: Athena GUI support" >&5
8069 $as_echo "Athena GUI support" >&6; }
8071 nextaw) { $as_echo "$as_me:$LINENO: result: neXtaw GUI support" >&5
8072 $as_echo "neXtaw GUI support" >&6; }
8074 *) { $as_echo "$as_me:$LINENO: result: Sorry, $enable_gui GUI is not supported" >&5
8075 $as_echo "Sorry, $enable_gui GUI is not supported" >&6; } ;;
8080 if test "x$SKIP_GTK" != "xYES" -a "$enable_gui_canon" != "gtk" -a "$enable_gui_canon" != "gtk2"; then
8081 { $as_echo "$as_me:$LINENO: checking whether or not to look for GTK" >&5
8082 $as_echo_n "checking whether or not to look for GTK... " >&6; }
8083 # Check whether --enable-gtk-check was given.
8084 if test "${enable_gtk_check+set}" = set; then
8085 enableval=$enable_gtk_check;
8087 enable_gtk_check="yes"
8090 { $as_echo "$as_me:$LINENO: result: $enable_gtk_check" >&5
8091 $as_echo "$enable_gtk_check" >&6; }
8092 if test "x$enable_gtk_check" = "xno"; then
8098 if test "x$SKIP_GTK2" != "xYES" -a "$enable_gui_canon" != "gtk2" \
8099 -a "$enable_gui_canon" != "gnome2"; then
8100 { $as_echo "$as_me:$LINENO: checking whether or not to look for GTK+ 2" >&5
8101 $as_echo_n "checking whether or not to look for GTK+ 2... " >&6; }
8102 # Check whether --enable-gtk2-check was given.
8103 if test "${enable_gtk2_check+set}" = set; then
8104 enableval=$enable_gtk2_check;
8106 enable_gtk2_check="yes"
8109 { $as_echo "$as_me:$LINENO: result: $enable_gtk2_check" >&5
8110 $as_echo "$enable_gtk2_check" >&6; }
8111 if test "x$enable_gtk2_check" = "xno"; then
8116 if test "x$SKIP_GNOME" != "xYES" -a "$enable_gui_canon" != "gnome" \
8117 -a "$enable_gui_canon" != "gnome2"; then
8118 { $as_echo "$as_me:$LINENO: checking whether or not to look for GNOME" >&5
8119 $as_echo_n "checking whether or not to look for GNOME... " >&6; }
8120 # Check whether --enable-gnome-check was given.
8121 if test "${enable_gnome_check+set}" = set; then
8122 enableval=$enable_gnome_check;
8124 enable_gnome_check="no"
8127 { $as_echo "$as_me:$LINENO: result: $enable_gnome_check" >&5
8128 $as_echo "$enable_gnome_check" >&6; }
8129 if test "x$enable_gnome_check" = "xno"; then
8134 if test "x$SKIP_MOTIF" != "xYES" -a "$enable_gui_canon" != "motif"; then
8135 { $as_echo "$as_me:$LINENO: checking whether or not to look for Motif" >&5
8136 $as_echo_n "checking whether or not to look for Motif... " >&6; }
8137 # Check whether --enable-motif-check was given.
8138 if test "${enable_motif_check+set}" = set; then
8139 enableval=$enable_motif_check;
8141 enable_motif_check="yes"
8144 { $as_echo "$as_me:$LINENO: result: $enable_motif_check" >&5
8145 $as_echo "$enable_motif_check" >&6; }
8146 if test "x$enable_motif_check" = "xno"; then
8151 if test "x$SKIP_ATHENA" != "xYES" -a "$enable_gui_canon" != "athena"; then
8152 { $as_echo "$as_me:$LINENO: checking whether or not to look for Athena" >&5
8153 $as_echo_n "checking whether or not to look for Athena... " >&6; }
8154 # Check whether --enable-athena-check was given.
8155 if test "${enable_athena_check+set}" = set; then
8156 enableval=$enable_athena_check;
8158 enable_athena_check="yes"
8161 { $as_echo "$as_me:$LINENO: result: $enable_athena_check" >&5
8162 $as_echo "$enable_athena_check" >&6; }
8163 if test "x$enable_athena_check" = "xno"; then
8168 if test "x$SKIP_NEXTAW" != "xYES" -a "$enable_gui_canon" != "nextaw"; then
8169 { $as_echo "$as_me:$LINENO: checking whether or not to look for neXtaw" >&5
8170 $as_echo_n "checking whether or not to look for neXtaw... " >&6; }
8171 # Check whether --enable-nextaw-check was given.
8172 if test "${enable_nextaw_check+set}" = set; then
8173 enableval=$enable_nextaw_check;
8175 enable_nextaw_check="yes"
8178 { $as_echo "$as_me:$LINENO: result: $enable_nextaw_check" >&5
8179 $as_echo "$enable_nextaw_check" >&6; };
8180 if test "x$enable_nextaw_check" = "xno"; then
8185 if test "x$SKIP_CARBON" != "xYES" -a "$enable_gui_canon" != "carbon"; then
8186 { $as_echo "$as_me:$LINENO: checking whether or not to look for Carbon" >&5
8187 $as_echo_n "checking whether or not to look for Carbon... " >&6; }
8188 # Check whether --enable-carbon-check was given.
8189 if test "${enable_carbon_check+set}" = set; then
8190 enableval=$enable_carbon_check;
8192 enable_carbon_check="yes"
8195 { $as_echo "$as_me:$LINENO: result: $enable_carbon_check" >&5
8196 $as_echo "$enable_carbon_check" >&6; };
8197 if test "x$enable_carbon_check" = "xno"; then
8203 if test "x$MACOSX" = "xyes" -a -z "$SKIP_CARBON" -a "x$CARBON" = "xyes"; then
8204 { $as_echo "$as_me:$LINENO: checking for Carbon GUI" >&5
8205 $as_echo_n "checking for Carbon GUI... " >&6; }
8206 { $as_echo "$as_me:$LINENO: result: yes" >&5
8207 $as_echo "yes" >&6; };
8209 if test "$VIMNAME" = "vim"; then
8213 if test x$prefix = xNONE; then
8214 prefix=/Applications
8217 datadir='${prefix}/Vim.app/Contents/Resources'
8237 if test -z "$SKIP_GTK"; then
8239 { $as_echo "$as_me:$LINENO: checking --with-gtk-prefix argument" >&5
8240 $as_echo_n "checking --with-gtk-prefix argument... " >&6; }
8242 # Check whether --with-gtk-prefix was given.
8243 if test "${with_gtk_prefix+set}" = set; then
8244 withval=$with_gtk_prefix; gtk_config_prefix="$withval"; { $as_echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
8245 $as_echo "$gtk_config_prefix" >&6; }
8247 gtk_config_prefix=""; { $as_echo "$as_me:$LINENO: result: no" >&5
8248 $as_echo "no" >&6; }
8252 { $as_echo "$as_me:$LINENO: checking --with-gtk-exec-prefix argument" >&5
8253 $as_echo_n "checking --with-gtk-exec-prefix argument... " >&6; }
8255 # Check whether --with-gtk-exec-prefix was given.
8256 if test "${with_gtk_exec_prefix+set}" = set; then
8257 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"; { $as_echo "$as_me:$LINENO: result: $gtk_config_prefix" >&5
8258 $as_echo "$gtk_config_prefix" >&6; }
8260 gtk_config_exec_prefix=""; { $as_echo "$as_me:$LINENO: result: no" >&5
8261 $as_echo "no" >&6; }
8265 { $as_echo "$as_me:$LINENO: checking --disable-gtktest argument" >&5
8266 $as_echo_n "checking --disable-gtktest argument... " >&6; }
8267 # Check whether --enable-gtktest was given.
8268 if test "${enable_gtktest+set}" = set; then
8269 enableval=$enable_gtktest;
8274 if test "x$enable_gtktest" = "xyes" ; then
8275 { $as_echo "$as_me:$LINENO: result: gtk test enabled" >&5
8276 $as_echo "gtk test enabled" >&6; }
8278 { $as_echo "$as_me:$LINENO: result: gtk test disabled" >&5
8279 $as_echo "gtk test disabled" >&6; }
8282 if test "x$gtk_config_prefix" != "x" ; then
8283 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
8284 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
8286 if test "x$gtk_config_exec_prefix" != "x" ; then
8287 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8288 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
8290 if test "X$GTK_CONFIG" = "X"; then
8291 # Extract the first word of "gtk-config", so it can be a program name with args.
8292 set dummy gtk-config; ac_word=$2
8293 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8294 $as_echo_n "checking for $ac_word... " >&6; }
8295 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
8296 $as_echo_n "(cached) " >&6
8300 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
8303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8307 test -z "$as_dir" && as_dir=.
8308 for ac_exec_ext in '' $ac_executable_extensions; do
8309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8310 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8311 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8318 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
8322 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
8323 if test -n "$GTK_CONFIG"; then
8324 { $as_echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
8325 $as_echo "$GTK_CONFIG" >&6; }
8327 { $as_echo "$as_me:$LINENO: result: no" >&5
8328 $as_echo "no" >&6; }
8332 if test "X$GTK_CONFIG" = "Xno"; then
8333 # Extract the first word of "gtk12-config", so it can be a program name with args.
8334 set dummy gtk12-config; ac_word=$2
8335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8336 $as_echo_n "checking for $ac_word... " >&6; }
8337 if test "${ac_cv_path_GTK12_CONFIG+set}" = set; then
8338 $as_echo_n "(cached) " >&6
8340 case $GTK12_CONFIG in
8342 ac_cv_path_GTK12_CONFIG="$GTK12_CONFIG" # Let the user override the test with a path.
8345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8349 test -z "$as_dir" && as_dir=.
8350 for ac_exec_ext in '' $ac_executable_extensions; do
8351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8352 ac_cv_path_GTK12_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8353 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8360 test -z "$ac_cv_path_GTK12_CONFIG" && ac_cv_path_GTK12_CONFIG="no"
8364 GTK12_CONFIG=$ac_cv_path_GTK12_CONFIG
8365 if test -n "$GTK12_CONFIG"; then
8366 { $as_echo "$as_me:$LINENO: result: $GTK12_CONFIG" >&5
8367 $as_echo "$GTK12_CONFIG" >&6; }
8369 { $as_echo "$as_me:$LINENO: result: no" >&5
8370 $as_echo "no" >&6; }
8374 GTK_CONFIG="$GTK12_CONFIG"
8377 { $as_echo "$as_me:$LINENO: result: Using GTK configuration program $GTK_CONFIG" >&5
8378 $as_echo "Using GTK configuration program $GTK_CONFIG" >&6; }
8380 if test "X$PKG_CONFIG" = "X"; then
8381 # Extract the first word of "pkg-config", so it can be a program name with args.
8382 set dummy pkg-config; ac_word=$2
8383 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8384 $as_echo_n "checking for $ac_word... " >&6; }
8385 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
8386 $as_echo_n "(cached) " >&6
8390 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
8393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8397 test -z "$as_dir" && as_dir=.
8398 for ac_exec_ext in '' $ac_executable_extensions; do
8399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8400 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8401 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8408 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
8412 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
8413 if test -n "$PKG_CONFIG"; then
8414 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
8415 $as_echo "$PKG_CONFIG" >&6; }
8417 { $as_echo "$as_me:$LINENO: result: no" >&5
8418 $as_echo "no" >&6; }
8424 if test "x$GTK_CONFIG:$PKG_CONFIG" != "xno:no"; then
8425 if test "X$SKIP_GTK2" != "XYES"; then
8427 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
8429 min_gtk_version=2.2.0
8430 { $as_echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
8431 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
8433 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
8434 && $PKG_CONFIG --exists gtk+-2.0; then
8436 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk
+-2.0
`
8437 GTK_LIBDIR=`$PKG_CONFIG --libs-only-L gtk
+-2.0
`
8438 GTK_LIBS=`$PKG_CONFIG --libs gtk
+-2.0
`
8439 gtk_major_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8440 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8441 gtk_minor_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8442 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8443 gtk_micro_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8444 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8446 elif test "X$GTK_CONFIG" != "Xno"; then
8448 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
8450 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
8451 gtk_major_version=`$GTK_CONFIG $gtk_config_args --version | \
8452 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8453 gtk_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
8454 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8455 gtk_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
8456 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8462 if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
8464 ac_save_CFLAGS="$CFLAGS"
8465 ac_save_LIBS="$LIBS"
8466 CFLAGS="$CFLAGS $GTK_CFLAGS"
8467 LIBS="$LIBS $GTK_LIBS"
8470 if test "$cross_compiling" = yes; then
8471 echo $ac_n "cross compiling; assumed OK... $ac_c"
8473 cat >conftest.$ac_ext <<_ACEOF
8476 cat confdefs.h >>conftest.$ac_ext
8477 cat >>conftest.$ac_ext <<_ACEOF
8478 /* end confdefs.h. */
8480 #include <gtk/gtk.h>
8483 # include <stdlib.h>
8484 # include <stddef.h>
8490 int major, minor, micro;
8493 system ("touch conf.gtktest");
8495 /* HP/UX 9 (%@#!) writes to sscanf strings */
8496 tmp_version = g_strdup("$min_gtk_version");
8497 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8498 printf("%s, bad version string\n", "$min_gtk_version");
8502 if ((gtk_major_version > major) ||
8503 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8504 ((gtk_major_version == major) && (gtk_minor_version == minor) &&
8505 (gtk_micro_version >= micro)))
8513 rm -f conftest$ac_exeext
8514 if { (ac_try="$ac_link"
8516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8517 *) ac_try_echo
=$ac_try;;
8519 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8520 $as_echo "$ac_try_echo") >&5
8521 (eval "$ac_link") 2>&5
8523 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8525 { (case "(($ac_try" in
8526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8527 *) ac_try_echo=$ac_try;;
8529 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8530 $as_echo "$ac_try_echo") >&5
8531 (eval "$ac_try") 2>&5
8533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); }; }; then
8537 $as_echo "$as_me: program exited with status $ac_status" >&5
8538 $as_echo "$as_me: failed program was:" >&5
8539 sed 's/^/| /' conftest.$ac_ext >&5
8544 rm -rf conftest.dSYM
8545 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8549 CFLAGS="$ac_save_CFLAGS"
8550 LIBS="$ac_save_LIBS"
8553 if test "x$no_gtk" = x ; then
8554 if test "x$enable_gtktest" = "xyes"; then
8555 { $as_echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
8556 $as_echo "yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
8558 { $as_echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
8559 $as_echo "found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
8561 GUI_LIB_LOC="$GTK_LIBDIR"
8562 GTK_LIBNAME="$GTK_LIBS"
8563 GUI_INC_LOC="$GTK_CFLAGS"
8566 { $as_echo "$as_me:$LINENO: result: no" >&5
8567 $as_echo "no" >&6; }
8583 if test "x$GTK_CFLAGS" != "x"; then
8592 if test "x$GUITYPE" != "xGTK"; then
8595 if test "X$GTK_CONFIG" != "Xno" -o "X$PKG_CONFIG" != "Xno"; then
8597 min_gtk_version=1.1.16
8598 { $as_echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
8599 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
8601 if (test "X$SKIP_GTK2" != "XYES" -a "X$PKG_CONFIG" != "Xno") \
8602 && $PKG_CONFIG --exists gtk+-2.0; then
8604 GTK_CFLAGS=`$PKG_CONFIG --cflags gtk
+-2.0
`
8605 GTK_LIBDIR=`$PKG_CONFIG --libs-only-L gtk
+-2.0
`
8606 GTK_LIBS=`$PKG_CONFIG --libs gtk
+-2.0
`
8607 gtk_major_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8608 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8609 gtk_minor_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8610 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8611 gtk_micro_version=`$PKG_CONFIG --modversion gtk
+-2.0 | \
8612 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8614 elif test "X$GTK_CONFIG" != "Xno"; then
8616 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
8618 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
8619 gtk_major_version=`$GTK_CONFIG $gtk_config_args --version | \
8620 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\1/'`
8621 gtk_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
8622 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\2/'`
8623 gtk_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
8624 sed 's/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\)/\3/'`
8630 if test "x$enable_gtktest" = "xyes" -a "x$no_gtk" = "x"; then
8632 ac_save_CFLAGS="$CFLAGS"
8633 ac_save_LIBS="$LIBS"
8634 CFLAGS="$CFLAGS $GTK_CFLAGS"
8635 LIBS="$LIBS $GTK_LIBS"
8638 if test "$cross_compiling" = yes; then
8639 echo $ac_n "cross compiling; assumed OK... $ac_c"
8641 cat >conftest.$ac_ext <<_ACEOF
8644 cat confdefs.h >>conftest.$ac_ext
8645 cat >>conftest.$ac_ext <<_ACEOF
8646 /* end confdefs.h. */
8648 #include <gtk/gtk.h>
8651 # include <stdlib.h>
8652 # include <stddef.h>
8658 int major, minor, micro;
8661 system ("touch conf.gtktest");
8663 /* HP/UX 9 (%@#!) writes to sscanf strings */
8664 tmp_version = g_strdup("$min_gtk_version");
8665 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8666 printf("%s, bad version string\n", "$min_gtk_version");
8670 if ((gtk_major_version > major) ||
8671 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8672 ((gtk_major_version == major) && (gtk_minor_version == minor) &&
8673 (gtk_micro_version >= micro)))
8681 rm -f conftest$ac_exeext
8682 if { (ac_try="$ac_link"
8684 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8685 *) ac_try_echo
=$ac_try;;
8687 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
8688 $as_echo "$ac_try_echo") >&5
8689 (eval "$ac_link") 2>&5
8691 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8692 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8693 { (case "(($ac_try" in
8694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8695 *) ac_try_echo=$ac_try;;
8697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8698 $as_echo "$ac_try_echo") >&5
8699 (eval "$ac_try") 2>&5
8701 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8702 (exit $ac_status); }; }; then
8705 $as_echo "$as_me: program exited with status $ac_status" >&5
8706 $as_echo "$as_me: failed program was:" >&5
8707 sed 's/^/| /' conftest.$ac_ext >&5
8712 rm -rf conftest.dSYM
8713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8717 CFLAGS="$ac_save_CFLAGS"
8718 LIBS="$ac_save_LIBS"
8721 if test "x$no_gtk" = x ; then
8722 if test "x$enable_gtktest" = "xyes"; then
8723 { $as_echo "$as_me:$LINENO: result: yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
8724 $as_echo "yes; found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
8726 { $as_echo "$as_me:$LINENO: result: found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&5
8727 $as_echo "found version $gtk_major_version.$gtk_minor_version.$gtk_micro_version" >&6; }
8729 GTK_LIBNAME="$GTK_LIBS"
8730 GUI_INC_LOC="$GTK_CFLAGS"
8733 { $as_echo "$as_me:$LINENO: result: no" >&5
8734 $as_echo "no" >&6; }
8750 if test "x$GTK_CFLAGS" != "x"; then
8759 if test "x$GUITYPE" = "xGTK"; then
8760 if test "$gtk_major_version" = 1 -a "0$gtk_minor_version" -lt 2 \
8761 -o "$gtk_major_version" = 1 -a "$gtk_minor_version" = 2 -a "0$gtk_micro_version" -lt 3; then
8762 { $as_echo "$as_me:$LINENO: result: this GTK version is old; version 1.2.3 or later is recommended" >&5
8763 $as_echo "this GTK version is old; version 1.2.3 or later is recommended" >&6; }
8766 if test "0$gtk_major_version" -ge 2; then
8767 cat >>confdefs.h <<\_ACEOF
8771 if test "$gtk_minor_version" = 1 -a "0$gtk_micro_version" -ge 1 \
8772 || test "0$gtk_minor_version" -ge 2 \
8773 || test "0$gtk_major_version" -gt 2; then
8774 cat >>confdefs.h <<\_ACEOF
8775 #define HAVE_GTK_MULTIHEAD 1
8780 if test -z "$SKIP_GNOME"; then
8788 # Check whether --with-gnome-includes was given.
8789 if test "${with_gnome_includes+set}" = set; then
8790 withval=$with_gnome_includes; CFLAGS="$CFLAGS -I$withval"
8796 # Check whether --with-gnome-libs was given.
8797 if test "${with_gnome_libs+set}" = set; then
8798 withval=$with_gnome_libs; LDFLAGS="$LDFLAGS -L$withval" gnome_prefix=$withval
8804 # Check whether --with-gnome was given.
8805 if test "${with_gnome+set}" = set; then
8806 withval=$with_gnome; if test x$withval = xyes; then
8810 if test "x$withval" = xno; then
8814 LDFLAGS="$LDFLAGS -L$withval/lib"
8815 CFLAGS="$CFLAGS -I$withval/include"
8816 gnome_prefix=$withval/lib
8824 if test "x$want_gnome" = xyes -a "0$gtk_major_version" -ge 2; then
8826 { $as_echo "$as_me:$LINENO: checking for libgnomeui-2.0" >&5
8827 $as_echo_n "checking for libgnomeui-2.0... " >&6; }
8828 if $PKG_CONFIG --exists libgnomeui-2.0; then
8829 { $as_echo "$as_me:$LINENO: result: yes" >&5
8830 $as_echo "yes" >&6; }
8831 GNOME_LIBS=`$PKG_CONFIG --libs-only-l libgnomeui-2.0
`
8832 GNOME_LIBDIR=`$PKG_CONFIG --libs-only-L libgnomeui-2.0
`
8833 GNOME_INCLUDEDIR=`$PKG_CONFIG --cflags libgnomeui-2.0
`
8835 { $as_echo "$as_me:$LINENO: checking for FreeBSD" >&5
8836 $as_echo_n "checking for FreeBSD... " >&6; }
8837 if test "`(uname
) 2>/dev
/null
`" = FreeBSD; then
8838 { $as_echo "$as_me:$LINENO: result: yes" >&5
8839 $as_echo "yes" >&6; }
8840 GNOME_INCLUDEDIR="$GNOME_INCLUDEDIR -D_THREAD_SAFE"
8841 GNOME_LIBS="$GNOME_LIBS -pthread"
8843 { $as_echo "$as_me:$LINENO: result: no" >&5
8844 $as_echo "no" >&6; }
8848 { $as_echo "$as_me:$LINENO: result: not found" >&5
8849 $as_echo "not found" >&6; }
8850 if test "x" = xfail; then
8851 { { $as_echo "$as_me:$LINENO: error: Could not find libgnomeui-2.0 via pkg-config" >&5
8852 $as_echo "$as_me: error: Could not find libgnomeui-2.0 via pkg-config" >&2;}
8853 { (exit 1); exit 1; }; }
8857 elif test "x$want_gnome" = xyes; then
8859 # Extract the first word of "gnome-config", so it can be a program name with args.
8860 set dummy gnome-config; ac_word=$2
8861 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
8862 $as_echo_n "checking for $ac_word... " >&6; }
8863 if test "${ac_cv_path_GNOME_CONFIG+set}" = set; then
8864 $as_echo_n "(cached) " >&6
8866 case $GNOME_CONFIG in
8868 ac_cv_path_GNOME_CONFIG="$GNOME_CONFIG" # Let the user override the test with a path.
8871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8875 test -z "$as_dir" && as_dir=.
8876 for ac_exec_ext in '' $ac_executable_extensions; do
8877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
8878 ac_cv_path_GNOME_CONFIG="$as_dir/$ac_word$ac_exec_ext"
8879 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
8886 test -z "$ac_cv_path_GNOME_CONFIG" && ac_cv_path_GNOME_CONFIG="no"
8890 GNOME_CONFIG=$ac_cv_path_GNOME_CONFIG
8891 if test -n "$GNOME_CONFIG"; then
8892 { $as_echo "$as_me:$LINENO: result: $GNOME_CONFIG" >&5
8893 $as_echo "$GNOME_CONFIG" >&6; }
8895 { $as_echo "$as_me:$LINENO: result: no" >&5
8896 $as_echo "no" >&6; }
8900 if test "$GNOME_CONFIG" = "no"; then
8901 no_gnome_config="yes"
8903 { $as_echo "$as_me:$LINENO: checking if $GNOME_CONFIG works" >&5
8904 $as_echo_n "checking if $GNOME_CONFIG works... " >&6; }
8905 if $GNOME_CONFIG --libs-only-l gnome >/dev/null 2>&1; then
8906 { $as_echo "$as_me:$LINENO: result: yes" >&5
8907 $as_echo "yes" >&6; }
8908 GNOME_LIBS="`$GNOME_CONFIG --libs-only-l gnome gnomeui
`"
8909 GNOME_LIBDIR="`$GNOME_CONFIG --libs-only-L gnorba gnomeui
`"
8910 GNOME_INCLUDEDIR="`$GNOME_CONFIG --cflags gnorba gnomeui
`"
8913 { $as_echo "$as_me:$LINENO: result: no" >&5
8914 $as_echo "no" >&6; }
8915 no_gnome_config="yes"
8919 if test x$exec_prefix = xNONE; then
8920 if test x$prefix = xNONE; then
8921 gnome_prefix=$ac_default_prefix/lib
8923 gnome_prefix=$prefix/lib
8926 gnome_prefix=`eval echo \
`echo $libdir\``
8929 if test "$no_gnome_config" = "yes"; then
8930 { $as_echo "$as_me:$LINENO: checking for gnomeConf.sh file in $gnome_prefix" >&5
8931 $as_echo_n "checking for gnomeConf.sh file in $gnome_prefix... " >&6; }
8932 if test -f $gnome_prefix/gnomeConf.sh; then
8933 { $as_echo "$as_me:$LINENO: result: found" >&5
8934 $as_echo "found" >&6; }
8935 echo "loading gnome configuration from" \
8936 "$gnome_prefix/gnomeConf.sh"
8937 . $gnome_prefix/gnomeConf.sh
8940 { $as_echo "$as_me:$LINENO: result: not found" >&5
8941 $as_echo "not found" >&6; }
8942 if test x = xfail; then
8943 { { $as_echo "$as_me:$LINENO: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&5
8944 $as_echo "$as_me: error: Could not find the gnomeConf.sh file that is generated by gnome-libs install" >&2;}
8945 { (exit 1); exit 1; }; }
8952 if test x$have_gnome = xyes ; then
8953 cat >>confdefs.h <<\_ACEOF
8954 #define FEAT_GUI_GNOME 1
8957 GUI_INC_LOC="$GUI_INC_LOC $GNOME_INCLUDEDIR"
8958 GTK_LIBNAME="$GTK_LIBNAME $GNOME_LIBDIR $GNOME_LIBS"
8968 if test -z "$SKIP_MOTIF"; then
8969 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"
8970 GUI_INC_LOC="`echo $GUI_INC_LOC|
sed 's%-I%%g'`"
8972 { $as_echo "$as_me:$LINENO: checking for location of Motif GUI includes" >&5
8973 $as_echo_n "checking for location of Motif GUI includes... " >&6; }
8974 gui_includes="`echo $x_includes|
sed 's%/^/^/*$%%'` `echo "$gui_XXX" |
sed s
/XXX
/include
/g
` $GUI_INC_LOC"
8976 for try in $gui_includes; do
8977 if test -f "$try/Xm/Xm.h"; then
8981 if test -n "$GUI_INC_LOC"; then
8982 if test "$GUI_INC_LOC" = /usr/include; then
8984 { $as_echo "$as_me:$LINENO: result: in default path" >&5
8985 $as_echo "in default path" >&6; }
8987 { $as_echo "$as_me:$LINENO: result: $GUI_INC_LOC" >&5
8988 $as_echo "$GUI_INC_LOC" >&6; }
8991 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
8992 $as_echo "<not found>" >&6; }
8998 if test -z "$SKIP_MOTIF"; then
8999 { $as_echo "$as_me:$LINENO: checking --with-motif-lib argument" >&5
9000 $as_echo_n "checking --with-motif-lib argument... " >&6; }
9002 # Check whether --with-motif-lib was given.
9003 if test "${with_motif_lib+set}" = set; then
9004 withval=$with_motif_lib; MOTIF_LIBNAME="${withval}"
9008 if test -n "$MOTIF_LIBNAME"; then
9009 { $as_echo "$as_me:$LINENO: result: $MOTIF_LIBNAME" >&5
9010 $as_echo "$MOTIF_LIBNAME" >&6; }
9013 { $as_echo "$as_me:$LINENO: result: no" >&5
9014 $as_echo "no" >&6; }
9016 GUI_LIB_LOC="`echo $GUI_LIB_LOC|
sed 's%-L%%g'`"
9018 { $as_echo "$as_me:$LINENO: checking for location of Motif GUI libs" >&5
9019 $as_echo_n "checking for location of Motif GUI libs... " >&6; }
9020 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"
9022 for try in $gui_libs; do
9023 for libtry in "$try"/libXm.a "$try"/libXm.so* "$try"/libXm.sl "$try"/libXm.dylib; do
9024 if test -f "$libtry"; then
9029 if test -n "$GUI_LIB_LOC"; then
9030 if test "$GUI_LIB_LOC" = /usr/lib; then
9032 { $as_echo "$as_me:$LINENO: result: in default path" >&5
9033 $as_echo "in default path" >&6; }
9035 if test -n "$GUI_LIB_LOC"; then
9036 { $as_echo "$as_me:$LINENO: result: $GUI_LIB_LOC" >&5
9037 $as_echo "$GUI_LIB_LOC" >&6; }
9038 if test "`(uname
) 2>/dev
/null
`" = SunOS &&
9039 uname -r | grep '^5' >/dev/null; then
9040 GUI_LIB_LOC="$GUI_LIB_LOC -R $GUI_LIB_LOC"
9046 { $as_echo "$as_me:$LINENO: result: <not found>" >&5
9047 $as_echo "<not found>" >&6; }
9053 if test -z "$SKIP_MOTIF"; then
9063 if test -z "$SKIP_ATHENA"; then
9064 { $as_echo "$as_me:$LINENO: checking if Athena header files can be found" >&5
9065 $as_echo_n "checking if Athena header files can be found... " >&6; }
9067 CFLAGS="$CFLAGS $X_CFLAGS"
9068 cat >conftest.$ac_ext <<_ACEOF
9071 cat confdefs.h >>conftest.$ac_ext
9072 cat >>conftest.$ac_ext <<_ACEOF
9073 /* end confdefs.h. */
9075 #include <X11/Intrinsic.h>
9076 #include <X11/Xaw/Paned.h>
9085 rm -f conftest.$ac_objext
9086 if { (ac_try="$ac_compile"
9088 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9089 *) ac_try_echo
=$ac_try;;
9091 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9092 $as_echo "$ac_try_echo") >&5
9093 (eval "$ac_compile") 2>conftest.er1
9095 grep -v '^ *+' conftest.er1
>conftest.err
9097 cat conftest.err
>&5
9098 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9099 (exit $ac_status); } && {
9100 test -z "$ac_c_werror_flag" ||
9101 test ! -s conftest.err
9102 } && test -s conftest.
$ac_objext; then
9103 { $as_echo "$as_me:$LINENO: result: yes" >&5
9104 $as_echo "yes" >&6; }
9106 $as_echo "$as_me: failed program was:" >&5
9107 sed 's/^/| /' conftest.
$ac_ext >&5
9109 { $as_echo "$as_me:$LINENO: result: no" >&5
9110 $as_echo "no" >&6; }; SKIP_ATHENA
=YES
9113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9117 if test -z "$SKIP_ATHENA"; then
9121 if test -z "$SKIP_NEXTAW"; then
9122 { $as_echo "$as_me:$LINENO: checking if neXtaw header files can be found" >&5
9123 $as_echo_n "checking if neXtaw header files can be found... " >&6; }
9125 CFLAGS
="$CFLAGS $X_CFLAGS"
9126 cat >conftest.
$ac_ext <<_ACEOF
9129 cat confdefs.h
>>conftest.
$ac_ext
9130 cat >>conftest.
$ac_ext <<_ACEOF
9131 /* end confdefs.h. */
9133 #include <X11/Intrinsic.h>
9134 #include <X11/neXtaw/Paned.h>
9143 rm -f conftest.
$ac_objext
9144 if { (ac_try
="$ac_compile"
9146 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9147 *) ac_try_echo=$ac_try;;
9149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9150 $as_echo "$ac_try_echo") >&5
9151 (eval "$ac_compile") 2>conftest.er1
9153 grep -v '^ *+' conftest.er1 >conftest.err
9155 cat conftest.err >&5
9156 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9157 (exit $ac_status); } && {
9158 test -z "$ac_c_werror_flag" ||
9159 test ! -s conftest.err
9160 } && test -s conftest.$ac_objext; then
9161 { $as_echo "$as_me:$LINENO: result: yes" >&5
9162 $as_echo "yes" >&6; }
9164 $as_echo "$as_me: failed program was:" >&5
9165 sed 's/^/| /' conftest.$ac_ext >&5
9167 { $as_echo "$as_me:$LINENO: result: no" >&5
9168 $as_echo "no" >&6; }; SKIP_NEXTAW=YES
9171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9175 if test -z "$SKIP_NEXTAW"; then
9179 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
9180 if test -n "$GUI_INC_LOC"; then
9181 GUI_INC_LOC=-I"`echo $GUI_INC_LOC|
sed 's%-I%%'`"
9183 if test -n "$GUI_LIB_LOC"; then
9184 GUI_LIB_LOC=-L"`echo $GUI_LIB_LOC|
sed 's%-L%%'`"
9187 ldflags_save=$LDFLAGS
9188 LDFLAGS="$X_LIBS $LDFLAGS"
9189 { $as_echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
9190 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
9191 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
9192 $as_echo_n "(cached) " >&6
9194 ac_check_lib_save_LIBS=$LIBS
9195 LIBS="-lXext -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9196 cat >conftest.$ac_ext <<_ACEOF
9199 cat confdefs.h >>conftest.$ac_ext
9200 cat >>conftest.$ac_ext <<_ACEOF
9201 /* end confdefs.h. */
9203 /* Override any GCC internal prototype to avoid an error.
9204 Use char because int might match the return type of a GCC
9205 builtin and then its argument prototype would still apply. */
9209 char XShapeQueryExtension ();
9213 return XShapeQueryExtension ();
9218 rm -f conftest.$ac_objext conftest$ac_exeext
9219 if { (ac_try="$ac_link"
9221 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9222 *) ac_try_echo
=$ac_try;;
9224 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9225 $as_echo "$ac_try_echo") >&5
9226 (eval "$ac_link") 2>conftest.er1
9228 grep -v '^ *+' conftest.er1
>conftest.err
9230 cat conftest.err
>&5
9231 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9232 (exit $ac_status); } && {
9233 test -z "$ac_c_werror_flag" ||
9234 test ! -s conftest.err
9235 } && test -s conftest
$ac_exeext && {
9236 test "$cross_compiling" = yes ||
9237 $as_test_x conftest
$ac_exeext
9239 ac_cv_lib_Xext_XShapeQueryExtension
=yes
9241 $as_echo "$as_me: failed program was:" >&5
9242 sed 's/^/| /' conftest.
$ac_ext >&5
9244 ac_cv_lib_Xext_XShapeQueryExtension
=no
9247 rm -rf conftest.dSYM
9248 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9249 conftest
$ac_exeext conftest.
$ac_ext
9250 LIBS
=$ac_check_lib_save_LIBS
9252 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
9253 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
9254 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
9258 { $as_echo "$as_me:$LINENO: checking for wslen in -lw" >&5
9259 $as_echo_n "checking for wslen in -lw... " >&6; }
9260 if test "${ac_cv_lib_w_wslen+set}" = set; then
9261 $as_echo_n "(cached) " >&6
9263 ac_check_lib_save_LIBS
=$LIBS
9264 LIBS
="-lw $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9265 cat >conftest.
$ac_ext <<_ACEOF
9268 cat confdefs.h
>>conftest.
$ac_ext
9269 cat >>conftest.
$ac_ext <<_ACEOF
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9287 rm -f conftest.
$ac_objext conftest
$ac_exeext
9288 if { (ac_try
="$ac_link"
9290 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9291 *) ac_try_echo=$ac_try;;
9293 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9294 $as_echo "$ac_try_echo") >&5
9295 (eval "$ac_link") 2>conftest.er1
9297 grep -v '^ *+' conftest.er1 >conftest.err
9299 cat conftest.err >&5
9300 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9301 (exit $ac_status); } && {
9302 test -z "$ac_c_werror_flag" ||
9303 test ! -s conftest.err
9304 } && test -s conftest$ac_exeext && {
9305 test "$cross_compiling" = yes ||
9306 $as_test_x conftest$ac_exeext
9308 ac_cv_lib_w_wslen=yes
9310 $as_echo "$as_me: failed program was:" >&5
9311 sed 's/^/| /' conftest.$ac_ext >&5
9313 ac_cv_lib_w_wslen=no
9316 rm -rf conftest.dSYM
9317 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9318 conftest$ac_exeext conftest.$ac_ext
9319 LIBS=$ac_check_lib_save_LIBS
9321 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_w_wslen" >&5
9322 $as_echo "$ac_cv_lib_w_wslen" >&6; }
9323 if test $ac_cv_lib_w_wslen = yes; then
9324 X_EXTRA_LIBS="$X_EXTRA_LIBS -lw"
9327 { $as_echo "$as_me:$LINENO: checking for dlsym in -ldl" >&5
9328 $as_echo_n "checking for dlsym in -ldl... " >&6; }
9329 if test "${ac_cv_lib_dl_dlsym+set}" = set; then
9330 $as_echo_n "(cached) " >&6
9332 ac_check_lib_save_LIBS=$LIBS
9333 LIBS="-ldl $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9334 cat >conftest.$ac_ext <<_ACEOF
9337 cat confdefs.h >>conftest.$ac_ext
9338 cat >>conftest.$ac_ext <<_ACEOF
9339 /* end confdefs.h. */
9341 /* Override any GCC internal prototype to avoid an error.
9342 Use char because int might match the return type of a GCC
9343 builtin and then its argument prototype would still apply. */
9356 rm -f conftest.$ac_objext conftest$ac_exeext
9357 if { (ac_try="$ac_link"
9359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9360 *) ac_try_echo
=$ac_try;;
9362 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9363 $as_echo "$ac_try_echo") >&5
9364 (eval "$ac_link") 2>conftest.er1
9366 grep -v '^ *+' conftest.er1
>conftest.err
9368 cat conftest.err
>&5
9369 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9370 (exit $ac_status); } && {
9371 test -z "$ac_c_werror_flag" ||
9372 test ! -s conftest.err
9373 } && test -s conftest
$ac_exeext && {
9374 test "$cross_compiling" = yes ||
9375 $as_test_x conftest
$ac_exeext
9377 ac_cv_lib_dl_dlsym
=yes
9379 $as_echo "$as_me: failed program was:" >&5
9380 sed 's/^/| /' conftest.
$ac_ext >&5
9382 ac_cv_lib_dl_dlsym
=no
9385 rm -rf conftest.dSYM
9386 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9387 conftest
$ac_exeext conftest.
$ac_ext
9388 LIBS
=$ac_check_lib_save_LIBS
9390 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlsym" >&5
9391 $as_echo "$ac_cv_lib_dl_dlsym" >&6; }
9392 if test $ac_cv_lib_dl_dlsym = yes; then
9393 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldl"
9396 { $as_echo "$as_me:$LINENO: checking for XmuCreateStippledPixmap in -lXmu" >&5
9397 $as_echo_n "checking for XmuCreateStippledPixmap in -lXmu... " >&6; }
9398 if test "${ac_cv_lib_Xmu_XmuCreateStippledPixmap+set}" = set; then
9399 $as_echo_n "(cached) " >&6
9401 ac_check_lib_save_LIBS
=$LIBS
9402 LIBS
="-lXmu $GUI_X_LIBS -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9403 cat >conftest.
$ac_ext <<_ACEOF
9406 cat confdefs.h
>>conftest.
$ac_ext
9407 cat >>conftest.
$ac_ext <<_ACEOF
9408 /* end confdefs.h. */
9410 /* Override any GCC internal prototype to avoid an error.
9411 Use char because int might match the return type of a GCC
9412 builtin and then its argument prototype would still apply. */
9416 char XmuCreateStippledPixmap ();
9420 return XmuCreateStippledPixmap ();
9425 rm -f conftest.
$ac_objext conftest
$ac_exeext
9426 if { (ac_try
="$ac_link"
9428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9429 *) ac_try_echo=$ac_try;;
9431 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9432 $as_echo "$ac_try_echo") >&5
9433 (eval "$ac_link") 2>conftest.er1
9435 grep -v '^ *+' conftest.er1 >conftest.err
9437 cat conftest.err >&5
9438 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9439 (exit $ac_status); } && {
9440 test -z "$ac_c_werror_flag" ||
9441 test ! -s conftest.err
9442 } && test -s conftest$ac_exeext && {
9443 test "$cross_compiling" = yes ||
9444 $as_test_x conftest$ac_exeext
9446 ac_cv_lib_Xmu_XmuCreateStippledPixmap=yes
9448 $as_echo "$as_me: failed program was:" >&5
9449 sed 's/^/| /' conftest.$ac_ext >&5
9451 ac_cv_lib_Xmu_XmuCreateStippledPixmap=no
9454 rm -rf conftest.dSYM
9455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9456 conftest$ac_exeext conftest.$ac_ext
9457 LIBS=$ac_check_lib_save_LIBS
9459 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&5
9460 $as_echo "$ac_cv_lib_Xmu_XmuCreateStippledPixmap" >&6; }
9461 if test $ac_cv_lib_Xmu_XmuCreateStippledPixmap = yes; then
9462 GUI_X_LIBS="-lXmu $GUI_X_LIBS"
9465 if test -z "$SKIP_MOTIF"; then
9466 { $as_echo "$as_me:$LINENO: checking for XpEndJob in -lXp" >&5
9467 $as_echo_n "checking for XpEndJob in -lXp... " >&6; }
9468 if test "${ac_cv_lib_Xp_XpEndJob+set}" = set; then
9469 $as_echo_n "(cached) " >&6
9471 ac_check_lib_save_LIBS=$LIBS
9472 LIBS="-lXp $GUI_X_LIBS -lXm -lXt $X_PRE_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9473 cat >conftest.$ac_ext <<_ACEOF
9476 cat confdefs.h >>conftest.$ac_ext
9477 cat >>conftest.$ac_ext <<_ACEOF
9478 /* end confdefs.h. */
9480 /* Override any GCC internal prototype to avoid an error.
9481 Use char because int might match the return type of a GCC
9482 builtin and then its argument prototype would still apply. */
9495 rm -f conftest.$ac_objext conftest$ac_exeext
9496 if { (ac_try="$ac_link"
9498 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9499 *) ac_try_echo
=$ac_try;;
9501 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9502 $as_echo "$ac_try_echo") >&5
9503 (eval "$ac_link") 2>conftest.er1
9505 grep -v '^ *+' conftest.er1
>conftest.err
9507 cat conftest.err
>&5
9508 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 (exit $ac_status); } && {
9510 test -z "$ac_c_werror_flag" ||
9511 test ! -s conftest.err
9512 } && test -s conftest
$ac_exeext && {
9513 test "$cross_compiling" = yes ||
9514 $as_test_x conftest
$ac_exeext
9516 ac_cv_lib_Xp_XpEndJob
=yes
9518 $as_echo "$as_me: failed program was:" >&5
9519 sed 's/^/| /' conftest.
$ac_ext >&5
9521 ac_cv_lib_Xp_XpEndJob
=no
9524 rm -rf conftest.dSYM
9525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9526 conftest
$ac_exeext conftest.
$ac_ext
9527 LIBS
=$ac_check_lib_save_LIBS
9529 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_Xp_XpEndJob" >&5
9530 $as_echo "$ac_cv_lib_Xp_XpEndJob" >&6; }
9531 if test $ac_cv_lib_Xp_XpEndJob = yes; then
9532 GUI_X_LIBS
="-lXp $GUI_X_LIBS"
9536 LDFLAGS
=$ldflags_save
9538 { $as_echo "$as_me:$LINENO: checking for extra X11 defines" >&5
9539 $as_echo_n "checking for extra X11 defines... " >&6; }
9542 if mkdir conftestdir
; then
9544 cat > Imakefile
<<'EOF'
9546 @echo 'NARROW_PROTO="${PROTO_DEFINES}"'
9548 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9549 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9554 if test -z "$NARROW_PROTO"; then
9555 { $as_echo "$as_me:$LINENO: result: no" >&5
9556 $as_echo "no" >&6; }
9558 { $as_echo "$as_me:$LINENO: result: $NARROW_PROTO" >&5
9559 $as_echo "$NARROW_PROTO" >&6; }
9564 if test "$enable_xsmp" = "yes"; then
9565 cppflags_save
=$CPPFLAGS
9566 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9568 for ac_header
in X11
/SM
/SMlib.h
9570 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9571 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9572 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9573 $as_echo_n "checking for $ac_header... " >&6; }
9574 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9575 $as_echo_n "(cached) " >&6
9577 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9578 $as_echo "$as_val"'`
9579 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9580 $as_echo "$ac_res" >&6; }
9582 # Is the header compilable?
9583 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9584 $as_echo_n "checking $ac_header usability... " >&6; }
9585 cat >conftest.
$ac_ext <<_ACEOF
9588 cat confdefs.h
>>conftest.
$ac_ext
9589 cat >>conftest.
$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9591 $ac_includes_default
9592 #include <$ac_header>
9594 rm -f conftest.
$ac_objext
9595 if { (ac_try
="$ac_compile"
9597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9598 *) ac_try_echo=$ac_try;;
9600 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9601 $as_echo "$ac_try_echo") >&5
9602 (eval "$ac_compile") 2>conftest.er1
9604 grep -v '^ *+' conftest.er1 >conftest.err
9606 cat conftest.err >&5
9607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9608 (exit $ac_status); } && {
9609 test -z "$ac_c_werror_flag" ||
9610 test ! -s conftest.err
9611 } && test -s conftest.$ac_objext; then
9612 ac_header_compiler=yes
9614 $as_echo "$as_me: failed program was:" >&5
9615 sed 's/^/| /' conftest.$ac_ext >&5
9617 ac_header_compiler=no
9620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9621 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9622 $as_echo "$ac_header_compiler" >&6; }
9624 # Is the header present?
9625 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9626 $as_echo_n "checking $ac_header presence... " >&6; }
9627 cat >conftest.$ac_ext <<_ACEOF
9630 cat confdefs.h >>conftest.$ac_ext
9631 cat >>conftest.$ac_ext <<_ACEOF
9632 /* end confdefs.h. */
9633 #include <$ac_header>
9635 if { (ac_try="$ac_cpp conftest.$ac_ext"
9637 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9638 *) ac_try_echo
=$ac_try;;
9640 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
9641 $as_echo "$ac_try_echo") >&5
9642 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9644 grep -v '^ *+' conftest.er1
>conftest.err
9646 cat conftest.err
>&5
9647 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9648 (exit $ac_status); } >/dev
/null
&& {
9649 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9650 test ! -s conftest.err
9652 ac_header_preproc
=yes
9654 $as_echo "$as_me: failed program was:" >&5
9655 sed 's/^/| /' conftest.
$ac_ext >&5
9657 ac_header_preproc
=no
9660 rm -f conftest.err conftest.
$ac_ext
9661 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9662 $as_echo "$ac_header_preproc" >&6; }
9664 # So? What about this header?
9665 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9667 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9668 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9669 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9670 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9671 ac_header_preproc
=yes
9674 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9675 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9676 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9677 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9678 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9679 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9680 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9681 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9682 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9683 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9684 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9685 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9689 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9690 $as_echo_n "checking for $ac_header... " >&6; }
9691 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9692 $as_echo_n "(cached) " >&6
9694 eval "$as_ac_Header=\$ac_header_preproc"
9696 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9697 $as_echo "$as_val"'`
9698 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9699 $as_echo "$ac_res" >&6; }
9702 if test `eval 'as_val=${'$as_ac_Header'}
9703 $as_echo "$as_val"'` = yes; then
9704 cat >>confdefs.h
<<_ACEOF
9705 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9712 CPPFLAGS
=$cppflags_save
9716 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF" -o -z "$SKIP_GTK"; then
9717 cppflags_save
=$CPPFLAGS
9718 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9721 for ac_header
in X11
/xpm.h X11
/Sunkeysym.h
9723 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9724 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9725 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9726 $as_echo_n "checking for $ac_header... " >&6; }
9727 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9728 $as_echo_n "(cached) " >&6
9730 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9731 $as_echo "$as_val"'`
9732 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9733 $as_echo "$ac_res" >&6; }
9735 # Is the header compilable?
9736 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9737 $as_echo_n "checking $ac_header usability... " >&6; }
9738 cat >conftest.
$ac_ext <<_ACEOF
9741 cat confdefs.h
>>conftest.
$ac_ext
9742 cat >>conftest.
$ac_ext <<_ACEOF
9743 /* end confdefs.h. */
9744 $ac_includes_default
9745 #include <$ac_header>
9747 rm -f conftest.
$ac_objext
9748 if { (ac_try
="$ac_compile"
9750 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9751 *) ac_try_echo=$ac_try;;
9753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9754 $as_echo "$ac_try_echo") >&5
9755 (eval "$ac_compile") 2>conftest.er1
9757 grep -v '^ *+' conftest.er1 >conftest.err
9759 cat conftest.err >&5
9760 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9761 (exit $ac_status); } && {
9762 test -z "$ac_c_werror_flag" ||
9763 test ! -s conftest.err
9764 } && test -s conftest.$ac_objext; then
9765 ac_header_compiler=yes
9767 $as_echo "$as_me: failed program was:" >&5
9768 sed 's/^/| /' conftest.$ac_ext >&5
9770 ac_header_compiler=no
9773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9774 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9775 $as_echo "$ac_header_compiler" >&6; }
9777 # Is the header present?
9778 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
9779 $as_echo_n "checking $ac_header presence... " >&6; }
9780 cat >conftest.$ac_ext <<_ACEOF
9783 cat confdefs.h >>conftest.$ac_ext
9784 cat >>conftest.$ac_ext <<_ACEOF
9785 /* end confdefs.h. */
9786 #include <$ac_header>
9788 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 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); } >/dev
/null
&& {
9802 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
9803 test ! -s conftest.err
9805 ac_header_preproc
=yes
9807 $as_echo "$as_me: failed program was:" >&5
9808 sed 's/^/| /' conftest.
$ac_ext >&5
9810 ac_header_preproc
=no
9813 rm -f conftest.err conftest.
$ac_ext
9814 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9815 $as_echo "$ac_header_preproc" >&6; }
9817 # So? What about this header?
9818 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9820 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9821 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9822 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9823 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9824 ac_header_preproc
=yes
9827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9828 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9830 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9831 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9832 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9833 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9834 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9835 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9836 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9837 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9838 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9842 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9843 $as_echo_n "checking for $ac_header... " >&6; }
9844 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9845 $as_echo_n "(cached) " >&6
9847 eval "$as_ac_Header=\$ac_header_preproc"
9849 ac_res
=`eval 'as_val=${'$as_ac_Header'}
9850 $as_echo "$as_val"'`
9851 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9852 $as_echo "$ac_res" >&6; }
9855 if test `eval 'as_val=${'$as_ac_Header'}
9856 $as_echo "$as_val"'` = yes; then
9857 cat >>confdefs.h
<<_ACEOF
9858 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9866 if test ! "$enable_xim" = "no"; then
9867 { $as_echo "$as_me:$LINENO: checking for XIMText in X11/Xlib.h" >&5
9868 $as_echo_n "checking for XIMText in X11/Xlib.h... " >&6; }
9869 cat >conftest.
$ac_ext <<_ACEOF
9872 cat confdefs.h
>>conftest.
$ac_ext
9873 cat >>conftest.
$ac_ext <<_ACEOF
9874 /* end confdefs.h. */
9875 #include <X11/Xlib.h>
9877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9878 $EGREP "XIMText" >/dev
/null
2>&1; then
9879 { $as_echo "$as_me:$LINENO: result: yes" >&5
9880 $as_echo "yes" >&6; }
9882 { $as_echo "$as_me:$LINENO: result: no; xim has been disabled" >&5
9883 $as_echo "no; xim has been disabled" >&6; }; enable_xim
= "no"
9888 CPPFLAGS
=$cppflags_save
9890 if test "$enable_xim" = "auto" -a "$enable_hangulinput" != "yes" \
9891 -a "x$GUITYPE" != "xNONE" ; then
9892 { $as_echo "$as_me:$LINENO: result: X GUI selected; xim has been enabled" >&5
9893 $as_echo "X GUI selected; xim has been enabled" >&6; }
9898 if test -z "$SKIP_ATHENA" -o -z "$SKIP_NEXTAW" -o -z "$SKIP_MOTIF"; then
9899 cppflags_save
=$CPPFLAGS
9900 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
9901 { $as_echo "$as_me:$LINENO: checking for X11/Xmu/Editres.h" >&5
9902 $as_echo_n "checking for X11/Xmu/Editres.h... " >&6; }
9903 cat >conftest.
$ac_ext <<_ACEOF
9906 cat confdefs.h
>>conftest.
$ac_ext
9907 cat >>conftest.
$ac_ext <<_ACEOF
9908 /* end confdefs.h. */
9910 #include <X11/Intrinsic.h>
9911 #include <X11/Xmu/Editres.h>
9920 rm -f conftest.
$ac_objext
9921 if { (ac_try
="$ac_compile"
9923 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9924 *) ac_try_echo=$ac_try;;
9926 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
9927 $as_echo "$ac_try_echo") >&5
9928 (eval "$ac_compile") 2>conftest.er1
9930 grep -v '^ *+' conftest.er1 >conftest.err
9932 cat conftest.err >&5
9933 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
9934 (exit $ac_status); } && {
9935 test -z "$ac_c_werror_flag" ||
9936 test ! -s conftest.err
9937 } && test -s conftest.$ac_objext; then
9938 { $as_echo "$as_me:$LINENO: result: yes" >&5
9939 $as_echo "yes" >&6; }
9940 cat >>confdefs.h <<\_ACEOF
9941 #define HAVE_X11_XMU_EDITRES_H 1
9945 $as_echo "$as_me: failed program was:" >&5
9946 sed 's/^/| /' conftest.$ac_ext >&5
9948 { $as_echo "$as_me:$LINENO: result: no" >&5
9949 $as_echo "no" >&6; }
9952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9953 CPPFLAGS=$cppflags_save
9956 if test -z "$SKIP_MOTIF"; then
9957 cppflags_save=$CPPFLAGS
9958 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9966 for ac_header in Xm/Xm.h Xm/XpmP.h Xm/JoinSideT.h Xm/TraitP.h Xm/Manager.h \
9967 Xm/UnhighlightT.h Xm/Notebook.h
9969 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" |
$as_tr_sh`
9970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9971 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
9972 $as_echo_n "checking for $ac_header... " >&6; }
9973 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9974 $as_echo_n "(cached) " >&6
9976 ac_res=`eval 'as_val=${'$as_ac_Header'}
9977 $as_echo "$as_val"'`
9978 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
9979 $as_echo "$ac_res" >&6; }
9981 # Is the header compilable?
9982 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
9983 $as_echo_n "checking $ac_header usability... " >&6; }
9984 cat >conftest.$ac_ext <<_ACEOF
9987 cat confdefs.h >>conftest.$ac_ext
9988 cat >>conftest.$ac_ext <<_ACEOF
9989 /* end confdefs.h. */
9990 $ac_includes_default
9991 #include <$ac_header>
9993 rm -f conftest.$ac_objext
9994 if { (ac_try="$ac_compile"
9996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9997 *) ac_try_echo
=$ac_try;;
9999 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10000 $as_echo "$ac_try_echo") >&5
10001 (eval "$ac_compile") 2>conftest.er1
10003 grep -v '^ *+' conftest.er1
>conftest.err
10005 cat conftest.err
>&5
10006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10007 (exit $ac_status); } && {
10008 test -z "$ac_c_werror_flag" ||
10009 test ! -s conftest.err
10010 } && test -s conftest.
$ac_objext; then
10011 ac_header_compiler
=yes
10013 $as_echo "$as_me: failed program was:" >&5
10014 sed 's/^/| /' conftest.
$ac_ext >&5
10016 ac_header_compiler
=no
10019 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10020 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10021 $as_echo "$ac_header_compiler" >&6; }
10023 # Is the header present?
10024 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10025 $as_echo_n "checking $ac_header presence... " >&6; }
10026 cat >conftest.
$ac_ext <<_ACEOF
10029 cat confdefs.h
>>conftest.
$ac_ext
10030 cat >>conftest.
$ac_ext <<_ACEOF
10031 /* end confdefs.h. */
10032 #include <$ac_header>
10034 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10035 case "(($ac_try" in
10036 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10037 *) ac_try_echo=$ac_try;;
10039 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10040 $as_echo "$ac_try_echo") >&5
10041 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10043 grep -v '^ *+' conftest.er1 >conftest.err
10045 cat conftest.err >&5
10046 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10047 (exit $ac_status); } >/dev/null && {
10048 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10049 test ! -s conftest.err
10051 ac_header_preproc=yes
10053 $as_echo "$as_me: failed program was:" >&5
10054 sed 's/^/| /' conftest.$ac_ext >&5
10056 ac_header_preproc=no
10059 rm -f conftest.err conftest.$ac_ext
10060 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10061 $as_echo "$ac_header_preproc" >&6; }
10063 # So? What about this header?
10064 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10066 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10067 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10068 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10069 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10070 ac_header_preproc=yes
10073 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10074 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10075 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10076 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10077 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10078 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10079 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10080 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10081 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10082 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10083 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10084 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10088 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10089 $as_echo_n "checking for $ac_header... " >&6; }
10090 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10091 $as_echo_n "(cached) " >&6
10093 eval "$as_ac_Header=\$ac_header_preproc"
10095 ac_res=`eval 'as_val=${'$as_ac_Header'}
10096 $as_echo "$as_val"'`
10097 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10098 $as_echo "$ac_res" >&6; }
10101 if test `eval 'as_val=${'$as_ac_Header'}
10102 $as_echo "$as_val"'` = yes; then
10103 cat >>confdefs.h <<_ACEOF
10104 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10112 if test $ac_cv_header_Xm_XpmP_h = yes; then
10113 { $as_echo "$as_me:$LINENO: checking for XpmAttributes_21 in Xm/XpmP.h" >&5
10114 $as_echo_n "checking for XpmAttributes_21 in Xm/XpmP.h... " >&6; }
10115 cat >conftest.$ac_ext <<_ACEOF
10118 cat confdefs.h >>conftest.$ac_ext
10119 cat >>conftest.$ac_ext <<_ACEOF
10120 /* end confdefs.h. */
10121 #include <Xm/XpmP.h>
10125 XpmAttributes_21 attr;
10130 rm -f conftest.$ac_objext
10131 if { (ac_try="$ac_compile"
10132 case "(($ac_try" in
10133 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10134 *) ac_try_echo
=$ac_try;;
10136 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10137 $as_echo "$ac_try_echo") >&5
10138 (eval "$ac_compile") 2>conftest.er1
10140 grep -v '^ *+' conftest.er1
>conftest.err
10142 cat conftest.err
>&5
10143 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10144 (exit $ac_status); } && {
10145 test -z "$ac_c_werror_flag" ||
10146 test ! -s conftest.err
10147 } && test -s conftest.
$ac_objext; then
10148 { $as_echo "$as_me:$LINENO: result: yes" >&5
10149 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
10150 #define XPMATTRIBUTES_TYPE XpmAttributes_21
10154 $as_echo "$as_me: failed program was:" >&5
10155 sed 's/^/| /' conftest.
$ac_ext >&5
10157 { $as_echo "$as_me:$LINENO: result: no" >&5
10158 $as_echo "no" >&6; }; cat >>confdefs.h
<<\_ACEOF
10159 #define XPMATTRIBUTES_TYPE XpmAttributes
10165 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10167 cat >>confdefs.h
<<\_ACEOF
10168 #define XPMATTRIBUTES_TYPE XpmAttributes
10172 CPPFLAGS
=$cppflags_save
10175 if test "x$GUITYPE" = "xNONE" -a "$enable_xim" = "yes"; then
10176 { $as_echo "$as_me:$LINENO: result: no GUI selected; xim has been disabled" >&5
10177 $as_echo "no GUI selected; xim has been disabled" >&6; }
10180 if test "x$GUITYPE" = "xNONE" -a "$enable_fontset" = "yes"; then
10181 { $as_echo "$as_me:$LINENO: result: no GUI selected; fontset has been disabled" >&5
10182 $as_echo "no GUI selected; fontset has been disabled" >&6; }
10183 enable_fontset
="no"
10185 if test "x$GUITYPE:$enable_fontset" = "xGTK:yes" -a "0$gtk_major_version" -ge 2; then
10186 { $as_echo "$as_me:$LINENO: result: GTK+ 2 GUI selected; fontset has been disabled" >&5
10187 $as_echo "GTK+ 2 GUI selected; fontset has been disabled" >&6; }
10188 enable_fontset
="no"
10191 if test -z "$SKIP_PHOTON"; then
10200 if test "$enable_workshop" = "yes" -a -n "$SKIP_MOTIF"; then
10201 { { $as_echo "$as_me:$LINENO: error: cannot use workshop without Motif" >&5
10202 $as_echo "$as_me: error: cannot use workshop without Motif" >&2;}
10203 { (exit 1); exit 1; }; }
10206 if test "$enable_xim" = "yes"; then
10207 cat >>confdefs.h
<<\_ACEOF
10212 if test "$enable_fontset" = "yes"; then
10213 cat >>confdefs.h
<<\_ACEOF
10214 #define FEAT_XFONTSET 1
10222 if test "$enable_hangulinput" = "yes"; then
10223 if test "x$GUITYPE" = "xNONE"; then
10224 { $as_echo "$as_me:$LINENO: result: no GUI selected; hangul input has been disabled" >&5
10225 $as_echo "no GUI selected; hangul input has been disabled" >&6; }
10226 enable_hangulinput
=no
10228 cat >>confdefs.h
<<\_ACEOF
10229 #define FEAT_HANGULIN 1
10232 HANGULIN_SRC
=hangulin.c
10234 HANGULIN_OBJ
=objects
/hangulin.o
10240 { $as_echo "$as_me:$LINENO: checking whether toupper is broken" >&5
10241 $as_echo_n "checking whether toupper is broken... " >&6; }
10242 if test "${vim_cv_toupper_broken+set}" = set; then
10243 $as_echo_n "(cached) " >&6
10246 if test "$cross_compiling" = yes; then
10248 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_toupper_broken'" >&5
10249 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_toupper_broken'" >&2;}
10250 { (exit 1); exit 1; }; }
10253 cat >conftest.
$ac_ext <<_ACEOF
10255 #include "confdefs.h"
10258 # include <stdlib.h>
10259 # include <stddef.h>
10261 main() { exit(toupper('A') == 'A' && tolower('z') == 'z'); }
10264 rm -f conftest
$ac_exeext
10265 if { (ac_try
="$ac_link"
10266 case "(($ac_try" in
10267 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10268 *) ac_try_echo=$ac_try;;
10270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10271 $as_echo "$ac_try_echo") >&5
10272 (eval "$ac_link") 2>&5
10274 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10275 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
10276 { (case "(($ac_try" in
10277 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10278 *) ac_try_echo
=$ac_try;;
10280 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10281 $as_echo "$ac_try_echo") >&5
10282 (eval "$ac_try") 2>&5
10284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10285 (exit $ac_status); }; }; then
10287 vim_cv_toupper_broken
=yes
10290 $as_echo "$as_me: program exited with status $ac_status" >&5
10291 $as_echo "$as_me: failed program was:" >&5
10292 sed 's/^/| /' conftest.
$ac_ext >&5
10294 ( exit $ac_status )
10296 vim_cv_toupper_broken
=no
10299 rm -rf conftest.dSYM
10300 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
10305 { $as_echo "$as_me:$LINENO: result: $vim_cv_toupper_broken" >&5
10306 $as_echo "$vim_cv_toupper_broken" >&6; }
10308 if test "x$vim_cv_toupper_broken" = "xyes" ; then
10309 cat >>confdefs.h
<<\_ACEOF
10310 #define BROKEN_TOUPPER 1
10315 { $as_echo "$as_me:$LINENO: checking whether __DATE__ and __TIME__ work" >&5
10316 $as_echo_n "checking whether __DATE__ and __TIME__ work... " >&6; }
10317 cat >conftest.
$ac_ext <<_ACEOF
10320 cat confdefs.h
>>conftest.
$ac_ext
10321 cat >>conftest.
$ac_ext <<_ACEOF
10322 /* end confdefs.h. */
10327 printf("(" __DATE__ " " __TIME__ ")");
10332 rm -f conftest.
$ac_objext
10333 if { (ac_try
="$ac_compile"
10334 case "(($ac_try" in
10335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10336 *) ac_try_echo=$ac_try;;
10338 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10339 $as_echo "$ac_try_echo") >&5
10340 (eval "$ac_compile") 2>conftest.er1
10342 grep -v '^ *+' conftest.er1 >conftest.err
10344 cat conftest.err >&5
10345 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10346 (exit $ac_status); } && {
10347 test -z "$ac_c_werror_flag" ||
10348 test ! -s conftest.err
10349 } && test -s conftest.$ac_objext; then
10350 { $as_echo "$as_me:$LINENO: result: yes" >&5
10351 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
10352 #define HAVE_DATE_TIME 1
10356 $as_echo "$as_me: failed program was:" >&5
10357 sed 's/^/| /' conftest.$ac_ext >&5
10359 { $as_echo "$as_me:$LINENO: result: no" >&5
10360 $as_echo "no" >&6; }
10363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10365 if test "${ac_cv_header_elf_h+set}" = set; then
10366 { $as_echo "$as_me:$LINENO: checking for elf.h" >&5
10367 $as_echo_n "checking for elf.h... " >&6; }
10368 if test "${ac_cv_header_elf_h+set}" = set; then
10369 $as_echo_n "(cached) " >&6
10371 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
10372 $as_echo "$ac_cv_header_elf_h" >&6; }
10374 # Is the header compilable?
10375 { $as_echo "$as_me:$LINENO: checking elf.h usability" >&5
10376 $as_echo_n "checking elf.h usability... " >&6; }
10377 cat >conftest.$ac_ext <<_ACEOF
10380 cat confdefs.h >>conftest.$ac_ext
10381 cat >>conftest.$ac_ext <<_ACEOF
10382 /* end confdefs.h. */
10383 $ac_includes_default
10386 rm -f conftest.$ac_objext
10387 if { (ac_try="$ac_compile"
10388 case "(($ac_try" in
10389 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10390 *) ac_try_echo
=$ac_try;;
10392 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10393 $as_echo "$ac_try_echo") >&5
10394 (eval "$ac_compile") 2>conftest.er1
10396 grep -v '^ *+' conftest.er1
>conftest.err
10398 cat conftest.err
>&5
10399 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10400 (exit $ac_status); } && {
10401 test -z "$ac_c_werror_flag" ||
10402 test ! -s conftest.err
10403 } && test -s conftest.
$ac_objext; then
10404 ac_header_compiler
=yes
10406 $as_echo "$as_me: failed program was:" >&5
10407 sed 's/^/| /' conftest.
$ac_ext >&5
10409 ac_header_compiler
=no
10412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10413 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10414 $as_echo "$ac_header_compiler" >&6; }
10416 # Is the header present?
10417 { $as_echo "$as_me:$LINENO: checking elf.h presence" >&5
10418 $as_echo_n "checking elf.h presence... " >&6; }
10419 cat >conftest.
$ac_ext <<_ACEOF
10422 cat confdefs.h
>>conftest.
$ac_ext
10423 cat >>conftest.
$ac_ext <<_ACEOF
10424 /* end confdefs.h. */
10427 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10428 case "(($ac_try" in
10429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10432 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10433 $as_echo "$ac_try_echo") >&5
10434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10436 grep -v '^ *+' conftest.er1 >conftest.err
10438 cat conftest.err >&5
10439 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10440 (exit $ac_status); } >/dev/null && {
10441 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
10442 test ! -s conftest.err
10444 ac_header_preproc=yes
10446 $as_echo "$as_me: failed program was:" >&5
10447 sed 's/^/| /' conftest.$ac_ext >&5
10449 ac_header_preproc=no
10452 rm -f conftest.err conftest.$ac_ext
10453 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10454 $as_echo "$ac_header_preproc" >&6; }
10456 # So? What about this header?
10457 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10459 { $as_echo "$as_me:$LINENO: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&5
10460 $as_echo "$as_me: WARNING: elf.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
10461 { $as_echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the compiler's result" >&5
10462 $as_echo "$as_me: WARNING: elf.h: proceeding with the compiler's result" >&2;}
10463 ac_header_preproc=yes
10466 { $as_echo "$as_me:$LINENO: WARNING: elf.h: present but cannot be compiled" >&5
10467 $as_echo "$as_me: WARNING: elf.h: present but cannot be compiled" >&2;}
10468 { $as_echo "$as_me:$LINENO: WARNING: elf.h: check for missing prerequisite headers?" >&5
10469 $as_echo "$as_me: WARNING: elf.h: check for missing prerequisite headers?" >&2;}
10470 { $as_echo "$as_me:$LINENO: WARNING: elf.h: see the Autoconf documentation" >&5
10471 $as_echo "$as_me: WARNING: elf.h: see the Autoconf documentation" >&2;}
10472 { $as_echo "$as_me:$LINENO: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&5
10473 $as_echo "$as_me: WARNING: elf.h: section \"Present But Cannot Be Compiled\"" >&2;}
10474 { $as_echo "$as_me:$LINENO: WARNING: elf.h: proceeding with the preprocessor's result" >&5
10475 $as_echo "$as_me: WARNING: elf.h: proceeding with the preprocessor's result" >&2;}
10476 { $as_echo "$as_me:$LINENO: WARNING: elf.h: in the future, the compiler will take precedence" >&5
10477 $as_echo "$as_me: WARNING: elf.h: in the future, the compiler will take precedence" >&2;}
10481 { $as_echo "$as_me:$LINENO: checking for elf.h" >&5
10482 $as_echo_n "checking for elf.h... " >&6; }
10483 if test "${ac_cv_header_elf_h+set}" = set; then
10484 $as_echo_n "(cached) " >&6
10486 ac_cv_header_elf_h=$ac_header_preproc
10488 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_elf_h" >&5
10489 $as_echo "$ac_cv_header_elf_h" >&6; }
10492 if test $ac_cv_header_elf_h = yes; then
10497 if test "$HAS_ELF" = 1; then
10499 { $as_echo "$as_me:$LINENO: checking for main in -lelf" >&5
10500 $as_echo_n "checking for main in -lelf... " >&6; }
10501 if test "${ac_cv_lib_elf_main+set}" = set; then
10502 $as_echo_n "(cached) " >&6
10504 ac_check_lib_save_LIBS=$LIBS
10506 cat >conftest.$ac_ext <<_ACEOF
10509 cat confdefs.h >>conftest.$ac_ext
10510 cat >>conftest.$ac_ext <<_ACEOF
10511 /* end confdefs.h. */
10522 rm -f conftest.$ac_objext conftest$ac_exeext
10523 if { (ac_try="$ac_link"
10524 case "(($ac_try" in
10525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10526 *) ac_try_echo
=$ac_try;;
10528 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10529 $as_echo "$ac_try_echo") >&5
10530 (eval "$ac_link") 2>conftest.er1
10532 grep -v '^ *+' conftest.er1
>conftest.err
10534 cat conftest.err
>&5
10535 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10536 (exit $ac_status); } && {
10537 test -z "$ac_c_werror_flag" ||
10538 test ! -s conftest.err
10539 } && test -s conftest
$ac_exeext && {
10540 test "$cross_compiling" = yes ||
10541 $as_test_x conftest
$ac_exeext
10543 ac_cv_lib_elf_main
=yes
10545 $as_echo "$as_me: failed program was:" >&5
10546 sed 's/^/| /' conftest.
$ac_ext >&5
10548 ac_cv_lib_elf_main
=no
10551 rm -rf conftest.dSYM
10552 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10553 conftest
$ac_exeext conftest.
$ac_ext
10554 LIBS
=$ac_check_lib_save_LIBS
10556 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_elf_main" >&5
10557 $as_echo "$ac_cv_lib_elf_main" >&6; }
10558 if test $ac_cv_lib_elf_main = yes; then
10559 cat >>confdefs.h
<<_ACEOF
10560 #define HAVE_LIBELF 1
10574 ac_header_dirent
=no
10575 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
; do
10576 as_ac_Header
=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
10577 { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
10578 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
10579 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10580 $as_echo_n "(cached) " >&6
10582 cat >conftest.
$ac_ext <<_ACEOF
10585 cat confdefs.h
>>conftest.
$ac_ext
10586 cat >>conftest.
$ac_ext <<_ACEOF
10587 /* end confdefs.h. */
10588 #include <sys/types.h>
10600 rm -f conftest.
$ac_objext
10601 if { (ac_try
="$ac_compile"
10602 case "(($ac_try" in
10603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10604 *) ac_try_echo=$ac_try;;
10606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10607 $as_echo "$ac_try_echo") >&5
10608 (eval "$ac_compile") 2>conftest.er1
10610 grep -v '^ *+' conftest.er1 >conftest.err
10612 cat conftest.err >&5
10613 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10614 (exit $ac_status); } && {
10615 test -z "$ac_c_werror_flag" ||
10616 test ! -s conftest.err
10617 } && test -s conftest.$ac_objext; then
10618 eval "$as_ac_Header=yes"
10620 $as_echo "$as_me: failed program was:" >&5
10621 sed 's/^/| /' conftest.$ac_ext >&5
10623 eval "$as_ac_Header=no"
10626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10628 ac_res=`eval 'as_val=${'$as_ac_Header'}
10629 $as_echo "$as_val"'`
10630 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10631 $as_echo "$ac_res" >&6; }
10632 if test `eval 'as_val=${'$as_ac_Header'}
10633 $as_echo "$as_val"'` = yes; then
10634 cat >>confdefs.h <<_ACEOF
10635 #define `$as_echo "HAVE_$ac_hdr" |
$as_tr_cpp` 1
10638 ac_header_dirent=$ac_hdr; break
10642 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
10643 if test $ac_header_dirent = dirent.h; then
10644 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
10645 $as_echo_n "checking for library containing opendir... " >&6; }
10646 if test "${ac_cv_search_opendir+set}" = set; then
10647 $as_echo_n "(cached) " >&6
10649 ac_func_search_save_LIBS=$LIBS
10650 cat >conftest.$ac_ext <<_ACEOF
10653 cat confdefs.h >>conftest.$ac_ext
10654 cat >>conftest.$ac_ext <<_ACEOF
10655 /* end confdefs.h. */
10657 /* Override any GCC internal prototype to avoid an error.
10658 Use char because int might match the return type of a GCC
10659 builtin and then its argument prototype would still apply. */
10672 for ac_lib in '' dir; do
10673 if test -z "$ac_lib"; then
10674 ac_res="none required"
10677 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10679 rm -f conftest.$ac_objext conftest$ac_exeext
10680 if { (ac_try="$ac_link"
10681 case "(($ac_try" in
10682 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10683 *) ac_try_echo
=$ac_try;;
10685 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10686 $as_echo "$ac_try_echo") >&5
10687 (eval "$ac_link") 2>conftest.er1
10689 grep -v '^ *+' conftest.er1
>conftest.err
10691 cat conftest.err
>&5
10692 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10693 (exit $ac_status); } && {
10694 test -z "$ac_c_werror_flag" ||
10695 test ! -s conftest.err
10696 } && test -s conftest
$ac_exeext && {
10697 test "$cross_compiling" = yes ||
10698 $as_test_x conftest
$ac_exeext
10700 ac_cv_search_opendir
=$ac_res
10702 $as_echo "$as_me: failed program was:" >&5
10703 sed 's/^/| /' conftest.
$ac_ext >&5
10708 rm -rf conftest.dSYM
10709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10711 if test "${ac_cv_search_opendir+set}" = set; then
10715 if test "${ac_cv_search_opendir+set}" = set; then
10718 ac_cv_search_opendir
=no
10720 rm conftest.
$ac_ext
10721 LIBS
=$ac_func_search_save_LIBS
10723 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10724 $as_echo "$ac_cv_search_opendir" >&6; }
10725 ac_res
=$ac_cv_search_opendir
10726 if test "$ac_res" != no
; then
10727 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
10732 { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
10733 $as_echo_n "checking for library containing opendir... " >&6; }
10734 if test "${ac_cv_search_opendir+set}" = set; then
10735 $as_echo_n "(cached) " >&6
10737 ac_func_search_save_LIBS
=$LIBS
10738 cat >conftest.
$ac_ext <<_ACEOF
10741 cat confdefs.h
>>conftest.
$ac_ext
10742 cat >>conftest.
$ac_ext <<_ACEOF
10743 /* end confdefs.h. */
10745 /* Override any GCC internal prototype to avoid an error.
10746 Use char because int might match the return type of a GCC
10747 builtin and then its argument prototype would still apply. */
10760 for ac_lib
in '' x
; do
10761 if test -z "$ac_lib"; then
10762 ac_res
="none required"
10765 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
10767 rm -f conftest.
$ac_objext conftest
$ac_exeext
10768 if { (ac_try
="$ac_link"
10769 case "(($ac_try" in
10770 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10771 *) ac_try_echo=$ac_try;;
10773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10774 $as_echo "$ac_try_echo") >&5
10775 (eval "$ac_link") 2>conftest.er1
10777 grep -v '^ *+' conftest.er1 >conftest.err
10779 cat conftest.err >&5
10780 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); } && {
10782 test -z "$ac_c_werror_flag" ||
10783 test ! -s conftest.err
10784 } && test -s conftest$ac_exeext && {
10785 test "$cross_compiling" = yes ||
10786 $as_test_x conftest$ac_exeext
10788 ac_cv_search_opendir=$ac_res
10790 $as_echo "$as_me: failed program was:" >&5
10791 sed 's/^/| /' conftest.$ac_ext >&5
10796 rm -rf conftest.dSYM
10797 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10799 if test "${ac_cv_search_opendir+set}" = set; then
10803 if test "${ac_cv_search_opendir+set}" = set; then
10806 ac_cv_search_opendir=no
10808 rm conftest.$ac_ext
10809 LIBS=$ac_func_search_save_LIBS
10811 { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
10812 $as_echo "$ac_cv_search_opendir" >&6; }
10813 ac_res=$ac_cv_search_opendir
10814 if test "$ac_res" != no; then
10815 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10822 if test $ac_cv_header_sys_wait_h = no; then
10823 { $as_echo "$as_me:$LINENO: checking for sys/wait.h that defines union wait" >&5
10824 $as_echo_n "checking for sys/wait.h that defines union wait... " >&6; }
10825 cat >conftest.$ac_ext <<_ACEOF
10828 cat confdefs.h >>conftest.$ac_ext
10829 cat >>conftest.$ac_ext <<_ACEOF
10830 /* end confdefs.h. */
10831 #include <sys/wait.h>
10835 union wait xx, yy; xx = yy
10840 rm -f conftest.$ac_objext
10841 if { (ac_try="$ac_compile"
10842 case "(($ac_try" in
10843 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10844 *) ac_try_echo
=$ac_try;;
10846 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
10847 $as_echo "$ac_try_echo") >&5
10848 (eval "$ac_compile") 2>conftest.er1
10850 grep -v '^ *+' conftest.er1
>conftest.err
10852 cat conftest.err
>&5
10853 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); } && {
10855 test -z "$ac_c_werror_flag" ||
10856 test ! -s conftest.err
10857 } && test -s conftest.
$ac_objext; then
10858 { $as_echo "$as_me:$LINENO: result: yes" >&5
10859 $as_echo "yes" >&6; }
10860 cat >>confdefs.h
<<\_ACEOF
10861 #define HAVE_SYS_WAIT_H 1
10864 cat >>confdefs.h
<<\_ACEOF
10865 #define HAVE_UNION_WAIT 1
10869 $as_echo "$as_me: failed program was:" >&5
10870 sed 's/^/| /' conftest.
$ac_ext >&5
10872 { $as_echo "$as_me:$LINENO: result: no" >&5
10873 $as_echo "no" >&6; }
10876 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10920 for ac_header
in stdarg.h stdlib.h string.h sys
/select.h sys
/utsname.h \
10921 termcap.h fcntl.h sgtty.h sys
/ioctl.h sys
/time.h sys
/types.h termio.h \
10922 iconv.h langinfo.h math.h unistd.h stropts.h errno.h \
10923 sys
/resource.h sys
/systeminfo.h locale.h \
10924 sys
/stream.h termios.h libc.h sys
/statfs.h \
10925 poll.h sys
/poll.h
pwd.h utime.h sys
/param.h libintl.h \
10926 libgen.h util
/debug.h util
/msg18n.h frame.h \
10927 sys
/acl.h sys
/access.h sys
/sysctl.h sys
/sysinfo.h wchar.h wctype.h
10929 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10930 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10931 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
10932 $as_echo_n "checking for $ac_header... " >&6; }
10933 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10934 $as_echo_n "(cached) " >&6
10936 ac_res
=`eval 'as_val=${'$as_ac_Header'}
10937 $as_echo "$as_val"'`
10938 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
10939 $as_echo "$ac_res" >&6; }
10941 # Is the header compilable?
10942 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
10943 $as_echo_n "checking $ac_header usability... " >&6; }
10944 cat >conftest.
$ac_ext <<_ACEOF
10947 cat confdefs.h
>>conftest.
$ac_ext
10948 cat >>conftest.
$ac_ext <<_ACEOF
10949 /* end confdefs.h. */
10950 $ac_includes_default
10951 #include <$ac_header>
10953 rm -f conftest.
$ac_objext
10954 if { (ac_try
="$ac_compile"
10955 case "(($ac_try" in
10956 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10957 *) ac_try_echo=$ac_try;;
10959 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10960 $as_echo "$ac_try_echo") >&5
10961 (eval "$ac_compile") 2>conftest.er1
10963 grep -v '^ *+' conftest.er1 >conftest.err
10965 cat conftest.err >&5
10966 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10967 (exit $ac_status); } && {
10968 test -z "$ac_c_werror_flag" ||
10969 test ! -s conftest.err
10970 } && test -s conftest.$ac_objext; then
10971 ac_header_compiler=yes
10973 $as_echo "$as_me: failed program was:" >&5
10974 sed 's/^/| /' conftest.$ac_ext >&5
10976 ac_header_compiler=no
10979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10980 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10981 $as_echo "$ac_header_compiler" >&6; }
10983 # Is the header present?
10984 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
10985 $as_echo_n "checking $ac_header presence... " >&6; }
10986 cat >conftest.$ac_ext <<_ACEOF
10989 cat confdefs.h >>conftest.$ac_ext
10990 cat >>conftest.$ac_ext <<_ACEOF
10991 /* end confdefs.h. */
10992 #include <$ac_header>
10994 if { (ac_try="$ac_cpp conftest.$ac_ext"
10995 case "(($ac_try" in
10996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10997 *) ac_try_echo
=$ac_try;;
10999 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11000 $as_echo "$ac_try_echo") >&5
11001 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11003 grep -v '^ *+' conftest.er1
>conftest.err
11005 cat conftest.err
>&5
11006 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11007 (exit $ac_status); } >/dev
/null
&& {
11008 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11009 test ! -s conftest.err
11011 ac_header_preproc
=yes
11013 $as_echo "$as_me: failed program was:" >&5
11014 sed 's/^/| /' conftest.
$ac_ext >&5
11016 ac_header_preproc
=no
11019 rm -f conftest.err conftest.
$ac_ext
11020 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11021 $as_echo "$ac_header_preproc" >&6; }
11023 # So? What about this header?
11024 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11026 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11027 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11028 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11029 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11030 ac_header_preproc
=yes
11033 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11034 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11035 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11036 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11037 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11038 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11039 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11040 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11041 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11042 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11043 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11044 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11048 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11049 $as_echo_n "checking for $ac_header... " >&6; }
11050 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11051 $as_echo_n "(cached) " >&6
11053 eval "$as_ac_Header=\$ac_header_preproc"
11055 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11056 $as_echo "$as_val"'`
11057 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11058 $as_echo "$ac_res" >&6; }
11061 if test `eval 'as_val=${'$as_ac_Header'}
11062 $as_echo "$as_val"'` = yes; then
11063 cat >>confdefs.h
<<_ACEOF
11064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11073 for ac_header
in sys
/ptem.h
11075 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11076 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11077 $as_echo_n "checking for $ac_header... " >&6; }
11078 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11079 $as_echo_n "(cached) " >&6
11081 cat >conftest.
$ac_ext <<_ACEOF
11084 cat confdefs.h
>>conftest.
$ac_ext
11085 cat >>conftest.
$ac_ext <<_ACEOF
11086 /* end confdefs.h. */
11087 #if defined HAVE_SYS_STREAM_H
11088 # include <sys/stream.h>
11091 #include <$ac_header>
11093 rm -f conftest.
$ac_objext
11094 if { (ac_try
="$ac_compile"
11095 case "(($ac_try" in
11096 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11097 *) ac_try_echo=$ac_try;;
11099 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11100 $as_echo "$ac_try_echo") >&5
11101 (eval "$ac_compile") 2>conftest.er1
11103 grep -v '^ *+' conftest.er1 >conftest.err
11105 cat conftest.err >&5
11106 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11107 (exit $ac_status); } && {
11108 test -z "$ac_c_werror_flag" ||
11109 test ! -s conftest.err
11110 } && test -s conftest.$ac_objext; then
11111 eval "$as_ac_Header=yes"
11113 $as_echo "$as_me: failed program was:" >&5
11114 sed 's/^/| /' conftest.$ac_ext >&5
11116 eval "$as_ac_Header=no"
11119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11121 ac_res=`eval 'as_val=${'$as_ac_Header'}
11122 $as_echo "$as_val"'`
11123 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11124 $as_echo "$ac_res" >&6; }
11125 if test `eval 'as_val=${'$as_ac_Header'}
11126 $as_echo "$as_val"'` = yes; then
11127 cat >>confdefs.h <<_ACEOF
11128 #define `$as_echo "HAVE_$ac_header" |
$as_tr_cpp` 1
11137 { $as_echo "$as_me:$LINENO: checking for pthread_np.h" >&5
11138 $as_echo_n "checking for pthread_np.h... " >&6; }
11139 cat >conftest.$ac_ext <<_ACEOF
11142 cat confdefs.h >>conftest.$ac_ext
11143 cat >>conftest.$ac_ext <<_ACEOF
11144 /* end confdefs.h. */
11146 #include <pthread.h>
11147 #include <pthread_np.h>
11156 rm -f conftest.$ac_objext
11157 if { (ac_try="$ac_compile"
11158 case "(($ac_try" in
11159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11160 *) ac_try_echo
=$ac_try;;
11162 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11163 $as_echo "$ac_try_echo") >&5
11164 (eval "$ac_compile") 2>conftest.er1
11166 grep -v '^ *+' conftest.er1
>conftest.err
11168 cat conftest.err
>&5
11169 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11170 (exit $ac_status); } && {
11171 test -z "$ac_c_werror_flag" ||
11172 test ! -s conftest.err
11173 } && test -s conftest.
$ac_objext; then
11174 { $as_echo "$as_me:$LINENO: result: yes" >&5
11175 $as_echo "yes" >&6; }
11176 cat >>confdefs.h
<<\_ACEOF
11177 #define HAVE_PTHREAD_NP_H 1
11181 $as_echo "$as_me: failed program was:" >&5
11182 sed 's/^/| /' conftest.
$ac_ext >&5
11184 { $as_echo "$as_me:$LINENO: result: no" >&5
11185 $as_echo "no" >&6; }
11188 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11191 for ac_header
in strings.h
11193 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11194 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11195 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11196 $as_echo_n "checking for $ac_header... " >&6; }
11197 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11198 $as_echo_n "(cached) " >&6
11200 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11201 $as_echo "$as_val"'`
11202 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11203 $as_echo "$ac_res" >&6; }
11205 # Is the header compilable?
11206 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
11207 $as_echo_n "checking $ac_header usability... " >&6; }
11208 cat >conftest.
$ac_ext <<_ACEOF
11211 cat confdefs.h
>>conftest.
$ac_ext
11212 cat >>conftest.
$ac_ext <<_ACEOF
11213 /* end confdefs.h. */
11214 $ac_includes_default
11215 #include <$ac_header>
11217 rm -f conftest.
$ac_objext
11218 if { (ac_try
="$ac_compile"
11219 case "(($ac_try" in
11220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11221 *) ac_try_echo=$ac_try;;
11223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11224 $as_echo "$ac_try_echo") >&5
11225 (eval "$ac_compile") 2>conftest.er1
11227 grep -v '^ *+' conftest.er1 >conftest.err
11229 cat conftest.err >&5
11230 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11231 (exit $ac_status); } && {
11232 test -z "$ac_c_werror_flag" ||
11233 test ! -s conftest.err
11234 } && test -s conftest.$ac_objext; then
11235 ac_header_compiler=yes
11237 $as_echo "$as_me: failed program was:" >&5
11238 sed 's/^/| /' conftest.$ac_ext >&5
11240 ac_header_compiler=no
11243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11244 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11245 $as_echo "$ac_header_compiler" >&6; }
11247 # Is the header present?
11248 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
11249 $as_echo_n "checking $ac_header presence... " >&6; }
11250 cat >conftest.$ac_ext <<_ACEOF
11253 cat confdefs.h >>conftest.$ac_ext
11254 cat >>conftest.$ac_ext <<_ACEOF
11255 /* end confdefs.h. */
11256 #include <$ac_header>
11258 if { (ac_try="$ac_cpp conftest.$ac_ext"
11259 case "(($ac_try" in
11260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11261 *) ac_try_echo
=$ac_try;;
11263 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11264 $as_echo "$ac_try_echo") >&5
11265 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11267 grep -v '^ *+' conftest.er1
>conftest.err
11269 cat conftest.err
>&5
11270 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11271 (exit $ac_status); } >/dev
/null
&& {
11272 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
11273 test ! -s conftest.err
11275 ac_header_preproc
=yes
11277 $as_echo "$as_me: failed program was:" >&5
11278 sed 's/^/| /' conftest.
$ac_ext >&5
11280 ac_header_preproc
=no
11283 rm -f conftest.err conftest.
$ac_ext
11284 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11285 $as_echo "$ac_header_preproc" >&6; }
11287 # So? What about this header?
11288 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11291 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11293 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11294 ac_header_preproc
=yes
11297 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11298 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11299 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11300 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11301 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11302 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11303 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11304 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11305 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11306 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11307 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11308 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11312 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
11313 $as_echo_n "checking for $ac_header... " >&6; }
11314 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11315 $as_echo_n "(cached) " >&6
11317 eval "$as_ac_Header=\$ac_header_preproc"
11319 ac_res
=`eval 'as_val=${'$as_ac_Header'}
11320 $as_echo "$as_val"'`
11321 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
11322 $as_echo "$ac_res" >&6; }
11325 if test `eval 'as_val=${'$as_ac_Header'}
11326 $as_echo "$as_val"'` = yes; then
11327 cat >>confdefs.h
<<_ACEOF
11328 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11335 if test "x$MACOSX" = "xyes"; then
11336 cat >>confdefs.h
<<\_ACEOF
11337 #define NO_STRINGS_WITH_STRING_H 1
11342 { $as_echo "$as_me:$LINENO: checking if strings.h can be included after string.h" >&5
11343 $as_echo_n "checking if strings.h can be included after string.h... " >&6; }
11344 cppflags_save
=$CPPFLAGS
11345 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11346 cat >conftest.
$ac_ext <<_ACEOF
11349 cat confdefs.h
>>conftest.
$ac_ext
11350 cat >>conftest.
$ac_ext <<_ACEOF
11351 /* end confdefs.h. */
11353 #if defined(_AIX) && !defined(_AIX51) && !defined(_NO_PROTO)
11354 # define _NO_PROTO /* like in os_unix.h, causes conflict for AIX (Winn) */
11355 /* but don't do it on AIX 5.1 (Uribarri) */
11357 #ifdef HAVE_XM_XM_H
11358 # include <Xm/Xm.h> /* This breaks it for HP-UX 11 (Squassabia) */
11360 #ifdef HAVE_STRING_H
11361 # include <string.h>
11363 #if defined(HAVE_STRINGS_H)
11364 # include <strings.h>
11375 rm -f conftest.
$ac_objext
11376 if { (ac_try
="$ac_compile"
11377 case "(($ac_try" in
11378 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11379 *) ac_try_echo=$ac_try;;
11381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11382 $as_echo "$ac_try_echo") >&5
11383 (eval "$ac_compile") 2>conftest.er1
11385 grep -v '^ *+' conftest.er1 >conftest.err
11387 cat conftest.err >&5
11388 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11389 (exit $ac_status); } && {
11390 test -z "$ac_c_werror_flag" ||
11391 test ! -s conftest.err
11392 } && test -s conftest.$ac_objext; then
11393 { $as_echo "$as_me:$LINENO: result: yes" >&5
11394 $as_echo "yes" >&6; }
11396 $as_echo "$as_me: failed program was:" >&5
11397 sed 's/^/| /' conftest.$ac_ext >&5
11399 cat >>confdefs.h <<\_ACEOF
11400 #define NO_STRINGS_WITH_STRING_H 1
11403 { $as_echo "$as_me:$LINENO: result: no" >&5
11404 $as_echo "no" >&6; }
11407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11408 CPPFLAGS=$cppflags_save
11411 if test $ac_cv_c_compiler_gnu = yes; then
11412 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
11413 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
11414 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
11415 $as_echo_n "(cached) " >&6
11417 ac_pattern="Autoconf.*'x'"
11418 cat >conftest.$ac_ext <<_ACEOF
11421 cat confdefs.h >>conftest.$ac_ext
11422 cat >>conftest.$ac_ext <<_ACEOF
11423 /* end confdefs.h. */
11427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11428 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11429 ac_cv_prog_gcc_traditional=yes
11431 ac_cv_prog_gcc_traditional=no
11436 if test $ac_cv_prog_gcc_traditional = no; then
11437 cat >conftest.$ac_ext <<_ACEOF
11440 cat confdefs.h >>conftest.$ac_ext
11441 cat >>conftest.$ac_ext <<_ACEOF
11442 /* end confdefs.h. */
11443 #include <termio.h>
11446 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11447 $EGREP "$ac_pattern" >/dev/null 2>&1; then
11448 ac_cv_prog_gcc_traditional=yes
11454 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
11455 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
11456 if test $ac_cv_prog_gcc_traditional = yes; then
11457 CC="$CC -traditional"
11461 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
11462 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
11463 if test "${ac_cv_c_const+set}" = set; then
11464 $as_echo_n "(cached) " >&6
11466 cat >conftest.$ac_ext <<_ACEOF
11469 cat confdefs.h >>conftest.$ac_ext
11470 cat >>conftest.$ac_ext <<_ACEOF
11471 /* end confdefs.h. */
11476 /* FIXME: Include the comments suggested by Paul. */
11477 #ifndef __cplusplus
11478 /* Ultrix mips cc rejects this. */
11479 typedef int charset[2];
11481 /* SunOS 4.1.1 cc rejects this. */
11482 char const *const *pcpcc;
11484 /* NEC SVR4.0.2 mips cc rejects this. */
11485 struct point {int x, y;};
11486 static struct point const zero = {0,0};
11487 /* AIX XL C 1.02.0.0 rejects this.
11488 It does not let you subtract one const X* pointer from another in
11489 an arm of an if-expression whose if-part is not a constant
11491 const char *g = "string";
11492 pcpcc = &g + (g ? g-g : 0);
11493 /* HPUX 7.0 cc rejects these. */
11495 ppc = (char**) pcpcc;
11496 pcpcc = (char const *const *) ppc;
11497 { /* SCO 3.2v4 cc rejects this. */
11499 char const *s = 0 ? (char *) 0 : (char const *) 0;
11504 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11505 int x[] = {25, 17};
11506 const int *foo = &x[0];
11509 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11510 typedef const int *iptr;
11514 { /* AIX XL C 1.02.0.0 rejects this saying
11515 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11516 struct s { int j; const int *ap[3]; };
11517 struct s *b; b->j = 5;
11519 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11520 const int foo = 10;
11521 if (!foo) return 0;
11523 return !cs[0] && !zero.x;
11530 rm -f conftest.$ac_objext
11531 if { (ac_try="$ac_compile"
11532 case "(($ac_try" in
11533 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11534 *) ac_try_echo
=$ac_try;;
11536 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11537 $as_echo "$ac_try_echo") >&5
11538 (eval "$ac_compile") 2>conftest.er1
11540 grep -v '^ *+' conftest.er1
>conftest.err
11542 cat conftest.err
>&5
11543 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11544 (exit $ac_status); } && {
11545 test -z "$ac_c_werror_flag" ||
11546 test ! -s conftest.err
11547 } && test -s conftest.
$ac_objext; then
11550 $as_echo "$as_me: failed program was:" >&5
11551 sed 's/^/| /' conftest.
$ac_ext >&5
11556 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11558 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
11559 $as_echo "$ac_cv_c_const" >&6; }
11560 if test $ac_cv_c_const = no
; then
11562 cat >>confdefs.h
<<\_ACEOF
11568 { $as_echo "$as_me:$LINENO: checking for working volatile" >&5
11569 $as_echo_n "checking for working volatile... " >&6; }
11570 if test "${ac_cv_c_volatile+set}" = set; then
11571 $as_echo_n "(cached) " >&6
11573 cat >conftest.
$ac_ext <<_ACEOF
11576 cat confdefs.h
>>conftest.
$ac_ext
11577 cat >>conftest.
$ac_ext <<_ACEOF
11578 /* end confdefs.h. */
11585 int * volatile y = (int *) 0;
11591 rm -f conftest.
$ac_objext
11592 if { (ac_try
="$ac_compile"
11593 case "(($ac_try" in
11594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11595 *) ac_try_echo=$ac_try;;
11597 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11598 $as_echo "$ac_try_echo") >&5
11599 (eval "$ac_compile") 2>conftest.er1
11601 grep -v '^ *+' conftest.er1 >conftest.err
11603 cat conftest.err >&5
11604 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11605 (exit $ac_status); } && {
11606 test -z "$ac_c_werror_flag" ||
11607 test ! -s conftest.err
11608 } && test -s conftest.$ac_objext; then
11609 ac_cv_c_volatile=yes
11611 $as_echo "$as_me: failed program was:" >&5
11612 sed 's/^/| /' conftest.$ac_ext >&5
11614 ac_cv_c_volatile=no
11617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11619 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_volatile" >&5
11620 $as_echo "$ac_cv_c_volatile" >&6; }
11621 if test $ac_cv_c_volatile = no; then
11623 cat >>confdefs.h <<\_ACEOF
11624 #define volatile /**/
11629 { $as_echo "$as_me:$LINENO: checking for mode_t" >&5
11630 $as_echo_n "checking for mode_t... " >&6; }
11631 if test "${ac_cv_type_mode_t+set}" = set; then
11632 $as_echo_n "(cached) " >&6
11634 ac_cv_type_mode_t=no
11635 cat >conftest.$ac_ext <<_ACEOF
11638 cat confdefs.h >>conftest.$ac_ext
11639 cat >>conftest.$ac_ext <<_ACEOF
11640 /* end confdefs.h. */
11641 $ac_includes_default
11645 if (sizeof (mode_t))
11651 rm -f conftest.$ac_objext
11652 if { (ac_try="$ac_compile"
11653 case "(($ac_try" in
11654 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11655 *) ac_try_echo
=$ac_try;;
11657 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11658 $as_echo "$ac_try_echo") >&5
11659 (eval "$ac_compile") 2>conftest.er1
11661 grep -v '^ *+' conftest.er1
>conftest.err
11663 cat conftest.err
>&5
11664 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11665 (exit $ac_status); } && {
11666 test -z "$ac_c_werror_flag" ||
11667 test ! -s conftest.err
11668 } && test -s conftest.
$ac_objext; then
11669 cat >conftest.
$ac_ext <<_ACEOF
11672 cat confdefs.h
>>conftest.
$ac_ext
11673 cat >>conftest.
$ac_ext <<_ACEOF
11674 /* end confdefs.h. */
11675 $ac_includes_default
11679 if (sizeof ((mode_t)))
11685 rm -f conftest.
$ac_objext
11686 if { (ac_try
="$ac_compile"
11687 case "(($ac_try" in
11688 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11689 *) ac_try_echo=$ac_try;;
11691 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11692 $as_echo "$ac_try_echo") >&5
11693 (eval "$ac_compile") 2>conftest.er1
11695 grep -v '^ *+' conftest.er1 >conftest.err
11697 cat conftest.err >&5
11698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11699 (exit $ac_status); } && {
11700 test -z "$ac_c_werror_flag" ||
11701 test ! -s conftest.err
11702 } && test -s conftest.$ac_objext; then
11705 $as_echo "$as_me: failed program was:" >&5
11706 sed 's/^/| /' conftest.$ac_ext >&5
11708 ac_cv_type_mode_t=yes
11711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11713 $as_echo "$as_me: failed program was:" >&5
11714 sed 's/^/| /' conftest.$ac_ext >&5
11719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11721 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
11722 $as_echo "$ac_cv_type_mode_t" >&6; }
11723 if test $ac_cv_type_mode_t = yes; then
11727 cat >>confdefs.h <<_ACEOF
11733 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
11734 $as_echo_n "checking for off_t... " >&6; }
11735 if test "${ac_cv_type_off_t+set}" = set; then
11736 $as_echo_n "(cached) " >&6
11738 ac_cv_type_off_t=no
11739 cat >conftest.$ac_ext <<_ACEOF
11742 cat confdefs.h >>conftest.$ac_ext
11743 cat >>conftest.$ac_ext <<_ACEOF
11744 /* end confdefs.h. */
11745 $ac_includes_default
11749 if (sizeof (off_t))
11755 rm -f conftest.$ac_objext
11756 if { (ac_try="$ac_compile"
11757 case "(($ac_try" in
11758 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11759 *) ac_try_echo
=$ac_try;;
11761 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11762 $as_echo "$ac_try_echo") >&5
11763 (eval "$ac_compile") 2>conftest.er1
11765 grep -v '^ *+' conftest.er1
>conftest.err
11767 cat conftest.err
>&5
11768 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11769 (exit $ac_status); } && {
11770 test -z "$ac_c_werror_flag" ||
11771 test ! -s conftest.err
11772 } && test -s conftest.
$ac_objext; then
11773 cat >conftest.
$ac_ext <<_ACEOF
11776 cat confdefs.h
>>conftest.
$ac_ext
11777 cat >>conftest.
$ac_ext <<_ACEOF
11778 /* end confdefs.h. */
11779 $ac_includes_default
11783 if (sizeof ((off_t)))
11789 rm -f conftest.
$ac_objext
11790 if { (ac_try
="$ac_compile"
11791 case "(($ac_try" in
11792 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11793 *) ac_try_echo=$ac_try;;
11795 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11796 $as_echo "$ac_try_echo") >&5
11797 (eval "$ac_compile") 2>conftest.er1
11799 grep -v '^ *+' conftest.er1 >conftest.err
11801 cat conftest.err >&5
11802 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11803 (exit $ac_status); } && {
11804 test -z "$ac_c_werror_flag" ||
11805 test ! -s conftest.err
11806 } && test -s conftest.$ac_objext; then
11809 $as_echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.$ac_ext >&5
11812 ac_cv_type_off_t=yes
11815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11817 $as_echo "$as_me: failed program was:" >&5
11818 sed 's/^/| /' conftest.$ac_ext >&5
11823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11825 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
11826 $as_echo "$ac_cv_type_off_t" >&6; }
11827 if test $ac_cv_type_off_t = yes; then
11831 cat >>confdefs.h <<_ACEOF
11832 #define off_t long int
11837 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
11838 $as_echo_n "checking for pid_t... " >&6; }
11839 if test "${ac_cv_type_pid_t+set}" = set; then
11840 $as_echo_n "(cached) " >&6
11842 ac_cv_type_pid_t=no
11843 cat >conftest.$ac_ext <<_ACEOF
11846 cat confdefs.h >>conftest.$ac_ext
11847 cat >>conftest.$ac_ext <<_ACEOF
11848 /* end confdefs.h. */
11849 $ac_includes_default
11853 if (sizeof (pid_t))
11859 rm -f conftest.$ac_objext
11860 if { (ac_try="$ac_compile"
11861 case "(($ac_try" in
11862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11863 *) ac_try_echo
=$ac_try;;
11865 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11866 $as_echo "$ac_try_echo") >&5
11867 (eval "$ac_compile") 2>conftest.er1
11869 grep -v '^ *+' conftest.er1
>conftest.err
11871 cat conftest.err
>&5
11872 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11873 (exit $ac_status); } && {
11874 test -z "$ac_c_werror_flag" ||
11875 test ! -s conftest.err
11876 } && test -s conftest.
$ac_objext; then
11877 cat >conftest.
$ac_ext <<_ACEOF
11880 cat confdefs.h
>>conftest.
$ac_ext
11881 cat >>conftest.
$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11883 $ac_includes_default
11887 if (sizeof ((pid_t)))
11893 rm -f conftest.
$ac_objext
11894 if { (ac_try
="$ac_compile"
11895 case "(($ac_try" in
11896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11897 *) ac_try_echo=$ac_try;;
11899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11900 $as_echo "$ac_try_echo") >&5
11901 (eval "$ac_compile") 2>conftest.er1
11903 grep -v '^ *+' conftest.er1 >conftest.err
11905 cat conftest.err >&5
11906 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11907 (exit $ac_status); } && {
11908 test -z "$ac_c_werror_flag" ||
11909 test ! -s conftest.err
11910 } && test -s conftest.$ac_objext; then
11913 $as_echo "$as_me: failed program was:" >&5
11914 sed 's/^/| /' conftest.$ac_ext >&5
11916 ac_cv_type_pid_t=yes
11919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11921 $as_echo "$as_me: failed program was:" >&5
11922 sed 's/^/| /' conftest.$ac_ext >&5
11927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11929 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
11930 $as_echo "$ac_cv_type_pid_t" >&6; }
11931 if test $ac_cv_type_pid_t = yes; then
11935 cat >>confdefs.h <<_ACEOF
11941 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
11942 $as_echo_n "checking for size_t... " >&6; }
11943 if test "${ac_cv_type_size_t+set}" = set; then
11944 $as_echo_n "(cached) " >&6
11946 ac_cv_type_size_t=no
11947 cat >conftest.$ac_ext <<_ACEOF
11950 cat confdefs.h >>conftest.$ac_ext
11951 cat >>conftest.$ac_ext <<_ACEOF
11952 /* end confdefs.h. */
11953 $ac_includes_default
11957 if (sizeof (size_t))
11963 rm -f conftest.$ac_objext
11964 if { (ac_try="$ac_compile"
11965 case "(($ac_try" in
11966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11967 *) ac_try_echo
=$ac_try;;
11969 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
11970 $as_echo "$ac_try_echo") >&5
11971 (eval "$ac_compile") 2>conftest.er1
11973 grep -v '^ *+' conftest.er1
>conftest.err
11975 cat conftest.err
>&5
11976 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11977 (exit $ac_status); } && {
11978 test -z "$ac_c_werror_flag" ||
11979 test ! -s conftest.err
11980 } && test -s conftest.
$ac_objext; then
11981 cat >conftest.
$ac_ext <<_ACEOF
11984 cat confdefs.h
>>conftest.
$ac_ext
11985 cat >>conftest.
$ac_ext <<_ACEOF
11986 /* end confdefs.h. */
11987 $ac_includes_default
11991 if (sizeof ((size_t)))
11997 rm -f conftest.
$ac_objext
11998 if { (ac_try
="$ac_compile"
11999 case "(($ac_try" in
12000 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12001 *) ac_try_echo=$ac_try;;
12003 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12004 $as_echo "$ac_try_echo") >&5
12005 (eval "$ac_compile") 2>conftest.er1
12007 grep -v '^ *+' conftest.er1 >conftest.err
12009 cat conftest.err >&5
12010 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12011 (exit $ac_status); } && {
12012 test -z "$ac_c_werror_flag" ||
12013 test ! -s conftest.err
12014 } && test -s conftest.$ac_objext; then
12017 $as_echo "$as_me: failed program was:" >&5
12018 sed 's/^/| /' conftest.$ac_ext >&5
12020 ac_cv_type_size_t=yes
12023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12025 $as_echo "$as_me: failed program was:" >&5
12026 sed 's/^/| /' conftest.$ac_ext >&5
12031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12033 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
12034 $as_echo "$ac_cv_type_size_t" >&6; }
12035 if test $ac_cv_type_size_t = yes; then
12039 cat >>confdefs.h <<_ACEOF
12040 #define size_t unsigned int
12045 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
12046 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
12047 if test "${ac_cv_type_uid_t+set}" = set; then
12048 $as_echo_n "(cached) " >&6
12050 cat >conftest.$ac_ext <<_ACEOF
12053 cat confdefs.h >>conftest.$ac_ext
12054 cat >>conftest.$ac_ext <<_ACEOF
12055 /* end confdefs.h. */
12056 #include <sys/types.h>
12059 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12060 $EGREP "uid_t" >/dev/null 2>&1; then
12061 ac_cv_type_uid_t=yes
12063 ac_cv_type_uid_t=no
12068 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
12069 $as_echo "$ac_cv_type_uid_t" >&6; }
12070 if test $ac_cv_type_uid_t = no; then
12072 cat >>confdefs.h <<\_ACEOF
12077 cat >>confdefs.h <<\_ACEOF
12083 { $as_echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
12084 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
12085 if test "${ac_cv_header_time+set}" = set; then
12086 $as_echo_n "(cached) " >&6
12088 cat >conftest.$ac_ext <<_ACEOF
12091 cat confdefs.h >>conftest.$ac_ext
12092 cat >>conftest.$ac_ext <<_ACEOF
12093 /* end confdefs.h. */
12094 #include <sys/types.h>
12095 #include <sys/time.h>
12101 if ((struct tm *) 0)
12107 rm -f conftest.$ac_objext
12108 if { (ac_try="$ac_compile"
12109 case "(($ac_try" in
12110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12111 *) ac_try_echo
=$ac_try;;
12113 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12114 $as_echo "$ac_try_echo") >&5
12115 (eval "$ac_compile") 2>conftest.er1
12117 grep -v '^ *+' conftest.er1
>conftest.err
12119 cat conftest.err
>&5
12120 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12121 (exit $ac_status); } && {
12122 test -z "$ac_c_werror_flag" ||
12123 test ! -s conftest.err
12124 } && test -s conftest.
$ac_objext; then
12125 ac_cv_header_time
=yes
12127 $as_echo "$as_me: failed program was:" >&5
12128 sed 's/^/| /' conftest.
$ac_ext >&5
12130 ac_cv_header_time
=no
12133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12135 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
12136 $as_echo "$ac_cv_header_time" >&6; }
12137 if test $ac_cv_header_time = yes; then
12139 cat >>confdefs.h
<<\_ACEOF
12140 #define TIME_WITH_SYS_TIME 1
12145 { $as_echo "$as_me:$LINENO: checking for ino_t" >&5
12146 $as_echo_n "checking for ino_t... " >&6; }
12147 if test "${ac_cv_type_ino_t+set}" = set; then
12148 $as_echo_n "(cached) " >&6
12150 ac_cv_type_ino_t
=no
12151 cat >conftest.
$ac_ext <<_ACEOF
12154 cat confdefs.h
>>conftest.
$ac_ext
12155 cat >>conftest.
$ac_ext <<_ACEOF
12156 /* end confdefs.h. */
12157 $ac_includes_default
12161 if (sizeof (ino_t))
12167 rm -f conftest.
$ac_objext
12168 if { (ac_try
="$ac_compile"
12169 case "(($ac_try" in
12170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12171 *) ac_try_echo=$ac_try;;
12173 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12174 $as_echo "$ac_try_echo") >&5
12175 (eval "$ac_compile") 2>conftest.er1
12177 grep -v '^ *+' conftest.er1 >conftest.err
12179 cat conftest.err >&5
12180 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12181 (exit $ac_status); } && {
12182 test -z "$ac_c_werror_flag" ||
12183 test ! -s conftest.err
12184 } && test -s conftest.$ac_objext; then
12185 cat >conftest.$ac_ext <<_ACEOF
12188 cat confdefs.h >>conftest.$ac_ext
12189 cat >>conftest.$ac_ext <<_ACEOF
12190 /* end confdefs.h. */
12191 $ac_includes_default
12195 if (sizeof ((ino_t)))
12201 rm -f conftest.$ac_objext
12202 if { (ac_try="$ac_compile"
12203 case "(($ac_try" in
12204 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12205 *) ac_try_echo
=$ac_try;;
12207 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12208 $as_echo "$ac_try_echo") >&5
12209 (eval "$ac_compile") 2>conftest.er1
12211 grep -v '^ *+' conftest.er1
>conftest.err
12213 cat conftest.err
>&5
12214 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12215 (exit $ac_status); } && {
12216 test -z "$ac_c_werror_flag" ||
12217 test ! -s conftest.err
12218 } && test -s conftest.
$ac_objext; then
12221 $as_echo "$as_me: failed program was:" >&5
12222 sed 's/^/| /' conftest.
$ac_ext >&5
12224 ac_cv_type_ino_t
=yes
12227 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12229 $as_echo "$as_me: failed program was:" >&5
12230 sed 's/^/| /' conftest.
$ac_ext >&5
12235 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12237 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ino_t" >&5
12238 $as_echo "$ac_cv_type_ino_t" >&6; }
12239 if test $ac_cv_type_ino_t = yes; then
12243 cat >>confdefs.h
<<_ACEOF
12249 { $as_echo "$as_me:$LINENO: checking for dev_t" >&5
12250 $as_echo_n "checking for dev_t... " >&6; }
12251 if test "${ac_cv_type_dev_t+set}" = set; then
12252 $as_echo_n "(cached) " >&6
12254 ac_cv_type_dev_t
=no
12255 cat >conftest.
$ac_ext <<_ACEOF
12258 cat confdefs.h
>>conftest.
$ac_ext
12259 cat >>conftest.
$ac_ext <<_ACEOF
12260 /* end confdefs.h. */
12261 $ac_includes_default
12265 if (sizeof (dev_t))
12271 rm -f conftest.
$ac_objext
12272 if { (ac_try
="$ac_compile"
12273 case "(($ac_try" in
12274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12275 *) ac_try_echo=$ac_try;;
12277 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12278 $as_echo "$ac_try_echo") >&5
12279 (eval "$ac_compile") 2>conftest.er1
12281 grep -v '^ *+' conftest.er1 >conftest.err
12283 cat conftest.err >&5
12284 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12285 (exit $ac_status); } && {
12286 test -z "$ac_c_werror_flag" ||
12287 test ! -s conftest.err
12288 } && test -s conftest.$ac_objext; then
12289 cat >conftest.$ac_ext <<_ACEOF
12292 cat confdefs.h >>conftest.$ac_ext
12293 cat >>conftest.$ac_ext <<_ACEOF
12294 /* end confdefs.h. */
12295 $ac_includes_default
12299 if (sizeof ((dev_t)))
12305 rm -f conftest.$ac_objext
12306 if { (ac_try="$ac_compile"
12307 case "(($ac_try" in
12308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12309 *) ac_try_echo
=$ac_try;;
12311 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12312 $as_echo "$ac_try_echo") >&5
12313 (eval "$ac_compile") 2>conftest.er1
12315 grep -v '^ *+' conftest.er1
>conftest.err
12317 cat conftest.err
>&5
12318 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12319 (exit $ac_status); } && {
12320 test -z "$ac_c_werror_flag" ||
12321 test ! -s conftest.err
12322 } && test -s conftest.
$ac_objext; then
12325 $as_echo "$as_me: failed program was:" >&5
12326 sed 's/^/| /' conftest.
$ac_ext >&5
12328 ac_cv_type_dev_t
=yes
12331 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12333 $as_echo "$as_me: failed program was:" >&5
12334 sed 's/^/| /' conftest.
$ac_ext >&5
12339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12341 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_dev_t" >&5
12342 $as_echo "$ac_cv_type_dev_t" >&6; }
12343 if test $ac_cv_type_dev_t = yes; then
12347 cat >>confdefs.h
<<_ACEOF
12348 #define dev_t unsigned
12354 { $as_echo "$as_me:$LINENO: checking for rlim_t" >&5
12355 $as_echo_n "checking for rlim_t... " >&6; }
12356 if eval "test \"`echo '$''{'ac_cv_type_rlim_t'+set}'`\" = set"; then
12357 { $as_echo "$as_me:$LINENO: result: (cached) $ac_cv_type_rlim_t" >&5
12358 $as_echo "(cached) $ac_cv_type_rlim_t" >&6; }
12360 cat >conftest.
$ac_ext <<_ACEOF
12363 cat confdefs.h
>>conftest.
$ac_ext
12364 cat >>conftest.
$ac_ext <<_ACEOF
12365 /* end confdefs.h. */
12367 #include <sys/types.h>
12369 # include <stdlib.h>
12370 # include <stddef.h>
12372 #ifdef HAVE_SYS_RESOURCE_H
12373 # include <sys/resource.h>
12377 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12378 $EGREP "(^|[^a-zA-Z_0-9])rlim_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
12379 ac_cv_type_rlim_t
=yes
12381 ac_cv_type_rlim_t
=no
12385 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_rlim_t" >&5
12386 $as_echo "$ac_cv_type_rlim_t" >&6; }
12388 if test $ac_cv_type_rlim_t = no
; then
12389 cat >> confdefs.h
<<\EOF
12390 #define rlim_t unsigned long
12394 { $as_echo "$as_me:$LINENO: checking for stack_t" >&5
12395 $as_echo_n "checking for stack_t... " >&6; }
12396 if eval "test \"`echo '$''{'ac_cv_type_stack_t'+set}'`\" = set"; then
12397 { $as_echo "$as_me:$LINENO: result: (cached) $ac_cv_type_stack_t" >&5
12398 $as_echo "(cached) $ac_cv_type_stack_t" >&6; }
12400 cat >conftest.
$ac_ext <<_ACEOF
12403 cat confdefs.h
>>conftest.
$ac_ext
12404 cat >>conftest.
$ac_ext <<_ACEOF
12405 /* end confdefs.h. */
12407 #include <sys/types.h>
12409 # include <stdlib.h>
12410 # include <stddef.h>
12412 #include <signal.h>
12415 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
12416 $EGREP "stack_t" >/dev
/null
2>&1; then
12417 ac_cv_type_stack_t
=yes
12419 ac_cv_type_stack_t
=no
12423 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_stack_t" >&5
12424 $as_echo "$ac_cv_type_stack_t" >&6; }
12426 if test $ac_cv_type_stack_t = no
; then
12427 cat >> confdefs.h
<<\EOF
12428 #define stack_t struct sigaltstack
12432 { $as_echo "$as_me:$LINENO: checking whether stack_t has an ss_base field" >&5
12433 $as_echo_n "checking whether stack_t has an ss_base field... " >&6; }
12434 cat >conftest.
$ac_ext <<_ACEOF
12437 cat confdefs.h
>>conftest.
$ac_ext
12438 cat >>conftest.
$ac_ext <<_ACEOF
12439 /* end confdefs.h. */
12441 #include <sys/types.h>
12443 # include <stdlib.h>
12444 # include <stddef.h>
12446 #include <signal.h>
12447 #include "confdefs.h"
12452 stack_t sigstk; sigstk.ss_base = 0;
12457 rm -f conftest.
$ac_objext
12458 if { (ac_try
="$ac_compile"
12459 case "(($ac_try" in
12460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12461 *) ac_try_echo=$ac_try;;
12463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12464 $as_echo "$ac_try_echo") >&5
12465 (eval "$ac_compile") 2>conftest.er1
12467 grep -v '^ *+' conftest.er1 >conftest.err
12469 cat conftest.err >&5
12470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } && {
12472 test -z "$ac_c_werror_flag" ||
12473 test ! -s conftest.err
12474 } && test -s conftest.$ac_objext; then
12475 { $as_echo "$as_me:$LINENO: result: yes" >&5
12476 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12477 #define HAVE_SS_BASE 1
12481 $as_echo "$as_me: failed program was:" >&5
12482 sed 's/^/| /' conftest.$ac_ext >&5
12484 { $as_echo "$as_me:$LINENO: result: no" >&5
12485 $as_echo "no" >&6; }
12488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12491 { $as_echo "$as_me:$LINENO: checking --with-tlib argument" >&5
12492 $as_echo_n "checking --with-tlib argument... " >&6; }
12494 # Check whether --with-tlib was given.
12495 if test "${with_tlib+set}" = set; then
12496 withval=$with_tlib;
12499 if test -n "$with_tlib"; then
12500 { $as_echo "$as_me:$LINENO: result: $with_tlib" >&5
12501 $as_echo "$with_tlib" >&6; }
12502 LIBS="$LIBS -l$with_tlib"
12503 { $as_echo "$as_me:$LINENO: checking for linking with $with_tlib library" >&5
12504 $as_echo_n "checking for linking with $with_tlib library... " >&6; }
12505 cat >conftest.$ac_ext <<_ACEOF
12508 cat confdefs.h >>conftest.$ac_ext
12509 cat >>conftest.$ac_ext <<_ACEOF
12510 /* end confdefs.h. */
12520 rm -f conftest.$ac_objext conftest$ac_exeext
12521 if { (ac_try="$ac_link"
12522 case "(($ac_try" in
12523 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12524 *) ac_try_echo
=$ac_try;;
12526 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12527 $as_echo "$ac_try_echo") >&5
12528 (eval "$ac_link") 2>conftest.er1
12530 grep -v '^ *+' conftest.er1
>conftest.err
12532 cat conftest.err
>&5
12533 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } && {
12535 test -z "$ac_c_werror_flag" ||
12536 test ! -s conftest.err
12537 } && test -s conftest
$ac_exeext && {
12538 test "$cross_compiling" = yes ||
12539 $as_test_x conftest
$ac_exeext
12541 { $as_echo "$as_me:$LINENO: result: OK" >&5
12542 $as_echo "OK" >&6; }
12544 $as_echo "$as_me: failed program was:" >&5
12545 sed 's/^/| /' conftest.
$ac_ext >&5
12547 { { $as_echo "$as_me:$LINENO: error: FAILED" >&5
12548 $as_echo "$as_me: error: FAILED" >&2;}
12549 { (exit 1); exit 1; }; }
12552 rm -rf conftest.dSYM
12553 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12554 conftest
$ac_exeext conftest.
$ac_ext
12557 { $as_echo "$as_me:$LINENO: result: empty: automatic terminal library selection" >&5
12558 $as_echo "empty: automatic terminal library selection" >&6; }
12559 case "`uname -s 2>/dev/null`" in
12560 OSF1|SCO_SV
) tlibs
="ncurses curses termlib termcap";;
12561 *) tlibs
="ncurses termlib termcap curses";;
12563 for libname
in $tlibs; do
12565 as_ac_Lib
=`$as_echo "ac_cv_lib_${libname}''_tgetent" | $as_tr_sh`
12566 { $as_echo "$as_me:$LINENO: checking for tgetent in -l${libname}" >&5
12567 $as_echo_n "checking for tgetent in -l${libname}... " >&6; }
12568 if { as_var
=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
12569 $as_echo_n "(cached) " >&6
12571 ac_check_lib_save_LIBS
=$LIBS
12572 LIBS
="-l${libname} $LIBS"
12573 cat >conftest.
$ac_ext <<_ACEOF
12576 cat confdefs.h
>>conftest.
$ac_ext
12577 cat >>conftest.
$ac_ext <<_ACEOF
12578 /* end confdefs.h. */
12580 /* Override any GCC internal prototype to avoid an error.
12581 Use char because int might match the return type of a GCC
12582 builtin and then its argument prototype would still apply. */
12595 rm -f conftest.
$ac_objext conftest
$ac_exeext
12596 if { (ac_try
="$ac_link"
12597 case "(($ac_try" in
12598 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12599 *) ac_try_echo=$ac_try;;
12601 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12602 $as_echo "$ac_try_echo") >&5
12603 (eval "$ac_link") 2>conftest.er1
12605 grep -v '^ *+' conftest.er1 >conftest.err
12607 cat conftest.err >&5
12608 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12609 (exit $ac_status); } && {
12610 test -z "$ac_c_werror_flag" ||
12611 test ! -s conftest.err
12612 } && test -s conftest$ac_exeext && {
12613 test "$cross_compiling" = yes ||
12614 $as_test_x conftest$ac_exeext
12616 eval "$as_ac_Lib=yes"
12618 $as_echo "$as_me: failed program was:" >&5
12619 sed 's/^/| /' conftest.$ac_ext >&5
12621 eval "$as_ac_Lib=no"
12624 rm -rf conftest.dSYM
12625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12626 conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12629 ac_res=`eval 'as_val=${'$as_ac_Lib'}
12630 $as_echo "$as_val"'`
12631 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
12632 $as_echo "$ac_res" >&6; }
12633 if test `eval 'as_val=${'$as_ac_Lib'}
12634 $as_echo "$as_val"'` = yes; then
12635 cat >>confdefs.h <<_ACEOF
12636 #define `$as_echo "HAVE_LIB${libname}" |
$as_tr_cpp` 1
12639 LIBS="-l${libname} $LIBS"
12643 if test "x$olibs" != "x$LIBS"; then
12644 if test "$cross_compiling" = yes; then
12647 cat >conftest.$ac_ext <<_ACEOF
12650 cat confdefs.h >>conftest.$ac_ext
12651 cat >>conftest.$ac_ext <<_ACEOF
12652 /* end confdefs.h. */
12654 #ifdef HAVE_TERMCAP_H
12655 # include <termcap.h>
12658 # include <stdlib.h>
12659 # include <stddef.h>
12661 main() {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(0); }
12663 rm -f conftest$ac_exeext
12664 if { (ac_try="$ac_link"
12665 case "(($ac_try" in
12666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12667 *) ac_try_echo
=$ac_try;;
12669 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12670 $as_echo "$ac_try_echo") >&5
12671 (eval "$ac_link") 2>&5
12673 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12674 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
12675 { (case "(($ac_try" in
12676 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12677 *) ac_try_echo=$ac_try;;
12679 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12680 $as_echo "$ac_try_echo") >&5
12681 (eval "$ac_try") 2>&5
12683 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12684 (exit $ac_status); }; }; then
12687 $as_echo "$as_me: program exited with status $ac_status" >&5
12688 $as_echo "$as_me: failed program was:" >&5
12689 sed 's/^/| /' conftest.$ac_ext >&5
12691 ( exit $ac_status )
12694 rm -rf conftest.dSYM
12695 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
12699 if test "$res" = "OK"; then
12702 { $as_echo "$as_me:$LINENO: result: $libname library is not usable" >&5
12703 $as_echo "$libname library is not usable" >&6; }
12707 if test "x$olibs" = "x$LIBS"; then
12708 { $as_echo "$as_me:$LINENO: result: no terminal library found" >&5
12709 $as_echo "no terminal library found" >&6; }
12713 if test "x$olibs" = "x$LIBS"; then
12714 { $as_echo "$as_me:$LINENO: checking for tgetent()" >&5
12715 $as_echo_n "checking for tgetent()... " >&6; }
12716 cat >conftest.$ac_ext <<_ACEOF
12719 cat confdefs.h >>conftest.$ac_ext
12720 cat >>conftest.$ac_ext <<_ACEOF
12721 /* end confdefs.h. */
12726 char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");
12731 rm -f conftest.$ac_objext conftest$ac_exeext
12732 if { (ac_try="$ac_link"
12733 case "(($ac_try" in
12734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12735 *) ac_try_echo
=$ac_try;;
12737 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12738 $as_echo "$ac_try_echo") >&5
12739 (eval "$ac_link") 2>conftest.er1
12741 grep -v '^ *+' conftest.er1
>conftest.err
12743 cat conftest.err
>&5
12744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } && {
12746 test -z "$ac_c_werror_flag" ||
12747 test ! -s conftest.err
12748 } && test -s conftest
$ac_exeext && {
12749 test "$cross_compiling" = yes ||
12750 $as_test_x conftest
$ac_exeext
12752 { $as_echo "$as_me:$LINENO: result: yes" >&5
12753 $as_echo "yes" >&6; }
12755 $as_echo "$as_me: failed program was:" >&5
12756 sed 's/^/| /' conftest.
$ac_ext >&5
12758 { { $as_echo "$as_me:$LINENO: error: NOT FOUND!
12759 You need to install a terminal library; for example ncurses.
12760 Or specify the name of the library with --with-tlib." >&5
12761 $as_echo "$as_me: error: NOT FOUND!
12762 You need to install a terminal library; for example ncurses.
12763 Or specify the name of the library with --with-tlib." >&2;}
12764 { (exit 1); exit 1; }; }
12767 rm -rf conftest.dSYM
12768 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12769 conftest
$ac_exeext conftest.
$ac_ext
12772 { $as_echo "$as_me:$LINENO: checking whether we talk terminfo" >&5
12773 $as_echo_n "checking whether we talk terminfo... " >&6; }
12774 if test "${vim_cv_terminfo+set}" = set; then
12775 $as_echo_n "(cached) " >&6
12778 if test "$cross_compiling" = yes; then
12780 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_terminfo'" >&5
12781 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_terminfo'" >&2;}
12782 { (exit 1); exit 1; }; }
12785 cat >conftest.
$ac_ext <<_ACEOF
12787 #include "confdefs.h"
12788 #ifdef HAVE_TERMCAP_H
12789 # include <termcap.h>
12791 #ifdef HAVE_STRING_H
12792 # include <string.h>
12795 # include <stdlib.h>
12796 # include <stddef.h>
12799 {char *s; s=(char *)tgoto("%p1%d", 0, 1); exit(!strcmp(s==0 ? "" : s, "1")); }
12802 rm -f conftest
$ac_exeext
12803 if { (ac_try
="$ac_link"
12804 case "(($ac_try" in
12805 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12806 *) ac_try_echo=$ac_try;;
12808 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12809 $as_echo "$ac_try_echo") >&5
12810 (eval "$ac_link") 2>&5
12812 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12814 { (case "(($ac_try" in
12815 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12816 *) ac_try_echo
=$ac_try;;
12818 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12819 $as_echo "$ac_try_echo") >&5
12820 (eval "$ac_try") 2>&5
12822 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); }; }; then
12828 $as_echo "$as_me: program exited with status $ac_status" >&5
12829 $as_echo "$as_me: failed program was:" >&5
12830 sed 's/^/| /' conftest.
$ac_ext >&5
12832 ( exit $ac_status )
12834 vim_cv_terminfo
=yes
12837 rm -rf conftest.dSYM
12838 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12844 { $as_echo "$as_me:$LINENO: result: $vim_cv_terminfo" >&5
12845 $as_echo "$vim_cv_terminfo" >&6; }
12847 if test "x$vim_cv_terminfo" = "xyes" ; then
12848 cat >>confdefs.h
<<\_ACEOF
12854 if test "x$olibs" != "x$LIBS"; then
12855 { $as_echo "$as_me:$LINENO: checking what tgetent() returns for an unknown terminal" >&5
12856 $as_echo_n "checking what tgetent() returns for an unknown terminal... " >&6; }
12857 if test "${vim_cv_tgent+set}" = set; then
12858 $as_echo_n "(cached) " >&6
12861 if test "$cross_compiling" = yes; then
12863 { { $as_echo "$as_me:$LINENO: error: failed to compile test program." >&5
12864 $as_echo "$as_me: error: failed to compile test program." >&2;}
12865 { (exit 1); exit 1; }; }
12868 cat >conftest.
$ac_ext <<_ACEOF
12870 #include "confdefs.h"
12871 #ifdef HAVE_TERMCAP_H
12872 # include <termcap.h>
12875 # include <stdlib.h>
12876 # include <stddef.h>
12879 {char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist"); exit(res != 0); }
12882 rm -f conftest
$ac_exeext
12883 if { (ac_try
="$ac_link"
12884 case "(($ac_try" in
12885 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12886 *) ac_try_echo=$ac_try;;
12888 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12889 $as_echo "$ac_try_echo") >&5
12890 (eval "$ac_link") 2>&5
12892 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12893 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
12894 { (case "(($ac_try" in
12895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12896 *) ac_try_echo
=$ac_try;;
12898 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
12899 $as_echo "$ac_try_echo") >&5
12900 (eval "$ac_try") 2>&5
12902 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; }; then
12908 $as_echo "$as_me: program exited with status $ac_status" >&5
12909 $as_echo "$as_me: failed program was:" >&5
12910 sed 's/^/| /' conftest.
$ac_ext >&5
12912 ( exit $ac_status )
12914 vim_cv_tgent
=non-zero
12917 rm -rf conftest.dSYM
12918 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
12924 { $as_echo "$as_me:$LINENO: result: $vim_cv_tgent" >&5
12925 $as_echo "$vim_cv_tgent" >&6; }
12927 if test "x$vim_cv_tgent" = "xzero" ; then
12928 cat >>confdefs.h
<<\_ACEOF
12929 #define TGETENT_ZERO_ERR 0
12935 { $as_echo "$as_me:$LINENO: checking whether termcap.h contains ospeed" >&5
12936 $as_echo_n "checking whether termcap.h contains ospeed... " >&6; }
12937 cat >conftest.
$ac_ext <<_ACEOF
12940 cat confdefs.h
>>conftest.
$ac_ext
12941 cat >>conftest.
$ac_ext <<_ACEOF
12942 /* end confdefs.h. */
12944 #ifdef HAVE_TERMCAP_H
12945 # include <termcap.h>
12956 rm -f conftest.
$ac_objext conftest
$ac_exeext
12957 if { (ac_try
="$ac_link"
12958 case "(($ac_try" in
12959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12960 *) ac_try_echo=$ac_try;;
12962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12963 $as_echo "$ac_try_echo") >&5
12964 (eval "$ac_link") 2>conftest.er1
12966 grep -v '^ *+' conftest.er1 >conftest.err
12968 cat conftest.err >&5
12969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); } && {
12971 test -z "$ac_c_werror_flag" ||
12972 test ! -s conftest.err
12973 } && test -s conftest$ac_exeext && {
12974 test "$cross_compiling" = yes ||
12975 $as_test_x conftest$ac_exeext
12977 { $as_echo "$as_me:$LINENO: result: yes" >&5
12978 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
12979 #define HAVE_OSPEED 1
12983 $as_echo "$as_me: failed program was:" >&5
12984 sed 's/^/| /' conftest.$ac_ext >&5
12986 { $as_echo "$as_me:$LINENO: result: no" >&5
12987 $as_echo "no" >&6; }
12988 { $as_echo "$as_me:$LINENO: checking whether ospeed can be extern" >&5
12989 $as_echo_n "checking whether ospeed can be extern... " >&6; }
12990 cat >conftest.$ac_ext <<_ACEOF
12993 cat confdefs.h >>conftest.$ac_ext
12994 cat >>conftest.$ac_ext <<_ACEOF
12995 /* end confdefs.h. */
12997 #ifdef HAVE_TERMCAP_H
12998 # include <termcap.h>
13000 extern short ospeed;
13010 rm -f conftest.$ac_objext conftest$ac_exeext
13011 if { (ac_try="$ac_link"
13012 case "(($ac_try" in
13013 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13014 *) ac_try_echo
=$ac_try;;
13016 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13017 $as_echo "$ac_try_echo") >&5
13018 (eval "$ac_link") 2>conftest.er1
13020 grep -v '^ *+' conftest.er1
>conftest.err
13022 cat conftest.err
>&5
13023 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13024 (exit $ac_status); } && {
13025 test -z "$ac_c_werror_flag" ||
13026 test ! -s conftest.err
13027 } && test -s conftest
$ac_exeext && {
13028 test "$cross_compiling" = yes ||
13029 $as_test_x conftest
$ac_exeext
13031 { $as_echo "$as_me:$LINENO: result: yes" >&5
13032 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
13033 #define OSPEED_EXTERN 1
13037 $as_echo "$as_me: failed program was:" >&5
13038 sed 's/^/| /' conftest.
$ac_ext >&5
13040 { $as_echo "$as_me:$LINENO: result: no" >&5
13041 $as_echo "no" >&6; }
13044 rm -rf conftest.dSYM
13045 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13046 conftest
$ac_exeext conftest.
$ac_ext
13050 rm -rf conftest.dSYM
13051 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13052 conftest
$ac_exeext conftest.
$ac_ext
13054 { $as_echo "$as_me:$LINENO: checking whether termcap.h contains UP, BC and PC" >&5
13055 $as_echo_n "checking whether termcap.h contains UP, BC and PC... " >&6; }
13056 cat >conftest.
$ac_ext <<_ACEOF
13059 cat confdefs.h
>>conftest.
$ac_ext
13060 cat >>conftest.
$ac_ext <<_ACEOF
13061 /* end confdefs.h. */
13063 #ifdef HAVE_TERMCAP_H
13064 # include <termcap.h>
13070 if (UP == 0 && BC == 0) PC = 1
13075 rm -f conftest.
$ac_objext conftest
$ac_exeext
13076 if { (ac_try
="$ac_link"
13077 case "(($ac_try" in
13078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13079 *) ac_try_echo=$ac_try;;
13081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13082 $as_echo "$ac_try_echo") >&5
13083 (eval "$ac_link") 2>conftest.er1
13085 grep -v '^ *+' conftest.er1 >conftest.err
13087 cat conftest.err >&5
13088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13089 (exit $ac_status); } && {
13090 test -z "$ac_c_werror_flag" ||
13091 test ! -s conftest.err
13092 } && test -s conftest$ac_exeext && {
13093 test "$cross_compiling" = yes ||
13094 $as_test_x conftest$ac_exeext
13096 { $as_echo "$as_me:$LINENO: result: yes" >&5
13097 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13098 #define HAVE_UP_BC_PC 1
13102 $as_echo "$as_me: failed program was:" >&5
13103 sed 's/^/| /' conftest.$ac_ext >&5
13105 { $as_echo "$as_me:$LINENO: result: no" >&5
13106 $as_echo "no" >&6; }
13107 { $as_echo "$as_me:$LINENO: checking whether UP, BC and PC can be extern" >&5
13108 $as_echo_n "checking whether UP, BC and PC can be extern... " >&6; }
13109 cat >conftest.$ac_ext <<_ACEOF
13112 cat confdefs.h >>conftest.$ac_ext
13113 cat >>conftest.$ac_ext <<_ACEOF
13114 /* end confdefs.h. */
13116 #ifdef HAVE_TERMCAP_H
13117 # include <termcap.h>
13119 extern char *UP, *BC, PC;
13124 if (UP == 0 && BC == 0) PC = 1
13129 rm -f conftest.$ac_objext conftest$ac_exeext
13130 if { (ac_try="$ac_link"
13131 case "(($ac_try" in
13132 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13133 *) ac_try_echo
=$ac_try;;
13135 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13136 $as_echo "$ac_try_echo") >&5
13137 (eval "$ac_link") 2>conftest.er1
13139 grep -v '^ *+' conftest.er1
>conftest.err
13141 cat conftest.err
>&5
13142 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); } && {
13144 test -z "$ac_c_werror_flag" ||
13145 test ! -s conftest.err
13146 } && test -s conftest
$ac_exeext && {
13147 test "$cross_compiling" = yes ||
13148 $as_test_x conftest
$ac_exeext
13150 { $as_echo "$as_me:$LINENO: result: yes" >&5
13151 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
13152 #define UP_BC_PC_EXTERN 1
13156 $as_echo "$as_me: failed program was:" >&5
13157 sed 's/^/| /' conftest.
$ac_ext >&5
13159 { $as_echo "$as_me:$LINENO: result: no" >&5
13160 $as_echo "no" >&6; }
13163 rm -rf conftest.dSYM
13164 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13165 conftest
$ac_exeext conftest.
$ac_ext
13169 rm -rf conftest.dSYM
13170 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13171 conftest
$ac_exeext conftest.
$ac_ext
13173 { $as_echo "$as_me:$LINENO: checking whether tputs() uses outfuntype" >&5
13174 $as_echo_n "checking whether tputs() uses outfuntype... " >&6; }
13175 cat >conftest.
$ac_ext <<_ACEOF
13178 cat confdefs.h
>>conftest.
$ac_ext
13179 cat >>conftest.
$ac_ext <<_ACEOF
13180 /* end confdefs.h. */
13182 #ifdef HAVE_TERMCAP_H
13183 # include <termcap.h>
13189 extern int xx(); tputs("test", 1, (outfuntype)xx)
13194 rm -f conftest.
$ac_objext
13195 if { (ac_try
="$ac_compile"
13196 case "(($ac_try" in
13197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13198 *) ac_try_echo=$ac_try;;
13200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13201 $as_echo "$ac_try_echo") >&5
13202 (eval "$ac_compile") 2>conftest.er1
13204 grep -v '^ *+' conftest.er1 >conftest.err
13206 cat conftest.err >&5
13207 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13208 (exit $ac_status); } && {
13209 test -z "$ac_c_werror_flag" ||
13210 test ! -s conftest.err
13211 } && test -s conftest.$ac_objext; then
13212 { $as_echo "$as_me:$LINENO: result: yes" >&5
13213 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13214 #define HAVE_OUTFUNTYPE 1
13218 $as_echo "$as_me: failed program was:" >&5
13219 sed 's/^/| /' conftest.$ac_ext >&5
13221 { $as_echo "$as_me:$LINENO: result: no" >&5
13222 $as_echo "no" >&6; }
13225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13227 { $as_echo "$as_me:$LINENO: checking whether sys/select.h and sys/time.h may both be included" >&5
13228 $as_echo_n "checking whether sys/select.h and sys/time.h may both be included... " >&6; }
13229 cat >conftest.$ac_ext <<_ACEOF
13232 cat confdefs.h >>conftest.$ac_ext
13233 cat >>conftest.$ac_ext <<_ACEOF
13234 /* end confdefs.h. */
13236 #include <sys/types.h>
13237 #include <sys/time.h>
13238 #include <sys/select.h>
13247 rm -f conftest.$ac_objext
13248 if { (ac_try="$ac_compile"
13249 case "(($ac_try" in
13250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13251 *) ac_try_echo
=$ac_try;;
13253 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13254 $as_echo "$ac_try_echo") >&5
13255 (eval "$ac_compile") 2>conftest.er1
13257 grep -v '^ *+' conftest.er1
>conftest.err
13259 cat conftest.err
>&5
13260 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13261 (exit $ac_status); } && {
13262 test -z "$ac_c_werror_flag" ||
13263 test ! -s conftest.err
13264 } && test -s conftest.
$ac_objext; then
13265 { $as_echo "$as_me:$LINENO: result: yes" >&5
13266 $as_echo "yes" >&6; }
13267 cat >>confdefs.h
<<\_ACEOF
13268 #define SYS_SELECT_WITH_SYS_TIME 1
13272 $as_echo "$as_me: failed program was:" >&5
13273 sed 's/^/| /' conftest.
$ac_ext >&5
13275 { $as_echo "$as_me:$LINENO: result: no" >&5
13276 $as_echo "no" >&6; }
13279 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13282 { $as_echo "$as_me:$LINENO: checking for /dev/ptc" >&5
13283 $as_echo_n "checking for /dev/ptc... " >&6; }
13284 if test -r /dev
/ptc
; then
13285 cat >>confdefs.h
<<\_ACEOF
13286 #define HAVE_DEV_PTC 1
13289 { $as_echo "$as_me:$LINENO: result: yes" >&5
13290 $as_echo "yes" >&6; }
13292 { $as_echo "$as_me:$LINENO: result: no" >&5
13293 $as_echo "no" >&6; }
13296 { $as_echo "$as_me:$LINENO: checking for SVR4 ptys" >&5
13297 $as_echo_n "checking for SVR4 ptys... " >&6; }
13298 if test -c /dev
/ptmx
; then
13299 cat >conftest.
$ac_ext <<_ACEOF
13302 cat confdefs.h
>>conftest.
$ac_ext
13303 cat >>conftest.
$ac_ext <<_ACEOF
13304 /* end confdefs.h. */
13309 ptsname(0);grantpt(0);unlockpt(0);
13314 rm -f conftest.
$ac_objext conftest
$ac_exeext
13315 if { (ac_try
="$ac_link"
13316 case "(($ac_try" in
13317 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13318 *) ac_try_echo=$ac_try;;
13320 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13321 $as_echo "$ac_try_echo") >&5
13322 (eval "$ac_link") 2>conftest.er1
13324 grep -v '^ *+' conftest.er1 >conftest.err
13326 cat conftest.err >&5
13327 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13328 (exit $ac_status); } && {
13329 test -z "$ac_c_werror_flag" ||
13330 test ! -s conftest.err
13331 } && test -s conftest$ac_exeext && {
13332 test "$cross_compiling" = yes ||
13333 $as_test_x conftest$ac_exeext
13335 { $as_echo "$as_me:$LINENO: result: yes" >&5
13336 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13337 #define HAVE_SVR4_PTYS 1
13341 $as_echo "$as_me: failed program was:" >&5
13342 sed 's/^/| /' conftest.$ac_ext >&5
13344 { $as_echo "$as_me:$LINENO: result: no" >&5
13345 $as_echo "no" >&6; }
13348 rm -rf conftest.dSYM
13349 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13350 conftest$ac_exeext conftest.$ac_ext
13352 { $as_echo "$as_me:$LINENO: result: no" >&5
13353 $as_echo "no" >&6; }
13356 { $as_echo "$as_me:$LINENO: checking for ptyranges" >&5
13357 $as_echo_n "checking for ptyranges... " >&6; }
13358 if test -d /dev/ptym ; then
13363 cat >conftest.$ac_ext <<_ACEOF
13366 cat confdefs.h >>conftest.$ac_ext
13367 cat >>conftest.$ac_ext <<_ACEOF
13368 /* end confdefs.h. */
13374 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13375 $EGREP "yes" >/dev/null 2>&1; then
13376 ptys=`echo /dev
/ptyp??
`
13378 ptys=`echo $pdir/pty??
`
13382 if test "$ptys" != "$pdir/pty??" ; then
13383 p0=`echo $ptys |
tr ' ' '\012' |
sed -e 's/^.*\(.\).$/\1/g' |
sort -u |
tr -d '\012'`
13384 p1=`echo $ptys |
tr ' ' '\012' |
sed -e 's/^.*\(.\)$/\1/g' |
sort -u |
tr -d '\012'`
13385 cat >>confdefs.h <<_ACEOF
13386 #define PTYRANGE0 "$p0"
13389 cat >>confdefs.h <<_ACEOF
13390 #define PTYRANGE1 "$p1"
13393 { $as_echo "$as_me:$LINENO: result: $p0 / $p1" >&5
13394 $as_echo "$p0 / $p1" >&6; }
13396 { $as_echo "$as_me:$LINENO: result: don't know" >&5
13397 $as_echo "don't know" >&6; }
13401 { $as_echo "$as_me:$LINENO: checking default tty permissions/group" >&5
13402 $as_echo_n "checking default tty permissions/group... " >&6; }
13403 if test "${vim_cv_tty_group+set}" = set; then
13404 $as_echo_n "(cached) " >&6
13407 if test "$cross_compiling" = yes; then
13409 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode'" >&5
13410 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_tty_group' and 'vim_cv_tty_mode'" >&2;}
13411 { (exit 1); exit 1; }; }
13414 cat >conftest.$ac_ext <<_ACEOF
13416 #include "confdefs.h"
13417 #include <sys/types.h>
13419 # include <stdlib.h>
13420 # include <stddef.h>
13422 #ifdef HAVE_UNISTD_H
13423 #include <unistd.h>
13425 #include <sys/stat.h>
13430 char *x,*ttyname();
13434 if (!(x = ttyname(0))) exit(1);
13435 if (stat(x, &sb)) exit(1);
13437 if (om & 002) exit(0);
13438 m = system("mesg y");
13439 if (m == -1 || m == 127) exit(1);
13440 if (stat(x, &sb)) exit(1);
13442 if (chmod(x, om)) exit(1);
13443 if (m & 002) exit(0);
13444 if (sb.st_gid == getgid()) exit(1);
13445 if (!(fp=fopen("conftest_grp", "w")))
13447 fprintf(fp, "%d\n", sb.st_gid);
13453 rm -f conftest$ac_exeext
13454 if { (ac_try="$ac_link"
13455 case "(($ac_try" in
13456 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13457 *) ac_try_echo
=$ac_try;;
13459 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13460 $as_echo "$ac_try_echo") >&5
13461 (eval "$ac_link") 2>&5
13463 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13464 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13465 { (case "(($ac_try" in
13466 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13467 *) ac_try_echo=$ac_try;;
13469 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13470 $as_echo "$ac_try_echo") >&5
13471 (eval "$ac_try") 2>&5
13473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13474 (exit $ac_status); }; }; then
13476 if test -f conftest_grp; then
13477 vim_cv_tty_group=`cat conftest_grp
`
13478 if test "x$vim_cv_tty_mode" = "x" ; then
13479 vim_cv_tty_mode=0620
13481 { $as_echo "$as_me:$LINENO: result: pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&5
13482 $as_echo "pty mode: $vim_cv_tty_mode, group: $vim_cv_tty_group" >&6; }
13484 vim_cv_tty_group=world
13485 { $as_echo "$as_me:$LINENO: result: ptys are world accessable" >&5
13486 $as_echo "ptys are world accessable" >&6; }
13490 $as_echo "$as_me: program exited with status $ac_status" >&5
13491 $as_echo "$as_me: failed program was:" >&5
13492 sed 's/^/| /' conftest.$ac_ext >&5
13494 ( exit $ac_status )
13496 vim_cv_tty_group=world
13497 { $as_echo "$as_me:$LINENO: result: can't determine - assume ptys are world accessable" >&5
13498 $as_echo "can't determine - assume ptys are world accessable" >&6; }
13501 rm -rf conftest.dSYM
13502 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13508 { $as_echo "$as_me:$LINENO: result: $vim_cv_tty_group" >&5
13509 $as_echo "$vim_cv_tty_group" >&6; }
13512 if test "x$vim_cv_tty_group" != "xworld" ; then
13513 cat >>confdefs.h <<_ACEOF
13514 #define PTYGROUP $vim_cv_tty_group
13517 if test "x$vim_cv_tty_mode" = "x" ; then
13518 { { $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
13519 $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;}
13520 { (exit 1); exit 1; }; }
13522 cat >>confdefs.h <<\_ACEOF
13523 #define PTYMODE 0620
13530 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
13531 $as_echo_n "checking return type of signal handlers... " >&6; }
13532 if test "${ac_cv_type_signal+set}" = set; then
13533 $as_echo_n "(cached) " >&6
13535 cat >conftest.$ac_ext <<_ACEOF
13538 cat confdefs.h >>conftest.$ac_ext
13539 cat >>conftest.$ac_ext <<_ACEOF
13540 /* end confdefs.h. */
13541 #include <sys/types.h>
13542 #include <signal.h>
13547 return *(signal (0, 0)) (0) == 1;
13552 rm -f conftest.$ac_objext
13553 if { (ac_try="$ac_compile"
13554 case "(($ac_try" in
13555 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13556 *) ac_try_echo
=$ac_try;;
13558 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13559 $as_echo "$ac_try_echo") >&5
13560 (eval "$ac_compile") 2>conftest.er1
13562 grep -v '^ *+' conftest.er1
>conftest.err
13564 cat conftest.err
>&5
13565 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); } && {
13567 test -z "$ac_c_werror_flag" ||
13568 test ! -s conftest.err
13569 } && test -s conftest.
$ac_objext; then
13570 ac_cv_type_signal
=int
13572 $as_echo "$as_me: failed program was:" >&5
13573 sed 's/^/| /' conftest.
$ac_ext >&5
13575 ac_cv_type_signal
=void
13578 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13580 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
13581 $as_echo "$ac_cv_type_signal" >&6; }
13583 cat >>confdefs.h
<<_ACEOF
13584 #define RETSIGTYPE $ac_cv_type_signal
13589 if test $ac_cv_type_signal = void
; then
13590 cat >>confdefs.h
<<\_ACEOF
13591 #define SIGRETURN return
13595 cat >>confdefs.h
<<\_ACEOF
13596 #define SIGRETURN return 0
13601 { $as_echo "$as_me:$LINENO: checking for struct sigcontext" >&5
13602 $as_echo_n "checking for struct sigcontext... " >&6; }
13603 cat >conftest.
$ac_ext <<_ACEOF
13606 cat confdefs.h
>>conftest.
$ac_ext
13607 cat >>conftest.
$ac_ext <<_ACEOF
13608 /* end confdefs.h. */
13610 #include <signal.h>
13613 struct sigcontext *scont;
13614 scont = (struct sigcontext *)0;
13625 rm -f conftest.
$ac_objext
13626 if { (ac_try
="$ac_compile"
13627 case "(($ac_try" in
13628 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13629 *) ac_try_echo=$ac_try;;
13631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13632 $as_echo "$ac_try_echo") >&5
13633 (eval "$ac_compile") 2>conftest.er1
13635 grep -v '^ *+' conftest.er1 >conftest.err
13637 cat conftest.err >&5
13638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); } && {
13640 test -z "$ac_c_werror_flag" ||
13641 test ! -s conftest.err
13642 } && test -s conftest.$ac_objext; then
13643 { $as_echo "$as_me:$LINENO: result: yes" >&5
13644 $as_echo "yes" >&6; }
13645 cat >>confdefs.h <<\_ACEOF
13646 #define HAVE_SIGCONTEXT 1
13650 $as_echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.$ac_ext >&5
13653 { $as_echo "$as_me:$LINENO: result: no" >&5
13654 $as_echo "no" >&6; }
13657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13659 { $as_echo "$as_me:$LINENO: checking getcwd implementation is broken" >&5
13660 $as_echo_n "checking getcwd implementation is broken... " >&6; }
13661 if test "${vim_cv_getcwd_broken+set}" = set; then
13662 $as_echo_n "(cached) " >&6
13665 if test "$cross_compiling" = yes; then
13667 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_getcwd_broken'" >&5
13668 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_getcwd_broken'" >&2;}
13669 { (exit 1); exit 1; }; }
13672 cat >conftest.$ac_ext <<_ACEOF
13674 #include "confdefs.h"
13675 #ifdef HAVE_UNISTD_H
13676 #include <unistd.h>
13678 char *dagger[] = { "IFS=pwd", 0 };
13682 extern char **environ;
13684 return getcwd(buffer, 500) ? 0 : 1;
13688 rm -f conftest$ac_exeext
13689 if { (ac_try="$ac_link"
13690 case "(($ac_try" in
13691 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13692 *) ac_try_echo
=$ac_try;;
13694 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13695 $as_echo "$ac_try_echo") >&5
13696 (eval "$ac_link") 2>&5
13698 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13700 { (case "(($ac_try" in
13701 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13702 *) ac_try_echo=$ac_try;;
13704 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13705 $as_echo "$ac_try_echo") >&5
13706 (eval "$ac_try") 2>&5
13708 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13709 (exit $ac_status); }; }; then
13711 vim_cv_getcwd_broken=no
13714 $as_echo "$as_me: program exited with status $ac_status" >&5
13715 $as_echo "$as_me: failed program was:" >&5
13716 sed 's/^/| /' conftest.$ac_ext >&5
13718 ( exit $ac_status )
13720 vim_cv_getcwd_broken=yes
13723 rm -rf conftest.dSYM
13724 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
13730 { $as_echo "$as_me:$LINENO: result: $vim_cv_getcwd_broken" >&5
13731 $as_echo "$vim_cv_getcwd_broken" >&6; }
13733 if test "x$vim_cv_getcwd_broken" = "xyes" ; then
13734 cat >>confdefs.h <<\_ACEOF
13735 #define BAD_GETCWD 1
13786 for ac_func in bcmp fchdir fchown fseeko fsync ftello getcwd getpseudotty \
13787 getpwnam getpwuid getrlimit gettimeofday getwd lstat memcmp \
13788 memset nanosleep opendir putenv qsort readlink select setenv \
13789 setpgid setsid sigaltstack sigstack sigset sigsetjmp sigaction \
13790 sigvec strcasecmp strerror strftime stricmp strncasecmp \
13791 strnicmp strpbrk strtol tgetent towlower towupper iswupper \
13792 usleep utime utimes
13794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13795 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
13796 $as_echo_n "checking for $ac_func... " >&6; }
13797 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13798 $as_echo_n "(cached) " >&6
13800 cat >conftest.$ac_ext <<_ACEOF
13803 cat confdefs.h >>conftest.$ac_ext
13804 cat >>conftest.$ac_ext <<_ACEOF
13805 /* end confdefs.h. */
13806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13808 #define $ac_func innocuous_$ac_func
13810 /* System header to define __stub macros and hopefully few prototypes,
13811 which can conflict with char $ac_func (); below.
13812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13813 <limits.h> exists even on freestanding compilers. */
13816 # include <limits.h>
13818 # include <assert.h>
13823 /* Override any GCC internal prototype to avoid an error.
13824 Use char because int might match the return type of a GCC
13825 builtin and then its argument prototype would still apply. */
13830 /* The GNU C library defines this for functions which it implements
13831 to always fail with ENOSYS. Some functions are actually named
13832 something starting with __ and the normal name is an alias. */
13833 #if defined __stub_$ac_func || defined __stub___$ac_func
13840 return $ac_func ();
13845 rm -f conftest.$ac_objext conftest$ac_exeext
13846 if { (ac_try="$ac_link"
13847 case "(($ac_try" in
13848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13849 *) ac_try_echo
=$ac_try;;
13851 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13852 $as_echo "$ac_try_echo") >&5
13853 (eval "$ac_link") 2>conftest.er1
13855 grep -v '^ *+' conftest.er1
>conftest.err
13857 cat conftest.err
>&5
13858 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13859 (exit $ac_status); } && {
13860 test -z "$ac_c_werror_flag" ||
13861 test ! -s conftest.err
13862 } && test -s conftest
$ac_exeext && {
13863 test "$cross_compiling" = yes ||
13864 $as_test_x conftest
$ac_exeext
13866 eval "$as_ac_var=yes"
13868 $as_echo "$as_me: failed program was:" >&5
13869 sed 's/^/| /' conftest.
$ac_ext >&5
13871 eval "$as_ac_var=no"
13874 rm -rf conftest.dSYM
13875 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13876 conftest
$ac_exeext conftest.
$ac_ext
13878 ac_res
=`eval 'as_val=${'$as_ac_var'}
13879 $as_echo "$as_val"'`
13880 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
13881 $as_echo "$ac_res" >&6; }
13882 if test `eval 'as_val=${'$as_ac_var'}
13883 $as_echo "$as_val"'` = yes; then
13884 cat >>confdefs.h
<<_ACEOF
13885 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13892 { $as_echo "$as_me:$LINENO: checking for st_blksize" >&5
13893 $as_echo_n "checking for st_blksize... " >&6; }
13894 cat >conftest.
$ac_ext <<_ACEOF
13897 cat confdefs.h
>>conftest.
$ac_ext
13898 cat >>conftest.
$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13900 #include <sys/types.h>
13901 #include <sys/stat.h>
13909 n = (int)st.st_blksize;
13914 rm -f conftest.
$ac_objext
13915 if { (ac_try
="$ac_compile"
13916 case "(($ac_try" in
13917 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13918 *) ac_try_echo=$ac_try;;
13920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13921 $as_echo "$ac_try_echo") >&5
13922 (eval "$ac_compile") 2>conftest.er1
13924 grep -v '^ *+' conftest.er1 >conftest.err
13926 cat conftest.err >&5
13927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } && {
13929 test -z "$ac_c_werror_flag" ||
13930 test ! -s conftest.err
13931 } && test -s conftest.$ac_objext; then
13932 { $as_echo "$as_me:$LINENO: result: yes" >&5
13933 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
13934 #define HAVE_ST_BLKSIZE 1
13938 $as_echo "$as_me: failed program was:" >&5
13939 sed 's/^/| /' conftest.$ac_ext >&5
13941 { $as_echo "$as_me:$LINENO: result: no" >&5
13942 $as_echo "no" >&6; }
13945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13947 { $as_echo "$as_me:$LINENO: checking whether stat() ignores a trailing slash" >&5
13948 $as_echo_n "checking whether stat() ignores a trailing slash... " >&6; }
13949 if test "${vim_cv_stat_ignores_slash+set}" = set; then
13950 $as_echo_n "(cached) " >&6
13953 if test "$cross_compiling" = yes; then
13955 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_stat_ignores_slash'" >&5
13956 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_stat_ignores_slash'" >&2;}
13957 { (exit 1); exit 1; }; }
13960 cat >conftest.$ac_ext <<_ACEOF
13962 #include "confdefs.h"
13964 # include <stdlib.h>
13965 # include <stddef.h>
13967 #include <sys/types.h>
13968 #include <sys/stat.h>
13969 main() {struct stat st; exit(stat("configure/", &st) != 0); }
13972 rm -f conftest$ac_exeext
13973 if { (ac_try="$ac_link"
13974 case "(($ac_try" in
13975 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13976 *) ac_try_echo
=$ac_try;;
13978 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
13979 $as_echo "$ac_try_echo") >&5
13980 (eval "$ac_link") 2>&5
13982 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13983 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
13984 { (case "(($ac_try" in
13985 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13986 *) ac_try_echo=$ac_try;;
13988 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13989 $as_echo "$ac_try_echo") >&5
13990 (eval "$ac_try") 2>&5
13992 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13993 (exit $ac_status); }; }; then
13995 vim_cv_stat_ignores_slash=yes
13998 $as_echo "$as_me: program exited with status $ac_status" >&5
13999 $as_echo "$as_me: failed program was:" >&5
14000 sed 's/^/| /' conftest.$ac_ext >&5
14002 ( exit $ac_status )
14004 vim_cv_stat_ignores_slash=no
14007 rm -rf conftest.dSYM
14008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14014 { $as_echo "$as_me:$LINENO: result: $vim_cv_stat_ignores_slash" >&5
14015 $as_echo "$vim_cv_stat_ignores_slash" >&6; }
14017 if test "x$vim_cv_stat_ignores_slash" = "xyes" ; then
14018 cat >>confdefs.h <<\_ACEOF
14019 #define STAT_IGNORES_SLASH 1
14024 { $as_echo "$as_me:$LINENO: checking for iconv_open()" >&5
14025 $as_echo_n "checking for iconv_open()... " >&6; }
14027 LIBS="$LIBS -liconv"
14028 cat >conftest.$ac_ext <<_ACEOF
14031 cat confdefs.h >>conftest.$ac_ext
14032 cat >>conftest.$ac_ext <<_ACEOF
14033 /* end confdefs.h. */
14035 #ifdef HAVE_ICONV_H
14036 # include <iconv.h>
14042 iconv_open("fr", "to");
14047 rm -f conftest.$ac_objext conftest$ac_exeext
14048 if { (ac_try="$ac_link"
14049 case "(($ac_try" in
14050 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14051 *) ac_try_echo
=$ac_try;;
14053 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14054 $as_echo "$ac_try_echo") >&5
14055 (eval "$ac_link") 2>conftest.er1
14057 grep -v '^ *+' conftest.er1
>conftest.err
14059 cat conftest.err
>&5
14060 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14061 (exit $ac_status); } && {
14062 test -z "$ac_c_werror_flag" ||
14063 test ! -s conftest.err
14064 } && test -s conftest
$ac_exeext && {
14065 test "$cross_compiling" = yes ||
14066 $as_test_x conftest
$ac_exeext
14068 { $as_echo "$as_me:$LINENO: result: yes; with -liconv" >&5
14069 $as_echo "yes; with -liconv" >&6; }; cat >>confdefs.h
<<\_ACEOF
14070 #define HAVE_ICONV 1
14074 $as_echo "$as_me: failed program was:" >&5
14075 sed 's/^/| /' conftest.
$ac_ext >&5
14078 cat >conftest.
$ac_ext <<_ACEOF
14081 cat confdefs.h
>>conftest.
$ac_ext
14082 cat >>conftest.
$ac_ext <<_ACEOF
14083 /* end confdefs.h. */
14085 #ifdef HAVE_ICONV_H
14086 # include <iconv.h>
14092 iconv_open("fr", "to");
14097 rm -f conftest.
$ac_objext conftest
$ac_exeext
14098 if { (ac_try
="$ac_link"
14099 case "(($ac_try" in
14100 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14101 *) ac_try_echo=$ac_try;;
14103 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14104 $as_echo "$ac_try_echo") >&5
14105 (eval "$ac_link") 2>conftest.er1
14107 grep -v '^ *+' conftest.er1 >conftest.err
14109 cat conftest.err >&5
14110 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); } && {
14112 test -z "$ac_c_werror_flag" ||
14113 test ! -s conftest.err
14114 } && test -s conftest$ac_exeext && {
14115 test "$cross_compiling" = yes ||
14116 $as_test_x conftest$ac_exeext
14118 { $as_echo "$as_me:$LINENO: result: yes" >&5
14119 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
14120 #define HAVE_ICONV 1
14124 $as_echo "$as_me: failed program was:" >&5
14125 sed 's/^/| /' conftest.$ac_ext >&5
14127 { $as_echo "$as_me:$LINENO: result: no" >&5
14128 $as_echo "no" >&6; }
14131 rm -rf conftest.dSYM
14132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14133 conftest$ac_exeext conftest.$ac_ext
14136 rm -rf conftest.dSYM
14137 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14138 conftest$ac_exeext conftest.$ac_ext
14141 { $as_echo "$as_me:$LINENO: checking for nl_langinfo(CODESET)" >&5
14142 $as_echo_n "checking for nl_langinfo(CODESET)... " >&6; }
14143 cat >conftest.$ac_ext <<_ACEOF
14146 cat confdefs.h >>conftest.$ac_ext
14147 cat >>conftest.$ac_ext <<_ACEOF
14148 /* end confdefs.h. */
14150 #ifdef HAVE_LANGINFO_H
14151 # include <langinfo.h>
14157 char *cs = nl_langinfo(CODESET);
14162 rm -f conftest.$ac_objext conftest$ac_exeext
14163 if { (ac_try="$ac_link"
14164 case "(($ac_try" in
14165 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14166 *) ac_try_echo
=$ac_try;;
14168 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14169 $as_echo "$ac_try_echo") >&5
14170 (eval "$ac_link") 2>conftest.er1
14172 grep -v '^ *+' conftest.er1
>conftest.err
14174 cat conftest.err
>&5
14175 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14176 (exit $ac_status); } && {
14177 test -z "$ac_c_werror_flag" ||
14178 test ! -s conftest.err
14179 } && test -s conftest
$ac_exeext && {
14180 test "$cross_compiling" = yes ||
14181 $as_test_x conftest
$ac_exeext
14183 { $as_echo "$as_me:$LINENO: result: yes" >&5
14184 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
14185 #define HAVE_NL_LANGINFO_CODESET 1
14189 $as_echo "$as_me: failed program was:" >&5
14190 sed 's/^/| /' conftest.
$ac_ext >&5
14192 { $as_echo "$as_me:$LINENO: result: no" >&5
14193 $as_echo "no" >&6; }
14196 rm -rf conftest.dSYM
14197 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14198 conftest
$ac_exeext conftest.
$ac_ext
14201 { $as_echo "$as_me:$LINENO: checking for strtod in -lm" >&5
14202 $as_echo_n "checking for strtod in -lm... " >&6; }
14203 if test "${ac_cv_lib_m_strtod+set}" = set; then
14204 $as_echo_n "(cached) " >&6
14206 ac_check_lib_save_LIBS
=$LIBS
14208 cat >conftest.
$ac_ext <<_ACEOF
14211 cat confdefs.h
>>conftest.
$ac_ext
14212 cat >>conftest.
$ac_ext <<_ACEOF
14213 /* end confdefs.h. */
14215 /* Override any GCC internal prototype to avoid an error.
14216 Use char because int might match the return type of a GCC
14217 builtin and then its argument prototype would still apply. */
14230 rm -f conftest.
$ac_objext conftest
$ac_exeext
14231 if { (ac_try
="$ac_link"
14232 case "(($ac_try" in
14233 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14234 *) ac_try_echo=$ac_try;;
14236 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14237 $as_echo "$ac_try_echo") >&5
14238 (eval "$ac_link") 2>conftest.er1
14240 grep -v '^ *+' conftest.er1 >conftest.err
14242 cat conftest.err >&5
14243 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14244 (exit $ac_status); } && {
14245 test -z "$ac_c_werror_flag" ||
14246 test ! -s conftest.err
14247 } && test -s conftest$ac_exeext && {
14248 test "$cross_compiling" = yes ||
14249 $as_test_x conftest$ac_exeext
14251 ac_cv_lib_m_strtod=yes
14253 $as_echo "$as_me: failed program was:" >&5
14254 sed 's/^/| /' conftest.$ac_ext >&5
14256 ac_cv_lib_m_strtod=no
14259 rm -rf conftest.dSYM
14260 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14261 conftest$ac_exeext conftest.$ac_ext
14262 LIBS=$ac_check_lib_save_LIBS
14264 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_strtod" >&5
14265 $as_echo "$ac_cv_lib_m_strtod" >&6; }
14266 if test $ac_cv_lib_m_strtod = yes; then
14267 cat >>confdefs.h <<_ACEOF
14268 #define HAVE_LIBM 1
14275 { $as_echo "$as_me:$LINENO: checking for strtod() and other floating point functions" >&5
14276 $as_echo_n "checking for strtod() and other floating point functions... " >&6; }
14277 cat >conftest.$ac_ext <<_ACEOF
14280 cat confdefs.h >>conftest.$ac_ext
14281 cat >>conftest.$ac_ext <<_ACEOF
14282 /* end confdefs.h. */
14288 # include <stdlib.h>
14289 # include <stddef.h>
14296 d = strtod("1.1", &s);
14301 d = pow(1.11, 2.22);
14311 rm -f conftest.$ac_objext conftest$ac_exeext
14312 if { (ac_try="$ac_link"
14313 case "(($ac_try" in
14314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14315 *) ac_try_echo
=$ac_try;;
14317 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14318 $as_echo "$ac_try_echo") >&5
14319 (eval "$ac_link") 2>conftest.er1
14321 grep -v '^ *+' conftest.er1
>conftest.err
14323 cat conftest.err
>&5
14324 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14325 (exit $ac_status); } && {
14326 test -z "$ac_c_werror_flag" ||
14327 test ! -s conftest.err
14328 } && test -s conftest
$ac_exeext && {
14329 test "$cross_compiling" = yes ||
14330 $as_test_x conftest
$ac_exeext
14332 { $as_echo "$as_me:$LINENO: result: yes" >&5
14333 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
14334 #define HAVE_FLOAT_FUNCS 1
14338 $as_echo "$as_me: failed program was:" >&5
14339 sed 's/^/| /' conftest.
$ac_ext >&5
14341 { $as_echo "$as_me:$LINENO: result: no" >&5
14342 $as_echo "no" >&6; }
14345 rm -rf conftest.dSYM
14346 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14347 conftest
$ac_exeext conftest.
$ac_ext
14349 { $as_echo "$as_me:$LINENO: checking --disable-acl argument" >&5
14350 $as_echo_n "checking --disable-acl argument... " >&6; }
14351 # Check whether --enable-acl was given.
14352 if test "${enable_acl+set}" = set; then
14353 enableval
=$enable_acl;
14358 if test "$enable_acl" = "yes"; then
14359 { $as_echo "$as_me:$LINENO: result: no" >&5
14360 $as_echo "no" >&6; }
14361 { $as_echo "$as_me:$LINENO: checking for acl_get_file in -lposix1e" >&5
14362 $as_echo_n "checking for acl_get_file in -lposix1e... " >&6; }
14363 if test "${ac_cv_lib_posix1e_acl_get_file+set}" = set; then
14364 $as_echo_n "(cached) " >&6
14366 ac_check_lib_save_LIBS
=$LIBS
14367 LIBS
="-lposix1e $LIBS"
14368 cat >conftest.
$ac_ext <<_ACEOF
14371 cat confdefs.h
>>conftest.
$ac_ext
14372 cat >>conftest.
$ac_ext <<_ACEOF
14373 /* end confdefs.h. */
14375 /* Override any GCC internal prototype to avoid an error.
14376 Use char because int might match the return type of a GCC
14377 builtin and then its argument prototype would still apply. */
14381 char acl_get_file ();
14385 return acl_get_file ();
14390 rm -f conftest.
$ac_objext conftest
$ac_exeext
14391 if { (ac_try
="$ac_link"
14392 case "(($ac_try" in
14393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14394 *) ac_try_echo=$ac_try;;
14396 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14397 $as_echo "$ac_try_echo") >&5
14398 (eval "$ac_link") 2>conftest.er1
14400 grep -v '^ *+' conftest.er1 >conftest.err
14402 cat conftest.err >&5
14403 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14404 (exit $ac_status); } && {
14405 test -z "$ac_c_werror_flag" ||
14406 test ! -s conftest.err
14407 } && test -s conftest$ac_exeext && {
14408 test "$cross_compiling" = yes ||
14409 $as_test_x conftest$ac_exeext
14411 ac_cv_lib_posix1e_acl_get_file=yes
14413 $as_echo "$as_me: failed program was:" >&5
14414 sed 's/^/| /' conftest.$ac_ext >&5
14416 ac_cv_lib_posix1e_acl_get_file=no
14419 rm -rf conftest.dSYM
14420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14421 conftest$ac_exeext conftest.$ac_ext
14422 LIBS=$ac_check_lib_save_LIBS
14424 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix1e_acl_get_file" >&5
14425 $as_echo "$ac_cv_lib_posix1e_acl_get_file" >&6; }
14426 if test $ac_cv_lib_posix1e_acl_get_file = yes; then
14427 LIBS="$LIBS -lposix1e"
14429 { $as_echo "$as_me:$LINENO: checking for acl_get_file in -lacl" >&5
14430 $as_echo_n "checking for acl_get_file in -lacl... " >&6; }
14431 if test "${ac_cv_lib_acl_acl_get_file+set}" = set; then
14432 $as_echo_n "(cached) " >&6
14434 ac_check_lib_save_LIBS=$LIBS
14436 cat >conftest.$ac_ext <<_ACEOF
14439 cat confdefs.h >>conftest.$ac_ext
14440 cat >>conftest.$ac_ext <<_ACEOF
14441 /* end confdefs.h. */
14443 /* Override any GCC internal prototype to avoid an error.
14444 Use char because int might match the return type of a GCC
14445 builtin and then its argument prototype would still apply. */
14449 char acl_get_file ();
14453 return acl_get_file ();
14458 rm -f conftest.$ac_objext conftest$ac_exeext
14459 if { (ac_try="$ac_link"
14460 case "(($ac_try" in
14461 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14462 *) ac_try_echo
=$ac_try;;
14464 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14465 $as_echo "$ac_try_echo") >&5
14466 (eval "$ac_link") 2>conftest.er1
14468 grep -v '^ *+' conftest.er1
>conftest.err
14470 cat conftest.err
>&5
14471 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14472 (exit $ac_status); } && {
14473 test -z "$ac_c_werror_flag" ||
14474 test ! -s conftest.err
14475 } && test -s conftest
$ac_exeext && {
14476 test "$cross_compiling" = yes ||
14477 $as_test_x conftest
$ac_exeext
14479 ac_cv_lib_acl_acl_get_file
=yes
14481 $as_echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.
$ac_ext >&5
14484 ac_cv_lib_acl_acl_get_file
=no
14487 rm -rf conftest.dSYM
14488 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14489 conftest
$ac_exeext conftest.
$ac_ext
14490 LIBS
=$ac_check_lib_save_LIBS
14492 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_acl_acl_get_file" >&5
14493 $as_echo "$ac_cv_lib_acl_acl_get_file" >&6; }
14494 if test $ac_cv_lib_acl_acl_get_file = yes; then
14496 { $as_echo "$as_me:$LINENO: checking for fgetxattr in -lattr" >&5
14497 $as_echo_n "checking for fgetxattr in -lattr... " >&6; }
14498 if test "${ac_cv_lib_attr_fgetxattr+set}" = set; then
14499 $as_echo_n "(cached) " >&6
14501 ac_check_lib_save_LIBS
=$LIBS
14502 LIBS
="-lattr $LIBS"
14503 cat >conftest.
$ac_ext <<_ACEOF
14506 cat confdefs.h
>>conftest.
$ac_ext
14507 cat >>conftest.
$ac_ext <<_ACEOF
14508 /* end confdefs.h. */
14510 /* Override any GCC internal prototype to avoid an error.
14511 Use char because int might match the return type of a GCC
14512 builtin and then its argument prototype would still apply. */
14520 return fgetxattr ();
14525 rm -f conftest.
$ac_objext conftest
$ac_exeext
14526 if { (ac_try
="$ac_link"
14527 case "(($ac_try" in
14528 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14529 *) ac_try_echo=$ac_try;;
14531 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14532 $as_echo "$ac_try_echo") >&5
14533 (eval "$ac_link") 2>conftest.er1
14535 grep -v '^ *+' conftest.er1 >conftest.err
14537 cat conftest.err >&5
14538 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 (exit $ac_status); } && {
14540 test -z "$ac_c_werror_flag" ||
14541 test ! -s conftest.err
14542 } && test -s conftest$ac_exeext && {
14543 test "$cross_compiling" = yes ||
14544 $as_test_x conftest$ac_exeext
14546 ac_cv_lib_attr_fgetxattr=yes
14548 $as_echo "$as_me: failed program was:" >&5
14549 sed 's/^/| /' conftest.$ac_ext >&5
14551 ac_cv_lib_attr_fgetxattr=no
14554 rm -rf conftest.dSYM
14555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14556 conftest$ac_exeext conftest.$ac_ext
14557 LIBS=$ac_check_lib_save_LIBS
14559 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_attr_fgetxattr" >&5
14560 $as_echo "$ac_cv_lib_attr_fgetxattr" >&6; }
14561 if test $ac_cv_lib_attr_fgetxattr = yes; then
14562 LIBS="$LIBS -lattr"
14570 { $as_echo "$as_me:$LINENO: checking for POSIX ACL support" >&5
14571 $as_echo_n "checking for POSIX ACL support... " >&6; }
14572 cat >conftest.$ac_ext <<_ACEOF
14575 cat confdefs.h >>conftest.$ac_ext
14576 cat >>conftest.$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14579 #include <sys/types.h>
14580 #ifdef HAVE_SYS_ACL_H
14581 # include <sys/acl.h>
14587 acl = acl_get_file("foo", ACL_TYPE_ACCESS);
14588 acl_set_file("foo", ACL_TYPE_ACCESS, acl);
14594 rm -f conftest.$ac_objext conftest$ac_exeext
14595 if { (ac_try="$ac_link"
14596 case "(($ac_try" in
14597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14598 *) ac_try_echo
=$ac_try;;
14600 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14601 $as_echo "$ac_try_echo") >&5
14602 (eval "$ac_link") 2>conftest.er1
14604 grep -v '^ *+' conftest.er1
>conftest.err
14606 cat conftest.err
>&5
14607 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14608 (exit $ac_status); } && {
14609 test -z "$ac_c_werror_flag" ||
14610 test ! -s conftest.err
14611 } && test -s conftest
$ac_exeext && {
14612 test "$cross_compiling" = yes ||
14613 $as_test_x conftest
$ac_exeext
14615 { $as_echo "$as_me:$LINENO: result: yes" >&5
14616 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
14617 #define HAVE_POSIX_ACL 1
14621 $as_echo "$as_me: failed program was:" >&5
14622 sed 's/^/| /' conftest.
$ac_ext >&5
14624 { $as_echo "$as_me:$LINENO: result: no" >&5
14625 $as_echo "no" >&6; }
14628 rm -rf conftest.dSYM
14629 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14630 conftest
$ac_exeext conftest.
$ac_ext
14632 { $as_echo "$as_me:$LINENO: checking for Solaris ACL support" >&5
14633 $as_echo_n "checking for Solaris ACL support... " >&6; }
14634 cat >conftest.
$ac_ext <<_ACEOF
14637 cat confdefs.h
>>conftest.
$ac_ext
14638 cat >>conftest.
$ac_ext <<_ACEOF
14639 /* end confdefs.h. */
14641 #ifdef HAVE_SYS_ACL_H
14642 # include <sys/acl.h>
14647 acl("foo", GETACLCNT, 0, NULL);
14653 rm -f conftest.
$ac_objext conftest
$ac_exeext
14654 if { (ac_try
="$ac_link"
14655 case "(($ac_try" in
14656 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14657 *) ac_try_echo=$ac_try;;
14659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14660 $as_echo "$ac_try_echo") >&5
14661 (eval "$ac_link") 2>conftest.er1
14663 grep -v '^ *+' conftest.er1 >conftest.err
14665 cat conftest.err >&5
14666 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14667 (exit $ac_status); } && {
14668 test -z "$ac_c_werror_flag" ||
14669 test ! -s conftest.err
14670 } && test -s conftest$ac_exeext && {
14671 test "$cross_compiling" = yes ||
14672 $as_test_x conftest$ac_exeext
14674 { $as_echo "$as_me:$LINENO: result: yes" >&5
14675 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
14676 #define HAVE_SOLARIS_ACL 1
14680 $as_echo "$as_me: failed program was:" >&5
14681 sed 's/^/| /' conftest.$ac_ext >&5
14683 { $as_echo "$as_me:$LINENO: result: no" >&5
14684 $as_echo "no" >&6; }
14687 rm -rf conftest.dSYM
14688 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14689 conftest$ac_exeext conftest.$ac_ext
14691 { $as_echo "$as_me:$LINENO: checking for AIX ACL support" >&5
14692 $as_echo_n "checking for AIX ACL support... " >&6; }
14693 cat >conftest.$ac_ext <<_ACEOF
14696 cat confdefs.h >>conftest.$ac_ext
14697 cat >>conftest.$ac_ext <<_ACEOF
14698 /* end confdefs.h. */
14701 # include <stdlib.h>
14702 # include <stddef.h>
14704 #ifdef HAVE_SYS_ACL_H
14705 # include <sys/acl.h>
14707 #ifdef HAVE_SYS_ACCESS_H
14708 # include <sys/access.h>
14710 #define _ALL_SOURCE
14712 #include <sys/stat.h>
14715 struct acl *aclent;
14719 aclsize = sizeof(struct acl);
14720 aclent = (void *)malloc(aclsize);
14721 statacl("foo", STX_NORMAL, aclent, aclsize);
14727 rm -f conftest.$ac_objext conftest$ac_exeext
14728 if { (ac_try="$ac_link"
14729 case "(($ac_try" in
14730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14731 *) ac_try_echo
=$ac_try;;
14733 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14734 $as_echo "$ac_try_echo") >&5
14735 (eval "$ac_link") 2>conftest.er1
14737 grep -v '^ *+' conftest.er1
>conftest.err
14739 cat conftest.err
>&5
14740 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); } && {
14742 test -z "$ac_c_werror_flag" ||
14743 test ! -s conftest.err
14744 } && test -s conftest
$ac_exeext && {
14745 test "$cross_compiling" = yes ||
14746 $as_test_x conftest
$ac_exeext
14748 { $as_echo "$as_me:$LINENO: result: yes" >&5
14749 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
14750 #define HAVE_AIX_ACL 1
14754 $as_echo "$as_me: failed program was:" >&5
14755 sed 's/^/| /' conftest.
$ac_ext >&5
14757 { $as_echo "$as_me:$LINENO: result: no" >&5
14758 $as_echo "no" >&6; }
14761 rm -rf conftest.dSYM
14762 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14763 conftest
$ac_exeext conftest.
$ac_ext
14765 { $as_echo "$as_me:$LINENO: result: yes" >&5
14766 $as_echo "yes" >&6; }
14769 { $as_echo "$as_me:$LINENO: checking --disable-gpm argument" >&5
14770 $as_echo_n "checking --disable-gpm argument... " >&6; }
14771 # Check whether --enable-gpm was given.
14772 if test "${enable_gpm+set}" = set; then
14773 enableval
=$enable_gpm;
14779 if test "$enable_gpm" = "yes"; then
14780 { $as_echo "$as_me:$LINENO: result: no" >&5
14781 $as_echo "no" >&6; }
14782 { $as_echo "$as_me:$LINENO: checking for gpm" >&5
14783 $as_echo_n "checking for gpm... " >&6; }
14784 if test "${vi_cv_have_gpm+set}" = set; then
14785 $as_echo_n "(cached) " >&6
14787 olibs
="$LIBS" ; LIBS
="-lgpm"
14788 cat >conftest.
$ac_ext <<_ACEOF
14791 cat confdefs.h
>>conftest.
$ac_ext
14792 cat >>conftest.
$ac_ext <<_ACEOF
14793 /* end confdefs.h. */
14795 #include <linux/keyboard.h>
14799 Gpm_GetLibVersion(NULL);
14804 rm -f conftest.
$ac_objext conftest
$ac_exeext
14805 if { (ac_try
="$ac_link"
14806 case "(($ac_try" in
14807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14808 *) ac_try_echo=$ac_try;;
14810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14811 $as_echo "$ac_try_echo") >&5
14812 (eval "$ac_link") 2>conftest.er1
14814 grep -v '^ *+' conftest.er1 >conftest.err
14816 cat conftest.err >&5
14817 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14818 (exit $ac_status); } && {
14819 test -z "$ac_c_werror_flag" ||
14820 test ! -s conftest.err
14821 } && test -s conftest$ac_exeext && {
14822 test "$cross_compiling" = yes ||
14823 $as_test_x conftest$ac_exeext
14827 $as_echo "$as_me: failed program was:" >&5
14828 sed 's/^/| /' conftest.$ac_ext >&5
14833 rm -rf conftest.dSYM
14834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14835 conftest$ac_exeext conftest.$ac_ext
14839 { $as_echo "$as_me:$LINENO: result: $vi_cv_have_gpm" >&5
14840 $as_echo "$vi_cv_have_gpm" >&6; }
14841 if test $vi_cv_have_gpm = yes; then
14843 cat >>confdefs.h <<\_ACEOF
14849 { $as_echo "$as_me:$LINENO: result: yes" >&5
14850 $as_echo "yes" >&6; }
14853 { $as_echo "$as_me:$LINENO: checking --disable-sysmouse argument" >&5
14854 $as_echo_n "checking --disable-sysmouse argument... " >&6; }
14855 # Check whether --enable-sysmouse was given.
14856 if test "${enable_sysmouse+set}" = set; then
14857 enableval=$enable_sysmouse;
14859 enable_sysmouse="yes"
14863 if test "$enable_sysmouse" = "yes"; then
14864 { $as_echo "$as_me:$LINENO: result: no" >&5
14865 $as_echo "no" >&6; }
14866 { $as_echo "$as_me:$LINENO: checking for sysmouse" >&5
14867 $as_echo_n "checking for sysmouse... " >&6; }
14868 if test "${vi_cv_have_sysmouse+set}" = set; then
14869 $as_echo_n "(cached) " >&6
14871 cat >conftest.$ac_ext <<_ACEOF
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 #include <sys/consio.h>
14878 #include <signal.h>
14879 #include <sys/fbio.h>
14883 struct mouse_info mouse;
14884 mouse.operation = MOUSE_MODE;
14885 mouse.operation = MOUSE_SHOW;
14886 mouse.u.mode.mode = 0;
14887 mouse.u.mode.signal = SIGUSR2;
14892 rm -f conftest.$ac_objext conftest$ac_exeext
14893 if { (ac_try="$ac_link"
14894 case "(($ac_try" in
14895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14896 *) ac_try_echo
=$ac_try;;
14898 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
14899 $as_echo "$ac_try_echo") >&5
14900 (eval "$ac_link") 2>conftest.er1
14902 grep -v '^ *+' conftest.er1
>conftest.err
14904 cat conftest.err
>&5
14905 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } && {
14907 test -z "$ac_c_werror_flag" ||
14908 test ! -s conftest.err
14909 } && test -s conftest
$ac_exeext && {
14910 test "$cross_compiling" = yes ||
14911 $as_test_x conftest
$ac_exeext
14913 vi_cv_have_sysmouse
=yes
14915 $as_echo "$as_me: failed program was:" >&5
14916 sed 's/^/| /' conftest.
$ac_ext >&5
14918 vi_cv_have_sysmouse
=no
14921 rm -rf conftest.dSYM
14922 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14923 conftest
$ac_exeext conftest.
$ac_ext
14926 { $as_echo "$as_me:$LINENO: result: $vi_cv_have_sysmouse" >&5
14927 $as_echo "$vi_cv_have_sysmouse" >&6; }
14928 if test $vi_cv_have_sysmouse = yes; then
14929 cat >>confdefs.h
<<\_ACEOF
14930 #define HAVE_SYSMOUSE 1
14935 { $as_echo "$as_me:$LINENO: result: yes" >&5
14936 $as_echo "yes" >&6; }
14939 { $as_echo "$as_me:$LINENO: checking for rename" >&5
14940 $as_echo_n "checking for rename... " >&6; }
14941 cat >conftest.
$ac_ext <<_ACEOF
14944 cat confdefs.h
>>conftest.
$ac_ext
14945 cat >>conftest.
$ac_ext <<_ACEOF
14946 /* end confdefs.h. */
14951 rename("this", "that")
14956 rm -f conftest.
$ac_objext conftest
$ac_exeext
14957 if { (ac_try
="$ac_link"
14958 case "(($ac_try" in
14959 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14960 *) ac_try_echo=$ac_try;;
14962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
14963 $as_echo "$ac_try_echo") >&5
14964 (eval "$ac_link") 2>conftest.er1
14966 grep -v '^ *+' conftest.er1 >conftest.err
14968 cat conftest.err >&5
14969 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14970 (exit $ac_status); } && {
14971 test -z "$ac_c_werror_flag" ||
14972 test ! -s conftest.err
14973 } && test -s conftest$ac_exeext && {
14974 test "$cross_compiling" = yes ||
14975 $as_test_x conftest$ac_exeext
14977 { $as_echo "$as_me:$LINENO: result: yes" >&5
14978 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
14979 #define HAVE_RENAME 1
14983 $as_echo "$as_me: failed program was:" >&5
14984 sed 's/^/| /' conftest.$ac_ext >&5
14986 { $as_echo "$as_me:$LINENO: result: no" >&5
14987 $as_echo "no" >&6; }
14990 rm -rf conftest.dSYM
14991 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14992 conftest$ac_exeext conftest.$ac_ext
14994 { $as_echo "$as_me:$LINENO: checking for sysctl" >&5
14995 $as_echo_n "checking for sysctl... " >&6; }
14996 cat >conftest.$ac_ext <<_ACEOF
14999 cat confdefs.h >>conftest.$ac_ext
15000 cat >>conftest.$ac_ext <<_ACEOF
15001 /* end confdefs.h. */
15002 #include <sys/types.h>
15003 #include <sys/sysctl.h>
15011 mib[1] = HW_USERMEM;
15013 (void)sysctl(mib, 2, &r, &len, (void *)0, (size_t)0);
15019 rm -f conftest.$ac_objext
15020 if { (ac_try="$ac_compile"
15021 case "(($ac_try" in
15022 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15023 *) ac_try_echo
=$ac_try;;
15025 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15026 $as_echo "$ac_try_echo") >&5
15027 (eval "$ac_compile") 2>conftest.er1
15029 grep -v '^ *+' conftest.er1
>conftest.err
15031 cat conftest.err
>&5
15032 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15033 (exit $ac_status); } && {
15034 test -z "$ac_c_werror_flag" ||
15035 test ! -s conftest.err
15036 } && test -s conftest.
$ac_objext; then
15037 { $as_echo "$as_me:$LINENO: result: yes" >&5
15038 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
15039 #define HAVE_SYSCTL 1
15043 $as_echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.
$ac_ext >&5
15046 { $as_echo "$as_me:$LINENO: result: not usable" >&5
15047 $as_echo "not usable" >&6; }
15050 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15052 { $as_echo "$as_me:$LINENO: checking for sysinfo" >&5
15053 $as_echo_n "checking for sysinfo... " >&6; }
15054 cat >conftest.
$ac_ext <<_ACEOF
15057 cat confdefs.h
>>conftest.
$ac_ext
15058 cat >>conftest.
$ac_ext <<_ACEOF
15059 /* end confdefs.h. */
15060 #include <sys/types.h>
15061 #include <sys/sysinfo.h>
15065 struct sysinfo sinfo;
15068 (void)sysinfo(&sinfo);
15069 t = sinfo.totalram;
15075 rm -f conftest.
$ac_objext
15076 if { (ac_try
="$ac_compile"
15077 case "(($ac_try" in
15078 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15079 *) ac_try_echo=$ac_try;;
15081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15082 $as_echo "$ac_try_echo") >&5
15083 (eval "$ac_compile") 2>conftest.er1
15085 grep -v '^ *+' conftest.er1 >conftest.err
15087 cat conftest.err >&5
15088 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15089 (exit $ac_status); } && {
15090 test -z "$ac_c_werror_flag" ||
15091 test ! -s conftest.err
15092 } && test -s conftest.$ac_objext; then
15093 { $as_echo "$as_me:$LINENO: result: yes" >&5
15094 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
15095 #define HAVE_SYSINFO 1
15099 $as_echo "$as_me: failed program was:" >&5
15100 sed 's/^/| /' conftest.$ac_ext >&5
15102 { $as_echo "$as_me:$LINENO: result: not usable" >&5
15103 $as_echo "not usable" >&6; }
15106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15108 { $as_echo "$as_me:$LINENO: checking for sysinfo.mem_unit" >&5
15109 $as_echo_n "checking for sysinfo.mem_unit... " >&6; }
15110 cat >conftest.$ac_ext <<_ACEOF
15113 cat confdefs.h >>conftest.$ac_ext
15114 cat >>conftest.$ac_ext <<_ACEOF
15115 /* end confdefs.h. */
15116 #include <sys/types.h>
15117 #include <sys/sysinfo.h>
15121 struct sysinfo sinfo;
15122 sinfo.mem_unit = 1;
15128 rm -f conftest.$ac_objext
15129 if { (ac_try="$ac_compile"
15130 case "(($ac_try" in
15131 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15132 *) ac_try_echo
=$ac_try;;
15134 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15135 $as_echo "$ac_try_echo") >&5
15136 (eval "$ac_compile") 2>conftest.er1
15138 grep -v '^ *+' conftest.er1
>conftest.err
15140 cat conftest.err
>&5
15141 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15142 (exit $ac_status); } && {
15143 test -z "$ac_c_werror_flag" ||
15144 test ! -s conftest.err
15145 } && test -s conftest.
$ac_objext; then
15146 { $as_echo "$as_me:$LINENO: result: yes" >&5
15147 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
15148 #define HAVE_SYSINFO_MEM_UNIT 1
15152 $as_echo "$as_me: failed program was:" >&5
15153 sed 's/^/| /' conftest.
$ac_ext >&5
15155 { $as_echo "$as_me:$LINENO: result: no" >&5
15156 $as_echo "no" >&6; }
15159 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
15161 { $as_echo "$as_me:$LINENO: checking for sysconf" >&5
15162 $as_echo_n "checking for sysconf... " >&6; }
15163 cat >conftest.
$ac_ext <<_ACEOF
15166 cat confdefs.h
>>conftest.
$ac_ext
15167 cat >>conftest.
$ac_ext <<_ACEOF
15168 /* end confdefs.h. */
15169 #include <unistd.h>
15173 (void)sysconf(_SC_PAGESIZE);
15174 (void)sysconf(_SC_PHYS_PAGES);
15180 rm -f conftest.
$ac_objext
15181 if { (ac_try
="$ac_compile"
15182 case "(($ac_try" in
15183 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15184 *) ac_try_echo=$ac_try;;
15186 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15187 $as_echo "$ac_try_echo") >&5
15188 (eval "$ac_compile") 2>conftest.er1
15190 grep -v '^ *+' conftest.er1 >conftest.err
15192 cat conftest.err >&5
15193 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15194 (exit $ac_status); } && {
15195 test -z "$ac_c_werror_flag" ||
15196 test ! -s conftest.err
15197 } && test -s conftest.$ac_objext; then
15198 { $as_echo "$as_me:$LINENO: result: yes" >&5
15199 $as_echo "yes" >&6; }; cat >>confdefs.h <<\_ACEOF
15200 #define HAVE_SYSCONF 1
15204 $as_echo "$as_me: failed program was:" >&5
15205 sed 's/^/| /' conftest.$ac_ext >&5
15207 { $as_echo "$as_me:$LINENO: result: not usable" >&5
15208 $as_echo "not usable" >&6; }
15211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15214 { $as_echo "$as_me:$LINENO: checking size of int" >&5
15215 $as_echo_n "checking size of int... " >&6; }
15216 if test "${ac_cv_sizeof_int+set}" = set; then
15217 $as_echo_n "(cached) " >&6
15219 if test "$cross_compiling" = yes; then
15220 { { $as_echo "$as_me:$LINENO: error: failed to compile test program" >&5
15221 $as_echo "$as_me: error: failed to compile test program" >&2;}
15222 { (exit 1); exit 1; }; }
15224 cat >conftest.$ac_ext <<_ACEOF
15227 cat confdefs.h >>conftest.$ac_ext
15228 cat >>conftest.$ac_ext <<_ACEOF
15229 /* end confdefs.h. */
15233 # include <stdlib.h>
15234 # include <stddef.h>
15238 FILE *f=fopen("conftestval", "w");
15240 fprintf(f, "%d\n", (int)sizeof(int));
15244 rm -f conftest$ac_exeext
15245 if { (ac_try="$ac_link"
15246 case "(($ac_try" in
15247 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15248 *) ac_try_echo
=$ac_try;;
15250 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15251 $as_echo "$ac_try_echo") >&5
15252 (eval "$ac_link") 2>&5
15254 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15255 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15256 { (case "(($ac_try" in
15257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15258 *) ac_try_echo=$ac_try;;
15260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15261 $as_echo "$ac_try_echo") >&5
15262 (eval "$ac_try") 2>&5
15264 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15265 (exit $ac_status); }; }; then
15266 ac_cv_sizeof_int=`cat conftestval
`
15268 $as_echo "$as_me: program exited with status $ac_status" >&5
15269 $as_echo "$as_me: failed program was:" >&5
15270 sed 's/^/| /' conftest.$ac_ext >&5
15272 ( exit $ac_status )
15275 rm -rf conftest.dSYM
15276 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15282 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
15283 $as_echo "$ac_cv_sizeof_int" >&6; }
15284 cat >>confdefs.h <<_ACEOF
15285 #define SIZEOF_INT $ac_cv_sizeof_int
15292 #include "confdefs.h"
15293 #ifdef HAVE_STRING_H
15294 # include <string.h>
15297 # include <stdlib.h>
15298 # include <stddef.h>
15302 strcpy(buf, "abcdefghi");
15303 mch_memmove(buf, buf + 2, 3);
15304 if (strncmp(buf, "ababcf", 6))
15306 strcpy(buf, "abcdefghi");
15307 mch_memmove(buf + 2, buf, 3);
15308 if (strncmp(buf, "cdedef", 6))
15310 exit(0); /* libc version works properly. */
15313 { $as_echo "$as_me:$LINENO: checking whether memmove handles overlaps" >&5
15314 $as_echo_n "checking whether memmove handles overlaps... " >&6; }
15315 if test "${vim_cv_memmove_handles_overlap+set}" = set; then
15316 $as_echo_n "(cached) " >&6
15319 if test "$cross_compiling" = yes; then
15321 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_memmove_handles_overlap'" >&5
15322 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_memmove_handles_overlap'" >&2;}
15323 { (exit 1); exit 1; }; }
15326 cat >conftest.$ac_ext <<_ACEOF
15327 #define mch_memmove(s,d,l) memmove(d,s,l) $bcopy_test_prog
15329 rm -f conftest$ac_exeext
15330 if { (ac_try="$ac_link"
15331 case "(($ac_try" in
15332 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15333 *) ac_try_echo
=$ac_try;;
15335 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15336 $as_echo "$ac_try_echo") >&5
15337 (eval "$ac_link") 2>&5
15339 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15340 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15341 { (case "(($ac_try" in
15342 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15343 *) ac_try_echo=$ac_try;;
15345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15346 $as_echo "$ac_try_echo") >&5
15347 (eval "$ac_try") 2>&5
15349 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); }; }; then
15352 vim_cv_memmove_handles_overlap=yes
15355 $as_echo "$as_me: program exited with status $ac_status" >&5
15356 $as_echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15359 ( exit $ac_status )
15361 vim_cv_memmove_handles_overlap=no
15364 rm -rf conftest.dSYM
15365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15371 { $as_echo "$as_me:$LINENO: result: $vim_cv_memmove_handles_overlap" >&5
15372 $as_echo "$vim_cv_memmove_handles_overlap" >&6; }
15374 if test "x$vim_cv_memmove_handles_overlap" = "xyes" ; then
15375 cat >>confdefs.h <<\_ACEOF
15376 #define USEMEMMOVE 1
15380 { $as_echo "$as_me:$LINENO: checking whether bcopy handles overlaps" >&5
15381 $as_echo_n "checking whether bcopy handles overlaps... " >&6; }
15382 if test "${vim_cv_bcopy_handles_overlap+set}" = set; then
15383 $as_echo_n "(cached) " >&6
15386 if test "$cross_compiling" = yes; then
15388 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_bcopy_handles_overlap'" >&5
15389 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_bcopy_handles_overlap'" >&2;}
15390 { (exit 1); exit 1; }; }
15393 cat >conftest.$ac_ext <<_ACEOF
15394 #define mch_bcopy(s,d,l) bcopy(d,s,l) $bcopy_test_prog
15396 rm -f conftest$ac_exeext
15397 if { (ac_try="$ac_link"
15398 case "(($ac_try" in
15399 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15400 *) ac_try_echo
=$ac_try;;
15402 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15403 $as_echo "$ac_try_echo") >&5
15404 (eval "$ac_link") 2>&5
15406 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15407 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15408 { (case "(($ac_try" in
15409 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15410 *) ac_try_echo=$ac_try;;
15412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15413 $as_echo "$ac_try_echo") >&5
15414 (eval "$ac_try") 2>&5
15416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15417 (exit $ac_status); }; }; then
15419 vim_cv_bcopy_handles_overlap=yes
15422 $as_echo "$as_me: program exited with status $ac_status" >&5
15423 $as_echo "$as_me: failed program was:" >&5
15424 sed 's/^/| /' conftest.$ac_ext >&5
15426 ( exit $ac_status )
15428 vim_cv_bcopy_handles_overlap=no
15431 rm -rf conftest.dSYM
15432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15438 { $as_echo "$as_me:$LINENO: result: $vim_cv_bcopy_handles_overlap" >&5
15439 $as_echo "$vim_cv_bcopy_handles_overlap" >&6; }
15441 if test "x$vim_cv_bcopy_handles_overlap" = "xyes" ; then
15442 cat >>confdefs.h <<\_ACEOF
15447 { $as_echo "$as_me:$LINENO: checking whether memcpy handles overlaps" >&5
15448 $as_echo_n "checking whether memcpy handles overlaps... " >&6; }
15449 if test "${vim_cv_memcpy_handles_overlap+set}" = set; then
15450 $as_echo_n "(cached) " >&6
15453 if test "$cross_compiling" = yes; then
15455 { { $as_echo "$as_me:$LINENO: error: cross-compiling: please set 'vim_cv_memcpy_handles_overlap'" >&5
15456 $as_echo "$as_me: error: cross-compiling: please set 'vim_cv_memcpy_handles_overlap'" >&2;}
15457 { (exit 1); exit 1; }; }
15460 cat >conftest.$ac_ext <<_ACEOF
15461 #define mch_memcpy(s,d,l) memcpy(d,s,l) $bcopy_test_prog
15463 rm -f conftest$ac_exeext
15464 if { (ac_try="$ac_link"
15465 case "(($ac_try" in
15466 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15467 *) ac_try_echo
=$ac_try;;
15469 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15470 $as_echo "$ac_try_echo") >&5
15471 (eval "$ac_link") 2>&5
15473 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15474 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
15475 { (case "(($ac_try" in
15476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15477 *) ac_try_echo=$ac_try;;
15479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15480 $as_echo "$ac_try_echo") >&5
15481 (eval "$ac_try") 2>&5
15483 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15484 (exit $ac_status); }; }; then
15486 vim_cv_memcpy_handles_overlap=yes
15489 $as_echo "$as_me: program exited with status $ac_status" >&5
15490 $as_echo "$as_me: failed program was:" >&5
15491 sed 's/^/| /' conftest.$ac_ext >&5
15493 ( exit $ac_status )
15495 vim_cv_memcpy_handles_overlap=no
15498 rm -rf conftest.dSYM
15499 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15505 { $as_echo "$as_me:$LINENO: result: $vim_cv_memcpy_handles_overlap" >&5
15506 $as_echo "$vim_cv_memcpy_handles_overlap" >&6; }
15508 if test "x$vim_cv_memcpy_handles_overlap" = "xyes" ; then
15509 cat >>confdefs.h <<\_ACEOF
15510 #define USEMEMCPY 1
15519 if test "$enable_multibyte" = "yes"; then
15520 cflags_save=$CFLAGS
15521 ldflags_save=$LDFLAGS
15522 if test -n "$x_includes" ; then
15523 CFLAGS="$CFLAGS -I$x_includes"
15524 LDFLAGS="$X_LIBS $LDFLAGS -lX11"
15525 { $as_echo "$as_me:$LINENO: checking whether X_LOCALE needed" >&5
15526 $as_echo_n "checking whether X_LOCALE needed... " >&6; }
15527 cat >conftest.$ac_ext <<_ACEOF
15530 cat confdefs.h >>conftest.$ac_ext
15531 cat >>conftest.$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15533 #include <X11/Xlocale.h>
15542 rm -f conftest.$ac_objext
15543 if { (ac_try="$ac_compile"
15544 case "(($ac_try" in
15545 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15546 *) ac_try_echo
=$ac_try;;
15548 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15549 $as_echo "$ac_try_echo") >&5
15550 (eval "$ac_compile") 2>conftest.er1
15552 grep -v '^ *+' conftest.er1
>conftest.err
15554 cat conftest.err
>&5
15555 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); } && {
15557 test -z "$ac_c_werror_flag" ||
15558 test ! -s conftest.err
15559 } && test -s conftest.
$ac_objext; then
15560 cat >conftest.
$ac_ext <<_ACEOF
15563 cat confdefs.h
>>conftest.
$ac_ext
15564 cat >>conftest.
$ac_ext <<_ACEOF
15565 /* end confdefs.h. */
15567 /* Override any GCC internal prototype to avoid an error.
15568 Use char because int might match the return type of a GCC
15569 builtin and then its argument prototype would still apply. */
15573 char _Xsetlocale ();
15577 return _Xsetlocale ();
15582 rm -f conftest.
$ac_objext conftest
$ac_exeext
15583 if { (ac_try
="$ac_link"
15584 case "(($ac_try" in
15585 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15586 *) ac_try_echo=$ac_try;;
15588 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15589 $as_echo "$ac_try_echo") >&5
15590 (eval "$ac_link") 2>conftest.er1
15592 grep -v '^ *+' conftest.er1 >conftest.err
15594 cat conftest.err >&5
15595 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15596 (exit $ac_status); } && {
15597 test -z "$ac_c_werror_flag" ||
15598 test ! -s conftest.err
15599 } && test -s conftest$ac_exeext && {
15600 test "$cross_compiling" = yes ||
15601 $as_test_x conftest$ac_exeext
15603 { $as_echo "$as_me:$LINENO: result: yes" >&5
15604 $as_echo "yes" >&6; }
15605 cat >>confdefs.h <<\_ACEOF
15610 $as_echo "$as_me: failed program was:" >&5
15611 sed 's/^/| /' conftest.$ac_ext >&5
15613 { $as_echo "$as_me:$LINENO: result: no" >&5
15614 $as_echo "no" >&6; }
15617 rm -rf conftest.dSYM
15618 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15619 conftest$ac_exeext conftest.$ac_ext
15621 $as_echo "$as_me: failed program was:" >&5
15622 sed 's/^/| /' conftest.$ac_ext >&5
15624 { $as_echo "$as_me:$LINENO: result: no" >&5
15625 $as_echo "no" >&6; }
15628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15630 CFLAGS=$cflags_save
15631 LDFLAGS=$ldflags_save
15634 { $as_echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
15635 $as_echo_n "checking for _xpg4_setrunelocale in -lxpg4... " >&6; }
15636 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
15637 $as_echo_n "(cached) " >&6
15639 ac_check_lib_save_LIBS=$LIBS
15640 LIBS="-lxpg4 $LIBS"
15641 cat >conftest.$ac_ext <<_ACEOF
15644 cat confdefs.h >>conftest.$ac_ext
15645 cat >>conftest.$ac_ext <<_ACEOF
15646 /* end confdefs.h. */
15648 /* Override any GCC internal prototype to avoid an error.
15649 Use char because int might match the return type of a GCC
15650 builtin and then its argument prototype would still apply. */
15654 char _xpg4_setrunelocale ();
15658 return _xpg4_setrunelocale ();
15663 rm -f conftest.$ac_objext conftest$ac_exeext
15664 if { (ac_try="$ac_link"
15665 case "(($ac_try" in
15666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15667 *) ac_try_echo
=$ac_try;;
15669 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15670 $as_echo "$ac_try_echo") >&5
15671 (eval "$ac_link") 2>conftest.er1
15673 grep -v '^ *+' conftest.er1
>conftest.err
15675 cat conftest.err
>&5
15676 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15677 (exit $ac_status); } && {
15678 test -z "$ac_c_werror_flag" ||
15679 test ! -s conftest.err
15680 } && test -s conftest
$ac_exeext && {
15681 test "$cross_compiling" = yes ||
15682 $as_test_x conftest
$ac_exeext
15684 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
15686 $as_echo "$as_me: failed program was:" >&5
15687 sed 's/^/| /' conftest.
$ac_ext >&5
15689 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
15692 rm -rf conftest.dSYM
15693 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15694 conftest
$ac_exeext conftest.
$ac_ext
15695 LIBS
=$ac_check_lib_save_LIBS
15697 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
15698 $as_echo "$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
15699 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
15700 LIBS
="$LIBS -lxpg4"
15704 { $as_echo "$as_me:$LINENO: checking how to create tags" >&5
15705 $as_echo_n "checking how to create tags... " >&6; }
15706 test -f tags
&& mv tags tags.save
15707 if (eval ctags
--version /dev
/null |
grep Exuberant
) < /dev
/null
1>&5 2>&1; then
15708 TAGPRG
="ctags -I INIT+ --fields=+S"
15710 (eval etags
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="etags"
15711 (eval etags
-c /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="etags -c"
15712 (eval ctags
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags"
15713 (eval ctags
-t /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -t"
15714 (eval ctags
-ts /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -ts"
15715 (eval ctags
-tvs /dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -tvs"
15716 (eval ctags
-i+m
/dev
/null
) < /dev
/null
1>&5 2>&1 && TAGPRG
="ctags -i+m"
15718 test -f tags.save
&& mv tags.save tags
15719 { $as_echo "$as_me:$LINENO: result: $TAGPRG" >&5
15720 $as_echo "$TAGPRG" >&6; }
15722 { $as_echo "$as_me:$LINENO: checking how to run man with a section nr" >&5
15723 $as_echo_n "checking how to run man with a section nr... " >&6; }
15725 (eval MANPAGER
=cat PAGER
=cat man
-s 2 read) < /dev
/null
> /dev
/null
2>&5 && MANDEF
="man -s"
15726 { $as_echo "$as_me:$LINENO: result: $MANDEF" >&5
15727 $as_echo "$MANDEF" >&6; }
15728 if test "$MANDEF" = "man -s"; then
15729 cat >>confdefs.h
<<\_ACEOF
15735 { $as_echo "$as_me:$LINENO: checking --disable-nls argument" >&5
15736 $as_echo_n "checking --disable-nls argument... " >&6; }
15737 # Check whether --enable-nls was given.
15738 if test "${enable_nls+set}" = set; then
15739 enableval
=$enable_nls;
15745 if test "$enable_nls" = "yes"; then
15746 { $as_echo "$as_me:$LINENO: result: no" >&5
15747 $as_echo "no" >&6; }
15749 INSTALL_LANGS
=install-languages
15751 INSTALL_TOOL_LANGS
=install-tool-languages
15754 # Extract the first word of "msgfmt", so it can be a program name with args.
15755 set dummy msgfmt
; ac_word
=$2
15756 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15757 $as_echo_n "checking for $ac_word... " >&6; }
15758 if test "${ac_cv_prog_MSGFMT+set}" = set; then
15759 $as_echo_n "(cached) " >&6
15761 if test -n "$MSGFMT"; then
15762 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
15764 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
15765 for as_dir
in $PATH
15768 test -z "$as_dir" && as_dir
=.
15769 for ac_exec_ext
in '' $ac_executable_extensions; do
15770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15771 ac_cv_prog_MSGFMT
="msgfmt"
15772 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15781 MSGFMT
=$ac_cv_prog_MSGFMT
15782 if test -n "$MSGFMT"; then
15783 { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5
15784 $as_echo "$MSGFMT" >&6; }
15786 { $as_echo "$as_me:$LINENO: result: no" >&5
15787 $as_echo "no" >&6; }
15791 { $as_echo "$as_me:$LINENO: checking for NLS" >&5
15792 $as_echo_n "checking for NLS... " >&6; }
15793 if test -f po
/Makefile
; then
15795 if test -n "$MSGFMT"; then
15796 cat >conftest.
$ac_ext <<_ACEOF
15799 cat confdefs.h
>>conftest.
$ac_ext
15800 cat >>conftest.
$ac_ext <<_ACEOF
15801 /* end confdefs.h. */
15802 #include <libintl.h>
15811 rm -f conftest.
$ac_objext conftest
$ac_exeext
15812 if { (ac_try
="$ac_link"
15813 case "(($ac_try" in
15814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15815 *) ac_try_echo=$ac_try;;
15817 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15818 $as_echo "$ac_try_echo") >&5
15819 (eval "$ac_link") 2>conftest.er1
15821 grep -v '^ *+' conftest.er1 >conftest.err
15823 cat conftest.err >&5
15824 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_c_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest$ac_exeext && {
15829 test "$cross_compiling" = yes ||
15830 $as_test_x conftest$ac_exeext
15832 { $as_echo "$as_me:$LINENO: result: gettext() works" >&5
15833 $as_echo "gettext() works" >&6; }; have_gettext="yes"
15835 $as_echo "$as_me: failed program was:" >&5
15836 sed 's/^/| /' conftest.$ac_ext >&5
15839 LIBS="$LIBS -lintl"
15840 cat >conftest.$ac_ext <<_ACEOF
15843 cat confdefs.h >>conftest.$ac_ext
15844 cat >>conftest.$ac_ext <<_ACEOF
15845 /* end confdefs.h. */
15846 #include <libintl.h>
15855 rm -f conftest.$ac_objext conftest$ac_exeext
15856 if { (ac_try="$ac_link"
15857 case "(($ac_try" in
15858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15859 *) ac_try_echo
=$ac_try;;
15861 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
15862 $as_echo "$ac_try_echo") >&5
15863 (eval "$ac_link") 2>conftest.er1
15865 grep -v '^ *+' conftest.er1
>conftest.err
15867 cat conftest.err
>&5
15868 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); } && {
15870 test -z "$ac_c_werror_flag" ||
15871 test ! -s conftest.err
15872 } && test -s conftest
$ac_exeext && {
15873 test "$cross_compiling" = yes ||
15874 $as_test_x conftest
$ac_exeext
15876 { $as_echo "$as_me:$LINENO: result: gettext() works with -lintl" >&5
15877 $as_echo "gettext() works with -lintl" >&6; }; have_gettext
="yes"
15879 $as_echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.
$ac_ext >&5
15882 { $as_echo "$as_me:$LINENO: result: gettext() doesn't work" >&5
15883 $as_echo "gettext() doesn't work" >&6; };
15887 rm -rf conftest.dSYM
15888 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15889 conftest
$ac_exeext conftest.
$ac_ext
15892 rm -rf conftest.dSYM
15893 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15894 conftest
$ac_exeext conftest.
$ac_ext
15896 { $as_echo "$as_me:$LINENO: result: msgfmt not found - disabled" >&5
15897 $as_echo "msgfmt not found - disabled" >&6; };
15899 if test $have_gettext = "yes"; then
15900 cat >>confdefs.h
<<\_ACEOF
15901 #define HAVE_GETTEXT 1
15907 for ac_func
in bind_textdomain_codeset
15909 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15910 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
15911 $as_echo_n "checking for $ac_func... " >&6; }
15912 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15913 $as_echo_n "(cached) " >&6
15915 cat >conftest.
$ac_ext <<_ACEOF
15918 cat confdefs.h
>>conftest.
$ac_ext
15919 cat >>conftest.
$ac_ext <<_ACEOF
15920 /* end confdefs.h. */
15921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15923 #define $ac_func innocuous_$ac_func
15925 /* System header to define __stub macros and hopefully few prototypes,
15926 which can conflict with char $ac_func (); below.
15927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15928 <limits.h> exists even on freestanding compilers. */
15931 # include <limits.h>
15933 # include <assert.h>
15938 /* Override any GCC internal prototype to avoid an error.
15939 Use char because int might match the return type of a GCC
15940 builtin and then its argument prototype would still apply. */
15945 /* The GNU C library defines this for functions which it implements
15946 to always fail with ENOSYS. Some functions are actually named
15947 something starting with __ and the normal name is an alias. */
15948 #if defined __stub_$ac_func || defined __stub___$ac_func
15955 return $ac_func ();
15960 rm -f conftest.
$ac_objext conftest
$ac_exeext
15961 if { (ac_try
="$ac_link"
15962 case "(($ac_try" in
15963 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15964 *) ac_try_echo=$ac_try;;
15966 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15967 $as_echo "$ac_try_echo") >&5
15968 (eval "$ac_link") 2>conftest.er1
15970 grep -v '^ *+' conftest.er1 >conftest.err
15972 cat conftest.err >&5
15973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } && {
15975 test -z "$ac_c_werror_flag" ||
15976 test ! -s conftest.err
15977 } && test -s conftest$ac_exeext && {
15978 test "$cross_compiling" = yes ||
15979 $as_test_x conftest$ac_exeext
15981 eval "$as_ac_var=yes"
15983 $as_echo "$as_me: failed program was:" >&5
15984 sed 's/^/| /' conftest.$ac_ext >&5
15986 eval "$as_ac_var=no"
15989 rm -rf conftest.dSYM
15990 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15991 conftest$ac_exeext conftest.$ac_ext
15993 ac_res=`eval 'as_val=${'$as_ac_var'}
15994 $as_echo "$as_val"'`
15995 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
15996 $as_echo "$ac_res" >&6; }
15997 if test `eval 'as_val=${'$as_ac_var'}
15998 $as_echo "$as_val"'` = yes; then
15999 cat >>confdefs.h <<_ACEOF
16000 #define `$as_echo "HAVE_$ac_func" |
$as_tr_cpp` 1
16006 { $as_echo "$as_me:$LINENO: checking for _nl_msg_cat_cntr" >&5
16007 $as_echo_n "checking for _nl_msg_cat_cntr... " >&6; }
16008 cat >conftest.$ac_ext <<_ACEOF
16011 cat confdefs.h >>conftest.$ac_ext
16012 cat >>conftest.$ac_ext <<_ACEOF
16013 /* end confdefs.h. */
16014 #include <libintl.h>
16015 extern int _nl_msg_cat_cntr;
16019 ++_nl_msg_cat_cntr;
16024 rm -f conftest.$ac_objext conftest$ac_exeext
16025 if { (ac_try="$ac_link"
16026 case "(($ac_try" in
16027 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16028 *) ac_try_echo
=$ac_try;;
16030 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16031 $as_echo "$ac_try_echo") >&5
16032 (eval "$ac_link") 2>conftest.er1
16034 grep -v '^ *+' conftest.er1
>conftest.err
16036 cat conftest.err
>&5
16037 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16038 (exit $ac_status); } && {
16039 test -z "$ac_c_werror_flag" ||
16040 test ! -s conftest.err
16041 } && test -s conftest
$ac_exeext && {
16042 test "$cross_compiling" = yes ||
16043 $as_test_x conftest
$ac_exeext
16045 { $as_echo "$as_me:$LINENO: result: yes" >&5
16046 $as_echo "yes" >&6; }; cat >>confdefs.h
<<\_ACEOF
16047 #define HAVE_NL_MSG_CAT_CNTR 1
16051 $as_echo "$as_me: failed program was:" >&5
16052 sed 's/^/| /' conftest.
$ac_ext >&5
16054 { $as_echo "$as_me:$LINENO: result: no" >&5
16055 $as_echo "no" >&6; }
16058 rm -rf conftest.dSYM
16059 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16060 conftest
$ac_exeext conftest.
$ac_ext
16063 { $as_echo "$as_me:$LINENO: result: no \"po/Makefile\" - disabled" >&5
16064 $as_echo "no \"po/Makefile\" - disabled" >&6; };
16067 { $as_echo "$as_me:$LINENO: result: yes" >&5
16068 $as_echo "yes" >&6; }
16071 if test "${ac_cv_header_dlfcn_h+set}" = set; then
16072 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
16073 $as_echo_n "checking for dlfcn.h... " >&6; }
16074 if test "${ac_cv_header_dlfcn_h+set}" = set; then
16075 $as_echo_n "(cached) " >&6
16077 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
16078 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
16080 # Is the header compilable?
16081 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
16082 $as_echo_n "checking dlfcn.h usability... " >&6; }
16083 cat >conftest.
$ac_ext <<_ACEOF
16086 cat confdefs.h
>>conftest.
$ac_ext
16087 cat >>conftest.
$ac_ext <<_ACEOF
16088 /* end confdefs.h. */
16089 $ac_includes_default
16092 rm -f conftest.
$ac_objext
16093 if { (ac_try
="$ac_compile"
16094 case "(($ac_try" in
16095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16096 *) ac_try_echo=$ac_try;;
16098 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16099 $as_echo "$ac_try_echo") >&5
16100 (eval "$ac_compile") 2>conftest.er1
16102 grep -v '^ *+' conftest.er1 >conftest.err
16104 cat conftest.err >&5
16105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16106 (exit $ac_status); } && {
16107 test -z "$ac_c_werror_flag" ||
16108 test ! -s conftest.err
16109 } && test -s conftest.$ac_objext; then
16110 ac_header_compiler=yes
16112 $as_echo "$as_me: failed program was:" >&5
16113 sed 's/^/| /' conftest.$ac_ext >&5
16115 ac_header_compiler=no
16118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16119 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16120 $as_echo "$ac_header_compiler" >&6; }
16122 # Is the header present?
16123 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
16124 $as_echo_n "checking dlfcn.h presence... " >&6; }
16125 cat >conftest.$ac_ext <<_ACEOF
16128 cat confdefs.h >>conftest.$ac_ext
16129 cat >>conftest.$ac_ext <<_ACEOF
16130 /* end confdefs.h. */
16133 if { (ac_try="$ac_cpp conftest.$ac_ext"
16134 case "(($ac_try" in
16135 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16136 *) ac_try_echo
=$ac_try;;
16138 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16139 $as_echo "$ac_try_echo") >&5
16140 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16142 grep -v '^ *+' conftest.er1
>conftest.err
16144 cat conftest.err
>&5
16145 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); } >/dev
/null
&& {
16147 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16148 test ! -s conftest.err
16150 ac_header_preproc
=yes
16152 $as_echo "$as_me: failed program was:" >&5
16153 sed 's/^/| /' conftest.
$ac_ext >&5
16155 ac_header_preproc
=no
16158 rm -f conftest.err conftest.
$ac_ext
16159 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16160 $as_echo "$ac_header_preproc" >&6; }
16162 # So? What about this header?
16163 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16165 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
16166 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16167 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
16168 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
16169 ac_header_preproc
=yes
16172 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
16173 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
16174 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: check for missing prerequisite headers?" >&5
16175 $as_echo "$as_me: WARNING: dlfcn.h: check for missing prerequisite headers?" >&2;}
16176 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
16177 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
16178 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&5
16179 $as_echo "$as_me: WARNING: dlfcn.h: section \"Present But Cannot Be Compiled\"" >&2;}
16180 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
16181 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
16182 { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
16183 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
16187 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
16188 $as_echo_n "checking for dlfcn.h... " >&6; }
16189 if test "${ac_cv_header_dlfcn_h+set}" = set; then
16190 $as_echo_n "(cached) " >&6
16192 ac_cv_header_dlfcn_h
=$ac_header_preproc
16194 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
16195 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
16198 if test $ac_cv_header_dlfcn_h = yes; then
16201 if test "${ac_cv_header_dl_h+set}" = set; then
16202 { $as_echo "$as_me:$LINENO: checking for dl.h" >&5
16203 $as_echo_n "checking for dl.h... " >&6; }
16204 if test "${ac_cv_header_dl_h+set}" = set; then
16205 $as_echo_n "(cached) " >&6
16207 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
16208 $as_echo "$ac_cv_header_dl_h" >&6; }
16210 # Is the header compilable?
16211 { $as_echo "$as_me:$LINENO: checking dl.h usability" >&5
16212 $as_echo_n "checking dl.h usability... " >&6; }
16213 cat >conftest.
$ac_ext <<_ACEOF
16216 cat confdefs.h
>>conftest.
$ac_ext
16217 cat >>conftest.
$ac_ext <<_ACEOF
16218 /* end confdefs.h. */
16219 $ac_includes_default
16222 rm -f conftest.
$ac_objext
16223 if { (ac_try
="$ac_compile"
16224 case "(($ac_try" in
16225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16226 *) ac_try_echo=$ac_try;;
16228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16229 $as_echo "$ac_try_echo") >&5
16230 (eval "$ac_compile") 2>conftest.er1
16232 grep -v '^ *+' conftest.er1 >conftest.err
16234 cat conftest.err >&5
16235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16236 (exit $ac_status); } && {
16237 test -z "$ac_c_werror_flag" ||
16238 test ! -s conftest.err
16239 } && test -s conftest.$ac_objext; then
16240 ac_header_compiler=yes
16242 $as_echo "$as_me: failed program was:" >&5
16243 sed 's/^/| /' conftest.$ac_ext >&5
16245 ac_header_compiler=no
16248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16249 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16250 $as_echo "$ac_header_compiler" >&6; }
16252 # Is the header present?
16253 { $as_echo "$as_me:$LINENO: checking dl.h presence" >&5
16254 $as_echo_n "checking dl.h presence... " >&6; }
16255 cat >conftest.$ac_ext <<_ACEOF
16258 cat confdefs.h >>conftest.$ac_ext
16259 cat >>conftest.$ac_ext <<_ACEOF
16260 /* end confdefs.h. */
16263 if { (ac_try="$ac_cpp conftest.$ac_ext"
16264 case "(($ac_try" in
16265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16266 *) ac_try_echo
=$ac_try;;
16268 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16269 $as_echo "$ac_try_echo") >&5
16270 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16272 grep -v '^ *+' conftest.er1
>conftest.err
16274 cat conftest.err
>&5
16275 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16276 (exit $ac_status); } >/dev
/null
&& {
16277 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16278 test ! -s conftest.err
16280 ac_header_preproc
=yes
16282 $as_echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.
$ac_ext >&5
16285 ac_header_preproc
=no
16288 rm -f conftest.err conftest.
$ac_ext
16289 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16290 $as_echo "$ac_header_preproc" >&6; }
16292 # So? What about this header?
16293 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16295 { $as_echo "$as_me:$LINENO: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&5
16296 $as_echo "$as_me: WARNING: dl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
16297 { $as_echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the compiler's result" >&5
16298 $as_echo "$as_me: WARNING: dl.h: proceeding with the compiler's result" >&2;}
16299 ac_header_preproc
=yes
16302 { $as_echo "$as_me:$LINENO: WARNING: dl.h: present but cannot be compiled" >&5
16303 $as_echo "$as_me: WARNING: dl.h: present but cannot be compiled" >&2;}
16304 { $as_echo "$as_me:$LINENO: WARNING: dl.h: check for missing prerequisite headers?" >&5
16305 $as_echo "$as_me: WARNING: dl.h: check for missing prerequisite headers?" >&2;}
16306 { $as_echo "$as_me:$LINENO: WARNING: dl.h: see the Autoconf documentation" >&5
16307 $as_echo "$as_me: WARNING: dl.h: see the Autoconf documentation" >&2;}
16308 { $as_echo "$as_me:$LINENO: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&5
16309 $as_echo "$as_me: WARNING: dl.h: section \"Present But Cannot Be Compiled\"" >&2;}
16310 { $as_echo "$as_me:$LINENO: WARNING: dl.h: proceeding with the preprocessor's result" >&5
16311 $as_echo "$as_me: WARNING: dl.h: proceeding with the preprocessor's result" >&2;}
16312 { $as_echo "$as_me:$LINENO: WARNING: dl.h: in the future, the compiler will take precedence" >&5
16313 $as_echo "$as_me: WARNING: dl.h: in the future, the compiler will take precedence" >&2;}
16317 { $as_echo "$as_me:$LINENO: checking for dl.h" >&5
16318 $as_echo_n "checking for dl.h... " >&6; }
16319 if test "${ac_cv_header_dl_h+set}" = set; then
16320 $as_echo_n "(cached) " >&6
16322 ac_cv_header_dl_h
=$ac_header_preproc
16324 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dl_h" >&5
16325 $as_echo "$ac_cv_header_dl_h" >&6; }
16328 if test $ac_cv_header_dl_h = yes; then
16336 if test x
${DLL} = xdlfcn.h
; then
16338 cat >>confdefs.h
<<\_ACEOF
16339 #define HAVE_DLFCN_H 1
16342 { $as_echo "$as_me:$LINENO: checking for dlopen()" >&5
16343 $as_echo_n "checking for dlopen()... " >&6; }
16344 cat >conftest.
$ac_ext <<_ACEOF
16347 cat confdefs.h
>>conftest.
$ac_ext
16348 cat >>conftest.
$ac_ext <<_ACEOF
16349 /* end confdefs.h. */
16355 extern void* dlopen();
16362 rm -f conftest.
$ac_objext conftest
$ac_exeext
16363 if { (ac_try
="$ac_link"
16364 case "(($ac_try" in
16365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16366 *) ac_try_echo=$ac_try;;
16368 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16369 $as_echo "$ac_try_echo") >&5
16370 (eval "$ac_link") 2>conftest.er1
16372 grep -v '^ *+' conftest.er1 >conftest.err
16374 cat conftest.err >&5
16375 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16376 (exit $ac_status); } && {
16377 test -z "$ac_c_werror_flag" ||
16378 test ! -s conftest.err
16379 } && test -s conftest$ac_exeext && {
16380 test "$cross_compiling" = yes ||
16381 $as_test_x conftest$ac_exeext
16383 { $as_echo "$as_me:$LINENO: result: yes" >&5
16384 $as_echo "yes" >&6; };
16386 cat >>confdefs.h <<\_ACEOF
16387 #define HAVE_DLOPEN 1
16391 $as_echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.$ac_ext >&5
16394 { $as_echo "$as_me:$LINENO: result: no" >&5
16395 $as_echo "no" >&6; };
16396 { $as_echo "$as_me:$LINENO: checking for dlopen() in -ldl" >&5
16397 $as_echo_n "checking for dlopen() in -ldl... " >&6; }
16400 cat >conftest.$ac_ext <<_ACEOF
16403 cat confdefs.h >>conftest.$ac_ext
16404 cat >>conftest.$ac_ext <<_ACEOF
16405 /* end confdefs.h. */
16411 extern void* dlopen();
16418 rm -f conftest.$ac_objext conftest$ac_exeext
16419 if { (ac_try="$ac_link"
16420 case "(($ac_try" in
16421 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16422 *) ac_try_echo
=$ac_try;;
16424 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16425 $as_echo "$ac_try_echo") >&5
16426 (eval "$ac_link") 2>conftest.er1
16428 grep -v '^ *+' conftest.er1
>conftest.err
16430 cat conftest.err
>&5
16431 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16432 (exit $ac_status); } && {
16433 test -z "$ac_c_werror_flag" ||
16434 test ! -s conftest.err
16435 } && test -s conftest
$ac_exeext && {
16436 test "$cross_compiling" = yes ||
16437 $as_test_x conftest
$ac_exeext
16439 { $as_echo "$as_me:$LINENO: result: yes" >&5
16440 $as_echo "yes" >&6; };
16442 cat >>confdefs.h
<<\_ACEOF
16443 #define HAVE_DLOPEN 1
16447 $as_echo "$as_me: failed program was:" >&5
16448 sed 's/^/| /' conftest.
$ac_ext >&5
16450 { $as_echo "$as_me:$LINENO: result: no" >&5
16451 $as_echo "no" >&6; };
16455 rm -rf conftest.dSYM
16456 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16457 conftest
$ac_exeext conftest.
$ac_ext
16460 rm -rf conftest.dSYM
16461 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16462 conftest
$ac_exeext conftest.
$ac_ext
16463 { $as_echo "$as_me:$LINENO: checking for dlsym()" >&5
16464 $as_echo_n "checking for dlsym()... " >&6; }
16465 cat >conftest.
$ac_ext <<_ACEOF
16468 cat confdefs.h
>>conftest.
$ac_ext
16469 cat >>conftest.
$ac_ext <<_ACEOF
16470 /* end confdefs.h. */
16476 extern void* dlsym();
16483 rm -f conftest.
$ac_objext conftest
$ac_exeext
16484 if { (ac_try
="$ac_link"
16485 case "(($ac_try" in
16486 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16487 *) ac_try_echo=$ac_try;;
16489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16490 $as_echo "$ac_try_echo") >&5
16491 (eval "$ac_link") 2>conftest.er1
16493 grep -v '^ *+' conftest.er1 >conftest.err
16495 cat conftest.err >&5
16496 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); } && {
16498 test -z "$ac_c_werror_flag" ||
16499 test ! -s conftest.err
16500 } && test -s conftest$ac_exeext && {
16501 test "$cross_compiling" = yes ||
16502 $as_test_x conftest$ac_exeext
16504 { $as_echo "$as_me:$LINENO: result: yes" >&5
16505 $as_echo "yes" >&6; };
16507 cat >>confdefs.h <<\_ACEOF
16508 #define HAVE_DLSYM 1
16512 $as_echo "$as_me: failed program was:" >&5
16513 sed 's/^/| /' conftest.$ac_ext >&5
16515 { $as_echo "$as_me:$LINENO: result: no" >&5
16516 $as_echo "no" >&6; };
16517 { $as_echo "$as_me:$LINENO: checking for dlsym() in -ldl" >&5
16518 $as_echo_n "checking for dlsym() in -ldl... " >&6; }
16521 cat >conftest.$ac_ext <<_ACEOF
16524 cat confdefs.h >>conftest.$ac_ext
16525 cat >>conftest.$ac_ext <<_ACEOF
16526 /* end confdefs.h. */
16532 extern void* dlsym();
16539 rm -f conftest.$ac_objext conftest$ac_exeext
16540 if { (ac_try="$ac_link"
16541 case "(($ac_try" in
16542 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16543 *) ac_try_echo
=$ac_try;;
16545 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16546 $as_echo "$ac_try_echo") >&5
16547 (eval "$ac_link") 2>conftest.er1
16549 grep -v '^ *+' conftest.er1
>conftest.err
16551 cat conftest.err
>&5
16552 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16553 (exit $ac_status); } && {
16554 test -z "$ac_c_werror_flag" ||
16555 test ! -s conftest.err
16556 } && test -s conftest
$ac_exeext && {
16557 test "$cross_compiling" = yes ||
16558 $as_test_x conftest
$ac_exeext
16560 { $as_echo "$as_me:$LINENO: result: yes" >&5
16561 $as_echo "yes" >&6; };
16563 cat >>confdefs.h
<<\_ACEOF
16564 #define HAVE_DLSYM 1
16568 $as_echo "$as_me: failed program was:" >&5
16569 sed 's/^/| /' conftest.
$ac_ext >&5
16571 { $as_echo "$as_me:$LINENO: result: no" >&5
16572 $as_echo "no" >&6; };
16576 rm -rf conftest.dSYM
16577 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16578 conftest
$ac_exeext conftest.
$ac_ext
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 elif test x
${DLL} = xdl.h
; then
16586 cat >>confdefs.h
<<\_ACEOF
16587 #define HAVE_DL_H 1
16590 { $as_echo "$as_me:$LINENO: checking for shl_load()" >&5
16591 $as_echo_n "checking for shl_load()... " >&6; }
16592 cat >conftest.
$ac_ext <<_ACEOF
16595 cat confdefs.h
>>conftest.
$ac_ext
16596 cat >>conftest.
$ac_ext <<_ACEOF
16597 /* end confdefs.h. */
16603 extern void* shl_load();
16610 rm -f conftest.
$ac_objext conftest
$ac_exeext
16611 if { (ac_try
="$ac_link"
16612 case "(($ac_try" in
16613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16614 *) ac_try_echo=$ac_try;;
16616 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16617 $as_echo "$ac_try_echo") >&5
16618 (eval "$ac_link") 2>conftest.er1
16620 grep -v '^ *+' conftest.er1 >conftest.err
16622 cat conftest.err >&5
16623 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); } && {
16625 test -z "$ac_c_werror_flag" ||
16626 test ! -s conftest.err
16627 } && test -s conftest$ac_exeext && {
16628 test "$cross_compiling" = yes ||
16629 $as_test_x conftest$ac_exeext
16631 { $as_echo "$as_me:$LINENO: result: yes" >&5
16632 $as_echo "yes" >&6; };
16634 cat >>confdefs.h <<\_ACEOF
16635 #define HAVE_SHL_LOAD 1
16639 $as_echo "$as_me: failed program was:" >&5
16640 sed 's/^/| /' conftest.$ac_ext >&5
16642 { $as_echo "$as_me:$LINENO: result: no" >&5
16643 $as_echo "no" >&6; };
16644 { $as_echo "$as_me:$LINENO: checking for shl_load() in -ldld" >&5
16645 $as_echo_n "checking for shl_load() in -ldld... " >&6; }
16648 cat >conftest.$ac_ext <<_ACEOF
16651 cat confdefs.h >>conftest.$ac_ext
16652 cat >>conftest.$ac_ext <<_ACEOF
16653 /* end confdefs.h. */
16659 extern void* shl_load();
16666 rm -f conftest.$ac_objext conftest$ac_exeext
16667 if { (ac_try="$ac_link"
16668 case "(($ac_try" in
16669 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16670 *) ac_try_echo
=$ac_try;;
16672 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16673 $as_echo "$ac_try_echo") >&5
16674 (eval "$ac_link") 2>conftest.er1
16676 grep -v '^ *+' conftest.er1
>conftest.err
16678 cat conftest.err
>&5
16679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } && {
16681 test -z "$ac_c_werror_flag" ||
16682 test ! -s conftest.err
16683 } && test -s conftest
$ac_exeext && {
16684 test "$cross_compiling" = yes ||
16685 $as_test_x conftest
$ac_exeext
16687 { $as_echo "$as_me:$LINENO: result: yes" >&5
16688 $as_echo "yes" >&6; };
16690 cat >>confdefs.h
<<\_ACEOF
16691 #define HAVE_SHL_LOAD 1
16695 $as_echo "$as_me: failed program was:" >&5
16696 sed 's/^/| /' conftest.
$ac_ext >&5
16698 { $as_echo "$as_me:$LINENO: result: no" >&5
16699 $as_echo "no" >&6; };
16703 rm -rf conftest.dSYM
16704 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16705 conftest
$ac_exeext conftest.
$ac_ext
16708 rm -rf conftest.dSYM
16709 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16710 conftest
$ac_exeext conftest.
$ac_ext
16713 for ac_header
in setjmp.h
16715 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16716 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16717 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16718 $as_echo_n "checking for $ac_header... " >&6; }
16719 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16720 $as_echo_n "(cached) " >&6
16722 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16723 $as_echo "$as_val"'`
16724 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16725 $as_echo "$ac_res" >&6; }
16727 # Is the header compilable?
16728 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16729 $as_echo_n "checking $ac_header usability... " >&6; }
16730 cat >conftest.
$ac_ext <<_ACEOF
16733 cat confdefs.h
>>conftest.
$ac_ext
16734 cat >>conftest.
$ac_ext <<_ACEOF
16735 /* end confdefs.h. */
16736 $ac_includes_default
16737 #include <$ac_header>
16739 rm -f conftest.
$ac_objext
16740 if { (ac_try
="$ac_compile"
16741 case "(($ac_try" in
16742 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16743 *) ac_try_echo=$ac_try;;
16745 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16746 $as_echo "$ac_try_echo") >&5
16747 (eval "$ac_compile") 2>conftest.er1
16749 grep -v '^ *+' conftest.er1 >conftest.err
16751 cat conftest.err >&5
16752 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } && {
16754 test -z "$ac_c_werror_flag" ||
16755 test ! -s conftest.err
16756 } && test -s conftest.$ac_objext; then
16757 ac_header_compiler=yes
16759 $as_echo "$as_me: failed program was:" >&5
16760 sed 's/^/| /' conftest.$ac_ext >&5
16762 ac_header_compiler=no
16765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16766 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16767 $as_echo "$ac_header_compiler" >&6; }
16769 # Is the header present?
16770 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16771 $as_echo_n "checking $ac_header presence... " >&6; }
16772 cat >conftest.$ac_ext <<_ACEOF
16775 cat confdefs.h >>conftest.$ac_ext
16776 cat >>conftest.$ac_ext <<_ACEOF
16777 /* end confdefs.h. */
16778 #include <$ac_header>
16780 if { (ac_try="$ac_cpp conftest.$ac_ext"
16781 case "(($ac_try" in
16782 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16783 *) ac_try_echo
=$ac_try;;
16785 eval ac_try_echo
="\"\$as_me:$LINENO: $ac_try_echo\""
16786 $as_echo "$ac_try_echo") >&5
16787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16789 grep -v '^ *+' conftest.er1
>conftest.err
16791 cat conftest.err
>&5
16792 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16793 (exit $ac_status); } >/dev
/null
&& {
16794 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16795 test ! -s conftest.err
16797 ac_header_preproc
=yes
16799 $as_echo "$as_me: failed program was:" >&5
16800 sed 's/^/| /' conftest.
$ac_ext >&5
16802 ac_header_preproc
=no
16805 rm -f conftest.err conftest.
$ac_ext
16806 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16807 $as_echo "$ac_header_preproc" >&6; }
16809 # So? What about this header?
16810 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16812 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16813 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16814 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16815 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16816 ac_header_preproc
=yes
16819 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16820 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16821 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16822 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16823 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16824 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16825 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16826 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16827 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16828 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16829 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16830 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16834 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16835 $as_echo_n "checking for $ac_header... " >&6; }
16836 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16837 $as_echo_n "(cached) " >&6
16839 eval "$as_ac_Header=\$ac_header_preproc"
16841 ac_res
=`eval 'as_val=${'$as_ac_Header'}
16842 $as_echo "$as_val"'`
16843 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16844 $as_echo "$ac_res" >&6; }
16847 if test `eval 'as_val=${'$as_ac_Header'}
16848 $as_echo "$as_val"'` = yes; then
16849 cat >>confdefs.h
<<_ACEOF
16850 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16858 if test "x$MACOSX" = "xyes" -a -n "$PERL"; then
16859 if echo $LIBS |
grep -e '-ldl' >/dev
/null
; then
16860 LIBS
=`echo $LIBS | sed s/-ldl//`
16861 PERL_LIBS
="$PERL_LIBS -ldl"
16865 if test "x$MACOSX" = "xyes" && test "x$CARBON" = "xyes" \
16866 && test "x$GUITYPE" != "xCARBONGUI"; then
16867 { $as_echo "$as_me:$LINENO: checking whether we need -framework Carbon" >&5
16868 $as_echo_n "checking whether we need -framework Carbon... " >&6; }
16869 if test "x$enable_multibyte" = "xyes" ||
test "x$features" = "xbig" \
16870 ||
test "x$features" = "xhuge"; then
16871 LIBS
="$LIBS -framework Carbon"
16872 { $as_echo "$as_me:$LINENO: result: yes" >&5
16873 $as_echo "yes" >&6; }
16875 { $as_echo "$as_me:$LINENO: result: no" >&5
16876 $as_echo "no" >&6; }
16879 if test "x$MACARCH" = "xboth"; then
16880 LDFLAGS
="$LDFLAGS -isysroot /Developer/SDKs/MacOSX10.4u.sdk -arch i386 -arch ppc"
16883 DEPEND_CFLAGS_FILTER
=
16884 if test "$GCC" = yes; then
16885 { $as_echo "$as_me:$LINENO: checking for GCC 3 or later" >&5
16886 $as_echo_n "checking for GCC 3 or later... " >&6; }
16887 gccmajor
=`echo "$gccversion" | sed -e 's/^\([1-9]\)\..*$/\1/g'`
16888 if test "$gccmajor" -gt "2"; then
16889 DEPEND_CFLAGS_FILTER
="| sed 's+-I */+-isystem /+g'"
16890 { $as_echo "$as_me:$LINENO: result: yes" >&5
16891 $as_echo "yes" >&6; }
16893 { $as_echo "$as_me:$LINENO: result: no" >&5
16894 $as_echo "no" >&6; }
16896 { $as_echo "$as_me:$LINENO: checking whether we need -D_FORTIFY_SOURCE=1" >&5
16897 $as_echo_n "checking whether we need -D_FORTIFY_SOURCE=1... " >&6; }
16898 if test "$gccmajor" -gt "3"; then
16899 CFLAGS
="$CFLAGS -D_FORTIFY_SOURCE=1"
16900 { $as_echo "$as_me:$LINENO: result: yes" >&5
16901 $as_echo "yes" >&6; }
16903 { $as_echo "$as_me:$LINENO: result: no" >&5
16904 $as_echo "no" >&6; }
16909 ac_config_files
="$ac_config_files auto/config.mk:config.mk.in"
16911 cat >confcache
<<\_ACEOF
16912 # This file is a shell script that caches the results of configure
16913 # tests run on this system so they can be shared between configure
16914 # scripts and configure runs, see configure's option --config-cache.
16915 # It is not useful on other systems. If it contains results you don't
16916 # want to keep, you may remove or edit it.
16918 # config.status only pays attention to the cache file if you give it
16919 # the --recheck option to rerun configure.
16921 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16922 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16923 # following values.
16927 # The following way of writing the cache mishandles newlines in values,
16928 # but we know of no workaround that is simple, portable, and efficient.
16929 # So, we kill variables containing newlines.
16930 # Ultrix sh set writes to stderr and can't be redirected directly,
16931 # and sets the high bit in the cache file unless we assign to the vars.
16933 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16934 eval ac_val
=\$
$ac_var
16938 *_cv_
*) { $as_echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
16939 $as_echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
16942 _ | IFS | as_nl
) ;; #(
16943 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16944 *) $as_unset $ac_var ;;
16950 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16951 *${as_nl}ac_space
=\
*)
16952 # `set' does not quote correctly, so add quotes (double-quote
16953 # substitution turns \\\\ into \\, and sed turns \\ into \).
16956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16959 # `set' quotes correctly as required by POSIX, so do not add quotes.
16960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16969 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16971 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16973 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16974 if test -w "$cache_file"; then
16975 test "x$cache_file" != "x/dev/null" &&
16976 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
16977 $as_echo "$as_me: updating cache $cache_file" >&6;}
16978 cat confcache
>$cache_file
16980 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
16981 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16986 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16987 # Let make expand exec_prefix.
16988 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16990 DEFS
=-DHAVE_CONFIG_H
16994 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16995 # 1. Remove the extension, and $U if already installed.
16996 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16997 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16998 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16999 # will be set to the directory where LIBOBJS objects are built.
17000 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17001 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
17003 LIBOBJS
=$ac_libobjs
17005 LTLIBOBJS
=$ac_ltlibobjs
17009 : ${CONFIG_STATUS=./config.status}
17011 ac_clean_files_save
=$ac_clean_files
17012 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
17013 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
17014 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17015 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17017 # Generated by $as_me.
17018 # Run this file to recreate the current configuration.
17019 # Compiler output produced by configure, useful for debugging
17020 # configure, is in config.log if it exists.
17023 ac_cs_recheck=false
17025 SHELL=\${CONFIG_SHELL-$SHELL}
17028 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17029 ## --------------------- ##
17030 ## M4sh Initialization. ##
17031 ## --------------------- ##
17033 # Be more Bourne compatible
17034 DUALCASE
=1; export DUALCASE
# for MKS sh
17035 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
17038 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17039 # is contrary to our usage. Disable this feature.
17040 alias -g '${1+"$@"}'='"$@"'
17041 setopt NO_GLOB_SUBST
17043 case `(set -o) 2>/dev/null` in
17044 *posix
*) set -o posix
;;
17053 # Avoid depending upon Character Ranges.
17054 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17055 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17056 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17057 as_cr_digits
='0123456789'
17058 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17063 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17064 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17065 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17066 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17067 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17068 as_echo='printf %s
\n'
17069 as_echo_n='printf %s
'
17071 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17072 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
17073 as_echo_n='/usr
/ucb
/echo -n'
17075 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17076 as_echo_n_body='eval
17080 expr "X$arg" : "X\\(.*\\)$as_nl";
17081 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17083 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
17085 export as_echo_n_body
17086 as_echo_n='sh
-c $as_echo_n_body as_echo
'
17088 export as_echo_body
17089 as_echo='sh
-c $as_echo_body as_echo
'
17092 # The user is always right.
17093 if test "${PATH_SEPARATOR+set}" != set; then
17095 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17096 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17101 # Support unset when possible.
17102 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
17110 # We need space, tab and new line, in precisely that order. Quoting is
17111 # there to prevent editors from complaining about space-tab.
17112 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17113 # splitting by setting IFS to empty value.)
17116 # Find who we are. Look in the path if we contain no directory separator.
17118 *[\\/]* ) as_myself=$0 ;;
17119 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17120 for as_dir in $PATH
17123 test -z "$as_dir" && as_dir=.
17124 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17130 # We did not find ourselves, most probably we were run as `sh COMMAND'
17131 # in which case we are not to be found in the path.
17132 if test "x$as_myself" = x
; then
17135 if test ! -f "$as_myself"; then
17136 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17137 { (exit 1); exit 1; }
17140 # Work around bugs in pre-3.0 UWIN ksh.
17141 for as_var
in ENV MAIL MAILPATH
17142 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
17154 # Required to use basename.
17155 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17156 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17162 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17163 as_basename
=basename
17169 # Name of the executable.
17170 as_me
=`$as_basename -- "$0" ||
17171 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17172 X"$0" : 'X\(//\)$' \| \
17173 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17175 sed '/^.*\/\([^/][^/]*\)\/*$/{
17194 as_lineno_1
=$LINENO
17195 as_lineno_2
=$LINENO
17196 test "x$as_lineno_1" != "x$as_lineno_2" &&
17197 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
17199 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
17200 # uniformly replaced by the line number. The first 'sed' inserts a
17201 # line-number line after each line using $LINENO; the second 'sed'
17202 # does the real work. The second script uses 'N' to pair each
17203 # line-number line with the line containing $LINENO, and appends
17204 # trailing '-' during substitution so that $LINENO is not a special
17205 # case at line end.
17206 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
17207 # scripts with optimization help from Paolo Bonzini. Blame Lee
17208 # E. McMahon (1931-1989) for sed's syntax. :-)
17220 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
17223 ' >$as_me.lineno
&&
17224 chmod +x
"$as_me.lineno" ||
17225 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
17226 { (exit 1); exit 1; }; }
17228 # Don't try to exec as it changes $[0], causing all sort of problems
17229 # (the dirname of $[0] is not the place where we might find the
17230 # original and so on. Autoconf is especially sensitive to this).
17231 .
"./$as_me.lineno"
17232 # Exit status is that of the last command.
17237 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
17243 ECHO_C
= ECHO_N
= ECHO_T
=
17244 case `echo -n x` in
17246 case `echo 'x\c'` in
17247 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17253 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
17254 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
17260 rm -f conf$$ conf$$.exe conf$$.
file
17261 if test -d conf$$.dir
; then
17262 rm -f conf$$.dir
/conf$$.
file
17265 mkdir conf$$.dir
2>/dev
/null
17267 if (echo >conf$$.
file) 2>/dev
/null
; then
17268 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17270 # ... but there are two gotchas:
17271 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17272 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17273 # In both cases, we have to default to `cp -p'.
17274 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17276 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17284 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17285 rmdir conf$$.dir
2>/dev
/null
17287 if mkdir
-p .
2>/dev
/null
; then
17290 test -d .
/-p && rmdir .
/-p
17294 if test -x / >/dev
/null
2>&1; then
17295 as_test_x
='test -x'
17297 if ls -dL / >/dev
/null
2>&1; then
17304 if test -d "$1"; then
17310 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
17311 ???[sx]*):;;*)false;;esac;fi
17315 as_executable_p
=$as_test_x
17317 # Sed expression to map a string onto a valid CPP name.
17318 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17320 # Sed expression to map a string onto a valid variable name.
17321 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17326 # Save the log message, to keep $[0] and so on meaningful, and to
17327 # report actual input values of CONFIG_FILES etc. instead of their
17328 # values after options handling.
17330 This file was extended by $as_me, which was
17331 generated by GNU Autoconf 2.62. Invocation command line was
17333 CONFIG_FILES = $CONFIG_FILES
17334 CONFIG_HEADERS = $CONFIG_HEADERS
17335 CONFIG_LINKS = $CONFIG_LINKS
17336 CONFIG_COMMANDS = $CONFIG_COMMANDS
17339 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17344 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17345 # Files that config.status was made for.
17346 config_files="$ac_config_files"
17347 config_headers="$ac_config_headers"
17351 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17353 \`$as_me' instantiates files from templates according to the
17354 current configuration.
17356 Usage: $0 [OPTIONS] [FILE]...
17358 -h, --help print this help, then exit
17359 -V, --version print version number and configuration settings, then exit
17360 -q, --quiet do not print progress messages
17361 -d, --debug don't remove temporary files
17362 --recheck update $as_me by reconfiguring in the same conditions
17363 --file=FILE[:TEMPLATE]
17364 instantiate the configuration file FILE
17365 --header=FILE[:TEMPLATE]
17366 instantiate the configuration header FILE
17368 Configuration files:
17371 Configuration headers:
17374 Report bugs to <bug-autoconf@gnu.org>."
17377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17380 configured by $0, generated by GNU Autoconf 2.62,
17381 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
17383 Copyright (C) 2008 Free Software Foundation, Inc.
17384 This config.status script is free software; the Free Software Foundation
17385 gives unlimited permission to copy, distribute and modify it."
17390 test -n "\$AWK" || AWK=awk
17393 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17394 # The default lists apply if the user does not specify any file.
17400 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17401 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17412 # Handling of the options.
17413 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17415 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17416 $as_echo "$ac_cs_version"; exit ;;
17417 --debug |
--debu |
--deb |
--de |
--d |
-d )
17419 --file |
--fil |
--fi |
--f )
17422 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17424 CONFIG_FILES
="$CONFIG_FILES '$ac_optarg'"
17425 ac_need_defaults
=false
;;
17426 --header |
--heade |
--head |
--hea )
17429 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17431 CONFIG_HEADERS
="$CONFIG_HEADERS '$ac_optarg'"
17432 ac_need_defaults
=false
;;
17434 # Conflict between --help and --header
17435 { $as_echo "$as_me: error: ambiguous option: $1
17436 Try \`$0 --help' for more information." >&2
17437 { (exit 1); exit 1; }; };;
17438 --help |
--hel |
-h )
17439 $as_echo "$ac_cs_usage"; exit ;;
17440 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17441 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17444 # This is an error.
17445 -*) { $as_echo "$as_me: error: unrecognized option: $1
17446 Try \`$0 --help' for more information." >&2
17447 { (exit 1); exit 1; }; } ;;
17449 *) ac_config_targets
="$ac_config_targets $1"
17450 ac_need_defaults
=false
;;
17456 ac_configure_extra_args
=
17458 if $ac_cs_silent; then
17460 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17464 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17465 if \$ac_cs_recheck; then
17466 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17468 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17469 CONFIG_SHELL='$SHELL'
17470 export CONFIG_SHELL
17475 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17476 exec 5>>auto
/config.log
17479 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17480 ## Running $as_me. ##
17486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17491 # Handling of arguments.
17492 for ac_config_target
in $ac_config_targets
17494 case $ac_config_target in
17495 "auto/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS auto/config.h:config.h.in" ;;
17496 "auto/config.mk") CONFIG_FILES
="$CONFIG_FILES auto/config.mk:config.mk.in" ;;
17498 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
17499 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
17500 { (exit 1); exit 1; }; };;
17505 # If the user did not use the arguments to specify the items to instantiate,
17506 # then the envvar interface is used. Set only those that are not.
17507 # We use the long form for the default assignment because of an extremely
17508 # bizarre bug on SunOS 4.1.3.
17509 if $ac_need_defaults; then
17510 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17511 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17514 # Have a temporary directory for convenience. Make it in the build tree
17515 # simply because there is no reason against having it here, and in addition,
17516 # creating and moving files from /tmp can sometimes cause problems.
17517 # Hook for its removal unless debugging.
17518 # Note that there is a small window in which the directory will not be cleaned:
17519 # after its creation but before its name has been assigned to `$tmp'.
17523 trap 'exit_status=$?
17524 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
17526 trap '{ (exit 1); exit 1; }' 1 2 13 15
17528 # Create a (secure) tmp directory for tmp files.
17531 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17532 test -n "$tmp" && test -d "$tmp"
17535 tmp
=.
/conf$$
-$RANDOM
17536 (umask 077 && mkdir
"$tmp")
17539 $as_echo "$as_me: cannot create a temporary directory in ." >&2
17540 { (exit 1); exit 1; }
17543 # Set up the scripts for CONFIG_FILES section.
17544 # No need to generate them if there are no CONFIG_FILES.
17545 # This happens for instance with `./config.status config.h'.
17546 if test -n "$CONFIG_FILES"; then
17550 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17551 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17554 ac_cs_awk_cr
=$ac_cr
17557 echo 'BEGIN {' >"$tmp/subs1.awk" &&
17562 echo "cat >conf$$subs.awk <<_ACEOF" &&
17563 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17565 } >conf$$subs.sh ||
17566 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
17567 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
17568 { (exit 1); exit 1; }; }
17569 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
17571 for ac_last_try in false false false false false :; do
17572 . ./conf$$subs.sh ||
17573 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
17574 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
17575 { (exit 1); exit 1; }; }
17577 if test `sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X` = $ac_delim_num; then
17579 elif $ac_last_try; then
17580 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_STATUS" >&5
17581 $as_echo "$as_me: error
: could not
make $CONFIG_STATUS" >&2;}
17582 { (exit 1); exit 1; }; }
17584 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17587 rm -f conf$$subs.sh
17589 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17590 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
17594 s/^/S["/; s
/!.
*/"]=/
17604 s/\(.\{148\}\).*/\1/
17606 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17611 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17618 s/\(.\{148\}\).*/\1/
17620 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17624 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17629 ' <conf$$subs.awk | sed '
17634 ' >>$CONFIG_STATUS || ac_write_fail=1
17635 rm -f conf$$subs.awk
17636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17638 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
17639 for (key in S) S_is_set[key] = 1
17645 nfields = split(line, field, "@
")
17647 len = length(field[1])
17648 for (i = 2; i < nfields; i++) {
17650 keylen = length(key)
17651 if (S_is_set[key]) {
17653 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17654 len += length(value) + length(field[++i])
17665 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17666 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17667 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17670 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
17671 || { { $as_echo "$as_me:$LINENO: error
: could not setup config files machinery
" >&5
17672 $as_echo "$as_me: error
: could not setup config files machinery
" >&2;}
17673 { (exit 1); exit 1; }; }
17676 # VPATH may cause trouble with some makes, so we remove $(srcdir),
17677 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
17678 # trailing colons and then remove the whole line if VPATH becomes empty
17679 # (actually we leave an empty line to preserve line numbers).
17680 if test "x
$srcdir" = x.; then
17681 ac_vpsub='/^[ ]*VPATH[ ]*=/{
17682 s/:*\$(srcdir):*/:/
17683 s/:*\${srcdir}:*/:/
17685 s/^\([^=]*=[ ]*\):*/\1/
17691 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17692 fi # test -n "$CONFIG_FILES"
17694 # Set up the scripts for CONFIG_HEADERS section.
17695 # No need to generate them if there are no CONFIG_HEADERS.
17696 # This happens for instance with `./config.status Makefile'.
17697 if test -n "$CONFIG_HEADERS"; then
17698 cat >"$tmp/defines.
awk" <<\_ACAWK ||
17702 # Transform confdefs.h into an awk script `defines.awk', embedded as
17703 # here-document in config.status, that substitutes the proper values into
17704 # config.h.in to produce config.h.
17706 # Create a delimiter string that does not exist in confdefs.h, to ease
17707 # handling of long lines.
17709 for ac_last_try in false false :; do
17710 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
17711 if test -z "$ac_t"; then
17713 elif $ac_last_try; then
17714 { { $as_echo "$as_me:$LINENO: error
: could not
make $CONFIG_HEADERS" >&5
17715 $as_echo "$as_me: error
: could not
make $CONFIG_HEADERS" >&2;}
17716 { (exit 1); exit 1; }; }
17718 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17722 # For the awk script, D is an array of macro values keyed by name,
17723 # likewise P contains macro parameters if any. Preserve backslash
17724 # newline sequences.
17726 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17728 s/.\{148\}/&'"$ac_delim"'/g
17731 s/^[ ]*#[ ]*define[ ][ ]*/ /
17738 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17740 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17744 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17745 D["\
1"]=" \
3\\\\\\n
"\\/p
17747 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17752 s/.\{148\}/&'"$ac_delim"'/g
17757 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17760 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17762 ' <confdefs.h | sed '
17763 s/'"$ac_delim"'/"\\\
17764 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17766 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17767 for (key in D) D_is_set[key] = 1
17770 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17772 split(line, arg, " ")
17773 if (arg[1] == "#") {
17777 defundef
= substr
(arg
[1], 2)
17780 split(mac1
, mac2
, "(") #)
17782 if (D_is_set
[macro
]) {
17783 # Preserve the white space surrounding the "#".
17784 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17785 print prefix
"define", macro P
[macro
] D
[macro
]
17788 # Replace #undef with comments. This is necessary, for example,
17789 # in the case of _POSIX_SOURCE, which is predefined and required
17790 # on some systems where configure will not decide to define it.
17791 if (defundef
== "undef") {
17792 print
"/*", line
, "*/"
17800 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17801 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
17802 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
17803 { (exit 1); exit 1; }; }
17804 fi # test -n "$CONFIG_HEADERS"
17807 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
17812 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17814 case $ac_mode$ac_tag in
17816 :L
* |
:C
*:*) { { $as_echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
17817 $as_echo "$as_me: error: Invalid tag $ac_tag." >&2;}
17818 { (exit 1); exit 1; }; };;
17819 :[FH
]-) ac_tag
=-:-;;
17820 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17837 -) ac_f
="$tmp/stdin";;
17838 *) # Look for the file first in the build tree, then in the source tree
17839 # (if the path is not absolute). The absolute path cannot be DOS-style,
17840 # because $ac_f cannot contain `:'.
17844 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17846 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
17847 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
17848 { (exit 1); exit 1; }; };;
17850 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17851 ac_file_inputs
="$ac_file_inputs '$ac_f'"
17854 # Let's still pretend it is `configure' which instantiates (i.e., don't
17855 # use $as_me), people would be surprised to read:
17856 # /* config.h. Generated by config.status. */
17857 configure_input
='Generated from '`
17858 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17860 if test x
"$ac_file" != x-
; then
17861 configure_input
="$ac_file. $configure_input"
17862 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
17863 $as_echo "$as_me: creating $ac_file" >&6;}
17865 # Neutralize special characters interpreted by sed in replacement strings.
17866 case $configure_input in #(
17867 *\
&* |
*\|
* |
*\\* )
17868 ac_sed_conf_input
=`$as_echo "$configure_input" |
17869 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17870 *) ac_sed_conf_input
=$configure_input;;
17874 *:-:* |
*:-) cat >"$tmp/stdin" \
17875 ||
{ { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
17876 $as_echo "$as_me: error: could not create $ac_file" >&2;}
17877 { (exit 1); exit 1; }; } ;;
17882 ac_dir
=`$as_dirname -- "$ac_file" ||
17883 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17884 X"$ac_file" : 'X\(//\)[^/]' \| \
17885 X"$ac_file" : 'X\(//\)$' \| \
17886 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17887 $as_echo X"$ac_file" |
17888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17892 /^X\(\/\/\)[^/].*/{
17907 -*) as_dir
=.
/$as_dir;;
17909 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
17913 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17914 *) as_qdir
=$as_dir;;
17916 as_dirs
="'$as_qdir' $as_dirs"
17917 as_dir
=`$as_dirname -- "$as_dir" ||
17918 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17919 X"$as_dir" : 'X\(//\)[^/]' \| \
17920 X"$as_dir" : 'X\(//\)$' \| \
17921 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17922 $as_echo X"$as_dir" |
17923 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17927 /^X\(\/\/\)[^/].*/{
17940 test -d "$as_dir" && break
17942 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17943 } ||
test -d "$as_dir" ||
{ { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
17944 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
17945 { (exit 1); exit 1; }; }; }
17949 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17951 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17952 # A ".." for each directory in $ac_dir_suffix.
17953 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17954 case $ac_top_builddir_sub in
17955 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17956 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17959 ac_abs_top_builddir
=$ac_pwd
17960 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17961 # for backward compatibility:
17962 ac_top_builddir
=$ac_top_build_prefix
17965 .
) # We are building in place.
17967 ac_top_srcdir
=$ac_top_builddir_sub
17968 ac_abs_top_srcdir
=$ac_pwd ;;
17969 [\\/]* | ?
:[\\/]* ) # Absolute name.
17970 ac_srcdir
=$srcdir$ac_dir_suffix;
17971 ac_top_srcdir
=$srcdir
17972 ac_abs_top_srcdir
=$srcdir ;;
17973 *) # Relative name.
17974 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17975 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17976 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17978 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17990 # If the template does not know about datarootdir, expand it.
17991 # FIXME: This hack should be removed a few years after 2.60.
17992 ac_datarootdir_hack
=; ac_datarootdir_seen
=
18005 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18006 *datarootdir
*) ac_datarootdir_seen
=yes;;
18007 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
18008 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18009 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18011 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18012 ac_datarootdir_hack='
18013 s&@datadir@&$datadir&g
18014 s&@docdir@&$docdir&g
18015 s&@infodir@&$infodir&g
18016 s&@localedir@&$localedir&g
18017 s&@mandir@&$mandir&g
18018 s&\\\${datarootdir}&$datarootdir&g' ;;
18022 # Neutralize VPATH when `$srcdir' = `.'.
18023 # Shell code in configure.ac might set extrasub.
18024 # FIXME: do we really want to maintain this feature?
18025 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18026 ac_sed_extra="$ac_vpsub
18029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
18031 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
18032 s|@configure_input@|
$ac_sed_conf_input|
;t t
18033 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
18034 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
18035 s
&@srcdir@
&$ac_srcdir&;t t
18036 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
18037 s
&@top_srcdir@
&$ac_top_srcdir&;t t
18038 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
18039 s
&@builddir@
&$ac_builddir&;t t
18040 s
&@abs_builddir@
&$ac_abs_builddir&;t t
18041 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
18042 $ac_datarootdir_hack
18044 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
18045 || { { $as_echo "$as_me:$LINENO: error
: could not create
$ac_file" >&5
18046 $as_echo "$as_me: error
: could not create
$ac_file" >&2;}
18047 { (exit 1); exit 1; }; }
18049 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18050 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
18051 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
18052 { $as_echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
18053 which seems to be undefined. Please make sure it is defined." >&5
18054 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
18055 which seems to be undefined. Please make sure it is defined." >&2;}
18059 -) cat "$tmp/out" && rm -f "$tmp/out";;
18060 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
18062 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18063 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18064 { (exit 1); exit 1; }; }
18070 if test x"$ac_file" != x-; then
18072 $as_echo "/* $configure_input */" \
18073 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
18074 } >"$tmp/config.h" \
18075 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18076 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18077 { (exit 1); exit 1; }; }
18078 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
18079 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
18080 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18083 mv "$tmp/config.h" "$ac_file" \
18084 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
18085 $as_echo "$as_me: error: could not create $ac_file" >&2;}
18086 { (exit 1); exit 1; }; }
18089 $as_echo "/* $configure_input */" \
18090 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
18091 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
18092 $as_echo "$as_me: error: could not create -" >&2;}
18093 { (exit 1); exit 1; }; }
18103 { (exit 0); exit 0; }
18105 chmod +x $CONFIG_STATUS
18106 ac_clean_files=$ac_clean_files_save
18108 test $ac_write_fail = 0 ||
18109 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
18110 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
18111 { (exit 1); exit 1; }; }
18114 # configure is writing to config.log, and then calls config.status.
18115 # config.status does its own redirection, appending to config.log.
18116 # Unfortunately, on DOS this fails, as config.log is still kept open
18117 # by configure, so config.status won't be able to
write to it
; its
18118 # output is simply discarded. So we exec the FD to /dev/null,
18119 # effectively closing config.log, so it can be properly (re)opened and
18120 # appended to by config.status. When coming back to configure, we
18121 # need to make the FD available again.
18122 if test "$no_create" != yes; then
18124 ac_config_status_args
=
18125 test "$silent" = yes &&
18126 ac_config_status_args
="$ac_config_status_args --quiet"
18128 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18129 exec 5>>auto
/config.log
18130 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18131 # would make configure fail if this is the last instruction.
18132 $ac_cs_success ||
{ (exit 1); exit 1; }
18134 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18135 { $as_echo "$as_me:$LINENO: WARNING: Unrecognized options: $ac_unrecognized_opts" >&5
18136 $as_echo "$as_me: WARNING: Unrecognized options: $ac_unrecognized_opts" >&2;}