2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60a for Wine 0.9.27.
5 # Report bugs to <wine-devel@winehq.org>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs 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 *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
561 PACKAGE_TARNAME
='wine'
562 PACKAGE_VERSION
='0.9.27'
563 PACKAGE_STRING
='Wine 0.9.27'
564 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
566 ac_unique_file
="server/atom.c"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
570 #ifdef HAVE_SYS_TYPES_H
571 # include <sys/types.h>
573 #ifdef HAVE_SYS_STAT_H
574 # include <sys/stat.h>
580 # ifdef HAVE_STDLIB_H
585 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
590 #ifdef HAVE_STRINGS_H
591 # include <strings.h>
593 #ifdef HAVE_INTTYPES_H
594 # include <inttypes.h>
612 program_transform_name
761 ac_subst_files
='MAKE_RULES
766 ac_precious_vars
='build_alias
780 # Initialize some variables set by options.
782 ac_init_version
=false
783 # The variables have the same names as the options, with
784 # dashes changed to underlines.
792 program_transform_name
=s
,x
,x
,
800 # Installation directory options.
801 # These are left unexpanded so users can "make install exec_prefix=/foo"
802 # and all the variables that are supposed to be based on exec_prefix
803 # by default will actually change.
804 # Use braces instead of parens because sh, perl, etc. also accept them.
805 # (The list follows the same order as the GNU Coding Standards.)
806 bindir
='${exec_prefix}/bin'
807 sbindir
='${exec_prefix}/sbin'
808 libexecdir
='${exec_prefix}/libexec'
809 datarootdir
='${prefix}/share'
810 datadir
='${datarootdir}'
811 sysconfdir
='${prefix}/etc'
812 sharedstatedir
='${prefix}/com'
813 localstatedir
='${prefix}/var'
814 includedir
='${prefix}/include'
815 oldincludedir
='/usr/include'
816 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
817 infodir
='${datarootdir}/info'
822 libdir
='${exec_prefix}/lib'
823 localedir
='${datarootdir}/locale'
824 mandir
='${datarootdir}/man'
830 # If the previous option needs an argument, assign it.
831 if test -n "$ac_prev"; then
832 eval $ac_prev=\
$ac_option
838 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
842 # Accept the important Cygnus configure options, so we can diagnose typos.
844 case $ac_dashdash$ac_option in
848 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
850 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
853 -build |
--build |
--buil |
--bui |
--bu)
854 ac_prev
=build_alias
;;
855 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
856 build_alias
=$ac_optarg ;;
858 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
859 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
860 ac_prev
=cache_file
;;
861 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
862 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
863 cache_file
=$ac_optarg ;;
866 cache_file
=config.cache
;;
868 -datadir |
--datadir |
--datadi |
--datad)
870 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
871 datadir
=$ac_optarg ;;
873 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
874 |
--dataroo |
--dataro |
--datar)
875 ac_prev
=datarootdir
;;
876 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
877 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
878 datarootdir
=$ac_optarg ;;
880 -disable-* |
--disable-*)
881 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
882 # Reject names that are not valid shell variable names.
883 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
884 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
885 { (exit 1); exit 1; }; }
886 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
887 eval enable_
$ac_feature=no
;;
889 -docdir |
--docdir |
--docdi |
--doc |
--do)
891 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
894 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
896 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
899 -enable-* |
--enable-*)
900 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
901 # Reject names that are not valid shell variable names.
902 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
903 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
904 { (exit 1); exit 1; }; }
905 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
906 eval enable_
$ac_feature=\
$ac_optarg ;;
908 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
909 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
910 |
--exec |
--exe |
--ex)
911 ac_prev
=exec_prefix
;;
912 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
913 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
914 |
--exec=* |
--exe=* |
--ex=*)
915 exec_prefix
=$ac_optarg ;;
917 -gas |
--gas |
--ga |
--g)
918 # Obsolete; use --with-gas.
921 -help |
--help |
--hel |
--he |
-h)
923 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
924 ac_init_help
=recursive
;;
925 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
926 ac_init_help
=short
;;
928 -host |
--host |
--hos |
--ho)
929 ac_prev
=host_alias
;;
930 -host=* |
--host=* |
--hos=* |
--ho=*)
931 host_alias
=$ac_optarg ;;
933 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
935 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
937 htmldir
=$ac_optarg ;;
939 -includedir |
--includedir |
--includedi |
--included |
--include \
940 |
--includ |
--inclu |
--incl |
--inc)
941 ac_prev
=includedir
;;
942 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
943 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
944 includedir
=$ac_optarg ;;
946 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
948 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
949 infodir
=$ac_optarg ;;
951 -libdir |
--libdir |
--libdi |
--libd)
953 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
956 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
957 |
--libexe |
--libex |
--libe)
958 ac_prev
=libexecdir
;;
959 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
960 |
--libexe=* |
--libex=* |
--libe=*)
961 libexecdir
=$ac_optarg ;;
963 -localedir |
--localedir |
--localedi |
--localed |
--locale)
965 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
966 localedir
=$ac_optarg ;;
968 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
969 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
970 ac_prev
=localstatedir
;;
971 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
972 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
973 localstatedir
=$ac_optarg ;;
975 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
977 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
981 # Obsolete; use --without-fp.
984 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
985 |
--no-cr |
--no-c |
-n)
988 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
989 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
992 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
993 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
994 |
--oldin |
--oldi |
--old |
--ol |
--o)
995 ac_prev
=oldincludedir
;;
996 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
997 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
998 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
999 oldincludedir
=$ac_optarg ;;
1001 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1003 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1004 prefix
=$ac_optarg ;;
1006 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1007 |
--program-pre |
--program-pr |
--program-p)
1008 ac_prev
=program_prefix
;;
1009 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1010 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1011 program_prefix
=$ac_optarg ;;
1013 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1014 |
--program-suf |
--program-su |
--program-s)
1015 ac_prev
=program_suffix
;;
1016 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1017 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1018 program_suffix
=$ac_optarg ;;
1020 -program-transform-name |
--program-transform-name \
1021 |
--program-transform-nam |
--program-transform-na \
1022 |
--program-transform-n |
--program-transform- \
1023 |
--program-transform |
--program-transfor \
1024 |
--program-transfo |
--program-transf \
1025 |
--program-trans |
--program-tran \
1026 |
--progr-tra |
--program-tr |
--program-t)
1027 ac_prev
=program_transform_name
;;
1028 -program-transform-name=* |
--program-transform-name=* \
1029 |
--program-transform-nam=* |
--program-transform-na=* \
1030 |
--program-transform-n=* |
--program-transform-=* \
1031 |
--program-transform=* |
--program-transfor=* \
1032 |
--program-transfo=* |
--program-transf=* \
1033 |
--program-trans=* |
--program-tran=* \
1034 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1035 program_transform_name
=$ac_optarg ;;
1037 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1039 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1040 pdfdir
=$ac_optarg ;;
1042 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1044 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1048 |
-silent |
--silent |
--silen |
--sile |
--sil)
1051 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1053 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1055 sbindir
=$ac_optarg ;;
1057 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1058 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1059 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1061 ac_prev
=sharedstatedir
;;
1062 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1063 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1064 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1066 sharedstatedir
=$ac_optarg ;;
1068 -site |
--site |
--sit)
1070 -site=* |
--site=* |
--sit=*)
1073 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1075 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1076 srcdir
=$ac_optarg ;;
1078 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1079 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1080 ac_prev
=sysconfdir
;;
1081 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1082 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1083 sysconfdir
=$ac_optarg ;;
1085 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1086 ac_prev
=target_alias
;;
1087 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1088 target_alias
=$ac_optarg ;;
1090 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1093 -version |
--version |
--versio |
--versi |
--vers |
-V)
1094 ac_init_version
=: ;;
1097 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1098 # Reject names that are not valid shell variable names.
1099 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1100 { echo "$as_me: error: invalid package name: $ac_package" >&2
1101 { (exit 1); exit 1; }; }
1102 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1103 eval with_
$ac_package=\
$ac_optarg ;;
1105 -without-* |
--without-*)
1106 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1109 { echo "$as_me: error: invalid package name: $ac_package" >&2
1110 { (exit 1); exit 1; }; }
1111 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1112 eval with_
$ac_package=no
;;
1115 # Obsolete; use --with-x.
1118 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1119 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1120 ac_prev
=x_includes
;;
1121 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1122 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1123 x_includes
=$ac_optarg ;;
1125 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1126 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1127 ac_prev
=x_libraries
;;
1128 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1129 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1130 x_libraries
=$ac_optarg ;;
1132 -*) { echo "$as_me: error: unrecognized option: $ac_option
1133 Try \`$0 --help' for more information." >&2
1134 { (exit 1); exit 1; }; }
1138 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1139 # Reject names that are not valid shell variable names.
1140 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1141 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1142 { (exit 1); exit 1; }; }
1143 eval $ac_envvar=\
$ac_optarg
1144 export $ac_envvar ;;
1147 # FIXME: should be removed in autoconf 3.0.
1148 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1149 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1150 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1151 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1157 if test -n "$ac_prev"; then
1158 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1159 { echo "$as_me: error: missing argument to $ac_option" >&2
1160 { (exit 1); exit 1; }; }
1163 # Be sure to have absolute directory names.
1164 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1165 datadir sysconfdir sharedstatedir localstatedir includedir \
1166 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1167 libdir localedir mandir
1169 eval ac_val
=\$
$ac_var
1171 [\\/$
]* | ?
:[\\/]* ) continue;;
1172 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1174 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1175 { (exit 1); exit 1; }; }
1178 # There might be people who depend on the old broken behavior: `$host'
1179 # used to hold the argument of --host etc.
1180 # FIXME: To remove some day.
1183 target
=$target_alias
1185 # FIXME: To remove some day.
1186 if test "x$host_alias" != x
; then
1187 if test "x$build_alias" = x
; then
1188 cross_compiling
=maybe
1189 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1190 If a cross compiler is detected then cross compile mode will be used." >&2
1191 elif test "x$build_alias" != "x$host_alias"; then
1197 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1199 test "$silent" = yes && exec 6>/dev
/null
1202 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1203 ac_ls_di
=`ls -di .` &&
1204 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1205 { echo "$as_me: error: Working directory cannot be determined" >&2
1206 { (exit 1); exit 1; }; }
1207 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1208 { echo "$as_me: error: pwd does not report name of working directory" >&2
1209 { (exit 1); exit 1; }; }
1212 # Find the source files, if location was not specified.
1213 if test -z "$srcdir"; then
1214 ac_srcdir_defaulted
=yes
1215 # Try the directory containing this script, then the parent directory.
1216 ac_confdir
=`$as_dirname -- "$0" ||
1217 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1218 X"$0" : 'X\(//\)[^/]' \| \
1219 X"$0" : 'X\(//\)$' \| \
1220 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1244 ac_srcdir_defaulted
=no
1246 if test ! -r "$srcdir/$ac_unique_file"; then
1247 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1248 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1249 { (exit 1); exit 1; }; }
1251 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1254 { (exit 1); exit 1; }; }
1256 # When building in place, set srcdir=.
1257 if test "$ac_abs_confdir" = "$ac_pwd"; then
1260 # Remove unnecessary trailing slashes from srcdir.
1261 # Double slashes in file names in object file debugging info
1262 # mess up M-x gdb in Emacs.
1264 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1266 for ac_var
in $ac_precious_vars; do
1267 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1268 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1269 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1270 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1274 # Report the --help message.
1276 if test "$ac_init_help" = "long"; then
1277 # Omit some internal or obsolete options to make the list less imposing.
1278 # This message is too long to be a string in the A/UX 3.1 sh.
1280 \`configure' configures Wine 0.9.27 to adapt to many kinds of systems.
1282 Usage: $0 [OPTION]... [VAR=VALUE]...
1284 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1285 VAR=VALUE. See below for descriptions of some of the useful variables.
1287 Defaults for the options are specified in brackets.
1290 -h, --help display this help and exit
1291 --help=short display options specific to this package
1292 --help=recursive display the short help of all the included packages
1293 -V, --version display version information and exit
1294 -q, --quiet, --silent do not print \`checking...' messages
1295 --cache-file=FILE cache test results in FILE [disabled]
1296 -C, --config-cache alias for \`--cache-file=config.cache'
1297 -n, --no-create do not create output files
1298 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1300 Installation directories:
1301 --prefix=PREFIX install architecture-independent files in PREFIX
1302 [$ac_default_prefix]
1303 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1306 By default, \`make install' will install all the files in
1307 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1308 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1309 for instance \`--prefix=\$HOME'.
1311 For better control, use the options below.
1313 Fine tuning of the installation directories:
1314 --bindir=DIR user executables [EPREFIX/bin]
1315 --sbindir=DIR system admin executables [EPREFIX/sbin]
1316 --libexecdir=DIR program executables [EPREFIX/libexec]
1317 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1318 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1319 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1320 --libdir=DIR object code libraries [EPREFIX/lib]
1321 --includedir=DIR C header files [PREFIX/include]
1322 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1323 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1324 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1325 --infodir=DIR info documentation [DATAROOTDIR/info]
1326 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1327 --mandir=DIR man documentation [DATAROOTDIR/man]
1328 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1329 --htmldir=DIR html documentation [DOCDIR]
1330 --dvidir=DIR dvi documentation [DOCDIR]
1331 --pdfdir=DIR pdf documentation [DOCDIR]
1332 --psdir=DIR ps documentation [DOCDIR]
1338 --x-includes=DIR X include files are
in DIR
1339 --x-libraries=DIR X library files are
in DIR
1342 --build=BUILD configure
for building on BUILD
[guessed
]
1343 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive
) echo "Configuration of Wine 0.9.27:";;
1354 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1355 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1356 --disable-win16 do not include Win16 support
1357 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1361 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1362 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1363 --without-opengl do not use OpenGL
1364 --with-wine-tools=<dir> use Wine tools from directory <dir>
1365 --with-x use the X Window System
1367 Some influential environment variables:
1368 CC C compiler command
1369 CFLAGS C compiler flags
1370 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1371 nonstandard directory <lib dir>
1372 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1373 you have headers in a nonstandard directory <include dir>
1374 CXX C++ compiler command
1375 CXXFLAGS C++ compiler flags
1376 XMKMF Path to xmkmf, Makefile generator for X Window System
1379 Use these variables to override the choices made by `configure' or to
help
1380 it to
find libraries and programs with nonstandard names
/locations.
1382 Report bugs to
<wine-devel@winehq.org
>.
1387 if test "$ac_init_help" = "recursive"; then
1388 # If there are subdirs, report their specific --help.
1389 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1390 test -d "$ac_dir" ||
continue
1394 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1396 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1397 # A ".." for each directory in $ac_dir_suffix.
1398 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1399 case $ac_top_builddir_sub in
1400 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1401 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1404 ac_abs_top_builddir
=$ac_pwd
1405 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1406 # for backward compatibility:
1407 ac_top_builddir
=$ac_top_build_prefix
1410 .
) # We are building in place.
1412 ac_top_srcdir
=$ac_top_builddir_sub
1413 ac_abs_top_srcdir
=$ac_pwd ;;
1414 [\\/]* | ?
:[\\/]* ) # Absolute name.
1415 ac_srcdir
=$srcdir$ac_dir_suffix;
1416 ac_top_srcdir
=$srcdir
1417 ac_abs_top_srcdir
=$srcdir ;;
1419 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1420 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1421 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1423 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1425 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1426 # Check for guested configure.
1427 if test -f "$ac_srcdir/configure.gnu"; then
1429 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1430 elif test -f "$ac_srcdir/configure"; then
1432 $SHELL "$ac_srcdir/configure" --help=recursive
1434 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1436 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1440 test -n "$ac_init_help" && exit $ac_status
1441 if $ac_init_version; then
1443 Wine configure
0.9.27
1444 generated by GNU Autoconf
2.60a
1446 Copyright
(C
) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1447 2002, 2003, 2004, 2005, 2006 Free Software Foundation
, Inc.
1448 This configure
script is free software
; the Free Software Foundation
1449 gives unlimited permission to copy
, distribute and modify it.
1453 cat >config.log
<<_ACEOF
1454 This file contains any messages produced by compilers while
1455 running configure, to aid debugging if configure makes a mistake.
1457 It was created by Wine $as_me 0.9.27, which was
1458 generated by GNU Autoconf 2.60a. Invocation command line was
1470 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1471 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1472 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1473 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1474 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1476 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1477 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1479 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1480 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1481 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1482 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1483 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1484 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1485 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1493 test -z "$as_dir" && as_dir
=.
1494 echo "PATH: $as_dir"
1510 # Keep a trace of the command line.
1511 # Strip out --no-create and --no-recursion so they do not pile up.
1512 # Strip out --silent because we don't want to record it for future runs.
1513 # Also quote any args containing shell meta-characters.
1514 # Make two passes to allow for proper duplicate-argument suppression.
1518 ac_must_keep_next
=false
1524 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1525 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1526 |
-silent |
--silent |
--silen |
--sile |
--sil)
1529 ac_arg
=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1532 1) ac_configure_args0
="$ac_configure_args0 '$ac_arg'" ;;
1534 ac_configure_args1
="$ac_configure_args1 '$ac_arg'"
1535 if test $ac_must_keep_next = true
; then
1536 ac_must_keep_next
=false
# Got value, back to normal.
1539 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1540 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1541 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1542 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1543 case "$ac_configure_args0 " in
1544 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1547 -* ) ac_must_keep_next
=true
;;
1550 ac_configure_args
="$ac_configure_args '$ac_arg'"
1555 $as_unset ac_configure_args0 ||
test "${ac_configure_args0+set}" != set ||
{ ac_configure_args0
=; export ac_configure_args0
; }
1556 $as_unset ac_configure_args1 ||
test "${ac_configure_args1+set}" != set ||
{ ac_configure_args1
=; export ac_configure_args1
; }
1558 # When interrupted or exit'd, cleanup temporary files, and complete
1559 # config.log. We remove comments because anyway the quotes in there
1560 # would cause problems or look ugly.
1561 # WARNING: Use '\'' to represent an apostrophe within the trap.
1562 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1563 trap 'exit_status=$?
1564 # Save into config.log some information that might help in debugging.
1569 ## ---------------- ##
1570 ## Cache variables. ##
1571 ## ---------------- ##
1574 # The following way of writing the cache mishandles newlines in values,
1576 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1577 eval ac_val=\$$ac_var
1581 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1582 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1585 _ | IFS | as_nl) ;; #(
1586 *) $as_unset $ac_var ;;
1591 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1592 *${as_nl}ac_space=\ *)
1594 "s/'\''/'\''\\\\'\'''\''/g;
1595 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1606 ## ----------------- ##
1607 ## Output variables. ##
1608 ## ----------------- ##
1611 for ac_var in $ac_subst_vars
1613 eval ac_val=\$$ac_var
1615 *\'\''*) ac_val
=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1617 echo "$ac_var='\''$ac_val'\''"
1621 if test -n "$ac_subst_files"; then
1623 ## ------------------- ##
1624 ## File substitutions. ##
1625 ## ------------------- ##
1628 for ac_var
in $ac_subst_files
1630 eval ac_val
=\$
$ac_var
1632 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1634 echo "$ac_var='\''$ac_val'\''"
1639 if test -s confdefs.h; then
1649 test "$ac_signal" != 0 &&
1650 echo "$as_me: caught signal $ac_signal"
1651 echo "$as_me: exit $exit_status"
1653 rm -f core *.core core.conftest.* &&
1654 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1657 for ac_signal
in 1 2 13 15; do
1658 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1662 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1663 rm -f -r conftest
* confdefs.h
1665 # Predefined preprocessor variables.
1667 cat >>confdefs.h
<<_ACEOF
1668 #define PACKAGE_NAME "$PACKAGE_NAME"
1672 cat >>confdefs.h
<<_ACEOF
1673 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1677 cat >>confdefs.h
<<_ACEOF
1678 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1682 cat >>confdefs.h
<<_ACEOF
1683 #define PACKAGE_STRING "$PACKAGE_STRING"
1687 cat >>confdefs.h
<<_ACEOF
1688 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1692 # Let the site file select an alternate cache file if it wants to.
1693 # Prefer explicitly selected file to automatically selected ones.
1694 if test -n "$CONFIG_SITE"; then
1695 set x
"$CONFIG_SITE"
1696 elif test "x$prefix" != xNONE
; then
1697 set x
"$prefix/share/config.site" "$prefix/etc/config.site"
1699 set x
"$ac_default_prefix/share/config.site" \
1700 "$ac_default_prefix/etc/config.site"
1705 if test -r "$ac_site_file"; then
1706 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1707 echo "$as_me: loading site script $ac_site_file" >&6;}
1708 sed 's/^/| /' "$ac_site_file" >&5
1713 if test -r "$cache_file"; then
1714 # Some versions of bash will fail to source /dev/null (special
1715 # files actually), so we avoid doing that.
1716 if test -f "$cache_file"; then
1717 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1718 echo "$as_me: loading cache $cache_file" >&6;}
1720 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1721 *) .
"./$cache_file";;
1725 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1726 echo "$as_me: creating cache $cache_file" >&6;}
1730 # Check that the precious variables saved in the cache have kept the same
1732 ac_cache_corrupted
=false
1733 for ac_var
in $ac_precious_vars; do
1734 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1735 eval ac_new_set
=\
$ac_env_${ac_var}_set
1736 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1737 eval ac_new_val
=\
$ac_env_${ac_var}_value
1738 case $ac_old_set,$ac_new_set in
1740 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1741 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1742 ac_cache_corrupted
=: ;;
1744 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1745 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1746 ac_cache_corrupted
=: ;;
1749 if test "x$ac_old_val" != "x$ac_new_val"; then
1750 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1751 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1752 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1753 echo "$as_me: former value: $ac_old_val" >&2;}
1754 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1755 echo "$as_me: current value: $ac_new_val" >&2;}
1756 ac_cache_corrupted
=:
1759 # Pass precious variables to config.status.
1760 if test "$ac_new_set" = set; then
1762 *\'*) ac_arg
=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1763 *) ac_arg
=$ac_var=$ac_new_val ;;
1765 case " $ac_configure_args " in
1766 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1767 *) ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
1771 if $ac_cache_corrupted; then
1772 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1773 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1774 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1775 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1776 { (exit 1); exit 1; }; }
1804 ac_cpp
='$CPP $CPPFLAGS'
1805 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1806 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1807 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
1811 ac_config_headers
="$ac_config_headers include/config.h"
1814 for ac_dir
in tools
"$srcdir"/tools
; do
1815 if test -f "$ac_dir/install-sh"; then
1817 ac_install_sh
="$ac_aux_dir/install-sh -c"
1819 elif test -f "$ac_dir/install.sh"; then
1821 ac_install_sh
="$ac_aux_dir/install.sh -c"
1823 elif test -f "$ac_dir/shtool"; then
1825 ac_install_sh
="$ac_aux_dir/shtool install -c"
1829 if test -z "$ac_aux_dir"; then
1830 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&5
1831 echo "$as_me: error: cannot find install-sh or install.sh in tools \"$srcdir\"/tools" >&2;}
1832 { (exit 1); exit 1; }; }
1835 # These three variables are undocumented and unsupported,
1836 # and are intended to be withdrawn in a future Autoconf release.
1837 # They can cause serious problems if a builder's source tree is in a directory
1838 # whose full name contains unusual characters.
1839 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1840 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1841 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1846 # Check whether --enable-win16 was given.
1847 if test "${enable_win16+set}" = set; then
1848 enableval
=$enable_win16;
1851 # Check whether --enable-win64 was given.
1852 if test "${enable_win64+set}" = set; then
1853 enableval
=$enable_win64;
1858 # Check whether --with-opengl was given.
1859 if test "${with_opengl+set}" = set; then
1860 withval
=$with_opengl;
1864 # Check whether --with-wine-tools was given.
1865 if test "${with_wine_tools+set}" = set; then
1866 withval
=$with_wine_tools;
1870 # Make sure we can run config.sub.
1871 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
1872 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1873 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1874 { (exit 1); exit 1; }; }
1876 { echo "$as_me:$LINENO: checking build system type" >&5
1877 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1878 if test "${ac_cv_build+set}" = set; then
1879 echo $ECHO_N "(cached) $ECHO_C" >&6
1881 ac_build_alias
=$build_alias
1882 test "x$ac_build_alias" = x
&&
1883 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
1884 test "x$ac_build_alias" = x
&&
1885 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1886 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1887 { (exit 1); exit 1; }; }
1888 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1889 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1890 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1891 { (exit 1); exit 1; }; }
1894 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1895 echo "${ECHO_T}$ac_cv_build" >&6; }
1896 case $ac_cv_build in
1898 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1899 echo "$as_me: error: invalid value of canonical build" >&2;}
1900 { (exit 1); exit 1; }; };;
1903 ac_save_IFS
=$IFS; IFS
='-'
1909 # Remember, the first character of IFS is used to create $*,
1910 # except with old shells:
1913 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
1916 { echo "$as_me:$LINENO: checking host system type" >&5
1917 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1918 if test "${ac_cv_host+set}" = set; then
1919 echo $ECHO_N "(cached) $ECHO_C" >&6
1921 if test "x$host_alias" = x
; then
1922 ac_cv_host
=$ac_cv_build
1924 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1925 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1926 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1927 { (exit 1); exit 1; }; }
1931 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1932 echo "${ECHO_T}$ac_cv_host" >&6; }
1935 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1936 echo "$as_me: error: invalid value of canonical host" >&2;}
1937 { (exit 1); exit 1; }; };;
1940 ac_save_IFS
=$IFS; IFS
='-'
1946 # Remember, the first character of IFS is used to create $*,
1947 # except with old shells:
1950 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
1955 if test "x$enable_win64" != "xyes"
1957 test -n "$CC" || CC
="gcc -m32"
1958 test -n "$LD" || LD
="ld -m elf_i386"
1959 test -n "$AS" || AS
="as --32"
1967 if test "x$enable_win16" != "xno"
1974 WIN16_FILES
="\$(WIN16_FILES)"
1976 WIN16_INSTALL
="\$(WIN16_INSTALL)"
1978 if test "x$enable_win16" != "xyes"
1985 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1986 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
1987 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
1988 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
1989 echo $ECHO_N "(cached) $ECHO_C" >&6
1991 cat >conftest.
make <<\_ACEOF
1994 @
echo '@@@%%%=$(MAKE)=@@@%%%'
1996 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1997 case `${MAKE-make} -f conftest.make 2>/dev/null` in
1999 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2001 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2005 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2006 { echo "$as_me:$LINENO: result: yes" >&5
2007 echo "${ECHO_T}yes" >&6; }
2010 { echo "$as_me:$LINENO: result: no" >&5
2011 echo "${ECHO_T}no" >&6; }
2012 SET_MAKE
="MAKE=${MAKE-make}"
2016 ac_cpp
='$CPP $CPPFLAGS'
2017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2020 if test -n "$ac_tool_prefix"; then
2021 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2022 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2023 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2025 if test "${ac_cv_prog_CC+set}" = set; then
2026 echo $ECHO_N "(cached) $ECHO_C" >&6
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC
="$CC" # Let the user override the test.
2031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2035 test -z "$as_dir" && as_dir
=.
2036 for ac_exec_ext
in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2049 if test -n "$CC"; then
2050 { echo "$as_me:$LINENO: result: $CC" >&5
2051 echo "${ECHO_T}$CC" >&6; }
2053 { echo "$as_me:$LINENO: result: no" >&5
2054 echo "${ECHO_T}no" >&6; }
2059 if test -z "$ac_cv_prog_CC"; then
2061 # Extract the first word of "gcc", so it can be a program name with args.
2062 set dummy gcc
; ac_word
=$2
2063 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2068 if test -n "$ac_ct_CC"; then
2069 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2075 test -z "$as_dir" && as_dir
=.
2076 for ac_exec_ext
in '' $ac_executable_extensions; do
2077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2078 ac_cv_prog_ac_ct_CC
="gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2089 if test -n "$ac_ct_CC"; then
2090 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2091 echo "${ECHO_T}$ac_ct_CC" >&6; }
2093 { echo "$as_me:$LINENO: result: no" >&5
2094 echo "${ECHO_T}no" >&6; }
2097 if test "x$ac_ct_CC" = x
; then
2100 case $cross_compiling:$ac_tool_warned in
2102 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2103 whose name does not start with the host triplet. If you think this
2104 configuration is useful to you, please write to autoconf@gnu.org." >&5
2105 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2106 whose name does not start with the host triplet. If you think this
2107 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2108 ac_tool_warned
=yes ;;
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC
="$CC" # Let the user override the test.
2128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2132 test -z "$as_dir" && as_dir
=.
2133 for ac_exec_ext
in '' $ac_executable_extensions; do
2134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2135 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2146 if test -n "$CC"; then
2147 { echo "$as_me:$LINENO: result: $CC" >&5
2148 echo "${ECHO_T}$CC" >&6; }
2150 { echo "$as_me:$LINENO: result: no" >&5
2151 echo "${ECHO_T}no" >&6; }
2157 if test -z "$CC"; then
2158 # Extract the first word of "cc", so it can be a program name with args.
2159 set dummy cc
; ac_word
=$2
2160 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2161 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2162 if test "${ac_cv_prog_CC+set}" = set; then
2163 echo $ECHO_N "(cached) $ECHO_C" >&6
2165 if test -n "$CC"; then
2166 ac_cv_prog_CC
="$CC" # Let the user override the test.
2169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir
=.
2174 for ac_exec_ext
in '' $ac_executable_extensions; do
2175 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2176 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2177 ac_prog_rejected
=yes
2181 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2188 if test $ac_prog_rejected = yes; then
2189 # We found a bogon in the path, so make sure we never use it.
2190 set dummy
$ac_cv_prog_CC
2192 if test $# != 0; then
2193 # We chose a different compiler from the bogus one.
2194 # However, it has the same basename, so the bogon will be chosen
2195 # first if we set CC to just the basename; use the full file name.
2197 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2203 if test -n "$CC"; then
2204 { echo "$as_me:$LINENO: result: $CC" >&5
2205 echo "${ECHO_T}$CC" >&6; }
2207 { echo "$as_me:$LINENO: result: no" >&5
2208 echo "${ECHO_T}no" >&6; }
2213 if test -z "$CC"; then
2214 if test -n "$ac_tool_prefix"; then
2215 for ac_prog
in cl.exe
2217 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2218 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2221 if test "${ac_cv_prog_CC+set}" = set; then
2222 echo $ECHO_N "(cached) $ECHO_C" >&6
2224 if test -n "$CC"; then
2225 ac_cv_prog_CC
="$CC" # Let the user override the test.
2227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2231 test -z "$as_dir" && as_dir
=.
2232 for ac_exec_ext
in '' $ac_executable_extensions; do
2233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2234 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2245 if test -n "$CC"; then
2246 { echo "$as_me:$LINENO: result: $CC" >&5
2247 echo "${ECHO_T}$CC" >&6; }
2249 { echo "$as_me:$LINENO: result: no" >&5
2250 echo "${ECHO_T}no" >&6; }
2254 test -n "$CC" && break
2257 if test -z "$CC"; then
2259 for ac_prog
in cl.exe
2261 # Extract the first word of "$ac_prog", so it can be a program name with args.
2262 set dummy
$ac_prog; ac_word
=$2
2263 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2264 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2265 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2266 echo $ECHO_N "(cached) $ECHO_C" >&6
2268 if test -n "$ac_ct_CC"; then
2269 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_exec_ext
in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_ac_ct_CC
="$ac_prog"
2279 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2289 if test -n "$ac_ct_CC"; then
2290 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2291 echo "${ECHO_T}$ac_ct_CC" >&6; }
2293 { echo "$as_me:$LINENO: result: no" >&5
2294 echo "${ECHO_T}no" >&6; }
2298 test -n "$ac_ct_CC" && break
2301 if test "x$ac_ct_CC" = x
; then
2304 case $cross_compiling:$ac_tool_warned in
2306 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2307 whose name does not start with the host triplet. If you think this
2308 configuration is useful to you, please write to autoconf@gnu.org." >&5
2309 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2310 whose name does not start with the host triplet. If you think this
2311 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2312 ac_tool_warned
=yes ;;
2321 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2322 See \`config.log' for more details." >&5
2323 echo "$as_me: error: no acceptable C compiler found in \$PATH
2324 See \`config.log' for more details." >&2;}
2325 { (exit 1); exit 1; }; }
2327 # Provide some information about the compiler.
2328 echo "$as_me:$LINENO: checking for C compiler version" >&5
2329 ac_compiler
=`set X $ac_compile; echo $2`
2330 { (ac_try
="$ac_compiler --version >&5"
2332 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2333 *) ac_try_echo=$ac_try;;
2335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2336 (eval "$ac_compiler --version >&5") 2>&5
2338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2339 (exit $ac_status); }
2340 { (ac_try="$ac_compiler -v >&5"
2342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2343 *) ac_try_echo
=$ac_try;;
2345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2346 (eval "$ac_compiler -v >&5") 2>&5
2348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2349 (exit $ac_status); }
2350 { (ac_try
="$ac_compiler -V >&5"
2352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2353 *) ac_try_echo=$ac_try;;
2355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2356 (eval "$ac_compiler -V >&5") 2>&5
2358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2359 (exit $ac_status); }
2361 cat >conftest.$ac_ext <<_ACEOF
2364 cat confdefs.h >>conftest.$ac_ext
2365 cat >>conftest.$ac_ext <<_ACEOF
2366 /* end confdefs.h. */
2376 ac_clean_files_save=$ac_clean_files
2377 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2378 # Try to create an executable without -o first, disregard a.out.
2379 # It will help us diagnose broken compilers, and finding out an intuition
2381 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2382 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2383 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2385 # List of possible output files, starting from the most likely.
2386 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2387 # only as a last resort. b.out is created by i960 compilers.
2388 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2390 # The IRIX 6 linker writes into existing files which may not be
2391 # executable, retaining their permissions. Remove them first so a
2392 # subsequent execution test works.
2394 for ac_file in $ac_files
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2398 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2403 if { (ac_try="$ac_link_default"
2405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2406 *) ac_try_echo=$ac_try;;
2408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2409 (eval "$ac_link_default") 2>&5
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; then
2413 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2414 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2415 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2416 # so that the user can short-circuit this test for compilers unknown to
2418 for ac_file
in $ac_files ''
2420 test -f "$ac_file" ||
continue
2422 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2425 # We found the default executable, but exeext='' is most
2429 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2431 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2433 # We set ac_cv_exeext here because the later test for it is not
2434 # safe: cross compilers may not add the suffix if given an `-o'
2435 # argument, so we may need to know it at that point already.
2436 # Even if this section looks crufty: it has the advantage of
2443 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2449 { echo "$as_me:$LINENO: result: $ac_file" >&5
2450 echo "${ECHO_T}$ac_file" >&6; }
2451 if test -z "$ac_file"; then
2452 echo "$as_me: failed program was:" >&5
2453 sed 's/^/| /' conftest.
$ac_ext >&5
2455 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2456 See \`config.log' for more details." >&5
2457 echo "$as_me: error: C compiler cannot create executables
2458 See \`config.log' for more details." >&2;}
2459 { (exit 77); exit 77; }; }
2462 ac_exeext
=$ac_cv_exeext
2464 # Check that the compiler produces executables we can run. If not, either
2465 # the compiler is broken, or we cross compile.
2466 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2467 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2468 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2469 # If not cross compiling, check that we can run a simple program.
2470 if test "$cross_compiling" != yes; then
2471 if { ac_try
='./$ac_file'
2472 { (case "(($ac_try" in
2473 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2474 *) ac_try_echo=$ac_try;;
2476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2477 (eval "$ac_try") 2>&5
2479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2480 (exit $ac_status); }; }; then
2483 if test "$cross_compiling" = maybe; then
2486 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2487 If you meant to cross compile, use \`--host'.
2488 See \`config.log' for more details.
" >&5
2489 echo "$as_me: error
: cannot run C compiled programs.
2490 If you meant to cross compile
, use \
`--host'.
2491 See \`config.log
' for more details." >&2;}
2492 { (exit 1); exit 1; }; }
2496 { echo "$as_me:$LINENO: result: yes" >&5
2497 echo "${ECHO_T}yes" >&6; }
2499 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2500 ac_clean_files=$ac_clean_files_save
2501 # Check that the compiler produces executables we can run. If not, either
2502 # the compiler is broken, or we cross compile.
2503 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2504 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2505 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2506 echo "${ECHO_T}$cross_compiling" >&6; }
2508 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2509 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2510 if { (ac_try="$ac_link"
2512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2513 *) ac_try_echo=$ac_try;;
2515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2516 (eval "$ac_link") 2>&5
2518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2519 (exit $ac_status); }; then
2520 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2521 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2522 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2524 for ac_file
in conftest.exe conftest conftest.
*; do
2525 test -f "$ac_file" ||
continue
2527 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2528 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2534 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2535 See \`config.log' for more details." >&5
2536 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2537 See \`config.log' for more details." >&2;}
2538 { (exit 1); exit 1; }; }
2541 rm -f conftest
$ac_cv_exeext
2542 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2543 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2545 rm -f conftest.
$ac_ext
2546 EXEEXT
=$ac_cv_exeext
2548 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2549 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2550 if test "${ac_cv_objext+set}" = set; then
2551 echo $ECHO_N "(cached) $ECHO_C" >&6
2553 cat >conftest.
$ac_ext <<_ACEOF
2556 cat confdefs.h
>>conftest.
$ac_ext
2557 cat >>conftest.
$ac_ext <<_ACEOF
2558 /* end confdefs.h. */
2568 rm -f conftest.o conftest.obj
2569 if { (ac_try
="$ac_compile"
2571 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2572 *) ac_try_echo=$ac_try;;
2574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2575 (eval "$ac_compile") 2>&5
2577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2578 (exit $ac_status); }; then
2579 for ac_file in conftest.o conftest.obj conftest.*; do
2580 test -f "$ac_file" || continue;
2582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2583 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.$ac_ext >&5
2591 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log
' for more details." >&5
2593 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2594 See \`config.log' for more details.
" >&2;}
2595 { (exit 1); exit 1; }; }
2598 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2600 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2601 echo "${ECHO_T}$ac_cv_objext" >&6; }
2602 OBJEXT=$ac_cv_objext
2604 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler
" >&5
2605 echo $ECHO_N "checking whether we are using the GNU C compiler...
$ECHO_C" >&6; }
2606 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2607 echo $ECHO_N "(cached
) $ECHO_C" >&6
2609 cat >conftest.$ac_ext <<_ACEOF
2612 cat confdefs.h >>conftest.$ac_ext
2613 cat >>conftest.$ac_ext <<_ACEOF
2614 /* end confdefs.h. */
2627 rm -f conftest.$ac_objext
2628 if { (ac_try="$ac_compile"
2630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2631 *) ac_try_echo=$ac_try;;
2633 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2634 (eval "$ac_compile") 2>conftest.er1
2636 grep -v '^ *+' conftest.er1 >conftest.err
2638 cat conftest.err >&5
2639 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2640 (exit $ac_status); } &&
2641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2642 { (case "(($ac_try" in
2643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2644 *) ac_try_echo=$ac_try;;
2646 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2647 (eval "$ac_try") 2>&5
2649 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2650 (exit $ac_status); }; } &&
2651 { ac_try='test -s conftest.$ac_objext'
2652 { (case "(($ac_try" in
2653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2654 *) ac_try_echo=$ac_try;;
2656 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2657 (eval "$ac_try") 2>&5
2659 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2660 (exit $ac_status); }; }; then
2663 echo "$as_me: failed program was
:" >&5
2664 sed 's/^/| /' conftest.$ac_ext >&5
2669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2670 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2673 { echo "$as_me:$LINENO: result
: $ac_cv_c_compiler_gnu" >&5
2674 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2675 GCC=`test $ac_compiler_gnu = yes && echo yes`
2676 ac_test_CFLAGS=${CFLAGS+set}
2677 ac_save_CFLAGS=$CFLAGS
2678 { echo "$as_me:$LINENO: checking whether
$CC accepts
-g" >&5
2679 echo $ECHO_N "checking whether
$CC accepts
-g...
$ECHO_C" >&6; }
2680 if test "${ac_cv_prog_cc_g+set}" = set; then
2681 echo $ECHO_N "(cached
) $ECHO_C" >&6
2683 ac_save_c_werror_flag=$ac_c_werror_flag
2684 ac_c_werror_flag=yes
2687 cat >conftest.$ac_ext <<_ACEOF
2690 cat confdefs.h >>conftest.$ac_ext
2691 cat >>conftest.$ac_ext <<_ACEOF
2692 /* end confdefs.h. */
2702 rm -f conftest.$ac_objext
2703 if { (ac_try="$ac_compile"
2705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2706 *) ac_try_echo=$ac_try;;
2708 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2709 (eval "$ac_compile") 2>conftest.er1
2711 grep -v '^ *+' conftest.er1 >conftest.err
2713 cat conftest.err >&5
2714 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2715 (exit $ac_status); } &&
2716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2717 { (case "(($ac_try" in
2718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2719 *) ac_try_echo=$ac_try;;
2721 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2722 (eval "$ac_try") 2>&5
2724 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2725 (exit $ac_status); }; } &&
2726 { ac_try='test -s conftest.$ac_objext'
2727 { (case "(($ac_try" in
2728 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2729 *) ac_try_echo=$ac_try;;
2731 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2732 (eval "$ac_try") 2>&5
2734 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2735 (exit $ac_status); }; }; then
2738 echo "$as_me: failed program was
:" >&5
2739 sed 's/^/| /' conftest.$ac_ext >&5
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 "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2764 (eval "$ac_compile") 2>conftest.er1
2766 grep -v '^ *+' conftest.er1 >conftest.err
2768 cat conftest.err >&5
2769 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2770 (exit $ac_status); } &&
2771 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2772 { (case "(($ac_try" in
2773 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2774 *) ac_try_echo=$ac_try;;
2776 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2777 (eval "$ac_try") 2>&5
2779 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2780 (exit $ac_status); }; } &&
2781 { ac_try='test -s conftest.$ac_objext'
2782 { (case "(($ac_try" in
2783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2784 *) ac_try_echo=$ac_try;;
2786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2787 (eval "$ac_try") 2>&5
2789 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2790 (exit $ac_status); }; }; then
2793 echo "$as_me: failed program was
:" >&5
2794 sed 's/^/| /' conftest.$ac_ext >&5
2796 ac_c_werror_flag=$ac_save_c_werror_flag
2798 cat >conftest.$ac_ext <<_ACEOF
2801 cat confdefs.h >>conftest.$ac_ext
2802 cat >>conftest.$ac_ext <<_ACEOF
2803 /* end confdefs.h. */
2813 rm -f conftest.$ac_objext
2814 if { (ac_try="$ac_compile"
2816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2817 *) ac_try_echo=$ac_try;;
2819 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2820 (eval "$ac_compile") 2>conftest.er1
2822 grep -v '^ *+' conftest.er1 >conftest.err
2824 cat conftest.err >&5
2825 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2826 (exit $ac_status); } &&
2827 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2828 { (case "(($ac_try" in
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2832 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2833 (eval "$ac_try") 2>&5
2835 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2836 (exit $ac_status); }; } &&
2837 { ac_try='test -s conftest.$ac_objext'
2838 { (case "(($ac_try" in
2839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2840 *) ac_try_echo=$ac_try;;
2842 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2843 (eval "$ac_try") 2>&5
2845 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2846 (exit $ac_status); }; }; then
2849 echo "$as_me: failed program was
:" >&5
2850 sed 's/^/| /' conftest.$ac_ext >&5
2855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2862 ac_c_werror_flag=$ac_save_c_werror_flag
2864 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_g" >&5
2865 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2866 if test "$ac_test_CFLAGS" = set; then
2867 CFLAGS=$ac_save_CFLAGS
2868 elif test $ac_cv_prog_cc_g = yes; then
2869 if test "$GCC" = yes; then
2875 if test "$GCC" = yes; then
2881 { echo "$as_me:$LINENO: checking
for $CC option to accept ISO C89
" >&5
2882 echo $ECHO_N "checking
for $CC option to accept ISO C89...
$ECHO_C" >&6; }
2883 if test "${ac_cv_prog_cc_c89+set}" = set; then
2884 echo $ECHO_N "(cached
) $ECHO_C" >&6
2886 ac_cv_prog_cc_c89=no
2888 cat >conftest.$ac_ext <<_ACEOF
2891 cat confdefs.h >>conftest.$ac_ext
2892 cat >>conftest.$ac_ext <<_ACEOF
2893 /* end confdefs.h. */
2896 #include <sys/types.h>
2897 #include <sys/stat.h>
2898 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2899 struct buf { int x; };
2900 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2901 static char *e (p, i)
2907 static char *f (char * (*g) (char **, int), char **p, ...)
2912 s = g (p, va_arg (v,int));
2917 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2918 function prototypes and stuff, but not '\xHH' hex character constants.
2919 These don't provoke an error unfortunately, instead are silently treated
2920 as 'x'. The following induces an error, until -std is added to get
2921 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2922 array size at least. It's necessary to write '\x00'==0 to get something
2923 that's true only with -std. */
2924 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2926 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2927 inside strings and character constants. */
2929 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2931 int test (int i, double x);
2932 struct s1 {int (*f) (int a);};
2933 struct s2 {int (*f) (double a);};
2934 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2940 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2945 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2946 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2948 CC="$ac_save_CC $ac_arg"
2949 rm -f conftest.$ac_objext
2950 if { (ac_try="$ac_compile"
2952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2953 *) ac_try_echo=$ac_try;;
2955 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2956 (eval "$ac_compile") 2>conftest.er1
2958 grep -v '^ *+' conftest.er1 >conftest.err
2960 cat conftest.err >&5
2961 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2962 (exit $ac_status); } &&
2963 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
2964 { (case "(($ac_try" in
2965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2966 *) ac_try_echo=$ac_try;;
2968 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2969 (eval "$ac_try") 2>&5
2971 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2972 (exit $ac_status); }; } &&
2973 { ac_try='test -s conftest.$ac_objext'
2974 { (case "(($ac_try" in
2975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2976 *) ac_try_echo=$ac_try;;
2978 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2979 (eval "$ac_try") 2>&5
2981 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2982 (exit $ac_status); }; }; then
2983 ac_cv_prog_cc_c89=$ac_arg
2985 echo "$as_me: failed program was
:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2991 rm -f core conftest.err conftest.$ac_objext
2992 test "x
$ac_cv_prog_cc_c89" != "xno
" && break
2994 rm -f conftest.$ac_ext
2999 case "x
$ac_cv_prog_cc_c89" in
3001 { echo "$as_me:$LINENO: result
: none needed
" >&5
3002 echo "${ECHO_T}none needed
" >&6; } ;;
3004 { echo "$as_me:$LINENO: result
: unsupported
" >&5
3005 echo "${ECHO_T}unsupported
" >&6; } ;;
3007 CC="$CC $ac_cv_prog_cc_c89"
3008 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cc_c89" >&5
3009 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3014 ac_cpp='$CPP $CPPFLAGS'
3015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020 ac_cpp='$CXXCPP $CPPFLAGS'
3021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3024 if test -z "$CXX"; then
3025 if test -n "$CCC"; then
3028 if test -n "$ac_tool_prefix"; then
3029 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3031 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3032 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3033 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3034 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3035 if test "${ac_cv_prog_CXX+set}" = set; then
3036 echo $ECHO_N "(cached
) $ECHO_C" >&6
3038 if test -n "$CXX"; then
3039 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3048 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3049 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3059 if test -n "$CXX"; then
3060 { echo "$as_me:$LINENO: result
: $CXX" >&5
3061 echo "${ECHO_T}$CXX" >&6; }
3063 { echo "$as_me:$LINENO: result
: no
" >&5
3064 echo "${ECHO_T}no
" >&6; }
3068 test -n "$CXX" && break
3071 if test -z "$CXX"; then
3073 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3075 # Extract the first word of "$ac_prog", so it can be a program name with args.
3076 set dummy $ac_prog; ac_word=$2
3077 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3078 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3079 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3080 echo $ECHO_N "(cached
) $ECHO_C" >&6
3082 if test -n "$ac_ct_CXX"; then
3083 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3089 test -z "$as_dir" && as_dir=.
3090 for ac_exec_ext in '' $ac_executable_extensions; do
3091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3092 ac_cv_prog_ac_ct_CXX="$ac_prog"
3093 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3102 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3103 if test -n "$ac_ct_CXX"; then
3104 { echo "$as_me:$LINENO: result
: $ac_ct_CXX" >&5
3105 echo "${ECHO_T}$ac_ct_CXX" >&6; }
3107 { echo "$as_me:$LINENO: result
: no
" >&5
3108 echo "${ECHO_T}no
" >&6; }
3112 test -n "$ac_ct_CXX" && break
3115 if test "x
$ac_ct_CXX" = x; then
3118 case $cross_compiling:$ac_tool_warned in
3120 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3121 whose name does not start with the
host triplet. If you think this
3122 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3123 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3124 whose name does not start with the
host triplet. If you think this
3125 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3126 ac_tool_warned=yes ;;
3134 # Provide some information about the compiler.
3135 echo "$as_me:$LINENO: checking
for C
++ compiler version
" >&5
3136 ac_compiler=`set X $ac_compile; echo $2`
3137 { (ac_try="$ac_compiler --version >&5"
3139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3140 *) ac_try_echo=$ac_try;;
3142 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3143 (eval "$ac_compiler --version >&5") 2>&5
3145 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3146 (exit $ac_status); }
3147 { (ac_try="$ac_compiler -v >&5"
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3152 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3153 (eval "$ac_compiler -v >&5") 2>&5
3155 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3156 (exit $ac_status); }
3157 { (ac_try="$ac_compiler -V >&5"
3159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3160 *) ac_try_echo=$ac_try;;
3162 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3163 (eval "$ac_compiler -V >&5") 2>&5
3165 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3166 (exit $ac_status); }
3168 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
3169 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
3170 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3171 echo $ECHO_N "(cached
) $ECHO_C" >&6
3173 cat >conftest.$ac_ext <<_ACEOF
3176 cat confdefs.h >>conftest.$ac_ext
3177 cat >>conftest.$ac_ext <<_ACEOF
3178 /* end confdefs.h. */
3191 rm -f conftest.$ac_objext
3192 if { (ac_try="$ac_compile"
3194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3195 *) ac_try_echo=$ac_try;;
3197 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3198 (eval "$ac_compile") 2>conftest.er1
3200 grep -v '^ *+' conftest.er1 >conftest.err
3202 cat conftest.err >&5
3203 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3204 (exit $ac_status); } &&
3205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3206 { (case "(($ac_try" in
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3211 (eval "$ac_try") 2>&5
3213 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3214 (exit $ac_status); }; } &&
3215 { ac_try='test -s conftest.$ac_objext'
3216 { (case "(($ac_try" in
3217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3218 *) ac_try_echo=$ac_try;;
3220 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3221 (eval "$ac_try") 2>&5
3223 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3224 (exit $ac_status); }; }; then
3227 echo "$as_me: failed program was
:" >&5
3228 sed 's/^/| /' conftest.$ac_ext >&5
3233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3234 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3237 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
3238 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
3239 GXX=`test $ac_compiler_gnu = yes && echo yes`
3240 ac_test_CXXFLAGS=${CXXFLAGS+set}
3241 ac_save_CXXFLAGS=$CXXFLAGS
3242 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
3243 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
3244 if test "${ac_cv_prog_cxx_g+set}" = set; then
3245 echo $ECHO_N "(cached
) $ECHO_C" >&6
3247 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3248 ac_cxx_werror_flag=yes
3251 cat >conftest.$ac_ext <<_ACEOF
3254 cat confdefs.h >>conftest.$ac_ext
3255 cat >>conftest.$ac_ext <<_ACEOF
3256 /* end confdefs.h. */
3266 rm -f conftest.$ac_objext
3267 if { (ac_try="$ac_compile"
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3273 (eval "$ac_compile") 2>conftest.er1
3275 grep -v '^ *+' conftest.er1 >conftest.err
3277 cat conftest.err >&5
3278 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3279 (exit $ac_status); } &&
3280 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3281 { (case "(($ac_try" in
3282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3283 *) ac_try_echo=$ac_try;;
3285 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3286 (eval "$ac_try") 2>&5
3288 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3289 (exit $ac_status); }; } &&
3290 { ac_try='test -s conftest.$ac_objext'
3291 { (case "(($ac_try" in
3292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3293 *) ac_try_echo=$ac_try;;
3295 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3296 (eval "$ac_try") 2>&5
3298 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3299 (exit $ac_status); }; }; then
3300 ac_cv_prog_cxx_g=yes
3302 echo "$as_me: failed program was
:" >&5
3303 sed 's/^/| /' conftest.$ac_ext >&5
3306 cat >conftest.$ac_ext <<_ACEOF
3309 cat confdefs.h >>conftest.$ac_ext
3310 cat >>conftest.$ac_ext <<_ACEOF
3311 /* end confdefs.h. */
3321 rm -f conftest.$ac_objext
3322 if { (ac_try="$ac_compile"
3324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3325 *) ac_try_echo=$ac_try;;
3327 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3328 (eval "$ac_compile") 2>conftest.er1
3330 grep -v '^ *+' conftest.er1 >conftest.err
3332 cat conftest.err >&5
3333 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3334 (exit $ac_status); } &&
3335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3336 { (case "(($ac_try" in
3337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3338 *) ac_try_echo=$ac_try;;
3340 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3341 (eval "$ac_try") 2>&5
3343 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3344 (exit $ac_status); }; } &&
3345 { ac_try='test -s conftest.$ac_objext'
3346 { (case "(($ac_try" in
3347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3348 *) ac_try_echo=$ac_try;;
3350 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3351 (eval "$ac_try") 2>&5
3353 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3354 (exit $ac_status); }; }; then
3357 echo "$as_me: failed program was
:" >&5
3358 sed 's/^/| /' conftest.$ac_ext >&5
3360 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3362 cat >conftest.$ac_ext <<_ACEOF
3365 cat confdefs.h >>conftest.$ac_ext
3366 cat >>conftest.$ac_ext <<_ACEOF
3367 /* end confdefs.h. */
3377 rm -f conftest.$ac_objext
3378 if { (ac_try="$ac_compile"
3380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3381 *) ac_try_echo=$ac_try;;
3383 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3384 (eval "$ac_compile") 2>conftest.er1
3386 grep -v '^ *+' conftest.er1 >conftest.err
3388 cat conftest.err >&5
3389 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3390 (exit $ac_status); } &&
3391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3392 { (case "(($ac_try" in
3393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3394 *) ac_try_echo=$ac_try;;
3396 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3397 (eval "$ac_try") 2>&5
3399 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3400 (exit $ac_status); }; } &&
3401 { ac_try='test -s conftest.$ac_objext'
3402 { (case "(($ac_try" in
3403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3404 *) ac_try_echo=$ac_try;;
3406 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3407 (eval "$ac_try") 2>&5
3409 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3410 (exit $ac_status); }; }; then
3411 ac_cv_prog_cxx_g=yes
3413 echo "$as_me: failed program was
:" >&5
3414 sed 's/^/| /' conftest.$ac_ext >&5
3419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3426 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3428 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
3429 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
3430 if test "$ac_test_CXXFLAGS" = set; then
3431 CXXFLAGS=$ac_save_CXXFLAGS
3432 elif test $ac_cv_prog_cxx_g = yes; then
3433 if test "$GXX" = yes; then
3439 if test "$GXX" = yes; then
3446 ac_cpp='$CPP $CPPFLAGS'
3447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3451 if test -n "$ac_tool_prefix"; then
3452 # Extract the first word of "${ac_tool_prefix}cpp
", so it can be a program name with args.
3453 set dummy ${ac_tool_prefix}cpp; ac_word=$2
3454 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3455 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3456 if test "${ac_cv_prog_CPPBIN+set}" = set; then
3457 echo $ECHO_N "(cached
) $ECHO_C" >&6
3459 if test -n "$CPPBIN"; then
3460 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
3462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3466 test -z "$as_dir" && as_dir=.
3467 for ac_exec_ext in '' $ac_executable_extensions; do
3468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3469 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp
"
3470 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3479 CPPBIN=$ac_cv_prog_CPPBIN
3480 if test -n "$CPPBIN"; then
3481 { echo "$as_me:$LINENO: result
: $CPPBIN" >&5
3482 echo "${ECHO_T}$CPPBIN" >&6; }
3484 { echo "$as_me:$LINENO: result
: no
" >&5
3485 echo "${ECHO_T}no
" >&6; }
3490 if test -z "$ac_cv_prog_CPPBIN"; then
3491 ac_ct_CPPBIN=$CPPBIN
3492 # Extract the first word of "cpp
", so it can be a program name with args.
3493 set dummy cpp; ac_word=$2
3494 { echo "$as_me:$LINENO: checking
for $ac_word" >&5
3495 echo $ECHO_N "checking
for $ac_word...
$ECHO_C" >&6; }
3496 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then
3497 echo $ECHO_N "(cached
) $ECHO_C" >&6
3499 if test -n "$ac_ct_CPPBIN"; then
3500 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
3502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 test -z "$as_dir" && as_dir=.
3507 for ac_exec_ext in '' $ac_executable_extensions; do
3508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3509 ac_cv_prog_ac_ct_CPPBIN="cpp
"
3510 echo "$as_me:$LINENO: found
$as_dir/$ac_word$ac_exec_ext" >&5
3519 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
3520 if test -n "$ac_ct_CPPBIN"; then
3521 { echo "$as_me:$LINENO: result
: $ac_ct_CPPBIN" >&5
3522 echo "${ECHO_T}$ac_ct_CPPBIN" >&6; }
3524 { echo "$as_me:$LINENO: result
: no
" >&5
3525 echo "${ECHO_T}no
" >&6; }
3528 if test "x
$ac_ct_CPPBIN" = x; then
3531 case $cross_compiling:$ac_tool_warned in
3533 { echo "$as_me:$LINENO: WARNING
: In the future
, Autoconf will not detect cross-tools
3534 whose name does not start with the
host triplet. If you think this
3535 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&5
3536 echo "$as_me: WARNING
: In the future
, Autoconf will not detect cross-tools
3537 whose name does not start with the
host triplet. If you think this
3538 configuration is useful to you
, please
write to autoconf@gnu.org.
" >&2;}
3539 ac_tool_warned=yes ;;
3541 CPPBIN=$ac_ct_CPPBIN
3544 CPPBIN="$ac_cv_prog_CPPBIN"
3548 { echo "$as_me:$LINENO: checking
for the directory containing the Wine tools
" >&5
3549 echo $ECHO_N "checking
for the directory containing the Wine tools...
$ECHO_C" >&6; }
3550 if test "${wine_cv_toolsdir+set}" = set; then
3551 echo $ECHO_N "(cached
) $ECHO_C" >&6
3553 if test -z "$with_wine_tools"; then
3554 if test "$cross_compiling" = "yes"; then
3555 { { echo "$as_me:$LINENO: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&5
3556 echo "$as_me: error
: you must use the
--with-wine-tools option when cross-compiling.
" >&2;}
3557 { (exit 1); exit 1; }; }
3559 wine_cv_toolsdir="\$
(TOPOBJDIR
)"
3561 elif test -d "$with_wine_tools/tools
/winebuild
"; then
3562 case $with_wine_tools in
3563 /*) wine_cv_toolsdir="$with_wine_tools" ;;
3564 *) wine_cv_toolsdir="\$
(TOPOBJDIR
)/$with_wine_tools" ;;
3567 { { echo "$as_me:$LINENO: error
: could not
find Wine tools
in $with_wine_tools.
" >&5
3568 echo "$as_me: error
: could not
find Wine tools
in $with_wine_tools.
" >&2;}
3569 { (exit 1); exit 1; }; }
3572 { echo "$as_me:$LINENO: result
: $wine_cv_toolsdir" >&5
3573 echo "${ECHO_T}$wine_cv_toolsdir" >&6; }
3574 TOOLSDIR=$wine_cv_toolsdir
3579 ac_cpp='$CPP $CPPFLAGS'
3580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3583 { echo "$as_me:$LINENO: checking how to run the C preprocessor
" >&5
3584 echo $ECHO_N "checking how to run the C preprocessor...
$ECHO_C" >&6; }
3585 # On Suns, sometimes $CPP names a directory.
3586 if test -n "$CPP" && test -d "$CPP"; then
3589 if test -z "$CPP"; then
3590 if test "${ac_cv_prog_CPP+set}" = set; then
3591 echo $ECHO_N "(cached
) $ECHO_C" >&6
3593 # Double quotes because CPP needs to be expanded
3594 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib
/cpp
"
3597 for ac_c_preproc_warn_flag in '' yes
3599 # Use a header file that comes with gcc, so configuring glibc
3600 # with a fresh cross-compiler works.
3601 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3602 # <limits.h> exists even on freestanding compilers.
3603 # On the NeXT, cc -E runs the code through the compiler's parser,
3604 # not just through cpp. "Syntax error
" is here to catch this case.
3605 cat >conftest.$ac_ext <<_ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3612 # include <limits.h>
3614 # include <assert.h>
3618 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3620 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3621 *) ac_try_echo=$ac_try;;
3623 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3624 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3626 grep -v '^ *+' conftest.er1 >conftest.err
3628 cat conftest.err >&5
3629 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3630 (exit $ac_status); } >/dev/null; then
3631 if test -s conftest.err; then
3632 ac_cpp_err=$ac_c_preproc_warn_flag
3633 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3640 if test -z "$ac_cpp_err"; then
3643 echo "$as_me: failed program was
:" >&5
3644 sed 's/^/| /' conftest.$ac_ext >&5
3646 # Broken: fails on valid input.
3650 rm -f conftest.err conftest.$ac_ext
3652 # OK, works on sane cases. Now check whether nonexistent headers
3653 # can be detected and how.
3654 cat >conftest.$ac_ext <<_ACEOF
3657 cat confdefs.h >>conftest.$ac_ext
3658 cat >>conftest.$ac_ext <<_ACEOF
3659 /* end confdefs.h. */
3660 #include <ac_nonexistent.h>
3662 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3665 *) ac_try_echo=$ac_try;;
3667 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3668 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3670 grep -v '^ *+' conftest.er1 >conftest.err
3672 cat conftest.err >&5
3673 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3674 (exit $ac_status); } >/dev/null; then
3675 if test -s conftest.err; then
3676 ac_cpp_err=$ac_c_preproc_warn_flag
3677 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3684 if test -z "$ac_cpp_err"; then
3685 # Broken: success on invalid input.
3688 echo "$as_me: failed program was
:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3691 # Passes both tests.
3696 rm -f conftest.err conftest.$ac_ext
3699 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3700 rm -f conftest.err conftest.$ac_ext
3701 if $ac_preproc_ok; then
3713 { echo "$as_me:$LINENO: result
: $CPP" >&5
3714 echo "${ECHO_T}$CPP" >&6; }
3716 for ac_c_preproc_warn_flag in '' yes
3718 # Use a header file that comes with gcc, so configuring glibc
3719 # with a fresh cross-compiler works.
3720 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3721 # <limits.h> exists even on freestanding compilers.
3722 # On the NeXT, cc -E runs the code through the compiler's parser,
3723 # not just through cpp. "Syntax error
" is here to catch this case.
3724 cat >conftest.$ac_ext <<_ACEOF
3727 cat confdefs.h >>conftest.$ac_ext
3728 cat >>conftest.$ac_ext <<_ACEOF
3729 /* end confdefs.h. */
3731 # include <limits.h>
3733 # include <assert.h>
3737 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3740 *) ac_try_echo=$ac_try;;
3742 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3743 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3745 grep -v '^ *+' conftest.er1 >conftest.err
3747 cat conftest.err >&5
3748 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3749 (exit $ac_status); } >/dev/null; then
3750 if test -s conftest.err; then
3751 ac_cpp_err=$ac_c_preproc_warn_flag
3752 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3759 if test -z "$ac_cpp_err"; then
3762 echo "$as_me: failed program was
:" >&5
3763 sed 's/^/| /' conftest.$ac_ext >&5
3765 # Broken: fails on valid input.
3769 rm -f conftest.err conftest.$ac_ext
3771 # OK, works on sane cases. Now check whether nonexistent headers
3772 # can be detected and how.
3773 cat >conftest.$ac_ext <<_ACEOF
3776 cat confdefs.h >>conftest.$ac_ext
3777 cat >>conftest.$ac_ext <<_ACEOF
3778 /* end confdefs.h. */
3779 #include <ac_nonexistent.h>
3781 if { (ac_try="$ac_cpp conftest.
$ac_ext"
3783 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3784 *) ac_try_echo=$ac_try;;
3786 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
3787 (eval "$ac_cpp conftest.
$ac_ext") 2>conftest.er1
3789 grep -v '^ *+' conftest.er1 >conftest.err
3791 cat conftest.err >&5
3792 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
3793 (exit $ac_status); } >/dev/null; then
3794 if test -s conftest.err; then
3795 ac_cpp_err=$ac_c_preproc_warn_flag
3796 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3803 if test -z "$ac_cpp_err"; then
3804 # Broken: success on invalid input.
3807 echo "$as_me: failed program was
:" >&5
3808 sed 's/^/| /' conftest.$ac_ext >&5
3810 # Passes both tests.
3815 rm -f conftest.err conftest.$ac_ext
3818 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3819 rm -f conftest.err conftest.$ac_ext
3820 if $ac_preproc_ok; then
3823 { { echo "$as_me:$LINENO: error
: C preprocessor
\"$CPP\" fails sanity check
3824 See \
`config.log' for more details." >&5
3825 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3826 See \`config.log
' for more details." >&2;}
3827 { (exit 1); exit 1; }; }
3831 ac_cpp='$CPP $CPPFLAGS'
3832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.
$ac_ext >&5'
3833 ac_link='$CC -o conftest
$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.
$ac_ext $LIBS >&5'
3834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3837 { echo "$as_me:$LINENO: checking for X" >&5
3838 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
3841 # Check whether --with-x was given.
3842 if test "${with_x+set}" = set; then
3846 # $have_x is `yes', `no', `disabled
', or empty when we do not yet know.
3847 if test "x$with_x" = xno; then
3848 # The user explicitly disabled X.
3851 case $x_includes,$x_libraries in #(
3852 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
3853 echo "$as_me: error
: Cannot use X directory names containing
'" >&2;}
3854 { (exit 1); exit 1; }; };; #(
3855 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
3856 echo $ECHO_N "(cached) $ECHO_C" >&6
3858 # One or both of the vars are not set, and there is no cached value.
3859 ac_x_includes=no ac_x_libraries=no
3860 rm -f -r conftest.dir
3861 if mkdir conftest.dir; then
3863 cat >Imakefile <<'_ACEOF'
3865 @echo incroot='${INCROOT}'
3867 @echo usrlibdir='${USRLIBDIR}'
3869 @echo libdir='${LIBDIR}'
3871 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3873 for ac_var in incroot usrlibdir libdir; do
3874 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's
/^
$ac_var=//p
'\`"
3876 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3877 for ac_extension in a so sl; do
3878 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3879 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3880 ac_im_usrlibdir=$ac_im_libdir; break
3883 # Screen out bogus values from the imake configuration. They are
3884 # bogus both because they are the default anyway, and because
3885 # using them would break gcc on systems where it needs fixed includes.
3886 case $ac_im_incroot in
3887 /usr/include) ac_x_includes= ;;
3888 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3890 case $ac_im_usrlibdir in
3892 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3896 rm -f -r conftest.dir
3899 # Standard set of common directories for X headers.
3900 # Check X11 before X11Rn because it is often a symlink to the current release.
3912 /usr
/local
/X11
/include
3913 /usr
/local
/X11R
6/include
3914 /usr
/local
/X11R
5/include
3915 /usr
/local
/X11R
4/include
3917 /usr
/local
/include
/X11
3918 /usr
/local
/include
/X11R6
3919 /usr
/local
/include
/X11R5
3920 /usr
/local
/include
/X11R4
3924 /usr
/XFree86
/include
/X11
3928 /usr
/unsupported
/include
3930 /usr
/local
/x11r
5/include
3931 /usr
/lpp
/Xamples
/include
3933 /usr
/openwin
/include
3934 /usr
/openwin
/share
/include
'
3936 if test "$ac_x_includes" = no; then
3937 # Guess where to find include files, by looking for Xlib.h.
3938 # First, try using that file with no special directory specified.
3939 cat >conftest.$ac_ext <<_ACEOF
3942 cat confdefs.h >>conftest.$ac_ext
3943 cat >>conftest.$ac_ext <<_ACEOF
3944 /* end confdefs.h. */
3945 #include <X11/Xlib.h>
3947 if { (ac_try="$ac_cpp conftest.$ac_ext"
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3953 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3955 grep -v '^
*+' conftest.er1 >conftest.err
3957 cat conftest.err >&5
3958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); } >/dev/null; then
3960 if test -s conftest.err; then
3961 ac_cpp_err=$ac_c_preproc_warn_flag
3962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3969 if test -z "$ac_cpp_err"; then
3970 # We can compile using X headers with no special include directory.
3973 echo "$as_me: failed program was:" >&5
3974 sed 's
/^
/|
/' conftest.$ac_ext >&5
3976 for ac_dir in $ac_x_header_dirs; do
3977 if test -r "$ac_dir/X11/Xlib.h"; then
3978 ac_x_includes=$ac_dir
3984 rm -f conftest.err conftest.$ac_ext
3985 fi # $ac_x_includes = no
3987 if test "$ac_x_libraries" = no; then
3988 # Check for the libraries.
3989 # See if we find them without any special options.
3990 # Don't add to
$LIBS permanently.
3993 cat >conftest.
$ac_ext <<_ACEOF
3996 cat confdefs.h
>>conftest.
$ac_ext
3997 cat >>conftest.
$ac_ext <<_ACEOF
3998 /* end confdefs.h. */
3999 #include <X11/Xlib.h>
4008 rm -f conftest.
$ac_objext conftest
$ac_exeext
4009 if { (ac_try
="$ac_link"
4011 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4012 *) ac_try_echo=$ac_try;;
4014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4015 (eval "$ac_link") 2>conftest.er1
4017 grep -v '^ *+' conftest.er1 >conftest.err
4019 cat conftest.err >&5
4020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4021 (exit $ac_status); } &&
4022 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4023 { (case "(($ac_try" in
4024 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4025 *) ac_try_echo
=$ac_try;;
4027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4028 (eval "$ac_try") 2>&5
4030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4031 (exit $ac_status); }; } &&
4032 { ac_try
='test -s conftest$ac_exeext'
4033 { (case "(($ac_try" in
4034 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4035 *) ac_try_echo=$ac_try;;
4037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4038 (eval "$ac_try") 2>&5
4040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4041 (exit $ac_status); }; }; then
4043 # We can link X programs with no special library path.
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.$ac_ext >&5
4050 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" |
sed s
/include
/lib
/g
`
4052 # Don't even attempt the hair of trying to link an X program!
4053 for ac_extension in a so sl; do
4054 if test -r "$ac_dir/libX11.$ac_extension"; then
4055 ac_x_libraries=$ac_dir
4062 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4063 conftest$ac_exeext conftest.$ac_ext
4064 fi # $ac_x_libraries = no
4066 case $ac_x_includes,$ac_x_libraries in #(
4068 # Didn't find X, or a directory has "'" in its name.
4069 ac_cv_have_x="have_x=no";; #(
4071 # Record where we found X for the cache.
4072 ac_cv_have_x="have_x=yes\
4073 ac_x_includes='$ac_x_includes'\
4074 ac_x_libraries='$ac_x_libraries'"
4080 eval "$ac_cv_have_x"
4083 if test "$have_x" != yes; then
4084 { echo "$as_me:$LINENO: result: $have_x" >&5
4085 echo "${ECHO_T}$have_x" >&6; }
4088 # If each of the values was on the command line, it overrides each guess.
4089 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4090 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4091 # Update the cache value to reflect the command line values.
4092 ac_cv_have_x="have_x=yes\
4093 ac_x_includes='$x_includes'\
4094 ac_x_libraries='$x_libraries'"
4095 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
4096 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
4099 if test "$no_x" = yes; then
4100 # Not all programs may use this symbol, but it does not hurt to define it.
4102 cat >>confdefs.h <<\_ACEOF
4103 #define X_DISPLAY_MISSING 1
4106 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
4108 if test -n "$x_includes"; then
4109 X_CFLAGS="$X_CFLAGS -I$x_includes"
4112 # It would also be nice to do this for all -L options, not just this one.
4113 if test -n "$x_libraries"; then
4114 X_LIBS="$X_LIBS -L$x_libraries"
4115 # For Solaris; some versions of Sun CC require a space after -R and
4116 # others require no space. Words are not sufficient . . . .
4117 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
4118 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
4119 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
4120 ac_xsave_c_werror_flag=$ac_c_werror_flag
4121 ac_c_werror_flag=yes
4122 cat >conftest.$ac_ext <<_ACEOF
4125 cat confdefs.h >>conftest.$ac_ext
4126 cat >>conftest.$ac_ext <<_ACEOF
4127 /* end confdefs.h. */
4137 rm -f conftest.$ac_objext conftest$ac_exeext
4138 if { (ac_try="$ac_link"
4140 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4141 *) ac_try_echo
=$ac_try;;
4143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4144 (eval "$ac_link") 2>conftest.er1
4146 grep -v '^ *+' conftest.er1
>conftest.err
4148 cat conftest.err
>&5
4149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4150 (exit $ac_status); } &&
4151 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4152 { (case "(($ac_try" in
4153 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4154 *) ac_try_echo=$ac_try;;
4156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4157 (eval "$ac_try") 2>&5
4159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4160 (exit $ac_status); }; } &&
4161 { ac_try='test -s conftest$ac_exeext'
4162 { (case "(($ac_try" in
4163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4164 *) ac_try_echo
=$ac_try;;
4166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4167 (eval "$ac_try") 2>&5
4169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4170 (exit $ac_status); }; }; then
4171 { echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6; }
4173 X_LIBS
="$X_LIBS -R$x_libraries"
4175 echo "$as_me: failed program was:" >&5
4176 sed 's/^/| /' conftest.
$ac_ext >&5
4178 LIBS
="$ac_xsave_LIBS -R $x_libraries"
4179 cat >conftest.
$ac_ext <<_ACEOF
4182 cat confdefs.h
>>conftest.
$ac_ext
4183 cat >>conftest.
$ac_ext <<_ACEOF
4184 /* end confdefs.h. */
4194 rm -f conftest.
$ac_objext conftest
$ac_exeext
4195 if { (ac_try
="$ac_link"
4197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4198 *) ac_try_echo=$ac_try;;
4200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4201 (eval "$ac_link") 2>conftest.er1
4203 grep -v '^ *+' conftest.er1 >conftest.err
4205 cat conftest.err >&5
4206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4207 (exit $ac_status); } &&
4208 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4209 { (case "(($ac_try" in
4210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4211 *) ac_try_echo
=$ac_try;;
4213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4214 (eval "$ac_try") 2>&5
4216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4217 (exit $ac_status); }; } &&
4218 { ac_try
='test -s conftest$ac_exeext'
4219 { (case "(($ac_try" in
4220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4221 *) ac_try_echo=$ac_try;;
4223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4224 (eval "$ac_try") 2>&5
4226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4227 (exit $ac_status); }; }; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4230 X_LIBS="$X_LIBS -R $x_libraries"
4232 echo "$as_me: failed program was:" >&5
4233 sed 's/^/| /' conftest.$ac_ext >&5
4235 { echo "$as_me:$LINENO: result: neither works" >&5
4236 echo "${ECHO_T}neither works" >&6; }
4239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4240 conftest$ac_exeext conftest.$ac_ext
4243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4244 conftest$ac_exeext conftest.$ac_ext
4245 ac_c_werror_flag=$ac_xsave_c_werror_flag
4249 # Check for system-dependent libraries X programs must link with.
4250 # Do this before checking for the system-independent R6 libraries
4251 # (-lICE), since we may need -lsocket or whatever for X linking.
4253 if test "$ISC" = yes; then
4254 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
4256 # Martyn Johnson says this is needed for Ultrix, if the X
4257 # libraries were built with DECnet support. And Karl Berry says
4258 # the Alpha needs dnet_stub (dnet does not exist).
4259 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
4260 cat >conftest.$ac_ext <<_ACEOF
4263 cat confdefs.h >>conftest.$ac_ext
4264 cat >>conftest.$ac_ext <<_ACEOF
4265 /* end confdefs.h. */
4267 /* Override any GCC internal prototype to avoid an error.
4268 Use char because int might match the return type of a GCC
4269 builtin and then its argument prototype would still apply. */
4273 char XOpenDisplay ();
4277 return XOpenDisplay ();
4282 rm -f conftest.$ac_objext conftest$ac_exeext
4283 if { (ac_try="$ac_link"
4285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4286 *) ac_try_echo
=$ac_try;;
4288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4289 (eval "$ac_link") 2>conftest.er1
4291 grep -v '^ *+' conftest.er1
>conftest.err
4293 cat conftest.err
>&5
4294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4295 (exit $ac_status); } &&
4296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4297 { (case "(($ac_try" in
4298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4299 *) ac_try_echo=$ac_try;;
4301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4302 (eval "$ac_try") 2>&5
4304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4305 (exit $ac_status); }; } &&
4306 { ac_try='test -s conftest$ac_exeext'
4307 { (case "(($ac_try" in
4308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4309 *) ac_try_echo
=$ac_try;;
4311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4312 (eval "$ac_try") 2>&5
4314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4315 (exit $ac_status); }; }; then
4318 echo "$as_me: failed program was:" >&5
4319 sed 's/^/| /' conftest.
$ac_ext >&5
4321 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
4322 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
4323 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
4324 echo $ECHO_N "(cached) $ECHO_C" >&6
4326 ac_check_lib_save_LIBS
=$LIBS
4328 cat >conftest.
$ac_ext <<_ACEOF
4331 cat confdefs.h
>>conftest.
$ac_ext
4332 cat >>conftest.
$ac_ext <<_ACEOF
4333 /* end confdefs.h. */
4335 /* Override any GCC internal prototype to avoid an error.
4336 Use char because int might match the return type of a GCC
4337 builtin and then its argument prototype would still apply. */
4345 return dnet_ntoa ();
4350 rm -f conftest.
$ac_objext conftest
$ac_exeext
4351 if { (ac_try
="$ac_link"
4353 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4354 *) ac_try_echo=$ac_try;;
4356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4357 (eval "$ac_link") 2>conftest.er1
4359 grep -v '^ *+' conftest.er1 >conftest.err
4361 cat conftest.err >&5
4362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4363 (exit $ac_status); } &&
4364 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4365 { (case "(($ac_try" in
4366 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4367 *) ac_try_echo
=$ac_try;;
4369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4370 (eval "$ac_try") 2>&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); }; } &&
4374 { ac_try
='test -s conftest$ac_exeext'
4375 { (case "(($ac_try" in
4376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4377 *) ac_try_echo=$ac_try;;
4379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4380 (eval "$ac_try") 2>&5
4382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4383 (exit $ac_status); }; }; then
4384 ac_cv_lib_dnet_dnet_ntoa=yes
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 ac_cv_lib_dnet_dnet_ntoa=no
4392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4393 conftest$ac_exeext conftest.$ac_ext
4394 LIBS=$ac_check_lib_save_LIBS
4396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
4397 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
4398 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
4399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
4402 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
4403 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
4404 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
4405 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
4406 echo $ECHO_N "(cached) $ECHO_C" >&6
4408 ac_check_lib_save_LIBS=$LIBS
4409 LIBS="-ldnet_stub $LIBS"
4410 cat >conftest.$ac_ext <<_ACEOF
4413 cat confdefs.h >>conftest.$ac_ext
4414 cat >>conftest.$ac_ext <<_ACEOF
4415 /* end confdefs.h. */
4417 /* Override any GCC internal prototype to avoid an error.
4418 Use char because int might match the return type of a GCC
4419 builtin and then its argument prototype would still apply. */
4427 return dnet_ntoa ();
4432 rm -f conftest.$ac_objext conftest$ac_exeext
4433 if { (ac_try="$ac_link"
4435 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4436 *) ac_try_echo
=$ac_try;;
4438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4439 (eval "$ac_link") 2>conftest.er1
4441 grep -v '^ *+' conftest.er1
>conftest.err
4443 cat conftest.err
>&5
4444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4445 (exit $ac_status); } &&
4446 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4447 { (case "(($ac_try" in
4448 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4449 *) ac_try_echo=$ac_try;;
4451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4452 (eval "$ac_try") 2>&5
4454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4455 (exit $ac_status); }; } &&
4456 { ac_try='test -s conftest$ac_exeext'
4457 { (case "(($ac_try" in
4458 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4459 *) ac_try_echo
=$ac_try;;
4461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4462 (eval "$ac_try") 2>&5
4464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4465 (exit $ac_status); }; }; then
4466 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
4468 echo "$as_me: failed program was:" >&5
4469 sed 's/^/| /' conftest.
$ac_ext >&5
4471 ac_cv_lib_dnet_stub_dnet_ntoa
=no
4474 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4475 conftest
$ac_exeext conftest.
$ac_ext
4476 LIBS
=$ac_check_lib_save_LIBS
4478 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
4479 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
4480 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
4481 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
4487 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4488 conftest
$ac_exeext conftest.
$ac_ext
4489 LIBS
="$ac_xsave_LIBS"
4491 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
4492 # to get the SysV transport functions.
4493 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
4495 # The nsl library prevents programs from opening the X display
4496 # on Irix 5.2, according to T.E. Dickey.
4497 # The functions gethostbyname, getservbyname, and inet_addr are
4498 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
4499 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
4500 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
4501 if test "${ac_cv_func_gethostbyname+set}" = set; then
4502 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 cat >conftest.
$ac_ext <<_ACEOF
4507 cat confdefs.h
>>conftest.
$ac_ext
4508 cat >>conftest.
$ac_ext <<_ACEOF
4509 /* end confdefs.h. */
4510 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
4511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4512 #define gethostbyname innocuous_gethostbyname
4514 /* System header to define __stub macros and hopefully few prototypes,
4515 which can conflict with char gethostbyname (); below.
4516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4517 <limits.h> exists even on freestanding compilers. */
4520 # include <limits.h>
4522 # include <assert.h>
4525 #undef gethostbyname
4527 /* Override any GCC internal prototype to avoid an error.
4528 Use char because int might match the return type of a GCC
4529 builtin and then its argument prototype would still apply. */
4533 char gethostbyname ();
4534 /* The GNU C library defines this for functions which it implements
4535 to always fail with ENOSYS. Some functions are actually named
4536 something starting with __ and the normal name is an alias. */
4537 #if defined __stub_gethostbyname || defined __stub___gethostbyname
4544 return gethostbyname ();
4549 rm -f conftest.
$ac_objext conftest
$ac_exeext
4550 if { (ac_try
="$ac_link"
4552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4553 *) ac_try_echo=$ac_try;;
4555 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4556 (eval "$ac_link") 2>conftest.er1
4558 grep -v '^ *+' conftest.er1 >conftest.err
4560 cat conftest.err >&5
4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4562 (exit $ac_status); } &&
4563 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4564 { (case "(($ac_try" in
4565 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4566 *) ac_try_echo
=$ac_try;;
4568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4569 (eval "$ac_try") 2>&5
4571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4572 (exit $ac_status); }; } &&
4573 { ac_try
='test -s conftest$ac_exeext'
4574 { (case "(($ac_try" in
4575 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4576 *) ac_try_echo=$ac_try;;
4578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4579 (eval "$ac_try") 2>&5
4581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4582 (exit $ac_status); }; }; then
4583 ac_cv_func_gethostbyname=yes
4585 echo "$as_me: failed program was:" >&5
4586 sed 's/^/| /' conftest.$ac_ext >&5
4588 ac_cv_func_gethostbyname=no
4591 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4592 conftest$ac_exeext conftest.$ac_ext
4594 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
4595 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
4597 if test $ac_cv_func_gethostbyname = no; then
4598 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
4599 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
4600 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4603 ac_check_lib_save_LIBS=$LIBS
4605 cat >conftest.$ac_ext <<_ACEOF
4608 cat confdefs.h >>conftest.$ac_ext
4609 cat >>conftest.$ac_ext <<_ACEOF
4610 /* end confdefs.h. */
4612 /* Override any GCC internal prototype to avoid an error.
4613 Use char because int might match the return type of a GCC
4614 builtin and then its argument prototype would still apply. */
4618 char gethostbyname ();
4622 return gethostbyname ();
4627 rm -f conftest.$ac_objext conftest$ac_exeext
4628 if { (ac_try="$ac_link"
4630 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4631 *) ac_try_echo
=$ac_try;;
4633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4634 (eval "$ac_link") 2>conftest.er1
4636 grep -v '^ *+' conftest.er1
>conftest.err
4638 cat conftest.err
>&5
4639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4640 (exit $ac_status); } &&
4641 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4642 { (case "(($ac_try" in
4643 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4644 *) ac_try_echo=$ac_try;;
4646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4647 (eval "$ac_try") 2>&5
4649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4650 (exit $ac_status); }; } &&
4651 { ac_try='test -s conftest$ac_exeext'
4652 { (case "(($ac_try" in
4653 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4654 *) ac_try_echo
=$ac_try;;
4656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4657 (eval "$ac_try") 2>&5
4659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4660 (exit $ac_status); }; }; then
4661 ac_cv_lib_nsl_gethostbyname
=yes
4663 echo "$as_me: failed program was:" >&5
4664 sed 's/^/| /' conftest.
$ac_ext >&5
4666 ac_cv_lib_nsl_gethostbyname
=no
4669 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4670 conftest
$ac_exeext conftest.
$ac_ext
4671 LIBS
=$ac_check_lib_save_LIBS
4673 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
4674 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
4675 if test $ac_cv_lib_nsl_gethostbyname = yes; then
4676 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
4679 if test $ac_cv_lib_nsl_gethostbyname = no
; then
4680 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
4681 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
4682 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
4683 echo $ECHO_N "(cached) $ECHO_C" >&6
4685 ac_check_lib_save_LIBS
=$LIBS
4687 cat >conftest.
$ac_ext <<_ACEOF
4690 cat confdefs.h
>>conftest.
$ac_ext
4691 cat >>conftest.
$ac_ext <<_ACEOF
4692 /* end confdefs.h. */
4694 /* Override any GCC internal prototype to avoid an error.
4695 Use char because int might match the return type of a GCC
4696 builtin and then its argument prototype would still apply. */
4700 char gethostbyname ();
4704 return gethostbyname ();
4709 rm -f conftest.
$ac_objext conftest
$ac_exeext
4710 if { (ac_try
="$ac_link"
4712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4713 *) ac_try_echo=$ac_try;;
4715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4716 (eval "$ac_link") 2>conftest.er1
4718 grep -v '^ *+' conftest.er1 >conftest.err
4720 cat conftest.err >&5
4721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4722 (exit $ac_status); } &&
4723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4724 { (case "(($ac_try" in
4725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4726 *) ac_try_echo
=$ac_try;;
4728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4729 (eval "$ac_try") 2>&5
4731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4732 (exit $ac_status); }; } &&
4733 { ac_try
='test -s conftest$ac_exeext'
4734 { (case "(($ac_try" in
4735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4736 *) ac_try_echo=$ac_try;;
4738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4739 (eval "$ac_try") 2>&5
4741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4742 (exit $ac_status); }; }; then
4743 ac_cv_lib_bsd_gethostbyname=yes
4745 echo "$as_me: failed program was:" >&5
4746 sed 's/^/| /' conftest.$ac_ext >&5
4748 ac_cv_lib_bsd_gethostbyname=no
4751 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4752 conftest$ac_exeext conftest.$ac_ext
4753 LIBS=$ac_check_lib_save_LIBS
4755 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
4756 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
4757 if test $ac_cv_lib_bsd_gethostbyname = yes; then
4758 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
4764 # lieder@skyler.mavd.honeywell.com says without -lsocket,
4765 # socket/setsockopt and other routines are undefined under SCO ODT
4766 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
4767 # on later versions), says Simon Leinen: it contains gethostby*
4768 # variants that don't use the name server (or something). -lsocket
4769 # must be given before -lnsl if both are needed. We assume that
4770 # if connect needs -lnsl, so does gethostbyname.
4771 { echo "$as_me:$LINENO: checking for connect" >&5
4772 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
4773 if test "${ac_cv_func_connect+set}" = set; then
4774 echo $ECHO_N "(cached) $ECHO_C" >&6
4776 cat >conftest.$ac_ext <<_ACEOF
4779 cat confdefs.h >>conftest.$ac_ext
4780 cat >>conftest.$ac_ext <<_ACEOF
4781 /* end confdefs.h. */
4782 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
4783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4784 #define connect innocuous_connect
4786 /* System header to define __stub macros and hopefully few prototypes,
4787 which can conflict with char connect (); below.
4788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4789 <limits.h> exists even on freestanding compilers. */
4792 # include <limits.h>
4794 # include <assert.h>
4799 /* Override any GCC internal prototype to avoid an error.
4800 Use char because int might match the return type of a GCC
4801 builtin and then its argument prototype would still apply. */
4806 /* The GNU C library defines this for functions which it implements
4807 to always fail with ENOSYS. Some functions are actually named
4808 something starting with __ and the normal name is an alias. */
4809 #if defined __stub_connect || defined __stub___connect
4821 rm -f conftest.$ac_objext conftest$ac_exeext
4822 if { (ac_try="$ac_link"
4824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4825 *) ac_try_echo
=$ac_try;;
4827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4828 (eval "$ac_link") 2>conftest.er1
4830 grep -v '^ *+' conftest.er1
>conftest.err
4832 cat conftest.err
>&5
4833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4834 (exit $ac_status); } &&
4835 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4836 { (case "(($ac_try" in
4837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4838 *) ac_try_echo=$ac_try;;
4840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4841 (eval "$ac_try") 2>&5
4843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4844 (exit $ac_status); }; } &&
4845 { ac_try='test -s conftest$ac_exeext'
4846 { (case "(($ac_try" in
4847 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4848 *) ac_try_echo
=$ac_try;;
4850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4851 (eval "$ac_try") 2>&5
4853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4854 (exit $ac_status); }; }; then
4855 ac_cv_func_connect
=yes
4857 echo "$as_me: failed program was:" >&5
4858 sed 's/^/| /' conftest.
$ac_ext >&5
4860 ac_cv_func_connect
=no
4863 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4864 conftest
$ac_exeext conftest.
$ac_ext
4866 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
4867 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
4869 if test $ac_cv_func_connect = no
; then
4870 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
4871 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
4872 if test "${ac_cv_lib_socket_connect+set}" = set; then
4873 echo $ECHO_N "(cached) $ECHO_C" >&6
4875 ac_check_lib_save_LIBS
=$LIBS
4876 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
4877 cat >conftest.
$ac_ext <<_ACEOF
4880 cat confdefs.h
>>conftest.
$ac_ext
4881 cat >>conftest.
$ac_ext <<_ACEOF
4882 /* end confdefs.h. */
4884 /* Override any GCC internal prototype to avoid an error.
4885 Use char because int might match the return type of a GCC
4886 builtin and then its argument prototype would still apply. */
4899 rm -f conftest.
$ac_objext conftest
$ac_exeext
4900 if { (ac_try
="$ac_link"
4902 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4903 *) ac_try_echo=$ac_try;;
4905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4906 (eval "$ac_link") 2>conftest.er1
4908 grep -v '^ *+' conftest.er1 >conftest.err
4910 cat conftest.err >&5
4911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4912 (exit $ac_status); } &&
4913 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4914 { (case "(($ac_try" in
4915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4916 *) ac_try_echo
=$ac_try;;
4918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4919 (eval "$ac_try") 2>&5
4921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4922 (exit $ac_status); }; } &&
4923 { ac_try
='test -s conftest$ac_exeext'
4924 { (case "(($ac_try" in
4925 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4926 *) ac_try_echo=$ac_try;;
4928 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4929 (eval "$ac_try") 2>&5
4931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4932 (exit $ac_status); }; }; then
4933 ac_cv_lib_socket_connect=yes
4935 echo "$as_me: failed program was:" >&5
4936 sed 's/^/| /' conftest.$ac_ext >&5
4938 ac_cv_lib_socket_connect=no
4941 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4942 conftest$ac_exeext conftest.$ac_ext
4943 LIBS=$ac_check_lib_save_LIBS
4945 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
4946 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
4947 if test $ac_cv_lib_socket_connect = yes; then
4948 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
4953 # Guillermo Gomez says -lposix is necessary on A/UX.
4954 { echo "$as_me:$LINENO: checking for remove" >&5
4955 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
4956 if test "${ac_cv_func_remove+set}" = set; then
4957 echo $ECHO_N "(cached) $ECHO_C" >&6
4959 cat >conftest.$ac_ext <<_ACEOF
4962 cat confdefs.h >>conftest.$ac_ext
4963 cat >>conftest.$ac_ext <<_ACEOF
4964 /* end confdefs.h. */
4965 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
4966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
4967 #define remove innocuous_remove
4969 /* System header to define __stub macros and hopefully few prototypes,
4970 which can conflict with char remove (); below.
4971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4972 <limits.h> exists even on freestanding compilers. */
4975 # include <limits.h>
4977 # include <assert.h>
4982 /* Override any GCC internal prototype to avoid an error.
4983 Use char because int might match the return type of a GCC
4984 builtin and then its argument prototype would still apply. */
4989 /* The GNU C library defines this for functions which it implements
4990 to always fail with ENOSYS. Some functions are actually named
4991 something starting with __ and the normal name is an alias. */
4992 #if defined __stub_remove || defined __stub___remove
5004 rm -f conftest.$ac_objext conftest$ac_exeext
5005 if { (ac_try="$ac_link"
5007 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5008 *) ac_try_echo
=$ac_try;;
5010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5011 (eval "$ac_link") 2>conftest.er1
5013 grep -v '^ *+' conftest.er1
>conftest.err
5015 cat conftest.err
>&5
5016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5017 (exit $ac_status); } &&
5018 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5019 { (case "(($ac_try" in
5020 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5021 *) ac_try_echo=$ac_try;;
5023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5024 (eval "$ac_try") 2>&5
5026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5027 (exit $ac_status); }; } &&
5028 { ac_try='test -s conftest$ac_exeext'
5029 { (case "(($ac_try" in
5030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5031 *) ac_try_echo
=$ac_try;;
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_try") 2>&5
5036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5037 (exit $ac_status); }; }; then
5038 ac_cv_func_remove
=yes
5040 echo "$as_me: failed program was:" >&5
5041 sed 's/^/| /' conftest.
$ac_ext >&5
5043 ac_cv_func_remove
=no
5046 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5047 conftest
$ac_exeext conftest.
$ac_ext
5049 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
5050 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
5052 if test $ac_cv_func_remove = no
; then
5053 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
5054 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
5055 if test "${ac_cv_lib_posix_remove+set}" = set; then
5056 echo $ECHO_N "(cached) $ECHO_C" >&6
5058 ac_check_lib_save_LIBS
=$LIBS
5059 LIBS
="-lposix $LIBS"
5060 cat >conftest.
$ac_ext <<_ACEOF
5063 cat confdefs.h
>>conftest.
$ac_ext
5064 cat >>conftest.
$ac_ext <<_ACEOF
5065 /* end confdefs.h. */
5067 /* Override any GCC internal prototype to avoid an error.
5068 Use char because int might match the return type of a GCC
5069 builtin and then its argument prototype would still apply. */
5082 rm -f conftest.
$ac_objext conftest
$ac_exeext
5083 if { (ac_try
="$ac_link"
5085 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5086 *) ac_try_echo=$ac_try;;
5088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5089 (eval "$ac_link") 2>conftest.er1
5091 grep -v '^ *+' conftest.er1 >conftest.err
5093 cat conftest.err >&5
5094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5095 (exit $ac_status); } &&
5096 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5097 { (case "(($ac_try" in
5098 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5099 *) ac_try_echo
=$ac_try;;
5101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5102 (eval "$ac_try") 2>&5
5104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5105 (exit $ac_status); }; } &&
5106 { ac_try
='test -s conftest$ac_exeext'
5107 { (case "(($ac_try" in
5108 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5112 (eval "$ac_try") 2>&5
5114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5115 (exit $ac_status); }; }; then
5116 ac_cv_lib_posix_remove=yes
5118 echo "$as_me: failed program was:" >&5
5119 sed 's/^/| /' conftest.$ac_ext >&5
5121 ac_cv_lib_posix_remove=no
5124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5125 conftest$ac_exeext conftest.$ac_ext
5126 LIBS=$ac_check_lib_save_LIBS
5128 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
5129 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
5130 if test $ac_cv_lib_posix_remove = yes; then
5131 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
5136 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
5137 { echo "$as_me:$LINENO: checking for shmat" >&5
5138 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
5139 if test "${ac_cv_func_shmat+set}" = set; then
5140 echo $ECHO_N "(cached) $ECHO_C" >&6
5142 cat >conftest.$ac_ext <<_ACEOF
5145 cat confdefs.h >>conftest.$ac_ext
5146 cat >>conftest.$ac_ext <<_ACEOF
5147 /* end confdefs.h. */
5148 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
5149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5150 #define shmat innocuous_shmat
5152 /* System header to define __stub macros and hopefully few prototypes,
5153 which can conflict with char shmat (); below.
5154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5155 <limits.h> exists even on freestanding compilers. */
5158 # include <limits.h>
5160 # include <assert.h>
5165 /* Override any GCC internal prototype to avoid an error.
5166 Use char because int might match the return type of a GCC
5167 builtin and then its argument prototype would still apply. */
5172 /* The GNU C library defines this for functions which it implements
5173 to always fail with ENOSYS. Some functions are actually named
5174 something starting with __ and the normal name is an alias. */
5175 #if defined __stub_shmat || defined __stub___shmat
5187 rm -f conftest.$ac_objext conftest$ac_exeext
5188 if { (ac_try="$ac_link"
5190 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5191 *) ac_try_echo
=$ac_try;;
5193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5194 (eval "$ac_link") 2>conftest.er1
5196 grep -v '^ *+' conftest.er1
>conftest.err
5198 cat conftest.err
>&5
5199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5200 (exit $ac_status); } &&
5201 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5202 { (case "(($ac_try" in
5203 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5204 *) ac_try_echo=$ac_try;;
5206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5207 (eval "$ac_try") 2>&5
5209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5210 (exit $ac_status); }; } &&
5211 { ac_try='test -s conftest$ac_exeext'
5212 { (case "(($ac_try" in
5213 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5214 *) ac_try_echo
=$ac_try;;
5216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5217 (eval "$ac_try") 2>&5
5219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5220 (exit $ac_status); }; }; then
5221 ac_cv_func_shmat
=yes
5223 echo "$as_me: failed program was:" >&5
5224 sed 's/^/| /' conftest.
$ac_ext >&5
5229 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5230 conftest
$ac_exeext conftest.
$ac_ext
5232 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
5233 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
5235 if test $ac_cv_func_shmat = no
; then
5236 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
5237 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
5238 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
5239 echo $ECHO_N "(cached) $ECHO_C" >&6
5241 ac_check_lib_save_LIBS
=$LIBS
5243 cat >conftest.
$ac_ext <<_ACEOF
5246 cat confdefs.h
>>conftest.
$ac_ext
5247 cat >>conftest.
$ac_ext <<_ACEOF
5248 /* end confdefs.h. */
5250 /* Override any GCC internal prototype to avoid an error.
5251 Use char because int might match the return type of a GCC
5252 builtin and then its argument prototype would still apply. */
5265 rm -f conftest.
$ac_objext conftest
$ac_exeext
5266 if { (ac_try
="$ac_link"
5268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5269 *) ac_try_echo=$ac_try;;
5271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5272 (eval "$ac_link") 2>conftest.er1
5274 grep -v '^ *+' conftest.er1 >conftest.err
5276 cat conftest.err >&5
5277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } &&
5279 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5280 { (case "(($ac_try" in
5281 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5282 *) ac_try_echo
=$ac_try;;
5284 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5285 (eval "$ac_try") 2>&5
5287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5288 (exit $ac_status); }; } &&
5289 { ac_try
='test -s conftest$ac_exeext'
5290 { (case "(($ac_try" in
5291 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5292 *) ac_try_echo=$ac_try;;
5294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5295 (eval "$ac_try") 2>&5
5297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5298 (exit $ac_status); }; }; then
5299 ac_cv_lib_ipc_shmat=yes
5301 echo "$as_me: failed program was:" >&5
5302 sed 's/^/| /' conftest.$ac_ext >&5
5304 ac_cv_lib_ipc_shmat=no
5307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5308 conftest$ac_exeext conftest.$ac_ext
5309 LIBS=$ac_check_lib_save_LIBS
5311 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
5312 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
5313 if test $ac_cv_lib_ipc_shmat = yes; then
5314 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
5320 # Check for libraries that X11R6 Xt/Xaw programs need.
5321 ac_save_LDFLAGS=$LDFLAGS
5322 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
5323 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
5324 # check for ICE first), but we must link in the order -lSM -lICE or
5325 # we get undefined symbols. So assume we have SM if we have ICE.
5326 # These have to be linked with before -lX11, unlike the other
5327 # libraries we check for below, so use a different variable.
5328 # John Interrante, Karl Berry
5329 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
5330 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
5331 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
5332 echo $ECHO_N "(cached) $ECHO_C" >&6
5334 ac_check_lib_save_LIBS=$LIBS
5335 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
5336 cat >conftest.$ac_ext <<_ACEOF
5339 cat confdefs.h >>conftest.$ac_ext
5340 cat >>conftest.$ac_ext <<_ACEOF
5341 /* end confdefs.h. */
5343 /* Override any GCC internal prototype to avoid an error.
5344 Use char because int might match the return type of a GCC
5345 builtin and then its argument prototype would still apply. */
5349 char IceConnectionNumber ();
5353 return IceConnectionNumber ();
5358 rm -f conftest.$ac_objext conftest$ac_exeext
5359 if { (ac_try="$ac_link"
5361 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5362 *) ac_try_echo
=$ac_try;;
5364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5365 (eval "$ac_link") 2>conftest.er1
5367 grep -v '^ *+' conftest.er1
>conftest.err
5369 cat conftest.err
>&5
5370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5371 (exit $ac_status); } &&
5372 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5373 { (case "(($ac_try" in
5374 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5375 *) ac_try_echo=$ac_try;;
5377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5378 (eval "$ac_try") 2>&5
5380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5381 (exit $ac_status); }; } &&
5382 { ac_try='test -s conftest$ac_exeext'
5383 { (case "(($ac_try" in
5384 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5385 *) ac_try_echo
=$ac_try;;
5387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5388 (eval "$ac_try") 2>&5
5390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5391 (exit $ac_status); }; }; then
5392 ac_cv_lib_ICE_IceConnectionNumber
=yes
5394 echo "$as_me: failed program was:" >&5
5395 sed 's/^/| /' conftest.
$ac_ext >&5
5397 ac_cv_lib_ICE_IceConnectionNumber
=no
5400 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5401 conftest
$ac_exeext conftest.
$ac_ext
5402 LIBS
=$ac_check_lib_save_LIBS
5404 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
5405 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
5406 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
5407 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
5410 LDFLAGS
=$ac_save_LDFLAGS
5414 for ac_prog
in flex
lex
5416 # Extract the first word of "$ac_prog", so it can be a program name with args.
5417 set dummy
$ac_prog; ac_word
=$2
5418 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5419 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5420 if test "${ac_cv_prog_LEX+set}" = set; then
5421 echo $ECHO_N "(cached) $ECHO_C" >&6
5423 if test -n "$LEX"; then
5424 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
5426 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5430 test -z "$as_dir" && as_dir
=.
5431 for ac_exec_ext
in '' $ac_executable_extensions; do
5432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5433 ac_cv_prog_LEX
="$ac_prog"
5434 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5444 if test -n "$LEX"; then
5445 { echo "$as_me:$LINENO: result: $LEX" >&5
5446 echo "${ECHO_T}$LEX" >&6; }
5448 { echo "$as_me:$LINENO: result: no" >&5
5449 echo "${ECHO_T}no" >&6; }
5453 test -n "$LEX" && break
5455 test -n "$LEX" || LEX
=":"
5457 if test "x$LEX" != "x:"; then
5458 cat >conftest.l
<<_ACEOF
5464 e { yyless (input () != 0); }
5465 f { unput (yytext[0]); }
5466 . { BEGIN INITIAL; }
5468 #ifdef YYTEXT_POINTER
5469 extern char *yytext;
5474 return ! yylex () + ! yywrap ();
5477 { (ac_try
="$LEX conftest.l"
5479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5480 *) ac_try_echo=$ac_try;;
5482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5483 (eval "$LEX conftest.l") 2>&5
5485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5486 (exit $ac_status); }
5487 { echo "$as_me:$LINENO: checking lex output file root" >&5
5488 echo $ECHO_N "checking lex output file root... $ECHO_C" >&6; }
5489 if test "${ac_cv_prog_lex_root+set}" = set; then
5490 echo $ECHO_N "(cached) $ECHO_C" >&6
5493 if test -f lex.yy.c; then
5494 ac_cv_prog_lex_root=lex.yy
5495 elif test -f lexyy.c; then
5496 ac_cv_prog_lex_root=lexyy
5498 { { echo "$as_me:$LINENO: error: cannot find output from $LEX; giving up" >&5
5499 echo "$as_me: error: cannot find output from $LEX; giving up" >&2;}
5500 { (exit 1); exit 1; }; }
5503 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_root" >&5
5504 echo "${ECHO_T}$ac_cv_prog_lex_root" >&6; }
5505 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
5507 if test -z "${LEXLIB+set}"; then
5508 { echo "$as_me:$LINENO: checking lex library" >&5
5509 echo $ECHO_N "checking lex library... $ECHO_C" >&6; }
5510 if test "${ac_cv_lib_lex+set}" = set; then
5511 echo $ECHO_N "(cached) $ECHO_C" >&6
5515 ac_cv_lib_lex='none needed'
5516 for ac_lib in '' -lfl -ll; do
5517 LIBS="$ac_lib $ac_save_LIBS"
5518 cat >conftest.$ac_ext <<_ACEOF
5519 `cat $LEX_OUTPUT_ROOT.c
`
5521 rm -f conftest.$ac_objext conftest$ac_exeext
5522 if { (ac_try="$ac_link"
5524 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5525 *) ac_try_echo
=$ac_try;;
5527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5528 (eval "$ac_link") 2>conftest.er1
5530 grep -v '^ *+' conftest.er1
>conftest.err
5532 cat conftest.err
>&5
5533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5534 (exit $ac_status); } &&
5535 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5536 { (case "(($ac_try" in
5537 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5538 *) ac_try_echo=$ac_try;;
5540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5541 (eval "$ac_try") 2>&5
5543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5544 (exit $ac_status); }; } &&
5545 { ac_try='test -s conftest$ac_exeext'
5546 { (case "(($ac_try" in
5547 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5548 *) ac_try_echo
=$ac_try;;
5550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5551 (eval "$ac_try") 2>&5
5553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5554 (exit $ac_status); }; }; then
5555 ac_cv_lib_lex
=$ac_lib
5557 echo "$as_me: failed program was:" >&5
5558 sed 's/^/| /' conftest.
$ac_ext >&5
5563 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
5564 conftest
$ac_exeext conftest.
$ac_ext
5565 test "$ac_cv_lib_lex" != 'none needed' && break
5570 { echo "$as_me:$LINENO: result: $ac_cv_lib_lex" >&5
5571 echo "${ECHO_T}$ac_cv_lib_lex" >&6; }
5572 test "$ac_cv_lib_lex" != 'none needed' && LEXLIB
=$ac_cv_lib_lex
5576 { echo "$as_me:$LINENO: checking whether yytext is a pointer" >&5
5577 echo $ECHO_N "checking whether yytext is a pointer... $ECHO_C" >&6; }
5578 if test "${ac_cv_prog_lex_yytext_pointer+set}" = set; then
5579 echo $ECHO_N "(cached) $ECHO_C" >&6
5581 # POSIX says lex can declare yytext either as a pointer or an array; the
5582 # default is implementation-dependent. Figure out which it is, since
5583 # not all implementations provide the %pointer and %array declarations.
5584 ac_cv_prog_lex_yytext_pointer
=no
5586 LIBS
="$LEXLIB $ac_save_LIBS"
5587 cat >conftest.
$ac_ext <<_ACEOF
5588 #define YYTEXT_POINTER 1
5589 `cat $LEX_OUTPUT_ROOT.c`
5591 rm -f conftest.
$ac_objext conftest
$ac_exeext
5592 if { (ac_try
="$ac_link"
5594 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5595 *) ac_try_echo=$ac_try;;
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_link") 2>conftest.er1
5600 grep -v '^ *+' conftest.er1 >conftest.err
5602 cat conftest.err >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } &&
5605 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5606 { (case "(($ac_try" in
5607 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5608 *) ac_try_echo
=$ac_try;;
5610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5611 (eval "$ac_try") 2>&5
5613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5614 (exit $ac_status); }; } &&
5615 { ac_try
='test -s conftest$ac_exeext'
5616 { (case "(($ac_try" in
5617 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5618 *) ac_try_echo=$ac_try;;
5620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5621 (eval "$ac_try") 2>&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); }; }; then
5625 ac_cv_prog_lex_yytext_pointer=yes
5627 echo "$as_me: failed program was:" >&5
5628 sed 's/^/| /' conftest.$ac_ext >&5
5633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5634 conftest$ac_exeext conftest.$ac_ext
5638 { echo "$as_me:$LINENO: result: $ac_cv_prog_lex_yytext_pointer" >&5
5639 echo "${ECHO_T}$ac_cv_prog_lex_yytext_pointer" >&6; }
5640 if test $ac_cv_prog_lex_yytext_pointer = yes; then
5642 cat >>confdefs.h <<\_ACEOF
5643 #define YYTEXT_POINTER 1
5647 rm -f conftest.l $LEX_OUTPUT_ROOT.c
5651 for ac_prog in $LEX flex lex
5653 # Extract the first word of "$ac_prog", so it can be a program name with args.
5654 set dummy $ac_prog; ac_word=$2
5655 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5657 if test "${ac_cv_prog_XLEX+set}" = set; then
5658 echo $ECHO_N "(cached) $ECHO_C" >&6
5660 if test -n "$XLEX"; then
5661 ac_cv_prog_XLEX="$XLEX" # Let the user override the test.
5663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5667 test -z "$as_dir" && as_dir=.
5668 for ac_exec_ext in '' $ac_executable_extensions; do
5669 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5670 ac_cv_prog_XLEX="$ac_prog"
5671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5680 XLEX=$ac_cv_prog_XLEX
5681 if test -n "$XLEX"; then
5682 { echo "$as_me:$LINENO: result: $XLEX" >&5
5683 echo "${ECHO_T}$XLEX" >&6; }
5685 { echo "$as_me:$LINENO: result: no" >&5
5686 echo "${ECHO_T}no" >&6; }
5690 test -n "$XLEX" && break
5692 test -n "$XLEX" || XLEX="none"
5694 if test "$XLEX" = "none"
5696 { { echo "$as_me:$LINENO: error: no suitable lex found. Please install the 'flex' package." >&5
5697 echo "$as_me: error: no suitable lex found. Please install the 'flex' package." >&2;}
5698 { (exit 1); exit 1; }; }
5701 for ac_prog in bison
5703 # Extract the first word of "$ac_prog", so it can be a program name with args.
5704 set dummy $ac_prog; ac_word=$2
5705 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5706 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5707 if test "${ac_cv_prog_BISON+set}" = set; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 if test -n "$BISON"; then
5711 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5717 test -z "$as_dir" && as_dir=.
5718 for ac_exec_ext in '' $ac_executable_extensions; do
5719 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5720 ac_cv_prog_BISON="$ac_prog"
5721 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5730 BISON=$ac_cv_prog_BISON
5731 if test -n "$BISON"; then
5732 { echo "$as_me:$LINENO: result: $BISON" >&5
5733 echo "${ECHO_T}$BISON" >&6; }
5735 { echo "$as_me:$LINENO: result: no" >&5
5736 echo "${ECHO_T}no" >&6; }
5740 test -n "$BISON" && break
5742 test -n "$BISON" || BISON="none"
5744 if test "$BISON" = "none"
5746 { { echo "$as_me:$LINENO: error: no suitable bison found. Please install the 'bison' package." >&5
5747 echo "$as_me: error: no suitable bison found. Please install the 'bison' package." >&2;}
5748 { (exit 1); exit 1; }; }
5751 if test -n "$ac_tool_prefix"; then
5752 for ac_prog in gas as
5754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5756 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5757 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5758 if test "${ac_cv_prog_AS+set}" = set; then
5759 echo $ECHO_N "(cached) $ECHO_C" >&6
5761 if test -n "$AS"; then
5762 ac_cv_prog_AS="$AS" # Let the user override the test.
5764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5768 test -z "$as_dir" && as_dir=.
5769 for ac_exec_ext in '' $ac_executable_extensions; do
5770 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5771 ac_cv_prog_AS="$ac_tool_prefix$ac_prog"
5772 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5782 if test -n "$AS"; then
5783 { echo "$as_me:$LINENO: result: $AS" >&5
5784 echo "${ECHO_T}$AS" >&6; }
5786 { echo "$as_me:$LINENO: result: no" >&5
5787 echo "${ECHO_T}no" >&6; }
5791 test -n "$AS" && break
5794 if test -z "$AS"; then
5796 for ac_prog in gas as
5798 # Extract the first word of "$ac_prog", so it can be a program name with args.
5799 set dummy $ac_prog; ac_word=$2
5800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5802 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
5803 echo $ECHO_N "(cached) $ECHO_C" >&6
5805 if test -n "$ac_ct_AS"; then
5806 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 test -z "$as_dir" && as_dir=.
5813 for ac_exec_ext in '' $ac_executable_extensions; do
5814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5815 ac_cv_prog_ac_ct_AS="$ac_prog"
5816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5826 if test -n "$ac_ct_AS"; then
5827 { echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
5828 echo "${ECHO_T}$ac_ct_AS" >&6; }
5830 { echo "$as_me:$LINENO: result: no" >&5
5831 echo "${ECHO_T}no" >&6; }
5835 test -n "$ac_ct_AS" && break
5838 if test "x$ac_ct_AS" = x; then
5841 case $cross_compiling:$ac_tool_warned in
5843 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5844 whose name does not start with the host triplet. If you think this
5845 configuration is useful to you, please write to autoconf@gnu.org." >&5
5846 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5847 whose name does not start with the host triplet. If you think this
5848 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5849 ac_tool_warned=yes ;;
5855 if test -n "$ac_tool_prefix"; then
5856 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5857 set dummy ${ac_tool_prefix}ld; ac_word=$2
5858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5860 if test "${ac_cv_prog_LD+set}" = set; then
5861 echo $ECHO_N "(cached) $ECHO_C" >&6
5863 if test -n "$LD"; then
5864 ac_cv_prog_LD="$LD" # Let the user override the test.
5866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5870 test -z "$as_dir" && as_dir=.
5871 for ac_exec_ext in '' $ac_executable_extensions; do
5872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5873 ac_cv_prog_LD="${ac_tool_prefix}ld"
5874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5884 if test -n "$LD"; then
5885 { echo "$as_me:$LINENO: result: $LD" >&5
5886 echo "${ECHO_T}$LD" >&6; }
5888 { echo "$as_me:$LINENO: result: no" >&5
5889 echo "${ECHO_T}no" >&6; }
5894 if test -z "$ac_cv_prog_LD"; then
5896 # Extract the first word of "ld", so it can be a program name with args.
5897 set dummy ld; ac_word=$2
5898 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5900 if test "${ac_cv_prog_ac_ct_LD+set}" = set; then
5901 echo $ECHO_N "(cached) $ECHO_C" >&6
5903 if test -n "$ac_ct_LD"; then
5904 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5910 test -z "$as_dir" && as_dir=.
5911 for ac_exec_ext in '' $ac_executable_extensions; do
5912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5913 ac_cv_prog_ac_ct_LD="ld"
5914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5923 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5924 if test -n "$ac_ct_LD"; then
5925 { echo "$as_me:$LINENO: result: $ac_ct_LD" >&5
5926 echo "${ECHO_T}$ac_ct_LD" >&6; }
5928 { echo "$as_me:$LINENO: result: no" >&5
5929 echo "${ECHO_T}no" >&6; }
5932 if test "x$ac_ct_LD" = x; then
5935 case $cross_compiling:$ac_tool_warned in
5937 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
5938 whose name does not start with the host triplet. If you think this
5939 configuration is useful to you, please write to autoconf@gnu.org." >&5
5940 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
5941 whose name does not start with the host triplet. If you think this
5942 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
5943 ac_tool_warned=yes ;;
5951 if test -n "$ac_tool_prefix"; then
5952 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5953 set dummy ${ac_tool_prefix}ar; ac_word=$2
5954 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5955 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5956 if test "${ac_cv_prog_AR+set}" = set; then
5957 echo $ECHO_N "(cached) $ECHO_C" >&6
5959 if test -n "$AR"; then
5960 ac_cv_prog_AR="$AR" # Let the user override the test.
5962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5966 test -z "$as_dir" && as_dir=.
5967 for ac_exec_ext in '' $ac_executable_extensions; do
5968 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
5969 ac_cv_prog_AR="${ac_tool_prefix}ar"
5970 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5980 if test -n "$AR"; then
5981 { echo "$as_me:$LINENO: result: $AR" >&5
5982 echo "${ECHO_T}$AR" >&6; }
5984 { echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6; }
5990 if test -z "$ac_cv_prog_AR"; then
5992 # Extract the first word of "ar", so it can be a program name with args.
5993 set dummy ar; ac_word=$2
5994 { echo "$as_me:$LINENO: checking for $ac_word" >&5
5995 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
5996 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5997 echo $ECHO_N "(cached) $ECHO_C" >&6
5999 if test -n "$ac_ct_AR"; then
6000 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6006 test -z "$as_dir" && as_dir=.
6007 for ac_exec_ext in '' $ac_executable_extensions; do
6008 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6009 ac_cv_prog_ac_ct_AR="ar"
6010 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6020 if test -n "$ac_ct_AR"; then
6021 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6022 echo "${ECHO_T}$ac_ct_AR" >&6; }
6024 { echo "$as_me:$LINENO: result: no" >&5
6025 echo "${ECHO_T}no" >&6; }
6028 if test "x$ac_ct_AR" = x; then
6031 case $cross_compiling:$ac_tool_warned in
6033 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6034 whose name does not start with the host triplet. If you think this
6035 configuration is useful to you, please write to autoconf@gnu.org." >&5
6036 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6037 whose name does not start with the host triplet. If you think this
6038 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6039 ac_tool_warned=yes ;;
6047 if test -n "$ac_tool_prefix"; then
6048 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6049 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6050 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6051 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6052 if test "${ac_cv_prog_RANLIB+set}" = set; then
6053 echo $ECHO_N "(cached) $ECHO_C" >&6
6055 if test -n "$RANLIB"; then
6056 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6065 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6066 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 RANLIB=$ac_cv_prog_RANLIB
6076 if test -n "$RANLIB"; then
6077 { echo "$as_me:$LINENO: result: $RANLIB" >&5
6078 echo "${ECHO_T}$RANLIB" >&6; }
6080 { echo "$as_me:$LINENO: result: no" >&5
6081 echo "${ECHO_T}no" >&6; }
6086 if test -z "$ac_cv_prog_RANLIB"; then
6087 ac_ct_RANLIB=$RANLIB
6088 # Extract the first word of "ranlib", so it can be a program name with args.
6089 set dummy ranlib; ac_word=$2
6090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6092 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6093 echo $ECHO_N "(cached) $ECHO_C" >&6
6095 if test -n "$ac_ct_RANLIB"; then
6096 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_ac_ct_RANLIB="ranlib"
6106 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6115 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6116 if test -n "$ac_ct_RANLIB"; then
6117 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6118 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
6120 { echo "$as_me:$LINENO: result: no" >&5
6121 echo "${ECHO_T}no" >&6; }
6124 if test "x$ac_ct_RANLIB" = x; then
6127 case $cross_compiling:$ac_tool_warned in
6129 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6130 whose name does not start with the host triplet. If you think this
6131 configuration is useful to you, please write to autoconf@gnu.org." >&5
6132 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6133 whose name does not start with the host triplet. If you think this
6134 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6135 ac_tool_warned=yes ;;
6137 RANLIB=$ac_ct_RANLIB
6140 RANLIB="$ac_cv_prog_RANLIB"
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}strip; ac_word=$2
6146 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6147 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6148 if test "${ac_cv_prog_STRIP+set}" = set; then
6149 echo $ECHO_N "(cached) $ECHO_C" >&6
6151 if test -n "$STRIP"; then
6152 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6161 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6162 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 STRIP=$ac_cv_prog_STRIP
6172 if test -n "$STRIP"; then
6173 { echo "$as_me:$LINENO: result: $STRIP" >&5
6174 echo "${ECHO_T}$STRIP" >&6; }
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6182 if test -z "$ac_cv_prog_STRIP"; then
6184 # Extract the first word of "strip", so it can be a program name with args.
6185 set dummy strip; ac_word=$2
6186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6188 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6189 echo $ECHO_N "(cached) $ECHO_C" >&6
6191 if test -n "$ac_ct_STRIP"; then
6192 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6201 ac_cv_prog_ac_ct_STRIP="strip"
6202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6211 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6212 if test -n "$ac_ct_STRIP"; then
6213 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6214 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
6216 { echo "$as_me:$LINENO: result: no" >&5
6217 echo "${ECHO_T}no" >&6; }
6220 if test "x$ac_ct_STRIP" = x; then
6223 case $cross_compiling:$ac_tool_warned in
6225 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6226 whose name does not start with the host triplet. If you think this
6227 configuration is useful to you, please write to autoconf@gnu.org." >&5
6228 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6229 whose name does not start with the host triplet. If you think this
6230 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6231 ac_tool_warned=yes ;;
6236 STRIP="$ac_cv_prog_STRIP"
6239 if test -n "$ac_tool_prefix"; then
6240 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
6241 set dummy ${ac_tool_prefix}windres; ac_word=$2
6242 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6244 if test "${ac_cv_prog_WINDRES+set}" = set; then
6245 echo $ECHO_N "(cached) $ECHO_C" >&6
6247 if test -n "$WINDRES"; then
6248 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
6250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6254 test -z "$as_dir" && as_dir=.
6255 for ac_exec_ext in '' $ac_executable_extensions; do
6256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6257 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
6258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6267 WINDRES=$ac_cv_prog_WINDRES
6268 if test -n "$WINDRES"; then
6269 { echo "$as_me:$LINENO: result: $WINDRES" >&5
6270 echo "${ECHO_T}$WINDRES" >&6; }
6272 { echo "$as_me:$LINENO: result: no" >&5
6273 echo "${ECHO_T}no" >&6; }
6278 if test -z "$ac_cv_prog_WINDRES"; then
6279 ac_ct_WINDRES=$WINDRES
6280 # Extract the first word of "windres", so it can be a program name with args.
6281 set dummy windres; ac_word=$2
6282 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6283 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6284 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
6285 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 if test -n "$ac_ct_WINDRES"; then
6288 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6297 ac_cv_prog_ac_ct_WINDRES="windres"
6298 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6307 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
6308 if test -n "$ac_ct_WINDRES"; then
6309 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
6310 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
6312 { echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6; }
6316 if test "x$ac_ct_WINDRES" = x; then
6319 case $cross_compiling:$ac_tool_warned in
6321 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
6322 whose name does not start with the host triplet. If you think this
6323 configuration is useful to you, please write to autoconf@gnu.org." >&5
6324 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
6325 whose name does not start with the host triplet. If you think this
6326 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
6327 ac_tool_warned=yes ;;
6329 WINDRES=$ac_ct_WINDRES
6332 WINDRES="$ac_cv_prog_WINDRES"
6335 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
6336 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
6338 if test "$LN_S" = "ln -s"; then
6339 { echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6; }
6342 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
6343 echo "${ECHO_T}no, using $LN_S" >&6; }
6346 { echo "$as_me:$LINENO: checking whether ln works" >&5
6347 echo $ECHO_N "checking whether ln works... $ECHO_C" >&6; }
6348 rm -f conf$$ conf$$.file
6350 if ln conf$$.file conf$$ 2>/dev/null; then
6353 { echo "$as_me:$LINENO: result: yes" >&5
6354 echo "${ECHO_T}yes" >&6; }
6358 { echo "$as_me:$LINENO: result: no, using $LN" >&5
6359 echo "${ECHO_T}no, using $LN" >&6; }
6361 rm -f conf$$ conf$$.file
6362 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
6363 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
6364 if test "${ac_cv_path_GREP+set}" = set; then
6365 echo $ECHO_N "(cached) $ECHO_C" >&6
6367 # Extract the first word of "grep ggrep" to use in msg output
6368 if test -z "$GREP"; then
6369 set dummy grep ggrep; ac_prog_name=$2
6370 if test "${ac_cv_path_GREP+set}" = set; then
6371 echo $ECHO_N "(cached) $ECHO_C" >&6
6373 ac_path_GREP_found=false
6374 # Loop through the user's path and test for each of PROGNAME-LIST
6375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6376 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6379 test -z "$as_dir" && as_dir=.
6380 for ac_prog in grep ggrep; do
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6383 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
6384 # Check for GNU ac_path_GREP and select it if it is found.
6385 # Check for GNU $ac_path_GREP
6386 case `"$ac_path_GREP" --version 2>&1` in
6388 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6391 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6394 cat "conftest.in" "conftest.in" >"conftest.tmp"
6395 mv "conftest.tmp" "conftest.in"
6396 cp "conftest.in" "conftest.nl"
6397 echo 'GREP' >> "conftest.nl"
6398 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6399 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6400 ac_count=`expr $ac_count + 1`
6401 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6402 # Best one so far, save it but keep looking for a better one
6403 ac_cv_path_GREP="$ac_path_GREP"
6404 ac_path_GREP_max=$ac_count
6406 # 10*(2^10) chars as input seems more than enough
6407 test $ac_count -gt 10 && break
6409 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6413 $ac_path_GREP_found && break 3
6423 GREP="$ac_cv_path_GREP"
6424 if test -z "$GREP"; then
6425 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6426 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6427 { (exit 1); exit 1; }; }
6431 ac_cv_path_GREP=$GREP
6436 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
6437 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
6438 GREP="$ac_cv_path_GREP"
6441 { echo "$as_me:$LINENO: checking for egrep" >&5
6442 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
6443 if test "${ac_cv_path_EGREP+set}" = set; then
6444 echo $ECHO_N "(cached) $ECHO_C" >&6
6446 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6447 then ac_cv_path_EGREP="$GREP -E"
6449 # Extract the first word of "egrep" to use in msg output
6450 if test -z "$EGREP"; then
6451 set dummy egrep; ac_prog_name=$2
6452 if test "${ac_cv_path_EGREP+set}" = set; then
6453 echo $ECHO_N "(cached) $ECHO_C" >&6
6455 ac_path_EGREP_found=false
6456 # Loop through the user's path and test for each of PROGNAME-LIST
6457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6461 test -z "$as_dir" && as_dir=.
6462 for ac_prog in egrep; do
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6465 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
6466 # Check for GNU ac_path_EGREP and select it if it is found.
6467 # Check for GNU $ac_path_EGREP
6468 case `"$ac_path_EGREP" --version 2>&1` in
6470 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6473 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
6476 cat "conftest.in" "conftest.in" >"conftest.tmp"
6477 mv "conftest.tmp" "conftest.in"
6478 cp "conftest.in" "conftest.nl"
6479 echo 'EGREP' >> "conftest.nl"
6480 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6481 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6482 ac_count=`expr $ac_count + 1`
6483 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6484 # Best one so far, save it but keep looking for a better one
6485 ac_cv_path_EGREP="$ac_path_EGREP"
6486 ac_path_EGREP_max=$ac_count
6488 # 10*(2^10) chars as input seems more than enough
6489 test $ac_count -gt 10 && break
6491 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6495 $ac_path_EGREP_found && break 3
6505 EGREP="$ac_cv_path_EGREP"
6506 if test -z "$EGREP"; then
6507 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
6508 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
6509 { (exit 1); exit 1; }; }
6513 ac_cv_path_EGREP=$EGREP
6519 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
6520 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
6521 EGREP="$ac_cv_path_EGREP"
6524 # Extract the first word of "ldconfig", so it can be a program name with args.
6525 set dummy ldconfig; ac_word=$2
6526 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6527 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6528 if test "${ac_cv_path_LDCONFIG+set}" = set; then
6529 echo $ECHO_N "(cached) $ECHO_C" >&6
6533 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6537 for as_dir in /sbin /usr/sbin $PATH
6540 test -z "$as_dir" && as_dir=.
6541 for ac_exec_ext in '' $ac_executable_extensions; do
6542 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6543 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6544 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6551 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6555 LDCONFIG=$ac_cv_path_LDCONFIG
6556 if test -n "$LDCONFIG"; then
6557 { echo "$as_me:$LINENO: result: $LDCONFIG" >&5
6558 echo "${ECHO_T}$LDCONFIG" >&6; }
6560 { echo "$as_me:$LINENO: result: no" >&5
6561 echo "${ECHO_T}no" >&6; }
6565 # Find a good install program. We prefer a C program (faster),
6566 # so one script is as good as another. But avoid the broken or
6567 # incompatible versions:
6568 # SysV /etc/install, /usr/sbin/install
6569 # SunOS /usr/etc/install
6570 # IRIX /sbin/install
6572 # AmigaOS /C/install, which installs bootblocks on floppy discs
6573 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6574 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6575 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6576 # OS/2's system install, which has a completely different semantic
6577 # ./install, which can be erroneously created by make from ./install.sh.
6578 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
6579 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
6580 if test -z "$INSTALL"; then
6581 if test "${ac_cv_path_install+set}" = set; then
6582 echo $ECHO_N "(cached) $ECHO_C" >&6
6584 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 test -z "$as_dir" && as_dir=.
6589 # Account for people who put trailing slashes in PATH elements.
6591 ./ | .// | /cC/* | \
6592 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
6593 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
6596 # OSF1 and SCO ODT 3.0 have their own names for install.
6597 # Don't use installbsd from OSF since it installs stuff as root
6599 for ac_prog in ginstall scoinst install; do
6600 for ac_exec_ext in '' $ac_executable_extensions; do
6601 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
6602 if test $ac_prog = install &&
6603 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6604 # AIX install. It has an incompatible calling convention.
6606 elif test $ac_prog = install &&
6607 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
6608 # program-specific install script used by HP pwplus--don't use.
6611 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
6624 if test "${ac_cv_path_install+set}" = set; then
6625 INSTALL=$ac_cv_path_install
6627 # As a last resort, use the slow shell script. Don't cache a
6628 # value for INSTALL within a source directory, because that will
6629 # break other packages using the cache if that directory is
6630 # removed, or if the value is a relative name.
6631 INSTALL=$ac_install_sh
6634 { echo "$as_me:$LINENO: result: $INSTALL" >&5
6635 echo "${ECHO_T}$INSTALL" >&6; }
6637 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6638 # It thinks the first close brace ends the variable substitution.
6639 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
6641 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
6643 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
6646 [\\/$]* | ?:[\\/]* ) ;;
6647 *) INSTALL="\\\$(TOPSRCDIR)/$INSTALL" ;;
6650 for ac_prog in lclint lint
6652 # Extract the first word of "$ac_prog", so it can be a program name with args.
6653 set dummy $ac_prog; ac_word=$2
6654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6656 if test "${ac_cv_prog_LINT+set}" = set; then
6657 echo $ECHO_N "(cached) $ECHO_C" >&6
6659 if test -n "$LINT"; then
6660 ac_cv_prog_LINT="$LINT" # Let the user override the test.
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_LINT="$ac_prog"
6670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6679 LINT=$ac_cv_prog_LINT
6680 if test -n "$LINT"; then
6681 { echo "$as_me:$LINENO: result: $LINT" >&5
6682 echo "${ECHO_T}$LINT" >&6; }
6684 { echo "$as_me:$LINENO: result: no" >&5
6685 echo "${ECHO_T}no" >&6; }
6689 test -n "$LINT" && break
6692 if test "$LINT" = "lint"
6694 LINTFLAGS="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
6699 for ac_prog in fontforge
6701 # Extract the first word of "$ac_prog", so it can be a program name with args.
6702 set dummy $ac_prog; ac_word=$2
6703 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6705 if test "${ac_cv_prog_FONTFORGE+set}" = set; then
6706 echo $ECHO_N "(cached) $ECHO_C" >&6
6708 if test -n "$FONTFORGE"; then
6709 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 test -z "$as_dir" && as_dir=.
6716 for ac_exec_ext in '' $ac_executable_extensions; do
6717 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6718 ac_cv_prog_FONTFORGE="$ac_prog"
6719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6728 FONTFORGE=$ac_cv_prog_FONTFORGE
6729 if test -n "$FONTFORGE"; then
6730 { echo "$as_me:$LINENO: result: $FONTFORGE" >&5
6731 echo "${ECHO_T}$FONTFORGE" >&6; }
6733 { echo "$as_me:$LINENO: result: no" >&5
6734 echo "${ECHO_T}no" >&6; }
6738 test -n "$FONTFORGE" && break
6740 test -n "$FONTFORGE" || FONTFORGE="false"
6742 for ac_prog in pkg-config
6744 # Extract the first word of "$ac_prog", so it can be a program name with args.
6745 set dummy $ac_prog; ac_word=$2
6746 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6747 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6748 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then
6749 echo $ECHO_N "(cached) $ECHO_C" >&6
6751 if test -n "$PKG_CONFIG"; then
6752 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_PKG_CONFIG="$ac_prog"
6762 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6771 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6772 if test -n "$PKG_CONFIG"; then
6773 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
6774 echo "${ECHO_T}$PKG_CONFIG" >&6; }
6776 { echo "$as_me:$LINENO: result: no" >&5
6777 echo "${ECHO_T}no" >&6; }
6781 test -n "$PKG_CONFIG" && break
6783 test -n "$PKG_CONFIG" || PKG_CONFIG="false"
6788 # Extract the first word of "prelink", so it can be a program name with args.
6789 set dummy prelink; ac_word=$2
6790 { echo "$as_me:$LINENO: checking for $ac_word" >&5
6791 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
6792 if test "${ac_cv_path_PRELINK+set}" = set; then
6793 echo $ECHO_N "(cached) $ECHO_C" >&6
6797 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
6800 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6801 for as_dir in /sbin /usr/sbin $PATH
6804 test -z "$as_dir" && as_dir=.
6805 for ac_exec_ext in '' $ac_executable_extensions; do
6806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
6807 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
6808 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6815 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
6819 PRELINK=$ac_cv_path_PRELINK
6820 if test -n "$PRELINK"; then
6821 { echo "$as_me:$LINENO: result: $PRELINK" >&5
6822 echo "${ECHO_T}$PRELINK" >&6; }
6824 { echo "$as_me:$LINENO: result: no" >&5
6825 echo "${ECHO_T}no" >&6; }
6834 { echo "$as_me:$LINENO: checking for i386_set_ldt in -li386" >&5
6835 echo $ECHO_N "checking for i386_set_ldt in -li386... $ECHO_C" >&6; }
6836 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then
6837 echo $ECHO_N "(cached) $ECHO_C" >&6
6839 ac_check_lib_save_LIBS=$LIBS
6841 cat >conftest.$ac_ext <<_ACEOF
6844 cat confdefs.h >>conftest.$ac_ext
6845 cat >>conftest.$ac_ext <<_ACEOF
6846 /* end confdefs.h. */
6848 /* Override any GCC internal prototype to avoid an error.
6849 Use char because int might match the return type of a GCC
6850 builtin and then its argument prototype would still apply. */
6854 char i386_set_ldt ();
6858 return i386_set_ldt ();
6863 rm -f conftest.$ac_objext conftest$ac_exeext
6864 if { (ac_try="$ac_link"
6866 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6867 *) ac_try_echo
=$ac_try;;
6869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6870 (eval "$ac_link") 2>conftest.er1
6872 grep -v '^ *+' conftest.er1
>conftest.err
6874 cat conftest.err
>&5
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); } &&
6877 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6878 { (case "(($ac_try" in
6879 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6880 *) ac_try_echo=$ac_try;;
6882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6883 (eval "$ac_try") 2>&5
6885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6886 (exit $ac_status); }; } &&
6887 { ac_try='test -s conftest$ac_exeext'
6888 { (case "(($ac_try" in
6889 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6890 *) ac_try_echo
=$ac_try;;
6892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6893 (eval "$ac_try") 2>&5
6895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6896 (exit $ac_status); }; }; then
6897 ac_cv_lib_i386_i386_set_ldt
=yes
6899 echo "$as_me: failed program was:" >&5
6900 sed 's/^/| /' conftest.
$ac_ext >&5
6902 ac_cv_lib_i386_i386_set_ldt
=no
6905 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
6906 conftest
$ac_exeext conftest.
$ac_ext
6907 LIBS
=$ac_check_lib_save_LIBS
6909 { echo "$as_me:$LINENO: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6910 echo "${ECHO_T}$ac_cv_lib_i386_i386_set_ldt" >&6; }
6911 if test $ac_cv_lib_i386_i386_set_ldt = yes; then
6912 cat >>confdefs.h
<<_ACEOF
6913 #define HAVE_LIBI386 1
6921 { echo "$as_me:$LINENO: checking for _oss_ioctl in -lossaudio" >&5
6922 echo $ECHO_N "checking for _oss_ioctl in -lossaudio... $ECHO_C" >&6; }
6923 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then
6924 echo $ECHO_N "(cached) $ECHO_C" >&6
6926 ac_check_lib_save_LIBS
=$LIBS
6927 LIBS
="-lossaudio $LIBS"
6928 cat >conftest.
$ac_ext <<_ACEOF
6931 cat confdefs.h
>>conftest.
$ac_ext
6932 cat >>conftest.
$ac_ext <<_ACEOF
6933 /* end confdefs.h. */
6935 /* Override any GCC internal prototype to avoid an error.
6936 Use char because int might match the return type of a GCC
6937 builtin and then its argument prototype would still apply. */
6945 return _oss_ioctl ();
6950 rm -f conftest.
$ac_objext conftest
$ac_exeext
6951 if { (ac_try
="$ac_link"
6953 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6954 *) ac_try_echo=$ac_try;;
6956 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6957 (eval "$ac_link") 2>conftest.er1
6959 grep -v '^ *+' conftest.er1 >conftest.err
6961 cat conftest.err >&5
6962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6963 (exit $ac_status); } &&
6964 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
6965 { (case "(($ac_try" in
6966 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6967 *) ac_try_echo
=$ac_try;;
6969 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6970 (eval "$ac_try") 2>&5
6972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6973 (exit $ac_status); }; } &&
6974 { ac_try
='test -s conftest$ac_exeext'
6975 { (case "(($ac_try" in
6976 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6977 *) ac_try_echo=$ac_try;;
6979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6980 (eval "$ac_try") 2>&5
6982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6983 (exit $ac_status); }; }; then
6984 ac_cv_lib_ossaudio__oss_ioctl=yes
6986 echo "$as_me: failed program was:" >&5
6987 sed 's/^/| /' conftest.$ac_ext >&5
6989 ac_cv_lib_ossaudio__oss_ioctl=no
6992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6993 conftest$ac_exeext conftest.$ac_ext
6994 LIBS=$ac_check_lib_save_LIBS
6996 { echo "$as_me:$LINENO: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6997 echo "${ECHO_T}$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6998 if test $ac_cv_lib_ossaudio__oss_ioctl = yes; then
6999 cat >>confdefs.h <<_ACEOF
7000 #define HAVE_LIBOSSAUDIO 1
7003 LIBS="-lossaudio $LIBS"
7008 { echo "$as_me:$LINENO: checking for _xpg4_setrunelocale in -lxpg4" >&5
7009 echo $ECHO_N "checking for _xpg4_setrunelocale in -lxpg4... $ECHO_C" >&6; }
7010 if test "${ac_cv_lib_xpg4__xpg4_setrunelocale+set}" = set; then
7011 echo $ECHO_N "(cached) $ECHO_C" >&6
7013 ac_check_lib_save_LIBS=$LIBS
7015 cat >conftest.$ac_ext <<_ACEOF
7018 cat confdefs.h >>conftest.$ac_ext
7019 cat >>conftest.$ac_ext <<_ACEOF
7020 /* end confdefs.h. */
7022 /* Override any GCC internal prototype to avoid an error.
7023 Use char because int might match the return type of a GCC
7024 builtin and then its argument prototype would still apply. */
7028 char _xpg4_setrunelocale ();
7032 return _xpg4_setrunelocale ();
7037 rm -f conftest.$ac_objext conftest$ac_exeext
7038 if { (ac_try="$ac_link"
7040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7041 *) ac_try_echo
=$ac_try;;
7043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7044 (eval "$ac_link") 2>conftest.er1
7046 grep -v '^ *+' conftest.er1
>conftest.err
7048 cat conftest.err
>&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7052 { (case "(($ac_try" in
7053 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7054 *) ac_try_echo=$ac_try;;
7056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7057 (eval "$ac_try") 2>&5
7059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7060 (exit $ac_status); }; } &&
7061 { ac_try='test -s conftest$ac_exeext'
7062 { (case "(($ac_try" in
7063 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7064 *) ac_try_echo
=$ac_try;;
7066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7067 (eval "$ac_try") 2>&5
7069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7070 (exit $ac_status); }; }; then
7071 ac_cv_lib_xpg4__xpg4_setrunelocale
=yes
7073 echo "$as_me: failed program was:" >&5
7074 sed 's/^/| /' conftest.
$ac_ext >&5
7076 ac_cv_lib_xpg4__xpg4_setrunelocale
=no
7079 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7080 conftest
$ac_exeext conftest.
$ac_ext
7081 LIBS
=$ac_check_lib_save_LIBS
7083 { echo "$as_me:$LINENO: result: $ac_cv_lib_xpg4__xpg4_setrunelocale" >&5
7084 echo "${ECHO_T}$ac_cv_lib_xpg4__xpg4_setrunelocale" >&6; }
7085 if test $ac_cv_lib_xpg4__xpg4_setrunelocale = yes; then
7086 cat >>confdefs.h
<<_ACEOF
7087 #define HAVE_LIBXPG4 1
7094 { echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
7095 echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6; }
7096 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then
7097 echo $ECHO_N "(cached) $ECHO_C" >&6
7099 ac_check_lib_save_LIBS
=$LIBS
7100 LIBS
="-lpthread $LIBS"
7101 cat >conftest.
$ac_ext <<_ACEOF
7104 cat confdefs.h
>>conftest.
$ac_ext
7105 cat >>conftest.
$ac_ext <<_ACEOF
7106 /* end confdefs.h. */
7108 /* Override any GCC internal prototype to avoid an error.
7109 Use char because int might match the return type of a GCC
7110 builtin and then its argument prototype would still apply. */
7114 char pthread_create ();
7118 return pthread_create ();
7123 rm -f conftest.
$ac_objext conftest
$ac_exeext
7124 if { (ac_try
="$ac_link"
7126 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7127 *) ac_try_echo=$ac_try;;
7129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7130 (eval "$ac_link") 2>conftest.er1
7132 grep -v '^ *+' conftest.er1 >conftest.err
7134 cat conftest.err >&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } &&
7137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7138 { (case "(($ac_try" in
7139 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7140 *) ac_try_echo
=$ac_try;;
7142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7143 (eval "$ac_try") 2>&5
7145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7146 (exit $ac_status); }; } &&
7147 { ac_try
='test -s conftest$ac_exeext'
7148 { (case "(($ac_try" in
7149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7150 *) ac_try_echo=$ac_try;;
7152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7153 (eval "$ac_try") 2>&5
7155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7156 (exit $ac_status); }; }; then
7157 ac_cv_lib_pthread_pthread_create=yes
7159 echo "$as_me: failed program was:" >&5
7160 sed 's/^/| /' conftest.$ac_ext >&5
7162 ac_cv_lib_pthread_pthread_create=no
7165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7166 conftest$ac_exeext conftest.$ac_ext
7167 LIBS=$ac_check_lib_save_LIBS
7169 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_create" >&5
7170 echo "${ECHO_T}$ac_cv_lib_pthread_pthread_create" >&6; }
7171 if test $ac_cv_lib_pthread_pthread_create = yes; then
7172 LIBPTHREAD="-lpthread"
7191 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
7192 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
7193 if test "${ac_cv_header_stdc+set}" = set; then
7194 echo $ECHO_N "(cached) $ECHO_C" >&6
7196 cat >conftest.$ac_ext <<_ACEOF
7199 cat confdefs.h >>conftest.$ac_ext
7200 cat >>conftest.$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7215 rm -f conftest.$ac_objext
7216 if { (ac_try="$ac_compile"
7218 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7219 *) ac_try_echo
=$ac_try;;
7221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7222 (eval "$ac_compile") 2>conftest.er1
7224 grep -v '^ *+' conftest.er1
>conftest.err
7226 cat conftest.err
>&5
7227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7228 (exit $ac_status); } &&
7229 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7230 { (case "(($ac_try" in
7231 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7232 *) ac_try_echo=$ac_try;;
7234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7235 (eval "$ac_try") 2>&5
7237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7238 (exit $ac_status); }; } &&
7239 { ac_try='test -s conftest.$ac_objext'
7240 { (case "(($ac_try" in
7241 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7242 *) ac_try_echo
=$ac_try;;
7244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7245 (eval "$ac_try") 2>&5
7247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7248 (exit $ac_status); }; }; then
7249 ac_cv_header_stdc
=yes
7251 echo "$as_me: failed program was:" >&5
7252 sed 's/^/| /' conftest.
$ac_ext >&5
7254 ac_cv_header_stdc
=no
7257 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7259 if test $ac_cv_header_stdc = yes; then
7260 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7261 cat >conftest.
$ac_ext <<_ACEOF
7264 cat confdefs.h
>>conftest.
$ac_ext
7265 cat >>conftest.
$ac_ext <<_ACEOF
7266 /* end confdefs.h. */
7270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7271 $EGREP "memchr" >/dev
/null
2>&1; then
7274 ac_cv_header_stdc
=no
7280 if test $ac_cv_header_stdc = yes; then
7281 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7282 cat >conftest.
$ac_ext <<_ACEOF
7285 cat confdefs.h
>>conftest.
$ac_ext
7286 cat >>conftest.
$ac_ext <<_ACEOF
7287 /* end confdefs.h. */
7291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7292 $EGREP "free" >/dev
/null
2>&1; then
7295 ac_cv_header_stdc
=no
7301 if test $ac_cv_header_stdc = yes; then
7302 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7303 if test "$cross_compiling" = yes; then
7306 cat >conftest.
$ac_ext <<_ACEOF
7309 cat confdefs.h
>>conftest.
$ac_ext
7310 cat >>conftest.
$ac_ext <<_ACEOF
7311 /* end confdefs.h. */
7314 #if ((' ' & 0x0FF) == 0x020)
7315 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7316 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7318 # define ISLOWER(c) \
7319 (('a' <= (c) && (c) <= 'i') \
7320 || ('j' <= (c) && (c) <= 'r') \
7321 || ('s' <= (c) && (c) <= 'z'))
7322 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7325 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7330 for (i = 0; i < 256; i++)
7331 if (XOR (islower (i), ISLOWER (i))
7332 || toupper (i) != TOUPPER (i))
7337 rm -f conftest
$ac_exeext
7338 if { (ac_try
="$ac_link"
7340 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7341 *) ac_try_echo=$ac_try;;
7343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7344 (eval "$ac_link") 2>&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
7348 { (case "(($ac_try" in
7349 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7350 *) ac_try_echo
=$ac_try;;
7352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7353 (eval "$ac_try") 2>&5
7355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7356 (exit $ac_status); }; }; then
7359 echo "$as_me: program exited with status $ac_status" >&5
7360 echo "$as_me: failed program was:" >&5
7361 sed 's/^/| /' conftest.
$ac_ext >&5
7364 ac_cv_header_stdc
=no
7366 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext conftest.
$ac_objext conftest.
$ac_ext
7372 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
7373 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
7374 if test $ac_cv_header_stdc = yes; then
7376 cat >>confdefs.h
<<\_ACEOF
7377 #define STDC_HEADERS 1
7382 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7392 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
7393 inttypes.h stdint.h unistd.h
7395 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7398 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7399 echo $ECHO_N "(cached) $ECHO_C" >&6
7401 cat >conftest.
$ac_ext <<_ACEOF
7404 cat confdefs.h
>>conftest.
$ac_ext
7405 cat >>conftest.
$ac_ext <<_ACEOF
7406 /* end confdefs.h. */
7407 $ac_includes_default
7409 #include <$ac_header>
7411 rm -f conftest.
$ac_objext
7412 if { (ac_try
="$ac_compile"
7414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7415 *) ac_try_echo=$ac_try;;
7417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7418 (eval "$ac_compile") 2>conftest.er1
7420 grep -v '^ *+' conftest.er1 >conftest.err
7422 cat conftest.err >&5
7423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7424 (exit $ac_status); } &&
7425 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7426 { (case "(($ac_try" in
7427 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7428 *) ac_try_echo
=$ac_try;;
7430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7431 (eval "$ac_try") 2>&5
7433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7434 (exit $ac_status); }; } &&
7435 { ac_try
='test -s conftest.$ac_objext'
7436 { (case "(($ac_try" in
7437 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7438 *) ac_try_echo=$ac_try;;
7440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7441 (eval "$ac_try") 2>&5
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; }; then
7445 eval "$as_ac_Header=yes"
7447 echo "$as_me: failed program was:" >&5
7448 sed 's/^/| /' conftest.$ac_ext >&5
7450 eval "$as_ac_Header=no"
7453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7455 ac_res=`eval echo '${'$as_ac_Header'}'`
7456 { echo "$as_me:$LINENO: result: $ac_res" >&5
7457 echo "${ECHO_T}$ac_res" >&6; }
7458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7459 cat >>confdefs.h <<_ACEOF
7460 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7577 AudioUnit/AudioUnit.h \
7579 CoreAudio/CoreAudio.h \
7580 DiskArbitration/DiskArbitration.h \
7593 fontconfig/fontconfig.h \
7618 machine/soundcard.h \
7623 netinet/in_systm.h \
7687 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
7688 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7689 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7690 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7692 echo $ECHO_N "(cached) $ECHO_C" >&6
7694 ac_res=`eval echo '${'$as_ac_Header'}'`
7695 { echo "$as_me:$LINENO: result: $ac_res" >&5
7696 echo "${ECHO_T}$ac_res" >&6; }
7698 # Is the header compilable?
7699 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7700 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7701 cat >conftest.$ac_ext <<_ACEOF
7704 cat confdefs.h >>conftest.$ac_ext
7705 cat >>conftest.$ac_ext <<_ACEOF
7706 /* end confdefs.h. */
7707 $ac_includes_default
7708 #include <$ac_header>
7710 rm -f conftest.$ac_objext
7711 if { (ac_try="$ac_compile"
7713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7714 *) ac_try_echo
=$ac_try;;
7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_compile") 2>conftest.er1
7719 grep -v '^ *+' conftest.er1
>conftest.err
7721 cat conftest.err
>&5
7722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7723 (exit $ac_status); } &&
7724 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7725 { (case "(($ac_try" in
7726 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7727 *) ac_try_echo=$ac_try;;
7729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7730 (eval "$ac_try") 2>&5
7732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7733 (exit $ac_status); }; } &&
7734 { ac_try='test -s conftest.$ac_objext'
7735 { (case "(($ac_try" in
7736 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7737 *) ac_try_echo
=$ac_try;;
7739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7740 (eval "$ac_try") 2>&5
7742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7743 (exit $ac_status); }; }; then
7744 ac_header_compiler
=yes
7746 echo "$as_me: failed program was:" >&5
7747 sed 's/^/| /' conftest.
$ac_ext >&5
7749 ac_header_compiler
=no
7752 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7753 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7754 echo "${ECHO_T}$ac_header_compiler" >&6; }
7756 # Is the header present?
7757 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7758 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7759 cat >conftest.
$ac_ext <<_ACEOF
7762 cat confdefs.h
>>conftest.
$ac_ext
7763 cat >>conftest.
$ac_ext <<_ACEOF
7764 /* end confdefs.h. */
7765 #include <$ac_header>
7767 if { (ac_try
="$ac_cpp conftest.$ac_ext"
7769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7770 *) ac_try_echo=$ac_try;;
7772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7775 grep -v '^ *+' conftest.er1 >conftest.err
7777 cat conftest.err >&5
7778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7779 (exit $ac_status); } >/dev/null; then
7780 if test -s conftest.err; then
7781 ac_cpp_err=$ac_c_preproc_warn_flag
7782 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7789 if test -z "$ac_cpp_err"; then
7790 ac_header_preproc=yes
7792 echo "$as_me: failed program was:" >&5
7793 sed 's/^/| /' conftest.$ac_ext >&5
7795 ac_header_preproc=no
7798 rm -f conftest.err conftest.$ac_ext
7799 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7800 echo "${ECHO_T}$ac_header_preproc" >&6; }
7802 # So? What about this header?
7803 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7805 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7806 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7807 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7808 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7809 ac_header_preproc=yes
7812 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7813 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7814 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7815 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7816 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7817 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7818 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7819 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7820 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7821 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7822 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7823 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7825 ## ------------------------------------ ##
7826 ## Report this to wine-devel@winehq.org ##
7827 ## ------------------------------------ ##
7829 ) | sed "s/^/$as_me: WARNING: /" >&2
7832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7835 echo $ECHO_N "(cached) $ECHO_C" >&6
7837 eval "$as_ac_Header=\$ac_header_preproc"
7839 ac_res=`eval echo '${'$as_ac_Header'}'`
7840 { echo "$as_me:$LINENO: result: $ac_res" >&5
7841 echo "${ECHO_T}$ac_res" >&6; }
7844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7845 cat >>confdefs.h <<_ACEOF
7846 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7853 { echo "$as_me:$LINENO: checking whether stat file-mode macros are broken" >&5
7854 echo $ECHO_N "checking whether stat file-mode macros are broken... $ECHO_C" >&6; }
7855 if test "${ac_cv_header_stat_broken+set}" = set; then
7856 echo $ECHO_N "(cached) $ECHO_C" >&6
7858 cat >conftest.$ac_ext <<_ACEOF
7861 cat confdefs.h >>conftest.$ac_ext
7862 cat >>conftest.$ac_ext <<_ACEOF
7863 /* end confdefs.h. */
7864 #include <sys/types.h>
7865 #include <sys/stat.h>
7867 #if defined S_ISBLK && defined S_IFDIR
7868 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7871 #if defined S_ISBLK && defined S_IFCHR
7872 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7875 #if defined S_ISLNK && defined S_IFREG
7876 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7879 #if defined S_ISSOCK && defined S_IFREG
7880 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7884 rm -f conftest.$ac_objext
7885 if { (ac_try="$ac_compile"
7887 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7888 *) ac_try_echo
=$ac_try;;
7890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7891 (eval "$ac_compile") 2>conftest.er1
7893 grep -v '^ *+' conftest.er1
>conftest.err
7895 cat conftest.err
>&5
7896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7897 (exit $ac_status); } &&
7898 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7899 { (case "(($ac_try" in
7900 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7901 *) ac_try_echo=$ac_try;;
7903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7904 (eval "$ac_try") 2>&5
7906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7907 (exit $ac_status); }; } &&
7908 { ac_try='test -s conftest.$ac_objext'
7909 { (case "(($ac_try" in
7910 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7911 *) ac_try_echo
=$ac_try;;
7913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7914 (eval "$ac_try") 2>&5
7916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7917 (exit $ac_status); }; }; then
7918 ac_cv_header_stat_broken
=no
7920 echo "$as_me: failed program was:" >&5
7921 sed 's/^/| /' conftest.
$ac_ext >&5
7923 ac_cv_header_stat_broken
=yes
7926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7928 { echo "$as_me:$LINENO: result: $ac_cv_header_stat_broken" >&5
7929 echo "${ECHO_T}$ac_cv_header_stat_broken" >&6; }
7930 if test $ac_cv_header_stat_broken = yes; then
7932 cat >>confdefs.h
<<\_ACEOF
7933 #define STAT_MACROS_BROKEN 1
7944 for ac_header
in sys
/mount.h sys
/statfs.h sys
/user.h sys
/vfs.h
7946 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7947 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7949 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7950 echo $ECHO_N "(cached) $ECHO_C" >&6
7952 cat >conftest.
$ac_ext <<_ACEOF
7955 cat confdefs.h
>>conftest.
$ac_ext
7956 cat >>conftest.
$ac_ext <<_ACEOF
7957 /* end confdefs.h. */
7958 #include <sys/types.h>
7959 #if HAVE_SYS_PARAM_H
7960 # include <sys/param.h>
7963 #include <$ac_header>
7965 rm -f conftest.
$ac_objext
7966 if { (ac_try
="$ac_compile"
7968 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7969 *) ac_try_echo=$ac_try;;
7971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7972 (eval "$ac_compile") 2>conftest.er1
7974 grep -v '^ *+' conftest.er1 >conftest.err
7976 cat conftest.err >&5
7977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7978 (exit $ac_status); } &&
7979 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
7980 { (case "(($ac_try" in
7981 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7982 *) ac_try_echo
=$ac_try;;
7984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7985 (eval "$ac_try") 2>&5
7987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7988 (exit $ac_status); }; } &&
7989 { ac_try
='test -s conftest.$ac_objext'
7990 { (case "(($ac_try" in
7991 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7992 *) ac_try_echo=$ac_try;;
7994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7995 (eval "$ac_try") 2>&5
7997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7998 (exit $ac_status); }; }; then
7999 eval "$as_ac_Header=yes"
8001 echo "$as_me: failed program was:" >&5
8002 sed 's/^/| /' conftest.$ac_ext >&5
8004 eval "$as_ac_Header=no"
8007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8009 ac_res=`eval echo '${'$as_ac_Header'}'`
8010 { echo "$as_me:$LINENO: result: $ac_res" >&5
8011 echo "${ECHO_T}$ac_res" >&6; }
8012 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8013 cat >>confdefs.h <<_ACEOF
8014 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8028 for ac_header in net/if.h net/if_arp.h net/if_dl.h net/if_types.h net/route.h netipx/ipx.h
8030 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8031 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8033 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8034 echo $ECHO_N "(cached) $ECHO_C" >&6
8036 cat >conftest.$ac_ext <<_ACEOF
8039 cat confdefs.h >>conftest.$ac_ext
8040 cat >>conftest.$ac_ext <<_ACEOF
8041 /* end confdefs.h. */
8042 #include <sys/types.h>
8043 #if HAVE_SYS_SOCKET_H
8044 # include <sys/socket.h>
8047 #include <$ac_header>
8049 rm -f conftest.$ac_objext
8050 if { (ac_try="$ac_compile"
8052 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8053 *) ac_try_echo
=$ac_try;;
8055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8056 (eval "$ac_compile") 2>conftest.er1
8058 grep -v '^ *+' conftest.er1
>conftest.err
8060 cat conftest.err
>&5
8061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8062 (exit $ac_status); } &&
8063 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8064 { (case "(($ac_try" in
8065 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8066 *) ac_try_echo=$ac_try;;
8068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8069 (eval "$ac_try") 2>&5
8071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8072 (exit $ac_status); }; } &&
8073 { ac_try='test -s conftest.$ac_objext'
8074 { (case "(($ac_try" in
8075 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8076 *) ac_try_echo
=$ac_try;;
8078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8079 (eval "$ac_try") 2>&5
8081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8082 (exit $ac_status); }; }; then
8083 eval "$as_ac_Header=yes"
8085 echo "$as_me: failed program was:" >&5
8086 sed 's/^/| /' conftest.
$ac_ext >&5
8088 eval "$as_ac_Header=no"
8091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8093 ac_res
=`eval echo '${'$as_ac_Header'}'`
8094 { echo "$as_me:$LINENO: result: $ac_res" >&5
8095 echo "${ECHO_T}$ac_res" >&6; }
8096 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8097 cat >>confdefs.h
<<_ACEOF
8098 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8107 for ac_header
in linux
/ipx.h
8109 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8110 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8112 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8113 echo $ECHO_N "(cached) $ECHO_C" >&6
8115 cat >conftest.
$ac_ext <<_ACEOF
8118 cat confdefs.h
>>conftest.
$ac_ext
8119 cat >>conftest.
$ac_ext <<_ACEOF
8120 /* end confdefs.h. */
8121 #include <sys/types.h>
8122 #ifdef HAVE_ASM_TYPES_H
8123 # include <asm/types.h>
8125 #if HAVE_SYS_SOCKET_H
8126 # include <sys/socket.h>
8129 #include <$ac_header>
8131 rm -f conftest.
$ac_objext
8132 if { (ac_try
="$ac_compile"
8134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8135 *) ac_try_echo=$ac_try;;
8137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8138 (eval "$ac_compile") 2>conftest.er1
8140 grep -v '^ *+' conftest.er1 >conftest.err
8142 cat conftest.err >&5
8143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8144 (exit $ac_status); } &&
8145 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8146 { (case "(($ac_try" in
8147 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8148 *) ac_try_echo
=$ac_try;;
8150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8151 (eval "$ac_try") 2>&5
8153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8154 (exit $ac_status); }; } &&
8155 { ac_try
='test -s conftest.$ac_objext'
8156 { (case "(($ac_try" in
8157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8158 *) ac_try_echo=$ac_try;;
8160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8161 (eval "$ac_try") 2>&5
8163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8164 (exit $ac_status); }; }; then
8165 eval "$as_ac_Header=yes"
8167 echo "$as_me: failed program was:" >&5
8168 sed 's/^/| /' conftest.$ac_ext >&5
8170 eval "$as_ac_Header=no"
8173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8175 ac_res=`eval echo '${'$as_ac_Header'}'`
8176 { echo "$as_me:$LINENO: result: $ac_res" >&5
8177 echo "${ECHO_T}$ac_res" >&6; }
8178 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8179 cat >>confdefs.h <<_ACEOF
8180 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8189 for ac_header in resolv.h
8191 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8192 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8193 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8194 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8195 echo $ECHO_N "(cached) $ECHO_C" >&6
8197 cat >conftest.$ac_ext <<_ACEOF
8200 cat confdefs.h >>conftest.$ac_ext
8201 cat >>conftest.$ac_ext <<_ACEOF
8202 /* end confdefs.h. */
8203 #include <sys/types.h>
8204 #if HAVE_SYS_SOCKET_H
8205 # include <sys/socket.h>
8207 #if HAVE_NETINET_IN_H
8208 # include <netinet/in.h>
8210 #if HAVE_ARPA_NAMESER_H
8211 # include <arpa/nameser.h>
8214 #include <$ac_header>
8216 rm -f conftest.$ac_objext
8217 if { (ac_try="$ac_compile"
8219 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8220 *) ac_try_echo
=$ac_try;;
8222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8223 (eval "$ac_compile") 2>conftest.er1
8225 grep -v '^ *+' conftest.er1
>conftest.err
8227 cat conftest.err
>&5
8228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8229 (exit $ac_status); } &&
8230 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8231 { (case "(($ac_try" in
8232 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8233 *) ac_try_echo=$ac_try;;
8235 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8236 (eval "$ac_try") 2>&5
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; } &&
8240 { ac_try='test -s conftest.$ac_objext'
8241 { (case "(($ac_try" in
8242 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8243 *) ac_try_echo
=$ac_try;;
8245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8246 (eval "$ac_try") 2>&5
8248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8249 (exit $ac_status); }; }; then
8250 eval "$as_ac_Header=yes"
8252 echo "$as_me: failed program was:" >&5
8253 sed 's/^/| /' conftest.
$ac_ext >&5
8255 eval "$as_ac_Header=no"
8258 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8260 ac_res
=`eval echo '${'$as_ac_Header'}'`
8261 { echo "$as_me:$LINENO: result: $ac_res" >&5
8262 echo "${ECHO_T}$ac_res" >&6; }
8263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8264 cat >>confdefs.h
<<_ACEOF
8265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8274 for ac_header
in ucontext.h
8276 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8277 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8279 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8282 cat >conftest.
$ac_ext <<_ACEOF
8285 cat confdefs.h
>>conftest.
$ac_ext
8286 cat >>conftest.
$ac_ext <<_ACEOF
8287 /* end confdefs.h. */
8290 #include <$ac_header>
8292 rm -f conftest.
$ac_objext
8293 if { (ac_try
="$ac_compile"
8295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8296 *) ac_try_echo=$ac_try;;
8298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8299 (eval "$ac_compile") 2>conftest.er1
8301 grep -v '^ *+' conftest.er1 >conftest.err
8303 cat conftest.err >&5
8304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8305 (exit $ac_status); } &&
8306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8307 { (case "(($ac_try" in
8308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8309 *) ac_try_echo
=$ac_try;;
8311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8312 (eval "$ac_try") 2>&5
8314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8315 (exit $ac_status); }; } &&
8316 { ac_try
='test -s conftest.$ac_objext'
8317 { (case "(($ac_try" in
8318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8319 *) ac_try_echo=$ac_try;;
8321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8322 (eval "$ac_try") 2>&5
8324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8325 (exit $ac_status); }; }; then
8326 eval "$as_ac_Header=yes"
8328 echo "$as_me: failed program was:" >&5
8329 sed 's/^/| /' conftest.$ac_ext >&5
8331 eval "$as_ac_Header=no"
8334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8336 ac_res=`eval echo '${'$as_ac_Header'}'`
8337 { echo "$as_me:$LINENO: result: $ac_res" >&5
8338 echo "${ECHO_T}$ac_res" >&6; }
8339 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8340 cat >>confdefs.h <<_ACEOF
8341 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8350 for ac_header in pthread_np.h
8352 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8353 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8354 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8355 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 cat >conftest.$ac_ext <<_ACEOF
8361 cat confdefs.h >>conftest.$ac_ext
8362 cat >>conftest.$ac_ext <<_ACEOF
8363 /* end confdefs.h. */
8364 #ifdef HAVE_PTHREAD_H
8365 #include <pthread.h>
8368 #include <$ac_header>
8370 rm -f conftest.$ac_objext
8371 if { (ac_try="$ac_compile"
8373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8374 *) ac_try_echo
=$ac_try;;
8376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8377 (eval "$ac_compile") 2>conftest.er1
8379 grep -v '^ *+' conftest.er1
>conftest.err
8381 cat conftest.err
>&5
8382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8383 (exit $ac_status); } &&
8384 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8385 { (case "(($ac_try" in
8386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8387 *) ac_try_echo=$ac_try;;
8389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8390 (eval "$ac_try") 2>&5
8392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8393 (exit $ac_status); }; } &&
8394 { ac_try='test -s conftest.$ac_objext'
8395 { (case "(($ac_try" in
8396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8397 *) ac_try_echo
=$ac_try;;
8399 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8400 (eval "$ac_try") 2>&5
8402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8403 (exit $ac_status); }; }; then
8404 eval "$as_ac_Header=yes"
8406 echo "$as_me: failed program was:" >&5
8407 sed 's/^/| /' conftest.
$ac_ext >&5
8409 eval "$as_ac_Header=no"
8412 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8414 ac_res
=`eval echo '${'$as_ac_Header'}'`
8415 { echo "$as_me:$LINENO: result: $ac_res" >&5
8416 echo "${ECHO_T}$ac_res" >&6; }
8417 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8418 cat >>confdefs.h
<<_ACEOF
8419 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8428 for ac_header
in linux
/videodev.h
8430 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8431 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8432 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8433 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8434 echo $ECHO_N "(cached) $ECHO_C" >&6
8436 cat >conftest.
$ac_ext <<_ACEOF
8439 cat confdefs.h
>>conftest.
$ac_ext
8440 cat >>conftest.
$ac_ext <<_ACEOF
8441 /* end confdefs.h. */
8442 #ifdef HAVE_SYS_TIME_H
8443 #include <sys/time.h>
8445 #include <sys/types.h>
8446 #ifdef HAVE_ASM_TYPES_H
8447 #include <asm/types.h>
8450 #include <$ac_header>
8452 rm -f conftest.
$ac_objext
8453 if { (ac_try
="$ac_compile"
8455 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8456 *) ac_try_echo=$ac_try;;
8458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8459 (eval "$ac_compile") 2>conftest.er1
8461 grep -v '^ *+' conftest.er1 >conftest.err
8463 cat conftest.err >&5
8464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8465 (exit $ac_status); } &&
8466 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8467 { (case "(($ac_try" in
8468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8469 *) ac_try_echo
=$ac_try;;
8471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8472 (eval "$ac_try") 2>&5
8474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8475 (exit $ac_status); }; } &&
8476 { ac_try
='test -s conftest.$ac_objext'
8477 { (case "(($ac_try" in
8478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8479 *) ac_try_echo=$ac_try;;
8481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8482 (eval "$ac_try") 2>&5
8484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8485 (exit $ac_status); }; }; then
8486 eval "$as_ac_Header=yes"
8488 echo "$as_me: failed program was:" >&5
8489 sed 's/^/| /' conftest.$ac_ext >&5
8491 eval "$as_ac_Header=no"
8494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8496 ac_res=`eval echo '${'$as_ac_Header'}'`
8497 { echo "$as_me:$LINENO: result: $ac_res" >&5
8498 echo "${ECHO_T}$ac_res" >&6; }
8499 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8500 cat >>confdefs.h <<_ACEOF
8501 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8510 for ac_header in linux/capi.h
8512 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
8513 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8514 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8515 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8516 echo $ECHO_N "(cached) $ECHO_C" >&6
8518 cat >conftest.$ac_ext <<_ACEOF
8521 cat confdefs.h >>conftest.$ac_ext
8522 cat >>conftest.$ac_ext <<_ACEOF
8523 /* end confdefs.h. */
8526 #include <$ac_header>
8528 rm -f conftest.$ac_objext
8529 if { (ac_try="$ac_compile"
8531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8532 *) ac_try_echo
=$ac_try;;
8534 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8535 (eval "$ac_compile") 2>conftest.er1
8537 grep -v '^ *+' conftest.er1
>conftest.err
8539 cat conftest.err
>&5
8540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8541 (exit $ac_status); } &&
8542 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8543 { (case "(($ac_try" in
8544 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8545 *) ac_try_echo=$ac_try;;
8547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8548 (eval "$ac_try") 2>&5
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; } &&
8552 { ac_try='test -s conftest.$ac_objext'
8553 { (case "(($ac_try" in
8554 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8555 *) ac_try_echo
=$ac_try;;
8557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8558 (eval "$ac_try") 2>&5
8560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8561 (exit $ac_status); }; }; then
8562 eval "$as_ac_Header=yes"
8564 echo "$as_me: failed program was:" >&5
8565 sed 's/^/| /' conftest.
$ac_ext >&5
8567 eval "$as_ac_Header=no"
8570 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8572 ac_res
=`eval echo '${'$as_ac_Header'}'`
8573 { echo "$as_me:$LINENO: result: $ac_res" >&5
8574 echo "${ECHO_T}$ac_res" >&6; }
8575 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8576 cat >>confdefs.h
<<_ACEOF
8577 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8586 if test "$have_x" = "yes"
8589 ac_save_CPPFLAGS
="$CPPFLAGS"
8590 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8602 for ac_header
in X11
/Xlib.h \
8605 X11
/extensions
/shape.h \
8606 X11
/extensions
/XInput.h \
8607 X11
/extensions
/XShm.h \
8608 X11
/extensions
/Xinerama.h \
8609 X11
/extensions
/Xrandr.h \
8610 X11
/extensions
/Xrender.h \
8611 X11
/extensions
/xf86vmode.h
8613 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8616 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8617 echo $ECHO_N "(cached) $ECHO_C" >&6
8619 cat >conftest.
$ac_ext <<_ACEOF
8622 cat confdefs.h
>>conftest.
$ac_ext
8623 cat >>conftest.
$ac_ext <<_ACEOF
8624 /* end confdefs.h. */
8625 #ifdef HAVE_X11_XLIB_H
8626 # include <X11/Xlib.h>
8628 #ifdef HAVE_X11_XUTIL_H
8629 # include <X11/Xutil.h>
8632 #include <$ac_header>
8634 rm -f conftest.
$ac_objext
8635 if { (ac_try
="$ac_compile"
8637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8638 *) ac_try_echo=$ac_try;;
8640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8641 (eval "$ac_compile") 2>conftest.er1
8643 grep -v '^ *+' conftest.er1 >conftest.err
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } &&
8648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8649 { (case "(($ac_try" in
8650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8651 *) ac_try_echo
=$ac_try;;
8653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8654 (eval "$ac_try") 2>&5
8656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8657 (exit $ac_status); }; } &&
8658 { ac_try
='test -s conftest.$ac_objext'
8659 { (case "(($ac_try" in
8660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8661 *) ac_try_echo=$ac_try;;
8663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8664 (eval "$ac_try") 2>&5
8666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8667 (exit $ac_status); }; }; then
8668 eval "$as_ac_Header=yes"
8670 echo "$as_me: failed program was:" >&5
8671 sed 's/^/| /' conftest.$ac_ext >&5
8673 eval "$as_ac_Header=no"
8676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8678 ac_res=`eval echo '${'$as_ac_Header'}'`
8679 { echo "$as_me:$LINENO: result: $ac_res" >&5
8680 echo "${ECHO_T}$ac_res" >&6; }
8681 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8682 cat >>confdefs.h <<_ACEOF
8683 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
8691 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8693 { echo "$as_me:$LINENO: checking for XkbQueryExtension in -lX11" >&5
8694 echo $ECHO_N "checking for XkbQueryExtension in -lX11... $ECHO_C" >&6; }
8695 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then
8696 echo $ECHO_N "(cached) $ECHO_C" >&6
8698 ac_check_lib_save_LIBS=$LIBS
8699 LIBS="-lX11 $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8700 cat >conftest.$ac_ext <<_ACEOF
8703 cat confdefs.h >>conftest.$ac_ext
8704 cat >>conftest.$ac_ext <<_ACEOF
8705 /* end confdefs.h. */
8707 /* Override any GCC internal prototype to avoid an error.
8708 Use char because int might match the return type of a GCC
8709 builtin and then its argument prototype would still apply. */
8713 char XkbQueryExtension ();
8717 return XkbQueryExtension ();
8722 rm -f conftest.$ac_objext conftest$ac_exeext
8723 if { (ac_try="$ac_link"
8725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8726 *) ac_try_echo
=$ac_try;;
8728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8729 (eval "$ac_link") 2>conftest.er1
8731 grep -v '^ *+' conftest.er1
>conftest.err
8733 cat conftest.err
>&5
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); } &&
8736 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8737 { (case "(($ac_try" in
8738 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8739 *) ac_try_echo=$ac_try;;
8741 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8742 (eval "$ac_try") 2>&5
8744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8745 (exit $ac_status); }; } &&
8746 { ac_try='test -s conftest$ac_exeext'
8747 { (case "(($ac_try" in
8748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8749 *) ac_try_echo
=$ac_try;;
8751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8752 (eval "$ac_try") 2>&5
8754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8755 (exit $ac_status); }; }; then
8756 ac_cv_lib_X11_XkbQueryExtension
=yes
8758 echo "$as_me: failed program was:" >&5
8759 sed 's/^/| /' conftest.
$ac_ext >&5
8761 ac_cv_lib_X11_XkbQueryExtension
=no
8764 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8765 conftest
$ac_exeext conftest.
$ac_ext
8766 LIBS
=$ac_check_lib_save_LIBS
8768 { echo "$as_me:$LINENO: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8769 echo "${ECHO_T}$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8770 if test $ac_cv_lib_X11_XkbQueryExtension = yes; then
8772 cat >>confdefs.h
<<\_ACEOF
8780 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8782 { echo "$as_me:$LINENO: checking for XShmQueryExtension in -lXext" >&5
8783 echo $ECHO_N "checking for XShmQueryExtension in -lXext... $ECHO_C" >&6; }
8784 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then
8785 echo $ECHO_N "(cached) $ECHO_C" >&6
8787 ac_check_lib_save_LIBS
=$LIBS
8788 LIBS
="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8789 cat >conftest.
$ac_ext <<_ACEOF
8792 cat confdefs.h
>>conftest.
$ac_ext
8793 cat >>conftest.
$ac_ext <<_ACEOF
8794 /* end confdefs.h. */
8796 /* Override any GCC internal prototype to avoid an error.
8797 Use char because int might match the return type of a GCC
8798 builtin and then its argument prototype would still apply. */
8802 char XShmQueryExtension ();
8806 return XShmQueryExtension ();
8811 rm -f conftest.
$ac_objext conftest
$ac_exeext
8812 if { (ac_try
="$ac_link"
8814 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8815 *) ac_try_echo=$ac_try;;
8817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8818 (eval "$ac_link") 2>conftest.er1
8820 grep -v '^ *+' conftest.er1 >conftest.err
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 (exit $ac_status); } &&
8825 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8826 { (case "(($ac_try" in
8827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8828 *) ac_try_echo
=$ac_try;;
8830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8831 (eval "$ac_try") 2>&5
8833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8834 (exit $ac_status); }; } &&
8835 { ac_try
='test -s conftest$ac_exeext'
8836 { (case "(($ac_try" in
8837 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8838 *) ac_try_echo=$ac_try;;
8840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8841 (eval "$ac_try") 2>&5
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; }; then
8845 ac_cv_lib_Xext_XShmQueryExtension=yes
8847 echo "$as_me: failed program was:" >&5
8848 sed 's/^/| /' conftest.$ac_ext >&5
8850 ac_cv_lib_Xext_XShmQueryExtension=no
8853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8854 conftest$ac_exeext conftest.$ac_ext
8855 LIBS=$ac_check_lib_save_LIBS
8857 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8858 echo "${ECHO_T}$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8859 if test $ac_cv_lib_Xext_XShmQueryExtension = yes; then
8861 cat >>confdefs.h <<\_ACEOF
8862 #define HAVE_LIBXXSHM 1
8869 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8871 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
8872 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
8873 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
8874 echo $ECHO_N "(cached) $ECHO_C" >&6
8876 ac_check_lib_save_LIBS=$LIBS
8877 LIBS="-lXext $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8878 cat >conftest.$ac_ext <<_ACEOF
8881 cat confdefs.h >>conftest.$ac_ext
8882 cat >>conftest.$ac_ext <<_ACEOF
8883 /* end confdefs.h. */
8885 /* Override any GCC internal prototype to avoid an error.
8886 Use char because int might match the return type of a GCC
8887 builtin and then its argument prototype would still apply. */
8891 char XShapeQueryExtension ();
8895 return XShapeQueryExtension ();
8900 rm -f conftest.$ac_objext conftest$ac_exeext
8901 if { (ac_try="$ac_link"
8903 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8904 *) ac_try_echo
=$ac_try;;
8906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8907 (eval "$ac_link") 2>conftest.er1
8909 grep -v '^ *+' conftest.er1
>conftest.err
8911 cat conftest.err
>&5
8912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8913 (exit $ac_status); } &&
8914 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8915 { (case "(($ac_try" in
8916 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8917 *) ac_try_echo=$ac_try;;
8919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8920 (eval "$ac_try") 2>&5
8922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8923 (exit $ac_status); }; } &&
8924 { ac_try='test -s conftest$ac_exeext'
8925 { (case "(($ac_try" in
8926 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8927 *) ac_try_echo
=$ac_try;;
8929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8930 (eval "$ac_try") 2>&5
8932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8933 (exit $ac_status); }; }; then
8934 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8936 echo "$as_me: failed program was:" >&5
8937 sed 's/^/| /' conftest.
$ac_ext >&5
8939 ac_cv_lib_Xext_XShapeQueryExtension
=no
8942 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
8943 conftest
$ac_exeext conftest.
$ac_ext
8944 LIBS
=$ac_check_lib_save_LIBS
8946 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8947 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8948 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
8950 cat >>confdefs.h
<<\_ACEOF
8951 #define HAVE_LIBXSHAPE 1
8958 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes"
8960 { echo "$as_me:$LINENO: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
8961 echo $ECHO_N "checking for XF86VidModeQueryExtension in -lXxf86vm... $ECHO_C" >&6; }
8962 if test "${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+set}" = set; then
8963 echo $ECHO_N "(cached) $ECHO_C" >&6
8965 ac_check_lib_save_LIBS
=$LIBS
8966 LIBS
="-lXxf86vm $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
8967 cat >conftest.
$ac_ext <<_ACEOF
8970 cat confdefs.h
>>conftest.
$ac_ext
8971 cat >>conftest.
$ac_ext <<_ACEOF
8972 /* end confdefs.h. */
8974 /* Override any GCC internal prototype to avoid an error.
8975 Use char because int might match the return type of a GCC
8976 builtin and then its argument prototype would still apply. */
8980 char XF86VidModeQueryExtension ();
8984 return XF86VidModeQueryExtension ();
8989 rm -f conftest.
$ac_objext conftest
$ac_exeext
8990 if { (ac_try
="$ac_link"
8992 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8993 *) ac_try_echo=$ac_try;;
8995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8996 (eval "$ac_link") 2>conftest.er1
8998 grep -v '^ *+' conftest.er1 >conftest.err
9000 cat conftest.err >&5
9001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9002 (exit $ac_status); } &&
9003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9004 { (case "(($ac_try" in
9005 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9006 *) ac_try_echo
=$ac_try;;
9008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9009 (eval "$ac_try") 2>&5
9011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9012 (exit $ac_status); }; } &&
9013 { ac_try
='test -s conftest$ac_exeext'
9014 { (case "(($ac_try" in
9015 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9016 *) ac_try_echo=$ac_try;;
9018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9019 (eval "$ac_try") 2>&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 (exit $ac_status); }; }; then
9023 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
9025 echo "$as_me: failed program was:" >&5
9026 sed 's/^/| /' conftest.$ac_ext >&5
9028 ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
9031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9032 conftest$ac_exeext conftest.$ac_ext
9033 LIBS=$ac_check_lib_save_LIBS
9035 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
9036 echo "${ECHO_T}$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
9037 if test $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension = yes; then
9039 cat >>confdefs.h <<\_ACEOF
9040 #define HAVE_LIBXXF86VM 1
9043 X_PRE_LIBS="$X_PRE_LIBS -lXxf86vm"
9049 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes"
9051 cat >conftest.$ac_ext <<_ACEOF
9054 cat confdefs.h >>conftest.$ac_ext
9055 cat >>conftest.$ac_ext <<_ACEOF
9056 /* end confdefs.h. */
9057 #include <X11/Xlib.h>
9058 #include <X11/extensions/Xrandr.h>
9062 static typeof(XRRSetScreenConfigAndRate) * func;
9067 rm -f conftest.$ac_objext
9068 if { (ac_try="$ac_compile"
9070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9071 *) ac_try_echo
=$ac_try;;
9073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9074 (eval "$ac_compile") 2>conftest.er1
9076 grep -v '^ *+' conftest.er1
>conftest.err
9078 cat conftest.err
>&5
9079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9080 (exit $ac_status); } &&
9081 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9082 { (case "(($ac_try" in
9083 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9084 *) ac_try_echo=$ac_try;;
9086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9087 (eval "$ac_try") 2>&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 (exit $ac_status); }; } &&
9091 { ac_try='test -s conftest.$ac_objext'
9092 { (case "(($ac_try" in
9093 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9094 *) ac_try_echo
=$ac_try;;
9096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9097 (eval "$ac_try") 2>&5
9099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9100 (exit $ac_status); }; }; then
9102 cat >>confdefs.h
<<\_ACEOF
9103 #define HAVE_LIBXRANDR 1
9107 echo "$as_me: failed program was:" >&5
9108 sed 's/^/| /' conftest.
$ac_ext >&5
9113 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9116 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes"
9118 { echo "$as_me:$LINENO: checking for XRenderSetPictureTransform in -lXrender" >&5
9119 echo $ECHO_N "checking for XRenderSetPictureTransform in -lXrender... $ECHO_C" >&6; }
9120 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then
9121 echo $ECHO_N "(cached) $ECHO_C" >&6
9123 ac_check_lib_save_LIBS
=$LIBS
9124 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9125 cat >conftest.
$ac_ext <<_ACEOF
9128 cat confdefs.h
>>conftest.
$ac_ext
9129 cat >>conftest.
$ac_ext <<_ACEOF
9130 /* end confdefs.h. */
9132 /* Override any GCC internal prototype to avoid an error.
9133 Use char because int might match the return type of a GCC
9134 builtin and then its argument prototype would still apply. */
9138 char XRenderSetPictureTransform ();
9142 return XRenderSetPictureTransform ();
9147 rm -f conftest.
$ac_objext conftest
$ac_exeext
9148 if { (ac_try
="$ac_link"
9150 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9151 *) ac_try_echo=$ac_try;;
9153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9154 (eval "$ac_link") 2>conftest.er1
9156 grep -v '^ *+' conftest.er1 >conftest.err
9158 cat conftest.err >&5
9159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9160 (exit $ac_status); } &&
9161 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9162 { (case "(($ac_try" in
9163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9164 *) ac_try_echo
=$ac_try;;
9166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9167 (eval "$ac_try") 2>&5
9169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9170 (exit $ac_status); }; } &&
9171 { ac_try
='test -s conftest$ac_exeext'
9172 { (case "(($ac_try" in
9173 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9174 *) ac_try_echo=$ac_try;;
9176 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9177 (eval "$ac_try") 2>&5
9179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9180 (exit $ac_status); }; }; then
9181 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
9183 echo "$as_me: failed program was:" >&5
9184 sed 's/^/| /' conftest.$ac_ext >&5
9186 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
9189 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9190 conftest$ac_exeext conftest.$ac_ext
9191 LIBS=$ac_check_lib_save_LIBS
9193 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
9194 echo "${ECHO_T}$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
9195 if test $ac_cv_lib_Xrender_XRenderSetPictureTransform = yes; then
9197 cat >>confdefs.h <<\_ACEOF
9198 #define HAVE_XRENDERSETPICTURETRANSFORM 1
9205 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9207 cat >conftest.$ac_ext <<_ACEOF
9210 cat confdefs.h >>conftest.$ac_ext
9211 cat >>conftest.$ac_ext <<_ACEOF
9212 /* end confdefs.h. */
9213 #include <X11/Xlib.h>
9214 #include <X11/extensions/Xinerama.h>
9218 static typeof(XineramaQueryScreens) * func;
9223 rm -f conftest.$ac_objext
9224 if { (ac_try="$ac_compile"
9226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9227 *) ac_try_echo
=$ac_try;;
9229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9230 (eval "$ac_compile") 2>conftest.er1
9232 grep -v '^ *+' conftest.er1
>conftest.err
9234 cat conftest.err
>&5
9235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9236 (exit $ac_status); } &&
9237 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9238 { (case "(($ac_try" in
9239 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9240 *) ac_try_echo=$ac_try;;
9242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9243 (eval "$ac_try") 2>&5
9245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9246 (exit $ac_status); }; } &&
9247 { ac_try='test -s conftest.$ac_objext'
9248 { (case "(($ac_try" in
9249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9250 *) ac_try_echo
=$ac_try;;
9252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9253 (eval "$ac_try") 2>&5
9255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9256 (exit $ac_status); }; }; then
9258 cat >>confdefs.h
<<\_ACEOF
9259 #define HAVE_LIBXINERAMA 1
9263 echo "$as_me: failed program was:" >&5
9264 sed 's/^/| /' conftest.
$ac_ext >&5
9269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9273 if test "x$with_opengl" != "xno"
9279 for ac_header
in GL
/gl.h GL
/glx.h GL
/glext.h GL
/glu.h
9281 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9282 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9283 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9284 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9285 echo $ECHO_N "(cached) $ECHO_C" >&6
9287 cat >conftest.
$ac_ext <<_ACEOF
9290 cat confdefs.h
>>conftest.
$ac_ext
9291 cat >>conftest.
$ac_ext <<_ACEOF
9292 /* end confdefs.h. */
9293 #ifdef HAVE_GL_GLX_H
9294 # include <GL/glx.h>
9297 #include <$ac_header>
9299 rm -f conftest.
$ac_objext
9300 if { (ac_try
="$ac_compile"
9302 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9303 *) ac_try_echo=$ac_try;;
9305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9306 (eval "$ac_compile") 2>conftest.er1
9308 grep -v '^ *+' conftest.er1 >conftest.err
9310 cat conftest.err >&5
9311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9312 (exit $ac_status); } &&
9313 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9314 { (case "(($ac_try" in
9315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9316 *) ac_try_echo
=$ac_try;;
9318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9319 (eval "$ac_try") 2>&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); }; } &&
9323 { ac_try
='test -s conftest.$ac_objext'
9324 { (case "(($ac_try" in
9325 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9326 *) ac_try_echo=$ac_try;;
9328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9329 (eval "$ac_try") 2>&5
9331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9332 (exit $ac_status); }; }; then
9333 eval "$as_ac_Header=yes"
9335 echo "$as_me: failed program was:" >&5
9336 sed 's/^/| /' conftest.$ac_ext >&5
9338 eval "$as_ac_Header=no"
9341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9343 ac_res=`eval echo '${'$as_ac_Header'}'`
9344 { echo "$as_me:$LINENO: result: $ac_res" >&5
9345 echo "${ECHO_T}$ac_res" >&6; }
9346 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9347 cat >>confdefs.h <<_ACEOF
9348 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9355 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
9357 { echo "$as_me:$LINENO: checking for up-to-date OpenGL version" >&5
9358 echo $ECHO_N "checking for up-to-date OpenGL version... $ECHO_C" >&6; }
9359 if test "${wine_cv_opengl_header_version_OK+set}" = set; then
9360 echo $ECHO_N "(cached) $ECHO_C" >&6
9362 cat >conftest.$ac_ext <<_ACEOF
9365 cat confdefs.h >>conftest.$ac_ext
9366 cat >>conftest.$ac_ext <<_ACEOF
9367 /* end confdefs.h. */
9372 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
9377 rm -f conftest.$ac_objext
9378 if { (ac_try="$ac_compile"
9380 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9381 *) ac_try_echo
=$ac_try;;
9383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9384 (eval "$ac_compile") 2>conftest.er1
9386 grep -v '^ *+' conftest.er1
>conftest.err
9388 cat conftest.err
>&5
9389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9390 (exit $ac_status); } &&
9391 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9392 { (case "(($ac_try" in
9393 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9394 *) ac_try_echo=$ac_try;;
9396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9397 (eval "$ac_try") 2>&5
9399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9400 (exit $ac_status); }; } &&
9401 { ac_try='test -s conftest.$ac_objext'
9402 { (case "(($ac_try" in
9403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9404 *) ac_try_echo
=$ac_try;;
9406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9407 (eval "$ac_try") 2>&5
9409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9410 (exit $ac_status); }; }; then
9411 wine_cv_opengl_header_version_OK
="yes"
9413 echo "$as_me: failed program was:" >&5
9414 sed 's/^/| /' conftest.
$ac_ext >&5
9416 wine_cv_opengl_header_version_OK
="no"
9420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9423 { echo "$as_me:$LINENO: result: $wine_cv_opengl_header_version_OK" >&5
9424 echo "${ECHO_T}$wine_cv_opengl_header_version_OK" >&6; }
9426 if test "$wine_cv_opengl_header_version_OK" = "yes"
9428 { echo "$as_me:$LINENO: checking for glXCreateContext in -lGL" >&5
9429 echo $ECHO_N "checking for glXCreateContext in -lGL... $ECHO_C" >&6; }
9430 if test "${ac_cv_lib_GL_glXCreateContext+set}" = set; then
9431 echo $ECHO_N "(cached) $ECHO_C" >&6
9433 ac_check_lib_save_LIBS
=$LIBS
9434 LIBS
="-lGL $X_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS $LIBS"
9435 cat >conftest.
$ac_ext <<_ACEOF
9438 cat confdefs.h
>>conftest.
$ac_ext
9439 cat >>conftest.
$ac_ext <<_ACEOF
9440 /* end confdefs.h. */
9442 /* Override any GCC internal prototype to avoid an error.
9443 Use char because int might match the return type of a GCC
9444 builtin and then its argument prototype would still apply. */
9448 char glXCreateContext ();
9452 return glXCreateContext ();
9457 rm -f conftest.
$ac_objext conftest
$ac_exeext
9458 if { (ac_try
="$ac_link"
9460 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9461 *) ac_try_echo=$ac_try;;
9463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9464 (eval "$ac_link") 2>conftest.er1
9466 grep -v '^ *+' conftest.er1 >conftest.err
9468 cat conftest.err >&5
9469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9470 (exit $ac_status); } &&
9471 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9472 { (case "(($ac_try" in
9473 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9474 *) ac_try_echo
=$ac_try;;
9476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9477 (eval "$ac_try") 2>&5
9479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9480 (exit $ac_status); }; } &&
9481 { ac_try
='test -s conftest$ac_exeext'
9482 { (case "(($ac_try" in
9483 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9484 *) ac_try_echo=$ac_try;;
9486 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9487 (eval "$ac_try") 2>&5
9489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9490 (exit $ac_status); }; }; then
9491 ac_cv_lib_GL_glXCreateContext=yes
9493 echo "$as_me: failed program was:" >&5
9494 sed 's/^/| /' conftest.$ac_ext >&5
9496 ac_cv_lib_GL_glXCreateContext=no
9499 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9500 conftest$ac_exeext conftest.$ac_ext
9501 LIBS=$ac_check_lib_save_LIBS
9503 { echo "$as_me:$LINENO: result: $ac_cv_lib_GL_glXCreateContext" >&5
9504 echo "${ECHO_T}$ac_cv_lib_GL_glXCreateContext" >&6; }
9505 if test $ac_cv_lib_GL_glXCreateContext = yes; then
9507 OPENGLFILES='$(OPENGLFILES)'
9509 cat >>confdefs.h <<\_ACEOF
9510 #define HAVE_OPENGL 1
9517 { echo "$as_me:$LINENO: checking for gluLookAt in -lGLU" >&5
9518 echo $ECHO_N "checking for gluLookAt in -lGLU... $ECHO_C" >&6; }
9519 if test "${ac_cv_lib_GLU_gluLookAt+set}" = set; then
9520 echo $ECHO_N "(cached) $ECHO_C" >&6
9522 ac_check_lib_save_LIBS=$LIBS
9523 LIBS="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS -lXext -lX11 -lm $X_EXTRA_LIBS
9525 cat >conftest.$ac_ext <<_ACEOF
9528 cat confdefs.h >>conftest.$ac_ext
9529 cat >>conftest.$ac_ext <<_ACEOF
9530 /* end confdefs.h. */
9532 /* Override any GCC internal prototype to avoid an error.
9533 Use char because int might match the return type of a GCC
9534 builtin and then its argument prototype would still apply. */
9542 return gluLookAt ();
9547 rm -f conftest.$ac_objext conftest$ac_exeext
9548 if { (ac_try="$ac_link"
9550 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9551 *) ac_try_echo
=$ac_try;;
9553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9554 (eval "$ac_link") 2>conftest.er1
9556 grep -v '^ *+' conftest.er1
>conftest.err
9558 cat conftest.err
>&5
9559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9560 (exit $ac_status); } &&
9561 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9562 { (case "(($ac_try" in
9563 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9564 *) ac_try_echo=$ac_try;;
9566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9567 (eval "$ac_try") 2>&5
9569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9570 (exit $ac_status); }; } &&
9571 { ac_try='test -s conftest$ac_exeext'
9572 { (case "(($ac_try" in
9573 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9574 *) ac_try_echo
=$ac_try;;
9576 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9577 (eval "$ac_try") 2>&5
9579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9580 (exit $ac_status); }; }; then
9581 ac_cv_lib_GLU_gluLookAt
=yes
9583 echo "$as_me: failed program was:" >&5
9584 sed 's/^/| /' conftest.
$ac_ext >&5
9586 ac_cv_lib_GLU_gluLookAt
=no
9589 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9590 conftest
$ac_exeext conftest.
$ac_ext
9591 LIBS
=$ac_check_lib_save_LIBS
9593 { echo "$as_me:$LINENO: result: $ac_cv_lib_GLU_gluLookAt" >&5
9594 echo "${ECHO_T}$ac_cv_lib_GLU_gluLookAt" >&6; }
9595 if test $ac_cv_lib_GLU_gluLookAt = yes; then
9596 OPENGL_LIBS
="$OPENGL_LIBS -lGLU"
9597 GLU32FILES
='$(GLU32FILES)'
9603 wine_cv_opengl_headers_found
="no"
9609 for ac_header
in audio
/audiolib.h
9611 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9612 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9613 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9614 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9615 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9616 echo $ECHO_N "(cached) $ECHO_C" >&6
9618 ac_res
=`eval echo '${'$as_ac_Header'}'`
9619 { echo "$as_me:$LINENO: result: $ac_res" >&5
9620 echo "${ECHO_T}$ac_res" >&6; }
9622 # Is the header compilable?
9623 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9624 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9625 cat >conftest.
$ac_ext <<_ACEOF
9628 cat confdefs.h
>>conftest.
$ac_ext
9629 cat >>conftest.
$ac_ext <<_ACEOF
9630 /* end confdefs.h. */
9631 $ac_includes_default
9632 #include <$ac_header>
9634 rm -f conftest.
$ac_objext
9635 if { (ac_try
="$ac_compile"
9637 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9638 *) ac_try_echo=$ac_try;;
9640 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9641 (eval "$ac_compile") 2>conftest.er1
9643 grep -v '^ *+' conftest.er1 >conftest.err
9645 cat conftest.err >&5
9646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9647 (exit $ac_status); } &&
9648 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9649 { (case "(($ac_try" in
9650 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9651 *) ac_try_echo
=$ac_try;;
9653 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9654 (eval "$ac_try") 2>&5
9656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9657 (exit $ac_status); }; } &&
9658 { ac_try
='test -s conftest.$ac_objext'
9659 { (case "(($ac_try" in
9660 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9661 *) ac_try_echo=$ac_try;;
9663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9664 (eval "$ac_try") 2>&5
9666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9667 (exit $ac_status); }; }; then
9668 ac_header_compiler=yes
9670 echo "$as_me: failed program was:" >&5
9671 sed 's/^/| /' conftest.$ac_ext >&5
9673 ac_header_compiler=no
9676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9677 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9678 echo "${ECHO_T}$ac_header_compiler" >&6; }
9680 # Is the header present?
9681 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
9682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9683 cat >conftest.$ac_ext <<_ACEOF
9686 cat confdefs.h >>conftest.$ac_ext
9687 cat >>conftest.$ac_ext <<_ACEOF
9688 /* end confdefs.h. */
9689 #include <$ac_header>
9691 if { (ac_try="$ac_cpp conftest.$ac_ext"
9693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9694 *) ac_try_echo
=$ac_try;;
9696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
9699 grep -v '^ *+' conftest.er1
>conftest.err
9701 cat conftest.err
>&5
9702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9703 (exit $ac_status); } >/dev
/null
; then
9704 if test -s conftest.err
; then
9705 ac_cpp_err
=$ac_c_preproc_warn_flag
9706 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
9713 if test -z "$ac_cpp_err"; then
9714 ac_header_preproc
=yes
9716 echo "$as_me: failed program was:" >&5
9717 sed 's/^/| /' conftest.
$ac_ext >&5
9719 ac_header_preproc
=no
9722 rm -f conftest.err conftest.
$ac_ext
9723 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
9724 echo "${ECHO_T}$ac_header_preproc" >&6; }
9726 # So? What about this header?
9727 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
9729 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
9730 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9731 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
9732 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9733 ac_header_preproc
=yes
9736 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
9737 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9738 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
9739 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9740 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
9741 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9742 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
9743 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9744 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
9745 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9746 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
9747 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9749 ## ------------------------------------ ##
9750 ## Report this to wine-devel@winehq.org ##
9751 ## ------------------------------------ ##
9753 ) |
sed "s/^/$as_me: WARNING: /" >&2
9756 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9757 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9758 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9759 echo $ECHO_N "(cached) $ECHO_C" >&6
9761 eval "$as_ac_Header=\$ac_header_preproc"
9763 ac_res
=`eval echo '${'$as_ac_Header'}'`
9764 { echo "$as_me:$LINENO: result: $ac_res" >&5
9765 echo "${ECHO_T}$ac_res" >&6; }
9768 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9769 cat >>confdefs.h
<<_ACEOF
9770 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9773 for ac_header
in audio
/soundlib.h
9775 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9776 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9777 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9778 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9779 echo $ECHO_N "(cached) $ECHO_C" >&6
9781 cat >conftest.
$ac_ext <<_ACEOF
9784 cat confdefs.h
>>conftest.
$ac_ext
9785 cat >>conftest.
$ac_ext <<_ACEOF
9786 /* end confdefs.h. */
9787 #include <audio/audiolib.h>
9789 #include <$ac_header>
9791 rm -f conftest.
$ac_objext
9792 if { (ac_try
="$ac_compile"
9794 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9795 *) ac_try_echo=$ac_try;;
9797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9798 (eval "$ac_compile") 2>conftest.er1
9800 grep -v '^ *+' conftest.er1 >conftest.err
9802 cat conftest.err >&5
9803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9804 (exit $ac_status); } &&
9805 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9806 { (case "(($ac_try" in
9807 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9808 *) ac_try_echo
=$ac_try;;
9810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9811 (eval "$ac_try") 2>&5
9813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9814 (exit $ac_status); }; } &&
9815 { ac_try
='test -s conftest.$ac_objext'
9816 { (case "(($ac_try" in
9817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9818 *) ac_try_echo=$ac_try;;
9820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9821 (eval "$ac_try") 2>&5
9823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9824 (exit $ac_status); }; }; then
9825 eval "$as_ac_Header=yes"
9827 echo "$as_me: failed program was:" >&5
9828 sed 's/^/| /' conftest.$ac_ext >&5
9830 eval "$as_ac_Header=no"
9833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9835 ac_res=`eval echo '${'$as_ac_Header'}'`
9836 { echo "$as_me:$LINENO: result: $ac_res" >&5
9837 echo "${ECHO_T}$ac_res" >&6; }
9838 if test `eval echo '${'$as_ac_Header'}'` = yes; then
9839 cat >>confdefs.h <<_ACEOF
9840 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
9847 { echo "$as_me:$LINENO: checking for AuCreateFlow in -laudio" >&5
9848 echo $ECHO_N "checking for AuCreateFlow in -laudio... $ECHO_C" >&6; }
9849 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then
9850 echo $ECHO_N "(cached) $ECHO_C" >&6
9852 ac_check_lib_save_LIBS=$LIBS
9853 LIBS="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
9854 cat >conftest.$ac_ext <<_ACEOF
9857 cat confdefs.h >>conftest.$ac_ext
9858 cat >>conftest.$ac_ext <<_ACEOF
9859 /* end confdefs.h. */
9861 /* Override any GCC internal prototype to avoid an error.
9862 Use char because int might match the return type of a GCC
9863 builtin and then its argument prototype would still apply. */
9867 char AuCreateFlow ();
9871 return AuCreateFlow ();
9876 rm -f conftest.$ac_objext conftest$ac_exeext
9877 if { (ac_try="$ac_link"
9879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9880 *) ac_try_echo
=$ac_try;;
9882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9883 (eval "$ac_link") 2>conftest.er1
9885 grep -v '^ *+' conftest.er1
>conftest.err
9887 cat conftest.err
>&5
9888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9889 (exit $ac_status); } &&
9890 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9891 { (case "(($ac_try" in
9892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9893 *) ac_try_echo=$ac_try;;
9895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9896 (eval "$ac_try") 2>&5
9898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9899 (exit $ac_status); }; } &&
9900 { ac_try='test -s conftest$ac_exeext'
9901 { (case "(($ac_try" in
9902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
9903 *) ac_try_echo
=$ac_try;;
9905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9906 (eval "$ac_try") 2>&5
9908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9909 (exit $ac_status); }; }; then
9910 ac_cv_lib_audio_AuCreateFlow
=yes
9912 echo "$as_me: failed program was:" >&5
9913 sed 's/^/| /' conftest.
$ac_ext >&5
9915 ac_cv_lib_audio_AuCreateFlow
=no
9918 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
9919 conftest
$ac_exeext conftest.
$ac_ext
9920 LIBS
=$ac_check_lib_save_LIBS
9922 { echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9923 echo "${ECHO_T}$ac_cv_lib_audio_AuCreateFlow" >&6; }
9924 if test $ac_cv_lib_audio_AuCreateFlow = yes; then
9926 cat >>confdefs.h
<<\_ACEOF
9930 NASLIBS
="-laudio -lXt $X_LIBS -lXext -lX11 $X_EXTRA_LIBS"
9938 CPPFLAGS
="$ac_save_CPPFLAGS"
9955 if test "$PKG_CONFIG" != "false"
9957 ac_save_CPPFLAGS
="$CPPFLAGS"
9958 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9959 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9960 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9962 for ac_header
in libxml
/parser.h
9964 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9965 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9966 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9968 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9969 echo $ECHO_N "(cached) $ECHO_C" >&6
9971 ac_res
=`eval echo '${'$as_ac_Header'}'`
9972 { echo "$as_me:$LINENO: result: $ac_res" >&5
9973 echo "${ECHO_T}$ac_res" >&6; }
9975 # Is the header compilable?
9976 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
9977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9978 cat >conftest.
$ac_ext <<_ACEOF
9981 cat confdefs.h
>>conftest.
$ac_ext
9982 cat >>conftest.
$ac_ext <<_ACEOF
9983 /* end confdefs.h. */
9984 $ac_includes_default
9985 #include <$ac_header>
9987 rm -f conftest.
$ac_objext
9988 if { (ac_try
="$ac_compile"
9990 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
9991 *) ac_try_echo=$ac_try;;
9993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9994 (eval "$ac_compile") 2>conftest.er1
9996 grep -v '^ *+' conftest.er1 >conftest.err
9998 cat conftest.err >&5
9999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10000 (exit $ac_status); } &&
10001 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10002 { (case "(($ac_try" in
10003 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10004 *) ac_try_echo
=$ac_try;;
10006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10007 (eval "$ac_try") 2>&5
10009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10010 (exit $ac_status); }; } &&
10011 { ac_try
='test -s conftest.$ac_objext'
10012 { (case "(($ac_try" in
10013 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10014 *) ac_try_echo=$ac_try;;
10016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10017 (eval "$ac_try") 2>&5
10019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10020 (exit $ac_status); }; }; then
10021 ac_header_compiler=yes
10023 echo "$as_me: failed program was:" >&5
10024 sed 's/^/| /' conftest.$ac_ext >&5
10026 ac_header_compiler=no
10029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10030 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10031 echo "${ECHO_T}$ac_header_compiler" >&6; }
10033 # Is the header present?
10034 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10036 cat >conftest.$ac_ext <<_ACEOF
10039 cat confdefs.h >>conftest.$ac_ext
10040 cat >>conftest.$ac_ext <<_ACEOF
10041 /* end confdefs.h. */
10042 #include <$ac_header>
10044 if { (ac_try="$ac_cpp conftest.$ac_ext"
10045 case "(($ac_try" in
10046 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10047 *) ac_try_echo
=$ac_try;;
10049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10052 grep -v '^ *+' conftest.er1
>conftest.err
10054 cat conftest.err
>&5
10055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10056 (exit $ac_status); } >/dev
/null
; then
10057 if test -s conftest.err
; then
10058 ac_cpp_err
=$ac_c_preproc_warn_flag
10059 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
10066 if test -z "$ac_cpp_err"; then
10067 ac_header_preproc
=yes
10069 echo "$as_me: failed program was:" >&5
10070 sed 's/^/| /' conftest.
$ac_ext >&5
10072 ac_header_preproc
=no
10075 rm -f conftest.err conftest.
$ac_ext
10076 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10077 echo "${ECHO_T}$ac_header_preproc" >&6; }
10079 # So? What about this header?
10080 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10082 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10083 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10084 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10085 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10086 ac_header_preproc
=yes
10089 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10090 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10091 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10092 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10093 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10094 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10095 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10096 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10097 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10098 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10099 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10100 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10102 ## ------------------------------------ ##
10103 ## Report this to wine-devel@winehq.org ##
10104 ## ------------------------------------ ##
10106 ) |
sed "s/^/$as_me: WARNING: /" >&2
10109 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10110 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10111 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10112 echo $ECHO_N "(cached) $ECHO_C" >&6
10114 eval "$as_ac_Header=\$ac_header_preproc"
10116 ac_res
=`eval echo '${'$as_ac_Header'}'`
10117 { echo "$as_me:$LINENO: result: $ac_res" >&5
10118 echo "${ECHO_T}$ac_res" >&6; }
10121 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10122 cat >>confdefs.h
<<_ACEOF
10123 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10125 { echo "$as_me:$LINENO: checking for xmlParseMemory in -lxml2" >&5
10126 echo $ECHO_N "checking for xmlParseMemory in -lxml2... $ECHO_C" >&6; }
10127 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then
10128 echo $ECHO_N "(cached) $ECHO_C" >&6
10130 ac_check_lib_save_LIBS
=$LIBS
10131 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10132 cat >conftest.
$ac_ext <<_ACEOF
10135 cat confdefs.h
>>conftest.
$ac_ext
10136 cat >>conftest.
$ac_ext <<_ACEOF
10137 /* end confdefs.h. */
10139 /* Override any GCC internal prototype to avoid an error.
10140 Use char because int might match the return type of a GCC
10141 builtin and then its argument prototype would still apply. */
10145 char xmlParseMemory ();
10149 return xmlParseMemory ();
10154 rm -f conftest.
$ac_objext conftest
$ac_exeext
10155 if { (ac_try
="$ac_link"
10156 case "(($ac_try" in
10157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10158 *) ac_try_echo=$ac_try;;
10160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10161 (eval "$ac_link") 2>conftest.er1
10163 grep -v '^ *+' conftest.er1 >conftest.err
10165 cat conftest.err >&5
10166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10167 (exit $ac_status); } &&
10168 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10169 { (case "(($ac_try" in
10170 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10171 *) ac_try_echo
=$ac_try;;
10173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10174 (eval "$ac_try") 2>&5
10176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10177 (exit $ac_status); }; } &&
10178 { ac_try
='test -s conftest$ac_exeext'
10179 { (case "(($ac_try" in
10180 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10181 *) ac_try_echo=$ac_try;;
10183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10184 (eval "$ac_try") 2>&5
10186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10187 (exit $ac_status); }; }; then
10188 ac_cv_lib_xml2_xmlParseMemory=yes
10190 echo "$as_me: failed program was:" >&5
10191 sed 's/^/| /' conftest.$ac_ext >&5
10193 ac_cv_lib_xml2_xmlParseMemory=no
10196 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10197 conftest$ac_exeext conftest.$ac_ext
10198 LIBS=$ac_check_lib_save_LIBS
10200 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
10201 echo "${ECHO_T}$ac_cv_lib_xml2_xmlParseMemory" >&6; }
10202 if test $ac_cv_lib_xml2_xmlParseMemory = yes; then
10204 cat >>confdefs.h <<\_ACEOF
10205 #define HAVE_LIBXML2 1
10208 XML2LIBS="$ac_xml_libs"
10209 XML2INCL="$ac_xml_cflags"
10212 { echo "$as_me:$LINENO: checking for xmlReadMemory in -lxml2" >&5
10213 echo $ECHO_N "checking for xmlReadMemory in -lxml2... $ECHO_C" >&6; }
10214 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then
10215 echo $ECHO_N "(cached) $ECHO_C" >&6
10217 ac_check_lib_save_LIBS=$LIBS
10218 LIBS="-lxml2 $ac_xml_libs $LIBS"
10219 cat >conftest.$ac_ext <<_ACEOF
10222 cat confdefs.h >>conftest.$ac_ext
10223 cat >>conftest.$ac_ext <<_ACEOF
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10232 char xmlReadMemory ();
10236 return xmlReadMemory ();
10241 rm -f conftest.$ac_objext conftest$ac_exeext
10242 if { (ac_try="$ac_link"
10243 case "(($ac_try" in
10244 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10245 *) ac_try_echo
=$ac_try;;
10247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10248 (eval "$ac_link") 2>conftest.er1
10250 grep -v '^ *+' conftest.er1
>conftest.err
10252 cat conftest.err
>&5
10253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10254 (exit $ac_status); } &&
10255 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10256 { (case "(($ac_try" in
10257 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10258 *) ac_try_echo=$ac_try;;
10260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10261 (eval "$ac_try") 2>&5
10263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10264 (exit $ac_status); }; } &&
10265 { ac_try='test -s conftest$ac_exeext'
10266 { (case "(($ac_try" in
10267 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10268 *) ac_try_echo
=$ac_try;;
10270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10271 (eval "$ac_try") 2>&5
10273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10274 (exit $ac_status); }; }; then
10275 ac_cv_lib_xml2_xmlReadMemory
=yes
10277 echo "$as_me: failed program was:" >&5
10278 sed 's/^/| /' conftest.
$ac_ext >&5
10280 ac_cv_lib_xml2_xmlReadMemory
=no
10283 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10284 conftest
$ac_exeext conftest.
$ac_ext
10285 LIBS
=$ac_check_lib_save_LIBS
10287 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
10288 echo "${ECHO_T}$ac_cv_lib_xml2_xmlReadMemory" >&6; }
10289 if test $ac_cv_lib_xml2_xmlReadMemory = yes; then
10291 cat >>confdefs.h
<<\_ACEOF
10292 #define HAVE_XMLREADMEMORY 1
10297 { echo "$as_me:$LINENO: checking for xmlNewDocPI in -lxml2" >&5
10298 echo $ECHO_N "checking for xmlNewDocPI in -lxml2... $ECHO_C" >&6; }
10299 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then
10300 echo $ECHO_N "(cached) $ECHO_C" >&6
10302 ac_check_lib_save_LIBS
=$LIBS
10303 LIBS
="-lxml2 $ac_xml_libs $LIBS"
10304 cat >conftest.
$ac_ext <<_ACEOF
10307 cat confdefs.h
>>conftest.
$ac_ext
10308 cat >>conftest.
$ac_ext <<_ACEOF
10309 /* end confdefs.h. */
10311 /* Override any GCC internal prototype to avoid an error.
10312 Use char because int might match the return type of a GCC
10313 builtin and then its argument prototype would still apply. */
10317 char xmlNewDocPI ();
10321 return xmlNewDocPI ();
10326 rm -f conftest.
$ac_objext conftest
$ac_exeext
10327 if { (ac_try
="$ac_link"
10328 case "(($ac_try" in
10329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10330 *) ac_try_echo=$ac_try;;
10332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10333 (eval "$ac_link") 2>conftest.er1
10335 grep -v '^ *+' conftest.er1 >conftest.err
10337 cat conftest.err >&5
10338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10339 (exit $ac_status); } &&
10340 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10341 { (case "(($ac_try" in
10342 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10343 *) ac_try_echo
=$ac_try;;
10345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10346 (eval "$ac_try") 2>&5
10348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10349 (exit $ac_status); }; } &&
10350 { ac_try
='test -s conftest$ac_exeext'
10351 { (case "(($ac_try" in
10352 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10353 *) ac_try_echo=$ac_try;;
10355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10356 (eval "$ac_try") 2>&5
10358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10359 (exit $ac_status); }; }; then
10360 ac_cv_lib_xml2_xmlNewDocPI=yes
10362 echo "$as_me: failed program was:" >&5
10363 sed 's/^/| /' conftest.$ac_ext >&5
10365 ac_cv_lib_xml2_xmlNewDocPI=no
10368 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10369 conftest$ac_exeext conftest.$ac_ext
10370 LIBS=$ac_check_lib_save_LIBS
10372 { echo "$as_me:$LINENO: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
10373 echo "${ECHO_T}$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
10374 if test $ac_cv_lib_xml2_xmlNewDocPI = yes; then
10376 cat >>confdefs.h <<\_ACEOF
10377 #define HAVE_XMLNEWDOCPI 1
10387 CPPFLAGS="$ac_save_CPPFLAGS"
10388 ac_xslt_libs="`$PKG_CONFIG --libs libxslt
2>/dev
/null
`"
10389 ac_xslt_cflags="`$PKG_CONFIG --cflags libxslt
2>/dev
/null
`"
10390 CPPFLAGS="$CPPFLAGS $ac_xslt_cflags"
10393 for ac_header in libxslt/pattern.h libxslt/transform.h
10395 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10396 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10398 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10399 echo $ECHO_N "(cached) $ECHO_C" >&6
10401 cat >conftest.$ac_ext <<_ACEOF
10404 cat confdefs.h >>conftest.$ac_ext
10405 cat >>conftest.$ac_ext <<_ACEOF
10406 /* end confdefs.h. */
10407 #ifdef HAVE_LIBXSLT_PATTERN_H
10408 # include <libxslt/pattern.h>
10411 #include <$ac_header>
10413 rm -f conftest.$ac_objext
10414 if { (ac_try="$ac_compile"
10415 case "(($ac_try" in
10416 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10417 *) ac_try_echo
=$ac_try;;
10419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10420 (eval "$ac_compile") 2>conftest.er1
10422 grep -v '^ *+' conftest.er1
>conftest.err
10424 cat conftest.err
>&5
10425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10426 (exit $ac_status); } &&
10427 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10428 { (case "(($ac_try" in
10429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10430 *) ac_try_echo=$ac_try;;
10432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10433 (eval "$ac_try") 2>&5
10435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10436 (exit $ac_status); }; } &&
10437 { ac_try='test -s conftest.$ac_objext'
10438 { (case "(($ac_try" in
10439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10440 *) ac_try_echo
=$ac_try;;
10442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10443 (eval "$ac_try") 2>&5
10445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10446 (exit $ac_status); }; }; then
10447 eval "$as_ac_Header=yes"
10449 echo "$as_me: failed program was:" >&5
10450 sed 's/^/| /' conftest.
$ac_ext >&5
10452 eval "$as_ac_Header=no"
10455 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10457 ac_res
=`eval echo '${'$as_ac_Header'}'`
10458 { echo "$as_me:$LINENO: result: $ac_res" >&5
10459 echo "${ECHO_T}$ac_res" >&6; }
10460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10461 cat >>confdefs.h
<<_ACEOF
10462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10464 { echo "$as_me:$LINENO: checking for xsltCompilePattern in -lxslt" >&5
10465 echo $ECHO_N "checking for xsltCompilePattern in -lxslt... $ECHO_C" >&6; }
10466 if test "${ac_cv_lib_xslt_xsltCompilePattern+set}" = set; then
10467 echo $ECHO_N "(cached) $ECHO_C" >&6
10469 ac_check_lib_save_LIBS
=$LIBS
10470 LIBS
="-lxslt $ac_xslt_libs $LIBS"
10471 cat >conftest.
$ac_ext <<_ACEOF
10474 cat confdefs.h
>>conftest.
$ac_ext
10475 cat >>conftest.
$ac_ext <<_ACEOF
10476 /* end confdefs.h. */
10478 /* Override any GCC internal prototype to avoid an error.
10479 Use char because int might match the return type of a GCC
10480 builtin and then its argument prototype would still apply. */
10484 char xsltCompilePattern ();
10488 return xsltCompilePattern ();
10493 rm -f conftest.
$ac_objext conftest
$ac_exeext
10494 if { (ac_try
="$ac_link"
10495 case "(($ac_try" in
10496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10497 *) ac_try_echo=$ac_try;;
10499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10500 (eval "$ac_link") 2>conftest.er1
10502 grep -v '^ *+' conftest.er1 >conftest.err
10504 cat conftest.err >&5
10505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10506 (exit $ac_status); } &&
10507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10508 { (case "(($ac_try" in
10509 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10510 *) ac_try_echo
=$ac_try;;
10512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10513 (eval "$ac_try") 2>&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); }; } &&
10517 { ac_try
='test -s conftest$ac_exeext'
10518 { (case "(($ac_try" in
10519 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10520 *) ac_try_echo=$ac_try;;
10522 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10523 (eval "$ac_try") 2>&5
10525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10526 (exit $ac_status); }; }; then
10527 ac_cv_lib_xslt_xsltCompilePattern=yes
10529 echo "$as_me: failed program was:" >&5
10530 sed 's/^/| /' conftest.$ac_ext >&5
10532 ac_cv_lib_xslt_xsltCompilePattern=no
10535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10536 conftest$ac_exeext conftest.$ac_ext
10537 LIBS=$ac_check_lib_save_LIBS
10539 { echo "$as_me:$LINENO: result: $ac_cv_lib_xslt_xsltCompilePattern" >&5
10540 echo "${ECHO_T}$ac_cv_lib_xslt_xsltCompilePattern" >&6; }
10541 if test $ac_cv_lib_xslt_xsltCompilePattern = yes; then
10543 cat >>confdefs.h <<\_ACEOF
10544 #define HAVE_LIBXSLT 1
10547 XSLTLIBS="$ac_xslt_libs"
10548 XSLTINCL="$ac_xslt_cflags"
10556 CPPFLAGS="$ac_save_CPPFLAGS"
10561 if test "$PKG_CONFIG" != "false"
10563 ac_save_CPPFLAGS="$CPPFLAGS"
10564 ac_hal_libs="`$PKG_CONFIG --libs hal
2>/dev
/null
`"
10565 ac_hal_cflags="`$PKG_CONFIG --cflags hal
2>/dev
/null
`"
10566 CPPFLAGS="$CPPFLAGS $ac_hal_cflags"
10569 for ac_header in dbus/dbus.h hal/libhal.h
10571 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
10572 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10573 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10574 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10575 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10576 echo $ECHO_N "(cached) $ECHO_C" >&6
10578 ac_res=`eval echo '${'$as_ac_Header'}'`
10579 { echo "$as_me:$LINENO: result: $ac_res" >&5
10580 echo "${ECHO_T}$ac_res" >&6; }
10582 # Is the header compilable?
10583 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
10584 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10585 cat >conftest.$ac_ext <<_ACEOF
10588 cat confdefs.h >>conftest.$ac_ext
10589 cat >>conftest.$ac_ext <<_ACEOF
10590 /* end confdefs.h. */
10591 $ac_includes_default
10592 #include <$ac_header>
10594 rm -f conftest.$ac_objext
10595 if { (ac_try="$ac_compile"
10596 case "(($ac_try" in
10597 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10598 *) ac_try_echo
=$ac_try;;
10600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10601 (eval "$ac_compile") 2>conftest.er1
10603 grep -v '^ *+' conftest.er1
>conftest.err
10605 cat conftest.err
>&5
10606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10607 (exit $ac_status); } &&
10608 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10609 { (case "(($ac_try" in
10610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10611 *) ac_try_echo=$ac_try;;
10613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10614 (eval "$ac_try") 2>&5
10616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10617 (exit $ac_status); }; } &&
10618 { ac_try='test -s conftest.$ac_objext'
10619 { (case "(($ac_try" in
10620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10621 *) ac_try_echo
=$ac_try;;
10623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10624 (eval "$ac_try") 2>&5
10626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10627 (exit $ac_status); }; }; then
10628 ac_header_compiler
=yes
10630 echo "$as_me: failed program was:" >&5
10631 sed 's/^/| /' conftest.
$ac_ext >&5
10633 ac_header_compiler
=no
10636 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10637 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10638 echo "${ECHO_T}$ac_header_compiler" >&6; }
10640 # Is the header present?
10641 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
10642 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10643 cat >conftest.
$ac_ext <<_ACEOF
10646 cat confdefs.h
>>conftest.
$ac_ext
10647 cat >>conftest.
$ac_ext <<_ACEOF
10648 /* end confdefs.h. */
10649 #include <$ac_header>
10651 if { (ac_try
="$ac_cpp conftest.$ac_ext"
10652 case "(($ac_try" in
10653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10654 *) ac_try_echo=$ac_try;;
10656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10657 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
10659 grep -v '^ *+' conftest.er1 >conftest.err
10661 cat conftest.err >&5
10662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10663 (exit $ac_status); } >/dev/null; then
10664 if test -s conftest.err; then
10665 ac_cpp_err=$ac_c_preproc_warn_flag
10666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
10673 if test -z "$ac_cpp_err"; then
10674 ac_header_preproc=yes
10676 echo "$as_me: failed program was:" >&5
10677 sed 's/^/| /' conftest.$ac_ext >&5
10679 ac_header_preproc=no
10682 rm -f conftest.err conftest.$ac_ext
10683 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
10684 echo "${ECHO_T}$ac_header_preproc" >&6; }
10686 # So? What about this header?
10687 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
10689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10693 ac_header_preproc=yes
10696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10709 ## ------------------------------------ ##
10710 ## Report this to wine-devel@winehq.org ##
10711 ## ------------------------------------ ##
10713 ) | sed "s/^/$as_me: WARNING: /" >&2
10716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10718 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10719 echo $ECHO_N "(cached) $ECHO_C" >&6
10721 eval "$as_ac_Header=\$ac_header_preproc"
10723 ac_res=`eval echo '${'$as_ac_Header'}'`
10724 { echo "$as_me:$LINENO: result: $ac_res" >&5
10725 echo "${ECHO_T}$ac_res" >&6; }
10728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
10729 cat >>confdefs.h <<_ACEOF
10730 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
10737 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
10739 { echo "$as_me:$LINENO: checking for libhal_ctx_new in -lhal" >&5
10740 echo $ECHO_N "checking for libhal_ctx_new in -lhal... $ECHO_C" >&6; }
10741 if test "${ac_cv_lib_hal_libhal_ctx_new+set}" = set; then
10742 echo $ECHO_N "(cached) $ECHO_C" >&6
10744 ac_check_lib_save_LIBS=$LIBS
10746 cat >conftest.$ac_ext <<_ACEOF
10749 cat confdefs.h >>conftest.$ac_ext
10750 cat >>conftest.$ac_ext <<_ACEOF
10751 /* end confdefs.h. */
10753 /* Override any GCC internal prototype to avoid an error.
10754 Use char because int might match the return type of a GCC
10755 builtin and then its argument prototype would still apply. */
10759 char libhal_ctx_new ();
10763 return libhal_ctx_new ();
10768 rm -f conftest.$ac_objext conftest$ac_exeext
10769 if { (ac_try="$ac_link"
10770 case "(($ac_try" in
10771 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10772 *) ac_try_echo
=$ac_try;;
10774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10775 (eval "$ac_link") 2>conftest.er1
10777 grep -v '^ *+' conftest.er1
>conftest.err
10779 cat conftest.err
>&5
10780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10781 (exit $ac_status); } &&
10782 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10783 { (case "(($ac_try" in
10784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10785 *) ac_try_echo=$ac_try;;
10787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10788 (eval "$ac_try") 2>&5
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; } &&
10792 { ac_try='test -s conftest$ac_exeext'
10793 { (case "(($ac_try" in
10794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10795 *) ac_try_echo
=$ac_try;;
10797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10798 (eval "$ac_try") 2>&5
10800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10801 (exit $ac_status); }; }; then
10802 ac_cv_lib_hal_libhal_ctx_new
=yes
10804 echo "$as_me: failed program was:" >&5
10805 sed 's/^/| /' conftest.
$ac_ext >&5
10807 ac_cv_lib_hal_libhal_ctx_new
=no
10810 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10811 conftest
$ac_exeext conftest.
$ac_ext
10812 LIBS
=$ac_check_lib_save_LIBS
10814 { echo "$as_me:$LINENO: result: $ac_cv_lib_hal_libhal_ctx_new" >&5
10815 echo "${ECHO_T}$ac_cv_lib_hal_libhal_ctx_new" >&6; }
10816 if test $ac_cv_lib_hal_libhal_ctx_new = yes; then
10817 { echo "$as_me:$LINENO: checking for dbus_connection_close in -ldbus-1" >&5
10818 echo $ECHO_N "checking for dbus_connection_close in -ldbus-1... $ECHO_C" >&6; }
10819 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then
10820 echo $ECHO_N "(cached) $ECHO_C" >&6
10822 ac_check_lib_save_LIBS
=$LIBS
10823 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
10824 cat >conftest.
$ac_ext <<_ACEOF
10827 cat confdefs.h
>>conftest.
$ac_ext
10828 cat >>conftest.
$ac_ext <<_ACEOF
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10837 char dbus_connection_close ();
10841 return dbus_connection_close ();
10846 rm -f conftest.
$ac_objext conftest
$ac_exeext
10847 if { (ac_try
="$ac_link"
10848 case "(($ac_try" in
10849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10850 *) ac_try_echo=$ac_try;;
10852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10853 (eval "$ac_link") 2>conftest.er1
10855 grep -v '^ *+' conftest.er1 >conftest.err
10857 cat conftest.err >&5
10858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10859 (exit $ac_status); } &&
10860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10861 { (case "(($ac_try" in
10862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10863 *) ac_try_echo
=$ac_try;;
10865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10866 (eval "$ac_try") 2>&5
10868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10869 (exit $ac_status); }; } &&
10870 { ac_try
='test -s conftest$ac_exeext'
10871 { (case "(($ac_try" in
10872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10873 *) ac_try_echo=$ac_try;;
10875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10876 (eval "$ac_try") 2>&5
10878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10879 (exit $ac_status); }; }; then
10880 ac_cv_lib_dbus_1_dbus_connection_close=yes
10882 echo "$as_me: failed program was:" >&5
10883 sed 's/^/| /' conftest.$ac_ext >&5
10885 ac_cv_lib_dbus_1_dbus_connection_close=no
10888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { echo "$as_me:$LINENO: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
10893 echo "${ECHO_T}$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
10894 if test $ac_cv_lib_dbus_1_dbus_connection_close = yes; then
10896 cat >>confdefs.h <<\_ACEOF
10897 #define HAVE_LIBHAL 1
10900 HALINCL="$ac_hal_cflags"
10906 CPPFLAGS="$ac_save_CPPFLAGS"
10910 if test "$ac_cv_header_ncurses_h" = "yes"
10912 { echo "$as_me:$LINENO: checking for waddch in -lncurses" >&5
10913 echo $ECHO_N "checking for waddch in -lncurses... $ECHO_C" >&6; }
10914 if test "${ac_cv_lib_ncurses_waddch+set}" = set; then
10915 echo $ECHO_N "(cached) $ECHO_C" >&6
10917 ac_check_lib_save_LIBS=$LIBS
10918 LIBS="-lncurses $LIBS"
10919 cat >conftest.$ac_ext <<_ACEOF
10922 cat confdefs.h >>conftest.$ac_ext
10923 cat >>conftest.$ac_ext <<_ACEOF
10924 /* end confdefs.h. */
10926 /* Override any GCC internal prototype to avoid an error.
10927 Use char because int might match the return type of a GCC
10928 builtin and then its argument prototype would still apply. */
10941 rm -f conftest.$ac_objext conftest$ac_exeext
10942 if { (ac_try="$ac_link"
10943 case "(($ac_try" in
10944 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10945 *) ac_try_echo
=$ac_try;;
10947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10948 (eval "$ac_link") 2>conftest.er1
10950 grep -v '^ *+' conftest.er1
>conftest.err
10952 cat conftest.err
>&5
10953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10954 (exit $ac_status); } &&
10955 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10956 { (case "(($ac_try" in
10957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
10958 *) ac_try_echo=$ac_try;;
10960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10961 (eval "$ac_try") 2>&5
10963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10964 (exit $ac_status); }; } &&
10965 { ac_try='test -s conftest$ac_exeext'
10966 { (case "(($ac_try" in
10967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
10968 *) ac_try_echo
=$ac_try;;
10970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10971 (eval "$ac_try") 2>&5
10973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10974 (exit $ac_status); }; }; then
10975 ac_cv_lib_ncurses_waddch
=yes
10977 echo "$as_me: failed program was:" >&5
10978 sed 's/^/| /' conftest.
$ac_ext >&5
10980 ac_cv_lib_ncurses_waddch
=no
10983 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
10984 conftest
$ac_exeext conftest.
$ac_ext
10985 LIBS
=$ac_check_lib_save_LIBS
10987 { echo "$as_me:$LINENO: result: $ac_cv_lib_ncurses_waddch" >&5
10988 echo "${ECHO_T}$ac_cv_lib_ncurses_waddch" >&6; }
10989 if test $ac_cv_lib_ncurses_waddch = yes; then
10990 CURSESLIBS
="-lncurses"
10993 elif test "$ac_cv_header_curses_h" = "yes"
10995 { echo "$as_me:$LINENO: checking for waddch in -lcurses" >&5
10996 echo $ECHO_N "checking for waddch in -lcurses... $ECHO_C" >&6; }
10997 if test "${ac_cv_lib_curses_waddch+set}" = set; then
10998 echo $ECHO_N "(cached) $ECHO_C" >&6
11000 ac_check_lib_save_LIBS
=$LIBS
11001 LIBS
="-lcurses $LIBS"
11002 cat >conftest.
$ac_ext <<_ACEOF
11005 cat confdefs.h
>>conftest.
$ac_ext
11006 cat >>conftest.
$ac_ext <<_ACEOF
11007 /* end confdefs.h. */
11009 /* Override any GCC internal prototype to avoid an error.
11010 Use char because int might match the return type of a GCC
11011 builtin and then its argument prototype would still apply. */
11024 rm -f conftest.
$ac_objext conftest
$ac_exeext
11025 if { (ac_try
="$ac_link"
11026 case "(($ac_try" in
11027 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11028 *) ac_try_echo=$ac_try;;
11030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11031 (eval "$ac_link") 2>conftest.er1
11033 grep -v '^ *+' conftest.er1 >conftest.err
11035 cat conftest.err >&5
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); } &&
11038 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11039 { (case "(($ac_try" in
11040 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11041 *) ac_try_echo
=$ac_try;;
11043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11044 (eval "$ac_try") 2>&5
11046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11047 (exit $ac_status); }; } &&
11048 { ac_try
='test -s conftest$ac_exeext'
11049 { (case "(($ac_try" in
11050 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11051 *) ac_try_echo=$ac_try;;
11053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11054 (eval "$ac_try") 2>&5
11056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11057 (exit $ac_status); }; }; then
11058 ac_cv_lib_curses_waddch=yes
11060 echo "$as_me: failed program was:" >&5
11061 sed 's/^/| /' conftest.$ac_ext >&5
11063 ac_cv_lib_curses_waddch=no
11066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11067 conftest$ac_exeext conftest.$ac_ext
11068 LIBS=$ac_check_lib_save_LIBS
11070 { echo "$as_me:$LINENO: result: $ac_cv_lib_curses_waddch" >&5
11071 echo "${ECHO_T}$ac_cv_lib_curses_waddch" >&6; }
11072 if test $ac_cv_lib_curses_waddch = yes; then
11073 CURSESLIBS="-lcurses"
11077 ac_save_LIBS="$LIBS"
11078 LIBS="$LIBS $CURSESLIBS"
11080 for ac_func in mousemask
11082 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
11083 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11085 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11086 echo $ECHO_N "(cached) $ECHO_C" >&6
11088 cat >conftest.$ac_ext <<_ACEOF
11091 cat confdefs.h >>conftest.$ac_ext
11092 cat >>conftest.$ac_ext <<_ACEOF
11093 /* end confdefs.h. */
11094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11096 #define $ac_func innocuous_$ac_func
11098 /* System header to define __stub macros and hopefully few prototypes,
11099 which can conflict with char $ac_func (); below.
11100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11101 <limits.h> exists even on freestanding compilers. */
11104 # include <limits.h>
11106 # include <assert.h>
11111 /* Override any GCC internal prototype to avoid an error.
11112 Use char because int might match the return type of a GCC
11113 builtin and then its argument prototype would still apply. */
11118 /* The GNU C library defines this for functions which it implements
11119 to always fail with ENOSYS. Some functions are actually named
11120 something starting with __ and the normal name is an alias. */
11121 #if defined __stub_$ac_func || defined __stub___$ac_func
11128 return $ac_func ();
11133 rm -f conftest.$ac_objext conftest$ac_exeext
11134 if { (ac_try="$ac_link"
11135 case "(($ac_try" in
11136 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11137 *) ac_try_echo
=$ac_try;;
11139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11140 (eval "$ac_link") 2>conftest.er1
11142 grep -v '^ *+' conftest.er1
>conftest.err
11144 cat conftest.err
>&5
11145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11146 (exit $ac_status); } &&
11147 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11148 { (case "(($ac_try" in
11149 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11150 *) ac_try_echo=$ac_try;;
11152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11153 (eval "$ac_try") 2>&5
11155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11156 (exit $ac_status); }; } &&
11157 { ac_try='test -s conftest$ac_exeext'
11158 { (case "(($ac_try" in
11159 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11160 *) ac_try_echo
=$ac_try;;
11162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11163 (eval "$ac_try") 2>&5
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; }; then
11167 eval "$as_ac_var=yes"
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.
$ac_ext >&5
11172 eval "$as_ac_var=no"
11175 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11176 conftest
$ac_exeext conftest.
$ac_ext
11178 ac_res
=`eval echo '${'$as_ac_var'}'`
11179 { echo "$as_me:$LINENO: result: $ac_res" >&5
11180 echo "${ECHO_T}$ac_res" >&6; }
11181 if test `eval echo '${'$as_ac_var'}'` = yes; then
11182 cat >>confdefs.h
<<_ACEOF
11183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11189 LIBS
="$ac_save_LIBS"
11191 # Extract the first word of "sane-config", so it can be a program name with args.
11192 set dummy sane-config
; ac_word
=$2
11193 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11194 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11195 if test "${ac_cv_prog_sane_devel+set}" = set; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11198 if test -n "$sane_devel"; then
11199 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
11201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
11202 for as_dir
in $PATH
11205 test -z "$as_dir" && as_dir
=.
11206 for ac_exec_ext
in '' $ac_executable_extensions; do
11207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11208 ac_cv_prog_sane_devel
="sane-config"
11209 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11216 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
11219 sane_devel
=$ac_cv_prog_sane_devel
11220 if test -n "$sane_devel"; then
11221 { echo "$as_me:$LINENO: result: $sane_devel" >&5
11222 echo "${ECHO_T}$sane_devel" >&6; }
11224 { echo "$as_me:$LINENO: result: no" >&5
11225 echo "${ECHO_T}no" >&6; }
11233 if test "$sane_devel" != "no"
11235 SANELIBS
="`$sane_devel --libs`"
11236 SANEINCL
="`$sane_devel --cflags`"
11237 ac_save_CPPFLAGS
="$CPPFLAGS"
11238 ac_save_LIBS
="$LIBS"
11239 CPPFLAGS
="$CPPFLAGS $SANEINCL"
11240 LIBS
="$LIBS $SANELIBS"
11241 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11242 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11243 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11244 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11245 echo $ECHO_N "(cached) $ECHO_C" >&6
11247 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11248 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11250 # Is the header compilable?
11251 { echo "$as_me:$LINENO: checking sane/sane.h usability" >&5
11252 echo $ECHO_N "checking sane/sane.h usability... $ECHO_C" >&6; }
11253 cat >conftest.
$ac_ext <<_ACEOF
11256 cat confdefs.h
>>conftest.
$ac_ext
11257 cat >>conftest.
$ac_ext <<_ACEOF
11258 /* end confdefs.h. */
11259 $ac_includes_default
11260 #include <sane/sane.h>
11262 rm -f conftest.
$ac_objext
11263 if { (ac_try
="$ac_compile"
11264 case "(($ac_try" in
11265 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11266 *) ac_try_echo=$ac_try;;
11268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11269 (eval "$ac_compile") 2>conftest.er1
11271 grep -v '^ *+' conftest.er1 >conftest.err
11273 cat conftest.err >&5
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); } &&
11276 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11277 { (case "(($ac_try" in
11278 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11279 *) ac_try_echo
=$ac_try;;
11281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11282 (eval "$ac_try") 2>&5
11284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11285 (exit $ac_status); }; } &&
11286 { ac_try
='test -s conftest.$ac_objext'
11287 { (case "(($ac_try" in
11288 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11289 *) ac_try_echo=$ac_try;;
11291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11292 (eval "$ac_try") 2>&5
11294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11295 (exit $ac_status); }; }; then
11296 ac_header_compiler=yes
11298 echo "$as_me: failed program was:" >&5
11299 sed 's/^/| /' conftest.$ac_ext >&5
11301 ac_header_compiler=no
11304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11305 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11306 echo "${ECHO_T}$ac_header_compiler" >&6; }
11308 # Is the header present?
11309 { echo "$as_me:$LINENO: checking sane/sane.h presence" >&5
11310 echo $ECHO_N "checking sane/sane.h presence... $ECHO_C" >&6; }
11311 cat >conftest.$ac_ext <<_ACEOF
11314 cat confdefs.h >>conftest.$ac_ext
11315 cat >>conftest.$ac_ext <<_ACEOF
11316 /* end confdefs.h. */
11317 #include <sane/sane.h>
11319 if { (ac_try="$ac_cpp conftest.$ac_ext"
11320 case "(($ac_try" in
11321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11322 *) ac_try_echo
=$ac_try;;
11324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11325 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11327 grep -v '^ *+' conftest.er1
>conftest.err
11329 cat conftest.err
>&5
11330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11331 (exit $ac_status); } >/dev
/null
; then
11332 if test -s conftest.err
; then
11333 ac_cpp_err
=$ac_c_preproc_warn_flag
11334 ac_cpp_err
=$ac_cpp_err$ac_c_werror_flag
11341 if test -z "$ac_cpp_err"; then
11342 ac_header_preproc
=yes
11344 echo "$as_me: failed program was:" >&5
11345 sed 's/^/| /' conftest.
$ac_ext >&5
11347 ac_header_preproc
=no
11350 rm -f conftest.err conftest.
$ac_ext
11351 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11352 echo "${ECHO_T}$ac_header_preproc" >&6; }
11354 # So? What about this header?
11355 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11357 { echo "$as_me:$LINENO: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&5
11358 echo "$as_me: WARNING: sane/sane.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11359 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the compiler's result" >&5
11360 echo "$as_me: WARNING: sane/sane.h: proceeding with the compiler's result" >&2;}
11361 ac_header_preproc
=yes
11364 { echo "$as_me:$LINENO: WARNING: sane/sane.h: present but cannot be compiled" >&5
11365 echo "$as_me: WARNING: sane/sane.h: present but cannot be compiled" >&2;}
11366 { echo "$as_me:$LINENO: WARNING: sane/sane.h: check for missing prerequisite headers?" >&5
11367 echo "$as_me: WARNING: sane/sane.h: check for missing prerequisite headers?" >&2;}
11368 { echo "$as_me:$LINENO: WARNING: sane/sane.h: see the Autoconf documentation" >&5
11369 echo "$as_me: WARNING: sane/sane.h: see the Autoconf documentation" >&2;}
11370 { echo "$as_me:$LINENO: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&5
11371 echo "$as_me: WARNING: sane/sane.h: section \"Present But Cannot Be Compiled\"" >&2;}
11372 { echo "$as_me:$LINENO: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&5
11373 echo "$as_me: WARNING: sane/sane.h: proceeding with the preprocessor's result" >&2;}
11374 { echo "$as_me:$LINENO: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&5
11375 echo "$as_me: WARNING: sane/sane.h: in the future, the compiler will take precedence" >&2;}
11377 ## ------------------------------------ ##
11378 ## Report this to wine-devel@winehq.org ##
11379 ## ------------------------------------ ##
11381 ) |
sed "s/^/$as_me: WARNING: /" >&2
11384 { echo "$as_me:$LINENO: checking for sane/sane.h" >&5
11385 echo $ECHO_N "checking for sane/sane.h... $ECHO_C" >&6; }
11386 if test "${ac_cv_header_sane_sane_h+set}" = set; then
11387 echo $ECHO_N "(cached) $ECHO_C" >&6
11389 ac_cv_header_sane_sane_h
=$ac_header_preproc
11391 { echo "$as_me:$LINENO: result: $ac_cv_header_sane_sane_h" >&5
11392 echo "${ECHO_T}$ac_cv_header_sane_sane_h" >&6; }
11395 if test $ac_cv_header_sane_sane_h = yes; then
11396 { echo "$as_me:$LINENO: checking for sane_open in -lsane" >&5
11397 echo $ECHO_N "checking for sane_open in -lsane... $ECHO_C" >&6; }
11398 if test "${ac_cv_lib_sane_sane_open+set}" = set; then
11399 echo $ECHO_N "(cached) $ECHO_C" >&6
11401 ac_check_lib_save_LIBS
=$LIBS
11402 LIBS
="-lsane $LIBS"
11403 cat >conftest.
$ac_ext <<_ACEOF
11406 cat confdefs.h
>>conftest.
$ac_ext
11407 cat >>conftest.
$ac_ext <<_ACEOF
11408 /* end confdefs.h. */
11410 /* Override any GCC internal prototype to avoid an error.
11411 Use char because int might match the return type of a GCC
11412 builtin and then its argument prototype would still apply. */
11420 return sane_open ();
11425 rm -f conftest.
$ac_objext conftest
$ac_exeext
11426 if { (ac_try
="$ac_link"
11427 case "(($ac_try" in
11428 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11429 *) ac_try_echo=$ac_try;;
11431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11432 (eval "$ac_link") 2>conftest.er1
11434 grep -v '^ *+' conftest.er1 >conftest.err
11436 cat conftest.err >&5
11437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11438 (exit $ac_status); } &&
11439 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11440 { (case "(($ac_try" in
11441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11442 *) ac_try_echo
=$ac_try;;
11444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11445 (eval "$ac_try") 2>&5
11447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11448 (exit $ac_status); }; } &&
11449 { ac_try
='test -s conftest$ac_exeext'
11450 { (case "(($ac_try" in
11451 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11452 *) ac_try_echo=$ac_try;;
11454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11455 (eval "$ac_try") 2>&5
11457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11458 (exit $ac_status); }; }; then
11459 ac_cv_lib_sane_sane_open=yes
11461 echo "$as_me: failed program was:" >&5
11462 sed 's/^/| /' conftest.$ac_ext >&5
11464 ac_cv_lib_sane_sane_open=no
11467 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11468 conftest$ac_exeext conftest.$ac_ext
11469 LIBS=$ac_check_lib_save_LIBS
11471 { echo "$as_me:$LINENO: result: $ac_cv_lib_sane_sane_open" >&5
11472 echo "${ECHO_T}$ac_cv_lib_sane_sane_open" >&6; }
11473 if test $ac_cv_lib_sane_sane_open = yes; then
11475 cat >>confdefs.h <<\_ACEOF
11476 #define HAVE_SANE 1
11490 LIBS="$ac_save_LIBS"
11491 CPPFLAGS="$ac_save_CPPFLAGS"
11494 # Extract the first word of "gphoto2-config", so it can be a program name with args.
11495 set dummy gphoto2-config; ac_word=$2
11496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11498 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then
11499 echo $ECHO_N "(cached) $ECHO_C" >&6
11501 if test -n "$gphoto2_devel"; then
11502 ac_cv_prog_gphoto2_devel="$gphoto2_devel" # Let the user override the test.
11504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11505 for as_dir in $PATH
11508 test -z "$as_dir" && as_dir=.
11509 for ac_exec_ext in '' $ac_executable_extensions; do
11510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11511 ac_cv_prog_gphoto2_devel="gphoto2-config"
11512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11519 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel="no"
11522 gphoto2_devel=$ac_cv_prog_gphoto2_devel
11523 if test -n "$gphoto2_devel"; then
11524 { echo "$as_me:$LINENO: result: $gphoto2_devel" >&5
11525 echo "${ECHO_T}$gphoto2_devel" >&6; }
11527 { echo "$as_me:$LINENO: result: no" >&5
11528 echo "${ECHO_T}no" >&6; }
11532 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
11533 set dummy gphoto2-port-config; ac_word=$2
11534 { echo "$as_me:$LINENO: checking for $ac_word" >&5
11535 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
11536 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then
11537 echo $ECHO_N "(cached) $ECHO_C" >&6
11539 if test -n "$gphoto2port_devel"; then
11540 ac_cv_prog_gphoto2port_devel="$gphoto2port_devel" # Let the user override the test.
11542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11543 for as_dir in $PATH
11546 test -z "$as_dir" && as_dir=.
11547 for ac_exec_ext in '' $ac_executable_extensions; do
11548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
11549 ac_cv_prog_gphoto2port_devel="gphoto2-port-config"
11550 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11557 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel="no"
11560 gphoto2port_devel=$ac_cv_prog_gphoto2port_devel
11561 if test -n "$gphoto2port_devel"; then
11562 { echo "$as_me:$LINENO: result: $gphoto2port_devel" >&5
11563 echo "${ECHO_T}$gphoto2port_devel" >&6; }
11565 { echo "$as_me:$LINENO: result: no" >&5
11566 echo "${ECHO_T}no" >&6; }
11574 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
11576 GPHOTO2INCL="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
11578 for i in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
11581 -L/usr/lib|-L/usr/lib64) ;;
11582 -L*|-l*) GPHOTO2LIBS="$GPHOTO2LIBS $i";;
11585 ac_save_CPPFLAGS="$CPPFLAGS"
11586 ac_save_LIBS="$LIBS"
11587 CPPFLAGS="$CPPFLAGS $GPHOTO2INCL"
11588 LIBS="$LIBS $GPHOTO2LIBS"
11589 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11590 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11591 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11592 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11593 echo $ECHO_N "(cached) $ECHO_C" >&6
11595 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11596 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11598 # Is the header compilable?
11599 { echo "$as_me:$LINENO: checking gphoto2-camera.h usability" >&5
11600 echo $ECHO_N "checking gphoto2-camera.h usability... $ECHO_C" >&6; }
11601 cat >conftest.$ac_ext <<_ACEOF
11604 cat confdefs.h >>conftest.$ac_ext
11605 cat >>conftest.$ac_ext <<_ACEOF
11606 /* end confdefs.h. */
11607 $ac_includes_default
11608 #include <gphoto2-camera.h>
11610 rm -f conftest.$ac_objext
11611 if { (ac_try="$ac_compile"
11612 case "(($ac_try" in
11613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11614 *) ac_try_echo
=$ac_try;;
11616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11617 (eval "$ac_compile") 2>conftest.er1
11619 grep -v '^ *+' conftest.er1
>conftest.err
11621 cat conftest.err
>&5
11622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11623 (exit $ac_status); } &&
11624 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11625 { (case "(($ac_try" in
11626 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11627 *) ac_try_echo=$ac_try;;
11629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11630 (eval "$ac_try") 2>&5
11632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11633 (exit $ac_status); }; } &&
11634 { ac_try='test -s conftest.$ac_objext'
11635 { (case "(($ac_try" in
11636 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11637 *) ac_try_echo
=$ac_try;;
11639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11640 (eval "$ac_try") 2>&5
11642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11643 (exit $ac_status); }; }; then
11644 ac_header_compiler
=yes
11646 echo "$as_me: failed program was:" >&5
11647 sed 's/^/| /' conftest.
$ac_ext >&5
11649 ac_header_compiler
=no
11652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11653 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
11654 echo "${ECHO_T}$ac_header_compiler" >&6; }
11656 # Is the header present?
11657 { echo "$as_me:$LINENO: checking gphoto2-camera.h presence" >&5
11658 echo $ECHO_N "checking gphoto2-camera.h presence... $ECHO_C" >&6; }
11659 cat >conftest.
$ac_ext <<_ACEOF
11662 cat confdefs.h
>>conftest.
$ac_ext
11663 cat >>conftest.
$ac_ext <<_ACEOF
11664 /* end confdefs.h. */
11665 #include <gphoto2-camera.h>
11667 if { (ac_try
="$ac_cpp conftest.$ac_ext"
11668 case "(($ac_try" in
11669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11670 *) ac_try_echo=$ac_try;;
11672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11673 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
11675 grep -v '^ *+' conftest.er1 >conftest.err
11677 cat conftest.err >&5
11678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11679 (exit $ac_status); } >/dev/null; then
11680 if test -s conftest.err; then
11681 ac_cpp_err=$ac_c_preproc_warn_flag
11682 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
11689 if test -z "$ac_cpp_err"; then
11690 ac_header_preproc=yes
11692 echo "$as_me: failed program was:" >&5
11693 sed 's/^/| /' conftest.$ac_ext >&5
11695 ac_header_preproc=no
11698 rm -f conftest.err conftest.$ac_ext
11699 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
11700 echo "${ECHO_T}$ac_header_preproc" >&6; }
11702 # So? What about this header?
11703 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
11705 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&5
11706 echo "$as_me: WARNING: gphoto2-camera.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
11707 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&5
11708 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the compiler's result" >&2;}
11709 ac_header_preproc=yes
11712 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: present but cannot be compiled" >&5
11713 echo "$as_me: WARNING: gphoto2-camera.h: present but cannot be compiled" >&2;}
11714 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&5
11715 echo "$as_me: WARNING: gphoto2-camera.h: check for missing prerequisite headers?" >&2;}
11716 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&5
11717 echo "$as_me: WARNING: gphoto2-camera.h: see the Autoconf documentation" >&2;}
11718 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&5
11719 echo "$as_me: WARNING: gphoto2-camera.h: section \"Present But Cannot Be Compiled\"" >&2;}
11720 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&5
11721 echo "$as_me: WARNING: gphoto2-camera.h: proceeding with the preprocessor's result" >&2;}
11722 { echo "$as_me:$LINENO: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&5
11723 echo "$as_me: WARNING: gphoto2-camera.h: in the future, the compiler will take precedence" >&2;}
11725 ## ------------------------------------ ##
11726 ## Report this to wine-devel@winehq.org ##
11727 ## ------------------------------------ ##
11729 ) | sed "s/^/$as_me: WARNING: /" >&2
11732 { echo "$as_me:$LINENO: checking for gphoto2-camera.h" >&5
11733 echo $ECHO_N "checking for gphoto2-camera.h... $ECHO_C" >&6; }
11734 if test "${ac_cv_header_gphoto2_camera_h+set}" = set; then
11735 echo $ECHO_N "(cached) $ECHO_C" >&6
11737 ac_cv_header_gphoto2_camera_h=$ac_header_preproc
11739 { echo "$as_me:$LINENO: result: $ac_cv_header_gphoto2_camera_h" >&5
11740 echo "${ECHO_T}$ac_cv_header_gphoto2_camera_h" >&6; }
11743 if test $ac_cv_header_gphoto2_camera_h = yes; then
11744 { echo "$as_me:$LINENO: checking for gp_camera_new in -lgphoto2" >&5
11745 echo $ECHO_N "checking for gp_camera_new in -lgphoto2... $ECHO_C" >&6; }
11746 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then
11747 echo $ECHO_N "(cached) $ECHO_C" >&6
11749 ac_check_lib_save_LIBS=$LIBS
11750 LIBS="-lgphoto2 $LIBS"
11751 cat >conftest.$ac_ext <<_ACEOF
11754 cat confdefs.h >>conftest.$ac_ext
11755 cat >>conftest.$ac_ext <<_ACEOF
11756 /* end confdefs.h. */
11758 /* Override any GCC internal prototype to avoid an error.
11759 Use char because int might match the return type of a GCC
11760 builtin and then its argument prototype would still apply. */
11764 char gp_camera_new ();
11768 return gp_camera_new ();
11773 rm -f conftest.$ac_objext conftest$ac_exeext
11774 if { (ac_try="$ac_link"
11775 case "(($ac_try" in
11776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11777 *) ac_try_echo
=$ac_try;;
11779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11780 (eval "$ac_link") 2>conftest.er1
11782 grep -v '^ *+' conftest.er1
>conftest.err
11784 cat conftest.err
>&5
11785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11786 (exit $ac_status); } &&
11787 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11788 { (case "(($ac_try" in
11789 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11790 *) ac_try_echo=$ac_try;;
11792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11793 (eval "$ac_try") 2>&5
11795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11796 (exit $ac_status); }; } &&
11797 { ac_try='test -s conftest$ac_exeext'
11798 { (case "(($ac_try" in
11799 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11800 *) ac_try_echo
=$ac_try;;
11802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11803 (eval "$ac_try") 2>&5
11805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11806 (exit $ac_status); }; }; then
11807 ac_cv_lib_gphoto2_gp_camera_new
=yes
11809 echo "$as_me: failed program was:" >&5
11810 sed 's/^/| /' conftest.
$ac_ext >&5
11812 ac_cv_lib_gphoto2_gp_camera_new
=no
11815 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
11816 conftest
$ac_exeext conftest.
$ac_ext
11817 LIBS
=$ac_check_lib_save_LIBS
11819 { echo "$as_me:$LINENO: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
11820 echo "${ECHO_T}$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
11821 if test $ac_cv_lib_gphoto2_gp_camera_new = yes; then
11823 cat >>confdefs.h
<<\_ACEOF
11824 #define HAVE_GPHOTO2 1
11838 LIBS
="$ac_save_LIBS"
11839 CPPFLAGS
="$ac_save_CPPFLAGS"
11842 if test "$ac_cv_header_unicode_ubidi_h" = "yes"
11845 for i
in ${ICU_LIB_DIR-/usr/lib}/libsicu
${ICU_LIB_DIR-/usr/lib}/libicu
11847 TEST_ICUUC_LIB
="${ICUUC_LIB-${i}uc.a}"
11848 TEST_ICUDATA_LIB
="${ICUDATA_LIB-${i}data.a}"
11849 { echo "$as_me:$LINENO: checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB" >&5
11850 echo $ECHO_N "checking whether can link with ICU libraries $TEST_ICUUC_LIB and $TEST_ICUDATA_LIB... $ECHO_C" >&6; }
11851 LIBS
="$saved_libs $TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11852 cat >conftest.
$ac_ext <<_ACEOF
11855 cat confdefs.h
>>conftest.
$ac_ext
11856 cat >>conftest.
$ac_ext <<_ACEOF
11857 /* end confdefs.h. */
11858 #include <unicode/ubidi.h>
11867 rm -f conftest.
$ac_objext conftest
$ac_exeext
11868 if { (ac_try
="$ac_link"
11869 case "(($ac_try" in
11870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11871 *) ac_try_echo=$ac_try;;
11873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11874 (eval "$ac_link") 2>conftest.er1
11876 grep -v '^ *+' conftest.er1 >conftest.err
11878 cat conftest.err >&5
11879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11880 (exit $ac_status); } &&
11881 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11882 { (case "(($ac_try" in
11883 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11884 *) ac_try_echo
=$ac_try;;
11886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11887 (eval "$ac_try") 2>&5
11889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11890 (exit $ac_status); }; } &&
11891 { ac_try
='test -s conftest$ac_exeext'
11892 { (case "(($ac_try" in
11893 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11894 *) ac_try_echo=$ac_try;;
11896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11897 (eval "$ac_try") 2>&5
11899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11900 (exit $ac_status); }; }; then
11902 cat >>confdefs.h <<\_ACEOF
11906 ICULIBS="$TEST_ICUUC_LIB $TEST_ICUDATA_LIB -lstdc++ -lgcc_s"
11908 { echo "$as_me:$LINENO: result: yes" >&5
11909 echo "${ECHO_T}yes" >&6; }
11911 echo "$as_me: failed program was:" >&5
11912 sed 's/^/| /' conftest.$ac_ext >&5
11914 { echo "$as_me:$LINENO: result: no" >&5
11915 echo "${ECHO_T}no" >&6; }
11918 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11919 conftest$ac_exeext conftest.$ac_ext
11926 if test "$ac_cv_header_resolv_h" = "yes"
11928 { echo "$as_me:$LINENO: checking for res_query in -lresolv" >&5
11929 echo $ECHO_N "checking for res_query in -lresolv... $ECHO_C" >&6; }
11930 if test "${ac_cv_lib_resolv_res_query+set}" = set; then
11931 echo $ECHO_N "(cached) $ECHO_C" >&6
11933 ac_check_lib_save_LIBS=$LIBS
11934 LIBS="-lresolv $LIBS"
11935 cat >conftest.$ac_ext <<_ACEOF
11938 cat confdefs.h >>conftest.$ac_ext
11939 cat >>conftest.$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11942 /* Override any GCC internal prototype to avoid an error.
11943 Use char because int might match the return type of a GCC
11944 builtin and then its argument prototype would still apply. */
11952 return res_query ();
11957 rm -f conftest.$ac_objext conftest$ac_exeext
11958 if { (ac_try="$ac_link"
11959 case "(($ac_try" in
11960 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11961 *) ac_try_echo
=$ac_try;;
11963 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11964 (eval "$ac_link") 2>conftest.er1
11966 grep -v '^ *+' conftest.er1
>conftest.err
11968 cat conftest.err
>&5
11969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11970 (exit $ac_status); } &&
11971 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
11972 { (case "(($ac_try" in
11973 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
11974 *) ac_try_echo=$ac_try;;
11976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11977 (eval "$ac_try") 2>&5
11979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11980 (exit $ac_status); }; } &&
11981 { ac_try='test -s conftest$ac_exeext'
11982 { (case "(($ac_try" in
11983 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
11984 *) ac_try_echo
=$ac_try;;
11986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11987 (eval "$ac_try") 2>&5
11989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11990 (exit $ac_status); }; }; then
11991 ac_cv_lib_resolv_res_query
=yes
11993 echo "$as_me: failed program was:" >&5
11994 sed 's/^/| /' conftest.
$ac_ext >&5
11996 ac_cv_lib_resolv_res_query
=no
11999 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12000 conftest
$ac_exeext conftest.
$ac_ext
12001 LIBS
=$ac_check_lib_save_LIBS
12003 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_res_query" >&5
12004 echo "${ECHO_T}$ac_cv_lib_resolv_res_query" >&6; }
12005 if test $ac_cv_lib_resolv_res_query = yes; then
12007 cat >>confdefs.h
<<\_ACEOF
12008 #define HAVE_RESOLV 1
12011 RESOLVLIBS
="-lresolv"
12018 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
12020 { echo "$as_me:$LINENO: checking for cmsOpenProfileFromFile in -llcms" >&5
12021 echo $ECHO_N "checking for cmsOpenProfileFromFile in -llcms... $ECHO_C" >&6; }
12022 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then
12023 echo $ECHO_N "(cached) $ECHO_C" >&6
12025 ac_check_lib_save_LIBS
=$LIBS
12026 LIBS
="-llcms $LIBS"
12027 cat >conftest.
$ac_ext <<_ACEOF
12030 cat confdefs.h
>>conftest.
$ac_ext
12031 cat >>conftest.
$ac_ext <<_ACEOF
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12040 char cmsOpenProfileFromFile ();
12044 return cmsOpenProfileFromFile ();
12049 rm -f conftest.
$ac_objext conftest
$ac_exeext
12050 if { (ac_try
="$ac_link"
12051 case "(($ac_try" in
12052 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12053 *) ac_try_echo=$ac_try;;
12055 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12056 (eval "$ac_link") 2>conftest.er1
12058 grep -v '^ *+' conftest.er1 >conftest.err
12060 cat conftest.err >&5
12061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12062 (exit $ac_status); } &&
12063 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12064 { (case "(($ac_try" in
12065 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12066 *) ac_try_echo
=$ac_try;;
12068 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12069 (eval "$ac_try") 2>&5
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; } &&
12073 { ac_try
='test -s conftest$ac_exeext'
12074 { (case "(($ac_try" in
12075 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12076 *) ac_try_echo=$ac_try;;
12078 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12079 (eval "$ac_try") 2>&5
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }; }; then
12083 ac_cv_lib_lcms_cmsOpenProfileFromFile=yes
12085 echo "$as_me: failed program was:" >&5
12086 sed 's/^/| /' conftest.$ac_ext >&5
12088 ac_cv_lib_lcms_cmsOpenProfileFromFile=no
12091 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12092 conftest$ac_exeext conftest.$ac_ext
12093 LIBS=$ac_check_lib_save_LIBS
12095 { echo "$as_me:$LINENO: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
12096 echo "${ECHO_T}$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
12097 if test $ac_cv_lib_lcms_cmsOpenProfileFromFile = yes; then
12099 cat >>confdefs.h <<\_ACEOF
12100 #define HAVE_LCMS 1
12110 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12112 { echo "$as_me:$LINENO: checking for ldap_initialize in -lldap_r" >&5
12113 echo $ECHO_N "checking for ldap_initialize in -lldap_r... $ECHO_C" >&6; }
12114 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then
12115 echo $ECHO_N "(cached) $ECHO_C" >&6
12117 ac_check_lib_save_LIBS=$LIBS
12118 LIBS="-lldap_r $LIBPTHREAD $LIBS"
12119 cat >conftest.$ac_ext <<_ACEOF
12122 cat confdefs.h >>conftest.$ac_ext
12123 cat >>conftest.$ac_ext <<_ACEOF
12124 /* end confdefs.h. */
12126 /* Override any GCC internal prototype to avoid an error.
12127 Use char because int might match the return type of a GCC
12128 builtin and then its argument prototype would still apply. */
12132 char ldap_initialize ();
12136 return ldap_initialize ();
12141 rm -f conftest.$ac_objext conftest$ac_exeext
12142 if { (ac_try="$ac_link"
12143 case "(($ac_try" in
12144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12145 *) ac_try_echo
=$ac_try;;
12147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12148 (eval "$ac_link") 2>conftest.er1
12150 grep -v '^ *+' conftest.er1
>conftest.err
12152 cat conftest.err
>&5
12153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12154 (exit $ac_status); } &&
12155 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12156 { (case "(($ac_try" in
12157 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12158 *) ac_try_echo=$ac_try;;
12160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12161 (eval "$ac_try") 2>&5
12163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12164 (exit $ac_status); }; } &&
12165 { ac_try='test -s conftest$ac_exeext'
12166 { (case "(($ac_try" in
12167 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12168 *) ac_try_echo
=$ac_try;;
12170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12171 (eval "$ac_try") 2>&5
12173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12174 (exit $ac_status); }; }; then
12175 ac_cv_lib_ldap_r_ldap_initialize
=yes
12177 echo "$as_me: failed program was:" >&5
12178 sed 's/^/| /' conftest.
$ac_ext >&5
12180 ac_cv_lib_ldap_r_ldap_initialize
=no
12183 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12184 conftest
$ac_exeext conftest.
$ac_ext
12185 LIBS
=$ac_check_lib_save_LIBS
12187 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12188 echo "${ECHO_T}$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12189 if test $ac_cv_lib_ldap_r_ldap_initialize = yes; then
12190 { echo "$as_me:$LINENO: checking for ber_init in -llber" >&5
12191 echo $ECHO_N "checking for ber_init in -llber... $ECHO_C" >&6; }
12192 if test "${ac_cv_lib_lber_ber_init+set}" = set; then
12193 echo $ECHO_N "(cached) $ECHO_C" >&6
12195 ac_check_lib_save_LIBS
=$LIBS
12196 LIBS
="-llber $LIBPTHREAD $LIBS"
12197 cat >conftest.
$ac_ext <<_ACEOF
12200 cat confdefs.h
>>conftest.
$ac_ext
12201 cat >>conftest.
$ac_ext <<_ACEOF
12202 /* end confdefs.h. */
12204 /* Override any GCC internal prototype to avoid an error.
12205 Use char because int might match the return type of a GCC
12206 builtin and then its argument prototype would still apply. */
12214 return ber_init ();
12219 rm -f conftest.
$ac_objext conftest
$ac_exeext
12220 if { (ac_try
="$ac_link"
12221 case "(($ac_try" in
12222 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12223 *) ac_try_echo=$ac_try;;
12225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12226 (eval "$ac_link") 2>conftest.er1
12228 grep -v '^ *+' conftest.er1 >conftest.err
12230 cat conftest.err >&5
12231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12232 (exit $ac_status); } &&
12233 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12234 { (case "(($ac_try" in
12235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12236 *) ac_try_echo
=$ac_try;;
12238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12239 (eval "$ac_try") 2>&5
12241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12242 (exit $ac_status); }; } &&
12243 { ac_try
='test -s conftest$ac_exeext'
12244 { (case "(($ac_try" in
12245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12246 *) ac_try_echo=$ac_try;;
12248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12249 (eval "$ac_try") 2>&5
12251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12252 (exit $ac_status); }; }; then
12253 ac_cv_lib_lber_ber_init=yes
12255 echo "$as_me: failed program was:" >&5
12256 sed 's/^/| /' conftest.$ac_ext >&5
12258 ac_cv_lib_lber_ber_init=no
12261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_lib_save_LIBS
12265 { echo "$as_me:$LINENO: result: $ac_cv_lib_lber_ber_init" >&5
12266 echo "${ECHO_T}$ac_cv_lib_lber_ber_init" >&6; }
12267 if test $ac_cv_lib_lber_ber_init = yes; then
12269 cat >>confdefs.h <<\_ACEOF
12270 #define HAVE_LDAP 1
12273 LDAPLIBS="-lldap_r -llber"
12278 ac_wine_check_funcs_save_LIBS="$LIBS"
12279 LIBS="$LIBS $LDAPLIBS $LIBPTHREAD"
12285 ldap_count_references \
12286 ldap_first_reference \
12287 ldap_next_reference \
12288 ldap_parse_reference
12290 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
12291 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12293 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12294 echo $ECHO_N "(cached) $ECHO_C" >&6
12296 cat >conftest.$ac_ext <<_ACEOF
12299 cat confdefs.h >>conftest.$ac_ext
12300 cat >>conftest.$ac_ext <<_ACEOF
12301 /* end confdefs.h. */
12302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12304 #define $ac_func innocuous_$ac_func
12306 /* System header to define __stub macros and hopefully few prototypes,
12307 which can conflict with char $ac_func (); below.
12308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12309 <limits.h> exists even on freestanding compilers. */
12312 # include <limits.h>
12314 # include <assert.h>
12319 /* Override any GCC internal prototype to avoid an error.
12320 Use char because int might match the return type of a GCC
12321 builtin and then its argument prototype would still apply. */
12326 /* The GNU C library defines this for functions which it implements
12327 to always fail with ENOSYS. Some functions are actually named
12328 something starting with __ and the normal name is an alias. */
12329 #if defined __stub_$ac_func || defined __stub___$ac_func
12336 return $ac_func ();
12341 rm -f conftest.$ac_objext conftest$ac_exeext
12342 if { (ac_try="$ac_link"
12343 case "(($ac_try" in
12344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12345 *) ac_try_echo
=$ac_try;;
12347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12348 (eval "$ac_link") 2>conftest.er1
12350 grep -v '^ *+' conftest.er1
>conftest.err
12352 cat conftest.err
>&5
12353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12354 (exit $ac_status); } &&
12355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12356 { (case "(($ac_try" in
12357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12358 *) ac_try_echo=$ac_try;;
12360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12361 (eval "$ac_try") 2>&5
12363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12364 (exit $ac_status); }; } &&
12365 { ac_try='test -s conftest$ac_exeext'
12366 { (case "(($ac_try" in
12367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12368 *) ac_try_echo
=$ac_try;;
12370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12371 (eval "$ac_try") 2>&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); }; }; then
12375 eval "$as_ac_var=yes"
12377 echo "$as_me: failed program was:" >&5
12378 sed 's/^/| /' conftest.
$ac_ext >&5
12380 eval "$as_ac_var=no"
12383 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
12384 conftest
$ac_exeext conftest.
$ac_ext
12386 ac_res
=`eval echo '${'$as_ac_var'}'`
12387 { echo "$as_me:$LINENO: result: $ac_res" >&5
12388 echo "${ECHO_T}$ac_res" >&6; }
12389 if test `eval echo '${'$as_ac_var'}'` = yes; then
12390 cat >>confdefs.h
<<_ACEOF
12391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12397 LIBS
="$ac_wine_check_funcs_save_LIBS"
12404 # Extract the first word of "freetype-config", so it can be a program name with args.
12405 set dummy freetype-config
; ac_word
=$2
12406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12408 if test "${ac_cv_prog_ft_devel+set}" = set; then
12409 echo $ECHO_N "(cached) $ECHO_C" >&6
12411 if test -n "$ft_devel"; then
12412 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
12414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12415 for as_dir
in $PATH
12418 test -z "$as_dir" && as_dir
=.
12419 for ac_exec_ext
in '' $ac_executable_extensions; do
12420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12421 ac_cv_prog_ft_devel
="freetype-config"
12422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12429 test -z "$ac_cv_prog_ft_devel" && ac_cv_prog_ft_devel
="no"
12432 ft_devel
=$ac_cv_prog_ft_devel
12433 if test -n "$ft_devel"; then
12434 { echo "$as_me:$LINENO: result: $ft_devel" >&5
12435 echo "${ECHO_T}$ft_devel" >&6; }
12437 { echo "$as_me:$LINENO: result: no" >&5
12438 echo "${ECHO_T}no" >&6; }
12442 if test "$ft_devel" = "no"
12444 # Extract the first word of "freetype2-config", so it can be a program name with args.
12445 set dummy freetype2-config
; ac_word
=$2
12446 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12447 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12448 if test "${ac_cv_prog_ft_devel2+set}" = set; then
12449 echo $ECHO_N "(cached) $ECHO_C" >&6
12451 if test -n "$ft_devel2"; then
12452 ac_cv_prog_ft_devel2
="$ft_devel2" # Let the user override the test.
12454 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
12455 for as_dir
in $PATH
12458 test -z "$as_dir" && as_dir
=.
12459 for ac_exec_ext
in '' $ac_executable_extensions; do
12460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
12461 ac_cv_prog_ft_devel2
="freetype2-config"
12462 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12469 test -z "$ac_cv_prog_ft_devel2" && ac_cv_prog_ft_devel2
="no"
12472 ft_devel2
=$ac_cv_prog_ft_devel2
12473 if test -n "$ft_devel2"; then
12474 { echo "$as_me:$LINENO: result: $ft_devel2" >&5
12475 echo "${ECHO_T}$ft_devel2" >&6; }
12477 { echo "$as_me:$LINENO: result: no" >&5
12478 echo "${ECHO_T}no" >&6; }
12482 if test "$ft_devel2" = "freetype2-config"
12484 ft_devel
=$ft_devel2
12488 if test "$ft_devel" = "no"
12490 wine_cv_msg_freetype
=yes
12492 FREETYPELIBS
=`$ft_devel --libs`
12493 FREETYPEINCL
=`$ft_devel --cflags`
12494 { echo "$as_me:$LINENO: checking for FT_Init_FreeType in -lfreetype" >&5
12495 echo $ECHO_N "checking for FT_Init_FreeType in -lfreetype... $ECHO_C" >&6; }
12496 if test "${ac_cv_lib_freetype_FT_Init_FreeType+set}" = set; then
12497 echo $ECHO_N "(cached) $ECHO_C" >&6
12499 ac_check_lib_save_LIBS
=$LIBS
12500 LIBS
="-lfreetype $FREETYPELIBS $LIBS"
12501 cat >conftest.
$ac_ext <<_ACEOF
12504 cat confdefs.h
>>conftest.
$ac_ext
12505 cat >>conftest.
$ac_ext <<_ACEOF
12506 /* end confdefs.h. */
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12514 char FT_Init_FreeType ();
12518 return FT_Init_FreeType ();
12523 rm -f conftest.
$ac_objext conftest
$ac_exeext
12524 if { (ac_try
="$ac_link"
12525 case "(($ac_try" in
12526 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12527 *) ac_try_echo=$ac_try;;
12529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12530 (eval "$ac_link") 2>conftest.er1
12532 grep -v '^ *+' conftest.er1 >conftest.err
12534 cat conftest.err >&5
12535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12536 (exit $ac_status); } &&
12537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12538 { (case "(($ac_try" in
12539 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12540 *) ac_try_echo
=$ac_try;;
12542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12543 (eval "$ac_try") 2>&5
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; } &&
12547 { ac_try
='test -s conftest$ac_exeext'
12548 { (case "(($ac_try" in
12549 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12550 *) ac_try_echo=$ac_try;;
12552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12553 (eval "$ac_try") 2>&5
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; }; then
12557 ac_cv_lib_freetype_FT_Init_FreeType=yes
12559 echo "$as_me: failed program was:" >&5
12560 sed 's/^/| /' conftest.$ac_ext >&5
12562 ac_cv_lib_freetype_FT_Init_FreeType=no
12565 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12566 conftest$ac_exeext conftest.$ac_ext
12567 LIBS=$ac_check_lib_save_LIBS
12569 { echo "$as_me:$LINENO: result: $ac_cv_lib_freetype_FT_Init_FreeType" >&5
12570 echo "${ECHO_T}$ac_cv_lib_freetype_FT_Init_FreeType" >&6; }
12571 if test $ac_cv_lib_freetype_FT_Init_FreeType = yes; then
12577 if test "$ft_lib" = "no"
12579 wine_cv_msg_freetype=yes
12583 ac_save_CPPFLAGS="$CPPFLAGS"
12584 CPPFLAGS="$FREETYPEINCL $CPPFLAGS"
12596 for ac_header in ft2build.h \
12597 freetype/freetype.h \
12598 freetype/ftglyph.h \
12599 freetype/tttables.h \
12600 freetype/ftnames.h \
12601 freetype/ftsnames.h \
12602 freetype/ttnameid.h \
12603 freetype/ftoutln.h \
12604 freetype/ftwinfnt.h \
12605 freetype/ftmodapi.h \
12606 freetype/internal/sfnt.h
12608 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
12609 { echo "$as_me:$LINENO: checking for $ac_header" >&5
12610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
12611 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
12612 echo $ECHO_N "(cached) $ECHO_C" >&6
12614 cat >conftest.$ac_ext <<_ACEOF
12617 cat confdefs.h >>conftest.$ac_ext
12618 cat >>conftest.$ac_ext <<_ACEOF
12619 /* end confdefs.h. */
12620 #if HAVE_FT2BUILD_H
12621 #include <ft2build.h>
12624 #include <$ac_header>
12626 rm -f conftest.$ac_objext
12627 if { (ac_try="$ac_compile"
12628 case "(($ac_try" in
12629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12630 *) ac_try_echo
=$ac_try;;
12632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12633 (eval "$ac_compile") 2>conftest.er1
12635 grep -v '^ *+' conftest.er1
>conftest.err
12637 cat conftest.err
>&5
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); } &&
12640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12641 { (case "(($ac_try" in
12642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12643 *) ac_try_echo=$ac_try;;
12645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12646 (eval "$ac_try") 2>&5
12648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); }; } &&
12650 { ac_try='test -s conftest.$ac_objext'
12651 { (case "(($ac_try" in
12652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12653 *) ac_try_echo
=$ac_try;;
12655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12656 (eval "$ac_try") 2>&5
12658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12659 (exit $ac_status); }; }; then
12660 eval "$as_ac_Header=yes"
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.
$ac_ext >&5
12665 eval "$as_ac_Header=no"
12668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12670 ac_res
=`eval echo '${'$as_ac_Header'}'`
12671 { echo "$as_me:$LINENO: result: $ac_res" >&5
12672 echo "${ECHO_T}$ac_res" >&6; }
12673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
12674 cat >>confdefs.h
<<_ACEOF
12675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
12682 cat >conftest.
$ac_ext <<_ACEOF
12685 cat confdefs.h
>>conftest.
$ac_ext
12686 cat >>conftest.
$ac_ext <<_ACEOF
12687 /* end confdefs.h. */
12688 #include <ft2build.h>
12689 #include <freetype/fttrigon.h>
12691 if { (ac_try
="$ac_cpp conftest.$ac_ext"
12692 case "(($ac_try" in
12693 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12694 *) ac_try_echo=$ac_try;;
12696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
12699 grep -v '^ *+' conftest.er1 >conftest.err
12701 cat conftest.err >&5
12702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12703 (exit $ac_status); } >/dev/null; then
12704 if test -s conftest.err; then
12705 ac_cpp_err=$ac_c_preproc_warn_flag
12706 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
12713 if test -z "$ac_cpp_err"; then
12715 cat >>confdefs.h <<\_ACEOF
12716 #define HAVE_FREETYPE_FTTRIGON_H 1
12719 wine_cv_fttrigon=yes
12721 echo "$as_me: failed program was:" >&5
12722 sed 's/^/| /' conftest.$ac_ext >&5
12724 wine_cv_fttrigon=no
12727 rm -f conftest.err conftest.$ac_ext
12728 { echo "$as_me:$LINENO: checking for FT_TrueTypeEngineType" >&5
12729 echo $ECHO_N "checking for FT_TrueTypeEngineType... $ECHO_C" >&6; }
12730 if test "${ac_cv_type_FT_TrueTypeEngineType+set}" = set; then
12731 echo $ECHO_N "(cached) $ECHO_C" >&6
12733 cat >conftest.$ac_ext <<_ACEOF
12736 cat confdefs.h >>conftest.$ac_ext
12737 cat >>conftest.$ac_ext <<_ACEOF
12738 /* end confdefs.h. */
12739 #include <freetype/ftmodapi.h>
12741 typedef FT_TrueTypeEngineType ac__type_new_;
12745 if ((ac__type_new_ *) 0)
12747 if (sizeof (ac__type_new_))
12753 rm -f conftest.$ac_objext
12754 if { (ac_try="$ac_compile"
12755 case "(($ac_try" in
12756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12757 *) ac_try_echo
=$ac_try;;
12759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12760 (eval "$ac_compile") 2>conftest.er1
12762 grep -v '^ *+' conftest.er1
>conftest.err
12764 cat conftest.err
>&5
12765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12766 (exit $ac_status); } &&
12767 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12768 { (case "(($ac_try" in
12769 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12770 *) ac_try_echo=$ac_try;;
12772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12773 (eval "$ac_try") 2>&5
12775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12776 (exit $ac_status); }; } &&
12777 { ac_try='test -s conftest.$ac_objext'
12778 { (case "(($ac_try" in
12779 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12780 *) ac_try_echo
=$ac_try;;
12782 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12783 (eval "$ac_try") 2>&5
12785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12786 (exit $ac_status); }; }; then
12787 ac_cv_type_FT_TrueTypeEngineType
=yes
12789 echo "$as_me: failed program was:" >&5
12790 sed 's/^/| /' conftest.
$ac_ext >&5
12792 ac_cv_type_FT_TrueTypeEngineType
=no
12795 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12797 { echo "$as_me:$LINENO: result: $ac_cv_type_FT_TrueTypeEngineType" >&5
12798 echo "${ECHO_T}$ac_cv_type_FT_TrueTypeEngineType" >&6; }
12799 if test $ac_cv_type_FT_TrueTypeEngineType = yes; then
12801 cat >>confdefs.h
<<_ACEOF
12802 #define HAVE_FT_TRUETYPEENGINETYPE 1
12808 ac_save_CFLAGS
="$CFLAGS"
12809 CFLAGS
="$CFLAGS $FREETYPELIBS"
12811 for ac_func
in FT_Load_Sfnt_Table
12813 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12814 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12816 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12817 echo $ECHO_N "(cached) $ECHO_C" >&6
12819 cat >conftest.
$ac_ext <<_ACEOF
12822 cat confdefs.h
>>conftest.
$ac_ext
12823 cat >>conftest.
$ac_ext <<_ACEOF
12824 /* end confdefs.h. */
12825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12827 #define $ac_func innocuous_$ac_func
12829 /* System header to define __stub macros and hopefully few prototypes,
12830 which can conflict with char $ac_func (); below.
12831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12832 <limits.h> exists even on freestanding compilers. */
12835 # include <limits.h>
12837 # include <assert.h>
12842 /* Override any GCC internal prototype to avoid an error.
12843 Use char because int might match the return type of a GCC
12844 builtin and then its argument prototype would still apply. */
12849 /* The GNU C library defines this for functions which it implements
12850 to always fail with ENOSYS. Some functions are actually named
12851 something starting with __ and the normal name is an alias. */
12852 #if defined __stub_$ac_func || defined __stub___$ac_func
12859 return $ac_func ();
12864 rm -f conftest.
$ac_objext conftest
$ac_exeext
12865 if { (ac_try
="$ac_link"
12866 case "(($ac_try" in
12867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12868 *) ac_try_echo=$ac_try;;
12870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12871 (eval "$ac_link") 2>conftest.er1
12873 grep -v '^ *+' conftest.er1 >conftest.err
12875 cat conftest.err >&5
12876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12877 (exit $ac_status); } &&
12878 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12879 { (case "(($ac_try" in
12880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12881 *) ac_try_echo
=$ac_try;;
12883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12884 (eval "$ac_try") 2>&5
12886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12887 (exit $ac_status); }; } &&
12888 { ac_try
='test -s conftest$ac_exeext'
12889 { (case "(($ac_try" in
12890 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12891 *) ac_try_echo=$ac_try;;
12893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12894 (eval "$ac_try") 2>&5
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; }; then
12898 eval "$as_ac_var=yes"
12900 echo "$as_me: failed program was:" >&5
12901 sed 's/^/| /' conftest.$ac_ext >&5
12903 eval "$as_ac_var=no"
12906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12907 conftest$ac_exeext conftest.$ac_ext
12909 ac_res=`eval echo '${'$as_ac_var'}'`
12910 { echo "$as_me:$LINENO: result: $ac_res" >&5
12911 echo "${ECHO_T}$ac_res" >&6; }
12912 if test `eval echo '${'$as_ac_var'}'` = yes; then
12913 cat >>confdefs.h <<_ACEOF
12914 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
12920 CFLAGS="$ac_save_CFLAGS"
12921 CPPFLAGS="$ac_save_CPPFLAGS"
12922 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
12925 cat >>confdefs.h <<\_ACEOF
12926 #define HAVE_FREETYPE 1
12929 wine_cv_msg_freetype=no
12933 wine_cv_msg_freetype=yes
12938 if test "$FONTFORGE" != "false" -a -n "$FREETYPELIBS"
12940 FONTSSUBDIRS="fonts"
12944 { echo "$as_me:$LINENO: checking for parport header/ppdev.h" >&5
12945 echo $ECHO_N "checking for parport header/ppdev.h... $ECHO_C" >&6; }
12946 if test "${ac_cv_c_ppdev+set}" = set; then
12947 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 cat >conftest.$ac_ext <<_ACEOF
12952 cat confdefs.h >>conftest.$ac_ext
12953 cat >>conftest.$ac_ext <<_ACEOF
12954 /* end confdefs.h. */
12955 #include <linux/ppdev.h>
12959 ioctl (1,PPCLAIM,0)
12964 rm -f conftest.$ac_objext
12965 if { (ac_try="$ac_compile"
12966 case "(($ac_try" in
12967 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12968 *) ac_try_echo
=$ac_try;;
12970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12971 (eval "$ac_compile") 2>conftest.er1
12973 grep -v '^ *+' conftest.er1
>conftest.err
12975 cat conftest.err
>&5
12976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12977 (exit $ac_status); } &&
12978 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12979 { (case "(($ac_try" in
12980 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
12981 *) ac_try_echo=$ac_try;;
12983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12984 (eval "$ac_try") 2>&5
12986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12987 (exit $ac_status); }; } &&
12988 { ac_try='test -s conftest.$ac_objext'
12989 { (case "(($ac_try" in
12990 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
12991 *) ac_try_echo
=$ac_try;;
12993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12994 (eval "$ac_try") 2>&5
12996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12997 (exit $ac_status); }; }; then
12998 ac_cv_c_ppdev
="yes"
13000 echo "$as_me: failed program was:" >&5
13001 sed 's/^/| /' conftest.
$ac_ext >&5
13006 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13009 { echo "$as_me:$LINENO: result: $ac_cv_c_ppdev" >&5
13010 echo "${ECHO_T}$ac_cv_c_ppdev" >&6; }
13011 if test "$ac_cv_c_ppdev" = "yes"
13014 cat >>confdefs.h
<<\_ACEOF
13015 #define HAVE_PPDEV 1
13020 { echo "$as_me:$LINENO: checking for va_copy" >&5
13021 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
13022 if test "${ac_cv_c_va_copy+set}" = set; then
13023 echo $ECHO_N "(cached) $ECHO_C" >&6
13025 cat >conftest.
$ac_ext <<_ACEOF
13028 cat confdefs.h
>>conftest.
$ac_ext
13029 cat >>conftest.
$ac_ext <<_ACEOF
13030 /* end confdefs.h. */
13031 #include <stdarg.h>
13042 rm -f conftest.
$ac_objext conftest
$ac_exeext
13043 if { (ac_try
="$ac_link"
13044 case "(($ac_try" in
13045 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13046 *) ac_try_echo=$ac_try;;
13048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13049 (eval "$ac_link") 2>conftest.er1
13051 grep -v '^ *+' conftest.er1 >conftest.err
13053 cat conftest.err >&5
13054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13055 (exit $ac_status); } &&
13056 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13057 { (case "(($ac_try" in
13058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13059 *) ac_try_echo
=$ac_try;;
13061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13062 (eval "$ac_try") 2>&5
13064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13065 (exit $ac_status); }; } &&
13066 { ac_try
='test -s conftest$ac_exeext'
13067 { (case "(($ac_try" in
13068 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13069 *) ac_try_echo=$ac_try;;
13071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13072 (eval "$ac_try") 2>&5
13074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13075 (exit $ac_status); }; }; then
13076 ac_cv_c_va_copy="yes"
13078 echo "$as_me: failed program was:" >&5
13079 sed 's/^/| /' conftest.$ac_ext >&5
13081 ac_cv_c_va_copy="no"
13084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13085 conftest$ac_exeext conftest.$ac_ext
13088 { echo "$as_me:$LINENO: result: $ac_cv_c_va_copy" >&5
13089 echo "${ECHO_T}$ac_cv_c_va_copy" >&6; }
13090 if test "$ac_cv_c_va_copy" = "yes"
13093 cat >>confdefs.h <<\_ACEOF
13094 #define HAVE_VA_COPY 1
13098 { echo "$as_me:$LINENO: checking for __va_copy" >&5
13099 echo $ECHO_N "checking for __va_copy... $ECHO_C" >&6; }
13100 if test "${ac_cv_c___va_copy+set}" = set; then
13101 echo $ECHO_N "(cached) $ECHO_C" >&6
13103 cat >conftest.$ac_ext <<_ACEOF
13106 cat confdefs.h >>conftest.$ac_ext
13107 cat >>conftest.$ac_ext <<_ACEOF
13108 /* end confdefs.h. */
13109 #include <stdarg.h>
13114 __va_copy(ap1,ap2);
13120 rm -f conftest.$ac_objext conftest$ac_exeext
13121 if { (ac_try="$ac_link"
13122 case "(($ac_try" in
13123 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13124 *) ac_try_echo
=$ac_try;;
13126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13127 (eval "$ac_link") 2>conftest.er1
13129 grep -v '^ *+' conftest.er1
>conftest.err
13131 cat conftest.err
>&5
13132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13133 (exit $ac_status); } &&
13134 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13135 { (case "(($ac_try" in
13136 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13137 *) ac_try_echo=$ac_try;;
13139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13140 (eval "$ac_try") 2>&5
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try='test -s conftest$ac_exeext'
13145 { (case "(($ac_try" in
13146 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13147 *) ac_try_echo
=$ac_try;;
13149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13150 (eval "$ac_try") 2>&5
13152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13153 (exit $ac_status); }; }; then
13154 ac_cv_c___va_copy
="yes"
13156 echo "$as_me: failed program was:" >&5
13157 sed 's/^/| /' conftest.
$ac_ext >&5
13159 ac_cv_c___va_copy
="no"
13162 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13163 conftest
$ac_exeext conftest.
$ac_ext
13166 { echo "$as_me:$LINENO: result: $ac_cv_c___va_copy" >&5
13167 echo "${ECHO_T}$ac_cv_c___va_copy" >&6; }
13168 if test "$ac_cv_c___va_copy" = "yes"
13171 cat >>confdefs.h
<<\_ACEOF
13172 #define HAVE___VA_COPY 1
13177 { echo "$as_me:$LINENO: checking for sigsetjmp" >&5
13178 echo $ECHO_N "checking for sigsetjmp... $ECHO_C" >&6; }
13179 if test "${ac_cv_c_sigsetjmp+set}" = set; then
13180 echo $ECHO_N "(cached) $ECHO_C" >&6
13182 cat >conftest.
$ac_ext <<_ACEOF
13185 cat confdefs.h
>>conftest.
$ac_ext
13186 cat >>conftest.
$ac_ext <<_ACEOF
13187 /* end confdefs.h. */
13188 #include <setjmp.h>
13193 sigsetjmp( buf, 1 );
13194 siglongjmp( buf, 1 );
13199 rm -f conftest.
$ac_objext conftest
$ac_exeext
13200 if { (ac_try
="$ac_link"
13201 case "(($ac_try" in
13202 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13203 *) ac_try_echo=$ac_try;;
13205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13206 (eval "$ac_link") 2>conftest.er1
13208 grep -v '^ *+' conftest.er1 >conftest.err
13210 cat conftest.err >&5
13211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13212 (exit $ac_status); } &&
13213 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13214 { (case "(($ac_try" in
13215 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13216 *) ac_try_echo
=$ac_try;;
13218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13219 (eval "$ac_try") 2>&5
13221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13222 (exit $ac_status); }; } &&
13223 { ac_try
='test -s conftest$ac_exeext'
13224 { (case "(($ac_try" in
13225 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13226 *) ac_try_echo=$ac_try;;
13228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13229 (eval "$ac_try") 2>&5
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 ac_cv_c_sigsetjmp="yes"
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13238 ac_cv_c_sigsetjmp="no"
13241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13242 conftest$ac_exeext conftest.$ac_ext
13245 { echo "$as_me:$LINENO: result: $ac_cv_c_sigsetjmp" >&5
13246 echo "${ECHO_T}$ac_cv_c_sigsetjmp" >&6; }
13247 if test "$ac_cv_c_sigsetjmp" = "yes"
13250 cat >>confdefs.h <<\_ACEOF
13251 #define HAVE_SIGSETJMP 1
13256 { echo "$as_me:$LINENO: checking for pthread_rwlock_t" >&5
13257 echo $ECHO_N "checking for pthread_rwlock_t... $ECHO_C" >&6; }
13258 if test "${ac_cv_type_pthread_rwlock_t+set}" = set; then
13259 echo $ECHO_N "(cached) $ECHO_C" >&6
13261 cat >conftest.$ac_ext <<_ACEOF
13264 cat confdefs.h >>conftest.$ac_ext
13265 cat >>conftest.$ac_ext <<_ACEOF
13266 /* end confdefs.h. */
13267 #define _GNU_SOURCE
13268 #include <pthread.h>
13270 typedef pthread_rwlock_t ac__type_new_;
13274 if ((ac__type_new_ *) 0)
13276 if (sizeof (ac__type_new_))
13282 rm -f conftest.$ac_objext
13283 if { (ac_try="$ac_compile"
13284 case "(($ac_try" in
13285 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13286 *) ac_try_echo
=$ac_try;;
13288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13289 (eval "$ac_compile") 2>conftest.er1
13291 grep -v '^ *+' conftest.er1
>conftest.err
13293 cat conftest.err
>&5
13294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13295 (exit $ac_status); } &&
13296 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13297 { (case "(($ac_try" in
13298 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13299 *) ac_try_echo=$ac_try;;
13301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13302 (eval "$ac_try") 2>&5
13304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13305 (exit $ac_status); }; } &&
13306 { ac_try='test -s conftest.$ac_objext'
13307 { (case "(($ac_try" in
13308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13309 *) ac_try_echo
=$ac_try;;
13311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13312 (eval "$ac_try") 2>&5
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; }; then
13316 ac_cv_type_pthread_rwlock_t
=yes
13318 echo "$as_me: failed program was:" >&5
13319 sed 's/^/| /' conftest.
$ac_ext >&5
13321 ac_cv_type_pthread_rwlock_t
=no
13324 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13326 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlock_t" >&5
13327 echo "${ECHO_T}$ac_cv_type_pthread_rwlock_t" >&6; }
13328 if test $ac_cv_type_pthread_rwlock_t = yes; then
13330 cat >>confdefs.h
<<_ACEOF
13331 #define HAVE_PTHREAD_RWLOCK_T 1
13336 { echo "$as_me:$LINENO: checking for pthread_rwlockattr_t" >&5
13337 echo $ECHO_N "checking for pthread_rwlockattr_t... $ECHO_C" >&6; }
13338 if test "${ac_cv_type_pthread_rwlockattr_t+set}" = set; then
13339 echo $ECHO_N "(cached) $ECHO_C" >&6
13341 cat >conftest.
$ac_ext <<_ACEOF
13344 cat confdefs.h
>>conftest.
$ac_ext
13345 cat >>conftest.
$ac_ext <<_ACEOF
13346 /* end confdefs.h. */
13347 #define _GNU_SOURCE
13348 #include <pthread.h>
13350 typedef pthread_rwlockattr_t ac__type_new_;
13354 if ((ac__type_new_ *) 0)
13356 if (sizeof (ac__type_new_))
13362 rm -f conftest.
$ac_objext
13363 if { (ac_try
="$ac_compile"
13364 case "(($ac_try" in
13365 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13366 *) ac_try_echo=$ac_try;;
13368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13369 (eval "$ac_compile") 2>conftest.er1
13371 grep -v '^ *+' conftest.er1 >conftest.err
13373 cat conftest.err >&5
13374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13375 (exit $ac_status); } &&
13376 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13377 { (case "(($ac_try" in
13378 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13379 *) ac_try_echo
=$ac_try;;
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; } &&
13386 { ac_try
='test -s conftest.$ac_objext'
13387 { (case "(($ac_try" in
13388 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13389 *) ac_try_echo=$ac_try;;
13391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13392 (eval "$ac_try") 2>&5
13394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13395 (exit $ac_status); }; }; then
13396 ac_cv_type_pthread_rwlockattr_t=yes
13398 echo "$as_me: failed program was:" >&5
13399 sed 's/^/| /' conftest.$ac_ext >&5
13401 ac_cv_type_pthread_rwlockattr_t=no
13404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13406 { echo "$as_me:$LINENO: result: $ac_cv_type_pthread_rwlockattr_t" >&5
13407 echo "${ECHO_T}$ac_cv_type_pthread_rwlockattr_t" >&6; }
13408 if test $ac_cv_type_pthread_rwlockattr_t = yes; then
13410 cat >>confdefs.h <<_ACEOF
13411 #define HAVE_PTHREAD_RWLOCKATTR_T 1
13418 ac_wine_check_funcs_save_LIBS="$LIBS"
13419 LIBS="$LIBS $LIBPTHREAD"
13425 pthread_attr_get_np \
13426 pthread_getattr_np \
13427 pthread_get_stackaddr_np \
13428 pthread_get_stacksize_np
13430 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
13431 { echo "$as_me:$LINENO: checking for $ac_func" >&5
13432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
13433 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
13434 echo $ECHO_N "(cached) $ECHO_C" >&6
13436 cat >conftest.$ac_ext <<_ACEOF
13439 cat confdefs.h >>conftest.$ac_ext
13440 cat >>conftest.$ac_ext <<_ACEOF
13441 /* end confdefs.h. */
13442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13444 #define $ac_func innocuous_$ac_func
13446 /* System header to define __stub macros and hopefully few prototypes,
13447 which can conflict with char $ac_func (); below.
13448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13449 <limits.h> exists even on freestanding compilers. */
13452 # include <limits.h>
13454 # include <assert.h>
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13466 /* The GNU C library defines this for functions which it implements
13467 to always fail with ENOSYS. Some functions are actually named
13468 something starting with __ and the normal name is an alias. */
13469 #if defined __stub_$ac_func || defined __stub___$ac_func
13476 return $ac_func ();
13481 rm -f conftest.$ac_objext conftest$ac_exeext
13482 if { (ac_try="$ac_link"
13483 case "(($ac_try" in
13484 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13485 *) ac_try_echo
=$ac_try;;
13487 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13488 (eval "$ac_link") 2>conftest.er1
13490 grep -v '^ *+' conftest.er1
>conftest.err
13492 cat conftest.err
>&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } &&
13495 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13496 { (case "(($ac_try" in
13497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13498 *) ac_try_echo=$ac_try;;
13500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13501 (eval "$ac_try") 2>&5
13503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13504 (exit $ac_status); }; } &&
13505 { ac_try='test -s conftest$ac_exeext'
13506 { (case "(($ac_try" in
13507 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13508 *) ac_try_echo
=$ac_try;;
13510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13511 (eval "$ac_try") 2>&5
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; }; then
13515 eval "$as_ac_var=yes"
13517 echo "$as_me: failed program was:" >&5
13518 sed 's/^/| /' conftest.
$ac_ext >&5
13520 eval "$as_ac_var=no"
13523 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13524 conftest
$ac_exeext conftest.
$ac_ext
13526 ac_res
=`eval echo '${'$as_ac_var'}'`
13527 { echo "$as_me:$LINENO: result: $ac_res" >&5
13528 echo "${ECHO_T}$ac_res" >&6; }
13529 if test `eval echo '${'$as_ac_var'}'` = yes; then
13530 cat >>confdefs.h
<<_ACEOF
13531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13537 LIBS
="$ac_wine_check_funcs_save_LIBS"
13539 # Extract the first word of "artsc-config", so it can be a program name with args.
13540 set dummy artsc-config
; ac_word
=$2
13541 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13542 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13543 if test "${ac_cv_path_ARTSCCONFIG+set}" = set; then
13544 echo $ECHO_N "(cached) $ECHO_C" >&6
13546 case $ARTSCCONFIG in
13548 ac_cv_path_ARTSCCONFIG
="$ARTSCCONFIG" # Let the user override the test with a path.
13551 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13552 for as_dir
in $PATH
13555 test -z "$as_dir" && as_dir
=.
13556 for ac_exec_ext
in '' $ac_executable_extensions; do
13557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13558 ac_cv_path_ARTSCCONFIG
="$as_dir/$ac_word$ac_exec_ext"
13559 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13569 ARTSCCONFIG
=$ac_cv_path_ARTSCCONFIG
13570 if test -n "$ARTSCCONFIG"; then
13571 { echo "$as_me:$LINENO: result: $ARTSCCONFIG" >&5
13572 echo "${ECHO_T}$ARTSCCONFIG" >&6; }
13574 { echo "$as_me:$LINENO: result: no" >&5
13575 echo "${ECHO_T}no" >&6; }
13579 if test x
$ARTSCCONFIG != x
-a x
$ARTSCCONFIG != x
'"$ARTSCCONFIG"';
13582 for i
in `$ARTSCCONFIG --cflags`
13585 -I*) ARTSC_CFLAGS
="$ARTSC_CFLAGS $i";;
13589 for i
in `$ARTSCCONFIG --libs`
13592 -L/usr
/lib|
-L/usr
/lib64
) ;;
13593 -L*|
-l*) ARTSC_LIBS
="$ARTSC_LIBS $i";;
13596 save_CFLAGS
="$CFLAGS"
13597 CFLAGS
="$CFLAGS $ARTSC_CFLAGS"
13598 { echo "$as_me:$LINENO: checking for arts_init in -lartsc" >&5
13599 echo $ECHO_N "checking for arts_init in -lartsc... $ECHO_C" >&6; }
13600 if test "${ac_cv_lib_artsc_arts_init+set}" = set; then
13601 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 ac_check_lib_save_LIBS
=$LIBS
13604 LIBS
="-lartsc $ARTSC_LIBS $LIBS"
13605 cat >conftest.
$ac_ext <<_ACEOF
13608 cat confdefs.h
>>conftest.
$ac_ext
13609 cat >>conftest.
$ac_ext <<_ACEOF
13610 /* end confdefs.h. */
13612 /* Override any GCC internal prototype to avoid an error.
13613 Use char because int might match the return type of a GCC
13614 builtin and then its argument prototype would still apply. */
13622 return arts_init ();
13627 rm -f conftest.
$ac_objext conftest
$ac_exeext
13628 if { (ac_try
="$ac_link"
13629 case "(($ac_try" in
13630 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13631 *) ac_try_echo=$ac_try;;
13633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13634 (eval "$ac_link") 2>conftest.er1
13636 grep -v '^ *+' conftest.er1 >conftest.err
13638 cat conftest.err >&5
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } &&
13641 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13642 { (case "(($ac_try" in
13643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13644 *) ac_try_echo
=$ac_try;;
13646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13647 (eval "$ac_try") 2>&5
13649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13650 (exit $ac_status); }; } &&
13651 { ac_try
='test -s conftest$ac_exeext'
13652 { (case "(($ac_try" in
13653 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13654 *) ac_try_echo=$ac_try;;
13656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13657 (eval "$ac_try") 2>&5
13659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13660 (exit $ac_status); }; }; then
13661 ac_cv_lib_artsc_arts_init=yes
13663 echo "$as_me: failed program was:" >&5
13664 sed 's/^/| /' conftest.$ac_ext >&5
13666 ac_cv_lib_artsc_arts_init=no
13669 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13670 conftest$ac_exeext conftest.$ac_ext
13671 LIBS=$ac_check_lib_save_LIBS
13673 { echo "$as_me:$LINENO: result: $ac_cv_lib_artsc_arts_init" >&5
13674 echo "${ECHO_T}$ac_cv_lib_artsc_arts_init" >&6; }
13675 if test $ac_cv_lib_artsc_arts_init = yes; then
13676 cat >conftest.$ac_ext <<_ACEOF
13679 cat confdefs.h >>conftest.$ac_ext
13680 cat >>conftest.$ac_ext <<_ACEOF
13681 /* end confdefs.h. */
13686 arts_stream_t stream;
13691 rm -f conftest.$ac_objext
13692 if { (ac_try="$ac_compile"
13693 case "(($ac_try" in
13694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13695 *) ac_try_echo
=$ac_try;;
13697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13698 (eval "$ac_compile") 2>conftest.er1
13700 grep -v '^ *+' conftest.er1
>conftest.err
13702 cat conftest.err
>&5
13703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13704 (exit $ac_status); } &&
13705 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13706 { (case "(($ac_try" in
13707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13708 *) ac_try_echo=$ac_try;;
13710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13711 (eval "$ac_try") 2>&5
13713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13714 (exit $ac_status); }; } &&
13715 { ac_try='test -s conftest.$ac_objext'
13716 { (case "(($ac_try" in
13717 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13718 *) ac_try_echo
=$ac_try;;
13720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13721 (eval "$ac_try") 2>&5
13723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13724 (exit $ac_status); }; }; then
13725 ARTSLIBS
=$ARTSC_LIBS
13727 ARTSINCL
=$ARTSC_CFLAGS
13730 cat >>confdefs.h
<<\_ACEOF
13731 #define HAVE_ARTS 1
13735 echo "$as_me: failed program was:" >&5
13736 sed 's/^/| /' conftest.
$ac_ext >&5
13741 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13744 CFLAGS
="$save_CFLAGS"
13747 # Extract the first word of "esd-config", so it can be a program name with args.
13748 set dummy esd-config
; ac_word
=$2
13749 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13751 if test "${ac_cv_path_ESDCONFIG+set}" = set; then
13752 echo $ECHO_N "(cached) $ECHO_C" >&6
13756 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
13759 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
13760 for as_dir
in $PATH
13763 test -z "$as_dir" && as_dir
=.
13764 for ac_exec_ext
in '' $ac_executable_extensions; do
13765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
13766 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
13767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13777 ESDCONFIG
=$ac_cv_path_ESDCONFIG
13778 if test -n "$ESDCONFIG"; then
13779 { echo "$as_me:$LINENO: result: $ESDCONFIG" >&5
13780 echo "${ECHO_T}$ESDCONFIG" >&6; }
13782 { echo "$as_me:$LINENO: result: no" >&5
13783 echo "${ECHO_T}no" >&6; }
13787 if test x
$ESDCONFIG != x
-a x
$ESDCONFIG != x
'"$ESDCONFIG"';
13790 for i
in `$ESDCONFIG --cflags`
13793 -I*) ESD_CFLAGS
="$ESD_CFLAGS $i";;
13796 ESD_LIBS
=`$ESDCONFIG --libs`
13797 save_CFLAGS
="$CFLAGS"
13798 CFLAGS
="$CFLAGS $ESD_CFLAGS"
13799 { echo "$as_me:$LINENO: checking for esd_open_sound in -lesd" >&5
13800 echo $ECHO_N "checking for esd_open_sound in -lesd... $ECHO_C" >&6; }
13801 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then
13802 echo $ECHO_N "(cached) $ECHO_C" >&6
13804 ac_check_lib_save_LIBS
=$LIBS
13806 cat >conftest.
$ac_ext <<_ACEOF
13809 cat confdefs.h
>>conftest.
$ac_ext
13810 cat >>conftest.
$ac_ext <<_ACEOF
13811 /* end confdefs.h. */
13813 /* Override any GCC internal prototype to avoid an error.
13814 Use char because int might match the return type of a GCC
13815 builtin and then its argument prototype would still apply. */
13819 char esd_open_sound ();
13823 return esd_open_sound ();
13828 rm -f conftest.
$ac_objext conftest
$ac_exeext
13829 if { (ac_try
="$ac_link"
13830 case "(($ac_try" in
13831 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13832 *) ac_try_echo=$ac_try;;
13834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13835 (eval "$ac_link") 2>conftest.er1
13837 grep -v '^ *+' conftest.er1 >conftest.err
13839 cat conftest.err >&5
13840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13841 (exit $ac_status); } &&
13842 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13843 { (case "(($ac_try" in
13844 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13845 *) ac_try_echo
=$ac_try;;
13847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13848 (eval "$ac_try") 2>&5
13850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13851 (exit $ac_status); }; } &&
13852 { ac_try
='test -s conftest$ac_exeext'
13853 { (case "(($ac_try" in
13854 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13855 *) ac_try_echo=$ac_try;;
13857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13858 (eval "$ac_try") 2>&5
13860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13861 (exit $ac_status); }; }; then
13862 ac_cv_lib_esd_esd_open_sound=yes
13864 echo "$as_me: failed program was:" >&5
13865 sed 's/^/| /' conftest.$ac_ext >&5
13867 ac_cv_lib_esd_esd_open_sound=no
13870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_lib_save_LIBS
13874 { echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_open_sound" >&5
13875 echo "${ECHO_T}$ac_cv_lib_esd_esd_open_sound" >&6; }
13876 if test $ac_cv_lib_esd_esd_open_sound = yes; then
13879 ESDINCL=$ESD_CFLAGS
13882 cat >>confdefs.h <<\_ACEOF
13888 CFLAGS="$save_CFLAGS"
13893 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
13895 { echo "$as_me:$LINENO: checking for snd_pcm_hw_params_get_access in -lasound" >&5
13896 echo $ECHO_N "checking for snd_pcm_hw_params_get_access in -lasound... $ECHO_C" >&6; }
13897 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then
13898 echo $ECHO_N "(cached) $ECHO_C" >&6
13900 ac_check_lib_save_LIBS=$LIBS
13901 LIBS="-lasound $LIBS"
13902 cat >conftest.$ac_ext <<_ACEOF
13905 cat confdefs.h >>conftest.$ac_ext
13906 cat >>conftest.$ac_ext <<_ACEOF
13907 /* end confdefs.h. */
13909 /* Override any GCC internal prototype to avoid an error.
13910 Use char because int might match the return type of a GCC
13911 builtin and then its argument prototype would still apply. */
13915 char snd_pcm_hw_params_get_access ();
13919 return snd_pcm_hw_params_get_access ();
13924 rm -f conftest.$ac_objext conftest$ac_exeext
13925 if { (ac_try="$ac_link"
13926 case "(($ac_try" in
13927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13928 *) ac_try_echo
=$ac_try;;
13930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13931 (eval "$ac_link") 2>conftest.er1
13933 grep -v '^ *+' conftest.er1
>conftest.err
13935 cat conftest.err
>&5
13936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13937 (exit $ac_status); } &&
13938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13939 { (case "(($ac_try" in
13940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13941 *) ac_try_echo=$ac_try;;
13943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13944 (eval "$ac_try") 2>&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 (exit $ac_status); }; } &&
13948 { ac_try='test -s conftest$ac_exeext'
13949 { (case "(($ac_try" in
13950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
13951 *) ac_try_echo
=$ac_try;;
13953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13954 (eval "$ac_try") 2>&5
13956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13957 (exit $ac_status); }; }; then
13958 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
13960 echo "$as_me: failed program was:" >&5
13961 sed 's/^/| /' conftest.
$ac_ext >&5
13963 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
13966 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
13967 conftest
$ac_exeext conftest.
$ac_ext
13968 LIBS
=$ac_check_lib_save_LIBS
13970 { echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
13971 echo "${ECHO_T}$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
13972 if test $ac_cv_lib_asound_snd_pcm_hw_params_get_access = yes; then
13973 cat >conftest.
$ac_ext <<_ACEOF
13976 cat confdefs.h
>>conftest.
$ac_ext
13977 cat >>conftest.
$ac_ext <<_ACEOF
13978 /* end confdefs.h. */
13979 #ifdef HAVE_ALSA_ASOUNDLIB_H
13980 #include <alsa/asoundlib.h>
13981 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13982 #include <sys/asoundlib.h>
13987 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
13992 rm -f conftest.
$ac_objext
13993 if { (ac_try
="$ac_compile"
13994 case "(($ac_try" in
13995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
13996 *) ac_try_echo=$ac_try;;
13998 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13999 (eval "$ac_compile") 2>conftest.er1
14001 grep -v '^ *+' conftest.er1 >conftest.err
14003 cat conftest.err >&5
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); } &&
14006 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14007 { (case "(($ac_try" in
14008 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14009 *) ac_try_echo
=$ac_try;;
14011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14012 (eval "$ac_try") 2>&5
14014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14015 (exit $ac_status); }; } &&
14016 { ac_try
='test -s conftest.$ac_objext'
14017 { (case "(($ac_try" in
14018 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14019 *) ac_try_echo=$ac_try;;
14021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14022 (eval "$ac_try") 2>&5
14024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14025 (exit $ac_status); }; }; then
14027 cat >>confdefs.h <<\_ACEOF
14028 #define HAVE_ALSA 1
14031 ALSALIBS="-lasound"
14033 echo "$as_me: failed program was:" >&5
14034 sed 's/^/| /' conftest.$ac_ext >&5
14039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14047 if test "$ac_cv_header_libaudioio_h" = "yes"
14049 { echo "$as_me:$LINENO: checking for AudioIOGetVersion in -laudioio" >&5
14050 echo $ECHO_N "checking for AudioIOGetVersion in -laudioio... $ECHO_C" >&6; }
14051 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then
14052 echo $ECHO_N "(cached) $ECHO_C" >&6
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-laudioio $LIBS"
14056 cat >conftest.$ac_ext <<_ACEOF
14059 cat confdefs.h >>conftest.$ac_ext
14060 cat >>conftest.$ac_ext <<_ACEOF
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14069 char AudioIOGetVersion ();
14073 return AudioIOGetVersion ();
14078 rm -f conftest.$ac_objext conftest$ac_exeext
14079 if { (ac_try="$ac_link"
14080 case "(($ac_try" in
14081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14082 *) ac_try_echo
=$ac_try;;
14084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14085 (eval "$ac_link") 2>conftest.er1
14087 grep -v '^ *+' conftest.er1
>conftest.err
14089 cat conftest.err
>&5
14090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14091 (exit $ac_status); } &&
14092 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14093 { (case "(($ac_try" in
14094 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14095 *) ac_try_echo=$ac_try;;
14097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14098 (eval "$ac_try") 2>&5
14100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14101 (exit $ac_status); }; } &&
14102 { ac_try='test -s conftest$ac_exeext'
14103 { (case "(($ac_try" in
14104 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14105 *) ac_try_echo
=$ac_try;;
14107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14108 (eval "$ac_try") 2>&5
14110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14111 (exit $ac_status); }; }; then
14112 ac_cv_lib_audioio_AudioIOGetVersion
=yes
14114 echo "$as_me: failed program was:" >&5
14115 sed 's/^/| /' conftest.
$ac_ext >&5
14117 ac_cv_lib_audioio_AudioIOGetVersion
=no
14120 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14121 conftest
$ac_exeext conftest.
$ac_ext
14122 LIBS
=$ac_check_lib_save_LIBS
14124 { echo "$as_me:$LINENO: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
14125 echo "${ECHO_T}$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
14126 if test $ac_cv_lib_audioio_AudioIOGetVersion = yes; then
14127 AUDIOIOLIBS
="-laudioio"
14129 cat >>confdefs.h
<<\_ACEOF
14130 #define HAVE_LIBAUDIOIO 1
14138 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
14140 { echo "$as_me:$LINENO: checking for capi20_register in -lcapi20" >&5
14141 echo $ECHO_N "checking for capi20_register in -lcapi20... $ECHO_C" >&6; }
14142 if test "${ac_cv_lib_capi20_capi20_register+set}" = set; then
14143 echo $ECHO_N "(cached) $ECHO_C" >&6
14145 ac_check_lib_save_LIBS
=$LIBS
14146 LIBS
="-lcapi20 $LIBS"
14147 cat >conftest.
$ac_ext <<_ACEOF
14150 cat confdefs.h
>>conftest.
$ac_ext
14151 cat >>conftest.
$ac_ext <<_ACEOF
14152 /* end confdefs.h. */
14154 /* Override any GCC internal prototype to avoid an error.
14155 Use char because int might match the return type of a GCC
14156 builtin and then its argument prototype would still apply. */
14160 char capi20_register ();
14164 return capi20_register ();
14169 rm -f conftest.
$ac_objext conftest
$ac_exeext
14170 if { (ac_try
="$ac_link"
14171 case "(($ac_try" in
14172 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14173 *) ac_try_echo=$ac_try;;
14175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14176 (eval "$ac_link") 2>conftest.er1
14178 grep -v '^ *+' conftest.er1 >conftest.err
14180 cat conftest.err >&5
14181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14182 (exit $ac_status); } &&
14183 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14184 { (case "(($ac_try" in
14185 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14186 *) ac_try_echo
=$ac_try;;
14188 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14189 (eval "$ac_try") 2>&5
14191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14192 (exit $ac_status); }; } &&
14193 { ac_try
='test -s conftest$ac_exeext'
14194 { (case "(($ac_try" in
14195 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14196 *) ac_try_echo=$ac_try;;
14198 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14199 (eval "$ac_try") 2>&5
14201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14202 (exit $ac_status); }; }; then
14203 ac_cv_lib_capi20_capi20_register=yes
14205 echo "$as_me: failed program was:" >&5
14206 sed 's/^/| /' conftest.$ac_ext >&5
14208 ac_cv_lib_capi20_capi20_register=no
14211 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14212 conftest$ac_exeext conftest.$ac_ext
14213 LIBS=$ac_check_lib_save_LIBS
14215 { echo "$as_me:$LINENO: result: $ac_cv_lib_capi20_capi20_register" >&5
14216 echo "${ECHO_T}$ac_cv_lib_capi20_capi20_register" >&6; }
14217 if test $ac_cv_lib_capi20_capi20_register = yes; then
14219 cat >>confdefs.h <<\_ACEOF
14220 #define HAVE_CAPI4LINUX 1
14230 if test "x${GCC}" = "xyes"
14232 EXTRACFLAGS="-Wall -pipe"
14234 { echo "$as_me:$LINENO: checking for gcc strength-reduce bug" >&5
14235 echo $ECHO_N "checking for gcc strength-reduce bug... $ECHO_C" >&6; }
14236 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then
14237 echo $ECHO_N "(cached) $ECHO_C" >&6
14239 if test "$cross_compiling" = yes; then
14240 ac_cv_c_gcc_strength_bug="yes"
14242 cat >conftest.$ac_ext <<_ACEOF
14245 cat confdefs.h >>conftest.$ac_ext
14246 cat >>conftest.$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14249 int L[4] = {0,1,2,3};
14251 static int Array[3];
14252 unsigned int B = 3;
14254 for(i=0; i<B; i++) Array[i] = i - 3;
14255 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14258 exit( Array[1] != -2 || L[2] != 3);
14261 rm -f conftest$ac_exeext
14262 if { (ac_try="$ac_link"
14263 case "(($ac_try" in
14264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14265 *) ac_try_echo
=$ac_try;;
14267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14268 (eval "$ac_link") 2>&5
14270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14271 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
14272 { (case "(($ac_try" in
14273 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14274 *) ac_try_echo=$ac_try;;
14276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14277 (eval "$ac_try") 2>&5
14279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14280 (exit $ac_status); }; }; then
14281 ac_cv_c_gcc_strength_bug="no"
14283 echo "$as_me: program exited with status $ac_status" >&5
14284 echo "$as_me: failed program was:" >&5
14285 sed 's/^/| /' conftest.$ac_ext >&5
14287 ( exit $ac_status )
14288 ac_cv_c_gcc_strength_bug="yes"
14290 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14295 { echo "$as_me:$LINENO: result: $ac_cv_c_gcc_strength_bug" >&5
14296 echo "${ECHO_T}$ac_cv_c_gcc_strength_bug" >&6; }
14297 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14299 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14303 { echo "$as_me:$LINENO: checking whether the compiler supports -fshort-wchar" >&5
14304 echo $ECHO_N "checking whether the compiler supports -fshort-wchar... $ECHO_C" >&6; }
14305 if test "${ac_cv_cflags__fshort_wchar+set}" = set; then
14306 echo $ECHO_N "(cached) $ECHO_C" >&6
14308 ac_wine_try_cflags_saved=$CFLAGS
14309 CFLAGS="$CFLAGS -fshort-wchar"
14310 cat >conftest.$ac_ext <<_ACEOF
14313 cat confdefs.h >>conftest.$ac_ext
14314 cat >>conftest.$ac_ext <<_ACEOF
14315 /* end confdefs.h. */
14325 rm -f conftest.$ac_objext conftest$ac_exeext
14326 if { (ac_try="$ac_link"
14327 case "(($ac_try" in
14328 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14329 *) ac_try_echo
=$ac_try;;
14331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14332 (eval "$ac_link") 2>conftest.er1
14334 grep -v '^ *+' conftest.er1
>conftest.err
14336 cat conftest.err
>&5
14337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14338 (exit $ac_status); } &&
14339 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14340 { (case "(($ac_try" in
14341 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14342 *) ac_try_echo=$ac_try;;
14344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14345 (eval "$ac_try") 2>&5
14347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14348 (exit $ac_status); }; } &&
14349 { ac_try='test -s conftest$ac_exeext'
14350 { (case "(($ac_try" in
14351 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14352 *) ac_try_echo
=$ac_try;;
14354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14355 (eval "$ac_try") 2>&5
14357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14358 (exit $ac_status); }; }; then
14359 ac_cv_cflags__fshort_wchar
=yes
14361 echo "$as_me: failed program was:" >&5
14362 sed 's/^/| /' conftest.
$ac_ext >&5
14364 ac_cv_cflags__fshort_wchar
=no
14367 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14368 conftest
$ac_exeext conftest.
$ac_ext
14369 CFLAGS
=$ac_wine_try_cflags_saved
14371 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fshort_wchar" >&5
14372 echo "${ECHO_T}$ac_cv_cflags__fshort_wchar" >&6; }
14373 if test $ac_cv_cflags__fshort_wchar = yes; then
14375 cat >>confdefs.h
<<\_ACEOF
14376 #define CC_FLAG_SHORT_WCHAR "-fshort-wchar"
14381 { echo "$as_me:$LINENO: checking whether the compiler supports -fno-strict-aliasing" >&5
14382 echo $ECHO_N "checking whether the compiler supports -fno-strict-aliasing... $ECHO_C" >&6; }
14383 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then
14384 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 ac_wine_try_cflags_saved
=$CFLAGS
14387 CFLAGS
="$CFLAGS -fno-strict-aliasing"
14388 cat >conftest.
$ac_ext <<_ACEOF
14391 cat confdefs.h
>>conftest.
$ac_ext
14392 cat >>conftest.
$ac_ext <<_ACEOF
14393 /* end confdefs.h. */
14403 rm -f conftest.
$ac_objext conftest
$ac_exeext
14404 if { (ac_try
="$ac_link"
14405 case "(($ac_try" in
14406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14407 *) ac_try_echo=$ac_try;;
14409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14410 (eval "$ac_link") 2>conftest.er1
14412 grep -v '^ *+' conftest.er1 >conftest.err
14414 cat conftest.err >&5
14415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14416 (exit $ac_status); } &&
14417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14418 { (case "(($ac_try" in
14419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14420 *) ac_try_echo
=$ac_try;;
14422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14423 (eval "$ac_try") 2>&5
14425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14426 (exit $ac_status); }; } &&
14427 { ac_try
='test -s conftest$ac_exeext'
14428 { (case "(($ac_try" in
14429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14430 *) ac_try_echo=$ac_try;;
14432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14433 (eval "$ac_try") 2>&5
14435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14436 (exit $ac_status); }; }; then
14437 ac_cv_cflags__fno_strict_aliasing=yes
14439 echo "$as_me: failed program was:" >&5
14440 sed 's/^/| /' conftest.$ac_ext >&5
14442 ac_cv_cflags__fno_strict_aliasing=no
14445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14446 conftest$ac_exeext conftest.$ac_ext
14447 CFLAGS=$ac_wine_try_cflags_saved
14449 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14450 echo "${ECHO_T}$ac_cv_cflags__fno_strict_aliasing" >&6; }
14451 if test $ac_cv_cflags__fno_strict_aliasing = yes; then
14452 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14455 { echo "$as_me:$LINENO: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14456 echo $ECHO_N "checking whether the compiler supports -Wdeclaration-after-statement... $ECHO_C" >&6; }
14457 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then
14458 echo $ECHO_N "(cached) $ECHO_C" >&6
14460 ac_wine_try_cflags_saved=$CFLAGS
14461 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14462 cat >conftest.$ac_ext <<_ACEOF
14465 cat confdefs.h >>conftest.$ac_ext
14466 cat >>conftest.$ac_ext <<_ACEOF
14467 /* end confdefs.h. */
14477 rm -f conftest.$ac_objext conftest$ac_exeext
14478 if { (ac_try="$ac_link"
14479 case "(($ac_try" in
14480 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14481 *) ac_try_echo
=$ac_try;;
14483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14484 (eval "$ac_link") 2>conftest.er1
14486 grep -v '^ *+' conftest.er1
>conftest.err
14488 cat conftest.err
>&5
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); } &&
14491 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14492 { (case "(($ac_try" in
14493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14494 *) ac_try_echo=$ac_try;;
14496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14497 (eval "$ac_try") 2>&5
14499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14500 (exit $ac_status); }; } &&
14501 { ac_try='test -s conftest$ac_exeext'
14502 { (case "(($ac_try" in
14503 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14504 *) ac_try_echo
=$ac_try;;
14506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14507 (eval "$ac_try") 2>&5
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 ac_cv_cflags__Wdeclaration_after_statement
=yes
14513 echo "$as_me: failed program was:" >&5
14514 sed 's/^/| /' conftest.
$ac_ext >&5
14516 ac_cv_cflags__Wdeclaration_after_statement
=no
14519 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14520 conftest
$ac_exeext conftest.
$ac_ext
14521 CFLAGS
=$ac_wine_try_cflags_saved
14523 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14524 echo "${ECHO_T}$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14525 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then
14526 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
14529 { echo "$as_me:$LINENO: checking whether the compiler supports -Wwrite-strings" >&5
14530 echo $ECHO_N "checking whether the compiler supports -Wwrite-strings... $ECHO_C" >&6; }
14531 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then
14532 echo $ECHO_N "(cached) $ECHO_C" >&6
14534 ac_wine_try_cflags_saved
=$CFLAGS
14535 CFLAGS
="$CFLAGS -Wwrite-strings"
14536 cat >conftest.
$ac_ext <<_ACEOF
14539 cat confdefs.h
>>conftest.
$ac_ext
14540 cat >>conftest.
$ac_ext <<_ACEOF
14541 /* end confdefs.h. */
14551 rm -f conftest.
$ac_objext conftest
$ac_exeext
14552 if { (ac_try
="$ac_link"
14553 case "(($ac_try" in
14554 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14555 *) ac_try_echo=$ac_try;;
14557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14558 (eval "$ac_link") 2>conftest.er1
14560 grep -v '^ *+' conftest.er1 >conftest.err
14562 cat conftest.err >&5
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); } &&
14565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14566 { (case "(($ac_try" in
14567 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14568 *) ac_try_echo
=$ac_try;;
14570 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14571 (eval "$ac_try") 2>&5
14573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14574 (exit $ac_status); }; } &&
14575 { ac_try
='test -s conftest$ac_exeext'
14576 { (case "(($ac_try" in
14577 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14578 *) ac_try_echo=$ac_try;;
14580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14581 (eval "$ac_try") 2>&5
14583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14584 (exit $ac_status); }; }; then
14585 ac_cv_cflags__Wwrite_strings=yes
14587 echo "$as_me: failed program was:" >&5
14588 sed 's/^/| /' conftest.$ac_ext >&5
14590 ac_cv_cflags__Wwrite_strings=no
14593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
14594 conftest$ac_exeext conftest.$ac_ext
14595 CFLAGS=$ac_wine_try_cflags_saved
14597 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wwrite_strings" >&5
14598 echo "${ECHO_T}$ac_cv_cflags__Wwrite_strings" >&6; }
14599 if test $ac_cv_cflags__Wwrite_strings = yes; then
14600 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
14604 saved_CFLAGS="$CFLAGS"
14605 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
14606 { echo "$as_me:$LINENO: checking for broken string.h that generates warnings" >&5
14607 echo $ECHO_N "checking for broken string.h that generates warnings... $ECHO_C" >&6; }
14608 if test "${ac_cv_c_string_h_warnings+set}" = set; then
14609 echo $ECHO_N "(cached) $ECHO_C" >&6
14611 cat >conftest.$ac_ext <<_ACEOF
14614 cat confdefs.h >>conftest.$ac_ext
14615 cat >>conftest.$ac_ext <<_ACEOF
14616 /* end confdefs.h. */
14617 #include <string.h>
14626 rm -f conftest.$ac_objext
14627 if { (ac_try="$ac_compile"
14628 case "(($ac_try" in
14629 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14630 *) ac_try_echo
=$ac_try;;
14632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14633 (eval "$ac_compile") 2>conftest.er1
14635 grep -v '^ *+' conftest.er1
>conftest.err
14637 cat conftest.err
>&5
14638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14639 (exit $ac_status); } &&
14640 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14641 { (case "(($ac_try" in
14642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14643 *) ac_try_echo=$ac_try;;
14645 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14646 (eval "$ac_try") 2>&5
14648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14649 (exit $ac_status); }; } &&
14650 { ac_try='test -s conftest.$ac_objext'
14651 { (case "(($ac_try" in
14652 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14653 *) ac_try_echo
=$ac_try;;
14655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14656 (eval "$ac_try") 2>&5
14658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14659 (exit $ac_status); }; }; then
14660 ac_cv_c_string_h_warnings
=no
14662 echo "$as_me: failed program was:" >&5
14663 sed 's/^/| /' conftest.
$ac_ext >&5
14665 ac_cv_c_string_h_warnings
=yes
14668 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14670 { echo "$as_me:$LINENO: result: $ac_cv_c_string_h_warnings" >&5
14671 echo "${ECHO_T}$ac_cv_c_string_h_warnings" >&6; }
14672 CFLAGS
="$saved_CFLAGS"
14673 if test "$ac_cv_c_string_h_warnings" = "no"
14675 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
14680 saved_CFLAGS
="$CFLAGS"
14681 CFLAGS
="$CFLAGS -Werror"
14682 { echo "$as_me:$LINENO: checking for builtin wchar inlines" >&5
14683 echo $ECHO_N "checking for builtin wchar inlines... $ECHO_C" >&6; }
14684 if test "${ac_cv_c_builtin_wchar_ctype+set}" = set; then
14685 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 cat >conftest.
$ac_ext <<_ACEOF
14690 cat confdefs.h
>>conftest.
$ac_ext
14691 cat >>conftest.
$ac_ext <<_ACEOF
14692 /* end confdefs.h. */
14697 int iswlower(unsigned short);
14702 rm -f conftest.
$ac_objext
14703 if { (ac_try
="$ac_compile"
14704 case "(($ac_try" in
14705 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14706 *) ac_try_echo=$ac_try;;
14708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14709 (eval "$ac_compile") 2>conftest.er1
14711 grep -v '^ *+' conftest.er1 >conftest.err
14713 cat conftest.err >&5
14714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14715 (exit $ac_status); } &&
14716 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14717 { (case "(($ac_try" in
14718 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14719 *) ac_try_echo
=$ac_try;;
14721 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14722 (eval "$ac_try") 2>&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); }; } &&
14726 { ac_try
='test -s conftest.$ac_objext'
14727 { (case "(($ac_try" in
14728 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14729 *) ac_try_echo=$ac_try;;
14731 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14732 (eval "$ac_try") 2>&5
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; }; then
14736 ac_cv_c_builtin_wchar_ctype=no
14738 echo "$as_me: failed program was:" >&5
14739 sed 's/^/| /' conftest.$ac_ext >&5
14741 ac_cv_c_builtin_wchar_ctype=yes
14744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14746 { echo "$as_me:$LINENO: result: $ac_cv_c_builtin_wchar_ctype" >&5
14747 echo "${ECHO_T}$ac_cv_c_builtin_wchar_ctype" >&6; }
14748 CFLAGS="$saved_CFLAGS"
14749 if test "$ac_cv_c_builtin_wchar_ctype" = "yes"
14751 BUILTINFLAG="-fno-builtin"
14756 { echo "$as_me:$LINENO: checking how to define a function in assembly code" >&5
14757 echo $ECHO_N "checking how to define a function in assembly code... $ECHO_C" >&6; }
14758 if test "${ac_cv_asm_func_def+set}" = set; then
14759 echo $ECHO_N "(cached) $ECHO_C" >&6
14761 cat >conftest.$ac_ext <<_ACEOF
14764 cat confdefs.h >>conftest.$ac_ext
14765 cat >>conftest.$ac_ext <<_ACEOF
14766 /* end confdefs.h. */
14767 void ac_asm(void) { asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0"); }
14777 rm -f conftest.$ac_objext conftest$ac_exeext
14778 if { (ac_try="$ac_link"
14779 case "(($ac_try" in
14780 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14781 *) ac_try_echo
=$ac_try;;
14783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14784 (eval "$ac_link") 2>conftest.er1
14786 grep -v '^ *+' conftest.er1
>conftest.err
14788 cat conftest.err
>&5
14789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14790 (exit $ac_status); } &&
14791 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14792 { (case "(($ac_try" in
14793 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14794 *) ac_try_echo=$ac_try;;
14796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14797 (eval "$ac_try") 2>&5
14799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14800 (exit $ac_status); }; } &&
14801 { ac_try='test -s conftest$ac_exeext'
14802 { (case "(($ac_try" in
14803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14804 *) ac_try_echo
=$ac_try;;
14806 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14807 (eval "$ac_try") 2>&5
14809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14810 (exit $ac_status); }; }; then
14811 ac_cv_asm_func_def
=".def"
14813 echo "$as_me: failed program was:" >&5
14814 sed 's/^/| /' conftest.
$ac_ext >&5
14816 cat >conftest.
$ac_ext <<_ACEOF
14819 cat confdefs.h
>>conftest.
$ac_ext
14820 cat >>conftest.
$ac_ext <<_ACEOF
14821 /* end confdefs.h. */
14822 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0"); }
14832 rm -f conftest.
$ac_objext conftest
$ac_exeext
14833 if { (ac_try
="$ac_link"
14834 case "(($ac_try" in
14835 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14836 *) ac_try_echo=$ac_try;;
14838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14839 (eval "$ac_link") 2>conftest.er1
14841 grep -v '^ *+' conftest.er1 >conftest.err
14843 cat conftest.err >&5
14844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14845 (exit $ac_status); } &&
14846 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14847 { (case "(($ac_try" in
14848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14849 *) ac_try_echo
=$ac_try;;
14851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14852 (eval "$ac_try") 2>&5
14854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14855 (exit $ac_status); }; } &&
14856 { ac_try
='test -s conftest$ac_exeext'
14857 { (case "(($ac_try" in
14858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14859 *) ac_try_echo=$ac_try;;
14861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14862 (eval "$ac_try") 2>&5
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; }; then
14866 ac_cv_asm_func_def=".type @function"
14868 echo "$as_me: failed program was:" >&5
14869 sed 's/^/| /' conftest.$ac_ext >&5
14871 cat >conftest.$ac_ext <<_ACEOF
14874 cat confdefs.h >>conftest.$ac_ext
14875 cat >>conftest.$ac_ext <<_ACEOF
14876 /* end confdefs.h. */
14877 void ac_asm(void) { asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0"); }
14887 rm -f conftest.$ac_objext conftest$ac_exeext
14888 if { (ac_try="$ac_link"
14889 case "(($ac_try" in
14890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14891 *) ac_try_echo
=$ac_try;;
14893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14894 (eval "$ac_link") 2>conftest.er1
14896 grep -v '^ *+' conftest.er1
>conftest.err
14898 cat conftest.err
>&5
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); } &&
14901 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
14902 { (case "(($ac_try" in
14903 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14904 *) ac_try_echo=$ac_try;;
14906 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14907 (eval "$ac_try") 2>&5
14909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14910 (exit $ac_status); }; } &&
14911 { ac_try='test -s conftest$ac_exeext'
14912 { (case "(($ac_try" in
14913 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
14914 *) ac_try_echo
=$ac_try;;
14916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14917 (eval "$ac_try") 2>&5
14919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14920 (exit $ac_status); }; }; then
14921 ac_cv_asm_func_def
=".type 2"
14923 echo "$as_me: failed program was:" >&5
14924 sed 's/^/| /' conftest.
$ac_ext >&5
14926 ac_cv_asm_func_def
="unknown"
14929 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14930 conftest
$ac_exeext conftest.
$ac_ext
14933 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14934 conftest
$ac_exeext conftest.
$ac_ext
14937 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
14938 conftest
$ac_exeext conftest.
$ac_ext
14940 { echo "$as_me:$LINENO: result: $ac_cv_asm_func_def" >&5
14941 echo "${ECHO_T}$ac_cv_asm_func_def" >&6; }
14945 case "$ac_cv_asm_func_def" in
14947 cat >>confdefs.h
<<\_ACEOF
14948 #define __ASM_FUNC(name) ".def " __ASM_NAME(name) "; .scl 2; .type 32; .endef"
14952 cat >>confdefs.h
<<\_ACEOF
14953 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",@function"
14957 cat >>confdefs.h
<<\_ACEOF
14958 #define __ASM_FUNC(name) ".type " __ASM_NAME(name) ",2"
14962 cat >>confdefs.h
<<\_ACEOF
14963 #define __ASM_FUNC(name) ""
14969 { echo "$as_me:$LINENO: checking whether external symbols need an underscore prefix" >&5
14970 echo $ECHO_N "checking whether external symbols need an underscore prefix... $ECHO_C" >&6; }
14971 if test "${ac_cv_c_extern_prefix+set}" = set; then
14972 echo $ECHO_N "(cached) $ECHO_C" >&6
14974 cat >conftest.
$ac_ext <<_ACEOF
14977 cat confdefs.h
>>conftest.
$ac_ext
14978 cat >>conftest.
$ac_ext <<_ACEOF
14979 /* end confdefs.h. */
14980 void ac_asm(void) { asm(".globl _ac_test\n_ac_test:\t.long 0"); }
14981 extern int ac_test;
14985 if (ac_test) return 1
14990 rm -f conftest.
$ac_objext conftest
$ac_exeext
14991 if { (ac_try
="$ac_link"
14992 case "(($ac_try" in
14993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
14994 *) ac_try_echo=$ac_try;;
14996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14997 (eval "$ac_link") 2>conftest.er1
14999 grep -v '^ *+' conftest.er1 >conftest.err
15001 cat conftest.err >&5
15002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15003 (exit $ac_status); } &&
15004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15005 { (case "(($ac_try" in
15006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15007 *) ac_try_echo
=$ac_try;;
15009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15010 (eval "$ac_try") 2>&5
15012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15013 (exit $ac_status); }; } &&
15014 { ac_try
='test -s conftest$ac_exeext'
15015 { (case "(($ac_try" in
15016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15017 *) ac_try_echo=$ac_try;;
15019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15020 (eval "$ac_try") 2>&5
15022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15023 (exit $ac_status); }; }; then
15024 ac_cv_c_extern_prefix="yes"
15026 echo "$as_me: failed program was:" >&5
15027 sed 's/^/| /' conftest.$ac_ext >&5
15029 ac_cv_c_extern_prefix="no"
15032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15033 conftest$ac_exeext conftest.$ac_ext
15035 { echo "$as_me:$LINENO: result: $ac_cv_c_extern_prefix" >&5
15036 echo "${ECHO_T}$ac_cv_c_extern_prefix" >&6; }
15040 if test "$ac_cv_c_extern_prefix" = "yes"
15042 cat >>confdefs.h <<\_ACEOF
15043 #define __ASM_NAME(name) "_" name
15047 cat >>confdefs.h <<\_ACEOF
15048 #define __ASM_NAME(name) name
15056 DLLFLAGS="-D_REENTRANT"
15071 if test -n "$ac_tool_prefix"; then
15072 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15073 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15076 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15077 echo $ECHO_N "(cached) $ECHO_C" >&6
15079 if test -n "$DLLTOOL"; then
15080 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15083 for as_dir in $PATH
15086 test -z "$as_dir" && as_dir=.
15087 for ac_exec_ext in '' $ac_executable_extensions; do
15088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15089 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15090 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15099 DLLTOOL=$ac_cv_prog_DLLTOOL
15100 if test -n "$DLLTOOL"; then
15101 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15102 echo "${ECHO_T}$DLLTOOL" >&6; }
15104 { echo "$as_me:$LINENO: result: no" >&5
15105 echo "${ECHO_T}no" >&6; }
15110 if test -z "$ac_cv_prog_DLLTOOL"; then
15111 ac_ct_DLLTOOL=$DLLTOOL
15112 # Extract the first word of "dlltool", so it can be a program name with args.
15113 set dummy dlltool; ac_word=$2
15114 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15115 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15116 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15117 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 if test -n "$ac_ct_DLLTOOL"; then
15120 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15123 for as_dir in $PATH
15126 test -z "$as_dir" && as_dir=.
15127 for ac_exec_ext in '' $ac_executable_extensions; do
15128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15129 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15130 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15139 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15140 if test -n "$ac_ct_DLLTOOL"; then
15141 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15142 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
15144 { echo "$as_me:$LINENO: result: no" >&5
15145 echo "${ECHO_T}no" >&6; }
15148 if test "x$ac_ct_DLLTOOL" = x; then
15151 case $cross_compiling:$ac_tool_warned in
15153 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15154 whose name does not start with the host triplet. If you think this
15155 configuration is useful to you, please write to autoconf@gnu.org." >&5
15156 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15157 whose name does not start with the host triplet. If you think this
15158 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15159 ac_tool_warned=yes ;;
15161 DLLTOOL=$ac_ct_DLLTOOL
15164 DLLTOOL="$ac_cv_prog_DLLTOOL"
15167 if test -n "$ac_tool_prefix"; then
15168 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
15169 set dummy ${ac_tool_prefix}dllwrap; ac_word=$2
15170 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15171 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15172 if test "${ac_cv_prog_DLLWRAP+set}" = set; then
15173 echo $ECHO_N "(cached) $ECHO_C" >&6
15175 if test -n "$DLLWRAP"; then
15176 ac_cv_prog_DLLWRAP="$DLLWRAP" # Let the user override the test.
15178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15179 for as_dir in $PATH
15182 test -z "$as_dir" && as_dir=.
15183 for ac_exec_ext in '' $ac_executable_extensions; do
15184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15185 ac_cv_prog_DLLWRAP="${ac_tool_prefix}dllwrap"
15186 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15195 DLLWRAP=$ac_cv_prog_DLLWRAP
15196 if test -n "$DLLWRAP"; then
15197 { echo "$as_me:$LINENO: result: $DLLWRAP" >&5
15198 echo "${ECHO_T}$DLLWRAP" >&6; }
15200 { echo "$as_me:$LINENO: result: no" >&5
15201 echo "${ECHO_T}no" >&6; }
15206 if test -z "$ac_cv_prog_DLLWRAP"; then
15207 ac_ct_DLLWRAP=$DLLWRAP
15208 # Extract the first word of "dllwrap", so it can be a program name with args.
15209 set dummy dllwrap; ac_word=$2
15210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15212 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then
15213 echo $ECHO_N "(cached) $ECHO_C" >&6
15215 if test -n "$ac_ct_DLLWRAP"; then
15216 ac_cv_prog_ac_ct_DLLWRAP="$ac_ct_DLLWRAP" # Let the user override the test.
15218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15219 for as_dir in $PATH
15222 test -z "$as_dir" && as_dir=.
15223 for ac_exec_ext in '' $ac_executable_extensions; do
15224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
15225 ac_cv_prog_ac_ct_DLLWRAP="dllwrap"
15226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15235 ac_ct_DLLWRAP=$ac_cv_prog_ac_ct_DLLWRAP
15236 if test -n "$ac_ct_DLLWRAP"; then
15237 { echo "$as_me:$LINENO: result: $ac_ct_DLLWRAP" >&5
15238 echo "${ECHO_T}$ac_ct_DLLWRAP" >&6; }
15240 { echo "$as_me:$LINENO: result: no" >&5
15241 echo "${ECHO_T}no" >&6; }
15244 if test "x$ac_ct_DLLWRAP" = x; then
15247 case $cross_compiling:$ac_tool_warned in
15249 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15250 whose name does not start with the host triplet. If you think this
15251 configuration is useful to you, please write to autoconf@gnu.org." >&5
15252 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15253 whose name does not start with the host triplet. If you think this
15254 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15255 ac_tool_warned=yes ;;
15257 DLLWRAP=$ac_ct_DLLWRAP
15260 DLLWRAP="$ac_cv_prog_DLLWRAP"
15263 if test "$DLLWRAP" = "false"; then
15275 DLLFLAGS="$DLLFLAGS -fPIC"
15276 LDDLLFLAGS="-bundle -multiply_defined suppress"
15277 LIBWINE_LDFLAGS="-multiply_defined suppress"
15278 LDSHARED="\$(CC) -dynamiclib -install_name @executable_path/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`/\$(DYNAME)"
15279 STRIP="$STRIP -u -r"
15280 COREFOUNDATIONLIB="-framework CoreFoundation"
15282 IOKITLIB="-framework IOKit -framework CoreFoundation"
15284 LDEXECFLAGS="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHARED_HEAP,0x7f000000"
15286 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
15288 DISKARBITRATIONLIB="-framework DiskArbitration -framework CoreFoundation"
15291 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
15293 COREAUDIO="-framework CoreAudio -framework AudioUnit -framework CoreServices"
15298 LDDLLFLAGS="$LDDLLFLAGS -read_only_relocs warning" ;;
15300 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
15302 QUARTZFILES='$(QUARTZFILES)'
15306 DLLFLAGS="$DLLFLAGS -fPIC"
15308 { echo "$as_me:$LINENO: checking whether we can build a GNU style ELF dll" >&5
15309 echo $ECHO_N "checking whether we can build a GNU style ELF dll... $ECHO_C" >&6; }
15310 if test "${ac_cv_c_dll_gnuelf+set}" = set; then
15311 echo $ECHO_N "(cached) $ECHO_C" >&6
15313 ac_wine_try_cflags_saved=$CFLAGS
15314 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
15315 cat >conftest.$ac_ext <<_ACEOF
15318 rm -f conftest.$ac_objext conftest$ac_exeext
15319 if { (ac_try="$ac_link"
15320 case "(($ac_try" in
15321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15322 *) ac_try_echo
=$ac_try;;
15324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15325 (eval "$ac_link") 2>conftest.er1
15327 grep -v '^ *+' conftest.er1
>conftest.err
15329 cat conftest.err
>&5
15330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15331 (exit $ac_status); } &&
15332 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15333 { (case "(($ac_try" in
15334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15335 *) ac_try_echo=$ac_try;;
15337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15338 (eval "$ac_try") 2>&5
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; } &&
15342 { ac_try='test -s conftest$ac_exeext'
15343 { (case "(($ac_try" in
15344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15345 *) ac_try_echo
=$ac_try;;
15347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15348 (eval "$ac_try") 2>&5
15350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15351 (exit $ac_status); }; }; then
15352 ac_cv_c_dll_gnuelf
="yes"
15354 echo "$as_me: failed program was:" >&5
15355 sed 's/^/| /' conftest.
$ac_ext >&5
15357 ac_cv_c_dll_gnuelf
="no"
15360 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15361 conftest
$ac_exeext conftest.
$ac_ext
15362 CFLAGS
=$ac_wine_try_cflags_saved
15364 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_gnuelf" >&5
15365 echo "${ECHO_T}$ac_cv_c_dll_gnuelf" >&6; }
15366 if test "$ac_cv_c_dll_gnuelf" = "yes"
15368 LDSHARED
="\$(CC) -shared"
15369 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
15370 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
15371 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... $ECHO_C" >&6; }
15372 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then
15373 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 ac_wine_try_cflags_saved
=$CFLAGS
15376 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
15377 cat >conftest.
$ac_ext <<_ACEOF
15380 cat confdefs.h
>>conftest.
$ac_ext
15381 cat >>conftest.
$ac_ext <<_ACEOF
15382 /* end confdefs.h. */
15392 rm -f conftest.
$ac_objext conftest
$ac_exeext
15393 if { (ac_try
="$ac_link"
15394 case "(($ac_try" in
15395 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15396 *) ac_try_echo=$ac_try;;
15398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15399 (eval "$ac_link") 2>conftest.er1
15401 grep -v '^ *+' conftest.er1 >conftest.err
15403 cat conftest.err >&5
15404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15405 (exit $ac_status); } &&
15406 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15407 { (case "(($ac_try" in
15408 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15409 *) ac_try_echo
=$ac_try;;
15411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15412 (eval "$ac_try") 2>&5
15414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15415 (exit $ac_status); }; } &&
15416 { ac_try
='test -s conftest$ac_exeext'
15417 { (case "(($ac_try" in
15418 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15419 *) ac_try_echo=$ac_try;;
15421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15422 (eval "$ac_try") 2>&5
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15431 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
15434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15435 conftest$ac_exeext conftest.$ac_ext
15436 CFLAGS=$ac_wine_try_cflags_saved
15438 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
15439 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
15440 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then
15441 LDSHARED="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
15443 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
15444 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... $ECHO_C" >&6; }
15445 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then
15446 echo $ECHO_N "(cached) $ECHO_C" >&6
15448 ac_wine_try_cflags_saved=$CFLAGS
15449 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
15450 cat >conftest.$ac_ext <<_ACEOF
15453 cat confdefs.h >>conftest.$ac_ext
15454 cat >>conftest.$ac_ext <<_ACEOF
15455 /* end confdefs.h. */
15465 rm -f conftest.$ac_objext conftest$ac_exeext
15466 if { (ac_try="$ac_link"
15467 case "(($ac_try" in
15468 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15469 *) ac_try_echo
=$ac_try;;
15471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15472 (eval "$ac_link") 2>conftest.er1
15474 grep -v '^ *+' conftest.er1
>conftest.err
15476 cat conftest.err
>&5
15477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15478 (exit $ac_status); } &&
15479 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15480 { (case "(($ac_try" in
15481 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15482 *) ac_try_echo=$ac_try;;
15484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15485 (eval "$ac_try") 2>&5
15487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15488 (exit $ac_status); }; } &&
15489 { ac_try='test -s conftest$ac_exeext'
15490 { (case "(($ac_try" in
15491 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15492 *) ac_try_echo
=$ac_try;;
15494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15495 (eval "$ac_try") 2>&5
15497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15498 (exit $ac_status); }; }; then
15499 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.
$ac_ext >&5
15504 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
15507 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15508 conftest
$ac_exeext conftest.
$ac_ext
15509 CFLAGS
=$ac_wine_try_cflags_saved
15511 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
15512 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
15513 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then
15514 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
15520 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
15521 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... $ECHO_C" >&6; }
15522 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then
15523 echo $ECHO_N "(cached) $ECHO_C" >&6
15525 ac_wine_try_cflags_saved
=$CFLAGS
15526 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
15527 cat >conftest.
$ac_ext <<_ACEOF
15530 cat confdefs.h
>>conftest.
$ac_ext
15531 cat >>conftest.
$ac_ext <<_ACEOF
15532 /* end confdefs.h. */
15542 rm -f conftest.
$ac_objext conftest
$ac_exeext
15543 if { (ac_try
="$ac_link"
15544 case "(($ac_try" in
15545 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15546 *) ac_try_echo=$ac_try;;
15548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15549 (eval "$ac_link") 2>conftest.er1
15551 grep -v '^ *+' conftest.er1 >conftest.err
15553 cat conftest.err >&5
15554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15555 (exit $ac_status); } &&
15556 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15557 { (case "(($ac_try" in
15558 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15559 *) ac_try_echo
=$ac_try;;
15561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15562 (eval "$ac_try") 2>&5
15564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15565 (exit $ac_status); }; } &&
15566 { ac_try
='test -s conftest$ac_exeext'
15567 { (case "(($ac_try" in
15568 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15569 *) ac_try_echo=$ac_try;;
15571 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15572 (eval "$ac_try") 2>&5
15574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15575 (exit $ac_status); }; }; then
15576 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=yes
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15581 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs=no
15584 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15585 conftest$ac_exeext conftest.$ac_ext
15586 CFLAGS=$ac_wine_try_cflags_saved
15588 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
15589 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
15590 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then
15591 LDDLLFLAGS="$LDDLLFLAGS,-z,defs"
15595 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini" >&5
15596 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... $ECHO_C" >&6; }
15597 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then
15598 echo $ECHO_N "(cached) $ECHO_C" >&6
15600 ac_wine_try_cflags_saved=$CFLAGS
15601 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
15602 cat >conftest.$ac_ext <<_ACEOF
15605 cat confdefs.h >>conftest.$ac_ext
15606 cat >>conftest.$ac_ext <<_ACEOF
15607 /* end confdefs.h. */
15617 rm -f conftest.$ac_objext conftest$ac_exeext
15618 if { (ac_try="$ac_link"
15619 case "(($ac_try" in
15620 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15621 *) ac_try_echo
=$ac_try;;
15623 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15624 (eval "$ac_link") 2>conftest.er1
15626 grep -v '^ *+' conftest.er1
>conftest.err
15628 cat conftest.err
>&5
15629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15630 (exit $ac_status); } &&
15631 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15632 { (case "(($ac_try" in
15633 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15634 *) ac_try_echo=$ac_try;;
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637 (eval "$ac_try") 2>&5
15639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15640 (exit $ac_status); }; } &&
15641 { ac_try='test -s conftest$ac_exeext'
15642 { (case "(($ac_try" in
15643 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15644 *) ac_try_echo
=$ac_try;;
15646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15647 (eval "$ac_try") 2>&5
15649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15650 (exit $ac_status); }; }; then
15651 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
15653 echo "$as_me: failed program was:" >&5
15654 sed 's/^/| /' conftest.
$ac_ext >&5
15656 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
15659 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15660 conftest
$ac_exeext conftest.
$ac_ext
15661 CFLAGS
=$ac_wine_try_cflags_saved
15663 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
15664 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
15665 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then
15666 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
15670 echo '{ global: *; };' >conftest.map
15671 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
15672 echo $ECHO_N "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... $ECHO_C" >&6; }
15673 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then
15674 echo $ECHO_N "(cached) $ECHO_C" >&6
15676 ac_wine_try_cflags_saved
=$CFLAGS
15677 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
15678 cat >conftest.
$ac_ext <<_ACEOF
15681 cat confdefs.h
>>conftest.
$ac_ext
15682 cat >>conftest.
$ac_ext <<_ACEOF
15683 /* end confdefs.h. */
15693 rm -f conftest.
$ac_objext conftest
$ac_exeext
15694 if { (ac_try
="$ac_link"
15695 case "(($ac_try" in
15696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15697 *) ac_try_echo=$ac_try;;
15699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15700 (eval "$ac_link") 2>conftest.er1
15702 grep -v '^ *+' conftest.er1 >conftest.err
15704 cat conftest.err >&5
15705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15706 (exit $ac_status); } &&
15707 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15708 { (case "(($ac_try" in
15709 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15710 *) ac_try_echo
=$ac_try;;
15712 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15713 (eval "$ac_try") 2>&5
15715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15716 (exit $ac_status); }; } &&
15717 { ac_try
='test -s conftest$ac_exeext'
15718 { (case "(($ac_try" in
15719 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_try") 2>&5
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.$ac_ext >&5
15732 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
15735 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15736 conftest$ac_exeext conftest.$ac_ext
15737 CFLAGS=$ac_wine_try_cflags_saved
15739 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
15740 echo "${ECHO_T}$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
15741 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then
15742 LDSHARED="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
15747 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
15748 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--export-dynamic... $ECHO_C" >&6; }
15749 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then
15750 echo $ECHO_N "(cached) $ECHO_C" >&6
15752 ac_wine_try_cflags_saved=$CFLAGS
15753 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
15754 cat >conftest.$ac_ext <<_ACEOF
15757 cat confdefs.h >>conftest.$ac_ext
15758 cat >>conftest.$ac_ext <<_ACEOF
15759 /* end confdefs.h. */
15769 rm -f conftest.$ac_objext conftest$ac_exeext
15770 if { (ac_try="$ac_link"
15771 case "(($ac_try" in
15772 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15773 *) ac_try_echo
=$ac_try;;
15775 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15776 (eval "$ac_link") 2>conftest.er1
15778 grep -v '^ *+' conftest.er1
>conftest.err
15780 cat conftest.err
>&5
15781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15782 (exit $ac_status); } &&
15783 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15784 { (case "(($ac_try" in
15785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15786 *) ac_try_echo=$ac_try;;
15788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15789 (eval "$ac_try") 2>&5
15791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15792 (exit $ac_status); }; } &&
15793 { ac_try='test -s conftest$ac_exeext'
15794 { (case "(($ac_try" in
15795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15796 *) ac_try_echo
=$ac_try;;
15798 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15799 (eval "$ac_try") 2>&5
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; }; then
15803 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.
$ac_ext >&5
15808 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
15811 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15812 conftest
$ac_exeext conftest.
$ac_ext
15813 CFLAGS
=$ac_wine_try_cflags_saved
15815 { echo "$as_me:$LINENO: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
15816 echo "${ECHO_T}$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
15817 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then
15818 LDEXECFLAGS
="-Wl,--export-dynamic"
15823 as_ac_var
=`echo "ac_cv_cflags_-fPIC -Wl,--rpath,\$ORIGIN/../lib" | $as_tr_sh`
15824 { echo "$as_me:$LINENO: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
15825 echo $ECHO_N "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... $ECHO_C" >&6; }
15826 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
15827 echo $ECHO_N "(cached) $ECHO_C" >&6
15829 ac_wine_try_cflags_saved
=$CFLAGS
15830 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
15831 cat >conftest.
$ac_ext <<_ACEOF
15834 cat confdefs.h
>>conftest.
$ac_ext
15835 cat >>conftest.
$ac_ext <<_ACEOF
15836 /* end confdefs.h. */
15846 rm -f conftest.
$ac_objext conftest
$ac_exeext
15847 if { (ac_try
="$ac_link"
15848 case "(($ac_try" in
15849 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15850 *) ac_try_echo=$ac_try;;
15852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15853 (eval "$ac_link") 2>conftest.er1
15855 grep -v '^ *+' conftest.er1 >conftest.err
15857 cat conftest.err >&5
15858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15859 (exit $ac_status); } &&
15860 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15861 { (case "(($ac_try" in
15862 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15863 *) ac_try_echo
=$ac_try;;
15865 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15866 (eval "$ac_try") 2>&5
15868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15869 (exit $ac_status); }; } &&
15870 { ac_try
='test -s conftest$ac_exeext'
15871 { (case "(($ac_try" in
15872 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15873 *) ac_try_echo=$ac_try;;
15875 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15876 (eval "$ac_try") 2>&5
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; }; then
15880 eval "$as_ac_var=yes"
15882 echo "$as_me: failed program was:" >&5
15883 sed 's/^/| /' conftest.$ac_ext >&5
15885 eval "$as_ac_var=no"
15888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15889 conftest$ac_exeext conftest.$ac_ext
15890 CFLAGS=$ac_wine_try_cflags_saved
15892 ac_res=`eval echo '${'$as_ac_var'}'`
15893 { echo "$as_me:$LINENO: result: $ac_res" >&5
15894 echo "${ECHO_T}$ac_res" >&6; }
15895 if test `eval echo '${'$as_ac_var'}'` = yes; then
15896 LIBWINE_LDFLAGS="-Wl,--rpath,\\\$\$ORIGIN/\`\$
(RELPATH
) \$
(bindir
) \$
(libdir
)\
`"
15901 *i[3456789]86* | x86_64)
15902 { echo "$as_me:$LINENO: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
15903 echo $ECHO_N "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... $ECHO_C" >&6; }
15904 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then
15905 echo $ECHO_N "(cached) $ECHO_C" >&6
15907 ac_wine_try_cflags_saved=$CFLAGS
15908 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
15909 cat >conftest.$ac_ext <<_ACEOF
15912 cat confdefs.h >>conftest.$ac_ext
15913 cat >>conftest.$ac_ext <<_ACEOF
15914 /* end confdefs.h. */
15924 rm -f conftest.$ac_objext conftest$ac_exeext
15925 if { (ac_try="$ac_link"
15926 case "(($ac_try" in
15927 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15928 *) ac_try_echo
=$ac_try;;
15930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15931 (eval "$ac_link") 2>conftest.er1
15933 grep -v '^ *+' conftest.er1
>conftest.err
15935 cat conftest.err
>&5
15936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15937 (exit $ac_status); } &&
15938 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15939 { (case "(($ac_try" in
15940 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15941 *) ac_try_echo=$ac_try;;
15943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15944 (eval "$ac_try") 2>&5
15946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15947 (exit $ac_status); }; } &&
15948 { ac_try='test -s conftest$ac_exeext'
15949 { (case "(($ac_try" in
15950 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
15951 *) ac_try_echo
=$ac_try;;
15953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15954 (eval "$ac_try") 2>&5
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; }; then
15958 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
15960 echo "$as_me: failed program was:" >&5
15961 sed 's/^/| /' conftest.
$ac_ext >&5
15963 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
15966 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
15967 conftest
$ac_exeext conftest.
$ac_ext
15968 CFLAGS
=$ac_wine_try_cflags_saved
15970 { echo "$as_me:$LINENO: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
15971 echo "${ECHO_T}$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
15972 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then
15973 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
15980 { echo "$as_me:$LINENO: checking whether we can build a UnixWare (Solaris) dll" >&5
15981 echo $ECHO_N "checking whether we can build a UnixWare (Solaris) dll... $ECHO_C" >&6; }
15982 if test "${ac_cv_c_dll_unixware+set}" = set; then
15983 echo $ECHO_N "(cached) $ECHO_C" >&6
15985 ac_wine_try_cflags_saved
=$CFLAGS
15986 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
15987 cat >conftest.
$ac_ext <<_ACEOF
15990 rm -f conftest.
$ac_objext conftest
$ac_exeext
15991 if { (ac_try
="$ac_link"
15992 case "(($ac_try" in
15993 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
15994 *) ac_try_echo=$ac_try;;
15996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15997 (eval "$ac_link") 2>conftest.er1
15999 grep -v '^ *+' conftest.er1 >conftest.err
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } &&
16004 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16005 { (case "(($ac_try" in
16006 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16007 *) ac_try_echo
=$ac_try;;
16009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16010 (eval "$ac_try") 2>&5
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try
='test -s conftest$ac_exeext'
16015 { (case "(($ac_try" in
16016 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16017 *) ac_try_echo=$ac_try;;
16019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16020 (eval "$ac_try") 2>&5
16022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16023 (exit $ac_status); }; }; then
16024 ac_cv_c_dll_unixware="yes"
16026 echo "$as_me: failed program was:" >&5
16027 sed 's/^/| /' conftest.$ac_ext >&5
16029 ac_cv_c_dll_unixware="no"
16032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16033 conftest$ac_exeext conftest.$ac_ext
16034 CFLAGS=$ac_wine_try_cflags_saved
16036 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_unixware" >&5
16037 echo "${ECHO_T}$ac_cv_c_dll_unixware" >&6; }
16038 if test "$ac_cv_c_dll_unixware" = "yes"
16040 LDSHARED="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
16041 LDDLLFLAGS="-Wl,-G,-B,symbolic"
16044 { echo "$as_me:$LINENO: checking whether we can build an HP-UX dll" >&5
16045 echo $ECHO_N "checking whether we can build an HP-UX dll... $ECHO_C" >&6; }
16046 if test "${ac_cv_c_dll_hpux+set}" = set; then
16047 echo $ECHO_N "(cached) $ECHO_C" >&6
16049 ac_wine_try_cflags_saved=$CFLAGS
16050 CFLAGS="$CFLAGS -shared"
16051 cat >conftest.$ac_ext <<_ACEOF
16054 rm -f conftest.$ac_objext conftest$ac_exeext
16055 if { (ac_try="$ac_link"
16056 case "(($ac_try" in
16057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16058 *) ac_try_echo
=$ac_try;;
16060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16061 (eval "$ac_link") 2>conftest.er1
16063 grep -v '^ *+' conftest.er1
>conftest.err
16065 cat conftest.err
>&5
16066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16067 (exit $ac_status); } &&
16068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16069 { (case "(($ac_try" in
16070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16071 *) ac_try_echo=$ac_try;;
16073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16074 (eval "$ac_try") 2>&5
16076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16077 (exit $ac_status); }; } &&
16078 { ac_try='test -s conftest$ac_exeext'
16079 { (case "(($ac_try" in
16080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16081 *) ac_try_echo
=$ac_try;;
16083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16084 (eval "$ac_try") 2>&5
16086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16087 (exit $ac_status); }; }; then
16088 ac_cv_c_dll_hpux
="yes"
16090 echo "$as_me: failed program was:" >&5
16091 sed 's/^/| /' conftest.
$ac_ext >&5
16093 ac_cv_c_dll_hpux
="no"
16096 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16097 conftest
$ac_exeext conftest.
$ac_ext
16098 CFLAGS
=$ac_wine_try_cflags_saved
16100 { echo "$as_me:$LINENO: result: $ac_cv_c_dll_hpux" >&5
16101 echo "${ECHO_T}$ac_cv_c_dll_hpux" >&6; }
16102 if test "$ac_cv_c_dll_hpux" = "yes"
16106 LDDLLFLAGS
="-shared -fPIC"
16107 LDSHARED
="\$(CC) -shared"
16114 if test "$cross_compiling" = "no"
16116 for ac_prog
in i586-mingw32msvc-gcc i386-mingw32msvc-gcc i386-mingw32-gcc mingw32-gcc mingw-gcc
16118 # Extract the first word of "$ac_prog", so it can be a program name with args.
16119 set dummy
$ac_prog; ac_word
=$2
16120 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16122 if test "${ac_cv_prog_CROSSCC+set}" = set; then
16123 echo $ECHO_N "(cached) $ECHO_C" >&6
16125 if test -n "$CROSSCC"; then
16126 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
16128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16129 for as_dir
in $PATH
16132 test -z "$as_dir" && as_dir
=.
16133 for ac_exec_ext
in '' $ac_executable_extensions; do
16134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16135 ac_cv_prog_CROSSCC
="$ac_prog"
16136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16145 CROSSCC
=$ac_cv_prog_CROSSCC
16146 if test -n "$CROSSCC"; then
16147 { echo "$as_me:$LINENO: result: $CROSSCC" >&5
16148 echo "${ECHO_T}$CROSSCC" >&6; }
16150 { echo "$as_me:$LINENO: result: no" >&5
16151 echo "${ECHO_T}no" >&6; }
16155 test -n "$CROSSCC" && break
16157 test -n "$CROSSCC" || CROSSCC
="false"
16159 for ac_prog
in i586-mingw32msvc-dlltool i386-mingw32msvc-dlltool i386-mingw32-dlltool mingw32-dlltool mingw-dlltool
16161 # Extract the first word of "$ac_prog", so it can be a program name with args.
16162 set dummy
$ac_prog; ac_word
=$2
16163 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16164 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16165 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16166 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 if test -n "$DLLTOOL"; then
16169 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
16171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16172 for as_dir
in $PATH
16175 test -z "$as_dir" && as_dir
=.
16176 for ac_exec_ext
in '' $ac_executable_extensions; do
16177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16178 ac_cv_prog_DLLTOOL
="$ac_prog"
16179 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16188 DLLTOOL
=$ac_cv_prog_DLLTOOL
16189 if test -n "$DLLTOOL"; then
16190 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16191 echo "${ECHO_T}$DLLTOOL" >&6; }
16193 { echo "$as_me:$LINENO: result: no" >&5
16194 echo "${ECHO_T}no" >&6; }
16198 test -n "$DLLTOOL" && break
16200 test -n "$DLLTOOL" || DLLTOOL
="false"
16202 for ac_prog
in i586-mingw32msvc-windres i386-mingw32msvc-windres i386-mingw32-windres mingw32-windres mingw-windres
16204 # Extract the first word of "$ac_prog", so it can be a program name with args.
16205 set dummy
$ac_prog; ac_word
=$2
16206 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16208 if test "${ac_cv_prog_CROSSWINDRES+set}" = set; then
16209 echo $ECHO_N "(cached) $ECHO_C" >&6
16211 if test -n "$CROSSWINDRES"; then
16212 ac_cv_prog_CROSSWINDRES
="$CROSSWINDRES" # Let the user override the test.
16214 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16215 for as_dir
in $PATH
16218 test -z "$as_dir" && as_dir
=.
16219 for ac_exec_ext
in '' $ac_executable_extensions; do
16220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16221 ac_cv_prog_CROSSWINDRES
="$ac_prog"
16222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16231 CROSSWINDRES
=$ac_cv_prog_CROSSWINDRES
16232 if test -n "$CROSSWINDRES"; then
16233 { echo "$as_me:$LINENO: result: $CROSSWINDRES" >&5
16234 echo "${ECHO_T}$CROSSWINDRES" >&6; }
16236 { echo "$as_me:$LINENO: result: no" >&5
16237 echo "${ECHO_T}no" >&6; }
16241 test -n "$CROSSWINDRES" && break
16243 test -n "$CROSSWINDRES" || CROSSWINDRES
="false"
16245 if test "$CROSSCC" != "false"; then CROSSTEST
="\$(CROSSTEST)"; fi
16250 if test "$LIBEXT" = "a"; then
16251 { { echo "$as_me:$LINENO: error: could not find a way to build shared libraries.
16252 It is currently not possible to build Wine without shared library
16253 (.so) support to allow transparent switch between .so and .dll files.
16254 If you are using Linux, you will need a newer binutils.
16256 echo "$as_me: error: could not find a way to build shared libraries.
16257 It is currently not possible to build Wine without shared library
16258 (.so) support to allow transparent switch between .so and .dll files.
16259 If you are using Linux, you will need a newer binutils.
16261 { (exit 1); exit 1; }; }
16266 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
16269 LDPATH
="DYLD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$DYLD_LIBRARY_PATH\""
16272 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
16280 SOCKETLIBS
="-lws2_32"
16285 MAIN_BINARY
="wine-pthread"
16289 linux
* | k
*bsd
*-gnu)
16290 MAIN_BINARY
="wine-glibc"
16292 EXTRA_BINARIES
="wine-kthread wine-pthread wine-preloader"
16299 if test "$LIBEXT" = "so" -o "$LIBEXT" = "dylib"
16301 # Extract the first word of "ldd", so it can be a program name with args.
16302 set dummy ldd
; ac_word
=$2
16303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16305 if test "${ac_cv_path_LDD+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16310 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
16313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
16314 as_dummy
="/sbin:/usr/sbin:$PATH"
16315 for as_dir
in $as_dummy
16318 test -z "$as_dir" && as_dir
=.
16319 for ac_exec_ext
in '' $ac_executable_extensions; do
16320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
16321 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
16322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16329 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
16333 LDD
=$ac_cv_path_LDD
16334 if test -n "$LDD"; then
16335 { echo "$as_me:$LINENO: result: $LDD" >&5
16336 echo "${ECHO_T}$LDD" >&6; }
16338 { echo "$as_me:$LINENO: result: no" >&5
16339 echo "${ECHO_T}no" >&6; }
16343 { echo "$as_me:$LINENO: checking for -lX11 soname" >&5
16344 echo $ECHO_N "checking for -lX11 soname... $ECHO_C" >&6; }
16345 if test "${ac_cv_lib_soname_X11+set}" = set; then
16346 echo $ECHO_N "(cached) $ECHO_C" >&6
16348 ac_get_soname_save_LIBS
=$LIBS
16349 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
16350 cat >conftest.
$ac_ext <<_ACEOF
16353 cat confdefs.h
>>conftest.
$ac_ext
16354 cat >>conftest.
$ac_ext <<_ACEOF
16355 /* end confdefs.h. */
16357 /* Override any GCC internal prototype to avoid an error.
16358 Use char because int might match the return type of a GCC
16359 builtin and then its argument prototype would still apply. */
16363 char XCreateWindow ();
16367 return XCreateWindow ();
16372 rm -f conftest.
$ac_objext conftest
$ac_exeext
16373 if { (ac_try
="$ac_link"
16374 case "(($ac_try" in
16375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16376 *) ac_try_echo=$ac_try;;
16378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16379 (eval "$ac_link") 2>conftest.er1
16381 grep -v '^ *+' conftest.er1 >conftest.err
16383 cat conftest.err >&5
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); } &&
16386 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16387 { (case "(($ac_try" in
16388 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16389 *) ac_try_echo
=$ac_try;;
16391 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16392 (eval "$ac_try") 2>&5
16394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16395 (exit $ac_status); }; } &&
16396 { ac_try
='test -s conftest$ac_exeext'
16397 { (case "(($ac_try" in
16398 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16399 *) ac_try_echo=$ac_try;;
16401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16402 (eval "$ac_try") 2>&5
16404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16405 (exit $ac_status); }; }; then
16407 dylib) ac_cv_lib_soname_X11=`otool
-L conftest
$ac_exeext |
grep libX11
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16408 so) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libX11
\\.so |
sed -e "s/^.*\(libX11\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16410 if test "x$ac_cv_lib_soname_X11" = "x"
16412 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.$ac_ext >&5
16418 ac_cv_lib_soname_X11="libX11.$LIBEXT"
16421 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16422 conftest$ac_exeext conftest.$ac_ext
16423 LIBS=$ac_get_soname_save_LIBS
16425 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_X11" >&5
16426 echo "${ECHO_T}$ac_cv_lib_soname_X11" >&6; }
16427 if test "${ac_cv_lib_soname_X11+set}" = set; then
16429 cat >>confdefs.h <<_ACEOF
16430 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
16435 { echo "$as_me:$LINENO: checking for -lXext soname" >&5
16436 echo $ECHO_N "checking for -lXext soname... $ECHO_C" >&6; }
16437 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16438 echo $ECHO_N "(cached) $ECHO_C" >&6
16440 ac_get_soname_save_LIBS=$LIBS
16441 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
16442 cat >conftest.$ac_ext <<_ACEOF
16445 cat confdefs.h >>conftest.$ac_ext
16446 cat >>conftest.$ac_ext <<_ACEOF
16447 /* end confdefs.h. */
16449 /* Override any GCC internal prototype to avoid an error.
16450 Use char because int might match the return type of a GCC
16451 builtin and then its argument prototype would still apply. */
16455 char XextCreateExtension ();
16459 return XextCreateExtension ();
16464 rm -f conftest.$ac_objext conftest$ac_exeext
16465 if { (ac_try="$ac_link"
16466 case "(($ac_try" in
16467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16468 *) ac_try_echo
=$ac_try;;
16470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16471 (eval "$ac_link") 2>conftest.er1
16473 grep -v '^ *+' conftest.er1
>conftest.err
16475 cat conftest.err
>&5
16476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16477 (exit $ac_status); } &&
16478 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16479 { (case "(($ac_try" in
16480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16481 *) ac_try_echo=$ac_try;;
16483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16484 (eval "$ac_try") 2>&5
16486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16487 (exit $ac_status); }; } &&
16488 { ac_try='test -s conftest$ac_exeext'
16489 { (case "(($ac_try" in
16490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16491 *) ac_try_echo
=$ac_try;;
16493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16494 (eval "$ac_try") 2>&5
16496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16497 (exit $ac_status); }; }; then
16499 dylib
) ac_cv_lib_soname_Xext
=`otool -L conftest$ac_exeext | grep libXext\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16500 so
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXext\\.so | sed -e "s/^.*\(libXext\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16502 if test "x$ac_cv_lib_soname_Xext" = "x"
16504 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
16507 echo "$as_me: failed program was:" >&5
16508 sed 's/^/| /' conftest.
$ac_ext >&5
16510 ac_cv_lib_soname_Xext
="libXext.$LIBEXT"
16513 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16514 conftest
$ac_exeext conftest.
$ac_ext
16515 LIBS
=$ac_get_soname_save_LIBS
16517 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xext" >&5
16518 echo "${ECHO_T}$ac_cv_lib_soname_Xext" >&6; }
16519 if test "${ac_cv_lib_soname_Xext+set}" = set; then
16521 cat >>confdefs.h
<<_ACEOF
16522 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
16527 { echo "$as_me:$LINENO: checking for -lXi soname" >&5
16528 echo $ECHO_N "checking for -lXi soname... $ECHO_C" >&6; }
16529 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16532 ac_get_soname_save_LIBS
=$LIBS
16533 LIBS
="-lXi $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16534 cat >conftest.
$ac_ext <<_ACEOF
16537 cat confdefs.h
>>conftest.
$ac_ext
16538 cat >>conftest.
$ac_ext <<_ACEOF
16539 /* end confdefs.h. */
16541 /* Override any GCC internal prototype to avoid an error.
16542 Use char because int might match the return type of a GCC
16543 builtin and then its argument prototype would still apply. */
16547 char XOpenDevice ();
16551 return XOpenDevice ();
16556 rm -f conftest.
$ac_objext conftest
$ac_exeext
16557 if { (ac_try
="$ac_link"
16558 case "(($ac_try" in
16559 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16560 *) ac_try_echo=$ac_try;;
16562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16563 (eval "$ac_link") 2>conftest.er1
16565 grep -v '^ *+' conftest.er1 >conftest.err
16567 cat conftest.err >&5
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); } &&
16570 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16571 { (case "(($ac_try" in
16572 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16573 *) ac_try_echo
=$ac_try;;
16575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16576 (eval "$ac_try") 2>&5
16578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16579 (exit $ac_status); }; } &&
16580 { ac_try
='test -s conftest$ac_exeext'
16581 { (case "(($ac_try" in
16582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16583 *) ac_try_echo=$ac_try;;
16585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16586 (eval "$ac_try") 2>&5
16588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16589 (exit $ac_status); }; }; then
16591 dylib) ac_cv_lib_soname_Xi=`otool
-L conftest
$ac_exeext |
grep libXi
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16592 so) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXi
\\.so |
sed -e "s/^.*\(libXi\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16594 if test "x$ac_cv_lib_soname_Xi" = "x"
16596 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16599 echo "$as_me: failed program was:" >&5
16600 sed 's/^/| /' conftest.$ac_ext >&5
16602 ac_cv_lib_soname_Xi="libXi.$LIBEXT"
16605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16606 conftest$ac_exeext conftest.$ac_ext
16607 LIBS=$ac_get_soname_save_LIBS
16609 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xi" >&5
16610 echo "${ECHO_T}$ac_cv_lib_soname_Xi" >&6; }
16611 if test "${ac_cv_lib_soname_Xi+set}" = set; then
16613 cat >>confdefs.h <<_ACEOF
16614 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
16619 { echo "$as_me:$LINENO: checking for -lXinerama soname" >&5
16620 echo $ECHO_N "checking for -lXinerama soname... $ECHO_C" >&6; }
16621 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16622 echo $ECHO_N "(cached) $ECHO_C" >&6
16624 ac_get_soname_save_LIBS=$LIBS
16625 LIBS="-lXinerama $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16626 cat >conftest.$ac_ext <<_ACEOF
16629 cat confdefs.h >>conftest.$ac_ext
16630 cat >>conftest.$ac_ext <<_ACEOF
16631 /* end confdefs.h. */
16633 /* Override any GCC internal prototype to avoid an error.
16634 Use char because int might match the return type of a GCC
16635 builtin and then its argument prototype would still apply. */
16639 char XineramaQueryScreens ();
16643 return XineramaQueryScreens ();
16648 rm -f conftest.$ac_objext conftest$ac_exeext
16649 if { (ac_try="$ac_link"
16650 case "(($ac_try" in
16651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16652 *) ac_try_echo
=$ac_try;;
16654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16655 (eval "$ac_link") 2>conftest.er1
16657 grep -v '^ *+' conftest.er1
>conftest.err
16659 cat conftest.err
>&5
16660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16661 (exit $ac_status); } &&
16662 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16663 { (case "(($ac_try" in
16664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16665 *) ac_try_echo=$ac_try;;
16667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16668 (eval "$ac_try") 2>&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); }; } &&
16672 { ac_try='test -s conftest$ac_exeext'
16673 { (case "(($ac_try" in
16674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16675 *) ac_try_echo
=$ac_try;;
16677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16678 (eval "$ac_try") 2>&5
16680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16681 (exit $ac_status); }; }; then
16683 dylib
) ac_cv_lib_soname_Xinerama
=`otool -L conftest$ac_exeext | grep libXinerama\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16684 so
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXinerama\\.so | sed -e "s/^.*\(libXinerama\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16686 if test "x$ac_cv_lib_soname_Xinerama" = "x"
16688 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
16691 echo "$as_me: failed program was:" >&5
16692 sed 's/^/| /' conftest.
$ac_ext >&5
16694 ac_cv_lib_soname_Xinerama
="libXinerama.$LIBEXT"
16697 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16698 conftest
$ac_exeext conftest.
$ac_ext
16699 LIBS
=$ac_get_soname_save_LIBS
16701 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xinerama" >&5
16702 echo "${ECHO_T}$ac_cv_lib_soname_Xinerama" >&6; }
16703 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then
16705 cat >>confdefs.h
<<_ACEOF
16706 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
16711 { echo "$as_me:$LINENO: checking for -lXrender soname" >&5
16712 echo $ECHO_N "checking for -lXrender soname... $ECHO_C" >&6; }
16713 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16714 echo $ECHO_N "(cached) $ECHO_C" >&6
16716 ac_get_soname_save_LIBS
=$LIBS
16717 LIBS
="-lXrender $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16718 cat >conftest.
$ac_ext <<_ACEOF
16721 cat confdefs.h
>>conftest.
$ac_ext
16722 cat >>conftest.
$ac_ext <<_ACEOF
16723 /* end confdefs.h. */
16725 /* Override any GCC internal prototype to avoid an error.
16726 Use char because int might match the return type of a GCC
16727 builtin and then its argument prototype would still apply. */
16731 char XRenderQueryExtension ();
16735 return XRenderQueryExtension ();
16740 rm -f conftest.
$ac_objext conftest
$ac_exeext
16741 if { (ac_try
="$ac_link"
16742 case "(($ac_try" in
16743 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16744 *) ac_try_echo=$ac_try;;
16746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16747 (eval "$ac_link") 2>conftest.er1
16749 grep -v '^ *+' conftest.er1 >conftest.err
16751 cat conftest.err >&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } &&
16754 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16755 { (case "(($ac_try" in
16756 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16757 *) ac_try_echo
=$ac_try;;
16759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16760 (eval "$ac_try") 2>&5
16762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16763 (exit $ac_status); }; } &&
16764 { ac_try
='test -s conftest$ac_exeext'
16765 { (case "(($ac_try" in
16766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16767 *) ac_try_echo=$ac_try;;
16769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16770 (eval "$ac_try") 2>&5
16772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16773 (exit $ac_status); }; }; then
16775 dylib) ac_cv_lib_soname_Xrender=`otool
-L conftest
$ac_exeext |
grep libXrender
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16776 so) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libXrender
\\.so |
sed -e "s/^.*\(libXrender\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16778 if test "x$ac_cv_lib_soname_Xrender" = "x"
16780 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16786 ac_cv_lib_soname_Xrender="libXrender.$LIBEXT"
16789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16790 conftest$ac_exeext conftest.$ac_ext
16791 LIBS=$ac_get_soname_save_LIBS
16793 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrender" >&5
16794 echo "${ECHO_T}$ac_cv_lib_soname_Xrender" >&6; }
16795 if test "${ac_cv_lib_soname_Xrender+set}" = set; then
16797 cat >>confdefs.h <<_ACEOF
16798 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
16803 { echo "$as_me:$LINENO: checking for -lXrandr soname" >&5
16804 echo $ECHO_N "checking for -lXrandr soname... $ECHO_C" >&6; }
16805 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16806 echo $ECHO_N "(cached) $ECHO_C" >&6
16808 ac_get_soname_save_LIBS=$LIBS
16809 LIBS="-lXrandr $X_LIBS -lXext -lX11 $X_EXTRA_LIBS $LIBS"
16810 cat >conftest.$ac_ext <<_ACEOF
16813 cat confdefs.h >>conftest.$ac_ext
16814 cat >>conftest.$ac_ext <<_ACEOF
16815 /* end confdefs.h. */
16817 /* Override any GCC internal prototype to avoid an error.
16818 Use char because int might match the return type of a GCC
16819 builtin and then its argument prototype would still apply. */
16823 char XRRQueryExtension ();
16827 return XRRQueryExtension ();
16832 rm -f conftest.$ac_objext conftest$ac_exeext
16833 if { (ac_try="$ac_link"
16834 case "(($ac_try" in
16835 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16836 *) ac_try_echo
=$ac_try;;
16838 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16839 (eval "$ac_link") 2>conftest.er1
16841 grep -v '^ *+' conftest.er1
>conftest.err
16843 cat conftest.err
>&5
16844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16845 (exit $ac_status); } &&
16846 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16847 { (case "(($ac_try" in
16848 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16849 *) ac_try_echo=$ac_try;;
16851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16852 (eval "$ac_try") 2>&5
16854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16855 (exit $ac_status); }; } &&
16856 { ac_try='test -s conftest$ac_exeext'
16857 { (case "(($ac_try" in
16858 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16859 *) ac_try_echo
=$ac_try;;
16861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16862 (eval "$ac_try") 2>&5
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; }; then
16867 dylib
) ac_cv_lib_soname_Xrandr
=`otool -L conftest$ac_exeext | grep libXrandr\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16868 so
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep libXrandr\\.so | sed -e "s/^.*\(libXrandr\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16870 if test "x$ac_cv_lib_soname_Xrandr" = "x"
16872 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.
$ac_ext >&5
16878 ac_cv_lib_soname_Xrandr
="libXrandr.$LIBEXT"
16881 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
16882 conftest
$ac_exeext conftest.
$ac_ext
16883 LIBS
=$ac_get_soname_save_LIBS
16885 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_Xrandr" >&5
16886 echo "${ECHO_T}$ac_cv_lib_soname_Xrandr" >&6; }
16887 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then
16889 cat >>confdefs.h
<<_ACEOF
16890 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
16895 { echo "$as_me:$LINENO: checking for -lfreetype soname" >&5
16896 echo $ECHO_N "checking for -lfreetype soname... $ECHO_C" >&6; }
16897 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16898 echo $ECHO_N "(cached) $ECHO_C" >&6
16900 ac_get_soname_save_LIBS
=$LIBS
16901 LIBS
="-lfreetype $X_LIBS $LIBS"
16902 cat >conftest.
$ac_ext <<_ACEOF
16905 cat confdefs.h
>>conftest.
$ac_ext
16906 cat >>conftest.
$ac_ext <<_ACEOF
16907 /* end confdefs.h. */
16909 /* Override any GCC internal prototype to avoid an error.
16910 Use char because int might match the return type of a GCC
16911 builtin and then its argument prototype would still apply. */
16915 char FT_Init_FreeType ();
16919 return FT_Init_FreeType ();
16924 rm -f conftest.
$ac_objext conftest
$ac_exeext
16925 if { (ac_try
="$ac_link"
16926 case "(($ac_try" in
16927 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16928 *) ac_try_echo=$ac_try;;
16930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16931 (eval "$ac_link") 2>conftest.er1
16933 grep -v '^ *+' conftest.er1 >conftest.err
16935 cat conftest.err >&5
16936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16937 (exit $ac_status); } &&
16938 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16939 { (case "(($ac_try" in
16940 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
16941 *) ac_try_echo
=$ac_try;;
16943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16944 (eval "$ac_try") 2>&5
16946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16947 (exit $ac_status); }; } &&
16948 { ac_try
='test -s conftest$ac_exeext'
16949 { (case "(($ac_try" in
16950 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
16951 *) ac_try_echo=$ac_try;;
16953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16954 (eval "$ac_try") 2>&5
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16959 dylib) ac_cv_lib_soname_freetype=`otool
-L conftest
$ac_exeext |
grep libfreetype
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16960 so) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfreetype
\\.so |
sed -e "s/^.*\(libfreetype\.so[^ ]*\).*$/\1/"';2,$d'` ;;
16962 if test "x$ac_cv_lib_soname_freetype" = "x"
16964 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16967 echo "$as_me: failed program was:" >&5
16968 sed 's/^/| /' conftest.$ac_ext >&5
16970 ac_cv_lib_soname_freetype="libfreetype.$LIBEXT"
16973 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
16974 conftest$ac_exeext conftest.$ac_ext
16975 LIBS=$ac_get_soname_save_LIBS
16977 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_freetype" >&5
16978 echo "${ECHO_T}$ac_cv_lib_soname_freetype" >&6; }
16979 if test "${ac_cv_lib_soname_freetype+set}" = set; then
16981 cat >>confdefs.h <<_ACEOF
16982 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
16987 { echo "$as_me:$LINENO: checking for -lGL soname" >&5
16988 echo $ECHO_N "checking for -lGL soname... $ECHO_C" >&6; }
16989 if test "${ac_cv_lib_soname_GL+set}" = set; then
16990 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 ac_get_soname_save_LIBS=$LIBS
16993 LIBS="-lGL $X_LIBS $X_EXTRA_LIBS $LIBS"
16994 cat >conftest.$ac_ext <<_ACEOF
16997 cat confdefs.h >>conftest.$ac_ext
16998 cat >>conftest.$ac_ext <<_ACEOF
16999 /* end confdefs.h. */
17001 /* Override any GCC internal prototype to avoid an error.
17002 Use char because int might match the return type of a GCC
17003 builtin and then its argument prototype would still apply. */
17007 char glXQueryExtension ();
17011 return glXQueryExtension ();
17016 rm -f conftest.$ac_objext conftest$ac_exeext
17017 if { (ac_try="$ac_link"
17018 case "(($ac_try" in
17019 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17020 *) ac_try_echo
=$ac_try;;
17022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17023 (eval "$ac_link") 2>conftest.er1
17025 grep -v '^ *+' conftest.er1
>conftest.err
17027 cat conftest.err
>&5
17028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17029 (exit $ac_status); } &&
17030 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17031 { (case "(($ac_try" in
17032 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17033 *) ac_try_echo=$ac_try;;
17035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17036 (eval "$ac_try") 2>&5
17038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17039 (exit $ac_status); }; } &&
17040 { ac_try='test -s conftest$ac_exeext'
17041 { (case "(($ac_try" in
17042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17043 *) ac_try_echo
=$ac_try;;
17045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17046 (eval "$ac_try") 2>&5
17048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17049 (exit $ac_status); }; }; then
17051 dylib
) ac_cv_lib_soname_GL
=`otool -L conftest$ac_exeext | grep libGL\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17052 so
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep libGL\\.so | sed -e "s/^.*\(libGL\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17054 if test "x$ac_cv_lib_soname_GL" = "x"
17056 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
17059 echo "$as_me: failed program was:" >&5
17060 sed 's/^/| /' conftest.
$ac_ext >&5
17062 ac_cv_lib_soname_GL
="libGL.$LIBEXT"
17065 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17066 conftest
$ac_exeext conftest.
$ac_ext
17067 LIBS
=$ac_get_soname_save_LIBS
17069 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_GL" >&5
17070 echo "${ECHO_T}$ac_cv_lib_soname_GL" >&6; }
17071 if test "${ac_cv_lib_soname_GL+set}" = set; then
17073 cat >>confdefs.h
<<_ACEOF
17074 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
17079 { echo "$as_me:$LINENO: checking for -lhal soname" >&5
17080 echo $ECHO_N "checking for -lhal soname... $ECHO_C" >&6; }
17081 if test "${ac_cv_lib_soname_hal+set}" = set; then
17082 echo $ECHO_N "(cached) $ECHO_C" >&6
17084 ac_get_soname_save_LIBS
=$LIBS
17086 cat >conftest.
$ac_ext <<_ACEOF
17089 cat confdefs.h
>>conftest.
$ac_ext
17090 cat >>conftest.
$ac_ext <<_ACEOF
17091 /* end confdefs.h. */
17093 /* Override any GCC internal prototype to avoid an error.
17094 Use char because int might match the return type of a GCC
17095 builtin and then its argument prototype would still apply. */
17099 char libhal_ctx_new ();
17103 return libhal_ctx_new ();
17108 rm -f conftest.
$ac_objext conftest
$ac_exeext
17109 if { (ac_try
="$ac_link"
17110 case "(($ac_try" in
17111 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17112 *) ac_try_echo=$ac_try;;
17114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17115 (eval "$ac_link") 2>conftest.er1
17117 grep -v '^ *+' conftest.er1 >conftest.err
17119 cat conftest.err >&5
17120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17121 (exit $ac_status); } &&
17122 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17123 { (case "(($ac_try" in
17124 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17125 *) ac_try_echo
=$ac_try;;
17127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17128 (eval "$ac_try") 2>&5
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; } &&
17132 { ac_try
='test -s conftest$ac_exeext'
17133 { (case "(($ac_try" in
17134 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17135 *) ac_try_echo=$ac_try;;
17137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17138 (eval "$ac_try") 2>&5
17140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17141 (exit $ac_status); }; }; then
17143 dylib) ac_cv_lib_soname_hal=`otool
-L conftest
$ac_exeext |
grep libhal
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17144 so) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libhal
\\.so |
sed -e "s/^.*\(libhal\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17146 if test "x$ac_cv_lib_soname_hal" = "x"
17148 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17151 echo "$as_me: failed program was:" >&5
17152 sed 's/^/| /' conftest.$ac_ext >&5
17154 ac_cv_lib_soname_hal="libhal.$LIBEXT"
17157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17158 conftest$ac_exeext conftest.$ac_ext
17159 LIBS=$ac_get_soname_save_LIBS
17161 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_hal" >&5
17162 echo "${ECHO_T}$ac_cv_lib_soname_hal" >&6; }
17163 if test "${ac_cv_lib_soname_hal+set}" = set; then
17165 cat >>confdefs.h <<_ACEOF
17166 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
17171 { echo "$as_me:$LINENO: checking for -ltxc_dxtn soname" >&5
17172 echo $ECHO_N "checking for -ltxc_dxtn soname... $ECHO_C" >&6; }
17173 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17176 ac_get_soname_save_LIBS=$LIBS
17177 LIBS="-ltxc_dxtn $LIBS"
17178 cat >conftest.$ac_ext <<_ACEOF
17181 cat confdefs.h >>conftest.$ac_ext
17182 cat >>conftest.$ac_ext <<_ACEOF
17183 /* end confdefs.h. */
17185 /* Override any GCC internal prototype to avoid an error.
17186 Use char because int might match the return type of a GCC
17187 builtin and then its argument prototype would still apply. */
17191 char fetch_2d_texel_rgba_dxt1 ();
17195 return fetch_2d_texel_rgba_dxt1 ();
17200 rm -f conftest.$ac_objext conftest$ac_exeext
17201 if { (ac_try="$ac_link"
17202 case "(($ac_try" in
17203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17204 *) ac_try_echo
=$ac_try;;
17206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17207 (eval "$ac_link") 2>conftest.er1
17209 grep -v '^ *+' conftest.er1
>conftest.err
17211 cat conftest.err
>&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 (exit $ac_status); } &&
17214 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17215 { (case "(($ac_try" in
17216 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17217 *) ac_try_echo=$ac_try;;
17219 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17220 (eval "$ac_try") 2>&5
17222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17223 (exit $ac_status); }; } &&
17224 { ac_try='test -s conftest$ac_exeext'
17225 { (case "(($ac_try" in
17226 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17227 *) ac_try_echo
=$ac_try;;
17229 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17230 (eval "$ac_try") 2>&5
17232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17233 (exit $ac_status); }; }; then
17235 dylib
) ac_cv_lib_soname_txc_dxtn
=`otool -L conftest$ac_exeext | grep libtxc_dxtn\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libtxc_dxtn\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17236 so
) ac_cv_lib_soname_txc_dxtn
=`$ac_cv_path_LDD conftest$ac_exeext | grep libtxc_dxtn\\.so | sed -e "s/^.*\(libtxc_dxtn\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17238 if test "x$ac_cv_lib_soname_txc_dxtn" = "x"
17240 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.
$ac_ext >&5
17246 ac_cv_lib_soname_txc_dxtn
="libtxc_dxtn.$LIBEXT"
17249 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17250 conftest
$ac_exeext conftest.
$ac_ext
17251 LIBS
=$ac_get_soname_save_LIBS
17253 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_txc_dxtn" >&5
17254 echo "${ECHO_T}$ac_cv_lib_soname_txc_dxtn" >&6; }
17255 if test "${ac_cv_lib_soname_txc_dxtn+set}" = set; then
17257 cat >>confdefs.h
<<_ACEOF
17258 #define SONAME_LIBTXC_DXTN "$ac_cv_lib_soname_txc_dxtn"
17263 { echo "$as_me:$LINENO: checking for -lcups soname" >&5
17264 echo $ECHO_N "checking for -lcups soname... $ECHO_C" >&6; }
17265 if test "${ac_cv_lib_soname_cups+set}" = set; then
17266 echo $ECHO_N "(cached) $ECHO_C" >&6
17268 ac_get_soname_save_LIBS
=$LIBS
17269 LIBS
="-lcups $LIBS"
17270 cat >conftest.
$ac_ext <<_ACEOF
17273 cat confdefs.h
>>conftest.
$ac_ext
17274 cat >>conftest.
$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17277 /* Override any GCC internal prototype to avoid an error.
17278 Use char because int might match the return type of a GCC
17279 builtin and then its argument prototype would still apply. */
17283 char cupsGetDefault ();
17287 return cupsGetDefault ();
17292 rm -f conftest.
$ac_objext conftest
$ac_exeext
17293 if { (ac_try
="$ac_link"
17294 case "(($ac_try" in
17295 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17296 *) ac_try_echo=$ac_try;;
17298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17299 (eval "$ac_link") 2>conftest.er1
17301 grep -v '^ *+' conftest.er1 >conftest.err
17303 cat conftest.err >&5
17304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17305 (exit $ac_status); } &&
17306 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17307 { (case "(($ac_try" in
17308 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17309 *) ac_try_echo
=$ac_try;;
17311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17312 (eval "$ac_try") 2>&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; } &&
17316 { ac_try
='test -s conftest$ac_exeext'
17317 { (case "(($ac_try" in
17318 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17319 *) ac_try_echo=$ac_try;;
17321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17322 (eval "$ac_try") 2>&5
17324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17325 (exit $ac_status); }; }; then
17327 dylib) ac_cv_lib_soname_cups=`otool
-L conftest
$ac_exeext |
grep libcups
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17328 so) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcups
\\.so |
sed -e "s/^.*\(libcups\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17330 if test "x$ac_cv_lib_soname_cups" = "x"
17332 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17338 ac_cv_lib_soname_cups="libcups.$LIBEXT"
17341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17342 conftest$ac_exeext conftest.$ac_ext
17343 LIBS=$ac_get_soname_save_LIBS
17345 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_cups" >&5
17346 echo "${ECHO_T}$ac_cv_lib_soname_cups" >&6; }
17347 if test "${ac_cv_lib_soname_cups+set}" = set; then
17349 cat >>confdefs.h <<_ACEOF
17350 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
17355 { echo "$as_me:$LINENO: checking for -ljack soname" >&5
17356 echo $ECHO_N "checking for -ljack soname... $ECHO_C" >&6; }
17357 if test "${ac_cv_lib_soname_jack+set}" = set; then
17358 echo $ECHO_N "(cached) $ECHO_C" >&6
17360 ac_get_soname_save_LIBS=$LIBS
17361 LIBS="-ljack $LIBS"
17362 cat >conftest.$ac_ext <<_ACEOF
17365 cat confdefs.h >>conftest.$ac_ext
17366 cat >>conftest.$ac_ext <<_ACEOF
17367 /* end confdefs.h. */
17369 /* Override any GCC internal prototype to avoid an error.
17370 Use char because int might match the return type of a GCC
17371 builtin and then its argument prototype would still apply. */
17375 char jack_client_new ();
17379 return jack_client_new ();
17384 rm -f conftest.$ac_objext conftest$ac_exeext
17385 if { (ac_try="$ac_link"
17386 case "(($ac_try" in
17387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17388 *) ac_try_echo
=$ac_try;;
17390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17391 (eval "$ac_link") 2>conftest.er1
17393 grep -v '^ *+' conftest.er1
>conftest.err
17395 cat conftest.err
>&5
17396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17397 (exit $ac_status); } &&
17398 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17399 { (case "(($ac_try" in
17400 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17401 *) ac_try_echo=$ac_try;;
17403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17404 (eval "$ac_try") 2>&5
17406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17407 (exit $ac_status); }; } &&
17408 { ac_try='test -s conftest$ac_exeext'
17409 { (case "(($ac_try" in
17410 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17411 *) ac_try_echo
=$ac_try;;
17413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17414 (eval "$ac_try") 2>&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); }; }; then
17419 dylib
) ac_cv_lib_soname_jack
=`otool -L conftest$ac_exeext | grep libjack\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjack\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17420 so
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjack\\.so | sed -e "s/^.*\(libjack\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17422 if test "x$ac_cv_lib_soname_jack" = "x"
17424 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
17427 echo "$as_me: failed program was:" >&5
17428 sed 's/^/| /' conftest.
$ac_ext >&5
17430 ac_cv_lib_soname_jack
="libjack.$LIBEXT"
17433 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17434 conftest
$ac_exeext conftest.
$ac_ext
17435 LIBS
=$ac_get_soname_save_LIBS
17437 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jack" >&5
17438 echo "${ECHO_T}$ac_cv_lib_soname_jack" >&6; }
17439 if test "${ac_cv_lib_soname_jack+set}" = set; then
17441 cat >>confdefs.h
<<_ACEOF
17442 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
17447 { echo "$as_me:$LINENO: checking for -lfontconfig soname" >&5
17448 echo $ECHO_N "checking for -lfontconfig soname... $ECHO_C" >&6; }
17449 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17450 echo $ECHO_N "(cached) $ECHO_C" >&6
17452 ac_get_soname_save_LIBS
=$LIBS
17453 LIBS
="-lfontconfig $LIBS"
17454 cat >conftest.
$ac_ext <<_ACEOF
17457 cat confdefs.h
>>conftest.
$ac_ext
17458 cat >>conftest.
$ac_ext <<_ACEOF
17459 /* end confdefs.h. */
17461 /* Override any GCC internal prototype to avoid an error.
17462 Use char because int might match the return type of a GCC
17463 builtin and then its argument prototype would still apply. */
17476 rm -f conftest.
$ac_objext conftest
$ac_exeext
17477 if { (ac_try
="$ac_link"
17478 case "(($ac_try" in
17479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17480 *) ac_try_echo=$ac_try;;
17482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17483 (eval "$ac_link") 2>conftest.er1
17485 grep -v '^ *+' conftest.er1 >conftest.err
17487 cat conftest.err >&5
17488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17489 (exit $ac_status); } &&
17490 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17491 { (case "(($ac_try" in
17492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17493 *) ac_try_echo
=$ac_try;;
17495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17496 (eval "$ac_try") 2>&5
17498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17499 (exit $ac_status); }; } &&
17500 { ac_try
='test -s conftest$ac_exeext'
17501 { (case "(($ac_try" in
17502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17503 *) ac_try_echo=$ac_try;;
17505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17506 (eval "$ac_try") 2>&5
17508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17509 (exit $ac_status); }; }; then
17511 dylib) ac_cv_lib_soname_fontconfig=`otool
-L conftest
$ac_exeext |
grep libfontconfig
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17512 so) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libfontconfig
\\.so |
sed -e "s/^.*\(libfontconfig\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17514 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17516 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17519 echo "$as_me: failed program was:" >&5
17520 sed 's/^/| /' conftest.$ac_ext >&5
17522 ac_cv_lib_soname_fontconfig="libfontconfig.$LIBEXT"
17525 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17526 conftest$ac_exeext conftest.$ac_ext
17527 LIBS=$ac_get_soname_save_LIBS
17529 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_fontconfig" >&5
17530 echo "${ECHO_T}$ac_cv_lib_soname_fontconfig" >&6; }
17531 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then
17533 cat >>confdefs.h <<_ACEOF
17534 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
17539 { echo "$as_me:$LINENO: checking for -lssl soname" >&5
17540 echo $ECHO_N "checking for -lssl soname... $ECHO_C" >&6; }
17541 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17542 echo $ECHO_N "(cached) $ECHO_C" >&6
17544 ac_get_soname_save_LIBS=$LIBS
17546 cat >conftest.$ac_ext <<_ACEOF
17549 cat confdefs.h >>conftest.$ac_ext
17550 cat >>conftest.$ac_ext <<_ACEOF
17551 /* end confdefs.h. */
17553 /* Override any GCC internal prototype to avoid an error.
17554 Use char because int might match the return type of a GCC
17555 builtin and then its argument prototype would still apply. */
17559 char SSL_library_init ();
17563 return SSL_library_init ();
17568 rm -f conftest.$ac_objext conftest$ac_exeext
17569 if { (ac_try="$ac_link"
17570 case "(($ac_try" in
17571 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17572 *) ac_try_echo
=$ac_try;;
17574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17575 (eval "$ac_link") 2>conftest.er1
17577 grep -v '^ *+' conftest.er1
>conftest.err
17579 cat conftest.err
>&5
17580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17581 (exit $ac_status); } &&
17582 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17583 { (case "(($ac_try" in
17584 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17585 *) ac_try_echo=$ac_try;;
17587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17588 (eval "$ac_try") 2>&5
17590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17591 (exit $ac_status); }; } &&
17592 { ac_try='test -s conftest$ac_exeext'
17593 { (case "(($ac_try" in
17594 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17595 *) ac_try_echo
=$ac_try;;
17597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17598 (eval "$ac_try") 2>&5
17600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17601 (exit $ac_status); }; }; then
17603 dylib
) ac_cv_lib_soname_ssl
=`otool -L conftest$ac_exeext | grep libssl\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17604 so
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep libssl\\.so | sed -e "s/^.*\(libssl\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17606 if test "x$ac_cv_lib_soname_ssl" = "x"
17608 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
17611 echo "$as_me: failed program was:" >&5
17612 sed 's/^/| /' conftest.
$ac_ext >&5
17614 ac_cv_lib_soname_ssl
="libssl.$LIBEXT"
17617 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17618 conftest
$ac_exeext conftest.
$ac_ext
17619 LIBS
=$ac_get_soname_save_LIBS
17621 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ssl" >&5
17622 echo "${ECHO_T}$ac_cv_lib_soname_ssl" >&6; }
17623 if test "${ac_cv_lib_soname_ssl+set}" = set; then
17625 cat >>confdefs.h
<<_ACEOF
17626 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
17631 { echo "$as_me:$LINENO: checking for -lcrypto soname" >&5
17632 echo $ECHO_N "checking for -lcrypto soname... $ECHO_C" >&6; }
17633 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17634 echo $ECHO_N "(cached) $ECHO_C" >&6
17636 ac_get_soname_save_LIBS
=$LIBS
17637 LIBS
="-lcrypto $LIBS"
17638 cat >conftest.
$ac_ext <<_ACEOF
17641 cat confdefs.h
>>conftest.
$ac_ext
17642 cat >>conftest.
$ac_ext <<_ACEOF
17643 /* end confdefs.h. */
17645 /* Override any GCC internal prototype to avoid an error.
17646 Use char because int might match the return type of a GCC
17647 builtin and then its argument prototype would still apply. */
17651 char BIO_new_socket ();
17655 return BIO_new_socket ();
17660 rm -f conftest.
$ac_objext conftest
$ac_exeext
17661 if { (ac_try
="$ac_link"
17662 case "(($ac_try" in
17663 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17664 *) ac_try_echo=$ac_try;;
17666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17667 (eval "$ac_link") 2>conftest.er1
17669 grep -v '^ *+' conftest.er1 >conftest.err
17671 cat conftest.err >&5
17672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17673 (exit $ac_status); } &&
17674 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17675 { (case "(($ac_try" in
17676 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17677 *) ac_try_echo
=$ac_try;;
17679 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17680 (eval "$ac_try") 2>&5
17682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17683 (exit $ac_status); }; } &&
17684 { ac_try
='test -s conftest$ac_exeext'
17685 { (case "(($ac_try" in
17686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17687 *) ac_try_echo=$ac_try;;
17689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17690 (eval "$ac_try") 2>&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); }; }; then
17695 dylib) ac_cv_lib_soname_crypto=`otool
-L conftest
$ac_exeext |
grep libcrypto
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17696 so) ac_cv_lib_soname_crypto=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcrypto
\\.so |
sed -e "s/^.*\(libcrypto\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17698 if test "x$ac_cv_lib_soname_crypto" = "x"
17700 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17703 echo "$as_me: failed program was:" >&5
17704 sed 's/^/| /' conftest.$ac_ext >&5
17706 ac_cv_lib_soname_crypto="libcrypto.$LIBEXT"
17709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17710 conftest$ac_exeext conftest.$ac_ext
17711 LIBS=$ac_get_soname_save_LIBS
17713 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_crypto" >&5
17714 echo "${ECHO_T}$ac_cv_lib_soname_crypto" >&6; }
17715 if test "${ac_cv_lib_soname_crypto+set}" = set; then
17717 cat >>confdefs.h <<_ACEOF
17718 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
17723 { echo "$as_me:$LINENO: checking for -lncurses soname" >&5
17724 echo $ECHO_N "checking for -lncurses soname... $ECHO_C" >&6; }
17725 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17726 echo $ECHO_N "(cached) $ECHO_C" >&6
17728 ac_get_soname_save_LIBS=$LIBS
17729 LIBS="-lncurses $LIBS"
17730 cat >conftest.$ac_ext <<_ACEOF
17733 cat confdefs.h >>conftest.$ac_ext
17734 cat >>conftest.$ac_ext <<_ACEOF
17735 /* end confdefs.h. */
17737 /* Override any GCC internal prototype to avoid an error.
17738 Use char because int might match the return type of a GCC
17739 builtin and then its argument prototype would still apply. */
17752 rm -f conftest.$ac_objext conftest$ac_exeext
17753 if { (ac_try="$ac_link"
17754 case "(($ac_try" in
17755 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17756 *) ac_try_echo
=$ac_try;;
17758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17759 (eval "$ac_link") 2>conftest.er1
17761 grep -v '^ *+' conftest.er1
>conftest.err
17763 cat conftest.err
>&5
17764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17765 (exit $ac_status); } &&
17766 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17767 { (case "(($ac_try" in
17768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17769 *) ac_try_echo=$ac_try;;
17771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17772 (eval "$ac_try") 2>&5
17774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17775 (exit $ac_status); }; } &&
17776 { ac_try='test -s conftest$ac_exeext'
17777 { (case "(($ac_try" in
17778 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17779 *) ac_try_echo
=$ac_try;;
17781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17782 (eval "$ac_try") 2>&5
17784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17785 (exit $ac_status); }; }; then
17787 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep libncurses\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17788 so
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep libncurses\\.so | sed -e "s/^.*\(libncurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17790 if test "x$ac_cv_lib_soname_ncurses" = "x"
17792 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
17795 echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.
$ac_ext >&5
17798 ac_cv_lib_soname_ncurses
="libncurses.$LIBEXT"
17801 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17802 conftest
$ac_exeext conftest.
$ac_ext
17803 LIBS
=$ac_get_soname_save_LIBS
17805 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_ncurses" >&5
17806 echo "${ECHO_T}$ac_cv_lib_soname_ncurses" >&6; }
17807 if test "${ac_cv_lib_soname_ncurses+set}" = set; then
17809 cat >>confdefs.h
<<_ACEOF
17810 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
17815 { echo "$as_me:$LINENO: checking for -lcurses soname" >&5
17816 echo $ECHO_N "checking for -lcurses soname... $ECHO_C" >&6; }
17817 if test "${ac_cv_lib_soname_curses+set}" = set; then
17818 echo $ECHO_N "(cached) $ECHO_C" >&6
17820 ac_get_soname_save_LIBS
=$LIBS
17821 LIBS
="-lcurses $LIBS"
17822 cat >conftest.
$ac_ext <<_ACEOF
17825 cat confdefs.h
>>conftest.
$ac_ext
17826 cat >>conftest.
$ac_ext <<_ACEOF
17827 /* end confdefs.h. */
17829 /* Override any GCC internal prototype to avoid an error.
17830 Use char because int might match the return type of a GCC
17831 builtin and then its argument prototype would still apply. */
17844 rm -f conftest.
$ac_objext conftest
$ac_exeext
17845 if { (ac_try
="$ac_link"
17846 case "(($ac_try" in
17847 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17848 *) ac_try_echo=$ac_try;;
17850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17851 (eval "$ac_link") 2>conftest.er1
17853 grep -v '^ *+' conftest.er1 >conftest.err
17855 cat conftest.err >&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17859 { (case "(($ac_try" in
17860 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17861 *) ac_try_echo
=$ac_try;;
17863 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17864 (eval "$ac_try") 2>&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); }; } &&
17868 { ac_try
='test -s conftest$ac_exeext'
17869 { (case "(($ac_try" in
17870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17871 *) ac_try_echo=$ac_try;;
17873 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17874 (eval "$ac_try") 2>&5
17876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17877 (exit $ac_status); }; }; then
17879 dylib) ac_cv_lib_soname_curses=`otool
-L conftest
$ac_exeext |
grep libcurses
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17880 so) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcurses
\\.so |
sed -e "s/^.*\(libcurses\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17882 if test "x$ac_cv_lib_soname_curses" = "x"
17884 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17887 echo "$as_me: failed program was:" >&5
17888 sed 's/^/| /' conftest.$ac_ext >&5
17890 ac_cv_lib_soname_curses="libcurses.$LIBEXT"
17893 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17894 conftest$ac_exeext conftest.$ac_ext
17895 LIBS=$ac_get_soname_save_LIBS
17897 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_curses" >&5
17898 echo "${ECHO_T}$ac_cv_lib_soname_curses" >&6; }
17899 if test "${ac_cv_lib_soname_curses+set}" = set; then
17901 cat >>confdefs.h <<_ACEOF
17902 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
17907 { echo "$as_me:$LINENO: checking for -ljpeg soname" >&5
17908 echo $ECHO_N "checking for -ljpeg soname... $ECHO_C" >&6; }
17909 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17910 echo $ECHO_N "(cached) $ECHO_C" >&6
17912 ac_get_soname_save_LIBS=$LIBS
17913 LIBS="-ljpeg $LIBS"
17914 cat >conftest.$ac_ext <<_ACEOF
17917 cat confdefs.h >>conftest.$ac_ext
17918 cat >>conftest.$ac_ext <<_ACEOF
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17927 char jpeg_start_decompress ();
17931 return jpeg_start_decompress ();
17936 rm -f conftest.$ac_objext conftest$ac_exeext
17937 if { (ac_try="$ac_link"
17938 case "(($ac_try" in
17939 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17940 *) ac_try_echo
=$ac_try;;
17942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17943 (eval "$ac_link") 2>conftest.er1
17945 grep -v '^ *+' conftest.er1
>conftest.err
17947 cat conftest.err
>&5
17948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17949 (exit $ac_status); } &&
17950 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17951 { (case "(($ac_try" in
17952 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
17953 *) ac_try_echo=$ac_try;;
17955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17956 (eval "$ac_try") 2>&5
17958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17959 (exit $ac_status); }; } &&
17960 { ac_try='test -s conftest$ac_exeext'
17961 { (case "(($ac_try" in
17962 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
17963 *) ac_try_echo
=$ac_try;;
17965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17966 (eval "$ac_try") 2>&5
17968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17969 (exit $ac_status); }; }; then
17971 dylib
) ac_cv_lib_soname_jpeg
=`otool -L conftest$ac_exeext | grep libjpeg\\.[0-9A-Za-z.]*dylib | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
17972 so
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep libjpeg\\.so | sed -e "s/^.*\(libjpeg\.so[^ ]*\).*$/\1/"';2,$d'` ;;
17974 if test "x$ac_cv_lib_soname_jpeg" = "x"
17976 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.
$ac_ext >&5
17982 ac_cv_lib_soname_jpeg
="libjpeg.$LIBEXT"
17985 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
17986 conftest
$ac_exeext conftest.
$ac_ext
17987 LIBS
=$ac_get_soname_save_LIBS
17989 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_jpeg" >&5
17990 echo "${ECHO_T}$ac_cv_lib_soname_jpeg" >&6; }
17991 if test "${ac_cv_lib_soname_jpeg+set}" = set; then
17993 cat >>confdefs.h
<<_ACEOF
17994 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
17999 { echo "$as_me:$LINENO: checking for -lcapi20 soname" >&5
18000 echo $ECHO_N "checking for -lcapi20 soname... $ECHO_C" >&6; }
18001 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18002 echo $ECHO_N "(cached) $ECHO_C" >&6
18004 ac_get_soname_save_LIBS
=$LIBS
18005 LIBS
="-lcapi20 $LIBS"
18006 cat >conftest.
$ac_ext <<_ACEOF
18009 cat confdefs.h
>>conftest.
$ac_ext
18010 cat >>conftest.
$ac_ext <<_ACEOF
18011 /* end confdefs.h. */
18013 /* Override any GCC internal prototype to avoid an error.
18014 Use char because int might match the return type of a GCC
18015 builtin and then its argument prototype would still apply. */
18019 char capi20_isinstalled ();
18023 return capi20_isinstalled ();
18028 rm -f conftest.
$ac_objext conftest
$ac_exeext
18029 if { (ac_try
="$ac_link"
18030 case "(($ac_try" in
18031 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18032 *) ac_try_echo=$ac_try;;
18034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18035 (eval "$ac_link") 2>conftest.er1
18037 grep -v '^ *+' conftest.er1 >conftest.err
18039 cat conftest.err >&5
18040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18041 (exit $ac_status); } &&
18042 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18043 { (case "(($ac_try" in
18044 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18045 *) ac_try_echo
=$ac_try;;
18047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18048 (eval "$ac_try") 2>&5
18050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18051 (exit $ac_status); }; } &&
18052 { ac_try
='test -s conftest$ac_exeext'
18053 { (case "(($ac_try" in
18054 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18055 *) ac_try_echo=$ac_try;;
18057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18058 (eval "$ac_try") 2>&5
18060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18061 (exit $ac_status); }; }; then
18063 dylib) ac_cv_lib_soname_capi20=`otool
-L conftest
$ac_exeext |
grep libcapi20
\\.
[0-9A-Za-z.
]*dylib |
sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18064 so) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest
$ac_exeext |
grep libcapi20
\\.so |
sed -e "s/^.*\(libcapi20\.so[^ ]*\).*$/\1/"';2,$d'` ;;
18066 if test "x$ac_cv_lib_soname_capi20" = "x"
18068 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18071 echo "$as_me: failed program was:" >&5
18072 sed 's/^/| /' conftest.$ac_ext >&5
18074 ac_cv_lib_soname_capi20="libcapi20.$LIBEXT"
18077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18078 conftest$ac_exeext conftest.$ac_ext
18079 LIBS=$ac_get_soname_save_LIBS
18081 { echo "$as_me:$LINENO: result: $ac_cv_lib_soname_capi20" >&5
18082 echo "${ECHO_T}$ac_cv_lib_soname_capi20" >&6; }
18083 if test "${ac_cv_lib_soname_capi20+set}" = set; then
18085 cat >>confdefs.h <<_ACEOF
18086 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
18238 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18239 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18241 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18242 echo $ECHO_N "(cached) $ECHO_C" >&6
18244 cat >conftest.$ac_ext <<_ACEOF
18247 cat confdefs.h >>conftest.$ac_ext
18248 cat >>conftest.$ac_ext <<_ACEOF
18249 /* end confdefs.h. */
18250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18252 #define $ac_func innocuous_$ac_func
18254 /* System header to define __stub macros and hopefully few prototypes,
18255 which can conflict with char $ac_func (); below.
18256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18257 <limits.h> exists even on freestanding compilers. */
18260 # include <limits.h>
18262 # include <assert.h>
18267 /* Override any GCC internal prototype to avoid an error.
18268 Use char because int might match the return type of a GCC
18269 builtin and then its argument prototype would still apply. */
18274 /* The GNU C library defines this for functions which it implements
18275 to always fail with ENOSYS. Some functions are actually named
18276 something starting with __ and the normal name is an alias. */
18277 #if defined __stub_$ac_func || defined __stub___$ac_func
18284 return $ac_func ();
18289 rm -f conftest.$ac_objext conftest$ac_exeext
18290 if { (ac_try="$ac_link"
18291 case "(($ac_try" in
18292 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18293 *) ac_try_echo
=$ac_try;;
18295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18296 (eval "$ac_link") 2>conftest.er1
18298 grep -v '^ *+' conftest.er1
>conftest.err
18300 cat conftest.err
>&5
18301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18302 (exit $ac_status); } &&
18303 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18304 { (case "(($ac_try" in
18305 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18306 *) ac_try_echo=$ac_try;;
18308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18309 (eval "$ac_try") 2>&5
18311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18312 (exit $ac_status); }; } &&
18313 { ac_try='test -s conftest$ac_exeext'
18314 { (case "(($ac_try" in
18315 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18316 *) ac_try_echo
=$ac_try;;
18318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18319 (eval "$ac_try") 2>&5
18321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18322 (exit $ac_status); }; }; then
18323 eval "$as_ac_var=yes"
18325 echo "$as_me: failed program was:" >&5
18326 sed 's/^/| /' conftest.
$ac_ext >&5
18328 eval "$as_ac_var=no"
18331 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18332 conftest
$ac_exeext conftest.
$ac_ext
18334 ac_res
=`eval echo '${'$as_ac_var'}'`
18335 { echo "$as_me:$LINENO: result: $ac_res" >&5
18336 echo "${ECHO_T}$ac_res" >&6; }
18337 if test `eval echo '${'$as_ac_var'}'` = yes; then
18338 cat >>confdefs.h
<<_ACEOF
18339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18346 if test "$ac_cv_func_dlopen" = no
18348 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
18349 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
18350 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
18351 echo $ECHO_N "(cached) $ECHO_C" >&6
18353 ac_check_lib_save_LIBS
=$LIBS
18355 cat >conftest.
$ac_ext <<_ACEOF
18358 cat confdefs.h
>>conftest.
$ac_ext
18359 cat >>conftest.
$ac_ext <<_ACEOF
18360 /* end confdefs.h. */
18362 /* Override any GCC internal prototype to avoid an error.
18363 Use char because int might match the return type of a GCC
18364 builtin and then its argument prototype would still apply. */
18377 rm -f conftest.
$ac_objext conftest
$ac_exeext
18378 if { (ac_try
="$ac_link"
18379 case "(($ac_try" in
18380 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18381 *) ac_try_echo=$ac_try;;
18383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18384 (eval "$ac_link") 2>conftest.er1
18386 grep -v '^ *+' conftest.er1 >conftest.err
18388 cat conftest.err >&5
18389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18390 (exit $ac_status); } &&
18391 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18392 { (case "(($ac_try" in
18393 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18394 *) ac_try_echo
=$ac_try;;
18396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18397 (eval "$ac_try") 2>&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); }; } &&
18401 { ac_try
='test -s conftest$ac_exeext'
18402 { (case "(($ac_try" in
18403 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18404 *) ac_try_echo=$ac_try;;
18406 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18407 (eval "$ac_try") 2>&5
18409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18410 (exit $ac_status); }; }; then
18411 ac_cv_lib_dl_dlopen=yes
18413 echo "$as_me: failed program was:" >&5
18414 sed 's/^/| /' conftest.$ac_ext >&5
18416 ac_cv_lib_dl_dlopen=no
18419 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18420 conftest$ac_exeext conftest.$ac_ext
18421 LIBS=$ac_check_lib_save_LIBS
18423 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
18424 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
18425 if test $ac_cv_lib_dl_dlopen = yes; then
18426 cat >>confdefs.h <<\_ACEOF
18427 #define HAVE_DLOPEN 1
18434 ac_wine_check_funcs_save_LIBS="$LIBS"
18435 LIBS="$LIBS $LIBDL"
18437 for ac_func in dladdr
18439 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
18440 { echo "$as_me:$LINENO: checking for $ac_func" >&5
18441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
18442 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
18443 echo $ECHO_N "(cached) $ECHO_C" >&6
18445 cat >conftest.$ac_ext <<_ACEOF
18448 cat confdefs.h >>conftest.$ac_ext
18449 cat >>conftest.$ac_ext <<_ACEOF
18450 /* end confdefs.h. */
18451 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18452 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18453 #define $ac_func innocuous_$ac_func
18455 /* System header to define __stub macros and hopefully few prototypes,
18456 which can conflict with char $ac_func (); below.
18457 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18458 <limits.h> exists even on freestanding compilers. */
18461 # include <limits.h>
18463 # include <assert.h>
18468 /* Override any GCC internal prototype to avoid an error.
18469 Use char because int might match the return type of a GCC
18470 builtin and then its argument prototype would still apply. */
18475 /* The GNU C library defines this for functions which it implements
18476 to always fail with ENOSYS. Some functions are actually named
18477 something starting with __ and the normal name is an alias. */
18478 #if defined __stub_$ac_func || defined __stub___$ac_func
18485 return $ac_func ();
18490 rm -f conftest.$ac_objext conftest$ac_exeext
18491 if { (ac_try="$ac_link"
18492 case "(($ac_try" in
18493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18494 *) ac_try_echo
=$ac_try;;
18496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18497 (eval "$ac_link") 2>conftest.er1
18499 grep -v '^ *+' conftest.er1
>conftest.err
18501 cat conftest.err
>&5
18502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18503 (exit $ac_status); } &&
18504 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18505 { (case "(($ac_try" in
18506 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18507 *) ac_try_echo=$ac_try;;
18509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18510 (eval "$ac_try") 2>&5
18512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18513 (exit $ac_status); }; } &&
18514 { ac_try='test -s conftest$ac_exeext'
18515 { (case "(($ac_try" in
18516 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18517 *) ac_try_echo
=$ac_try;;
18519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18520 (eval "$ac_try") 2>&5
18522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18523 (exit $ac_status); }; }; then
18524 eval "$as_ac_var=yes"
18526 echo "$as_me: failed program was:" >&5
18527 sed 's/^/| /' conftest.
$ac_ext >&5
18529 eval "$as_ac_var=no"
18532 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18533 conftest
$ac_exeext conftest.
$ac_ext
18535 ac_res
=`eval echo '${'$as_ac_var'}'`
18536 { echo "$as_me:$LINENO: result: $ac_res" >&5
18537 echo "${ECHO_T}$ac_res" >&6; }
18538 if test `eval echo '${'$as_ac_var'}'` = yes; then
18539 cat >>confdefs.h
<<_ACEOF
18540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18546 LIBS
="$ac_wine_check_funcs_save_LIBS"
18548 if test "$ac_cv_func_poll" = no
18550 { echo "$as_me:$LINENO: checking for poll in -lpoll" >&5
18551 echo $ECHO_N "checking for poll in -lpoll... $ECHO_C" >&6; }
18552 if test "${ac_cv_lib_poll_poll+set}" = set; then
18553 echo $ECHO_N "(cached) $ECHO_C" >&6
18555 ac_check_lib_save_LIBS
=$LIBS
18556 LIBS
="-lpoll $LIBS"
18557 cat >conftest.
$ac_ext <<_ACEOF
18560 cat confdefs.h
>>conftest.
$ac_ext
18561 cat >>conftest.
$ac_ext <<_ACEOF
18562 /* end confdefs.h. */
18564 /* Override any GCC internal prototype to avoid an error.
18565 Use char because int might match the return type of a GCC
18566 builtin and then its argument prototype would still apply. */
18579 rm -f conftest.
$ac_objext conftest
$ac_exeext
18580 if { (ac_try
="$ac_link"
18581 case "(($ac_try" in
18582 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18583 *) ac_try_echo=$ac_try;;
18585 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18586 (eval "$ac_link") 2>conftest.er1
18588 grep -v '^ *+' conftest.er1 >conftest.err
18590 cat conftest.err >&5
18591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18592 (exit $ac_status); } &&
18593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18594 { (case "(($ac_try" in
18595 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18596 *) ac_try_echo
=$ac_try;;
18598 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18599 (eval "$ac_try") 2>&5
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; } &&
18603 { ac_try
='test -s conftest$ac_exeext'
18604 { (case "(($ac_try" in
18605 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18606 *) ac_try_echo=$ac_try;;
18608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18609 (eval "$ac_try") 2>&5
18611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18612 (exit $ac_status); }; }; then
18613 ac_cv_lib_poll_poll=yes
18615 echo "$as_me: failed program was:" >&5
18616 sed 's/^/| /' conftest.$ac_ext >&5
18618 ac_cv_lib_poll_poll=no
18621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18622 conftest$ac_exeext conftest.$ac_ext
18623 LIBS=$ac_check_lib_save_LIBS
18625 { echo "$as_me:$LINENO: result: $ac_cv_lib_poll_poll" >&5
18626 echo "${ECHO_T}$ac_cv_lib_poll_poll" >&6; }
18627 if test $ac_cv_lib_poll_poll = yes; then
18628 cat >>confdefs.h <<\_ACEOF
18629 #define HAVE_POLL 1
18637 if test "$ac_cv_func_gethostbyname" = no
18640 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
18641 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
18642 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
18643 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 ac_check_lib_save_LIBS=$LIBS
18647 cat >conftest.$ac_ext <<_ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18654 /* Override any GCC internal prototype to avoid an error.
18655 Use char because int might match the return type of a GCC
18656 builtin and then its argument prototype would still apply. */
18660 char gethostbyname ();
18664 return gethostbyname ();
18669 rm -f conftest.$ac_objext conftest$ac_exeext
18670 if { (ac_try="$ac_link"
18671 case "(($ac_try" in
18672 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18673 *) ac_try_echo
=$ac_try;;
18675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18676 (eval "$ac_link") 2>conftest.er1
18678 grep -v '^ *+' conftest.er1
>conftest.err
18680 cat conftest.err
>&5
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); } &&
18683 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18684 { (case "(($ac_try" in
18685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18686 *) ac_try_echo=$ac_try;;
18688 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18689 (eval "$ac_try") 2>&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); }; } &&
18693 { ac_try='test -s conftest$ac_exeext'
18694 { (case "(($ac_try" in
18695 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18696 *) ac_try_echo
=$ac_try;;
18698 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18699 (eval "$ac_try") 2>&5
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; }; then
18703 ac_cv_lib_nsl_gethostbyname
=yes
18705 echo "$as_me: failed program was:" >&5
18706 sed 's/^/| /' conftest.
$ac_ext >&5
18708 ac_cv_lib_nsl_gethostbyname
=no
18711 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18712 conftest
$ac_exeext conftest.
$ac_ext
18713 LIBS
=$ac_check_lib_save_LIBS
18715 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
18716 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
18717 if test $ac_cv_lib_nsl_gethostbyname = yes; then
18718 cat >>confdefs.h
<<_ACEOF
18719 #define HAVE_LIBNSL 1
18728 if test "$ac_cv_func_connect" = no
18731 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
18732 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
18733 if test "${ac_cv_lib_socket_connect+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18736 ac_check_lib_save_LIBS
=$LIBS
18737 LIBS
="-lsocket $LIBS"
18738 cat >conftest.
$ac_ext <<_ACEOF
18741 cat confdefs.h
>>conftest.
$ac_ext
18742 cat >>conftest.
$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18745 /* Override any GCC internal prototype to avoid an error.
18746 Use char because int might match the return type of a GCC
18747 builtin and then its argument prototype would still apply. */
18760 rm -f conftest.
$ac_objext conftest
$ac_exeext
18761 if { (ac_try
="$ac_link"
18762 case "(($ac_try" in
18763 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18764 *) ac_try_echo=$ac_try;;
18766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18767 (eval "$ac_link") 2>conftest.er1
18769 grep -v '^ *+' conftest.er1 >conftest.err
18771 cat conftest.err >&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); } &&
18774 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18775 { (case "(($ac_try" in
18776 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18777 *) ac_try_echo
=$ac_try;;
18779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18780 (eval "$ac_try") 2>&5
18782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18783 (exit $ac_status); }; } &&
18784 { ac_try
='test -s conftest$ac_exeext'
18785 { (case "(($ac_try" in
18786 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18787 *) ac_try_echo=$ac_try;;
18789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18790 (eval "$ac_try") 2>&5
18792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18793 (exit $ac_status); }; }; then
18794 ac_cv_lib_socket_connect=yes
18796 echo "$as_me: failed program was:" >&5
18797 sed 's/^/| /' conftest.$ac_ext >&5
18799 ac_cv_lib_socket_connect=no
18802 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18803 conftest$ac_exeext conftest.$ac_ext
18804 LIBS=$ac_check_lib_save_LIBS
18806 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
18807 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
18808 if test $ac_cv_lib_socket_connect = yes; then
18809 cat >>confdefs.h <<_ACEOF
18810 #define HAVE_LIBSOCKET 1
18813 LIBS="-lsocket $LIBS"
18819 if test "$ac_cv_func_inet_aton" = no
18822 { echo "$as_me:$LINENO: checking for inet_aton in -lresolv" >&5
18823 echo $ECHO_N "checking for inet_aton in -lresolv... $ECHO_C" >&6; }
18824 if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then
18825 echo $ECHO_N "(cached) $ECHO_C" >&6
18827 ac_check_lib_save_LIBS=$LIBS
18828 LIBS="-lresolv $LIBS"
18829 cat >conftest.$ac_ext <<_ACEOF
18832 cat confdefs.h >>conftest.$ac_ext
18833 cat >>conftest.$ac_ext <<_ACEOF
18834 /* end confdefs.h. */
18836 /* Override any GCC internal prototype to avoid an error.
18837 Use char because int might match the return type of a GCC
18838 builtin and then its argument prototype would still apply. */
18846 return inet_aton ();
18851 rm -f conftest.$ac_objext conftest$ac_exeext
18852 if { (ac_try="$ac_link"
18853 case "(($ac_try" in
18854 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18855 *) ac_try_echo
=$ac_try;;
18857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18858 (eval "$ac_link") 2>conftest.er1
18860 grep -v '^ *+' conftest.er1
>conftest.err
18862 cat conftest.err
>&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } &&
18865 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18866 { (case "(($ac_try" in
18867 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18868 *) ac_try_echo=$ac_try;;
18870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18871 (eval "$ac_try") 2>&5
18873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18874 (exit $ac_status); }; } &&
18875 { ac_try='test -s conftest$ac_exeext'
18876 { (case "(($ac_try" in
18877 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18878 *) ac_try_echo
=$ac_try;;
18880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18881 (eval "$ac_try") 2>&5
18883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18884 (exit $ac_status); }; }; then
18885 ac_cv_lib_resolv_inet_aton
=yes
18887 echo "$as_me: failed program was:" >&5
18888 sed 's/^/| /' conftest.
$ac_ext >&5
18890 ac_cv_lib_resolv_inet_aton
=no
18893 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
18894 conftest
$ac_exeext conftest.
$ac_ext
18895 LIBS
=$ac_check_lib_save_LIBS
18897 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_aton" >&5
18898 echo "${ECHO_T}$ac_cv_lib_resolv_inet_aton" >&6; }
18899 if test $ac_cv_lib_resolv_inet_aton = yes; then
18900 cat >>confdefs.h
<<_ACEOF
18901 #define HAVE_LIBRESOLV 1
18904 LIBS
="-lresolv $LIBS"
18911 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18912 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18913 if test "${ac_cv_c_const+set}" = set; then
18914 echo $ECHO_N "(cached) $ECHO_C" >&6
18916 cat >conftest.
$ac_ext <<_ACEOF
18919 cat confdefs.h
>>conftest.
$ac_ext
18920 cat >>conftest.
$ac_ext <<_ACEOF
18921 /* end confdefs.h. */
18926 /* FIXME: Include the comments suggested by Paul. */
18927 #ifndef __cplusplus
18928 /* Ultrix mips cc rejects this. */
18929 typedef int charset[2];
18931 /* SunOS 4.1.1 cc rejects this. */
18932 char const *const *pcpcc;
18934 /* NEC SVR4.0.2 mips cc rejects this. */
18935 struct point {int x, y;};
18936 static struct point const zero = {0,0};
18937 /* AIX XL C 1.02.0.0 rejects this.
18938 It does not let you subtract one const X* pointer from another in
18939 an arm of an if-expression whose if-part is not a constant
18941 const char *g = "string";
18942 pcpcc = &g + (g ? g-g : 0);
18943 /* HPUX 7.0 cc rejects these. */
18945 ppc = (char**) pcpcc;
18946 pcpcc = (char const *const *) ppc;
18947 { /* SCO 3.2v4 cc rejects this. */
18949 char const *s = 0 ? (char *) 0 : (char const *) 0;
18954 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18955 int x[] = {25, 17};
18956 const int *foo = &x[0];
18959 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18960 typedef const int *iptr;
18964 { /* AIX XL C 1.02.0.0 rejects this saying
18965 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18966 struct s { int j; const int *ap[3]; };
18967 struct s *b; b->j = 5;
18969 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18970 const int foo = 10;
18971 if (!foo) return 0;
18973 return !cs[0] && !zero.x;
18980 rm -f conftest.
$ac_objext
18981 if { (ac_try
="$ac_compile"
18982 case "(($ac_try" in
18983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
18984 *) ac_try_echo=$ac_try;;
18986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18987 (eval "$ac_compile") 2>conftest.er1
18989 grep -v '^ *+' conftest.er1 >conftest.err
18991 cat conftest.err >&5
18992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18993 (exit $ac_status); } &&
18994 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
18995 { (case "(($ac_try" in
18996 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
18997 *) ac_try_echo
=$ac_try;;
18999 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19000 (eval "$ac_try") 2>&5
19002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19003 (exit $ac_status); }; } &&
19004 { ac_try
='test -s conftest.$ac_objext'
19005 { (case "(($ac_try" in
19006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19007 *) ac_try_echo=$ac_try;;
19009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19010 (eval "$ac_try") 2>&5
19012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19013 (exit $ac_status); }; }; then
19016 echo "$as_me: failed program was:" >&5
19017 sed 's/^/| /' conftest.$ac_ext >&5
19022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19024 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19025 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19026 if test $ac_cv_c_const = no; then
19028 cat >>confdefs.h <<\_ACEOF
19034 { echo "$as_me:$LINENO: checking for inline" >&5
19035 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19036 if test "${ac_cv_c_inline+set}" = set; then
19037 echo $ECHO_N "(cached) $ECHO_C" >&6
19040 for ac_kw in inline __inline__ __inline; do
19041 cat >conftest.$ac_ext <<_ACEOF
19044 cat confdefs.h >>conftest.$ac_ext
19045 cat >>conftest.$ac_ext <<_ACEOF
19046 /* end confdefs.h. */
19047 #ifndef __cplusplus
19049 static $ac_kw foo_t static_foo () {return 0; }
19050 $ac_kw foo_t foo () {return 0; }
19054 rm -f conftest.$ac_objext
19055 if { (ac_try="$ac_compile"
19056 case "(($ac_try" in
19057 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19058 *) ac_try_echo
=$ac_try;;
19060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19061 (eval "$ac_compile") 2>conftest.er1
19063 grep -v '^ *+' conftest.er1
>conftest.err
19065 cat conftest.err
>&5
19066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19067 (exit $ac_status); } &&
19068 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19069 { (case "(($ac_try" in
19070 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_try") 2>&5
19076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19077 (exit $ac_status); }; } &&
19078 { ac_try='test -s conftest.$ac_objext'
19079 { (case "(($ac_try" in
19080 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19081 *) ac_try_echo
=$ac_try;;
19083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19084 (eval "$ac_try") 2>&5
19086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19087 (exit $ac_status); }; }; then
19088 ac_cv_c_inline
=$ac_kw
19090 echo "$as_me: failed program was:" >&5
19091 sed 's/^/| /' conftest.
$ac_ext >&5
19096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19097 test "$ac_cv_c_inline" != no
&& break
19101 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19102 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19105 case $ac_cv_c_inline in
19108 case $ac_cv_c_inline in
19110 *) ac_val
=$ac_cv_c_inline;;
19112 cat >>confdefs.h
<<_ACEOF
19113 #ifndef __cplusplus
19114 #define inline $ac_val
19120 { echo "$as_me:$LINENO: checking for mode_t" >&5
19121 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
19122 if test "${ac_cv_type_mode_t+set}" = set; then
19123 echo $ECHO_N "(cached) $ECHO_C" >&6
19125 cat >conftest.
$ac_ext <<_ACEOF
19128 cat confdefs.h
>>conftest.
$ac_ext
19129 cat >>conftest.
$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 $ac_includes_default
19132 typedef mode_t ac__type_new_;
19136 if ((ac__type_new_ *) 0)
19138 if (sizeof (ac__type_new_))
19144 rm -f conftest.
$ac_objext
19145 if { (ac_try
="$ac_compile"
19146 case "(($ac_try" in
19147 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19148 *) ac_try_echo=$ac_try;;
19150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19151 (eval "$ac_compile") 2>conftest.er1
19153 grep -v '^ *+' conftest.er1 >conftest.err
19155 cat conftest.err >&5
19156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19157 (exit $ac_status); } &&
19158 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19159 { (case "(($ac_try" in
19160 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19161 *) ac_try_echo
=$ac_try;;
19163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19164 (eval "$ac_try") 2>&5
19166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19167 (exit $ac_status); }; } &&
19168 { ac_try
='test -s conftest.$ac_objext'
19169 { (case "(($ac_try" in
19170 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19171 *) ac_try_echo=$ac_try;;
19173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19174 (eval "$ac_try") 2>&5
19176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19177 (exit $ac_status); }; }; then
19178 ac_cv_type_mode_t=yes
19180 echo "$as_me: failed program was:" >&5
19181 sed 's/^/| /' conftest.$ac_ext >&5
19183 ac_cv_type_mode_t=no
19186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19188 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
19189 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
19190 if test $ac_cv_type_mode_t = yes; then
19192 cat >>confdefs.h <<_ACEOF
19193 #define HAVE_MODE_T 1
19198 { echo "$as_me:$LINENO: checking for off_t" >&5
19199 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
19200 if test "${ac_cv_type_off_t+set}" = set; then
19201 echo $ECHO_N "(cached) $ECHO_C" >&6
19203 cat >conftest.$ac_ext <<_ACEOF
19206 cat confdefs.h >>conftest.$ac_ext
19207 cat >>conftest.$ac_ext <<_ACEOF
19208 /* end confdefs.h. */
19209 $ac_includes_default
19210 typedef off_t ac__type_new_;
19214 if ((ac__type_new_ *) 0)
19216 if (sizeof (ac__type_new_))
19222 rm -f conftest.$ac_objext
19223 if { (ac_try="$ac_compile"
19224 case "(($ac_try" in
19225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19226 *) ac_try_echo
=$ac_try;;
19228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19229 (eval "$ac_compile") 2>conftest.er1
19231 grep -v '^ *+' conftest.er1
>conftest.err
19233 cat conftest.err
>&5
19234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19235 (exit $ac_status); } &&
19236 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19237 { (case "(($ac_try" in
19238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_try") 2>&5
19244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19245 (exit $ac_status); }; } &&
19246 { ac_try='test -s conftest.$ac_objext'
19247 { (case "(($ac_try" in
19248 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19249 *) ac_try_echo
=$ac_try;;
19251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19252 (eval "$ac_try") 2>&5
19254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19255 (exit $ac_status); }; }; then
19256 ac_cv_type_off_t
=yes
19258 echo "$as_me: failed program was:" >&5
19259 sed 's/^/| /' conftest.
$ac_ext >&5
19261 ac_cv_type_off_t
=no
19264 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19266 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
19267 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
19268 if test $ac_cv_type_off_t = yes; then
19270 cat >>confdefs.h
<<_ACEOF
19271 #define HAVE_OFF_T 1
19276 { echo "$as_me:$LINENO: checking for pid_t" >&5
19277 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
19278 if test "${ac_cv_type_pid_t+set}" = set; then
19279 echo $ECHO_N "(cached) $ECHO_C" >&6
19281 cat >conftest.
$ac_ext <<_ACEOF
19284 cat confdefs.h
>>conftest.
$ac_ext
19285 cat >>conftest.
$ac_ext <<_ACEOF
19286 /* end confdefs.h. */
19287 $ac_includes_default
19288 typedef pid_t ac__type_new_;
19292 if ((ac__type_new_ *) 0)
19294 if (sizeof (ac__type_new_))
19300 rm -f conftest.
$ac_objext
19301 if { (ac_try
="$ac_compile"
19302 case "(($ac_try" in
19303 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19304 *) ac_try_echo=$ac_try;;
19306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19307 (eval "$ac_compile") 2>conftest.er1
19309 grep -v '^ *+' conftest.er1 >conftest.err
19311 cat conftest.err >&5
19312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19313 (exit $ac_status); } &&
19314 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19315 { (case "(($ac_try" in
19316 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19317 *) ac_try_echo
=$ac_try;;
19319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19320 (eval "$ac_try") 2>&5
19322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19323 (exit $ac_status); }; } &&
19324 { ac_try
='test -s conftest.$ac_objext'
19325 { (case "(($ac_try" in
19326 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19327 *) ac_try_echo=$ac_try;;
19329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19330 (eval "$ac_try") 2>&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); }; }; then
19334 ac_cv_type_pid_t=yes
19336 echo "$as_me: failed program was:" >&5
19337 sed 's/^/| /' conftest.$ac_ext >&5
19339 ac_cv_type_pid_t=no
19342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
19345 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
19346 if test $ac_cv_type_pid_t = yes; then
19348 cat >>confdefs.h <<_ACEOF
19349 #define HAVE_PID_T 1
19354 { echo "$as_me:$LINENO: checking for size_t" >&5
19355 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19356 if test "${ac_cv_type_size_t+set}" = set; then
19357 echo $ECHO_N "(cached) $ECHO_C" >&6
19359 cat >conftest.$ac_ext <<_ACEOF
19362 cat confdefs.h >>conftest.$ac_ext
19363 cat >>conftest.$ac_ext <<_ACEOF
19364 /* end confdefs.h. */
19365 $ac_includes_default
19366 typedef size_t ac__type_new_;
19370 if ((ac__type_new_ *) 0)
19372 if (sizeof (ac__type_new_))
19378 rm -f conftest.$ac_objext
19379 if { (ac_try="$ac_compile"
19380 case "(($ac_try" in
19381 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19382 *) ac_try_echo
=$ac_try;;
19384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19385 (eval "$ac_compile") 2>conftest.er1
19387 grep -v '^ *+' conftest.er1
>conftest.err
19389 cat conftest.err
>&5
19390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19391 (exit $ac_status); } &&
19392 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19393 { (case "(($ac_try" in
19394 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19395 *) ac_try_echo=$ac_try;;
19397 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19398 (eval "$ac_try") 2>&5
19400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19401 (exit $ac_status); }; } &&
19402 { ac_try='test -s conftest.$ac_objext'
19403 { (case "(($ac_try" in
19404 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19405 *) ac_try_echo
=$ac_try;;
19407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19408 (eval "$ac_try") 2>&5
19410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19411 (exit $ac_status); }; }; then
19412 ac_cv_type_size_t
=yes
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.
$ac_ext >&5
19417 ac_cv_type_size_t
=no
19420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19422 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19423 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19424 if test $ac_cv_type_size_t = yes; then
19426 cat >>confdefs.h
<<_ACEOF
19427 #define HAVE_SIZE_T 1
19432 { echo "$as_me:$LINENO: checking for ssize_t" >&5
19433 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
19434 if test "${ac_cv_type_ssize_t+set}" = set; then
19435 echo $ECHO_N "(cached) $ECHO_C" >&6
19437 cat >conftest.
$ac_ext <<_ACEOF
19440 cat confdefs.h
>>conftest.
$ac_ext
19441 cat >>conftest.
$ac_ext <<_ACEOF
19442 /* end confdefs.h. */
19443 $ac_includes_default
19444 typedef ssize_t ac__type_new_;
19448 if ((ac__type_new_ *) 0)
19450 if (sizeof (ac__type_new_))
19456 rm -f conftest.
$ac_objext
19457 if { (ac_try
="$ac_compile"
19458 case "(($ac_try" in
19459 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19460 *) ac_try_echo=$ac_try;;
19462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19463 (eval "$ac_compile") 2>conftest.er1
19465 grep -v '^ *+' conftest.er1 >conftest.err
19467 cat conftest.err >&5
19468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19469 (exit $ac_status); } &&
19470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19471 { (case "(($ac_try" in
19472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19473 *) ac_try_echo
=$ac_try;;
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_try") 2>&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); }; } &&
19480 { ac_try
='test -s conftest.$ac_objext'
19481 { (case "(($ac_try" in
19482 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19483 *) ac_try_echo=$ac_try;;
19485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19486 (eval "$ac_try") 2>&5
19488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19489 (exit $ac_status); }; }; then
19490 ac_cv_type_ssize_t=yes
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19495 ac_cv_type_ssize_t=no
19498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19500 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
19501 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
19502 if test $ac_cv_type_ssize_t = yes; then
19504 cat >>confdefs.h <<_ACEOF
19505 #define HAVE_SSIZE_T 1
19510 { echo "$as_me:$LINENO: checking for long long" >&5
19511 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
19512 if test "${ac_cv_type_long_long+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19515 cat >conftest.$ac_ext <<_ACEOF
19518 cat confdefs.h >>conftest.$ac_ext
19519 cat >>conftest.$ac_ext <<_ACEOF
19520 /* end confdefs.h. */
19521 $ac_includes_default
19522 typedef long long ac__type_new_;
19526 if ((ac__type_new_ *) 0)
19528 if (sizeof (ac__type_new_))
19534 rm -f conftest.$ac_objext
19535 if { (ac_try="$ac_compile"
19536 case "(($ac_try" in
19537 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19538 *) ac_try_echo
=$ac_try;;
19540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19541 (eval "$ac_compile") 2>conftest.er1
19543 grep -v '^ *+' conftest.er1
>conftest.err
19545 cat conftest.err
>&5
19546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19547 (exit $ac_status); } &&
19548 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19549 { (case "(($ac_try" in
19550 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19551 *) ac_try_echo=$ac_try;;
19553 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19554 (eval "$ac_try") 2>&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); }; } &&
19558 { ac_try='test -s conftest.$ac_objext'
19559 { (case "(($ac_try" in
19560 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19561 *) ac_try_echo
=$ac_try;;
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_try") 2>&5
19566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19567 (exit $ac_status); }; }; then
19568 ac_cv_type_long_long
=yes
19570 echo "$as_me: failed program was:" >&5
19571 sed 's/^/| /' conftest.
$ac_ext >&5
19573 ac_cv_type_long_long
=no
19576 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19578 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
19579 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
19580 if test $ac_cv_type_long_long = yes; then
19582 cat >>confdefs.h
<<_ACEOF
19583 #define HAVE_LONG_LONG 1
19588 { echo "$as_me:$LINENO: checking for fsblkcnt_t" >&5
19589 echo $ECHO_N "checking for fsblkcnt_t... $ECHO_C" >&6; }
19590 if test "${ac_cv_type_fsblkcnt_t+set}" = set; then
19591 echo $ECHO_N "(cached) $ECHO_C" >&6
19593 cat >conftest.
$ac_ext <<_ACEOF
19596 cat confdefs.h
>>conftest.
$ac_ext
19597 cat >>conftest.
$ac_ext <<_ACEOF
19598 /* end confdefs.h. */
19599 $ac_includes_default
19600 typedef fsblkcnt_t ac__type_new_;
19604 if ((ac__type_new_ *) 0)
19606 if (sizeof (ac__type_new_))
19612 rm -f conftest.
$ac_objext
19613 if { (ac_try
="$ac_compile"
19614 case "(($ac_try" in
19615 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19616 *) ac_try_echo=$ac_try;;
19618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19619 (eval "$ac_compile") 2>conftest.er1
19621 grep -v '^ *+' conftest.er1 >conftest.err
19623 cat conftest.err >&5
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } &&
19626 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19627 { (case "(($ac_try" in
19628 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19629 *) ac_try_echo
=$ac_try;;
19631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19632 (eval "$ac_try") 2>&5
19634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19635 (exit $ac_status); }; } &&
19636 { ac_try
='test -s conftest.$ac_objext'
19637 { (case "(($ac_try" in
19638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19639 *) ac_try_echo=$ac_try;;
19641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19642 (eval "$ac_try") 2>&5
19644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19645 (exit $ac_status); }; }; then
19646 ac_cv_type_fsblkcnt_t=yes
19648 echo "$as_me: failed program was:" >&5
19649 sed 's/^/| /' conftest.$ac_ext >&5
19651 ac_cv_type_fsblkcnt_t=no
19654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19656 { echo "$as_me:$LINENO: result: $ac_cv_type_fsblkcnt_t" >&5
19657 echo "${ECHO_T}$ac_cv_type_fsblkcnt_t" >&6; }
19658 if test $ac_cv_type_fsblkcnt_t = yes; then
19660 cat >>confdefs.h <<_ACEOF
19661 #define HAVE_FSBLKCNT_T 1
19666 { echo "$as_me:$LINENO: checking for fsfilcnt_t" >&5
19667 echo $ECHO_N "checking for fsfilcnt_t... $ECHO_C" >&6; }
19668 if test "${ac_cv_type_fsfilcnt_t+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19671 cat >conftest.$ac_ext <<_ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 typedef fsfilcnt_t ac__type_new_;
19682 if ((ac__type_new_ *) 0)
19684 if (sizeof (ac__type_new_))
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19694 *) ac_try_echo
=$ac_try;;
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19699 grep -v '^ *+' conftest.er1
>conftest.err
19701 cat conftest.err
>&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } &&
19704 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19705 { (case "(($ac_try" in
19706 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19707 *) ac_try_echo=$ac_try;;
19709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19710 (eval "$ac_try") 2>&5
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest.$ac_objext'
19715 { (case "(($ac_try" in
19716 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19717 *) ac_try_echo
=$ac_try;;
19719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19720 (eval "$ac_try") 2>&5
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_cv_type_fsfilcnt_t
=yes
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.
$ac_ext >&5
19729 ac_cv_type_fsfilcnt_t
=no
19732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19734 { echo "$as_me:$LINENO: result: $ac_cv_type_fsfilcnt_t" >&5
19735 echo "${ECHO_T}$ac_cv_type_fsfilcnt_t" >&6; }
19736 if test $ac_cv_type_fsfilcnt_t = yes; then
19738 cat >>confdefs.h
<<_ACEOF
19739 #define HAVE_FSFILCNT_T 1
19745 { echo "$as_me:$LINENO: checking for sigset_t" >&5
19746 echo $ECHO_N "checking for sigset_t... $ECHO_C" >&6; }
19747 if test "${ac_cv_type_sigset_t+set}" = set; then
19748 echo $ECHO_N "(cached) $ECHO_C" >&6
19750 cat >conftest.
$ac_ext <<_ACEOF
19753 cat confdefs.h
>>conftest.
$ac_ext
19754 cat >>conftest.
$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 #include <signal.h>
19758 typedef sigset_t ac__type_new_;
19762 if ((ac__type_new_ *) 0)
19764 if (sizeof (ac__type_new_))
19770 rm -f conftest.
$ac_objext
19771 if { (ac_try
="$ac_compile"
19772 case "(($ac_try" in
19773 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19774 *) ac_try_echo=$ac_try;;
19776 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19777 (eval "$ac_compile") 2>conftest.er1
19779 grep -v '^ *+' conftest.er1 >conftest.err
19781 cat conftest.err >&5
19782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19783 (exit $ac_status); } &&
19784 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19785 { (case "(($ac_try" in
19786 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19787 *) ac_try_echo
=$ac_try;;
19789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19790 (eval "$ac_try") 2>&5
19792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19793 (exit $ac_status); }; } &&
19794 { ac_try
='test -s conftest.$ac_objext'
19795 { (case "(($ac_try" in
19796 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19797 *) ac_try_echo=$ac_try;;
19799 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19800 (eval "$ac_try") 2>&5
19802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19803 (exit $ac_status); }; }; then
19804 ac_cv_type_sigset_t=yes
19806 echo "$as_me: failed program was:" >&5
19807 sed 's/^/| /' conftest.$ac_ext >&5
19809 ac_cv_type_sigset_t=no
19812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19814 { echo "$as_me:$LINENO: result: $ac_cv_type_sigset_t" >&5
19815 echo "${ECHO_T}$ac_cv_type_sigset_t" >&6; }
19816 if test $ac_cv_type_sigset_t = yes; then
19818 cat >>confdefs.h <<_ACEOF
19819 #define HAVE_SIGSET_T 1
19825 { echo "$as_me:$LINENO: checking for request_sense" >&5
19826 echo $ECHO_N "checking for request_sense... $ECHO_C" >&6; }
19827 if test "${ac_cv_type_request_sense+set}" = set; then
19828 echo $ECHO_N "(cached) $ECHO_C" >&6
19830 cat >conftest.$ac_ext <<_ACEOF
19833 cat confdefs.h >>conftest.$ac_ext
19834 cat >>conftest.$ac_ext <<_ACEOF
19835 /* end confdefs.h. */
19836 #include <linux/cdrom.h>
19838 typedef request_sense ac__type_new_;
19842 if ((ac__type_new_ *) 0)
19844 if (sizeof (ac__type_new_))
19850 rm -f conftest.$ac_objext
19851 if { (ac_try="$ac_compile"
19852 case "(($ac_try" in
19853 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19854 *) ac_try_echo
=$ac_try;;
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_compile") 2>conftest.er1
19859 grep -v '^ *+' conftest.er1
>conftest.err
19861 cat conftest.err
>&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); } &&
19864 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19865 { (case "(($ac_try" in
19866 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19867 *) ac_try_echo=$ac_try;;
19869 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19870 (eval "$ac_try") 2>&5
19872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19873 (exit $ac_status); }; } &&
19874 { ac_try='test -s conftest.$ac_objext'
19875 { (case "(($ac_try" in
19876 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19877 *) ac_try_echo
=$ac_try;;
19879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19880 (eval "$ac_try") 2>&5
19882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19883 (exit $ac_status); }; }; then
19884 ac_cv_type_request_sense
=yes
19886 echo "$as_me: failed program was:" >&5
19887 sed 's/^/| /' conftest.
$ac_ext >&5
19889 ac_cv_type_request_sense
=no
19892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
19894 { echo "$as_me:$LINENO: result: $ac_cv_type_request_sense" >&5
19895 echo "${ECHO_T}$ac_cv_type_request_sense" >&6; }
19896 if test $ac_cv_type_request_sense = yes; then
19898 cat >>confdefs.h
<<_ACEOF
19899 #define HAVE_REQUEST_SENSE 1
19906 { echo "$as_me:$LINENO: checking for struct ff_effect.direction" >&5
19907 echo $ECHO_N "checking for struct ff_effect.direction... $ECHO_C" >&6; }
19908 if test "${ac_cv_member_struct_ff_effect_direction+set}" = set; then
19909 echo $ECHO_N "(cached) $ECHO_C" >&6
19911 cat >conftest.
$ac_ext <<_ACEOF
19914 cat confdefs.h
>>conftest.
$ac_ext
19915 cat >>conftest.
$ac_ext <<_ACEOF
19916 /* end confdefs.h. */
19917 #ifdef HAVE_LINUX_INPUT_H
19918 #include <linux/input.h>
19924 static struct ff_effect ac_aggr;
19925 if (ac_aggr.direction)
19931 rm -f conftest.
$ac_objext
19932 if { (ac_try
="$ac_compile"
19933 case "(($ac_try" in
19934 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19935 *) ac_try_echo=$ac_try;;
19937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19938 (eval "$ac_compile") 2>conftest.er1
19940 grep -v '^ *+' conftest.er1 >conftest.err
19942 cat conftest.err >&5
19943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19944 (exit $ac_status); } &&
19945 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
19946 { (case "(($ac_try" in
19947 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19948 *) ac_try_echo
=$ac_try;;
19950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19951 (eval "$ac_try") 2>&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); }; } &&
19955 { ac_try
='test -s conftest.$ac_objext'
19956 { (case "(($ac_try" in
19957 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
19958 *) ac_try_echo=$ac_try;;
19960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19961 (eval "$ac_try") 2>&5
19963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19964 (exit $ac_status); }; }; then
19965 ac_cv_member_struct_ff_effect_direction=yes
19967 echo "$as_me: failed program was:" >&5
19968 sed 's/^/| /' conftest.$ac_ext >&5
19970 cat >conftest.$ac_ext <<_ACEOF
19973 cat confdefs.h >>conftest.$ac_ext
19974 cat >>conftest.$ac_ext <<_ACEOF
19975 /* end confdefs.h. */
19976 #ifdef HAVE_LINUX_INPUT_H
19977 #include <linux/input.h>
19983 static struct ff_effect ac_aggr;
19984 if (sizeof ac_aggr.direction)
19990 rm -f conftest.$ac_objext
19991 if { (ac_try="$ac_compile"
19992 case "(($ac_try" in
19993 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
19994 *) ac_try_echo
=$ac_try;;
19996 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19997 (eval "$ac_compile") 2>conftest.er1
19999 grep -v '^ *+' conftest.er1
>conftest.err
20001 cat conftest.err
>&5
20002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20003 (exit $ac_status); } &&
20004 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20005 { (case "(($ac_try" in
20006 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20007 *) ac_try_echo=$ac_try;;
20009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20010 (eval "$ac_try") 2>&5
20012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20013 (exit $ac_status); }; } &&
20014 { ac_try='test -s conftest.$ac_objext'
20015 { (case "(($ac_try" in
20016 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20017 *) ac_try_echo
=$ac_try;;
20019 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20020 (eval "$ac_try") 2>&5
20022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20023 (exit $ac_status); }; }; then
20024 ac_cv_member_struct_ff_effect_direction
=yes
20026 echo "$as_me: failed program was:" >&5
20027 sed 's/^/| /' conftest.
$ac_ext >&5
20029 ac_cv_member_struct_ff_effect_direction
=no
20032 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
20037 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_ff_effect_direction" >&5
20038 echo "${ECHO_T}$ac_cv_member_struct_ff_effect_direction" >&6; }
20039 if test $ac_cv_member_struct_ff_effect_direction = yes; then
20041 cat >>confdefs.h
<<_ACEOF
20042 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
20049 { echo "$as_me:$LINENO: checking for sigaddset" >&5
20050 echo $ECHO_N "checking for sigaddset... $ECHO_C" >&6; }
20051 if test "${wine_cv_have_sigaddset+set}" = set; then
20052 echo $ECHO_N "(cached) $ECHO_C" >&6
20054 cat >conftest.
$ac_ext <<_ACEOF
20057 cat confdefs.h
>>conftest.
$ac_ext
20058 cat >>conftest.
$ac_ext <<_ACEOF
20059 /* end confdefs.h. */
20060 #include <signal.h>
20064 sigset_t set; sigaddset(&set,SIGTERM);
20069 rm -f conftest.
$ac_objext conftest
$ac_exeext
20070 if { (ac_try
="$ac_link"
20071 case "(($ac_try" in
20072 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20073 *) ac_try_echo=$ac_try;;
20075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20076 (eval "$ac_link") 2>conftest.er1
20078 grep -v '^ *+' conftest.er1 >conftest.err
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20084 { (case "(($ac_try" in
20085 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20086 *) ac_try_echo
=$ac_try;;
20088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20089 (eval "$ac_try") 2>&5
20091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20092 (exit $ac_status); }; } &&
20093 { ac_try
='test -s conftest$ac_exeext'
20094 { (case "(($ac_try" in
20095 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20096 *) ac_try_echo=$ac_try;;
20098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20099 (eval "$ac_try") 2>&5
20101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20102 (exit $ac_status); }; }; then
20103 wine_cv_have_sigaddset=yes
20105 echo "$as_me: failed program was:" >&5
20106 sed 's/^/| /' conftest.$ac_ext >&5
20108 wine_cv_have_sigaddset=no
20111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
20112 conftest$ac_exeext conftest.$ac_ext
20114 { echo "$as_me:$LINENO: result: $wine_cv_have_sigaddset" >&5
20115 echo "${ECHO_T}$wine_cv_have_sigaddset" >&6; }
20116 if test "$wine_cv_have_sigaddset" = "yes"
20119 cat >>confdefs.h <<\_ACEOF
20120 #define HAVE_SIGADDSET 1
20126 { echo "$as_me:$LINENO: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20127 echo $ECHO_N "checking whether we can use re-entrant gethostbyname_r Linux style... $ECHO_C" >&6; }
20128 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then
20129 echo $ECHO_N "(cached) $ECHO_C" >&6
20131 cat >conftest.$ac_ext <<_ACEOF
20134 cat confdefs.h >>conftest.$ac_ext
20135 cat >>conftest.$ac_ext <<_ACEOF
20136 /* end confdefs.h. */
20146 struct hostent *result;
20153 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20154 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20160 rm -f conftest.$ac_objext conftest$ac_exeext
20161 if { (ac_try="$ac_link"
20162 case "(($ac_try" in
20163 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20164 *) ac_try_echo
=$ac_try;;
20166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20167 (eval "$ac_link") 2>conftest.er1
20169 grep -v '^ *+' conftest.er1
>conftest.err
20171 cat conftest.err
>&5
20172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20173 (exit $ac_status); } &&
20174 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20175 { (case "(($ac_try" in
20176 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20177 *) ac_try_echo=$ac_try;;
20179 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20180 (eval "$ac_try") 2>&5
20182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20183 (exit $ac_status); }; } &&
20184 { ac_try='test -s conftest$ac_exeext'
20185 { (case "(($ac_try" in
20186 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20187 *) ac_try_echo
=$ac_try;;
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_try") 2>&5
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20194 wine_cv_linux_gethostbyname_r_6
=yes
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.
$ac_ext >&5
20199 wine_cv_linux_gethostbyname_r_6
=no
20203 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
20204 conftest
$ac_exeext conftest.
$ac_ext
20207 { echo "$as_me:$LINENO: result: $wine_cv_linux_gethostbyname_r_6" >&5
20208 echo "${ECHO_T}$wine_cv_linux_gethostbyname_r_6" >&6; }
20209 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20212 cat >>confdefs.h
<<\_ACEOF
20213 #define HAVE_LINUX_GETHOSTBYNAME_R_6 1
20218 if test "$ac_cv_header_linux_joystick_h" = "yes"
20220 { echo "$as_me:$LINENO: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
20221 echo $ECHO_N "checking whether linux/joystick.h uses the Linux 2.2+ API... $ECHO_C" >&6; }
20222 if test "${wine_cv_linux_joystick_22_api+set}" = set; then
20223 echo $ECHO_N "(cached) $ECHO_C" >&6
20225 cat >conftest.
$ac_ext <<_ACEOF
20228 cat confdefs.h
>>conftest.
$ac_ext
20229 cat >>conftest.
$ac_ext <<_ACEOF
20230 /* end confdefs.h. */
20232 #include <sys/ioctl.h>
20233 #include <linux/joystick.h>
20235 struct js_event blub;
20236 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
20237 #error "no 2.2 header"
20248 rm -f conftest.
$ac_objext
20249 if { (ac_try
="$ac_compile"
20250 case "(($ac_try" in
20251 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20252 *) ac_try_echo=$ac_try;;
20254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20255 (eval "$ac_compile") 2>conftest.er1
20257 grep -v '^ *+' conftest.er1 >conftest.err
20259 cat conftest.err >&5
20260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20261 (exit $ac_status); } &&
20262 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20263 { (case "(($ac_try" in
20264 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20265 *) ac_try_echo
=$ac_try;;
20267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20268 (eval "$ac_try") 2>&5
20270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20271 (exit $ac_status); }; } &&
20272 { ac_try
='test -s conftest.$ac_objext'
20273 { (case "(($ac_try" in
20274 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20275 *) ac_try_echo=$ac_try;;
20277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20278 (eval "$ac_try") 2>&5
20280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20281 (exit $ac_status); }; }; then
20282 wine_cv_linux_joystick_22_api=yes
20284 echo "$as_me: failed program was:" >&5
20285 sed 's/^/| /' conftest.$ac_ext >&5
20287 wine_cv_linux_joystick_22_api=no
20290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20293 { echo "$as_me:$LINENO: result: $wine_cv_linux_joystick_22_api" >&5
20294 echo "${ECHO_T}$wine_cv_linux_joystick_22_api" >&6; }
20295 if test "$wine_cv_linux_joystick_22_api" = "yes"
20298 cat >>confdefs.h <<\_ACEOF
20299 #define HAVE_LINUX_22_JOYSTICK_API 1
20306 { echo "$as_me:$LINENO: checking for struct statfs.f_bfree" >&5
20307 echo $ECHO_N "checking for struct statfs.f_bfree... $ECHO_C" >&6; }
20308 if test "${ac_cv_member_struct_statfs_f_bfree+set}" = set; then
20309 echo $ECHO_N "(cached) $ECHO_C" >&6
20311 cat >conftest.$ac_ext <<_ACEOF
20314 cat confdefs.h >>conftest.$ac_ext
20315 cat >>conftest.$ac_ext <<_ACEOF
20316 /* end confdefs.h. */
20317 #include <sys/types.h>
20318 #ifdef HAVE_SYS_PARAM_H
20319 # include <sys/param.h>
20321 #ifdef HAVE_SYS_MOUNT_H
20322 # include <sys/mount.h>
20324 #ifdef HAVE_SYS_VFS_H
20325 # include <sys/vfs.h>
20327 #ifdef HAVE_SYS_STATFS_H
20328 # include <sys/statfs.h>
20334 static struct statfs ac_aggr;
20335 if (ac_aggr.f_bfree)
20341 rm -f conftest.$ac_objext
20342 if { (ac_try="$ac_compile"
20343 case "(($ac_try" in
20344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20345 *) ac_try_echo
=$ac_try;;
20347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20348 (eval "$ac_compile") 2>conftest.er1
20350 grep -v '^ *+' conftest.er1
>conftest.err
20352 cat conftest.err
>&5
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); } &&
20355 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20356 { (case "(($ac_try" in
20357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_try") 2>&5
20363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20364 (exit $ac_status); }; } &&
20365 { ac_try='test -s conftest.$ac_objext'
20366 { (case "(($ac_try" in
20367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20368 *) ac_try_echo
=$ac_try;;
20370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20371 (eval "$ac_try") 2>&5
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; }; then
20375 ac_cv_member_struct_statfs_f_bfree
=yes
20377 echo "$as_me: failed program was:" >&5
20378 sed 's/^/| /' conftest.
$ac_ext >&5
20380 cat >conftest.
$ac_ext <<_ACEOF
20383 cat confdefs.h
>>conftest.
$ac_ext
20384 cat >>conftest.
$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 #include <sys/types.h>
20387 #ifdef HAVE_SYS_PARAM_H
20388 # include <sys/param.h>
20390 #ifdef HAVE_SYS_MOUNT_H
20391 # include <sys/mount.h>
20393 #ifdef HAVE_SYS_VFS_H
20394 # include <sys/vfs.h>
20396 #ifdef HAVE_SYS_STATFS_H
20397 # include <sys/statfs.h>
20403 static struct statfs ac_aggr;
20404 if (sizeof ac_aggr.f_bfree)
20410 rm -f conftest.
$ac_objext
20411 if { (ac_try
="$ac_compile"
20412 case "(($ac_try" in
20413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20414 *) ac_try_echo=$ac_try;;
20416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20417 (eval "$ac_compile") 2>conftest.er1
20419 grep -v '^ *+' conftest.er1 >conftest.err
20421 cat conftest.err >&5
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); } &&
20424 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20425 { (case "(($ac_try" in
20426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20427 *) ac_try_echo
=$ac_try;;
20429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20430 (eval "$ac_try") 2>&5
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; } &&
20434 { ac_try
='test -s conftest.$ac_objext'
20435 { (case "(($ac_try" in
20436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20437 *) ac_try_echo=$ac_try;;
20439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20440 (eval "$ac_try") 2>&5
20442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20443 (exit $ac_status); }; }; then
20444 ac_cv_member_struct_statfs_f_bfree=yes
20446 echo "$as_me: failed program was:" >&5
20447 sed 's/^/| /' conftest.$ac_ext >&5
20449 ac_cv_member_struct_statfs_f_bfree=no
20452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20457 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bfree" >&5
20458 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bfree" >&6; }
20459 if test $ac_cv_member_struct_statfs_f_bfree = yes; then
20461 cat >>confdefs.h <<_ACEOF
20462 #define HAVE_STRUCT_STATFS_F_BFREE 1
20467 { echo "$as_me:$LINENO: checking for struct statfs.f_bavail" >&5
20468 echo $ECHO_N "checking for struct statfs.f_bavail... $ECHO_C" >&6; }
20469 if test "${ac_cv_member_struct_statfs_f_bavail+set}" = set; then
20470 echo $ECHO_N "(cached) $ECHO_C" >&6
20472 cat >conftest.$ac_ext <<_ACEOF
20475 cat confdefs.h >>conftest.$ac_ext
20476 cat >>conftest.$ac_ext <<_ACEOF
20477 /* end confdefs.h. */
20478 #include <sys/types.h>
20479 #ifdef HAVE_SYS_PARAM_H
20480 # include <sys/param.h>
20482 #ifdef HAVE_SYS_MOUNT_H
20483 # include <sys/mount.h>
20485 #ifdef HAVE_SYS_VFS_H
20486 # include <sys/vfs.h>
20488 #ifdef HAVE_SYS_STATFS_H
20489 # include <sys/statfs.h>
20495 static struct statfs ac_aggr;
20496 if (ac_aggr.f_bavail)
20502 rm -f conftest.$ac_objext
20503 if { (ac_try="$ac_compile"
20504 case "(($ac_try" in
20505 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20506 *) ac_try_echo
=$ac_try;;
20508 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20509 (eval "$ac_compile") 2>conftest.er1
20511 grep -v '^ *+' conftest.er1
>conftest.err
20513 cat conftest.err
>&5
20514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20515 (exit $ac_status); } &&
20516 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20517 { (case "(($ac_try" in
20518 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20519 *) ac_try_echo=$ac_try;;
20521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20522 (eval "$ac_try") 2>&5
20524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20525 (exit $ac_status); }; } &&
20526 { ac_try='test -s conftest.$ac_objext'
20527 { (case "(($ac_try" in
20528 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20529 *) ac_try_echo
=$ac_try;;
20531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20532 (eval "$ac_try") 2>&5
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 ac_cv_member_struct_statfs_f_bavail
=yes
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.
$ac_ext >&5
20541 cat >conftest.
$ac_ext <<_ACEOF
20544 cat confdefs.h
>>conftest.
$ac_ext
20545 cat >>conftest.
$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 #include <sys/types.h>
20548 #ifdef HAVE_SYS_PARAM_H
20549 # include <sys/param.h>
20551 #ifdef HAVE_SYS_MOUNT_H
20552 # include <sys/mount.h>
20554 #ifdef HAVE_SYS_VFS_H
20555 # include <sys/vfs.h>
20557 #ifdef HAVE_SYS_STATFS_H
20558 # include <sys/statfs.h>
20564 static struct statfs ac_aggr;
20565 if (sizeof ac_aggr.f_bavail)
20571 rm -f conftest.
$ac_objext
20572 if { (ac_try
="$ac_compile"
20573 case "(($ac_try" in
20574 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20575 *) ac_try_echo=$ac_try;;
20577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20578 (eval "$ac_compile") 2>conftest.er1
20580 grep -v '^ *+' conftest.er1 >conftest.err
20582 cat conftest.err >&5
20583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20584 (exit $ac_status); } &&
20585 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20586 { (case "(($ac_try" in
20587 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20588 *) ac_try_echo
=$ac_try;;
20590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20591 (eval "$ac_try") 2>&5
20593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20594 (exit $ac_status); }; } &&
20595 { ac_try
='test -s conftest.$ac_objext'
20596 { (case "(($ac_try" in
20597 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20598 *) ac_try_echo=$ac_try;;
20600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20601 (eval "$ac_try") 2>&5
20603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20604 (exit $ac_status); }; }; then
20605 ac_cv_member_struct_statfs_f_bavail=yes
20607 echo "$as_me: failed program was:" >&5
20608 sed 's/^/| /' conftest.$ac_ext >&5
20610 ac_cv_member_struct_statfs_f_bavail=no
20613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_bavail" >&5
20619 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_bavail" >&6; }
20620 if test $ac_cv_member_struct_statfs_f_bavail = yes; then
20622 cat >>confdefs.h <<_ACEOF
20623 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
20628 { echo "$as_me:$LINENO: checking for struct statfs.f_frsize" >&5
20629 echo $ECHO_N "checking for struct statfs.f_frsize... $ECHO_C" >&6; }
20630 if test "${ac_cv_member_struct_statfs_f_frsize+set}" = set; then
20631 echo $ECHO_N "(cached) $ECHO_C" >&6
20633 cat >conftest.$ac_ext <<_ACEOF
20636 cat confdefs.h >>conftest.$ac_ext
20637 cat >>conftest.$ac_ext <<_ACEOF
20638 /* end confdefs.h. */
20639 #include <sys/types.h>
20640 #ifdef HAVE_SYS_PARAM_H
20641 # include <sys/param.h>
20643 #ifdef HAVE_SYS_MOUNT_H
20644 # include <sys/mount.h>
20646 #ifdef HAVE_SYS_VFS_H
20647 # include <sys/vfs.h>
20649 #ifdef HAVE_SYS_STATFS_H
20650 # include <sys/statfs.h>
20656 static struct statfs ac_aggr;
20657 if (ac_aggr.f_frsize)
20663 rm -f conftest.$ac_objext
20664 if { (ac_try="$ac_compile"
20665 case "(($ac_try" in
20666 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20667 *) ac_try_echo
=$ac_try;;
20669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20670 (eval "$ac_compile") 2>conftest.er1
20672 grep -v '^ *+' conftest.er1
>conftest.err
20674 cat conftest.err
>&5
20675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20676 (exit $ac_status); } &&
20677 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20678 { (case "(($ac_try" in
20679 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20680 *) ac_try_echo=$ac_try;;
20682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20683 (eval "$ac_try") 2>&5
20685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20686 (exit $ac_status); }; } &&
20687 { ac_try='test -s conftest.$ac_objext'
20688 { (case "(($ac_try" in
20689 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20690 *) ac_try_echo
=$ac_try;;
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_try") 2>&5
20695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20696 (exit $ac_status); }; }; then
20697 ac_cv_member_struct_statfs_f_frsize
=yes
20699 echo "$as_me: failed program was:" >&5
20700 sed 's/^/| /' conftest.
$ac_ext >&5
20702 cat >conftest.
$ac_ext <<_ACEOF
20705 cat confdefs.h
>>conftest.
$ac_ext
20706 cat >>conftest.
$ac_ext <<_ACEOF
20707 /* end confdefs.h. */
20708 #include <sys/types.h>
20709 #ifdef HAVE_SYS_PARAM_H
20710 # include <sys/param.h>
20712 #ifdef HAVE_SYS_MOUNT_H
20713 # include <sys/mount.h>
20715 #ifdef HAVE_SYS_VFS_H
20716 # include <sys/vfs.h>
20718 #ifdef HAVE_SYS_STATFS_H
20719 # include <sys/statfs.h>
20725 static struct statfs ac_aggr;
20726 if (sizeof ac_aggr.f_frsize)
20732 rm -f conftest.
$ac_objext
20733 if { (ac_try
="$ac_compile"
20734 case "(($ac_try" in
20735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20736 *) ac_try_echo=$ac_try;;
20738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20739 (eval "$ac_compile") 2>conftest.er1
20741 grep -v '^ *+' conftest.er1 >conftest.err
20743 cat conftest.err >&5
20744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20745 (exit $ac_status); } &&
20746 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20747 { (case "(($ac_try" in
20748 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20749 *) ac_try_echo
=$ac_try;;
20751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20752 (eval "$ac_try") 2>&5
20754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20755 (exit $ac_status); }; } &&
20756 { ac_try
='test -s conftest.$ac_objext'
20757 { (case "(($ac_try" in
20758 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20759 *) ac_try_echo=$ac_try;;
20761 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20762 (eval "$ac_try") 2>&5
20764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20765 (exit $ac_status); }; }; then
20766 ac_cv_member_struct_statfs_f_frsize=yes
20768 echo "$as_me: failed program was:" >&5
20769 sed 's/^/| /' conftest.$ac_ext >&5
20771 ac_cv_member_struct_statfs_f_frsize=no
20774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20779 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_frsize" >&5
20780 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_frsize" >&6; }
20781 if test $ac_cv_member_struct_statfs_f_frsize = yes; then
20783 cat >>confdefs.h <<_ACEOF
20784 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
20789 { echo "$as_me:$LINENO: checking for struct statfs.f_ffree" >&5
20790 echo $ECHO_N "checking for struct statfs.f_ffree... $ECHO_C" >&6; }
20791 if test "${ac_cv_member_struct_statfs_f_ffree+set}" = set; then
20792 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 cat >conftest.$ac_ext <<_ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 #include <sys/types.h>
20801 #ifdef HAVE_SYS_PARAM_H
20802 # include <sys/param.h>
20804 #ifdef HAVE_SYS_MOUNT_H
20805 # include <sys/mount.h>
20807 #ifdef HAVE_SYS_VFS_H
20808 # include <sys/vfs.h>
20810 #ifdef HAVE_SYS_STATFS_H
20811 # include <sys/statfs.h>
20817 static struct statfs ac_aggr;
20818 if (ac_aggr.f_ffree)
20824 rm -f conftest.$ac_objext
20825 if { (ac_try="$ac_compile"
20826 case "(($ac_try" in
20827 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20828 *) ac_try_echo
=$ac_try;;
20830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20831 (eval "$ac_compile") 2>conftest.er1
20833 grep -v '^ *+' conftest.er1
>conftest.err
20835 cat conftest.err
>&5
20836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20837 (exit $ac_status); } &&
20838 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20839 { (case "(($ac_try" in
20840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20841 *) ac_try_echo=$ac_try;;
20843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20844 (eval "$ac_try") 2>&5
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; } &&
20848 { ac_try='test -s conftest.$ac_objext'
20849 { (case "(($ac_try" in
20850 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20851 *) ac_try_echo
=$ac_try;;
20853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20854 (eval "$ac_try") 2>&5
20856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20857 (exit $ac_status); }; }; then
20858 ac_cv_member_struct_statfs_f_ffree
=yes
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.
$ac_ext >&5
20863 cat >conftest.
$ac_ext <<_ACEOF
20866 cat confdefs.h
>>conftest.
$ac_ext
20867 cat >>conftest.
$ac_ext <<_ACEOF
20868 /* end confdefs.h. */
20869 #include <sys/types.h>
20870 #ifdef HAVE_SYS_PARAM_H
20871 # include <sys/param.h>
20873 #ifdef HAVE_SYS_MOUNT_H
20874 # include <sys/mount.h>
20876 #ifdef HAVE_SYS_VFS_H
20877 # include <sys/vfs.h>
20879 #ifdef HAVE_SYS_STATFS_H
20880 # include <sys/statfs.h>
20886 static struct statfs ac_aggr;
20887 if (sizeof ac_aggr.f_ffree)
20893 rm -f conftest.
$ac_objext
20894 if { (ac_try
="$ac_compile"
20895 case "(($ac_try" in
20896 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20897 *) ac_try_echo=$ac_try;;
20899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20900 (eval "$ac_compile") 2>conftest.er1
20902 grep -v '^ *+' conftest.er1 >conftest.err
20904 cat conftest.err >&5
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); } &&
20907 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20908 { (case "(($ac_try" in
20909 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20910 *) ac_try_echo
=$ac_try;;
20912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20913 (eval "$ac_try") 2>&5
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; } &&
20917 { ac_try
='test -s conftest.$ac_objext'
20918 { (case "(($ac_try" in
20919 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
20920 *) ac_try_echo=$ac_try;;
20922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923 (eval "$ac_try") 2>&5
20925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926 (exit $ac_status); }; }; then
20927 ac_cv_member_struct_statfs_f_ffree=yes
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20932 ac_cv_member_struct_statfs_f_ffree=no
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20940 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_ffree" >&5
20941 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_ffree" >&6; }
20942 if test $ac_cv_member_struct_statfs_f_ffree = yes; then
20944 cat >>confdefs.h <<_ACEOF
20945 #define HAVE_STRUCT_STATFS_F_FFREE 1
20950 { echo "$as_me:$LINENO: checking for struct statfs.f_favail" >&5
20951 echo $ECHO_N "checking for struct statfs.f_favail... $ECHO_C" >&6; }
20952 if test "${ac_cv_member_struct_statfs_f_favail+set}" = set; then
20953 echo $ECHO_N "(cached) $ECHO_C" >&6
20955 cat >conftest.$ac_ext <<_ACEOF
20958 cat confdefs.h >>conftest.$ac_ext
20959 cat >>conftest.$ac_ext <<_ACEOF
20960 /* end confdefs.h. */
20961 #include <sys/types.h>
20962 #ifdef HAVE_SYS_PARAM_H
20963 # include <sys/param.h>
20965 #ifdef HAVE_SYS_MOUNT_H
20966 # include <sys/mount.h>
20968 #ifdef HAVE_SYS_VFS_H
20969 # include <sys/vfs.h>
20971 #ifdef HAVE_SYS_STATFS_H
20972 # include <sys/statfs.h>
20978 static struct statfs ac_aggr;
20979 if (ac_aggr.f_favail)
20985 rm -f conftest.$ac_objext
20986 if { (ac_try="$ac_compile"
20987 case "(($ac_try" in
20988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
20989 *) ac_try_echo
=$ac_try;;
20991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20992 (eval "$ac_compile") 2>conftest.er1
20994 grep -v '^ *+' conftest.er1
>conftest.err
20996 cat conftest.err
>&5
20997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20998 (exit $ac_status); } &&
20999 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21000 { (case "(($ac_try" in
21001 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21002 *) ac_try_echo=$ac_try;;
21004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21005 (eval "$ac_try") 2>&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; } &&
21009 { ac_try='test -s conftest.$ac_objext'
21010 { (case "(($ac_try" in
21011 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21012 *) ac_try_echo
=$ac_try;;
21014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21015 (eval "$ac_try") 2>&5
21017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21018 (exit $ac_status); }; }; then
21019 ac_cv_member_struct_statfs_f_favail
=yes
21021 echo "$as_me: failed program was:" >&5
21022 sed 's/^/| /' conftest.
$ac_ext >&5
21024 cat >conftest.
$ac_ext <<_ACEOF
21027 cat confdefs.h
>>conftest.
$ac_ext
21028 cat >>conftest.
$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 #include <sys/types.h>
21031 #ifdef HAVE_SYS_PARAM_H
21032 # include <sys/param.h>
21034 #ifdef HAVE_SYS_MOUNT_H
21035 # include <sys/mount.h>
21037 #ifdef HAVE_SYS_VFS_H
21038 # include <sys/vfs.h>
21040 #ifdef HAVE_SYS_STATFS_H
21041 # include <sys/statfs.h>
21047 static struct statfs ac_aggr;
21048 if (sizeof ac_aggr.f_favail)
21054 rm -f conftest.
$ac_objext
21055 if { (ac_try
="$ac_compile"
21056 case "(($ac_try" in
21057 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21058 *) ac_try_echo=$ac_try;;
21060 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21061 (eval "$ac_compile") 2>conftest.er1
21063 grep -v '^ *+' conftest.er1 >conftest.err
21065 cat conftest.err >&5
21066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21067 (exit $ac_status); } &&
21068 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21069 { (case "(($ac_try" in
21070 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21071 *) ac_try_echo
=$ac_try;;
21073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21074 (eval "$ac_try") 2>&5
21076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21077 (exit $ac_status); }; } &&
21078 { ac_try
='test -s conftest.$ac_objext'
21079 { (case "(($ac_try" in
21080 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21081 *) ac_try_echo=$ac_try;;
21083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21084 (eval "$ac_try") 2>&5
21086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21087 (exit $ac_status); }; }; then
21088 ac_cv_member_struct_statfs_f_favail=yes
21090 echo "$as_me: failed program was:" >&5
21091 sed 's/^/| /' conftest.$ac_ext >&5
21093 ac_cv_member_struct_statfs_f_favail=no
21096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21101 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_favail" >&5
21102 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_favail" >&6; }
21103 if test $ac_cv_member_struct_statfs_f_favail = yes; then
21105 cat >>confdefs.h <<_ACEOF
21106 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
21111 { echo "$as_me:$LINENO: checking for struct statfs.f_namelen" >&5
21112 echo $ECHO_N "checking for struct statfs.f_namelen... $ECHO_C" >&6; }
21113 if test "${ac_cv_member_struct_statfs_f_namelen+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21116 cat >conftest.$ac_ext <<_ACEOF
21119 cat confdefs.h >>conftest.$ac_ext
21120 cat >>conftest.$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21122 #include <sys/types.h>
21123 #ifdef HAVE_SYS_PARAM_H
21124 # include <sys/param.h>
21126 #ifdef HAVE_SYS_MOUNT_H
21127 # include <sys/mount.h>
21129 #ifdef HAVE_SYS_VFS_H
21130 # include <sys/vfs.h>
21132 #ifdef HAVE_SYS_STATFS_H
21133 # include <sys/statfs.h>
21139 static struct statfs ac_aggr;
21140 if (ac_aggr.f_namelen)
21146 rm -f conftest.$ac_objext
21147 if { (ac_try="$ac_compile"
21148 case "(($ac_try" in
21149 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21150 *) ac_try_echo
=$ac_try;;
21152 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21153 (eval "$ac_compile") 2>conftest.er1
21155 grep -v '^ *+' conftest.er1
>conftest.err
21157 cat conftest.err
>&5
21158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21159 (exit $ac_status); } &&
21160 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21161 { (case "(($ac_try" in
21162 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21163 *) ac_try_echo=$ac_try;;
21165 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21166 (eval "$ac_try") 2>&5
21168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21169 (exit $ac_status); }; } &&
21170 { ac_try='test -s conftest.$ac_objext'
21171 { (case "(($ac_try" in
21172 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21173 *) ac_try_echo
=$ac_try;;
21175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21176 (eval "$ac_try") 2>&5
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; }; then
21180 ac_cv_member_struct_statfs_f_namelen
=yes
21182 echo "$as_me: failed program was:" >&5
21183 sed 's/^/| /' conftest.
$ac_ext >&5
21185 cat >conftest.
$ac_ext <<_ACEOF
21188 cat confdefs.h
>>conftest.
$ac_ext
21189 cat >>conftest.
$ac_ext <<_ACEOF
21190 /* end confdefs.h. */
21191 #include <sys/types.h>
21192 #ifdef HAVE_SYS_PARAM_H
21193 # include <sys/param.h>
21195 #ifdef HAVE_SYS_MOUNT_H
21196 # include <sys/mount.h>
21198 #ifdef HAVE_SYS_VFS_H
21199 # include <sys/vfs.h>
21201 #ifdef HAVE_SYS_STATFS_H
21202 # include <sys/statfs.h>
21208 static struct statfs ac_aggr;
21209 if (sizeof ac_aggr.f_namelen)
21215 rm -f conftest.
$ac_objext
21216 if { (ac_try
="$ac_compile"
21217 case "(($ac_try" in
21218 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21219 *) ac_try_echo=$ac_try;;
21221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21222 (eval "$ac_compile") 2>conftest.er1
21224 grep -v '^ *+' conftest.er1 >conftest.err
21226 cat conftest.err >&5
21227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21228 (exit $ac_status); } &&
21229 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21230 { (case "(($ac_try" in
21231 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21232 *) ac_try_echo
=$ac_try;;
21234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21235 (eval "$ac_try") 2>&5
21237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21238 (exit $ac_status); }; } &&
21239 { ac_try
='test -s conftest.$ac_objext'
21240 { (case "(($ac_try" in
21241 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21242 *) ac_try_echo=$ac_try;;
21244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21245 (eval "$ac_try") 2>&5
21247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21248 (exit $ac_status); }; }; then
21249 ac_cv_member_struct_statfs_f_namelen=yes
21251 echo "$as_me: failed program was:" >&5
21252 sed 's/^/| /' conftest.$ac_ext >&5
21254 ac_cv_member_struct_statfs_f_namelen=no
21257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21262 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statfs_f_namelen" >&5
21263 echo "${ECHO_T}$ac_cv_member_struct_statfs_f_namelen" >&6; }
21264 if test $ac_cv_member_struct_statfs_f_namelen = yes; then
21266 cat >>confdefs.h <<_ACEOF
21267 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
21274 { echo "$as_me:$LINENO: checking for struct statvfs.f_blocks" >&5
21275 echo $ECHO_N "checking for struct statvfs.f_blocks... $ECHO_C" >&6; }
21276 if test "${ac_cv_member_struct_statvfs_f_blocks+set}" = set; then
21277 echo $ECHO_N "(cached) $ECHO_C" >&6
21279 cat >conftest.$ac_ext <<_ACEOF
21282 cat confdefs.h >>conftest.$ac_ext
21283 cat >>conftest.$ac_ext <<_ACEOF
21284 /* end confdefs.h. */
21285 #ifdef HAVE_SYS_STATVFS_H
21286 #include <sys/statvfs.h>
21292 static struct statvfs ac_aggr;
21293 if (ac_aggr.f_blocks)
21299 rm -f conftest.$ac_objext
21300 if { (ac_try="$ac_compile"
21301 case "(($ac_try" in
21302 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21303 *) ac_try_echo
=$ac_try;;
21305 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21306 (eval "$ac_compile") 2>conftest.er1
21308 grep -v '^ *+' conftest.er1
>conftest.err
21310 cat conftest.err
>&5
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); } &&
21313 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21314 { (case "(($ac_try" in
21315 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21316 *) ac_try_echo=$ac_try;;
21318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21319 (eval "$ac_try") 2>&5
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; } &&
21323 { ac_try='test -s conftest.$ac_objext'
21324 { (case "(($ac_try" in
21325 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21326 *) ac_try_echo
=$ac_try;;
21328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21329 (eval "$ac_try") 2>&5
21331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21332 (exit $ac_status); }; }; then
21333 ac_cv_member_struct_statvfs_f_blocks
=yes
21335 echo "$as_me: failed program was:" >&5
21336 sed 's/^/| /' conftest.
$ac_ext >&5
21338 cat >conftest.
$ac_ext <<_ACEOF
21341 cat confdefs.h
>>conftest.
$ac_ext
21342 cat >>conftest.
$ac_ext <<_ACEOF
21343 /* end confdefs.h. */
21344 #ifdef HAVE_SYS_STATVFS_H
21345 #include <sys/statvfs.h>
21351 static struct statvfs ac_aggr;
21352 if (sizeof ac_aggr.f_blocks)
21358 rm -f conftest.
$ac_objext
21359 if { (ac_try
="$ac_compile"
21360 case "(($ac_try" in
21361 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21362 *) ac_try_echo=$ac_try;;
21364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21365 (eval "$ac_compile") 2>conftest.er1
21367 grep -v '^ *+' conftest.er1 >conftest.err
21369 cat conftest.err >&5
21370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21371 (exit $ac_status); } &&
21372 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21373 { (case "(($ac_try" in
21374 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21375 *) ac_try_echo
=$ac_try;;
21377 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21378 (eval "$ac_try") 2>&5
21380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21381 (exit $ac_status); }; } &&
21382 { ac_try
='test -s conftest.$ac_objext'
21383 { (case "(($ac_try" in
21384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21385 *) ac_try_echo=$ac_try;;
21387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21388 (eval "$ac_try") 2>&5
21390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21391 (exit $ac_status); }; }; then
21392 ac_cv_member_struct_statvfs_f_blocks=yes
21394 echo "$as_me: failed program was:" >&5
21395 sed 's/^/| /' conftest.$ac_ext >&5
21397 ac_cv_member_struct_statvfs_f_blocks=no
21400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_statvfs_f_blocks" >&5
21406 echo "${ECHO_T}$ac_cv_member_struct_statvfs_f_blocks" >&6; }
21407 if test $ac_cv_member_struct_statvfs_f_blocks = yes; then
21409 cat >>confdefs.h <<_ACEOF
21410 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
21417 { echo "$as_me:$LINENO: checking for struct msghdr.msg_accrights" >&5
21418 echo $ECHO_N "checking for struct msghdr.msg_accrights... $ECHO_C" >&6; }
21419 if test "${ac_cv_member_struct_msghdr_msg_accrights+set}" = set; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21422 cat >conftest.$ac_ext <<_ACEOF
21425 cat confdefs.h >>conftest.$ac_ext
21426 cat >>conftest.$ac_ext <<_ACEOF
21427 /* end confdefs.h. */
21428 #include <sys/types.h>
21429 #ifdef HAVE_SYS_SOCKET_H
21430 # include <sys/socket.h>
21432 #ifdef HAVE_SYS_UN_H
21433 # include <sys/un.h>
21439 static struct msghdr ac_aggr;
21440 if (ac_aggr.msg_accrights)
21446 rm -f conftest.$ac_objext
21447 if { (ac_try="$ac_compile"
21448 case "(($ac_try" in
21449 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21450 *) ac_try_echo
=$ac_try;;
21452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21453 (eval "$ac_compile") 2>conftest.er1
21455 grep -v '^ *+' conftest.er1
>conftest.err
21457 cat conftest.err
>&5
21458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21459 (exit $ac_status); } &&
21460 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21461 { (case "(($ac_try" in
21462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21463 *) ac_try_echo=$ac_try;;
21465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21466 (eval "$ac_try") 2>&5
21468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21469 (exit $ac_status); }; } &&
21470 { ac_try='test -s conftest.$ac_objext'
21471 { (case "(($ac_try" in
21472 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21473 *) ac_try_echo
=$ac_try;;
21475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21476 (eval "$ac_try") 2>&5
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; }; then
21480 ac_cv_member_struct_msghdr_msg_accrights
=yes
21482 echo "$as_me: failed program was:" >&5
21483 sed 's/^/| /' conftest.
$ac_ext >&5
21485 cat >conftest.
$ac_ext <<_ACEOF
21488 cat confdefs.h
>>conftest.
$ac_ext
21489 cat >>conftest.
$ac_ext <<_ACEOF
21490 /* end confdefs.h. */
21491 #include <sys/types.h>
21492 #ifdef HAVE_SYS_SOCKET_H
21493 # include <sys/socket.h>
21495 #ifdef HAVE_SYS_UN_H
21496 # include <sys/un.h>
21502 static struct msghdr ac_aggr;
21503 if (sizeof ac_aggr.msg_accrights)
21509 rm -f conftest.
$ac_objext
21510 if { (ac_try
="$ac_compile"
21511 case "(($ac_try" in
21512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21513 *) ac_try_echo=$ac_try;;
21515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21516 (eval "$ac_compile") 2>conftest.er1
21518 grep -v '^ *+' conftest.er1 >conftest.err
21520 cat conftest.err >&5
21521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21522 (exit $ac_status); } &&
21523 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21524 { (case "(($ac_try" in
21525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21526 *) ac_try_echo
=$ac_try;;
21528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21529 (eval "$ac_try") 2>&5
21531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21532 (exit $ac_status); }; } &&
21533 { ac_try
='test -s conftest.$ac_objext'
21534 { (case "(($ac_try" in
21535 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21536 *) ac_try_echo=$ac_try;;
21538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21539 (eval "$ac_try") 2>&5
21541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21542 (exit $ac_status); }; }; then
21543 ac_cv_member_struct_msghdr_msg_accrights=yes
21545 echo "$as_me: failed program was:" >&5
21546 sed 's/^/| /' conftest.$ac_ext >&5
21548 ac_cv_member_struct_msghdr_msg_accrights=no
21551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21556 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_msghdr_msg_accrights" >&5
21557 echo "${ECHO_T}$ac_cv_member_struct_msghdr_msg_accrights" >&6; }
21558 if test $ac_cv_member_struct_msghdr_msg_accrights = yes; then
21560 cat >>confdefs.h <<_ACEOF
21561 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
21566 { echo "$as_me:$LINENO: checking for struct sockaddr.sa_len" >&5
21567 echo $ECHO_N "checking for struct sockaddr.sa_len... $ECHO_C" >&6; }
21568 if test "${ac_cv_member_struct_sockaddr_sa_len+set}" = set; then
21569 echo $ECHO_N "(cached) $ECHO_C" >&6
21571 cat >conftest.$ac_ext <<_ACEOF
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577 #include <sys/types.h>
21578 #ifdef HAVE_SYS_SOCKET_H
21579 # include <sys/socket.h>
21581 #ifdef HAVE_SYS_UN_H
21582 # include <sys/un.h>
21588 static struct sockaddr ac_aggr;
21589 if (ac_aggr.sa_len)
21595 rm -f conftest.$ac_objext
21596 if { (ac_try="$ac_compile"
21597 case "(($ac_try" in
21598 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21599 *) ac_try_echo
=$ac_try;;
21601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21602 (eval "$ac_compile") 2>conftest.er1
21604 grep -v '^ *+' conftest.er1
>conftest.err
21606 cat conftest.err
>&5
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); } &&
21609 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21610 { (case "(($ac_try" in
21611 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21612 *) ac_try_echo=$ac_try;;
21614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21615 (eval "$ac_try") 2>&5
21617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21618 (exit $ac_status); }; } &&
21619 { ac_try='test -s conftest.$ac_objext'
21620 { (case "(($ac_try" in
21621 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21622 *) ac_try_echo
=$ac_try;;
21624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21625 (eval "$ac_try") 2>&5
21627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21628 (exit $ac_status); }; }; then
21629 ac_cv_member_struct_sockaddr_sa_len
=yes
21631 echo "$as_me: failed program was:" >&5
21632 sed 's/^/| /' conftest.
$ac_ext >&5
21634 cat >conftest.
$ac_ext <<_ACEOF
21637 cat confdefs.h
>>conftest.
$ac_ext
21638 cat >>conftest.
$ac_ext <<_ACEOF
21639 /* end confdefs.h. */
21640 #include <sys/types.h>
21641 #ifdef HAVE_SYS_SOCKET_H
21642 # include <sys/socket.h>
21644 #ifdef HAVE_SYS_UN_H
21645 # include <sys/un.h>
21651 static struct sockaddr ac_aggr;
21652 if (sizeof ac_aggr.sa_len)
21658 rm -f conftest.
$ac_objext
21659 if { (ac_try
="$ac_compile"
21660 case "(($ac_try" in
21661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21662 *) ac_try_echo=$ac_try;;
21664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21665 (eval "$ac_compile") 2>conftest.er1
21667 grep -v '^ *+' conftest.er1 >conftest.err
21669 cat conftest.err >&5
21670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21671 (exit $ac_status); } &&
21672 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21673 { (case "(($ac_try" in
21674 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21675 *) ac_try_echo
=$ac_try;;
21677 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21678 (eval "$ac_try") 2>&5
21680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21681 (exit $ac_status); }; } &&
21682 { ac_try
='test -s conftest.$ac_objext'
21683 { (case "(($ac_try" in
21684 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21685 *) ac_try_echo=$ac_try;;
21687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21688 (eval "$ac_try") 2>&5
21690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21691 (exit $ac_status); }; }; then
21692 ac_cv_member_struct_sockaddr_sa_len=yes
21694 echo "$as_me: failed program was:" >&5
21695 sed 's/^/| /' conftest.$ac_ext >&5
21697 ac_cv_member_struct_sockaddr_sa_len=no
21700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21705 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_sa_len" >&5
21706 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_sa_len" >&6; }
21707 if test $ac_cv_member_struct_sockaddr_sa_len = yes; then
21709 cat >>confdefs.h <<_ACEOF
21710 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
21715 { echo "$as_me:$LINENO: checking for struct sockaddr_un.sun_len" >&5
21716 echo $ECHO_N "checking for struct sockaddr_un.sun_len... $ECHO_C" >&6; }
21717 if test "${ac_cv_member_struct_sockaddr_un_sun_len+set}" = set; then
21718 echo $ECHO_N "(cached) $ECHO_C" >&6
21720 cat >conftest.$ac_ext <<_ACEOF
21723 cat confdefs.h >>conftest.$ac_ext
21724 cat >>conftest.$ac_ext <<_ACEOF
21725 /* end confdefs.h. */
21726 #include <sys/types.h>
21727 #ifdef HAVE_SYS_SOCKET_H
21728 # include <sys/socket.h>
21730 #ifdef HAVE_SYS_UN_H
21731 # include <sys/un.h>
21737 static struct sockaddr_un ac_aggr;
21738 if (ac_aggr.sun_len)
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21748 *) ac_try_echo
=$ac_try;;
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21753 grep -v '^ *+' conftest.er1
>conftest.err
21755 cat conftest.err
>&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } &&
21758 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21759 { (case "(($ac_try" in
21760 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21761 *) ac_try_echo=$ac_try;;
21763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21764 (eval "$ac_try") 2>&5
21766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21767 (exit $ac_status); }; } &&
21768 { ac_try='test -s conftest.$ac_objext'
21769 { (case "(($ac_try" in
21770 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21771 *) ac_try_echo
=$ac_try;;
21773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21774 (eval "$ac_try") 2>&5
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; }; then
21778 ac_cv_member_struct_sockaddr_un_sun_len
=yes
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.
$ac_ext >&5
21783 cat >conftest.
$ac_ext <<_ACEOF
21786 cat confdefs.h
>>conftest.
$ac_ext
21787 cat >>conftest.
$ac_ext <<_ACEOF
21788 /* end confdefs.h. */
21789 #include <sys/types.h>
21790 #ifdef HAVE_SYS_SOCKET_H
21791 # include <sys/socket.h>
21793 #ifdef HAVE_SYS_UN_H
21794 # include <sys/un.h>
21800 static struct sockaddr_un ac_aggr;
21801 if (sizeof ac_aggr.sun_len)
21807 rm -f conftest.
$ac_objext
21808 if { (ac_try
="$ac_compile"
21809 case "(($ac_try" in
21810 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21811 *) ac_try_echo=$ac_try;;
21813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21814 (eval "$ac_compile") 2>conftest.er1
21816 grep -v '^ *+' conftest.er1 >conftest.err
21818 cat conftest.err >&5
21819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21820 (exit $ac_status); } &&
21821 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21822 { (case "(($ac_try" in
21823 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21824 *) ac_try_echo
=$ac_try;;
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_try") 2>&5
21829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21830 (exit $ac_status); }; } &&
21831 { ac_try
='test -s conftest.$ac_objext'
21832 { (case "(($ac_try" in
21833 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21834 *) ac_try_echo=$ac_try;;
21836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21837 (eval "$ac_try") 2>&5
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; }; then
21841 ac_cv_member_struct_sockaddr_un_sun_len=yes
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21846 ac_cv_member_struct_sockaddr_un_sun_len=no
21849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21854 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_un_sun_len" >&5
21855 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_un_sun_len" >&6; }
21856 if test $ac_cv_member_struct_sockaddr_un_sun_len = yes; then
21858 cat >>confdefs.h <<_ACEOF
21859 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
21866 { echo "$as_me:$LINENO: checking for scsireq_t.cmd" >&5
21867 echo $ECHO_N "checking for scsireq_t.cmd... $ECHO_C" >&6; }
21868 if test "${ac_cv_member_scsireq_t_cmd+set}" = set; then
21869 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 cat >conftest.$ac_ext <<_ACEOF
21874 cat confdefs.h >>conftest.$ac_ext
21875 cat >>conftest.$ac_ext <<_ACEOF
21876 /* end confdefs.h. */
21877 #include <sys/types.h>
21878 #ifdef HAVE_SCSI_SG_H
21879 #include <scsi/sg.h>
21885 static scsireq_t ac_aggr;
21892 rm -f conftest.$ac_objext
21893 if { (ac_try="$ac_compile"
21894 case "(($ac_try" in
21895 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21896 *) ac_try_echo
=$ac_try;;
21898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21899 (eval "$ac_compile") 2>conftest.er1
21901 grep -v '^ *+' conftest.er1
>conftest.err
21903 cat conftest.err
>&5
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); } &&
21906 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21907 { (case "(($ac_try" in
21908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21909 *) ac_try_echo=$ac_try;;
21911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21912 (eval "$ac_try") 2>&5
21914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21915 (exit $ac_status); }; } &&
21916 { ac_try='test -s conftest.$ac_objext'
21917 { (case "(($ac_try" in
21918 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21919 *) ac_try_echo
=$ac_try;;
21921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21922 (eval "$ac_try") 2>&5
21924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21925 (exit $ac_status); }; }; then
21926 ac_cv_member_scsireq_t_cmd
=yes
21928 echo "$as_me: failed program was:" >&5
21929 sed 's/^/| /' conftest.
$ac_ext >&5
21931 cat >conftest.
$ac_ext <<_ACEOF
21934 cat confdefs.h
>>conftest.
$ac_ext
21935 cat >>conftest.
$ac_ext <<_ACEOF
21936 /* end confdefs.h. */
21937 #include <sys/types.h>
21938 #ifdef HAVE_SCSI_SG_H
21939 #include <scsi/sg.h>
21945 static scsireq_t ac_aggr;
21946 if (sizeof ac_aggr.cmd)
21952 rm -f conftest.
$ac_objext
21953 if { (ac_try
="$ac_compile"
21954 case "(($ac_try" in
21955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21956 *) ac_try_echo=$ac_try;;
21958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21959 (eval "$ac_compile") 2>conftest.er1
21961 grep -v '^ *+' conftest.er1 >conftest.err
21963 cat conftest.err >&5
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); } &&
21966 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21967 { (case "(($ac_try" in
21968 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
21969 *) ac_try_echo
=$ac_try;;
21971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21972 (eval "$ac_try") 2>&5
21974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21975 (exit $ac_status); }; } &&
21976 { ac_try
='test -s conftest.$ac_objext'
21977 { (case "(($ac_try" in
21978 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
21979 *) ac_try_echo=$ac_try;;
21981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21982 (eval "$ac_try") 2>&5
21984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21985 (exit $ac_status); }; }; then
21986 ac_cv_member_scsireq_t_cmd=yes
21988 echo "$as_me: failed program was:" >&5
21989 sed 's/^/| /' conftest.$ac_ext >&5
21991 ac_cv_member_scsireq_t_cmd=no
21994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21999 { echo "$as_me:$LINENO: result: $ac_cv_member_scsireq_t_cmd" >&5
22000 echo "${ECHO_T}$ac_cv_member_scsireq_t_cmd" >&6; }
22001 if test $ac_cv_member_scsireq_t_cmd = yes; then
22003 cat >>confdefs.h <<_ACEOF
22004 #define HAVE_SCSIREQ_T_CMD 1
22009 { echo "$as_me:$LINENO: checking for sg_io_hdr_t.interface_id" >&5
22010 echo $ECHO_N "checking for sg_io_hdr_t.interface_id... $ECHO_C" >&6; }
22011 if test "${ac_cv_member_sg_io_hdr_t_interface_id+set}" = set; then
22012 echo $ECHO_N "(cached) $ECHO_C" >&6
22014 cat >conftest.$ac_ext <<_ACEOF
22017 cat confdefs.h >>conftest.$ac_ext
22018 cat >>conftest.$ac_ext <<_ACEOF
22019 /* end confdefs.h. */
22020 #include <sys/types.h>
22021 #ifdef HAVE_SCSI_SG_H
22022 #include <scsi/sg.h>
22028 static sg_io_hdr_t ac_aggr;
22029 if (ac_aggr.interface_id)
22035 rm -f conftest.$ac_objext
22036 if { (ac_try="$ac_compile"
22037 case "(($ac_try" in
22038 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22039 *) ac_try_echo
=$ac_try;;
22041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22042 (eval "$ac_compile") 2>conftest.er1
22044 grep -v '^ *+' conftest.er1
>conftest.err
22046 cat conftest.err
>&5
22047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22048 (exit $ac_status); } &&
22049 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22050 { (case "(($ac_try" in
22051 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22052 *) ac_try_echo=$ac_try;;
22054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22055 (eval "$ac_try") 2>&5
22057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22058 (exit $ac_status); }; } &&
22059 { ac_try='test -s conftest.$ac_objext'
22060 { (case "(($ac_try" in
22061 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22062 *) ac_try_echo
=$ac_try;;
22064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22065 (eval "$ac_try") 2>&5
22067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22068 (exit $ac_status); }; }; then
22069 ac_cv_member_sg_io_hdr_t_interface_id
=yes
22071 echo "$as_me: failed program was:" >&5
22072 sed 's/^/| /' conftest.
$ac_ext >&5
22074 cat >conftest.
$ac_ext <<_ACEOF
22077 cat confdefs.h
>>conftest.
$ac_ext
22078 cat >>conftest.
$ac_ext <<_ACEOF
22079 /* end confdefs.h. */
22080 #include <sys/types.h>
22081 #ifdef HAVE_SCSI_SG_H
22082 #include <scsi/sg.h>
22088 static sg_io_hdr_t ac_aggr;
22089 if (sizeof ac_aggr.interface_id)
22095 rm -f conftest.
$ac_objext
22096 if { (ac_try
="$ac_compile"
22097 case "(($ac_try" in
22098 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22099 *) ac_try_echo=$ac_try;;
22101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22102 (eval "$ac_compile") 2>conftest.er1
22104 grep -v '^ *+' conftest.er1 >conftest.err
22106 cat conftest.err >&5
22107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22108 (exit $ac_status); } &&
22109 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22110 { (case "(($ac_try" in
22111 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22112 *) ac_try_echo
=$ac_try;;
22114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22115 (eval "$ac_try") 2>&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); }; } &&
22119 { ac_try
='test -s conftest.$ac_objext'
22120 { (case "(($ac_try" in
22121 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22122 *) ac_try_echo=$ac_try;;
22124 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22125 (eval "$ac_try") 2>&5
22127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22128 (exit $ac_status); }; }; then
22129 ac_cv_member_sg_io_hdr_t_interface_id=yes
22131 echo "$as_me: failed program was:" >&5
22132 sed 's/^/| /' conftest.$ac_ext >&5
22134 ac_cv_member_sg_io_hdr_t_interface_id=no
22137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22142 { echo "$as_me:$LINENO: result: $ac_cv_member_sg_io_hdr_t_interface_id" >&5
22143 echo "${ECHO_T}$ac_cv_member_sg_io_hdr_t_interface_id" >&6; }
22144 if test $ac_cv_member_sg_io_hdr_t_interface_id = yes; then
22146 cat >>confdefs.h <<_ACEOF
22147 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
22154 { echo "$as_me:$LINENO: checking for siginfo_t.si_fd" >&5
22155 echo $ECHO_N "checking for siginfo_t.si_fd... $ECHO_C" >&6; }
22156 if test "${ac_cv_member_siginfo_t_si_fd+set}" = set; then
22157 echo $ECHO_N "(cached) $ECHO_C" >&6
22159 cat >conftest.$ac_ext <<_ACEOF
22162 cat confdefs.h >>conftest.$ac_ext
22163 cat >>conftest.$ac_ext <<_ACEOF
22164 /* end confdefs.h. */
22165 #include <signal.h>
22170 static siginfo_t ac_aggr;
22177 rm -f conftest.$ac_objext
22178 if { (ac_try="$ac_compile"
22179 case "(($ac_try" in
22180 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22181 *) ac_try_echo
=$ac_try;;
22183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22184 (eval "$ac_compile") 2>conftest.er1
22186 grep -v '^ *+' conftest.er1
>conftest.err
22188 cat conftest.err
>&5
22189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22190 (exit $ac_status); } &&
22191 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22192 { (case "(($ac_try" in
22193 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22194 *) ac_try_echo=$ac_try;;
22196 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22197 (eval "$ac_try") 2>&5
22199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22200 (exit $ac_status); }; } &&
22201 { ac_try='test -s conftest.$ac_objext'
22202 { (case "(($ac_try" in
22203 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22204 *) ac_try_echo
=$ac_try;;
22206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22207 (eval "$ac_try") 2>&5
22209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22210 (exit $ac_status); }; }; then
22211 ac_cv_member_siginfo_t_si_fd
=yes
22213 echo "$as_me: failed program was:" >&5
22214 sed 's/^/| /' conftest.
$ac_ext >&5
22216 cat >conftest.
$ac_ext <<_ACEOF
22219 cat confdefs.h
>>conftest.
$ac_ext
22220 cat >>conftest.
$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 #include <signal.h>
22227 static siginfo_t ac_aggr;
22228 if (sizeof ac_aggr.si_fd)
22234 rm -f conftest.
$ac_objext
22235 if { (ac_try
="$ac_compile"
22236 case "(($ac_try" in
22237 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22238 *) ac_try_echo=$ac_try;;
22240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22241 (eval "$ac_compile") 2>conftest.er1
22243 grep -v '^ *+' conftest.er1 >conftest.err
22245 cat conftest.err >&5
22246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22247 (exit $ac_status); } &&
22248 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22249 { (case "(($ac_try" in
22250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22251 *) ac_try_echo
=$ac_try;;
22253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22254 (eval "$ac_try") 2>&5
22256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22257 (exit $ac_status); }; } &&
22258 { ac_try
='test -s conftest.$ac_objext'
22259 { (case "(($ac_try" in
22260 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22261 *) ac_try_echo=$ac_try;;
22263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22264 (eval "$ac_try") 2>&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22268 ac_cv_member_siginfo_t_si_fd=yes
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22273 ac_cv_member_siginfo_t_si_fd=no
22276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 { echo "$as_me:$LINENO: result: $ac_cv_member_siginfo_t_si_fd" >&5
22282 echo "${ECHO_T}$ac_cv_member_siginfo_t_si_fd" >&6; }
22283 if test $ac_cv_member_siginfo_t_si_fd = yes; then
22285 cat >>confdefs.h <<_ACEOF
22286 #define HAVE_SIGINFO_T_SI_FD 1
22293 { echo "$as_me:$LINENO: checking for struct mtget.mt_blksiz" >&5
22294 echo $ECHO_N "checking for struct mtget.mt_blksiz... $ECHO_C" >&6; }
22295 if test "${ac_cv_member_struct_mtget_mt_blksiz+set}" = set; then
22296 echo $ECHO_N "(cached) $ECHO_C" >&6
22298 cat >conftest.$ac_ext <<_ACEOF
22301 cat confdefs.h >>conftest.$ac_ext
22302 cat >>conftest.$ac_ext <<_ACEOF
22303 /* end confdefs.h. */
22304 #include <sys/types.h>
22305 #ifdef HAVE_SYS_MTIO_H
22306 #include <sys/mtio.h>
22312 static struct mtget ac_aggr;
22313 if (ac_aggr.mt_blksiz)
22319 rm -f conftest.$ac_objext
22320 if { (ac_try="$ac_compile"
22321 case "(($ac_try" in
22322 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22323 *) ac_try_echo
=$ac_try;;
22325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22326 (eval "$ac_compile") 2>conftest.er1
22328 grep -v '^ *+' conftest.er1
>conftest.err
22330 cat conftest.err
>&5
22331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22332 (exit $ac_status); } &&
22333 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22334 { (case "(($ac_try" in
22335 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22336 *) ac_try_echo=$ac_try;;
22338 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22339 (eval "$ac_try") 2>&5
22341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22342 (exit $ac_status); }; } &&
22343 { ac_try='test -s conftest.$ac_objext'
22344 { (case "(($ac_try" in
22345 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22346 *) ac_try_echo
=$ac_try;;
22348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22349 (eval "$ac_try") 2>&5
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; }; then
22353 ac_cv_member_struct_mtget_mt_blksiz
=yes
22355 echo "$as_me: failed program was:" >&5
22356 sed 's/^/| /' conftest.
$ac_ext >&5
22358 cat >conftest.
$ac_ext <<_ACEOF
22361 cat confdefs.h
>>conftest.
$ac_ext
22362 cat >>conftest.
$ac_ext <<_ACEOF
22363 /* end confdefs.h. */
22364 #include <sys/types.h>
22365 #ifdef HAVE_SYS_MTIO_H
22366 #include <sys/mtio.h>
22372 static struct mtget ac_aggr;
22373 if (sizeof ac_aggr.mt_blksiz)
22379 rm -f conftest.
$ac_objext
22380 if { (ac_try
="$ac_compile"
22381 case "(($ac_try" in
22382 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22383 *) ac_try_echo=$ac_try;;
22385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22386 (eval "$ac_compile") 2>conftest.er1
22388 grep -v '^ *+' conftest.er1 >conftest.err
22390 cat conftest.err >&5
22391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22392 (exit $ac_status); } &&
22393 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22394 { (case "(($ac_try" in
22395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22396 *) ac_try_echo
=$ac_try;;
22398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22399 (eval "$ac_try") 2>&5
22401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22402 (exit $ac_status); }; } &&
22403 { ac_try
='test -s conftest.$ac_objext'
22404 { (case "(($ac_try" in
22405 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22406 *) ac_try_echo=$ac_try;;
22408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22409 (eval "$ac_try") 2>&5
22411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22412 (exit $ac_status); }; }; then
22413 ac_cv_member_struct_mtget_mt_blksiz=yes
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.$ac_ext >&5
22418 ac_cv_member_struct_mtget_mt_blksiz=no
22421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22426 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blksiz" >&5
22427 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blksiz" >&6; }
22428 if test $ac_cv_member_struct_mtget_mt_blksiz = yes; then
22430 cat >>confdefs.h <<_ACEOF
22431 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
22436 { echo "$as_me:$LINENO: checking for struct mtget.mt_gstat" >&5
22437 echo $ECHO_N "checking for struct mtget.mt_gstat... $ECHO_C" >&6; }
22438 if test "${ac_cv_member_struct_mtget_mt_gstat+set}" = set; then
22439 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 cat >conftest.$ac_ext <<_ACEOF
22444 cat confdefs.h >>conftest.$ac_ext
22445 cat >>conftest.$ac_ext <<_ACEOF
22446 /* end confdefs.h. */
22447 #include <sys/types.h>
22448 #ifdef HAVE_SYS_MTIO_H
22449 #include <sys/mtio.h>
22455 static struct mtget ac_aggr;
22456 if (ac_aggr.mt_gstat)
22462 rm -f conftest.$ac_objext
22463 if { (ac_try="$ac_compile"
22464 case "(($ac_try" in
22465 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22466 *) ac_try_echo
=$ac_try;;
22468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22469 (eval "$ac_compile") 2>conftest.er1
22471 grep -v '^ *+' conftest.er1
>conftest.err
22473 cat conftest.err
>&5
22474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22475 (exit $ac_status); } &&
22476 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22477 { (case "(($ac_try" in
22478 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22479 *) ac_try_echo=$ac_try;;
22481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22482 (eval "$ac_try") 2>&5
22484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22485 (exit $ac_status); }; } &&
22486 { ac_try='test -s conftest.$ac_objext'
22487 { (case "(($ac_try" in
22488 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22489 *) ac_try_echo
=$ac_try;;
22491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22492 (eval "$ac_try") 2>&5
22494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22495 (exit $ac_status); }; }; then
22496 ac_cv_member_struct_mtget_mt_gstat
=yes
22498 echo "$as_me: failed program was:" >&5
22499 sed 's/^/| /' conftest.
$ac_ext >&5
22501 cat >conftest.
$ac_ext <<_ACEOF
22504 cat confdefs.h
>>conftest.
$ac_ext
22505 cat >>conftest.
$ac_ext <<_ACEOF
22506 /* end confdefs.h. */
22507 #include <sys/types.h>
22508 #ifdef HAVE_SYS_MTIO_H
22509 #include <sys/mtio.h>
22515 static struct mtget ac_aggr;
22516 if (sizeof ac_aggr.mt_gstat)
22522 rm -f conftest.
$ac_objext
22523 if { (ac_try
="$ac_compile"
22524 case "(($ac_try" in
22525 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22526 *) ac_try_echo=$ac_try;;
22528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22529 (eval "$ac_compile") 2>conftest.er1
22531 grep -v '^ *+' conftest.er1 >conftest.err
22533 cat conftest.err >&5
22534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22535 (exit $ac_status); } &&
22536 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22537 { (case "(($ac_try" in
22538 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22539 *) ac_try_echo
=$ac_try;;
22541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22542 (eval "$ac_try") 2>&5
22544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22545 (exit $ac_status); }; } &&
22546 { ac_try
='test -s conftest.$ac_objext'
22547 { (case "(($ac_try" in
22548 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22549 *) ac_try_echo=$ac_try;;
22551 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22552 (eval "$ac_try") 2>&5
22554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22555 (exit $ac_status); }; }; then
22556 ac_cv_member_struct_mtget_mt_gstat=yes
22558 echo "$as_me: failed program was:" >&5
22559 sed 's/^/| /' conftest.$ac_ext >&5
22561 ac_cv_member_struct_mtget_mt_gstat=no
22564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_gstat" >&5
22570 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_gstat" >&6; }
22571 if test $ac_cv_member_struct_mtget_mt_gstat = yes; then
22573 cat >>confdefs.h <<_ACEOF
22574 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
22579 { echo "$as_me:$LINENO: checking for struct mtget.mt_blkno" >&5
22580 echo $ECHO_N "checking for struct mtget.mt_blkno... $ECHO_C" >&6; }
22581 if test "${ac_cv_member_struct_mtget_mt_blkno+set}" = set; then
22582 echo $ECHO_N "(cached) $ECHO_C" >&6
22584 cat >conftest.$ac_ext <<_ACEOF
22587 cat confdefs.h >>conftest.$ac_ext
22588 cat >>conftest.$ac_ext <<_ACEOF
22589 /* end confdefs.h. */
22590 #include <sys/types.h>
22591 #ifdef HAVE_SYS_MTIO_H
22592 #include <sys/mtio.h>
22598 static struct mtget ac_aggr;
22599 if (ac_aggr.mt_blkno)
22605 rm -f conftest.$ac_objext
22606 if { (ac_try="$ac_compile"
22607 case "(($ac_try" in
22608 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22609 *) ac_try_echo
=$ac_try;;
22611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22612 (eval "$ac_compile") 2>conftest.er1
22614 grep -v '^ *+' conftest.er1
>conftest.err
22616 cat conftest.err
>&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); } &&
22619 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22620 { (case "(($ac_try" in
22621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22622 *) ac_try_echo=$ac_try;;
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_try") 2>&5
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); }; } &&
22629 { ac_try='test -s conftest.$ac_objext'
22630 { (case "(($ac_try" in
22631 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22632 *) ac_try_echo
=$ac_try;;
22634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22635 (eval "$ac_try") 2>&5
22637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22638 (exit $ac_status); }; }; then
22639 ac_cv_member_struct_mtget_mt_blkno
=yes
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.
$ac_ext >&5
22644 cat >conftest.
$ac_ext <<_ACEOF
22647 cat confdefs.h
>>conftest.
$ac_ext
22648 cat >>conftest.
$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22650 #include <sys/types.h>
22651 #ifdef HAVE_SYS_MTIO_H
22652 #include <sys/mtio.h>
22658 static struct mtget ac_aggr;
22659 if (sizeof ac_aggr.mt_blkno)
22665 rm -f conftest.
$ac_objext
22666 if { (ac_try
="$ac_compile"
22667 case "(($ac_try" in
22668 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22669 *) ac_try_echo=$ac_try;;
22671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22672 (eval "$ac_compile") 2>conftest.er1
22674 grep -v '^ *+' conftest.er1 >conftest.err
22676 cat conftest.err >&5
22677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22678 (exit $ac_status); } &&
22679 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22680 { (case "(($ac_try" in
22681 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22682 *) ac_try_echo
=$ac_try;;
22684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22685 (eval "$ac_try") 2>&5
22687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688 (exit $ac_status); }; } &&
22689 { ac_try
='test -s conftest.$ac_objext'
22690 { (case "(($ac_try" in
22691 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22692 *) ac_try_echo=$ac_try;;
22694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22695 (eval "$ac_try") 2>&5
22697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22698 (exit $ac_status); }; }; then
22699 ac_cv_member_struct_mtget_mt_blkno=yes
22701 echo "$as_me: failed program was:" >&5
22702 sed 's/^/| /' conftest.$ac_ext >&5
22704 ac_cv_member_struct_mtget_mt_blkno=no
22707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22712 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_mtget_mt_blkno" >&5
22713 echo "${ECHO_T}$ac_cv_member_struct_mtget_mt_blkno" >&6; }
22714 if test $ac_cv_member_struct_mtget_mt_blkno = yes; then
22716 cat >>confdefs.h <<_ACEOF
22717 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
22724 { echo "$as_me:$LINENO: checking for struct option.name" >&5
22725 echo $ECHO_N "checking for struct option.name... $ECHO_C" >&6; }
22726 if test "${ac_cv_member_struct_option_name+set}" = set; then
22727 echo $ECHO_N "(cached) $ECHO_C" >&6
22729 cat >conftest.$ac_ext <<_ACEOF
22732 cat confdefs.h >>conftest.$ac_ext
22733 cat >>conftest.$ac_ext <<_ACEOF
22734 /* end confdefs.h. */
22735 #ifdef HAVE_GETOPT_H
22736 #include <getopt.h>
22742 static struct option ac_aggr;
22749 rm -f conftest.$ac_objext
22750 if { (ac_try="$ac_compile"
22751 case "(($ac_try" in
22752 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22753 *) ac_try_echo
=$ac_try;;
22755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22756 (eval "$ac_compile") 2>conftest.er1
22758 grep -v '^ *+' conftest.er1
>conftest.err
22760 cat conftest.err
>&5
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); } &&
22763 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22764 { (case "(($ac_try" in
22765 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22766 *) ac_try_echo=$ac_try;;
22768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22769 (eval "$ac_try") 2>&5
22771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22772 (exit $ac_status); }; } &&
22773 { ac_try='test -s conftest.$ac_objext'
22774 { (case "(($ac_try" in
22775 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22776 *) ac_try_echo
=$ac_try;;
22778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22779 (eval "$ac_try") 2>&5
22781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22782 (exit $ac_status); }; }; then
22783 ac_cv_member_struct_option_name
=yes
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.
$ac_ext >&5
22788 cat >conftest.
$ac_ext <<_ACEOF
22791 cat confdefs.h
>>conftest.
$ac_ext
22792 cat >>conftest.
$ac_ext <<_ACEOF
22793 /* end confdefs.h. */
22794 #ifdef HAVE_GETOPT_H
22795 #include <getopt.h>
22801 static struct option ac_aggr;
22802 if (sizeof ac_aggr.name)
22808 rm -f conftest.
$ac_objext
22809 if { (ac_try
="$ac_compile"
22810 case "(($ac_try" in
22811 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22812 *) ac_try_echo=$ac_try;;
22814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22815 (eval "$ac_compile") 2>conftest.er1
22817 grep -v '^ *+' conftest.er1 >conftest.err
22819 cat conftest.err >&5
22820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22821 (exit $ac_status); } &&
22822 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22823 { (case "(($ac_try" in
22824 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22825 *) ac_try_echo
=$ac_try;;
22827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22828 (eval "$ac_try") 2>&5
22830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22831 (exit $ac_status); }; } &&
22832 { ac_try
='test -s conftest.$ac_objext'
22833 { (case "(($ac_try" in
22834 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22835 *) ac_try_echo=$ac_try;;
22837 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22838 (eval "$ac_try") 2>&5
22840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22841 (exit $ac_status); }; }; then
22842 ac_cv_member_struct_option_name=yes
22844 echo "$as_me: failed program was:" >&5
22845 sed 's/^/| /' conftest.$ac_ext >&5
22847 ac_cv_member_struct_option_name=no
22850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_option_name" >&5
22856 echo "${ECHO_T}$ac_cv_member_struct_option_name" >&6; }
22857 if test $ac_cv_member_struct_option_name = yes; then
22859 cat >>confdefs.h <<_ACEOF
22860 #define HAVE_STRUCT_OPTION_NAME 1
22867 { echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
22868 echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6; }
22869 if test "${ac_cv_member_struct_stat_st_blocks+set}" = set; then
22870 echo $ECHO_N "(cached) $ECHO_C" >&6
22872 cat >conftest.$ac_ext <<_ACEOF
22875 cat confdefs.h >>conftest.$ac_ext
22876 cat >>conftest.$ac_ext <<_ACEOF
22877 /* end confdefs.h. */
22878 $ac_includes_default
22882 static struct stat ac_aggr;
22883 if (ac_aggr.st_blocks)
22889 rm -f conftest.$ac_objext
22890 if { (ac_try="$ac_compile"
22891 case "(($ac_try" in
22892 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22893 *) ac_try_echo
=$ac_try;;
22895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22896 (eval "$ac_compile") 2>conftest.er1
22898 grep -v '^ *+' conftest.er1
>conftest.err
22900 cat conftest.err
>&5
22901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22902 (exit $ac_status); } &&
22903 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22904 { (case "(($ac_try" in
22905 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22906 *) ac_try_echo=$ac_try;;
22908 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22909 (eval "$ac_try") 2>&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); }; } &&
22913 { ac_try='test -s conftest.$ac_objext'
22914 { (case "(($ac_try" in
22915 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22916 *) ac_try_echo
=$ac_try;;
22918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22919 (eval "$ac_try") 2>&5
22921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22922 (exit $ac_status); }; }; then
22923 ac_cv_member_struct_stat_st_blocks
=yes
22925 echo "$as_me: failed program was:" >&5
22926 sed 's/^/| /' conftest.
$ac_ext >&5
22928 cat >conftest.
$ac_ext <<_ACEOF
22931 cat confdefs.h
>>conftest.
$ac_ext
22932 cat >>conftest.
$ac_ext <<_ACEOF
22933 /* end confdefs.h. */
22934 $ac_includes_default
22938 static struct stat ac_aggr;
22939 if (sizeof ac_aggr.st_blocks)
22945 rm -f conftest.
$ac_objext
22946 if { (ac_try
="$ac_compile"
22947 case "(($ac_try" in
22948 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22949 *) ac_try_echo=$ac_try;;
22951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22952 (eval "$ac_compile") 2>conftest.er1
22954 grep -v '^ *+' conftest.er1 >conftest.err
22956 cat conftest.err >&5
22957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22958 (exit $ac_status); } &&
22959 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
22960 { (case "(($ac_try" in
22961 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
22962 *) ac_try_echo
=$ac_try;;
22964 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22965 (eval "$ac_try") 2>&5
22967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22968 (exit $ac_status); }; } &&
22969 { ac_try
='test -s conftest.$ac_objext'
22970 { (case "(($ac_try" in
22971 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
22972 *) ac_try_echo=$ac_try;;
22974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22975 (eval "$ac_try") 2>&5
22977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22978 (exit $ac_status); }; }; then
22979 ac_cv_member_struct_stat_st_blocks=yes
22981 echo "$as_me: failed program was:" >&5
22982 sed 's/^/| /' conftest.$ac_ext >&5
22984 ac_cv_member_struct_stat_st_blocks=no
22987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22992 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_stat_st_blocks" >&5
22993 echo "${ECHO_T}$ac_cv_member_struct_stat_st_blocks" >&6; }
22994 if test $ac_cv_member_struct_stat_st_blocks = yes; then
22996 cat >>confdefs.h <<_ACEOF
22997 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
23004 { echo "$as_me:$LINENO: checking for struct sockaddr_in6.sin6_scope_id" >&5
23005 echo $ECHO_N "checking for struct sockaddr_in6.sin6_scope_id... $ECHO_C" >&6; }
23006 if test "${ac_cv_member_struct_sockaddr_in6_sin6_scope_id+set}" = set; then
23007 echo $ECHO_N "(cached) $ECHO_C" >&6
23009 cat >conftest.$ac_ext <<_ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #ifdef HAVE_SYS_TYPES_H
23016 #include <sys/types.h>
23018 #ifdef HAVE_NETINET_IN_H
23019 #include <netinet/in.h>
23025 static struct sockaddr_in6 ac_aggr;
23026 if (ac_aggr.sin6_scope_id)
23032 rm -f conftest.$ac_objext
23033 if { (ac_try="$ac_compile"
23034 case "(($ac_try" in
23035 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23036 *) ac_try_echo
=$ac_try;;
23038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23039 (eval "$ac_compile") 2>conftest.er1
23041 grep -v '^ *+' conftest.er1
>conftest.err
23043 cat conftest.err
>&5
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } &&
23046 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23047 { (case "(($ac_try" in
23048 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23049 *) ac_try_echo=$ac_try;;
23051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23052 (eval "$ac_try") 2>&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); }; } &&
23056 { ac_try='test -s conftest.$ac_objext'
23057 { (case "(($ac_try" in
23058 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23059 *) ac_try_echo
=$ac_try;;
23061 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23062 (eval "$ac_try") 2>&5
23064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23065 (exit $ac_status); }; }; then
23066 ac_cv_member_struct_sockaddr_in6_sin6_scope_id
=yes
23068 echo "$as_me: failed program was:" >&5
23069 sed 's/^/| /' conftest.
$ac_ext >&5
23071 cat >conftest.
$ac_ext <<_ACEOF
23074 cat confdefs.h
>>conftest.
$ac_ext
23075 cat >>conftest.
$ac_ext <<_ACEOF
23076 /* end confdefs.h. */
23077 #ifdef HAVE_SYS_TYPES_H
23078 #include <sys/types.h>
23080 #ifdef HAVE_NETINET_IN_H
23081 #include <netinet/in.h>
23087 static struct sockaddr_in6 ac_aggr;
23088 if (sizeof ac_aggr.sin6_scope_id)
23094 rm -f conftest.
$ac_objext
23095 if { (ac_try
="$ac_compile"
23096 case "(($ac_try" in
23097 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23098 *) ac_try_echo=$ac_try;;
23100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23101 (eval "$ac_compile") 2>conftest.er1
23103 grep -v '^ *+' conftest.er1 >conftest.err
23105 cat conftest.err >&5
23106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23107 (exit $ac_status); } &&
23108 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23109 { (case "(($ac_try" in
23110 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23111 *) ac_try_echo
=$ac_try;;
23113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23114 (eval "$ac_try") 2>&5
23116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23117 (exit $ac_status); }; } &&
23118 { ac_try
='test -s conftest.$ac_objext'
23119 { (case "(($ac_try" in
23120 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23121 *) ac_try_echo=$ac_try;;
23123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23124 (eval "$ac_try") 2>&5
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; }; then
23128 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=yes
23130 echo "$as_me: failed program was:" >&5
23131 sed 's/^/| /' conftest.$ac_ext >&5
23133 ac_cv_member_struct_sockaddr_in6_sin6_scope_id=no
23136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23141 { echo "$as_me:$LINENO: result: $ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&5
23142 echo "${ECHO_T}$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" >&6; }
23143 if test $ac_cv_member_struct_sockaddr_in6_sin6_scope_id = yes; then
23145 cat >>confdefs.h <<_ACEOF
23146 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
23153 { echo "$as_me:$LINENO: checking for ns_msg._msg_ptr" >&5
23154 echo $ECHO_N "checking for ns_msg._msg_ptr... $ECHO_C" >&6; }
23155 if test "${ac_cv_member_ns_msg__msg_ptr+set}" = set; then
23156 echo $ECHO_N "(cached) $ECHO_C" >&6
23158 cat >conftest.$ac_ext <<_ACEOF
23161 cat confdefs.h >>conftest.$ac_ext
23162 cat >>conftest.$ac_ext <<_ACEOF
23163 /* end confdefs.h. */
23164 #ifdef HAVE_SYS_TYPES_H
23165 #include <sys/types.h>
23167 #ifdef HAVE_NETINET_IN_H
23168 # include <netinet/in.h>
23170 #ifdef HAVE_ARPA_NAMESER_H
23171 # include <arpa/nameser.h>
23177 static ns_msg ac_aggr;
23178 if (ac_aggr._msg_ptr)
23184 rm -f conftest.$ac_objext
23185 if { (ac_try="$ac_compile"
23186 case "(($ac_try" in
23187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23188 *) ac_try_echo
=$ac_try;;
23190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23191 (eval "$ac_compile") 2>conftest.er1
23193 grep -v '^ *+' conftest.er1
>conftest.err
23195 cat conftest.err
>&5
23196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23197 (exit $ac_status); } &&
23198 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23199 { (case "(($ac_try" in
23200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23201 *) ac_try_echo=$ac_try;;
23203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23204 (eval "$ac_try") 2>&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); }; } &&
23208 { ac_try='test -s conftest.$ac_objext'
23209 { (case "(($ac_try" in
23210 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23211 *) ac_try_echo
=$ac_try;;
23213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23214 (eval "$ac_try") 2>&5
23216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23217 (exit $ac_status); }; }; then
23218 ac_cv_member_ns_msg__msg_ptr
=yes
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.
$ac_ext >&5
23223 cat >conftest.
$ac_ext <<_ACEOF
23226 cat confdefs.h
>>conftest.
$ac_ext
23227 cat >>conftest.
$ac_ext <<_ACEOF
23228 /* end confdefs.h. */
23229 #ifdef HAVE_SYS_TYPES_H
23230 #include <sys/types.h>
23232 #ifdef HAVE_NETINET_IN_H
23233 # include <netinet/in.h>
23235 #ifdef HAVE_ARPA_NAMESER_H
23236 # include <arpa/nameser.h>
23242 static ns_msg ac_aggr;
23243 if (sizeof ac_aggr._msg_ptr)
23249 rm -f conftest.
$ac_objext
23250 if { (ac_try
="$ac_compile"
23251 case "(($ac_try" in
23252 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23253 *) ac_try_echo=$ac_try;;
23255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23256 (eval "$ac_compile") 2>conftest.er1
23258 grep -v '^ *+' conftest.er1 >conftest.err
23260 cat conftest.err >&5
23261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23262 (exit $ac_status); } &&
23263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23264 { (case "(($ac_try" in
23265 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23266 *) ac_try_echo
=$ac_try;;
23268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23269 (eval "$ac_try") 2>&5
23271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23272 (exit $ac_status); }; } &&
23273 { ac_try
='test -s conftest.$ac_objext'
23274 { (case "(($ac_try" in
23275 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23276 *) ac_try_echo=$ac_try;;
23278 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23279 (eval "$ac_try") 2>&5
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; }; then
23283 ac_cv_member_ns_msg__msg_ptr=yes
23285 echo "$as_me: failed program was:" >&5
23286 sed 's/^/| /' conftest.$ac_ext >&5
23288 ac_cv_member_ns_msg__msg_ptr=no
23291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 { echo "$as_me:$LINENO: result: $ac_cv_member_ns_msg__msg_ptr" >&5
23297 echo "${ECHO_T}$ac_cv_member_ns_msg__msg_ptr" >&6; }
23298 if test $ac_cv_member_ns_msg__msg_ptr = yes; then
23300 cat >>confdefs.h <<_ACEOF
23301 #define HAVE_NS_MSG__MSG_PTR 1
23308 { echo "$as_me:$LINENO: checking for timezone variable" >&5
23309 echo $ECHO_N "checking for timezone variable... $ECHO_C" >&6; }
23310 if test "${ac_cv_have_timezone+set}" = set; then
23311 echo $ECHO_N "(cached) $ECHO_C" >&6
23313 cat >conftest.$ac_ext <<_ACEOF
23316 cat confdefs.h >>conftest.$ac_ext
23317 cat >>conftest.$ac_ext <<_ACEOF
23318 /* end confdefs.h. */
23328 rm -f conftest.$ac_objext conftest$ac_exeext
23329 if { (ac_try="$ac_link"
23330 case "(($ac_try" in
23331 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23332 *) ac_try_echo
=$ac_try;;
23334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23335 (eval "$ac_link") 2>conftest.er1
23337 grep -v '^ *+' conftest.er1
>conftest.err
23339 cat conftest.err
>&5
23340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23341 (exit $ac_status); } &&
23342 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23343 { (case "(($ac_try" in
23344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23345 *) ac_try_echo=$ac_try;;
23347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23348 (eval "$ac_try") 2>&5
23350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23351 (exit $ac_status); }; } &&
23352 { ac_try='test -s conftest$ac_exeext'
23353 { (case "(($ac_try" in
23354 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23355 *) ac_try_echo
=$ac_try;;
23357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23358 (eval "$ac_try") 2>&5
23360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23361 (exit $ac_status); }; }; then
23362 ac_cv_have_timezone
="yes"
23364 echo "$as_me: failed program was:" >&5
23365 sed 's/^/| /' conftest.
$ac_ext >&5
23367 ac_cv_have_timezone
="no"
23370 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
23371 conftest
$ac_exeext conftest.
$ac_ext
23373 { echo "$as_me:$LINENO: result: $ac_cv_have_timezone" >&5
23374 echo "${ECHO_T}$ac_cv_have_timezone" >&6; }
23375 if test "$ac_cv_have_timezone" = "yes"
23378 cat >>confdefs.h
<<\_ACEOF
23379 #define HAVE_TIMEZONE 1
23383 { echo "$as_me:$LINENO: checking for daylight variable" >&5
23384 echo $ECHO_N "checking for daylight variable... $ECHO_C" >&6; }
23385 if test "${ac_cv_have_daylight+set}" = set; then
23386 echo $ECHO_N "(cached) $ECHO_C" >&6
23388 cat >conftest.
$ac_ext <<_ACEOF
23391 cat confdefs.h
>>conftest.
$ac_ext
23392 cat >>conftest.
$ac_ext <<_ACEOF
23393 /* end confdefs.h. */
23403 rm -f conftest.
$ac_objext conftest
$ac_exeext
23404 if { (ac_try
="$ac_link"
23405 case "(($ac_try" in
23406 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23407 *) ac_try_echo=$ac_try;;
23409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23410 (eval "$ac_link") 2>conftest.er1
23412 grep -v '^ *+' conftest.er1 >conftest.err
23414 cat conftest.err >&5
23415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23416 (exit $ac_status); } &&
23417 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
23418 { (case "(($ac_try" in
23419 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
23420 *) ac_try_echo
=$ac_try;;
23422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23423 (eval "$ac_try") 2>&5
23425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23426 (exit $ac_status); }; } &&
23427 { ac_try
='test -s conftest$ac_exeext'
23428 { (case "(($ac_try" in
23429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
23430 *) ac_try_echo=$ac_try;;
23432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23433 (eval "$ac_try") 2>&5
23435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23436 (exit $ac_status); }; }; then
23437 ac_cv_have_daylight="yes"
23439 echo "$as_me: failed program was:" >&5
23440 sed 's/^/| /' conftest.$ac_ext >&5
23442 ac_cv_have_daylight="no"
23445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23446 conftest$ac_exeext conftest.$ac_ext
23448 { echo "$as_me:$LINENO: result: $ac_cv_have_daylight" >&5
23449 echo "${ECHO_T}$ac_cv_have_daylight" >&6; }
23450 if test "$ac_cv_have_daylight" = "yes"
23453 cat >>confdefs.h <<\_ACEOF
23454 #define HAVE_DAYLIGHT 1
23461 *i[3456789]86*) { echo "$as_me:$LINENO: checking whether we need to define __i386__" >&5
23462 echo $ECHO_N "checking whether we need to define __i386__... $ECHO_C" >&6; }
23463 if test "${ac_cv_cpp_def___i386__+set}" = set; then
23464 echo $ECHO_N "(cached) $ECHO_C" >&6
23466 cat >conftest.$ac_ext <<_ACEOF
23469 cat confdefs.h >>conftest.$ac_ext
23470 cat >>conftest.$ac_ext <<_ACEOF
23471 /* end confdefs.h. */
23476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23477 $EGREP "yes" >/dev/null 2>&1; then
23478 ac_cv_cpp_def___i386__=yes
23480 ac_cv_cpp_def___i386__=no
23485 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___i386__" >&5
23486 echo "${ECHO_T}$ac_cv_cpp_def___i386__" >&6; }
23487 if test $ac_cv_cpp_def___i386__ = yes; then
23488 CFLAGS="$CFLAGS -D__i386__"
23489 LINTFLAGS="$LINTFLAGS -D__i386__"
23492 *x86_64*) { echo "$as_me:$LINENO: checking whether we need to define __x86_64__" >&5
23493 echo $ECHO_N "checking whether we need to define __x86_64__... $ECHO_C" >&6; }
23494 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then
23495 echo $ECHO_N "(cached) $ECHO_C" >&6
23497 cat >conftest.$ac_ext <<_ACEOF
23500 cat confdefs.h >>conftest.$ac_ext
23501 cat >>conftest.$ac_ext <<_ACEOF
23502 /* end confdefs.h. */
23507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23508 $EGREP "yes" >/dev/null 2>&1; then
23509 ac_cv_cpp_def___x86_64__=yes
23511 ac_cv_cpp_def___x86_64__=no
23516 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___x86_64__" >&5
23517 echo "${ECHO_T}$ac_cv_cpp_def___x86_64__" >&6; }
23518 if test $ac_cv_cpp_def___x86_64__ = yes; then
23519 CFLAGS="$CFLAGS -D__x86_64__"
23520 LINTFLAGS="$LINTFLAGS -D__x86_64__"
23523 *alpha*) { echo "$as_me:$LINENO: checking whether we need to define __ALPHA__" >&5
23524 echo $ECHO_N "checking whether we need to define __ALPHA__... $ECHO_C" >&6; }
23525 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then
23526 echo $ECHO_N "(cached) $ECHO_C" >&6
23528 cat >conftest.$ac_ext <<_ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23539 $EGREP "yes" >/dev/null 2>&1; then
23540 ac_cv_cpp_def___ALPHA__=yes
23542 ac_cv_cpp_def___ALPHA__=no
23547 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___ALPHA__" >&5
23548 echo "${ECHO_T}$ac_cv_cpp_def___ALPHA__" >&6; }
23549 if test $ac_cv_cpp_def___ALPHA__ = yes; then
23550 CFLAGS="$CFLAGS -D__ALPHA__"
23551 LINTFLAGS="$LINTFLAGS -D__ALPHA__"
23554 *sparc*) { echo "$as_me:$LINENO: checking whether we need to define __sparc__" >&5
23555 echo $ECHO_N "checking whether we need to define __sparc__... $ECHO_C" >&6; }
23556 if test "${ac_cv_cpp_def___sparc__+set}" = set; then
23557 echo $ECHO_N "(cached) $ECHO_C" >&6
23559 cat >conftest.$ac_ext <<_ACEOF
23562 cat confdefs.h >>conftest.$ac_ext
23563 cat >>conftest.$ac_ext <<_ACEOF
23564 /* end confdefs.h. */
23569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23570 $EGREP "yes" >/dev/null 2>&1; then
23571 ac_cv_cpp_def___sparc__=yes
23573 ac_cv_cpp_def___sparc__=no
23578 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sparc__" >&5
23579 echo "${ECHO_T}$ac_cv_cpp_def___sparc__" >&6; }
23580 if test $ac_cv_cpp_def___sparc__ = yes; then
23581 CFLAGS="$CFLAGS -D__sparc__"
23582 LINTFLAGS="$LINTFLAGS -D__sparc__"
23585 *powerpc*) { echo "$as_me:$LINENO: checking whether we need to define __powerpc__" >&5
23586 echo $ECHO_N "checking whether we need to define __powerpc__... $ECHO_C" >&6; }
23587 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then
23588 echo $ECHO_N "(cached) $ECHO_C" >&6
23590 cat >conftest.$ac_ext <<_ACEOF
23593 cat confdefs.h >>conftest.$ac_ext
23594 cat >>conftest.$ac_ext <<_ACEOF
23595 /* end confdefs.h. */
23596 #ifndef __powerpc__
23600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23601 $EGREP "yes" >/dev/null 2>&1; then
23602 ac_cv_cpp_def___powerpc__=yes
23604 ac_cv_cpp_def___powerpc__=no
23609 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___powerpc__" >&5
23610 echo "${ECHO_T}$ac_cv_cpp_def___powerpc__" >&6; }
23611 if test $ac_cv_cpp_def___powerpc__ = yes; then
23612 CFLAGS="$CFLAGS -D__powerpc__"
23613 LINTFLAGS="$LINTFLAGS -D__powerpc__"
23618 case $host_vendor in
23619 *sun*) { echo "$as_me:$LINENO: checking whether we need to define __sun__" >&5
23620 echo $ECHO_N "checking whether we need to define __sun__... $ECHO_C" >&6; }
23621 if test "${ac_cv_cpp_def___sun__+set}" = set; then
23622 echo $ECHO_N "(cached) $ECHO_C" >&6
23624 cat >conftest.$ac_ext <<_ACEOF
23627 cat confdefs.h >>conftest.$ac_ext
23628 cat >>conftest.$ac_ext <<_ACEOF
23629 /* end confdefs.h. */
23634 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23635 $EGREP "yes" >/dev/null 2>&1; then
23636 ac_cv_cpp_def___sun__=yes
23638 ac_cv_cpp_def___sun__=no
23643 { echo "$as_me:$LINENO: result: $ac_cv_cpp_def___sun__" >&5
23644 echo "${ECHO_T}$ac_cv_cpp_def___sun__" >&6; }
23645 if test $ac_cv_cpp_def___sun__ = yes; then
23646 CFLAGS="$CFLAGS -D__sun__"
23647 LINTFLAGS="$LINTFLAGS -D__sun__"
23653 DEPENDENCIES="### Dependencies:
23658 -\$(MAKEDEP) -C\$(SRCDIR) -S\$(TOPSRCDIR) -T\$(TOPOBJDIR) \$(EXTRAINCL) \$(DEPEND_SRCS)
23660 \$(ALL_OBJS): \$(IDL_H_SRCS:.idl=.h)
23661 \$(IDL_GEN_C_SRCS:.c=.o): \$(IDL_GEN_C_SRCS)
23662 \$(LEX_SRCS:.l=.yy.o): \$(LEX_SRCS:.l=.yy.c)
23663 \$(BISON_SRCS:.y=.tab.o): \$(BISON_SRCS:.y=.tab.c)"
23669 ac_config_commands="$ac_config_commands include/stamp-h"
23672 ac_config_commands="$ac_config_commands dlls/gdi32/enhmfdrv"
23674 ac_config_commands="$ac_config_commands dlls/gdi32/mfdrv"
23676 ac_config_commands="$ac_config_commands dlls/kernel32/nls"
23678 ac_config_commands="$ac_config_commands dlls/user32/resources"
23680 ac_config_commands="$ac_config_commands dlls/wineps.drv/data"
23682 ac_config_commands="$ac_config_commands include/wine"
23685 MAKE_RULES=Make.rules
23688 MAKE_DLL_RULES=dlls/Makedll.rules
23691 MAKE_IMPLIB_RULES=dlls/Makeimplib.rules
23694 MAKE_TEST_RULES=dlls/Maketest.rules
23697 MAKE_PROG_RULES=programs/Makeprog.rules
23700 ac_config_files="$ac_config_files Make.rules dlls/Makedll.rules dlls/Makeimplib.rules dlls/Maketest.rules programs/Makeprog.rules Makefile dlls/Makefile dlls/activeds/Makefile dlls/advapi32/Makefile dlls/advapi32/tests/Makefile dlls/advpack/Makefile dlls/advpack/tests/Makefile dlls/amstream/Makefile dlls/atl/Makefile dlls/avicap32/Makefile dlls/avifil32/Makefile dlls/cabinet/Makefile dlls/cabinet/tests/Makefile dlls/capi2032/Makefile dlls/cards/Makefile dlls/cfgmgr32/Makefile dlls/clusapi/Makefile dlls/comcat/Makefile dlls/comcat/tests/Makefile dlls/comctl32/Makefile dlls/comctl32/tests/Makefile dlls/comdlg32/Makefile dlls/comdlg32/tests/Makefile dlls/compstui/Makefile dlls/crtdll/Makefile dlls/crypt32/Makefile dlls/crypt32/tests/Makefile dlls/cryptdll/Makefile dlls/cryptnet/Makefile dlls/ctl3d32/Makefile dlls/d3d8/Makefile dlls/d3d8/tests/Makefile dlls/d3d9/Makefile dlls/d3d9/tests/Makefile dlls/d3dim/Makefile dlls/d3drm/Makefile dlls/d3dx8/Makefile dlls/d3dxof/Makefile dlls/dbghelp/Makefile dlls/dciman32/Makefile dlls/ddraw/Makefile dlls/ddraw/tests/Makefile dlls/ddrawex/Makefile dlls/devenum/Makefile dlls/dinput/Makefile dlls/dinput/tests/Makefile dlls/dinput8/Makefile dlls/dmband/Makefile dlls/dmcompos/Makefile dlls/dmime/Makefile dlls/dmloader/Makefile dlls/dmscript/Makefile dlls/dmstyle/Makefile dlls/dmsynth/Makefile dlls/dmusic/Makefile dlls/dmusic32/Makefile dlls/dnsapi/Makefile dlls/dnsapi/tests/Makefile dlls/dplay/Makefile dlls/dplayx/Makefile dlls/dpnet/Makefile dlls/dpnhpast/Makefile dlls/dsound/Makefile dlls/dsound/tests/Makefile dlls/dswave/Makefile dlls/dxdiagn/Makefile dlls/dxerr8/Makefile dlls/dxerr9/Makefile dlls/dxguid/Makefile dlls/gdi32/Makefile dlls/gdi32/tests/Makefile dlls/glu32/Makefile dlls/gphoto2.ds/Makefile dlls/hhctrl.ocx/Makefile dlls/hid/Makefile dlls/hlink/Makefile dlls/hlink/tests/Makefile dlls/iccvid/Makefile dlls/icmp/Makefile dlls/ifsmgr.vxd/Makefile dlls/imaadp32.acm/Makefile dlls/imagehlp/Makefile dlls/imm32/Makefile dlls/infosoft/Makefile dlls/infosoft/tests/Makefile dlls/inseng/Makefile dlls/iphlpapi/Makefile dlls/iphlpapi/tests/Makefile dlls/itss/Makefile dlls/kernel32/Makefile dlls/kernel32/tests/Makefile dlls/localspl/Makefile dlls/localspl/tests/Makefile dlls/lz32/Makefile dlls/lz32/tests/Makefile dlls/mapi32/Makefile dlls/mapi32/tests/Makefile dlls/mciavi32/Makefile dlls/mcicda/Makefile dlls/mciseq/Makefile dlls/mciwave/Makefile dlls/midimap/Makefile dlls/mlang/Makefile dlls/mlang/tests/Makefile dlls/mmdevldr.vxd/Makefile dlls/monodebg.vxd/Makefile dlls/mpr/Makefile dlls/mprapi/Makefile dlls/msacm32.drv/Makefile dlls/msacm32/Makefile dlls/msacm32/tests/Makefile dlls/msadp32.acm/Makefile dlls/mscms/Makefile dlls/mscms/tests/Makefile dlls/mscoree/Makefile dlls/msdmo/Makefile dlls/msftedit/Makefile dlls/msg711.acm/Makefile dlls/mshtml/Makefile dlls/mshtml/tests/Makefile dlls/msi/Makefile dlls/msi/tests/Makefile dlls/msimg32/Makefile dlls/msisys.ocx/Makefile dlls/msnet32/Makefile dlls/msrle32/Makefile dlls/msvcrt/Makefile dlls/msvcrt/tests/Makefile dlls/msvcrt20/Makefile dlls/msvcrt40/Makefile dlls/msvcrtd/Makefile dlls/msvcrtd/tests/Makefile dlls/msvfw32/Makefile dlls/msvidc32/Makefile dlls/mswsock/Makefile dlls/msxml3/Makefile dlls/msxml3/tests/Makefile dlls/nddeapi/Makefile dlls/netapi32/Makefile dlls/netapi32/tests/Makefile dlls/newdev/Makefile dlls/ntdll/Makefile dlls/ntdll/tests/Makefile dlls/ntdsapi/Makefile dlls/objsel/Makefile dlls/odbc32/Makefile dlls/odbccp32/Makefile dlls/ole32/Makefile dlls/ole32/tests/Makefile dlls/oleacc/Makefile dlls/oleaut32/Makefile dlls/oleaut32/tests/Makefile dlls/olecli32/Makefile dlls/oledlg/Makefile dlls/olepro32/Makefile dlls/olesvr32/Makefile dlls/opengl32/Makefile dlls/powrprof/Makefile dlls/psapi/Makefile dlls/psapi/tests/Makefile dlls/pstorec/Makefile dlls/qcap/Makefile dlls/quartz/Makefile dlls/quartz/tests/Makefile dlls/query/Makefile dlls/rasapi32/Makefile dlls/resutils/Makefile dlls/riched20/Makefile dlls/riched20/tests/Makefile dlls/riched32/Makefile dlls/rpcrt4/Makefile dlls/rpcrt4/tests/Makefile dlls/rsabase/Makefile dlls/rsabase/tests/Makefile dlls/rsaenh/Makefile dlls/rsaenh/tests/Makefile dlls/sane.ds/Makefile dlls/secur32/Makefile dlls/secur32/tests/Makefile dlls/security/Makefile dlls/sensapi/Makefile dlls/serialui/Makefile dlls/setupapi/Makefile dlls/setupapi/tests/Makefile dlls/sfc/Makefile dlls/shdoclc/Makefile dlls/shdocvw/Makefile dlls/shdocvw/tests/Makefile dlls/shell32/Makefile dlls/shell32/tests/Makefile dlls/shfolder/Makefile dlls/shlwapi/Makefile dlls/shlwapi/tests/Makefile dlls/snmpapi/Makefile dlls/spoolss/Makefile dlls/stdole2.tlb/Makefile dlls/stdole32.tlb/Makefile dlls/sti/Makefile dlls/strmiids/Makefile dlls/svrapi/Makefile dlls/tapi32/Makefile dlls/twain_32/Makefile dlls/unicows/Makefile dlls/url/Makefile dlls/urlmon/Makefile dlls/urlmon/tests/Makefile dlls/user32/Makefile dlls/user32/tests/Makefile dlls/userenv/Makefile dlls/usp10/Makefile dlls/usp10/tests/Makefile dlls/uuid/Makefile dlls/uxtheme/Makefile dlls/uxtheme/tests/Makefile dlls/vdhcp.vxd/Makefile dlls/vdmdbg/Makefile dlls/version/Makefile dlls/version/tests/Makefile dlls/vmm.vxd/Makefile dlls/vnbt.vxd/Makefile dlls/vnetbios.vxd/Makefile dlls/vtdapi.vxd/Makefile dlls/vwin32.vxd/Makefile dlls/w32skrnl/Makefile dlls/winecrt0/Makefile dlls/wined3d/Makefile dlls/winedos/Makefile dlls/winemp3.acm/Makefile dlls/wineps.drv/Makefile dlls/winequartz.drv/Makefile dlls/winex11.drv/Makefile dlls/wininet/Makefile dlls/wininet/tests/Makefile dlls/winmm/Makefile dlls/winmm/joystick/Makefile dlls/winmm/tests/Makefile dlls/winmm/winealsa/Makefile dlls/winmm/winearts/Makefile dlls/winmm/wineaudioio/Makefile dlls/winmm/winecoreaudio/Makefile dlls/winmm/wineesd/Makefile dlls/winmm/winejack/Makefile dlls/winmm/winenas/Makefile dlls/winmm/wineoss/Makefile dlls/winnls32/Makefile dlls/winspool.drv/Makefile dlls/winspool.drv/tests/Makefile dlls/wintab32/Makefile dlls/wintrust/Makefile dlls/wintrust/tests/Makefile dlls/wldap32/Makefile dlls/wnaspi32/Makefile dlls/wow32/Makefile dlls/ws2_32/Makefile dlls/ws2_32/tests/Makefile dlls/wsock32/Makefile dlls/wtsapi32/Makefile documentation/Makefile fonts/Makefile include/Makefile libs/Makefile libs/port/Makefile libs/wine/Makefile libs/wpp/Makefile loader/Makefile programs/Makefile programs/clock/Makefile programs/cmd/Makefile programs/cmdlgtst/Makefile programs/control/Makefile programs/eject/Makefile programs/expand/Makefile programs/explorer/Makefile programs/hh/Makefile programs/icinfo/Makefile programs/iexplore/Makefile programs/msiexec/Makefile programs/notepad/Makefile programs/oleview/Makefile programs/progman/Makefile programs/regedit/Makefile programs/regsvr32/Makefile programs/rpcss/Makefile programs/rundll32/Makefile programs/start/Makefile programs/taskmgr/Makefile programs/uninstaller/Makefile programs/view/Makefile programs/wineboot/Makefile programs/winebrowser/Makefile programs/winecfg/Makefile programs/wineconsole/Makefile programs/winedbg/Makefile programs/winefile/Makefile programs/winemenubuilder/Makefile programs/winemine/Makefile programs/winepath/Makefile programs/winetest/Makefile programs/winevdm/Makefile programs/winhelp/Makefile programs/winver/Makefile programs/wordpad/Makefile server/Makefile tools/Makefile tools/widl/Makefile tools/winebuild/Makefile tools/winedump/Makefile tools/winegcc/Makefile tools/wmc/Makefile tools/wrc/Makefile"
23703 cat >confcache <<\_ACEOF
23704 # This file is a shell script that caches the results of configure
23705 # tests run on this system so they can be shared between configure
23706 # scripts and configure runs, see configure's option --config-cache.
23707 # It is not useful on other systems. If it contains results you don't
23708 # want to keep, you may remove or edit it.
23710 # config.status only pays attention to the cache file if you give it
23711 # the --recheck option to rerun configure.
23713 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
23714 # loading this file, other *unset* `ac_cv_foo' will be assigned the
23715 # following values.
23719 # The following way of writing the cache mishandles newlines in values,
23720 # but we know of no workaround that is simple, portable, and efficient.
23721 # So, we kill variables containing newlines.
23722 # Ultrix sh set writes to stderr and can't be redirected directly,
23723 # and sets the high bit in the cache file unless we assign to the vars.
23725 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
23726 eval ac_val
=\$
$ac_var
23730 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
23731 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
23734 _ | IFS | as_nl
) ;; #(
23735 *) $as_unset $ac_var ;;
23741 case $as_nl`(ac_space=' '; set) 2>&1` in #(
23742 *${as_nl}ac_space
=\
*)
23743 # `set' does not quote correctly, so add quotes (double-quote
23744 # substitution turns \\\\ into \\, and sed turns \\ into \).
23747 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
23750 # `set' quotes correctly as required by POSIX, so do not add quotes.
23751 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
23760 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
23762 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
23764 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
23765 if test -w "$cache_file"; then
23766 test "x$cache_file" != "x/dev/null" &&
23767 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
23768 echo "$as_me: updating cache $cache_file" >&6;}
23769 cat confcache
>$cache_file
23771 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
23772 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23777 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
23778 # Let make expand exec_prefix.
23779 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
23781 DEFS
=-DHAVE_CONFIG_H
23785 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
23786 # 1. Remove the extension, and $U if already installed.
23787 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
23788 ac_i
=`echo "$ac_i" | sed "$ac_script"`
23789 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
23790 # will be set to the directory where LIBOBJS objects are built.
23791 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
23792 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
23794 LIBOBJS
=$ac_libobjs
23796 LTLIBOBJS
=$ac_ltlibobjs
23800 : ${CONFIG_STATUS=./config.status}
23801 ac_clean_files_save
=$ac_clean_files
23802 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
23803 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
23804 echo "$as_me: creating $CONFIG_STATUS" >&6;}
23805 cat >$CONFIG_STATUS <<_ACEOF
23807 # Generated by $as_me.
23808 # Run this file to recreate the current configuration.
23809 # Compiler output produced by configure, useful for debugging
23810 # configure, is in config.log if it exists.
23813 ac_cs_recheck=false
23815 SHELL=\${CONFIG_SHELL-$SHELL}
23818 cat >>$CONFIG_STATUS <<\_ACEOF
23819 ## --------------------- ##
23820 ## M4sh Initialization. ##
23821 ## --------------------- ##
23823 # Be Bourne compatible
23824 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
23827 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
23828 # is contrary to our usage. Disable this feature.
23829 alias -g '${1+"$@"}'='"$@"'
23830 setopt NO_GLOB_SUBST
23832 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
23834 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
23835 DUALCASE
=1; export DUALCASE
# for MKS sh
23839 # Avoid depending upon Character Ranges.
23840 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
23841 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
23842 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
23843 as_cr_digits
='0123456789'
23844 as_cr_alnum
=$as_cr_Letters$as_cr_digits
23846 # The user is always right.
23847 if test "${PATH_SEPARATOR+set}" != set; then
23848 echo "#! /bin/sh" >conf$$.sh
23849 echo "exit 0" >>conf$$.sh
23851 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
23859 # Support unset when possible.
23860 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
23868 # We need space, tab and new line, in precisely that order. Quoting is
23869 # there to prevent editors from complaining about space-tab.
23870 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
23871 # splitting by setting IFS to empty value.)
23876 # Find who we are. Look in the path if we contain no directory separator.
23878 *[\\/]* ) as_myself
=$0 ;;
23879 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
23880 for as_dir
in $PATH
23883 test -z "$as_dir" && as_dir
=.
23884 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
23890 # We did not find ourselves, most probably we were run as `sh COMMAND'
23891 # in which case we are not to be found in the path.
23892 if test "x$as_myself" = x
; then
23895 if test ! -f "$as_myself"; then
23896 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
23897 { (exit 1); exit 1; }
23900 # Work around bugs in pre-3.0 UWIN ksh.
23901 for as_var
in ENV MAIL MAILPATH
23902 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23910 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
23911 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
23912 LC_TELEPHONE LC_TIME
23914 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
23915 eval $as_var=C
; export $as_var
23917 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
23921 # Required to use basename.
23922 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
23923 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
23929 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
23930 as_basename
=basename
23936 # Name of the executable.
23937 as_me
=`$as_basename -- "$0" ||
23938 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
23939 X"$0" : 'X\(//\)$' \| \
23940 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
23942 sed '/^.*\/\([^/][^/]*\)\/*$/{
23961 as_lineno_1
=$LINENO
23962 as_lineno_2
=$LINENO
23963 test "x$as_lineno_1" != "x$as_lineno_2" &&
23964 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
23966 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
23967 # uniformly replaced by the line number. The first 'sed' inserts a
23968 # line-number line after each line using $LINENO; the second 'sed'
23969 # does the real work. The second script uses 'N' to pair each
23970 # line-number line with the line containing $LINENO, and appends
23971 # trailing '-' during substitution so that $LINENO is not a special
23972 # case at line end.
23973 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
23974 # scripts with optimization help from Paolo Bonzini. Blame Lee
23975 # E. McMahon (1931-1989) for sed's syntax. :-)
23987 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
23990 ' >$as_me.lineno
&&
23991 chmod +x
"$as_me.lineno" ||
23992 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
23993 { (exit 1); exit 1; }; }
23995 # Don't try to exec as it changes $[0], causing all sort of problems
23996 # (the dirname of $[0] is not the place where we might find the
23997 # original and so on. Autoconf is especially sensitive to this).
23998 .
"./$as_me.lineno"
23999 # Exit status is that of the last command.
24004 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
24010 ECHO_C
= ECHO_N
= ECHO_T
=
24011 case `echo -n x` in
24013 case `echo 'x\c'` in
24014 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
24021 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
24022 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
24028 rm -f conf$$ conf$$.exe conf$$.
file
24029 if test -d conf$$.dir
; then
24030 rm -f conf$$.dir
/conf$$.
file
24036 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
24038 # ... but there are two gotchas:
24039 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
24040 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
24041 # In both cases, we have to default to `cp -p'.
24042 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
24044 elif ln conf$$.
file conf$$
2>/dev
/null
; then
24049 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
24050 rmdir conf$$.dir
2>/dev
/null
24052 if mkdir
-p .
2>/dev
/null
; then
24055 test -d .
/-p && rmdir .
/-p
24059 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
24060 # systems may use methods other than mode bits to determine executability.
24061 cat >conf$$.
file <<_ASEOF
24065 chmod +x conf$$.
file
24066 if test -x conf$$.
file >/dev
/null
2>&1; then
24067 as_executable_p
="test -x"
24073 # Sed expression to map a string onto a valid CPP name.
24074 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
24076 # Sed expression to map a string onto a valid variable name.
24077 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
24082 # Save the log message, to keep $[0] and so on meaningful, and to
24083 # report actual input values of CONFIG_FILES etc. instead of their
24084 # values after options handling.
24086 This file was extended by Wine $as_me 0.9.27, which was
24087 generated by GNU Autoconf 2.60a. Invocation command line was
24089 CONFIG_FILES = $CONFIG_FILES
24090 CONFIG_HEADERS = $CONFIG_HEADERS
24091 CONFIG_LINKS = $CONFIG_LINKS
24092 CONFIG_COMMANDS = $CONFIG_COMMANDS
24095 on `(hostname || uname -n) 2>/dev/null | sed 1q`
24100 cat >>$CONFIG_STATUS <<_ACEOF
24101 # Files that config.status was made for.
24102 config_files="$ac_config_files"
24103 config_headers="$ac_config_headers"
24104 config_commands="$ac_config_commands"
24108 cat >>$CONFIG_STATUS <<\_ACEOF
24110 \`$as_me' instantiates files from templates according to the
24111 current configuration.
24113 Usage: $0 [OPTIONS] [FILE]...
24115 -h, --help print this help, then exit
24116 -V, --version print version number and configuration settings, then exit
24117 -q, --quiet do not print progress messages
24118 -d, --debug don't remove temporary files
24119 --recheck update $as_me by reconfiguring in the same conditions
24120 --file=FILE[:TEMPLATE]
24121 instantiate the configuration file FILE
24122 --header=FILE[:TEMPLATE]
24123 instantiate the configuration header FILE
24125 Configuration files:
24128 Configuration headers:
24131 Configuration commands:
24134 Report bugs to <bug-autoconf@gnu.org>."
24137 cat >>$CONFIG_STATUS <<_ACEOF
24139 Wine config.status 0.9.27
24140 configured by $0, generated by GNU Autoconf 2.60a,
24141 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
24143 Copyright (C) 2006 Free Software Foundation, Inc.
24144 This config.status script is free software; the Free Software Foundation
24145 gives unlimited permission to copy, distribute and modify it."
24152 cat >>$CONFIG_STATUS <<\_ACEOF
24153 # If no file are specified by the user, then we need to provide default
24154 # value. By we need to know if files were specified by the user.
24160 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
24161 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
24172 # Handling of the options.
24173 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
24175 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
24176 echo "$ac_cs_version"; exit ;;
24177 --debug |
--debu |
--deb |
--de |
--d |
-d )
24179 --file |
--fil |
--fi |
--f )
24181 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
24182 ac_need_defaults
=false
;;
24183 --header |
--heade |
--head |
--hea )
24185 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
24186 ac_need_defaults
=false
;;
24188 # Conflict between --help and --header
24189 { echo "$as_me: error: ambiguous option: $1
24190 Try \`$0 --help' for more information." >&2
24191 { (exit 1); exit 1; }; };;
24192 --help |
--hel |
-h )
24193 echo "$ac_cs_usage"; exit ;;
24194 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
24195 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
24198 # This is an error.
24199 -*) { echo "$as_me: error: unrecognized option: $1
24200 Try \`$0 --help' for more information." >&2
24201 { (exit 1); exit 1; }; } ;;
24203 *) ac_config_targets
="$ac_config_targets $1"
24204 ac_need_defaults
=false
;;
24210 ac_configure_extra_args
=
24212 if $ac_cs_silent; then
24214 ac_configure_extra_args
="$ac_configure_extra_args --silent"
24218 cat >>$CONFIG_STATUS <<_ACEOF
24219 if \$ac_cs_recheck; then
24220 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
24221 CONFIG_SHELL=$SHELL
24222 export CONFIG_SHELL
24223 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
24227 cat >>$CONFIG_STATUS <<\_ACEOF
24231 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
24232 ## Running $as_me. ##
24238 cat >>$CONFIG_STATUS <<_ACEOF
24241 cat >>$CONFIG_STATUS <<\_ACEOF
24243 # Handling of arguments.
24244 for ac_config_target
in $ac_config_targets
24246 case $ac_config_target in
24247 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
24248 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
24249 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
24250 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
24251 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
24252 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
24253 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
24254 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
24255 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
24256 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
24257 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
24258 "dlls/Maketest.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Maketest.rules" ;;
24259 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
24260 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
24261 "dlls/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/Makefile" ;;
24262 "dlls/activeds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/activeds/Makefile" ;;
24263 "dlls/advapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/Makefile" ;;
24264 "dlls/advapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advapi32/tests/Makefile" ;;
24265 "dlls/advpack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/Makefile" ;;
24266 "dlls/advpack/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/advpack/tests/Makefile" ;;
24267 "dlls/amstream/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/amstream/Makefile" ;;
24268 "dlls/atl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/atl/Makefile" ;;
24269 "dlls/avicap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avicap32/Makefile" ;;
24270 "dlls/avifil32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/avifil32/Makefile" ;;
24271 "dlls/cabinet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/Makefile" ;;
24272 "dlls/cabinet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cabinet/tests/Makefile" ;;
24273 "dlls/capi2032/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/capi2032/Makefile" ;;
24274 "dlls/cards/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cards/Makefile" ;;
24275 "dlls/cfgmgr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cfgmgr32/Makefile" ;;
24276 "dlls/clusapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/clusapi/Makefile" ;;
24277 "dlls/comcat/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/Makefile" ;;
24278 "dlls/comcat/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comcat/tests/Makefile" ;;
24279 "dlls/comctl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/Makefile" ;;
24280 "dlls/comctl32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comctl32/tests/Makefile" ;;
24281 "dlls/comdlg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/Makefile" ;;
24282 "dlls/comdlg32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/comdlg32/tests/Makefile" ;;
24283 "dlls/compstui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/compstui/Makefile" ;;
24284 "dlls/crtdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crtdll/Makefile" ;;
24285 "dlls/crypt32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/Makefile" ;;
24286 "dlls/crypt32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/crypt32/tests/Makefile" ;;
24287 "dlls/cryptdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptdll/Makefile" ;;
24288 "dlls/cryptnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/cryptnet/Makefile" ;;
24289 "dlls/ctl3d32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ctl3d32/Makefile" ;;
24290 "dlls/d3d8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/Makefile" ;;
24291 "dlls/d3d8/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d8/tests/Makefile" ;;
24292 "dlls/d3d9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/Makefile" ;;
24293 "dlls/d3d9/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3d9/tests/Makefile" ;;
24294 "dlls/d3dim/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dim/Makefile" ;;
24295 "dlls/d3drm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3drm/Makefile" ;;
24296 "dlls/d3dx8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dx8/Makefile" ;;
24297 "dlls/d3dxof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/d3dxof/Makefile" ;;
24298 "dlls/dbghelp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dbghelp/Makefile" ;;
24299 "dlls/dciman32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dciman32/Makefile" ;;
24300 "dlls/ddraw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/Makefile" ;;
24301 "dlls/ddraw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddraw/tests/Makefile" ;;
24302 "dlls/ddrawex/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ddrawex/Makefile" ;;
24303 "dlls/devenum/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/devenum/Makefile" ;;
24304 "dlls/dinput/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/Makefile" ;;
24305 "dlls/dinput/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput/tests/Makefile" ;;
24306 "dlls/dinput8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dinput8/Makefile" ;;
24307 "dlls/dmband/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmband/Makefile" ;;
24308 "dlls/dmcompos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmcompos/Makefile" ;;
24309 "dlls/dmime/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmime/Makefile" ;;
24310 "dlls/dmloader/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmloader/Makefile" ;;
24311 "dlls/dmscript/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmscript/Makefile" ;;
24312 "dlls/dmstyle/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmstyle/Makefile" ;;
24313 "dlls/dmsynth/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmsynth/Makefile" ;;
24314 "dlls/dmusic/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic/Makefile" ;;
24315 "dlls/dmusic32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dmusic32/Makefile" ;;
24316 "dlls/dnsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/Makefile" ;;
24317 "dlls/dnsapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dnsapi/tests/Makefile" ;;
24318 "dlls/dplay/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplay/Makefile" ;;
24319 "dlls/dplayx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dplayx/Makefile" ;;
24320 "dlls/dpnet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnet/Makefile" ;;
24321 "dlls/dpnhpast/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dpnhpast/Makefile" ;;
24322 "dlls/dsound/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/Makefile" ;;
24323 "dlls/dsound/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dsound/tests/Makefile" ;;
24324 "dlls/dswave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dswave/Makefile" ;;
24325 "dlls/dxdiagn/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxdiagn/Makefile" ;;
24326 "dlls/dxerr8/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr8/Makefile" ;;
24327 "dlls/dxerr9/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxerr9/Makefile" ;;
24328 "dlls/dxguid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/dxguid/Makefile" ;;
24329 "dlls/gdi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/Makefile" ;;
24330 "dlls/gdi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gdi32/tests/Makefile" ;;
24331 "dlls/glu32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/glu32/Makefile" ;;
24332 "dlls/gphoto2.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/gphoto2.ds/Makefile" ;;
24333 "dlls/hhctrl.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hhctrl.ocx/Makefile" ;;
24334 "dlls/hid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hid/Makefile" ;;
24335 "dlls/hlink/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/Makefile" ;;
24336 "dlls/hlink/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/hlink/tests/Makefile" ;;
24337 "dlls/iccvid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iccvid/Makefile" ;;
24338 "dlls/icmp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/icmp/Makefile" ;;
24339 "dlls/ifsmgr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ifsmgr.vxd/Makefile" ;;
24340 "dlls/imaadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imaadp32.acm/Makefile" ;;
24341 "dlls/imagehlp/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imagehlp/Makefile" ;;
24342 "dlls/imm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/imm32/Makefile" ;;
24343 "dlls/infosoft/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/Makefile" ;;
24344 "dlls/infosoft/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/infosoft/tests/Makefile" ;;
24345 "dlls/inseng/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/inseng/Makefile" ;;
24346 "dlls/iphlpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/Makefile" ;;
24347 "dlls/iphlpapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/iphlpapi/tests/Makefile" ;;
24348 "dlls/itss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/itss/Makefile" ;;
24349 "dlls/kernel32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/Makefile" ;;
24350 "dlls/kernel32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/kernel32/tests/Makefile" ;;
24351 "dlls/localspl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/Makefile" ;;
24352 "dlls/localspl/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/localspl/tests/Makefile" ;;
24353 "dlls/lz32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/Makefile" ;;
24354 "dlls/lz32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/lz32/tests/Makefile" ;;
24355 "dlls/mapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/Makefile" ;;
24356 "dlls/mapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mapi32/tests/Makefile" ;;
24357 "dlls/mciavi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciavi32/Makefile" ;;
24358 "dlls/mcicda/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mcicda/Makefile" ;;
24359 "dlls/mciseq/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciseq/Makefile" ;;
24360 "dlls/mciwave/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mciwave/Makefile" ;;
24361 "dlls/midimap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/midimap/Makefile" ;;
24362 "dlls/mlang/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/Makefile" ;;
24363 "dlls/mlang/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mlang/tests/Makefile" ;;
24364 "dlls/mmdevldr.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mmdevldr.vxd/Makefile" ;;
24365 "dlls/monodebg.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/monodebg.vxd/Makefile" ;;
24366 "dlls/mpr/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mpr/Makefile" ;;
24367 "dlls/mprapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mprapi/Makefile" ;;
24368 "dlls/msacm32.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32.drv/Makefile" ;;
24369 "dlls/msacm32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/Makefile" ;;
24370 "dlls/msacm32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msacm32/tests/Makefile" ;;
24371 "dlls/msadp32.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msadp32.acm/Makefile" ;;
24372 "dlls/mscms/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/Makefile" ;;
24373 "dlls/mscms/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscms/tests/Makefile" ;;
24374 "dlls/mscoree/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mscoree/Makefile" ;;
24375 "dlls/msdmo/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msdmo/Makefile" ;;
24376 "dlls/msftedit/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msftedit/Makefile" ;;
24377 "dlls/msg711.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msg711.acm/Makefile" ;;
24378 "dlls/mshtml/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/Makefile" ;;
24379 "dlls/mshtml/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mshtml/tests/Makefile" ;;
24380 "dlls/msi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/Makefile" ;;
24381 "dlls/msi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msi/tests/Makefile" ;;
24382 "dlls/msimg32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msimg32/Makefile" ;;
24383 "dlls/msisys.ocx/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msisys.ocx/Makefile" ;;
24384 "dlls/msnet32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msnet32/Makefile" ;;
24385 "dlls/msrle32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msrle32/Makefile" ;;
24386 "dlls/msvcrt/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/Makefile" ;;
24387 "dlls/msvcrt/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt/tests/Makefile" ;;
24388 "dlls/msvcrt20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt20/Makefile" ;;
24389 "dlls/msvcrt40/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrt40/Makefile" ;;
24390 "dlls/msvcrtd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/Makefile" ;;
24391 "dlls/msvcrtd/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvcrtd/tests/Makefile" ;;
24392 "dlls/msvfw32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvfw32/Makefile" ;;
24393 "dlls/msvidc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msvidc32/Makefile" ;;
24394 "dlls/mswsock/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/mswsock/Makefile" ;;
24395 "dlls/msxml3/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/Makefile" ;;
24396 "dlls/msxml3/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/msxml3/tests/Makefile" ;;
24397 "dlls/nddeapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/nddeapi/Makefile" ;;
24398 "dlls/netapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/Makefile" ;;
24399 "dlls/netapi32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/netapi32/tests/Makefile" ;;
24400 "dlls/newdev/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/newdev/Makefile" ;;
24401 "dlls/ntdll/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/Makefile" ;;
24402 "dlls/ntdll/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdll/tests/Makefile" ;;
24403 "dlls/ntdsapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ntdsapi/Makefile" ;;
24404 "dlls/objsel/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/objsel/Makefile" ;;
24405 "dlls/odbc32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbc32/Makefile" ;;
24406 "dlls/odbccp32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/odbccp32/Makefile" ;;
24407 "dlls/ole32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/Makefile" ;;
24408 "dlls/ole32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ole32/tests/Makefile" ;;
24409 "dlls/oleacc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleacc/Makefile" ;;
24410 "dlls/oleaut32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/Makefile" ;;
24411 "dlls/oleaut32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oleaut32/tests/Makefile" ;;
24412 "dlls/olecli32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olecli32/Makefile" ;;
24413 "dlls/oledlg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/oledlg/Makefile" ;;
24414 "dlls/olepro32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olepro32/Makefile" ;;
24415 "dlls/olesvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/olesvr32/Makefile" ;;
24416 "dlls/opengl32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/opengl32/Makefile" ;;
24417 "dlls/powrprof/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/powrprof/Makefile" ;;
24418 "dlls/psapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/Makefile" ;;
24419 "dlls/psapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/psapi/tests/Makefile" ;;
24420 "dlls/pstorec/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/pstorec/Makefile" ;;
24421 "dlls/qcap/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/qcap/Makefile" ;;
24422 "dlls/quartz/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/Makefile" ;;
24423 "dlls/quartz/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/quartz/tests/Makefile" ;;
24424 "dlls/query/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/query/Makefile" ;;
24425 "dlls/rasapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rasapi32/Makefile" ;;
24426 "dlls/resutils/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/resutils/Makefile" ;;
24427 "dlls/riched20/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/Makefile" ;;
24428 "dlls/riched20/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched20/tests/Makefile" ;;
24429 "dlls/riched32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/riched32/Makefile" ;;
24430 "dlls/rpcrt4/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/Makefile" ;;
24431 "dlls/rpcrt4/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rpcrt4/tests/Makefile" ;;
24432 "dlls/rsabase/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/Makefile" ;;
24433 "dlls/rsabase/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsabase/tests/Makefile" ;;
24434 "dlls/rsaenh/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/Makefile" ;;
24435 "dlls/rsaenh/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/rsaenh/tests/Makefile" ;;
24436 "dlls/sane.ds/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sane.ds/Makefile" ;;
24437 "dlls/secur32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/Makefile" ;;
24438 "dlls/secur32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/secur32/tests/Makefile" ;;
24439 "dlls/security/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/security/Makefile" ;;
24440 "dlls/sensapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sensapi/Makefile" ;;
24441 "dlls/serialui/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/serialui/Makefile" ;;
24442 "dlls/setupapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/Makefile" ;;
24443 "dlls/setupapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/setupapi/tests/Makefile" ;;
24444 "dlls/sfc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sfc/Makefile" ;;
24445 "dlls/shdoclc/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdoclc/Makefile" ;;
24446 "dlls/shdocvw/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/Makefile" ;;
24447 "dlls/shdocvw/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shdocvw/tests/Makefile" ;;
24448 "dlls/shell32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/Makefile" ;;
24449 "dlls/shell32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shell32/tests/Makefile" ;;
24450 "dlls/shfolder/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shfolder/Makefile" ;;
24451 "dlls/shlwapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/Makefile" ;;
24452 "dlls/shlwapi/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/shlwapi/tests/Makefile" ;;
24453 "dlls/snmpapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/snmpapi/Makefile" ;;
24454 "dlls/spoolss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/spoolss/Makefile" ;;
24455 "dlls/stdole2.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole2.tlb/Makefile" ;;
24456 "dlls/stdole32.tlb/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/stdole32.tlb/Makefile" ;;
24457 "dlls/sti/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/sti/Makefile" ;;
24458 "dlls/strmiids/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/strmiids/Makefile" ;;
24459 "dlls/svrapi/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/svrapi/Makefile" ;;
24460 "dlls/tapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/tapi32/Makefile" ;;
24461 "dlls/twain_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/twain_32/Makefile" ;;
24462 "dlls/unicows/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/unicows/Makefile" ;;
24463 "dlls/url/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/url/Makefile" ;;
24464 "dlls/urlmon/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/Makefile" ;;
24465 "dlls/urlmon/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/urlmon/tests/Makefile" ;;
24466 "dlls/user32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/Makefile" ;;
24467 "dlls/user32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/user32/tests/Makefile" ;;
24468 "dlls/userenv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/userenv/Makefile" ;;
24469 "dlls/usp10/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/Makefile" ;;
24470 "dlls/usp10/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/usp10/tests/Makefile" ;;
24471 "dlls/uuid/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uuid/Makefile" ;;
24472 "dlls/uxtheme/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/Makefile" ;;
24473 "dlls/uxtheme/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/uxtheme/tests/Makefile" ;;
24474 "dlls/vdhcp.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdhcp.vxd/Makefile" ;;
24475 "dlls/vdmdbg/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vdmdbg/Makefile" ;;
24476 "dlls/version/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/Makefile" ;;
24477 "dlls/version/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/version/tests/Makefile" ;;
24478 "dlls/vmm.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vmm.vxd/Makefile" ;;
24479 "dlls/vnbt.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnbt.vxd/Makefile" ;;
24480 "dlls/vnetbios.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vnetbios.vxd/Makefile" ;;
24481 "dlls/vtdapi.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vtdapi.vxd/Makefile" ;;
24482 "dlls/vwin32.vxd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/vwin32.vxd/Makefile" ;;
24483 "dlls/w32skrnl/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/w32skrnl/Makefile" ;;
24484 "dlls/winecrt0/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winecrt0/Makefile" ;;
24485 "dlls/wined3d/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wined3d/Makefile" ;;
24486 "dlls/winedos/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winedos/Makefile" ;;
24487 "dlls/winemp3.acm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winemp3.acm/Makefile" ;;
24488 "dlls/wineps.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wineps.drv/Makefile" ;;
24489 "dlls/winequartz.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winequartz.drv/Makefile" ;;
24490 "dlls/winex11.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winex11.drv/Makefile" ;;
24491 "dlls/wininet/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/Makefile" ;;
24492 "dlls/wininet/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wininet/tests/Makefile" ;;
24493 "dlls/winmm/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/Makefile" ;;
24494 "dlls/winmm/joystick/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/joystick/Makefile" ;;
24495 "dlls/winmm/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/tests/Makefile" ;;
24496 "dlls/winmm/winealsa/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winealsa/Makefile" ;;
24497 "dlls/winmm/winearts/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winearts/Makefile" ;;
24498 "dlls/winmm/wineaudioio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineaudioio/Makefile" ;;
24499 "dlls/winmm/winecoreaudio/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winecoreaudio/Makefile" ;;
24500 "dlls/winmm/wineesd/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineesd/Makefile" ;;
24501 "dlls/winmm/winejack/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winejack/Makefile" ;;
24502 "dlls/winmm/winenas/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/winenas/Makefile" ;;
24503 "dlls/winmm/wineoss/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winmm/wineoss/Makefile" ;;
24504 "dlls/winnls32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winnls32/Makefile" ;;
24505 "dlls/winspool.drv/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/Makefile" ;;
24506 "dlls/winspool.drv/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/winspool.drv/tests/Makefile" ;;
24507 "dlls/wintab32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintab32/Makefile" ;;
24508 "dlls/wintrust/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/Makefile" ;;
24509 "dlls/wintrust/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wintrust/tests/Makefile" ;;
24510 "dlls/wldap32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wldap32/Makefile" ;;
24511 "dlls/wnaspi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wnaspi32/Makefile" ;;
24512 "dlls/wow32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wow32/Makefile" ;;
24513 "dlls/ws2_32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/Makefile" ;;
24514 "dlls/ws2_32/tests/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/ws2_32/tests/Makefile" ;;
24515 "dlls/wsock32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wsock32/Makefile" ;;
24516 "dlls/wtsapi32/Makefile") CONFIG_FILES
="$CONFIG_FILES dlls/wtsapi32/Makefile" ;;
24517 "documentation/Makefile") CONFIG_FILES
="$CONFIG_FILES documentation/Makefile" ;;
24518 "fonts/Makefile") CONFIG_FILES
="$CONFIG_FILES fonts/Makefile" ;;
24519 "include/Makefile") CONFIG_FILES
="$CONFIG_FILES include/Makefile" ;;
24520 "libs/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/Makefile" ;;
24521 "libs/port/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/port/Makefile" ;;
24522 "libs/wine/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wine/Makefile" ;;
24523 "libs/wpp/Makefile") CONFIG_FILES
="$CONFIG_FILES libs/wpp/Makefile" ;;
24524 "loader/Makefile") CONFIG_FILES
="$CONFIG_FILES loader/Makefile" ;;
24525 "programs/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/Makefile" ;;
24526 "programs/clock/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/clock/Makefile" ;;
24527 "programs/cmd/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmd/Makefile" ;;
24528 "programs/cmdlgtst/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/cmdlgtst/Makefile" ;;
24529 "programs/control/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/control/Makefile" ;;
24530 "programs/eject/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/eject/Makefile" ;;
24531 "programs/expand/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/expand/Makefile" ;;
24532 "programs/explorer/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/explorer/Makefile" ;;
24533 "programs/hh/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/hh/Makefile" ;;
24534 "programs/icinfo/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/icinfo/Makefile" ;;
24535 "programs/iexplore/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/iexplore/Makefile" ;;
24536 "programs/msiexec/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/msiexec/Makefile" ;;
24537 "programs/notepad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/notepad/Makefile" ;;
24538 "programs/oleview/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/oleview/Makefile" ;;
24539 "programs/progman/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/progman/Makefile" ;;
24540 "programs/regedit/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regedit/Makefile" ;;
24541 "programs/regsvr32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/regsvr32/Makefile" ;;
24542 "programs/rpcss/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rpcss/Makefile" ;;
24543 "programs/rundll32/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/rundll32/Makefile" ;;
24544 "programs/start/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/start/Makefile" ;;
24545 "programs/taskmgr/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/taskmgr/Makefile" ;;
24546 "programs/uninstaller/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/uninstaller/Makefile" ;;
24547 "programs/view/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/view/Makefile" ;;
24548 "programs/wineboot/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineboot/Makefile" ;;
24549 "programs/winebrowser/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winebrowser/Makefile" ;;
24550 "programs/winecfg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winecfg/Makefile" ;;
24551 "programs/wineconsole/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wineconsole/Makefile" ;;
24552 "programs/winedbg/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winedbg/Makefile" ;;
24553 "programs/winefile/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winefile/Makefile" ;;
24554 "programs/winemenubuilder/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemenubuilder/Makefile" ;;
24555 "programs/winemine/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winemine/Makefile" ;;
24556 "programs/winepath/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winepath/Makefile" ;;
24557 "programs/winetest/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winetest/Makefile" ;;
24558 "programs/winevdm/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winevdm/Makefile" ;;
24559 "programs/winhelp/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winhelp/Makefile" ;;
24560 "programs/winver/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/winver/Makefile" ;;
24561 "programs/wordpad/Makefile") CONFIG_FILES
="$CONFIG_FILES programs/wordpad/Makefile" ;;
24562 "server/Makefile") CONFIG_FILES
="$CONFIG_FILES server/Makefile" ;;
24563 "tools/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/Makefile" ;;
24564 "tools/widl/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/widl/Makefile" ;;
24565 "tools/winebuild/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winebuild/Makefile" ;;
24566 "tools/winedump/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winedump/Makefile" ;;
24567 "tools/winegcc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/winegcc/Makefile" ;;
24568 "tools/wmc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wmc/Makefile" ;;
24569 "tools/wrc/Makefile") CONFIG_FILES
="$CONFIG_FILES tools/wrc/Makefile" ;;
24571 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
24572 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
24573 { (exit 1); exit 1; }; };;
24578 # If the user did not use the arguments to specify the items to instantiate,
24579 # then the envvar interface is used. Set only those that are not.
24580 # We use the long form for the default assignment because of an extremely
24581 # bizarre bug on SunOS 4.1.3.
24582 if $ac_need_defaults; then
24583 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
24584 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
24585 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
24588 # Have a temporary directory for convenience. Make it in the build tree
24589 # simply because there is no reason against having it here, and in addition,
24590 # creating and moving files from /tmp can sometimes cause problems.
24591 # Hook for its removal unless debugging.
24592 # Note that there is a small window in which the directory will not be cleaned:
24593 # after its creation but before its name has been assigned to `$tmp'.
24597 trap 'exit_status=$?
24598 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
24600 trap '{ (exit 1); exit 1; }' 1 2 13 15
24602 # Create a (secure) tmp directory for tmp files.
24605 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24606 test -n "$tmp" && test -d "$tmp"
24609 tmp
=.
/conf$$
-$RANDOM
24610 (umask 077 && mkdir
"$tmp")
24613 echo "$me: cannot create a temporary directory in ." >&2
24614 { (exit 1); exit 1; }
24618 # Set up the sed scripts for CONFIG_FILES section.
24621 # No need to generate the scripts if there are no CONFIG_FILES.
24622 # This happens for instance when ./config.status config.h
24623 if test -n "$CONFIG_FILES"; then
24627 # Create sed commands to just substitute file output variables.
24629 # Remaining file output variables are in a fragment that also has non-file
24635 for ac_last_try
in false false false false false
:; do
24636 cat >conf$
$subs.
sed <<_ACEOF
24637 SHELL!$SHELL$ac_delim
24638 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
24639 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
24640 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
24641 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
24642 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
24643 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
24644 exec_prefix!$exec_prefix$ac_delim
24645 prefix!$prefix$ac_delim
24646 program_transform_name!$program_transform_name$ac_delim
24647 bindir!$bindir$ac_delim
24648 sbindir!$sbindir$ac_delim
24649 libexecdir!$libexecdir$ac_delim
24650 datarootdir!$datarootdir$ac_delim
24651 datadir!$datadir$ac_delim
24652 sysconfdir!$sysconfdir$ac_delim
24653 sharedstatedir!$sharedstatedir$ac_delim
24654 localstatedir!$localstatedir$ac_delim
24655 includedir!$includedir$ac_delim
24656 oldincludedir!$oldincludedir$ac_delim
24657 docdir!$docdir$ac_delim
24658 infodir!$infodir$ac_delim
24659 htmldir!$htmldir$ac_delim
24660 dvidir!$dvidir$ac_delim
24661 pdfdir!$pdfdir$ac_delim
24662 psdir!$psdir$ac_delim
24663 libdir!$libdir$ac_delim
24664 localedir!$localedir$ac_delim
24665 mandir!$mandir$ac_delim
24666 DEFS!$DEFS$ac_delim
24667 ECHO_C!$ECHO_C$ac_delim
24668 ECHO_N!$ECHO_N$ac_delim
24669 ECHO_T!$ECHO_T$ac_delim
24670 LIBS!$LIBS$ac_delim
24671 build_alias!$build_alias$ac_delim
24672 host_alias!$host_alias$ac_delim
24673 target_alias!$target_alias$ac_delim
24674 build!$build$ac_delim
24675 build_cpu!$build_cpu$ac_delim
24676 build_vendor!$build_vendor$ac_delim
24677 build_os!$build_os$ac_delim
24678 host!$host$ac_delim
24679 host_cpu!$host_cpu$ac_delim
24680 host_vendor!$host_vendor$ac_delim
24681 host_os!$host_os$ac_delim
24682 WIN16_FILES!$WIN16_FILES$ac_delim
24683 WIN16_INSTALL!$WIN16_INSTALL$ac_delim
24684 SET_MAKE!$SET_MAKE$ac_delim
24686 CFLAGS!$CFLAGS$ac_delim
24687 LDFLAGS!$LDFLAGS$ac_delim
24688 CPPFLAGS!$CPPFLAGS$ac_delim
24689 ac_ct_CC!$ac_ct_CC$ac_delim
24690 EXEEXT!$EXEEXT$ac_delim
24691 OBJEXT!$OBJEXT$ac_delim
24693 CXXFLAGS!$CXXFLAGS$ac_delim
24694 ac_ct_CXX!$ac_ct_CXX$ac_delim
24695 CPPBIN!$CPPBIN$ac_delim
24696 TOOLSDIR!$TOOLSDIR$ac_delim
24697 XMKMF!$XMKMF$ac_delim
24699 X_CFLAGS!$X_CFLAGS$ac_delim
24700 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
24701 X_LIBS!$X_LIBS$ac_delim
24702 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
24704 LEX_OUTPUT_ROOT!$LEX_OUTPUT_ROOT$ac_delim
24705 LEXLIB!$LEXLIB$ac_delim
24706 XLEX!$XLEX$ac_delim
24707 BISON!$BISON$ac_delim
24709 ac_ct_AS!$ac_ct_AS$ac_delim
24712 RANLIB!$RANLIB$ac_delim
24713 STRIP!$STRIP$ac_delim
24714 WINDRES!$WINDRES$ac_delim
24715 LN_S!$LN_S$ac_delim
24717 GREP!$GREP$ac_delim
24718 EGREP!$EGREP$ac_delim
24721 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 82; then
24723 elif $ac_last_try; then
24724 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24725 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24726 { (exit 1); exit 1; }; }
24728 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24732 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24733 if test -n "$ac_eof"; then
24734 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24735 ac_eof
=`expr $ac_eof + 1`
24738 cat >>$CONFIG_STATUS <<_ACEOF
24739 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
24740 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
24741 /^[ ]*@MAKE_RULES@[ ]*$/{
24745 /^[ ]*@MAKE_DLL_RULES@[ ]*$/{
24749 /^[ ]*@MAKE_IMPLIB_RULES@[ ]*$/{
24750 r $MAKE_IMPLIB_RULES
24753 /^[ ]*@MAKE_TEST_RULES@[ ]*$/{
24757 /^[ ]*@MAKE_PROG_RULES@[ ]*$/{
24763 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24764 s/^/s,@/; s/!/@,|#_!!_#|/
24767 s/'"$ac_delim"'$/,g/; t
24769 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24770 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24771 rm -f conf$
$subs.
sed
24772 cat >>$CONFIG_STATUS <<_ACEOF
24778 for ac_last_try
in false false false false false
:; do
24779 cat >conf$
$subs.
sed <<_ACEOF
24780 LDCONFIG!$LDCONFIG$ac_delim
24781 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
24782 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
24783 INSTALL_DATA!$INSTALL_DATA$ac_delim
24784 LINT!$LINT$ac_delim
24785 LINTFLAGS!$LINTFLAGS$ac_delim
24786 FONTFORGE!$FONTFORGE$ac_delim
24787 PKG_CONFIG!$PKG_CONFIG$ac_delim
24788 PRELINK!$PRELINK$ac_delim
24789 LIBPTHREAD!$LIBPTHREAD$ac_delim
24790 XLIB!$XLIB$ac_delim
24791 XFILES!$XFILES$ac_delim
24792 OPENGLFILES!$OPENGLFILES$ac_delim
24793 GLU32FILES!$GLU32FILES$ac_delim
24794 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
24795 QUARTZFILES!$QUARTZFILES$ac_delim
24796 NASLIBS!$NASLIBS$ac_delim
24797 XML2LIBS!$XML2LIBS$ac_delim
24798 XML2INCL!$XML2INCL$ac_delim
24799 XSLTLIBS!$XSLTLIBS$ac_delim
24800 XSLTINCL!$XSLTINCL$ac_delim
24801 HALINCL!$HALINCL$ac_delim
24802 sane_devel!$sane_devel$ac_delim
24803 SANELIBS!$SANELIBS$ac_delim
24804 SANEINCL!$SANEINCL$ac_delim
24805 gphoto2_devel!$gphoto2_devel$ac_delim
24806 gphoto2port_devel!$gphoto2port_devel$ac_delim
24807 GPHOTO2LIBS!$GPHOTO2LIBS$ac_delim
24808 GPHOTO2INCL!$GPHOTO2INCL$ac_delim
24809 ICULIBS!$ICULIBS$ac_delim
24810 RESOLVLIBS!$RESOLVLIBS$ac_delim
24811 LCMSLIBS!$LCMSLIBS$ac_delim
24812 LDAPLIBS!$LDAPLIBS$ac_delim
24813 FREETYPELIBS!$FREETYPELIBS$ac_delim
24814 FREETYPEINCL!$FREETYPEINCL$ac_delim
24815 ft_devel!$ft_devel$ac_delim
24816 ft_devel2!$ft_devel2$ac_delim
24817 FONTSSUBDIRS!$FONTSSUBDIRS$ac_delim
24818 ARTSCCONFIG!$ARTSCCONFIG$ac_delim
24819 ARTSLIBS!$ARTSLIBS$ac_delim
24820 ARTSINCL!$ARTSINCL$ac_delim
24821 ESDCONFIG!$ESDCONFIG$ac_delim
24822 ESDLIBS!$ESDLIBS$ac_delim
24823 ESDINCL!$ESDINCL$ac_delim
24824 ALSALIBS!$ALSALIBS$ac_delim
24825 AUDIOIOLIBS!$AUDIOIOLIBS$ac_delim
24826 EXTRACFLAGS!$EXTRACFLAGS$ac_delim
24827 BUILTINFLAG!$BUILTINFLAG$ac_delim
24828 DLLEXT!$DLLEXT$ac_delim
24829 DLLFLAGS!$DLLFLAGS$ac_delim
24830 LDSHARED!$LDSHARED$ac_delim
24831 LDDLLFLAGS!$LDDLLFLAGS$ac_delim
24832 LIBEXT!$LIBEXT$ac_delim
24833 IMPLIBEXT!$IMPLIBEXT$ac_delim
24834 LIBWINE_LDFLAGS!$LIBWINE_LDFLAGS$ac_delim
24835 DLLTOOL!$DLLTOOL$ac_delim
24836 DLLWRAP!$DLLWRAP$ac_delim
24837 COREFOUNDATIONLIB!$COREFOUNDATIONLIB$ac_delim
24838 IOKITLIB!$IOKITLIB$ac_delim
24839 LDEXECFLAGS!$LDEXECFLAGS$ac_delim
24840 DISKARBITRATIONLIB!$DISKARBITRATIONLIB$ac_delim
24841 COREAUDIO!$COREAUDIO$ac_delim
24842 CROSSTEST!$CROSSTEST$ac_delim
24843 CROSSCC!$CROSSCC$ac_delim
24844 CROSSWINDRES!$CROSSWINDRES$ac_delim
24845 LDPATH!$LDPATH$ac_delim
24846 CRTLIBS!$CRTLIBS$ac_delim
24847 SOCKETLIBS!$SOCKETLIBS$ac_delim
24848 MAIN_BINARY!$MAIN_BINARY$ac_delim
24849 EXTRA_BINARIES!$EXTRA_BINARIES$ac_delim
24851 LIBDL!$LIBDL$ac_delim
24852 LIBPOLL!$LIBPOLL$ac_delim
24853 DEPENDENCIES!$DEPENDENCIES$ac_delim
24854 LIBOBJS!$LIBOBJS$ac_delim
24855 LTLIBOBJS!$LTLIBOBJS$ac_delim
24858 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 76; then
24860 elif $ac_last_try; then
24861 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
24862 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
24863 { (exit 1); exit 1; }; }
24865 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
24869 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
24870 if test -n "$ac_eof"; then
24871 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
24872 ac_eof
=`expr $ac_eof + 1`
24875 cat >>$CONFIG_STATUS <<_ACEOF
24876 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
24877 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
24880 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
24881 s/^/s,@/; s/!/@,|#_!!_#|/
24884 s/'"$ac_delim"'$/,g/; t
24886 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
24887 ' >>$CONFIG_STATUS <conf$
$subs.
sed
24888 rm -f conf$
$subs.
sed
24889 cat >>$CONFIG_STATUS <<_ACEOF
24896 # VPATH may cause trouble with some makes, so we remove $(srcdir),
24897 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
24898 # trailing colons and then remove the whole line if VPATH becomes empty
24899 # (actually we leave an empty line to preserve line numbers).
24900 if test "x$srcdir" = x.
; then
24901 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
24902 s/:*\$(srcdir):*/:/
24903 s/:*\${srcdir}:*/:/
24905 s/^\([^=]*=[ ]*\):*/\1/
24911 cat >>$CONFIG_STATUS <<\_ACEOF
24912 fi # test -n "$CONFIG_FILES"
24915 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
24918 :[FHLC
]) ac_mode
=$ac_tag; continue;;
24920 case $ac_mode$ac_tag in
24922 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
24923 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
24924 { (exit 1); exit 1; }; };;
24925 :[FH
]-) ac_tag
=-:-;;
24926 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
24943 -) ac_f
="$tmp/stdin";;
24944 *) # Look for the file first in the build tree, then in the source tree
24945 # (if the path is not absolute). The absolute path cannot be DOS-style,
24946 # because $ac_f cannot contain `:'.
24950 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
24952 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
24953 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
24954 { (exit 1); exit 1; }; };;
24956 ac_file_inputs
="$ac_file_inputs $ac_f"
24959 # Let's still pretend it is `configure' which instantiates (i.e., don't
24960 # use $as_me), people would be surprised to read:
24961 # /* config.h. Generated by config.status. */
24962 configure_input
="Generated from "`IFS=:
24963 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
24964 if test x
"$ac_file" != x-
; then
24965 configure_input
="$ac_file. $configure_input"
24966 { echo "$as_me:$LINENO: creating $ac_file" >&5
24967 echo "$as_me: creating $ac_file" >&6;}
24971 *:-:* |
*:-) cat >"$tmp/stdin";;
24976 ac_dir
=`$as_dirname -- "$ac_file" ||
24977 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
24978 X"$ac_file" : 'X\(//\)[^/]' \| \
24979 X"$ac_file" : 'X\(//\)$' \| \
24980 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
24982 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
24986 /^X\(\/\/\)[^/].*/{
25001 -*) as_dir
=.
/$as_dir;;
25003 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
25007 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
25008 *) as_qdir
=$as_dir;;
25010 as_dirs
="'$as_qdir' $as_dirs"
25011 as_dir
=`$as_dirname -- "$as_dir" ||
25012 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25013 X"$as_dir" : 'X\(//\)[^/]' \| \
25014 X"$as_dir" : 'X\(//\)$' \| \
25015 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25017 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25021 /^X\(\/\/\)[^/].*/{
25034 test -d "$as_dir" && break
25036 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
25037 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
25038 echo "$as_me: error: cannot create directory $as_dir" >&2;}
25039 { (exit 1); exit 1; }; }; }
25043 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25045 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
25046 # A ".." for each directory in $ac_dir_suffix.
25047 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
25048 case $ac_top_builddir_sub in
25049 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
25050 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
25053 ac_abs_top_builddir
=$ac_pwd
25054 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
25055 # for backward compatibility:
25056 ac_top_builddir
=$ac_top_build_prefix
25059 .
) # We are building in place.
25061 ac_top_srcdir
=$ac_top_builddir_sub
25062 ac_abs_top_srcdir
=$ac_pwd ;;
25063 [\\/]* | ?
:[\\/]* ) # Absolute name.
25064 ac_srcdir
=$srcdir$ac_dir_suffix;
25065 ac_top_srcdir
=$srcdir
25066 ac_abs_top_srcdir
=$srcdir ;;
25067 *) # Relative name.
25068 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
25069 ac_top_srcdir
=$ac_top_build_prefix$srcdir
25070 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
25072 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
25082 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
25083 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
25087 cat >>$CONFIG_STATUS <<\_ACEOF
25088 # If the template does not know about datarootdir, expand it.
25089 # FIXME: This hack should be removed a few years after 2.60.
25090 ac_datarootdir_hack
=; ac_datarootdir_seen
=
25092 case `sed -n '/datarootdir/ {
25101 ' $ac_file_inputs` in
25102 *datarootdir
*) ac_datarootdir_seen
=yes;;
25103 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
25104 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
25105 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
25107 cat >>$CONFIG_STATUS <<_ACEOF
25108 ac_datarootdir_hack='
25109 s&@datadir@&$datadir&g
25110 s&@docdir@&$docdir&g
25111 s&@infodir@&$infodir&g
25112 s&@localedir@&$localedir&g
25113 s&@mandir@&$mandir&g
25114 s&\\\${datarootdir}&$datarootdir&g' ;;
25118 # Neutralize VPATH when `$srcdir' = `.'.
25119 # Shell code in configure.ac might set extrasub.
25120 # FIXME: do we really want to maintain this feature?
25121 cat >>$CONFIG_STATUS <<_ACEOF
25125 cat >>$CONFIG_STATUS <<\_ACEOF
25127 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
25128 s
&@configure_input@
&$configure_input&;t t
25129 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
25130 s
&@srcdir@
&$ac_srcdir&;t t
25131 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
25132 s
&@top_srcdir@
&$ac_top_srcdir&;t t
25133 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
25134 s
&@builddir@
&$ac_builddir&;t t
25135 s
&@abs_builddir@
&$ac_abs_builddir&;t t
25136 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
25137 s
&@INSTALL@
&$ac_INSTALL&;t t
25138 $ac_datarootdir_hack
25139 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
25141 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
25142 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
25143 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
25144 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
25145 which seems to be undefined. Please make sure it is defined." >&5
25146 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
25147 which seems to be undefined. Please make sure it is defined." >&2;}
25151 -) cat "$tmp/out"; rm -f "$tmp/out";;
25152 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
25161 # Transform confdefs.h into a sed script `conftest.defines', that
25162 # substitutes the proper values into config.h.in to produce config.h.
25163 rm -f conftest.defines conftest.
tail
25164 # First, append a space to every undef/define line, to ease matching.
25165 echo 's/$/ /' >conftest.defines
25166 # Then, protect against being on the right side of a sed subst, or in
25167 # an unquoted here document, in config.status. If some macros were
25168 # called several times there might be several #defines for the same
25169 # symbol, which is useless. But do not sort them, since the last
25170 # AC_DEFINE must be honored.
25171 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
25172 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
25173 # NAME is the cpp macro being defined, VALUE is the value it is being given.
25174 # PARAMS is the parameter list in the macro definition--in most cases, it's
25175 # just an empty string.
25176 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
25177 ac_dB
='\\)[ (].*,\\1define\\2'
25185 s/^[ ]*#[ ]*define[ ][ ]*//
25190 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
25191 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
25192 ' >>conftest.defines
25194 # Remove the space that was appended to ease matching.
25195 # Then replace #undef with comments. This is necessary, for
25196 # example, in the case of _POSIX_SOURCE, which is predefined and required
25197 # on some systems where configure will not decide to define it.
25198 # (The regexp can be short, since the line contains either #define or #undef.)
25200 s,^[ #]*u.*,/* & */,' >>conftest.defines
25202 # Break up conftest.defines:
25203 ac_max_sed_lines
=50
25205 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
25206 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
25207 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
25209 ac_in
='$ac_file_inputs'
25210 ac_out
='"$tmp/out1"'
25211 ac_nxt
='"$tmp/out2"'
25215 # Write a here document:
25216 cat >>$CONFIG_STATUS <<_ACEOF
25217 # First, check the format of the line:
25218 cat >"\$tmp/defines.sed" <<\\CEOF
25219 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
25220 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
25224 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
25226 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
25227 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
25228 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
25229 grep . conftest.
tail >/dev
/null ||
break
25230 rm -f conftest.defines
25231 mv conftest.
tail conftest.defines
25233 rm -f conftest.defines conftest.
tail
25235 echo "ac_result=$ac_in" >>$CONFIG_STATUS
25236 cat >>$CONFIG_STATUS <<\_ACEOF
25237 if test x
"$ac_file" != x-
; then
25238 echo "/* $configure_input */" >"$tmp/config.h"
25239 cat "$ac_result" >>"$tmp/config.h"
25240 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
25241 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
25242 echo "$as_me: $ac_file is unchanged" >&6;}
25245 mv "$tmp/config.h" $ac_file
25248 echo "/* $configure_input */"
25254 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
25255 echo "$as_me: executing $ac_file commands" >&6;}
25260 case $ac_file$ac_mode in
25261 "include/stamp-h":C
) echo timestamp
> include
/stamp-h
;;
25262 "dlls/gdi32/enhmfdrv":C
) test -d "dlls/gdi32/enhmfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/enhmfdrv" >&5
25263 echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;} && mkdir
"dlls/gdi32/enhmfdrv") ;;
25264 "dlls/gdi32/mfdrv":C
) test -d "dlls/gdi32/mfdrv" ||
({ echo "$as_me:$LINENO: creating dlls/gdi32/mfdrv" >&5
25265 echo "$as_me: creating dlls/gdi32/mfdrv" >&6;} && mkdir
"dlls/gdi32/mfdrv") ;;
25266 "dlls/kernel32/nls":C
) test -d "dlls/kernel32/nls" ||
({ echo "$as_me:$LINENO: creating dlls/kernel32/nls" >&5
25267 echo "$as_me: creating dlls/kernel32/nls" >&6;} && mkdir
"dlls/kernel32/nls") ;;
25268 "dlls/user32/resources":C
) test -d "dlls/user32/resources" ||
({ echo "$as_me:$LINENO: creating dlls/user32/resources" >&5
25269 echo "$as_me: creating dlls/user32/resources" >&6;} && mkdir
"dlls/user32/resources") ;;
25270 "dlls/wineps.drv/data":C
) test -d "dlls/wineps.drv/data" ||
({ echo "$as_me:$LINENO: creating dlls/wineps.drv/data" >&5
25271 echo "$as_me: creating dlls/wineps.drv/data" >&6;} && mkdir
"dlls/wineps.drv/data") ;;
25272 "include/wine":C
) test -d "include/wine" ||
({ echo "$as_me:$LINENO: creating include/wine" >&5
25273 echo "$as_me: creating include/wine" >&6;} && mkdir
"include/wine") ;;
25279 { (exit 0); exit 0; }
25281 chmod +x
$CONFIG_STATUS
25282 ac_clean_files
=$ac_clean_files_save
25285 # configure is writing to config.log, and then calls config.status.
25286 # config.status does its own redirection, appending to config.log.
25287 # Unfortunately, on DOS this fails, as config.log is still kept open
25288 # by configure, so config.status won't be able to write to it; its
25289 # output is simply discarded. So we exec the FD to /dev/null,
25290 # effectively closing config.log, so it can be properly (re)opened and
25291 # appended to by config.status. When coming back to configure, we
25292 # need to make the FD available again.
25293 if test "$no_create" != yes; then
25295 ac_config_status_args
=
25296 test "$silent" = yes &&
25297 ac_config_status_args
="$ac_config_status_args --quiet"
25299 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
25301 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
25302 # would make configure fail if this is the last instruction.
25303 $ac_cs_success ||
{ (exit 1); exit 1; }
25308 if test "$no_create" = "yes"
25313 if test "$verbose" = "yes"
25315 if test "$ac_cv_header_capi20_h" != "yes" -o "$ac_cv_header_linux_capi_h" != "yes"
25318 { echo "$as_me:$LINENO: libcapi20 development files not found." >&5
25319 echo "$as_me: libcapi20 development files not found." >&6;}
25320 { echo "$as_me:$LINENO: Wine will be built without ISDN support. (capi2032.dll)" >&5
25321 echo "$as_me: Wine will be built without ISDN support. (capi2032.dll)" >&6;}
25324 if test "$ac_cv_header_cups_cups_h" != "yes"
25327 { echo "$as_me:$LINENO: libcups development files not found." >&5
25328 echo "$as_me: libcups development files not found." >&6;}
25329 { echo "$as_me:$LINENO: Wine will be built without CUPS support." >&5
25330 echo "$as_me: Wine will be built without CUPS support." >&6;}
25334 if test "$ac_cv_header_gphoto2_camera_h" != "yes"
25337 { echo "$as_me:$LINENO: libgphoto2 development files not found." >&5
25338 echo "$as_me: libgphoto2 development files not found." >&6;}
25339 if test "$ac_cv_header_sane_sane_h" = "yes"
25341 { echo "$as_me:$LINENO: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&5
25342 echo "$as_me: Wine will be built with limited Digital Camera support. (twain_32.dll)" >&6;}
25344 { echo "$as_me:$LINENO: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&5
25345 echo "$as_me: Wine will be built without Digital Camera support. (gphoto2.ds/twain_32.dll)" >&6;}
25349 if test "$ac_cv_header_hal_libhal_h" != "yes"
25352 { echo "$as_me:$LINENO: libhal development files not found." >&5
25353 echo "$as_me: libhal development files not found." >&6;}
25354 { echo "$as_me:$LINENO: Wine will be built without dynamic device support. (explorer.exe)" >&5
25355 echo "$as_me: Wine will be built without dynamic device support. (explorer.exe)" >&6;}
25358 if test "$ac_cv_header_unicode_ubidi_h" != "yes"
25361 { echo "$as_me:$LINENO: libicu development files not found." >&5
25362 echo "$as_me: libicu development files not found." >&6;}
25363 { echo "$as_me:$LINENO: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&5
25364 echo "$as_me: Wine will be built without bidi (Right to Left) support. (gdi32.dll)" >&6;}
25367 if test "$ac_cv_header_lcms_h" != "yes" -a "$ac_cv_header_lcms_lcms_h" != "yes"
25370 { echo "$as_me:$LINENO: liblcms development files not found." >&5
25371 echo "$as_me: liblcms development files not found." >&6;}
25372 { echo "$as_me:$LINENO: Wine will be built without Color Management support. (mscms.dll)" >&5
25373 echo "$as_me: Wine will be built without Color Management support. (mscms.dll)" >&6;}
25376 if test "$ac_cv_header_ldap_h" != "yes" -o "$ac_cv_header_lber_h" != "yes"
25379 { echo "$as_me:$LINENO: libldap (OpenLDAP) development files not found." >&5
25380 echo "$as_me: libldap (OpenLDAP) development files not found." >&6;}
25381 { echo "$as_me:$LINENO: Wine will be built without LDAP support. (wldap32.dll)" >&5
25382 echo "$as_me: Wine will be built without LDAP support. (wldap32.dll)" >&6;}
25385 if test "x$with_curses" != "xno" -a "$ac_cv_header_ncurses_h" != "yes" -a "$ac_cv_header_curses_h" != "yes"
25388 { echo "$as_me:$LINENO: lib(n)curses development files not found." >&5
25389 echo "$as_me: lib(n)curses development files not found." >&6;}
25390 { echo "$as_me:$LINENO: Wine will be built without (n)curses support. (wineconsole.exe)" >&5
25391 echo "$as_me: Wine will be built without (n)curses support. (wineconsole.exe)" >&6;}
25394 if test "$ac_cv_header_sane_sane_h" != "yes"
25397 { echo "$as_me:$LINENO: libsane development files not found." >&5
25398 echo "$as_me: libsane development files not found." >&6;}
25399 { echo "$as_me:$LINENO: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&5
25400 echo "$as_me: Wine will be built without Scanner support. (sane.ds/twain_32.dll)" >&6;}
25403 if test "$have_x" = "yes"
25405 if test "$ac_cv_header_X11_extensions_shape_h" != "yes" -o "$ac_cv_header_X11_extensions_XShm_h" != "yes"
25408 { echo "$as_me:$LINENO: libxext development files not found." >&5
25409 echo "$as_me: libxext development files not found." >&6;}
25410 { echo "$as_me:$LINENO: Wine will be built without Shm / Shape support. (winex11.drv)" >&5
25411 echo "$as_me: Wine will be built without Shm / Shape support. (winex11.drv)" >&6;}
25414 if test "$ac_cv_header_X11_extensions_Xrandr_h" != "yes"
25417 { echo "$as_me:$LINENO: libXrandr development files not found." >&5
25418 echo "$as_me: libXrandr development files not found." >&6;}
25419 { echo "$as_me:$LINENO: Wine will be built without Xrandr support. (winex11.drv)" >&5
25420 echo "$as_me: Wine will be built without Xrandr support. (winex11.drv)" >&6;}
25423 if test "$ac_cv_header_X11_extensions_Xrender_h" != "yes"
25426 { echo "$as_me:$LINENO: libXrender development files not found." >&5
25427 echo "$as_me: libXrender development files not found." >&6;}
25428 { echo "$as_me:$LINENO: Wine will be built without Xrender support. (winex11.drv)" >&5
25429 echo "$as_me: Wine will be built without Xrender support. (winex11.drv)" >&6;}
25432 if test "$ac_cv_header_X11_extensions_xf86vmode_h" != "yes"
25435 { echo "$as_me:$LINENO: libXxf86vm development files not found." >&5
25436 echo "$as_me: libXxf86vm development files not found." >&6;}
25437 { echo "$as_me:$LINENO: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&5
25438 echo "$as_me: Wine will be built without XFree86-VidMode support. (winex11.drv)" >&6;}
25442 if test "$ac_cv_header_libxml_parser_h" != "yes"
25445 { echo "$as_me:$LINENO: libxml2 development files not found." >&5
25446 echo "$as_me: libxml2 development files not found." >&6;}
25447 { echo "$as_me:$LINENO: Wine will be built without XML support. (msxml.dll)" >&5
25448 echo "$as_me: Wine will be built without XML support. (msxml.dll)" >&6;}
25451 if test "$ac_cv_header_libxslt_pattern_h" != "yes" -o "$ac_cv_header_libxslt_transform_h" != "yes"
25454 { echo "$as_me:$LINENO: libxslt development files not found." >&5
25455 echo "$as_me: libxslt development files not found." >&6;}
25456 { echo "$as_me:$LINENO: Wine will be built without xslt support. (msxml.dll)" >&5
25457 echo "$as_me: Wine will be built without xslt support. (msxml.dll)" >&6;}
25462 if test "$have_x" = "no"
25465 { echo "$as_me:$LINENO: WARNING: X development files not found. Wine will be built without" >&5
25466 echo "$as_me: WARNING: X development files not found. Wine will be built without" >&2;}
25467 { echo "$as_me:$LINENO: WARNING: X support, which currently does not work, and probably" >&5
25468 echo "$as_me: WARNING: X support, which currently does not work, and probably" >&2;}
25469 { echo "$as_me:$LINENO: WARNING: isn't what you want anyway. You will need to install devel" >&5
25470 echo "$as_me: WARNING: isn't what you want anyway. You will need to install devel" >&2;}
25471 { echo "$as_me:$LINENO: WARNING: packages of Xlib/Xfree86 at the very least." >&5
25472 echo "$as_me: WARNING: packages of Xlib/Xfree86 at the very least." >&2;}
25475 if test -z "$OPENGLFILES"
25478 { echo "$as_me:$LINENO: WARNING: Wine will be build without OpenGL or Direct3D support" >&5
25479 echo "$as_me: WARNING: Wine will be build without OpenGL or Direct3D support" >&2;}
25480 { echo "$as_me:$LINENO: WARNING: because something is wrong with the OpenGL setup:" >&5
25481 echo "$as_me: WARNING: because something is wrong with the OpenGL setup:" >&2;}
25482 if test "$wine_cv_opengl_headers_found" = "no"
25484 { echo "$as_me:$LINENO: WARNING: No OpenGL development headers were found" >&5
25485 echo "$as_me: WARNING: No OpenGL development headers were found" >&2;}
25487 if test "$wine_cv_opengl_header_version_OK" = "no"
25489 { echo "$as_me:$LINENO: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&5
25490 echo "$as_me: WARNING: Old Mesa headers detected. Consider upgrading your Mesa libraries (http://www.mesa3d.org/)." >&2;}
25491 elif test "$ac_cv_lib_GL_glXCreateContext" = "no"
25493 if test -f /usr
/X11R
6/lib
/libGL.a
25495 { echo "$as_me:$LINENO: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25496 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&5
25497 echo "$as_me: WARNING: /usr/X11R6/lib/libGL.a is present on your system.
25498 This probably prevents linking to OpenGL. Try deleting the file and restarting configure." >&2;}
25500 { echo "$as_me:$LINENO: WARNING: No OpenGL library found on this system." >&5
25501 echo "$as_me: WARNING: No OpenGL library found on this system." >&2;}
25506 if test "$wine_cv_msg_freetype" = "yes"
25509 { echo "$as_me:$LINENO: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&5
25510 echo "$as_me: WARNING: Your system appears to have the FreeType 2 runtime libraries" >&2;}
25511 { echo "$as_me:$LINENO: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&5
25512 echo "$as_me: WARNING: installed, but 'freetype-config' is not in your PATH. Install" >&2;}
25513 { echo "$as_me:$LINENO: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&5
25514 echo "$as_me: WARNING: the freetype-devel package (or its equivalent on your distribution)" >&2;}
25515 { echo "$as_me:$LINENO: WARNING: to enable Wine to use TrueType fonts." >&5
25516 echo "$as_me: WARNING: to enable Wine to use TrueType fonts." >&2;}
25519 if test -z "$FONTSSUBDIRS"
25522 if test "$FONTFORGE" = "false"
25524 { echo "$as_me:$LINENO: WARNING: FontForge is missing." >&5
25525 echo "$as_me: WARNING: FontForge is missing." >&2;}
25527 { echo "$as_me:$LINENO: WARNING: FreeType is missing." >&5
25528 echo "$as_me: WARNING: FreeType is missing." >&2;}
25530 { echo "$as_me:$LINENO: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&5
25531 echo "$as_me: WARNING: Fonts will not be built. Dialog text may be invisible or unaligned." >&2;}
25534 if test -z "$ALSALIBS" -a \
25535 -z "$ARTSC_LIBS" -a \
25536 -z "$AUDIOIOLIBS" -a \
25538 -z "$ESD_LIBS" -a \
25539 -z "$ac_cv_lib_soname_jack" -a \
25540 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
25541 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
25542 "$ac_cv_header_soundcard_h" != "yes"
25545 { echo "$as_me:$LINENO: WARNING: No sound system was found. Windows applications will be silent." >&5
25546 echo "$as_me: WARNING: No sound system was found. Windows applications will be silent." >&2;}
25547 { echo "$as_me:$LINENO: WARNING: The currently supported sound systems are:" >&5
25548 echo "$as_me: WARNING: The currently supported sound systems are:" >&2;}
25549 { echo "$as_me:$LINENO: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&5
25550 echo "$as_me: WARNING: ALSA, ARTS, EsounD, AudioIO, Jack, NAS and OSS" >&2;}
25554 echo "Configure finished. Do '${ac_make} depend && ${ac_make}' to compile Wine."